@abgov/web-components 1.0.0-alpha.102 → 1.0.0-alpha.104
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/package.json +1 -1
- package/web-components.es.js +390 -186
- package/web-components.umd.js +35 -27
package/web-components.es.js
CHANGED
|
@@ -901,7 +901,7 @@ function create_else_block$4(ctx) {
|
|
|
901
901
|
};
|
|
902
902
|
}
|
|
903
903
|
|
|
904
|
-
// (
|
|
904
|
+
// (18:4) {#if url}
|
|
905
905
|
function create_if_block$j(ctx) {
|
|
906
906
|
let a;
|
|
907
907
|
let img0;
|
|
@@ -954,10 +954,12 @@ function create_if_block$j(ctx) {
|
|
|
954
954
|
};
|
|
955
955
|
}
|
|
956
956
|
|
|
957
|
-
function create_fragment$
|
|
957
|
+
function create_fragment$F(ctx) {
|
|
958
|
+
let div2;
|
|
958
959
|
let div1;
|
|
959
960
|
let t;
|
|
960
961
|
let div0;
|
|
962
|
+
let div2_style_value;
|
|
961
963
|
|
|
962
964
|
function select_block_type(ctx, dirty) {
|
|
963
965
|
if (/*url*/ ctx[1]) return create_if_block$j;
|
|
@@ -969,17 +971,21 @@ function create_fragment$E(ctx) {
|
|
|
969
971
|
|
|
970
972
|
return {
|
|
971
973
|
c() {
|
|
974
|
+
div2 = element("div");
|
|
972
975
|
div1 = element("div");
|
|
973
976
|
if_block.c();
|
|
974
977
|
t = space();
|
|
975
978
|
div0 = element("div");
|
|
976
979
|
div0.innerHTML = `<slot></slot>`;
|
|
977
980
|
this.c = noop;
|
|
978
|
-
attr(div1, "class", "
|
|
979
|
-
attr(
|
|
981
|
+
attr(div1, "class", "content");
|
|
982
|
+
attr(div2, "class", "app-header");
|
|
983
|
+
attr(div2, "data-testid", /*testid*/ ctx[2]);
|
|
984
|
+
attr(div2, "style", div2_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[3] || "var(--layout-max-content-width)"}`);
|
|
980
985
|
},
|
|
981
986
|
m(target, anchor) {
|
|
982
|
-
insert(target,
|
|
987
|
+
insert(target, div2, anchor);
|
|
988
|
+
append(div2, div1);
|
|
983
989
|
if_block.m(div1, null);
|
|
984
990
|
append(div1, t);
|
|
985
991
|
append(div1, div0);
|
|
@@ -998,36 +1004,42 @@ function create_fragment$E(ctx) {
|
|
|
998
1004
|
}
|
|
999
1005
|
|
|
1000
1006
|
if (dirty & /*testid*/ 4) {
|
|
1001
|
-
attr(
|
|
1007
|
+
attr(div2, "data-testid", /*testid*/ ctx[2]);
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
if (dirty & /*maxcontentwidth*/ 8 && div2_style_value !== (div2_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[3] || "var(--layout-max-content-width)"}`)) {
|
|
1011
|
+
attr(div2, "style", div2_style_value);
|
|
1002
1012
|
}
|
|
1003
1013
|
},
|
|
1004
1014
|
i: noop,
|
|
1005
1015
|
o: noop,
|
|
1006
1016
|
d(detaching) {
|
|
1007
|
-
if (detaching) detach(
|
|
1017
|
+
if (detaching) detach(div2);
|
|
1008
1018
|
if_block.d();
|
|
1009
1019
|
}
|
|
1010
1020
|
};
|
|
1011
1021
|
}
|
|
1012
1022
|
|
|
1013
|
-
function instance$
|
|
1023
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1014
1024
|
let { heading = "" } = $$props;
|
|
1015
1025
|
let { url = "" } = $$props;
|
|
1016
1026
|
let { testid = "" } = $$props;
|
|
1027
|
+
let { maxcontentwidth = "" } = $$props;
|
|
1017
1028
|
|
|
1018
1029
|
$$self.$$set = $$props => {
|
|
1019
1030
|
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
1020
1031
|
if ('url' in $$props) $$invalidate(1, url = $$props.url);
|
|
1021
1032
|
if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
|
|
1033
|
+
if ('maxcontentwidth' in $$props) $$invalidate(3, maxcontentwidth = $$props.maxcontentwidth);
|
|
1022
1034
|
};
|
|
1023
1035
|
|
|
1024
|
-
return [heading, url, testid];
|
|
1036
|
+
return [heading, url, testid, maxcontentwidth];
|
|
1025
1037
|
}
|
|
1026
1038
|
|
|
1027
1039
|
class AppHeader extends SvelteElement {
|
|
1028
1040
|
constructor(options) {
|
|
1029
1041
|
super();
|
|
1030
|
-
this.shadowRoot.innerHTML = `<style
|
|
1042
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box;font-family:var(--font-family)}.app-header{margin:0 auto;border-bottom:1px solid var(--color-gray-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:2rem 1.5rem}}.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>`;
|
|
1031
1043
|
|
|
1032
1044
|
init(
|
|
1033
1045
|
this,
|
|
@@ -1036,10 +1048,15 @@ class AppHeader extends SvelteElement {
|
|
|
1036
1048
|
props: attribute_to_object(this.attributes),
|
|
1037
1049
|
customElement: true
|
|
1038
1050
|
},
|
|
1039
|
-
instance$
|
|
1040
|
-
create_fragment$
|
|
1051
|
+
instance$A,
|
|
1052
|
+
create_fragment$F,
|
|
1041
1053
|
safe_not_equal,
|
|
1042
|
-
{
|
|
1054
|
+
{
|
|
1055
|
+
heading: 0,
|
|
1056
|
+
url: 1,
|
|
1057
|
+
testid: 2,
|
|
1058
|
+
maxcontentwidth: 3
|
|
1059
|
+
},
|
|
1043
1060
|
null
|
|
1044
1061
|
);
|
|
1045
1062
|
|
|
@@ -1056,7 +1073,7 @@ class AppHeader extends SvelteElement {
|
|
|
1056
1073
|
}
|
|
1057
1074
|
|
|
1058
1075
|
static get observedAttributes() {
|
|
1059
|
-
return ["heading", "url", "testid"];
|
|
1076
|
+
return ["heading", "url", "testid", "maxcontentwidth"];
|
|
1060
1077
|
}
|
|
1061
1078
|
|
|
1062
1079
|
get heading() {
|
|
@@ -1085,6 +1102,15 @@ class AppHeader extends SvelteElement {
|
|
|
1085
1102
|
this.$$set({ testid });
|
|
1086
1103
|
flush();
|
|
1087
1104
|
}
|
|
1105
|
+
|
|
1106
|
+
get maxcontentwidth() {
|
|
1107
|
+
return this.$$.ctx[3];
|
|
1108
|
+
}
|
|
1109
|
+
|
|
1110
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
1111
|
+
this.$$set({ maxcontentwidth });
|
|
1112
|
+
flush();
|
|
1113
|
+
}
|
|
1088
1114
|
}
|
|
1089
1115
|
|
|
1090
1116
|
customElements.define("goa-app-header", AppHeader);
|
|
@@ -1168,7 +1194,7 @@ function create_if_block$i(ctx) {
|
|
|
1168
1194
|
};
|
|
1169
1195
|
}
|
|
1170
1196
|
|
|
1171
|
-
function create_fragment$
|
|
1197
|
+
function create_fragment$E(ctx) {
|
|
1172
1198
|
let div;
|
|
1173
1199
|
let t;
|
|
1174
1200
|
let div_class_value;
|
|
@@ -1248,7 +1274,7 @@ function create_fragment$D(ctx) {
|
|
|
1248
1274
|
};
|
|
1249
1275
|
}
|
|
1250
1276
|
|
|
1251
|
-
function instance$
|
|
1277
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1252
1278
|
let showIcon;
|
|
1253
1279
|
let iconType;
|
|
1254
1280
|
let { type } = $$props;
|
|
@@ -1303,8 +1329,8 @@ class Badge extends SvelteElement {
|
|
|
1303
1329
|
props: attribute_to_object(this.attributes),
|
|
1304
1330
|
customElement: true
|
|
1305
1331
|
},
|
|
1306
|
-
instance$
|
|
1307
|
-
create_fragment$
|
|
1332
|
+
instance$z,
|
|
1333
|
+
create_fragment$E,
|
|
1308
1334
|
safe_not_equal,
|
|
1309
1335
|
{ type: 0, testid: 1, icon: 5, content: 2 },
|
|
1310
1336
|
null
|
|
@@ -1367,7 +1393,7 @@ customElements.define("goa-badge", Badge);
|
|
|
1367
1393
|
|
|
1368
1394
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.49.0 */
|
|
1369
1395
|
|
|
1370
|
-
function create_fragment$
|
|
1396
|
+
function create_fragment$D(ctx) {
|
|
1371
1397
|
let div;
|
|
1372
1398
|
let slot;
|
|
1373
1399
|
|
|
@@ -1400,7 +1426,7 @@ function create_fragment$C(ctx) {
|
|
|
1400
1426
|
};
|
|
1401
1427
|
}
|
|
1402
1428
|
|
|
1403
|
-
function instance$
|
|
1429
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
1404
1430
|
let { gap = "medium" } = $$props;
|
|
1405
1431
|
let { alignment } = $$props;
|
|
1406
1432
|
|
|
@@ -1424,8 +1450,8 @@ class ButtonGroup extends SvelteElement {
|
|
|
1424
1450
|
props: attribute_to_object(this.attributes),
|
|
1425
1451
|
customElement: true
|
|
1426
1452
|
},
|
|
1427
|
-
instance$
|
|
1428
|
-
create_fragment$
|
|
1453
|
+
instance$y,
|
|
1454
|
+
create_fragment$D,
|
|
1429
1455
|
safe_not_equal,
|
|
1430
1456
|
{ gap: 0, alignment: 1 },
|
|
1431
1457
|
null
|
|
@@ -1622,7 +1648,7 @@ function create_if_block_1$a(ctx) {
|
|
|
1622
1648
|
};
|
|
1623
1649
|
}
|
|
1624
1650
|
|
|
1625
|
-
function create_fragment$
|
|
1651
|
+
function create_fragment$C(ctx) {
|
|
1626
1652
|
let button;
|
|
1627
1653
|
let button_class_value;
|
|
1628
1654
|
let mounted;
|
|
@@ -1705,7 +1731,7 @@ function clickHandler(e) {
|
|
|
1705
1731
|
e.stopPropagation();
|
|
1706
1732
|
}
|
|
1707
1733
|
|
|
1708
|
-
function instance$
|
|
1734
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
1709
1735
|
let isDisabled;
|
|
1710
1736
|
let isButtonDark;
|
|
1711
1737
|
const BUTTON_TYPES = ["primary", "submit", "secondary", "tertiary", "start"];
|
|
@@ -1794,8 +1820,8 @@ class Button extends SvelteElement {
|
|
|
1794
1820
|
props: attribute_to_object(this.attributes),
|
|
1795
1821
|
customElement: true
|
|
1796
1822
|
},
|
|
1797
|
-
instance$
|
|
1798
|
-
create_fragment$
|
|
1823
|
+
instance$x,
|
|
1824
|
+
create_fragment$C,
|
|
1799
1825
|
safe_not_equal,
|
|
1800
1826
|
{
|
|
1801
1827
|
type: 0,
|
|
@@ -1923,7 +1949,7 @@ function create_if_block$g(ctx) {
|
|
|
1923
1949
|
};
|
|
1924
1950
|
}
|
|
1925
1951
|
|
|
1926
|
-
function create_fragment$
|
|
1952
|
+
function create_fragment$B(ctx) {
|
|
1927
1953
|
let div;
|
|
1928
1954
|
let span0;
|
|
1929
1955
|
let goa_icon;
|
|
@@ -2002,7 +2028,7 @@ function create_fragment$A(ctx) {
|
|
|
2002
2028
|
};
|
|
2003
2029
|
}
|
|
2004
2030
|
|
|
2005
|
-
function instance$
|
|
2031
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
2006
2032
|
let iconType;
|
|
2007
2033
|
let { type } = $$props;
|
|
2008
2034
|
let { heading = "" } = $$props;
|
|
@@ -2043,8 +2069,8 @@ class Callout extends SvelteElement {
|
|
|
2043
2069
|
props: attribute_to_object(this.attributes),
|
|
2044
2070
|
customElement: true
|
|
2045
2071
|
},
|
|
2046
|
-
instance$
|
|
2047
|
-
create_fragment$
|
|
2072
|
+
instance$w,
|
|
2073
|
+
create_fragment$B,
|
|
2048
2074
|
safe_not_equal,
|
|
2049
2075
|
{ type: 0, heading: 1, testid: 2 },
|
|
2050
2076
|
null
|
|
@@ -2098,7 +2124,7 @@ customElements.define("goa-callout", Callout);
|
|
|
2098
2124
|
|
|
2099
2125
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.49.0 */
|
|
2100
2126
|
|
|
2101
|
-
function create_fragment$
|
|
2127
|
+
function create_fragment$A(ctx) {
|
|
2102
2128
|
let goa_card_content;
|
|
2103
2129
|
|
|
2104
2130
|
return {
|
|
@@ -2131,7 +2157,7 @@ class CardActions extends SvelteElement {
|
|
|
2131
2157
|
customElement: true
|
|
2132
2158
|
},
|
|
2133
2159
|
null,
|
|
2134
|
-
create_fragment$
|
|
2160
|
+
create_fragment$A,
|
|
2135
2161
|
safe_not_equal,
|
|
2136
2162
|
{},
|
|
2137
2163
|
null
|
|
@@ -2149,7 +2175,7 @@ customElements.define("goa-card-actions", CardActions);
|
|
|
2149
2175
|
|
|
2150
2176
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.49.0 */
|
|
2151
2177
|
|
|
2152
|
-
function create_fragment$
|
|
2178
|
+
function create_fragment$z(ctx) {
|
|
2153
2179
|
let div;
|
|
2154
2180
|
|
|
2155
2181
|
return {
|
|
@@ -2184,7 +2210,7 @@ class CardContent extends SvelteElement {
|
|
|
2184
2210
|
customElement: true
|
|
2185
2211
|
},
|
|
2186
2212
|
null,
|
|
2187
|
-
create_fragment$
|
|
2213
|
+
create_fragment$z,
|
|
2188
2214
|
safe_not_equal,
|
|
2189
2215
|
{},
|
|
2190
2216
|
null
|
|
@@ -2202,7 +2228,7 @@ customElements.define("goa-card-content", CardContent);
|
|
|
2202
2228
|
|
|
2203
2229
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.49.0 */
|
|
2204
2230
|
|
|
2205
|
-
function create_fragment$
|
|
2231
|
+
function create_fragment$y(ctx) {
|
|
2206
2232
|
let div;
|
|
2207
2233
|
|
|
2208
2234
|
return {
|
|
@@ -2237,7 +2263,7 @@ class CardGroup extends SvelteElement {
|
|
|
2237
2263
|
customElement: true
|
|
2238
2264
|
},
|
|
2239
2265
|
null,
|
|
2240
|
-
create_fragment$
|
|
2266
|
+
create_fragment$y,
|
|
2241
2267
|
safe_not_equal,
|
|
2242
2268
|
{},
|
|
2243
2269
|
null
|
|
@@ -2255,7 +2281,7 @@ customElements.define("goa-card-group", CardGroup);
|
|
|
2255
2281
|
|
|
2256
2282
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.49.0 */
|
|
2257
2283
|
|
|
2258
|
-
function create_fragment$
|
|
2284
|
+
function create_fragment$x(ctx) {
|
|
2259
2285
|
let div;
|
|
2260
2286
|
|
|
2261
2287
|
return {
|
|
@@ -2288,7 +2314,7 @@ function create_fragment$w(ctx) {
|
|
|
2288
2314
|
};
|
|
2289
2315
|
}
|
|
2290
2316
|
|
|
2291
|
-
function instance$
|
|
2317
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
2292
2318
|
let { src } = $$props;
|
|
2293
2319
|
let { height = "100%" } = $$props;
|
|
2294
2320
|
|
|
@@ -2312,8 +2338,8 @@ class CardImage extends SvelteElement {
|
|
|
2312
2338
|
props: attribute_to_object(this.attributes),
|
|
2313
2339
|
customElement: true
|
|
2314
2340
|
},
|
|
2315
|
-
instance$
|
|
2316
|
-
create_fragment$
|
|
2341
|
+
instance$v,
|
|
2342
|
+
create_fragment$x,
|
|
2317
2343
|
safe_not_equal,
|
|
2318
2344
|
{ src: 0, height: 1 },
|
|
2319
2345
|
null
|
|
@@ -2358,7 +2384,7 @@ customElements.define("goa-card-image", CardImage);
|
|
|
2358
2384
|
|
|
2359
2385
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.49.0 */
|
|
2360
2386
|
|
|
2361
|
-
function create_fragment$
|
|
2387
|
+
function create_fragment$w(ctx) {
|
|
2362
2388
|
let div;
|
|
2363
2389
|
let slot;
|
|
2364
2390
|
let div_style_value;
|
|
@@ -2398,7 +2424,7 @@ function create_fragment$v(ctx) {
|
|
|
2398
2424
|
};
|
|
2399
2425
|
}
|
|
2400
2426
|
|
|
2401
|
-
function instance$
|
|
2427
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
2402
2428
|
let { elevation = 0 } = $$props;
|
|
2403
2429
|
let { width = 320 } = $$props;
|
|
2404
2430
|
let { testId = "" } = $$props;
|
|
@@ -2426,8 +2452,8 @@ class Card extends SvelteElement {
|
|
|
2426
2452
|
props: attribute_to_object(this.attributes),
|
|
2427
2453
|
customElement: true
|
|
2428
2454
|
},
|
|
2429
|
-
instance$
|
|
2430
|
-
create_fragment$
|
|
2455
|
+
instance$u,
|
|
2456
|
+
create_fragment$w,
|
|
2431
2457
|
safe_not_equal,
|
|
2432
2458
|
{ elevation: 0, width: 1, testId: 2 },
|
|
2433
2459
|
null
|
|
@@ -2531,7 +2557,7 @@ function create_if_block$f(ctx) {
|
|
|
2531
2557
|
};
|
|
2532
2558
|
}
|
|
2533
2559
|
|
|
2534
|
-
function create_fragment$
|
|
2560
|
+
function create_fragment$v(ctx) {
|
|
2535
2561
|
let label;
|
|
2536
2562
|
let div0;
|
|
2537
2563
|
let input;
|
|
@@ -2664,7 +2690,7 @@ function create_fragment$u(ctx) {
|
|
|
2664
2690
|
};
|
|
2665
2691
|
}
|
|
2666
2692
|
|
|
2667
|
-
function instance$
|
|
2693
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
2668
2694
|
let isDisabled;
|
|
2669
2695
|
let isError;
|
|
2670
2696
|
let isChecked;
|
|
@@ -2749,8 +2775,8 @@ class Checkbox extends SvelteElement {
|
|
|
2749
2775
|
props: attribute_to_object(this.attributes),
|
|
2750
2776
|
customElement: true
|
|
2751
2777
|
},
|
|
2752
|
-
instance$
|
|
2753
|
-
create_fragment$
|
|
2778
|
+
instance$t,
|
|
2779
|
+
create_fragment$v,
|
|
2754
2780
|
safe_not_equal,
|
|
2755
2781
|
{
|
|
2756
2782
|
name: 0,
|
|
@@ -2916,7 +2942,7 @@ function create_if_block$e(ctx) {
|
|
|
2916
2942
|
};
|
|
2917
2943
|
}
|
|
2918
2944
|
|
|
2919
|
-
function create_fragment$
|
|
2945
|
+
function create_fragment$u(ctx) {
|
|
2920
2946
|
let div1;
|
|
2921
2947
|
let t0;
|
|
2922
2948
|
let div0;
|
|
@@ -3016,7 +3042,7 @@ function create_fragment$t(ctx) {
|
|
|
3016
3042
|
};
|
|
3017
3043
|
}
|
|
3018
3044
|
|
|
3019
|
-
function instance$
|
|
3045
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
3020
3046
|
let { leadingicon = null } = $$props;
|
|
3021
3047
|
let { error = "false" } = $$props;
|
|
3022
3048
|
let { deletable = "false" } = $$props;
|
|
@@ -3095,8 +3121,8 @@ class Chip extends SvelteElement {
|
|
|
3095
3121
|
props: attribute_to_object(this.attributes),
|
|
3096
3122
|
customElement: true
|
|
3097
3123
|
},
|
|
3098
|
-
instance$
|
|
3099
|
-
create_fragment$
|
|
3124
|
+
instance$s,
|
|
3125
|
+
create_fragment$u,
|
|
3100
3126
|
safe_not_equal,
|
|
3101
3127
|
{
|
|
3102
3128
|
leadingicon: 0,
|
|
@@ -3533,7 +3559,7 @@ function create_if_block_2$6(ctx) {
|
|
|
3533
3559
|
};
|
|
3534
3560
|
}
|
|
3535
3561
|
|
|
3536
|
-
function create_fragment$
|
|
3562
|
+
function create_fragment$t(ctx) {
|
|
3537
3563
|
let if_block_anchor;
|
|
3538
3564
|
let current;
|
|
3539
3565
|
let if_block = /*isVisible*/ ctx[5] && create_if_block$d(ctx);
|
|
@@ -3589,7 +3615,7 @@ function create_fragment$s(ctx) {
|
|
|
3589
3615
|
};
|
|
3590
3616
|
}
|
|
3591
3617
|
|
|
3592
|
-
function instance$
|
|
3618
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
3593
3619
|
let isVisible;
|
|
3594
3620
|
let { variant = "inline" } = $$props;
|
|
3595
3621
|
let { size = "large" } = $$props;
|
|
@@ -3645,8 +3671,8 @@ class CircularProgress extends SvelteElement {
|
|
|
3645
3671
|
props: attribute_to_object(this.attributes),
|
|
3646
3672
|
customElement: true
|
|
3647
3673
|
},
|
|
3648
|
-
instance$
|
|
3649
|
-
create_fragment$
|
|
3674
|
+
instance$r,
|
|
3675
|
+
create_fragment$t,
|
|
3650
3676
|
safe_not_equal,
|
|
3651
3677
|
{
|
|
3652
3678
|
variant: 6,
|
|
@@ -3724,7 +3750,7 @@ customElements.define("goa-circular-progress", CircularProgress);
|
|
|
3724
3750
|
|
|
3725
3751
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.49.0 */
|
|
3726
3752
|
|
|
3727
|
-
function create_fragment$
|
|
3753
|
+
function create_fragment$s(ctx) {
|
|
3728
3754
|
let div3;
|
|
3729
3755
|
let header;
|
|
3730
3756
|
let div0;
|
|
@@ -3795,7 +3821,7 @@ function create_fragment$r(ctx) {
|
|
|
3795
3821
|
};
|
|
3796
3822
|
}
|
|
3797
3823
|
|
|
3798
|
-
function instance$
|
|
3824
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
3799
3825
|
let _colored;
|
|
3800
3826
|
let { type = 'non-interactive' } = $$props;
|
|
3801
3827
|
let { colored = "false" } = $$props;
|
|
@@ -3830,8 +3856,8 @@ class Container extends SvelteElement {
|
|
|
3830
3856
|
props: attribute_to_object(this.attributes),
|
|
3831
3857
|
customElement: true
|
|
3832
3858
|
},
|
|
3833
|
-
instance$
|
|
3834
|
-
create_fragment$
|
|
3859
|
+
instance$q,
|
|
3860
|
+
create_fragment$s,
|
|
3835
3861
|
safe_not_equal,
|
|
3836
3862
|
{
|
|
3837
3863
|
type: 0,
|
|
@@ -3985,7 +4011,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
3985
4011
|
return child_ctx;
|
|
3986
4012
|
}
|
|
3987
4013
|
|
|
3988
|
-
// (
|
|
4014
|
+
// (201:2) {#if isMenuVisible}
|
|
3989
4015
|
function create_if_block$c(ctx) {
|
|
3990
4016
|
let div;
|
|
3991
4017
|
let div_data_testid_value;
|
|
@@ -4019,13 +4045,14 @@ function create_if_block$c(ctx) {
|
|
|
4019
4045
|
};
|
|
4020
4046
|
}
|
|
4021
4047
|
|
|
4022
|
-
// (
|
|
4048
|
+
// (242:4) {#each options as option, index}
|
|
4023
4049
|
function create_each_block$4(ctx) {
|
|
4024
4050
|
let li;
|
|
4025
4051
|
let t_value = (/*option*/ ctx[39].label || /*option*/ ctx[39].value) + "";
|
|
4026
4052
|
let t;
|
|
4027
4053
|
let li_id_value;
|
|
4028
4054
|
let li_aria_label_value;
|
|
4055
|
+
let li_aria_selected_value;
|
|
4029
4056
|
let li_data_testid_value;
|
|
4030
4057
|
let li_data_index_value;
|
|
4031
4058
|
let li_style_value;
|
|
@@ -4041,11 +4068,16 @@ function create_each_block$4(ctx) {
|
|
|
4041
4068
|
li = element("li");
|
|
4042
4069
|
t = text(t_value);
|
|
4043
4070
|
attr(li, "id", li_id_value = /*option*/ ctx[39].label);
|
|
4044
|
-
attr(li, "aria-label", li_aria_label_value = /*option*/ ctx[39].label || /*option*/ ctx[39].value);
|
|
4045
4071
|
attr(li, "role", "option");
|
|
4072
|
+
attr(li, "aria-label", li_aria_label_value = /*option*/ ctx[39].label || /*option*/ ctx[39].value);
|
|
4073
|
+
|
|
4074
|
+
attr(li, "aria-selected", li_aria_selected_value = /*_values*/ ctx[9].includes(/*option*/ ctx[39].value)
|
|
4075
|
+
? "true"
|
|
4076
|
+
: "false");
|
|
4077
|
+
|
|
4078
|
+
attr(li, "class", "goa-dropdown-option");
|
|
4046
4079
|
attr(li, "data-testid", li_data_testid_value = `${/*option*/ ctx[39].value}-dropdown-item`);
|
|
4047
4080
|
attr(li, "data-index", li_data_index_value = /*index*/ ctx[41]);
|
|
4048
|
-
attr(li, "class", "goa-dropdown-option");
|
|
4049
4081
|
attr(li, "style", li_style_value = `display: ${"block"}`);
|
|
4050
4082
|
toggle_class(li, "goa-dropdown-option--disabled", false);
|
|
4051
4083
|
toggle_class(li, "goa-dropdown-option--tabbed", /*index*/ ctx[41] === /*highlightedIndex*/ ctx[13]);
|
|
@@ -4072,6 +4104,12 @@ function create_each_block$4(ctx) {
|
|
|
4072
4104
|
attr(li, "aria-label", li_aria_label_value);
|
|
4073
4105
|
}
|
|
4074
4106
|
|
|
4107
|
+
if (dirty[0] & /*_values, options*/ 1536 && li_aria_selected_value !== (li_aria_selected_value = /*_values*/ ctx[9].includes(/*option*/ ctx[39].value)
|
|
4108
|
+
? "true"
|
|
4109
|
+
: "false")) {
|
|
4110
|
+
attr(li, "aria-selected", li_aria_selected_value);
|
|
4111
|
+
}
|
|
4112
|
+
|
|
4075
4113
|
if (dirty[0] & /*options*/ 1024 && li_data_testid_value !== (li_data_testid_value = `${/*option*/ ctx[39].value}-dropdown-item`)) {
|
|
4076
4114
|
attr(li, "data-testid", li_data_testid_value);
|
|
4077
4115
|
}
|
|
@@ -4092,7 +4130,7 @@ function create_each_block$4(ctx) {
|
|
|
4092
4130
|
};
|
|
4093
4131
|
}
|
|
4094
4132
|
|
|
4095
|
-
function create_fragment$
|
|
4133
|
+
function create_fragment$r(ctx) {
|
|
4096
4134
|
let div1;
|
|
4097
4135
|
let t0;
|
|
4098
4136
|
let div0;
|
|
@@ -4233,7 +4271,7 @@ function create_fragment$q(ctx) {
|
|
|
4233
4271
|
attr(div0, "data-testid", div0_data_testid_value);
|
|
4234
4272
|
}
|
|
4235
4273
|
|
|
4236
|
-
if (dirty[0] & /*options,
|
|
4274
|
+
if (dirty[0] & /*options, _values, highlightedIndex, onSelect*/ 534016) {
|
|
4237
4275
|
each_value = /*options*/ ctx[10];
|
|
4238
4276
|
let i;
|
|
4239
4277
|
|
|
@@ -4292,7 +4330,7 @@ function create_fragment$q(ctx) {
|
|
|
4292
4330
|
|
|
4293
4331
|
const MAX_HEIGHT = "300px";
|
|
4294
4332
|
|
|
4295
|
-
function instance$
|
|
4333
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
4296
4334
|
let _disabled;
|
|
4297
4335
|
let _multiselect;
|
|
4298
4336
|
let { name } = $$props;
|
|
@@ -4436,7 +4474,7 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
|
4436
4474
|
}
|
|
4437
4475
|
|
|
4438
4476
|
// Event handlers
|
|
4439
|
-
function onSelect(val, label) {
|
|
4477
|
+
function onSelect(val, label, close) {
|
|
4440
4478
|
if (_disabled) return;
|
|
4441
4479
|
$$invalidate(11, selectedLabel = label);
|
|
4442
4480
|
|
|
@@ -4458,7 +4496,9 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
|
4458
4496
|
}));
|
|
4459
4497
|
}
|
|
4460
4498
|
|
|
4461
|
-
|
|
4499
|
+
if (close) {
|
|
4500
|
+
closeMenu();
|
|
4501
|
+
}
|
|
4462
4502
|
}
|
|
4463
4503
|
|
|
4464
4504
|
const onInputKeyDown = e => {
|
|
@@ -4483,20 +4523,22 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
|
4483
4523
|
function onMenuKeyDown(e) {
|
|
4484
4524
|
switch (e.key) {
|
|
4485
4525
|
case "ArrowUp":
|
|
4486
|
-
if (highlightedIndex
|
|
4487
|
-
$$invalidate(13, highlightedIndex = options.length - 1);
|
|
4488
|
-
} else {
|
|
4526
|
+
if (highlightedIndex > 0) {
|
|
4489
4527
|
$$invalidate(13, highlightedIndex--, highlightedIndex);
|
|
4528
|
+
onSelect(options[highlightedIndex].value, options[highlightedIndex].label, false);
|
|
4490
4529
|
}
|
|
4491
4530
|
e.preventDefault();
|
|
4492
4531
|
break;
|
|
4493
4532
|
case "ArrowDown":
|
|
4494
|
-
|
|
4533
|
+
if (highlightedIndex < options.length - 1) {
|
|
4534
|
+
$$invalidate(13, highlightedIndex++, highlightedIndex);
|
|
4535
|
+
onSelect(options[highlightedIndex].value, options[highlightedIndex].label, false);
|
|
4536
|
+
}
|
|
4495
4537
|
e.preventDefault();
|
|
4496
4538
|
break;
|
|
4497
4539
|
case "Tab":
|
|
4498
4540
|
case "Enter":
|
|
4499
|
-
|
|
4541
|
+
closeMenu();
|
|
4500
4542
|
e.preventDefault();
|
|
4501
4543
|
break;
|
|
4502
4544
|
case "Escape":
|
|
@@ -4510,7 +4552,7 @@ function instance$o($$self, $$props, $$invalidate) {
|
|
|
4510
4552
|
$$invalidate(13, highlightedIndex = Number(e.target.dataset.index));
|
|
4511
4553
|
}
|
|
4512
4554
|
|
|
4513
|
-
const click_handler = option => onSelect(option.value, option.label);
|
|
4555
|
+
const click_handler = option => onSelect(option.value, option.label, true);
|
|
4514
4556
|
|
|
4515
4557
|
function ul_binding($$value) {
|
|
4516
4558
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
@@ -4591,8 +4633,8 @@ class Dropdown extends SvelteElement {
|
|
|
4591
4633
|
props: attribute_to_object(this.attributes),
|
|
4592
4634
|
customElement: true
|
|
4593
4635
|
},
|
|
4594
|
-
instance$
|
|
4595
|
-
create_fragment$
|
|
4636
|
+
instance$p,
|
|
4637
|
+
create_fragment$r,
|
|
4596
4638
|
safe_not_equal,
|
|
4597
4639
|
{
|
|
4598
4640
|
name: 0,
|
|
@@ -4743,7 +4785,7 @@ customElements.define("goa-dropdown", Dropdown);
|
|
|
4743
4785
|
|
|
4744
4786
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.49.0 */
|
|
4745
4787
|
|
|
4746
|
-
function create_fragment$
|
|
4788
|
+
function create_fragment$q(ctx) {
|
|
4747
4789
|
return {
|
|
4748
4790
|
c() {
|
|
4749
4791
|
this.c = noop;
|
|
@@ -4756,7 +4798,7 @@ function create_fragment$p(ctx) {
|
|
|
4756
4798
|
};
|
|
4757
4799
|
}
|
|
4758
4800
|
|
|
4759
|
-
function instance$
|
|
4801
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
4760
4802
|
let { name = "" } = $$props;
|
|
4761
4803
|
let { value = "" } = $$props;
|
|
4762
4804
|
let { label = "" } = $$props;
|
|
@@ -4803,8 +4845,8 @@ class DropdownItem extends SvelteElement {
|
|
|
4803
4845
|
props: attribute_to_object(this.attributes),
|
|
4804
4846
|
customElement: true
|
|
4805
4847
|
},
|
|
4806
|
-
instance$
|
|
4807
|
-
create_fragment$
|
|
4848
|
+
instance$o,
|
|
4849
|
+
create_fragment$q,
|
|
4808
4850
|
safe_not_equal,
|
|
4809
4851
|
{ name: 0, value: 1, label: 2 },
|
|
4810
4852
|
null
|
|
@@ -4858,7 +4900,7 @@ customElements.define("goa-dropdown-item", DropdownItem);
|
|
|
4858
4900
|
|
|
4859
4901
|
/* libs/web-components/src/components/flex-column/FlexColumn.svelte generated by Svelte v3.49.0 */
|
|
4860
4902
|
|
|
4861
|
-
function create_fragment$
|
|
4903
|
+
function create_fragment$p(ctx) {
|
|
4862
4904
|
let div;
|
|
4863
4905
|
let slot;
|
|
4864
4906
|
|
|
@@ -4887,7 +4929,7 @@ function create_fragment$o(ctx) {
|
|
|
4887
4929
|
};
|
|
4888
4930
|
}
|
|
4889
4931
|
|
|
4890
|
-
function instance$
|
|
4932
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
4891
4933
|
let _gap;
|
|
4892
4934
|
let { gap = "" } = $$props;
|
|
4893
4935
|
|
|
@@ -4920,8 +4962,8 @@ class FlexColumn extends SvelteElement {
|
|
|
4920
4962
|
props: attribute_to_object(this.attributes),
|
|
4921
4963
|
customElement: true
|
|
4922
4964
|
},
|
|
4923
|
-
instance$
|
|
4924
|
-
create_fragment$
|
|
4965
|
+
instance$n,
|
|
4966
|
+
create_fragment$p,
|
|
4925
4967
|
safe_not_equal,
|
|
4926
4968
|
{ gap: 1 },
|
|
4927
4969
|
null
|
|
@@ -4957,7 +4999,7 @@ customElements.define("goa-flex-col", FlexColumn);
|
|
|
4957
4999
|
|
|
4958
5000
|
/* libs/web-components/src/components/flex-row/FlexRow.svelte generated by Svelte v3.49.0 */
|
|
4959
5001
|
|
|
4960
|
-
function create_fragment$
|
|
5002
|
+
function create_fragment$o(ctx) {
|
|
4961
5003
|
let div;
|
|
4962
5004
|
let slot;
|
|
4963
5005
|
|
|
@@ -4986,7 +5028,7 @@ function create_fragment$n(ctx) {
|
|
|
4986
5028
|
};
|
|
4987
5029
|
}
|
|
4988
5030
|
|
|
4989
|
-
function instance$
|
|
5031
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
4990
5032
|
let _gap;
|
|
4991
5033
|
let { gap = "" } = $$props;
|
|
4992
5034
|
|
|
@@ -5019,8 +5061,8 @@ class FlexRow extends SvelteElement {
|
|
|
5019
5061
|
props: attribute_to_object(this.attributes),
|
|
5020
5062
|
customElement: true
|
|
5021
5063
|
},
|
|
5022
|
-
instance$
|
|
5023
|
-
create_fragment$
|
|
5064
|
+
instance$m,
|
|
5065
|
+
create_fragment$o,
|
|
5024
5066
|
safe_not_equal,
|
|
5025
5067
|
{ gap: 1 },
|
|
5026
5068
|
null
|
|
@@ -5056,7 +5098,7 @@ customElements.define("goa-flex-row", FlexRow);
|
|
|
5056
5098
|
|
|
5057
5099
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.49.0 */
|
|
5058
5100
|
|
|
5059
|
-
function create_fragment$
|
|
5101
|
+
function create_fragment$n(ctx) {
|
|
5060
5102
|
let div;
|
|
5061
5103
|
|
|
5062
5104
|
return {
|
|
@@ -5102,7 +5144,7 @@ function isFocusable(element) {
|
|
|
5102
5144
|
}
|
|
5103
5145
|
}
|
|
5104
5146
|
|
|
5105
|
-
function instance$
|
|
5147
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
5106
5148
|
let isActive;
|
|
5107
5149
|
let { active } = $$props;
|
|
5108
5150
|
let ignoreFocusChanges = false;
|
|
@@ -5278,8 +5320,8 @@ class FocusTrap extends SvelteElement {
|
|
|
5278
5320
|
props: attribute_to_object(this.attributes),
|
|
5279
5321
|
customElement: true
|
|
5280
5322
|
},
|
|
5281
|
-
instance$
|
|
5282
|
-
create_fragment$
|
|
5323
|
+
instance$l,
|
|
5324
|
+
create_fragment$n,
|
|
5283
5325
|
safe_not_equal,
|
|
5284
5326
|
{ active: 1 },
|
|
5285
5327
|
null
|
|
@@ -5354,7 +5396,7 @@ function create_each_block$3(ctx) {
|
|
|
5354
5396
|
};
|
|
5355
5397
|
}
|
|
5356
5398
|
|
|
5357
|
-
function create_fragment$
|
|
5399
|
+
function create_fragment$m(ctx) {
|
|
5358
5400
|
let section;
|
|
5359
5401
|
let div;
|
|
5360
5402
|
let t;
|
|
@@ -5427,7 +5469,7 @@ function create_fragment$l(ctx) {
|
|
|
5427
5469
|
};
|
|
5428
5470
|
}
|
|
5429
5471
|
|
|
5430
|
-
function instance$
|
|
5472
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
5431
5473
|
let rootEl;
|
|
5432
5474
|
let children = [];
|
|
5433
5475
|
|
|
@@ -5471,8 +5513,8 @@ class FooterMetaSection extends SvelteElement {
|
|
|
5471
5513
|
props: attribute_to_object(this.attributes),
|
|
5472
5514
|
customElement: true
|
|
5473
5515
|
},
|
|
5474
|
-
instance$
|
|
5475
|
-
create_fragment$
|
|
5516
|
+
instance$k,
|
|
5517
|
+
create_fragment$m,
|
|
5476
5518
|
safe_not_equal,
|
|
5477
5519
|
{},
|
|
5478
5520
|
null
|
|
@@ -5562,7 +5604,7 @@ function create_each_block$2(ctx) {
|
|
|
5562
5604
|
};
|
|
5563
5605
|
}
|
|
5564
5606
|
|
|
5565
|
-
function create_fragment$
|
|
5607
|
+
function create_fragment$l(ctx) {
|
|
5566
5608
|
let section;
|
|
5567
5609
|
let t0;
|
|
5568
5610
|
let div;
|
|
@@ -5677,7 +5719,7 @@ function create_fragment$k(ctx) {
|
|
|
5677
5719
|
};
|
|
5678
5720
|
}
|
|
5679
5721
|
|
|
5680
|
-
function instance$
|
|
5722
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
5681
5723
|
let { name = "" } = $$props;
|
|
5682
5724
|
let { maxcolumncount = 1 } = $$props;
|
|
5683
5725
|
let rootEl;
|
|
@@ -5742,8 +5784,8 @@ class FooterNavSection extends SvelteElement {
|
|
|
5742
5784
|
props: attribute_to_object(this.attributes),
|
|
5743
5785
|
customElement: true
|
|
5744
5786
|
},
|
|
5745
|
-
instance$
|
|
5746
|
-
create_fragment$
|
|
5787
|
+
instance$j,
|
|
5788
|
+
create_fragment$l,
|
|
5747
5789
|
safe_not_equal,
|
|
5748
5790
|
{ name: 0, maxcolumncount: 1 },
|
|
5749
5791
|
null
|
|
@@ -5805,7 +5847,8 @@ function create_if_block$a(ctx) {
|
|
|
5805
5847
|
};
|
|
5806
5848
|
}
|
|
5807
5849
|
|
|
5808
|
-
function create_fragment$
|
|
5850
|
+
function create_fragment$k(ctx) {
|
|
5851
|
+
let div5;
|
|
5809
5852
|
let div4;
|
|
5810
5853
|
let div0;
|
|
5811
5854
|
let t0;
|
|
@@ -5817,10 +5860,12 @@ function create_fragment$j(ctx) {
|
|
|
5817
5860
|
let a0;
|
|
5818
5861
|
let t3;
|
|
5819
5862
|
let a1;
|
|
5820
|
-
let
|
|
5863
|
+
let div5_style_value;
|
|
5864
|
+
let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$a();
|
|
5821
5865
|
|
|
5822
5866
|
return {
|
|
5823
5867
|
c() {
|
|
5868
|
+
div5 = element("div");
|
|
5824
5869
|
div4 = element("div");
|
|
5825
5870
|
div0 = element("div");
|
|
5826
5871
|
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
@@ -5836,7 +5881,7 @@ function create_fragment$j(ctx) {
|
|
|
5836
5881
|
a0.innerHTML = `<img alt="GoA Logo" class="logo" src="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' width='149.351' height='42' viewBox='0 0 149.351 42'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;%7D.b%7Bclip-path:url(%23a);%7D.c%7Bfill:%2300aad2;%7D.d%7Bfill:%235f6a72;%7D%3C/style%3E%3CclipPath id='a'%3E%3Crect class='a' width='149.351' height='42'/%3E%3C/clipPath%3E%3C/defs%3E%3Cg class='b'%3E%3Crect class='c' width='13.555' height='13.555' transform='translate(135.796 21.524)'/%3E%3Cpath class='d' d='M63.082,33.088c-1.383.138-2.835.277-4.357.346.553-4.357,2.835-10.373,5.671-9.405,1.66.553.761,5.671-1.314,9.059m-3.527,2.974a3.761,3.761,0,0,1-1.245,0,.851.851,0,0,0,.346-.692v-.553c.761,0,1.936-.138,3.389-.277a4.327,4.327,0,0,1-2.49,1.521M76.844,25.688c1.8-1.66,2.7-1.521,2.9-1.106.484.968-1.591,4.357-5.671,6.224a10.328,10.328,0,0,1,2.766-5.118m66.736,1.66c-.207-3.389-3.181-3.942-3.6-2.974-.138.346,1.106.207,1.106,2.628,0,3.942-4.011,9.129-9.129,9.129-5.532,0-6.985-4.357-7.261-6.432-.207-1.452.138-3.458-2.351-3.181-1.729.207-3.25,3.527-5.463,6.362-1.867,2.42-2.7,2.213-2.282.138.553-2.628,2.7-8.714,5.187-9.129,1.176-.207,1.591,1.8,2.075.553s.069-4.011-2.559-4.011c-1.8,0-3.942,1.936-5.74,4.08-1.521,1.936-9.336,13.416-12.656,10.927-1.521-1.176-1.383-5.878-.415-11.411,3.873-1.521,7.123-1.037,8.921-.138.9.415,1.037.346.622-.622-.553-1.452-3.665-3.734-8.575-2.7-.138,0-.207.069-.346.069.415-1.8.83-3.665,1.383-5.463.484-1.66,1.8-4.5-1.729-4.979-1.106-.207-.622.346-1.037,1.867-.692,2.766-1.521,6.362-2.144,10.028a19.745,19.745,0,0,0-7.538,8.091,38.59,38.59,0,0,0,.9-4.772,1.589,1.589,0,0,0-1.245-1.729c-.761-.207-1.729.138-2.628,1.452-2.144,3.043-4.841,7.815-8.99,9.82-2.974,1.452-4.288,0-4.357-2.282a9.869,9.869,0,0,0,1.521-.553c5.394-2.351,7.192-5.947,5.878-8.16-1.314-2.075-4.979-1.452-7.953,1.66a11.175,11.175,0,0,0-2.7,6.5c-1.245.277-2.628.484-4.219.692,2.49-4.08,2.282-9.613-1.383-10.581-4.288-1.106-6.432,3.043-7.331,6.5.346-3.873.9-7.745,1.591-11.549.346-1.66,1.452-4.5-2.075-4.979-1.106-.207-.968.346-.9,1.867.138,2.075-2.144,14.454-.968,19.848-1.521.484-2.144,1.66-.207,2.835,1.383.83,4.357,1.106,7.331-.346a9.3,9.3,0,0,0,2.766-2.144c1.8-.207,3.665-.553,5.394-.83.277,2.42,1.867,4.219,5.463,3.873,5.118-.484,9.682-6.777,11.411-9.82-.346,3.25-2.42,10.373,1.176,10.028,1.383-.138.83-.346.9-1.591.346-4.288,3.873-7.953,7.4-10.166-.622,5.256-.415,9.958,2.006,11.411,4.426,2.766,10.581-4.5,14.039-8.921-1.729,3.942-2.7,8.921-.138,9.682,3.043.9,5.463-4.219,8.3-8.091.346,2.766,2.213,7.607,9.682,7.607,8.022-.069,13.071-4.91,12.863-10.1m-108.3,8.645A66.439,66.439,0,0,1,27.4,32.534a59.168,59.168,0,0,0,6.777-2.974,54.453,54.453,0,0,0,1.106,6.432m20.4,3.873c-.069-.207-.622.069-1.106,0-1.452-.207-3.389-2.213-3.942-5.463-1.037-5.878-.415-11.687,1.314-20.332.346-1.66,1.452-4.5-2.075-5.048-1.106-.138-.553.415-.83,1.867C47.66,17.32,42.4,21.954,37.149,25.066,36.6,17.735,36.8,9.505,38.186,4.526c1.176-4.219,2.559-3.458.83-4.357s-3.734.277-5.325,3.458S24.839,23.89,13.221,35.439C7.273,41.317,1.879,38.274.842,37.375c-.9-.761-1.176.415-.138,1.591,4.772,5.256,11.826,2.282,14.384-.277,7.054-7.054,15.283-22.268,18.6-28.7a98.251,98.251,0,0,0,.277,16.874,50.129,50.129,0,0,1-8.3,3.181c-1.66.415-2.7,1.106-2.7,1.867s1.106,1.521,2.7,2.282c2.835,1.383,11.2,5.256,13.209,6.5,1.729,1.037,2.628.207,3.112-.9.692-1.452-1.176-2.282-2.974-2.766a60.545,60.545,0,0,1-1.66-9.267c4.219-2.628,8.437-6.086,10.788-10.443C47.522,20.916,46,33.3,49.873,38.482a5.451,5.451,0,0,0,4.564,2.213c.968-.069,1.383-.692,1.245-.83' transform='translate(-0.038 0.124)'/%3E%3C/g%3E%3C/svg%3E"/>`;
|
|
5837
5882
|
t3 = space();
|
|
5838
5883
|
a1 = element("a");
|
|
5839
|
-
a1.textContent = `© ${/*year*/ ctx[
|
|
5884
|
+
a1.textContent = `© ${/*year*/ ctx[4]} Government of Alberta`;
|
|
5840
5885
|
this.c = noop;
|
|
5841
5886
|
attr(div0, "class", "nav-links");
|
|
5842
5887
|
attr(div1, "class", "meta-links");
|
|
@@ -5844,13 +5889,16 @@ function create_fragment$j(ctx) {
|
|
|
5844
5889
|
attr(a1, "href", "https://alberta.ca");
|
|
5845
5890
|
attr(a1, "class", "goa-copyright");
|
|
5846
5891
|
attr(div2, "class", "abgov");
|
|
5847
|
-
toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[
|
|
5892
|
+
toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
|
|
5848
5893
|
attr(div3, "class", "meta-section");
|
|
5849
|
-
toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[
|
|
5850
|
-
attr(div4, "class", "
|
|
5894
|
+
toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
|
|
5895
|
+
attr(div4, "class", "content");
|
|
5896
|
+
attr(div5, "class", "app-footer");
|
|
5897
|
+
attr(div5, "style", div5_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[0] || "var(--layout-max-content-width)"}`);
|
|
5851
5898
|
},
|
|
5852
5899
|
m(target, anchor) {
|
|
5853
|
-
insert(target,
|
|
5900
|
+
insert(target, div5, anchor);
|
|
5901
|
+
append(div5, div4);
|
|
5854
5902
|
append(div4, div0);
|
|
5855
5903
|
append(div4, t0);
|
|
5856
5904
|
if (if_block) if_block.m(div4, null);
|
|
@@ -5862,10 +5910,10 @@ function create_fragment$j(ctx) {
|
|
|
5862
5910
|
append(div2, a0);
|
|
5863
5911
|
append(div2, t3);
|
|
5864
5912
|
append(div2, a1);
|
|
5865
|
-
/*
|
|
5913
|
+
/*div5_binding*/ ctx[5](div5);
|
|
5866
5914
|
},
|
|
5867
5915
|
p(ctx, [dirty]) {
|
|
5868
|
-
if (/*navLinks*/ ctx[
|
|
5916
|
+
if (/*navLinks*/ ctx[2]?.length) {
|
|
5869
5917
|
if (if_block) ; else {
|
|
5870
5918
|
if_block = create_if_block$a();
|
|
5871
5919
|
if_block.c();
|
|
@@ -5876,25 +5924,30 @@ function create_fragment$j(ctx) {
|
|
|
5876
5924
|
if_block = null;
|
|
5877
5925
|
}
|
|
5878
5926
|
|
|
5879
|
-
if (dirty & /*metaLinks*/
|
|
5880
|
-
toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[
|
|
5927
|
+
if (dirty & /*metaLinks*/ 8) {
|
|
5928
|
+
toggle_class(div2, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
|
|
5929
|
+
}
|
|
5930
|
+
|
|
5931
|
+
if (dirty & /*metaLinks*/ 8) {
|
|
5932
|
+
toggle_class(div3, "with-meta-links", /*metaLinks*/ ctx[3]?.length);
|
|
5881
5933
|
}
|
|
5882
5934
|
|
|
5883
|
-
if (dirty & /*
|
|
5884
|
-
|
|
5935
|
+
if (dirty & /*maxcontentwidth*/ 1 && div5_style_value !== (div5_style_value = `--max-content-width: ${/*maxcontentwidth*/ ctx[0] || "var(--layout-max-content-width)"}`)) {
|
|
5936
|
+
attr(div5, "style", div5_style_value);
|
|
5885
5937
|
}
|
|
5886
5938
|
},
|
|
5887
5939
|
i: noop,
|
|
5888
5940
|
o: noop,
|
|
5889
5941
|
d(detaching) {
|
|
5890
|
-
if (detaching) detach(
|
|
5942
|
+
if (detaching) detach(div5);
|
|
5891
5943
|
if (if_block) if_block.d();
|
|
5892
|
-
/*
|
|
5944
|
+
/*div5_binding*/ ctx[5](null);
|
|
5893
5945
|
}
|
|
5894
5946
|
};
|
|
5895
5947
|
}
|
|
5896
5948
|
|
|
5897
|
-
function instance$
|
|
5949
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
5950
|
+
let { maxcontentwidth = "" } = $$props;
|
|
5898
5951
|
let rootEl;
|
|
5899
5952
|
let navLinks;
|
|
5900
5953
|
let metaLinks;
|
|
@@ -5904,24 +5957,28 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
5904
5957
|
await tick();
|
|
5905
5958
|
const navSlot = rootEl.querySelector("slot[name=nav]");
|
|
5906
5959
|
const metaSlot = rootEl.querySelector("slot[name=meta]");
|
|
5907
|
-
$$invalidate(
|
|
5908
|
-
$$invalidate(
|
|
5960
|
+
$$invalidate(2, navLinks = navSlot.assignedElements());
|
|
5961
|
+
$$invalidate(3, metaLinks = metaSlot.assignedElements());
|
|
5909
5962
|
});
|
|
5910
5963
|
|
|
5911
|
-
function
|
|
5964
|
+
function div5_binding($$value) {
|
|
5912
5965
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
5913
5966
|
rootEl = $$value;
|
|
5914
|
-
$$invalidate(
|
|
5967
|
+
$$invalidate(1, rootEl);
|
|
5915
5968
|
});
|
|
5916
5969
|
}
|
|
5917
5970
|
|
|
5918
|
-
|
|
5971
|
+
$$self.$$set = $$props => {
|
|
5972
|
+
if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
|
|
5973
|
+
};
|
|
5974
|
+
|
|
5975
|
+
return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
|
|
5919
5976
|
}
|
|
5920
5977
|
|
|
5921
5978
|
class Footer extends SvelteElement {
|
|
5922
5979
|
constructor(options) {
|
|
5923
5980
|
super();
|
|
5924
|
-
this.shadowRoot.innerHTML = `<style
|
|
5981
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.app-footer{background-color:var(--color-gray-100);border-top:2px solid var(--color-gray-200);border-bottom:1rem solid var(--goa-color-brand)}.content{padding:2rem 1rem;margin:0 auto;width:min(var(--max-content-width), 100vw)}@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>`;
|
|
5925
5982
|
|
|
5926
5983
|
init(
|
|
5927
5984
|
this,
|
|
@@ -5930,10 +5987,10 @@ class Footer extends SvelteElement {
|
|
|
5930
5987
|
props: attribute_to_object(this.attributes),
|
|
5931
5988
|
customElement: true
|
|
5932
5989
|
},
|
|
5933
|
-
instance$
|
|
5934
|
-
create_fragment$
|
|
5990
|
+
instance$i,
|
|
5991
|
+
create_fragment$k,
|
|
5935
5992
|
safe_not_equal,
|
|
5936
|
-
{},
|
|
5993
|
+
{ maxcontentwidth: 0 },
|
|
5937
5994
|
null
|
|
5938
5995
|
);
|
|
5939
5996
|
|
|
@@ -5941,8 +5998,26 @@ class Footer extends SvelteElement {
|
|
|
5941
5998
|
if (options.target) {
|
|
5942
5999
|
insert(options.target, this, options.anchor);
|
|
5943
6000
|
}
|
|
6001
|
+
|
|
6002
|
+
if (options.props) {
|
|
6003
|
+
this.$set(options.props);
|
|
6004
|
+
flush();
|
|
6005
|
+
}
|
|
5944
6006
|
}
|
|
5945
6007
|
}
|
|
6008
|
+
|
|
6009
|
+
static get observedAttributes() {
|
|
6010
|
+
return ["maxcontentwidth"];
|
|
6011
|
+
}
|
|
6012
|
+
|
|
6013
|
+
get maxcontentwidth() {
|
|
6014
|
+
return this.$$.ctx[0];
|
|
6015
|
+
}
|
|
6016
|
+
|
|
6017
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
6018
|
+
this.$$set({ maxcontentwidth });
|
|
6019
|
+
flush();
|
|
6020
|
+
}
|
|
5946
6021
|
}
|
|
5947
6022
|
|
|
5948
6023
|
customElements.define("goa-app-footer", Footer);
|
|
@@ -6056,7 +6131,7 @@ function create_if_block$9(ctx) {
|
|
|
6056
6131
|
};
|
|
6057
6132
|
}
|
|
6058
6133
|
|
|
6059
|
-
function create_fragment$
|
|
6134
|
+
function create_fragment$j(ctx) {
|
|
6060
6135
|
let div1;
|
|
6061
6136
|
let t0;
|
|
6062
6137
|
let div0;
|
|
@@ -6142,7 +6217,7 @@ function create_fragment$i(ctx) {
|
|
|
6142
6217
|
};
|
|
6143
6218
|
}
|
|
6144
6219
|
|
|
6145
|
-
function instance$
|
|
6220
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
6146
6221
|
let isOptional;
|
|
6147
6222
|
let { label = "" } = $$props;
|
|
6148
6223
|
let { helptext = "" } = $$props;
|
|
@@ -6177,8 +6252,8 @@ class FormItem extends SvelteElement {
|
|
|
6177
6252
|
props: attribute_to_object(this.attributes),
|
|
6178
6253
|
customElement: true
|
|
6179
6254
|
},
|
|
6180
|
-
instance$
|
|
6181
|
-
create_fragment$
|
|
6255
|
+
instance$h,
|
|
6256
|
+
create_fragment$j,
|
|
6182
6257
|
safe_not_equal,
|
|
6183
6258
|
{
|
|
6184
6259
|
label: 0,
|
|
@@ -6246,7 +6321,7 @@ customElements.define("goa-form-item", FormItem);
|
|
|
6246
6321
|
|
|
6247
6322
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.49.0 */
|
|
6248
6323
|
|
|
6249
|
-
function create_fragment$
|
|
6324
|
+
function create_fragment$i(ctx) {
|
|
6250
6325
|
let div1;
|
|
6251
6326
|
let goa_page_block;
|
|
6252
6327
|
let h1;
|
|
@@ -6304,7 +6379,7 @@ function create_fragment$h(ctx) {
|
|
|
6304
6379
|
};
|
|
6305
6380
|
}
|
|
6306
6381
|
|
|
6307
|
-
function instance$
|
|
6382
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
6308
6383
|
let { heading } = $$props;
|
|
6309
6384
|
let { backgroundurl } = $$props;
|
|
6310
6385
|
|
|
@@ -6328,8 +6403,8 @@ class HeroBanner extends SvelteElement {
|
|
|
6328
6403
|
props: attribute_to_object(this.attributes),
|
|
6329
6404
|
customElement: true
|
|
6330
6405
|
},
|
|
6331
|
-
instance$
|
|
6332
|
-
create_fragment$
|
|
6406
|
+
instance$g,
|
|
6407
|
+
create_fragment$i,
|
|
6333
6408
|
safe_not_equal,
|
|
6334
6409
|
{ heading: 0, backgroundurl: 1 },
|
|
6335
6410
|
null
|
|
@@ -6374,7 +6449,7 @@ customElements.define("goa-hero-banner", HeroBanner);
|
|
|
6374
6449
|
|
|
6375
6450
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.49.0 */
|
|
6376
6451
|
|
|
6377
|
-
function create_fragment$
|
|
6452
|
+
function create_fragment$h(ctx) {
|
|
6378
6453
|
let button;
|
|
6379
6454
|
let goa_icon;
|
|
6380
6455
|
let mounted;
|
|
@@ -6460,7 +6535,7 @@ function handleClick(e) {
|
|
|
6460
6535
|
e.target.dispatchEvent(new CustomEvent("_click", { composed: true, detail: { event: e } }));
|
|
6461
6536
|
}
|
|
6462
6537
|
|
|
6463
|
-
function instance$
|
|
6538
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
6464
6539
|
let css;
|
|
6465
6540
|
let isDisabled;
|
|
6466
6541
|
let isInverted;
|
|
@@ -6536,8 +6611,8 @@ class IconButton extends SvelteElement {
|
|
|
6536
6611
|
props: attribute_to_object(this.attributes),
|
|
6537
6612
|
customElement: true
|
|
6538
6613
|
},
|
|
6539
|
-
instance$
|
|
6540
|
-
create_fragment$
|
|
6614
|
+
instance$f,
|
|
6615
|
+
create_fragment$h,
|
|
6541
6616
|
safe_not_equal,
|
|
6542
6617
|
{
|
|
6543
6618
|
type: 0,
|
|
@@ -6682,7 +6757,7 @@ function create_if_block$8(ctx) {
|
|
|
6682
6757
|
};
|
|
6683
6758
|
}
|
|
6684
6759
|
|
|
6685
|
-
function create_fragment$
|
|
6760
|
+
function create_fragment$g(ctx) {
|
|
6686
6761
|
let div;
|
|
6687
6762
|
let div_data_testid_value;
|
|
6688
6763
|
let div_style_value;
|
|
@@ -6754,7 +6829,7 @@ function create_fragment$f(ctx) {
|
|
|
6754
6829
|
};
|
|
6755
6830
|
}
|
|
6756
6831
|
|
|
6757
|
-
function instance$
|
|
6832
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
6758
6833
|
let isInverted;
|
|
6759
6834
|
let _size;
|
|
6760
6835
|
let { type } = $$props;
|
|
@@ -6817,8 +6892,8 @@ class Icon extends SvelteElement {
|
|
|
6817
6892
|
props: attribute_to_object(this.attributes),
|
|
6818
6893
|
customElement: true
|
|
6819
6894
|
},
|
|
6820
|
-
instance$
|
|
6821
|
-
create_fragment$
|
|
6895
|
+
instance$e,
|
|
6896
|
+
create_fragment$g,
|
|
6822
6897
|
safe_not_equal,
|
|
6823
6898
|
{
|
|
6824
6899
|
type: 0,
|
|
@@ -7177,7 +7252,7 @@ function create_if_block_1$5(ctx) {
|
|
|
7177
7252
|
};
|
|
7178
7253
|
}
|
|
7179
7254
|
|
|
7180
|
-
function create_fragment$
|
|
7255
|
+
function create_fragment$f(ctx) {
|
|
7181
7256
|
let div1;
|
|
7182
7257
|
let div0;
|
|
7183
7258
|
let t0;
|
|
@@ -7451,7 +7526,7 @@ function doClick() {
|
|
|
7451
7526
|
this.dispatchEvent(new CustomEvent("_trailingIconClick", { composed: true }));
|
|
7452
7527
|
}
|
|
7453
7528
|
|
|
7454
|
-
function instance$
|
|
7529
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
7455
7530
|
let handlesTrailingIconClick;
|
|
7456
7531
|
let isFocused;
|
|
7457
7532
|
let isReadonly;
|
|
@@ -7618,8 +7693,8 @@ class Input extends SvelteElement {
|
|
|
7618
7693
|
props: attribute_to_object(this.attributes),
|
|
7619
7694
|
customElement: true
|
|
7620
7695
|
},
|
|
7621
|
-
instance$
|
|
7622
|
-
create_fragment$
|
|
7696
|
+
instance$d,
|
|
7697
|
+
create_fragment$f,
|
|
7623
7698
|
safe_not_equal,
|
|
7624
7699
|
{
|
|
7625
7700
|
type: 1,
|
|
@@ -8058,7 +8133,7 @@ function create_if_block$6(ctx) {
|
|
|
8058
8133
|
};
|
|
8059
8134
|
}
|
|
8060
8135
|
|
|
8061
|
-
function create_fragment$
|
|
8136
|
+
function create_fragment$e(ctx) {
|
|
8062
8137
|
let header;
|
|
8063
8138
|
let t0;
|
|
8064
8139
|
let show_if = ["alpha", "beta"].includes(/*type*/ ctx[0]);
|
|
@@ -8149,7 +8224,7 @@ function capitalize(val) {
|
|
|
8149
8224
|
return val[0].toUpperCase() + val.slice(1);
|
|
8150
8225
|
}
|
|
8151
8226
|
|
|
8152
|
-
function instance$
|
|
8227
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
8153
8228
|
let { type } = $$props;
|
|
8154
8229
|
let { version } = $$props;
|
|
8155
8230
|
let { feedbackurl } = $$props;
|
|
@@ -8175,8 +8250,8 @@ class MicrositeHeader extends SvelteElement {
|
|
|
8175
8250
|
props: attribute_to_object(this.attributes),
|
|
8176
8251
|
customElement: true
|
|
8177
8252
|
},
|
|
8178
|
-
instance$
|
|
8179
|
-
create_fragment$
|
|
8253
|
+
instance$c,
|
|
8254
|
+
create_fragment$e,
|
|
8180
8255
|
safe_not_equal,
|
|
8181
8256
|
{ type: 0, version: 1, feedbackurl: 2 },
|
|
8182
8257
|
null
|
|
@@ -8520,7 +8595,7 @@ function create_if_block_1$3(ctx) {
|
|
|
8520
8595
|
};
|
|
8521
8596
|
}
|
|
8522
8597
|
|
|
8523
|
-
function create_fragment$
|
|
8598
|
+
function create_fragment$d(ctx) {
|
|
8524
8599
|
let if_block_anchor;
|
|
8525
8600
|
let current;
|
|
8526
8601
|
let if_block = /*isOpen*/ ctx[5] && create_if_block$5(ctx);
|
|
@@ -8576,7 +8651,7 @@ function create_fragment$c(ctx) {
|
|
|
8576
8651
|
};
|
|
8577
8652
|
}
|
|
8578
8653
|
|
|
8579
|
-
function instance$
|
|
8654
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
8580
8655
|
let isClosable;
|
|
8581
8656
|
let isScrollable;
|
|
8582
8657
|
let isOpen;
|
|
@@ -8657,8 +8732,8 @@ class Modal extends SvelteElement {
|
|
|
8657
8732
|
props: attribute_to_object(this.attributes),
|
|
8658
8733
|
customElement: true
|
|
8659
8734
|
},
|
|
8660
|
-
instance$
|
|
8661
|
-
create_fragment$
|
|
8735
|
+
instance$b,
|
|
8736
|
+
create_fragment$d,
|
|
8662
8737
|
safe_not_equal,
|
|
8663
8738
|
{
|
|
8664
8739
|
heading: 0,
|
|
@@ -8830,7 +8905,7 @@ function create_if_block$4(ctx) {
|
|
|
8830
8905
|
};
|
|
8831
8906
|
}
|
|
8832
8907
|
|
|
8833
|
-
function create_fragment$
|
|
8908
|
+
function create_fragment$c(ctx) {
|
|
8834
8909
|
let if_block_anchor;
|
|
8835
8910
|
let current;
|
|
8836
8911
|
let if_block = /*show*/ ctx[1] && create_if_block$4(ctx);
|
|
@@ -8886,7 +8961,7 @@ function create_fragment$b(ctx) {
|
|
|
8886
8961
|
};
|
|
8887
8962
|
}
|
|
8888
8963
|
|
|
8889
|
-
function instance$
|
|
8964
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
8890
8965
|
let iconType;
|
|
8891
8966
|
let { type } = $$props;
|
|
8892
8967
|
let show = true;
|
|
@@ -8926,8 +9001,8 @@ class Notification extends SvelteElement {
|
|
|
8926
9001
|
props: attribute_to_object(this.attributes),
|
|
8927
9002
|
customElement: true
|
|
8928
9003
|
},
|
|
8929
|
-
instance$
|
|
8930
|
-
create_fragment$
|
|
9004
|
+
instance$a,
|
|
9005
|
+
create_fragment$c,
|
|
8931
9006
|
safe_not_equal,
|
|
8932
9007
|
{ type: 0 },
|
|
8933
9008
|
null
|
|
@@ -8968,7 +9043,7 @@ function isValidDimension(value) {
|
|
|
8968
9043
|
|
|
8969
9044
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.49.0 */
|
|
8970
9045
|
|
|
8971
|
-
function create_fragment$
|
|
9046
|
+
function create_fragment$b(ctx) {
|
|
8972
9047
|
let div;
|
|
8973
9048
|
let slot;
|
|
8974
9049
|
let div_style_value;
|
|
@@ -8998,7 +9073,7 @@ function create_fragment$a(ctx) {
|
|
|
8998
9073
|
};
|
|
8999
9074
|
}
|
|
9000
9075
|
|
|
9001
|
-
function instance$
|
|
9076
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
9002
9077
|
const Sizes = { "full": "100%" };
|
|
9003
9078
|
let { width } = $$props;
|
|
9004
9079
|
let { _width } = $$props;
|
|
@@ -9037,8 +9112,8 @@ class PageBlock extends SvelteElement {
|
|
|
9037
9112
|
props: attribute_to_object(this.attributes),
|
|
9038
9113
|
customElement: true
|
|
9039
9114
|
},
|
|
9040
|
-
instance$
|
|
9041
|
-
create_fragment$
|
|
9115
|
+
instance$9,
|
|
9116
|
+
create_fragment$b,
|
|
9042
9117
|
safe_not_equal,
|
|
9043
9118
|
{ width: 1, _width: 0 },
|
|
9044
9119
|
null
|
|
@@ -9193,7 +9268,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
9193
9268
|
};
|
|
9194
9269
|
}
|
|
9195
9270
|
|
|
9196
|
-
function create_fragment$
|
|
9271
|
+
function create_fragment$a(ctx) {
|
|
9197
9272
|
let div;
|
|
9198
9273
|
let slot;
|
|
9199
9274
|
let t;
|
|
@@ -9262,7 +9337,7 @@ function create_fragment$9(ctx) {
|
|
|
9262
9337
|
};
|
|
9263
9338
|
}
|
|
9264
9339
|
|
|
9265
|
-
function instance$
|
|
9340
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
9266
9341
|
let isDisabled;
|
|
9267
9342
|
let { name } = $$props;
|
|
9268
9343
|
let { value } = $$props;
|
|
@@ -9377,8 +9452,8 @@ class RadioGroup extends SvelteElement {
|
|
|
9377
9452
|
props: attribute_to_object(this.attributes),
|
|
9378
9453
|
customElement: true
|
|
9379
9454
|
},
|
|
9380
|
-
instance$
|
|
9381
|
-
create_fragment$
|
|
9455
|
+
instance$8,
|
|
9456
|
+
create_fragment$a,
|
|
9382
9457
|
safe_not_equal,
|
|
9383
9458
|
{
|
|
9384
9459
|
name: 1,
|
|
@@ -9466,7 +9541,7 @@ customElements.define("goa-radio-group", RadioGroup);
|
|
|
9466
9541
|
|
|
9467
9542
|
/* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.49.0 */
|
|
9468
9543
|
|
|
9469
|
-
function create_fragment$
|
|
9544
|
+
function create_fragment$9(ctx) {
|
|
9470
9545
|
return {
|
|
9471
9546
|
c() {
|
|
9472
9547
|
this.c = noop;
|
|
@@ -9479,7 +9554,7 @@ function create_fragment$8(ctx) {
|
|
|
9479
9554
|
};
|
|
9480
9555
|
}
|
|
9481
9556
|
|
|
9482
|
-
function instance$
|
|
9557
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
9483
9558
|
let { value } = $$props;
|
|
9484
9559
|
let { label } = $$props;
|
|
9485
9560
|
let { name } = $$props;
|
|
@@ -9533,8 +9608,8 @@ class RadioItem extends SvelteElement {
|
|
|
9533
9608
|
props: attribute_to_object(this.attributes),
|
|
9534
9609
|
customElement: true
|
|
9535
9610
|
},
|
|
9536
|
-
instance$
|
|
9537
|
-
create_fragment$
|
|
9611
|
+
instance$7,
|
|
9612
|
+
create_fragment$9,
|
|
9538
9613
|
safe_not_equal,
|
|
9539
9614
|
{ value: 0, label: 1, name: 2 },
|
|
9540
9615
|
null
|
|
@@ -9588,7 +9663,7 @@ customElements.define("goa-radio-item", RadioItem);
|
|
|
9588
9663
|
|
|
9589
9664
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.49.0 */
|
|
9590
9665
|
|
|
9591
|
-
function create_fragment$
|
|
9666
|
+
function create_fragment$8(ctx) {
|
|
9592
9667
|
let div;
|
|
9593
9668
|
let slot;
|
|
9594
9669
|
let div_style_value;
|
|
@@ -9635,7 +9710,7 @@ function create_fragment$7(ctx) {
|
|
|
9635
9710
|
};
|
|
9636
9711
|
}
|
|
9637
9712
|
|
|
9638
|
-
function instance$
|
|
9713
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
9639
9714
|
let { direction = "vertical" } = $$props;
|
|
9640
9715
|
let { hpadding = 0 } = $$props;
|
|
9641
9716
|
let { vpadding = 0 } = $$props;
|
|
@@ -9663,8 +9738,8 @@ class Scrollable extends SvelteElement {
|
|
|
9663
9738
|
props: attribute_to_object(this.attributes),
|
|
9664
9739
|
customElement: true
|
|
9665
9740
|
},
|
|
9666
|
-
instance$
|
|
9667
|
-
create_fragment$
|
|
9741
|
+
instance$6,
|
|
9742
|
+
create_fragment$8,
|
|
9668
9743
|
safe_not_equal,
|
|
9669
9744
|
{
|
|
9670
9745
|
direction: 0,
|
|
@@ -10072,7 +10147,7 @@ function create_each_block(ctx) {
|
|
|
10072
10147
|
};
|
|
10073
10148
|
}
|
|
10074
10149
|
|
|
10075
|
-
function create_fragment$
|
|
10150
|
+
function create_fragment$7(ctx) {
|
|
10076
10151
|
let current_block_type_index;
|
|
10077
10152
|
let if_block;
|
|
10078
10153
|
let if_block_anchor;
|
|
@@ -10144,7 +10219,7 @@ function create_fragment$6(ctx) {
|
|
|
10144
10219
|
};
|
|
10145
10220
|
}
|
|
10146
10221
|
|
|
10147
|
-
function instance$
|
|
10222
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
10148
10223
|
let { width = 320 } = $$props;
|
|
10149
10224
|
let { size = 1 } = $$props;
|
|
10150
10225
|
let { linecount = 3 } = $$props;
|
|
@@ -10172,8 +10247,8 @@ class Skeleton extends SvelteElement {
|
|
|
10172
10247
|
props: attribute_to_object(this.attributes),
|
|
10173
10248
|
customElement: true
|
|
10174
10249
|
},
|
|
10175
|
-
instance$
|
|
10176
|
-
create_fragment$
|
|
10250
|
+
instance$5,
|
|
10251
|
+
create_fragment$7,
|
|
10177
10252
|
safe_not_equal,
|
|
10178
10253
|
{ width: 0, size: 1, linecount: 2, type: 3 },
|
|
10179
10254
|
null
|
|
@@ -10444,7 +10519,7 @@ function create_if_block$2(ctx) {
|
|
|
10444
10519
|
};
|
|
10445
10520
|
}
|
|
10446
10521
|
|
|
10447
|
-
function create_fragment$
|
|
10522
|
+
function create_fragment$6(ctx) {
|
|
10448
10523
|
let if_block_anchor;
|
|
10449
10524
|
let if_block = /*ready*/ ctx[6] && create_if_block$2(ctx);
|
|
10450
10525
|
|
|
@@ -10481,7 +10556,7 @@ function create_fragment$5(ctx) {
|
|
|
10481
10556
|
};
|
|
10482
10557
|
}
|
|
10483
10558
|
|
|
10484
|
-
function instance$
|
|
10559
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
10485
10560
|
let diameter;
|
|
10486
10561
|
let strokewidth;
|
|
10487
10562
|
let radius;
|
|
@@ -10600,8 +10675,8 @@ class Spinner extends SvelteElement {
|
|
|
10600
10675
|
props: attribute_to_object(this.attributes),
|
|
10601
10676
|
customElement: true
|
|
10602
10677
|
},
|
|
10603
|
-
instance$
|
|
10604
|
-
create_fragment$
|
|
10678
|
+
instance$4,
|
|
10679
|
+
create_fragment$6,
|
|
10605
10680
|
safe_not_equal,
|
|
10606
10681
|
{
|
|
10607
10682
|
size: 10,
|
|
@@ -10772,7 +10847,7 @@ function create_if_block_1$1(ctx) {
|
|
|
10772
10847
|
};
|
|
10773
10848
|
}
|
|
10774
10849
|
|
|
10775
|
-
function create_fragment$
|
|
10850
|
+
function create_fragment$5(ctx) {
|
|
10776
10851
|
let div;
|
|
10777
10852
|
let textarea;
|
|
10778
10853
|
let textarea_aria_label_value;
|
|
@@ -10883,7 +10958,7 @@ function create_fragment$4(ctx) {
|
|
|
10883
10958
|
};
|
|
10884
10959
|
}
|
|
10885
10960
|
|
|
10886
|
-
function instance$
|
|
10961
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
10887
10962
|
let isError;
|
|
10888
10963
|
let isDisabled;
|
|
10889
10964
|
let isReadonly;
|
|
@@ -10985,8 +11060,8 @@ class TextArea extends SvelteElement {
|
|
|
10985
11060
|
props: attribute_to_object(this.attributes),
|
|
10986
11061
|
customElement: true
|
|
10987
11062
|
},
|
|
10988
|
-
instance$
|
|
10989
|
-
create_fragment$
|
|
11063
|
+
instance$3,
|
|
11064
|
+
create_fragment$5,
|
|
10990
11065
|
safe_not_equal,
|
|
10991
11066
|
{
|
|
10992
11067
|
name: 0,
|
|
@@ -11145,6 +11220,135 @@ class TextArea extends SvelteElement {
|
|
|
11145
11220
|
|
|
11146
11221
|
customElements.define("goa-textarea", TextArea);
|
|
11147
11222
|
|
|
11223
|
+
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.49.0 */
|
|
11224
|
+
|
|
11225
|
+
function create_fragment$4(ctx) {
|
|
11226
|
+
let div;
|
|
11227
|
+
let header;
|
|
11228
|
+
let t0;
|
|
11229
|
+
let section;
|
|
11230
|
+
let t2;
|
|
11231
|
+
let footer;
|
|
11232
|
+
let div_style_value;
|
|
11233
|
+
|
|
11234
|
+
return {
|
|
11235
|
+
c() {
|
|
11236
|
+
div = element("div");
|
|
11237
|
+
header = element("header");
|
|
11238
|
+
header.innerHTML = `<slot name="header"></slot>`;
|
|
11239
|
+
t0 = space();
|
|
11240
|
+
section = element("section");
|
|
11241
|
+
|
|
11242
|
+
section.innerHTML = `<nav class="nav"><slot name="nav"></slot></nav>
|
|
11243
|
+
|
|
11244
|
+
<main><slot></slot></main>`;
|
|
11245
|
+
|
|
11246
|
+
t2 = space();
|
|
11247
|
+
footer = element("footer");
|
|
11248
|
+
footer.innerHTML = `<slot name="footer"></slot>`;
|
|
11249
|
+
this.c = noop;
|
|
11250
|
+
attr(header, "class", "header");
|
|
11251
|
+
attr(section, "class", "content");
|
|
11252
|
+
attr(footer, "class", "footer");
|
|
11253
|
+
attr(div, "class", "page");
|
|
11254
|
+
|
|
11255
|
+
attr(div, "style", div_style_value = `
|
|
11256
|
+
--max-content-width: ${/*maxcontentwidth*/ ctx[1] || "var(--layout-max-content-width)"};
|
|
11257
|
+
--nav-column-width: ${/*navcolumnwidth*/ ctx[0] || "var(--layout-nav-column-width)"};
|
|
11258
|
+
`);
|
|
11259
|
+
},
|
|
11260
|
+
m(target, anchor) {
|
|
11261
|
+
insert(target, div, anchor);
|
|
11262
|
+
append(div, header);
|
|
11263
|
+
append(div, t0);
|
|
11264
|
+
append(div, section);
|
|
11265
|
+
append(div, t2);
|
|
11266
|
+
append(div, footer);
|
|
11267
|
+
},
|
|
11268
|
+
p(ctx, [dirty]) {
|
|
11269
|
+
if (dirty & /*maxcontentwidth, navcolumnwidth*/ 3 && div_style_value !== (div_style_value = `
|
|
11270
|
+
--max-content-width: ${/*maxcontentwidth*/ ctx[1] || "var(--layout-max-content-width)"};
|
|
11271
|
+
--nav-column-width: ${/*navcolumnwidth*/ ctx[0] || "var(--layout-nav-column-width)"};
|
|
11272
|
+
`)) {
|
|
11273
|
+
attr(div, "style", div_style_value);
|
|
11274
|
+
}
|
|
11275
|
+
},
|
|
11276
|
+
i: noop,
|
|
11277
|
+
o: noop,
|
|
11278
|
+
d(detaching) {
|
|
11279
|
+
if (detaching) detach(div);
|
|
11280
|
+
}
|
|
11281
|
+
};
|
|
11282
|
+
}
|
|
11283
|
+
|
|
11284
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
11285
|
+
let { navcolumnwidth = "" } = $$props;
|
|
11286
|
+
let { maxcontentwidth = "" } = $$props;
|
|
11287
|
+
|
|
11288
|
+
$$self.$$set = $$props => {
|
|
11289
|
+
if ('navcolumnwidth' in $$props) $$invalidate(0, navcolumnwidth = $$props.navcolumnwidth);
|
|
11290
|
+
if ('maxcontentwidth' in $$props) $$invalidate(1, maxcontentwidth = $$props.maxcontentwidth);
|
|
11291
|
+
};
|
|
11292
|
+
|
|
11293
|
+
return [navcolumnwidth, maxcontentwidth];
|
|
11294
|
+
}
|
|
11295
|
+
|
|
11296
|
+
class TwoColumnLayout extends SvelteElement {
|
|
11297
|
+
constructor(options) {
|
|
11298
|
+
super();
|
|
11299
|
+
this.shadowRoot.innerHTML = `<style>*{box-sizing:border-box}.page{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>`;
|
|
11300
|
+
|
|
11301
|
+
init(
|
|
11302
|
+
this,
|
|
11303
|
+
{
|
|
11304
|
+
target: this.shadowRoot,
|
|
11305
|
+
props: attribute_to_object(this.attributes),
|
|
11306
|
+
customElement: true
|
|
11307
|
+
},
|
|
11308
|
+
instance$2,
|
|
11309
|
+
create_fragment$4,
|
|
11310
|
+
safe_not_equal,
|
|
11311
|
+
{ navcolumnwidth: 0, maxcontentwidth: 1 },
|
|
11312
|
+
null
|
|
11313
|
+
);
|
|
11314
|
+
|
|
11315
|
+
if (options) {
|
|
11316
|
+
if (options.target) {
|
|
11317
|
+
insert(options.target, this, options.anchor);
|
|
11318
|
+
}
|
|
11319
|
+
|
|
11320
|
+
if (options.props) {
|
|
11321
|
+
this.$set(options.props);
|
|
11322
|
+
flush();
|
|
11323
|
+
}
|
|
11324
|
+
}
|
|
11325
|
+
}
|
|
11326
|
+
|
|
11327
|
+
static get observedAttributes() {
|
|
11328
|
+
return ["navcolumnwidth", "maxcontentwidth"];
|
|
11329
|
+
}
|
|
11330
|
+
|
|
11331
|
+
get navcolumnwidth() {
|
|
11332
|
+
return this.$$.ctx[0];
|
|
11333
|
+
}
|
|
11334
|
+
|
|
11335
|
+
set navcolumnwidth(navcolumnwidth) {
|
|
11336
|
+
this.$$set({ navcolumnwidth });
|
|
11337
|
+
flush();
|
|
11338
|
+
}
|
|
11339
|
+
|
|
11340
|
+
get maxcontentwidth() {
|
|
11341
|
+
return this.$$.ctx[1];
|
|
11342
|
+
}
|
|
11343
|
+
|
|
11344
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
11345
|
+
this.$$set({ maxcontentwidth });
|
|
11346
|
+
flush();
|
|
11347
|
+
}
|
|
11348
|
+
}
|
|
11349
|
+
|
|
11350
|
+
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
11351
|
+
|
|
11148
11352
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.49.0 */
|
|
11149
11353
|
|
|
11150
11354
|
function create_fragment$3(ctx) {
|