@abgov/react-components 4.0.0-alpha.54 → 4.0.0-alpha.55
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +35 -34
- package/lib/app-header/app-header.d.ts +2 -0
- package/lib/footer/footer.d.ts +6 -2
- package/lib/two-column-layout/two-column-layout.d.ts +22 -0
- package/package.json +1 -1
- package/react-components.esm.js +389 -144
- package/react-components.umd.js +390 -144
package/react-components.esm.js
CHANGED
|
@@ -1060,7 +1060,7 @@ function create_else_block$4(ctx) {
|
|
|
1060
1060
|
}
|
|
1061
1061
|
|
|
1062
1062
|
};
|
|
1063
|
-
} // (
|
|
1063
|
+
} // (18:4) {#if url}
|
|
1064
1064
|
|
|
1065
1065
|
|
|
1066
1066
|
function create_if_block$j(ctx) {
|
|
@@ -1130,10 +1130,12 @@ function create_if_block$j(ctx) {
|
|
|
1130
1130
|
};
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
|
-
function create_fragment$
|
|
1133
|
+
function create_fragment$F(ctx) {
|
|
1134
|
+
let div2;
|
|
1134
1135
|
let div1;
|
|
1135
1136
|
let t;
|
|
1136
1137
|
let div0;
|
|
1138
|
+
let div2_style_value;
|
|
1137
1139
|
|
|
1138
1140
|
function select_block_type(ctx, dirty) {
|
|
1139
1141
|
if (
|
|
@@ -1146,20 +1148,26 @@ function create_fragment$E(ctx) {
|
|
|
1146
1148
|
let if_block = current_block_type(ctx);
|
|
1147
1149
|
return {
|
|
1148
1150
|
c() {
|
|
1151
|
+
div2 = element("div");
|
|
1149
1152
|
div1 = element("div");
|
|
1150
1153
|
if_block.c();
|
|
1151
1154
|
t = space();
|
|
1152
1155
|
div0 = element("div");
|
|
1153
1156
|
div0.innerHTML = `<slot></slot>`;
|
|
1154
1157
|
this.c = noop;
|
|
1155
|
-
attr(div1, "class", "
|
|
1156
|
-
attr(
|
|
1158
|
+
attr(div1, "class", "content");
|
|
1159
|
+
attr(div2, "class", "app-header");
|
|
1160
|
+
attr(div2, "data-testid",
|
|
1157
1161
|
/*testid*/
|
|
1158
1162
|
ctx[2]);
|
|
1163
|
+
attr(div2, "style", div2_style_value = `--max-content-width: ${
|
|
1164
|
+
/*maxcontentwidth*/
|
|
1165
|
+
ctx[3] || "var(--layout-max-content-width)"}`);
|
|
1159
1166
|
},
|
|
1160
1167
|
|
|
1161
1168
|
m(target, anchor) {
|
|
1162
|
-
insert(target,
|
|
1169
|
+
insert(target, div2, anchor);
|
|
1170
|
+
append(div2, div1);
|
|
1163
1171
|
if_block.m(div1, null);
|
|
1164
1172
|
append(div1, t);
|
|
1165
1173
|
append(div1, div0);
|
|
@@ -1181,24 +1189,32 @@ function create_fragment$E(ctx) {
|
|
|
1181
1189
|
if (dirty &
|
|
1182
1190
|
/*testid*/
|
|
1183
1191
|
4) {
|
|
1184
|
-
attr(
|
|
1192
|
+
attr(div2, "data-testid",
|
|
1185
1193
|
/*testid*/
|
|
1186
1194
|
ctx[2]);
|
|
1187
1195
|
}
|
|
1196
|
+
|
|
1197
|
+
if (dirty &
|
|
1198
|
+
/*maxcontentwidth*/
|
|
1199
|
+
8 && div2_style_value !== (div2_style_value = `--max-content-width: ${
|
|
1200
|
+
/*maxcontentwidth*/
|
|
1201
|
+
ctx[3] || "var(--layout-max-content-width)"}`)) {
|
|
1202
|
+
attr(div2, "style", div2_style_value);
|
|
1203
|
+
}
|
|
1188
1204
|
},
|
|
1189
1205
|
|
|
1190
1206
|
i: noop,
|
|
1191
1207
|
o: noop,
|
|
1192
1208
|
|
|
1193
1209
|
d(detaching) {
|
|
1194
|
-
if (detaching) detach(
|
|
1210
|
+
if (detaching) detach(div2);
|
|
1195
1211
|
if_block.d();
|
|
1196
1212
|
}
|
|
1197
1213
|
|
|
1198
1214
|
};
|
|
1199
1215
|
}
|
|
1200
1216
|
|
|
1201
|
-
function instance$
|
|
1217
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1202
1218
|
let {
|
|
1203
1219
|
heading = ""
|
|
1204
1220
|
} = $$props;
|
|
@@ -1208,28 +1224,33 @@ function instance$z($$self, $$props, $$invalidate) {
|
|
|
1208
1224
|
let {
|
|
1209
1225
|
testid = ""
|
|
1210
1226
|
} = $$props;
|
|
1227
|
+
let {
|
|
1228
|
+
maxcontentwidth = ""
|
|
1229
|
+
} = $$props;
|
|
1211
1230
|
|
|
1212
1231
|
$$self.$$set = $$props => {
|
|
1213
1232
|
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
1214
1233
|
if ('url' in $$props) $$invalidate(1, url = $$props.url);
|
|
1215
1234
|
if ('testid' in $$props) $$invalidate(2, testid = $$props.testid);
|
|
1235
|
+
if ('maxcontentwidth' in $$props) $$invalidate(3, maxcontentwidth = $$props.maxcontentwidth);
|
|
1216
1236
|
};
|
|
1217
1237
|
|
|
1218
|
-
return [heading, url, testid];
|
|
1238
|
+
return [heading, url, testid, maxcontentwidth];
|
|
1219
1239
|
}
|
|
1220
1240
|
|
|
1221
1241
|
class AppHeader extends SvelteElement {
|
|
1222
1242
|
constructor(options) {
|
|
1223
1243
|
super();
|
|
1224
|
-
this.shadowRoot.innerHTML = `<style
|
|
1244
|
+
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>`;
|
|
1225
1245
|
init(this, {
|
|
1226
1246
|
target: this.shadowRoot,
|
|
1227
1247
|
props: attribute_to_object(this.attributes),
|
|
1228
1248
|
customElement: true
|
|
1229
|
-
}, instance$
|
|
1249
|
+
}, instance$A, create_fragment$F, safe_not_equal, {
|
|
1230
1250
|
heading: 0,
|
|
1231
1251
|
url: 1,
|
|
1232
|
-
testid: 2
|
|
1252
|
+
testid: 2,
|
|
1253
|
+
maxcontentwidth: 3
|
|
1233
1254
|
}, null);
|
|
1234
1255
|
|
|
1235
1256
|
if (options) {
|
|
@@ -1245,7 +1266,7 @@ class AppHeader extends SvelteElement {
|
|
|
1245
1266
|
}
|
|
1246
1267
|
|
|
1247
1268
|
static get observedAttributes() {
|
|
1248
|
-
return ["heading", "url", "testid"];
|
|
1269
|
+
return ["heading", "url", "testid", "maxcontentwidth"];
|
|
1249
1270
|
}
|
|
1250
1271
|
|
|
1251
1272
|
get heading() {
|
|
@@ -1281,6 +1302,17 @@ class AppHeader extends SvelteElement {
|
|
|
1281
1302
|
flush();
|
|
1282
1303
|
}
|
|
1283
1304
|
|
|
1305
|
+
get maxcontentwidth() {
|
|
1306
|
+
return this.$$.ctx[3];
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
1310
|
+
this.$$set({
|
|
1311
|
+
maxcontentwidth
|
|
1312
|
+
});
|
|
1313
|
+
flush();
|
|
1314
|
+
}
|
|
1315
|
+
|
|
1284
1316
|
}
|
|
1285
1317
|
|
|
1286
1318
|
customElements.define("goa-app-header", AppHeader);
|
|
@@ -1387,7 +1419,7 @@ function create_if_block$i(ctx) {
|
|
|
1387
1419
|
};
|
|
1388
1420
|
}
|
|
1389
1421
|
|
|
1390
|
-
function create_fragment$
|
|
1422
|
+
function create_fragment$E(ctx) {
|
|
1391
1423
|
let div;
|
|
1392
1424
|
let t;
|
|
1393
1425
|
let div_class_value;
|
|
@@ -1499,7 +1531,7 @@ function create_fragment$D(ctx) {
|
|
|
1499
1531
|
};
|
|
1500
1532
|
}
|
|
1501
1533
|
|
|
1502
|
-
function instance$
|
|
1534
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1503
1535
|
let showIcon;
|
|
1504
1536
|
let iconType;
|
|
1505
1537
|
let {
|
|
@@ -1561,7 +1593,7 @@ class Badge extends SvelteElement {
|
|
|
1561
1593
|
target: this.shadowRoot,
|
|
1562
1594
|
props: attribute_to_object(this.attributes),
|
|
1563
1595
|
customElement: true
|
|
1564
|
-
}, instance$
|
|
1596
|
+
}, instance$z, create_fragment$E, safe_not_equal, {
|
|
1565
1597
|
type: 0,
|
|
1566
1598
|
testid: 1,
|
|
1567
1599
|
icon: 5,
|
|
@@ -1633,7 +1665,7 @@ class Badge extends SvelteElement {
|
|
|
1633
1665
|
customElements.define("goa-badge", Badge);
|
|
1634
1666
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.49.0 */
|
|
1635
1667
|
|
|
1636
|
-
function create_fragment$
|
|
1668
|
+
function create_fragment$D(ctx) {
|
|
1637
1669
|
let div;
|
|
1638
1670
|
let slot;
|
|
1639
1671
|
return {
|
|
@@ -1682,7 +1714,7 @@ function create_fragment$C(ctx) {
|
|
|
1682
1714
|
};
|
|
1683
1715
|
}
|
|
1684
1716
|
|
|
1685
|
-
function instance$
|
|
1717
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
1686
1718
|
let {
|
|
1687
1719
|
gap = "medium"
|
|
1688
1720
|
} = $$props;
|
|
@@ -1706,7 +1738,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
1706
1738
|
target: this.shadowRoot,
|
|
1707
1739
|
props: attribute_to_object(this.attributes),
|
|
1708
1740
|
customElement: true
|
|
1709
|
-
}, instance$
|
|
1741
|
+
}, instance$y, create_fragment$D, safe_not_equal, {
|
|
1710
1742
|
gap: 0,
|
|
1711
1743
|
alignment: 1
|
|
1712
1744
|
}, null);
|
|
@@ -1950,7 +1982,7 @@ function create_if_block_1$a(ctx) {
|
|
|
1950
1982
|
};
|
|
1951
1983
|
}
|
|
1952
1984
|
|
|
1953
|
-
function create_fragment$
|
|
1985
|
+
function create_fragment$C(ctx) {
|
|
1954
1986
|
let button;
|
|
1955
1987
|
let button_class_value;
|
|
1956
1988
|
let mounted;
|
|
@@ -2084,7 +2116,7 @@ function clickHandler(e) {
|
|
|
2084
2116
|
e.stopPropagation();
|
|
2085
2117
|
}
|
|
2086
2118
|
|
|
2087
|
-
function instance$
|
|
2119
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
2088
2120
|
let isDisabled;
|
|
2089
2121
|
let isButtonDark;
|
|
2090
2122
|
const BUTTON_TYPES = ["primary", "submit", "secondary", "tertiary", "start"];
|
|
@@ -2174,7 +2206,7 @@ class Button extends SvelteElement {
|
|
|
2174
2206
|
target: this.shadowRoot,
|
|
2175
2207
|
props: attribute_to_object(this.attributes),
|
|
2176
2208
|
customElement: true
|
|
2177
|
-
}, instance$
|
|
2209
|
+
}, instance$x, create_fragment$C, safe_not_equal, {
|
|
2178
2210
|
type: 0,
|
|
2179
2211
|
size: 1,
|
|
2180
2212
|
variant: 2,
|
|
@@ -2313,7 +2345,7 @@ function create_if_block$g(ctx) {
|
|
|
2313
2345
|
};
|
|
2314
2346
|
}
|
|
2315
2347
|
|
|
2316
|
-
function create_fragment$
|
|
2348
|
+
function create_fragment$B(ctx) {
|
|
2317
2349
|
let div;
|
|
2318
2350
|
let span0;
|
|
2319
2351
|
let goa_icon;
|
|
@@ -2424,7 +2456,7 @@ function create_fragment$A(ctx) {
|
|
|
2424
2456
|
};
|
|
2425
2457
|
}
|
|
2426
2458
|
|
|
2427
|
-
function instance$
|
|
2459
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
2428
2460
|
let iconType;
|
|
2429
2461
|
let {
|
|
2430
2462
|
type
|
|
@@ -2461,7 +2493,7 @@ class Callout extends SvelteElement {
|
|
|
2461
2493
|
target: this.shadowRoot,
|
|
2462
2494
|
props: attribute_to_object(this.attributes),
|
|
2463
2495
|
customElement: true
|
|
2464
|
-
}, instance$
|
|
2496
|
+
}, instance$w, create_fragment$B, safe_not_equal, {
|
|
2465
2497
|
type: 0,
|
|
2466
2498
|
heading: 1,
|
|
2467
2499
|
testid: 2
|
|
@@ -2521,7 +2553,7 @@ class Callout extends SvelteElement {
|
|
|
2521
2553
|
customElements.define("goa-callout", Callout);
|
|
2522
2554
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.49.0 */
|
|
2523
2555
|
|
|
2524
|
-
function create_fragment$
|
|
2556
|
+
function create_fragment$A(ctx) {
|
|
2525
2557
|
let goa_card_content;
|
|
2526
2558
|
return {
|
|
2527
2559
|
c() {
|
|
@@ -2552,7 +2584,7 @@ class CardActions extends SvelteElement {
|
|
|
2552
2584
|
target: this.shadowRoot,
|
|
2553
2585
|
props: attribute_to_object(this.attributes),
|
|
2554
2586
|
customElement: true
|
|
2555
|
-
}, null, create_fragment$
|
|
2587
|
+
}, null, create_fragment$A, safe_not_equal, {}, null);
|
|
2556
2588
|
|
|
2557
2589
|
if (options) {
|
|
2558
2590
|
if (options.target) {
|
|
@@ -2566,7 +2598,7 @@ class CardActions extends SvelteElement {
|
|
|
2566
2598
|
customElements.define("goa-card-actions", CardActions);
|
|
2567
2599
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.49.0 */
|
|
2568
2600
|
|
|
2569
|
-
function create_fragment$
|
|
2601
|
+
function create_fragment$z(ctx) {
|
|
2570
2602
|
let div;
|
|
2571
2603
|
return {
|
|
2572
2604
|
c() {
|
|
@@ -2599,7 +2631,7 @@ class CardContent extends SvelteElement {
|
|
|
2599
2631
|
target: this.shadowRoot,
|
|
2600
2632
|
props: attribute_to_object(this.attributes),
|
|
2601
2633
|
customElement: true
|
|
2602
|
-
}, null, create_fragment$
|
|
2634
|
+
}, null, create_fragment$z, safe_not_equal, {}, null);
|
|
2603
2635
|
|
|
2604
2636
|
if (options) {
|
|
2605
2637
|
if (options.target) {
|
|
@@ -2613,7 +2645,7 @@ class CardContent extends SvelteElement {
|
|
|
2613
2645
|
customElements.define("goa-card-content", CardContent);
|
|
2614
2646
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.49.0 */
|
|
2615
2647
|
|
|
2616
|
-
function create_fragment$
|
|
2648
|
+
function create_fragment$y(ctx) {
|
|
2617
2649
|
let div;
|
|
2618
2650
|
return {
|
|
2619
2651
|
c() {
|
|
@@ -2646,7 +2678,7 @@ class CardGroup extends SvelteElement {
|
|
|
2646
2678
|
target: this.shadowRoot,
|
|
2647
2679
|
props: attribute_to_object(this.attributes),
|
|
2648
2680
|
customElement: true
|
|
2649
|
-
}, null, create_fragment$
|
|
2681
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
2650
2682
|
|
|
2651
2683
|
if (options) {
|
|
2652
2684
|
if (options.target) {
|
|
@@ -2660,7 +2692,7 @@ class CardGroup extends SvelteElement {
|
|
|
2660
2692
|
customElements.define("goa-card-group", CardGroup);
|
|
2661
2693
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.49.0 */
|
|
2662
2694
|
|
|
2663
|
-
function create_fragment$
|
|
2695
|
+
function create_fragment$x(ctx) {
|
|
2664
2696
|
let div;
|
|
2665
2697
|
return {
|
|
2666
2698
|
c() {
|
|
@@ -2709,7 +2741,7 @@ function create_fragment$w(ctx) {
|
|
|
2709
2741
|
};
|
|
2710
2742
|
}
|
|
2711
2743
|
|
|
2712
|
-
function instance$
|
|
2744
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
2713
2745
|
let {
|
|
2714
2746
|
src
|
|
2715
2747
|
} = $$props;
|
|
@@ -2733,7 +2765,7 @@ class CardImage extends SvelteElement {
|
|
|
2733
2765
|
target: this.shadowRoot,
|
|
2734
2766
|
props: attribute_to_object(this.attributes),
|
|
2735
2767
|
customElement: true
|
|
2736
|
-
}, instance$
|
|
2768
|
+
}, instance$v, create_fragment$x, safe_not_equal, {
|
|
2737
2769
|
src: 0,
|
|
2738
2770
|
height: 1
|
|
2739
2771
|
}, null);
|
|
@@ -2781,7 +2813,7 @@ class CardImage extends SvelteElement {
|
|
|
2781
2813
|
customElements.define("goa-card-image", CardImage);
|
|
2782
2814
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.49.0 */
|
|
2783
2815
|
|
|
2784
|
-
function create_fragment$
|
|
2816
|
+
function create_fragment$w(ctx) {
|
|
2785
2817
|
let div;
|
|
2786
2818
|
let slot;
|
|
2787
2819
|
let div_style_value;
|
|
@@ -2840,7 +2872,7 @@ function create_fragment$v(ctx) {
|
|
|
2840
2872
|
};
|
|
2841
2873
|
}
|
|
2842
2874
|
|
|
2843
|
-
function instance$
|
|
2875
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
2844
2876
|
let {
|
|
2845
2877
|
elevation = 0
|
|
2846
2878
|
} = $$props;
|
|
@@ -2869,7 +2901,7 @@ class Card extends SvelteElement {
|
|
|
2869
2901
|
target: this.shadowRoot,
|
|
2870
2902
|
props: attribute_to_object(this.attributes),
|
|
2871
2903
|
customElement: true
|
|
2872
|
-
}, instance$
|
|
2904
|
+
}, instance$u, create_fragment$w, safe_not_equal, {
|
|
2873
2905
|
elevation: 0,
|
|
2874
2906
|
width: 1,
|
|
2875
2907
|
testId: 2
|
|
@@ -2983,7 +3015,7 @@ function create_if_block$f(ctx) {
|
|
|
2983
3015
|
};
|
|
2984
3016
|
}
|
|
2985
3017
|
|
|
2986
|
-
function create_fragment$
|
|
3018
|
+
function create_fragment$v(ctx) {
|
|
2987
3019
|
let label;
|
|
2988
3020
|
let div0;
|
|
2989
3021
|
let input;
|
|
@@ -3192,7 +3224,7 @@ function create_fragment$u(ctx) {
|
|
|
3192
3224
|
};
|
|
3193
3225
|
}
|
|
3194
3226
|
|
|
3195
|
-
function instance$
|
|
3227
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
3196
3228
|
let isDisabled;
|
|
3197
3229
|
let isError;
|
|
3198
3230
|
let isChecked;
|
|
@@ -3279,7 +3311,7 @@ class Checkbox extends SvelteElement {
|
|
|
3279
3311
|
target: this.shadowRoot,
|
|
3280
3312
|
props: attribute_to_object(this.attributes),
|
|
3281
3313
|
customElement: true
|
|
3282
|
-
}, instance$
|
|
3314
|
+
}, instance$t, create_fragment$v, safe_not_equal, {
|
|
3283
3315
|
name: 0,
|
|
3284
3316
|
checked: 9,
|
|
3285
3317
|
text: 1,
|
|
@@ -3477,7 +3509,7 @@ function create_if_block$e(ctx) {
|
|
|
3477
3509
|
};
|
|
3478
3510
|
}
|
|
3479
3511
|
|
|
3480
|
-
function create_fragment$
|
|
3512
|
+
function create_fragment$u(ctx) {
|
|
3481
3513
|
let div1;
|
|
3482
3514
|
let t0;
|
|
3483
3515
|
let div0;
|
|
@@ -3614,7 +3646,7 @@ function create_fragment$t(ctx) {
|
|
|
3614
3646
|
};
|
|
3615
3647
|
}
|
|
3616
3648
|
|
|
3617
|
-
function instance$
|
|
3649
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
3618
3650
|
let {
|
|
3619
3651
|
leadingicon = null
|
|
3620
3652
|
} = $$props;
|
|
@@ -3691,7 +3723,7 @@ class Chip extends SvelteElement {
|
|
|
3691
3723
|
target: this.shadowRoot,
|
|
3692
3724
|
props: attribute_to_object(this.attributes),
|
|
3693
3725
|
customElement: true
|
|
3694
|
-
}, instance$
|
|
3726
|
+
}, instance$s, create_fragment$u, safe_not_equal, {
|
|
3695
3727
|
leadingicon: 0,
|
|
3696
3728
|
error: 7,
|
|
3697
3729
|
deletable: 8,
|
|
@@ -4247,7 +4279,7 @@ function create_if_block_2$6(ctx) {
|
|
|
4247
4279
|
};
|
|
4248
4280
|
}
|
|
4249
4281
|
|
|
4250
|
-
function create_fragment$
|
|
4282
|
+
function create_fragment$t(ctx) {
|
|
4251
4283
|
let if_block_anchor;
|
|
4252
4284
|
let current;
|
|
4253
4285
|
let if_block =
|
|
@@ -4312,7 +4344,7 @@ function create_fragment$s(ctx) {
|
|
|
4312
4344
|
};
|
|
4313
4345
|
}
|
|
4314
4346
|
|
|
4315
|
-
function instance$
|
|
4347
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
4316
4348
|
let isVisible;
|
|
4317
4349
|
let {
|
|
4318
4350
|
variant = "inline"
|
|
@@ -4365,7 +4397,7 @@ class CircularProgress extends SvelteElement {
|
|
|
4365
4397
|
target: this.shadowRoot,
|
|
4366
4398
|
props: attribute_to_object(this.attributes),
|
|
4367
4399
|
customElement: true
|
|
4368
|
-
}, instance$
|
|
4400
|
+
}, instance$r, create_fragment$t, safe_not_equal, {
|
|
4369
4401
|
variant: 6,
|
|
4370
4402
|
size: 7,
|
|
4371
4403
|
message: 0,
|
|
@@ -4449,7 +4481,7 @@ class CircularProgress extends SvelteElement {
|
|
|
4449
4481
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
4450
4482
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.49.0 */
|
|
4451
4483
|
|
|
4452
|
-
function create_fragment$
|
|
4484
|
+
function create_fragment$s(ctx) {
|
|
4453
4485
|
let div3;
|
|
4454
4486
|
let header;
|
|
4455
4487
|
let div0;
|
|
@@ -4544,7 +4576,7 @@ function create_fragment$r(ctx) {
|
|
|
4544
4576
|
};
|
|
4545
4577
|
}
|
|
4546
4578
|
|
|
4547
|
-
function instance$
|
|
4579
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
4548
4580
|
let _colored;
|
|
4549
4581
|
|
|
4550
4582
|
let {
|
|
@@ -4586,7 +4618,7 @@ class Container extends SvelteElement {
|
|
|
4586
4618
|
target: this.shadowRoot,
|
|
4587
4619
|
props: attribute_to_object(this.attributes),
|
|
4588
4620
|
customElement: true
|
|
4589
|
-
}, instance$
|
|
4621
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
4590
4622
|
type: 0,
|
|
4591
4623
|
colored: 4,
|
|
4592
4624
|
headingsize: 1,
|
|
@@ -4947,7 +4979,7 @@ function create_each_block$4(ctx) {
|
|
|
4947
4979
|
};
|
|
4948
4980
|
}
|
|
4949
4981
|
|
|
4950
|
-
function create_fragment$
|
|
4982
|
+
function create_fragment$r(ctx) {
|
|
4951
4983
|
let div1;
|
|
4952
4984
|
let t0;
|
|
4953
4985
|
let div0;
|
|
@@ -5264,7 +5296,7 @@ function create_fragment$q(ctx) {
|
|
|
5264
5296
|
|
|
5265
5297
|
const MAX_HEIGHT = "300px";
|
|
5266
5298
|
|
|
5267
|
-
function instance$
|
|
5299
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
5268
5300
|
let _disabled;
|
|
5269
5301
|
|
|
5270
5302
|
let _multiselect;
|
|
@@ -5557,7 +5589,7 @@ class Dropdown extends SvelteElement {
|
|
|
5557
5589
|
target: this.shadowRoot,
|
|
5558
5590
|
props: attribute_to_object(this.attributes),
|
|
5559
5591
|
customElement: true
|
|
5560
|
-
}, instance$
|
|
5592
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
5561
5593
|
name: 0,
|
|
5562
5594
|
arialabel: 1,
|
|
5563
5595
|
value: 20,
|
|
@@ -5713,7 +5745,7 @@ class Dropdown extends SvelteElement {
|
|
|
5713
5745
|
customElements.define("goa-dropdown", Dropdown);
|
|
5714
5746
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.49.0 */
|
|
5715
5747
|
|
|
5716
|
-
function create_fragment$
|
|
5748
|
+
function create_fragment$q(ctx) {
|
|
5717
5749
|
return {
|
|
5718
5750
|
c() {
|
|
5719
5751
|
this.c = noop;
|
|
@@ -5727,7 +5759,7 @@ function create_fragment$p(ctx) {
|
|
|
5727
5759
|
};
|
|
5728
5760
|
}
|
|
5729
5761
|
|
|
5730
|
-
function instance$
|
|
5762
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
5731
5763
|
let {
|
|
5732
5764
|
name = ""
|
|
5733
5765
|
} = $$props;
|
|
@@ -5775,7 +5807,7 @@ class DropdownItem extends SvelteElement {
|
|
|
5775
5807
|
target: this.shadowRoot,
|
|
5776
5808
|
props: attribute_to_object(this.attributes),
|
|
5777
5809
|
customElement: true
|
|
5778
|
-
}, instance$
|
|
5810
|
+
}, instance$o, create_fragment$q, safe_not_equal, {
|
|
5779
5811
|
name: 0,
|
|
5780
5812
|
value: 1,
|
|
5781
5813
|
label: 2
|
|
@@ -5835,7 +5867,7 @@ class DropdownItem extends SvelteElement {
|
|
|
5835
5867
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
5836
5868
|
/* libs/web-components/src/components/flex-column/FlexColumn.svelte generated by Svelte v3.49.0 */
|
|
5837
5869
|
|
|
5838
|
-
function create_fragment$
|
|
5870
|
+
function create_fragment$p(ctx) {
|
|
5839
5871
|
let div;
|
|
5840
5872
|
let slot;
|
|
5841
5873
|
return {
|
|
@@ -5874,7 +5906,7 @@ function create_fragment$o(ctx) {
|
|
|
5874
5906
|
};
|
|
5875
5907
|
}
|
|
5876
5908
|
|
|
5877
|
-
function instance$
|
|
5909
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
5878
5910
|
let _gap;
|
|
5879
5911
|
|
|
5880
5912
|
let {
|
|
@@ -5904,7 +5936,7 @@ class FlexColumn extends SvelteElement {
|
|
|
5904
5936
|
target: this.shadowRoot,
|
|
5905
5937
|
props: attribute_to_object(this.attributes),
|
|
5906
5938
|
customElement: true
|
|
5907
|
-
}, instance$
|
|
5939
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
5908
5940
|
gap: 1
|
|
5909
5941
|
}, null);
|
|
5910
5942
|
|
|
@@ -5940,7 +5972,7 @@ class FlexColumn extends SvelteElement {
|
|
|
5940
5972
|
customElements.define("goa-flex-col", FlexColumn);
|
|
5941
5973
|
/* libs/web-components/src/components/flex-row/FlexRow.svelte generated by Svelte v3.49.0 */
|
|
5942
5974
|
|
|
5943
|
-
function create_fragment$
|
|
5975
|
+
function create_fragment$o(ctx) {
|
|
5944
5976
|
let div;
|
|
5945
5977
|
let slot;
|
|
5946
5978
|
return {
|
|
@@ -5979,7 +6011,7 @@ function create_fragment$n(ctx) {
|
|
|
5979
6011
|
};
|
|
5980
6012
|
}
|
|
5981
6013
|
|
|
5982
|
-
function instance$
|
|
6014
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
5983
6015
|
let _gap;
|
|
5984
6016
|
|
|
5985
6017
|
let {
|
|
@@ -6009,7 +6041,7 @@ class FlexRow extends SvelteElement {
|
|
|
6009
6041
|
target: this.shadowRoot,
|
|
6010
6042
|
props: attribute_to_object(this.attributes),
|
|
6011
6043
|
customElement: true
|
|
6012
|
-
}, instance$
|
|
6044
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
6013
6045
|
gap: 1
|
|
6014
6046
|
}, null);
|
|
6015
6047
|
|
|
@@ -6045,7 +6077,7 @@ class FlexRow extends SvelteElement {
|
|
|
6045
6077
|
customElements.define("goa-flex-row", FlexRow);
|
|
6046
6078
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.49.0 */
|
|
6047
6079
|
|
|
6048
|
-
function create_fragment$
|
|
6080
|
+
function create_fragment$n(ctx) {
|
|
6049
6081
|
let div;
|
|
6050
6082
|
return {
|
|
6051
6083
|
c() {
|
|
@@ -6099,7 +6131,7 @@ function isFocusable(element) {
|
|
|
6099
6131
|
}
|
|
6100
6132
|
}
|
|
6101
6133
|
|
|
6102
|
-
function instance$
|
|
6134
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
6103
6135
|
let isActive;
|
|
6104
6136
|
let {
|
|
6105
6137
|
active
|
|
@@ -6267,7 +6299,7 @@ class FocusTrap extends SvelteElement {
|
|
|
6267
6299
|
target: this.shadowRoot,
|
|
6268
6300
|
props: attribute_to_object(this.attributes),
|
|
6269
6301
|
customElement: true
|
|
6270
|
-
}, instance$
|
|
6302
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
6271
6303
|
active: 1
|
|
6272
6304
|
}, null);
|
|
6273
6305
|
|
|
@@ -6357,7 +6389,7 @@ function create_each_block$3(ctx) {
|
|
|
6357
6389
|
};
|
|
6358
6390
|
}
|
|
6359
6391
|
|
|
6360
|
-
function create_fragment$
|
|
6392
|
+
function create_fragment$m(ctx) {
|
|
6361
6393
|
let section;
|
|
6362
6394
|
let div;
|
|
6363
6395
|
let t;
|
|
@@ -6445,7 +6477,7 @@ function create_fragment$l(ctx) {
|
|
|
6445
6477
|
};
|
|
6446
6478
|
}
|
|
6447
6479
|
|
|
6448
|
-
function instance$
|
|
6480
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
6449
6481
|
let rootEl;
|
|
6450
6482
|
let children = [];
|
|
6451
6483
|
onMount(async () => {
|
|
@@ -6480,7 +6512,7 @@ class FooterMetaSection extends SvelteElement {
|
|
|
6480
6512
|
target: this.shadowRoot,
|
|
6481
6513
|
props: attribute_to_object(this.attributes),
|
|
6482
6514
|
customElement: true
|
|
6483
|
-
}, instance$
|
|
6515
|
+
}, instance$k, create_fragment$m, safe_not_equal, {}, null);
|
|
6484
6516
|
|
|
6485
6517
|
if (options) {
|
|
6486
6518
|
if (options.target) {
|
|
@@ -6590,7 +6622,7 @@ function create_each_block$2(ctx) {
|
|
|
6590
6622
|
};
|
|
6591
6623
|
}
|
|
6592
6624
|
|
|
6593
|
-
function create_fragment$
|
|
6625
|
+
function create_fragment$l(ctx) {
|
|
6594
6626
|
let section;
|
|
6595
6627
|
let t0;
|
|
6596
6628
|
let div;
|
|
@@ -6737,7 +6769,7 @@ function create_fragment$k(ctx) {
|
|
|
6737
6769
|
};
|
|
6738
6770
|
}
|
|
6739
6771
|
|
|
6740
|
-
function instance$
|
|
6772
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
6741
6773
|
let {
|
|
6742
6774
|
name = ""
|
|
6743
6775
|
} = $$props;
|
|
@@ -6794,7 +6826,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
6794
6826
|
target: this.shadowRoot,
|
|
6795
6827
|
props: attribute_to_object(this.attributes),
|
|
6796
6828
|
customElement: true
|
|
6797
|
-
}, instance$
|
|
6829
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
6798
6830
|
name: 0,
|
|
6799
6831
|
maxcolumncount: 1
|
|
6800
6832
|
}, null);
|
|
@@ -6861,9 +6893,10 @@ function create_if_block$a(ctx) {
|
|
|
6861
6893
|
};
|
|
6862
6894
|
}
|
|
6863
6895
|
|
|
6864
|
-
function create_fragment$
|
|
6896
|
+
function create_fragment$k(ctx) {
|
|
6865
6897
|
var _ctx$;
|
|
6866
6898
|
|
|
6899
|
+
let div5;
|
|
6867
6900
|
let div4;
|
|
6868
6901
|
let div0;
|
|
6869
6902
|
let t0;
|
|
@@ -6875,13 +6908,15 @@ function create_fragment$j(ctx) {
|
|
|
6875
6908
|
let a0;
|
|
6876
6909
|
let t3;
|
|
6877
6910
|
let a1;
|
|
6911
|
+
let div5_style_value;
|
|
6878
6912
|
let if_block =
|
|
6879
6913
|
/*navLinks*/
|
|
6880
|
-
((_ctx$ = ctx[
|
|
6914
|
+
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$a();
|
|
6881
6915
|
return {
|
|
6882
6916
|
c() {
|
|
6883
6917
|
var _ctx$2, _ctx$3;
|
|
6884
6918
|
|
|
6919
|
+
div5 = element("div");
|
|
6885
6920
|
div4 = element("div");
|
|
6886
6921
|
div0 = element("div");
|
|
6887
6922
|
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
@@ -6899,7 +6934,7 @@ function create_fragment$j(ctx) {
|
|
|
6899
6934
|
a1 = element("a");
|
|
6900
6935
|
a1.textContent = `© ${
|
|
6901
6936
|
/*year*/
|
|
6902
|
-
ctx[
|
|
6937
|
+
ctx[4]} Government of Alberta`;
|
|
6903
6938
|
this.c = noop;
|
|
6904
6939
|
attr(div0, "class", "nav-links");
|
|
6905
6940
|
attr(div1, "class", "meta-links");
|
|
@@ -6909,16 +6944,21 @@ function create_fragment$j(ctx) {
|
|
|
6909
6944
|
attr(div2, "class", "abgov");
|
|
6910
6945
|
toggle_class(div2, "with-meta-links",
|
|
6911
6946
|
/*metaLinks*/
|
|
6912
|
-
(_ctx$2 = ctx[
|
|
6947
|
+
(_ctx$2 = ctx[3]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
|
|
6913
6948
|
attr(div3, "class", "meta-section");
|
|
6914
6949
|
toggle_class(div3, "with-meta-links",
|
|
6915
6950
|
/*metaLinks*/
|
|
6916
|
-
(_ctx$3 = ctx[
|
|
6917
|
-
attr(div4, "class", "
|
|
6951
|
+
(_ctx$3 = ctx[3]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
|
|
6952
|
+
attr(div4, "class", "content");
|
|
6953
|
+
attr(div5, "class", "app-footer");
|
|
6954
|
+
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
6955
|
+
/*maxcontentwidth*/
|
|
6956
|
+
ctx[0] || "var(--layout-max-content-width)"}`);
|
|
6918
6957
|
},
|
|
6919
6958
|
|
|
6920
6959
|
m(target, anchor) {
|
|
6921
|
-
insert(target,
|
|
6960
|
+
insert(target, div5, anchor);
|
|
6961
|
+
append(div5, div4);
|
|
6922
6962
|
append(div4, div0);
|
|
6923
6963
|
append(div4, t0);
|
|
6924
6964
|
if (if_block) if_block.m(div4, null);
|
|
@@ -6930,9 +6970,9 @@ function create_fragment$j(ctx) {
|
|
|
6930
6970
|
append(div2, a0);
|
|
6931
6971
|
append(div2, t3);
|
|
6932
6972
|
append(div2, a1);
|
|
6933
|
-
/*
|
|
6973
|
+
/*div5_binding*/
|
|
6934
6974
|
|
|
6935
|
-
ctx[
|
|
6975
|
+
ctx[5](div5);
|
|
6936
6976
|
},
|
|
6937
6977
|
|
|
6938
6978
|
p(ctx, [dirty]) {
|
|
@@ -6940,7 +6980,7 @@ function create_fragment$j(ctx) {
|
|
|
6940
6980
|
|
|
6941
6981
|
if (
|
|
6942
6982
|
/*navLinks*/
|
|
6943
|
-
(_ctx$4 = ctx[
|
|
6983
|
+
(_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
|
|
6944
6984
|
if (if_block) ;else {
|
|
6945
6985
|
if_block = create_if_block$a();
|
|
6946
6986
|
if_block.c();
|
|
@@ -6953,22 +6993,30 @@ function create_fragment$j(ctx) {
|
|
|
6953
6993
|
|
|
6954
6994
|
if (dirty &
|
|
6955
6995
|
/*metaLinks*/
|
|
6956
|
-
|
|
6996
|
+
8) {
|
|
6957
6997
|
var _ctx$5;
|
|
6958
6998
|
|
|
6959
6999
|
toggle_class(div2, "with-meta-links",
|
|
6960
7000
|
/*metaLinks*/
|
|
6961
|
-
(_ctx$5 = ctx[
|
|
7001
|
+
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
6962
7002
|
}
|
|
6963
7003
|
|
|
6964
7004
|
if (dirty &
|
|
6965
7005
|
/*metaLinks*/
|
|
6966
|
-
|
|
7006
|
+
8) {
|
|
6967
7007
|
var _ctx$6;
|
|
6968
7008
|
|
|
6969
7009
|
toggle_class(div3, "with-meta-links",
|
|
6970
7010
|
/*metaLinks*/
|
|
6971
|
-
(_ctx$6 = ctx[
|
|
7011
|
+
(_ctx$6 = ctx[3]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
|
|
7012
|
+
}
|
|
7013
|
+
|
|
7014
|
+
if (dirty &
|
|
7015
|
+
/*maxcontentwidth*/
|
|
7016
|
+
1 && div5_style_value !== (div5_style_value = `--max-content-width: ${
|
|
7017
|
+
/*maxcontentwidth*/
|
|
7018
|
+
ctx[0] || "var(--layout-max-content-width)"}`)) {
|
|
7019
|
+
attr(div5, "style", div5_style_value);
|
|
6972
7020
|
}
|
|
6973
7021
|
},
|
|
6974
7022
|
|
|
@@ -6976,17 +7024,20 @@ function create_fragment$j(ctx) {
|
|
|
6976
7024
|
o: noop,
|
|
6977
7025
|
|
|
6978
7026
|
d(detaching) {
|
|
6979
|
-
if (detaching) detach(
|
|
7027
|
+
if (detaching) detach(div5);
|
|
6980
7028
|
if (if_block) if_block.d();
|
|
6981
|
-
/*
|
|
7029
|
+
/*div5_binding*/
|
|
6982
7030
|
|
|
6983
|
-
ctx[
|
|
7031
|
+
ctx[5](null);
|
|
6984
7032
|
}
|
|
6985
7033
|
|
|
6986
7034
|
};
|
|
6987
7035
|
}
|
|
6988
7036
|
|
|
6989
|
-
function instance$
|
|
7037
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
7038
|
+
let {
|
|
7039
|
+
maxcontentwidth = ""
|
|
7040
|
+
} = $$props;
|
|
6990
7041
|
let rootEl;
|
|
6991
7042
|
let navLinks;
|
|
6992
7043
|
let metaLinks;
|
|
@@ -6995,37 +7046,63 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
6995
7046
|
await tick();
|
|
6996
7047
|
const navSlot = rootEl.querySelector("slot[name=nav]");
|
|
6997
7048
|
const metaSlot = rootEl.querySelector("slot[name=meta]");
|
|
6998
|
-
$$invalidate(
|
|
6999
|
-
$$invalidate(
|
|
7049
|
+
$$invalidate(2, navLinks = navSlot.assignedElements());
|
|
7050
|
+
$$invalidate(3, metaLinks = metaSlot.assignedElements());
|
|
7000
7051
|
});
|
|
7001
7052
|
|
|
7002
|
-
function
|
|
7053
|
+
function div5_binding($$value) {
|
|
7003
7054
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
7004
7055
|
rootEl = $$value;
|
|
7005
|
-
$$invalidate(
|
|
7056
|
+
$$invalidate(1, rootEl);
|
|
7006
7057
|
});
|
|
7007
7058
|
}
|
|
7008
7059
|
|
|
7009
|
-
|
|
7060
|
+
$$self.$$set = $$props => {
|
|
7061
|
+
if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
|
|
7062
|
+
};
|
|
7063
|
+
|
|
7064
|
+
return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
|
|
7010
7065
|
}
|
|
7011
7066
|
|
|
7012
7067
|
class Footer extends SvelteElement {
|
|
7013
7068
|
constructor(options) {
|
|
7014
7069
|
super();
|
|
7015
|
-
this.shadowRoot.innerHTML = `<style
|
|
7070
|
+
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>`;
|
|
7016
7071
|
init(this, {
|
|
7017
7072
|
target: this.shadowRoot,
|
|
7018
7073
|
props: attribute_to_object(this.attributes),
|
|
7019
7074
|
customElement: true
|
|
7020
|
-
}, instance$
|
|
7075
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
7076
|
+
maxcontentwidth: 0
|
|
7077
|
+
}, null);
|
|
7021
7078
|
|
|
7022
7079
|
if (options) {
|
|
7023
7080
|
if (options.target) {
|
|
7024
7081
|
insert(options.target, this, options.anchor);
|
|
7025
7082
|
}
|
|
7083
|
+
|
|
7084
|
+
if (options.props) {
|
|
7085
|
+
this.$set(options.props);
|
|
7086
|
+
flush();
|
|
7087
|
+
}
|
|
7026
7088
|
}
|
|
7027
7089
|
}
|
|
7028
7090
|
|
|
7091
|
+
static get observedAttributes() {
|
|
7092
|
+
return ["maxcontentwidth"];
|
|
7093
|
+
}
|
|
7094
|
+
|
|
7095
|
+
get maxcontentwidth() {
|
|
7096
|
+
return this.$$.ctx[0];
|
|
7097
|
+
}
|
|
7098
|
+
|
|
7099
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
7100
|
+
this.$$set({
|
|
7101
|
+
maxcontentwidth
|
|
7102
|
+
});
|
|
7103
|
+
flush();
|
|
7104
|
+
}
|
|
7105
|
+
|
|
7029
7106
|
}
|
|
7030
7107
|
|
|
7031
7108
|
customElements.define("goa-app-footer", Footer);
|
|
@@ -7171,7 +7248,7 @@ function create_if_block$9(ctx) {
|
|
|
7171
7248
|
};
|
|
7172
7249
|
}
|
|
7173
7250
|
|
|
7174
|
-
function create_fragment$
|
|
7251
|
+
function create_fragment$j(ctx) {
|
|
7175
7252
|
let div1;
|
|
7176
7253
|
let t0;
|
|
7177
7254
|
let div0;
|
|
@@ -7273,7 +7350,7 @@ function create_fragment$i(ctx) {
|
|
|
7273
7350
|
};
|
|
7274
7351
|
}
|
|
7275
7352
|
|
|
7276
|
-
function instance$
|
|
7353
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
7277
7354
|
let isOptional;
|
|
7278
7355
|
let {
|
|
7279
7356
|
label = ""
|
|
@@ -7314,7 +7391,7 @@ class FormItem extends SvelteElement {
|
|
|
7314
7391
|
target: this.shadowRoot,
|
|
7315
7392
|
props: attribute_to_object(this.attributes),
|
|
7316
7393
|
customElement: true
|
|
7317
|
-
}, instance$
|
|
7394
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
7318
7395
|
label: 0,
|
|
7319
7396
|
helptext: 1,
|
|
7320
7397
|
error: 2,
|
|
@@ -7386,7 +7463,7 @@ class FormItem extends SvelteElement {
|
|
|
7386
7463
|
customElements.define("goa-form-item", FormItem);
|
|
7387
7464
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.49.0 */
|
|
7388
7465
|
|
|
7389
|
-
function create_fragment$
|
|
7466
|
+
function create_fragment$i(ctx) {
|
|
7390
7467
|
let div1;
|
|
7391
7468
|
let goa_page_block;
|
|
7392
7469
|
let h1;
|
|
@@ -7460,7 +7537,7 @@ function create_fragment$h(ctx) {
|
|
|
7460
7537
|
};
|
|
7461
7538
|
}
|
|
7462
7539
|
|
|
7463
|
-
function instance$
|
|
7540
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
7464
7541
|
let {
|
|
7465
7542
|
heading
|
|
7466
7543
|
} = $$props;
|
|
@@ -7484,7 +7561,7 @@ class HeroBanner extends SvelteElement {
|
|
|
7484
7561
|
target: this.shadowRoot,
|
|
7485
7562
|
props: attribute_to_object(this.attributes),
|
|
7486
7563
|
customElement: true
|
|
7487
|
-
}, instance$
|
|
7564
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
7488
7565
|
heading: 0,
|
|
7489
7566
|
backgroundurl: 1
|
|
7490
7567
|
}, null);
|
|
@@ -7532,7 +7609,7 @@ class HeroBanner extends SvelteElement {
|
|
|
7532
7609
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
7533
7610
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.49.0 */
|
|
7534
7611
|
|
|
7535
|
-
function create_fragment$
|
|
7612
|
+
function create_fragment$h(ctx) {
|
|
7536
7613
|
let button;
|
|
7537
7614
|
let goa_icon;
|
|
7538
7615
|
let mounted;
|
|
@@ -7687,7 +7764,7 @@ function handleClick(e) {
|
|
|
7687
7764
|
}));
|
|
7688
7765
|
}
|
|
7689
7766
|
|
|
7690
|
-
function instance$
|
|
7767
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
7691
7768
|
let css;
|
|
7692
7769
|
let isDisabled;
|
|
7693
7770
|
let isInverted;
|
|
@@ -7772,7 +7849,7 @@ class IconButton extends SvelteElement {
|
|
|
7772
7849
|
target: this.shadowRoot,
|
|
7773
7850
|
props: attribute_to_object(this.attributes),
|
|
7774
7851
|
customElement: true
|
|
7775
|
-
}, instance$
|
|
7852
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
7776
7853
|
type: 0,
|
|
7777
7854
|
size: 1,
|
|
7778
7855
|
theme: 2,
|
|
@@ -7940,7 +8017,7 @@ function create_if_block$8(ctx) {
|
|
|
7940
8017
|
};
|
|
7941
8018
|
}
|
|
7942
8019
|
|
|
7943
|
-
function create_fragment$
|
|
8020
|
+
function create_fragment$g(ctx) {
|
|
7944
8021
|
let div;
|
|
7945
8022
|
let div_data_testid_value;
|
|
7946
8023
|
let div_style_value;
|
|
@@ -8054,7 +8131,7 @@ function create_fragment$f(ctx) {
|
|
|
8054
8131
|
};
|
|
8055
8132
|
}
|
|
8056
8133
|
|
|
8057
|
-
function instance$
|
|
8134
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
8058
8135
|
let isInverted;
|
|
8059
8136
|
|
|
8060
8137
|
let _size;
|
|
@@ -8124,7 +8201,7 @@ class Icon extends SvelteElement {
|
|
|
8124
8201
|
target: this.shadowRoot,
|
|
8125
8202
|
props: attribute_to_object(this.attributes),
|
|
8126
8203
|
customElement: true
|
|
8127
|
-
}, instance$
|
|
8204
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
8128
8205
|
type: 0,
|
|
8129
8206
|
size: 8,
|
|
8130
8207
|
theme: 1,
|
|
@@ -8578,7 +8655,7 @@ function create_if_block_1$5(ctx) {
|
|
|
8578
8655
|
};
|
|
8579
8656
|
}
|
|
8580
8657
|
|
|
8581
|
-
function create_fragment$
|
|
8658
|
+
function create_fragment$f(ctx) {
|
|
8582
8659
|
let div1;
|
|
8583
8660
|
let div0;
|
|
8584
8661
|
let t0;
|
|
@@ -9007,7 +9084,7 @@ function doClick() {
|
|
|
9007
9084
|
}));
|
|
9008
9085
|
}
|
|
9009
9086
|
|
|
9010
|
-
function instance$
|
|
9087
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
9011
9088
|
let handlesTrailingIconClick;
|
|
9012
9089
|
let isFocused;
|
|
9013
9090
|
let isReadonly;
|
|
@@ -9199,7 +9276,7 @@ class Input extends SvelteElement {
|
|
|
9199
9276
|
target: this.shadowRoot,
|
|
9200
9277
|
props: attribute_to_object(this.attributes),
|
|
9201
9278
|
customElement: true
|
|
9202
|
-
}, instance$
|
|
9279
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
9203
9280
|
type: 1,
|
|
9204
9281
|
name: 2,
|
|
9205
9282
|
value: 0,
|
|
@@ -9694,7 +9771,7 @@ function create_if_block$6(ctx) {
|
|
|
9694
9771
|
};
|
|
9695
9772
|
}
|
|
9696
9773
|
|
|
9697
|
-
function create_fragment$
|
|
9774
|
+
function create_fragment$e(ctx) {
|
|
9698
9775
|
let header;
|
|
9699
9776
|
let t0;
|
|
9700
9777
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -9803,7 +9880,7 @@ function capitalize(val) {
|
|
|
9803
9880
|
return val[0].toUpperCase() + val.slice(1);
|
|
9804
9881
|
}
|
|
9805
9882
|
|
|
9806
|
-
function instance$
|
|
9883
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
9807
9884
|
let {
|
|
9808
9885
|
type
|
|
9809
9886
|
} = $$props;
|
|
@@ -9831,7 +9908,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
9831
9908
|
target: this.shadowRoot,
|
|
9832
9909
|
props: attribute_to_object(this.attributes),
|
|
9833
9910
|
customElement: true
|
|
9834
|
-
}, instance$
|
|
9911
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
9835
9912
|
type: 0,
|
|
9836
9913
|
version: 1,
|
|
9837
9914
|
feedbackurl: 2
|
|
@@ -10243,7 +10320,7 @@ function create_if_block_1$3(ctx) {
|
|
|
10243
10320
|
};
|
|
10244
10321
|
}
|
|
10245
10322
|
|
|
10246
|
-
function create_fragment$
|
|
10323
|
+
function create_fragment$d(ctx) {
|
|
10247
10324
|
let if_block_anchor;
|
|
10248
10325
|
let current;
|
|
10249
10326
|
let if_block =
|
|
@@ -10308,7 +10385,7 @@ function create_fragment$c(ctx) {
|
|
|
10308
10385
|
};
|
|
10309
10386
|
}
|
|
10310
10387
|
|
|
10311
|
-
function instance$
|
|
10388
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
10312
10389
|
let isClosable;
|
|
10313
10390
|
let isScrollable;
|
|
10314
10391
|
let isOpen;
|
|
@@ -10394,7 +10471,7 @@ class Modal extends SvelteElement {
|
|
|
10394
10471
|
target: this.shadowRoot,
|
|
10395
10472
|
props: attribute_to_object(this.attributes),
|
|
10396
10473
|
customElement: true
|
|
10397
|
-
}, instance$
|
|
10474
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
10398
10475
|
heading: 0,
|
|
10399
10476
|
closable: 8,
|
|
10400
10477
|
scrollable: 9,
|
|
@@ -10591,7 +10668,7 @@ function create_if_block$4(ctx) {
|
|
|
10591
10668
|
};
|
|
10592
10669
|
}
|
|
10593
10670
|
|
|
10594
|
-
function create_fragment$
|
|
10671
|
+
function create_fragment$c(ctx) {
|
|
10595
10672
|
let if_block_anchor;
|
|
10596
10673
|
let current;
|
|
10597
10674
|
let if_block =
|
|
@@ -10656,7 +10733,7 @@ function create_fragment$b(ctx) {
|
|
|
10656
10733
|
};
|
|
10657
10734
|
}
|
|
10658
10735
|
|
|
10659
|
-
function instance$
|
|
10736
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
10660
10737
|
let iconType;
|
|
10661
10738
|
let {
|
|
10662
10739
|
type
|
|
@@ -10690,7 +10767,7 @@ class Notification extends SvelteElement {
|
|
|
10690
10767
|
target: this.shadowRoot,
|
|
10691
10768
|
props: attribute_to_object(this.attributes),
|
|
10692
10769
|
customElement: true
|
|
10693
|
-
}, instance$
|
|
10770
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
10694
10771
|
type: 0
|
|
10695
10772
|
}, null);
|
|
10696
10773
|
|
|
@@ -10732,7 +10809,7 @@ function isValidDimension(value) {
|
|
|
10732
10809
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.49.0 */
|
|
10733
10810
|
|
|
10734
10811
|
|
|
10735
|
-
function create_fragment$
|
|
10812
|
+
function create_fragment$b(ctx) {
|
|
10736
10813
|
let div;
|
|
10737
10814
|
let slot;
|
|
10738
10815
|
let div_style_value;
|
|
@@ -10772,7 +10849,7 @@ function create_fragment$a(ctx) {
|
|
|
10772
10849
|
};
|
|
10773
10850
|
}
|
|
10774
10851
|
|
|
10775
|
-
function instance$
|
|
10852
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
10776
10853
|
const Sizes = {
|
|
10777
10854
|
"full": "100%"
|
|
10778
10855
|
};
|
|
@@ -10813,7 +10890,7 @@ class PageBlock extends SvelteElement {
|
|
|
10813
10890
|
target: this.shadowRoot,
|
|
10814
10891
|
props: attribute_to_object(this.attributes),
|
|
10815
10892
|
customElement: true
|
|
10816
|
-
}, instance$
|
|
10893
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
10817
10894
|
width: 1,
|
|
10818
10895
|
_width: 0
|
|
10819
10896
|
}, null);
|
|
@@ -11036,7 +11113,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
11036
11113
|
};
|
|
11037
11114
|
}
|
|
11038
11115
|
|
|
11039
|
-
function create_fragment$
|
|
11116
|
+
function create_fragment$a(ctx) {
|
|
11040
11117
|
let div;
|
|
11041
11118
|
let slot;
|
|
11042
11119
|
let t;
|
|
@@ -11135,7 +11212,7 @@ function create_fragment$9(ctx) {
|
|
|
11135
11212
|
};
|
|
11136
11213
|
}
|
|
11137
11214
|
|
|
11138
|
-
function instance$
|
|
11215
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
11139
11216
|
let isDisabled;
|
|
11140
11217
|
let {
|
|
11141
11218
|
name
|
|
@@ -11245,7 +11322,7 @@ class RadioGroup extends SvelteElement {
|
|
|
11245
11322
|
target: this.shadowRoot,
|
|
11246
11323
|
props: attribute_to_object(this.attributes),
|
|
11247
11324
|
customElement: true
|
|
11248
|
-
}, instance$
|
|
11325
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
11249
11326
|
name: 1,
|
|
11250
11327
|
value: 0,
|
|
11251
11328
|
orientation: 2,
|
|
@@ -11341,7 +11418,7 @@ class RadioGroup extends SvelteElement {
|
|
|
11341
11418
|
customElements.define("goa-radio-group", RadioGroup);
|
|
11342
11419
|
/* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.49.0 */
|
|
11343
11420
|
|
|
11344
|
-
function create_fragment$
|
|
11421
|
+
function create_fragment$9(ctx) {
|
|
11345
11422
|
return {
|
|
11346
11423
|
c() {
|
|
11347
11424
|
this.c = noop;
|
|
@@ -11355,7 +11432,7 @@ function create_fragment$8(ctx) {
|
|
|
11355
11432
|
};
|
|
11356
11433
|
}
|
|
11357
11434
|
|
|
11358
|
-
function instance$
|
|
11435
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
11359
11436
|
let {
|
|
11360
11437
|
value
|
|
11361
11438
|
} = $$props;
|
|
@@ -11410,7 +11487,7 @@ class RadioItem extends SvelteElement {
|
|
|
11410
11487
|
target: this.shadowRoot,
|
|
11411
11488
|
props: attribute_to_object(this.attributes),
|
|
11412
11489
|
customElement: true
|
|
11413
|
-
}, instance$
|
|
11490
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
11414
11491
|
value: 0,
|
|
11415
11492
|
label: 1,
|
|
11416
11493
|
name: 2
|
|
@@ -11470,7 +11547,7 @@ class RadioItem extends SvelteElement {
|
|
|
11470
11547
|
customElements.define("goa-radio-item", RadioItem);
|
|
11471
11548
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.49.0 */
|
|
11472
11549
|
|
|
11473
|
-
function create_fragment$
|
|
11550
|
+
function create_fragment$8(ctx) {
|
|
11474
11551
|
let div;
|
|
11475
11552
|
let slot;
|
|
11476
11553
|
let div_style_value;
|
|
@@ -11538,7 +11615,7 @@ function create_fragment$7(ctx) {
|
|
|
11538
11615
|
};
|
|
11539
11616
|
}
|
|
11540
11617
|
|
|
11541
|
-
function instance$
|
|
11618
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
11542
11619
|
let {
|
|
11543
11620
|
direction = "vertical"
|
|
11544
11621
|
} = $$props;
|
|
@@ -11570,7 +11647,7 @@ class Scrollable extends SvelteElement {
|
|
|
11570
11647
|
target: this.shadowRoot,
|
|
11571
11648
|
props: attribute_to_object(this.attributes),
|
|
11572
11649
|
customElement: true
|
|
11573
|
-
}, instance$
|
|
11650
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
11574
11651
|
direction: 0,
|
|
11575
11652
|
hpadding: 1,
|
|
11576
11653
|
vpadding: 2,
|
|
@@ -12098,7 +12175,7 @@ function create_each_block(ctx) {
|
|
|
12098
12175
|
};
|
|
12099
12176
|
}
|
|
12100
12177
|
|
|
12101
|
-
function create_fragment$
|
|
12178
|
+
function create_fragment$7(ctx) {
|
|
12102
12179
|
let current_block_type_index;
|
|
12103
12180
|
let if_block;
|
|
12104
12181
|
let if_block_anchor;
|
|
@@ -12179,7 +12256,7 @@ function create_fragment$6(ctx) {
|
|
|
12179
12256
|
};
|
|
12180
12257
|
}
|
|
12181
12258
|
|
|
12182
|
-
function instance$
|
|
12259
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
12183
12260
|
let {
|
|
12184
12261
|
width = 320
|
|
12185
12262
|
} = $$props;
|
|
@@ -12211,7 +12288,7 @@ class Skeleton extends SvelteElement {
|
|
|
12211
12288
|
target: this.shadowRoot,
|
|
12212
12289
|
props: attribute_to_object(this.attributes),
|
|
12213
12290
|
customElement: true
|
|
12214
|
-
}, instance$
|
|
12291
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
12215
12292
|
width: 0,
|
|
12216
12293
|
size: 1,
|
|
12217
12294
|
linecount: 2,
|
|
@@ -12593,7 +12670,7 @@ function create_if_block$2(ctx) {
|
|
|
12593
12670
|
};
|
|
12594
12671
|
}
|
|
12595
12672
|
|
|
12596
|
-
function create_fragment$
|
|
12673
|
+
function create_fragment$6(ctx) {
|
|
12597
12674
|
let if_block_anchor;
|
|
12598
12675
|
let if_block =
|
|
12599
12676
|
/*ready*/
|
|
@@ -12638,7 +12715,7 @@ function create_fragment$5(ctx) {
|
|
|
12638
12715
|
};
|
|
12639
12716
|
}
|
|
12640
12717
|
|
|
12641
|
-
function instance$
|
|
12718
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
12642
12719
|
let diameter;
|
|
12643
12720
|
let strokewidth;
|
|
12644
12721
|
let radius;
|
|
@@ -12769,7 +12846,7 @@ class Spinner extends SvelteElement {
|
|
|
12769
12846
|
target: this.shadowRoot,
|
|
12770
12847
|
props: attribute_to_object(this.attributes),
|
|
12771
12848
|
customElement: true
|
|
12772
|
-
}, instance$
|
|
12849
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
12773
12850
|
size: 10,
|
|
12774
12851
|
invert: 0,
|
|
12775
12852
|
progress: 11,
|
|
@@ -12985,7 +13062,7 @@ function create_if_block_1$1(ctx) {
|
|
|
12985
13062
|
};
|
|
12986
13063
|
}
|
|
12987
13064
|
|
|
12988
|
-
function create_fragment$
|
|
13065
|
+
function create_fragment$5(ctx) {
|
|
12989
13066
|
let div;
|
|
12990
13067
|
let textarea;
|
|
12991
13068
|
let textarea_aria_label_value;
|
|
@@ -13169,7 +13246,7 @@ function create_fragment$4(ctx) {
|
|
|
13169
13246
|
};
|
|
13170
13247
|
}
|
|
13171
13248
|
|
|
13172
|
-
function instance$
|
|
13249
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
13173
13250
|
let isError;
|
|
13174
13251
|
let isDisabled;
|
|
13175
13252
|
let isReadonly;
|
|
@@ -13281,7 +13358,7 @@ class TextArea extends SvelteElement {
|
|
|
13281
13358
|
target: this.shadowRoot,
|
|
13282
13359
|
props: attribute_to_object(this.attributes),
|
|
13283
13360
|
customElement: true
|
|
13284
|
-
}, instance$
|
|
13361
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
13285
13362
|
name: 0,
|
|
13286
13363
|
value: 1,
|
|
13287
13364
|
placeholder: 2,
|
|
@@ -13447,6 +13524,148 @@ class TextArea extends SvelteElement {
|
|
|
13447
13524
|
}
|
|
13448
13525
|
|
|
13449
13526
|
customElements.define("goa-textarea", TextArea);
|
|
13527
|
+
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.49.0 */
|
|
13528
|
+
|
|
13529
|
+
function create_fragment$4(ctx) {
|
|
13530
|
+
let div;
|
|
13531
|
+
let header;
|
|
13532
|
+
let t0;
|
|
13533
|
+
let section;
|
|
13534
|
+
let t2;
|
|
13535
|
+
let footer;
|
|
13536
|
+
let div_style_value;
|
|
13537
|
+
return {
|
|
13538
|
+
c() {
|
|
13539
|
+
div = element("div");
|
|
13540
|
+
header = element("header");
|
|
13541
|
+
header.innerHTML = `<slot name="header"></slot>`;
|
|
13542
|
+
t0 = space();
|
|
13543
|
+
section = element("section");
|
|
13544
|
+
section.innerHTML = `<nav class="nav"><slot name="nav"></slot></nav>
|
|
13545
|
+
|
|
13546
|
+
<main><slot></slot></main>`;
|
|
13547
|
+
t2 = space();
|
|
13548
|
+
footer = element("footer");
|
|
13549
|
+
footer.innerHTML = `<slot name="footer"></slot>`;
|
|
13550
|
+
this.c = noop;
|
|
13551
|
+
attr(header, "class", "header");
|
|
13552
|
+
attr(section, "class", "content");
|
|
13553
|
+
attr(footer, "class", "footer");
|
|
13554
|
+
attr(div, "class", "page");
|
|
13555
|
+
attr(div, "style", div_style_value = `
|
|
13556
|
+
--max-content-width: ${
|
|
13557
|
+
/*maxcontentwidth*/
|
|
13558
|
+
ctx[1] || "var(--layout-max-content-width)"};
|
|
13559
|
+
--nav-column-width: ${
|
|
13560
|
+
/*navcolumnwidth*/
|
|
13561
|
+
ctx[0] || "var(--layout-nav-column-width)"};
|
|
13562
|
+
`);
|
|
13563
|
+
},
|
|
13564
|
+
|
|
13565
|
+
m(target, anchor) {
|
|
13566
|
+
insert(target, div, anchor);
|
|
13567
|
+
append(div, header);
|
|
13568
|
+
append(div, t0);
|
|
13569
|
+
append(div, section);
|
|
13570
|
+
append(div, t2);
|
|
13571
|
+
append(div, footer);
|
|
13572
|
+
},
|
|
13573
|
+
|
|
13574
|
+
p(ctx, [dirty]) {
|
|
13575
|
+
if (dirty &
|
|
13576
|
+
/*maxcontentwidth, navcolumnwidth*/
|
|
13577
|
+
3 && div_style_value !== (div_style_value = `
|
|
13578
|
+
--max-content-width: ${
|
|
13579
|
+
/*maxcontentwidth*/
|
|
13580
|
+
ctx[1] || "var(--layout-max-content-width)"};
|
|
13581
|
+
--nav-column-width: ${
|
|
13582
|
+
/*navcolumnwidth*/
|
|
13583
|
+
ctx[0] || "var(--layout-nav-column-width)"};
|
|
13584
|
+
`)) {
|
|
13585
|
+
attr(div, "style", div_style_value);
|
|
13586
|
+
}
|
|
13587
|
+
},
|
|
13588
|
+
|
|
13589
|
+
i: noop,
|
|
13590
|
+
o: noop,
|
|
13591
|
+
|
|
13592
|
+
d(detaching) {
|
|
13593
|
+
if (detaching) detach(div);
|
|
13594
|
+
}
|
|
13595
|
+
|
|
13596
|
+
};
|
|
13597
|
+
}
|
|
13598
|
+
|
|
13599
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
13600
|
+
let {
|
|
13601
|
+
navcolumnwidth = ""
|
|
13602
|
+
} = $$props;
|
|
13603
|
+
let {
|
|
13604
|
+
maxcontentwidth = ""
|
|
13605
|
+
} = $$props;
|
|
13606
|
+
|
|
13607
|
+
$$self.$$set = $$props => {
|
|
13608
|
+
if ('navcolumnwidth' in $$props) $$invalidate(0, navcolumnwidth = $$props.navcolumnwidth);
|
|
13609
|
+
if ('maxcontentwidth' in $$props) $$invalidate(1, maxcontentwidth = $$props.maxcontentwidth);
|
|
13610
|
+
};
|
|
13611
|
+
|
|
13612
|
+
return [navcolumnwidth, maxcontentwidth];
|
|
13613
|
+
}
|
|
13614
|
+
|
|
13615
|
+
class TwoColumnLayout extends SvelteElement {
|
|
13616
|
+
constructor(options) {
|
|
13617
|
+
super();
|
|
13618
|
+
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>`;
|
|
13619
|
+
init(this, {
|
|
13620
|
+
target: this.shadowRoot,
|
|
13621
|
+
props: attribute_to_object(this.attributes),
|
|
13622
|
+
customElement: true
|
|
13623
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
13624
|
+
navcolumnwidth: 0,
|
|
13625
|
+
maxcontentwidth: 1
|
|
13626
|
+
}, null);
|
|
13627
|
+
|
|
13628
|
+
if (options) {
|
|
13629
|
+
if (options.target) {
|
|
13630
|
+
insert(options.target, this, options.anchor);
|
|
13631
|
+
}
|
|
13632
|
+
|
|
13633
|
+
if (options.props) {
|
|
13634
|
+
this.$set(options.props);
|
|
13635
|
+
flush();
|
|
13636
|
+
}
|
|
13637
|
+
}
|
|
13638
|
+
}
|
|
13639
|
+
|
|
13640
|
+
static get observedAttributes() {
|
|
13641
|
+
return ["navcolumnwidth", "maxcontentwidth"];
|
|
13642
|
+
}
|
|
13643
|
+
|
|
13644
|
+
get navcolumnwidth() {
|
|
13645
|
+
return this.$$.ctx[0];
|
|
13646
|
+
}
|
|
13647
|
+
|
|
13648
|
+
set navcolumnwidth(navcolumnwidth) {
|
|
13649
|
+
this.$$set({
|
|
13650
|
+
navcolumnwidth
|
|
13651
|
+
});
|
|
13652
|
+
flush();
|
|
13653
|
+
}
|
|
13654
|
+
|
|
13655
|
+
get maxcontentwidth() {
|
|
13656
|
+
return this.$$.ctx[1];
|
|
13657
|
+
}
|
|
13658
|
+
|
|
13659
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
13660
|
+
this.$$set({
|
|
13661
|
+
maxcontentwidth
|
|
13662
|
+
});
|
|
13663
|
+
flush();
|
|
13664
|
+
}
|
|
13665
|
+
|
|
13666
|
+
}
|
|
13667
|
+
|
|
13668
|
+
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
13450
13669
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.49.0 */
|
|
13451
13670
|
|
|
13452
13671
|
function create_fragment$3(ctx) {
|
|
@@ -13968,11 +14187,13 @@ customElements.define("goa-page", Page);
|
|
|
13968
14187
|
const GoAAppHeader = ({
|
|
13969
14188
|
heading,
|
|
13970
14189
|
url,
|
|
14190
|
+
maxContentWidth,
|
|
13971
14191
|
children
|
|
13972
14192
|
}) => {
|
|
13973
14193
|
return jsx("goa-app-header", Object.assign({
|
|
13974
14194
|
heading: heading,
|
|
13975
|
-
url: url
|
|
14195
|
+
url: url,
|
|
14196
|
+
maxcontentwidth: maxContentWidth
|
|
13976
14197
|
}, {
|
|
13977
14198
|
children: children
|
|
13978
14199
|
}), void 0);
|
|
@@ -14358,11 +14579,14 @@ function GoAAppFooterNavSection({
|
|
|
14358
14579
|
}
|
|
14359
14580
|
|
|
14360
14581
|
function GoAAppFooter({
|
|
14582
|
+
maxContentWidth,
|
|
14361
14583
|
children
|
|
14362
14584
|
}) {
|
|
14363
|
-
return jsx("goa-app-footer", {
|
|
14585
|
+
return jsx("goa-app-footer", Object.assign({
|
|
14586
|
+
maxcontentwidth: maxContentWidth
|
|
14587
|
+
}, {
|
|
14364
14588
|
children: children
|
|
14365
|
-
}, void 0);
|
|
14589
|
+
}), void 0);
|
|
14366
14590
|
}
|
|
14367
14591
|
|
|
14368
14592
|
const GoAFormItem = ({
|
|
@@ -14904,4 +15128,25 @@ const GoATextArea = ({
|
|
|
14904
15128
|
}, void 0);
|
|
14905
15129
|
};
|
|
14906
15130
|
|
|
14907
|
-
|
|
15131
|
+
function GoATwoColumnLayout(props) {
|
|
15132
|
+
return jsxs("goa-two-column-layout", Object.assign({
|
|
15133
|
+
navcolumnwidth: props.navColumnWidth,
|
|
15134
|
+
maxcontentwidth: props.maxContentWidth
|
|
15135
|
+
}, {
|
|
15136
|
+
children: [props.header && jsx("div", Object.assign({
|
|
15137
|
+
slot: "header"
|
|
15138
|
+
}, {
|
|
15139
|
+
children: props.header
|
|
15140
|
+
}), void 0), props.nav && jsx("div", Object.assign({
|
|
15141
|
+
slot: "nav"
|
|
15142
|
+
}, {
|
|
15143
|
+
children: props.nav
|
|
15144
|
+
}), void 0), props.children, props.footer && jsx("div", Object.assign({
|
|
15145
|
+
slot: "footer"
|
|
15146
|
+
}, {
|
|
15147
|
+
children: props.footer
|
|
15148
|
+
}), void 0)]
|
|
15149
|
+
}), void 0);
|
|
15150
|
+
}
|
|
15151
|
+
|
|
15152
|
+
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFlexCol, GoAFlexRow, GoAFormItem, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAPage, GoAPageBlock, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpinner, GoASuccessBadge, GoATextArea, GoATwoColumnLayout };
|