@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.esm.js
CHANGED
|
@@ -1151,7 +1151,7 @@ function create_if_block$h(ctx) {
|
|
|
1151
1151
|
};
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
function create_fragment$
|
|
1154
|
+
function create_fragment$G(ctx) {
|
|
1155
1155
|
let div2;
|
|
1156
1156
|
let div1;
|
|
1157
1157
|
let t;
|
|
@@ -1235,7 +1235,7 @@ function create_fragment$F(ctx) {
|
|
|
1235
1235
|
};
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
|
-
function instance$
|
|
1238
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
1239
1239
|
let {
|
|
1240
1240
|
heading = ""
|
|
1241
1241
|
} = $$props;
|
|
@@ -1267,7 +1267,7 @@ class AppHeader extends SvelteElement {
|
|
|
1267
1267
|
target: this.shadowRoot,
|
|
1268
1268
|
props: attribute_to_object(this.attributes),
|
|
1269
1269
|
customElement: true
|
|
1270
|
-
}, instance$
|
|
1270
|
+
}, instance$B, create_fragment$G, safe_not_equal, {
|
|
1271
1271
|
heading: 0,
|
|
1272
1272
|
url: 1,
|
|
1273
1273
|
testid: 2,
|
|
@@ -1484,7 +1484,7 @@ function create_if_block$g(ctx) {
|
|
|
1484
1484
|
};
|
|
1485
1485
|
}
|
|
1486
1486
|
|
|
1487
|
-
function create_fragment$
|
|
1487
|
+
function create_fragment$F(ctx) {
|
|
1488
1488
|
let div;
|
|
1489
1489
|
let t;
|
|
1490
1490
|
let div_style_value;
|
|
@@ -1620,7 +1620,7 @@ function create_fragment$E(ctx) {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
function instance$
|
|
1623
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1624
1624
|
let showIcon;
|
|
1625
1625
|
let iconType;
|
|
1626
1626
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -1702,7 +1702,7 @@ class Badge extends SvelteElement {
|
|
|
1702
1702
|
target: this.shadowRoot,
|
|
1703
1703
|
props: attribute_to_object(this.attributes),
|
|
1704
1704
|
customElement: true
|
|
1705
|
-
}, instance$
|
|
1705
|
+
}, instance$A, create_fragment$F, safe_not_equal, {
|
|
1706
1706
|
type: 0,
|
|
1707
1707
|
testid: 1,
|
|
1708
1708
|
content: 2,
|
|
@@ -1822,7 +1822,7 @@ class Badge extends SvelteElement {
|
|
|
1822
1822
|
customElements.define("goa-badge", Badge);
|
|
1823
1823
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
1824
1824
|
|
|
1825
|
-
function create_fragment$
|
|
1825
|
+
function create_fragment$E(ctx) {
|
|
1826
1826
|
let div;
|
|
1827
1827
|
let slot;
|
|
1828
1828
|
let div_style_value;
|
|
@@ -1896,7 +1896,7 @@ function create_fragment$D(ctx) {
|
|
|
1896
1896
|
};
|
|
1897
1897
|
}
|
|
1898
1898
|
|
|
1899
|
-
function instance$
|
|
1899
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1900
1900
|
let {
|
|
1901
1901
|
gap = "m"
|
|
1902
1902
|
} = $$props;
|
|
@@ -1940,7 +1940,7 @@ class Block extends SvelteElement {
|
|
|
1940
1940
|
target: this.shadowRoot,
|
|
1941
1941
|
props: attribute_to_object(this.attributes),
|
|
1942
1942
|
customElement: true
|
|
1943
|
-
}, instance$
|
|
1943
|
+
}, instance$z, create_fragment$E, safe_not_equal, {
|
|
1944
1944
|
gap: 0,
|
|
1945
1945
|
direction: 1,
|
|
1946
1946
|
alignment: 2,
|
|
@@ -2046,394 +2046,152 @@ class Block extends SvelteElement {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
2048
2048
|
customElements.define("goa-block", Block);
|
|
2049
|
-
/* libs/web-components/src/components/button
|
|
2049
|
+
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2050
2050
|
|
|
2051
|
-
function
|
|
2052
|
-
let
|
|
2051
|
+
function create_else_block$2(ctx) {
|
|
2052
|
+
let t0;
|
|
2053
2053
|
let slot;
|
|
2054
|
-
let
|
|
2054
|
+
let t1;
|
|
2055
|
+
let if_block1_anchor;
|
|
2056
|
+
let if_block0 =
|
|
2057
|
+
/*leadingicon*/
|
|
2058
|
+
ctx[3] && create_if_block_2$6(ctx);
|
|
2059
|
+
let if_block1 =
|
|
2060
|
+
/*trailingicon*/
|
|
2061
|
+
ctx[4] && create_if_block_1$9(ctx);
|
|
2055
2062
|
return {
|
|
2056
2063
|
c() {
|
|
2057
|
-
|
|
2064
|
+
if (if_block0) if_block0.c();
|
|
2065
|
+
t0 = space();
|
|
2058
2066
|
slot = element("slot");
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
attr(div, "style", div_style_value = "" + (calculateMargin(
|
|
2064
|
-
/*mt*/
|
|
2065
|
-
ctx[2],
|
|
2066
|
-
/*mr*/
|
|
2067
|
-
ctx[3],
|
|
2068
|
-
/*mb*/
|
|
2069
|
-
ctx[4],
|
|
2070
|
-
/*ml*/
|
|
2071
|
-
ctx[5]) + "; --alignment: " +
|
|
2072
|
-
/*_alignment*/
|
|
2073
|
-
ctx[6] + "; --gap-size: " + (
|
|
2074
|
-
/*gap*/
|
|
2075
|
-
ctx[0] === "relaxed" ? "1rem" : "0.75rem")));
|
|
2067
|
+
t1 = space();
|
|
2068
|
+
if (if_block1) if_block1.c();
|
|
2069
|
+
if_block1_anchor = empty();
|
|
2070
|
+
attr(slot, "class", "text");
|
|
2076
2071
|
},
|
|
2077
2072
|
|
|
2078
2073
|
m(target, anchor) {
|
|
2079
|
-
|
|
2080
|
-
|
|
2074
|
+
if (if_block0) if_block0.m(target, anchor);
|
|
2075
|
+
insert(target, t0, anchor);
|
|
2076
|
+
insert(target, slot, anchor);
|
|
2077
|
+
insert(target, t1, anchor);
|
|
2078
|
+
if (if_block1) if_block1.m(target, anchor);
|
|
2079
|
+
insert(target, if_block1_anchor, anchor);
|
|
2081
2080
|
},
|
|
2082
2081
|
|
|
2083
|
-
p(ctx,
|
|
2084
|
-
if (
|
|
2085
|
-
/*
|
|
2086
|
-
|
|
2087
|
-
|
|
2088
|
-
|
|
2089
|
-
|
|
2082
|
+
p(ctx, dirty) {
|
|
2083
|
+
if (
|
|
2084
|
+
/*leadingicon*/
|
|
2085
|
+
ctx[3]) {
|
|
2086
|
+
if (if_block0) {
|
|
2087
|
+
if_block0.p(ctx, dirty);
|
|
2088
|
+
} else {
|
|
2089
|
+
if_block0 = create_if_block_2$6(ctx);
|
|
2090
|
+
if_block0.c();
|
|
2091
|
+
if_block0.m(t0.parentNode, t0);
|
|
2092
|
+
}
|
|
2093
|
+
} else if (if_block0) {
|
|
2094
|
+
if_block0.d(1);
|
|
2095
|
+
if_block0 = null;
|
|
2090
2096
|
}
|
|
2091
2097
|
|
|
2092
|
-
if (
|
|
2093
|
-
/*
|
|
2094
|
-
|
|
2095
|
-
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
|
-
|
|
2099
|
-
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
|
|
2103
|
-
|
|
2104
|
-
|
|
2105
|
-
/*gap*/
|
|
2106
|
-
ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
|
|
2107
|
-
attr(div, "style", div_style_value);
|
|
2098
|
+
if (
|
|
2099
|
+
/*trailingicon*/
|
|
2100
|
+
ctx[4]) {
|
|
2101
|
+
if (if_block1) {
|
|
2102
|
+
if_block1.p(ctx, dirty);
|
|
2103
|
+
} else {
|
|
2104
|
+
if_block1 = create_if_block_1$9(ctx);
|
|
2105
|
+
if_block1.c();
|
|
2106
|
+
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2107
|
+
}
|
|
2108
|
+
} else if (if_block1) {
|
|
2109
|
+
if_block1.d(1);
|
|
2110
|
+
if_block1 = null;
|
|
2108
2111
|
}
|
|
2109
2112
|
},
|
|
2110
2113
|
|
|
2111
|
-
i: noop,
|
|
2112
|
-
o: noop,
|
|
2113
|
-
|
|
2114
2114
|
d(detaching) {
|
|
2115
|
-
if (
|
|
2115
|
+
if (if_block0) if_block0.d(detaching);
|
|
2116
|
+
if (detaching) detach(t0);
|
|
2117
|
+
if (detaching) detach(slot);
|
|
2118
|
+
if (detaching) detach(t1);
|
|
2119
|
+
if (if_block1) if_block1.d(detaching);
|
|
2120
|
+
if (detaching) detach(if_block1_anchor);
|
|
2116
2121
|
}
|
|
2117
2122
|
|
|
2118
2123
|
};
|
|
2119
|
-
}
|
|
2124
|
+
} // (45:2) {#if type === "start"}
|
|
2120
2125
|
|
|
2121
|
-
function instance$x($$self, $$props, $$invalidate) {
|
|
2122
|
-
let _alignment;
|
|
2123
2126
|
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2127
|
-
let
|
|
2128
|
-
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
} = $$props;
|
|
2139
|
-
let {
|
|
2140
|
-
mb = null
|
|
2141
|
-
} = $$props;
|
|
2142
|
-
let {
|
|
2143
|
-
ml = null
|
|
2144
|
-
} = $$props;
|
|
2145
|
-
const [BUTTON_ALIGNMENTS, validateAlignment] = typeValidator("alignment", ["start", "end", "center"]);
|
|
2146
|
-
const [GAPS, validateGap] = typeValidator("gap", ["relaxed", "compact"]);
|
|
2147
|
-
onMount(() => {
|
|
2148
|
-
validateAlignment(alignment);
|
|
2149
|
-
validateGap(gap);
|
|
2150
|
-
});
|
|
2127
|
+
function create_if_block$f(ctx) {
|
|
2128
|
+
let slot;
|
|
2129
|
+
let t;
|
|
2130
|
+
let goa_icon;
|
|
2131
|
+
return {
|
|
2132
|
+
c() {
|
|
2133
|
+
slot = element("slot");
|
|
2134
|
+
t = space();
|
|
2135
|
+
goa_icon = element("goa-icon");
|
|
2136
|
+
attr(slot, "class", "text");
|
|
2137
|
+
set_custom_element_data(goa_icon, "id", "trailing-icon");
|
|
2138
|
+
set_custom_element_data(goa_icon, "type", "arrow-forward");
|
|
2139
|
+
set_custom_element_data(goa_icon, "inverted", "true");
|
|
2140
|
+
},
|
|
2151
2141
|
|
|
2152
|
-
|
|
2153
|
-
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
2158
|
-
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
2159
|
-
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
2160
|
-
};
|
|
2142
|
+
m(target, anchor) {
|
|
2143
|
+
insert(target, slot, anchor);
|
|
2144
|
+
insert(target, t, anchor);
|
|
2145
|
+
insert(target, goa_icon, anchor);
|
|
2146
|
+
},
|
|
2161
2147
|
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2165
|
-
|
|
2166
|
-
|
|
2167
|
-
|
|
2168
|
-
end: "flex-end",
|
|
2169
|
-
center: "center"
|
|
2170
|
-
}[alignment]);
|
|
2148
|
+
p: noop,
|
|
2149
|
+
|
|
2150
|
+
d(detaching) {
|
|
2151
|
+
if (detaching) detach(slot);
|
|
2152
|
+
if (detaching) detach(t);
|
|
2153
|
+
if (detaching) detach(goa_icon);
|
|
2171
2154
|
}
|
|
2155
|
+
|
|
2172
2156
|
};
|
|
2157
|
+
} // (49:4) {#if leadingicon}
|
|
2173
2158
|
|
|
2174
|
-
return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
|
|
2175
|
-
}
|
|
2176
2159
|
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2183
|
-
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
|
|
2187
|
-
|
|
2188
|
-
|
|
2189
|
-
|
|
2190
|
-
mr: 3,
|
|
2191
|
-
mb: 4,
|
|
2192
|
-
ml: 5
|
|
2193
|
-
}, null);
|
|
2160
|
+
function create_if_block_2$6(ctx) {
|
|
2161
|
+
let goa_icon;
|
|
2162
|
+
return {
|
|
2163
|
+
c() {
|
|
2164
|
+
goa_icon = element("goa-icon");
|
|
2165
|
+
set_custom_element_data(goa_icon, "id", "leading-icon");
|
|
2166
|
+
set_custom_element_data(goa_icon, "type",
|
|
2167
|
+
/*leadingicon*/
|
|
2168
|
+
ctx[3]);
|
|
2169
|
+
set_custom_element_data(goa_icon, "inverted",
|
|
2170
|
+
/*isButtonDark*/
|
|
2171
|
+
ctx[10]);
|
|
2172
|
+
},
|
|
2194
2173
|
|
|
2195
|
-
|
|
2196
|
-
|
|
2197
|
-
|
|
2174
|
+
m(target, anchor) {
|
|
2175
|
+
insert(target, goa_icon, anchor);
|
|
2176
|
+
},
|
|
2177
|
+
|
|
2178
|
+
p(ctx, dirty) {
|
|
2179
|
+
if (dirty &
|
|
2180
|
+
/*leadingicon*/
|
|
2181
|
+
8) {
|
|
2182
|
+
set_custom_element_data(goa_icon, "type",
|
|
2183
|
+
/*leadingicon*/
|
|
2184
|
+
ctx[3]);
|
|
2198
2185
|
}
|
|
2199
2186
|
|
|
2200
|
-
if (
|
|
2201
|
-
|
|
2202
|
-
|
|
2187
|
+
if (dirty &
|
|
2188
|
+
/*isButtonDark*/
|
|
2189
|
+
1024) {
|
|
2190
|
+
set_custom_element_data(goa_icon, "inverted",
|
|
2191
|
+
/*isButtonDark*/
|
|
2192
|
+
ctx[10]);
|
|
2203
2193
|
}
|
|
2204
|
-
}
|
|
2205
|
-
}
|
|
2206
|
-
|
|
2207
|
-
static get observedAttributes() {
|
|
2208
|
-
return ["alignment", "gap", "testid", "mt", "mr", "mb", "ml"];
|
|
2209
|
-
}
|
|
2210
|
-
|
|
2211
|
-
get alignment() {
|
|
2212
|
-
return this.$$.ctx[7];
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
set alignment(alignment) {
|
|
2216
|
-
this.$$set({
|
|
2217
|
-
alignment
|
|
2218
|
-
});
|
|
2219
|
-
flush();
|
|
2220
|
-
}
|
|
2221
|
-
|
|
2222
|
-
get gap() {
|
|
2223
|
-
return this.$$.ctx[0];
|
|
2224
|
-
}
|
|
2225
|
-
|
|
2226
|
-
set gap(gap) {
|
|
2227
|
-
this.$$set({
|
|
2228
|
-
gap
|
|
2229
|
-
});
|
|
2230
|
-
flush();
|
|
2231
|
-
}
|
|
2232
|
-
|
|
2233
|
-
get testid() {
|
|
2234
|
-
return this.$$.ctx[1];
|
|
2235
|
-
}
|
|
2236
|
-
|
|
2237
|
-
set testid(testid) {
|
|
2238
|
-
this.$$set({
|
|
2239
|
-
testid
|
|
2240
|
-
});
|
|
2241
|
-
flush();
|
|
2242
|
-
}
|
|
2243
|
-
|
|
2244
|
-
get mt() {
|
|
2245
|
-
return this.$$.ctx[2];
|
|
2246
|
-
}
|
|
2247
|
-
|
|
2248
|
-
set mt(mt) {
|
|
2249
|
-
this.$$set({
|
|
2250
|
-
mt
|
|
2251
|
-
});
|
|
2252
|
-
flush();
|
|
2253
|
-
}
|
|
2254
|
-
|
|
2255
|
-
get mr() {
|
|
2256
|
-
return this.$$.ctx[3];
|
|
2257
|
-
}
|
|
2258
|
-
|
|
2259
|
-
set mr(mr) {
|
|
2260
|
-
this.$$set({
|
|
2261
|
-
mr
|
|
2262
|
-
});
|
|
2263
|
-
flush();
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
get mb() {
|
|
2267
|
-
return this.$$.ctx[4];
|
|
2268
|
-
}
|
|
2269
|
-
|
|
2270
|
-
set mb(mb) {
|
|
2271
|
-
this.$$set({
|
|
2272
|
-
mb
|
|
2273
|
-
});
|
|
2274
|
-
flush();
|
|
2275
|
-
}
|
|
2276
|
-
|
|
2277
|
-
get ml() {
|
|
2278
|
-
return this.$$.ctx[5];
|
|
2279
|
-
}
|
|
2280
|
-
|
|
2281
|
-
set ml(ml) {
|
|
2282
|
-
this.$$set({
|
|
2283
|
-
ml
|
|
2284
|
-
});
|
|
2285
|
-
flush();
|
|
2286
|
-
}
|
|
2287
|
-
|
|
2288
|
-
}
|
|
2289
|
-
|
|
2290
|
-
customElements.define("goa-button-group", ButtonGroup);
|
|
2291
|
-
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2292
|
-
|
|
2293
|
-
function create_else_block$2(ctx) {
|
|
2294
|
-
let t0;
|
|
2295
|
-
let slot;
|
|
2296
|
-
let t1;
|
|
2297
|
-
let if_block1_anchor;
|
|
2298
|
-
let if_block0 =
|
|
2299
|
-
/*leadingicon*/
|
|
2300
|
-
ctx[3] && create_if_block_2$6(ctx);
|
|
2301
|
-
let if_block1 =
|
|
2302
|
-
/*trailingicon*/
|
|
2303
|
-
ctx[4] && create_if_block_1$9(ctx);
|
|
2304
|
-
return {
|
|
2305
|
-
c() {
|
|
2306
|
-
if (if_block0) if_block0.c();
|
|
2307
|
-
t0 = space();
|
|
2308
|
-
slot = element("slot");
|
|
2309
|
-
t1 = space();
|
|
2310
|
-
if (if_block1) if_block1.c();
|
|
2311
|
-
if_block1_anchor = empty();
|
|
2312
|
-
attr(slot, "class", "text");
|
|
2313
|
-
},
|
|
2314
|
-
|
|
2315
|
-
m(target, anchor) {
|
|
2316
|
-
if (if_block0) if_block0.m(target, anchor);
|
|
2317
|
-
insert(target, t0, anchor);
|
|
2318
|
-
insert(target, slot, anchor);
|
|
2319
|
-
insert(target, t1, anchor);
|
|
2320
|
-
if (if_block1) if_block1.m(target, anchor);
|
|
2321
|
-
insert(target, if_block1_anchor, anchor);
|
|
2322
|
-
},
|
|
2323
|
-
|
|
2324
|
-
p(ctx, dirty) {
|
|
2325
|
-
if (
|
|
2326
|
-
/*leadingicon*/
|
|
2327
|
-
ctx[3]) {
|
|
2328
|
-
if (if_block0) {
|
|
2329
|
-
if_block0.p(ctx, dirty);
|
|
2330
|
-
} else {
|
|
2331
|
-
if_block0 = create_if_block_2$6(ctx);
|
|
2332
|
-
if_block0.c();
|
|
2333
|
-
if_block0.m(t0.parentNode, t0);
|
|
2334
|
-
}
|
|
2335
|
-
} else if (if_block0) {
|
|
2336
|
-
if_block0.d(1);
|
|
2337
|
-
if_block0 = null;
|
|
2338
|
-
}
|
|
2339
|
-
|
|
2340
|
-
if (
|
|
2341
|
-
/*trailingicon*/
|
|
2342
|
-
ctx[4]) {
|
|
2343
|
-
if (if_block1) {
|
|
2344
|
-
if_block1.p(ctx, dirty);
|
|
2345
|
-
} else {
|
|
2346
|
-
if_block1 = create_if_block_1$9(ctx);
|
|
2347
|
-
if_block1.c();
|
|
2348
|
-
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2349
|
-
}
|
|
2350
|
-
} else if (if_block1) {
|
|
2351
|
-
if_block1.d(1);
|
|
2352
|
-
if_block1 = null;
|
|
2353
|
-
}
|
|
2354
|
-
},
|
|
2355
|
-
|
|
2356
|
-
d(detaching) {
|
|
2357
|
-
if (if_block0) if_block0.d(detaching);
|
|
2358
|
-
if (detaching) detach(t0);
|
|
2359
|
-
if (detaching) detach(slot);
|
|
2360
|
-
if (detaching) detach(t1);
|
|
2361
|
-
if (if_block1) if_block1.d(detaching);
|
|
2362
|
-
if (detaching) detach(if_block1_anchor);
|
|
2363
|
-
}
|
|
2364
|
-
|
|
2365
|
-
};
|
|
2366
|
-
} // (45:2) {#if type === "start"}
|
|
2367
|
-
|
|
2368
|
-
|
|
2369
|
-
function create_if_block$f(ctx) {
|
|
2370
|
-
let slot;
|
|
2371
|
-
let t;
|
|
2372
|
-
let goa_icon;
|
|
2373
|
-
return {
|
|
2374
|
-
c() {
|
|
2375
|
-
slot = element("slot");
|
|
2376
|
-
t = space();
|
|
2377
|
-
goa_icon = element("goa-icon");
|
|
2378
|
-
attr(slot, "class", "text");
|
|
2379
|
-
set_custom_element_data(goa_icon, "id", "trailing-icon");
|
|
2380
|
-
set_custom_element_data(goa_icon, "type", "arrow-forward");
|
|
2381
|
-
set_custom_element_data(goa_icon, "inverted", "true");
|
|
2382
|
-
},
|
|
2383
|
-
|
|
2384
|
-
m(target, anchor) {
|
|
2385
|
-
insert(target, slot, anchor);
|
|
2386
|
-
insert(target, t, anchor);
|
|
2387
|
-
insert(target, goa_icon, anchor);
|
|
2388
|
-
},
|
|
2389
|
-
|
|
2390
|
-
p: noop,
|
|
2391
|
-
|
|
2392
|
-
d(detaching) {
|
|
2393
|
-
if (detaching) detach(slot);
|
|
2394
|
-
if (detaching) detach(t);
|
|
2395
|
-
if (detaching) detach(goa_icon);
|
|
2396
|
-
}
|
|
2397
|
-
|
|
2398
|
-
};
|
|
2399
|
-
} // (49:4) {#if leadingicon}
|
|
2400
|
-
|
|
2401
|
-
|
|
2402
|
-
function create_if_block_2$6(ctx) {
|
|
2403
|
-
let goa_icon;
|
|
2404
|
-
return {
|
|
2405
|
-
c() {
|
|
2406
|
-
goa_icon = element("goa-icon");
|
|
2407
|
-
set_custom_element_data(goa_icon, "id", "leading-icon");
|
|
2408
|
-
set_custom_element_data(goa_icon, "type",
|
|
2409
|
-
/*leadingicon*/
|
|
2410
|
-
ctx[3]);
|
|
2411
|
-
set_custom_element_data(goa_icon, "inverted",
|
|
2412
|
-
/*isButtonDark*/
|
|
2413
|
-
ctx[10]);
|
|
2414
|
-
},
|
|
2415
|
-
|
|
2416
|
-
m(target, anchor) {
|
|
2417
|
-
insert(target, goa_icon, anchor);
|
|
2418
|
-
},
|
|
2419
|
-
|
|
2420
|
-
p(ctx, dirty) {
|
|
2421
|
-
if (dirty &
|
|
2422
|
-
/*leadingicon*/
|
|
2423
|
-
8) {
|
|
2424
|
-
set_custom_element_data(goa_icon, "type",
|
|
2425
|
-
/*leadingicon*/
|
|
2426
|
-
ctx[3]);
|
|
2427
|
-
}
|
|
2428
|
-
|
|
2429
|
-
if (dirty &
|
|
2430
|
-
/*isButtonDark*/
|
|
2431
|
-
1024) {
|
|
2432
|
-
set_custom_element_data(goa_icon, "inverted",
|
|
2433
|
-
/*isButtonDark*/
|
|
2434
|
-
ctx[10]);
|
|
2435
|
-
}
|
|
2436
|
-
},
|
|
2194
|
+
},
|
|
2437
2195
|
|
|
2438
2196
|
d(detaching) {
|
|
2439
2197
|
if (detaching) detach(goa_icon);
|
|
@@ -2486,7 +2244,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2486
2244
|
};
|
|
2487
2245
|
}
|
|
2488
2246
|
|
|
2489
|
-
function create_fragment$
|
|
2247
|
+
function create_fragment$D(ctx) {
|
|
2490
2248
|
let button;
|
|
2491
2249
|
let button_class_value;
|
|
2492
2250
|
let button_style_value;
|
|
@@ -2644,7 +2402,7 @@ function clickHandler(e) {
|
|
|
2644
2402
|
e.stopPropagation();
|
|
2645
2403
|
}
|
|
2646
2404
|
|
|
2647
|
-
function instance$
|
|
2405
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
2648
2406
|
let isDisabled;
|
|
2649
2407
|
let isButtonDark;
|
|
2650
2408
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2731,7 +2489,7 @@ class Button extends SvelteElement {
|
|
|
2731
2489
|
target: this.shadowRoot,
|
|
2732
2490
|
props: attribute_to_object(this.attributes),
|
|
2733
2491
|
customElement: true
|
|
2734
|
-
}, instance$
|
|
2492
|
+
}, instance$y, create_fragment$D, safe_not_equal, {
|
|
2735
2493
|
type: 0,
|
|
2736
2494
|
size: 1,
|
|
2737
2495
|
variant: 2,
|
|
@@ -2885,23 +2643,265 @@ class Button extends SvelteElement {
|
|
|
2885
2643
|
}
|
|
2886
2644
|
|
|
2887
2645
|
customElements.define("goa-button", Button);
|
|
2888
|
-
/* libs/web-components/src/components/
|
|
2646
|
+
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
2889
2647
|
|
|
2890
|
-
function
|
|
2891
|
-
let
|
|
2892
|
-
let
|
|
2648
|
+
function create_fragment$C(ctx) {
|
|
2649
|
+
let div;
|
|
2650
|
+
let slot;
|
|
2651
|
+
let div_style_value;
|
|
2893
2652
|
return {
|
|
2894
2653
|
c() {
|
|
2895
|
-
|
|
2896
|
-
|
|
2897
|
-
|
|
2898
|
-
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
|
|
2904
|
-
|
|
2654
|
+
div = element("div");
|
|
2655
|
+
slot = element("slot");
|
|
2656
|
+
this.c = noop;
|
|
2657
|
+
attr(div, "data-testid",
|
|
2658
|
+
/*testid*/
|
|
2659
|
+
ctx[1]);
|
|
2660
|
+
attr(div, "style", div_style_value = "" + (calculateMargin(
|
|
2661
|
+
/*mt*/
|
|
2662
|
+
ctx[2],
|
|
2663
|
+
/*mr*/
|
|
2664
|
+
ctx[3],
|
|
2665
|
+
/*mb*/
|
|
2666
|
+
ctx[4],
|
|
2667
|
+
/*ml*/
|
|
2668
|
+
ctx[5]) + "; --alignment: " +
|
|
2669
|
+
/*_alignment*/
|
|
2670
|
+
ctx[6] + "; --gap-size: " + (
|
|
2671
|
+
/*gap*/
|
|
2672
|
+
ctx[0] === "relaxed" ? "1rem" : "0.75rem")));
|
|
2673
|
+
},
|
|
2674
|
+
|
|
2675
|
+
m(target, anchor) {
|
|
2676
|
+
insert(target, div, anchor);
|
|
2677
|
+
append(div, slot);
|
|
2678
|
+
},
|
|
2679
|
+
|
|
2680
|
+
p(ctx, [dirty]) {
|
|
2681
|
+
if (dirty &
|
|
2682
|
+
/*testid*/
|
|
2683
|
+
2) {
|
|
2684
|
+
attr(div, "data-testid",
|
|
2685
|
+
/*testid*/
|
|
2686
|
+
ctx[1]);
|
|
2687
|
+
}
|
|
2688
|
+
|
|
2689
|
+
if (dirty &
|
|
2690
|
+
/*mt, mr, mb, ml, _alignment, gap*/
|
|
2691
|
+
125 && div_style_value !== (div_style_value = "" + (calculateMargin(
|
|
2692
|
+
/*mt*/
|
|
2693
|
+
ctx[2],
|
|
2694
|
+
/*mr*/
|
|
2695
|
+
ctx[3],
|
|
2696
|
+
/*mb*/
|
|
2697
|
+
ctx[4],
|
|
2698
|
+
/*ml*/
|
|
2699
|
+
ctx[5]) + "; --alignment: " +
|
|
2700
|
+
/*_alignment*/
|
|
2701
|
+
ctx[6] + "; --gap-size: " + (
|
|
2702
|
+
/*gap*/
|
|
2703
|
+
ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
|
|
2704
|
+
attr(div, "style", div_style_value);
|
|
2705
|
+
}
|
|
2706
|
+
},
|
|
2707
|
+
|
|
2708
|
+
i: noop,
|
|
2709
|
+
o: noop,
|
|
2710
|
+
|
|
2711
|
+
d(detaching) {
|
|
2712
|
+
if (detaching) detach(div);
|
|
2713
|
+
}
|
|
2714
|
+
|
|
2715
|
+
};
|
|
2716
|
+
}
|
|
2717
|
+
|
|
2718
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
2719
|
+
let _alignment;
|
|
2720
|
+
|
|
2721
|
+
let {
|
|
2722
|
+
alignment = "start"
|
|
2723
|
+
} = $$props;
|
|
2724
|
+
let {
|
|
2725
|
+
gap = "relaxed"
|
|
2726
|
+
} = $$props;
|
|
2727
|
+
let {
|
|
2728
|
+
testid = ""
|
|
2729
|
+
} = $$props;
|
|
2730
|
+
let {
|
|
2731
|
+
mt = null
|
|
2732
|
+
} = $$props;
|
|
2733
|
+
let {
|
|
2734
|
+
mr = null
|
|
2735
|
+
} = $$props;
|
|
2736
|
+
let {
|
|
2737
|
+
mb = null
|
|
2738
|
+
} = $$props;
|
|
2739
|
+
let {
|
|
2740
|
+
ml = null
|
|
2741
|
+
} = $$props;
|
|
2742
|
+
const [BUTTON_ALIGNMENTS, validateAlignment] = typeValidator("alignment", ["start", "end", "center"]);
|
|
2743
|
+
const [GAPS, validateGap] = typeValidator("gap", ["relaxed", "compact"]);
|
|
2744
|
+
onMount(() => {
|
|
2745
|
+
validateAlignment(alignment);
|
|
2746
|
+
validateGap(gap);
|
|
2747
|
+
});
|
|
2748
|
+
|
|
2749
|
+
$$self.$$set = $$props => {
|
|
2750
|
+
if ('alignment' in $$props) $$invalidate(7, alignment = $$props.alignment);
|
|
2751
|
+
if ('gap' in $$props) $$invalidate(0, gap = $$props.gap);
|
|
2752
|
+
if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
|
|
2753
|
+
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
2754
|
+
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
2755
|
+
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
2756
|
+
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
2757
|
+
};
|
|
2758
|
+
|
|
2759
|
+
$$self.$$.update = () => {
|
|
2760
|
+
if ($$self.$$.dirty &
|
|
2761
|
+
/*alignment*/
|
|
2762
|
+
128) {
|
|
2763
|
+
$$invalidate(6, _alignment = {
|
|
2764
|
+
start: "flex-start",
|
|
2765
|
+
end: "flex-end",
|
|
2766
|
+
center: "center"
|
|
2767
|
+
}[alignment]);
|
|
2768
|
+
}
|
|
2769
|
+
};
|
|
2770
|
+
|
|
2771
|
+
return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
|
|
2772
|
+
}
|
|
2773
|
+
|
|
2774
|
+
class ButtonGroup extends SvelteElement {
|
|
2775
|
+
constructor(options) {
|
|
2776
|
+
super();
|
|
2777
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}div{display:flex;flex-direction:row;justify-content:var(--alignment);align-items:center;flex-wrap:wrap;gap:var(--gap-size);padding:3px 0}</style>`;
|
|
2778
|
+
init(this, {
|
|
2779
|
+
target: this.shadowRoot,
|
|
2780
|
+
props: attribute_to_object(this.attributes),
|
|
2781
|
+
customElement: true
|
|
2782
|
+
}, instance$x, create_fragment$C, safe_not_equal, {
|
|
2783
|
+
alignment: 7,
|
|
2784
|
+
gap: 0,
|
|
2785
|
+
testid: 1,
|
|
2786
|
+
mt: 2,
|
|
2787
|
+
mr: 3,
|
|
2788
|
+
mb: 4,
|
|
2789
|
+
ml: 5
|
|
2790
|
+
}, null);
|
|
2791
|
+
|
|
2792
|
+
if (options) {
|
|
2793
|
+
if (options.target) {
|
|
2794
|
+
insert(options.target, this, options.anchor);
|
|
2795
|
+
}
|
|
2796
|
+
|
|
2797
|
+
if (options.props) {
|
|
2798
|
+
this.$set(options.props);
|
|
2799
|
+
flush();
|
|
2800
|
+
}
|
|
2801
|
+
}
|
|
2802
|
+
}
|
|
2803
|
+
|
|
2804
|
+
static get observedAttributes() {
|
|
2805
|
+
return ["alignment", "gap", "testid", "mt", "mr", "mb", "ml"];
|
|
2806
|
+
}
|
|
2807
|
+
|
|
2808
|
+
get alignment() {
|
|
2809
|
+
return this.$$.ctx[7];
|
|
2810
|
+
}
|
|
2811
|
+
|
|
2812
|
+
set alignment(alignment) {
|
|
2813
|
+
this.$$set({
|
|
2814
|
+
alignment
|
|
2815
|
+
});
|
|
2816
|
+
flush();
|
|
2817
|
+
}
|
|
2818
|
+
|
|
2819
|
+
get gap() {
|
|
2820
|
+
return this.$$.ctx[0];
|
|
2821
|
+
}
|
|
2822
|
+
|
|
2823
|
+
set gap(gap) {
|
|
2824
|
+
this.$$set({
|
|
2825
|
+
gap
|
|
2826
|
+
});
|
|
2827
|
+
flush();
|
|
2828
|
+
}
|
|
2829
|
+
|
|
2830
|
+
get testid() {
|
|
2831
|
+
return this.$$.ctx[1];
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
set testid(testid) {
|
|
2835
|
+
this.$$set({
|
|
2836
|
+
testid
|
|
2837
|
+
});
|
|
2838
|
+
flush();
|
|
2839
|
+
}
|
|
2840
|
+
|
|
2841
|
+
get mt() {
|
|
2842
|
+
return this.$$.ctx[2];
|
|
2843
|
+
}
|
|
2844
|
+
|
|
2845
|
+
set mt(mt) {
|
|
2846
|
+
this.$$set({
|
|
2847
|
+
mt
|
|
2848
|
+
});
|
|
2849
|
+
flush();
|
|
2850
|
+
}
|
|
2851
|
+
|
|
2852
|
+
get mr() {
|
|
2853
|
+
return this.$$.ctx[3];
|
|
2854
|
+
}
|
|
2855
|
+
|
|
2856
|
+
set mr(mr) {
|
|
2857
|
+
this.$$set({
|
|
2858
|
+
mr
|
|
2859
|
+
});
|
|
2860
|
+
flush();
|
|
2861
|
+
}
|
|
2862
|
+
|
|
2863
|
+
get mb() {
|
|
2864
|
+
return this.$$.ctx[4];
|
|
2865
|
+
}
|
|
2866
|
+
|
|
2867
|
+
set mb(mb) {
|
|
2868
|
+
this.$$set({
|
|
2869
|
+
mb
|
|
2870
|
+
});
|
|
2871
|
+
flush();
|
|
2872
|
+
}
|
|
2873
|
+
|
|
2874
|
+
get ml() {
|
|
2875
|
+
return this.$$.ctx[5];
|
|
2876
|
+
}
|
|
2877
|
+
|
|
2878
|
+
set ml(ml) {
|
|
2879
|
+
this.$$set({
|
|
2880
|
+
ml
|
|
2881
|
+
});
|
|
2882
|
+
flush();
|
|
2883
|
+
}
|
|
2884
|
+
|
|
2885
|
+
}
|
|
2886
|
+
|
|
2887
|
+
customElements.define("goa-button-group", ButtonGroup);
|
|
2888
|
+
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
2889
|
+
|
|
2890
|
+
function create_if_block$e(ctx) {
|
|
2891
|
+
let h3;
|
|
2892
|
+
let t;
|
|
2893
|
+
return {
|
|
2894
|
+
c() {
|
|
2895
|
+
h3 = element("h3");
|
|
2896
|
+
t = text(
|
|
2897
|
+
/*heading*/
|
|
2898
|
+
ctx[5]);
|
|
2899
|
+
},
|
|
2900
|
+
|
|
2901
|
+
m(target, anchor) {
|
|
2902
|
+
insert(target, h3, anchor);
|
|
2903
|
+
append(h3, t);
|
|
2904
|
+
},
|
|
2905
2905
|
|
|
2906
2906
|
p(ctx, dirty) {
|
|
2907
2907
|
if (dirty &
|
|
@@ -2918,7 +2918,7 @@ function create_if_block$e(ctx) {
|
|
|
2918
2918
|
};
|
|
2919
2919
|
}
|
|
2920
2920
|
|
|
2921
|
-
function create_fragment$
|
|
2921
|
+
function create_fragment$B(ctx) {
|
|
2922
2922
|
let div;
|
|
2923
2923
|
let span0;
|
|
2924
2924
|
let goa_icon;
|
|
@@ -3053,7 +3053,7 @@ function create_fragment$A(ctx) {
|
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
3055
|
|
|
3056
|
-
function instance$
|
|
3056
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
3057
3057
|
let iconType;
|
|
3058
3058
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3059
3059
|
let {
|
|
@@ -3110,7 +3110,7 @@ class Callout extends SvelteElement {
|
|
|
3110
3110
|
target: this.shadowRoot,
|
|
3111
3111
|
props: attribute_to_object(this.attributes),
|
|
3112
3112
|
customElement: true
|
|
3113
|
-
}, instance$
|
|
3113
|
+
}, instance$w, create_fragment$B, safe_not_equal, {
|
|
3114
3114
|
mt: 0,
|
|
3115
3115
|
mr: 1,
|
|
3116
3116
|
mb: 2,
|
|
@@ -3218,7 +3218,7 @@ class Callout extends SvelteElement {
|
|
|
3218
3218
|
customElements.define("goa-callout", Callout);
|
|
3219
3219
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3220
3220
|
|
|
3221
|
-
function create_fragment$
|
|
3221
|
+
function create_fragment$A(ctx) {
|
|
3222
3222
|
let goa_card_content;
|
|
3223
3223
|
return {
|
|
3224
3224
|
c() {
|
|
@@ -3249,7 +3249,7 @@ class CardActions extends SvelteElement {
|
|
|
3249
3249
|
target: this.shadowRoot,
|
|
3250
3250
|
props: attribute_to_object(this.attributes),
|
|
3251
3251
|
customElement: true
|
|
3252
|
-
}, null, create_fragment$
|
|
3252
|
+
}, null, create_fragment$A, safe_not_equal, {}, null);
|
|
3253
3253
|
|
|
3254
3254
|
if (options) {
|
|
3255
3255
|
if (options.target) {
|
|
@@ -3261,223 +3261,9 @@ class CardActions extends SvelteElement {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
|
|
3263
3263
|
customElements.define("goa-card-actions", CardActions);
|
|
3264
|
-
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3265
|
-
|
|
3266
|
-
function create_fragment$y(ctx) {
|
|
3267
|
-
let div;
|
|
3268
|
-
return {
|
|
3269
|
-
c() {
|
|
3270
|
-
div = element("div");
|
|
3271
|
-
div.innerHTML = `<slot></slot>`;
|
|
3272
|
-
this.c = noop;
|
|
3273
|
-
attr(div, "class", "card-content");
|
|
3274
|
-
},
|
|
3275
|
-
|
|
3276
|
-
m(target, anchor) {
|
|
3277
|
-
insert(target, div, anchor);
|
|
3278
|
-
},
|
|
3279
|
-
|
|
3280
|
-
p: noop,
|
|
3281
|
-
i: noop,
|
|
3282
|
-
o: noop,
|
|
3283
|
-
|
|
3284
|
-
d(detaching) {
|
|
3285
|
-
if (detaching) detach(div);
|
|
3286
|
-
}
|
|
3287
|
-
|
|
3288
|
-
};
|
|
3289
|
-
}
|
|
3290
|
-
|
|
3291
|
-
class CardContent extends SvelteElement {
|
|
3292
|
-
constructor(options) {
|
|
3293
|
-
super();
|
|
3294
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
|
|
3295
|
-
init(this, {
|
|
3296
|
-
target: this.shadowRoot,
|
|
3297
|
-
props: attribute_to_object(this.attributes),
|
|
3298
|
-
customElement: true
|
|
3299
|
-
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3300
|
-
|
|
3301
|
-
if (options) {
|
|
3302
|
-
if (options.target) {
|
|
3303
|
-
insert(options.target, this, options.anchor);
|
|
3304
|
-
}
|
|
3305
|
-
}
|
|
3306
|
-
}
|
|
3307
|
-
|
|
3308
|
-
}
|
|
3309
|
-
|
|
3310
|
-
customElements.define("goa-card-content", CardContent);
|
|
3311
|
-
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3312
|
-
|
|
3313
|
-
function create_fragment$x(ctx) {
|
|
3314
|
-
let div;
|
|
3315
|
-
return {
|
|
3316
|
-
c() {
|
|
3317
|
-
div = element("div");
|
|
3318
|
-
div.innerHTML = `<slot></slot>`;
|
|
3319
|
-
this.c = noop;
|
|
3320
|
-
attr(div, "class", "card-group");
|
|
3321
|
-
},
|
|
3322
|
-
|
|
3323
|
-
m(target, anchor) {
|
|
3324
|
-
insert(target, div, anchor);
|
|
3325
|
-
},
|
|
3326
|
-
|
|
3327
|
-
p: noop,
|
|
3328
|
-
i: noop,
|
|
3329
|
-
o: noop,
|
|
3330
|
-
|
|
3331
|
-
d(detaching) {
|
|
3332
|
-
if (detaching) detach(div);
|
|
3333
|
-
}
|
|
3334
|
-
|
|
3335
|
-
};
|
|
3336
|
-
}
|
|
3337
|
-
|
|
3338
|
-
class CardGroup extends SvelteElement {
|
|
3339
|
-
constructor(options) {
|
|
3340
|
-
super();
|
|
3341
|
-
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>`;
|
|
3342
|
-
init(this, {
|
|
3343
|
-
target: this.shadowRoot,
|
|
3344
|
-
props: attribute_to_object(this.attributes),
|
|
3345
|
-
customElement: true
|
|
3346
|
-
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3347
|
-
|
|
3348
|
-
if (options) {
|
|
3349
|
-
if (options.target) {
|
|
3350
|
-
insert(options.target, this, options.anchor);
|
|
3351
|
-
}
|
|
3352
|
-
}
|
|
3353
|
-
}
|
|
3354
|
-
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
|
-
customElements.define("goa-card-group", CardGroup);
|
|
3358
|
-
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3359
|
-
|
|
3360
|
-
function create_fragment$w(ctx) {
|
|
3361
|
-
let div;
|
|
3362
|
-
return {
|
|
3363
|
-
c() {
|
|
3364
|
-
div = element("div");
|
|
3365
|
-
this.c = noop;
|
|
3366
|
-
set_style(div, "background-image", "url(" +
|
|
3367
|
-
/*src*/
|
|
3368
|
-
ctx[0] + ")");
|
|
3369
|
-
set_style(div, "height",
|
|
3370
|
-
/*height*/
|
|
3371
|
-
ctx[1]);
|
|
3372
|
-
set_style(div, "background-size", "cover");
|
|
3373
|
-
set_style(div, "background-position", "center");
|
|
3374
|
-
},
|
|
3375
|
-
|
|
3376
|
-
m(target, anchor) {
|
|
3377
|
-
insert(target, div, anchor);
|
|
3378
|
-
},
|
|
3379
|
-
|
|
3380
|
-
p(ctx, [dirty]) {
|
|
3381
|
-
if (dirty &
|
|
3382
|
-
/*src*/
|
|
3383
|
-
1) {
|
|
3384
|
-
set_style(div, "background-image", "url(" +
|
|
3385
|
-
/*src*/
|
|
3386
|
-
ctx[0] + ")");
|
|
3387
|
-
}
|
|
3388
|
-
|
|
3389
|
-
if (dirty &
|
|
3390
|
-
/*height*/
|
|
3391
|
-
2) {
|
|
3392
|
-
set_style(div, "height",
|
|
3393
|
-
/*height*/
|
|
3394
|
-
ctx[1]);
|
|
3395
|
-
}
|
|
3396
|
-
},
|
|
3397
|
-
|
|
3398
|
-
i: noop,
|
|
3399
|
-
o: noop,
|
|
3400
|
-
|
|
3401
|
-
d(detaching) {
|
|
3402
|
-
if (detaching) detach(div);
|
|
3403
|
-
}
|
|
3404
|
-
|
|
3405
|
-
};
|
|
3406
|
-
}
|
|
3407
|
-
|
|
3408
|
-
function instance$u($$self, $$props, $$invalidate) {
|
|
3409
|
-
let {
|
|
3410
|
-
src
|
|
3411
|
-
} = $$props;
|
|
3412
|
-
let {
|
|
3413
|
-
height = "100%"
|
|
3414
|
-
} = $$props;
|
|
3415
|
-
|
|
3416
|
-
$$self.$$set = $$props => {
|
|
3417
|
-
if ('src' in $$props) $$invalidate(0, src = $$props.src);
|
|
3418
|
-
if ('height' in $$props) $$invalidate(1, height = $$props.height);
|
|
3419
|
-
};
|
|
3420
|
-
|
|
3421
|
-
return [src, height];
|
|
3422
|
-
}
|
|
3423
|
-
|
|
3424
|
-
class CardImage extends SvelteElement {
|
|
3425
|
-
constructor(options) {
|
|
3426
|
-
super();
|
|
3427
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
|
|
3428
|
-
init(this, {
|
|
3429
|
-
target: this.shadowRoot,
|
|
3430
|
-
props: attribute_to_object(this.attributes),
|
|
3431
|
-
customElement: true
|
|
3432
|
-
}, instance$u, create_fragment$w, safe_not_equal, {
|
|
3433
|
-
src: 0,
|
|
3434
|
-
height: 1
|
|
3435
|
-
}, null);
|
|
3436
|
-
|
|
3437
|
-
if (options) {
|
|
3438
|
-
if (options.target) {
|
|
3439
|
-
insert(options.target, this, options.anchor);
|
|
3440
|
-
}
|
|
3441
|
-
|
|
3442
|
-
if (options.props) {
|
|
3443
|
-
this.$set(options.props);
|
|
3444
|
-
flush();
|
|
3445
|
-
}
|
|
3446
|
-
}
|
|
3447
|
-
}
|
|
3448
|
-
|
|
3449
|
-
static get observedAttributes() {
|
|
3450
|
-
return ["src", "height"];
|
|
3451
|
-
}
|
|
3452
|
-
|
|
3453
|
-
get src() {
|
|
3454
|
-
return this.$$.ctx[0];
|
|
3455
|
-
}
|
|
3456
|
-
|
|
3457
|
-
set src(src) {
|
|
3458
|
-
this.$$set({
|
|
3459
|
-
src
|
|
3460
|
-
});
|
|
3461
|
-
flush();
|
|
3462
|
-
}
|
|
3463
|
-
|
|
3464
|
-
get height() {
|
|
3465
|
-
return this.$$.ctx[1];
|
|
3466
|
-
}
|
|
3467
|
-
|
|
3468
|
-
set height(height) {
|
|
3469
|
-
this.$$set({
|
|
3470
|
-
height
|
|
3471
|
-
});
|
|
3472
|
-
flush();
|
|
3473
|
-
}
|
|
3474
|
-
|
|
3475
|
-
}
|
|
3476
|
-
|
|
3477
|
-
customElements.define("goa-card-image", CardImage);
|
|
3478
3264
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3479
3265
|
|
|
3480
|
-
function create_fragment$
|
|
3266
|
+
function create_fragment$z(ctx) {
|
|
3481
3267
|
let div;
|
|
3482
3268
|
let slot;
|
|
3483
3269
|
let div_style_value;
|
|
@@ -3556,7 +3342,7 @@ function create_fragment$v(ctx) {
|
|
|
3556
3342
|
};
|
|
3557
3343
|
}
|
|
3558
3344
|
|
|
3559
|
-
function instance$
|
|
3345
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
3560
3346
|
let {
|
|
3561
3347
|
elevation = 0
|
|
3562
3348
|
} = $$props;
|
|
@@ -3604,7 +3390,7 @@ class Card extends SvelteElement {
|
|
|
3604
3390
|
target: this.shadowRoot,
|
|
3605
3391
|
props: attribute_to_object(this.attributes),
|
|
3606
3392
|
customElement: true
|
|
3607
|
-
}, instance$
|
|
3393
|
+
}, instance$v, create_fragment$z, safe_not_equal, {
|
|
3608
3394
|
elevation: 0,
|
|
3609
3395
|
width: 1,
|
|
3610
3396
|
height: 2,
|
|
@@ -3722,40 +3508,254 @@ class Card extends SvelteElement {
|
|
|
3722
3508
|
}
|
|
3723
3509
|
|
|
3724
3510
|
customElements.define("goa-card", Card);
|
|
3725
|
-
/* libs/web-components/src/components/
|
|
3511
|
+
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3726
3512
|
|
|
3727
|
-
function
|
|
3728
|
-
let
|
|
3729
|
-
let path;
|
|
3513
|
+
function create_fragment$y(ctx) {
|
|
3514
|
+
let div;
|
|
3730
3515
|
return {
|
|
3731
3516
|
c() {
|
|
3732
|
-
|
|
3733
|
-
|
|
3734
|
-
|
|
3735
|
-
attr(
|
|
3736
|
-
attr(svg, "data-testid", "checkmark");
|
|
3737
|
-
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
3738
|
-
attr(svg, "viewBox", "0 0 16 12.18");
|
|
3517
|
+
div = element("div");
|
|
3518
|
+
div.innerHTML = `<slot></slot>`;
|
|
3519
|
+
this.c = noop;
|
|
3520
|
+
attr(div, "class", "card-content");
|
|
3739
3521
|
},
|
|
3740
3522
|
|
|
3741
3523
|
m(target, anchor) {
|
|
3742
|
-
insert(target,
|
|
3743
|
-
append(svg, path);
|
|
3524
|
+
insert(target, div, anchor);
|
|
3744
3525
|
},
|
|
3745
3526
|
|
|
3527
|
+
p: noop,
|
|
3528
|
+
i: noop,
|
|
3529
|
+
o: noop,
|
|
3530
|
+
|
|
3746
3531
|
d(detaching) {
|
|
3747
|
-
if (detaching) detach(
|
|
3532
|
+
if (detaching) detach(div);
|
|
3748
3533
|
}
|
|
3749
3534
|
|
|
3750
3535
|
};
|
|
3751
|
-
}
|
|
3752
|
-
|
|
3536
|
+
}
|
|
3753
3537
|
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
3538
|
+
class CardContent extends SvelteElement {
|
|
3539
|
+
constructor(options) {
|
|
3540
|
+
super();
|
|
3541
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-content{padding:1rem}</style>`;
|
|
3542
|
+
init(this, {
|
|
3543
|
+
target: this.shadowRoot,
|
|
3544
|
+
props: attribute_to_object(this.attributes),
|
|
3545
|
+
customElement: true
|
|
3546
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3547
|
+
|
|
3548
|
+
if (options) {
|
|
3549
|
+
if (options.target) {
|
|
3550
|
+
insert(options.target, this, options.anchor);
|
|
3551
|
+
}
|
|
3552
|
+
}
|
|
3553
|
+
}
|
|
3554
|
+
|
|
3555
|
+
}
|
|
3556
|
+
|
|
3557
|
+
customElements.define("goa-card-content", CardContent);
|
|
3558
|
+
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3559
|
+
|
|
3560
|
+
function create_fragment$x(ctx) {
|
|
3561
|
+
let div;
|
|
3562
|
+
return {
|
|
3563
|
+
c() {
|
|
3564
|
+
div = element("div");
|
|
3565
|
+
div.innerHTML = `<slot></slot>`;
|
|
3566
|
+
this.c = noop;
|
|
3567
|
+
attr(div, "class", "card-group");
|
|
3568
|
+
},
|
|
3569
|
+
|
|
3570
|
+
m(target, anchor) {
|
|
3571
|
+
insert(target, div, anchor);
|
|
3572
|
+
},
|
|
3573
|
+
|
|
3574
|
+
p: noop,
|
|
3575
|
+
i: noop,
|
|
3576
|
+
o: noop,
|
|
3577
|
+
|
|
3578
|
+
d(detaching) {
|
|
3579
|
+
if (detaching) detach(div);
|
|
3580
|
+
}
|
|
3581
|
+
|
|
3582
|
+
};
|
|
3583
|
+
}
|
|
3584
|
+
|
|
3585
|
+
class CardGroup extends SvelteElement {
|
|
3586
|
+
constructor(options) {
|
|
3587
|
+
super();
|
|
3588
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.card-group{display:flex;flex-wrap:wrap;justify-content:space-around;gap:1rem;width:100%}</style>`;
|
|
3589
|
+
init(this, {
|
|
3590
|
+
target: this.shadowRoot,
|
|
3591
|
+
props: attribute_to_object(this.attributes),
|
|
3592
|
+
customElement: true
|
|
3593
|
+
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3594
|
+
|
|
3595
|
+
if (options) {
|
|
3596
|
+
if (options.target) {
|
|
3597
|
+
insert(options.target, this, options.anchor);
|
|
3598
|
+
}
|
|
3599
|
+
}
|
|
3600
|
+
}
|
|
3601
|
+
|
|
3602
|
+
}
|
|
3603
|
+
|
|
3604
|
+
customElements.define("goa-card-group", CardGroup);
|
|
3605
|
+
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3606
|
+
|
|
3607
|
+
function create_fragment$w(ctx) {
|
|
3608
|
+
let div;
|
|
3609
|
+
return {
|
|
3610
|
+
c() {
|
|
3611
|
+
div = element("div");
|
|
3612
|
+
this.c = noop;
|
|
3613
|
+
set_style(div, "background-image", "url(" +
|
|
3614
|
+
/*src*/
|
|
3615
|
+
ctx[0] + ")");
|
|
3616
|
+
set_style(div, "height",
|
|
3617
|
+
/*height*/
|
|
3618
|
+
ctx[1]);
|
|
3619
|
+
set_style(div, "background-size", "cover");
|
|
3620
|
+
set_style(div, "background-position", "center");
|
|
3621
|
+
},
|
|
3622
|
+
|
|
3623
|
+
m(target, anchor) {
|
|
3624
|
+
insert(target, div, anchor);
|
|
3625
|
+
},
|
|
3626
|
+
|
|
3627
|
+
p(ctx, [dirty]) {
|
|
3628
|
+
if (dirty &
|
|
3629
|
+
/*src*/
|
|
3630
|
+
1) {
|
|
3631
|
+
set_style(div, "background-image", "url(" +
|
|
3632
|
+
/*src*/
|
|
3633
|
+
ctx[0] + ")");
|
|
3634
|
+
}
|
|
3635
|
+
|
|
3636
|
+
if (dirty &
|
|
3637
|
+
/*height*/
|
|
3638
|
+
2) {
|
|
3639
|
+
set_style(div, "height",
|
|
3640
|
+
/*height*/
|
|
3641
|
+
ctx[1]);
|
|
3642
|
+
}
|
|
3643
|
+
},
|
|
3644
|
+
|
|
3645
|
+
i: noop,
|
|
3646
|
+
o: noop,
|
|
3647
|
+
|
|
3648
|
+
d(detaching) {
|
|
3649
|
+
if (detaching) detach(div);
|
|
3650
|
+
}
|
|
3651
|
+
|
|
3652
|
+
};
|
|
3653
|
+
}
|
|
3654
|
+
|
|
3655
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
3656
|
+
let {
|
|
3657
|
+
src
|
|
3658
|
+
} = $$props;
|
|
3659
|
+
let {
|
|
3660
|
+
height = "100%"
|
|
3661
|
+
} = $$props;
|
|
3662
|
+
|
|
3663
|
+
$$self.$$set = $$props => {
|
|
3664
|
+
if ('src' in $$props) $$invalidate(0, src = $$props.src);
|
|
3665
|
+
if ('height' in $$props) $$invalidate(1, height = $$props.height);
|
|
3666
|
+
};
|
|
3667
|
+
|
|
3668
|
+
return [src, height];
|
|
3669
|
+
}
|
|
3670
|
+
|
|
3671
|
+
class CardImage extends SvelteElement {
|
|
3672
|
+
constructor(options) {
|
|
3673
|
+
super();
|
|
3674
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}</style>`;
|
|
3675
|
+
init(this, {
|
|
3676
|
+
target: this.shadowRoot,
|
|
3677
|
+
props: attribute_to_object(this.attributes),
|
|
3678
|
+
customElement: true
|
|
3679
|
+
}, instance$u, create_fragment$w, safe_not_equal, {
|
|
3680
|
+
src: 0,
|
|
3681
|
+
height: 1
|
|
3682
|
+
}, null);
|
|
3683
|
+
|
|
3684
|
+
if (options) {
|
|
3685
|
+
if (options.target) {
|
|
3686
|
+
insert(options.target, this, options.anchor);
|
|
3687
|
+
}
|
|
3688
|
+
|
|
3689
|
+
if (options.props) {
|
|
3690
|
+
this.$set(options.props);
|
|
3691
|
+
flush();
|
|
3692
|
+
}
|
|
3693
|
+
}
|
|
3694
|
+
}
|
|
3695
|
+
|
|
3696
|
+
static get observedAttributes() {
|
|
3697
|
+
return ["src", "height"];
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
get src() {
|
|
3701
|
+
return this.$$.ctx[0];
|
|
3702
|
+
}
|
|
3703
|
+
|
|
3704
|
+
set src(src) {
|
|
3705
|
+
this.$$set({
|
|
3706
|
+
src
|
|
3707
|
+
});
|
|
3708
|
+
flush();
|
|
3709
|
+
}
|
|
3710
|
+
|
|
3711
|
+
get height() {
|
|
3712
|
+
return this.$$.ctx[1];
|
|
3713
|
+
}
|
|
3714
|
+
|
|
3715
|
+
set height(height) {
|
|
3716
|
+
this.$$set({
|
|
3717
|
+
height
|
|
3718
|
+
});
|
|
3719
|
+
flush();
|
|
3720
|
+
}
|
|
3721
|
+
|
|
3722
|
+
}
|
|
3723
|
+
|
|
3724
|
+
customElements.define("goa-card-image", CardImage);
|
|
3725
|
+
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
3726
|
+
|
|
3727
|
+
function create_if_block_1$8(ctx) {
|
|
3728
|
+
let svg;
|
|
3729
|
+
let path;
|
|
3730
|
+
return {
|
|
3731
|
+
c() {
|
|
3732
|
+
svg = svg_element("svg");
|
|
3733
|
+
path = svg_element("path");
|
|
3734
|
+
attr(path, "d", "M5.09,9.64,1.27,5.82,0,7.09l5.09,5.09L16,1.27,14.73,0Z");
|
|
3735
|
+
attr(svg, "id", "checkmark");
|
|
3736
|
+
attr(svg, "data-testid", "checkmark");
|
|
3737
|
+
attr(svg, "xmlns", "http://www.w3.org/2000/svg");
|
|
3738
|
+
attr(svg, "viewBox", "0 0 16 12.18");
|
|
3739
|
+
},
|
|
3740
|
+
|
|
3741
|
+
m(target, anchor) {
|
|
3742
|
+
insert(target, svg, anchor);
|
|
3743
|
+
append(svg, path);
|
|
3744
|
+
},
|
|
3745
|
+
|
|
3746
|
+
d(detaching) {
|
|
3747
|
+
if (detaching) detach(svg);
|
|
3748
|
+
}
|
|
3749
|
+
|
|
3750
|
+
};
|
|
3751
|
+
} // (68:4) {#if isIndeterminate}
|
|
3752
|
+
|
|
3753
|
+
|
|
3754
|
+
function create_if_block$d(ctx) {
|
|
3755
|
+
let svg;
|
|
3756
|
+
let rect;
|
|
3757
|
+
return {
|
|
3758
|
+
c() {
|
|
3759
3759
|
svg = svg_element("svg");
|
|
3760
3760
|
rect = svg_element("rect");
|
|
3761
3761
|
attr(rect, "width", "15");
|
|
@@ -3778,7 +3778,7 @@ function create_if_block$d(ctx) {
|
|
|
3778
3778
|
};
|
|
3779
3779
|
}
|
|
3780
3780
|
|
|
3781
|
-
function create_fragment$
|
|
3781
|
+
function create_fragment$v(ctx) {
|
|
3782
3782
|
let label;
|
|
3783
3783
|
let div0;
|
|
3784
3784
|
let input;
|
|
@@ -4027,7 +4027,7 @@ function create_fragment$u(ctx) {
|
|
|
4027
4027
|
};
|
|
4028
4028
|
}
|
|
4029
4029
|
|
|
4030
|
-
function instance$
|
|
4030
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
4031
4031
|
let isDisabled;
|
|
4032
4032
|
let isError;
|
|
4033
4033
|
let isChecked;
|
|
@@ -4142,7 +4142,7 @@ class Checkbox extends SvelteElement {
|
|
|
4142
4142
|
target: this.shadowRoot,
|
|
4143
4143
|
props: attribute_to_object(this.attributes),
|
|
4144
4144
|
customElement: true
|
|
4145
|
-
}, instance$
|
|
4145
|
+
}, instance$t, create_fragment$v, safe_not_equal, {
|
|
4146
4146
|
name: 0,
|
|
4147
4147
|
checked: 14,
|
|
4148
4148
|
text: 1,
|
|
@@ -4400,7 +4400,7 @@ function create_if_block$c(ctx) {
|
|
|
4400
4400
|
};
|
|
4401
4401
|
}
|
|
4402
4402
|
|
|
4403
|
-
function create_fragment$
|
|
4403
|
+
function create_fragment$u(ctx) {
|
|
4404
4404
|
let div1;
|
|
4405
4405
|
let t0;
|
|
4406
4406
|
let div0;
|
|
@@ -4582,7 +4582,7 @@ function create_fragment$t(ctx) {
|
|
|
4582
4582
|
};
|
|
4583
4583
|
}
|
|
4584
4584
|
|
|
4585
|
-
function instance$
|
|
4585
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
4586
4586
|
let {
|
|
4587
4587
|
mt = null
|
|
4588
4588
|
} = $$props;
|
|
@@ -4683,7 +4683,7 @@ class Chip extends SvelteElement {
|
|
|
4683
4683
|
target: this.shadowRoot,
|
|
4684
4684
|
props: attribute_to_object(this.attributes),
|
|
4685
4685
|
customElement: true
|
|
4686
|
-
}, instance$
|
|
4686
|
+
}, instance$s, create_fragment$u, safe_not_equal, {
|
|
4687
4687
|
mt: 0,
|
|
4688
4688
|
mr: 1,
|
|
4689
4689
|
mb: 2,
|
|
@@ -5311,7 +5311,7 @@ function create_if_block_2$5(ctx) {
|
|
|
5311
5311
|
};
|
|
5312
5312
|
}
|
|
5313
5313
|
|
|
5314
|
-
function create_fragment$
|
|
5314
|
+
function create_fragment$t(ctx) {
|
|
5315
5315
|
let if_block_anchor;
|
|
5316
5316
|
let current;
|
|
5317
5317
|
let if_block =
|
|
@@ -5376,7 +5376,7 @@ function create_fragment$s(ctx) {
|
|
|
5376
5376
|
};
|
|
5377
5377
|
}
|
|
5378
5378
|
|
|
5379
|
-
function instance$
|
|
5379
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
5380
5380
|
let isVisible;
|
|
5381
5381
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5382
5382
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5433,7 +5433,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5433
5433
|
target: this.shadowRoot,
|
|
5434
5434
|
props: attribute_to_object(this.attributes),
|
|
5435
5435
|
customElement: true
|
|
5436
|
-
}, instance$
|
|
5436
|
+
}, instance$r, create_fragment$t, safe_not_equal, {
|
|
5437
5437
|
variant: 6,
|
|
5438
5438
|
size: 7,
|
|
5439
5439
|
message: 0,
|
|
@@ -5517,7 +5517,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5517
5517
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5518
5518
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5519
5519
|
|
|
5520
|
-
function create_fragment$
|
|
5520
|
+
function create_fragment$s(ctx) {
|
|
5521
5521
|
let div3;
|
|
5522
5522
|
let header;
|
|
5523
5523
|
let div0;
|
|
@@ -5642,7 +5642,7 @@ function create_fragment$r(ctx) {
|
|
|
5642
5642
|
};
|
|
5643
5643
|
}
|
|
5644
5644
|
|
|
5645
|
-
function instance$
|
|
5645
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
5646
5646
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
5647
5647
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
5648
5648
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -5698,7 +5698,7 @@ class Container extends SvelteElement {
|
|
|
5698
5698
|
target: this.shadowRoot,
|
|
5699
5699
|
props: attribute_to_object(this.attributes),
|
|
5700
5700
|
customElement: true
|
|
5701
|
-
}, instance$
|
|
5701
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
5702
5702
|
type: 0,
|
|
5703
5703
|
accent: 1,
|
|
5704
5704
|
padding: 2,
|
|
@@ -5818,7 +5818,7 @@ class Container extends SvelteElement {
|
|
|
5818
5818
|
customElements.define("goa-container", Container);
|
|
5819
5819
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
5820
5820
|
|
|
5821
|
-
function create_fragment$
|
|
5821
|
+
function create_fragment$r(ctx) {
|
|
5822
5822
|
let hr;
|
|
5823
5823
|
let hr_style_value;
|
|
5824
5824
|
return {
|
|
@@ -5877,7 +5877,7 @@ function create_fragment$q(ctx) {
|
|
|
5877
5877
|
};
|
|
5878
5878
|
}
|
|
5879
5879
|
|
|
5880
|
-
function instance$
|
|
5880
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
5881
5881
|
let {
|
|
5882
5882
|
testid = ""
|
|
5883
5883
|
} = $$props;
|
|
@@ -5913,7 +5913,7 @@ class Divider extends SvelteElement {
|
|
|
5913
5913
|
target: this.shadowRoot,
|
|
5914
5914
|
props: attribute_to_object(this.attributes),
|
|
5915
5915
|
customElement: true
|
|
5916
|
-
}, instance$
|
|
5916
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
5917
5917
|
testid: 0,
|
|
5918
5918
|
mt: 1,
|
|
5919
5919
|
mr: 2,
|
|
@@ -6104,12 +6104,139 @@ function deleteContext(name) {
|
|
|
6104
6104
|
if (!store) return;
|
|
6105
6105
|
delete stores[name];
|
|
6106
6106
|
}
|
|
6107
|
-
/* libs/web-components/src/components/dropdown/
|
|
6107
|
+
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
6108
6108
|
|
|
6109
6109
|
|
|
6110
|
-
function
|
|
6111
|
-
|
|
6112
|
-
|
|
6110
|
+
function create_fragment$q(ctx) {
|
|
6111
|
+
return {
|
|
6112
|
+
c() {
|
|
6113
|
+
this.c = noop;
|
|
6114
|
+
},
|
|
6115
|
+
|
|
6116
|
+
m: noop,
|
|
6117
|
+
p: noop,
|
|
6118
|
+
i: noop,
|
|
6119
|
+
o: noop,
|
|
6120
|
+
d: noop
|
|
6121
|
+
};
|
|
6122
|
+
}
|
|
6123
|
+
|
|
6124
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
6125
|
+
let {
|
|
6126
|
+
name = ""
|
|
6127
|
+
} = $$props;
|
|
6128
|
+
let {
|
|
6129
|
+
value = ""
|
|
6130
|
+
} = $$props;
|
|
6131
|
+
let {
|
|
6132
|
+
label = ""
|
|
6133
|
+
} = $$props; // private
|
|
6134
|
+
|
|
6135
|
+
let ctx;
|
|
6136
|
+
let isBound = false;
|
|
6137
|
+
|
|
6138
|
+
$$self.$$set = $$props => {
|
|
6139
|
+
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
|
6140
|
+
if ('value' in $$props) $$invalidate(1, value = $$props.value);
|
|
6141
|
+
if ('label' in $$props) $$invalidate(2, label = $$props.label);
|
|
6142
|
+
};
|
|
6143
|
+
|
|
6144
|
+
$$self.$$.update = () => {
|
|
6145
|
+
if ($$self.$$.dirty &
|
|
6146
|
+
/*isBound, name, ctx, label, value*/
|
|
6147
|
+
31) {
|
|
6148
|
+
{
|
|
6149
|
+
(async () => {
|
|
6150
|
+
await tick();
|
|
6151
|
+
|
|
6152
|
+
if (!isBound) {
|
|
6153
|
+
$$invalidate(4, isBound = true);
|
|
6154
|
+
$$invalidate(3, ctx = getContext(name));
|
|
6155
|
+
ctx.notify({
|
|
6156
|
+
type: "bind",
|
|
6157
|
+
name,
|
|
6158
|
+
label,
|
|
6159
|
+
value
|
|
6160
|
+
});
|
|
6161
|
+
}
|
|
6162
|
+
})();
|
|
6163
|
+
}
|
|
6164
|
+
}
|
|
6165
|
+
};
|
|
6166
|
+
|
|
6167
|
+
return [name, value, label, ctx, isBound];
|
|
6168
|
+
}
|
|
6169
|
+
|
|
6170
|
+
class DropdownItem extends SvelteElement {
|
|
6171
|
+
constructor(options) {
|
|
6172
|
+
super();
|
|
6173
|
+
init(this, {
|
|
6174
|
+
target: this.shadowRoot,
|
|
6175
|
+
props: attribute_to_object(this.attributes),
|
|
6176
|
+
customElement: true
|
|
6177
|
+
}, instance$o, create_fragment$q, safe_not_equal, {
|
|
6178
|
+
name: 0,
|
|
6179
|
+
value: 1,
|
|
6180
|
+
label: 2
|
|
6181
|
+
}, null);
|
|
6182
|
+
|
|
6183
|
+
if (options) {
|
|
6184
|
+
if (options.target) {
|
|
6185
|
+
insert(options.target, this, options.anchor);
|
|
6186
|
+
}
|
|
6187
|
+
|
|
6188
|
+
if (options.props) {
|
|
6189
|
+
this.$set(options.props);
|
|
6190
|
+
flush();
|
|
6191
|
+
}
|
|
6192
|
+
}
|
|
6193
|
+
}
|
|
6194
|
+
|
|
6195
|
+
static get observedAttributes() {
|
|
6196
|
+
return ["name", "value", "label"];
|
|
6197
|
+
}
|
|
6198
|
+
|
|
6199
|
+
get name() {
|
|
6200
|
+
return this.$$.ctx[0];
|
|
6201
|
+
}
|
|
6202
|
+
|
|
6203
|
+
set name(name) {
|
|
6204
|
+
this.$$set({
|
|
6205
|
+
name
|
|
6206
|
+
});
|
|
6207
|
+
flush();
|
|
6208
|
+
}
|
|
6209
|
+
|
|
6210
|
+
get value() {
|
|
6211
|
+
return this.$$.ctx[1];
|
|
6212
|
+
}
|
|
6213
|
+
|
|
6214
|
+
set value(value) {
|
|
6215
|
+
this.$$set({
|
|
6216
|
+
value
|
|
6217
|
+
});
|
|
6218
|
+
flush();
|
|
6219
|
+
}
|
|
6220
|
+
|
|
6221
|
+
get label() {
|
|
6222
|
+
return this.$$.ctx[2];
|
|
6223
|
+
}
|
|
6224
|
+
|
|
6225
|
+
set label(label) {
|
|
6226
|
+
this.$$set({
|
|
6227
|
+
label
|
|
6228
|
+
});
|
|
6229
|
+
flush();
|
|
6230
|
+
}
|
|
6231
|
+
|
|
6232
|
+
}
|
|
6233
|
+
|
|
6234
|
+
customElements.define("goa-dropdown-item", DropdownItem);
|
|
6235
|
+
/* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.51.0 */
|
|
6236
|
+
|
|
6237
|
+
function get_each_context_1(ctx, list, i) {
|
|
6238
|
+
const child_ctx = ctx.slice();
|
|
6239
|
+
child_ctx[47] = list[i];
|
|
6113
6240
|
child_ctx[51] = i;
|
|
6114
6241
|
return child_ctx;
|
|
6115
6242
|
}
|
|
@@ -7398,205 +7525,78 @@ class Dropdown extends SvelteElement {
|
|
|
7398
7525
|
}
|
|
7399
7526
|
|
|
7400
7527
|
customElements.define("goa-dropdown", Dropdown);
|
|
7401
|
-
/* libs/web-components/src/components/
|
|
7528
|
+
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7402
7529
|
|
|
7403
7530
|
function create_fragment$o(ctx) {
|
|
7531
|
+
let div;
|
|
7404
7532
|
return {
|
|
7405
7533
|
c() {
|
|
7534
|
+
div = element("div");
|
|
7535
|
+
div.innerHTML = `<slot></slot>
|
|
7536
|
+
|
|
7537
|
+
<span tabindex="0"></span>`;
|
|
7406
7538
|
this.c = noop;
|
|
7539
|
+
attr(div, "id", "root");
|
|
7540
|
+
},
|
|
7541
|
+
|
|
7542
|
+
m(target, anchor) {
|
|
7543
|
+
insert(target, div, anchor);
|
|
7544
|
+
/*div_binding*/
|
|
7545
|
+
|
|
7546
|
+
ctx[4](div);
|
|
7407
7547
|
},
|
|
7408
7548
|
|
|
7409
|
-
m: noop,
|
|
7410
7549
|
p: noop,
|
|
7411
7550
|
i: noop,
|
|
7412
7551
|
o: noop,
|
|
7413
|
-
d: noop
|
|
7414
|
-
};
|
|
7415
|
-
}
|
|
7416
|
-
|
|
7417
|
-
function instance$m($$self, $$props, $$invalidate) {
|
|
7418
|
-
let {
|
|
7419
|
-
name = ""
|
|
7420
|
-
} = $$props;
|
|
7421
|
-
let {
|
|
7422
|
-
value = ""
|
|
7423
|
-
} = $$props;
|
|
7424
|
-
let {
|
|
7425
|
-
label = ""
|
|
7426
|
-
} = $$props; // private
|
|
7427
7552
|
|
|
7428
|
-
|
|
7429
|
-
|
|
7430
|
-
|
|
7431
|
-
$$self.$$set = $$props => {
|
|
7432
|
-
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
|
7433
|
-
if ('value' in $$props) $$invalidate(1, value = $$props.value);
|
|
7434
|
-
if ('label' in $$props) $$invalidate(2, label = $$props.label);
|
|
7435
|
-
};
|
|
7436
|
-
|
|
7437
|
-
$$self.$$.update = () => {
|
|
7438
|
-
if ($$self.$$.dirty &
|
|
7439
|
-
/*isBound, name, ctx, label, value*/
|
|
7440
|
-
31) {
|
|
7441
|
-
{
|
|
7442
|
-
(async () => {
|
|
7443
|
-
await tick();
|
|
7553
|
+
d(detaching) {
|
|
7554
|
+
if (detaching) detach(div);
|
|
7555
|
+
/*div_binding*/
|
|
7444
7556
|
|
|
7445
|
-
|
|
7446
|
-
$$invalidate(4, isBound = true);
|
|
7447
|
-
$$invalidate(3, ctx = getContext(name));
|
|
7448
|
-
ctx.notify({
|
|
7449
|
-
type: "bind",
|
|
7450
|
-
name,
|
|
7451
|
-
label,
|
|
7452
|
-
value
|
|
7453
|
-
});
|
|
7454
|
-
}
|
|
7455
|
-
})();
|
|
7456
|
-
}
|
|
7557
|
+
ctx[4](null);
|
|
7457
7558
|
}
|
|
7458
|
-
};
|
|
7459
7559
|
|
|
7460
|
-
|
|
7560
|
+
};
|
|
7461
7561
|
}
|
|
7462
7562
|
|
|
7463
|
-
|
|
7464
|
-
|
|
7465
|
-
|
|
7466
|
-
|
|
7467
|
-
target: this.shadowRoot,
|
|
7468
|
-
props: attribute_to_object(this.attributes),
|
|
7469
|
-
customElement: true
|
|
7470
|
-
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7471
|
-
name: 0,
|
|
7472
|
-
value: 1,
|
|
7473
|
-
label: 2
|
|
7474
|
-
}, null);
|
|
7563
|
+
function isFocusable(element) {
|
|
7564
|
+
const isTabbable = element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null;
|
|
7565
|
+
if (isTabbable) return true;
|
|
7566
|
+
if (element["disabled"]) return false;
|
|
7475
7567
|
|
|
7476
|
-
|
|
7477
|
-
|
|
7478
|
-
|
|
7568
|
+
switch (element.nodeName) {
|
|
7569
|
+
case 'A':
|
|
7570
|
+
{
|
|
7571
|
+
const el = element;
|
|
7572
|
+
return !!el.href && el.rel !== 'ignore';
|
|
7479
7573
|
}
|
|
7480
7574
|
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7575
|
+
case 'INPUT':
|
|
7576
|
+
{
|
|
7577
|
+
const el = element;
|
|
7578
|
+
return el.type !== 'hidden' && el.type !== 'file';
|
|
7484
7579
|
}
|
|
7485
|
-
}
|
|
7486
|
-
}
|
|
7487
7580
|
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7581
|
+
case 'BUTTON':
|
|
7582
|
+
case 'SELECT':
|
|
7583
|
+
case 'TEXTAREA':
|
|
7584
|
+
return true;
|
|
7491
7585
|
|
|
7492
|
-
|
|
7493
|
-
|
|
7586
|
+
default:
|
|
7587
|
+
return false;
|
|
7494
7588
|
}
|
|
7589
|
+
}
|
|
7495
7590
|
|
|
7496
|
-
|
|
7497
|
-
|
|
7498
|
-
|
|
7499
|
-
|
|
7500
|
-
|
|
7501
|
-
|
|
7502
|
-
|
|
7503
|
-
|
|
7504
|
-
|
|
7505
|
-
}
|
|
7506
|
-
|
|
7507
|
-
set value(value) {
|
|
7508
|
-
this.$$set({
|
|
7509
|
-
value
|
|
7510
|
-
});
|
|
7511
|
-
flush();
|
|
7512
|
-
}
|
|
7513
|
-
|
|
7514
|
-
get label() {
|
|
7515
|
-
return this.$$.ctx[2];
|
|
7516
|
-
}
|
|
7517
|
-
|
|
7518
|
-
set label(label) {
|
|
7519
|
-
this.$$set({
|
|
7520
|
-
label
|
|
7521
|
-
});
|
|
7522
|
-
flush();
|
|
7523
|
-
}
|
|
7524
|
-
|
|
7525
|
-
}
|
|
7526
|
-
|
|
7527
|
-
customElements.define("goa-dropdown-item", DropdownItem);
|
|
7528
|
-
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7529
|
-
|
|
7530
|
-
function create_fragment$n(ctx) {
|
|
7531
|
-
let div;
|
|
7532
|
-
return {
|
|
7533
|
-
c() {
|
|
7534
|
-
div = element("div");
|
|
7535
|
-
div.innerHTML = `<slot></slot>
|
|
7536
|
-
|
|
7537
|
-
<span tabindex="0"></span>`;
|
|
7538
|
-
this.c = noop;
|
|
7539
|
-
attr(div, "id", "root");
|
|
7540
|
-
},
|
|
7541
|
-
|
|
7542
|
-
m(target, anchor) {
|
|
7543
|
-
insert(target, div, anchor);
|
|
7544
|
-
/*div_binding*/
|
|
7545
|
-
|
|
7546
|
-
ctx[4](div);
|
|
7547
|
-
},
|
|
7548
|
-
|
|
7549
|
-
p: noop,
|
|
7550
|
-
i: noop,
|
|
7551
|
-
o: noop,
|
|
7552
|
-
|
|
7553
|
-
d(detaching) {
|
|
7554
|
-
if (detaching) detach(div);
|
|
7555
|
-
/*div_binding*/
|
|
7556
|
-
|
|
7557
|
-
ctx[4](null);
|
|
7558
|
-
}
|
|
7559
|
-
|
|
7560
|
-
};
|
|
7561
|
-
}
|
|
7562
|
-
|
|
7563
|
-
function isFocusable(element) {
|
|
7564
|
-
const isTabbable = element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null;
|
|
7565
|
-
if (isTabbable) return true;
|
|
7566
|
-
if (element["disabled"]) return false;
|
|
7567
|
-
|
|
7568
|
-
switch (element.nodeName) {
|
|
7569
|
-
case 'A':
|
|
7570
|
-
{
|
|
7571
|
-
const el = element;
|
|
7572
|
-
return !!el.href && el.rel !== 'ignore';
|
|
7573
|
-
}
|
|
7574
|
-
|
|
7575
|
-
case 'INPUT':
|
|
7576
|
-
{
|
|
7577
|
-
const el = element;
|
|
7578
|
-
return el.type !== 'hidden' && el.type !== 'file';
|
|
7579
|
-
}
|
|
7580
|
-
|
|
7581
|
-
case 'BUTTON':
|
|
7582
|
-
case 'SELECT':
|
|
7583
|
-
case 'TEXTAREA':
|
|
7584
|
-
return true;
|
|
7585
|
-
|
|
7586
|
-
default:
|
|
7587
|
-
return false;
|
|
7588
|
-
}
|
|
7589
|
-
}
|
|
7590
|
-
|
|
7591
|
-
function instance$l($$self, $$props, $$invalidate) {
|
|
7592
|
-
let isActive;
|
|
7593
|
-
let {
|
|
7594
|
-
active
|
|
7595
|
-
} = $$props;
|
|
7596
|
-
let ignoreFocusChanges = false;
|
|
7597
|
-
let lastFocus;
|
|
7598
|
-
let element;
|
|
7599
|
-
let hasListeners = false;
|
|
7591
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
7592
|
+
let isActive;
|
|
7593
|
+
let {
|
|
7594
|
+
active
|
|
7595
|
+
} = $$props;
|
|
7596
|
+
let ignoreFocusChanges = false;
|
|
7597
|
+
let lastFocus;
|
|
7598
|
+
let element;
|
|
7599
|
+
let hasListeners = false;
|
|
7600
7600
|
|
|
7601
7601
|
function removeListeners() {
|
|
7602
7602
|
document.removeEventListener('focus', trapFocus, true);
|
|
@@ -7757,7 +7757,7 @@ class FocusTrap extends SvelteElement {
|
|
|
7757
7757
|
target: this.shadowRoot,
|
|
7758
7758
|
props: attribute_to_object(this.attributes),
|
|
7759
7759
|
customElement: true
|
|
7760
|
-
}, instance$
|
|
7760
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7761
7761
|
active: 1
|
|
7762
7762
|
}, null);
|
|
7763
7763
|
|
|
@@ -7791,133 +7791,151 @@ class FocusTrap extends SvelteElement {
|
|
|
7791
7791
|
}
|
|
7792
7792
|
|
|
7793
7793
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
7794
|
-
/* libs/web-components/src/components/footer
|
|
7795
|
-
|
|
7796
|
-
function get_each_context$3(ctx, list, i) {
|
|
7797
|
-
const child_ctx = ctx.slice();
|
|
7798
|
-
child_ctx[3] = list[i];
|
|
7799
|
-
return child_ctx;
|
|
7800
|
-
} // (52:4) {#each children as child}
|
|
7801
|
-
|
|
7794
|
+
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
7802
7795
|
|
|
7803
|
-
function
|
|
7804
|
-
let
|
|
7805
|
-
let a;
|
|
7806
|
-
let t_value =
|
|
7807
|
-
/*child*/
|
|
7808
|
-
ctx[3].innerHTML + "";
|
|
7809
|
-
let t;
|
|
7810
|
-
let a_href_value;
|
|
7796
|
+
function create_if_block$9(ctx) {
|
|
7797
|
+
let goa_divider;
|
|
7811
7798
|
return {
|
|
7812
7799
|
c() {
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
t = text(t_value);
|
|
7816
|
-
attr(a, "href", a_href_value =
|
|
7817
|
-
/*child*/
|
|
7818
|
-
ctx[3].href);
|
|
7800
|
+
goa_divider = element("goa-divider");
|
|
7801
|
+
set_custom_element_data(goa_divider, "spacing", "small");
|
|
7819
7802
|
},
|
|
7820
7803
|
|
|
7821
7804
|
m(target, anchor) {
|
|
7822
|
-
insert(target,
|
|
7823
|
-
append(li, a);
|
|
7824
|
-
append(a, t);
|
|
7825
|
-
},
|
|
7826
|
-
|
|
7827
|
-
p(ctx, dirty) {
|
|
7828
|
-
if (dirty &
|
|
7829
|
-
/*children*/
|
|
7830
|
-
2 && t_value !== (t_value =
|
|
7831
|
-
/*child*/
|
|
7832
|
-
ctx[3].innerHTML + "")) set_data(t, t_value);
|
|
7833
|
-
|
|
7834
|
-
if (dirty &
|
|
7835
|
-
/*children*/
|
|
7836
|
-
2 && a_href_value !== (a_href_value =
|
|
7837
|
-
/*child*/
|
|
7838
|
-
ctx[3].href)) {
|
|
7839
|
-
attr(a, "href", a_href_value);
|
|
7840
|
-
}
|
|
7805
|
+
insert(target, goa_divider, anchor);
|
|
7841
7806
|
},
|
|
7842
7807
|
|
|
7843
7808
|
d(detaching) {
|
|
7844
|
-
if (detaching) detach(
|
|
7809
|
+
if (detaching) detach(goa_divider);
|
|
7845
7810
|
}
|
|
7846
7811
|
|
|
7847
7812
|
};
|
|
7848
7813
|
}
|
|
7849
7814
|
|
|
7850
|
-
function create_fragment$
|
|
7851
|
-
|
|
7852
|
-
let div;
|
|
7853
|
-
let t;
|
|
7854
|
-
let ul;
|
|
7855
|
-
let each_value =
|
|
7856
|
-
/*children*/
|
|
7857
|
-
ctx[1];
|
|
7858
|
-
let each_blocks = [];
|
|
7859
|
-
|
|
7860
|
-
for (let i = 0; i < each_value.length; i += 1) {
|
|
7861
|
-
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
7862
|
-
}
|
|
7815
|
+
function create_fragment$n(ctx) {
|
|
7816
|
+
var _ctx$;
|
|
7863
7817
|
|
|
7818
|
+
let div5;
|
|
7819
|
+
let div4;
|
|
7820
|
+
let div0;
|
|
7821
|
+
let t0;
|
|
7822
|
+
let t1;
|
|
7823
|
+
let div3;
|
|
7824
|
+
let div1;
|
|
7825
|
+
let t2;
|
|
7826
|
+
let div2;
|
|
7827
|
+
let a0;
|
|
7828
|
+
let t3;
|
|
7829
|
+
let a1;
|
|
7830
|
+
let div5_style_value;
|
|
7831
|
+
let if_block =
|
|
7832
|
+
/*navLinks*/
|
|
7833
|
+
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$9();
|
|
7864
7834
|
return {
|
|
7865
7835
|
c() {
|
|
7866
|
-
|
|
7867
|
-
div = element("div");
|
|
7868
|
-
div.innerHTML = `<slot></slot>`;
|
|
7869
|
-
t = space();
|
|
7870
|
-
ul = element("ul");
|
|
7871
|
-
|
|
7872
|
-
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
7873
|
-
each_blocks[i].c();
|
|
7874
|
-
}
|
|
7836
|
+
var _ctx$2, _ctx$3;
|
|
7875
7837
|
|
|
7838
|
+
div5 = element("div");
|
|
7839
|
+
div4 = element("div");
|
|
7840
|
+
div0 = element("div");
|
|
7841
|
+
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
7842
|
+
t0 = space();
|
|
7843
|
+
if (if_block) if_block.c();
|
|
7844
|
+
t1 = space();
|
|
7845
|
+
div3 = element("div");
|
|
7846
|
+
div1 = element("div");
|
|
7847
|
+
div1.innerHTML = `<slot name="meta"></slot>`;
|
|
7848
|
+
t2 = space();
|
|
7849
|
+
div2 = element("div");
|
|
7850
|
+
a0 = element("a");
|
|
7851
|
+
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"/>`;
|
|
7852
|
+
t3 = space();
|
|
7853
|
+
a1 = element("a");
|
|
7854
|
+
a1.textContent = `© ${
|
|
7855
|
+
/*year*/
|
|
7856
|
+
ctx[4]} Government of Alberta`;
|
|
7876
7857
|
this.c = noop;
|
|
7877
|
-
attr(
|
|
7858
|
+
attr(div0, "class", "nav-links");
|
|
7859
|
+
attr(div1, "class", "meta-links");
|
|
7860
|
+
attr(a0, "href", "https://alberta.ca");
|
|
7861
|
+
attr(a1, "href", "https://alberta.ca");
|
|
7862
|
+
attr(a1, "class", "goa-copyright");
|
|
7863
|
+
attr(div2, "class", "abgov");
|
|
7864
|
+
toggle_class(div2, "with-meta-links",
|
|
7865
|
+
/*metaLinks*/
|
|
7866
|
+
(_ctx$2 = ctx[3]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
|
|
7867
|
+
attr(div3, "class", "meta-section");
|
|
7868
|
+
toggle_class(div3, "with-meta-links",
|
|
7869
|
+
/*metaLinks*/
|
|
7870
|
+
(_ctx$3 = ctx[3]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
|
|
7871
|
+
attr(div4, "class", "content");
|
|
7872
|
+
attr(div5, "class", "app-footer");
|
|
7873
|
+
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
7874
|
+
/*maxcontentwidth*/
|
|
7875
|
+
ctx[0] || "100%"}`);
|
|
7878
7876
|
},
|
|
7879
7877
|
|
|
7880
7878
|
m(target, anchor) {
|
|
7881
|
-
insert(target,
|
|
7882
|
-
append(
|
|
7883
|
-
append(
|
|
7884
|
-
append(
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7879
|
+
insert(target, div5, anchor);
|
|
7880
|
+
append(div5, div4);
|
|
7881
|
+
append(div4, div0);
|
|
7882
|
+
append(div4, t0);
|
|
7883
|
+
if (if_block) if_block.m(div4, null);
|
|
7884
|
+
append(div4, t1);
|
|
7885
|
+
append(div4, div3);
|
|
7886
|
+
append(div3, div1);
|
|
7887
|
+
append(div3, t2);
|
|
7888
|
+
append(div3, div2);
|
|
7889
|
+
append(div2, a0);
|
|
7890
|
+
append(div2, t3);
|
|
7891
|
+
append(div2, a1);
|
|
7892
|
+
/*div5_binding*/
|
|
7891
7893
|
|
|
7892
|
-
ctx[
|
|
7894
|
+
ctx[5](div5);
|
|
7893
7895
|
},
|
|
7894
7896
|
|
|
7895
7897
|
p(ctx, [dirty]) {
|
|
7896
|
-
|
|
7897
|
-
/*children*/
|
|
7898
|
-
2) {
|
|
7899
|
-
each_value =
|
|
7900
|
-
/*children*/
|
|
7901
|
-
ctx[1];
|
|
7902
|
-
let i;
|
|
7903
|
-
|
|
7904
|
-
for (i = 0; i < each_value.length; i += 1) {
|
|
7905
|
-
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
7898
|
+
var _ctx$4;
|
|
7906
7899
|
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
|
|
7912
|
-
|
|
7913
|
-
|
|
7900
|
+
if (
|
|
7901
|
+
/*navLinks*/
|
|
7902
|
+
(_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
|
|
7903
|
+
if (if_block) ;else {
|
|
7904
|
+
if_block = create_if_block$9();
|
|
7905
|
+
if_block.c();
|
|
7906
|
+
if_block.m(div4, t1);
|
|
7914
7907
|
}
|
|
7908
|
+
} else if (if_block) {
|
|
7909
|
+
if_block.d(1);
|
|
7910
|
+
if_block = null;
|
|
7911
|
+
}
|
|
7915
7912
|
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7913
|
+
if (dirty &
|
|
7914
|
+
/*metaLinks*/
|
|
7915
|
+
8) {
|
|
7916
|
+
var _ctx$5;
|
|
7919
7917
|
|
|
7920
|
-
|
|
7918
|
+
toggle_class(div2, "with-meta-links",
|
|
7919
|
+
/*metaLinks*/
|
|
7920
|
+
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
7921
|
+
}
|
|
7922
|
+
|
|
7923
|
+
if (dirty &
|
|
7924
|
+
/*metaLinks*/
|
|
7925
|
+
8) {
|
|
7926
|
+
var _ctx$6;
|
|
7927
|
+
|
|
7928
|
+
toggle_class(div3, "with-meta-links",
|
|
7929
|
+
/*metaLinks*/
|
|
7930
|
+
(_ctx$6 = ctx[3]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
|
|
7931
|
+
}
|
|
7932
|
+
|
|
7933
|
+
if (dirty &
|
|
7934
|
+
/*maxcontentwidth*/
|
|
7935
|
+
1 && div5_style_value !== (div5_style_value = `--max-content-width: ${
|
|
7936
|
+
/*maxcontentwidth*/
|
|
7937
|
+
ctx[0] || "100%"}`)) {
|
|
7938
|
+
attr(div5, "style", div5_style_value);
|
|
7921
7939
|
}
|
|
7922
7940
|
},
|
|
7923
7941
|
|
|
@@ -7925,120 +7943,103 @@ function create_fragment$m(ctx) {
|
|
|
7925
7943
|
o: noop,
|
|
7926
7944
|
|
|
7927
7945
|
d(detaching) {
|
|
7928
|
-
if (detaching) detach(
|
|
7929
|
-
|
|
7930
|
-
/*
|
|
7946
|
+
if (detaching) detach(div5);
|
|
7947
|
+
if (if_block) if_block.d();
|
|
7948
|
+
/*div5_binding*/
|
|
7931
7949
|
|
|
7932
|
-
ctx[
|
|
7950
|
+
ctx[5](null);
|
|
7933
7951
|
}
|
|
7934
7952
|
|
|
7935
7953
|
};
|
|
7936
7954
|
}
|
|
7937
7955
|
|
|
7938
|
-
function instance$
|
|
7956
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
7957
|
+
let {
|
|
7958
|
+
maxcontentwidth = ""
|
|
7959
|
+
} = $$props;
|
|
7939
7960
|
let rootEl;
|
|
7940
|
-
let
|
|
7961
|
+
let navLinks;
|
|
7962
|
+
let metaLinks;
|
|
7963
|
+
const year = new Date().getFullYear();
|
|
7941
7964
|
onMount(async () => {
|
|
7942
7965
|
await tick();
|
|
7943
|
-
|
|
7944
|
-
const
|
|
7945
|
-
|
|
7946
|
-
|
|
7947
|
-
|
|
7948
|
-
if (!isValid) {
|
|
7949
|
-
$$invalidate(1, children = []);
|
|
7950
|
-
console.warn("GoAFooterMetaSection children must be anchor elements.");
|
|
7951
|
-
return;
|
|
7952
|
-
}
|
|
7966
|
+
const navSlot = rootEl.querySelector("slot[name=nav]");
|
|
7967
|
+
const metaSlot = rootEl.querySelector("slot[name=meta]");
|
|
7968
|
+
$$invalidate(2, navLinks = navSlot.assignedElements());
|
|
7969
|
+
$$invalidate(3, metaLinks = metaSlot.assignedElements());
|
|
7953
7970
|
});
|
|
7954
7971
|
|
|
7955
|
-
function
|
|
7972
|
+
function div5_binding($$value) {
|
|
7956
7973
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
7957
7974
|
rootEl = $$value;
|
|
7958
|
-
$$invalidate(
|
|
7975
|
+
$$invalidate(1, rootEl);
|
|
7959
7976
|
});
|
|
7960
7977
|
}
|
|
7961
7978
|
|
|
7962
|
-
|
|
7979
|
+
$$self.$$set = $$props => {
|
|
7980
|
+
if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
|
|
7981
|
+
};
|
|
7982
|
+
|
|
7983
|
+
return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
|
|
7963
7984
|
}
|
|
7964
7985
|
|
|
7965
|
-
class
|
|
7986
|
+
class Footer extends SvelteElement {
|
|
7966
7987
|
constructor(options) {
|
|
7967
7988
|
super();
|
|
7968
|
-
this.shadowRoot.innerHTML = `<style
|
|
7989
|
+
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>`;
|
|
7969
7990
|
init(this, {
|
|
7970
7991
|
target: this.shadowRoot,
|
|
7971
7992
|
props: attribute_to_object(this.attributes),
|
|
7972
7993
|
customElement: true
|
|
7973
|
-
}, instance$
|
|
7994
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
7995
|
+
maxcontentwidth: 0
|
|
7996
|
+
}, null);
|
|
7974
7997
|
|
|
7975
7998
|
if (options) {
|
|
7976
7999
|
if (options.target) {
|
|
7977
8000
|
insert(options.target, this, options.anchor);
|
|
7978
8001
|
}
|
|
8002
|
+
|
|
8003
|
+
if (options.props) {
|
|
8004
|
+
this.$set(options.props);
|
|
8005
|
+
flush();
|
|
8006
|
+
}
|
|
7979
8007
|
}
|
|
7980
8008
|
}
|
|
7981
8009
|
|
|
7982
|
-
|
|
7983
|
-
|
|
7984
|
-
|
|
7985
|
-
/* libs/web-components/src/components/footer-nav-section/FooterNavSection.svelte generated by Svelte v3.51.0 */
|
|
7986
|
-
|
|
7987
|
-
function get_each_context$2(ctx, list, i) {
|
|
7988
|
-
const child_ctx = ctx.slice();
|
|
7989
|
-
child_ctx[5] = list[i];
|
|
7990
|
-
return child_ctx;
|
|
7991
|
-
} // (31:2) {#if heading}
|
|
7992
|
-
|
|
8010
|
+
static get observedAttributes() {
|
|
8011
|
+
return ["maxcontentwidth"];
|
|
8012
|
+
}
|
|
7993
8013
|
|
|
7994
|
-
|
|
7995
|
-
|
|
7996
|
-
|
|
7997
|
-
let t1;
|
|
7998
|
-
let goa_divider;
|
|
7999
|
-
return {
|
|
8000
|
-
c() {
|
|
8001
|
-
div = element("div");
|
|
8002
|
-
t0 = text(
|
|
8003
|
-
/*heading*/
|
|
8004
|
-
ctx[0]);
|
|
8005
|
-
t1 = space();
|
|
8006
|
-
goa_divider = element("goa-divider");
|
|
8007
|
-
attr(div, "class", "title");
|
|
8008
|
-
set_custom_element_data(goa_divider, "spacing", "small");
|
|
8009
|
-
},
|
|
8014
|
+
get maxcontentwidth() {
|
|
8015
|
+
return this.$$.ctx[0];
|
|
8016
|
+
}
|
|
8010
8017
|
|
|
8011
|
-
|
|
8012
|
-
|
|
8013
|
-
|
|
8014
|
-
|
|
8015
|
-
|
|
8016
|
-
|
|
8018
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
8019
|
+
this.$$set({
|
|
8020
|
+
maxcontentwidth
|
|
8021
|
+
});
|
|
8022
|
+
flush();
|
|
8023
|
+
}
|
|
8017
8024
|
|
|
8018
|
-
|
|
8019
|
-
if (dirty &
|
|
8020
|
-
/*heading*/
|
|
8021
|
-
1) set_data(t0,
|
|
8022
|
-
/*heading*/
|
|
8023
|
-
ctx[0]);
|
|
8024
|
-
},
|
|
8025
|
+
}
|
|
8025
8026
|
|
|
8026
|
-
|
|
8027
|
-
|
|
8028
|
-
if (detaching) detach(t1);
|
|
8029
|
-
if (detaching) detach(goa_divider);
|
|
8030
|
-
}
|
|
8027
|
+
customElements.define("goa-app-footer", Footer);
|
|
8028
|
+
/* libs/web-components/src/components/footer-meta-section/FooterMetaSection.svelte generated by Svelte v3.51.0 */
|
|
8031
8029
|
|
|
8032
|
-
|
|
8033
|
-
|
|
8030
|
+
function get_each_context$3(ctx, list, i) {
|
|
8031
|
+
const child_ctx = ctx.slice();
|
|
8032
|
+
child_ctx[3] = list[i];
|
|
8033
|
+
return child_ctx;
|
|
8034
|
+
} // (52:4) {#each children as child}
|
|
8034
8035
|
|
|
8035
8036
|
|
|
8036
|
-
function create_each_block$
|
|
8037
|
+
function create_each_block$3(ctx) {
|
|
8037
8038
|
let li;
|
|
8038
8039
|
let a;
|
|
8039
8040
|
let t_value =
|
|
8040
8041
|
/*child*/
|
|
8041
|
-
ctx[
|
|
8042
|
+
ctx[3].innerHTML + "";
|
|
8042
8043
|
let t;
|
|
8043
8044
|
let a_href_value;
|
|
8044
8045
|
return {
|
|
@@ -8048,7 +8049,7 @@ function create_each_block$2(ctx) {
|
|
|
8048
8049
|
t = text(t_value);
|
|
8049
8050
|
attr(a, "href", a_href_value =
|
|
8050
8051
|
/*child*/
|
|
8051
|
-
ctx[
|
|
8052
|
+
ctx[3].href);
|
|
8052
8053
|
},
|
|
8053
8054
|
|
|
8054
8055
|
m(target, anchor) {
|
|
@@ -8060,15 +8061,15 @@ function create_each_block$2(ctx) {
|
|
|
8060
8061
|
p(ctx, dirty) {
|
|
8061
8062
|
if (dirty &
|
|
8062
8063
|
/*children*/
|
|
8063
|
-
|
|
8064
|
+
2 && t_value !== (t_value =
|
|
8064
8065
|
/*child*/
|
|
8065
|
-
ctx[
|
|
8066
|
+
ctx[3].innerHTML + "")) set_data(t, t_value);
|
|
8066
8067
|
|
|
8067
8068
|
if (dirty &
|
|
8068
8069
|
/*children*/
|
|
8069
|
-
|
|
8070
|
+
2 && a_href_value !== (a_href_value =
|
|
8070
8071
|
/*child*/
|
|
8071
|
-
ctx[
|
|
8072
|
+
ctx[3].href)) {
|
|
8072
8073
|
attr(a, "href", a_href_value);
|
|
8073
8074
|
}
|
|
8074
8075
|
},
|
|
@@ -8080,33 +8081,26 @@ function create_each_block$2(ctx) {
|
|
|
8080
8081
|
};
|
|
8081
8082
|
}
|
|
8082
8083
|
|
|
8083
|
-
function create_fragment$
|
|
8084
|
+
function create_fragment$m(ctx) {
|
|
8084
8085
|
let section;
|
|
8085
|
-
let t0;
|
|
8086
8086
|
let div;
|
|
8087
|
-
let
|
|
8087
|
+
let t;
|
|
8088
8088
|
let ul;
|
|
8089
|
-
let ul_style_value;
|
|
8090
|
-
let if_block =
|
|
8091
|
-
/*heading*/
|
|
8092
|
-
ctx[0] && create_if_block$9(ctx);
|
|
8093
8089
|
let each_value =
|
|
8094
8090
|
/*children*/
|
|
8095
|
-
ctx[
|
|
8091
|
+
ctx[1];
|
|
8096
8092
|
let each_blocks = [];
|
|
8097
8093
|
|
|
8098
8094
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
8099
|
-
each_blocks[i] = create_each_block$
|
|
8095
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
8100
8096
|
}
|
|
8101
8097
|
|
|
8102
8098
|
return {
|
|
8103
8099
|
c() {
|
|
8104
8100
|
section = element("section");
|
|
8105
|
-
if (if_block) if_block.c();
|
|
8106
|
-
t0 = space();
|
|
8107
8101
|
div = element("div");
|
|
8108
8102
|
div.innerHTML = `<slot></slot>`;
|
|
8109
|
-
|
|
8103
|
+
t = space();
|
|
8110
8104
|
ul = element("ul");
|
|
8111
8105
|
|
|
8112
8106
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -8115,29 +8109,12 @@ function create_fragment$l(ctx) {
|
|
|
8115
8109
|
|
|
8116
8110
|
this.c = noop;
|
|
8117
8111
|
attr(div, "class", "hidden");
|
|
8118
|
-
attr(ul, "class", "links");
|
|
8119
|
-
attr(ul, "style", ul_style_value = `
|
|
8120
|
-
--narrow-display-type: ${Math.ceil(
|
|
8121
|
-
/*maxcolumncount*/
|
|
8122
|
-
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8123
|
-
--narrow-column-count: ${Math.ceil(
|
|
8124
|
-
/*maxcolumncount*/
|
|
8125
|
-
ctx[1] / 2)};
|
|
8126
|
-
--wide-display-type: ${
|
|
8127
|
-
/*maxcolumncount*/
|
|
8128
|
-
ctx[1] > 1 ? "block" : "flex"};
|
|
8129
|
-
--wide-column-count: ${
|
|
8130
|
-
/*maxcolumncount*/
|
|
8131
|
-
ctx[1]};
|
|
8132
|
-
`);
|
|
8133
8112
|
},
|
|
8134
8113
|
|
|
8135
8114
|
m(target, anchor) {
|
|
8136
8115
|
insert(target, section, anchor);
|
|
8137
|
-
if (if_block) if_block.m(section, null);
|
|
8138
|
-
append(section, t0);
|
|
8139
8116
|
append(section, div);
|
|
8140
|
-
append(section,
|
|
8117
|
+
append(section, t);
|
|
8141
8118
|
append(section, ul);
|
|
8142
8119
|
|
|
8143
8120
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
@@ -8146,40 +8123,25 @@ function create_fragment$l(ctx) {
|
|
|
8146
8123
|
/*section_binding*/
|
|
8147
8124
|
|
|
8148
8125
|
|
|
8149
|
-
ctx[
|
|
8126
|
+
ctx[2](section);
|
|
8150
8127
|
},
|
|
8151
8128
|
|
|
8152
8129
|
p(ctx, [dirty]) {
|
|
8153
|
-
if (
|
|
8154
|
-
/*heading*/
|
|
8155
|
-
ctx[0]) {
|
|
8156
|
-
if (if_block) {
|
|
8157
|
-
if_block.p(ctx, dirty);
|
|
8158
|
-
} else {
|
|
8159
|
-
if_block = create_if_block$9(ctx);
|
|
8160
|
-
if_block.c();
|
|
8161
|
-
if_block.m(section, t0);
|
|
8162
|
-
}
|
|
8163
|
-
} else if (if_block) {
|
|
8164
|
-
if_block.d(1);
|
|
8165
|
-
if_block = null;
|
|
8166
|
-
}
|
|
8167
|
-
|
|
8168
8130
|
if (dirty &
|
|
8169
8131
|
/*children*/
|
|
8170
|
-
|
|
8132
|
+
2) {
|
|
8171
8133
|
each_value =
|
|
8172
8134
|
/*children*/
|
|
8173
|
-
ctx[
|
|
8135
|
+
ctx[1];
|
|
8174
8136
|
let i;
|
|
8175
8137
|
|
|
8176
8138
|
for (i = 0; i < each_value.length; i += 1) {
|
|
8177
|
-
const child_ctx = get_each_context$
|
|
8139
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
8178
8140
|
|
|
8179
8141
|
if (each_blocks[i]) {
|
|
8180
8142
|
each_blocks[i].p(child_ctx, dirty);
|
|
8181
8143
|
} else {
|
|
8182
|
-
each_blocks[i] = create_each_block$
|
|
8144
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
8183
8145
|
each_blocks[i].c();
|
|
8184
8146
|
each_blocks[i].m(ul, null);
|
|
8185
8147
|
}
|
|
@@ -8191,25 +8153,6 @@ function create_fragment$l(ctx) {
|
|
|
8191
8153
|
|
|
8192
8154
|
each_blocks.length = each_value.length;
|
|
8193
8155
|
}
|
|
8194
|
-
|
|
8195
|
-
if (dirty &
|
|
8196
|
-
/*maxcolumncount*/
|
|
8197
|
-
2 && ul_style_value !== (ul_style_value = `
|
|
8198
|
-
--narrow-display-type: ${Math.ceil(
|
|
8199
|
-
/*maxcolumncount*/
|
|
8200
|
-
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8201
|
-
--narrow-column-count: ${Math.ceil(
|
|
8202
|
-
/*maxcolumncount*/
|
|
8203
|
-
ctx[1] / 2)};
|
|
8204
|
-
--wide-display-type: ${
|
|
8205
|
-
/*maxcolumncount*/
|
|
8206
|
-
ctx[1] > 1 ? "block" : "flex"};
|
|
8207
|
-
--wide-column-count: ${
|
|
8208
|
-
/*maxcolumncount*/
|
|
8209
|
-
ctx[1]};
|
|
8210
|
-
`)) {
|
|
8211
|
-
attr(ul, "style", ul_style_value);
|
|
8212
|
-
}
|
|
8213
8156
|
},
|
|
8214
8157
|
|
|
8215
8158
|
i: noop,
|
|
@@ -8217,226 +8160,239 @@ function create_fragment$l(ctx) {
|
|
|
8217
8160
|
|
|
8218
8161
|
d(detaching) {
|
|
8219
8162
|
if (detaching) detach(section);
|
|
8220
|
-
if (if_block) if_block.d();
|
|
8221
8163
|
destroy_each(each_blocks, detaching);
|
|
8222
8164
|
/*section_binding*/
|
|
8223
8165
|
|
|
8224
|
-
ctx[
|
|
8166
|
+
ctx[2](null);
|
|
8225
8167
|
}
|
|
8226
8168
|
|
|
8227
8169
|
};
|
|
8228
8170
|
}
|
|
8229
8171
|
|
|
8230
|
-
function instance$
|
|
8231
|
-
let {
|
|
8232
|
-
heading = ""
|
|
8233
|
-
} = $$props;
|
|
8234
|
-
let {
|
|
8235
|
-
maxcolumncount = 1
|
|
8236
|
-
} = $$props;
|
|
8172
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
8237
8173
|
let rootEl;
|
|
8238
8174
|
let children = [];
|
|
8239
8175
|
onMount(async () => {
|
|
8240
|
-
await tick();
|
|
8241
|
-
|
|
8242
|
-
$$invalidate(3, children = rootEl.querySelector("slot").assignedElements());
|
|
8176
|
+
await tick();
|
|
8177
|
+
$$invalidate(1, children = rootEl.querySelector("slot").assignedElements());
|
|
8243
8178
|
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8244
8179
|
return sum && valid;
|
|
8245
8180
|
}, true);
|
|
8246
8181
|
|
|
8247
8182
|
if (!isValid) {
|
|
8248
|
-
$$invalidate(
|
|
8249
|
-
console.warn("
|
|
8183
|
+
$$invalidate(1, children = []);
|
|
8184
|
+
console.warn("GoAFooterMetaSection children must be anchor elements.");
|
|
8250
8185
|
return;
|
|
8251
8186
|
}
|
|
8252
|
-
|
|
8253
|
-
injectCss(rootEl, ":host", {
|
|
8254
|
-
"flex-grow": maxcolumncount
|
|
8255
|
-
});
|
|
8256
8187
|
});
|
|
8257
8188
|
|
|
8258
8189
|
function section_binding($$value) {
|
|
8259
8190
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8260
8191
|
rootEl = $$value;
|
|
8261
|
-
$$invalidate(
|
|
8192
|
+
$$invalidate(0, rootEl);
|
|
8262
8193
|
});
|
|
8263
8194
|
}
|
|
8264
8195
|
|
|
8265
|
-
|
|
8266
|
-
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
8267
|
-
if ('maxcolumncount' in $$props) $$invalidate(1, maxcolumncount = $$props.maxcolumncount);
|
|
8268
|
-
};
|
|
8269
|
-
|
|
8270
|
-
return [heading, maxcolumncount, rootEl, children, section_binding];
|
|
8196
|
+
return [rootEl, children, section_binding];
|
|
8271
8197
|
}
|
|
8272
8198
|
|
|
8273
|
-
class
|
|
8199
|
+
class FooterMetaSection extends SvelteElement {
|
|
8274
8200
|
constructor(options) {
|
|
8275
8201
|
super();
|
|
8276
|
-
this.shadowRoot.innerHTML = `<style
|
|
8202
|
+
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>`;
|
|
8277
8203
|
init(this, {
|
|
8278
8204
|
target: this.shadowRoot,
|
|
8279
8205
|
props: attribute_to_object(this.attributes),
|
|
8280
8206
|
customElement: true
|
|
8281
|
-
}, instance$
|
|
8282
|
-
heading: 0,
|
|
8283
|
-
maxcolumncount: 1
|
|
8284
|
-
}, null);
|
|
8207
|
+
}, instance$k, create_fragment$m, safe_not_equal, {}, null);
|
|
8285
8208
|
|
|
8286
8209
|
if (options) {
|
|
8287
8210
|
if (options.target) {
|
|
8288
8211
|
insert(options.target, this, options.anchor);
|
|
8289
8212
|
}
|
|
8290
|
-
|
|
8291
|
-
if (options.props) {
|
|
8292
|
-
this.$set(options.props);
|
|
8293
|
-
flush();
|
|
8294
|
-
}
|
|
8295
8213
|
}
|
|
8296
8214
|
}
|
|
8297
8215
|
|
|
8298
|
-
|
|
8299
|
-
return ["heading", "maxcolumncount"];
|
|
8300
|
-
}
|
|
8301
|
-
|
|
8302
|
-
get heading() {
|
|
8303
|
-
return this.$$.ctx[0];
|
|
8304
|
-
}
|
|
8305
|
-
|
|
8306
|
-
set heading(heading) {
|
|
8307
|
-
this.$$set({
|
|
8308
|
-
heading
|
|
8309
|
-
});
|
|
8310
|
-
flush();
|
|
8311
|
-
}
|
|
8312
|
-
|
|
8313
|
-
get maxcolumncount() {
|
|
8314
|
-
return this.$$.ctx[1];
|
|
8315
|
-
}
|
|
8216
|
+
}
|
|
8316
8217
|
|
|
8317
|
-
|
|
8318
|
-
|
|
8319
|
-
maxcolumncount
|
|
8320
|
-
});
|
|
8321
|
-
flush();
|
|
8322
|
-
}
|
|
8218
|
+
customElements.define("goa-app-footer-meta-section", FooterMetaSection);
|
|
8219
|
+
/* libs/web-components/src/components/footer-nav-section/FooterNavSection.svelte generated by Svelte v3.51.0 */
|
|
8323
8220
|
|
|
8324
|
-
|
|
8221
|
+
function get_each_context$2(ctx, list, i) {
|
|
8222
|
+
const child_ctx = ctx.slice();
|
|
8223
|
+
child_ctx[5] = list[i];
|
|
8224
|
+
return child_ctx;
|
|
8225
|
+
} // (31:2) {#if heading}
|
|
8325
8226
|
|
|
8326
|
-
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
8327
|
-
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8328
8227
|
|
|
8329
8228
|
function create_if_block$8(ctx) {
|
|
8229
|
+
let div;
|
|
8230
|
+
let t0;
|
|
8231
|
+
let t1;
|
|
8330
8232
|
let goa_divider;
|
|
8331
8233
|
return {
|
|
8332
8234
|
c() {
|
|
8235
|
+
div = element("div");
|
|
8236
|
+
t0 = text(
|
|
8237
|
+
/*heading*/
|
|
8238
|
+
ctx[0]);
|
|
8239
|
+
t1 = space();
|
|
8333
8240
|
goa_divider = element("goa-divider");
|
|
8241
|
+
attr(div, "class", "title");
|
|
8334
8242
|
set_custom_element_data(goa_divider, "spacing", "small");
|
|
8335
8243
|
},
|
|
8336
8244
|
|
|
8337
8245
|
m(target, anchor) {
|
|
8246
|
+
insert(target, div, anchor);
|
|
8247
|
+
append(div, t0);
|
|
8248
|
+
insert(target, t1, anchor);
|
|
8338
8249
|
insert(target, goa_divider, anchor);
|
|
8339
8250
|
},
|
|
8340
8251
|
|
|
8252
|
+
p(ctx, dirty) {
|
|
8253
|
+
if (dirty &
|
|
8254
|
+
/*heading*/
|
|
8255
|
+
1) set_data(t0,
|
|
8256
|
+
/*heading*/
|
|
8257
|
+
ctx[0]);
|
|
8258
|
+
},
|
|
8259
|
+
|
|
8341
8260
|
d(detaching) {
|
|
8261
|
+
if (detaching) detach(div);
|
|
8262
|
+
if (detaching) detach(t1);
|
|
8342
8263
|
if (detaching) detach(goa_divider);
|
|
8343
8264
|
}
|
|
8344
8265
|
|
|
8345
8266
|
};
|
|
8346
|
-
}
|
|
8267
|
+
} // (49:4) {#each children as child}
|
|
8347
8268
|
|
|
8348
|
-
function create_fragment$k(ctx) {
|
|
8349
|
-
var _ctx$;
|
|
8350
8269
|
|
|
8351
|
-
|
|
8352
|
-
let
|
|
8353
|
-
let
|
|
8270
|
+
function create_each_block$2(ctx) {
|
|
8271
|
+
let li;
|
|
8272
|
+
let a;
|
|
8273
|
+
let t_value =
|
|
8274
|
+
/*child*/
|
|
8275
|
+
ctx[5].innerHTML + "";
|
|
8276
|
+
let t;
|
|
8277
|
+
let a_href_value;
|
|
8278
|
+
return {
|
|
8279
|
+
c() {
|
|
8280
|
+
li = element("li");
|
|
8281
|
+
a = element("a");
|
|
8282
|
+
t = text(t_value);
|
|
8283
|
+
attr(a, "href", a_href_value =
|
|
8284
|
+
/*child*/
|
|
8285
|
+
ctx[5].href);
|
|
8286
|
+
},
|
|
8287
|
+
|
|
8288
|
+
m(target, anchor) {
|
|
8289
|
+
insert(target, li, anchor);
|
|
8290
|
+
append(li, a);
|
|
8291
|
+
append(a, t);
|
|
8292
|
+
},
|
|
8293
|
+
|
|
8294
|
+
p(ctx, dirty) {
|
|
8295
|
+
if (dirty &
|
|
8296
|
+
/*children*/
|
|
8297
|
+
8 && t_value !== (t_value =
|
|
8298
|
+
/*child*/
|
|
8299
|
+
ctx[5].innerHTML + "")) set_data(t, t_value);
|
|
8300
|
+
|
|
8301
|
+
if (dirty &
|
|
8302
|
+
/*children*/
|
|
8303
|
+
8 && a_href_value !== (a_href_value =
|
|
8304
|
+
/*child*/
|
|
8305
|
+
ctx[5].href)) {
|
|
8306
|
+
attr(a, "href", a_href_value);
|
|
8307
|
+
}
|
|
8308
|
+
},
|
|
8309
|
+
|
|
8310
|
+
d(detaching) {
|
|
8311
|
+
if (detaching) detach(li);
|
|
8312
|
+
}
|
|
8313
|
+
|
|
8314
|
+
};
|
|
8315
|
+
}
|
|
8316
|
+
|
|
8317
|
+
function create_fragment$l(ctx) {
|
|
8318
|
+
let section;
|
|
8354
8319
|
let t0;
|
|
8320
|
+
let div;
|
|
8355
8321
|
let t1;
|
|
8356
|
-
let
|
|
8357
|
-
let
|
|
8358
|
-
let t2;
|
|
8359
|
-
let div2;
|
|
8360
|
-
let a0;
|
|
8361
|
-
let t3;
|
|
8362
|
-
let a1;
|
|
8363
|
-
let div5_style_value;
|
|
8322
|
+
let ul;
|
|
8323
|
+
let ul_style_value;
|
|
8364
8324
|
let if_block =
|
|
8365
|
-
/*
|
|
8366
|
-
|
|
8325
|
+
/*heading*/
|
|
8326
|
+
ctx[0] && create_if_block$8(ctx);
|
|
8327
|
+
let each_value =
|
|
8328
|
+
/*children*/
|
|
8329
|
+
ctx[3];
|
|
8330
|
+
let each_blocks = [];
|
|
8331
|
+
|
|
8332
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
8333
|
+
each_blocks[i] = create_each_block$2(get_each_context$2(ctx, each_value, i));
|
|
8334
|
+
}
|
|
8335
|
+
|
|
8367
8336
|
return {
|
|
8368
8337
|
c() {
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
div5 = element("div");
|
|
8372
|
-
div4 = element("div");
|
|
8373
|
-
div0 = element("div");
|
|
8374
|
-
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
8375
|
-
t0 = space();
|
|
8338
|
+
section = element("section");
|
|
8376
8339
|
if (if_block) if_block.c();
|
|
8377
|
-
|
|
8378
|
-
|
|
8379
|
-
|
|
8380
|
-
|
|
8381
|
-
|
|
8382
|
-
|
|
8383
|
-
|
|
8384
|
-
|
|
8385
|
-
|
|
8386
|
-
|
|
8387
|
-
a1.textContent = `© ${
|
|
8388
|
-
/*year*/
|
|
8389
|
-
ctx[4]} Government of Alberta`;
|
|
8340
|
+
t0 = space();
|
|
8341
|
+
div = element("div");
|
|
8342
|
+
div.innerHTML = `<slot></slot>`;
|
|
8343
|
+
t1 = space();
|
|
8344
|
+
ul = element("ul");
|
|
8345
|
+
|
|
8346
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8347
|
+
each_blocks[i].c();
|
|
8348
|
+
}
|
|
8349
|
+
|
|
8390
8350
|
this.c = noop;
|
|
8391
|
-
attr(
|
|
8392
|
-
attr(
|
|
8393
|
-
attr(
|
|
8394
|
-
|
|
8395
|
-
|
|
8396
|
-
|
|
8397
|
-
|
|
8398
|
-
/*
|
|
8399
|
-
|
|
8400
|
-
|
|
8401
|
-
|
|
8402
|
-
|
|
8403
|
-
|
|
8404
|
-
|
|
8405
|
-
|
|
8406
|
-
|
|
8407
|
-
/*maxcontentwidth*/
|
|
8408
|
-
ctx[0] || "100%"}`);
|
|
8351
|
+
attr(div, "class", "hidden");
|
|
8352
|
+
attr(ul, "class", "links");
|
|
8353
|
+
attr(ul, "style", ul_style_value = `
|
|
8354
|
+
--narrow-display-type: ${Math.ceil(
|
|
8355
|
+
/*maxcolumncount*/
|
|
8356
|
+
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8357
|
+
--narrow-column-count: ${Math.ceil(
|
|
8358
|
+
/*maxcolumncount*/
|
|
8359
|
+
ctx[1] / 2)};
|
|
8360
|
+
--wide-display-type: ${
|
|
8361
|
+
/*maxcolumncount*/
|
|
8362
|
+
ctx[1] > 1 ? "block" : "flex"};
|
|
8363
|
+
--wide-column-count: ${
|
|
8364
|
+
/*maxcolumncount*/
|
|
8365
|
+
ctx[1]};
|
|
8366
|
+
`);
|
|
8409
8367
|
},
|
|
8410
8368
|
|
|
8411
8369
|
m(target, anchor) {
|
|
8412
|
-
insert(target,
|
|
8413
|
-
|
|
8414
|
-
append(
|
|
8415
|
-
append(
|
|
8416
|
-
|
|
8417
|
-
append(
|
|
8418
|
-
append(div4, div3);
|
|
8419
|
-
append(div3, div1);
|
|
8420
|
-
append(div3, t2);
|
|
8421
|
-
append(div3, div2);
|
|
8422
|
-
append(div2, a0);
|
|
8423
|
-
append(div2, t3);
|
|
8424
|
-
append(div2, a1);
|
|
8425
|
-
/*div5_binding*/
|
|
8370
|
+
insert(target, section, anchor);
|
|
8371
|
+
if (if_block) if_block.m(section, null);
|
|
8372
|
+
append(section, t0);
|
|
8373
|
+
append(section, div);
|
|
8374
|
+
append(section, t1);
|
|
8375
|
+
append(section, ul);
|
|
8426
8376
|
|
|
8427
|
-
|
|
8377
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8378
|
+
each_blocks[i].m(ul, null);
|
|
8379
|
+
}
|
|
8380
|
+
/*section_binding*/
|
|
8381
|
+
|
|
8382
|
+
|
|
8383
|
+
ctx[4](section);
|
|
8428
8384
|
},
|
|
8429
8385
|
|
|
8430
8386
|
p(ctx, [dirty]) {
|
|
8431
|
-
var _ctx$4;
|
|
8432
|
-
|
|
8433
8387
|
if (
|
|
8434
|
-
/*
|
|
8435
|
-
|
|
8436
|
-
if (if_block)
|
|
8437
|
-
if_block
|
|
8388
|
+
/*heading*/
|
|
8389
|
+
ctx[0]) {
|
|
8390
|
+
if (if_block) {
|
|
8391
|
+
if_block.p(ctx, dirty);
|
|
8392
|
+
} else {
|
|
8393
|
+
if_block = create_if_block$8(ctx);
|
|
8438
8394
|
if_block.c();
|
|
8439
|
-
if_block.m(
|
|
8395
|
+
if_block.m(section, t0);
|
|
8440
8396
|
}
|
|
8441
8397
|
} else if (if_block) {
|
|
8442
8398
|
if_block.d(1);
|
|
@@ -8444,31 +8400,49 @@ function create_fragment$k(ctx) {
|
|
|
8444
8400
|
}
|
|
8445
8401
|
|
|
8446
8402
|
if (dirty &
|
|
8447
|
-
/*
|
|
8403
|
+
/*children*/
|
|
8448
8404
|
8) {
|
|
8449
|
-
|
|
8405
|
+
each_value =
|
|
8406
|
+
/*children*/
|
|
8407
|
+
ctx[3];
|
|
8408
|
+
let i;
|
|
8450
8409
|
|
|
8451
|
-
|
|
8452
|
-
|
|
8453
|
-
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
8454
|
-
}
|
|
8410
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
8411
|
+
const child_ctx = get_each_context$2(ctx, each_value, i);
|
|
8455
8412
|
|
|
8456
|
-
|
|
8457
|
-
|
|
8458
|
-
|
|
8459
|
-
|
|
8413
|
+
if (each_blocks[i]) {
|
|
8414
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
8415
|
+
} else {
|
|
8416
|
+
each_blocks[i] = create_each_block$2(child_ctx);
|
|
8417
|
+
each_blocks[i].c();
|
|
8418
|
+
each_blocks[i].m(ul, null);
|
|
8419
|
+
}
|
|
8420
|
+
}
|
|
8460
8421
|
|
|
8461
|
-
|
|
8462
|
-
|
|
8463
|
-
|
|
8422
|
+
for (; i < each_blocks.length; i += 1) {
|
|
8423
|
+
each_blocks[i].d(1);
|
|
8424
|
+
}
|
|
8425
|
+
|
|
8426
|
+
each_blocks.length = each_value.length;
|
|
8464
8427
|
}
|
|
8465
8428
|
|
|
8466
8429
|
if (dirty &
|
|
8467
|
-
/*
|
|
8468
|
-
|
|
8469
|
-
|
|
8470
|
-
|
|
8471
|
-
|
|
8430
|
+
/*maxcolumncount*/
|
|
8431
|
+
2 && ul_style_value !== (ul_style_value = `
|
|
8432
|
+
--narrow-display-type: ${Math.ceil(
|
|
8433
|
+
/*maxcolumncount*/
|
|
8434
|
+
ctx[1] / 2) > 1 ? "block" : "flex"};
|
|
8435
|
+
--narrow-column-count: ${Math.ceil(
|
|
8436
|
+
/*maxcolumncount*/
|
|
8437
|
+
ctx[1] / 2)};
|
|
8438
|
+
--wide-display-type: ${
|
|
8439
|
+
/*maxcolumncount*/
|
|
8440
|
+
ctx[1] > 1 ? "block" : "flex"};
|
|
8441
|
+
--wide-column-count: ${
|
|
8442
|
+
/*maxcolumncount*/
|
|
8443
|
+
ctx[1]};
|
|
8444
|
+
`)) {
|
|
8445
|
+
attr(ul, "style", ul_style_value);
|
|
8472
8446
|
}
|
|
8473
8447
|
},
|
|
8474
8448
|
|
|
@@ -8476,56 +8450,71 @@ function create_fragment$k(ctx) {
|
|
|
8476
8450
|
o: noop,
|
|
8477
8451
|
|
|
8478
8452
|
d(detaching) {
|
|
8479
|
-
if (detaching) detach(
|
|
8453
|
+
if (detaching) detach(section);
|
|
8480
8454
|
if (if_block) if_block.d();
|
|
8481
|
-
|
|
8455
|
+
destroy_each(each_blocks, detaching);
|
|
8456
|
+
/*section_binding*/
|
|
8482
8457
|
|
|
8483
|
-
ctx[
|
|
8458
|
+
ctx[4](null);
|
|
8484
8459
|
}
|
|
8485
8460
|
|
|
8486
8461
|
};
|
|
8487
8462
|
}
|
|
8488
8463
|
|
|
8489
|
-
function instance$
|
|
8464
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
8490
8465
|
let {
|
|
8491
|
-
|
|
8466
|
+
heading = ""
|
|
8467
|
+
} = $$props;
|
|
8468
|
+
let {
|
|
8469
|
+
maxcolumncount = 1
|
|
8492
8470
|
} = $$props;
|
|
8493
8471
|
let rootEl;
|
|
8494
|
-
let
|
|
8495
|
-
let metaLinks;
|
|
8496
|
-
const year = new Date().getFullYear();
|
|
8472
|
+
let children = [];
|
|
8497
8473
|
onMount(async () => {
|
|
8498
|
-
await tick();
|
|
8499
|
-
|
|
8500
|
-
|
|
8501
|
-
|
|
8502
|
-
|
|
8474
|
+
await tick(); // remap slot content
|
|
8475
|
+
|
|
8476
|
+
$$invalidate(3, children = rootEl.querySelector("slot").assignedElements());
|
|
8477
|
+
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8478
|
+
return sum && valid;
|
|
8479
|
+
}, true);
|
|
8480
|
+
|
|
8481
|
+
if (!isValid) {
|
|
8482
|
+
$$invalidate(3, children = []);
|
|
8483
|
+
console.warn("GoAFooterNavSection children must be anchor elements.");
|
|
8484
|
+
return;
|
|
8485
|
+
}
|
|
8486
|
+
|
|
8487
|
+
injectCss(rootEl, ":host", {
|
|
8488
|
+
"flex-grow": maxcolumncount
|
|
8489
|
+
});
|
|
8503
8490
|
});
|
|
8504
8491
|
|
|
8505
|
-
function
|
|
8492
|
+
function section_binding($$value) {
|
|
8506
8493
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8507
8494
|
rootEl = $$value;
|
|
8508
|
-
$$invalidate(
|
|
8495
|
+
$$invalidate(2, rootEl);
|
|
8509
8496
|
});
|
|
8510
8497
|
}
|
|
8511
8498
|
|
|
8512
8499
|
$$self.$$set = $$props => {
|
|
8513
|
-
if ('
|
|
8500
|
+
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
8501
|
+
if ('maxcolumncount' in $$props) $$invalidate(1, maxcolumncount = $$props.maxcolumncount);
|
|
8514
8502
|
};
|
|
8515
8503
|
|
|
8516
|
-
return [
|
|
8504
|
+
return [heading, maxcolumncount, rootEl, children, section_binding];
|
|
8517
8505
|
}
|
|
8518
8506
|
|
|
8519
|
-
class
|
|
8507
|
+
class FooterNavSection extends SvelteElement {
|
|
8520
8508
|
constructor(options) {
|
|
8521
8509
|
super();
|
|
8522
|
-
this.shadowRoot.innerHTML = `<style
|
|
8510
|
+
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>`;
|
|
8523
8511
|
init(this, {
|
|
8524
8512
|
target: this.shadowRoot,
|
|
8525
8513
|
props: attribute_to_object(this.attributes),
|
|
8526
8514
|
customElement: true
|
|
8527
|
-
}, instance$
|
|
8528
|
-
|
|
8515
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
8516
|
+
heading: 0,
|
|
8517
|
+
maxcolumncount: 1
|
|
8529
8518
|
}, null);
|
|
8530
8519
|
|
|
8531
8520
|
if (options) {
|
|
@@ -8541,23 +8530,34 @@ class Footer extends SvelteElement {
|
|
|
8541
8530
|
}
|
|
8542
8531
|
|
|
8543
8532
|
static get observedAttributes() {
|
|
8544
|
-
return ["
|
|
8533
|
+
return ["heading", "maxcolumncount"];
|
|
8545
8534
|
}
|
|
8546
8535
|
|
|
8547
|
-
get
|
|
8536
|
+
get heading() {
|
|
8548
8537
|
return this.$$.ctx[0];
|
|
8549
8538
|
}
|
|
8550
8539
|
|
|
8551
|
-
set
|
|
8540
|
+
set heading(heading) {
|
|
8552
8541
|
this.$$set({
|
|
8553
|
-
|
|
8542
|
+
heading
|
|
8543
|
+
});
|
|
8544
|
+
flush();
|
|
8545
|
+
}
|
|
8546
|
+
|
|
8547
|
+
get maxcolumncount() {
|
|
8548
|
+
return this.$$.ctx[1];
|
|
8549
|
+
}
|
|
8550
|
+
|
|
8551
|
+
set maxcolumncount(maxcolumncount) {
|
|
8552
|
+
this.$$set({
|
|
8553
|
+
maxcolumncount
|
|
8554
8554
|
});
|
|
8555
8555
|
flush();
|
|
8556
8556
|
}
|
|
8557
8557
|
|
|
8558
8558
|
}
|
|
8559
8559
|
|
|
8560
|
-
customElements.define("goa-app-footer",
|
|
8560
|
+
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
8561
8561
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
8562
8562
|
|
|
8563
8563
|
function create_if_block_2$4(ctx) {
|
|
@@ -8742,7 +8742,7 @@ function create_if_block$7(ctx) {
|
|
|
8742
8742
|
};
|
|
8743
8743
|
}
|
|
8744
8744
|
|
|
8745
|
-
function create_fragment$
|
|
8745
|
+
function create_fragment$k(ctx) {
|
|
8746
8746
|
let div1;
|
|
8747
8747
|
let t0;
|
|
8748
8748
|
let div0;
|
|
@@ -8879,7 +8879,7 @@ function create_fragment$j(ctx) {
|
|
|
8879
8879
|
};
|
|
8880
8880
|
}
|
|
8881
8881
|
|
|
8882
|
-
function instance$
|
|
8882
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
8883
8883
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
8884
8884
|
let {
|
|
8885
8885
|
testid = ""
|
|
@@ -8935,7 +8935,7 @@ class FormItem extends SvelteElement {
|
|
|
8935
8935
|
target: this.shadowRoot,
|
|
8936
8936
|
props: attribute_to_object(this.attributes),
|
|
8937
8937
|
customElement: true
|
|
8938
|
-
}, instance$
|
|
8938
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
8939
8939
|
testid: 0,
|
|
8940
8940
|
mt: 1,
|
|
8941
8941
|
mr: 2,
|
|
@@ -9067,7 +9067,7 @@ class FormItem extends SvelteElement {
|
|
|
9067
9067
|
customElements.define("goa-form-item", FormItem);
|
|
9068
9068
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9069
9069
|
|
|
9070
|
-
function create_fragment$
|
|
9070
|
+
function create_fragment$j(ctx) {
|
|
9071
9071
|
let div;
|
|
9072
9072
|
let slot;
|
|
9073
9073
|
let div_style_value;
|
|
@@ -9135,7 +9135,7 @@ function create_fragment$i(ctx) {
|
|
|
9135
9135
|
};
|
|
9136
9136
|
}
|
|
9137
9137
|
|
|
9138
|
-
function instance$
|
|
9138
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
9139
9139
|
let {
|
|
9140
9140
|
gap = "m"
|
|
9141
9141
|
} = $$props;
|
|
@@ -9180,7 +9180,7 @@ class Grid extends SvelteElement {
|
|
|
9180
9180
|
target: this.shadowRoot,
|
|
9181
9181
|
props: attribute_to_object(this.attributes),
|
|
9182
9182
|
customElement: true
|
|
9183
|
-
}, instance$
|
|
9183
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
9184
9184
|
gap: 0,
|
|
9185
9185
|
minchildwidth: 1,
|
|
9186
9186
|
mt: 2,
|
|
@@ -9276,7 +9276,7 @@ class Grid extends SvelteElement {
|
|
|
9276
9276
|
customElements.define("goa-grid", Grid);
|
|
9277
9277
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9278
9278
|
|
|
9279
|
-
function create_fragment$
|
|
9279
|
+
function create_fragment$i(ctx) {
|
|
9280
9280
|
let div1;
|
|
9281
9281
|
let goa_page_block;
|
|
9282
9282
|
let h1;
|
|
@@ -9361,7 +9361,7 @@ function create_fragment$h(ctx) {
|
|
|
9361
9361
|
};
|
|
9362
9362
|
}
|
|
9363
9363
|
|
|
9364
|
-
function instance$
|
|
9364
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
9365
9365
|
let {
|
|
9366
9366
|
heading
|
|
9367
9367
|
} = $$props;
|
|
@@ -9389,7 +9389,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9389
9389
|
target: this.shadowRoot,
|
|
9390
9390
|
props: attribute_to_object(this.attributes),
|
|
9391
9391
|
customElement: true
|
|
9392
|
-
}, instance$
|
|
9392
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
9393
9393
|
heading: 0,
|
|
9394
9394
|
backgroundurl: 1,
|
|
9395
9395
|
minheight: 2
|
|
@@ -9449,7 +9449,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9449
9449
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
9450
9450
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
9451
9451
|
|
|
9452
|
-
function create_fragment$
|
|
9452
|
+
function create_fragment$h(ctx) {
|
|
9453
9453
|
let button;
|
|
9454
9454
|
let goa_icon;
|
|
9455
9455
|
let button_style_value;
|
|
@@ -9621,7 +9621,7 @@ function handleClick(e) {
|
|
|
9621
9621
|
}));
|
|
9622
9622
|
}
|
|
9623
9623
|
|
|
9624
|
-
function instance$
|
|
9624
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
9625
9625
|
let css;
|
|
9626
9626
|
let isDisabled;
|
|
9627
9627
|
let isInverted;
|
|
@@ -9726,7 +9726,7 @@ class IconButton extends SvelteElement {
|
|
|
9726
9726
|
target: this.shadowRoot,
|
|
9727
9727
|
props: attribute_to_object(this.attributes),
|
|
9728
9728
|
customElement: true
|
|
9729
|
-
}, instance$
|
|
9729
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
9730
9730
|
icon: 0,
|
|
9731
9731
|
size: 1,
|
|
9732
9732
|
theme: 2,
|
|
@@ -9942,7 +9942,7 @@ function create_if_block$6(ctx) {
|
|
|
9942
9942
|
};
|
|
9943
9943
|
}
|
|
9944
9944
|
|
|
9945
|
-
function create_fragment$
|
|
9945
|
+
function create_fragment$g(ctx) {
|
|
9946
9946
|
let div;
|
|
9947
9947
|
let div_style_value;
|
|
9948
9948
|
let if_block =
|
|
@@ -10073,7 +10073,7 @@ function create_fragment$f(ctx) {
|
|
|
10073
10073
|
};
|
|
10074
10074
|
}
|
|
10075
10075
|
|
|
10076
|
-
function instance$
|
|
10076
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
10077
10077
|
let isInverted;
|
|
10078
10078
|
|
|
10079
10079
|
let _size;
|
|
@@ -10163,7 +10163,7 @@ class Icon extends SvelteElement {
|
|
|
10163
10163
|
target: this.shadowRoot,
|
|
10164
10164
|
props: attribute_to_object(this.attributes),
|
|
10165
10165
|
customElement: true
|
|
10166
|
-
}, instance$
|
|
10166
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
10167
10167
|
mt: 0,
|
|
10168
10168
|
mr: 1,
|
|
10169
10169
|
mb: 2,
|
|
@@ -10532,7 +10532,7 @@ function create_if_block$5(ctx) {
|
|
|
10532
10532
|
};
|
|
10533
10533
|
}
|
|
10534
10534
|
|
|
10535
|
-
function create_fragment$
|
|
10535
|
+
function create_fragment$f(ctx) {
|
|
10536
10536
|
let div3;
|
|
10537
10537
|
let div2;
|
|
10538
10538
|
let t0;
|
|
@@ -10971,7 +10971,7 @@ function doClick() {
|
|
|
10971
10971
|
}));
|
|
10972
10972
|
}
|
|
10973
10973
|
|
|
10974
|
-
function instance$
|
|
10974
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
10975
10975
|
let handlesTrailingIconClick;
|
|
10976
10976
|
let isFocused;
|
|
10977
10977
|
let isReadonly;
|
|
@@ -11178,7 +11178,7 @@ class Input extends SvelteElement {
|
|
|
11178
11178
|
target: this.shadowRoot,
|
|
11179
11179
|
props: attribute_to_object(this.attributes),
|
|
11180
11180
|
customElement: true
|
|
11181
|
-
}, instance$
|
|
11181
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
11182
11182
|
type: 1,
|
|
11183
11183
|
name: 2,
|
|
11184
11184
|
value: 0,
|
|
@@ -11697,7 +11697,7 @@ function create_if_block$4(ctx) {
|
|
|
11697
11697
|
};
|
|
11698
11698
|
}
|
|
11699
11699
|
|
|
11700
|
-
function create_fragment$
|
|
11700
|
+
function create_fragment$e(ctx) {
|
|
11701
11701
|
let header;
|
|
11702
11702
|
let t0;
|
|
11703
11703
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -11806,7 +11806,7 @@ function capitalize(val) {
|
|
|
11806
11806
|
return val[0].toUpperCase() + val.slice(1);
|
|
11807
11807
|
}
|
|
11808
11808
|
|
|
11809
|
-
function instance$
|
|
11809
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
11810
11810
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
11811
11811
|
let {
|
|
11812
11812
|
type
|
|
@@ -11838,7 +11838,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
11838
11838
|
target: this.shadowRoot,
|
|
11839
11839
|
props: attribute_to_object(this.attributes),
|
|
11840
11840
|
customElement: true
|
|
11841
|
-
}, instance$
|
|
11841
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
11842
11842
|
type: 0,
|
|
11843
11843
|
version: 1,
|
|
11844
11844
|
feedbackurl: 2
|
|
@@ -12303,7 +12303,7 @@ function create_if_block_1$1(ctx) {
|
|
|
12303
12303
|
};
|
|
12304
12304
|
}
|
|
12305
12305
|
|
|
12306
|
-
function create_fragment$
|
|
12306
|
+
function create_fragment$d(ctx) {
|
|
12307
12307
|
let if_block_anchor;
|
|
12308
12308
|
let current;
|
|
12309
12309
|
let if_block =
|
|
@@ -12368,7 +12368,7 @@ function create_fragment$c(ctx) {
|
|
|
12368
12368
|
};
|
|
12369
12369
|
}
|
|
12370
12370
|
|
|
12371
|
-
function instance$
|
|
12371
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
12372
12372
|
let isClosable;
|
|
12373
12373
|
let isOpen;
|
|
12374
12374
|
|
|
@@ -12458,7 +12458,7 @@ class Modal extends SvelteElement {
|
|
|
12458
12458
|
target: this.shadowRoot,
|
|
12459
12459
|
props: attribute_to_object(this.attributes),
|
|
12460
12460
|
customElement: true
|
|
12461
|
-
}, instance$
|
|
12461
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
12462
12462
|
heading: 0,
|
|
12463
12463
|
closable: 9,
|
|
12464
12464
|
open: 1,
|
|
@@ -12678,7 +12678,7 @@ function create_if_block$2(ctx) {
|
|
|
12678
12678
|
};
|
|
12679
12679
|
}
|
|
12680
12680
|
|
|
12681
|
-
function create_fragment$
|
|
12681
|
+
function create_fragment$c(ctx) {
|
|
12682
12682
|
let if_block_anchor;
|
|
12683
12683
|
let current;
|
|
12684
12684
|
let if_block =
|
|
@@ -12743,7 +12743,7 @@ function create_fragment$b(ctx) {
|
|
|
12743
12743
|
};
|
|
12744
12744
|
}
|
|
12745
12745
|
|
|
12746
|
-
function instance$
|
|
12746
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
12747
12747
|
let iconType;
|
|
12748
12748
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
12749
12749
|
let {
|
|
@@ -12781,7 +12781,7 @@ class Notification extends SvelteElement {
|
|
|
12781
12781
|
target: this.shadowRoot,
|
|
12782
12782
|
props: attribute_to_object(this.attributes),
|
|
12783
12783
|
customElement: true
|
|
12784
|
-
}, instance$
|
|
12784
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
12785
12785
|
type: 0
|
|
12786
12786
|
}, null);
|
|
12787
12787
|
|
|
@@ -12823,7 +12823,7 @@ function isValidDimension(value) {
|
|
|
12823
12823
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
12824
12824
|
|
|
12825
12825
|
|
|
12826
|
-
function create_fragment$
|
|
12826
|
+
function create_fragment$b(ctx) {
|
|
12827
12827
|
let div;
|
|
12828
12828
|
let slot;
|
|
12829
12829
|
let div_style_value;
|
|
@@ -12863,7 +12863,7 @@ function create_fragment$a(ctx) {
|
|
|
12863
12863
|
};
|
|
12864
12864
|
}
|
|
12865
12865
|
|
|
12866
|
-
function instance$
|
|
12866
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
12867
12867
|
const Sizes = {
|
|
12868
12868
|
"full": "100%"
|
|
12869
12869
|
};
|
|
@@ -12904,7 +12904,7 @@ class PageBlock extends SvelteElement {
|
|
|
12904
12904
|
target: this.shadowRoot,
|
|
12905
12905
|
props: attribute_to_object(this.attributes),
|
|
12906
12906
|
customElement: true
|
|
12907
|
-
}, instance$
|
|
12907
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
12908
12908
|
width: 1,
|
|
12909
12909
|
_width: 0
|
|
12910
12910
|
}, null);
|
|
@@ -13142,7 +13142,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
13142
13142
|
};
|
|
13143
13143
|
}
|
|
13144
13144
|
|
|
13145
|
-
function create_fragment$
|
|
13145
|
+
function create_fragment$a(ctx) {
|
|
13146
13146
|
let div;
|
|
13147
13147
|
let slot;
|
|
13148
13148
|
let t;
|
|
@@ -13265,7 +13265,7 @@ function create_fragment$9(ctx) {
|
|
|
13265
13265
|
};
|
|
13266
13266
|
}
|
|
13267
13267
|
|
|
13268
|
-
function instance$
|
|
13268
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
13269
13269
|
let isDisabled;
|
|
13270
13270
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
13271
13271
|
let {
|
|
@@ -13392,7 +13392,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13392
13392
|
target: this.shadowRoot,
|
|
13393
13393
|
props: attribute_to_object(this.attributes),
|
|
13394
13394
|
customElement: true
|
|
13395
|
-
}, instance$
|
|
13395
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
13396
13396
|
name: 1,
|
|
13397
13397
|
value: 0,
|
|
13398
13398
|
orientation: 2,
|
|
@@ -13548,7 +13548,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13548
13548
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13549
13549
|
/* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.51.0 */
|
|
13550
13550
|
|
|
13551
|
-
function create_fragment$
|
|
13551
|
+
function create_fragment$9(ctx) {
|
|
13552
13552
|
return {
|
|
13553
13553
|
c() {
|
|
13554
13554
|
this.c = noop;
|
|
@@ -13562,7 +13562,7 @@ function create_fragment$8(ctx) {
|
|
|
13562
13562
|
};
|
|
13563
13563
|
}
|
|
13564
13564
|
|
|
13565
|
-
function instance$
|
|
13565
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
13566
13566
|
let {
|
|
13567
13567
|
value
|
|
13568
13568
|
} = $$props;
|
|
@@ -13613,7 +13613,7 @@ class RadioItem extends SvelteElement {
|
|
|
13613
13613
|
target: this.shadowRoot,
|
|
13614
13614
|
props: attribute_to_object(this.attributes),
|
|
13615
13615
|
customElement: true
|
|
13616
|
-
}, instance$
|
|
13616
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
13617
13617
|
value: 0,
|
|
13618
13618
|
label: 1,
|
|
13619
13619
|
name: 2
|
|
@@ -13673,7 +13673,7 @@ class RadioItem extends SvelteElement {
|
|
|
13673
13673
|
customElements.define("goa-radio-item", RadioItem);
|
|
13674
13674
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13675
13675
|
|
|
13676
|
-
function create_fragment$
|
|
13676
|
+
function create_fragment$8(ctx) {
|
|
13677
13677
|
let div;
|
|
13678
13678
|
let slot;
|
|
13679
13679
|
let div_style_value;
|
|
@@ -13741,7 +13741,7 @@ function create_fragment$7(ctx) {
|
|
|
13741
13741
|
};
|
|
13742
13742
|
}
|
|
13743
13743
|
|
|
13744
|
-
function instance$
|
|
13744
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
13745
13745
|
let {
|
|
13746
13746
|
direction = "vertical"
|
|
13747
13747
|
} = $$props;
|
|
@@ -13773,7 +13773,7 @@ class Scrollable extends SvelteElement {
|
|
|
13773
13773
|
target: this.shadowRoot,
|
|
13774
13774
|
props: attribute_to_object(this.attributes),
|
|
13775
13775
|
customElement: true
|
|
13776
|
-
}, instance$
|
|
13776
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
13777
13777
|
direction: 0,
|
|
13778
13778
|
hpadding: 1,
|
|
13779
13779
|
vpadding: 2,
|
|
@@ -14301,7 +14301,7 @@ function create_each_block(ctx) {
|
|
|
14301
14301
|
};
|
|
14302
14302
|
}
|
|
14303
14303
|
|
|
14304
|
-
function create_fragment$
|
|
14304
|
+
function create_fragment$7(ctx) {
|
|
14305
14305
|
let div;
|
|
14306
14306
|
let current_block_type_index;
|
|
14307
14307
|
let if_block;
|
|
@@ -14417,7 +14417,7 @@ function create_fragment$6(ctx) {
|
|
|
14417
14417
|
};
|
|
14418
14418
|
}
|
|
14419
14419
|
|
|
14420
|
-
function instance$
|
|
14420
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
14421
14421
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14422
14422
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14423
14423
|
let {
|
|
@@ -14475,7 +14475,7 @@ class Skeleton extends SvelteElement {
|
|
|
14475
14475
|
target: this.shadowRoot,
|
|
14476
14476
|
props: attribute_to_object(this.attributes),
|
|
14477
14477
|
customElement: true
|
|
14478
|
-
}, instance$
|
|
14478
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
14479
14479
|
maxwidth: 0,
|
|
14480
14480
|
size: 1,
|
|
14481
14481
|
linecount: 2,
|
|
@@ -14607,7 +14607,7 @@ class Skeleton extends SvelteElement {
|
|
|
14607
14607
|
customElements.define("goa-skeleton", Skeleton);
|
|
14608
14608
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14609
14609
|
|
|
14610
|
-
function create_fragment$
|
|
14610
|
+
function create_fragment$6(ctx) {
|
|
14611
14611
|
let div;
|
|
14612
14612
|
return {
|
|
14613
14613
|
c() {
|
|
@@ -14636,7 +14636,7 @@ function create_fragment$5(ctx) {
|
|
|
14636
14636
|
};
|
|
14637
14637
|
}
|
|
14638
14638
|
|
|
14639
|
-
function instance$
|
|
14639
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
14640
14640
|
let {
|
|
14641
14641
|
hspacing = "none"
|
|
14642
14642
|
} = $$props;
|
|
@@ -14673,7 +14673,7 @@ class Spacer extends SvelteElement {
|
|
|
14673
14673
|
target: this.shadowRoot,
|
|
14674
14674
|
props: attribute_to_object(this.attributes),
|
|
14675
14675
|
customElement: true
|
|
14676
|
-
}, instance$
|
|
14676
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
14677
14677
|
hspacing: 1,
|
|
14678
14678
|
vspacing: 2
|
|
14679
14679
|
}, null);
|
|
@@ -15031,7 +15031,7 @@ function create_if_block(ctx) {
|
|
|
15031
15031
|
};
|
|
15032
15032
|
}
|
|
15033
15033
|
|
|
15034
|
-
function create_fragment$
|
|
15034
|
+
function create_fragment$5(ctx) {
|
|
15035
15035
|
let if_block_anchor;
|
|
15036
15036
|
let if_block =
|
|
15037
15037
|
/*ready*/
|
|
@@ -15076,7 +15076,7 @@ function create_fragment$4(ctx) {
|
|
|
15076
15076
|
};
|
|
15077
15077
|
}
|
|
15078
15078
|
|
|
15079
|
-
function instance$
|
|
15079
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
15080
15080
|
let diameter;
|
|
15081
15081
|
let strokewidth;
|
|
15082
15082
|
let radius;
|
|
@@ -15207,7 +15207,7 @@ class Spinner extends SvelteElement {
|
|
|
15207
15207
|
target: this.shadowRoot,
|
|
15208
15208
|
props: attribute_to_object(this.attributes),
|
|
15209
15209
|
customElement: true
|
|
15210
|
-
}, instance$
|
|
15210
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
15211
15211
|
size: 10,
|
|
15212
15212
|
invert: 0,
|
|
15213
15213
|
progress: 11,
|
|
@@ -15277,6 +15277,261 @@ class Spinner extends SvelteElement {
|
|
|
15277
15277
|
}
|
|
15278
15278
|
|
|
15279
15279
|
customElements.define("goa-spinner", Spinner);
|
|
15280
|
+
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15281
|
+
|
|
15282
|
+
function create_fragment$4(ctx) {
|
|
15283
|
+
let table;
|
|
15284
|
+
let slot;
|
|
15285
|
+
let t0;
|
|
15286
|
+
let template;
|
|
15287
|
+
let table_style_value;
|
|
15288
|
+
return {
|
|
15289
|
+
c() {
|
|
15290
|
+
table = element("table");
|
|
15291
|
+
slot = element("slot");
|
|
15292
|
+
t0 = space();
|
|
15293
|
+
template = element("template");
|
|
15294
|
+
template.innerHTML = `<thead><tr><th></th></tr></thead>
|
|
15295
|
+
<tbody><tr><td></td></tr></tbody>
|
|
15296
|
+
<tfoot><tr><td></td></tr></tfoot>`;
|
|
15297
|
+
this.c = noop;
|
|
15298
|
+
attr(table, "style", table_style_value = `
|
|
15299
|
+
width: ${
|
|
15300
|
+
/*width*/
|
|
15301
|
+
ctx[0]};
|
|
15302
|
+
${calculateMargin(
|
|
15303
|
+
/*mt*/
|
|
15304
|
+
ctx[1],
|
|
15305
|
+
/*mr*/
|
|
15306
|
+
ctx[2],
|
|
15307
|
+
/*mb*/
|
|
15308
|
+
ctx[3],
|
|
15309
|
+
/*ml*/
|
|
15310
|
+
ctx[4])}
|
|
15311
|
+
`);
|
|
15312
|
+
toggle_class(table, "sticky",
|
|
15313
|
+
/*_stickyHeader*/
|
|
15314
|
+
ctx[6]);
|
|
15315
|
+
},
|
|
15316
|
+
|
|
15317
|
+
m(target, anchor) {
|
|
15318
|
+
insert(target, table, anchor);
|
|
15319
|
+
append(table, slot);
|
|
15320
|
+
append(table, t0);
|
|
15321
|
+
append(table, template);
|
|
15322
|
+
/*table_binding*/
|
|
15323
|
+
|
|
15324
|
+
ctx[8](table);
|
|
15325
|
+
},
|
|
15326
|
+
|
|
15327
|
+
p(ctx, [dirty]) {
|
|
15328
|
+
if (dirty &
|
|
15329
|
+
/*width, mt, mr, mb, ml*/
|
|
15330
|
+
31 && table_style_value !== (table_style_value = `
|
|
15331
|
+
width: ${
|
|
15332
|
+
/*width*/
|
|
15333
|
+
ctx[0]};
|
|
15334
|
+
${calculateMargin(
|
|
15335
|
+
/*mt*/
|
|
15336
|
+
ctx[1],
|
|
15337
|
+
/*mr*/
|
|
15338
|
+
ctx[2],
|
|
15339
|
+
/*mb*/
|
|
15340
|
+
ctx[3],
|
|
15341
|
+
/*ml*/
|
|
15342
|
+
ctx[4])}
|
|
15343
|
+
`)) {
|
|
15344
|
+
attr(table, "style", table_style_value);
|
|
15345
|
+
}
|
|
15346
|
+
|
|
15347
|
+
if (dirty &
|
|
15348
|
+
/*_stickyHeader*/
|
|
15349
|
+
64) {
|
|
15350
|
+
toggle_class(table, "sticky",
|
|
15351
|
+
/*_stickyHeader*/
|
|
15352
|
+
ctx[6]);
|
|
15353
|
+
}
|
|
15354
|
+
},
|
|
15355
|
+
|
|
15356
|
+
i: noop,
|
|
15357
|
+
o: noop,
|
|
15358
|
+
|
|
15359
|
+
d(detaching) {
|
|
15360
|
+
if (detaching) detach(table);
|
|
15361
|
+
/*table_binding*/
|
|
15362
|
+
|
|
15363
|
+
ctx[8](null);
|
|
15364
|
+
}
|
|
15365
|
+
|
|
15366
|
+
};
|
|
15367
|
+
}
|
|
15368
|
+
|
|
15369
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
15370
|
+
let _stickyHeader;
|
|
15371
|
+
|
|
15372
|
+
let {
|
|
15373
|
+
width = ""
|
|
15374
|
+
} = $$props;
|
|
15375
|
+
let {
|
|
15376
|
+
stickyheader = "false"
|
|
15377
|
+
} = $$props;
|
|
15378
|
+
let {
|
|
15379
|
+
mt = null
|
|
15380
|
+
} = $$props;
|
|
15381
|
+
let {
|
|
15382
|
+
mr = null
|
|
15383
|
+
} = $$props;
|
|
15384
|
+
let {
|
|
15385
|
+
mb = null
|
|
15386
|
+
} = $$props;
|
|
15387
|
+
let {
|
|
15388
|
+
ml = null
|
|
15389
|
+
} = $$props; // Private
|
|
15390
|
+
|
|
15391
|
+
let _rootEl;
|
|
15392
|
+
|
|
15393
|
+
onMount(() => {
|
|
15394
|
+
const slot = _rootEl.querySelector("slot");
|
|
15395
|
+
|
|
15396
|
+
if (slot) {
|
|
15397
|
+
// React needs to nest data in a <table>...</table>
|
|
15398
|
+
const content = slot.assignedElements()[0].querySelectorAll("template table > *");
|
|
15399
|
+
|
|
15400
|
+
_rootEl.append(...(content.length > 0 ? content : slot.assignedElements()));
|
|
15401
|
+
} else {
|
|
15402
|
+
return [..._rootEl.children];
|
|
15403
|
+
}
|
|
15404
|
+
});
|
|
15405
|
+
|
|
15406
|
+
function table_binding($$value) {
|
|
15407
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15408
|
+
_rootEl = $$value;
|
|
15409
|
+
$$invalidate(5, _rootEl);
|
|
15410
|
+
});
|
|
15411
|
+
}
|
|
15412
|
+
|
|
15413
|
+
$$self.$$set = $$props => {
|
|
15414
|
+
if ('width' in $$props) $$invalidate(0, width = $$props.width);
|
|
15415
|
+
if ('stickyheader' in $$props) $$invalidate(7, stickyheader = $$props.stickyheader);
|
|
15416
|
+
if ('mt' in $$props) $$invalidate(1, mt = $$props.mt);
|
|
15417
|
+
if ('mr' in $$props) $$invalidate(2, mr = $$props.mr);
|
|
15418
|
+
if ('mb' in $$props) $$invalidate(3, mb = $$props.mb);
|
|
15419
|
+
if ('ml' in $$props) $$invalidate(4, ml = $$props.ml);
|
|
15420
|
+
};
|
|
15421
|
+
|
|
15422
|
+
$$self.$$.update = () => {
|
|
15423
|
+
if ($$self.$$.dirty &
|
|
15424
|
+
/*stickyheader*/
|
|
15425
|
+
128) {
|
|
15426
|
+
$$invalidate(6, _stickyHeader = toBoolean(stickyheader));
|
|
15427
|
+
}
|
|
15428
|
+
};
|
|
15429
|
+
|
|
15430
|
+
return [width, mt, mr, mb, ml, _rootEl, _stickyHeader, stickyheader, table_binding];
|
|
15431
|
+
}
|
|
15432
|
+
|
|
15433
|
+
class Table extends SvelteElement {
|
|
15434
|
+
constructor(options) {
|
|
15435
|
+
super();
|
|
15436
|
+
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>`;
|
|
15437
|
+
init(this, {
|
|
15438
|
+
target: this.shadowRoot,
|
|
15439
|
+
props: attribute_to_object(this.attributes),
|
|
15440
|
+
customElement: true
|
|
15441
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
15442
|
+
width: 0,
|
|
15443
|
+
stickyheader: 7,
|
|
15444
|
+
mt: 1,
|
|
15445
|
+
mr: 2,
|
|
15446
|
+
mb: 3,
|
|
15447
|
+
ml: 4
|
|
15448
|
+
}, null);
|
|
15449
|
+
|
|
15450
|
+
if (options) {
|
|
15451
|
+
if (options.target) {
|
|
15452
|
+
insert(options.target, this, options.anchor);
|
|
15453
|
+
}
|
|
15454
|
+
|
|
15455
|
+
if (options.props) {
|
|
15456
|
+
this.$set(options.props);
|
|
15457
|
+
flush();
|
|
15458
|
+
}
|
|
15459
|
+
}
|
|
15460
|
+
}
|
|
15461
|
+
|
|
15462
|
+
static get observedAttributes() {
|
|
15463
|
+
return ["width", "stickyheader", "mt", "mr", "mb", "ml"];
|
|
15464
|
+
}
|
|
15465
|
+
|
|
15466
|
+
get width() {
|
|
15467
|
+
return this.$$.ctx[0];
|
|
15468
|
+
}
|
|
15469
|
+
|
|
15470
|
+
set width(width) {
|
|
15471
|
+
this.$$set({
|
|
15472
|
+
width
|
|
15473
|
+
});
|
|
15474
|
+
flush();
|
|
15475
|
+
}
|
|
15476
|
+
|
|
15477
|
+
get stickyheader() {
|
|
15478
|
+
return this.$$.ctx[7];
|
|
15479
|
+
}
|
|
15480
|
+
|
|
15481
|
+
set stickyheader(stickyheader) {
|
|
15482
|
+
this.$$set({
|
|
15483
|
+
stickyheader
|
|
15484
|
+
});
|
|
15485
|
+
flush();
|
|
15486
|
+
}
|
|
15487
|
+
|
|
15488
|
+
get mt() {
|
|
15489
|
+
return this.$$.ctx[1];
|
|
15490
|
+
}
|
|
15491
|
+
|
|
15492
|
+
set mt(mt) {
|
|
15493
|
+
this.$$set({
|
|
15494
|
+
mt
|
|
15495
|
+
});
|
|
15496
|
+
flush();
|
|
15497
|
+
}
|
|
15498
|
+
|
|
15499
|
+
get mr() {
|
|
15500
|
+
return this.$$.ctx[2];
|
|
15501
|
+
}
|
|
15502
|
+
|
|
15503
|
+
set mr(mr) {
|
|
15504
|
+
this.$$set({
|
|
15505
|
+
mr
|
|
15506
|
+
});
|
|
15507
|
+
flush();
|
|
15508
|
+
}
|
|
15509
|
+
|
|
15510
|
+
get mb() {
|
|
15511
|
+
return this.$$.ctx[3];
|
|
15512
|
+
}
|
|
15513
|
+
|
|
15514
|
+
set mb(mb) {
|
|
15515
|
+
this.$$set({
|
|
15516
|
+
mb
|
|
15517
|
+
});
|
|
15518
|
+
flush();
|
|
15519
|
+
}
|
|
15520
|
+
|
|
15521
|
+
get ml() {
|
|
15522
|
+
return this.$$.ctx[4];
|
|
15523
|
+
}
|
|
15524
|
+
|
|
15525
|
+
set ml(ml) {
|
|
15526
|
+
this.$$set({
|
|
15527
|
+
ml
|
|
15528
|
+
});
|
|
15529
|
+
flush();
|
|
15530
|
+
}
|
|
15531
|
+
|
|
15532
|
+
}
|
|
15533
|
+
|
|
15534
|
+
customElements.define("goa-table", Table);
|
|
15280
15535
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15281
15536
|
|
|
15282
15537
|
function create_fragment$3(ctx) {
|
|
@@ -17151,6 +17406,19 @@ const GoASpinner = ({
|
|
|
17151
17406
|
}, void 0);
|
|
17152
17407
|
};
|
|
17153
17408
|
|
|
17409
|
+
function GoATable(props) {
|
|
17410
|
+
return jsx("goa-table", Object.assign({
|
|
17411
|
+
width: props.width,
|
|
17412
|
+
stickyheader: false
|
|
17413
|
+
}, {
|
|
17414
|
+
children: jsx("template", {
|
|
17415
|
+
children: jsx("table", {
|
|
17416
|
+
children: props.children
|
|
17417
|
+
}, void 0)
|
|
17418
|
+
}, void 0)
|
|
17419
|
+
}), void 0);
|
|
17420
|
+
}
|
|
17421
|
+
|
|
17154
17422
|
const GoATextArea = ({
|
|
17155
17423
|
name,
|
|
17156
17424
|
value,
|
|
@@ -17231,4 +17499,4 @@ function GoATwoColumnLayout(props) {
|
|
|
17231
17499
|
}), void 0);
|
|
17232
17500
|
}
|
|
17233
17501
|
|
|
17234
|
-
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATextArea, GoATwoColumnLayout };
|
|
17502
|
+
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|