@abgov/react-components 4.3.0 → 4.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/index.d.ts +1 -0
- package/lib/input/input.d.ts +2 -0
- package/lib/pagination/pagination.d.ts +25 -0
- package/lib/table/table.d.ts +4 -1
- package/package.json +1 -1
- package/react-components.esm.js +1094 -451
- package/react-components.umd.js +1119 -476
package/react-components.esm.js
CHANGED
|
@@ -1026,7 +1026,6 @@ if (typeof HTMLElement === 'function') {
|
|
|
1026
1026
|
}
|
|
1027
1027
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.51.0 */
|
|
1028
1028
|
|
|
1029
|
-
|
|
1030
1029
|
function create_else_block$4(ctx) {
|
|
1031
1030
|
let div;
|
|
1032
1031
|
let img0;
|
|
@@ -1084,7 +1083,7 @@ function create_else_block$4(ctx) {
|
|
|
1084
1083
|
} // (19:4) {#if url}
|
|
1085
1084
|
|
|
1086
1085
|
|
|
1087
|
-
function create_if_block$
|
|
1086
|
+
function create_if_block$i(ctx) {
|
|
1088
1087
|
let a;
|
|
1089
1088
|
let img0;
|
|
1090
1089
|
let img0_src_value;
|
|
@@ -1151,7 +1150,7 @@ function create_if_block$h(ctx) {
|
|
|
1151
1150
|
};
|
|
1152
1151
|
}
|
|
1153
1152
|
|
|
1154
|
-
function create_fragment$
|
|
1153
|
+
function create_fragment$G(ctx) {
|
|
1155
1154
|
let div2;
|
|
1156
1155
|
let div1;
|
|
1157
1156
|
let t;
|
|
@@ -1161,7 +1160,7 @@ function create_fragment$F(ctx) {
|
|
|
1161
1160
|
function select_block_type(ctx, dirty) {
|
|
1162
1161
|
if (
|
|
1163
1162
|
/*url*/
|
|
1164
|
-
ctx[1]) return create_if_block$
|
|
1163
|
+
ctx[1]) return create_if_block$i;
|
|
1165
1164
|
return create_else_block$4;
|
|
1166
1165
|
}
|
|
1167
1166
|
|
|
@@ -1235,7 +1234,7 @@ function create_fragment$F(ctx) {
|
|
|
1235
1234
|
};
|
|
1236
1235
|
}
|
|
1237
1236
|
|
|
1238
|
-
function instance$
|
|
1237
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1239
1238
|
let {
|
|
1240
1239
|
heading = ""
|
|
1241
1240
|
} = $$props;
|
|
@@ -1262,12 +1261,12 @@ function instance$z($$self, $$props, $$invalidate) {
|
|
|
1262
1261
|
class AppHeader extends SvelteElement {
|
|
1263
1262
|
constructor(options) {
|
|
1264
1263
|
super();
|
|
1265
|
-
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;background-color:var(--color-white);border-bottom:1px solid var(--color-
|
|
1264
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.app-header{margin:0 auto;background-color:var(--goa-color-greyscale-white);border-bottom:1px solid var(--goa-color-greyscale-100)}@media(max-width: 640px){.app-header{padding:1rem 1rem}}.content{margin:0 auto;width:min(var(--max-content-width), 100%);display:flex;align-items:center;justify-content:space-between}@media(min-width: 640px){.content{padding:1.5rem 1.125rem}}.app-link{display:flex;align-items:center;text-decoration:none;color:inherit}.title{margin-left:0.5rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.image-desktop{display:none}.image-mobile{display:block}@media(min-width: 640px){.image-desktop{display:block}.image-mobile{display:none}.title{margin-left:1.75rem}.image-desktop{display:block}.image-mobile{display:none}}</style>`;
|
|
1266
1265
|
init(this, {
|
|
1267
1266
|
target: this.shadowRoot,
|
|
1268
1267
|
props: attribute_to_object(this.attributes),
|
|
1269
1268
|
customElement: true
|
|
1270
|
-
}, instance$
|
|
1269
|
+
}, instance$A, create_fragment$G, safe_not_equal, {
|
|
1271
1270
|
heading: 0,
|
|
1272
1271
|
url: 1,
|
|
1273
1272
|
testid: 2,
|
|
@@ -1339,7 +1338,7 @@ class AppHeader extends SvelteElement {
|
|
|
1339
1338
|
customElements.define("goa-app-header", AppHeader);
|
|
1340
1339
|
|
|
1341
1340
|
function calculateMargin(mt, mr, mb, ml) {
|
|
1342
|
-
return [mt && `margin-top:var(--goa-
|
|
1341
|
+
return [mt && `margin-top:var(--goa-space-${mt});`, mr && `margin-right:var(--goa-space-${mr});`, mb && `margin-bottom:var(--goa-space-${mb});`, ml && `margin-left:var(--goa-space-${ml});`].join(" ");
|
|
1343
1342
|
}
|
|
1344
1343
|
|
|
1345
1344
|
function injectCss(el, rootSelector, css, media) {
|
|
@@ -1452,7 +1451,7 @@ function create_if_block_1$a(ctx) {
|
|
|
1452
1451
|
} // (50:2) {#if content}
|
|
1453
1452
|
|
|
1454
1453
|
|
|
1455
|
-
function create_if_block$
|
|
1454
|
+
function create_if_block$h(ctx) {
|
|
1456
1455
|
let div;
|
|
1457
1456
|
let t;
|
|
1458
1457
|
return {
|
|
@@ -1484,7 +1483,7 @@ function create_if_block$g(ctx) {
|
|
|
1484
1483
|
};
|
|
1485
1484
|
}
|
|
1486
1485
|
|
|
1487
|
-
function create_fragment$
|
|
1486
|
+
function create_fragment$F(ctx) {
|
|
1488
1487
|
let div;
|
|
1489
1488
|
let t;
|
|
1490
1489
|
let div_style_value;
|
|
@@ -1501,7 +1500,7 @@ function create_fragment$E(ctx) {
|
|
|
1501
1500
|
let if_block0 = current_block_type(ctx);
|
|
1502
1501
|
let if_block1 =
|
|
1503
1502
|
/*content*/
|
|
1504
|
-
ctx[2] && create_if_block$
|
|
1503
|
+
ctx[2] && create_if_block$h(ctx);
|
|
1505
1504
|
return {
|
|
1506
1505
|
c() {
|
|
1507
1506
|
div = element("div");
|
|
@@ -1558,7 +1557,7 @@ function create_fragment$E(ctx) {
|
|
|
1558
1557
|
if (if_block1) {
|
|
1559
1558
|
if_block1.p(ctx, dirty);
|
|
1560
1559
|
} else {
|
|
1561
|
-
if_block1 = create_if_block$
|
|
1560
|
+
if_block1 = create_if_block$h(ctx);
|
|
1562
1561
|
if_block1.c();
|
|
1563
1562
|
if_block1.m(div, null);
|
|
1564
1563
|
}
|
|
@@ -1620,7 +1619,7 @@ function create_fragment$E(ctx) {
|
|
|
1620
1619
|
};
|
|
1621
1620
|
}
|
|
1622
1621
|
|
|
1623
|
-
function instance$
|
|
1622
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1624
1623
|
let showIcon;
|
|
1625
1624
|
let iconType;
|
|
1626
1625
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -1695,14 +1694,12 @@ function instance$y($$self, $$props, $$invalidate) {
|
|
|
1695
1694
|
class Badge extends SvelteElement {
|
|
1696
1695
|
constructor(options) {
|
|
1697
1696
|
super();
|
|
1698
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--
|
|
1699
|
-
--font-valign-fix
|
|
1700
|
-
)}.goa-badge.badge-information{background-color:var(--color-gray-100);color:var(--goa-color-status-info)}.goa-badge.badge-success{background-color:var(--goa-color-status-success);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-status-warning);color:var(--goa-color-text)}.goa-badge.badge-emergency{background-color:var(--goa-color-status-emergency);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--color-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--color-gray-600);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--color-white);color:var(--goa-color-text)}</style>`;
|
|
1697
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-badge{display:inline-flex;align-items:center;border-radius:0.25rem;padding:3px 0.5rem;gap:0.25rem;font-weight:var(--goa-font-weight-regular)}.icon-only{padding:0.25rem}.goa-badge-content{text-transform:capitalize;font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);padding-bottom:var(--font-valign-fix, 0)}.goa-badge.badge-information{background-color:var(--goa-color-greyscale-100);color:var(--goa-color-info-default)}.goa-badge.badge-success{background-color:var(--goa-color-success-default);color:var(--goa-color-text-light)}.goa-badge.badge-important{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.goa-badge.badge-emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-text-light)}.goa-badge.badge-dark{background-color:var(--goa-color-greyscale-black);color:var(--goa-color-text-light)}.goa-badge.badge-midtone{background-color:var(--goa-color-greyscale-700);color:var(--goa-color-text-light)}.goa-badge.badge-light{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-default)}</style>`;
|
|
1701
1698
|
init(this, {
|
|
1702
1699
|
target: this.shadowRoot,
|
|
1703
1700
|
props: attribute_to_object(this.attributes),
|
|
1704
1701
|
customElement: true
|
|
1705
|
-
}, instance$
|
|
1702
|
+
}, instance$z, create_fragment$F, safe_not_equal, {
|
|
1706
1703
|
type: 0,
|
|
1707
1704
|
testid: 1,
|
|
1708
1705
|
content: 2,
|
|
@@ -1822,7 +1819,7 @@ class Badge extends SvelteElement {
|
|
|
1822
1819
|
customElements.define("goa-badge", Badge);
|
|
1823
1820
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
1824
1821
|
|
|
1825
|
-
function create_fragment$
|
|
1822
|
+
function create_fragment$E(ctx) {
|
|
1826
1823
|
let div;
|
|
1827
1824
|
let slot;
|
|
1828
1825
|
let div_style_value;
|
|
@@ -1841,8 +1838,8 @@ function create_fragment$D(ctx) {
|
|
|
1841
1838
|
/*mb*/
|
|
1842
1839
|
ctx[5],
|
|
1843
1840
|
/*ml*/
|
|
1844
|
-
ctx[6])}
|
|
1845
|
-
--gap: var(--goa-
|
|
1841
|
+
ctx[6])};
|
|
1842
|
+
--gap: var(--goa-space-${
|
|
1846
1843
|
/*gap*/
|
|
1847
1844
|
ctx[0]});
|
|
1848
1845
|
--alignment: ${
|
|
@@ -1871,8 +1868,8 @@ function create_fragment$D(ctx) {
|
|
|
1871
1868
|
/*mb*/
|
|
1872
1869
|
ctx[5],
|
|
1873
1870
|
/*ml*/
|
|
1874
|
-
ctx[6])}
|
|
1875
|
-
--gap: var(--goa-
|
|
1871
|
+
ctx[6])};
|
|
1872
|
+
--gap: var(--goa-space-${
|
|
1876
1873
|
/*gap*/
|
|
1877
1874
|
ctx[0]});
|
|
1878
1875
|
--alignment: ${
|
|
@@ -1896,7 +1893,7 @@ function create_fragment$D(ctx) {
|
|
|
1896
1893
|
};
|
|
1897
1894
|
}
|
|
1898
1895
|
|
|
1899
|
-
function instance$
|
|
1896
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
1900
1897
|
let {
|
|
1901
1898
|
gap = "m"
|
|
1902
1899
|
} = $$props;
|
|
@@ -1940,7 +1937,7 @@ class Block extends SvelteElement {
|
|
|
1940
1937
|
target: this.shadowRoot,
|
|
1941
1938
|
props: attribute_to_object(this.attributes),
|
|
1942
1939
|
customElement: true
|
|
1943
|
-
}, instance$
|
|
1940
|
+
}, instance$y, create_fragment$E, safe_not_equal, {
|
|
1944
1941
|
gap: 0,
|
|
1945
1942
|
direction: 1,
|
|
1946
1943
|
alignment: 2,
|
|
@@ -2050,7 +2047,7 @@ customElements.define("goa-block", Block);
|
|
|
2050
2047
|
|
|
2051
2048
|
function create_else_block$2(ctx) {
|
|
2052
2049
|
let t0;
|
|
2053
|
-
let
|
|
2050
|
+
let span;
|
|
2054
2051
|
let t1;
|
|
2055
2052
|
let if_block1_anchor;
|
|
2056
2053
|
let if_block0 =
|
|
@@ -2063,17 +2060,18 @@ function create_else_block$2(ctx) {
|
|
|
2063
2060
|
c() {
|
|
2064
2061
|
if (if_block0) if_block0.c();
|
|
2065
2062
|
t0 = space();
|
|
2066
|
-
|
|
2063
|
+
span = element("span");
|
|
2064
|
+
span.innerHTML = `<slot></slot>`;
|
|
2067
2065
|
t1 = space();
|
|
2068
2066
|
if (if_block1) if_block1.c();
|
|
2069
2067
|
if_block1_anchor = empty();
|
|
2070
|
-
attr(
|
|
2068
|
+
attr(span, "class", "text");
|
|
2071
2069
|
},
|
|
2072
2070
|
|
|
2073
2071
|
m(target, anchor) {
|
|
2074
2072
|
if (if_block0) if_block0.m(target, anchor);
|
|
2075
2073
|
insert(target, t0, anchor);
|
|
2076
|
-
insert(target,
|
|
2074
|
+
insert(target, span, anchor);
|
|
2077
2075
|
insert(target, t1, anchor);
|
|
2078
2076
|
if (if_block1) if_block1.m(target, anchor);
|
|
2079
2077
|
insert(target, if_block1_anchor, anchor);
|
|
@@ -2114,33 +2112,34 @@ function create_else_block$2(ctx) {
|
|
|
2114
2112
|
d(detaching) {
|
|
2115
2113
|
if (if_block0) if_block0.d(detaching);
|
|
2116
2114
|
if (detaching) detach(t0);
|
|
2117
|
-
if (detaching) detach(
|
|
2115
|
+
if (detaching) detach(span);
|
|
2118
2116
|
if (detaching) detach(t1);
|
|
2119
2117
|
if (if_block1) if_block1.d(detaching);
|
|
2120
2118
|
if (detaching) detach(if_block1_anchor);
|
|
2121
2119
|
}
|
|
2122
2120
|
|
|
2123
2121
|
};
|
|
2124
|
-
} // (
|
|
2122
|
+
} // (46:2) {#if type === "start"}
|
|
2125
2123
|
|
|
2126
2124
|
|
|
2127
|
-
function create_if_block$
|
|
2128
|
-
let
|
|
2125
|
+
function create_if_block$g(ctx) {
|
|
2126
|
+
let span;
|
|
2129
2127
|
let t;
|
|
2130
2128
|
let goa_icon;
|
|
2131
2129
|
return {
|
|
2132
2130
|
c() {
|
|
2133
|
-
|
|
2131
|
+
span = element("span");
|
|
2132
|
+
span.innerHTML = `<slot></slot>`;
|
|
2134
2133
|
t = space();
|
|
2135
2134
|
goa_icon = element("goa-icon");
|
|
2136
|
-
attr(
|
|
2135
|
+
attr(span, "class", "text");
|
|
2137
2136
|
set_custom_element_data(goa_icon, "id", "trailing-icon");
|
|
2138
2137
|
set_custom_element_data(goa_icon, "type", "arrow-forward");
|
|
2139
2138
|
set_custom_element_data(goa_icon, "inverted", "true");
|
|
2140
2139
|
},
|
|
2141
2140
|
|
|
2142
2141
|
m(target, anchor) {
|
|
2143
|
-
insert(target,
|
|
2142
|
+
insert(target, span, anchor);
|
|
2144
2143
|
insert(target, t, anchor);
|
|
2145
2144
|
insert(target, goa_icon, anchor);
|
|
2146
2145
|
},
|
|
@@ -2148,13 +2147,13 @@ function create_if_block$f(ctx) {
|
|
|
2148
2147
|
p: noop,
|
|
2149
2148
|
|
|
2150
2149
|
d(detaching) {
|
|
2151
|
-
if (detaching) detach(
|
|
2150
|
+
if (detaching) detach(span);
|
|
2152
2151
|
if (detaching) detach(t);
|
|
2153
2152
|
if (detaching) detach(goa_icon);
|
|
2154
2153
|
}
|
|
2155
2154
|
|
|
2156
2155
|
};
|
|
2157
|
-
} // (
|
|
2156
|
+
} // (52:4) {#if leadingicon}
|
|
2158
2157
|
|
|
2159
2158
|
|
|
2160
2159
|
function create_if_block_2$6(ctx) {
|
|
@@ -2168,7 +2167,7 @@ function create_if_block_2$6(ctx) {
|
|
|
2168
2167
|
ctx[3]);
|
|
2169
2168
|
set_custom_element_data(goa_icon, "inverted",
|
|
2170
2169
|
/*isButtonDark*/
|
|
2171
|
-
ctx[
|
|
2170
|
+
ctx[11]);
|
|
2172
2171
|
},
|
|
2173
2172
|
|
|
2174
2173
|
m(target, anchor) {
|
|
@@ -2186,10 +2185,10 @@ function create_if_block_2$6(ctx) {
|
|
|
2186
2185
|
|
|
2187
2186
|
if (dirty &
|
|
2188
2187
|
/*isButtonDark*/
|
|
2189
|
-
|
|
2188
|
+
2048) {
|
|
2190
2189
|
set_custom_element_data(goa_icon, "inverted",
|
|
2191
2190
|
/*isButtonDark*/
|
|
2192
|
-
ctx[
|
|
2191
|
+
ctx[11]);
|
|
2193
2192
|
}
|
|
2194
2193
|
},
|
|
2195
2194
|
|
|
@@ -2198,7 +2197,7 @@ function create_if_block_2$6(ctx) {
|
|
|
2198
2197
|
}
|
|
2199
2198
|
|
|
2200
2199
|
};
|
|
2201
|
-
} // (
|
|
2200
|
+
} // (58:4) {#if trailingicon}
|
|
2202
2201
|
|
|
2203
2202
|
|
|
2204
2203
|
function create_if_block_1$9(ctx) {
|
|
@@ -2212,7 +2211,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2212
2211
|
ctx[4]);
|
|
2213
2212
|
set_custom_element_data(goa_icon, "inverted",
|
|
2214
2213
|
/*isButtonDark*/
|
|
2215
|
-
ctx[
|
|
2214
|
+
ctx[11]);
|
|
2216
2215
|
},
|
|
2217
2216
|
|
|
2218
2217
|
m(target, anchor) {
|
|
@@ -2230,10 +2229,10 @@ function create_if_block_1$9(ctx) {
|
|
|
2230
2229
|
|
|
2231
2230
|
if (dirty &
|
|
2232
2231
|
/*isButtonDark*/
|
|
2233
|
-
|
|
2232
|
+
2048) {
|
|
2234
2233
|
set_custom_element_data(goa_icon, "inverted",
|
|
2235
2234
|
/*isButtonDark*/
|
|
2236
|
-
ctx[
|
|
2235
|
+
ctx[11]);
|
|
2237
2236
|
}
|
|
2238
2237
|
},
|
|
2239
2238
|
|
|
@@ -2244,7 +2243,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2244
2243
|
};
|
|
2245
2244
|
}
|
|
2246
2245
|
|
|
2247
|
-
function create_fragment$
|
|
2246
|
+
function create_fragment$D(ctx) {
|
|
2248
2247
|
let button;
|
|
2249
2248
|
let button_class_value;
|
|
2250
2249
|
let button_style_value;
|
|
@@ -2254,7 +2253,7 @@ function create_fragment$C(ctx) {
|
|
|
2254
2253
|
function select_block_type(ctx, dirty) {
|
|
2255
2254
|
if (
|
|
2256
2255
|
/*type*/
|
|
2257
|
-
ctx[0] === "start") return create_if_block$
|
|
2256
|
+
ctx[0] === "start") return create_if_block$g;
|
|
2258
2257
|
return create_else_block$2;
|
|
2259
2258
|
}
|
|
2260
2259
|
|
|
@@ -2283,7 +2282,7 @@ function create_fragment$C(ctx) {
|
|
|
2283
2282
|
ctx[9]));
|
|
2284
2283
|
button.disabled =
|
|
2285
2284
|
/*isDisabled*/
|
|
2286
|
-
ctx[
|
|
2285
|
+
ctx[10];
|
|
2287
2286
|
attr(button, "data-testid",
|
|
2288
2287
|
/*testid*/
|
|
2289
2288
|
ctx[5]);
|
|
@@ -2302,7 +2301,11 @@ function create_fragment$C(ctx) {
|
|
|
2302
2301
|
if_block.m(button, null);
|
|
2303
2302
|
|
|
2304
2303
|
if (!mounted) {
|
|
2305
|
-
dispose = [listen(button, "click",
|
|
2304
|
+
dispose = [listen(button, "click",
|
|
2305
|
+
/*clickHandler*/
|
|
2306
|
+
ctx[12]), listen(button, "click",
|
|
2307
|
+
/*clickHandler*/
|
|
2308
|
+
ctx[12])];
|
|
2306
2309
|
mounted = true;
|
|
2307
2310
|
}
|
|
2308
2311
|
},
|
|
@@ -2348,10 +2351,10 @@ function create_fragment$C(ctx) {
|
|
|
2348
2351
|
|
|
2349
2352
|
if (dirty &
|
|
2350
2353
|
/*isDisabled*/
|
|
2351
|
-
|
|
2354
|
+
1024) {
|
|
2352
2355
|
button.disabled =
|
|
2353
2356
|
/*isDisabled*/
|
|
2354
|
-
ctx[
|
|
2357
|
+
ctx[10];
|
|
2355
2358
|
}
|
|
2356
2359
|
|
|
2357
2360
|
if (dirty &
|
|
@@ -2394,15 +2397,7 @@ function create_fragment$C(ctx) {
|
|
|
2394
2397
|
};
|
|
2395
2398
|
}
|
|
2396
2399
|
|
|
2397
|
-
function
|
|
2398
|
-
this.dispatchEvent(new CustomEvent("_click", {
|
|
2399
|
-
composed: true,
|
|
2400
|
-
bubbles: true
|
|
2401
|
-
}));
|
|
2402
|
-
e.stopPropagation();
|
|
2403
|
-
}
|
|
2404
|
-
|
|
2405
|
-
function instance$w($$self, $$props, $$invalidate) {
|
|
2400
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
2406
2401
|
let isDisabled;
|
|
2407
2402
|
let isButtonDark;
|
|
2408
2403
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2441,6 +2436,16 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
2441
2436
|
let {
|
|
2442
2437
|
ml = null
|
|
2443
2438
|
} = $$props;
|
|
2439
|
+
|
|
2440
|
+
function clickHandler(e) {
|
|
2441
|
+
if (!isDisabled) {
|
|
2442
|
+
this.dispatchEvent(new CustomEvent("_click", {
|
|
2443
|
+
composed: true,
|
|
2444
|
+
bubbles: true
|
|
2445
|
+
}));
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2444
2449
|
onMount(() => {
|
|
2445
2450
|
validateType(type);
|
|
2446
2451
|
validateSize(size);
|
|
@@ -2451,7 +2456,7 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
2451
2456
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
2452
2457
|
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
2453
2458
|
if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
|
|
2454
|
-
if ('disabled' in $$props) $$invalidate(
|
|
2459
|
+
if ('disabled' in $$props) $$invalidate(13, disabled = $$props.disabled);
|
|
2455
2460
|
if ('leadingicon' in $$props) $$invalidate(3, leadingicon = $$props.leadingicon);
|
|
2456
2461
|
if ('trailingicon' in $$props) $$invalidate(4, trailingicon = $$props.trailingicon);
|
|
2457
2462
|
if ('testid' in $$props) $$invalidate(5, testid = $$props.testid);
|
|
@@ -2464,36 +2469,34 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
2464
2469
|
$$self.$$.update = () => {
|
|
2465
2470
|
if ($$self.$$.dirty &
|
|
2466
2471
|
/*disabled*/
|
|
2467
|
-
|
|
2468
|
-
$$invalidate(
|
|
2472
|
+
8192) {
|
|
2473
|
+
$$invalidate(10, isDisabled = toBoolean(disabled));
|
|
2469
2474
|
}
|
|
2470
2475
|
|
|
2471
2476
|
if ($$self.$$.dirty &
|
|
2472
2477
|
/*type*/
|
|
2473
2478
|
1) {
|
|
2474
|
-
$$invalidate(
|
|
2479
|
+
$$invalidate(11, isButtonDark = type === "primary" || type === "start");
|
|
2475
2480
|
}
|
|
2476
2481
|
};
|
|
2477
2482
|
|
|
2478
|
-
return [type, size, variant, leadingicon, trailingicon, testid, mt, mr, mb, ml, isButtonDark,
|
|
2483
|
+
return [type, size, variant, leadingicon, trailingicon, testid, mt, mr, mb, ml, isDisabled, isButtonDark, clickHandler, disabled];
|
|
2479
2484
|
}
|
|
2480
2485
|
|
|
2481
2486
|
class Button extends SvelteElement {
|
|
2482
2487
|
constructor(options) {
|
|
2483
2488
|
super();
|
|
2484
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive);box-sizing:border-box;cursor:pointer;font-family:var(--font-family);font-size:var(--
|
|
2485
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(
|
|
2486
|
-
--font-valign-fix
|
|
2487
|
-
)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--fs-base)}button.start{height:var(--button-height-tall);font-weight:var(--fw-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive);background-color:var(--goa-color-interactive);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive--hover);background-color:var(--goa-color-interactive--hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive--focus);border-color:var(--goa-color-interactive--active);background-color:var(--goa-color-interactive--active);outline:none}button.secondary{border:2px solid var(--goa-color-interactive);background-color:var(--color-white);color:var(--goa-color-interactive)}button.secondary:hover{border-color:var(--goa-color-interactive--hover);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);background-color:var(--color-gray-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive);text-decoration:underline}button.tertiary:hover{border-color:var(--color-gray-100);color:var(--goa-color-interactive--hover);background-color:var(--color-gray-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--color-gray-100);background-color:var(--color-gray-100);color:var(--goa-color-interactive--active);box-shadow:0 0 0 3px var(--goa-color-interactive--focus);outline:none}.submit.destructive,.primary.destructive{color:var(--color-white);background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark)}.secondary.destructive{color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);background-color:var(--color-white)}.secondary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive{color:var(--goa-color-status-emergency);border-color:var(--color-gray-200);background-color:var(--color-white)}.tertiary.destructive:hover{border-color:var(--goa-color-status-emergency-dark);color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-status-emergency-dark);border-color:var(--goa-color-status-emergency-dark);background-color:var(--color-white)}</style>`;
|
|
2489
|
+
this.shadowRoot.innerHTML = `<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
2490
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}</style>`;
|
|
2488
2491
|
init(this, {
|
|
2489
2492
|
target: this.shadowRoot,
|
|
2490
2493
|
props: attribute_to_object(this.attributes),
|
|
2491
2494
|
customElement: true
|
|
2492
|
-
}, instance$
|
|
2495
|
+
}, instance$x, create_fragment$D, safe_not_equal, {
|
|
2493
2496
|
type: 0,
|
|
2494
2497
|
size: 1,
|
|
2495
2498
|
variant: 2,
|
|
2496
|
-
disabled:
|
|
2499
|
+
disabled: 13,
|
|
2497
2500
|
leadingicon: 3,
|
|
2498
2501
|
trailingicon: 4,
|
|
2499
2502
|
testid: 5,
|
|
@@ -2553,7 +2556,7 @@ class Button extends SvelteElement {
|
|
|
2553
2556
|
}
|
|
2554
2557
|
|
|
2555
2558
|
get disabled() {
|
|
2556
|
-
return this.$$.ctx[
|
|
2559
|
+
return this.$$.ctx[13];
|
|
2557
2560
|
}
|
|
2558
2561
|
|
|
2559
2562
|
set disabled(disabled) {
|
|
@@ -2645,7 +2648,7 @@ class Button extends SvelteElement {
|
|
|
2645
2648
|
customElements.define("goa-button", Button);
|
|
2646
2649
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
2647
2650
|
|
|
2648
|
-
function create_fragment$
|
|
2651
|
+
function create_fragment$C(ctx) {
|
|
2649
2652
|
let div;
|
|
2650
2653
|
let slot;
|
|
2651
2654
|
let div_style_value;
|
|
@@ -2715,7 +2718,7 @@ function create_fragment$B(ctx) {
|
|
|
2715
2718
|
};
|
|
2716
2719
|
}
|
|
2717
2720
|
|
|
2718
|
-
function instance$
|
|
2721
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
2719
2722
|
let _alignment;
|
|
2720
2723
|
|
|
2721
2724
|
let {
|
|
@@ -2774,12 +2777,12 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
2774
2777
|
class ButtonGroup extends SvelteElement {
|
|
2775
2778
|
constructor(options) {
|
|
2776
2779
|
super();
|
|
2777
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>`;
|
|
2780
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>`;
|
|
2778
2781
|
init(this, {
|
|
2779
2782
|
target: this.shadowRoot,
|
|
2780
2783
|
props: attribute_to_object(this.attributes),
|
|
2781
2784
|
customElement: true
|
|
2782
|
-
}, instance$
|
|
2785
|
+
}, instance$w, create_fragment$C, safe_not_equal, {
|
|
2783
2786
|
alignment: 7,
|
|
2784
2787
|
gap: 0,
|
|
2785
2788
|
testid: 1,
|
|
@@ -2887,7 +2890,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
2887
2890
|
customElements.define("goa-button-group", ButtonGroup);
|
|
2888
2891
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
2889
2892
|
|
|
2890
|
-
function create_if_block$
|
|
2893
|
+
function create_if_block$f(ctx) {
|
|
2891
2894
|
let h3;
|
|
2892
2895
|
let t;
|
|
2893
2896
|
return {
|
|
@@ -2918,7 +2921,7 @@ function create_if_block$e(ctx) {
|
|
|
2918
2921
|
};
|
|
2919
2922
|
}
|
|
2920
2923
|
|
|
2921
|
-
function create_fragment$
|
|
2924
|
+
function create_fragment$B(ctx) {
|
|
2922
2925
|
let div;
|
|
2923
2926
|
let span0;
|
|
2924
2927
|
let goa_icon;
|
|
@@ -2931,7 +2934,7 @@ function create_fragment$A(ctx) {
|
|
|
2931
2934
|
let div_style_value;
|
|
2932
2935
|
let if_block =
|
|
2933
2936
|
/*heading*/
|
|
2934
|
-
ctx[5] && create_if_block$
|
|
2937
|
+
ctx[5] && create_if_block$f(ctx);
|
|
2935
2938
|
return {
|
|
2936
2939
|
c() {
|
|
2937
2940
|
div = element("div");
|
|
@@ -3010,7 +3013,7 @@ function create_fragment$A(ctx) {
|
|
|
3010
3013
|
if (if_block) {
|
|
3011
3014
|
if_block.p(ctx, dirty);
|
|
3012
3015
|
} else {
|
|
3013
|
-
if_block = create_if_block$
|
|
3016
|
+
if_block = create_if_block$f(ctx);
|
|
3014
3017
|
if_block.c();
|
|
3015
3018
|
if_block.m(span1, t1);
|
|
3016
3019
|
}
|
|
@@ -3053,7 +3056,7 @@ function create_fragment$A(ctx) {
|
|
|
3053
3056
|
};
|
|
3054
3057
|
}
|
|
3055
3058
|
|
|
3056
|
-
function instance$
|
|
3059
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
3057
3060
|
let iconType;
|
|
3058
3061
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3059
3062
|
let {
|
|
@@ -3105,12 +3108,12 @@ function instance$u($$self, $$props, $$invalidate) {
|
|
|
3105
3108
|
class Callout extends SvelteElement {
|
|
3106
3109
|
constructor(options) {
|
|
3107
3110
|
super();
|
|
3108
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--
|
|
3111
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{display:flex;align-items:stretch;border-radius:3px;overflow:hidden}h3{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-2);font-weight:var(--goa-font-weight-regular);margin-top:0}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.icon{flex:0 0 3rem;text-align:center;padding-top:1.75rem}.content{flex:1 1 auto;background-color:var(--goa-color-greyscale-100);padding:1.75rem}</style>`;
|
|
3109
3112
|
init(this, {
|
|
3110
3113
|
target: this.shadowRoot,
|
|
3111
3114
|
props: attribute_to_object(this.attributes),
|
|
3112
3115
|
customElement: true
|
|
3113
|
-
}, instance$
|
|
3116
|
+
}, instance$v, create_fragment$B, safe_not_equal, {
|
|
3114
3117
|
mt: 0,
|
|
3115
3118
|
mr: 1,
|
|
3116
3119
|
mb: 2,
|
|
@@ -3218,7 +3221,7 @@ class Callout extends SvelteElement {
|
|
|
3218
3221
|
customElements.define("goa-callout", Callout);
|
|
3219
3222
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3220
3223
|
|
|
3221
|
-
function create_fragment$
|
|
3224
|
+
function create_fragment$A(ctx) {
|
|
3222
3225
|
let goa_card_content;
|
|
3223
3226
|
return {
|
|
3224
3227
|
c() {
|
|
@@ -3249,7 +3252,7 @@ class CardActions extends SvelteElement {
|
|
|
3249
3252
|
target: this.shadowRoot,
|
|
3250
3253
|
props: attribute_to_object(this.attributes),
|
|
3251
3254
|
customElement: true
|
|
3252
|
-
}, null, create_fragment$
|
|
3255
|
+
}, null, create_fragment$A, safe_not_equal, {}, null);
|
|
3253
3256
|
|
|
3254
3257
|
if (options) {
|
|
3255
3258
|
if (options.target) {
|
|
@@ -3263,7 +3266,7 @@ class CardActions extends SvelteElement {
|
|
|
3263
3266
|
customElements.define("goa-card-actions", CardActions);
|
|
3264
3267
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3265
3268
|
|
|
3266
|
-
function create_fragment$
|
|
3269
|
+
function create_fragment$z(ctx) {
|
|
3267
3270
|
let div;
|
|
3268
3271
|
let slot;
|
|
3269
3272
|
let div_style_value;
|
|
@@ -3290,7 +3293,7 @@ function create_fragment$y(ctx) {
|
|
|
3290
3293
|
/*ml*/
|
|
3291
3294
|
ctx[6]) + " " + (
|
|
3292
3295
|
/*elevation*/
|
|
3293
|
-
ctx[0] === 0 ? `border: 1px solid var(--color-
|
|
3296
|
+
ctx[0] === 0 ? `border: 1px solid var(--goa-color-greyscale-200);` : `box-shadow: var(--shadow-${
|
|
3294
3297
|
/*elevation*/
|
|
3295
3298
|
ctx[0]});`) + "");
|
|
3296
3299
|
},
|
|
@@ -3325,7 +3328,7 @@ function create_fragment$y(ctx) {
|
|
|
3325
3328
|
/*ml*/
|
|
3326
3329
|
ctx[6]) + " " + (
|
|
3327
3330
|
/*elevation*/
|
|
3328
|
-
ctx[0] === 0 ? `border: 1px solid var(--color-
|
|
3331
|
+
ctx[0] === 0 ? `border: 1px solid var(--goa-color-greyscale-200);` : `box-shadow: var(--shadow-${
|
|
3329
3332
|
/*elevation*/
|
|
3330
3333
|
ctx[0]});`) + "")) {
|
|
3331
3334
|
attr(div, "style", div_style_value);
|
|
@@ -3342,7 +3345,7 @@ function create_fragment$y(ctx) {
|
|
|
3342
3345
|
};
|
|
3343
3346
|
}
|
|
3344
3347
|
|
|
3345
|
-
function instance$
|
|
3348
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
3346
3349
|
let {
|
|
3347
3350
|
elevation = 0
|
|
3348
3351
|
} = $$props;
|
|
@@ -3385,12 +3388,12 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
|
3385
3388
|
class Card extends SvelteElement {
|
|
3386
3389
|
constructor(options) {
|
|
3387
3390
|
super();
|
|
3388
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card{background-color:var(--color-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>`;
|
|
3391
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card{background-color:var(--goa-color-greyscale-white);border-radius:4px;overflow:hidden;height:var(--height)}@media(min-width: 320px){.card{margin:0 auto}}</style>`;
|
|
3389
3392
|
init(this, {
|
|
3390
3393
|
target: this.shadowRoot,
|
|
3391
3394
|
props: attribute_to_object(this.attributes),
|
|
3392
3395
|
customElement: true
|
|
3393
|
-
}, instance$
|
|
3396
|
+
}, instance$u, create_fragment$z, safe_not_equal, {
|
|
3394
3397
|
elevation: 0,
|
|
3395
3398
|
width: 1,
|
|
3396
3399
|
height: 2,
|
|
@@ -3510,7 +3513,7 @@ class Card extends SvelteElement {
|
|
|
3510
3513
|
customElements.define("goa-card", Card);
|
|
3511
3514
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3512
3515
|
|
|
3513
|
-
function create_fragment$
|
|
3516
|
+
function create_fragment$y(ctx) {
|
|
3514
3517
|
let div;
|
|
3515
3518
|
return {
|
|
3516
3519
|
c() {
|
|
@@ -3538,12 +3541,12 @@ function create_fragment$x(ctx) {
|
|
|
3538
3541
|
class CardContent extends SvelteElement {
|
|
3539
3542
|
constructor(options) {
|
|
3540
3543
|
super();
|
|
3541
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
|
|
3544
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-content{padding:1rem}</style>`;
|
|
3542
3545
|
init(this, {
|
|
3543
3546
|
target: this.shadowRoot,
|
|
3544
3547
|
props: attribute_to_object(this.attributes),
|
|
3545
3548
|
customElement: true
|
|
3546
|
-
}, null, create_fragment$
|
|
3549
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3547
3550
|
|
|
3548
3551
|
if (options) {
|
|
3549
3552
|
if (options.target) {
|
|
@@ -3557,7 +3560,7 @@ class CardContent extends SvelteElement {
|
|
|
3557
3560
|
customElements.define("goa-card-content", CardContent);
|
|
3558
3561
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3559
3562
|
|
|
3560
|
-
function create_fragment$
|
|
3563
|
+
function create_fragment$x(ctx) {
|
|
3561
3564
|
let div;
|
|
3562
3565
|
return {
|
|
3563
3566
|
c() {
|
|
@@ -3585,12 +3588,12 @@ function create_fragment$w(ctx) {
|
|
|
3585
3588
|
class CardGroup extends SvelteElement {
|
|
3586
3589
|
constructor(options) {
|
|
3587
3590
|
super();
|
|
3588
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
|
|
3591
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
|
|
3589
3592
|
init(this, {
|
|
3590
3593
|
target: this.shadowRoot,
|
|
3591
3594
|
props: attribute_to_object(this.attributes),
|
|
3592
3595
|
customElement: true
|
|
3593
|
-
}, null, create_fragment$
|
|
3596
|
+
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3594
3597
|
|
|
3595
3598
|
if (options) {
|
|
3596
3599
|
if (options.target) {
|
|
@@ -3604,7 +3607,7 @@ class CardGroup extends SvelteElement {
|
|
|
3604
3607
|
customElements.define("goa-card-group", CardGroup);
|
|
3605
3608
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3606
3609
|
|
|
3607
|
-
function create_fragment$
|
|
3610
|
+
function create_fragment$w(ctx) {
|
|
3608
3611
|
let div;
|
|
3609
3612
|
return {
|
|
3610
3613
|
c() {
|
|
@@ -3652,7 +3655,7 @@ function create_fragment$v(ctx) {
|
|
|
3652
3655
|
};
|
|
3653
3656
|
}
|
|
3654
3657
|
|
|
3655
|
-
function instance$
|
|
3658
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
3656
3659
|
let {
|
|
3657
3660
|
src
|
|
3658
3661
|
} = $$props;
|
|
@@ -3671,12 +3674,12 @@ function instance$s($$self, $$props, $$invalidate) {
|
|
|
3671
3674
|
class CardImage extends SvelteElement {
|
|
3672
3675
|
constructor(options) {
|
|
3673
3676
|
super();
|
|
3674
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
|
|
3677
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}</style>`;
|
|
3675
3678
|
init(this, {
|
|
3676
3679
|
target: this.shadowRoot,
|
|
3677
3680
|
props: attribute_to_object(this.attributes),
|
|
3678
3681
|
customElement: true
|
|
3679
|
-
}, instance$
|
|
3682
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
3680
3683
|
src: 0,
|
|
3681
3684
|
height: 1
|
|
3682
3685
|
}, null);
|
|
@@ -3751,7 +3754,7 @@ function create_if_block_1$8(ctx) {
|
|
|
3751
3754
|
} // (68:4) {#if isIndeterminate}
|
|
3752
3755
|
|
|
3753
3756
|
|
|
3754
|
-
function create_if_block$
|
|
3757
|
+
function create_if_block$e(ctx) {
|
|
3755
3758
|
let svg;
|
|
3756
3759
|
let rect;
|
|
3757
3760
|
return {
|
|
@@ -3778,7 +3781,7 @@ function create_if_block$d(ctx) {
|
|
|
3778
3781
|
};
|
|
3779
3782
|
}
|
|
3780
3783
|
|
|
3781
|
-
function create_fragment$
|
|
3784
|
+
function create_fragment$v(ctx) {
|
|
3782
3785
|
let label;
|
|
3783
3786
|
let div0;
|
|
3784
3787
|
let input;
|
|
@@ -3796,7 +3799,7 @@ function create_fragment$u(ctx) {
|
|
|
3796
3799
|
function select_block_type(ctx, dirty) {
|
|
3797
3800
|
if (
|
|
3798
3801
|
/*isIndeterminate*/
|
|
3799
|
-
ctx[10]) return create_if_block$
|
|
3802
|
+
ctx[10]) return create_if_block$e;
|
|
3800
3803
|
if (
|
|
3801
3804
|
/*isChecked*/
|
|
3802
3805
|
ctx[9]) return create_if_block_1$8;
|
|
@@ -4027,7 +4030,7 @@ function create_fragment$u(ctx) {
|
|
|
4027
4030
|
};
|
|
4028
4031
|
}
|
|
4029
4032
|
|
|
4030
|
-
function instance$
|
|
4033
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
4031
4034
|
let isDisabled;
|
|
4032
4035
|
let isError;
|
|
4033
4036
|
let isChecked;
|
|
@@ -4137,12 +4140,12 @@ function instance$r($$self, $$props, $$invalidate) {
|
|
|
4137
4140
|
class Checkbox extends SvelteElement {
|
|
4138
4141
|
constructor(options) {
|
|
4139
4142
|
super();
|
|
4140
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled{opacity:40%}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--color-
|
|
4143
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);display:block}.goa-checkbox{display:inline-flex;align-items:center;min-height:calc(3rem - 4px);cursor:pointer}.goa-checkbox input[type="checkbox"]{opacity:0;position:absolute;cursor:pointer}.goa-checkbox--disabled .goa-checkbox-text{opacity:40%}.goa-checkbox--disabled:hover{cursor:default}.goa-checkbox-container{box-sizing:border-box;border:1px solid var(--goa-color-greyscale-700);border-radius:2px;background-color:var(--goa-color-greyscale-white);height:1.5rem;width:1.5rem;display:flex;justify-content:center;padding:3px;flex:0 0 auto}.goa-checkbox-container svg{fill:var(--goa-color-greyscale-white)}.goa-checkbox-container.goa-checkbox--selected{background-color:var(--goa-color-interactive-default)}.goa-checkbox-container.goa-checkbox--selected:hover{background-color:var(--goa-color-interactive-hover)}.goa-checkbox-container:hover{border:1px solid var(--goa-color-interactive-hover)}.goa-checkbox-container:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.goa-checkbox-text{padding-left:0.5rem;user-select:none;font-weight:var(--goa-font-weight-regular)}.goa-checkbox--disabled .goa-checkbox-container,.goa-checkbox--disabled .goa-checkbox-container:hover{border:1px solid var(--goa-color-greyscale-400)}.goa-checkbox--error .goa-checkbox-container,.goa-checkbox--error .goa-checkbox-container:hover{border:1px solid var(--goa-color-emergency-default);box-shadow:inset 0 0 0 1px var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.goa-checkbox--error .goa-checkbox-container svg{fill:var(--goa-color-emergency-default)}</style>`;
|
|
4141
4144
|
init(this, {
|
|
4142
4145
|
target: this.shadowRoot,
|
|
4143
4146
|
props: attribute_to_object(this.attributes),
|
|
4144
4147
|
customElement: true
|
|
4145
|
-
}, instance$
|
|
4148
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
4146
4149
|
name: 0,
|
|
4147
4150
|
checked: 14,
|
|
4148
4151
|
text: 1,
|
|
@@ -4344,7 +4347,7 @@ function create_if_block_1$7(ctx) {
|
|
|
4344
4347
|
} // (54:2) {#if _deletable}
|
|
4345
4348
|
|
|
4346
4349
|
|
|
4347
|
-
function create_if_block$
|
|
4350
|
+
function create_if_block$d(ctx) {
|
|
4348
4351
|
let goa_icon;
|
|
4349
4352
|
let goa_icon_fillcolor_value;
|
|
4350
4353
|
let goa_icon_opacity_value;
|
|
@@ -4357,9 +4360,9 @@ function create_if_block$c(ctx) {
|
|
|
4357
4360
|
set_custom_element_data(goa_icon, "type", "close-circle");
|
|
4358
4361
|
set_custom_element_data(goa_icon, "fillcolor", goa_icon_fillcolor_value =
|
|
4359
4362
|
/*_error*/
|
|
4360
|
-
ctx[10] ? "var(--goa-color-
|
|
4363
|
+
ctx[10] ? "var(--goa-color-emergency-default)" :
|
|
4361
4364
|
/*_hovering*/
|
|
4362
|
-
ctx[9] ? "var(--goa-color-interactive
|
|
4365
|
+
ctx[9] ? "var(--goa-color-interactive-hover)" : "var(--goa-color-greyscale-700)");
|
|
4363
4366
|
set_custom_element_data(goa_icon, "opacity", goa_icon_opacity_value =
|
|
4364
4367
|
/*_error*/
|
|
4365
4368
|
ctx[10] ?
|
|
@@ -4376,9 +4379,9 @@ function create_if_block$c(ctx) {
|
|
|
4376
4379
|
/*_error, _hovering*/
|
|
4377
4380
|
1536 && goa_icon_fillcolor_value !== (goa_icon_fillcolor_value =
|
|
4378
4381
|
/*_error*/
|
|
4379
|
-
ctx[10] ? "var(--goa-color-
|
|
4382
|
+
ctx[10] ? "var(--goa-color-emergency-default)" :
|
|
4380
4383
|
/*_hovering*/
|
|
4381
|
-
ctx[9] ? "var(--goa-color-interactive
|
|
4384
|
+
ctx[9] ? "var(--goa-color-interactive-hover)" : "var(--goa-color-greyscale-700)")) {
|
|
4382
4385
|
set_custom_element_data(goa_icon, "fillcolor", goa_icon_fillcolor_value);
|
|
4383
4386
|
}
|
|
4384
4387
|
|
|
@@ -4400,7 +4403,7 @@ function create_if_block$c(ctx) {
|
|
|
4400
4403
|
};
|
|
4401
4404
|
}
|
|
4402
4405
|
|
|
4403
|
-
function create_fragment$
|
|
4406
|
+
function create_fragment$u(ctx) {
|
|
4404
4407
|
let div1;
|
|
4405
4408
|
let t0;
|
|
4406
4409
|
let div0;
|
|
@@ -4414,7 +4417,7 @@ function create_fragment$t(ctx) {
|
|
|
4414
4417
|
ctx[4] && create_if_block_1$7(ctx);
|
|
4415
4418
|
let if_block1 =
|
|
4416
4419
|
/*_deletable*/
|
|
4417
|
-
ctx[11] && create_if_block$
|
|
4420
|
+
ctx[11] && create_if_block$d(ctx);
|
|
4418
4421
|
return {
|
|
4419
4422
|
c() {
|
|
4420
4423
|
div1 = element("div");
|
|
@@ -4509,7 +4512,7 @@ function create_fragment$t(ctx) {
|
|
|
4509
4512
|
if (if_block1) {
|
|
4510
4513
|
if_block1.p(ctx, dirty);
|
|
4511
4514
|
} else {
|
|
4512
|
-
if_block1 = create_if_block$
|
|
4515
|
+
if_block1 = create_if_block$d(ctx);
|
|
4513
4516
|
if_block1.c();
|
|
4514
4517
|
if_block1.m(div1, null);
|
|
4515
4518
|
}
|
|
@@ -4582,7 +4585,7 @@ function create_fragment$t(ctx) {
|
|
|
4582
4585
|
};
|
|
4583
4586
|
}
|
|
4584
4587
|
|
|
4585
|
-
function instance$
|
|
4588
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
4586
4589
|
let {
|
|
4587
4590
|
mt = null
|
|
4588
4591
|
} = $$props;
|
|
@@ -4678,12 +4681,12 @@ function instance$q($$self, $$props, $$invalidate) {
|
|
|
4678
4681
|
class Chip extends SvelteElement {
|
|
4679
4682
|
constructor(options) {
|
|
4680
4683
|
super();
|
|
4681
|
-
this.shadowRoot.innerHTML = `<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--color-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text);display:inline-flex;flex-direction:row;font-size:var(--
|
|
4684
|
+
this.shadowRoot.innerHTML = `<style>.leading-icon{margin-left:-0.25rem}.chip{vertical-align:middle;align-items:center;background-color:var(--goa-color-greyscale-white);border-radius:99px;border:1px solid #949494;box-sizing:border-box;color:var(--goa-color-text-default);display:inline-flex;flex-direction:row;font-size:var(--goa-font-size-3);font-weight:var(--goa-font-weight-regular);gap:0.25rem;height:2rem;justify-content:center;padding:0 0.75rem;cursor:default}.text{padding-bottom:var(--font-valign-fix, 0)}.chip:focus{outline:2px solid var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-white)}.chip:hover{background-color:var(--goa-color-greyscale-200)}.deletable{cursor:pointer}.delete-icon{margin-right:-0.25rem}.error,.error:hover{background-color:var(--goa-color-emergency-light)}</style>`;
|
|
4682
4685
|
init(this, {
|
|
4683
4686
|
target: this.shadowRoot,
|
|
4684
4687
|
props: attribute_to_object(this.attributes),
|
|
4685
4688
|
customElement: true
|
|
4686
|
-
}, instance$
|
|
4689
|
+
}, instance$r, create_fragment$u, safe_not_equal, {
|
|
4687
4690
|
mt: 0,
|
|
4688
4691
|
mr: 1,
|
|
4689
4692
|
mb: 2,
|
|
@@ -4940,7 +4943,7 @@ function noscroll(_node, opts) {
|
|
|
4940
4943
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
4941
4944
|
|
|
4942
4945
|
|
|
4943
|
-
function create_if_block$
|
|
4946
|
+
function create_if_block$c(ctx) {
|
|
4944
4947
|
let current_block_type_index;
|
|
4945
4948
|
let if_block;
|
|
4946
4949
|
let if_block_anchor;
|
|
@@ -5311,12 +5314,12 @@ function create_if_block_2$5(ctx) {
|
|
|
5311
5314
|
};
|
|
5312
5315
|
}
|
|
5313
5316
|
|
|
5314
|
-
function create_fragment$
|
|
5317
|
+
function create_fragment$t(ctx) {
|
|
5315
5318
|
let if_block_anchor;
|
|
5316
5319
|
let current;
|
|
5317
5320
|
let if_block =
|
|
5318
5321
|
/*isVisible*/
|
|
5319
|
-
ctx[5] && create_if_block$
|
|
5322
|
+
ctx[5] && create_if_block$c(ctx);
|
|
5320
5323
|
return {
|
|
5321
5324
|
c() {
|
|
5322
5325
|
if (if_block) if_block.c();
|
|
@@ -5343,7 +5346,7 @@ function create_fragment$s(ctx) {
|
|
|
5343
5346
|
transition_in(if_block, 1);
|
|
5344
5347
|
}
|
|
5345
5348
|
} else {
|
|
5346
|
-
if_block = create_if_block$
|
|
5349
|
+
if_block = create_if_block$c(ctx);
|
|
5347
5350
|
if_block.c();
|
|
5348
5351
|
transition_in(if_block, 1);
|
|
5349
5352
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5376,7 +5379,7 @@ function create_fragment$s(ctx) {
|
|
|
5376
5379
|
};
|
|
5377
5380
|
}
|
|
5378
5381
|
|
|
5379
|
-
function instance$
|
|
5382
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
5380
5383
|
let isVisible;
|
|
5381
5384
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5382
5385
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5428,12 +5431,12 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
|
5428
5431
|
class CircularProgress extends SvelteElement {
|
|
5429
5432
|
constructor(options) {
|
|
5430
5433
|
super();
|
|
5431
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>`;
|
|
5434
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.fullscreen{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;flex-direction:column;background-color:rgba(255, 255, 255, 0.9)}.inline{margin:3.5rem;display:inline-flex;flex-direction:column;align-items:center;justify-content:center}.spinner-large .message{margin-top:1.5rem;font-size:1.2rem}.spinner-xlarge .message{margin-top:2rem;font-size:1.5rem}</style>`;
|
|
5432
5435
|
init(this, {
|
|
5433
5436
|
target: this.shadowRoot,
|
|
5434
5437
|
props: attribute_to_object(this.attributes),
|
|
5435
5438
|
customElement: true
|
|
5436
|
-
}, instance$
|
|
5439
|
+
}, instance$q, create_fragment$t, safe_not_equal, {
|
|
5437
5440
|
variant: 6,
|
|
5438
5441
|
size: 7,
|
|
5439
5442
|
message: 0,
|
|
@@ -5517,7 +5520,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5517
5520
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5518
5521
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5519
5522
|
|
|
5520
|
-
function create_fragment$
|
|
5523
|
+
function create_fragment$s(ctx) {
|
|
5521
5524
|
let div3;
|
|
5522
5525
|
let header;
|
|
5523
5526
|
let div0;
|
|
@@ -5642,7 +5645,7 @@ function create_fragment$r(ctx) {
|
|
|
5642
5645
|
};
|
|
5643
5646
|
}
|
|
5644
5647
|
|
|
5645
|
-
function instance$
|
|
5648
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
5646
5649
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
5647
5650
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
5648
5651
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -5693,12 +5696,12 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
|
5693
5696
|
class Container extends SvelteElement {
|
|
5694
5697
|
constructor(options) {
|
|
5695
5698
|
super();
|
|
5696
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--
|
|
5699
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.goa-container{box-sizing:border-box}.goa-container *{box-sizing:border-box}header{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{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)}.goa-container--non-interactive.accent--filled .content{border-color:var(--goa-color-greyscale-200);background-color:var(--goa-color-greyscale-100)}.goa-container--important.accent--filled .content{border-color:var(--goa-color-warning-default);background-color:var(--goa-color-warning-background)}.goa-container--error.accent--filled .content{border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-emergency-background)}.goa-container--success.accent--filled .content{border-color:var(--goa-color-success-default);background-color:var(--goa-color-success-background)}.goa-container--info.accent--filled .content{border-color:var(--goa-color-info-default);background-color:var(--goa-color-info-background)}.title,.actions{padding:0.5rem 0}.padding--relaxed header{padding:0 1.5rem}.padding--relaxed .content{padding:1.5rem}.padding--compact header,.padding--compact .content{padding:0 1rem}.padding--compact header{padding:0 1rem}.padding--compact .content{padding:1rem}@media screen and (max-width: 480px){.padding--relaxed header{padding:0 1rem}.padding--relaxed .content{padding:1rem}}.goa-container--non-interactive header{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-black)}.goa-container--interactive header{background-color:var(--goa-color-brand-default);border-color:var(--goa-color-brand-default);color:var(--goa-color-greyscale-white)}.goa-container--info header{background-color:var(--goa-color-info-default);border-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.goa-container--error header{background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.goa-container--success header{background-color:var(--goa-color-success-default);border-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.goa-container--important header{background-color:var(--goa-color-warning-default);border-color:var(--goa-color-warning-default);color:var(--goa-color-greyscale-white)}.heading--thick{padding:0.5rem 1.5rem;max-height:3rem;min-height:1rem}.heading--thick .title{line-height:2rem}.heading--thin{height:0.5rem}.heading--filled{display:none}.heading--filled~.content{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 .title,.heading--thin .actions{display:none}.actions{display:flex;align-items:center}</style>`;
|
|
5697
5700
|
init(this, {
|
|
5698
5701
|
target: this.shadowRoot,
|
|
5699
5702
|
props: attribute_to_object(this.attributes),
|
|
5700
5703
|
customElement: true
|
|
5701
|
-
}, instance$
|
|
5704
|
+
}, instance$p, create_fragment$s, safe_not_equal, {
|
|
5702
5705
|
type: 0,
|
|
5703
5706
|
accent: 1,
|
|
5704
5707
|
padding: 2,
|
|
@@ -5818,7 +5821,7 @@ class Container extends SvelteElement {
|
|
|
5818
5821
|
customElements.define("goa-container", Container);
|
|
5819
5822
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
5820
5823
|
|
|
5821
|
-
function create_fragment$
|
|
5824
|
+
function create_fragment$r(ctx) {
|
|
5822
5825
|
let hr;
|
|
5823
5826
|
let hr_style_value;
|
|
5824
5827
|
return {
|
|
@@ -5877,7 +5880,7 @@ function create_fragment$q(ctx) {
|
|
|
5877
5880
|
};
|
|
5878
5881
|
}
|
|
5879
5882
|
|
|
5880
|
-
function instance$
|
|
5883
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
5881
5884
|
let {
|
|
5882
5885
|
testid = ""
|
|
5883
5886
|
} = $$props;
|
|
@@ -5908,12 +5911,12 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
5908
5911
|
class Divider extends SvelteElement {
|
|
5909
5912
|
constructor(options) {
|
|
5910
5913
|
super();
|
|
5911
|
-
this.shadowRoot.innerHTML = `<style>hr{padding:0;margin:0;height:1px;background-color:var(--color-
|
|
5914
|
+
this.shadowRoot.innerHTML = `<style>hr{padding:0;margin:0;height:1px;background-color:var(--goa-color-greyscale-200);border:none}</style>`;
|
|
5912
5915
|
init(this, {
|
|
5913
5916
|
target: this.shadowRoot,
|
|
5914
5917
|
props: attribute_to_object(this.attributes),
|
|
5915
5918
|
customElement: true
|
|
5916
|
-
}, instance$
|
|
5919
|
+
}, instance$o, create_fragment$r, safe_not_equal, {
|
|
5917
5920
|
testid: 0,
|
|
5918
5921
|
mt: 1,
|
|
5919
5922
|
mr: 2,
|
|
@@ -5999,25 +6002,25 @@ customElements.define("goa-divider", Divider);
|
|
|
5999
6002
|
|
|
6000
6003
|
function get_each_context_1(ctx, list, i) {
|
|
6001
6004
|
const child_ctx = ctx.slice();
|
|
6002
|
-
child_ctx[
|
|
6003
|
-
child_ctx[
|
|
6005
|
+
child_ctx[49] = list[i];
|
|
6006
|
+
child_ctx[53] = i;
|
|
6004
6007
|
return child_ctx;
|
|
6005
6008
|
}
|
|
6006
6009
|
|
|
6007
6010
|
function get_each_context$4(ctx, list, i) {
|
|
6008
6011
|
const child_ctx = ctx.slice();
|
|
6009
|
-
child_ctx[
|
|
6012
|
+
child_ctx[49] = list[i];
|
|
6010
6013
|
return child_ctx;
|
|
6011
|
-
} // (
|
|
6014
|
+
} // (256:2) {:else}
|
|
6012
6015
|
|
|
6013
6016
|
|
|
6014
6017
|
function create_else_block$1(ctx) {
|
|
6015
6018
|
let t0;
|
|
6016
|
-
let slot;
|
|
6017
|
-
let t1;
|
|
6018
6019
|
let goa_input;
|
|
6019
|
-
let
|
|
6020
|
+
let goa_input_arialabel_value;
|
|
6020
6021
|
let goa_input_data_testid_value;
|
|
6022
|
+
let t1;
|
|
6023
|
+
let slot;
|
|
6021
6024
|
let t2;
|
|
6022
6025
|
let ul;
|
|
6023
6026
|
let each_blocks = [];
|
|
@@ -6034,7 +6037,7 @@ function create_else_block$1(ctx) {
|
|
|
6034
6037
|
|
|
6035
6038
|
const get_key = ctx =>
|
|
6036
6039
|
/*index*/
|
|
6037
|
-
ctx[
|
|
6040
|
+
ctx[53];
|
|
6038
6041
|
|
|
6039
6042
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
6040
6043
|
let child_ctx = get_each_context_1(ctx, each_value_1, i);
|
|
@@ -6046,9 +6049,9 @@ function create_else_block$1(ctx) {
|
|
|
6046
6049
|
c() {
|
|
6047
6050
|
if (if_block) if_block.c();
|
|
6048
6051
|
t0 = space();
|
|
6049
|
-
slot = element("slot");
|
|
6050
|
-
t1 = space();
|
|
6051
6052
|
goa_input = element("goa-input");
|
|
6053
|
+
t1 = space();
|
|
6054
|
+
slot = element("slot");
|
|
6052
6055
|
t2 = space();
|
|
6053
6056
|
ul = element("ul");
|
|
6054
6057
|
|
|
@@ -6072,7 +6075,7 @@ function create_else_block$1(ctx) {
|
|
|
6072
6075
|
set_custom_element_data(goa_input, "aria-expanded",
|
|
6073
6076
|
/*_isMenuVisible*/
|
|
6074
6077
|
ctx[15]);
|
|
6075
|
-
set_custom_element_data(goa_input, "
|
|
6078
|
+
set_custom_element_data(goa_input, "arialabel", goa_input_arialabel_value =
|
|
6076
6079
|
/*arialabel*/
|
|
6077
6080
|
ctx[1] ||
|
|
6078
6081
|
/*name*/
|
|
@@ -6088,6 +6091,9 @@ function create_else_block$1(ctx) {
|
|
|
6088
6091
|
/*_selectedLabel*/
|
|
6089
6092
|
ctx[14]);
|
|
6090
6093
|
set_custom_element_data(goa_input, "width", "100%");
|
|
6094
|
+
set_custom_element_data(goa_input, "name",
|
|
6095
|
+
/*name*/
|
|
6096
|
+
ctx[0]);
|
|
6091
6097
|
attr(ul, "id", "menu");
|
|
6092
6098
|
attr(ul, "role", "listbox");
|
|
6093
6099
|
attr(ul, "aria-activedescendant",
|
|
@@ -6107,9 +6113,9 @@ function create_else_block$1(ctx) {
|
|
|
6107
6113
|
m(target, anchor) {
|
|
6108
6114
|
if (if_block) if_block.m(target, anchor);
|
|
6109
6115
|
insert(target, t0, anchor);
|
|
6110
|
-
insert(target, slot, anchor);
|
|
6111
|
-
insert(target, t1, anchor);
|
|
6112
6116
|
insert(target, goa_input, anchor);
|
|
6117
|
+
insert(target, t1, anchor);
|
|
6118
|
+
insert(target, slot, anchor);
|
|
6113
6119
|
insert(target, t2, anchor);
|
|
6114
6120
|
insert(target, ul, anchor);
|
|
6115
6121
|
|
|
@@ -6187,12 +6193,12 @@ function create_else_block$1(ctx) {
|
|
|
6187
6193
|
|
|
6188
6194
|
if (dirty[0] &
|
|
6189
6195
|
/*arialabel, name*/
|
|
6190
|
-
3 &&
|
|
6196
|
+
3 && goa_input_arialabel_value !== (goa_input_arialabel_value =
|
|
6191
6197
|
/*arialabel*/
|
|
6192
6198
|
ctx[1] ||
|
|
6193
6199
|
/*name*/
|
|
6194
6200
|
ctx[0])) {
|
|
6195
|
-
set_custom_element_data(goa_input, "
|
|
6201
|
+
set_custom_element_data(goa_input, "arialabel", goa_input_arialabel_value);
|
|
6196
6202
|
}
|
|
6197
6203
|
|
|
6198
6204
|
if (dirty[0] &
|
|
@@ -6211,6 +6217,14 @@ function create_else_block$1(ctx) {
|
|
|
6211
6217
|
ctx[14]);
|
|
6212
6218
|
}
|
|
6213
6219
|
|
|
6220
|
+
if (dirty[0] &
|
|
6221
|
+
/*name*/
|
|
6222
|
+
1) {
|
|
6223
|
+
set_custom_element_data(goa_input, "name",
|
|
6224
|
+
/*name*/
|
|
6225
|
+
ctx[0]);
|
|
6226
|
+
}
|
|
6227
|
+
|
|
6214
6228
|
if (dirty[0] &
|
|
6215
6229
|
/*_options, _values, _highlightedIndex, onSelect*/
|
|
6216
6230
|
67186688) {
|
|
@@ -6248,9 +6262,9 @@ function create_else_block$1(ctx) {
|
|
|
6248
6262
|
d(detaching) {
|
|
6249
6263
|
if (if_block) if_block.d(detaching);
|
|
6250
6264
|
if (detaching) detach(t0);
|
|
6251
|
-
if (detaching) detach(slot);
|
|
6252
|
-
if (detaching) detach(t1);
|
|
6253
6265
|
if (detaching) detach(goa_input);
|
|
6266
|
+
if (detaching) detach(t1);
|
|
6267
|
+
if (detaching) detach(slot);
|
|
6254
6268
|
if (detaching) detach(t2);
|
|
6255
6269
|
if (detaching) detach(ul);
|
|
6256
6270
|
|
|
@@ -6266,10 +6280,10 @@ function create_else_block$1(ctx) {
|
|
|
6266
6280
|
}
|
|
6267
6281
|
|
|
6268
6282
|
};
|
|
6269
|
-
} // (
|
|
6283
|
+
} // (237:2) {#if _native}
|
|
6270
6284
|
|
|
6271
6285
|
|
|
6272
|
-
function create_if_block$
|
|
6286
|
+
function create_if_block$b(ctx) {
|
|
6273
6287
|
let select;
|
|
6274
6288
|
let slot;
|
|
6275
6289
|
let select_aria_label_value;
|
|
@@ -6392,7 +6406,7 @@ function create_if_block$a(ctx) {
|
|
|
6392
6406
|
}
|
|
6393
6407
|
|
|
6394
6408
|
};
|
|
6395
|
-
} // (
|
|
6409
|
+
} // (257:4) {#if _isMenuVisible}
|
|
6396
6410
|
|
|
6397
6411
|
|
|
6398
6412
|
function create_if_block_1$5(ctx) {
|
|
@@ -6437,16 +6451,16 @@ function create_if_block_1$5(ctx) {
|
|
|
6437
6451
|
}
|
|
6438
6452
|
|
|
6439
6453
|
};
|
|
6440
|
-
} // (
|
|
6454
|
+
} // (300:6) {#each _options as option, index (index)}
|
|
6441
6455
|
|
|
6442
6456
|
|
|
6443
6457
|
function create_each_block_1(key_1, ctx) {
|
|
6444
6458
|
let li;
|
|
6445
6459
|
let t0_value = (
|
|
6446
6460
|
/*option*/
|
|
6447
|
-
ctx[
|
|
6461
|
+
ctx[49].label ||
|
|
6448
6462
|
/*option*/
|
|
6449
|
-
ctx[
|
|
6463
|
+
ctx[49].value) + "";
|
|
6450
6464
|
let t0;
|
|
6451
6465
|
let t1;
|
|
6452
6466
|
let li_id_value;
|
|
@@ -6464,7 +6478,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6464
6478
|
/*click_handler*/
|
|
6465
6479
|
ctx[32](
|
|
6466
6480
|
/*option*/
|
|
6467
|
-
ctx[
|
|
6481
|
+
ctx[49])
|
|
6468
6482
|
);
|
|
6469
6483
|
}
|
|
6470
6484
|
|
|
@@ -6478,40 +6492,40 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6478
6492
|
t1 = space();
|
|
6479
6493
|
attr(li, "id", li_id_value =
|
|
6480
6494
|
/*option*/
|
|
6481
|
-
ctx[
|
|
6495
|
+
ctx[49].label);
|
|
6482
6496
|
attr(li, "role", "option");
|
|
6483
6497
|
attr(li, "aria-label", li_aria_label_value =
|
|
6484
6498
|
/*option*/
|
|
6485
|
-
ctx[
|
|
6499
|
+
ctx[49].label ||
|
|
6486
6500
|
/*option*/
|
|
6487
|
-
ctx[
|
|
6501
|
+
ctx[49].value);
|
|
6488
6502
|
attr(li, "aria-selected", li_aria_selected_value =
|
|
6489
6503
|
/*_values*/
|
|
6490
6504
|
ctx[12].includes(
|
|
6491
6505
|
/*option*/
|
|
6492
|
-
ctx[
|
|
6506
|
+
ctx[49].value) ? "true" : "false");
|
|
6493
6507
|
attr(li, "class", "dropdown-item");
|
|
6494
6508
|
attr(li, "data-testid", li_data_testid_value = `dropdown-item-${
|
|
6495
6509
|
/*option*/
|
|
6496
|
-
ctx[
|
|
6510
|
+
ctx[49].value}`);
|
|
6497
6511
|
attr(li, "data-index", li_data_index_value =
|
|
6498
6512
|
/*index*/
|
|
6499
|
-
ctx[
|
|
6513
|
+
ctx[53]);
|
|
6500
6514
|
attr(li, "data-value", li_data_value_value =
|
|
6501
6515
|
/*option*/
|
|
6502
|
-
ctx[
|
|
6516
|
+
ctx[49].value);
|
|
6503
6517
|
attr(li, "style", li_style_value = `display: ${"block"}`);
|
|
6504
6518
|
toggle_class(li, "dropdown-item--disabled", false);
|
|
6505
6519
|
toggle_class(li, "dropdown-item--tabbed",
|
|
6506
6520
|
/*index*/
|
|
6507
|
-
ctx[
|
|
6521
|
+
ctx[53] ===
|
|
6508
6522
|
/*_highlightedIndex*/
|
|
6509
6523
|
ctx[16]);
|
|
6510
6524
|
toggle_class(li, "dropdown-item--selected",
|
|
6511
6525
|
/*_values*/
|
|
6512
6526
|
ctx[12].includes(
|
|
6513
6527
|
/*option*/
|
|
6514
|
-
ctx[
|
|
6528
|
+
ctx[49].value));
|
|
6515
6529
|
this.first = li;
|
|
6516
6530
|
},
|
|
6517
6531
|
|
|
@@ -6532,15 +6546,15 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6532
6546
|
/*_options*/
|
|
6533
6547
|
8192 && t0_value !== (t0_value = (
|
|
6534
6548
|
/*option*/
|
|
6535
|
-
ctx[
|
|
6549
|
+
ctx[49].label ||
|
|
6536
6550
|
/*option*/
|
|
6537
|
-
ctx[
|
|
6551
|
+
ctx[49].value) + "")) set_data(t0, t0_value);
|
|
6538
6552
|
|
|
6539
6553
|
if (dirty[0] &
|
|
6540
6554
|
/*_options*/
|
|
6541
6555
|
8192 && li_id_value !== (li_id_value =
|
|
6542
6556
|
/*option*/
|
|
6543
|
-
ctx[
|
|
6557
|
+
ctx[49].label)) {
|
|
6544
6558
|
attr(li, "id", li_id_value);
|
|
6545
6559
|
}
|
|
6546
6560
|
|
|
@@ -6548,9 +6562,9 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6548
6562
|
/*_options*/
|
|
6549
6563
|
8192 && li_aria_label_value !== (li_aria_label_value =
|
|
6550
6564
|
/*option*/
|
|
6551
|
-
ctx[
|
|
6565
|
+
ctx[49].label ||
|
|
6552
6566
|
/*option*/
|
|
6553
|
-
ctx[
|
|
6567
|
+
ctx[49].value)) {
|
|
6554
6568
|
attr(li, "aria-label", li_aria_label_value);
|
|
6555
6569
|
}
|
|
6556
6570
|
|
|
@@ -6560,7 +6574,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6560
6574
|
/*_values*/
|
|
6561
6575
|
ctx[12].includes(
|
|
6562
6576
|
/*option*/
|
|
6563
|
-
ctx[
|
|
6577
|
+
ctx[49].value) ? "true" : "false")) {
|
|
6564
6578
|
attr(li, "aria-selected", li_aria_selected_value);
|
|
6565
6579
|
}
|
|
6566
6580
|
|
|
@@ -6568,7 +6582,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6568
6582
|
/*_options*/
|
|
6569
6583
|
8192 && li_data_testid_value !== (li_data_testid_value = `dropdown-item-${
|
|
6570
6584
|
/*option*/
|
|
6571
|
-
ctx[
|
|
6585
|
+
ctx[49].value}`)) {
|
|
6572
6586
|
attr(li, "data-testid", li_data_testid_value);
|
|
6573
6587
|
}
|
|
6574
6588
|
|
|
@@ -6576,7 +6590,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6576
6590
|
/*_options*/
|
|
6577
6591
|
8192 && li_data_index_value !== (li_data_index_value =
|
|
6578
6592
|
/*index*/
|
|
6579
|
-
ctx[
|
|
6593
|
+
ctx[53])) {
|
|
6580
6594
|
attr(li, "data-index", li_data_index_value);
|
|
6581
6595
|
}
|
|
6582
6596
|
|
|
@@ -6584,7 +6598,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6584
6598
|
/*_options*/
|
|
6585
6599
|
8192 && li_data_value_value !== (li_data_value_value =
|
|
6586
6600
|
/*option*/
|
|
6587
|
-
ctx[
|
|
6601
|
+
ctx[49].value)) {
|
|
6588
6602
|
attr(li, "data-value", li_data_value_value);
|
|
6589
6603
|
}
|
|
6590
6604
|
|
|
@@ -6593,7 +6607,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6593
6607
|
73728) {
|
|
6594
6608
|
toggle_class(li, "dropdown-item--tabbed",
|
|
6595
6609
|
/*index*/
|
|
6596
|
-
ctx[
|
|
6610
|
+
ctx[53] ===
|
|
6597
6611
|
/*_highlightedIndex*/
|
|
6598
6612
|
ctx[16]);
|
|
6599
6613
|
}
|
|
@@ -6605,7 +6619,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6605
6619
|
/*_values*/
|
|
6606
6620
|
ctx[12].includes(
|
|
6607
6621
|
/*option*/
|
|
6608
|
-
ctx[
|
|
6622
|
+
ctx[49].value));
|
|
6609
6623
|
}
|
|
6610
6624
|
},
|
|
6611
6625
|
|
|
@@ -6616,14 +6630,14 @@ function create_each_block_1(key_1, ctx) {
|
|
|
6616
6630
|
}
|
|
6617
6631
|
|
|
6618
6632
|
};
|
|
6619
|
-
} // (
|
|
6633
|
+
} // (246:6) {#each _options as option}
|
|
6620
6634
|
|
|
6621
6635
|
|
|
6622
6636
|
function create_each_block$4(ctx) {
|
|
6623
6637
|
let option;
|
|
6624
6638
|
let t0_value =
|
|
6625
6639
|
/*option*/
|
|
6626
|
-
ctx[
|
|
6640
|
+
ctx[49].label + "";
|
|
6627
6641
|
let t0;
|
|
6628
6642
|
let t1;
|
|
6629
6643
|
let option_selected_value;
|
|
@@ -6636,14 +6650,14 @@ function create_each_block$4(ctx) {
|
|
|
6636
6650
|
t1 = space();
|
|
6637
6651
|
option.selected = option_selected_value =
|
|
6638
6652
|
/*option*/
|
|
6639
|
-
ctx[
|
|
6653
|
+
ctx[49].selected;
|
|
6640
6654
|
option.__value = option_value_value =
|
|
6641
6655
|
/*option*/
|
|
6642
|
-
ctx[
|
|
6656
|
+
ctx[49].value;
|
|
6643
6657
|
option.value = option.__value;
|
|
6644
6658
|
attr(option, "aria-label", option_aria_label_value =
|
|
6645
6659
|
/*option*/
|
|
6646
|
-
ctx[
|
|
6660
|
+
ctx[49].label);
|
|
6647
6661
|
},
|
|
6648
6662
|
|
|
6649
6663
|
m(target, anchor) {
|
|
@@ -6657,13 +6671,13 @@ function create_each_block$4(ctx) {
|
|
|
6657
6671
|
/*_options*/
|
|
6658
6672
|
8192 && t0_value !== (t0_value =
|
|
6659
6673
|
/*option*/
|
|
6660
|
-
ctx[
|
|
6674
|
+
ctx[49].label + "")) set_data(t0, t0_value);
|
|
6661
6675
|
|
|
6662
6676
|
if (dirty[0] &
|
|
6663
6677
|
/*_options*/
|
|
6664
6678
|
8192 && option_selected_value !== (option_selected_value =
|
|
6665
6679
|
/*option*/
|
|
6666
|
-
ctx[
|
|
6680
|
+
ctx[49].selected)) {
|
|
6667
6681
|
option.selected = option_selected_value;
|
|
6668
6682
|
}
|
|
6669
6683
|
|
|
@@ -6671,7 +6685,7 @@ function create_each_block$4(ctx) {
|
|
|
6671
6685
|
/*_options*/
|
|
6672
6686
|
8192 && option_value_value !== (option_value_value =
|
|
6673
6687
|
/*option*/
|
|
6674
|
-
ctx[
|
|
6688
|
+
ctx[49].value)) {
|
|
6675
6689
|
option.__value = option_value_value;
|
|
6676
6690
|
option.value = option.__value;
|
|
6677
6691
|
}
|
|
@@ -6680,7 +6694,7 @@ function create_each_block$4(ctx) {
|
|
|
6680
6694
|
/*_options*/
|
|
6681
6695
|
8192 && option_aria_label_value !== (option_aria_label_value =
|
|
6682
6696
|
/*option*/
|
|
6683
|
-
ctx[
|
|
6697
|
+
ctx[49].label)) {
|
|
6684
6698
|
attr(option, "aria-label", option_aria_label_value);
|
|
6685
6699
|
}
|
|
6686
6700
|
},
|
|
@@ -6692,7 +6706,7 @@ function create_each_block$4(ctx) {
|
|
|
6692
6706
|
};
|
|
6693
6707
|
}
|
|
6694
6708
|
|
|
6695
|
-
function create_fragment$
|
|
6709
|
+
function create_fragment$q(ctx) {
|
|
6696
6710
|
let div;
|
|
6697
6711
|
let div_data_testid_value;
|
|
6698
6712
|
let div_style_value;
|
|
@@ -6700,7 +6714,7 @@ function create_fragment$p(ctx) {
|
|
|
6700
6714
|
function select_block_type(ctx, dirty) {
|
|
6701
6715
|
if (
|
|
6702
6716
|
/*_native*/
|
|
6703
|
-
ctx[22]) return create_if_block$
|
|
6717
|
+
ctx[22]) return create_if_block$b;
|
|
6704
6718
|
return create_else_block$1;
|
|
6705
6719
|
}
|
|
6706
6720
|
|
|
@@ -6809,21 +6823,7 @@ function create_fragment$p(ctx) {
|
|
|
6809
6823
|
};
|
|
6810
6824
|
}
|
|
6811
6825
|
|
|
6812
|
-
function
|
|
6813
|
-
let width;
|
|
6814
|
-
let maxCount = 0;
|
|
6815
|
-
options.forEach(option => {
|
|
6816
|
-
const label = option.label || option.value || "";
|
|
6817
|
-
|
|
6818
|
-
if (!width && maxCount < label.length) {
|
|
6819
|
-
maxCount = label.length;
|
|
6820
|
-
width = `${Math.max(20, maxCount + 12)}ch`;
|
|
6821
|
-
}
|
|
6822
|
-
});
|
|
6823
|
-
return width;
|
|
6824
|
-
}
|
|
6825
|
-
|
|
6826
|
-
function instance$m($$self, $$props, $$invalidate) {
|
|
6826
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
6827
6827
|
let _disabled;
|
|
6828
6828
|
|
|
6829
6829
|
let _error;
|
|
@@ -6901,7 +6901,16 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
|
6901
6901
|
$$invalidate(17, _computedWidth = getCustomDropdownWidth(_options));
|
|
6902
6902
|
addKeyboardEventListeners();
|
|
6903
6903
|
setHighlightedIndexToSelected();
|
|
6904
|
-
}
|
|
6904
|
+
} // watch for DOM changes within the slot => dynamic binding
|
|
6905
|
+
|
|
6906
|
+
|
|
6907
|
+
const slot = _el.querySelector("slot");
|
|
6908
|
+
|
|
6909
|
+
slot === null || slot === void 0 ? void 0 : slot.addEventListener("slotchange", _e => {
|
|
6910
|
+
$$invalidate(14, _selectedLabel = "");
|
|
6911
|
+
$$invalidate(12, _values = parseValues());
|
|
6912
|
+
$$invalidate(13, _options = getOptions());
|
|
6913
|
+
});
|
|
6905
6914
|
});
|
|
6906
6915
|
onDestroy(() => {
|
|
6907
6916
|
removeKeyboardEventListeners();
|
|
@@ -6925,7 +6934,7 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
|
6925
6934
|
|
|
6926
6935
|
function getOptions() {
|
|
6927
6936
|
const children = getChildren();
|
|
6928
|
-
return children.map(el => {
|
|
6937
|
+
return children.filter(child => child.tagName === "GOA-DROPDOWN-ITEM").map(el => {
|
|
6929
6938
|
const option = el;
|
|
6930
6939
|
const value = el.getAttribute("value") || option.value;
|
|
6931
6940
|
const label = el.getAttribute("label") || option.label || value;
|
|
@@ -6943,6 +6952,26 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
|
6943
6952
|
label
|
|
6944
6953
|
};
|
|
6945
6954
|
});
|
|
6955
|
+
} // compute the required width to enure all children fit
|
|
6956
|
+
|
|
6957
|
+
|
|
6958
|
+
function getCustomDropdownWidth(options) {
|
|
6959
|
+
let width;
|
|
6960
|
+
let maxCount = 0;
|
|
6961
|
+
|
|
6962
|
+
if (options.length === 0 && placeholder !== "") {
|
|
6963
|
+
return `${placeholder.length + 12}ch`;
|
|
6964
|
+
}
|
|
6965
|
+
|
|
6966
|
+
options.forEach(option => {
|
|
6967
|
+
const label = option.label || option.value || "";
|
|
6968
|
+
|
|
6969
|
+
if (!width && maxCount < label.length) {
|
|
6970
|
+
maxCount = label.length;
|
|
6971
|
+
width = `${Math.max(20, maxCount + 12)}ch`;
|
|
6972
|
+
}
|
|
6973
|
+
});
|
|
6974
|
+
return width;
|
|
6946
6975
|
}
|
|
6947
6976
|
|
|
6948
6977
|
function addKeyboardEventListeners() {
|
|
@@ -7179,12 +7208,12 @@ function instance$m($$self, $$props, $$invalidate) {
|
|
|
7179
7208
|
class Dropdown extends SvelteElement {
|
|
7180
7209
|
constructor(options) {
|
|
7181
7210
|
super();
|
|
7182
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--
|
|
7211
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--goa-color-greyscale-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--goa-color-greyscale-700)}.dropdown-item--selected{background:var(--goa-color-interactive-default);color:var(--goa-color-greyscale-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive-hover);color:var(--goa-color-greyscale-white)}.dropdown-native{border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);background-color:var(--goa-color-greyscale-white)}.dropdown-native:has(select:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive-error)}select{border:none;background-color:transparent;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);appearance:none;padding:calc(var(--goa-space-xs) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}</style>`;
|
|
7183
7212
|
init(this, {
|
|
7184
7213
|
target: this.shadowRoot,
|
|
7185
7214
|
props: attribute_to_object(this.attributes),
|
|
7186
7215
|
customElement: true
|
|
7187
|
-
}, instance$
|
|
7216
|
+
}, instance$n, create_fragment$q, safe_not_equal, {
|
|
7188
7217
|
name: 0,
|
|
7189
7218
|
arialabel: 1,
|
|
7190
7219
|
value: 28,
|
|
@@ -7388,7 +7417,7 @@ class Dropdown extends SvelteElement {
|
|
|
7388
7417
|
customElements.define("goa-dropdown", Dropdown);
|
|
7389
7418
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
7390
7419
|
|
|
7391
|
-
function create_fragment$
|
|
7420
|
+
function create_fragment$p(ctx) {
|
|
7392
7421
|
return {
|
|
7393
7422
|
c() {
|
|
7394
7423
|
this.c = noop;
|
|
@@ -7409,7 +7438,7 @@ class DropdownItem extends SvelteElement {
|
|
|
7409
7438
|
target: this.shadowRoot,
|
|
7410
7439
|
props: attribute_to_object(this.attributes),
|
|
7411
7440
|
customElement: true
|
|
7412
|
-
}, null, create_fragment$
|
|
7441
|
+
}, null, create_fragment$p, safe_not_equal, {}, null);
|
|
7413
7442
|
|
|
7414
7443
|
if (options) {
|
|
7415
7444
|
if (options.target) {
|
|
@@ -7423,7 +7452,7 @@ class DropdownItem extends SvelteElement {
|
|
|
7423
7452
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
7424
7453
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7425
7454
|
|
|
7426
|
-
function create_fragment$
|
|
7455
|
+
function create_fragment$o(ctx) {
|
|
7427
7456
|
let div;
|
|
7428
7457
|
return {
|
|
7429
7458
|
c() {
|
|
@@ -7484,7 +7513,7 @@ function isFocusable(element) {
|
|
|
7484
7513
|
}
|
|
7485
7514
|
}
|
|
7486
7515
|
|
|
7487
|
-
function instance$
|
|
7516
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
7488
7517
|
let isActive;
|
|
7489
7518
|
let {
|
|
7490
7519
|
active
|
|
@@ -7653,7 +7682,7 @@ class FocusTrap extends SvelteElement {
|
|
|
7653
7682
|
target: this.shadowRoot,
|
|
7654
7683
|
props: attribute_to_object(this.attributes),
|
|
7655
7684
|
customElement: true
|
|
7656
|
-
}, instance$
|
|
7685
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7657
7686
|
active: 1
|
|
7658
7687
|
}, null);
|
|
7659
7688
|
|
|
@@ -7689,7 +7718,7 @@ class FocusTrap extends SvelteElement {
|
|
|
7689
7718
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
7690
7719
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
7691
7720
|
|
|
7692
|
-
function create_if_block$
|
|
7721
|
+
function create_if_block$a(ctx) {
|
|
7693
7722
|
let goa_divider;
|
|
7694
7723
|
return {
|
|
7695
7724
|
c() {
|
|
@@ -7708,9 +7737,7 @@ function create_if_block$9(ctx) {
|
|
|
7708
7737
|
};
|
|
7709
7738
|
}
|
|
7710
7739
|
|
|
7711
|
-
function create_fragment$
|
|
7712
|
-
var _ctx$;
|
|
7713
|
-
|
|
7740
|
+
function create_fragment$n(ctx) {
|
|
7714
7741
|
let div5;
|
|
7715
7742
|
let div4;
|
|
7716
7743
|
let div0;
|
|
@@ -7726,11 +7753,11 @@ function create_fragment$m(ctx) {
|
|
|
7726
7753
|
let div5_style_value;
|
|
7727
7754
|
let if_block =
|
|
7728
7755
|
/*navLinks*/
|
|
7729
|
-
|
|
7756
|
+
ctx[2] &&
|
|
7757
|
+
/*navLinks*/
|
|
7758
|
+
ctx[2].length > 0 && create_if_block$a();
|
|
7730
7759
|
return {
|
|
7731
7760
|
c() {
|
|
7732
|
-
var _ctx$2, _ctx$3;
|
|
7733
|
-
|
|
7734
7761
|
div5 = element("div");
|
|
7735
7762
|
div4 = element("div");
|
|
7736
7763
|
div0 = element("div");
|
|
@@ -7759,11 +7786,15 @@ function create_fragment$m(ctx) {
|
|
|
7759
7786
|
attr(div2, "class", "abgov");
|
|
7760
7787
|
toggle_class(div2, "with-meta-links",
|
|
7761
7788
|
/*metaLinks*/
|
|
7762
|
-
|
|
7789
|
+
ctx[3] &&
|
|
7790
|
+
/*metaLinks*/
|
|
7791
|
+
ctx[3].length > 0);
|
|
7763
7792
|
attr(div3, "class", "meta-section");
|
|
7764
7793
|
toggle_class(div3, "with-meta-links",
|
|
7765
7794
|
/*metaLinks*/
|
|
7766
|
-
|
|
7795
|
+
ctx[3] &&
|
|
7796
|
+
/*metaLinks*/
|
|
7797
|
+
ctx[3].length > 0);
|
|
7767
7798
|
attr(div4, "class", "content");
|
|
7768
7799
|
attr(div5, "class", "app-footer");
|
|
7769
7800
|
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
@@ -7791,13 +7822,13 @@ function create_fragment$m(ctx) {
|
|
|
7791
7822
|
},
|
|
7792
7823
|
|
|
7793
7824
|
p(ctx, [dirty]) {
|
|
7794
|
-
var _ctx$4;
|
|
7795
|
-
|
|
7796
7825
|
if (
|
|
7797
7826
|
/*navLinks*/
|
|
7798
|
-
|
|
7827
|
+
ctx[2] &&
|
|
7828
|
+
/*navLinks*/
|
|
7829
|
+
ctx[2].length > 0) {
|
|
7799
7830
|
if (if_block) ;else {
|
|
7800
|
-
if_block = create_if_block$
|
|
7831
|
+
if_block = create_if_block$a();
|
|
7801
7832
|
if_block.c();
|
|
7802
7833
|
if_block.m(div4, t1);
|
|
7803
7834
|
}
|
|
@@ -7809,21 +7840,21 @@ function create_fragment$m(ctx) {
|
|
|
7809
7840
|
if (dirty &
|
|
7810
7841
|
/*metaLinks*/
|
|
7811
7842
|
8) {
|
|
7812
|
-
var _ctx$5;
|
|
7813
|
-
|
|
7814
7843
|
toggle_class(div2, "with-meta-links",
|
|
7815
7844
|
/*metaLinks*/
|
|
7816
|
-
|
|
7845
|
+
ctx[3] &&
|
|
7846
|
+
/*metaLinks*/
|
|
7847
|
+
ctx[3].length > 0);
|
|
7817
7848
|
}
|
|
7818
7849
|
|
|
7819
7850
|
if (dirty &
|
|
7820
7851
|
/*metaLinks*/
|
|
7821
7852
|
8) {
|
|
7822
|
-
var _ctx$6;
|
|
7823
|
-
|
|
7824
7853
|
toggle_class(div3, "with-meta-links",
|
|
7825
7854
|
/*metaLinks*/
|
|
7826
|
-
|
|
7855
|
+
ctx[3] &&
|
|
7856
|
+
/*metaLinks*/
|
|
7857
|
+
ctx[3].length > 0);
|
|
7827
7858
|
}
|
|
7828
7859
|
|
|
7829
7860
|
if (dirty &
|
|
@@ -7849,7 +7880,7 @@ function create_fragment$m(ctx) {
|
|
|
7849
7880
|
};
|
|
7850
7881
|
}
|
|
7851
7882
|
|
|
7852
|
-
function instance$
|
|
7883
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
7853
7884
|
let {
|
|
7854
7885
|
maxcontentwidth = ""
|
|
7855
7886
|
} = $$props;
|
|
@@ -7882,12 +7913,12 @@ function instance$k($$self, $$props, $$invalidate) {
|
|
|
7882
7913
|
class Footer extends SvelteElement {
|
|
7883
7914
|
constructor(options) {
|
|
7884
7915
|
super();
|
|
7885
|
-
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-
|
|
7916
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.app-footer{background-color:var(--goa-color-greyscale-100);border-top:2px solid var(--goa-color-greyscale-200);border-bottom:1rem solid var(--goa-color-brand-default)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
|
|
7886
7917
|
init(this, {
|
|
7887
7918
|
target: this.shadowRoot,
|
|
7888
7919
|
props: attribute_to_object(this.attributes),
|
|
7889
7920
|
customElement: true
|
|
7890
|
-
}, instance$
|
|
7921
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
7891
7922
|
maxcontentwidth: 0
|
|
7892
7923
|
}, null);
|
|
7893
7924
|
|
|
@@ -7977,7 +8008,7 @@ function create_each_block$3(ctx) {
|
|
|
7977
8008
|
};
|
|
7978
8009
|
}
|
|
7979
8010
|
|
|
7980
|
-
function create_fragment$
|
|
8011
|
+
function create_fragment$m(ctx) {
|
|
7981
8012
|
let section;
|
|
7982
8013
|
let div;
|
|
7983
8014
|
let t;
|
|
@@ -8065,7 +8096,7 @@ function create_fragment$l(ctx) {
|
|
|
8065
8096
|
};
|
|
8066
8097
|
}
|
|
8067
8098
|
|
|
8068
|
-
function instance$
|
|
8099
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
8069
8100
|
let rootEl;
|
|
8070
8101
|
let children = [];
|
|
8071
8102
|
onMount(async () => {
|
|
@@ -8095,12 +8126,12 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
8095
8126
|
class FooterMetaSection extends SvelteElement {
|
|
8096
8127
|
constructor(options) {
|
|
8097
8128
|
super();
|
|
8098
|
-
this.shadowRoot.innerHTML = `<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>`;
|
|
8129
|
+
this.shadowRoot.innerHTML = `<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text-default);white-space:nowrap}</style>`;
|
|
8099
8130
|
init(this, {
|
|
8100
8131
|
target: this.shadowRoot,
|
|
8101
8132
|
props: attribute_to_object(this.attributes),
|
|
8102
8133
|
customElement: true
|
|
8103
|
-
}, instance$
|
|
8134
|
+
}, instance$k, create_fragment$m, safe_not_equal, {}, null);
|
|
8104
8135
|
|
|
8105
8136
|
if (options) {
|
|
8106
8137
|
if (options.target) {
|
|
@@ -8121,7 +8152,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
8121
8152
|
} // (31:2) {#if heading}
|
|
8122
8153
|
|
|
8123
8154
|
|
|
8124
|
-
function create_if_block$
|
|
8155
|
+
function create_if_block$9(ctx) {
|
|
8125
8156
|
let div;
|
|
8126
8157
|
let t0;
|
|
8127
8158
|
let t1;
|
|
@@ -8210,7 +8241,7 @@ function create_each_block$2(ctx) {
|
|
|
8210
8241
|
};
|
|
8211
8242
|
}
|
|
8212
8243
|
|
|
8213
|
-
function create_fragment$
|
|
8244
|
+
function create_fragment$l(ctx) {
|
|
8214
8245
|
let section;
|
|
8215
8246
|
let t0;
|
|
8216
8247
|
let div;
|
|
@@ -8219,7 +8250,7 @@ function create_fragment$k(ctx) {
|
|
|
8219
8250
|
let ul_style_value;
|
|
8220
8251
|
let if_block =
|
|
8221
8252
|
/*heading*/
|
|
8222
|
-
ctx[0] && create_if_block$
|
|
8253
|
+
ctx[0] && create_if_block$9(ctx);
|
|
8223
8254
|
let each_value =
|
|
8224
8255
|
/*children*/
|
|
8225
8256
|
ctx[3];
|
|
@@ -8286,7 +8317,7 @@ function create_fragment$k(ctx) {
|
|
|
8286
8317
|
if (if_block) {
|
|
8287
8318
|
if_block.p(ctx, dirty);
|
|
8288
8319
|
} else {
|
|
8289
|
-
if_block = create_if_block$
|
|
8320
|
+
if_block = create_if_block$9(ctx);
|
|
8290
8321
|
if_block.c();
|
|
8291
8322
|
if_block.m(section, t0);
|
|
8292
8323
|
}
|
|
@@ -8357,7 +8388,7 @@ function create_fragment$k(ctx) {
|
|
|
8357
8388
|
};
|
|
8358
8389
|
}
|
|
8359
8390
|
|
|
8360
|
-
function instance$
|
|
8391
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
8361
8392
|
let {
|
|
8362
8393
|
heading = ""
|
|
8363
8394
|
} = $$props;
|
|
@@ -8403,12 +8434,12 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
8403
8434
|
class FooterNavSection extends SvelteElement {
|
|
8404
8435
|
constructor(options) {
|
|
8405
8436
|
super();
|
|
8406
|
-
this.shadowRoot.innerHTML = `<style>:host{flex:auto}.title{font-size:var(--
|
|
8437
|
+
this.shadowRoot.innerHTML = `<style>:host{flex:auto}.title{font-size:var(--goa-font-size-7);line-height:var(--goa-line-height-4)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text-default)}</style>`;
|
|
8407
8438
|
init(this, {
|
|
8408
8439
|
target: this.shadowRoot,
|
|
8409
8440
|
props: attribute_to_object(this.attributes),
|
|
8410
8441
|
customElement: true
|
|
8411
|
-
}, instance$
|
|
8442
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
8412
8443
|
heading: 0,
|
|
8413
8444
|
maxcolumncount: 1
|
|
8414
8445
|
}, null);
|
|
@@ -8606,7 +8637,7 @@ function create_if_block_1$4(ctx) {
|
|
|
8606
8637
|
} // (48:2) {#if helptext}
|
|
8607
8638
|
|
|
8608
8639
|
|
|
8609
|
-
function create_if_block$
|
|
8640
|
+
function create_if_block$8(ctx) {
|
|
8610
8641
|
let div;
|
|
8611
8642
|
let t;
|
|
8612
8643
|
return {
|
|
@@ -8638,7 +8669,7 @@ function create_if_block$7(ctx) {
|
|
|
8638
8669
|
};
|
|
8639
8670
|
}
|
|
8640
8671
|
|
|
8641
|
-
function create_fragment$
|
|
8672
|
+
function create_fragment$k(ctx) {
|
|
8642
8673
|
let div1;
|
|
8643
8674
|
let t0;
|
|
8644
8675
|
let div0;
|
|
@@ -8653,7 +8684,7 @@ function create_fragment$j(ctx) {
|
|
|
8653
8684
|
ctx[7] && create_if_block_1$4(ctx);
|
|
8654
8685
|
let if_block2 =
|
|
8655
8686
|
/*helptext*/
|
|
8656
|
-
ctx[6] && create_if_block$
|
|
8687
|
+
ctx[6] && create_if_block$8(ctx);
|
|
8657
8688
|
return {
|
|
8658
8689
|
c() {
|
|
8659
8690
|
div1 = element("div");
|
|
@@ -8730,7 +8761,7 @@ function create_fragment$j(ctx) {
|
|
|
8730
8761
|
if (if_block2) {
|
|
8731
8762
|
if_block2.p(ctx, dirty);
|
|
8732
8763
|
} else {
|
|
8733
|
-
if_block2 = create_if_block$
|
|
8764
|
+
if_block2 = create_if_block$8(ctx);
|
|
8734
8765
|
if_block2.c();
|
|
8735
8766
|
if_block2.m(div1, null);
|
|
8736
8767
|
}
|
|
@@ -8775,7 +8806,7 @@ function create_fragment$j(ctx) {
|
|
|
8775
8806
|
};
|
|
8776
8807
|
}
|
|
8777
8808
|
|
|
8778
|
-
function instance$
|
|
8809
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
8779
8810
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
8780
8811
|
let {
|
|
8781
8812
|
testid = ""
|
|
@@ -8826,12 +8857,12 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
8826
8857
|
class FormItem extends SvelteElement {
|
|
8827
8858
|
constructor(options) {
|
|
8828
8859
|
super();
|
|
8829
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}*{box-sizing:border-box}.label{display:block;font-weight:var(--
|
|
8860
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:0.5rem 0}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}</style>`;
|
|
8830
8861
|
init(this, {
|
|
8831
8862
|
target: this.shadowRoot,
|
|
8832
8863
|
props: attribute_to_object(this.attributes),
|
|
8833
8864
|
customElement: true
|
|
8834
|
-
}, instance$
|
|
8865
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
8835
8866
|
testid: 0,
|
|
8836
8867
|
mt: 1,
|
|
8837
8868
|
mr: 2,
|
|
@@ -8963,7 +8994,7 @@ class FormItem extends SvelteElement {
|
|
|
8963
8994
|
customElements.define("goa-form-item", FormItem);
|
|
8964
8995
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
8965
8996
|
|
|
8966
|
-
function create_fragment$
|
|
8997
|
+
function create_fragment$j(ctx) {
|
|
8967
8998
|
let div;
|
|
8968
8999
|
let slot;
|
|
8969
9000
|
let div_style_value;
|
|
@@ -8986,7 +9017,7 @@ function create_fragment$i(ctx) {
|
|
|
8986
9017
|
--min-child-width: ${
|
|
8987
9018
|
/*minchildwidth*/
|
|
8988
9019
|
ctx[1] || 0};
|
|
8989
|
-
gap: var(--goa-
|
|
9020
|
+
gap: var(--goa-space-${
|
|
8990
9021
|
/*gap*/
|
|
8991
9022
|
ctx[0]})
|
|
8992
9023
|
`);
|
|
@@ -9013,7 +9044,7 @@ function create_fragment$i(ctx) {
|
|
|
9013
9044
|
--min-child-width: ${
|
|
9014
9045
|
/*minchildwidth*/
|
|
9015
9046
|
ctx[1] || 0};
|
|
9016
|
-
gap: var(--goa-
|
|
9047
|
+
gap: var(--goa-space-${
|
|
9017
9048
|
/*gap*/
|
|
9018
9049
|
ctx[0]})
|
|
9019
9050
|
`)) {
|
|
@@ -9031,7 +9062,7 @@ function create_fragment$i(ctx) {
|
|
|
9031
9062
|
};
|
|
9032
9063
|
}
|
|
9033
9064
|
|
|
9034
|
-
function instance$
|
|
9065
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
9035
9066
|
let {
|
|
9036
9067
|
gap = "m"
|
|
9037
9068
|
} = $$props;
|
|
@@ -9071,12 +9102,12 @@ function instance$g($$self, $$props, $$invalidate) {
|
|
|
9071
9102
|
class Grid extends SvelteElement {
|
|
9072
9103
|
constructor(options) {
|
|
9073
9104
|
super();
|
|
9074
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>`;
|
|
9105
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-grid{display:flex;flex-direction:column;gap:var(--gap)}@media(min-width: 640px){.goa-grid{display:grid;grid-template-columns:repeat(auto-fit, minmax(var(--min-child-width), 1fr))}}</style>`;
|
|
9075
9106
|
init(this, {
|
|
9076
9107
|
target: this.shadowRoot,
|
|
9077
9108
|
props: attribute_to_object(this.attributes),
|
|
9078
9109
|
customElement: true
|
|
9079
|
-
}, instance$
|
|
9110
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
9080
9111
|
gap: 0,
|
|
9081
9112
|
minchildwidth: 1,
|
|
9082
9113
|
mt: 2,
|
|
@@ -9172,7 +9203,7 @@ class Grid extends SvelteElement {
|
|
|
9172
9203
|
customElements.define("goa-grid", Grid);
|
|
9173
9204
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9174
9205
|
|
|
9175
|
-
function create_fragment$
|
|
9206
|
+
function create_fragment$i(ctx) {
|
|
9176
9207
|
let div1;
|
|
9177
9208
|
let goa_page_block;
|
|
9178
9209
|
let h1;
|
|
@@ -9257,7 +9288,7 @@ function create_fragment$h(ctx) {
|
|
|
9257
9288
|
};
|
|
9258
9289
|
}
|
|
9259
9290
|
|
|
9260
|
-
function instance$
|
|
9291
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
9261
9292
|
let {
|
|
9262
9293
|
heading
|
|
9263
9294
|
} = $$props;
|
|
@@ -9280,12 +9311,12 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
9280
9311
|
class HeroBanner extends SvelteElement {
|
|
9281
9312
|
constructor(options) {
|
|
9282
9313
|
super();
|
|
9283
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand);color:var(--color-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--color-white);font-size:var(--
|
|
9314
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-hero{box-sizing:border-box;display:flex;justify-content:flex-end;flex-direction:column;border-bottom:8px solid var(--goa-color-brand-default);color:var(--goa-color-greyscale-white);background-position:center center;width:100%;padding:3.5rem 0}h1{margin:0 0 1.75rem;padding:0;color:var(--goa-color-greyscale-white);font-size:var(--goa-font-size-10);line-height:var(--goa-line-height-7);font-weight:var(--goa-font-weight-bold)}.goa-hero-banner-content{font-size:1.5rem;line-height:2rem;margin-bottom:1.75rem;color:#fff}</style>`;
|
|
9284
9315
|
init(this, {
|
|
9285
9316
|
target: this.shadowRoot,
|
|
9286
9317
|
props: attribute_to_object(this.attributes),
|
|
9287
9318
|
customElement: true
|
|
9288
|
-
}, instance$
|
|
9319
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
9289
9320
|
heading: 0,
|
|
9290
9321
|
backgroundurl: 1,
|
|
9291
9322
|
minheight: 2
|
|
@@ -9345,7 +9376,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9345
9376
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
9346
9377
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
9347
9378
|
|
|
9348
|
-
function create_fragment$
|
|
9379
|
+
function create_fragment$h(ctx) {
|
|
9349
9380
|
let button;
|
|
9350
9381
|
let goa_icon;
|
|
9351
9382
|
let button_style_value;
|
|
@@ -9517,7 +9548,7 @@ function handleClick(e) {
|
|
|
9517
9548
|
}));
|
|
9518
9549
|
}
|
|
9519
9550
|
|
|
9520
|
-
function instance$
|
|
9551
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
9521
9552
|
let css;
|
|
9522
9553
|
let isDisabled;
|
|
9523
9554
|
let isInverted;
|
|
@@ -9617,12 +9648,12 @@ function instance$e($$self, $$props, $$invalidate) {
|
|
|
9617
9648
|
class IconButton extends SvelteElement {
|
|
9618
9649
|
constructor(options) {
|
|
9619
9650
|
super();
|
|
9620
|
-
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--font-family)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive);fill:var(--goa-color-interactive);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--color-
|
|
9651
|
+
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center;box-sizing:border-box;font-family:var(--goa-font-family-sans)}button,button *{box-sizing:border-box}button{display:inline-flex;align-items:center;box-sizing:border-box;justify-content:center;background:transparent;cursor:pointer;border:none;border-radius:0.5rem;padding:var(--pading-size)}.color,.dark{color:var(--goa-color-interactive-default);fill:var(--goa-color-interactive-default);cursor:pointer;transition:background-color 100ms ease-in, transform 100ms ease-in}.dark:not(.inverted){color:unset}button:hover{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);outline:none}button:focus,button:active{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-interactive-focus);color:var(--goa-color-interactive-focus);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.color.inverted:hover{background-color:var(--goa-color-interactive-hover)}button:disabled{pointer-events:none;opacity:0.5;transform:none;cursor:default}button:disabled:hover{background-color:transparent}button.dark:hover{background-color:rgba(0, 0, 0, 0.3)}button.dark:focus,button.dark:active{background-color:rgba(0, 0, 0, 0.3);box-shadow:0 0 0 3px var(--goa-color-greyscale-white)}</style>`;
|
|
9621
9652
|
init(this, {
|
|
9622
9653
|
target: this.shadowRoot,
|
|
9623
9654
|
props: attribute_to_object(this.attributes),
|
|
9624
9655
|
customElement: true
|
|
9625
|
-
}, instance$
|
|
9656
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
9626
9657
|
icon: 0,
|
|
9627
9658
|
size: 1,
|
|
9628
9659
|
theme: 2,
|
|
@@ -9790,7 +9821,7 @@ class IconButton extends SvelteElement {
|
|
|
9790
9821
|
customElements.define("goa-icon-button", IconButton);
|
|
9791
9822
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
9792
9823
|
|
|
9793
|
-
function create_if_block$
|
|
9824
|
+
function create_if_block$7(ctx) {
|
|
9794
9825
|
let ion_icon;
|
|
9795
9826
|
let ion_icon_name_value;
|
|
9796
9827
|
return {
|
|
@@ -9838,12 +9869,12 @@ function create_if_block$6(ctx) {
|
|
|
9838
9869
|
};
|
|
9839
9870
|
}
|
|
9840
9871
|
|
|
9841
|
-
function create_fragment$
|
|
9872
|
+
function create_fragment$g(ctx) {
|
|
9842
9873
|
let div;
|
|
9843
9874
|
let div_style_value;
|
|
9844
9875
|
let if_block =
|
|
9845
9876
|
/*type*/
|
|
9846
|
-
ctx[4] && create_if_block$
|
|
9877
|
+
ctx[4] && create_if_block$7(ctx);
|
|
9847
9878
|
return {
|
|
9848
9879
|
c() {
|
|
9849
9880
|
div = element("div");
|
|
@@ -9896,7 +9927,7 @@ function create_fragment$f(ctx) {
|
|
|
9896
9927
|
if (if_block) {
|
|
9897
9928
|
if_block.p(ctx, dirty);
|
|
9898
9929
|
} else {
|
|
9899
|
-
if_block = create_if_block$
|
|
9930
|
+
if_block = create_if_block$7(ctx);
|
|
9900
9931
|
if_block.c();
|
|
9901
9932
|
if_block.m(div, null);
|
|
9902
9933
|
}
|
|
@@ -9969,7 +10000,7 @@ function create_fragment$f(ctx) {
|
|
|
9969
10000
|
};
|
|
9970
10001
|
}
|
|
9971
10002
|
|
|
9972
|
-
function instance$
|
|
10003
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
9973
10004
|
let isInverted;
|
|
9974
10005
|
|
|
9975
10006
|
let _size;
|
|
@@ -10059,7 +10090,7 @@ class Icon extends SvelteElement {
|
|
|
10059
10090
|
target: this.shadowRoot,
|
|
10060
10091
|
props: attribute_to_object(this.attributes),
|
|
10061
10092
|
customElement: true
|
|
10062
|
-
}, instance$
|
|
10093
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
10063
10094
|
mt: 0,
|
|
10064
10095
|
mr: 1,
|
|
10065
10096
|
mb: 2,
|
|
@@ -10269,7 +10300,7 @@ function create_if_block_4$1(ctx) {
|
|
|
10269
10300
|
}
|
|
10270
10301
|
|
|
10271
10302
|
};
|
|
10272
|
-
} // (
|
|
10303
|
+
} // (109:4) {#if leadingicon}
|
|
10273
10304
|
|
|
10274
10305
|
|
|
10275
10306
|
function create_if_block_3$2(ctx) {
|
|
@@ -10303,7 +10334,7 @@ function create_if_block_3$2(ctx) {
|
|
|
10303
10334
|
}
|
|
10304
10335
|
|
|
10305
10336
|
};
|
|
10306
|
-
} // (
|
|
10337
|
+
} // (139:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
10307
10338
|
|
|
10308
10339
|
|
|
10309
10340
|
function create_if_block_2$3(ctx) {
|
|
@@ -10338,7 +10369,7 @@ function create_if_block_2$3(ctx) {
|
|
|
10338
10369
|
}
|
|
10339
10370
|
|
|
10340
10371
|
};
|
|
10341
|
-
} // (
|
|
10372
|
+
} // (149:4) {#if trailingicon && handlesTrailingIconClick}
|
|
10342
10373
|
|
|
10343
10374
|
|
|
10344
10375
|
function create_if_block_1$3(ctx) {
|
|
@@ -10393,10 +10424,10 @@ function create_if_block_1$3(ctx) {
|
|
|
10393
10424
|
}
|
|
10394
10425
|
|
|
10395
10426
|
};
|
|
10396
|
-
} // (
|
|
10427
|
+
} // (161:4) {#if suffix}
|
|
10397
10428
|
|
|
10398
10429
|
|
|
10399
|
-
function create_if_block$
|
|
10430
|
+
function create_if_block$6(ctx) {
|
|
10400
10431
|
let span;
|
|
10401
10432
|
let t;
|
|
10402
10433
|
return {
|
|
@@ -10428,7 +10459,7 @@ function create_if_block$5(ctx) {
|
|
|
10428
10459
|
};
|
|
10429
10460
|
}
|
|
10430
10461
|
|
|
10431
|
-
function create_fragment$
|
|
10462
|
+
function create_fragment$f(ctx) {
|
|
10432
10463
|
let div3;
|
|
10433
10464
|
let div2;
|
|
10434
10465
|
let t0;
|
|
@@ -10466,7 +10497,7 @@ function create_fragment$e(ctx) {
|
|
|
10466
10497
|
ctx[24] && create_if_block_1$3(ctx);
|
|
10467
10498
|
let if_block4 =
|
|
10468
10499
|
/*suffix*/
|
|
10469
|
-
ctx[15] && create_if_block$
|
|
10500
|
+
ctx[15] && create_if_block$6(ctx);
|
|
10470
10501
|
return {
|
|
10471
10502
|
c() {
|
|
10472
10503
|
div3 = element("div");
|
|
@@ -10580,7 +10611,7 @@ function create_fragment$e(ctx) {
|
|
|
10580
10611
|
append(div2, input);
|
|
10581
10612
|
/*input_binding*/
|
|
10582
10613
|
|
|
10583
|
-
ctx[
|
|
10614
|
+
ctx[33](input);
|
|
10584
10615
|
append(div2, t3);
|
|
10585
10616
|
if (if_block2) if_block2.m(div2, null);
|
|
10586
10617
|
append(div2, t4);
|
|
@@ -10787,7 +10818,7 @@ function create_fragment$e(ctx) {
|
|
|
10787
10818
|
if (if_block4) {
|
|
10788
10819
|
if_block4.p(ctx, dirty);
|
|
10789
10820
|
} else {
|
|
10790
|
-
if_block4 = create_if_block$
|
|
10821
|
+
if_block4 = create_if_block$6(ctx);
|
|
10791
10822
|
if_block4.c();
|
|
10792
10823
|
if_block4.m(div2, t6);
|
|
10793
10824
|
}
|
|
@@ -10850,7 +10881,7 @@ function create_fragment$e(ctx) {
|
|
|
10850
10881
|
if (if_block1) if_block1.d();
|
|
10851
10882
|
/*input_binding*/
|
|
10852
10883
|
|
|
10853
|
-
ctx[
|
|
10884
|
+
ctx[33](null);
|
|
10854
10885
|
if (if_block2) if_block2.d();
|
|
10855
10886
|
if (if_block3) if_block3.d();
|
|
10856
10887
|
if (if_block4) if_block4.d();
|
|
@@ -10867,7 +10898,7 @@ function doClick() {
|
|
|
10867
10898
|
}));
|
|
10868
10899
|
}
|
|
10869
10900
|
|
|
10870
|
-
function instance$
|
|
10901
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
10871
10902
|
let handlesTrailingIconClick;
|
|
10872
10903
|
let isFocused;
|
|
10873
10904
|
let isReadonly;
|
|
@@ -10924,13 +10955,13 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
10924
10955
|
arialabel = null
|
|
10925
10956
|
} = $$props;
|
|
10926
10957
|
let {
|
|
10927
|
-
min =
|
|
10958
|
+
min = ""
|
|
10928
10959
|
} = $$props;
|
|
10929
10960
|
let {
|
|
10930
|
-
max =
|
|
10961
|
+
max = ""
|
|
10931
10962
|
} = $$props;
|
|
10932
10963
|
let {
|
|
10933
|
-
step =
|
|
10964
|
+
step = 1
|
|
10934
10965
|
} = $$props;
|
|
10935
10966
|
let {
|
|
10936
10967
|
prefix = ""
|
|
@@ -10938,6 +10969,9 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
10938
10969
|
let {
|
|
10939
10970
|
suffix = ""
|
|
10940
10971
|
} = $$props;
|
|
10972
|
+
let {
|
|
10973
|
+
debounce = 0
|
|
10974
|
+
} = $$props;
|
|
10941
10975
|
let {
|
|
10942
10976
|
mt = null
|
|
10943
10977
|
} = $$props;
|
|
@@ -10951,19 +10985,28 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
10951
10985
|
ml = null
|
|
10952
10986
|
} = $$props;
|
|
10953
10987
|
let inputEl;
|
|
10988
|
+
let _debounceId = null;
|
|
10954
10989
|
|
|
10955
10990
|
function onKeyUp(e) {
|
|
10956
|
-
const
|
|
10957
|
-
|
|
10958
|
-
|
|
10959
|
-
|
|
10960
|
-
|
|
10961
|
-
|
|
10962
|
-
|
|
10963
|
-
|
|
10964
|
-
|
|
10965
|
-
|
|
10966
|
-
|
|
10991
|
+
const input = e.target;
|
|
10992
|
+
if (!input) return;
|
|
10993
|
+
|
|
10994
|
+
if (_debounceId != null) {
|
|
10995
|
+
clearTimeout(_debounceId);
|
|
10996
|
+
}
|
|
10997
|
+
|
|
10998
|
+
_debounceId = setTimeout(() => {
|
|
10999
|
+
input.dispatchEvent(new CustomEvent("_change", {
|
|
11000
|
+
composed: true,
|
|
11001
|
+
bubbles: false,
|
|
11002
|
+
cancelable: true,
|
|
11003
|
+
detail: {
|
|
11004
|
+
name,
|
|
11005
|
+
value: input.value
|
|
11006
|
+
}
|
|
11007
|
+
}));
|
|
11008
|
+
}, debounce);
|
|
11009
|
+
$$invalidate(0, value = input.value);
|
|
10967
11010
|
}
|
|
10968
11011
|
|
|
10969
11012
|
onMount(() => {
|
|
@@ -11004,6 +11047,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11004
11047
|
if ('step' in $$props) $$invalidate(13, step = $$props.step);
|
|
11005
11048
|
if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
|
|
11006
11049
|
if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
|
|
11050
|
+
if ('debounce' in $$props) $$invalidate(31, debounce = $$props.debounce);
|
|
11007
11051
|
if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
|
|
11008
11052
|
if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
|
|
11009
11053
|
if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
|
|
@@ -11020,7 +11064,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11020
11064
|
if ($$self.$$.dirty[0] &
|
|
11021
11065
|
/*focused*/
|
|
11022
11066
|
268435456) {
|
|
11023
|
-
$$invalidate(
|
|
11067
|
+
$$invalidate(32, isFocused = toBoolean(focused));
|
|
11024
11068
|
}
|
|
11025
11069
|
|
|
11026
11070
|
if ($$self.$$.dirty[0] &
|
|
@@ -11045,7 +11089,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11045
11089
|
/*inputEl*/
|
|
11046
11090
|
1048576 | $$self.$$.dirty[1] &
|
|
11047
11091
|
/*isFocused*/
|
|
11048
|
-
|
|
11092
|
+
2) {
|
|
11049
11093
|
if (isFocused && inputEl) {
|
|
11050
11094
|
setTimeout(() => inputEl.focus(), 1);
|
|
11051
11095
|
}
|
|
@@ -11062,19 +11106,19 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11062
11106
|
}
|
|
11063
11107
|
};
|
|
11064
11108
|
|
|
11065
|
-
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, isFocused, input_binding];
|
|
11109
|
+
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, debounce, isFocused, input_binding];
|
|
11066
11110
|
}
|
|
11067
11111
|
|
|
11068
11112
|
class Input extends SvelteElement {
|
|
11069
11113
|
constructor(options) {
|
|
11070
11114
|
super();
|
|
11071
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-
|
|
11115
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--goa-color-greyscale-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
11072
11116
|
center center no-repeat}</style>`;
|
|
11073
11117
|
init(this, {
|
|
11074
11118
|
target: this.shadowRoot,
|
|
11075
11119
|
props: attribute_to_object(this.attributes),
|
|
11076
11120
|
customElement: true
|
|
11077
|
-
}, instance$
|
|
11121
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
11078
11122
|
type: 1,
|
|
11079
11123
|
name: 2,
|
|
11080
11124
|
value: 0,
|
|
@@ -11096,6 +11140,7 @@ class Input extends SvelteElement {
|
|
|
11096
11140
|
step: 13,
|
|
11097
11141
|
prefix: 14,
|
|
11098
11142
|
suffix: 15,
|
|
11143
|
+
debounce: 31,
|
|
11099
11144
|
mt: 16,
|
|
11100
11145
|
mr: 17,
|
|
11101
11146
|
mb: 18,
|
|
@@ -11115,7 +11160,7 @@ class Input extends SvelteElement {
|
|
|
11115
11160
|
}
|
|
11116
11161
|
|
|
11117
11162
|
static get observedAttributes() {
|
|
11118
|
-
return ["type", "name", "value", "autocapitalize", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "mt", "mr", "mb", "ml"];
|
|
11163
|
+
return ["type", "name", "value", "autocapitalize", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "debounce", "mt", "mr", "mb", "ml"];
|
|
11119
11164
|
}
|
|
11120
11165
|
|
|
11121
11166
|
get type() {
|
|
@@ -11349,6 +11394,17 @@ class Input extends SvelteElement {
|
|
|
11349
11394
|
flush();
|
|
11350
11395
|
}
|
|
11351
11396
|
|
|
11397
|
+
get debounce() {
|
|
11398
|
+
return this.$$.ctx[31];
|
|
11399
|
+
}
|
|
11400
|
+
|
|
11401
|
+
set debounce(debounce) {
|
|
11402
|
+
this.$$set({
|
|
11403
|
+
debounce
|
|
11404
|
+
});
|
|
11405
|
+
flush();
|
|
11406
|
+
}
|
|
11407
|
+
|
|
11352
11408
|
get mt() {
|
|
11353
11409
|
return this.$$.ctx[16];
|
|
11354
11410
|
}
|
|
@@ -11560,7 +11616,7 @@ function create_if_block_2$2(ctx) {
|
|
|
11560
11616
|
} // (56:2) {#if version}
|
|
11561
11617
|
|
|
11562
11618
|
|
|
11563
|
-
function create_if_block$
|
|
11619
|
+
function create_if_block$5(ctx) {
|
|
11564
11620
|
let div;
|
|
11565
11621
|
let t;
|
|
11566
11622
|
return {
|
|
@@ -11593,7 +11649,7 @@ function create_if_block$4(ctx) {
|
|
|
11593
11649
|
};
|
|
11594
11650
|
}
|
|
11595
11651
|
|
|
11596
|
-
function create_fragment$
|
|
11652
|
+
function create_fragment$e(ctx) {
|
|
11597
11653
|
let header;
|
|
11598
11654
|
let t0;
|
|
11599
11655
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -11608,7 +11664,7 @@ function create_fragment$d(ctx) {
|
|
|
11608
11664
|
let if_block1 = show_if && create_if_block_1$2(ctx);
|
|
11609
11665
|
let if_block2 =
|
|
11610
11666
|
/*version*/
|
|
11611
|
-
ctx[1] && create_if_block$
|
|
11667
|
+
ctx[1] && create_if_block$5(ctx);
|
|
11612
11668
|
return {
|
|
11613
11669
|
c() {
|
|
11614
11670
|
header = element("header");
|
|
@@ -11674,7 +11730,7 @@ function create_fragment$d(ctx) {
|
|
|
11674
11730
|
if (if_block2) {
|
|
11675
11731
|
if_block2.p(ctx, dirty);
|
|
11676
11732
|
} else {
|
|
11677
|
-
if_block2 = create_if_block$
|
|
11733
|
+
if_block2 = create_if_block$5(ctx);
|
|
11678
11734
|
if_block2.c();
|
|
11679
11735
|
if_block2.m(header, null);
|
|
11680
11736
|
}
|
|
@@ -11702,7 +11758,7 @@ function capitalize(val) {
|
|
|
11702
11758
|
return val[0].toUpperCase() + val.slice(1);
|
|
11703
11759
|
}
|
|
11704
11760
|
|
|
11705
|
-
function instance$
|
|
11761
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
11706
11762
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
11707
11763
|
let {
|
|
11708
11764
|
type
|
|
@@ -11729,12 +11785,12 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
11729
11785
|
class MicrositeHeader extends SvelteElement {
|
|
11730
11786
|
constructor(options) {
|
|
11731
11787
|
super();
|
|
11732
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}a{color:var(--goa-color-interactive);cursor:pointer}a:hover{color:var(--goa-color-interactive
|
|
11788
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}a{color:var(--goa-color-interactive-default);cursor:pointer}a:hover{color:var(--goa-color-interactive-hover)}a:focus{outline-width:thin;outline-style:solid;outline-color:var(--goa-color-interactive-hover);outline-offset:0px}.goa-official-site-header{display:flex;font-size:var(--goa-font-size-2);background-color:var(--goa-color-greyscale-100);align-items:center;justify-content:space-between;padding:0.25rem 1.5rem}@media(max-width: 640px){.goa-official-site-header{padding:0.5rem 1rem;align-items:start}}.spacer{flex:1 1 auto}.version{color:var(--goa-color-text-secondary);padding-left:1rem;line-height:1.25rem}.service-type{font-weight:bold;padding:0.125rem 0.25rem;display:flex;margin-right:1rem;line-height:initial}.service-type--alpha{background-color:var(--goa-color-warning-default);color:var(--goa-color-text-default)}.service-type--beta{background-color:var(--goa-color-brand-default);color:var(--goa-color-text-light)}.service-type--live{padding:0}.site-text{color:var(--goa-color-text-default);line-height:1.25rem}</style>`;
|
|
11733
11789
|
init(this, {
|
|
11734
11790
|
target: this.shadowRoot,
|
|
11735
11791
|
props: attribute_to_object(this.attributes),
|
|
11736
11792
|
customElement: true
|
|
11737
|
-
}, instance$
|
|
11793
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
11738
11794
|
type: 0,
|
|
11739
11795
|
version: 1,
|
|
11740
11796
|
feedbackurl: 2
|
|
@@ -11794,7 +11850,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
11794
11850
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
11795
11851
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
11796
11852
|
|
|
11797
|
-
function create_if_block$
|
|
11853
|
+
function create_if_block$4(ctx) {
|
|
11798
11854
|
let goa_focus_trap;
|
|
11799
11855
|
let div5;
|
|
11800
11856
|
let div0;
|
|
@@ -12199,12 +12255,12 @@ function create_if_block_1$1(ctx) {
|
|
|
12199
12255
|
};
|
|
12200
12256
|
}
|
|
12201
12257
|
|
|
12202
|
-
function create_fragment$
|
|
12258
|
+
function create_fragment$d(ctx) {
|
|
12203
12259
|
let if_block_anchor;
|
|
12204
12260
|
let current;
|
|
12205
12261
|
let if_block =
|
|
12206
12262
|
/*isOpen*/
|
|
12207
|
-
ctx[7] && create_if_block$
|
|
12263
|
+
ctx[7] && create_if_block$4(ctx);
|
|
12208
12264
|
return {
|
|
12209
12265
|
c() {
|
|
12210
12266
|
if (if_block) if_block.c();
|
|
@@ -12231,7 +12287,7 @@ function create_fragment$c(ctx) {
|
|
|
12231
12287
|
transition_in(if_block, 1);
|
|
12232
12288
|
}
|
|
12233
12289
|
} else {
|
|
12234
|
-
if_block = create_if_block$
|
|
12290
|
+
if_block = create_if_block$4(ctx);
|
|
12235
12291
|
if_block.c();
|
|
12236
12292
|
transition_in(if_block, 1);
|
|
12237
12293
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12264,7 +12320,7 @@ function create_fragment$c(ctx) {
|
|
|
12264
12320
|
};
|
|
12265
12321
|
}
|
|
12266
12322
|
|
|
12267
|
-
function instance$
|
|
12323
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
12268
12324
|
let isClosable;
|
|
12269
12325
|
let isOpen;
|
|
12270
12326
|
|
|
@@ -12349,12 +12405,12 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
12349
12405
|
class Modal extends SvelteElement {
|
|
12350
12406
|
constructor(options) {
|
|
12351
12407
|
super();
|
|
12352
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.modal{font-family:var(--font-family);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-
|
|
12408
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.modal{font-family:var(--goa-font-family-sans);position:fixed;inset:0;display:flex;align-items:center;justify-content:center;height:100vh;width:100%;z-index:100}.modal-overlay{position:absolute;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.2);z-index:1000}.emergency{background-color:var(--goa-color-emergency-default)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default)}.event{background-color:var(--goa-color-info-default)}.success{background-color:var(--goa-color-success-default)}.callout-bar{flex:0 0 3rem;text-align:center;padding-top:2rem;border-radius:4px 0px 0px 4px}.content{flex:1 1 auto;width:100%;margin:2rem 2rem}.modal-pane{position:relative;background-color:#fff;z-index:1001;width:90%;display:flex;margin:1rem;box-shadow:var(--goa-shadow-modal);border-radius:4px;max-height:90%;border:1px solid var(--goa-color-greyscale-700)}@media(min-width: 640px){.modal-pane{width:var(--width, 60ch);max-height:80%}}.modal-actions ::slotted(div){margin:1.5rem 0 0}.modal-content ::slotted(:last-child){margin-bottom:0 !important}.modal-close{position:absolute;top:2rem;right:2rem}.modal-title{font-size:var(--goa-font-size-7);margin:0 0 1.5rem;margin-right:40px;flex:0 0 auto}.modal-content{line-height:1.75rem}</style>`;
|
|
12353
12409
|
init(this, {
|
|
12354
12410
|
target: this.shadowRoot,
|
|
12355
12411
|
props: attribute_to_object(this.attributes),
|
|
12356
12412
|
customElement: true
|
|
12357
|
-
}, instance$
|
|
12413
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
12358
12414
|
heading: 0,
|
|
12359
12415
|
closable: 9,
|
|
12360
12416
|
open: 1,
|
|
@@ -12450,7 +12506,7 @@ class Modal extends SvelteElement {
|
|
|
12450
12506
|
customElements.define("goa-modal", Modal);
|
|
12451
12507
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
12452
12508
|
|
|
12453
|
-
function create_if_block$
|
|
12509
|
+
function create_if_block$3(ctx) {
|
|
12454
12510
|
let div3;
|
|
12455
12511
|
let div0;
|
|
12456
12512
|
let goa_icon;
|
|
@@ -12574,12 +12630,12 @@ function create_if_block$2(ctx) {
|
|
|
12574
12630
|
};
|
|
12575
12631
|
}
|
|
12576
12632
|
|
|
12577
|
-
function create_fragment$
|
|
12633
|
+
function create_fragment$c(ctx) {
|
|
12578
12634
|
let if_block_anchor;
|
|
12579
12635
|
let current;
|
|
12580
12636
|
let if_block =
|
|
12581
12637
|
/*show*/
|
|
12582
|
-
ctx[1] && create_if_block$
|
|
12638
|
+
ctx[1] && create_if_block$3(ctx);
|
|
12583
12639
|
return {
|
|
12584
12640
|
c() {
|
|
12585
12641
|
if (if_block) if_block.c();
|
|
@@ -12606,7 +12662,7 @@ function create_fragment$b(ctx) {
|
|
|
12606
12662
|
transition_in(if_block, 1);
|
|
12607
12663
|
}
|
|
12608
12664
|
} else {
|
|
12609
|
-
if_block = create_if_block$
|
|
12665
|
+
if_block = create_if_block$3(ctx);
|
|
12610
12666
|
if_block.c();
|
|
12611
12667
|
transition_in(if_block, 1);
|
|
12612
12668
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12639,7 +12695,7 @@ function create_fragment$b(ctx) {
|
|
|
12639
12695
|
};
|
|
12640
12696
|
}
|
|
12641
12697
|
|
|
12642
|
-
function instance$
|
|
12698
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
12643
12699
|
let iconType;
|
|
12644
12700
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
12645
12701
|
let {
|
|
@@ -12672,12 +12728,12 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
12672
12728
|
class Notification extends SvelteElement {
|
|
12673
12729
|
constructor(options) {
|
|
12674
12730
|
super();
|
|
12675
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-
|
|
12731
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.notification{padding:1.5rem;display:flex;gap:1rem}.emergency{background-color:var(--goa-color-emergency-default);color:var(--goa-color-greyscale-white)}.important{background-color:var(--goa-color-warning-default)}.information{background-color:var(--goa-color-info-default);color:var(--goa-color-greyscale-white)}.event{background-color:var(--goa-color-success-default);color:var(--goa-color-greyscale-white)}.icon{flex:0 0 auto}.content{flex:1 1 auto}::slotted(a){color:unset !important;outline:unset !important}.close{flex:0 0 auto}</style>`;
|
|
12676
12732
|
init(this, {
|
|
12677
12733
|
target: this.shadowRoot,
|
|
12678
12734
|
props: attribute_to_object(this.attributes),
|
|
12679
12735
|
customElement: true
|
|
12680
|
-
}, instance$
|
|
12736
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
12681
12737
|
type: 0
|
|
12682
12738
|
}, null);
|
|
12683
12739
|
|
|
@@ -12719,7 +12775,7 @@ function isValidDimension(value) {
|
|
|
12719
12775
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
12720
12776
|
|
|
12721
12777
|
|
|
12722
|
-
function create_fragment$
|
|
12778
|
+
function create_fragment$b(ctx) {
|
|
12723
12779
|
let div;
|
|
12724
12780
|
let slot;
|
|
12725
12781
|
let div_style_value;
|
|
@@ -12759,7 +12815,7 @@ function create_fragment$a(ctx) {
|
|
|
12759
12815
|
};
|
|
12760
12816
|
}
|
|
12761
12817
|
|
|
12762
|
-
function instance$
|
|
12818
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
12763
12819
|
const Sizes = {
|
|
12764
12820
|
"full": "100%"
|
|
12765
12821
|
};
|
|
@@ -12795,12 +12851,12 @@ function instance$8($$self, $$props, $$invalidate) {
|
|
|
12795
12851
|
class PageBlock extends SvelteElement {
|
|
12796
12852
|
constructor(options) {
|
|
12797
12853
|
super();
|
|
12798
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>`;
|
|
12854
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.page-content{max-width:var(--max-width);margin:0 auto;padding:0 1.75rem}</style>`;
|
|
12799
12855
|
init(this, {
|
|
12800
12856
|
target: this.shadowRoot,
|
|
12801
12857
|
props: attribute_to_object(this.attributes),
|
|
12802
12858
|
customElement: true
|
|
12803
|
-
}, instance$
|
|
12859
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
12804
12860
|
width: 1,
|
|
12805
12861
|
_width: 0
|
|
12806
12862
|
}, null);
|
|
@@ -13038,7 +13094,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
13038
13094
|
};
|
|
13039
13095
|
}
|
|
13040
13096
|
|
|
13041
|
-
function create_fragment$
|
|
13097
|
+
function create_fragment$a(ctx) {
|
|
13042
13098
|
let div;
|
|
13043
13099
|
let slot;
|
|
13044
13100
|
let t;
|
|
@@ -13161,7 +13217,7 @@ function create_fragment$9(ctx) {
|
|
|
13161
13217
|
};
|
|
13162
13218
|
}
|
|
13163
13219
|
|
|
13164
|
-
function instance$
|
|
13220
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
13165
13221
|
let isDisabled;
|
|
13166
13222
|
let isError;
|
|
13167
13223
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -13298,14 +13354,14 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
13298
13354
|
class RadioGroup extends SvelteElement {
|
|
13299
13355
|
constructor(options) {
|
|
13300
13356
|
super();
|
|
13301
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive
|
|
13302
|
-
var(--goa-color-interactive
|
|
13303
|
-
var(--goa-color-interactive
|
|
13357
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}.goa-radio-group--horizontal{display:flex;flex-direction:row}.goa-radio-group--vertical{display:inline-block}label.goa-radio{--goa-radio-outline-width:3px;--goa-radio-diameter:1.5rem;--goa-radio-border-width:1px;--goa-radio-border-width--checked:7px;display:inline-block;box-sizing:border-box;display:flex;align-items:center;min-height:3rem}.goa-radio:hover{cursor:pointer}.goa-radio *,.goa-radio *:before,.goa-radio *:after{box-sizing:border-box}.goa-radio input[type="radio"]{width:0;height:0;margin:0;opacity:0}input[type="radio"]:hover~.goa-radio-icon{border-color:var(--goa-color-interactive-hover)}input[type="radio"]:focus~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio-label{padding:0.5rem;font-weight:var(--goa-font-weight-regular)}.goa-radio-icon{display:inline-block;height:var(--goa-radio-diameter);width:var(--goa-radio-diameter);border-radius:50%;background-color:#fff;transition:box-shadow 100ms ease-in-out;flex:0 0 auto}.goa-radio:focus>input:not(:disabled)~.goa-radio-icon{box-shadow:0 0 0 var(--goa-radio-outline-width) var(--goa-color-interactive-focus)}.goa-radio--disabled .goa-radio-label{opacity:0.4}.goa-radio--disabled:hover{cursor:default}input[type="radio"]:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
13358
|
+
var(--goa-color-interactive-hover)}input[type="radio"]:not(:checked)~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:disabled~.goa-radio-icon{border:var(--goa-radio-border-width) solid var(--goa-color-greyscale-700)}input[type="radio"]:disabled:checked~.goa-radio-icon{border:var(--goa-radio-border-width--checked) solid
|
|
13359
|
+
var(--goa-color-interactive-hover)}.goa-radio--error input[type="radio"]:checked~.goa-radio-icon{border:7px solid var(--goa-color-emergency-default)}.goa-radio--error input[type="radio"]:not(:checked)~.goa-radio-icon{border:2px solid var(--goa-color-emergency-default)}</style>`;
|
|
13304
13360
|
init(this, {
|
|
13305
13361
|
target: this.shadowRoot,
|
|
13306
13362
|
props: attribute_to_object(this.attributes),
|
|
13307
13363
|
customElement: true
|
|
13308
|
-
}, instance$
|
|
13364
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
13309
13365
|
name: 1,
|
|
13310
13366
|
value: 0,
|
|
13311
13367
|
orientation: 2,
|
|
@@ -13461,7 +13517,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13461
13517
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13462
13518
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13463
13519
|
|
|
13464
|
-
function create_fragment$
|
|
13520
|
+
function create_fragment$9(ctx) {
|
|
13465
13521
|
let div;
|
|
13466
13522
|
let slot;
|
|
13467
13523
|
let div_style_value;
|
|
@@ -13529,7 +13585,7 @@ function create_fragment$8(ctx) {
|
|
|
13529
13585
|
};
|
|
13530
13586
|
}
|
|
13531
13587
|
|
|
13532
|
-
function instance$
|
|
13588
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
13533
13589
|
let {
|
|
13534
13590
|
direction = "vertical"
|
|
13535
13591
|
} = $$props;
|
|
@@ -13561,7 +13617,7 @@ class Scrollable extends SvelteElement {
|
|
|
13561
13617
|
target: this.shadowRoot,
|
|
13562
13618
|
props: attribute_to_object(this.attributes),
|
|
13563
13619
|
customElement: true
|
|
13564
|
-
}, instance$
|
|
13620
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
13565
13621
|
direction: 0,
|
|
13566
13622
|
hpadding: 1,
|
|
13567
13623
|
vpadding: 2,
|
|
@@ -13687,9 +13743,9 @@ function create_else_block(ctx) {
|
|
|
13687
13743
|
function create_if_block_2(ctx) {
|
|
13688
13744
|
let each_1_anchor;
|
|
13689
13745
|
let current;
|
|
13690
|
-
let each_value = Array(
|
|
13746
|
+
let each_value = Array(Number.parseInt(
|
|
13691
13747
|
/*linecount*/
|
|
13692
|
-
ctx[2]);
|
|
13748
|
+
ctx[2] + ""));
|
|
13693
13749
|
let each_blocks = [];
|
|
13694
13750
|
|
|
13695
13751
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
@@ -13722,9 +13778,9 @@ function create_if_block_2(ctx) {
|
|
|
13722
13778
|
if (dirty &
|
|
13723
13779
|
/*size, linecount*/
|
|
13724
13780
|
6) {
|
|
13725
|
-
each_value = Array(
|
|
13781
|
+
each_value = Array(Number.parseInt(
|
|
13726
13782
|
/*linecount*/
|
|
13727
|
-
ctx[2]);
|
|
13783
|
+
ctx[2] + ""));
|
|
13728
13784
|
let i;
|
|
13729
13785
|
|
|
13730
13786
|
for (i = 0; i < each_value.length; i += 1) {
|
|
@@ -13902,7 +13958,7 @@ function create_if_block_1(ctx) {
|
|
|
13902
13958
|
} // (30:2) {#if type === "card"}
|
|
13903
13959
|
|
|
13904
13960
|
|
|
13905
|
-
function create_if_block$
|
|
13961
|
+
function create_if_block$2(ctx) {
|
|
13906
13962
|
let div1;
|
|
13907
13963
|
let skeleton0;
|
|
13908
13964
|
let t0;
|
|
@@ -13934,7 +13990,9 @@ function create_if_block$1(ctx) {
|
|
|
13934
13990
|
size:
|
|
13935
13991
|
/*size*/
|
|
13936
13992
|
ctx[1],
|
|
13937
|
-
linecount:
|
|
13993
|
+
linecount:
|
|
13994
|
+
/*linecount*/
|
|
13995
|
+
ctx[2]
|
|
13938
13996
|
}
|
|
13939
13997
|
});
|
|
13940
13998
|
return {
|
|
@@ -13987,6 +14045,11 @@ function create_if_block$1(ctx) {
|
|
|
13987
14045
|
2) skeleton2_changes.size =
|
|
13988
14046
|
/*size*/
|
|
13989
14047
|
ctx[1];
|
|
14048
|
+
if (dirty &
|
|
14049
|
+
/*linecount*/
|
|
14050
|
+
4) skeleton2_changes.linecount =
|
|
14051
|
+
/*linecount*/
|
|
14052
|
+
ctx[2];
|
|
13990
14053
|
skeleton2.$set(skeleton2_changes);
|
|
13991
14054
|
|
|
13992
14055
|
if (!current || dirty &
|
|
@@ -14029,7 +14092,7 @@ function create_if_block$1(ctx) {
|
|
|
14029
14092
|
}
|
|
14030
14093
|
|
|
14031
14094
|
};
|
|
14032
|
-
} // (52:4) {#each Array(linecount) as _item}
|
|
14095
|
+
} // (52:4) {#each Array(Number.parseInt(linecount+"")) as _item}
|
|
14033
14096
|
|
|
14034
14097
|
|
|
14035
14098
|
function create_each_block(ctx) {
|
|
@@ -14089,13 +14152,13 @@ function create_each_block(ctx) {
|
|
|
14089
14152
|
};
|
|
14090
14153
|
}
|
|
14091
14154
|
|
|
14092
|
-
function create_fragment$
|
|
14155
|
+
function create_fragment$8(ctx) {
|
|
14093
14156
|
let div;
|
|
14094
14157
|
let current_block_type_index;
|
|
14095
14158
|
let if_block;
|
|
14096
14159
|
let div_style_value;
|
|
14097
14160
|
let current;
|
|
14098
|
-
const if_block_creators = [create_if_block$
|
|
14161
|
+
const if_block_creators = [create_if_block$2, create_if_block_1, create_if_block_2, create_else_block];
|
|
14099
14162
|
const if_blocks = [];
|
|
14100
14163
|
|
|
14101
14164
|
function select_block_type(ctx, dirty) {
|
|
@@ -14205,7 +14268,7 @@ function create_fragment$7(ctx) {
|
|
|
14205
14268
|
};
|
|
14206
14269
|
}
|
|
14207
14270
|
|
|
14208
|
-
function instance$
|
|
14271
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
14209
14272
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14210
14273
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14211
14274
|
let {
|
|
@@ -14258,12 +14321,12 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
14258
14321
|
class Skeleton extends SvelteElement {
|
|
14259
14322
|
constructor(options) {
|
|
14260
14323
|
super();
|
|
14261
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--color-
|
|
14324
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes pulse{0%{opacity:0.5}50%{opacity:1}100%{opacity:0.5}}.skeleton{background-color:var(--goa-color-greyscale-100);animation:pulse 2s infinite ease-in-out;overflow:hidden;margin:10px 0}.image,.image-1{background-color:var(--goa-color-greyscale-100);flex:1 1 100px;height:100px;margin:0}.image-2{height:140px}.image-3{height:200px}.image-4{height:300px}.text,.text-1,.text-2,.text-3,.text-4{width:100%;height:.75rem;border-radius:0.25rem;margin:6px 0}.title,.title-1,.title-2{width:100%;height:.75rem;border-radius:0.25rem}.title-3{height:.8rem}.title-4{height:1rem}.text-small,.text-small-1{width:30%;height:6px;border-radius:2px}.text-small-2{width:40%;height:8px;border-radius:2px}.text-small-3{width:50%;height:10px;border-radius:3px}.text-small-4{width:70%;height:12px;border-radius:4px}.paragraph{width:100%;height:70px;border-radius:4px}.header,.header-1{width:50%;height:18px;margin:12px 0;border-radius:0.25rem}.header-2{width:60%;height:20px;margin:14px 0;border-radius:0.25rem}.header-3{width:70%;height:22px;margin:16px 0;border-radius:0.25rem}.header-4{width:80%;height:24px;margin:18px 0;border-radius:0.3rem}.avatar{display:inline-block}.avatar,.avatar-1{width:40px;height:40px;border-radius:50%}.avatar-2{width:60px;height:60px;border-radius:50%}.avatar-3{width:80px;height:80px;border-radius:50%}.avatar-4{width:120px;height:120px;border-radius:50%}.thumbnail{display:inline-block}.thumbnail,.thumbnail-1{width:40px;height:40px;border-radius:4px}.thumbnail-2{width:60px;height:60px;border-radius:4px}.thumbnail-3{width:80px;height:80px;border-radius:4px}.thumbnail-4{width:120px;height:120px;border-radius:4px}.card{display:inline-block}.card,.card-1,.card-2,.card-3,.card-4{border:1px solid var(--goa-color-greyscale-100);border-radius:4px}.card{width:100%}@media(min-width: 480px){.card{max-width:var(--max-width)}}.card-content{flex:1 1 auto;padding:1rem}.profile{display:flex;flex-direction:row;align-items:center}.profile-1{max-width:280px;gap:1rem}.profile-2{max-width:360px;gap:1rem}.profile-3{max-width:480px;gap:1rem}.profile-4{max-width:560px;gap:1rem}.profile .profile-avatar{flex-shrink:0}.profile .profile-name{flex:1 1 auto}</style>`;
|
|
14262
14325
|
init(this, {
|
|
14263
14326
|
target: this.shadowRoot,
|
|
14264
14327
|
props: attribute_to_object(this.attributes),
|
|
14265
14328
|
customElement: true
|
|
14266
|
-
}, instance$
|
|
14329
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
14267
14330
|
maxwidth: 0,
|
|
14268
14331
|
size: 1,
|
|
14269
14332
|
linecount: 2,
|
|
@@ -14395,7 +14458,7 @@ class Skeleton extends SvelteElement {
|
|
|
14395
14458
|
customElements.define("goa-skeleton", Skeleton);
|
|
14396
14459
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14397
14460
|
|
|
14398
|
-
function create_fragment$
|
|
14461
|
+
function create_fragment$7(ctx) {
|
|
14399
14462
|
let div;
|
|
14400
14463
|
return {
|
|
14401
14464
|
c() {
|
|
@@ -14424,7 +14487,7 @@ function create_fragment$6(ctx) {
|
|
|
14424
14487
|
};
|
|
14425
14488
|
}
|
|
14426
14489
|
|
|
14427
|
-
function instance$
|
|
14490
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
14428
14491
|
let {
|
|
14429
14492
|
hspacing = "none"
|
|
14430
14493
|
} = $$props;
|
|
@@ -14434,8 +14497,8 @@ function instance$4($$self, $$props, $$invalidate) {
|
|
|
14434
14497
|
let rootEl;
|
|
14435
14498
|
onMount(() => {
|
|
14436
14499
|
injectCss(rootEl, ":host", {
|
|
14437
|
-
width: `var(--goa-
|
|
14438
|
-
height: `var(--goa-
|
|
14500
|
+
width: `var(--goa-space-${hspacing})`,
|
|
14501
|
+
height: `var(--goa-space-${vspacing})`
|
|
14439
14502
|
});
|
|
14440
14503
|
});
|
|
14441
14504
|
|
|
@@ -14461,7 +14524,7 @@ class Spacer extends SvelteElement {
|
|
|
14461
14524
|
target: this.shadowRoot,
|
|
14462
14525
|
props: attribute_to_object(this.attributes),
|
|
14463
14526
|
customElement: true
|
|
14464
|
-
}, instance$
|
|
14527
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
14465
14528
|
hspacing: 1,
|
|
14466
14529
|
vspacing: 2
|
|
14467
14530
|
}, null);
|
|
@@ -14693,7 +14756,7 @@ function tweened(value, defaults = {}) {
|
|
|
14693
14756
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
14694
14757
|
|
|
14695
14758
|
|
|
14696
|
-
function create_if_block(ctx) {
|
|
14759
|
+
function create_if_block$1(ctx) {
|
|
14697
14760
|
let svg;
|
|
14698
14761
|
let circle;
|
|
14699
14762
|
let circle_stroke_value;
|
|
@@ -14716,7 +14779,7 @@ function create_if_block(ctx) {
|
|
|
14716
14779
|
ctx[3]);
|
|
14717
14780
|
attr(circle, "stroke", circle_stroke_value =
|
|
14718
14781
|
/*invert*/
|
|
14719
|
-
ctx[0] ? "var(--goa-color-
|
|
14782
|
+
ctx[0] ? "var(--goa-color-info-hover)" : "var(--goa-color-brand-light)");
|
|
14720
14783
|
attr(circle, "stroke-width",
|
|
14721
14784
|
/*strokewidth*/
|
|
14722
14785
|
ctx[4]);
|
|
@@ -14735,7 +14798,7 @@ function create_if_block(ctx) {
|
|
|
14735
14798
|
ctx[4]);
|
|
14736
14799
|
attr(path, "stroke", path_stroke_value =
|
|
14737
14800
|
/*invert*/
|
|
14738
|
-
ctx[0] ? "var(--goa-color-brand-light)" : "var(--goa-color-
|
|
14801
|
+
ctx[0] ? "var(--goa-color-brand-light)" : "var(--goa-color-info-default)");
|
|
14739
14802
|
attr(path, "stroke-linecap", "round");
|
|
14740
14803
|
attr(svg, "class", svg_class_value = `spinner-${
|
|
14741
14804
|
/*type*/
|
|
@@ -14785,7 +14848,7 @@ function create_if_block(ctx) {
|
|
|
14785
14848
|
/*invert*/
|
|
14786
14849
|
1 && circle_stroke_value !== (circle_stroke_value =
|
|
14787
14850
|
/*invert*/
|
|
14788
|
-
ctx[0] ? "var(--goa-color-
|
|
14851
|
+
ctx[0] ? "var(--goa-color-info-hover)" : "var(--goa-color-brand-light)")) {
|
|
14789
14852
|
attr(circle, "stroke", circle_stroke_value);
|
|
14790
14853
|
}
|
|
14791
14854
|
|
|
@@ -14829,7 +14892,7 @@ function create_if_block(ctx) {
|
|
|
14829
14892
|
/*invert*/
|
|
14830
14893
|
1 && path_stroke_value !== (path_stroke_value =
|
|
14831
14894
|
/*invert*/
|
|
14832
|
-
ctx[0] ? "var(--goa-color-brand-light)" : "var(--goa-color-
|
|
14895
|
+
ctx[0] ? "var(--goa-color-brand-light)" : "var(--goa-color-info-default)")) {
|
|
14833
14896
|
attr(path, "stroke", path_stroke_value);
|
|
14834
14897
|
}
|
|
14835
14898
|
|
|
@@ -14883,11 +14946,11 @@ function create_if_block(ctx) {
|
|
|
14883
14946
|
};
|
|
14884
14947
|
}
|
|
14885
14948
|
|
|
14886
|
-
function create_fragment$
|
|
14949
|
+
function create_fragment$6(ctx) {
|
|
14887
14950
|
let if_block_anchor;
|
|
14888
14951
|
let if_block =
|
|
14889
14952
|
/*ready*/
|
|
14890
|
-
ctx[6] && create_if_block(ctx);
|
|
14953
|
+
ctx[6] && create_if_block$1(ctx);
|
|
14891
14954
|
return {
|
|
14892
14955
|
c() {
|
|
14893
14956
|
if (if_block) if_block.c();
|
|
@@ -14907,7 +14970,7 @@ function create_fragment$5(ctx) {
|
|
|
14907
14970
|
if (if_block) {
|
|
14908
14971
|
if_block.p(ctx, dirty);
|
|
14909
14972
|
} else {
|
|
14910
|
-
if_block = create_if_block(ctx);
|
|
14973
|
+
if_block = create_if_block$1(ctx);
|
|
14911
14974
|
if_block.c();
|
|
14912
14975
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
14913
14976
|
}
|
|
@@ -14928,7 +14991,7 @@ function create_fragment$5(ctx) {
|
|
|
14928
14991
|
};
|
|
14929
14992
|
}
|
|
14930
14993
|
|
|
14931
|
-
function instance$
|
|
14994
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
14932
14995
|
let diameter;
|
|
14933
14996
|
let strokewidth;
|
|
14934
14997
|
let radius;
|
|
@@ -15054,12 +15117,12 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
15054
15117
|
class Spinner extends SvelteElement {
|
|
15055
15118
|
constructor(options) {
|
|
15056
15119
|
super();
|
|
15057
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>`;
|
|
15120
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}@keyframes rotate{100%{transform:rotate(360deg)}}.spinner-infinite{animation:rotate 2s linear infinite}</style>`;
|
|
15058
15121
|
init(this, {
|
|
15059
15122
|
target: this.shadowRoot,
|
|
15060
15123
|
props: attribute_to_object(this.attributes),
|
|
15061
15124
|
customElement: true
|
|
15062
|
-
}, instance$
|
|
15125
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
15063
15126
|
size: 10,
|
|
15064
15127
|
invert: 0,
|
|
15065
15128
|
progress: 11,
|
|
@@ -15131,7 +15194,7 @@ class Spinner extends SvelteElement {
|
|
|
15131
15194
|
customElements.define("goa-spinner", Spinner);
|
|
15132
15195
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15133
15196
|
|
|
15134
|
-
function create_fragment$
|
|
15197
|
+
function create_fragment$5(ctx) {
|
|
15135
15198
|
let table;
|
|
15136
15199
|
let slot;
|
|
15137
15200
|
let t0;
|
|
@@ -15147,23 +15210,28 @@ function create_fragment$4(ctx) {
|
|
|
15147
15210
|
<tbody><tr><td></td></tr></tbody>
|
|
15148
15211
|
<tfoot><tr><td></td></tr></tfoot>`;
|
|
15149
15212
|
this.c = noop;
|
|
15213
|
+
attr(table, "class",
|
|
15214
|
+
/*variant*/
|
|
15215
|
+
ctx[1]);
|
|
15150
15216
|
attr(table, "style", table_style_value = `
|
|
15151
|
-
|
|
15217
|
+
${
|
|
15218
|
+
/*width*/
|
|
15219
|
+
ctx[0] ? `width: ${
|
|
15152
15220
|
/*width*/
|
|
15153
|
-
ctx[0]}
|
|
15221
|
+
ctx[0]};` : ``}
|
|
15154
15222
|
${calculateMargin(
|
|
15155
15223
|
/*mt*/
|
|
15156
|
-
ctx[1],
|
|
15157
|
-
/*mr*/
|
|
15158
15224
|
ctx[2],
|
|
15159
|
-
/*
|
|
15225
|
+
/*mr*/
|
|
15160
15226
|
ctx[3],
|
|
15227
|
+
/*mb*/
|
|
15228
|
+
ctx[4],
|
|
15161
15229
|
/*ml*/
|
|
15162
|
-
ctx[
|
|
15230
|
+
ctx[5])}
|
|
15163
15231
|
`);
|
|
15164
15232
|
toggle_class(table, "sticky",
|
|
15165
15233
|
/*_stickyHeader*/
|
|
15166
|
-
ctx[
|
|
15234
|
+
ctx[7]);
|
|
15167
15235
|
},
|
|
15168
15236
|
|
|
15169
15237
|
m(target, anchor) {
|
|
@@ -15173,35 +15241,45 @@ function create_fragment$4(ctx) {
|
|
|
15173
15241
|
append(table, template);
|
|
15174
15242
|
/*table_binding*/
|
|
15175
15243
|
|
|
15176
|
-
ctx[
|
|
15244
|
+
ctx[9](table);
|
|
15177
15245
|
},
|
|
15178
15246
|
|
|
15179
15247
|
p(ctx, [dirty]) {
|
|
15248
|
+
if (dirty &
|
|
15249
|
+
/*variant*/
|
|
15250
|
+
2) {
|
|
15251
|
+
attr(table, "class",
|
|
15252
|
+
/*variant*/
|
|
15253
|
+
ctx[1]);
|
|
15254
|
+
}
|
|
15255
|
+
|
|
15180
15256
|
if (dirty &
|
|
15181
15257
|
/*width, mt, mr, mb, ml*/
|
|
15182
|
-
|
|
15183
|
-
|
|
15258
|
+
61 && table_style_value !== (table_style_value = `
|
|
15259
|
+
${
|
|
15184
15260
|
/*width*/
|
|
15185
|
-
ctx[0]
|
|
15261
|
+
ctx[0] ? `width: ${
|
|
15262
|
+
/*width*/
|
|
15263
|
+
ctx[0]};` : ``}
|
|
15186
15264
|
${calculateMargin(
|
|
15187
15265
|
/*mt*/
|
|
15188
|
-
ctx[1],
|
|
15189
|
-
/*mr*/
|
|
15190
15266
|
ctx[2],
|
|
15191
|
-
/*
|
|
15267
|
+
/*mr*/
|
|
15192
15268
|
ctx[3],
|
|
15269
|
+
/*mb*/
|
|
15270
|
+
ctx[4],
|
|
15193
15271
|
/*ml*/
|
|
15194
|
-
ctx[
|
|
15272
|
+
ctx[5])}
|
|
15195
15273
|
`)) {
|
|
15196
15274
|
attr(table, "style", table_style_value);
|
|
15197
15275
|
}
|
|
15198
15276
|
|
|
15199
15277
|
if (dirty &
|
|
15200
|
-
/*_stickyHeader*/
|
|
15201
|
-
|
|
15278
|
+
/*variant, _stickyHeader*/
|
|
15279
|
+
130) {
|
|
15202
15280
|
toggle_class(table, "sticky",
|
|
15203
15281
|
/*_stickyHeader*/
|
|
15204
|
-
ctx[
|
|
15282
|
+
ctx[7]);
|
|
15205
15283
|
}
|
|
15206
15284
|
},
|
|
15207
15285
|
|
|
@@ -15212,21 +15290,25 @@ function create_fragment$4(ctx) {
|
|
|
15212
15290
|
if (detaching) detach(table);
|
|
15213
15291
|
/*table_binding*/
|
|
15214
15292
|
|
|
15215
|
-
ctx[
|
|
15293
|
+
ctx[9](null);
|
|
15216
15294
|
}
|
|
15217
15295
|
|
|
15218
15296
|
};
|
|
15219
15297
|
}
|
|
15220
15298
|
|
|
15221
|
-
function instance$
|
|
15299
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
15222
15300
|
let _stickyHeader;
|
|
15223
15301
|
|
|
15302
|
+
const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
|
|
15224
15303
|
let {
|
|
15225
15304
|
width = ""
|
|
15226
15305
|
} = $$props;
|
|
15227
15306
|
let {
|
|
15228
15307
|
stickyheader = "false"
|
|
15229
15308
|
} = $$props;
|
|
15309
|
+
let {
|
|
15310
|
+
variant = "normal"
|
|
15311
|
+
} = $$props;
|
|
15230
15312
|
let {
|
|
15231
15313
|
mt = null
|
|
15232
15314
|
} = $$props;
|
|
@@ -15243,6 +15325,8 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
15243
15325
|
let _rootEl;
|
|
15244
15326
|
|
|
15245
15327
|
onMount(() => {
|
|
15328
|
+
validateVariant(variant);
|
|
15329
|
+
|
|
15246
15330
|
const slot = _rootEl.querySelector("slot");
|
|
15247
15331
|
|
|
15248
15332
|
if (slot) {
|
|
@@ -15258,45 +15342,47 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
15258
15342
|
function table_binding($$value) {
|
|
15259
15343
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15260
15344
|
_rootEl = $$value;
|
|
15261
|
-
$$invalidate(
|
|
15345
|
+
$$invalidate(6, _rootEl);
|
|
15262
15346
|
});
|
|
15263
15347
|
}
|
|
15264
15348
|
|
|
15265
15349
|
$$self.$$set = $$props => {
|
|
15266
15350
|
if ('width' in $$props) $$invalidate(0, width = $$props.width);
|
|
15267
|
-
if ('stickyheader' in $$props) $$invalidate(
|
|
15268
|
-
if ('
|
|
15269
|
-
if ('
|
|
15270
|
-
if ('
|
|
15271
|
-
if ('
|
|
15351
|
+
if ('stickyheader' in $$props) $$invalidate(8, stickyheader = $$props.stickyheader);
|
|
15352
|
+
if ('variant' in $$props) $$invalidate(1, variant = $$props.variant);
|
|
15353
|
+
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
15354
|
+
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
15355
|
+
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
15356
|
+
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
15272
15357
|
};
|
|
15273
15358
|
|
|
15274
15359
|
$$self.$$.update = () => {
|
|
15275
15360
|
if ($$self.$$.dirty &
|
|
15276
15361
|
/*stickyheader*/
|
|
15277
|
-
|
|
15278
|
-
$$invalidate(
|
|
15362
|
+
256) {
|
|
15363
|
+
$$invalidate(7, _stickyHeader = toBoolean(stickyheader));
|
|
15279
15364
|
}
|
|
15280
15365
|
};
|
|
15281
15366
|
|
|
15282
|
-
return [width, mt, mr, mb, ml, _rootEl, _stickyHeader, stickyheader, table_binding];
|
|
15367
|
+
return [width, variant, mt, mr, mb, ml, _rootEl, _stickyHeader, stickyheader, table_binding];
|
|
15283
15368
|
}
|
|
15284
15369
|
|
|
15285
15370
|
class Table extends SvelteElement {
|
|
15286
15371
|
constructor(options) {
|
|
15287
15372
|
super();
|
|
15288
|
-
this.shadowRoot.innerHTML = `<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:1rem
|
|
15373
|
+
this.shadowRoot.innerHTML = `<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:0.75rem 1rem 0.5rem;border-bottom:1px solid var(--goa-color-greyscale-200);line-height:1rem}table.relaxed td{padding:1.25rem 1rem 1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;vertical-align:middle;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700)}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>`;
|
|
15289
15374
|
init(this, {
|
|
15290
15375
|
target: this.shadowRoot,
|
|
15291
15376
|
props: attribute_to_object(this.attributes),
|
|
15292
15377
|
customElement: true
|
|
15293
|
-
}, instance$
|
|
15378
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
15294
15379
|
width: 0,
|
|
15295
|
-
stickyheader:
|
|
15296
|
-
|
|
15297
|
-
|
|
15298
|
-
|
|
15299
|
-
|
|
15380
|
+
stickyheader: 8,
|
|
15381
|
+
variant: 1,
|
|
15382
|
+
mt: 2,
|
|
15383
|
+
mr: 3,
|
|
15384
|
+
mb: 4,
|
|
15385
|
+
ml: 5
|
|
15300
15386
|
}, null);
|
|
15301
15387
|
|
|
15302
15388
|
if (options) {
|
|
@@ -15312,7 +15398,7 @@ class Table extends SvelteElement {
|
|
|
15312
15398
|
}
|
|
15313
15399
|
|
|
15314
15400
|
static get observedAttributes() {
|
|
15315
|
-
return ["width", "stickyheader", "mt", "mr", "mb", "ml"];
|
|
15401
|
+
return ["width", "stickyheader", "variant", "mt", "mr", "mb", "ml"];
|
|
15316
15402
|
}
|
|
15317
15403
|
|
|
15318
15404
|
get width() {
|
|
@@ -15327,7 +15413,7 @@ class Table extends SvelteElement {
|
|
|
15327
15413
|
}
|
|
15328
15414
|
|
|
15329
15415
|
get stickyheader() {
|
|
15330
|
-
return this.$$.ctx[
|
|
15416
|
+
return this.$$.ctx[8];
|
|
15331
15417
|
}
|
|
15332
15418
|
|
|
15333
15419
|
set stickyheader(stickyheader) {
|
|
@@ -15337,10 +15423,21 @@ class Table extends SvelteElement {
|
|
|
15337
15423
|
flush();
|
|
15338
15424
|
}
|
|
15339
15425
|
|
|
15340
|
-
get
|
|
15426
|
+
get variant() {
|
|
15341
15427
|
return this.$$.ctx[1];
|
|
15342
15428
|
}
|
|
15343
15429
|
|
|
15430
|
+
set variant(variant) {
|
|
15431
|
+
this.$$set({
|
|
15432
|
+
variant
|
|
15433
|
+
});
|
|
15434
|
+
flush();
|
|
15435
|
+
}
|
|
15436
|
+
|
|
15437
|
+
get mt() {
|
|
15438
|
+
return this.$$.ctx[2];
|
|
15439
|
+
}
|
|
15440
|
+
|
|
15344
15441
|
set mt(mt) {
|
|
15345
15442
|
this.$$set({
|
|
15346
15443
|
mt
|
|
@@ -15349,7 +15446,7 @@ class Table extends SvelteElement {
|
|
|
15349
15446
|
}
|
|
15350
15447
|
|
|
15351
15448
|
get mr() {
|
|
15352
|
-
return this.$$.ctx[
|
|
15449
|
+
return this.$$.ctx[3];
|
|
15353
15450
|
}
|
|
15354
15451
|
|
|
15355
15452
|
set mr(mr) {
|
|
@@ -15360,7 +15457,7 @@ class Table extends SvelteElement {
|
|
|
15360
15457
|
}
|
|
15361
15458
|
|
|
15362
15459
|
get mb() {
|
|
15363
|
-
return this.$$.ctx[
|
|
15460
|
+
return this.$$.ctx[4];
|
|
15364
15461
|
}
|
|
15365
15462
|
|
|
15366
15463
|
set mb(mb) {
|
|
@@ -15371,7 +15468,7 @@ class Table extends SvelteElement {
|
|
|
15371
15468
|
}
|
|
15372
15469
|
|
|
15373
15470
|
get ml() {
|
|
15374
|
-
return this.$$.ctx[
|
|
15471
|
+
return this.$$.ctx[5];
|
|
15375
15472
|
}
|
|
15376
15473
|
|
|
15377
15474
|
set ml(ml) {
|
|
@@ -15386,7 +15483,7 @@ class Table extends SvelteElement {
|
|
|
15386
15483
|
customElements.define("goa-table", Table);
|
|
15387
15484
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15388
15485
|
|
|
15389
|
-
function create_fragment$
|
|
15486
|
+
function create_fragment$4(ctx) {
|
|
15390
15487
|
let div;
|
|
15391
15488
|
let textarea;
|
|
15392
15489
|
let textarea_aria_label_value;
|
|
@@ -15567,7 +15664,7 @@ function create_fragment$3(ctx) {
|
|
|
15567
15664
|
};
|
|
15568
15665
|
}
|
|
15569
15666
|
|
|
15570
|
-
function instance$
|
|
15667
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
15571
15668
|
let isError;
|
|
15572
15669
|
let isDisabled;
|
|
15573
15670
|
let isReadonly;
|
|
@@ -15678,13 +15775,13 @@ function instance$1($$self, $$props, $$invalidate) {
|
|
|
15678
15775
|
class TextArea extends SvelteElement {
|
|
15679
15776
|
constructor(options) {
|
|
15680
15777
|
super();
|
|
15681
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-
|
|
15682
|
-
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive
|
|
15778
|
+
this.shadowRoot.innerHTML = `<style>:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:0.75rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}.container{position:relative;width:100%}@media(min-width: 640px){.container{max-width:var(--width)}}.goa-textarea{display:block;width:100%;box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:3px;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%}@media(min-width: 640px){.goa-textarea{min-width:0;width:var(--width)}}.goa-textarea[readonly]{cursor:pointer}.goa-textarea:hover{border-color:var(--goa-color-interactive-hover)}.goa-textarea:active,.goa-textarea:focus,.goa-textarea:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-textarea:disabled,.goa-textarea:disabled:hover,.goa-textarea:disabled:active,.goa-textarea:disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.counter{position:absolute;right:0;padding-top:0.25rem;font-size:var(--goa-font-size-2)}.counter-error{color:var(--goa-color-interactive-error)
|
|
15779
|
+
}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}</style>`;
|
|
15683
15780
|
init(this, {
|
|
15684
15781
|
target: this.shadowRoot,
|
|
15685
15782
|
props: attribute_to_object(this.attributes),
|
|
15686
15783
|
customElement: true
|
|
15687
|
-
}, instance$
|
|
15784
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
15688
15785
|
name: 0,
|
|
15689
15786
|
value: 1,
|
|
15690
15787
|
placeholder: 2,
|
|
@@ -15888,7 +15985,7 @@ class TextArea extends SvelteElement {
|
|
|
15888
15985
|
customElements.define("goa-textarea", TextArea);
|
|
15889
15986
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
|
|
15890
15987
|
|
|
15891
|
-
function create_fragment$
|
|
15988
|
+
function create_fragment$3(ctx) {
|
|
15892
15989
|
let div;
|
|
15893
15990
|
return {
|
|
15894
15991
|
c() {
|
|
@@ -15922,17 +16019,17 @@ function create_fragment$2(ctx) {
|
|
|
15922
16019
|
class FullScreenNavbarLayout extends SvelteElement {
|
|
15923
16020
|
constructor(options) {
|
|
15924
16021
|
super();
|
|
15925
|
-
this.shadowRoot.innerHTML = `<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
16022
|
+
this.shadowRoot.innerHTML = `<style>.page{height:100vh;grid-template-columns:auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header"
|
|
15926
16023
|
"content"
|
|
15927
16024
|
"nav"
|
|
15928
|
-
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
16025
|
+
"footer";display:grid;place-content:stretch stretch;gap:0 0}@media(min-width: 640px){.page{grid-template-columns:300px auto;grid-template-rows:min-content auto min-content;grid-template-areas:"header header"
|
|
15929
16026
|
"nav content"
|
|
15930
|
-
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--color-
|
|
16027
|
+
"footer footer"}}.header{grid-area:header}.footer{grid-area:footer}main{grid-area:content;justify-self:stretch;padding:1rem}.nav{grid-area:nav;padding:1rem;background-color:var(--goa-color-greyscale-100)}</style>`;
|
|
15931
16028
|
init(this, {
|
|
15932
16029
|
target: this.shadowRoot,
|
|
15933
16030
|
props: attribute_to_object(this.attributes),
|
|
15934
16031
|
customElement: true
|
|
15935
|
-
}, null, create_fragment$
|
|
16032
|
+
}, null, create_fragment$3, safe_not_equal, {}, null);
|
|
15936
16033
|
|
|
15937
16034
|
if (options) {
|
|
15938
16035
|
if (options.target) {
|
|
@@ -15946,7 +16043,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
15946
16043
|
customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
|
|
15947
16044
|
/* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
15948
16045
|
|
|
15949
|
-
function create_fragment$
|
|
16046
|
+
function create_fragment$2(ctx) {
|
|
15950
16047
|
let div;
|
|
15951
16048
|
return {
|
|
15952
16049
|
c() {
|
|
@@ -15983,7 +16080,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
15983
16080
|
target: this.shadowRoot,
|
|
15984
16081
|
props: attribute_to_object(this.attributes),
|
|
15985
16082
|
customElement: true
|
|
15986
|
-
}, null, create_fragment$
|
|
16083
|
+
}, null, create_fragment$2, safe_not_equal, {}, null);
|
|
15987
16084
|
|
|
15988
16085
|
if (options) {
|
|
15989
16086
|
if (options.target) {
|
|
@@ -15997,7 +16094,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
15997
16094
|
customElements.define("goa-one-column-layout", OneColumnLayout);
|
|
15998
16095
|
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
15999
16096
|
|
|
16000
|
-
function create_fragment(ctx) {
|
|
16097
|
+
function create_fragment$1(ctx) {
|
|
16001
16098
|
let div;
|
|
16002
16099
|
let header;
|
|
16003
16100
|
let t0;
|
|
@@ -16029,7 +16126,7 @@ function create_fragment(ctx) {
|
|
|
16029
16126
|
ctx[1] || "100%"};
|
|
16030
16127
|
--nav-column-width: ${
|
|
16031
16128
|
/*navcolumnwidth*/
|
|
16032
|
-
ctx[0] || "
|
|
16129
|
+
ctx[0] || "256px"};
|
|
16033
16130
|
`);
|
|
16034
16131
|
},
|
|
16035
16132
|
|
|
@@ -16051,7 +16148,7 @@ function create_fragment(ctx) {
|
|
|
16051
16148
|
ctx[1] || "100%"};
|
|
16052
16149
|
--nav-column-width: ${
|
|
16053
16150
|
/*navcolumnwidth*/
|
|
16054
|
-
ctx[0] || "
|
|
16151
|
+
ctx[0] || "256px"};
|
|
16055
16152
|
`)) {
|
|
16056
16153
|
attr(div, "style", div_style_value);
|
|
16057
16154
|
}
|
|
@@ -16067,7 +16164,7 @@ function create_fragment(ctx) {
|
|
|
16067
16164
|
};
|
|
16068
16165
|
}
|
|
16069
16166
|
|
|
16070
|
-
function instance($$self, $$props, $$invalidate) {
|
|
16167
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
16071
16168
|
let {
|
|
16072
16169
|
navcolumnwidth = ""
|
|
16073
16170
|
} = $$props;
|
|
@@ -16086,12 +16183,12 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
16086
16183
|
class TwoColumnLayout extends SvelteElement {
|
|
16087
16184
|
constructor(options) {
|
|
16088
16185
|
super();
|
|
16089
|
-
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--color-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
|
|
16186
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{min-height:100vh;display:flex;flex-direction:column;position:relative}.content{flex:1 1 auto;position:relative;display:flex;flex-direction:column;gap:2rem}.header,.footer{flex:0 0 auto}main{flex:1 1 auto;padding:0 1rem}.nav{padding:0 1rem;transition:transform 200ms ease-in-out;background-color:var(--goa-color-greyscale-white)}.nav>*{display:block;padding:0.5rem 0}@media(min-width: 640px){.page{gap:2rem}.content{display:flex;flex-direction:row;justify-content:center;width:min(var(--max-content-width), 100vw);margin:0 auto}.nav{padding:0 2rem}main{padding-right:2rem}}@media(min-width: 1300px){main{padding-right:4.5rem}}@media(min-width: 640px){.nav{transform:translateX(0);flex:0 0 var(--nav-column-width)}}</style>`;
|
|
16090
16187
|
init(this, {
|
|
16091
16188
|
target: this.shadowRoot,
|
|
16092
16189
|
props: attribute_to_object(this.attributes),
|
|
16093
16190
|
customElement: true
|
|
16094
|
-
}, instance, create_fragment, safe_not_equal, {
|
|
16191
|
+
}, instance$1, create_fragment$1, safe_not_equal, {
|
|
16095
16192
|
navcolumnwidth: 0,
|
|
16096
16193
|
maxcontentwidth: 1
|
|
16097
16194
|
}, null);
|
|
@@ -16137,32 +16234,538 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
16137
16234
|
}
|
|
16138
16235
|
|
|
16139
16236
|
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
16237
|
+
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
16140
16238
|
|
|
16141
|
-
|
|
16142
|
-
|
|
16143
|
-
|
|
16144
|
-
|
|
16145
|
-
|
|
16146
|
-
|
|
16147
|
-
|
|
16148
|
-
|
|
16149
|
-
|
|
16150
|
-
|
|
16151
|
-
|
|
16152
|
-
|
|
16153
|
-
|
|
16154
|
-
|
|
16239
|
+
function create_if_block(ctx) {
|
|
16240
|
+
let goa_block;
|
|
16241
|
+
let span0;
|
|
16242
|
+
let t1;
|
|
16243
|
+
let input;
|
|
16244
|
+
let t2;
|
|
16245
|
+
let goa_input;
|
|
16246
|
+
let t3;
|
|
16247
|
+
let span1;
|
|
16248
|
+
let t4;
|
|
16249
|
+
let t5;
|
|
16250
|
+
return {
|
|
16251
|
+
c() {
|
|
16252
|
+
goa_block = element("goa-block");
|
|
16253
|
+
span0 = element("span");
|
|
16254
|
+
span0.textContent = "Page";
|
|
16255
|
+
t1 = space();
|
|
16256
|
+
input = element("input");
|
|
16257
|
+
t2 = space();
|
|
16258
|
+
goa_input = element("goa-input");
|
|
16259
|
+
t3 = space();
|
|
16260
|
+
span1 = element("span");
|
|
16261
|
+
t4 = text("of ");
|
|
16262
|
+
t5 = text(
|
|
16263
|
+
/*_pageCount*/
|
|
16264
|
+
ctx[8]);
|
|
16265
|
+
attr(input, "type", "hidden");
|
|
16266
|
+
set_custom_element_data(goa_input, "type", "number");
|
|
16267
|
+
set_custom_element_data(goa_input, "value",
|
|
16268
|
+
/*pagenumber*/
|
|
16269
|
+
ctx[0]);
|
|
16270
|
+
set_custom_element_data(goa_input, "width", "8ch");
|
|
16271
|
+
set_custom_element_data(goa_input, "debounce", "500");
|
|
16272
|
+
set_custom_element_data(goa_input, "min", "1");
|
|
16273
|
+
set_custom_element_data(goa_input, "max",
|
|
16274
|
+
/*_pageCount*/
|
|
16275
|
+
ctx[8]);
|
|
16276
|
+
set_custom_element_data(goa_block, "data-testid", "page-selector");
|
|
16277
|
+
set_custom_element_data(goa_block, "alignment", "center");
|
|
16278
|
+
set_custom_element_data(goa_block, "gap", "s");
|
|
16279
|
+
},
|
|
16155
16280
|
|
|
16156
|
-
|
|
16157
|
-
|
|
16158
|
-
|
|
16159
|
-
|
|
16160
|
-
|
|
16161
|
-
|
|
16162
|
-
|
|
16163
|
-
|
|
16164
|
-
|
|
16165
|
-
|
|
16281
|
+
m(target, anchor) {
|
|
16282
|
+
insert(target, goa_block, anchor);
|
|
16283
|
+
append(goa_block, span0);
|
|
16284
|
+
append(goa_block, t1);
|
|
16285
|
+
append(goa_block, input);
|
|
16286
|
+
/*input_binding*/
|
|
16287
|
+
|
|
16288
|
+
ctx[12](input);
|
|
16289
|
+
append(goa_block, t2);
|
|
16290
|
+
append(goa_block, goa_input);
|
|
16291
|
+
/*goa_input_binding*/
|
|
16292
|
+
|
|
16293
|
+
ctx[13](goa_input);
|
|
16294
|
+
append(goa_block, t3);
|
|
16295
|
+
append(goa_block, span1);
|
|
16296
|
+
append(span1, t4);
|
|
16297
|
+
append(span1, t5);
|
|
16298
|
+
},
|
|
16299
|
+
|
|
16300
|
+
p(ctx, dirty) {
|
|
16301
|
+
if (dirty &
|
|
16302
|
+
/*pagenumber*/
|
|
16303
|
+
1) {
|
|
16304
|
+
set_custom_element_data(goa_input, "value",
|
|
16305
|
+
/*pagenumber*/
|
|
16306
|
+
ctx[0]);
|
|
16307
|
+
}
|
|
16308
|
+
|
|
16309
|
+
if (dirty &
|
|
16310
|
+
/*_pageCount*/
|
|
16311
|
+
256) {
|
|
16312
|
+
set_custom_element_data(goa_input, "max",
|
|
16313
|
+
/*_pageCount*/
|
|
16314
|
+
ctx[8]);
|
|
16315
|
+
}
|
|
16316
|
+
|
|
16317
|
+
if (dirty &
|
|
16318
|
+
/*_pageCount*/
|
|
16319
|
+
256) set_data(t5,
|
|
16320
|
+
/*_pageCount*/
|
|
16321
|
+
ctx[8]);
|
|
16322
|
+
},
|
|
16323
|
+
|
|
16324
|
+
d(detaching) {
|
|
16325
|
+
if (detaching) detach(goa_block);
|
|
16326
|
+
/*input_binding*/
|
|
16327
|
+
|
|
16328
|
+
ctx[12](null);
|
|
16329
|
+
/*goa_input_binding*/
|
|
16330
|
+
|
|
16331
|
+
ctx[13](null);
|
|
16332
|
+
}
|
|
16333
|
+
|
|
16334
|
+
};
|
|
16335
|
+
}
|
|
16336
|
+
|
|
16337
|
+
function create_fragment(ctx) {
|
|
16338
|
+
let goa_block1;
|
|
16339
|
+
let div;
|
|
16340
|
+
let t0;
|
|
16341
|
+
let goa_block0;
|
|
16342
|
+
let goa_button0;
|
|
16343
|
+
let t1;
|
|
16344
|
+
let goa_button0_disabled_value;
|
|
16345
|
+
let t2;
|
|
16346
|
+
let goa_button1;
|
|
16347
|
+
let t3;
|
|
16348
|
+
let goa_button1_disabled_value;
|
|
16349
|
+
let mounted;
|
|
16350
|
+
let dispose;
|
|
16351
|
+
let if_block =
|
|
16352
|
+
/*variant*/
|
|
16353
|
+
ctx[1] === "all" && create_if_block(ctx);
|
|
16354
|
+
return {
|
|
16355
|
+
c() {
|
|
16356
|
+
goa_block1 = element("goa-block");
|
|
16357
|
+
div = element("div");
|
|
16358
|
+
if (if_block) if_block.c();
|
|
16359
|
+
t0 = space();
|
|
16360
|
+
goa_block0 = element("goa-block");
|
|
16361
|
+
goa_button0 = element("goa-button");
|
|
16362
|
+
t1 = text("Previous");
|
|
16363
|
+
t2 = space();
|
|
16364
|
+
goa_button1 = element("goa-button");
|
|
16365
|
+
t3 = text("Next");
|
|
16366
|
+
this.c = noop;
|
|
16367
|
+
set_custom_element_data(goa_button0, "type", "tertiary");
|
|
16368
|
+
set_custom_element_data(goa_button0, "leadingicon", "arrow-back");
|
|
16369
|
+
set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value =
|
|
16370
|
+
/*pagenumber*/
|
|
16371
|
+
ctx[0] == 1 ? "true" : "false");
|
|
16372
|
+
set_custom_element_data(goa_button1, "type", "tertiary");
|
|
16373
|
+
set_custom_element_data(goa_button1, "trailingicon", "arrow-forward");
|
|
16374
|
+
set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value =
|
|
16375
|
+
/*pagenumber*/
|
|
16376
|
+
ctx[0] ==
|
|
16377
|
+
/*_pageCount*/
|
|
16378
|
+
ctx[8] ? "true" : "false");
|
|
16379
|
+
set_custom_element_data(goa_block0, "alignment", "center");
|
|
16380
|
+
set_custom_element_data(goa_block0, "gap", "m");
|
|
16381
|
+
set_custom_element_data(goa_block0, "data-testid", "page-links");
|
|
16382
|
+
attr(div, "class", "controls");
|
|
16383
|
+
set_custom_element_data(goa_block1, "id", "root");
|
|
16384
|
+
set_custom_element_data(goa_block1, "ml",
|
|
16385
|
+
/*ml*/
|
|
16386
|
+
ctx[5]);
|
|
16387
|
+
set_custom_element_data(goa_block1, "mr",
|
|
16388
|
+
/*mr*/
|
|
16389
|
+
ctx[3]);
|
|
16390
|
+
set_custom_element_data(goa_block1, "mb",
|
|
16391
|
+
/*mb*/
|
|
16392
|
+
ctx[4]);
|
|
16393
|
+
set_custom_element_data(goa_block1, "mt",
|
|
16394
|
+
/*mt*/
|
|
16395
|
+
ctx[2]);
|
|
16396
|
+
},
|
|
16397
|
+
|
|
16398
|
+
m(target, anchor) {
|
|
16399
|
+
insert(target, goa_block1, anchor);
|
|
16400
|
+
append(goa_block1, div);
|
|
16401
|
+
if (if_block) if_block.m(div, null);
|
|
16402
|
+
append(div, t0);
|
|
16403
|
+
append(div, goa_block0);
|
|
16404
|
+
append(goa_block0, goa_button0);
|
|
16405
|
+
append(goa_button0, t1);
|
|
16406
|
+
append(goa_block0, t2);
|
|
16407
|
+
append(goa_block0, goa_button1);
|
|
16408
|
+
append(goa_button1, t3);
|
|
16409
|
+
|
|
16410
|
+
if (!mounted) {
|
|
16411
|
+
dispose = [listen(goa_button0, "click",
|
|
16412
|
+
/*click_handler*/
|
|
16413
|
+
ctx[14]), listen(goa_button1, "click",
|
|
16414
|
+
/*click_handler_1*/
|
|
16415
|
+
ctx[15])];
|
|
16416
|
+
mounted = true;
|
|
16417
|
+
}
|
|
16418
|
+
},
|
|
16419
|
+
|
|
16420
|
+
p(ctx, [dirty]) {
|
|
16421
|
+
if (
|
|
16422
|
+
/*variant*/
|
|
16423
|
+
ctx[1] === "all") {
|
|
16424
|
+
if (if_block) {
|
|
16425
|
+
if_block.p(ctx, dirty);
|
|
16426
|
+
} else {
|
|
16427
|
+
if_block = create_if_block(ctx);
|
|
16428
|
+
if_block.c();
|
|
16429
|
+
if_block.m(div, t0);
|
|
16430
|
+
}
|
|
16431
|
+
} else if (if_block) {
|
|
16432
|
+
if_block.d(1);
|
|
16433
|
+
if_block = null;
|
|
16434
|
+
}
|
|
16435
|
+
|
|
16436
|
+
if (dirty &
|
|
16437
|
+
/*pagenumber*/
|
|
16438
|
+
1 && goa_button0_disabled_value !== (goa_button0_disabled_value =
|
|
16439
|
+
/*pagenumber*/
|
|
16440
|
+
ctx[0] == 1 ? "true" : "false")) {
|
|
16441
|
+
set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value);
|
|
16442
|
+
}
|
|
16443
|
+
|
|
16444
|
+
if (dirty &
|
|
16445
|
+
/*pagenumber, _pageCount*/
|
|
16446
|
+
257 && goa_button1_disabled_value !== (goa_button1_disabled_value =
|
|
16447
|
+
/*pagenumber*/
|
|
16448
|
+
ctx[0] ==
|
|
16449
|
+
/*_pageCount*/
|
|
16450
|
+
ctx[8] ? "true" : "false")) {
|
|
16451
|
+
set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value);
|
|
16452
|
+
}
|
|
16453
|
+
|
|
16454
|
+
if (dirty &
|
|
16455
|
+
/*ml*/
|
|
16456
|
+
32) {
|
|
16457
|
+
set_custom_element_data(goa_block1, "ml",
|
|
16458
|
+
/*ml*/
|
|
16459
|
+
ctx[5]);
|
|
16460
|
+
}
|
|
16461
|
+
|
|
16462
|
+
if (dirty &
|
|
16463
|
+
/*mr*/
|
|
16464
|
+
8) {
|
|
16465
|
+
set_custom_element_data(goa_block1, "mr",
|
|
16466
|
+
/*mr*/
|
|
16467
|
+
ctx[3]);
|
|
16468
|
+
}
|
|
16469
|
+
|
|
16470
|
+
if (dirty &
|
|
16471
|
+
/*mb*/
|
|
16472
|
+
16) {
|
|
16473
|
+
set_custom_element_data(goa_block1, "mb",
|
|
16474
|
+
/*mb*/
|
|
16475
|
+
ctx[4]);
|
|
16476
|
+
}
|
|
16477
|
+
|
|
16478
|
+
if (dirty &
|
|
16479
|
+
/*mt*/
|
|
16480
|
+
4) {
|
|
16481
|
+
set_custom_element_data(goa_block1, "mt",
|
|
16482
|
+
/*mt*/
|
|
16483
|
+
ctx[2]);
|
|
16484
|
+
}
|
|
16485
|
+
},
|
|
16486
|
+
|
|
16487
|
+
i: noop,
|
|
16488
|
+
o: noop,
|
|
16489
|
+
|
|
16490
|
+
d(detaching) {
|
|
16491
|
+
if (detaching) detach(goa_block1);
|
|
16492
|
+
if (if_block) if_block.d();
|
|
16493
|
+
mounted = false;
|
|
16494
|
+
run_all(dispose);
|
|
16495
|
+
}
|
|
16496
|
+
|
|
16497
|
+
};
|
|
16498
|
+
}
|
|
16499
|
+
|
|
16500
|
+
function instance($$self, $$props, $$invalidate) {
|
|
16501
|
+
let _pageCount;
|
|
16502
|
+
|
|
16503
|
+
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
16504
|
+
let {
|
|
16505
|
+
pagenumber
|
|
16506
|
+
} = $$props;
|
|
16507
|
+
let {
|
|
16508
|
+
itemcount
|
|
16509
|
+
} = $$props;
|
|
16510
|
+
let {
|
|
16511
|
+
perpagecount = 10
|
|
16512
|
+
} = $$props;
|
|
16513
|
+
let {
|
|
16514
|
+
variant = "all"
|
|
16515
|
+
} = $$props;
|
|
16516
|
+
let {
|
|
16517
|
+
mt = null
|
|
16518
|
+
} = $$props;
|
|
16519
|
+
let {
|
|
16520
|
+
mr = null
|
|
16521
|
+
} = $$props;
|
|
16522
|
+
let {
|
|
16523
|
+
mb = "m"
|
|
16524
|
+
} = $$props;
|
|
16525
|
+
let {
|
|
16526
|
+
ml = null
|
|
16527
|
+
} = $$props; // private
|
|
16528
|
+
|
|
16529
|
+
let inputEl = null;
|
|
16530
|
+
let hiddenEl = null; // needed to allow the inputEl's event to be cancelled
|
|
16531
|
+
// hooks
|
|
16532
|
+
|
|
16533
|
+
onMount(async () => {
|
|
16534
|
+
await tick();
|
|
16535
|
+
validateRequired("GoAPagination", {
|
|
16536
|
+
itemcount,
|
|
16537
|
+
pagenumber
|
|
16538
|
+
});
|
|
16539
|
+
validateVariant(variant); // prevent event propagation if value is non-numeric
|
|
16540
|
+
// (input[type=number] returns blank for non-numeric numbers)
|
|
16541
|
+
|
|
16542
|
+
inputEl && inputEl.addEventListener("_change", e => {
|
|
16543
|
+
const page = Number.parseInt(e.detail.value);
|
|
16544
|
+
e.stopPropagation();
|
|
16545
|
+
|
|
16546
|
+
if (isNaN(page)) {
|
|
16547
|
+
return;
|
|
16548
|
+
}
|
|
16549
|
+
|
|
16550
|
+
hiddenEl.dispatchEvent(new CustomEvent("_change", {
|
|
16551
|
+
composed: true,
|
|
16552
|
+
bubbles: true,
|
|
16553
|
+
detail: {
|
|
16554
|
+
page
|
|
16555
|
+
}
|
|
16556
|
+
}));
|
|
16557
|
+
});
|
|
16558
|
+
}); // functions
|
|
16559
|
+
|
|
16560
|
+
function goto(e, offset) {
|
|
16561
|
+
const newPage = Number.parseInt(pagenumber + "") + offset;
|
|
16562
|
+
|
|
16563
|
+
if (newPage > 0 && newPage <= _pageCount) {
|
|
16564
|
+
e.target.dispatchEvent(new CustomEvent("_change", {
|
|
16565
|
+
composed: true,
|
|
16566
|
+
bubbles: true,
|
|
16567
|
+
detail: {
|
|
16568
|
+
page: newPage
|
|
16569
|
+
}
|
|
16570
|
+
}));
|
|
16571
|
+
}
|
|
16572
|
+
|
|
16573
|
+
e.preventDefault();
|
|
16574
|
+
}
|
|
16575
|
+
|
|
16576
|
+
function input_binding($$value) {
|
|
16577
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16578
|
+
hiddenEl = $$value;
|
|
16579
|
+
$$invalidate(7, hiddenEl);
|
|
16580
|
+
});
|
|
16581
|
+
}
|
|
16582
|
+
|
|
16583
|
+
function goa_input_binding($$value) {
|
|
16584
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16585
|
+
inputEl = $$value;
|
|
16586
|
+
$$invalidate(6, inputEl);
|
|
16587
|
+
});
|
|
16588
|
+
}
|
|
16589
|
+
|
|
16590
|
+
const click_handler = e => goto(e, -1);
|
|
16591
|
+
|
|
16592
|
+
const click_handler_1 = e => goto(e, 1);
|
|
16593
|
+
|
|
16594
|
+
$$self.$$set = $$props => {
|
|
16595
|
+
if ('pagenumber' in $$props) $$invalidate(0, pagenumber = $$props.pagenumber);
|
|
16596
|
+
if ('itemcount' in $$props) $$invalidate(10, itemcount = $$props.itemcount);
|
|
16597
|
+
if ('perpagecount' in $$props) $$invalidate(11, perpagecount = $$props.perpagecount);
|
|
16598
|
+
if ('variant' in $$props) $$invalidate(1, variant = $$props.variant);
|
|
16599
|
+
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
16600
|
+
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
16601
|
+
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
16602
|
+
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
16603
|
+
};
|
|
16604
|
+
|
|
16605
|
+
$$self.$$.update = () => {
|
|
16606
|
+
if ($$self.$$.dirty &
|
|
16607
|
+
/*itemcount, perpagecount*/
|
|
16608
|
+
3072) {
|
|
16609
|
+
// reactive
|
|
16610
|
+
$$invalidate(8, _pageCount = Math.ceil(itemcount / perpagecount));
|
|
16611
|
+
}
|
|
16612
|
+
};
|
|
16613
|
+
|
|
16614
|
+
return [pagenumber, variant, mt, mr, mb, ml, inputEl, hiddenEl, _pageCount, goto, itemcount, perpagecount, input_binding, goa_input_binding, click_handler, click_handler_1];
|
|
16615
|
+
}
|
|
16616
|
+
|
|
16617
|
+
class Pagination extends SvelteElement {
|
|
16618
|
+
constructor(options) {
|
|
16619
|
+
super();
|
|
16620
|
+
this.shadowRoot.innerHTML = `<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>`;
|
|
16621
|
+
init(this, {
|
|
16622
|
+
target: this.shadowRoot,
|
|
16623
|
+
props: attribute_to_object(this.attributes),
|
|
16624
|
+
customElement: true
|
|
16625
|
+
}, instance, create_fragment, safe_not_equal, {
|
|
16626
|
+
pagenumber: 0,
|
|
16627
|
+
itemcount: 10,
|
|
16628
|
+
perpagecount: 11,
|
|
16629
|
+
variant: 1,
|
|
16630
|
+
mt: 2,
|
|
16631
|
+
mr: 3,
|
|
16632
|
+
mb: 4,
|
|
16633
|
+
ml: 5
|
|
16634
|
+
}, null);
|
|
16635
|
+
|
|
16636
|
+
if (options) {
|
|
16637
|
+
if (options.target) {
|
|
16638
|
+
insert(options.target, this, options.anchor);
|
|
16639
|
+
}
|
|
16640
|
+
|
|
16641
|
+
if (options.props) {
|
|
16642
|
+
this.$set(options.props);
|
|
16643
|
+
flush();
|
|
16644
|
+
}
|
|
16645
|
+
}
|
|
16646
|
+
}
|
|
16647
|
+
|
|
16648
|
+
static get observedAttributes() {
|
|
16649
|
+
return ["pagenumber", "itemcount", "perpagecount", "variant", "mt", "mr", "mb", "ml"];
|
|
16650
|
+
}
|
|
16651
|
+
|
|
16652
|
+
get pagenumber() {
|
|
16653
|
+
return this.$$.ctx[0];
|
|
16654
|
+
}
|
|
16655
|
+
|
|
16656
|
+
set pagenumber(pagenumber) {
|
|
16657
|
+
this.$$set({
|
|
16658
|
+
pagenumber
|
|
16659
|
+
});
|
|
16660
|
+
flush();
|
|
16661
|
+
}
|
|
16662
|
+
|
|
16663
|
+
get itemcount() {
|
|
16664
|
+
return this.$$.ctx[10];
|
|
16665
|
+
}
|
|
16666
|
+
|
|
16667
|
+
set itemcount(itemcount) {
|
|
16668
|
+
this.$$set({
|
|
16669
|
+
itemcount
|
|
16670
|
+
});
|
|
16671
|
+
flush();
|
|
16672
|
+
}
|
|
16673
|
+
|
|
16674
|
+
get perpagecount() {
|
|
16675
|
+
return this.$$.ctx[11];
|
|
16676
|
+
}
|
|
16677
|
+
|
|
16678
|
+
set perpagecount(perpagecount) {
|
|
16679
|
+
this.$$set({
|
|
16680
|
+
perpagecount
|
|
16681
|
+
});
|
|
16682
|
+
flush();
|
|
16683
|
+
}
|
|
16684
|
+
|
|
16685
|
+
get variant() {
|
|
16686
|
+
return this.$$.ctx[1];
|
|
16687
|
+
}
|
|
16688
|
+
|
|
16689
|
+
set variant(variant) {
|
|
16690
|
+
this.$$set({
|
|
16691
|
+
variant
|
|
16692
|
+
});
|
|
16693
|
+
flush();
|
|
16694
|
+
}
|
|
16695
|
+
|
|
16696
|
+
get mt() {
|
|
16697
|
+
return this.$$.ctx[2];
|
|
16698
|
+
}
|
|
16699
|
+
|
|
16700
|
+
set mt(mt) {
|
|
16701
|
+
this.$$set({
|
|
16702
|
+
mt
|
|
16703
|
+
});
|
|
16704
|
+
flush();
|
|
16705
|
+
}
|
|
16706
|
+
|
|
16707
|
+
get mr() {
|
|
16708
|
+
return this.$$.ctx[3];
|
|
16709
|
+
}
|
|
16710
|
+
|
|
16711
|
+
set mr(mr) {
|
|
16712
|
+
this.$$set({
|
|
16713
|
+
mr
|
|
16714
|
+
});
|
|
16715
|
+
flush();
|
|
16716
|
+
}
|
|
16717
|
+
|
|
16718
|
+
get mb() {
|
|
16719
|
+
return this.$$.ctx[4];
|
|
16720
|
+
}
|
|
16721
|
+
|
|
16722
|
+
set mb(mb) {
|
|
16723
|
+
this.$$set({
|
|
16724
|
+
mb
|
|
16725
|
+
});
|
|
16726
|
+
flush();
|
|
16727
|
+
}
|
|
16728
|
+
|
|
16729
|
+
get ml() {
|
|
16730
|
+
return this.$$.ctx[5];
|
|
16731
|
+
}
|
|
16732
|
+
|
|
16733
|
+
set ml(ml) {
|
|
16734
|
+
this.$$set({
|
|
16735
|
+
ml
|
|
16736
|
+
});
|
|
16737
|
+
flush();
|
|
16738
|
+
}
|
|
16739
|
+
|
|
16740
|
+
}
|
|
16741
|
+
|
|
16742
|
+
customElements.define("goa-pagination", Pagination);
|
|
16743
|
+
|
|
16744
|
+
const GoAAppHeader = ({
|
|
16745
|
+
heading,
|
|
16746
|
+
url,
|
|
16747
|
+
maxContentWidth,
|
|
16748
|
+
children
|
|
16749
|
+
}) => {
|
|
16750
|
+
return jsx("goa-app-header", Object.assign({
|
|
16751
|
+
heading: heading,
|
|
16752
|
+
url: url,
|
|
16753
|
+
maxcontentwidth: maxContentWidth
|
|
16754
|
+
}, {
|
|
16755
|
+
children: children
|
|
16756
|
+
}), void 0);
|
|
16757
|
+
};
|
|
16758
|
+
|
|
16759
|
+
const GoABadge = ({
|
|
16760
|
+
type,
|
|
16761
|
+
content,
|
|
16762
|
+
icon,
|
|
16763
|
+
testId,
|
|
16764
|
+
mt,
|
|
16765
|
+
mr,
|
|
16766
|
+
mb,
|
|
16767
|
+
ml
|
|
16768
|
+
}) => {
|
|
16166
16769
|
return jsx("goa-badge", {
|
|
16167
16770
|
type: type,
|
|
16168
16771
|
content: content,
|
|
@@ -16817,6 +17420,7 @@ function __rest(s, e) {
|
|
|
16817
17420
|
|
|
16818
17421
|
const GoAInput = ({
|
|
16819
17422
|
id,
|
|
17423
|
+
debounce,
|
|
16820
17424
|
name,
|
|
16821
17425
|
type,
|
|
16822
17426
|
autoCapitalize,
|
|
@@ -16875,6 +17479,7 @@ const GoAInput = ({
|
|
|
16875
17479
|
}, [ref, onChange, onTrailingIconClick]);
|
|
16876
17480
|
return jsxs("goa-input", Object.assign({
|
|
16877
17481
|
ref: ref,
|
|
17482
|
+
debounce: debounce,
|
|
16878
17483
|
focused: focused,
|
|
16879
17484
|
type: type,
|
|
16880
17485
|
name: name,
|
|
@@ -17234,6 +17839,40 @@ const GoARadioGroup = ({
|
|
|
17234
17839
|
}), void 0);
|
|
17235
17840
|
};
|
|
17236
17841
|
|
|
17842
|
+
function GoAPagination(props) {
|
|
17843
|
+
const ref = useRef();
|
|
17844
|
+
useEffect(() => {
|
|
17845
|
+
if (!ref.current) {
|
|
17846
|
+
return;
|
|
17847
|
+
}
|
|
17848
|
+
|
|
17849
|
+
const current = ref.current;
|
|
17850
|
+
|
|
17851
|
+
const changeListener = e => {
|
|
17852
|
+
const {
|
|
17853
|
+
page
|
|
17854
|
+
} = e.detail;
|
|
17855
|
+
props.onChange(page);
|
|
17856
|
+
};
|
|
17857
|
+
|
|
17858
|
+
current.addEventListener("_change", changeListener);
|
|
17859
|
+
return () => {
|
|
17860
|
+
current.removeEventListener("_change", changeListener);
|
|
17861
|
+
};
|
|
17862
|
+
}, [ref, props.onChange]);
|
|
17863
|
+
return jsx("goa-pagination", {
|
|
17864
|
+
ref: ref,
|
|
17865
|
+
itemcount: props.itemCount,
|
|
17866
|
+
perpagecount: props.perPageCount,
|
|
17867
|
+
pagenumber: props.pageNumber,
|
|
17868
|
+
variant: props.variant,
|
|
17869
|
+
mt: props.mt,
|
|
17870
|
+
mb: props.mb,
|
|
17871
|
+
ml: props.ml,
|
|
17872
|
+
mr: props.mr
|
|
17873
|
+
}, void 0);
|
|
17874
|
+
}
|
|
17875
|
+
|
|
17237
17876
|
const GoASkeleton = ({
|
|
17238
17877
|
maxWidth,
|
|
17239
17878
|
size,
|
|
@@ -17282,7 +17921,11 @@ const GoASpinner = ({
|
|
|
17282
17921
|
function GoATable(props) {
|
|
17283
17922
|
return jsx("goa-table", Object.assign({
|
|
17284
17923
|
width: props.width,
|
|
17285
|
-
stickyheader: false
|
|
17924
|
+
stickyheader: false,
|
|
17925
|
+
mt: props.mt,
|
|
17926
|
+
mb: props.mb,
|
|
17927
|
+
ml: props.ml,
|
|
17928
|
+
mr: props.mr
|
|
17286
17929
|
}, {
|
|
17287
17930
|
children: jsx("template", {
|
|
17288
17931
|
children: jsx("table", {
|
|
@@ -17372,4 +18015,4 @@ function GoATwoColumnLayout(props) {
|
|
|
17372
18015
|
}), void 0);
|
|
17373
18016
|
}
|
|
17374
18017
|
|
|
17375
|
-
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|
|
18018
|
+
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoAPagination, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|