@abgov/react-components 4.0.0-alpha.100 → 4.0.0-alpha.101
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 +1 -0
- package/lib/table/table.d.ts +19 -0
- package/package.json +1 -1
- package/react-components.esm.js +1563 -1295
- package/react-components.umd.js +1562 -1293
package/react-components.umd.js
CHANGED
|
@@ -1192,7 +1192,7 @@
|
|
|
1192
1192
|
};
|
|
1193
1193
|
}
|
|
1194
1194
|
|
|
1195
|
-
function create_fragment$
|
|
1195
|
+
function create_fragment$G(ctx) {
|
|
1196
1196
|
let div2;
|
|
1197
1197
|
let div1;
|
|
1198
1198
|
let t;
|
|
@@ -1276,7 +1276,7 @@
|
|
|
1276
1276
|
};
|
|
1277
1277
|
}
|
|
1278
1278
|
|
|
1279
|
-
function instance$
|
|
1279
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
1280
1280
|
let {
|
|
1281
1281
|
heading = ""
|
|
1282
1282
|
} = $$props;
|
|
@@ -1308,7 +1308,7 @@
|
|
|
1308
1308
|
target: this.shadowRoot,
|
|
1309
1309
|
props: attribute_to_object(this.attributes),
|
|
1310
1310
|
customElement: true
|
|
1311
|
-
}, instance$
|
|
1311
|
+
}, instance$B, create_fragment$G, safe_not_equal, {
|
|
1312
1312
|
heading: 0,
|
|
1313
1313
|
url: 1,
|
|
1314
1314
|
testid: 2,
|
|
@@ -1525,7 +1525,7 @@
|
|
|
1525
1525
|
};
|
|
1526
1526
|
}
|
|
1527
1527
|
|
|
1528
|
-
function create_fragment$
|
|
1528
|
+
function create_fragment$F(ctx) {
|
|
1529
1529
|
let div;
|
|
1530
1530
|
let t;
|
|
1531
1531
|
let div_style_value;
|
|
@@ -1661,7 +1661,7 @@
|
|
|
1661
1661
|
};
|
|
1662
1662
|
}
|
|
1663
1663
|
|
|
1664
|
-
function instance$
|
|
1664
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1665
1665
|
let showIcon;
|
|
1666
1666
|
let iconType;
|
|
1667
1667
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -1743,7 +1743,7 @@
|
|
|
1743
1743
|
target: this.shadowRoot,
|
|
1744
1744
|
props: attribute_to_object(this.attributes),
|
|
1745
1745
|
customElement: true
|
|
1746
|
-
}, instance$
|
|
1746
|
+
}, instance$A, create_fragment$F, safe_not_equal, {
|
|
1747
1747
|
type: 0,
|
|
1748
1748
|
testid: 1,
|
|
1749
1749
|
content: 2,
|
|
@@ -1863,7 +1863,7 @@
|
|
|
1863
1863
|
customElements.define("goa-badge", Badge);
|
|
1864
1864
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
1865
1865
|
|
|
1866
|
-
function create_fragment$
|
|
1866
|
+
function create_fragment$E(ctx) {
|
|
1867
1867
|
let div;
|
|
1868
1868
|
let slot;
|
|
1869
1869
|
let div_style_value;
|
|
@@ -1937,7 +1937,7 @@
|
|
|
1937
1937
|
};
|
|
1938
1938
|
}
|
|
1939
1939
|
|
|
1940
|
-
function instance$
|
|
1940
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1941
1941
|
let {
|
|
1942
1942
|
gap = "m"
|
|
1943
1943
|
} = $$props;
|
|
@@ -1981,7 +1981,7 @@
|
|
|
1981
1981
|
target: this.shadowRoot,
|
|
1982
1982
|
props: attribute_to_object(this.attributes),
|
|
1983
1983
|
customElement: true
|
|
1984
|
-
}, instance$
|
|
1984
|
+
}, instance$z, create_fragment$E, safe_not_equal, {
|
|
1985
1985
|
gap: 0,
|
|
1986
1986
|
direction: 1,
|
|
1987
1987
|
alignment: 2,
|
|
@@ -2087,394 +2087,152 @@
|
|
|
2087
2087
|
}
|
|
2088
2088
|
|
|
2089
2089
|
customElements.define("goa-block", Block);
|
|
2090
|
-
/* libs/web-components/src/components/button
|
|
2090
|
+
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2091
2091
|
|
|
2092
|
-
function
|
|
2093
|
-
let
|
|
2092
|
+
function create_else_block$2(ctx) {
|
|
2093
|
+
let t0;
|
|
2094
2094
|
let slot;
|
|
2095
|
-
let
|
|
2095
|
+
let t1;
|
|
2096
|
+
let if_block1_anchor;
|
|
2097
|
+
let if_block0 =
|
|
2098
|
+
/*leadingicon*/
|
|
2099
|
+
ctx[3] && create_if_block_2$6(ctx);
|
|
2100
|
+
let if_block1 =
|
|
2101
|
+
/*trailingicon*/
|
|
2102
|
+
ctx[4] && create_if_block_1$9(ctx);
|
|
2096
2103
|
return {
|
|
2097
2104
|
c() {
|
|
2098
|
-
|
|
2105
|
+
if (if_block0) if_block0.c();
|
|
2106
|
+
t0 = space();
|
|
2099
2107
|
slot = element("slot");
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
attr(div, "style", div_style_value = "" + (calculateMargin(
|
|
2105
|
-
/*mt*/
|
|
2106
|
-
ctx[2],
|
|
2107
|
-
/*mr*/
|
|
2108
|
-
ctx[3],
|
|
2109
|
-
/*mb*/
|
|
2110
|
-
ctx[4],
|
|
2111
|
-
/*ml*/
|
|
2112
|
-
ctx[5]) + "; --alignment: " +
|
|
2113
|
-
/*_alignment*/
|
|
2114
|
-
ctx[6] + "; --gap-size: " + (
|
|
2115
|
-
/*gap*/
|
|
2116
|
-
ctx[0] === "relaxed" ? "1rem" : "0.75rem")));
|
|
2108
|
+
t1 = space();
|
|
2109
|
+
if (if_block1) if_block1.c();
|
|
2110
|
+
if_block1_anchor = empty();
|
|
2111
|
+
attr(slot, "class", "text");
|
|
2117
2112
|
},
|
|
2118
2113
|
|
|
2119
2114
|
m(target, anchor) {
|
|
2120
|
-
|
|
2121
|
-
|
|
2115
|
+
if (if_block0) if_block0.m(target, anchor);
|
|
2116
|
+
insert(target, t0, anchor);
|
|
2117
|
+
insert(target, slot, anchor);
|
|
2118
|
+
insert(target, t1, anchor);
|
|
2119
|
+
if (if_block1) if_block1.m(target, anchor);
|
|
2120
|
+
insert(target, if_block1_anchor, anchor);
|
|
2122
2121
|
},
|
|
2123
2122
|
|
|
2124
|
-
p(ctx,
|
|
2125
|
-
if (
|
|
2126
|
-
/*
|
|
2127
|
-
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2123
|
+
p(ctx, dirty) {
|
|
2124
|
+
if (
|
|
2125
|
+
/*leadingicon*/
|
|
2126
|
+
ctx[3]) {
|
|
2127
|
+
if (if_block0) {
|
|
2128
|
+
if_block0.p(ctx, dirty);
|
|
2129
|
+
} else {
|
|
2130
|
+
if_block0 = create_if_block_2$6(ctx);
|
|
2131
|
+
if_block0.c();
|
|
2132
|
+
if_block0.m(t0.parentNode, t0);
|
|
2133
|
+
}
|
|
2134
|
+
} else if (if_block0) {
|
|
2135
|
+
if_block0.d(1);
|
|
2136
|
+
if_block0 = null;
|
|
2131
2137
|
}
|
|
2132
2138
|
|
|
2133
|
-
if (
|
|
2134
|
-
/*
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
/*gap*/
|
|
2147
|
-
ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
|
|
2148
|
-
attr(div, "style", div_style_value);
|
|
2139
|
+
if (
|
|
2140
|
+
/*trailingicon*/
|
|
2141
|
+
ctx[4]) {
|
|
2142
|
+
if (if_block1) {
|
|
2143
|
+
if_block1.p(ctx, dirty);
|
|
2144
|
+
} else {
|
|
2145
|
+
if_block1 = create_if_block_1$9(ctx);
|
|
2146
|
+
if_block1.c();
|
|
2147
|
+
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2148
|
+
}
|
|
2149
|
+
} else if (if_block1) {
|
|
2150
|
+
if_block1.d(1);
|
|
2151
|
+
if_block1 = null;
|
|
2149
2152
|
}
|
|
2150
2153
|
},
|
|
2151
2154
|
|
|
2152
|
-
i: noop,
|
|
2153
|
-
o: noop,
|
|
2154
|
-
|
|
2155
2155
|
d(detaching) {
|
|
2156
|
-
if (
|
|
2156
|
+
if (if_block0) if_block0.d(detaching);
|
|
2157
|
+
if (detaching) detach(t0);
|
|
2158
|
+
if (detaching) detach(slot);
|
|
2159
|
+
if (detaching) detach(t1);
|
|
2160
|
+
if (if_block1) if_block1.d(detaching);
|
|
2161
|
+
if (detaching) detach(if_block1_anchor);
|
|
2157
2162
|
}
|
|
2158
2163
|
|
|
2159
2164
|
};
|
|
2160
|
-
}
|
|
2165
|
+
} // (45:2) {#if type === "start"}
|
|
2161
2166
|
|
|
2162
|
-
function instance$x($$self, $$props, $$invalidate) {
|
|
2163
|
-
let _alignment;
|
|
2164
2167
|
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
let
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
} = $$props;
|
|
2180
|
-
let {
|
|
2181
|
-
mb = null
|
|
2182
|
-
} = $$props;
|
|
2183
|
-
let {
|
|
2184
|
-
ml = null
|
|
2185
|
-
} = $$props;
|
|
2186
|
-
const [BUTTON_ALIGNMENTS, validateAlignment] = typeValidator("alignment", ["start", "end", "center"]);
|
|
2187
|
-
const [GAPS, validateGap] = typeValidator("gap", ["relaxed", "compact"]);
|
|
2188
|
-
onMount(() => {
|
|
2189
|
-
validateAlignment(alignment);
|
|
2190
|
-
validateGap(gap);
|
|
2191
|
-
});
|
|
2168
|
+
function create_if_block$f(ctx) {
|
|
2169
|
+
let slot;
|
|
2170
|
+
let t;
|
|
2171
|
+
let goa_icon;
|
|
2172
|
+
return {
|
|
2173
|
+
c() {
|
|
2174
|
+
slot = element("slot");
|
|
2175
|
+
t = space();
|
|
2176
|
+
goa_icon = element("goa-icon");
|
|
2177
|
+
attr(slot, "class", "text");
|
|
2178
|
+
set_custom_element_data(goa_icon, "id", "trailing-icon");
|
|
2179
|
+
set_custom_element_data(goa_icon, "type", "arrow-forward");
|
|
2180
|
+
set_custom_element_data(goa_icon, "inverted", "true");
|
|
2181
|
+
},
|
|
2192
2182
|
|
|
2193
|
-
|
|
2194
|
-
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
2199
|
-
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
2200
|
-
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
2201
|
-
};
|
|
2183
|
+
m(target, anchor) {
|
|
2184
|
+
insert(target, slot, anchor);
|
|
2185
|
+
insert(target, t, anchor);
|
|
2186
|
+
insert(target, goa_icon, anchor);
|
|
2187
|
+
},
|
|
2202
2188
|
|
|
2203
|
-
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
end: "flex-end",
|
|
2210
|
-
center: "center"
|
|
2211
|
-
}[alignment]);
|
|
2189
|
+
p: noop,
|
|
2190
|
+
|
|
2191
|
+
d(detaching) {
|
|
2192
|
+
if (detaching) detach(slot);
|
|
2193
|
+
if (detaching) detach(t);
|
|
2194
|
+
if (detaching) detach(goa_icon);
|
|
2212
2195
|
}
|
|
2196
|
+
|
|
2213
2197
|
};
|
|
2198
|
+
} // (49:4) {#if leadingicon}
|
|
2214
2199
|
|
|
2215
|
-
return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
|
|
2216
|
-
}
|
|
2217
2200
|
|
|
2218
|
-
|
|
2219
|
-
|
|
2220
|
-
|
|
2221
|
-
|
|
2222
|
-
|
|
2223
|
-
|
|
2224
|
-
|
|
2225
|
-
|
|
2226
|
-
|
|
2227
|
-
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2231
|
-
mr: 3,
|
|
2232
|
-
mb: 4,
|
|
2233
|
-
ml: 5
|
|
2234
|
-
}, null);
|
|
2201
|
+
function create_if_block_2$6(ctx) {
|
|
2202
|
+
let goa_icon;
|
|
2203
|
+
return {
|
|
2204
|
+
c() {
|
|
2205
|
+
goa_icon = element("goa-icon");
|
|
2206
|
+
set_custom_element_data(goa_icon, "id", "leading-icon");
|
|
2207
|
+
set_custom_element_data(goa_icon, "type",
|
|
2208
|
+
/*leadingicon*/
|
|
2209
|
+
ctx[3]);
|
|
2210
|
+
set_custom_element_data(goa_icon, "inverted",
|
|
2211
|
+
/*isButtonDark*/
|
|
2212
|
+
ctx[10]);
|
|
2213
|
+
},
|
|
2235
2214
|
|
|
2236
|
-
|
|
2237
|
-
|
|
2238
|
-
|
|
2215
|
+
m(target, anchor) {
|
|
2216
|
+
insert(target, goa_icon, anchor);
|
|
2217
|
+
},
|
|
2218
|
+
|
|
2219
|
+
p(ctx, dirty) {
|
|
2220
|
+
if (dirty &
|
|
2221
|
+
/*leadingicon*/
|
|
2222
|
+
8) {
|
|
2223
|
+
set_custom_element_data(goa_icon, "type",
|
|
2224
|
+
/*leadingicon*/
|
|
2225
|
+
ctx[3]);
|
|
2239
2226
|
}
|
|
2240
2227
|
|
|
2241
|
-
if (
|
|
2242
|
-
|
|
2243
|
-
|
|
2228
|
+
if (dirty &
|
|
2229
|
+
/*isButtonDark*/
|
|
2230
|
+
1024) {
|
|
2231
|
+
set_custom_element_data(goa_icon, "inverted",
|
|
2232
|
+
/*isButtonDark*/
|
|
2233
|
+
ctx[10]);
|
|
2244
2234
|
}
|
|
2245
|
-
}
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
static get observedAttributes() {
|
|
2249
|
-
return ["alignment", "gap", "testid", "mt", "mr", "mb", "ml"];
|
|
2250
|
-
}
|
|
2251
|
-
|
|
2252
|
-
get alignment() {
|
|
2253
|
-
return this.$$.ctx[7];
|
|
2254
|
-
}
|
|
2255
|
-
|
|
2256
|
-
set alignment(alignment) {
|
|
2257
|
-
this.$$set({
|
|
2258
|
-
alignment
|
|
2259
|
-
});
|
|
2260
|
-
flush();
|
|
2261
|
-
}
|
|
2262
|
-
|
|
2263
|
-
get gap() {
|
|
2264
|
-
return this.$$.ctx[0];
|
|
2265
|
-
}
|
|
2266
|
-
|
|
2267
|
-
set gap(gap) {
|
|
2268
|
-
this.$$set({
|
|
2269
|
-
gap
|
|
2270
|
-
});
|
|
2271
|
-
flush();
|
|
2272
|
-
}
|
|
2273
|
-
|
|
2274
|
-
get testid() {
|
|
2275
|
-
return this.$$.ctx[1];
|
|
2276
|
-
}
|
|
2277
|
-
|
|
2278
|
-
set testid(testid) {
|
|
2279
|
-
this.$$set({
|
|
2280
|
-
testid
|
|
2281
|
-
});
|
|
2282
|
-
flush();
|
|
2283
|
-
}
|
|
2284
|
-
|
|
2285
|
-
get mt() {
|
|
2286
|
-
return this.$$.ctx[2];
|
|
2287
|
-
}
|
|
2288
|
-
|
|
2289
|
-
set mt(mt) {
|
|
2290
|
-
this.$$set({
|
|
2291
|
-
mt
|
|
2292
|
-
});
|
|
2293
|
-
flush();
|
|
2294
|
-
}
|
|
2295
|
-
|
|
2296
|
-
get mr() {
|
|
2297
|
-
return this.$$.ctx[3];
|
|
2298
|
-
}
|
|
2299
|
-
|
|
2300
|
-
set mr(mr) {
|
|
2301
|
-
this.$$set({
|
|
2302
|
-
mr
|
|
2303
|
-
});
|
|
2304
|
-
flush();
|
|
2305
|
-
}
|
|
2306
|
-
|
|
2307
|
-
get mb() {
|
|
2308
|
-
return this.$$.ctx[4];
|
|
2309
|
-
}
|
|
2310
|
-
|
|
2311
|
-
set mb(mb) {
|
|
2312
|
-
this.$$set({
|
|
2313
|
-
mb
|
|
2314
|
-
});
|
|
2315
|
-
flush();
|
|
2316
|
-
}
|
|
2317
|
-
|
|
2318
|
-
get ml() {
|
|
2319
|
-
return this.$$.ctx[5];
|
|
2320
|
-
}
|
|
2321
|
-
|
|
2322
|
-
set ml(ml) {
|
|
2323
|
-
this.$$set({
|
|
2324
|
-
ml
|
|
2325
|
-
});
|
|
2326
|
-
flush();
|
|
2327
|
-
}
|
|
2328
|
-
|
|
2329
|
-
}
|
|
2330
|
-
|
|
2331
|
-
customElements.define("goa-button-group", ButtonGroup);
|
|
2332
|
-
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2333
|
-
|
|
2334
|
-
function create_else_block$2(ctx) {
|
|
2335
|
-
let t0;
|
|
2336
|
-
let slot;
|
|
2337
|
-
let t1;
|
|
2338
|
-
let if_block1_anchor;
|
|
2339
|
-
let if_block0 =
|
|
2340
|
-
/*leadingicon*/
|
|
2341
|
-
ctx[3] && create_if_block_2$6(ctx);
|
|
2342
|
-
let if_block1 =
|
|
2343
|
-
/*trailingicon*/
|
|
2344
|
-
ctx[4] && create_if_block_1$9(ctx);
|
|
2345
|
-
return {
|
|
2346
|
-
c() {
|
|
2347
|
-
if (if_block0) if_block0.c();
|
|
2348
|
-
t0 = space();
|
|
2349
|
-
slot = element("slot");
|
|
2350
|
-
t1 = space();
|
|
2351
|
-
if (if_block1) if_block1.c();
|
|
2352
|
-
if_block1_anchor = empty();
|
|
2353
|
-
attr(slot, "class", "text");
|
|
2354
|
-
},
|
|
2355
|
-
|
|
2356
|
-
m(target, anchor) {
|
|
2357
|
-
if (if_block0) if_block0.m(target, anchor);
|
|
2358
|
-
insert(target, t0, anchor);
|
|
2359
|
-
insert(target, slot, anchor);
|
|
2360
|
-
insert(target, t1, anchor);
|
|
2361
|
-
if (if_block1) if_block1.m(target, anchor);
|
|
2362
|
-
insert(target, if_block1_anchor, anchor);
|
|
2363
|
-
},
|
|
2364
|
-
|
|
2365
|
-
p(ctx, dirty) {
|
|
2366
|
-
if (
|
|
2367
|
-
/*leadingicon*/
|
|
2368
|
-
ctx[3]) {
|
|
2369
|
-
if (if_block0) {
|
|
2370
|
-
if_block0.p(ctx, dirty);
|
|
2371
|
-
} else {
|
|
2372
|
-
if_block0 = create_if_block_2$6(ctx);
|
|
2373
|
-
if_block0.c();
|
|
2374
|
-
if_block0.m(t0.parentNode, t0);
|
|
2375
|
-
}
|
|
2376
|
-
} else if (if_block0) {
|
|
2377
|
-
if_block0.d(1);
|
|
2378
|
-
if_block0 = null;
|
|
2379
|
-
}
|
|
2380
|
-
|
|
2381
|
-
if (
|
|
2382
|
-
/*trailingicon*/
|
|
2383
|
-
ctx[4]) {
|
|
2384
|
-
if (if_block1) {
|
|
2385
|
-
if_block1.p(ctx, dirty);
|
|
2386
|
-
} else {
|
|
2387
|
-
if_block1 = create_if_block_1$9(ctx);
|
|
2388
|
-
if_block1.c();
|
|
2389
|
-
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2390
|
-
}
|
|
2391
|
-
} else if (if_block1) {
|
|
2392
|
-
if_block1.d(1);
|
|
2393
|
-
if_block1 = null;
|
|
2394
|
-
}
|
|
2395
|
-
},
|
|
2396
|
-
|
|
2397
|
-
d(detaching) {
|
|
2398
|
-
if (if_block0) if_block0.d(detaching);
|
|
2399
|
-
if (detaching) detach(t0);
|
|
2400
|
-
if (detaching) detach(slot);
|
|
2401
|
-
if (detaching) detach(t1);
|
|
2402
|
-
if (if_block1) if_block1.d(detaching);
|
|
2403
|
-
if (detaching) detach(if_block1_anchor);
|
|
2404
|
-
}
|
|
2405
|
-
|
|
2406
|
-
};
|
|
2407
|
-
} // (45:2) {#if type === "start"}
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
function create_if_block$f(ctx) {
|
|
2411
|
-
let slot;
|
|
2412
|
-
let t;
|
|
2413
|
-
let goa_icon;
|
|
2414
|
-
return {
|
|
2415
|
-
c() {
|
|
2416
|
-
slot = element("slot");
|
|
2417
|
-
t = space();
|
|
2418
|
-
goa_icon = element("goa-icon");
|
|
2419
|
-
attr(slot, "class", "text");
|
|
2420
|
-
set_custom_element_data(goa_icon, "id", "trailing-icon");
|
|
2421
|
-
set_custom_element_data(goa_icon, "type", "arrow-forward");
|
|
2422
|
-
set_custom_element_data(goa_icon, "inverted", "true");
|
|
2423
|
-
},
|
|
2424
|
-
|
|
2425
|
-
m(target, anchor) {
|
|
2426
|
-
insert(target, slot, anchor);
|
|
2427
|
-
insert(target, t, anchor);
|
|
2428
|
-
insert(target, goa_icon, anchor);
|
|
2429
|
-
},
|
|
2430
|
-
|
|
2431
|
-
p: noop,
|
|
2432
|
-
|
|
2433
|
-
d(detaching) {
|
|
2434
|
-
if (detaching) detach(slot);
|
|
2435
|
-
if (detaching) detach(t);
|
|
2436
|
-
if (detaching) detach(goa_icon);
|
|
2437
|
-
}
|
|
2438
|
-
|
|
2439
|
-
};
|
|
2440
|
-
} // (49:4) {#if leadingicon}
|
|
2441
|
-
|
|
2442
|
-
|
|
2443
|
-
function create_if_block_2$6(ctx) {
|
|
2444
|
-
let goa_icon;
|
|
2445
|
-
return {
|
|
2446
|
-
c() {
|
|
2447
|
-
goa_icon = element("goa-icon");
|
|
2448
|
-
set_custom_element_data(goa_icon, "id", "leading-icon");
|
|
2449
|
-
set_custom_element_data(goa_icon, "type",
|
|
2450
|
-
/*leadingicon*/
|
|
2451
|
-
ctx[3]);
|
|
2452
|
-
set_custom_element_data(goa_icon, "inverted",
|
|
2453
|
-
/*isButtonDark*/
|
|
2454
|
-
ctx[10]);
|
|
2455
|
-
},
|
|
2456
|
-
|
|
2457
|
-
m(target, anchor) {
|
|
2458
|
-
insert(target, goa_icon, anchor);
|
|
2459
|
-
},
|
|
2460
|
-
|
|
2461
|
-
p(ctx, dirty) {
|
|
2462
|
-
if (dirty &
|
|
2463
|
-
/*leadingicon*/
|
|
2464
|
-
8) {
|
|
2465
|
-
set_custom_element_data(goa_icon, "type",
|
|
2466
|
-
/*leadingicon*/
|
|
2467
|
-
ctx[3]);
|
|
2468
|
-
}
|
|
2469
|
-
|
|
2470
|
-
if (dirty &
|
|
2471
|
-
/*isButtonDark*/
|
|
2472
|
-
1024) {
|
|
2473
|
-
set_custom_element_data(goa_icon, "inverted",
|
|
2474
|
-
/*isButtonDark*/
|
|
2475
|
-
ctx[10]);
|
|
2476
|
-
}
|
|
2477
|
-
},
|
|
2235
|
+
},
|
|
2478
2236
|
|
|
2479
2237
|
d(detaching) {
|
|
2480
2238
|
if (detaching) detach(goa_icon);
|
|
@@ -2527,7 +2285,7 @@
|
|
|
2527
2285
|
};
|
|
2528
2286
|
}
|
|
2529
2287
|
|
|
2530
|
-
function create_fragment$
|
|
2288
|
+
function create_fragment$D(ctx) {
|
|
2531
2289
|
let button;
|
|
2532
2290
|
let button_class_value;
|
|
2533
2291
|
let button_style_value;
|
|
@@ -2685,7 +2443,7 @@
|
|
|
2685
2443
|
e.stopPropagation();
|
|
2686
2444
|
}
|
|
2687
2445
|
|
|
2688
|
-
function instance$
|
|
2446
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
2689
2447
|
let isDisabled;
|
|
2690
2448
|
let isButtonDark;
|
|
2691
2449
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2772,7 +2530,7 @@
|
|
|
2772
2530
|
target: this.shadowRoot,
|
|
2773
2531
|
props: attribute_to_object(this.attributes),
|
|
2774
2532
|
customElement: true
|
|
2775
|
-
}, instance$
|
|
2533
|
+
}, instance$y, create_fragment$D, safe_not_equal, {
|
|
2776
2534
|
type: 0,
|
|
2777
2535
|
size: 1,
|
|
2778
2536
|
variant: 2,
|
|
@@ -2926,23 +2684,265 @@
|
|
|
2926
2684
|
}
|
|
2927
2685
|
|
|
2928
2686
|
customElements.define("goa-button", Button);
|
|
2929
|
-
/* libs/web-components/src/components/
|
|
2687
|
+
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
2930
2688
|
|
|
2931
|
-
function
|
|
2932
|
-
let
|
|
2933
|
-
let
|
|
2689
|
+
function create_fragment$C(ctx) {
|
|
2690
|
+
let div;
|
|
2691
|
+
let slot;
|
|
2692
|
+
let div_style_value;
|
|
2934
2693
|
return {
|
|
2935
2694
|
c() {
|
|
2936
|
-
|
|
2937
|
-
|
|
2938
|
-
|
|
2939
|
-
|
|
2940
|
-
|
|
2941
|
-
|
|
2942
|
-
|
|
2943
|
-
|
|
2944
|
-
|
|
2945
|
-
|
|
2695
|
+
div = element("div");
|
|
2696
|
+
slot = element("slot");
|
|
2697
|
+
this.c = noop;
|
|
2698
|
+
attr(div, "data-testid",
|
|
2699
|
+
/*testid*/
|
|
2700
|
+
ctx[1]);
|
|
2701
|
+
attr(div, "style", div_style_value = "" + (calculateMargin(
|
|
2702
|
+
/*mt*/
|
|
2703
|
+
ctx[2],
|
|
2704
|
+
/*mr*/
|
|
2705
|
+
ctx[3],
|
|
2706
|
+
/*mb*/
|
|
2707
|
+
ctx[4],
|
|
2708
|
+
/*ml*/
|
|
2709
|
+
ctx[5]) + "; --alignment: " +
|
|
2710
|
+
/*_alignment*/
|
|
2711
|
+
ctx[6] + "; --gap-size: " + (
|
|
2712
|
+
/*gap*/
|
|
2713
|
+
ctx[0] === "relaxed" ? "1rem" : "0.75rem")));
|
|
2714
|
+
},
|
|
2715
|
+
|
|
2716
|
+
m(target, anchor) {
|
|
2717
|
+
insert(target, div, anchor);
|
|
2718
|
+
append(div, slot);
|
|
2719
|
+
},
|
|
2720
|
+
|
|
2721
|
+
p(ctx, [dirty]) {
|
|
2722
|
+
if (dirty &
|
|
2723
|
+
/*testid*/
|
|
2724
|
+
2) {
|
|
2725
|
+
attr(div, "data-testid",
|
|
2726
|
+
/*testid*/
|
|
2727
|
+
ctx[1]);
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
if (dirty &
|
|
2731
|
+
/*mt, mr, mb, ml, _alignment, gap*/
|
|
2732
|
+
125 && div_style_value !== (div_style_value = "" + (calculateMargin(
|
|
2733
|
+
/*mt*/
|
|
2734
|
+
ctx[2],
|
|
2735
|
+
/*mr*/
|
|
2736
|
+
ctx[3],
|
|
2737
|
+
/*mb*/
|
|
2738
|
+
ctx[4],
|
|
2739
|
+
/*ml*/
|
|
2740
|
+
ctx[5]) + "; --alignment: " +
|
|
2741
|
+
/*_alignment*/
|
|
2742
|
+
ctx[6] + "; --gap-size: " + (
|
|
2743
|
+
/*gap*/
|
|
2744
|
+
ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
|
|
2745
|
+
attr(div, "style", div_style_value);
|
|
2746
|
+
}
|
|
2747
|
+
},
|
|
2748
|
+
|
|
2749
|
+
i: noop,
|
|
2750
|
+
o: noop,
|
|
2751
|
+
|
|
2752
|
+
d(detaching) {
|
|
2753
|
+
if (detaching) detach(div);
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
};
|
|
2757
|
+
}
|
|
2758
|
+
|
|
2759
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
2760
|
+
let _alignment;
|
|
2761
|
+
|
|
2762
|
+
let {
|
|
2763
|
+
alignment = "start"
|
|
2764
|
+
} = $$props;
|
|
2765
|
+
let {
|
|
2766
|
+
gap = "relaxed"
|
|
2767
|
+
} = $$props;
|
|
2768
|
+
let {
|
|
2769
|
+
testid = ""
|
|
2770
|
+
} = $$props;
|
|
2771
|
+
let {
|
|
2772
|
+
mt = null
|
|
2773
|
+
} = $$props;
|
|
2774
|
+
let {
|
|
2775
|
+
mr = null
|
|
2776
|
+
} = $$props;
|
|
2777
|
+
let {
|
|
2778
|
+
mb = null
|
|
2779
|
+
} = $$props;
|
|
2780
|
+
let {
|
|
2781
|
+
ml = null
|
|
2782
|
+
} = $$props;
|
|
2783
|
+
const [BUTTON_ALIGNMENTS, validateAlignment] = typeValidator("alignment", ["start", "end", "center"]);
|
|
2784
|
+
const [GAPS, validateGap] = typeValidator("gap", ["relaxed", "compact"]);
|
|
2785
|
+
onMount(() => {
|
|
2786
|
+
validateAlignment(alignment);
|
|
2787
|
+
validateGap(gap);
|
|
2788
|
+
});
|
|
2789
|
+
|
|
2790
|
+
$$self.$$set = $$props => {
|
|
2791
|
+
if ('alignment' in $$props) $$invalidate(7, alignment = $$props.alignment);
|
|
2792
|
+
if ('gap' in $$props) $$invalidate(0, gap = $$props.gap);
|
|
2793
|
+
if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
|
|
2794
|
+
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
2795
|
+
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
2796
|
+
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
2797
|
+
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
2798
|
+
};
|
|
2799
|
+
|
|
2800
|
+
$$self.$$.update = () => {
|
|
2801
|
+
if ($$self.$$.dirty &
|
|
2802
|
+
/*alignment*/
|
|
2803
|
+
128) {
|
|
2804
|
+
$$invalidate(6, _alignment = {
|
|
2805
|
+
start: "flex-start",
|
|
2806
|
+
end: "flex-end",
|
|
2807
|
+
center: "center"
|
|
2808
|
+
}[alignment]);
|
|
2809
|
+
}
|
|
2810
|
+
};
|
|
2811
|
+
|
|
2812
|
+
return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
|
|
2813
|
+
}
|
|
2814
|
+
|
|
2815
|
+
class ButtonGroup extends SvelteElement {
|
|
2816
|
+
constructor(options) {
|
|
2817
|
+
super();
|
|
2818
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>`;
|
|
2819
|
+
init(this, {
|
|
2820
|
+
target: this.shadowRoot,
|
|
2821
|
+
props: attribute_to_object(this.attributes),
|
|
2822
|
+
customElement: true
|
|
2823
|
+
}, instance$x, create_fragment$C, safe_not_equal, {
|
|
2824
|
+
alignment: 7,
|
|
2825
|
+
gap: 0,
|
|
2826
|
+
testid: 1,
|
|
2827
|
+
mt: 2,
|
|
2828
|
+
mr: 3,
|
|
2829
|
+
mb: 4,
|
|
2830
|
+
ml: 5
|
|
2831
|
+
}, null);
|
|
2832
|
+
|
|
2833
|
+
if (options) {
|
|
2834
|
+
if (options.target) {
|
|
2835
|
+
insert(options.target, this, options.anchor);
|
|
2836
|
+
}
|
|
2837
|
+
|
|
2838
|
+
if (options.props) {
|
|
2839
|
+
this.$set(options.props);
|
|
2840
|
+
flush();
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
static get observedAttributes() {
|
|
2846
|
+
return ["alignment", "gap", "testid", "mt", "mr", "mb", "ml"];
|
|
2847
|
+
}
|
|
2848
|
+
|
|
2849
|
+
get alignment() {
|
|
2850
|
+
return this.$$.ctx[7];
|
|
2851
|
+
}
|
|
2852
|
+
|
|
2853
|
+
set alignment(alignment) {
|
|
2854
|
+
this.$$set({
|
|
2855
|
+
alignment
|
|
2856
|
+
});
|
|
2857
|
+
flush();
|
|
2858
|
+
}
|
|
2859
|
+
|
|
2860
|
+
get gap() {
|
|
2861
|
+
return this.$$.ctx[0];
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
set gap(gap) {
|
|
2865
|
+
this.$$set({
|
|
2866
|
+
gap
|
|
2867
|
+
});
|
|
2868
|
+
flush();
|
|
2869
|
+
}
|
|
2870
|
+
|
|
2871
|
+
get testid() {
|
|
2872
|
+
return this.$$.ctx[1];
|
|
2873
|
+
}
|
|
2874
|
+
|
|
2875
|
+
set testid(testid) {
|
|
2876
|
+
this.$$set({
|
|
2877
|
+
testid
|
|
2878
|
+
});
|
|
2879
|
+
flush();
|
|
2880
|
+
}
|
|
2881
|
+
|
|
2882
|
+
get mt() {
|
|
2883
|
+
return this.$$.ctx[2];
|
|
2884
|
+
}
|
|
2885
|
+
|
|
2886
|
+
set mt(mt) {
|
|
2887
|
+
this.$$set({
|
|
2888
|
+
mt
|
|
2889
|
+
});
|
|
2890
|
+
flush();
|
|
2891
|
+
}
|
|
2892
|
+
|
|
2893
|
+
get mr() {
|
|
2894
|
+
return this.$$.ctx[3];
|
|
2895
|
+
}
|
|
2896
|
+
|
|
2897
|
+
set mr(mr) {
|
|
2898
|
+
this.$$set({
|
|
2899
|
+
mr
|
|
2900
|
+
});
|
|
2901
|
+
flush();
|
|
2902
|
+
}
|
|
2903
|
+
|
|
2904
|
+
get mb() {
|
|
2905
|
+
return this.$$.ctx[4];
|
|
2906
|
+
}
|
|
2907
|
+
|
|
2908
|
+
set mb(mb) {
|
|
2909
|
+
this.$$set({
|
|
2910
|
+
mb
|
|
2911
|
+
});
|
|
2912
|
+
flush();
|
|
2913
|
+
}
|
|
2914
|
+
|
|
2915
|
+
get ml() {
|
|
2916
|
+
return this.$$.ctx[5];
|
|
2917
|
+
}
|
|
2918
|
+
|
|
2919
|
+
set ml(ml) {
|
|
2920
|
+
this.$$set({
|
|
2921
|
+
ml
|
|
2922
|
+
});
|
|
2923
|
+
flush();
|
|
2924
|
+
}
|
|
2925
|
+
|
|
2926
|
+
}
|
|
2927
|
+
|
|
2928
|
+
customElements.define("goa-button-group", ButtonGroup);
|
|
2929
|
+
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
2930
|
+
|
|
2931
|
+
function create_if_block$e(ctx) {
|
|
2932
|
+
let h3;
|
|
2933
|
+
let t;
|
|
2934
|
+
return {
|
|
2935
|
+
c() {
|
|
2936
|
+
h3 = element("h3");
|
|
2937
|
+
t = text(
|
|
2938
|
+
/*heading*/
|
|
2939
|
+
ctx[5]);
|
|
2940
|
+
},
|
|
2941
|
+
|
|
2942
|
+
m(target, anchor) {
|
|
2943
|
+
insert(target, h3, anchor);
|
|
2944
|
+
append(h3, t);
|
|
2945
|
+
},
|
|
2946
2946
|
|
|
2947
2947
|
p(ctx, dirty) {
|
|
2948
2948
|
if (dirty &
|
|
@@ -2959,7 +2959,7 @@
|
|
|
2959
2959
|
};
|
|
2960
2960
|
}
|
|
2961
2961
|
|
|
2962
|
-
function create_fragment$
|
|
2962
|
+
function create_fragment$B(ctx) {
|
|
2963
2963
|
let div;
|
|
2964
2964
|
let span0;
|
|
2965
2965
|
let goa_icon;
|
|
@@ -3094,7 +3094,7 @@
|
|
|
3094
3094
|
};
|
|
3095
3095
|
}
|
|
3096
3096
|
|
|
3097
|
-
function instance$
|
|
3097
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
3098
3098
|
let iconType;
|
|
3099
3099
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3100
3100
|
let {
|
|
@@ -3151,7 +3151,7 @@
|
|
|
3151
3151
|
target: this.shadowRoot,
|
|
3152
3152
|
props: attribute_to_object(this.attributes),
|
|
3153
3153
|
customElement: true
|
|
3154
|
-
}, instance$
|
|
3154
|
+
}, instance$w, create_fragment$B, safe_not_equal, {
|
|
3155
3155
|
mt: 0,
|
|
3156
3156
|
mr: 1,
|
|
3157
3157
|
mb: 2,
|
|
@@ -3259,7 +3259,7 @@
|
|
|
3259
3259
|
customElements.define("goa-callout", Callout);
|
|
3260
3260
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3261
3261
|
|
|
3262
|
-
function create_fragment$
|
|
3262
|
+
function create_fragment$A(ctx) {
|
|
3263
3263
|
let goa_card_content;
|
|
3264
3264
|
return {
|
|
3265
3265
|
c() {
|
|
@@ -3290,7 +3290,7 @@
|
|
|
3290
3290
|
target: this.shadowRoot,
|
|
3291
3291
|
props: attribute_to_object(this.attributes),
|
|
3292
3292
|
customElement: true
|
|
3293
|
-
}, null, create_fragment$
|
|
3293
|
+
}, null, create_fragment$A, safe_not_equal, {}, null);
|
|
3294
3294
|
|
|
3295
3295
|
if (options) {
|
|
3296
3296
|
if (options.target) {
|
|
@@ -3302,223 +3302,9 @@
|
|
|
3302
3302
|
}
|
|
3303
3303
|
|
|
3304
3304
|
customElements.define("goa-card-actions", CardActions);
|
|
3305
|
-
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3306
|
-
|
|
3307
|
-
function create_fragment$y(ctx) {
|
|
3308
|
-
let div;
|
|
3309
|
-
return {
|
|
3310
|
-
c() {
|
|
3311
|
-
div = element("div");
|
|
3312
|
-
div.innerHTML = `<slot></slot>`;
|
|
3313
|
-
this.c = noop;
|
|
3314
|
-
attr(div, "class", "card-content");
|
|
3315
|
-
},
|
|
3316
|
-
|
|
3317
|
-
m(target, anchor) {
|
|
3318
|
-
insert(target, div, anchor);
|
|
3319
|
-
},
|
|
3320
|
-
|
|
3321
|
-
p: noop,
|
|
3322
|
-
i: noop,
|
|
3323
|
-
o: noop,
|
|
3324
|
-
|
|
3325
|
-
d(detaching) {
|
|
3326
|
-
if (detaching) detach(div);
|
|
3327
|
-
}
|
|
3328
|
-
|
|
3329
|
-
};
|
|
3330
|
-
}
|
|
3331
|
-
|
|
3332
|
-
class CardContent extends SvelteElement {
|
|
3333
|
-
constructor(options) {
|
|
3334
|
-
super();
|
|
3335
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
|
|
3336
|
-
init(this, {
|
|
3337
|
-
target: this.shadowRoot,
|
|
3338
|
-
props: attribute_to_object(this.attributes),
|
|
3339
|
-
customElement: true
|
|
3340
|
-
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3341
|
-
|
|
3342
|
-
if (options) {
|
|
3343
|
-
if (options.target) {
|
|
3344
|
-
insert(options.target, this, options.anchor);
|
|
3345
|
-
}
|
|
3346
|
-
}
|
|
3347
|
-
}
|
|
3348
|
-
|
|
3349
|
-
}
|
|
3350
|
-
|
|
3351
|
-
customElements.define("goa-card-content", CardContent);
|
|
3352
|
-
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3353
|
-
|
|
3354
|
-
function create_fragment$x(ctx) {
|
|
3355
|
-
let div;
|
|
3356
|
-
return {
|
|
3357
|
-
c() {
|
|
3358
|
-
div = element("div");
|
|
3359
|
-
div.innerHTML = `<slot></slot>`;
|
|
3360
|
-
this.c = noop;
|
|
3361
|
-
attr(div, "class", "card-group");
|
|
3362
|
-
},
|
|
3363
|
-
|
|
3364
|
-
m(target, anchor) {
|
|
3365
|
-
insert(target, div, anchor);
|
|
3366
|
-
},
|
|
3367
|
-
|
|
3368
|
-
p: noop,
|
|
3369
|
-
i: noop,
|
|
3370
|
-
o: noop,
|
|
3371
|
-
|
|
3372
|
-
d(detaching) {
|
|
3373
|
-
if (detaching) detach(div);
|
|
3374
|
-
}
|
|
3375
|
-
|
|
3376
|
-
};
|
|
3377
|
-
}
|
|
3378
|
-
|
|
3379
|
-
class CardGroup extends SvelteElement {
|
|
3380
|
-
constructor(options) {
|
|
3381
|
-
super();
|
|
3382
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
|
|
3383
|
-
init(this, {
|
|
3384
|
-
target: this.shadowRoot,
|
|
3385
|
-
props: attribute_to_object(this.attributes),
|
|
3386
|
-
customElement: true
|
|
3387
|
-
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3388
|
-
|
|
3389
|
-
if (options) {
|
|
3390
|
-
if (options.target) {
|
|
3391
|
-
insert(options.target, this, options.anchor);
|
|
3392
|
-
}
|
|
3393
|
-
}
|
|
3394
|
-
}
|
|
3395
|
-
|
|
3396
|
-
}
|
|
3397
|
-
|
|
3398
|
-
customElements.define("goa-card-group", CardGroup);
|
|
3399
|
-
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3400
|
-
|
|
3401
|
-
function create_fragment$w(ctx) {
|
|
3402
|
-
let div;
|
|
3403
|
-
return {
|
|
3404
|
-
c() {
|
|
3405
|
-
div = element("div");
|
|
3406
|
-
this.c = noop;
|
|
3407
|
-
set_style(div, "background-image", "url(" +
|
|
3408
|
-
/*src*/
|
|
3409
|
-
ctx[0] + ")");
|
|
3410
|
-
set_style(div, "height",
|
|
3411
|
-
/*height*/
|
|
3412
|
-
ctx[1]);
|
|
3413
|
-
set_style(div, "background-size", "cover");
|
|
3414
|
-
set_style(div, "background-position", "center");
|
|
3415
|
-
},
|
|
3416
|
-
|
|
3417
|
-
m(target, anchor) {
|
|
3418
|
-
insert(target, div, anchor);
|
|
3419
|
-
},
|
|
3420
|
-
|
|
3421
|
-
p(ctx, [dirty]) {
|
|
3422
|
-
if (dirty &
|
|
3423
|
-
/*src*/
|
|
3424
|
-
1) {
|
|
3425
|
-
set_style(div, "background-image", "url(" +
|
|
3426
|
-
/*src*/
|
|
3427
|
-
ctx[0] + ")");
|
|
3428
|
-
}
|
|
3429
|
-
|
|
3430
|
-
if (dirty &
|
|
3431
|
-
/*height*/
|
|
3432
|
-
2) {
|
|
3433
|
-
set_style(div, "height",
|
|
3434
|
-
/*height*/
|
|
3435
|
-
ctx[1]);
|
|
3436
|
-
}
|
|
3437
|
-
},
|
|
3438
|
-
|
|
3439
|
-
i: noop,
|
|
3440
|
-
o: noop,
|
|
3441
|
-
|
|
3442
|
-
d(detaching) {
|
|
3443
|
-
if (detaching) detach(div);
|
|
3444
|
-
}
|
|
3445
|
-
|
|
3446
|
-
};
|
|
3447
|
-
}
|
|
3448
|
-
|
|
3449
|
-
function instance$u($$self, $$props, $$invalidate) {
|
|
3450
|
-
let {
|
|
3451
|
-
src
|
|
3452
|
-
} = $$props;
|
|
3453
|
-
let {
|
|
3454
|
-
height = "100%"
|
|
3455
|
-
} = $$props;
|
|
3456
|
-
|
|
3457
|
-
$$self.$$set = $$props => {
|
|
3458
|
-
if ('src' in $$props) $$invalidate(0, src = $$props.src);
|
|
3459
|
-
if ('height' in $$props) $$invalidate(1, height = $$props.height);
|
|
3460
|
-
};
|
|
3461
|
-
|
|
3462
|
-
return [src, height];
|
|
3463
|
-
}
|
|
3464
|
-
|
|
3465
|
-
class CardImage extends SvelteElement {
|
|
3466
|
-
constructor(options) {
|
|
3467
|
-
super();
|
|
3468
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
|
|
3469
|
-
init(this, {
|
|
3470
|
-
target: this.shadowRoot,
|
|
3471
|
-
props: attribute_to_object(this.attributes),
|
|
3472
|
-
customElement: true
|
|
3473
|
-
}, instance$u, create_fragment$w, safe_not_equal, {
|
|
3474
|
-
src: 0,
|
|
3475
|
-
height: 1
|
|
3476
|
-
}, null);
|
|
3477
|
-
|
|
3478
|
-
if (options) {
|
|
3479
|
-
if (options.target) {
|
|
3480
|
-
insert(options.target, this, options.anchor);
|
|
3481
|
-
}
|
|
3482
|
-
|
|
3483
|
-
if (options.props) {
|
|
3484
|
-
this.$set(options.props);
|
|
3485
|
-
flush();
|
|
3486
|
-
}
|
|
3487
|
-
}
|
|
3488
|
-
}
|
|
3489
|
-
|
|
3490
|
-
static get observedAttributes() {
|
|
3491
|
-
return ["src", "height"];
|
|
3492
|
-
}
|
|
3493
|
-
|
|
3494
|
-
get src() {
|
|
3495
|
-
return this.$$.ctx[0];
|
|
3496
|
-
}
|
|
3497
|
-
|
|
3498
|
-
set src(src) {
|
|
3499
|
-
this.$$set({
|
|
3500
|
-
src
|
|
3501
|
-
});
|
|
3502
|
-
flush();
|
|
3503
|
-
}
|
|
3504
|
-
|
|
3505
|
-
get height() {
|
|
3506
|
-
return this.$$.ctx[1];
|
|
3507
|
-
}
|
|
3508
|
-
|
|
3509
|
-
set height(height) {
|
|
3510
|
-
this.$$set({
|
|
3511
|
-
height
|
|
3512
|
-
});
|
|
3513
|
-
flush();
|
|
3514
|
-
}
|
|
3515
|
-
|
|
3516
|
-
}
|
|
3517
|
-
|
|
3518
|
-
customElements.define("goa-card-image", CardImage);
|
|
3519
3305
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3520
3306
|
|
|
3521
|
-
function create_fragment$
|
|
3307
|
+
function create_fragment$z(ctx) {
|
|
3522
3308
|
let div;
|
|
3523
3309
|
let slot;
|
|
3524
3310
|
let div_style_value;
|
|
@@ -3597,7 +3383,7 @@
|
|
|
3597
3383
|
};
|
|
3598
3384
|
}
|
|
3599
3385
|
|
|
3600
|
-
function instance$
|
|
3386
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
3601
3387
|
let {
|
|
3602
3388
|
elevation = 0
|
|
3603
3389
|
} = $$props;
|
|
@@ -3645,7 +3431,7 @@
|
|
|
3645
3431
|
target: this.shadowRoot,
|
|
3646
3432
|
props: attribute_to_object(this.attributes),
|
|
3647
3433
|
customElement: true
|
|
3648
|
-
}, instance$
|
|
3434
|
+
}, instance$v, create_fragment$z, safe_not_equal, {
|
|
3649
3435
|
elevation: 0,
|
|
3650
3436
|
width: 1,
|
|
3651
3437
|
height: 2,
|
|
@@ -3763,40 +3549,254 @@
|
|
|
3763
3549
|
}
|
|
3764
3550
|
|
|
3765
3551
|
customElements.define("goa-card", Card);
|
|
3766
|
-
/* libs/web-components/src/components/
|
|
3552
|
+
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3767
3553
|
|
|
3768
|
-
function
|
|
3769
|
-
let
|
|
3770
|
-
let path;
|
|
3554
|
+
function create_fragment$y(ctx) {
|
|
3555
|
+
let div;
|
|
3771
3556
|
return {
|
|
3772
3557
|
c() {
|
|
3773
|
-
|
|
3774
|
-
|
|
3775
|
-
|
|
3776
|
-
attr(
|
|
3777
|
-
attr(svg, "data-testid", "checkmark");
|
|
3778
|
-
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
3779
|
-
attr(svg, "viewBox", "0 0 16 12.18");
|
|
3558
|
+
div = element("div");
|
|
3559
|
+
div.innerHTML = `<slot></slot>`;
|
|
3560
|
+
this.c = noop;
|
|
3561
|
+
attr(div, "class", "card-content");
|
|
3780
3562
|
},
|
|
3781
3563
|
|
|
3782
3564
|
m(target, anchor) {
|
|
3783
|
-
insert(target,
|
|
3784
|
-
append(svg, path);
|
|
3565
|
+
insert(target, div, anchor);
|
|
3785
3566
|
},
|
|
3786
3567
|
|
|
3568
|
+
p: noop,
|
|
3569
|
+
i: noop,
|
|
3570
|
+
o: noop,
|
|
3571
|
+
|
|
3787
3572
|
d(detaching) {
|
|
3788
|
-
if (detaching) detach(
|
|
3573
|
+
if (detaching) detach(div);
|
|
3789
3574
|
}
|
|
3790
3575
|
|
|
3791
3576
|
};
|
|
3792
|
-
}
|
|
3793
|
-
|
|
3577
|
+
}
|
|
3794
3578
|
|
|
3795
|
-
|
|
3796
|
-
|
|
3797
|
-
|
|
3798
|
-
|
|
3799
|
-
|
|
3579
|
+
class CardContent extends SvelteElement {
|
|
3580
|
+
constructor(options) {
|
|
3581
|
+
super();
|
|
3582
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
|
|
3583
|
+
init(this, {
|
|
3584
|
+
target: this.shadowRoot,
|
|
3585
|
+
props: attribute_to_object(this.attributes),
|
|
3586
|
+
customElement: true
|
|
3587
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3588
|
+
|
|
3589
|
+
if (options) {
|
|
3590
|
+
if (options.target) {
|
|
3591
|
+
insert(options.target, this, options.anchor);
|
|
3592
|
+
}
|
|
3593
|
+
}
|
|
3594
|
+
}
|
|
3595
|
+
|
|
3596
|
+
}
|
|
3597
|
+
|
|
3598
|
+
customElements.define("goa-card-content", CardContent);
|
|
3599
|
+
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3600
|
+
|
|
3601
|
+
function create_fragment$x(ctx) {
|
|
3602
|
+
let div;
|
|
3603
|
+
return {
|
|
3604
|
+
c() {
|
|
3605
|
+
div = element("div");
|
|
3606
|
+
div.innerHTML = `<slot></slot>`;
|
|
3607
|
+
this.c = noop;
|
|
3608
|
+
attr(div, "class", "card-group");
|
|
3609
|
+
},
|
|
3610
|
+
|
|
3611
|
+
m(target, anchor) {
|
|
3612
|
+
insert(target, div, anchor);
|
|
3613
|
+
},
|
|
3614
|
+
|
|
3615
|
+
p: noop,
|
|
3616
|
+
i: noop,
|
|
3617
|
+
o: noop,
|
|
3618
|
+
|
|
3619
|
+
d(detaching) {
|
|
3620
|
+
if (detaching) detach(div);
|
|
3621
|
+
}
|
|
3622
|
+
|
|
3623
|
+
};
|
|
3624
|
+
}
|
|
3625
|
+
|
|
3626
|
+
class CardGroup extends SvelteElement {
|
|
3627
|
+
constructor(options) {
|
|
3628
|
+
super();
|
|
3629
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
|
|
3630
|
+
init(this, {
|
|
3631
|
+
target: this.shadowRoot,
|
|
3632
|
+
props: attribute_to_object(this.attributes),
|
|
3633
|
+
customElement: true
|
|
3634
|
+
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3635
|
+
|
|
3636
|
+
if (options) {
|
|
3637
|
+
if (options.target) {
|
|
3638
|
+
insert(options.target, this, options.anchor);
|
|
3639
|
+
}
|
|
3640
|
+
}
|
|
3641
|
+
}
|
|
3642
|
+
|
|
3643
|
+
}
|
|
3644
|
+
|
|
3645
|
+
customElements.define("goa-card-group", CardGroup);
|
|
3646
|
+
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3647
|
+
|
|
3648
|
+
function create_fragment$w(ctx) {
|
|
3649
|
+
let div;
|
|
3650
|
+
return {
|
|
3651
|
+
c() {
|
|
3652
|
+
div = element("div");
|
|
3653
|
+
this.c = noop;
|
|
3654
|
+
set_style(div, "background-image", "url(" +
|
|
3655
|
+
/*src*/
|
|
3656
|
+
ctx[0] + ")");
|
|
3657
|
+
set_style(div, "height",
|
|
3658
|
+
/*height*/
|
|
3659
|
+
ctx[1]);
|
|
3660
|
+
set_style(div, "background-size", "cover");
|
|
3661
|
+
set_style(div, "background-position", "center");
|
|
3662
|
+
},
|
|
3663
|
+
|
|
3664
|
+
m(target, anchor) {
|
|
3665
|
+
insert(target, div, anchor);
|
|
3666
|
+
},
|
|
3667
|
+
|
|
3668
|
+
p(ctx, [dirty]) {
|
|
3669
|
+
if (dirty &
|
|
3670
|
+
/*src*/
|
|
3671
|
+
1) {
|
|
3672
|
+
set_style(div, "background-image", "url(" +
|
|
3673
|
+
/*src*/
|
|
3674
|
+
ctx[0] + ")");
|
|
3675
|
+
}
|
|
3676
|
+
|
|
3677
|
+
if (dirty &
|
|
3678
|
+
/*height*/
|
|
3679
|
+
2) {
|
|
3680
|
+
set_style(div, "height",
|
|
3681
|
+
/*height*/
|
|
3682
|
+
ctx[1]);
|
|
3683
|
+
}
|
|
3684
|
+
},
|
|
3685
|
+
|
|
3686
|
+
i: noop,
|
|
3687
|
+
o: noop,
|
|
3688
|
+
|
|
3689
|
+
d(detaching) {
|
|
3690
|
+
if (detaching) detach(div);
|
|
3691
|
+
}
|
|
3692
|
+
|
|
3693
|
+
};
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
3697
|
+
let {
|
|
3698
|
+
src
|
|
3699
|
+
} = $$props;
|
|
3700
|
+
let {
|
|
3701
|
+
height = "100%"
|
|
3702
|
+
} = $$props;
|
|
3703
|
+
|
|
3704
|
+
$$self.$$set = $$props => {
|
|
3705
|
+
if ('src' in $$props) $$invalidate(0, src = $$props.src);
|
|
3706
|
+
if ('height' in $$props) $$invalidate(1, height = $$props.height);
|
|
3707
|
+
};
|
|
3708
|
+
|
|
3709
|
+
return [src, height];
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3712
|
+
class CardImage extends SvelteElement {
|
|
3713
|
+
constructor(options) {
|
|
3714
|
+
super();
|
|
3715
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
|
|
3716
|
+
init(this, {
|
|
3717
|
+
target: this.shadowRoot,
|
|
3718
|
+
props: attribute_to_object(this.attributes),
|
|
3719
|
+
customElement: true
|
|
3720
|
+
}, instance$u, create_fragment$w, safe_not_equal, {
|
|
3721
|
+
src: 0,
|
|
3722
|
+
height: 1
|
|
3723
|
+
}, null);
|
|
3724
|
+
|
|
3725
|
+
if (options) {
|
|
3726
|
+
if (options.target) {
|
|
3727
|
+
insert(options.target, this, options.anchor);
|
|
3728
|
+
}
|
|
3729
|
+
|
|
3730
|
+
if (options.props) {
|
|
3731
|
+
this.$set(options.props);
|
|
3732
|
+
flush();
|
|
3733
|
+
}
|
|
3734
|
+
}
|
|
3735
|
+
}
|
|
3736
|
+
|
|
3737
|
+
static get observedAttributes() {
|
|
3738
|
+
return ["src", "height"];
|
|
3739
|
+
}
|
|
3740
|
+
|
|
3741
|
+
get src() {
|
|
3742
|
+
return this.$$.ctx[0];
|
|
3743
|
+
}
|
|
3744
|
+
|
|
3745
|
+
set src(src) {
|
|
3746
|
+
this.$$set({
|
|
3747
|
+
src
|
|
3748
|
+
});
|
|
3749
|
+
flush();
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
get height() {
|
|
3753
|
+
return this.$$.ctx[1];
|
|
3754
|
+
}
|
|
3755
|
+
|
|
3756
|
+
set height(height) {
|
|
3757
|
+
this.$$set({
|
|
3758
|
+
height
|
|
3759
|
+
});
|
|
3760
|
+
flush();
|
|
3761
|
+
}
|
|
3762
|
+
|
|
3763
|
+
}
|
|
3764
|
+
|
|
3765
|
+
customElements.define("goa-card-image", CardImage);
|
|
3766
|
+
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
3767
|
+
|
|
3768
|
+
function create_if_block_1$8(ctx) {
|
|
3769
|
+
let svg;
|
|
3770
|
+
let path;
|
|
3771
|
+
return {
|
|
3772
|
+
c() {
|
|
3773
|
+
svg = svg_element("svg");
|
|
3774
|
+
path = svg_element("path");
|
|
3775
|
+
attr(path, "d", "M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z");
|
|
3776
|
+
attr(svg, "id", "checkmark");
|
|
3777
|
+
attr(svg, "data-testid", "checkmark");
|
|
3778
|
+
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
3779
|
+
attr(svg, "viewBox", "0 0 16 12.18");
|
|
3780
|
+
},
|
|
3781
|
+
|
|
3782
|
+
m(target, anchor) {
|
|
3783
|
+
insert(target, svg, anchor);
|
|
3784
|
+
append(svg, path);
|
|
3785
|
+
},
|
|
3786
|
+
|
|
3787
|
+
d(detaching) {
|
|
3788
|
+
if (detaching) detach(svg);
|
|
3789
|
+
}
|
|
3790
|
+
|
|
3791
|
+
};
|
|
3792
|
+
} // (68:4) {#if isIndeterminate}
|
|
3793
|
+
|
|
3794
|
+
|
|
3795
|
+
function create_if_block$d(ctx) {
|
|
3796
|
+
let svg;
|
|
3797
|
+
let rect;
|
|
3798
|
+
return {
|
|
3799
|
+
c() {
|
|
3800
3800
|
svg = svg_element("svg");
|
|
3801
3801
|
rect = svg_element("rect");
|
|
3802
3802
|
attr(rect, "width", "15");
|
|
@@ -3819,7 +3819,7 @@
|
|
|
3819
3819
|
};
|
|
3820
3820
|
}
|
|
3821
3821
|
|
|
3822
|
-
function create_fragment$
|
|
3822
|
+
function create_fragment$v(ctx) {
|
|
3823
3823
|
let label;
|
|
3824
3824
|
let div0;
|
|
3825
3825
|
let input;
|
|
@@ -4068,7 +4068,7 @@
|
|
|
4068
4068
|
};
|
|
4069
4069
|
}
|
|
4070
4070
|
|
|
4071
|
-
function instance$
|
|
4071
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
4072
4072
|
let isDisabled;
|
|
4073
4073
|
let isError;
|
|
4074
4074
|
let isChecked;
|
|
@@ -4183,7 +4183,7 @@
|
|
|
4183
4183
|
target: this.shadowRoot,
|
|
4184
4184
|
props: attribute_to_object(this.attributes),
|
|
4185
4185
|
customElement: true
|
|
4186
|
-
}, instance$
|
|
4186
|
+
}, instance$t, create_fragment$v, safe_not_equal, {
|
|
4187
4187
|
name: 0,
|
|
4188
4188
|
checked: 14,
|
|
4189
4189
|
text: 1,
|
|
@@ -4441,7 +4441,7 @@
|
|
|
4441
4441
|
};
|
|
4442
4442
|
}
|
|
4443
4443
|
|
|
4444
|
-
function create_fragment$
|
|
4444
|
+
function create_fragment$u(ctx) {
|
|
4445
4445
|
let div1;
|
|
4446
4446
|
let t0;
|
|
4447
4447
|
let div0;
|
|
@@ -4623,7 +4623,7 @@
|
|
|
4623
4623
|
};
|
|
4624
4624
|
}
|
|
4625
4625
|
|
|
4626
|
-
function instance$
|
|
4626
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
4627
4627
|
let {
|
|
4628
4628
|
mt = null
|
|
4629
4629
|
} = $$props;
|
|
@@ -4724,7 +4724,7 @@
|
|
|
4724
4724
|
target: this.shadowRoot,
|
|
4725
4725
|
props: attribute_to_object(this.attributes),
|
|
4726
4726
|
customElement: true
|
|
4727
|
-
}, instance$
|
|
4727
|
+
}, instance$s, create_fragment$u, safe_not_equal, {
|
|
4728
4728
|
mt: 0,
|
|
4729
4729
|
mr: 1,
|
|
4730
4730
|
mb: 2,
|
|
@@ -5352,7 +5352,7 @@
|
|
|
5352
5352
|
};
|
|
5353
5353
|
}
|
|
5354
5354
|
|
|
5355
|
-
function create_fragment$
|
|
5355
|
+
function create_fragment$t(ctx) {
|
|
5356
5356
|
let if_block_anchor;
|
|
5357
5357
|
let current;
|
|
5358
5358
|
let if_block =
|
|
@@ -5417,7 +5417,7 @@
|
|
|
5417
5417
|
};
|
|
5418
5418
|
}
|
|
5419
5419
|
|
|
5420
|
-
function instance$
|
|
5420
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
5421
5421
|
let isVisible;
|
|
5422
5422
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5423
5423
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5475,7 +5475,7 @@
|
|
|
5475
5475
|
target: this.shadowRoot,
|
|
5476
5476
|
props: attribute_to_object(this.attributes),
|
|
5477
5477
|
customElement: true
|
|
5478
|
-
}, instance$
|
|
5478
|
+
}, instance$r, create_fragment$t, safe_not_equal, {
|
|
5479
5479
|
variant: 6,
|
|
5480
5480
|
size: 7,
|
|
5481
5481
|
message: 0,
|
|
@@ -5559,7 +5559,7 @@
|
|
|
5559
5559
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5560
5560
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5561
5561
|
|
|
5562
|
-
function create_fragment$
|
|
5562
|
+
function create_fragment$s(ctx) {
|
|
5563
5563
|
let div3;
|
|
5564
5564
|
let header;
|
|
5565
5565
|
let div0;
|
|
@@ -5684,7 +5684,7 @@
|
|
|
5684
5684
|
};
|
|
5685
5685
|
}
|
|
5686
5686
|
|
|
5687
|
-
function instance$
|
|
5687
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
5688
5688
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
5689
5689
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
5690
5690
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -5740,7 +5740,7 @@
|
|
|
5740
5740
|
target: this.shadowRoot,
|
|
5741
5741
|
props: attribute_to_object(this.attributes),
|
|
5742
5742
|
customElement: true
|
|
5743
|
-
}, instance$
|
|
5743
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
5744
5744
|
type: 0,
|
|
5745
5745
|
accent: 1,
|
|
5746
5746
|
padding: 2,
|
|
@@ -5860,7 +5860,7 @@
|
|
|
5860
5860
|
customElements.define("goa-container", Container);
|
|
5861
5861
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
5862
5862
|
|
|
5863
|
-
function create_fragment$
|
|
5863
|
+
function create_fragment$r(ctx) {
|
|
5864
5864
|
let hr;
|
|
5865
5865
|
let hr_style_value;
|
|
5866
5866
|
return {
|
|
@@ -5919,7 +5919,7 @@
|
|
|
5919
5919
|
};
|
|
5920
5920
|
}
|
|
5921
5921
|
|
|
5922
|
-
function instance$
|
|
5922
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
5923
5923
|
let {
|
|
5924
5924
|
testid = ""
|
|
5925
5925
|
} = $$props;
|
|
@@ -5955,7 +5955,7 @@
|
|
|
5955
5955
|
target: this.shadowRoot,
|
|
5956
5956
|
props: attribute_to_object(this.attributes),
|
|
5957
5957
|
customElement: true
|
|
5958
|
-
}, instance$
|
|
5958
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
5959
5959
|
testid: 0,
|
|
5960
5960
|
mt: 1,
|
|
5961
5961
|
mr: 2,
|
|
@@ -6146,12 +6146,139 @@
|
|
|
6146
6146
|
if (!store) return;
|
|
6147
6147
|
delete stores[name];
|
|
6148
6148
|
}
|
|
6149
|
-
/* libs/web-components/src/components/dropdown/
|
|
6149
|
+
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
6150
6150
|
|
|
6151
6151
|
|
|
6152
|
-
function
|
|
6153
|
-
|
|
6154
|
-
|
|
6152
|
+
function create_fragment$q(ctx) {
|
|
6153
|
+
return {
|
|
6154
|
+
c() {
|
|
6155
|
+
this.c = noop;
|
|
6156
|
+
},
|
|
6157
|
+
|
|
6158
|
+
m: noop,
|
|
6159
|
+
p: noop,
|
|
6160
|
+
i: noop,
|
|
6161
|
+
o: noop,
|
|
6162
|
+
d: noop
|
|
6163
|
+
};
|
|
6164
|
+
}
|
|
6165
|
+
|
|
6166
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
6167
|
+
let {
|
|
6168
|
+
name = ""
|
|
6169
|
+
} = $$props;
|
|
6170
|
+
let {
|
|
6171
|
+
value = ""
|
|
6172
|
+
} = $$props;
|
|
6173
|
+
let {
|
|
6174
|
+
label = ""
|
|
6175
|
+
} = $$props; // private
|
|
6176
|
+
|
|
6177
|
+
let ctx;
|
|
6178
|
+
let isBound = false;
|
|
6179
|
+
|
|
6180
|
+
$$self.$$set = $$props => {
|
|
6181
|
+
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
|
6182
|
+
if ('value' in $$props) $$invalidate(1, value = $$props.value);
|
|
6183
|
+
if ('label' in $$props) $$invalidate(2, label = $$props.label);
|
|
6184
|
+
};
|
|
6185
|
+
|
|
6186
|
+
$$self.$$.update = () => {
|
|
6187
|
+
if ($$self.$$.dirty &
|
|
6188
|
+
/*isBound, name, ctx, label, value*/
|
|
6189
|
+
31) {
|
|
6190
|
+
{
|
|
6191
|
+
(function () {
|
|
6192
|
+
return _call(tick, function () {
|
|
6193
|
+
if (!isBound) {
|
|
6194
|
+
$$invalidate(4, isBound = true);
|
|
6195
|
+
$$invalidate(3, ctx = getContext(name));
|
|
6196
|
+
ctx.notify({
|
|
6197
|
+
type: "bind",
|
|
6198
|
+
name,
|
|
6199
|
+
label,
|
|
6200
|
+
value
|
|
6201
|
+
});
|
|
6202
|
+
}
|
|
6203
|
+
});
|
|
6204
|
+
})();
|
|
6205
|
+
}
|
|
6206
|
+
}
|
|
6207
|
+
};
|
|
6208
|
+
|
|
6209
|
+
return [name, value, label, ctx, isBound];
|
|
6210
|
+
}
|
|
6211
|
+
|
|
6212
|
+
class DropdownItem extends SvelteElement {
|
|
6213
|
+
constructor(options) {
|
|
6214
|
+
super();
|
|
6215
|
+
init(this, {
|
|
6216
|
+
target: this.shadowRoot,
|
|
6217
|
+
props: attribute_to_object(this.attributes),
|
|
6218
|
+
customElement: true
|
|
6219
|
+
}, instance$o, create_fragment$q, safe_not_equal, {
|
|
6220
|
+
name: 0,
|
|
6221
|
+
value: 1,
|
|
6222
|
+
label: 2
|
|
6223
|
+
}, null);
|
|
6224
|
+
|
|
6225
|
+
if (options) {
|
|
6226
|
+
if (options.target) {
|
|
6227
|
+
insert(options.target, this, options.anchor);
|
|
6228
|
+
}
|
|
6229
|
+
|
|
6230
|
+
if (options.props) {
|
|
6231
|
+
this.$set(options.props);
|
|
6232
|
+
flush();
|
|
6233
|
+
}
|
|
6234
|
+
}
|
|
6235
|
+
}
|
|
6236
|
+
|
|
6237
|
+
static get observedAttributes() {
|
|
6238
|
+
return ["name", "value", "label"];
|
|
6239
|
+
}
|
|
6240
|
+
|
|
6241
|
+
get name() {
|
|
6242
|
+
return this.$$.ctx[0];
|
|
6243
|
+
}
|
|
6244
|
+
|
|
6245
|
+
set name(name) {
|
|
6246
|
+
this.$$set({
|
|
6247
|
+
name
|
|
6248
|
+
});
|
|
6249
|
+
flush();
|
|
6250
|
+
}
|
|
6251
|
+
|
|
6252
|
+
get value() {
|
|
6253
|
+
return this.$$.ctx[1];
|
|
6254
|
+
}
|
|
6255
|
+
|
|
6256
|
+
set value(value) {
|
|
6257
|
+
this.$$set({
|
|
6258
|
+
value
|
|
6259
|
+
});
|
|
6260
|
+
flush();
|
|
6261
|
+
}
|
|
6262
|
+
|
|
6263
|
+
get label() {
|
|
6264
|
+
return this.$$.ctx[2];
|
|
6265
|
+
}
|
|
6266
|
+
|
|
6267
|
+
set label(label) {
|
|
6268
|
+
this.$$set({
|
|
6269
|
+
label
|
|
6270
|
+
});
|
|
6271
|
+
flush();
|
|
6272
|
+
}
|
|
6273
|
+
|
|
6274
|
+
}
|
|
6275
|
+
|
|
6276
|
+
customElements.define("goa-dropdown-item", DropdownItem);
|
|
6277
|
+
/* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.51.0 */
|
|
6278
|
+
|
|
6279
|
+
function get_each_context_1(ctx, list, i) {
|
|
6280
|
+
const child_ctx = ctx.slice();
|
|
6281
|
+
child_ctx[47] = list[i];
|
|
6155
6282
|
child_ctx[51] = i;
|
|
6156
6283
|
return child_ctx;
|
|
6157
6284
|
}
|
|
@@ -7441,205 +7568,78 @@
|
|
|
7441
7568
|
}
|
|
7442
7569
|
|
|
7443
7570
|
customElements.define("goa-dropdown", Dropdown);
|
|
7444
|
-
/* libs/web-components/src/components/
|
|
7571
|
+
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7445
7572
|
|
|
7446
7573
|
function create_fragment$o(ctx) {
|
|
7574
|
+
let div;
|
|
7447
7575
|
return {
|
|
7448
7576
|
c() {
|
|
7577
|
+
div = element("div");
|
|
7578
|
+
div.innerHTML = `<slot></slot>
|
|
7579
|
+
|
|
7580
|
+
<span tabindex="0"></span>`;
|
|
7449
7581
|
this.c = noop;
|
|
7582
|
+
attr(div, "id", "root");
|
|
7583
|
+
},
|
|
7584
|
+
|
|
7585
|
+
m(target, anchor) {
|
|
7586
|
+
insert(target, div, anchor);
|
|
7587
|
+
/*div_binding*/
|
|
7588
|
+
|
|
7589
|
+
ctx[4](div);
|
|
7450
7590
|
},
|
|
7451
7591
|
|
|
7452
|
-
m: noop,
|
|
7453
7592
|
p: noop,
|
|
7454
7593
|
i: noop,
|
|
7455
7594
|
o: noop,
|
|
7456
|
-
d: noop
|
|
7457
|
-
};
|
|
7458
|
-
}
|
|
7459
|
-
|
|
7460
|
-
function instance$m($$self, $$props, $$invalidate) {
|
|
7461
|
-
let {
|
|
7462
|
-
name = ""
|
|
7463
|
-
} = $$props;
|
|
7464
|
-
let {
|
|
7465
|
-
value = ""
|
|
7466
|
-
} = $$props;
|
|
7467
|
-
let {
|
|
7468
|
-
label = ""
|
|
7469
|
-
} = $$props; // private
|
|
7470
7595
|
|
|
7471
|
-
|
|
7472
|
-
|
|
7473
|
-
|
|
7474
|
-
$$self.$$set = $$props => {
|
|
7475
|
-
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
|
7476
|
-
if ('value' in $$props) $$invalidate(1, value = $$props.value);
|
|
7477
|
-
if ('label' in $$props) $$invalidate(2, label = $$props.label);
|
|
7478
|
-
};
|
|
7596
|
+
d(detaching) {
|
|
7597
|
+
if (detaching) detach(div);
|
|
7598
|
+
/*div_binding*/
|
|
7479
7599
|
|
|
7480
|
-
|
|
7481
|
-
if ($$self.$$.dirty &
|
|
7482
|
-
/*isBound, name, ctx, label, value*/
|
|
7483
|
-
31) {
|
|
7484
|
-
{
|
|
7485
|
-
(function () {
|
|
7486
|
-
return _call(tick, function () {
|
|
7487
|
-
if (!isBound) {
|
|
7488
|
-
$$invalidate(4, isBound = true);
|
|
7489
|
-
$$invalidate(3, ctx = getContext(name));
|
|
7490
|
-
ctx.notify({
|
|
7491
|
-
type: "bind",
|
|
7492
|
-
name,
|
|
7493
|
-
label,
|
|
7494
|
-
value
|
|
7495
|
-
});
|
|
7496
|
-
}
|
|
7497
|
-
});
|
|
7498
|
-
})();
|
|
7499
|
-
}
|
|
7600
|
+
ctx[4](null);
|
|
7500
7601
|
}
|
|
7501
|
-
};
|
|
7502
7602
|
|
|
7503
|
-
|
|
7603
|
+
};
|
|
7504
7604
|
}
|
|
7505
7605
|
|
|
7506
|
-
|
|
7507
|
-
|
|
7508
|
-
|
|
7509
|
-
|
|
7510
|
-
target: this.shadowRoot,
|
|
7511
|
-
props: attribute_to_object(this.attributes),
|
|
7512
|
-
customElement: true
|
|
7513
|
-
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7514
|
-
name: 0,
|
|
7515
|
-
value: 1,
|
|
7516
|
-
label: 2
|
|
7517
|
-
}, null);
|
|
7606
|
+
function isFocusable(element) {
|
|
7607
|
+
const isTabbable = element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null;
|
|
7608
|
+
if (isTabbable) return true;
|
|
7609
|
+
if (element["disabled"]) return false;
|
|
7518
7610
|
|
|
7519
|
-
|
|
7520
|
-
|
|
7521
|
-
|
|
7611
|
+
switch (element.nodeName) {
|
|
7612
|
+
case 'A':
|
|
7613
|
+
{
|
|
7614
|
+
const el = element;
|
|
7615
|
+
return !!el.href && el.rel !== 'ignore';
|
|
7522
7616
|
}
|
|
7523
7617
|
|
|
7524
|
-
|
|
7525
|
-
|
|
7526
|
-
|
|
7618
|
+
case 'INPUT':
|
|
7619
|
+
{
|
|
7620
|
+
const el = element;
|
|
7621
|
+
return el.type !== 'hidden' && el.type !== 'file';
|
|
7527
7622
|
}
|
|
7528
|
-
}
|
|
7529
|
-
}
|
|
7530
7623
|
|
|
7531
|
-
|
|
7532
|
-
|
|
7533
|
-
|
|
7624
|
+
case 'BUTTON':
|
|
7625
|
+
case 'SELECT':
|
|
7626
|
+
case 'TEXTAREA':
|
|
7627
|
+
return true;
|
|
7534
7628
|
|
|
7535
|
-
|
|
7536
|
-
|
|
7629
|
+
default:
|
|
7630
|
+
return false;
|
|
7537
7631
|
}
|
|
7632
|
+
}
|
|
7538
7633
|
|
|
7539
|
-
|
|
7540
|
-
|
|
7541
|
-
|
|
7542
|
-
|
|
7543
|
-
|
|
7544
|
-
|
|
7545
|
-
|
|
7546
|
-
|
|
7547
|
-
|
|
7548
|
-
}
|
|
7549
|
-
|
|
7550
|
-
set value(value) {
|
|
7551
|
-
this.$$set({
|
|
7552
|
-
value
|
|
7553
|
-
});
|
|
7554
|
-
flush();
|
|
7555
|
-
}
|
|
7556
|
-
|
|
7557
|
-
get label() {
|
|
7558
|
-
return this.$$.ctx[2];
|
|
7559
|
-
}
|
|
7560
|
-
|
|
7561
|
-
set label(label) {
|
|
7562
|
-
this.$$set({
|
|
7563
|
-
label
|
|
7564
|
-
});
|
|
7565
|
-
flush();
|
|
7566
|
-
}
|
|
7567
|
-
|
|
7568
|
-
}
|
|
7569
|
-
|
|
7570
|
-
customElements.define("goa-dropdown-item", DropdownItem);
|
|
7571
|
-
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7572
|
-
|
|
7573
|
-
function create_fragment$n(ctx) {
|
|
7574
|
-
let div;
|
|
7575
|
-
return {
|
|
7576
|
-
c() {
|
|
7577
|
-
div = element("div");
|
|
7578
|
-
div.innerHTML = `<slot></slot>
|
|
7579
|
-
|
|
7580
|
-
<span tabindex="0"></span>`;
|
|
7581
|
-
this.c = noop;
|
|
7582
|
-
attr(div, "id", "root");
|
|
7583
|
-
},
|
|
7584
|
-
|
|
7585
|
-
m(target, anchor) {
|
|
7586
|
-
insert(target, div, anchor);
|
|
7587
|
-
/*div_binding*/
|
|
7588
|
-
|
|
7589
|
-
ctx[4](div);
|
|
7590
|
-
},
|
|
7591
|
-
|
|
7592
|
-
p: noop,
|
|
7593
|
-
i: noop,
|
|
7594
|
-
o: noop,
|
|
7595
|
-
|
|
7596
|
-
d(detaching) {
|
|
7597
|
-
if (detaching) detach(div);
|
|
7598
|
-
/*div_binding*/
|
|
7599
|
-
|
|
7600
|
-
ctx[4](null);
|
|
7601
|
-
}
|
|
7602
|
-
|
|
7603
|
-
};
|
|
7604
|
-
}
|
|
7605
|
-
|
|
7606
|
-
function isFocusable(element) {
|
|
7607
|
-
const isTabbable = element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null;
|
|
7608
|
-
if (isTabbable) return true;
|
|
7609
|
-
if (element["disabled"]) return false;
|
|
7610
|
-
|
|
7611
|
-
switch (element.nodeName) {
|
|
7612
|
-
case 'A':
|
|
7613
|
-
{
|
|
7614
|
-
const el = element;
|
|
7615
|
-
return !!el.href && el.rel !== 'ignore';
|
|
7616
|
-
}
|
|
7617
|
-
|
|
7618
|
-
case 'INPUT':
|
|
7619
|
-
{
|
|
7620
|
-
const el = element;
|
|
7621
|
-
return el.type !== 'hidden' && el.type !== 'file';
|
|
7622
|
-
}
|
|
7623
|
-
|
|
7624
|
-
case 'BUTTON':
|
|
7625
|
-
case 'SELECT':
|
|
7626
|
-
case 'TEXTAREA':
|
|
7627
|
-
return true;
|
|
7628
|
-
|
|
7629
|
-
default:
|
|
7630
|
-
return false;
|
|
7631
|
-
}
|
|
7632
|
-
}
|
|
7633
|
-
|
|
7634
|
-
function instance$l($$self, $$props, $$invalidate) {
|
|
7635
|
-
let isActive;
|
|
7636
|
-
let {
|
|
7637
|
-
active
|
|
7638
|
-
} = $$props;
|
|
7639
|
-
let ignoreFocusChanges = false;
|
|
7640
|
-
let lastFocus;
|
|
7641
|
-
let element;
|
|
7642
|
-
let hasListeners = false;
|
|
7634
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
7635
|
+
let isActive;
|
|
7636
|
+
let {
|
|
7637
|
+
active
|
|
7638
|
+
} = $$props;
|
|
7639
|
+
let ignoreFocusChanges = false;
|
|
7640
|
+
let lastFocus;
|
|
7641
|
+
let element;
|
|
7642
|
+
let hasListeners = false;
|
|
7643
7643
|
|
|
7644
7644
|
function removeListeners() {
|
|
7645
7645
|
document.removeEventListener('focus', trapFocus, true);
|
|
@@ -7800,7 +7800,7 @@
|
|
|
7800
7800
|
target: this.shadowRoot,
|
|
7801
7801
|
props: attribute_to_object(this.attributes),
|
|
7802
7802
|
customElement: true
|
|
7803
|
-
}, instance$
|
|
7803
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7804
7804
|
active: 1
|
|
7805
7805
|
}, null);
|
|
7806
7806
|
|
|
@@ -7834,133 +7834,151 @@
|
|
|
7834
7834
|
}
|
|
7835
7835
|
|
|
7836
7836
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
7837
|
-
/* libs/web-components/src/components/footer
|
|
7838
|
-
|
|
7839
|
-
function get_each_context$3(ctx, list, i) {
|
|
7840
|
-
const child_ctx = ctx.slice();
|
|
7841
|
-
child_ctx[3] = list[i];
|
|
7842
|
-
return child_ctx;
|
|
7843
|
-
} // (52:4) {#each children as child}
|
|
7844
|
-
|
|
7837
|
+
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
7845
7838
|
|
|
7846
|
-
function
|
|
7847
|
-
let
|
|
7848
|
-
let a;
|
|
7849
|
-
let t_value =
|
|
7850
|
-
/*child*/
|
|
7851
|
-
ctx[3].innerHTML + "";
|
|
7852
|
-
let t;
|
|
7853
|
-
let a_href_value;
|
|
7839
|
+
function create_if_block$9(ctx) {
|
|
7840
|
+
let goa_divider;
|
|
7854
7841
|
return {
|
|
7855
7842
|
c() {
|
|
7856
|
-
|
|
7857
|
-
|
|
7858
|
-
t = text(t_value);
|
|
7859
|
-
attr(a, "href", a_href_value =
|
|
7860
|
-
/*child*/
|
|
7861
|
-
ctx[3].href);
|
|
7843
|
+
goa_divider = element("goa-divider");
|
|
7844
|
+
set_custom_element_data(goa_divider, "spacing", "small");
|
|
7862
7845
|
},
|
|
7863
7846
|
|
|
7864
7847
|
m(target, anchor) {
|
|
7865
|
-
insert(target,
|
|
7866
|
-
append(li, a);
|
|
7867
|
-
append(a, t);
|
|
7868
|
-
},
|
|
7869
|
-
|
|
7870
|
-
p(ctx, dirty) {
|
|
7871
|
-
if (dirty &
|
|
7872
|
-
/*children*/
|
|
7873
|
-
2 && t_value !== (t_value =
|
|
7874
|
-
/*child*/
|
|
7875
|
-
ctx[3].innerHTML + "")) set_data(t, t_value);
|
|
7876
|
-
|
|
7877
|
-
if (dirty &
|
|
7878
|
-
/*children*/
|
|
7879
|
-
2 && a_href_value !== (a_href_value =
|
|
7880
|
-
/*child*/
|
|
7881
|
-
ctx[3].href)) {
|
|
7882
|
-
attr(a, "href", a_href_value);
|
|
7883
|
-
}
|
|
7848
|
+
insert(target, goa_divider, anchor);
|
|
7884
7849
|
},
|
|
7885
7850
|
|
|
7886
7851
|
d(detaching) {
|
|
7887
|
-
if (detaching) detach(
|
|
7852
|
+
if (detaching) detach(goa_divider);
|
|
7888
7853
|
}
|
|
7889
7854
|
|
|
7890
7855
|
};
|
|
7891
7856
|
}
|
|
7892
7857
|
|
|
7893
|
-
function create_fragment$
|
|
7894
|
-
|
|
7895
|
-
let div;
|
|
7896
|
-
let t;
|
|
7897
|
-
let ul;
|
|
7898
|
-
let each_value =
|
|
7899
|
-
/*children*/
|
|
7900
|
-
ctx[1];
|
|
7901
|
-
let each_blocks = [];
|
|
7902
|
-
|
|
7903
|
-
for (let i = 0; i < each_value.length; i += 1) {
|
|
7904
|
-
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
7905
|
-
}
|
|
7858
|
+
function create_fragment$n(ctx) {
|
|
7859
|
+
var _ctx$;
|
|
7906
7860
|
|
|
7861
|
+
let div5;
|
|
7862
|
+
let div4;
|
|
7863
|
+
let div0;
|
|
7864
|
+
let t0;
|
|
7865
|
+
let t1;
|
|
7866
|
+
let div3;
|
|
7867
|
+
let div1;
|
|
7868
|
+
let t2;
|
|
7869
|
+
let div2;
|
|
7870
|
+
let a0;
|
|
7871
|
+
let t3;
|
|
7872
|
+
let a1;
|
|
7873
|
+
let div5_style_value;
|
|
7874
|
+
let if_block =
|
|
7875
|
+
/*navLinks*/
|
|
7876
|
+
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$9();
|
|
7907
7877
|
return {
|
|
7908
7878
|
c() {
|
|
7909
|
-
|
|
7910
|
-
div = element("div");
|
|
7911
|
-
div.innerHTML = `<slot></slot>`;
|
|
7912
|
-
t = space();
|
|
7913
|
-
ul = element("ul");
|
|
7914
|
-
|
|
7915
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
7916
|
-
each_blocks[i].c();
|
|
7917
|
-
}
|
|
7879
|
+
var _ctx$2, _ctx$3;
|
|
7918
7880
|
|
|
7881
|
+
div5 = element("div");
|
|
7882
|
+
div4 = element("div");
|
|
7883
|
+
div0 = element("div");
|
|
7884
|
+
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
7885
|
+
t0 = space();
|
|
7886
|
+
if (if_block) if_block.c();
|
|
7887
|
+
t1 = space();
|
|
7888
|
+
div3 = element("div");
|
|
7889
|
+
div1 = element("div");
|
|
7890
|
+
div1.innerHTML = `<slot name="meta"></slot>`;
|
|
7891
|
+
t2 = space();
|
|
7892
|
+
div2 = element("div");
|
|
7893
|
+
a0 = element("a");
|
|
7894
|
+
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"/>`;
|
|
7895
|
+
t3 = space();
|
|
7896
|
+
a1 = element("a");
|
|
7897
|
+
a1.textContent = `© ${
|
|
7898
|
+
/*year*/
|
|
7899
|
+
ctx[4]} Government of Alberta`;
|
|
7919
7900
|
this.c = noop;
|
|
7920
|
-
attr(
|
|
7901
|
+
attr(div0, "class", "nav-links");
|
|
7902
|
+
attr(div1, "class", "meta-links");
|
|
7903
|
+
attr(a0, "href", "https://alberta.ca");
|
|
7904
|
+
attr(a1, "href", "https://alberta.ca");
|
|
7905
|
+
attr(a1, "class", "goa-copyright");
|
|
7906
|
+
attr(div2, "class", "abgov");
|
|
7907
|
+
toggle_class(div2, "with-meta-links",
|
|
7908
|
+
/*metaLinks*/
|
|
7909
|
+
(_ctx$2 = ctx[3]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
|
|
7910
|
+
attr(div3, "class", "meta-section");
|
|
7911
|
+
toggle_class(div3, "with-meta-links",
|
|
7912
|
+
/*metaLinks*/
|
|
7913
|
+
(_ctx$3 = ctx[3]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
|
|
7914
|
+
attr(div4, "class", "content");
|
|
7915
|
+
attr(div5, "class", "app-footer");
|
|
7916
|
+
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
7917
|
+
/*maxcontentwidth*/
|
|
7918
|
+
ctx[0] || "100%"}`);
|
|
7921
7919
|
},
|
|
7922
7920
|
|
|
7923
7921
|
m(target, anchor) {
|
|
7924
|
-
insert(target,
|
|
7925
|
-
append(
|
|
7926
|
-
append(
|
|
7927
|
-
append(
|
|
7928
|
-
|
|
7929
|
-
|
|
7930
|
-
|
|
7931
|
-
|
|
7932
|
-
|
|
7933
|
-
|
|
7922
|
+
insert(target, div5, anchor);
|
|
7923
|
+
append(div5, div4);
|
|
7924
|
+
append(div4, div0);
|
|
7925
|
+
append(div4, t0);
|
|
7926
|
+
if (if_block) if_block.m(div4, null);
|
|
7927
|
+
append(div4, t1);
|
|
7928
|
+
append(div4, div3);
|
|
7929
|
+
append(div3, div1);
|
|
7930
|
+
append(div3, t2);
|
|
7931
|
+
append(div3, div2);
|
|
7932
|
+
append(div2, a0);
|
|
7933
|
+
append(div2, t3);
|
|
7934
|
+
append(div2, a1);
|
|
7935
|
+
/*div5_binding*/
|
|
7934
7936
|
|
|
7935
|
-
ctx[
|
|
7937
|
+
ctx[5](div5);
|
|
7936
7938
|
},
|
|
7937
7939
|
|
|
7938
7940
|
p(ctx, [dirty]) {
|
|
7939
|
-
|
|
7940
|
-
/*children*/
|
|
7941
|
-
2) {
|
|
7942
|
-
each_value =
|
|
7943
|
-
/*children*/
|
|
7944
|
-
ctx[1];
|
|
7945
|
-
let i;
|
|
7946
|
-
|
|
7947
|
-
for (i = 0; i < each_value.length; i += 1) {
|
|
7948
|
-
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
7941
|
+
var _ctx$4;
|
|
7949
7942
|
|
|
7950
|
-
|
|
7951
|
-
|
|
7952
|
-
|
|
7953
|
-
|
|
7954
|
-
|
|
7955
|
-
|
|
7956
|
-
|
|
7943
|
+
if (
|
|
7944
|
+
/*navLinks*/
|
|
7945
|
+
(_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
|
|
7946
|
+
if (if_block) ;else {
|
|
7947
|
+
if_block = create_if_block$9();
|
|
7948
|
+
if_block.c();
|
|
7949
|
+
if_block.m(div4, t1);
|
|
7957
7950
|
}
|
|
7951
|
+
} else if (if_block) {
|
|
7952
|
+
if_block.d(1);
|
|
7953
|
+
if_block = null;
|
|
7954
|
+
}
|
|
7958
7955
|
|
|
7959
|
-
|
|
7960
|
-
|
|
7961
|
-
|
|
7956
|
+
if (dirty &
|
|
7957
|
+
/*metaLinks*/
|
|
7958
|
+
8) {
|
|
7959
|
+
var _ctx$5;
|
|
7962
7960
|
|
|
7963
|
-
|
|
7961
|
+
toggle_class(div2, "with-meta-links",
|
|
7962
|
+
/*metaLinks*/
|
|
7963
|
+
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
7964
|
+
}
|
|
7965
|
+
|
|
7966
|
+
if (dirty &
|
|
7967
|
+
/*metaLinks*/
|
|
7968
|
+
8) {
|
|
7969
|
+
var _ctx$6;
|
|
7970
|
+
|
|
7971
|
+
toggle_class(div3, "with-meta-links",
|
|
7972
|
+
/*metaLinks*/
|
|
7973
|
+
(_ctx$6 = ctx[3]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
|
|
7974
|
+
}
|
|
7975
|
+
|
|
7976
|
+
if (dirty &
|
|
7977
|
+
/*maxcontentwidth*/
|
|
7978
|
+
1 && div5_style_value !== (div5_style_value = `--max-content-width: ${
|
|
7979
|
+
/*maxcontentwidth*/
|
|
7980
|
+
ctx[0] || "100%"}`)) {
|
|
7981
|
+
attr(div5, "style", div5_style_value);
|
|
7964
7982
|
}
|
|
7965
7983
|
},
|
|
7966
7984
|
|
|
@@ -7968,120 +7986,104 @@
|
|
|
7968
7986
|
o: noop,
|
|
7969
7987
|
|
|
7970
7988
|
d(detaching) {
|
|
7971
|
-
if (detaching) detach(
|
|
7972
|
-
|
|
7973
|
-
/*
|
|
7989
|
+
if (detaching) detach(div5);
|
|
7990
|
+
if (if_block) if_block.d();
|
|
7991
|
+
/*div5_binding*/
|
|
7974
7992
|
|
|
7975
|
-
ctx[
|
|
7993
|
+
ctx[5](null);
|
|
7976
7994
|
}
|
|
7977
7995
|
|
|
7978
7996
|
};
|
|
7979
7997
|
}
|
|
7980
7998
|
|
|
7981
|
-
function instance$
|
|
7999
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
8000
|
+
let {
|
|
8001
|
+
maxcontentwidth = ""
|
|
8002
|
+
} = $$props;
|
|
7982
8003
|
let rootEl;
|
|
7983
|
-
let
|
|
8004
|
+
let navLinks;
|
|
8005
|
+
let metaLinks;
|
|
8006
|
+
const year = new Date().getFullYear();
|
|
7984
8007
|
onMount(function () {
|
|
7985
8008
|
return _call(tick, function () {
|
|
7986
|
-
|
|
7987
|
-
const
|
|
7988
|
-
|
|
7989
|
-
|
|
7990
|
-
|
|
7991
|
-
if (!isValid) {
|
|
7992
|
-
$$invalidate(1, children = []);
|
|
7993
|
-
console.warn("GoAFooterMetaSection children must be anchor elements.");
|
|
7994
|
-
}
|
|
8009
|
+
const navSlot = rootEl.querySelector("slot[name=nav]");
|
|
8010
|
+
const metaSlot = rootEl.querySelector("slot[name=meta]");
|
|
8011
|
+
$$invalidate(2, navLinks = navSlot.assignedElements());
|
|
8012
|
+
$$invalidate(3, metaLinks = metaSlot.assignedElements());
|
|
7995
8013
|
});
|
|
7996
8014
|
});
|
|
7997
8015
|
|
|
7998
|
-
function
|
|
8016
|
+
function div5_binding($$value) {
|
|
7999
8017
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8000
8018
|
rootEl = $$value;
|
|
8001
|
-
$$invalidate(
|
|
8019
|
+
$$invalidate(1, rootEl);
|
|
8002
8020
|
});
|
|
8003
8021
|
}
|
|
8004
8022
|
|
|
8005
|
-
|
|
8023
|
+
$$self.$$set = $$props => {
|
|
8024
|
+
if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
|
|
8025
|
+
};
|
|
8026
|
+
|
|
8027
|
+
return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
|
|
8006
8028
|
}
|
|
8007
8029
|
|
|
8008
|
-
class
|
|
8030
|
+
class Footer extends SvelteElement {
|
|
8009
8031
|
constructor(options) {
|
|
8010
8032
|
super();
|
|
8011
|
-
this.shadowRoot.innerHTML = `<style
|
|
8033
|
+
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), 100%)}@media(min-width: 640px){.content{padding:2rem 1.5rem}}.meta-section{display:flex;flex-direction:column;padding:1rem 0}.meta-section.with-meta-links{gap:2rem;justify-content:space-between}.meta-links{display:none}.with-meta-links .meta-links{display:block}.nav-links{display:flex;flex-direction:column;gap:2rem}.abgov{display:flex;flex-direction:column;justify-content:space-between;width:100%}@media(min-width: 640px){.meta-section{flex-direction:row;gap:2rem}.nav-links{flex-direction:row}.abgov{align-items:center;flex-direction:row-reverse}}.abgov.with-meta-links{gap:1rem;flex-direction:column;width:unset}@media(min-width: 640px){.abgov.with-meta-links{align-items:flex-end}}.goa-copyright{white-space:nowrap}a{color:var(--goa-color-text-secondary)}</style>`;
|
|
8012
8034
|
init(this, {
|
|
8013
8035
|
target: this.shadowRoot,
|
|
8014
8036
|
props: attribute_to_object(this.attributes),
|
|
8015
8037
|
customElement: true
|
|
8016
|
-
}, instance$
|
|
8038
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
8039
|
+
maxcontentwidth: 0
|
|
8040
|
+
}, null);
|
|
8017
8041
|
|
|
8018
8042
|
if (options) {
|
|
8019
8043
|
if (options.target) {
|
|
8020
8044
|
insert(options.target, this, options.anchor);
|
|
8021
8045
|
}
|
|
8046
|
+
|
|
8047
|
+
if (options.props) {
|
|
8048
|
+
this.$set(options.props);
|
|
8049
|
+
flush();
|
|
8050
|
+
}
|
|
8022
8051
|
}
|
|
8023
8052
|
}
|
|
8024
8053
|
|
|
8025
|
-
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
/* libs/web-components/src/components/footer-nav-section/FooterNavSection.svelte generated by Svelte v3.51.0 */
|
|
8029
|
-
|
|
8030
|
-
function get_each_context$2(ctx, list, i) {
|
|
8031
|
-
const child_ctx = ctx.slice();
|
|
8032
|
-
child_ctx[5] = list[i];
|
|
8033
|
-
return child_ctx;
|
|
8034
|
-
} // (31:2) {#if heading}
|
|
8035
|
-
|
|
8054
|
+
static get observedAttributes() {
|
|
8055
|
+
return ["maxcontentwidth"];
|
|
8056
|
+
}
|
|
8036
8057
|
|
|
8037
|
-
|
|
8038
|
-
|
|
8039
|
-
|
|
8040
|
-
let t1;
|
|
8041
|
-
let goa_divider;
|
|
8042
|
-
return {
|
|
8043
|
-
c() {
|
|
8044
|
-
div = element("div");
|
|
8045
|
-
t0 = text(
|
|
8046
|
-
/*heading*/
|
|
8047
|
-
ctx[0]);
|
|
8048
|
-
t1 = space();
|
|
8049
|
-
goa_divider = element("goa-divider");
|
|
8050
|
-
attr(div, "class", "title");
|
|
8051
|
-
set_custom_element_data(goa_divider, "spacing", "small");
|
|
8052
|
-
},
|
|
8058
|
+
get maxcontentwidth() {
|
|
8059
|
+
return this.$$.ctx[0];
|
|
8060
|
+
}
|
|
8053
8061
|
|
|
8054
|
-
|
|
8055
|
-
|
|
8056
|
-
|
|
8057
|
-
|
|
8058
|
-
|
|
8059
|
-
|
|
8062
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
8063
|
+
this.$$set({
|
|
8064
|
+
maxcontentwidth
|
|
8065
|
+
});
|
|
8066
|
+
flush();
|
|
8067
|
+
}
|
|
8060
8068
|
|
|
8061
|
-
|
|
8062
|
-
if (dirty &
|
|
8063
|
-
/*heading*/
|
|
8064
|
-
1) set_data(t0,
|
|
8065
|
-
/*heading*/
|
|
8066
|
-
ctx[0]);
|
|
8067
|
-
},
|
|
8069
|
+
}
|
|
8068
8070
|
|
|
8069
|
-
|
|
8070
|
-
|
|
8071
|
-
if (detaching) detach(t1);
|
|
8072
|
-
if (detaching) detach(goa_divider);
|
|
8073
|
-
}
|
|
8071
|
+
customElements.define("goa-app-footer", Footer);
|
|
8072
|
+
/* libs/web-components/src/components/footer-meta-section/FooterMetaSection.svelte generated by Svelte v3.51.0 */
|
|
8074
8073
|
|
|
8075
|
-
|
|
8076
|
-
|
|
8074
|
+
function get_each_context$3(ctx, list, i) {
|
|
8075
|
+
const child_ctx = ctx.slice();
|
|
8076
|
+
child_ctx[3] = list[i];
|
|
8077
|
+
return child_ctx;
|
|
8078
|
+
} // (52:4) {#each children as child}
|
|
8077
8079
|
|
|
8078
8080
|
|
|
8079
|
-
function create_each_block$
|
|
8081
|
+
function create_each_block$3(ctx) {
|
|
8080
8082
|
let li;
|
|
8081
8083
|
let a;
|
|
8082
8084
|
let t_value =
|
|
8083
8085
|
/*child*/
|
|
8084
|
-
ctx[
|
|
8086
|
+
ctx[3].innerHTML + "";
|
|
8085
8087
|
let t;
|
|
8086
8088
|
let a_href_value;
|
|
8087
8089
|
return {
|
|
@@ -8091,7 +8093,7 @@
|
|
|
8091
8093
|
t = text(t_value);
|
|
8092
8094
|
attr(a, "href", a_href_value =
|
|
8093
8095
|
/*child*/
|
|
8094
|
-
ctx[
|
|
8096
|
+
ctx[3].href);
|
|
8095
8097
|
},
|
|
8096
8098
|
|
|
8097
8099
|
m(target, anchor) {
|
|
@@ -8103,15 +8105,15 @@
|
|
|
8103
8105
|
p(ctx, dirty) {
|
|
8104
8106
|
if (dirty &
|
|
8105
8107
|
/*children*/
|
|
8106
|
-
|
|
8108
|
+
2 && t_value !== (t_value =
|
|
8107
8109
|
/*child*/
|
|
8108
|
-
ctx[
|
|
8110
|
+
ctx[3].innerHTML + "")) set_data(t, t_value);
|
|
8109
8111
|
|
|
8110
8112
|
if (dirty &
|
|
8111
8113
|
/*children*/
|
|
8112
|
-
|
|
8114
|
+
2 && a_href_value !== (a_href_value =
|
|
8113
8115
|
/*child*/
|
|
8114
|
-
ctx[
|
|
8116
|
+
ctx[3].href)) {
|
|
8115
8117
|
attr(a, "href", a_href_value);
|
|
8116
8118
|
}
|
|
8117
8119
|
},
|
|
@@ -8123,33 +8125,26 @@
|
|
|
8123
8125
|
};
|
|
8124
8126
|
}
|
|
8125
8127
|
|
|
8126
|
-
function create_fragment$
|
|
8128
|
+
function create_fragment$m(ctx) {
|
|
8127
8129
|
let section;
|
|
8128
|
-
let t0;
|
|
8129
8130
|
let div;
|
|
8130
|
-
let
|
|
8131
|
+
let t;
|
|
8131
8132
|
let ul;
|
|
8132
|
-
let ul_style_value;
|
|
8133
|
-
let if_block =
|
|
8134
|
-
/*heading*/
|
|
8135
|
-
ctx[0] && create_if_block$9(ctx);
|
|
8136
8133
|
let each_value =
|
|
8137
8134
|
/*children*/
|
|
8138
|
-
ctx[
|
|
8135
|
+
ctx[1];
|
|
8139
8136
|
let each_blocks = [];
|
|
8140
8137
|
|
|
8141
8138
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
8142
|
-
each_blocks[i] = create_each_block$
|
|
8139
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
8143
8140
|
}
|
|
8144
8141
|
|
|
8145
8142
|
return {
|
|
8146
8143
|
c() {
|
|
8147
8144
|
section = element("section");
|
|
8148
|
-
if (if_block) if_block.c();
|
|
8149
|
-
t0 = space();
|
|
8150
8145
|
div = element("div");
|
|
8151
8146
|
div.innerHTML = `<slot></slot>`;
|
|
8152
|
-
|
|
8147
|
+
t = space();
|
|
8153
8148
|
ul = element("ul");
|
|
8154
8149
|
|
|
8155
8150
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -8158,29 +8153,12 @@
|
|
|
8158
8153
|
|
|
8159
8154
|
this.c = noop;
|
|
8160
8155
|
attr(div, "class", "hidden");
|
|
8161
|
-
attr(ul, "class", "links");
|
|
8162
|
-
attr(ul, "style", ul_style_value = `
|
|
8163
|
-
--narrow-display-type: ${Math.ceil(
|
|
8164
|
-
/*maxcolumncount*/
|
|
8165
|
-
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8166
|
-
--narrow-column-count: ${Math.ceil(
|
|
8167
|
-
/*maxcolumncount*/
|
|
8168
|
-
ctx[1] / 2)};
|
|
8169
|
-
--wide-display-type: ${
|
|
8170
|
-
/*maxcolumncount*/
|
|
8171
|
-
ctx[1] > 1 ? "block" : "flex"};
|
|
8172
|
-
--wide-column-count: ${
|
|
8173
|
-
/*maxcolumncount*/
|
|
8174
|
-
ctx[1]};
|
|
8175
|
-
`);
|
|
8176
8156
|
},
|
|
8177
8157
|
|
|
8178
8158
|
m(target, anchor) {
|
|
8179
8159
|
insert(target, section, anchor);
|
|
8180
|
-
if (if_block) if_block.m(section, null);
|
|
8181
|
-
append(section, t0);
|
|
8182
8160
|
append(section, div);
|
|
8183
|
-
append(section,
|
|
8161
|
+
append(section, t);
|
|
8184
8162
|
append(section, ul);
|
|
8185
8163
|
|
|
8186
8164
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -8189,40 +8167,25 @@
|
|
|
8189
8167
|
/*section_binding*/
|
|
8190
8168
|
|
|
8191
8169
|
|
|
8192
|
-
ctx[
|
|
8170
|
+
ctx[2](section);
|
|
8193
8171
|
},
|
|
8194
8172
|
|
|
8195
8173
|
p(ctx, [dirty]) {
|
|
8196
|
-
if (
|
|
8197
|
-
/*heading*/
|
|
8198
|
-
ctx[0]) {
|
|
8199
|
-
if (if_block) {
|
|
8200
|
-
if_block.p(ctx, dirty);
|
|
8201
|
-
} else {
|
|
8202
|
-
if_block = create_if_block$9(ctx);
|
|
8203
|
-
if_block.c();
|
|
8204
|
-
if_block.m(section, t0);
|
|
8205
|
-
}
|
|
8206
|
-
} else if (if_block) {
|
|
8207
|
-
if_block.d(1);
|
|
8208
|
-
if_block = null;
|
|
8209
|
-
}
|
|
8210
|
-
|
|
8211
8174
|
if (dirty &
|
|
8212
8175
|
/*children*/
|
|
8213
|
-
|
|
8176
|
+
2) {
|
|
8214
8177
|
each_value =
|
|
8215
8178
|
/*children*/
|
|
8216
|
-
ctx[
|
|
8179
|
+
ctx[1];
|
|
8217
8180
|
let i;
|
|
8218
8181
|
|
|
8219
8182
|
for (i = 0; i < each_value.length; i += 1) {
|
|
8220
|
-
const child_ctx = get_each_context$
|
|
8183
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
8221
8184
|
|
|
8222
8185
|
if (each_blocks[i]) {
|
|
8223
8186
|
each_blocks[i].p(child_ctx, dirty);
|
|
8224
8187
|
} else {
|
|
8225
|
-
each_blocks[i] = create_each_block$
|
|
8188
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
8226
8189
|
each_blocks[i].c();
|
|
8227
8190
|
each_blocks[i].m(ul, null);
|
|
8228
8191
|
}
|
|
@@ -8234,25 +8197,6 @@
|
|
|
8234
8197
|
|
|
8235
8198
|
each_blocks.length = each_value.length;
|
|
8236
8199
|
}
|
|
8237
|
-
|
|
8238
|
-
if (dirty &
|
|
8239
|
-
/*maxcolumncount*/
|
|
8240
|
-
2 && ul_style_value !== (ul_style_value = `
|
|
8241
|
-
--narrow-display-type: ${Math.ceil(
|
|
8242
|
-
/*maxcolumncount*/
|
|
8243
|
-
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8244
|
-
--narrow-column-count: ${Math.ceil(
|
|
8245
|
-
/*maxcolumncount*/
|
|
8246
|
-
ctx[1] / 2)};
|
|
8247
|
-
--wide-display-type: ${
|
|
8248
|
-
/*maxcolumncount*/
|
|
8249
|
-
ctx[1] > 1 ? "block" : "flex"};
|
|
8250
|
-
--wide-column-count: ${
|
|
8251
|
-
/*maxcolumncount*/
|
|
8252
|
-
ctx[1]};
|
|
8253
|
-
`)) {
|
|
8254
|
-
attr(ul, "style", ul_style_value);
|
|
8255
|
-
}
|
|
8256
8200
|
},
|
|
8257
8201
|
|
|
8258
8202
|
i: noop,
|
|
@@ -8260,227 +8204,239 @@
|
|
|
8260
8204
|
|
|
8261
8205
|
d(detaching) {
|
|
8262
8206
|
if (detaching) detach(section);
|
|
8263
|
-
if (if_block) if_block.d();
|
|
8264
8207
|
destroy_each(each_blocks, detaching);
|
|
8265
8208
|
/*section_binding*/
|
|
8266
8209
|
|
|
8267
|
-
ctx[
|
|
8210
|
+
ctx[2](null);
|
|
8268
8211
|
}
|
|
8269
8212
|
|
|
8270
8213
|
};
|
|
8271
8214
|
}
|
|
8272
8215
|
|
|
8273
|
-
function instance$
|
|
8274
|
-
let {
|
|
8275
|
-
heading = ""
|
|
8276
|
-
} = $$props;
|
|
8277
|
-
let {
|
|
8278
|
-
maxcolumncount = 1
|
|
8279
|
-
} = $$props;
|
|
8216
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
8280
8217
|
let rootEl;
|
|
8281
8218
|
let children = [];
|
|
8282
8219
|
onMount(function () {
|
|
8283
8220
|
return _call(tick, function () {
|
|
8284
|
-
|
|
8285
|
-
$$invalidate(3, children = rootEl.querySelector("slot").assignedElements());
|
|
8221
|
+
$$invalidate(1, children = rootEl.querySelector("slot").assignedElements());
|
|
8286
8222
|
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8287
8223
|
return sum && valid;
|
|
8288
8224
|
}, true);
|
|
8289
8225
|
|
|
8290
8226
|
if (!isValid) {
|
|
8291
|
-
$$invalidate(
|
|
8292
|
-
console.warn("
|
|
8293
|
-
return;
|
|
8227
|
+
$$invalidate(1, children = []);
|
|
8228
|
+
console.warn("GoAFooterMetaSection children must be anchor elements.");
|
|
8294
8229
|
}
|
|
8295
|
-
|
|
8296
|
-
injectCss(rootEl, ":host", {
|
|
8297
|
-
"flex-grow": maxcolumncount
|
|
8298
|
-
});
|
|
8299
8230
|
});
|
|
8300
8231
|
});
|
|
8301
8232
|
|
|
8302
8233
|
function section_binding($$value) {
|
|
8303
8234
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8304
8235
|
rootEl = $$value;
|
|
8305
|
-
$$invalidate(
|
|
8236
|
+
$$invalidate(0, rootEl);
|
|
8306
8237
|
});
|
|
8307
8238
|
}
|
|
8308
8239
|
|
|
8309
|
-
|
|
8310
|
-
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
8311
|
-
if ('maxcolumncount' in $$props) $$invalidate(1, maxcolumncount = $$props.maxcolumncount);
|
|
8312
|
-
};
|
|
8313
|
-
|
|
8314
|
-
return [heading, maxcolumncount, rootEl, children, section_binding];
|
|
8240
|
+
return [rootEl, children, section_binding];
|
|
8315
8241
|
}
|
|
8316
8242
|
|
|
8317
|
-
class
|
|
8243
|
+
class FooterMetaSection extends SvelteElement {
|
|
8318
8244
|
constructor(options) {
|
|
8319
8245
|
super();
|
|
8320
|
-
this.shadowRoot.innerHTML = `<style
|
|
8246
|
+
this.shadowRoot.innerHTML = `<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>`;
|
|
8321
8247
|
init(this, {
|
|
8322
8248
|
target: this.shadowRoot,
|
|
8323
8249
|
props: attribute_to_object(this.attributes),
|
|
8324
8250
|
customElement: true
|
|
8325
|
-
}, instance$
|
|
8326
|
-
heading: 0,
|
|
8327
|
-
maxcolumncount: 1
|
|
8328
|
-
}, null);
|
|
8251
|
+
}, instance$k, create_fragment$m, safe_not_equal, {}, null);
|
|
8329
8252
|
|
|
8330
8253
|
if (options) {
|
|
8331
8254
|
if (options.target) {
|
|
8332
8255
|
insert(options.target, this, options.anchor);
|
|
8333
8256
|
}
|
|
8334
|
-
|
|
8335
|
-
if (options.props) {
|
|
8336
|
-
this.$set(options.props);
|
|
8337
|
-
flush();
|
|
8338
|
-
}
|
|
8339
8257
|
}
|
|
8340
8258
|
}
|
|
8341
8259
|
|
|
8342
|
-
|
|
8343
|
-
return ["heading", "maxcolumncount"];
|
|
8344
|
-
}
|
|
8345
|
-
|
|
8346
|
-
get heading() {
|
|
8347
|
-
return this.$$.ctx[0];
|
|
8348
|
-
}
|
|
8349
|
-
|
|
8350
|
-
set heading(heading) {
|
|
8351
|
-
this.$$set({
|
|
8352
|
-
heading
|
|
8353
|
-
});
|
|
8354
|
-
flush();
|
|
8355
|
-
}
|
|
8356
|
-
|
|
8357
|
-
get maxcolumncount() {
|
|
8358
|
-
return this.$$.ctx[1];
|
|
8359
|
-
}
|
|
8260
|
+
}
|
|
8360
8261
|
|
|
8361
|
-
|
|
8362
|
-
|
|
8363
|
-
maxcolumncount
|
|
8364
|
-
});
|
|
8365
|
-
flush();
|
|
8366
|
-
}
|
|
8262
|
+
customElements.define("goa-app-footer-meta-section", FooterMetaSection);
|
|
8263
|
+
/* libs/web-components/src/components/footer-nav-section/FooterNavSection.svelte generated by Svelte v3.51.0 */
|
|
8367
8264
|
|
|
8368
|
-
|
|
8265
|
+
function get_each_context$2(ctx, list, i) {
|
|
8266
|
+
const child_ctx = ctx.slice();
|
|
8267
|
+
child_ctx[5] = list[i];
|
|
8268
|
+
return child_ctx;
|
|
8269
|
+
} // (31:2) {#if heading}
|
|
8369
8270
|
|
|
8370
|
-
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
8371
|
-
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8372
8271
|
|
|
8373
8272
|
function create_if_block$8(ctx) {
|
|
8273
|
+
let div;
|
|
8274
|
+
let t0;
|
|
8275
|
+
let t1;
|
|
8374
8276
|
let goa_divider;
|
|
8375
8277
|
return {
|
|
8376
8278
|
c() {
|
|
8279
|
+
div = element("div");
|
|
8280
|
+
t0 = text(
|
|
8281
|
+
/*heading*/
|
|
8282
|
+
ctx[0]);
|
|
8283
|
+
t1 = space();
|
|
8377
8284
|
goa_divider = element("goa-divider");
|
|
8285
|
+
attr(div, "class", "title");
|
|
8378
8286
|
set_custom_element_data(goa_divider, "spacing", "small");
|
|
8379
8287
|
},
|
|
8380
8288
|
|
|
8381
8289
|
m(target, anchor) {
|
|
8290
|
+
insert(target, div, anchor);
|
|
8291
|
+
append(div, t0);
|
|
8292
|
+
insert(target, t1, anchor);
|
|
8382
8293
|
insert(target, goa_divider, anchor);
|
|
8383
8294
|
},
|
|
8384
8295
|
|
|
8296
|
+
p(ctx, dirty) {
|
|
8297
|
+
if (dirty &
|
|
8298
|
+
/*heading*/
|
|
8299
|
+
1) set_data(t0,
|
|
8300
|
+
/*heading*/
|
|
8301
|
+
ctx[0]);
|
|
8302
|
+
},
|
|
8303
|
+
|
|
8385
8304
|
d(detaching) {
|
|
8305
|
+
if (detaching) detach(div);
|
|
8306
|
+
if (detaching) detach(t1);
|
|
8386
8307
|
if (detaching) detach(goa_divider);
|
|
8387
8308
|
}
|
|
8388
8309
|
|
|
8389
8310
|
};
|
|
8390
|
-
}
|
|
8311
|
+
} // (49:4) {#each children as child}
|
|
8391
8312
|
|
|
8392
|
-
function create_fragment$k(ctx) {
|
|
8393
|
-
var _ctx$;
|
|
8394
8313
|
|
|
8395
|
-
|
|
8396
|
-
let
|
|
8397
|
-
let
|
|
8314
|
+
function create_each_block$2(ctx) {
|
|
8315
|
+
let li;
|
|
8316
|
+
let a;
|
|
8317
|
+
let t_value =
|
|
8318
|
+
/*child*/
|
|
8319
|
+
ctx[5].innerHTML + "";
|
|
8320
|
+
let t;
|
|
8321
|
+
let a_href_value;
|
|
8322
|
+
return {
|
|
8323
|
+
c() {
|
|
8324
|
+
li = element("li");
|
|
8325
|
+
a = element("a");
|
|
8326
|
+
t = text(t_value);
|
|
8327
|
+
attr(a, "href", a_href_value =
|
|
8328
|
+
/*child*/
|
|
8329
|
+
ctx[5].href);
|
|
8330
|
+
},
|
|
8331
|
+
|
|
8332
|
+
m(target, anchor) {
|
|
8333
|
+
insert(target, li, anchor);
|
|
8334
|
+
append(li, a);
|
|
8335
|
+
append(a, t);
|
|
8336
|
+
},
|
|
8337
|
+
|
|
8338
|
+
p(ctx, dirty) {
|
|
8339
|
+
if (dirty &
|
|
8340
|
+
/*children*/
|
|
8341
|
+
8 && t_value !== (t_value =
|
|
8342
|
+
/*child*/
|
|
8343
|
+
ctx[5].innerHTML + "")) set_data(t, t_value);
|
|
8344
|
+
|
|
8345
|
+
if (dirty &
|
|
8346
|
+
/*children*/
|
|
8347
|
+
8 && a_href_value !== (a_href_value =
|
|
8348
|
+
/*child*/
|
|
8349
|
+
ctx[5].href)) {
|
|
8350
|
+
attr(a, "href", a_href_value);
|
|
8351
|
+
}
|
|
8352
|
+
},
|
|
8353
|
+
|
|
8354
|
+
d(detaching) {
|
|
8355
|
+
if (detaching) detach(li);
|
|
8356
|
+
}
|
|
8357
|
+
|
|
8358
|
+
};
|
|
8359
|
+
}
|
|
8360
|
+
|
|
8361
|
+
function create_fragment$l(ctx) {
|
|
8362
|
+
let section;
|
|
8398
8363
|
let t0;
|
|
8364
|
+
let div;
|
|
8399
8365
|
let t1;
|
|
8400
|
-
let
|
|
8401
|
-
let
|
|
8402
|
-
let t2;
|
|
8403
|
-
let div2;
|
|
8404
|
-
let a0;
|
|
8405
|
-
let t3;
|
|
8406
|
-
let a1;
|
|
8407
|
-
let div5_style_value;
|
|
8366
|
+
let ul;
|
|
8367
|
+
let ul_style_value;
|
|
8408
8368
|
let if_block =
|
|
8409
|
-
/*
|
|
8410
|
-
|
|
8369
|
+
/*heading*/
|
|
8370
|
+
ctx[0] && create_if_block$8(ctx);
|
|
8371
|
+
let each_value =
|
|
8372
|
+
/*children*/
|
|
8373
|
+
ctx[3];
|
|
8374
|
+
let each_blocks = [];
|
|
8375
|
+
|
|
8376
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
8377
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
|
8378
|
+
}
|
|
8379
|
+
|
|
8411
8380
|
return {
|
|
8412
8381
|
c() {
|
|
8413
|
-
|
|
8414
|
-
|
|
8415
|
-
|
|
8416
|
-
|
|
8417
|
-
|
|
8418
|
-
|
|
8419
|
-
|
|
8420
|
-
|
|
8421
|
-
|
|
8422
|
-
|
|
8423
|
-
|
|
8424
|
-
|
|
8425
|
-
t2 = space();
|
|
8426
|
-
div2 = element("div");
|
|
8427
|
-
a0 = element("a");
|
|
8428
|
-
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"/>`;
|
|
8429
|
-
t3 = space();
|
|
8430
|
-
a1 = element("a");
|
|
8431
|
-
a1.textContent = `© ${
|
|
8432
|
-
/*year*/
|
|
8433
|
-
ctx[4]} Government of Alberta`;
|
|
8382
|
+
section = element("section");
|
|
8383
|
+
if (if_block) if_block.c();
|
|
8384
|
+
t0 = space();
|
|
8385
|
+
div = element("div");
|
|
8386
|
+
div.innerHTML = `<slot></slot>`;
|
|
8387
|
+
t1 = space();
|
|
8388
|
+
ul = element("ul");
|
|
8389
|
+
|
|
8390
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8391
|
+
each_blocks[i].c();
|
|
8392
|
+
}
|
|
8393
|
+
|
|
8434
8394
|
this.c = noop;
|
|
8435
|
-
attr(
|
|
8436
|
-
attr(
|
|
8437
|
-
attr(
|
|
8438
|
-
|
|
8439
|
-
|
|
8440
|
-
|
|
8441
|
-
|
|
8442
|
-
|
|
8443
|
-
|
|
8444
|
-
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
|
|
8448
|
-
|
|
8449
|
-
|
|
8450
|
-
|
|
8451
|
-
/*maxcontentwidth*/
|
|
8452
|
-
ctx[0] || "100%"}`);
|
|
8395
|
+
attr(div, "class", "hidden");
|
|
8396
|
+
attr(ul, "class", "links");
|
|
8397
|
+
attr(ul, "style", ul_style_value = `
|
|
8398
|
+
--narrow-display-type: ${Math.ceil(
|
|
8399
|
+
/*maxcolumncount*/
|
|
8400
|
+
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8401
|
+
--narrow-column-count: ${Math.ceil(
|
|
8402
|
+
/*maxcolumncount*/
|
|
8403
|
+
ctx[1] / 2)};
|
|
8404
|
+
--wide-display-type: ${
|
|
8405
|
+
/*maxcolumncount*/
|
|
8406
|
+
ctx[1] > 1 ? "block" : "flex"};
|
|
8407
|
+
--wide-column-count: ${
|
|
8408
|
+
/*maxcolumncount*/
|
|
8409
|
+
ctx[1]};
|
|
8410
|
+
`);
|
|
8453
8411
|
},
|
|
8454
8412
|
|
|
8455
8413
|
m(target, anchor) {
|
|
8456
|
-
insert(target,
|
|
8457
|
-
|
|
8458
|
-
append(
|
|
8459
|
-
append(
|
|
8460
|
-
|
|
8461
|
-
append(
|
|
8462
|
-
append(div4, div3);
|
|
8463
|
-
append(div3, div1);
|
|
8464
|
-
append(div3, t2);
|
|
8465
|
-
append(div3, div2);
|
|
8466
|
-
append(div2, a0);
|
|
8467
|
-
append(div2, t3);
|
|
8468
|
-
append(div2, a1);
|
|
8469
|
-
/*div5_binding*/
|
|
8414
|
+
insert(target, section, anchor);
|
|
8415
|
+
if (if_block) if_block.m(section, null);
|
|
8416
|
+
append(section, t0);
|
|
8417
|
+
append(section, div);
|
|
8418
|
+
append(section, t1);
|
|
8419
|
+
append(section, ul);
|
|
8470
8420
|
|
|
8471
|
-
|
|
8421
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8422
|
+
each_blocks[i].m(ul, null);
|
|
8423
|
+
}
|
|
8424
|
+
/*section_binding*/
|
|
8425
|
+
|
|
8426
|
+
|
|
8427
|
+
ctx[4](section);
|
|
8472
8428
|
},
|
|
8473
8429
|
|
|
8474
8430
|
p(ctx, [dirty]) {
|
|
8475
|
-
var _ctx$4;
|
|
8476
|
-
|
|
8477
8431
|
if (
|
|
8478
|
-
/*
|
|
8479
|
-
|
|
8480
|
-
if (if_block)
|
|
8481
|
-
if_block
|
|
8432
|
+
/*heading*/
|
|
8433
|
+
ctx[0]) {
|
|
8434
|
+
if (if_block) {
|
|
8435
|
+
if_block.p(ctx, dirty);
|
|
8436
|
+
} else {
|
|
8437
|
+
if_block = create_if_block$8(ctx);
|
|
8482
8438
|
if_block.c();
|
|
8483
|
-
if_block.m(
|
|
8439
|
+
if_block.m(section, t0);
|
|
8484
8440
|
}
|
|
8485
8441
|
} else if (if_block) {
|
|
8486
8442
|
if_block.d(1);
|
|
@@ -8488,31 +8444,49 @@
|
|
|
8488
8444
|
}
|
|
8489
8445
|
|
|
8490
8446
|
if (dirty &
|
|
8491
|
-
/*
|
|
8447
|
+
/*children*/
|
|
8492
8448
|
8) {
|
|
8493
|
-
|
|
8449
|
+
each_value =
|
|
8450
|
+
/*children*/
|
|
8451
|
+
ctx[3];
|
|
8452
|
+
let i;
|
|
8494
8453
|
|
|
8495
|
-
|
|
8496
|
-
|
|
8497
|
-
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
8498
|
-
}
|
|
8454
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
8455
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
|
8499
8456
|
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8503
|
-
|
|
8457
|
+
if (each_blocks[i]) {
|
|
8458
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
8459
|
+
} else {
|
|
8460
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
|
8461
|
+
each_blocks[i].c();
|
|
8462
|
+
each_blocks[i].m(ul, null);
|
|
8463
|
+
}
|
|
8464
|
+
}
|
|
8504
8465
|
|
|
8505
|
-
|
|
8506
|
-
|
|
8507
|
-
|
|
8466
|
+
for (; i < each_blocks.length; i += 1) {
|
|
8467
|
+
each_blocks[i].d(1);
|
|
8468
|
+
}
|
|
8469
|
+
|
|
8470
|
+
each_blocks.length = each_value.length;
|
|
8508
8471
|
}
|
|
8509
8472
|
|
|
8510
8473
|
if (dirty &
|
|
8511
|
-
/*
|
|
8512
|
-
|
|
8513
|
-
|
|
8514
|
-
|
|
8515
|
-
|
|
8474
|
+
/*maxcolumncount*/
|
|
8475
|
+
2 && ul_style_value !== (ul_style_value = `
|
|
8476
|
+
--narrow-display-type: ${Math.ceil(
|
|
8477
|
+
/*maxcolumncount*/
|
|
8478
|
+
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8479
|
+
--narrow-column-count: ${Math.ceil(
|
|
8480
|
+
/*maxcolumncount*/
|
|
8481
|
+
ctx[1] / 2)};
|
|
8482
|
+
--wide-display-type: ${
|
|
8483
|
+
/*maxcolumncount*/
|
|
8484
|
+
ctx[1] > 1 ? "block" : "flex"};
|
|
8485
|
+
--wide-column-count: ${
|
|
8486
|
+
/*maxcolumncount*/
|
|
8487
|
+
ctx[1]};
|
|
8488
|
+
`)) {
|
|
8489
|
+
attr(ul, "style", ul_style_value);
|
|
8516
8490
|
}
|
|
8517
8491
|
},
|
|
8518
8492
|
|
|
@@ -8520,57 +8494,72 @@
|
|
|
8520
8494
|
o: noop,
|
|
8521
8495
|
|
|
8522
8496
|
d(detaching) {
|
|
8523
|
-
if (detaching) detach(
|
|
8497
|
+
if (detaching) detach(section);
|
|
8524
8498
|
if (if_block) if_block.d();
|
|
8525
|
-
|
|
8499
|
+
destroy_each(each_blocks, detaching);
|
|
8500
|
+
/*section_binding*/
|
|
8526
8501
|
|
|
8527
|
-
ctx[
|
|
8502
|
+
ctx[4](null);
|
|
8528
8503
|
}
|
|
8529
8504
|
|
|
8530
8505
|
};
|
|
8531
8506
|
}
|
|
8532
8507
|
|
|
8533
|
-
function instance$
|
|
8508
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
8534
8509
|
let {
|
|
8535
|
-
|
|
8510
|
+
heading = ""
|
|
8511
|
+
} = $$props;
|
|
8512
|
+
let {
|
|
8513
|
+
maxcolumncount = 1
|
|
8536
8514
|
} = $$props;
|
|
8537
8515
|
let rootEl;
|
|
8538
|
-
let
|
|
8539
|
-
let metaLinks;
|
|
8540
|
-
const year = new Date().getFullYear();
|
|
8516
|
+
let children = [];
|
|
8541
8517
|
onMount(function () {
|
|
8542
8518
|
return _call(tick, function () {
|
|
8543
|
-
|
|
8544
|
-
|
|
8545
|
-
|
|
8546
|
-
|
|
8519
|
+
// remap slot content
|
|
8520
|
+
$$invalidate(3, children = rootEl.querySelector("slot").assignedElements());
|
|
8521
|
+
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8522
|
+
return sum && valid;
|
|
8523
|
+
}, true);
|
|
8524
|
+
|
|
8525
|
+
if (!isValid) {
|
|
8526
|
+
$$invalidate(3, children = []);
|
|
8527
|
+
console.warn("GoAFooterNavSection children must be anchor elements.");
|
|
8528
|
+
return;
|
|
8529
|
+
}
|
|
8530
|
+
|
|
8531
|
+
injectCss(rootEl, ":host", {
|
|
8532
|
+
"flex-grow": maxcolumncount
|
|
8533
|
+
});
|
|
8547
8534
|
});
|
|
8548
8535
|
});
|
|
8549
8536
|
|
|
8550
|
-
function
|
|
8537
|
+
function section_binding($$value) {
|
|
8551
8538
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8552
8539
|
rootEl = $$value;
|
|
8553
|
-
$$invalidate(
|
|
8540
|
+
$$invalidate(2, rootEl);
|
|
8554
8541
|
});
|
|
8555
8542
|
}
|
|
8556
8543
|
|
|
8557
8544
|
$$self.$$set = $$props => {
|
|
8558
|
-
if ('
|
|
8545
|
+
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
8546
|
+
if ('maxcolumncount' in $$props) $$invalidate(1, maxcolumncount = $$props.maxcolumncount);
|
|
8559
8547
|
};
|
|
8560
8548
|
|
|
8561
|
-
return [
|
|
8549
|
+
return [heading, maxcolumncount, rootEl, children, section_binding];
|
|
8562
8550
|
}
|
|
8563
8551
|
|
|
8564
|
-
class
|
|
8552
|
+
class FooterNavSection extends SvelteElement {
|
|
8565
8553
|
constructor(options) {
|
|
8566
8554
|
super();
|
|
8567
|
-
this.shadowRoot.innerHTML = `<style
|
|
8555
|
+
this.shadowRoot.innerHTML = `<style>:host{flex:auto}.title{font-size:var(--fs-xl);line-height:var(--lh-lg)}.hidden{display:none}.links{display:block;list-style-type:none;padding-left:0}@media(min-width: 720px){.links{display:var(--narrow-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--narrow-column-count)}}@media(min-width: 1024px){.links{display:var(--wide-display-type);list-style-type:none;padding-left:0;flex-direction:column;column-count:var(--wide-column-count)}}li{padding:0.75rem 0}a{color:var(--goa-color-text)}</style>`;
|
|
8568
8556
|
init(this, {
|
|
8569
8557
|
target: this.shadowRoot,
|
|
8570
8558
|
props: attribute_to_object(this.attributes),
|
|
8571
8559
|
customElement: true
|
|
8572
|
-
}, instance$
|
|
8573
|
-
|
|
8560
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
8561
|
+
heading: 0,
|
|
8562
|
+
maxcolumncount: 1
|
|
8574
8563
|
}, null);
|
|
8575
8564
|
|
|
8576
8565
|
if (options) {
|
|
@@ -8586,23 +8575,34 @@
|
|
|
8586
8575
|
}
|
|
8587
8576
|
|
|
8588
8577
|
static get observedAttributes() {
|
|
8589
|
-
return ["
|
|
8578
|
+
return ["heading", "maxcolumncount"];
|
|
8590
8579
|
}
|
|
8591
8580
|
|
|
8592
|
-
get
|
|
8581
|
+
get heading() {
|
|
8593
8582
|
return this.$$.ctx[0];
|
|
8594
8583
|
}
|
|
8595
8584
|
|
|
8596
|
-
set
|
|
8585
|
+
set heading(heading) {
|
|
8597
8586
|
this.$$set({
|
|
8598
|
-
|
|
8587
|
+
heading
|
|
8588
|
+
});
|
|
8589
|
+
flush();
|
|
8590
|
+
}
|
|
8591
|
+
|
|
8592
|
+
get maxcolumncount() {
|
|
8593
|
+
return this.$$.ctx[1];
|
|
8594
|
+
}
|
|
8595
|
+
|
|
8596
|
+
set maxcolumncount(maxcolumncount) {
|
|
8597
|
+
this.$$set({
|
|
8598
|
+
maxcolumncount
|
|
8599
8599
|
});
|
|
8600
8600
|
flush();
|
|
8601
8601
|
}
|
|
8602
8602
|
|
|
8603
8603
|
}
|
|
8604
8604
|
|
|
8605
|
-
customElements.define("goa-app-footer",
|
|
8605
|
+
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
8606
8606
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
8607
8607
|
|
|
8608
8608
|
function create_if_block_2$4(ctx) {
|
|
@@ -8787,7 +8787,7 @@
|
|
|
8787
8787
|
};
|
|
8788
8788
|
}
|
|
8789
8789
|
|
|
8790
|
-
function create_fragment$
|
|
8790
|
+
function create_fragment$k(ctx) {
|
|
8791
8791
|
let div1;
|
|
8792
8792
|
let t0;
|
|
8793
8793
|
let div0;
|
|
@@ -8924,7 +8924,7 @@
|
|
|
8924
8924
|
};
|
|
8925
8925
|
}
|
|
8926
8926
|
|
|
8927
|
-
function instance$
|
|
8927
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
8928
8928
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
8929
8929
|
let {
|
|
8930
8930
|
testid = ""
|
|
@@ -8980,7 +8980,7 @@
|
|
|
8980
8980
|
target: this.shadowRoot,
|
|
8981
8981
|
props: attribute_to_object(this.attributes),
|
|
8982
8982
|
customElement: true
|
|
8983
|
-
}, instance$
|
|
8983
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
8984
8984
|
testid: 0,
|
|
8985
8985
|
mt: 1,
|
|
8986
8986
|
mr: 2,
|
|
@@ -9112,7 +9112,7 @@
|
|
|
9112
9112
|
customElements.define("goa-form-item", FormItem);
|
|
9113
9113
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9114
9114
|
|
|
9115
|
-
function create_fragment$
|
|
9115
|
+
function create_fragment$j(ctx) {
|
|
9116
9116
|
let div;
|
|
9117
9117
|
let slot;
|
|
9118
9118
|
let div_style_value;
|
|
@@ -9180,7 +9180,7 @@
|
|
|
9180
9180
|
};
|
|
9181
9181
|
}
|
|
9182
9182
|
|
|
9183
|
-
function instance$
|
|
9183
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
9184
9184
|
let {
|
|
9185
9185
|
gap = "m"
|
|
9186
9186
|
} = $$props;
|
|
@@ -9225,7 +9225,7 @@
|
|
|
9225
9225
|
target: this.shadowRoot,
|
|
9226
9226
|
props: attribute_to_object(this.attributes),
|
|
9227
9227
|
customElement: true
|
|
9228
|
-
}, instance$
|
|
9228
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
9229
9229
|
gap: 0,
|
|
9230
9230
|
minchildwidth: 1,
|
|
9231
9231
|
mt: 2,
|
|
@@ -9321,7 +9321,7 @@
|
|
|
9321
9321
|
customElements.define("goa-grid", Grid);
|
|
9322
9322
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9323
9323
|
|
|
9324
|
-
function create_fragment$
|
|
9324
|
+
function create_fragment$i(ctx) {
|
|
9325
9325
|
let div1;
|
|
9326
9326
|
let goa_page_block;
|
|
9327
9327
|
let h1;
|
|
@@ -9406,7 +9406,7 @@
|
|
|
9406
9406
|
};
|
|
9407
9407
|
}
|
|
9408
9408
|
|
|
9409
|
-
function instance$
|
|
9409
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
9410
9410
|
let {
|
|
9411
9411
|
heading
|
|
9412
9412
|
} = $$props;
|
|
@@ -9434,7 +9434,7 @@
|
|
|
9434
9434
|
target: this.shadowRoot,
|
|
9435
9435
|
props: attribute_to_object(this.attributes),
|
|
9436
9436
|
customElement: true
|
|
9437
|
-
}, instance$
|
|
9437
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
9438
9438
|
heading: 0,
|
|
9439
9439
|
backgroundurl: 1,
|
|
9440
9440
|
minheight: 2
|
|
@@ -9494,7 +9494,7 @@
|
|
|
9494
9494
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
9495
9495
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
9496
9496
|
|
|
9497
|
-
function create_fragment$
|
|
9497
|
+
function create_fragment$h(ctx) {
|
|
9498
9498
|
let button;
|
|
9499
9499
|
let goa_icon;
|
|
9500
9500
|
let button_style_value;
|
|
@@ -9666,7 +9666,7 @@
|
|
|
9666
9666
|
}));
|
|
9667
9667
|
}
|
|
9668
9668
|
|
|
9669
|
-
function instance$
|
|
9669
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
9670
9670
|
let css;
|
|
9671
9671
|
let isDisabled;
|
|
9672
9672
|
let isInverted;
|
|
@@ -9771,7 +9771,7 @@
|
|
|
9771
9771
|
target: this.shadowRoot,
|
|
9772
9772
|
props: attribute_to_object(this.attributes),
|
|
9773
9773
|
customElement: true
|
|
9774
|
-
}, instance$
|
|
9774
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
9775
9775
|
icon: 0,
|
|
9776
9776
|
size: 1,
|
|
9777
9777
|
theme: 2,
|
|
@@ -9987,7 +9987,7 @@
|
|
|
9987
9987
|
};
|
|
9988
9988
|
}
|
|
9989
9989
|
|
|
9990
|
-
function create_fragment$
|
|
9990
|
+
function create_fragment$g(ctx) {
|
|
9991
9991
|
let div;
|
|
9992
9992
|
let div_style_value;
|
|
9993
9993
|
let if_block =
|
|
@@ -10118,7 +10118,7 @@
|
|
|
10118
10118
|
};
|
|
10119
10119
|
}
|
|
10120
10120
|
|
|
10121
|
-
function instance$
|
|
10121
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
10122
10122
|
let isInverted;
|
|
10123
10123
|
|
|
10124
10124
|
let _size;
|
|
@@ -10208,7 +10208,7 @@
|
|
|
10208
10208
|
target: this.shadowRoot,
|
|
10209
10209
|
props: attribute_to_object(this.attributes),
|
|
10210
10210
|
customElement: true
|
|
10211
|
-
}, instance$
|
|
10211
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
10212
10212
|
mt: 0,
|
|
10213
10213
|
mr: 1,
|
|
10214
10214
|
mb: 2,
|
|
@@ -10577,7 +10577,7 @@
|
|
|
10577
10577
|
};
|
|
10578
10578
|
}
|
|
10579
10579
|
|
|
10580
|
-
function create_fragment$
|
|
10580
|
+
function create_fragment$f(ctx) {
|
|
10581
10581
|
let div3;
|
|
10582
10582
|
let div2;
|
|
10583
10583
|
let t0;
|
|
@@ -11016,7 +11016,7 @@
|
|
|
11016
11016
|
}));
|
|
11017
11017
|
}
|
|
11018
11018
|
|
|
11019
|
-
function instance$
|
|
11019
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
11020
11020
|
let handlesTrailingIconClick;
|
|
11021
11021
|
let isFocused;
|
|
11022
11022
|
let isReadonly;
|
|
@@ -11223,7 +11223,7 @@
|
|
|
11223
11223
|
target: this.shadowRoot,
|
|
11224
11224
|
props: attribute_to_object(this.attributes),
|
|
11225
11225
|
customElement: true
|
|
11226
|
-
}, instance$
|
|
11226
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
11227
11227
|
type: 1,
|
|
11228
11228
|
name: 2,
|
|
11229
11229
|
value: 0,
|
|
@@ -11742,7 +11742,7 @@
|
|
|
11742
11742
|
};
|
|
11743
11743
|
}
|
|
11744
11744
|
|
|
11745
|
-
function create_fragment$
|
|
11745
|
+
function create_fragment$e(ctx) {
|
|
11746
11746
|
let header;
|
|
11747
11747
|
let t0;
|
|
11748
11748
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -11851,7 +11851,7 @@
|
|
|
11851
11851
|
return val[0].toUpperCase() + val.slice(1);
|
|
11852
11852
|
}
|
|
11853
11853
|
|
|
11854
|
-
function instance$
|
|
11854
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
11855
11855
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
11856
11856
|
let {
|
|
11857
11857
|
type
|
|
@@ -11883,7 +11883,7 @@
|
|
|
11883
11883
|
target: this.shadowRoot,
|
|
11884
11884
|
props: attribute_to_object(this.attributes),
|
|
11885
11885
|
customElement: true
|
|
11886
|
-
}, instance$
|
|
11886
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
11887
11887
|
type: 0,
|
|
11888
11888
|
version: 1,
|
|
11889
11889
|
feedbackurl: 2
|
|
@@ -12348,7 +12348,7 @@
|
|
|
12348
12348
|
};
|
|
12349
12349
|
}
|
|
12350
12350
|
|
|
12351
|
-
function create_fragment$
|
|
12351
|
+
function create_fragment$d(ctx) {
|
|
12352
12352
|
let if_block_anchor;
|
|
12353
12353
|
let current;
|
|
12354
12354
|
let if_block =
|
|
@@ -12413,7 +12413,7 @@
|
|
|
12413
12413
|
};
|
|
12414
12414
|
}
|
|
12415
12415
|
|
|
12416
|
-
function instance$
|
|
12416
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
12417
12417
|
let isClosable;
|
|
12418
12418
|
let isOpen;
|
|
12419
12419
|
|
|
@@ -12503,7 +12503,7 @@
|
|
|
12503
12503
|
target: this.shadowRoot,
|
|
12504
12504
|
props: attribute_to_object(this.attributes),
|
|
12505
12505
|
customElement: true
|
|
12506
|
-
}, instance$
|
|
12506
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
12507
12507
|
heading: 0,
|
|
12508
12508
|
closable: 9,
|
|
12509
12509
|
open: 1,
|
|
@@ -12723,7 +12723,7 @@
|
|
|
12723
12723
|
};
|
|
12724
12724
|
}
|
|
12725
12725
|
|
|
12726
|
-
function create_fragment$
|
|
12726
|
+
function create_fragment$c(ctx) {
|
|
12727
12727
|
let if_block_anchor;
|
|
12728
12728
|
let current;
|
|
12729
12729
|
let if_block =
|
|
@@ -12788,7 +12788,7 @@
|
|
|
12788
12788
|
};
|
|
12789
12789
|
}
|
|
12790
12790
|
|
|
12791
|
-
function instance$
|
|
12791
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
12792
12792
|
let iconType;
|
|
12793
12793
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
12794
12794
|
let {
|
|
@@ -12826,7 +12826,7 @@
|
|
|
12826
12826
|
target: this.shadowRoot,
|
|
12827
12827
|
props: attribute_to_object(this.attributes),
|
|
12828
12828
|
customElement: true
|
|
12829
|
-
}, instance$
|
|
12829
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
12830
12830
|
type: 0
|
|
12831
12831
|
}, null);
|
|
12832
12832
|
|
|
@@ -12868,7 +12868,7 @@
|
|
|
12868
12868
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
12869
12869
|
|
|
12870
12870
|
|
|
12871
|
-
function create_fragment$
|
|
12871
|
+
function create_fragment$b(ctx) {
|
|
12872
12872
|
let div;
|
|
12873
12873
|
let slot;
|
|
12874
12874
|
let div_style_value;
|
|
@@ -12908,7 +12908,7 @@
|
|
|
12908
12908
|
};
|
|
12909
12909
|
}
|
|
12910
12910
|
|
|
12911
|
-
function instance$
|
|
12911
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
12912
12912
|
const Sizes = {
|
|
12913
12913
|
"full": "100%"
|
|
12914
12914
|
};
|
|
@@ -12949,7 +12949,7 @@
|
|
|
12949
12949
|
target: this.shadowRoot,
|
|
12950
12950
|
props: attribute_to_object(this.attributes),
|
|
12951
12951
|
customElement: true
|
|
12952
|
-
}, instance$
|
|
12952
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
12953
12953
|
width: 1,
|
|
12954
12954
|
_width: 0
|
|
12955
12955
|
}, null);
|
|
@@ -13187,7 +13187,7 @@
|
|
|
13187
13187
|
};
|
|
13188
13188
|
}
|
|
13189
13189
|
|
|
13190
|
-
function create_fragment$
|
|
13190
|
+
function create_fragment$a(ctx) {
|
|
13191
13191
|
let div;
|
|
13192
13192
|
let slot;
|
|
13193
13193
|
let t;
|
|
@@ -13310,7 +13310,7 @@
|
|
|
13310
13310
|
};
|
|
13311
13311
|
}
|
|
13312
13312
|
|
|
13313
|
-
function instance$
|
|
13313
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
13314
13314
|
let isDisabled;
|
|
13315
13315
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
13316
13316
|
let {
|
|
@@ -13437,7 +13437,7 @@
|
|
|
13437
13437
|
target: this.shadowRoot,
|
|
13438
13438
|
props: attribute_to_object(this.attributes),
|
|
13439
13439
|
customElement: true
|
|
13440
|
-
}, instance$
|
|
13440
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
13441
13441
|
name: 1,
|
|
13442
13442
|
value: 0,
|
|
13443
13443
|
orientation: 2,
|
|
@@ -13593,7 +13593,7 @@
|
|
|
13593
13593
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13594
13594
|
/* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.51.0 */
|
|
13595
13595
|
|
|
13596
|
-
function create_fragment$
|
|
13596
|
+
function create_fragment$9(ctx) {
|
|
13597
13597
|
return {
|
|
13598
13598
|
c() {
|
|
13599
13599
|
this.c = noop;
|
|
@@ -13607,7 +13607,7 @@
|
|
|
13607
13607
|
};
|
|
13608
13608
|
}
|
|
13609
13609
|
|
|
13610
|
-
function instance$
|
|
13610
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
13611
13611
|
let {
|
|
13612
13612
|
value
|
|
13613
13613
|
} = $$props;
|
|
@@ -13658,7 +13658,7 @@
|
|
|
13658
13658
|
target: this.shadowRoot,
|
|
13659
13659
|
props: attribute_to_object(this.attributes),
|
|
13660
13660
|
customElement: true
|
|
13661
|
-
}, instance$
|
|
13661
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
13662
13662
|
value: 0,
|
|
13663
13663
|
label: 1,
|
|
13664
13664
|
name: 2
|
|
@@ -13718,7 +13718,7 @@
|
|
|
13718
13718
|
customElements.define("goa-radio-item", RadioItem);
|
|
13719
13719
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13720
13720
|
|
|
13721
|
-
function create_fragment$
|
|
13721
|
+
function create_fragment$8(ctx) {
|
|
13722
13722
|
let div;
|
|
13723
13723
|
let slot;
|
|
13724
13724
|
let div_style_value;
|
|
@@ -13786,7 +13786,7 @@
|
|
|
13786
13786
|
};
|
|
13787
13787
|
}
|
|
13788
13788
|
|
|
13789
|
-
function instance$
|
|
13789
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
13790
13790
|
let {
|
|
13791
13791
|
direction = "vertical"
|
|
13792
13792
|
} = $$props;
|
|
@@ -13818,7 +13818,7 @@
|
|
|
13818
13818
|
target: this.shadowRoot,
|
|
13819
13819
|
props: attribute_to_object(this.attributes),
|
|
13820
13820
|
customElement: true
|
|
13821
|
-
}, instance$
|
|
13821
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
13822
13822
|
direction: 0,
|
|
13823
13823
|
hpadding: 1,
|
|
13824
13824
|
vpadding: 2,
|
|
@@ -14346,7 +14346,7 @@
|
|
|
14346
14346
|
};
|
|
14347
14347
|
}
|
|
14348
14348
|
|
|
14349
|
-
function create_fragment$
|
|
14349
|
+
function create_fragment$7(ctx) {
|
|
14350
14350
|
let div;
|
|
14351
14351
|
let current_block_type_index;
|
|
14352
14352
|
let if_block;
|
|
@@ -14462,7 +14462,7 @@
|
|
|
14462
14462
|
};
|
|
14463
14463
|
}
|
|
14464
14464
|
|
|
14465
|
-
function instance$
|
|
14465
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
14466
14466
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14467
14467
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14468
14468
|
let {
|
|
@@ -14520,7 +14520,7 @@
|
|
|
14520
14520
|
target: this.shadowRoot,
|
|
14521
14521
|
props: attribute_to_object(this.attributes),
|
|
14522
14522
|
customElement: true
|
|
14523
|
-
}, instance$
|
|
14523
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
14524
14524
|
maxwidth: 0,
|
|
14525
14525
|
size: 1,
|
|
14526
14526
|
linecount: 2,
|
|
@@ -14652,7 +14652,7 @@
|
|
|
14652
14652
|
customElements.define("goa-skeleton", Skeleton);
|
|
14653
14653
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14654
14654
|
|
|
14655
|
-
function create_fragment$
|
|
14655
|
+
function create_fragment$6(ctx) {
|
|
14656
14656
|
let div;
|
|
14657
14657
|
return {
|
|
14658
14658
|
c() {
|
|
@@ -14681,7 +14681,7 @@
|
|
|
14681
14681
|
};
|
|
14682
14682
|
}
|
|
14683
14683
|
|
|
14684
|
-
function instance$
|
|
14684
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
14685
14685
|
let {
|
|
14686
14686
|
hspacing = "none"
|
|
14687
14687
|
} = $$props;
|
|
@@ -14718,7 +14718,7 @@
|
|
|
14718
14718
|
target: this.shadowRoot,
|
|
14719
14719
|
props: attribute_to_object(this.attributes),
|
|
14720
14720
|
customElement: true
|
|
14721
|
-
}, instance$
|
|
14721
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
14722
14722
|
hspacing: 1,
|
|
14723
14723
|
vspacing: 2
|
|
14724
14724
|
}, null);
|
|
@@ -15076,7 +15076,7 @@
|
|
|
15076
15076
|
};
|
|
15077
15077
|
}
|
|
15078
15078
|
|
|
15079
|
-
function create_fragment$
|
|
15079
|
+
function create_fragment$5(ctx) {
|
|
15080
15080
|
let if_block_anchor;
|
|
15081
15081
|
let if_block =
|
|
15082
15082
|
/*ready*/
|
|
@@ -15121,7 +15121,7 @@
|
|
|
15121
15121
|
};
|
|
15122
15122
|
}
|
|
15123
15123
|
|
|
15124
|
-
function instance$
|
|
15124
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
15125
15125
|
let diameter;
|
|
15126
15126
|
let strokewidth;
|
|
15127
15127
|
let radius;
|
|
@@ -15252,7 +15252,7 @@
|
|
|
15252
15252
|
target: this.shadowRoot,
|
|
15253
15253
|
props: attribute_to_object(this.attributes),
|
|
15254
15254
|
customElement: true
|
|
15255
|
-
}, instance$
|
|
15255
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
15256
15256
|
size: 10,
|
|
15257
15257
|
invert: 0,
|
|
15258
15258
|
progress: 11,
|
|
@@ -15322,6 +15322,261 @@
|
|
|
15322
15322
|
}
|
|
15323
15323
|
|
|
15324
15324
|
customElements.define("goa-spinner", Spinner);
|
|
15325
|
+
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15326
|
+
|
|
15327
|
+
function create_fragment$4(ctx) {
|
|
15328
|
+
let table;
|
|
15329
|
+
let slot;
|
|
15330
|
+
let t0;
|
|
15331
|
+
let template;
|
|
15332
|
+
let table_style_value;
|
|
15333
|
+
return {
|
|
15334
|
+
c() {
|
|
15335
|
+
table = element("table");
|
|
15336
|
+
slot = element("slot");
|
|
15337
|
+
t0 = space();
|
|
15338
|
+
template = element("template");
|
|
15339
|
+
template.innerHTML = `<thead><tr><th></th></tr></thead>
|
|
15340
|
+
<tbody><tr><td></td></tr></tbody>
|
|
15341
|
+
<tfoot><tr><td></td></tr></tfoot>`;
|
|
15342
|
+
this.c = noop;
|
|
15343
|
+
attr(table, "style", table_style_value = `
|
|
15344
|
+
width: ${
|
|
15345
|
+
/*width*/
|
|
15346
|
+
ctx[0]};
|
|
15347
|
+
${calculateMargin(
|
|
15348
|
+
/*mt*/
|
|
15349
|
+
ctx[1],
|
|
15350
|
+
/*mr*/
|
|
15351
|
+
ctx[2],
|
|
15352
|
+
/*mb*/
|
|
15353
|
+
ctx[3],
|
|
15354
|
+
/*ml*/
|
|
15355
|
+
ctx[4])}
|
|
15356
|
+
`);
|
|
15357
|
+
toggle_class(table, "sticky",
|
|
15358
|
+
/*_stickyHeader*/
|
|
15359
|
+
ctx[6]);
|
|
15360
|
+
},
|
|
15361
|
+
|
|
15362
|
+
m(target, anchor) {
|
|
15363
|
+
insert(target, table, anchor);
|
|
15364
|
+
append(table, slot);
|
|
15365
|
+
append(table, t0);
|
|
15366
|
+
append(table, template);
|
|
15367
|
+
/*table_binding*/
|
|
15368
|
+
|
|
15369
|
+
ctx[8](table);
|
|
15370
|
+
},
|
|
15371
|
+
|
|
15372
|
+
p(ctx, [dirty]) {
|
|
15373
|
+
if (dirty &
|
|
15374
|
+
/*width, mt, mr, mb, ml*/
|
|
15375
|
+
31 && table_style_value !== (table_style_value = `
|
|
15376
|
+
width: ${
|
|
15377
|
+
/*width*/
|
|
15378
|
+
ctx[0]};
|
|
15379
|
+
${calculateMargin(
|
|
15380
|
+
/*mt*/
|
|
15381
|
+
ctx[1],
|
|
15382
|
+
/*mr*/
|
|
15383
|
+
ctx[2],
|
|
15384
|
+
/*mb*/
|
|
15385
|
+
ctx[3],
|
|
15386
|
+
/*ml*/
|
|
15387
|
+
ctx[4])}
|
|
15388
|
+
`)) {
|
|
15389
|
+
attr(table, "style", table_style_value);
|
|
15390
|
+
}
|
|
15391
|
+
|
|
15392
|
+
if (dirty &
|
|
15393
|
+
/*_stickyHeader*/
|
|
15394
|
+
64) {
|
|
15395
|
+
toggle_class(table, "sticky",
|
|
15396
|
+
/*_stickyHeader*/
|
|
15397
|
+
ctx[6]);
|
|
15398
|
+
}
|
|
15399
|
+
},
|
|
15400
|
+
|
|
15401
|
+
i: noop,
|
|
15402
|
+
o: noop,
|
|
15403
|
+
|
|
15404
|
+
d(detaching) {
|
|
15405
|
+
if (detaching) detach(table);
|
|
15406
|
+
/*table_binding*/
|
|
15407
|
+
|
|
15408
|
+
ctx[8](null);
|
|
15409
|
+
}
|
|
15410
|
+
|
|
15411
|
+
};
|
|
15412
|
+
}
|
|
15413
|
+
|
|
15414
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
15415
|
+
let _stickyHeader;
|
|
15416
|
+
|
|
15417
|
+
let {
|
|
15418
|
+
width = ""
|
|
15419
|
+
} = $$props;
|
|
15420
|
+
let {
|
|
15421
|
+
stickyheader = "false"
|
|
15422
|
+
} = $$props;
|
|
15423
|
+
let {
|
|
15424
|
+
mt = null
|
|
15425
|
+
} = $$props;
|
|
15426
|
+
let {
|
|
15427
|
+
mr = null
|
|
15428
|
+
} = $$props;
|
|
15429
|
+
let {
|
|
15430
|
+
mb = null
|
|
15431
|
+
} = $$props;
|
|
15432
|
+
let {
|
|
15433
|
+
ml = null
|
|
15434
|
+
} = $$props; // Private
|
|
15435
|
+
|
|
15436
|
+
let _rootEl;
|
|
15437
|
+
|
|
15438
|
+
onMount(() => {
|
|
15439
|
+
const slot = _rootEl.querySelector("slot");
|
|
15440
|
+
|
|
15441
|
+
if (slot) {
|
|
15442
|
+
// React needs to nest data in a <table>...</table>
|
|
15443
|
+
const content = slot.assignedElements()[0].querySelectorAll("template table > *");
|
|
15444
|
+
|
|
15445
|
+
_rootEl.append(...(content.length > 0 ? content : slot.assignedElements()));
|
|
15446
|
+
} else {
|
|
15447
|
+
return [..._rootEl.children];
|
|
15448
|
+
}
|
|
15449
|
+
});
|
|
15450
|
+
|
|
15451
|
+
function table_binding($$value) {
|
|
15452
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15453
|
+
_rootEl = $$value;
|
|
15454
|
+
$$invalidate(5, _rootEl);
|
|
15455
|
+
});
|
|
15456
|
+
}
|
|
15457
|
+
|
|
15458
|
+
$$self.$$set = $$props => {
|
|
15459
|
+
if ('width' in $$props) $$invalidate(0, width = $$props.width);
|
|
15460
|
+
if ('stickyheader' in $$props) $$invalidate(7, stickyheader = $$props.stickyheader);
|
|
15461
|
+
if ('mt' in $$props) $$invalidate(1, mt = $$props.mt);
|
|
15462
|
+
if ('mr' in $$props) $$invalidate(2, mr = $$props.mr);
|
|
15463
|
+
if ('mb' in $$props) $$invalidate(3, mb = $$props.mb);
|
|
15464
|
+
if ('ml' in $$props) $$invalidate(4, ml = $$props.ml);
|
|
15465
|
+
};
|
|
15466
|
+
|
|
15467
|
+
$$self.$$.update = () => {
|
|
15468
|
+
if ($$self.$$.dirty &
|
|
15469
|
+
/*stickyheader*/
|
|
15470
|
+
128) {
|
|
15471
|
+
$$invalidate(6, _stickyHeader = toBoolean(stickyheader));
|
|
15472
|
+
}
|
|
15473
|
+
};
|
|
15474
|
+
|
|
15475
|
+
return [width, mt, mr, mb, ml, _rootEl, _stickyHeader, stickyheader, table_binding];
|
|
15476
|
+
}
|
|
15477
|
+
|
|
15478
|
+
class Table extends SvelteElement {
|
|
15479
|
+
constructor(options) {
|
|
15480
|
+
super();
|
|
15481
|
+
this.shadowRoot.innerHTML = `<style>table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:1rem 1.5rem;border-bottom:1px solid var(--color-gray-200);line-height:1rem}th{background-color:var(--color-white);color:var(--goa-color-text-secondary);padding:1rem;vertical-align:middle;text-align:left;border-bottom:2px solid var(--color-gray-600)}tfoot td{background-color:var(--color-gray-100)}tfoot tr:first-child td{border-top:2px solid var(--color-gray-200)}tfoot tr:last-child td{border-bottom:none}</style>`;
|
|
15482
|
+
init(this, {
|
|
15483
|
+
target: this.shadowRoot,
|
|
15484
|
+
props: attribute_to_object(this.attributes),
|
|
15485
|
+
customElement: true
|
|
15486
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
15487
|
+
width: 0,
|
|
15488
|
+
stickyheader: 7,
|
|
15489
|
+
mt: 1,
|
|
15490
|
+
mr: 2,
|
|
15491
|
+
mb: 3,
|
|
15492
|
+
ml: 4
|
|
15493
|
+
}, null);
|
|
15494
|
+
|
|
15495
|
+
if (options) {
|
|
15496
|
+
if (options.target) {
|
|
15497
|
+
insert(options.target, this, options.anchor);
|
|
15498
|
+
}
|
|
15499
|
+
|
|
15500
|
+
if (options.props) {
|
|
15501
|
+
this.$set(options.props);
|
|
15502
|
+
flush();
|
|
15503
|
+
}
|
|
15504
|
+
}
|
|
15505
|
+
}
|
|
15506
|
+
|
|
15507
|
+
static get observedAttributes() {
|
|
15508
|
+
return ["width", "stickyheader", "mt", "mr", "mb", "ml"];
|
|
15509
|
+
}
|
|
15510
|
+
|
|
15511
|
+
get width() {
|
|
15512
|
+
return this.$$.ctx[0];
|
|
15513
|
+
}
|
|
15514
|
+
|
|
15515
|
+
set width(width) {
|
|
15516
|
+
this.$$set({
|
|
15517
|
+
width
|
|
15518
|
+
});
|
|
15519
|
+
flush();
|
|
15520
|
+
}
|
|
15521
|
+
|
|
15522
|
+
get stickyheader() {
|
|
15523
|
+
return this.$$.ctx[7];
|
|
15524
|
+
}
|
|
15525
|
+
|
|
15526
|
+
set stickyheader(stickyheader) {
|
|
15527
|
+
this.$$set({
|
|
15528
|
+
stickyheader
|
|
15529
|
+
});
|
|
15530
|
+
flush();
|
|
15531
|
+
}
|
|
15532
|
+
|
|
15533
|
+
get mt() {
|
|
15534
|
+
return this.$$.ctx[1];
|
|
15535
|
+
}
|
|
15536
|
+
|
|
15537
|
+
set mt(mt) {
|
|
15538
|
+
this.$$set({
|
|
15539
|
+
mt
|
|
15540
|
+
});
|
|
15541
|
+
flush();
|
|
15542
|
+
}
|
|
15543
|
+
|
|
15544
|
+
get mr() {
|
|
15545
|
+
return this.$$.ctx[2];
|
|
15546
|
+
}
|
|
15547
|
+
|
|
15548
|
+
set mr(mr) {
|
|
15549
|
+
this.$$set({
|
|
15550
|
+
mr
|
|
15551
|
+
});
|
|
15552
|
+
flush();
|
|
15553
|
+
}
|
|
15554
|
+
|
|
15555
|
+
get mb() {
|
|
15556
|
+
return this.$$.ctx[3];
|
|
15557
|
+
}
|
|
15558
|
+
|
|
15559
|
+
set mb(mb) {
|
|
15560
|
+
this.$$set({
|
|
15561
|
+
mb
|
|
15562
|
+
});
|
|
15563
|
+
flush();
|
|
15564
|
+
}
|
|
15565
|
+
|
|
15566
|
+
get ml() {
|
|
15567
|
+
return this.$$.ctx[4];
|
|
15568
|
+
}
|
|
15569
|
+
|
|
15570
|
+
set ml(ml) {
|
|
15571
|
+
this.$$set({
|
|
15572
|
+
ml
|
|
15573
|
+
});
|
|
15574
|
+
flush();
|
|
15575
|
+
}
|
|
15576
|
+
|
|
15577
|
+
}
|
|
15578
|
+
|
|
15579
|
+
customElements.define("goa-table", Table);
|
|
15325
15580
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15326
15581
|
|
|
15327
15582
|
function create_fragment$3(ctx) {
|
|
@@ -17191,6 +17446,19 @@
|
|
|
17191
17446
|
}, void 0);
|
|
17192
17447
|
};
|
|
17193
17448
|
|
|
17449
|
+
function GoATable(props) {
|
|
17450
|
+
return jsxRuntime.jsx("goa-table", __assign({
|
|
17451
|
+
width: props.width,
|
|
17452
|
+
stickyheader: false
|
|
17453
|
+
}, {
|
|
17454
|
+
children: jsxRuntime.jsx("template", {
|
|
17455
|
+
children: jsxRuntime.jsx("table", {
|
|
17456
|
+
children: props.children
|
|
17457
|
+
}, void 0)
|
|
17458
|
+
}, void 0)
|
|
17459
|
+
}), void 0);
|
|
17460
|
+
}
|
|
17461
|
+
|
|
17194
17462
|
var GoATextArea = function GoATextArea(_a) {
|
|
17195
17463
|
var name = _a.name,
|
|
17196
17464
|
value = _a.value,
|
|
@@ -17319,6 +17587,7 @@
|
|
|
17319
17587
|
exports.GoASpacer = GoASpacer;
|
|
17320
17588
|
exports.GoASpinner = GoASpinner;
|
|
17321
17589
|
exports.GoASuccessBadge = GoASuccessBadge;
|
|
17590
|
+
exports.GoATable = GoATable;
|
|
17322
17591
|
exports.GoATextArea = GoATextArea;
|
|
17323
17592
|
exports.GoATwoColumnLayout = GoATwoColumnLayout;
|
|
17324
17593
|
|