@abgov/react-components 4.0.0-alpha.100 → 4.0.0-alpha.102
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 +2 -0
- package/lib/dropdown/dropdown-item.d.ts +22 -0
- package/lib/dropdown/dropdown.d.ts +4 -5
- package/lib/table/table.d.ts +19 -0
- package/package.json +1 -1
- package/react-components.esm.js +1849 -1708
- package/react-components.umd.js +1847 -1703
- package/lib/dropdown/dropdown-option.d.ts +0 -21
package/react-components.esm.js
CHANGED
|
@@ -1235,7 +1235,7 @@ function create_fragment$F(ctx) {
|
|
|
1235
1235
|
};
|
|
1236
1236
|
}
|
|
1237
1237
|
|
|
1238
|
-
function instance$
|
|
1238
|
+
function instance$z($$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$z, create_fragment$F, safe_not_equal, {
|
|
1271
1271
|
heading: 0,
|
|
1272
1272
|
url: 1,
|
|
1273
1273
|
testid: 2,
|
|
@@ -1620,7 +1620,7 @@ function create_fragment$E(ctx) {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
function instance$
|
|
1623
|
+
function instance$y($$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$y, create_fragment$E, safe_not_equal, {
|
|
1706
1706
|
type: 0,
|
|
1707
1707
|
testid: 1,
|
|
1708
1708
|
content: 2,
|
|
@@ -1896,7 +1896,7 @@ function create_fragment$D(ctx) {
|
|
|
1896
1896
|
};
|
|
1897
1897
|
}
|
|
1898
1898
|
|
|
1899
|
-
function instance$
|
|
1899
|
+
function instance$x($$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$x, create_fragment$D, safe_not_equal, {
|
|
1944
1944
|
gap: 0,
|
|
1945
1945
|
direction: 1,
|
|
1946
1946
|
alignment: 2,
|
|
@@ -2046,248 +2046,6 @@ class Block extends SvelteElement {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
|
|
2048
2048
|
customElements.define("goa-block", Block);
|
|
2049
|
-
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
2050
|
-
|
|
2051
|
-
function create_fragment$C(ctx) {
|
|
2052
|
-
let div;
|
|
2053
|
-
let slot;
|
|
2054
|
-
let div_style_value;
|
|
2055
|
-
return {
|
|
2056
|
-
c() {
|
|
2057
|
-
div = element("div");
|
|
2058
|
-
slot = element("slot");
|
|
2059
|
-
this.c = noop;
|
|
2060
|
-
attr(div, "data-testid",
|
|
2061
|
-
/*testid*/
|
|
2062
|
-
ctx[1]);
|
|
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")));
|
|
2076
|
-
},
|
|
2077
|
-
|
|
2078
|
-
m(target, anchor) {
|
|
2079
|
-
insert(target, div, anchor);
|
|
2080
|
-
append(div, slot);
|
|
2081
|
-
},
|
|
2082
|
-
|
|
2083
|
-
p(ctx, [dirty]) {
|
|
2084
|
-
if (dirty &
|
|
2085
|
-
/*testid*/
|
|
2086
|
-
2) {
|
|
2087
|
-
attr(div, "data-testid",
|
|
2088
|
-
/*testid*/
|
|
2089
|
-
ctx[1]);
|
|
2090
|
-
}
|
|
2091
|
-
|
|
2092
|
-
if (dirty &
|
|
2093
|
-
/*mt, mr, mb, ml, _alignment, gap*/
|
|
2094
|
-
125 && div_style_value !== (div_style_value = "" + (calculateMargin(
|
|
2095
|
-
/*mt*/
|
|
2096
|
-
ctx[2],
|
|
2097
|
-
/*mr*/
|
|
2098
|
-
ctx[3],
|
|
2099
|
-
/*mb*/
|
|
2100
|
-
ctx[4],
|
|
2101
|
-
/*ml*/
|
|
2102
|
-
ctx[5]) + "; --alignment: " +
|
|
2103
|
-
/*_alignment*/
|
|
2104
|
-
ctx[6] + "; --gap-size: " + (
|
|
2105
|
-
/*gap*/
|
|
2106
|
-
ctx[0] === "relaxed" ? "1rem" : "0.75rem")))) {
|
|
2107
|
-
attr(div, "style", div_style_value);
|
|
2108
|
-
}
|
|
2109
|
-
},
|
|
2110
|
-
|
|
2111
|
-
i: noop,
|
|
2112
|
-
o: noop,
|
|
2113
|
-
|
|
2114
|
-
d(detaching) {
|
|
2115
|
-
if (detaching) detach(div);
|
|
2116
|
-
}
|
|
2117
|
-
|
|
2118
|
-
};
|
|
2119
|
-
}
|
|
2120
|
-
|
|
2121
|
-
function instance$x($$self, $$props, $$invalidate) {
|
|
2122
|
-
let _alignment;
|
|
2123
|
-
|
|
2124
|
-
let {
|
|
2125
|
-
alignment = "start"
|
|
2126
|
-
} = $$props;
|
|
2127
|
-
let {
|
|
2128
|
-
gap = "relaxed"
|
|
2129
|
-
} = $$props;
|
|
2130
|
-
let {
|
|
2131
|
-
testid = ""
|
|
2132
|
-
} = $$props;
|
|
2133
|
-
let {
|
|
2134
|
-
mt = null
|
|
2135
|
-
} = $$props;
|
|
2136
|
-
let {
|
|
2137
|
-
mr = null
|
|
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
|
-
});
|
|
2151
|
-
|
|
2152
|
-
$$self.$$set = $$props => {
|
|
2153
|
-
if ('alignment' in $$props) $$invalidate(7, alignment = $$props.alignment);
|
|
2154
|
-
if ('gap' in $$props) $$invalidate(0, gap = $$props.gap);
|
|
2155
|
-
if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
|
|
2156
|
-
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
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
|
-
};
|
|
2161
|
-
|
|
2162
|
-
$$self.$$.update = () => {
|
|
2163
|
-
if ($$self.$$.dirty &
|
|
2164
|
-
/*alignment*/
|
|
2165
|
-
128) {
|
|
2166
|
-
$$invalidate(6, _alignment = {
|
|
2167
|
-
start: "flex-start",
|
|
2168
|
-
end: "flex-end",
|
|
2169
|
-
center: "center"
|
|
2170
|
-
}[alignment]);
|
|
2171
|
-
}
|
|
2172
|
-
};
|
|
2173
|
-
|
|
2174
|
-
return [gap, testid, mt, mr, mb, ml, _alignment, alignment];
|
|
2175
|
-
}
|
|
2176
|
-
|
|
2177
|
-
class ButtonGroup extends SvelteElement {
|
|
2178
|
-
constructor(options) {
|
|
2179
|
-
super();
|
|
2180
|
-
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>`;
|
|
2181
|
-
init(this, {
|
|
2182
|
-
target: this.shadowRoot,
|
|
2183
|
-
props: attribute_to_object(this.attributes),
|
|
2184
|
-
customElement: true
|
|
2185
|
-
}, instance$x, create_fragment$C, safe_not_equal, {
|
|
2186
|
-
alignment: 7,
|
|
2187
|
-
gap: 0,
|
|
2188
|
-
testid: 1,
|
|
2189
|
-
mt: 2,
|
|
2190
|
-
mr: 3,
|
|
2191
|
-
mb: 4,
|
|
2192
|
-
ml: 5
|
|
2193
|
-
}, null);
|
|
2194
|
-
|
|
2195
|
-
if (options) {
|
|
2196
|
-
if (options.target) {
|
|
2197
|
-
insert(options.target, this, options.anchor);
|
|
2198
|
-
}
|
|
2199
|
-
|
|
2200
|
-
if (options.props) {
|
|
2201
|
-
this.$set(options.props);
|
|
2202
|
-
flush();
|
|
2203
|
-
}
|
|
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
2049
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2292
2050
|
|
|
2293
2051
|
function create_else_block$2(ctx) {
|
|
@@ -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$C(ctx) {
|
|
2490
2248
|
let button;
|
|
2491
2249
|
let button_class_value;
|
|
2492
2250
|
let button_style_value;
|
|
@@ -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$w, create_fragment$
|
|
2492
|
+
}, instance$w, create_fragment$C, safe_not_equal, {
|
|
2735
2493
|
type: 0,
|
|
2736
2494
|
size: 1,
|
|
2737
2495
|
variant: 2,
|
|
@@ -2885,14 +2643,256 @@ 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
|
|
2893
|
-
|
|
2894
|
-
|
|
2895
|
-
|
|
2648
|
+
function create_fragment$B(ctx) {
|
|
2649
|
+
let div;
|
|
2650
|
+
let slot;
|
|
2651
|
+
let div_style_value;
|
|
2652
|
+
return {
|
|
2653
|
+
c() {
|
|
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$v($$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$v, create_fragment$B, 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
2896
|
t = text(
|
|
2897
2897
|
/*heading*/
|
|
2898
2898
|
ctx[5]);
|
|
@@ -3053,7 +3053,7 @@ function create_fragment$A(ctx) {
|
|
|
3053
3053
|
};
|
|
3054
3054
|
}
|
|
3055
3055
|
|
|
3056
|
-
function instance$
|
|
3056
|
+
function instance$u($$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$u, create_fragment$A, safe_not_equal, {
|
|
3114
3114
|
mt: 0,
|
|
3115
3115
|
mr: 1,
|
|
3116
3116
|
mb: 2,
|
|
@@ -3261,230 +3261,16 @@ class CardActions extends SvelteElement {
|
|
|
3261
3261
|
}
|
|
3262
3262
|
|
|
3263
3263
|
customElements.define("goa-card-actions", CardActions);
|
|
3264
|
-
/* libs/web-components/src/components/card
|
|
3264
|
+
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3265
3265
|
|
|
3266
3266
|
function create_fragment$y(ctx) {
|
|
3267
3267
|
let div;
|
|
3268
|
+
let slot;
|
|
3269
|
+
let div_style_value;
|
|
3268
3270
|
return {
|
|
3269
3271
|
c() {
|
|
3270
3272
|
div = element("div");
|
|
3271
|
-
|
|
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
|
-
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3479
|
-
|
|
3480
|
-
function create_fragment$v(ctx) {
|
|
3481
|
-
let div;
|
|
3482
|
-
let slot;
|
|
3483
|
-
let div_style_value;
|
|
3484
|
-
return {
|
|
3485
|
-
c() {
|
|
3486
|
-
div = element("div");
|
|
3487
|
-
slot = element("slot");
|
|
3273
|
+
slot = element("slot");
|
|
3488
3274
|
this.c = noop;
|
|
3489
3275
|
attr(div, "data-testid",
|
|
3490
3276
|
/*testid*/
|
|
@@ -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$t, create_fragment$
|
|
3393
|
+
}, instance$t, create_fragment$y, 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$x(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
|
-
}
|
|
3536
|
+
}
|
|
3752
3537
|
|
|
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$x, safe_not_equal, {}, null);
|
|
3753
3547
|
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
|
|
3757
|
-
|
|
3758
|
-
|
|
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$w(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$w, 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$v(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$s($$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$s, create_fragment$v, 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");
|
|
@@ -4027,7 +4027,7 @@ function create_fragment$u(ctx) {
|
|
|
4027
4027
|
};
|
|
4028
4028
|
}
|
|
4029
4029
|
|
|
4030
|
-
function instance$
|
|
4030
|
+
function instance$r($$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$r, create_fragment$u, safe_not_equal, {
|
|
4146
4146
|
name: 0,
|
|
4147
4147
|
checked: 14,
|
|
4148
4148
|
text: 1,
|
|
@@ -4582,7 +4582,7 @@ function create_fragment$t(ctx) {
|
|
|
4582
4582
|
};
|
|
4583
4583
|
}
|
|
4584
4584
|
|
|
4585
|
-
function instance$
|
|
4585
|
+
function instance$q($$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$q, create_fragment$t, safe_not_equal, {
|
|
4687
4687
|
mt: 0,
|
|
4688
4688
|
mr: 1,
|
|
4689
4689
|
mb: 2,
|
|
@@ -5376,7 +5376,7 @@ function create_fragment$s(ctx) {
|
|
|
5376
5376
|
};
|
|
5377
5377
|
}
|
|
5378
5378
|
|
|
5379
|
-
function instance$
|
|
5379
|
+
function instance$p($$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$p, create_fragment$s, safe_not_equal, {
|
|
5437
5437
|
variant: 6,
|
|
5438
5438
|
size: 7,
|
|
5439
5439
|
message: 0,
|
|
@@ -5642,7 +5642,7 @@ function create_fragment$r(ctx) {
|
|
|
5642
5642
|
};
|
|
5643
5643
|
}
|
|
5644
5644
|
|
|
5645
|
-
function instance$
|
|
5645
|
+
function instance$o($$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$o, create_fragment$r, safe_not_equal, {
|
|
5702
5702
|
type: 0,
|
|
5703
5703
|
accent: 1,
|
|
5704
5704
|
padding: 2,
|
|
@@ -5877,7 +5877,7 @@ function create_fragment$q(ctx) {
|
|
|
5877
5877
|
};
|
|
5878
5878
|
}
|
|
5879
5879
|
|
|
5880
|
-
function instance$
|
|
5880
|
+
function instance$n($$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$n, create_fragment$q, safe_not_equal, {
|
|
5917
5917
|
testid: 0,
|
|
5918
5918
|
mt: 1,
|
|
5919
5919
|
mr: 2,
|
|
@@ -5995,186 +5995,83 @@ class Divider extends SvelteElement {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
|
|
5997
5997
|
customElements.define("goa-divider", Divider);
|
|
5998
|
-
|
|
5999
|
-
/**
|
|
6000
|
-
* Create a `Writable` store that allows both updating and reading by subscription.
|
|
6001
|
-
* @param {*=}value initial value
|
|
6002
|
-
* @param {StartStopNotifier=}start start and stop notifications for subscriptions
|
|
6003
|
-
*/
|
|
6004
|
-
|
|
6005
|
-
function writable(value, start = noop) {
|
|
6006
|
-
let stop;
|
|
6007
|
-
const subscribers = new Set();
|
|
6008
|
-
|
|
6009
|
-
function set(new_value) {
|
|
6010
|
-
if (safe_not_equal(value, new_value)) {
|
|
6011
|
-
value = new_value;
|
|
5998
|
+
/* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.51.0 */
|
|
6012
5999
|
|
|
6013
|
-
|
|
6014
|
-
|
|
6015
|
-
|
|
6000
|
+
function get_each_context_1(ctx, list, i) {
|
|
6001
|
+
const child_ctx = ctx.slice();
|
|
6002
|
+
child_ctx[48] = list[i];
|
|
6003
|
+
child_ctx[52] = i;
|
|
6004
|
+
return child_ctx;
|
|
6005
|
+
}
|
|
6016
6006
|
|
|
6017
|
-
|
|
6018
|
-
|
|
6019
|
-
|
|
6020
|
-
|
|
6021
|
-
|
|
6022
|
-
if (run_queue) {
|
|
6023
|
-
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
|
6024
|
-
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
|
6025
|
-
}
|
|
6026
|
-
|
|
6027
|
-
subscriber_queue.length = 0;
|
|
6028
|
-
}
|
|
6029
|
-
}
|
|
6030
|
-
}
|
|
6031
|
-
}
|
|
6032
|
-
|
|
6033
|
-
function update(fn) {
|
|
6034
|
-
set(fn(value));
|
|
6035
|
-
}
|
|
6036
|
-
|
|
6037
|
-
function subscribe(run, invalidate = noop) {
|
|
6038
|
-
const subscriber = [run, invalidate];
|
|
6039
|
-
subscribers.add(subscriber);
|
|
6040
|
-
|
|
6041
|
-
if (subscribers.size === 1) {
|
|
6042
|
-
stop = start(set) || noop;
|
|
6043
|
-
}
|
|
6044
|
-
|
|
6045
|
-
run(value);
|
|
6046
|
-
return () => {
|
|
6047
|
-
subscribers.delete(subscriber);
|
|
6048
|
-
|
|
6049
|
-
if (subscribers.size === 0) {
|
|
6050
|
-
stop();
|
|
6051
|
-
stop = null;
|
|
6052
|
-
}
|
|
6053
|
-
};
|
|
6054
|
-
}
|
|
6055
|
-
|
|
6056
|
-
return {
|
|
6057
|
-
set,
|
|
6058
|
-
update,
|
|
6059
|
-
subscribe
|
|
6060
|
-
};
|
|
6061
|
-
}
|
|
6062
|
-
|
|
6063
|
-
const stores = {};
|
|
6064
|
-
|
|
6065
|
-
class ContextStoreInternal {
|
|
6066
|
-
constructor() {
|
|
6067
|
-
this.store = writable();
|
|
6068
|
-
}
|
|
6069
|
-
|
|
6070
|
-
subscribe(cb) {
|
|
6071
|
-
this.store.subscribe(state => {
|
|
6072
|
-
if (!state) return;
|
|
6073
|
-
cb(state);
|
|
6074
|
-
});
|
|
6075
|
-
}
|
|
6076
|
-
|
|
6077
|
-
notify(msg) {
|
|
6078
|
-
var _this = this;
|
|
6079
|
-
|
|
6080
|
-
const fn = async function fn() {
|
|
6081
|
-
await tick();
|
|
6082
|
-
|
|
6083
|
-
_this.store.update(() => msg);
|
|
6084
|
-
};
|
|
6085
|
-
|
|
6086
|
-
fn();
|
|
6087
|
-
}
|
|
6088
|
-
|
|
6089
|
-
}
|
|
6090
|
-
|
|
6091
|
-
function getContext(name) {
|
|
6092
|
-
let ctx = stores[name];
|
|
6093
|
-
|
|
6094
|
-
if (!ctx) {
|
|
6095
|
-
ctx = new ContextStoreInternal();
|
|
6096
|
-
}
|
|
6097
|
-
|
|
6098
|
-
stores[name] = ctx;
|
|
6099
|
-
return ctx;
|
|
6100
|
-
}
|
|
6101
|
-
|
|
6102
|
-
function deleteContext(name) {
|
|
6103
|
-
const store = stores[name];
|
|
6104
|
-
if (!store) return;
|
|
6105
|
-
delete stores[name];
|
|
6106
|
-
}
|
|
6107
|
-
/* libs/web-components/src/components/dropdown/Dropdown.svelte generated by Svelte v3.51.0 */
|
|
6108
|
-
|
|
6109
|
-
|
|
6110
|
-
function get_each_context_1(ctx, list, i) {
|
|
6111
|
-
const child_ctx = ctx.slice();
|
|
6112
|
-
child_ctx[47] = list[i];
|
|
6113
|
-
child_ctx[51] = i;
|
|
6114
|
-
return child_ctx;
|
|
6115
|
-
}
|
|
6116
|
-
|
|
6117
|
-
function get_each_context$4(ctx, list, i) {
|
|
6118
|
-
const child_ctx = ctx.slice();
|
|
6119
|
-
child_ctx[47] = list[i];
|
|
6120
|
-
return child_ctx;
|
|
6121
|
-
} // (224:2) {:else}
|
|
6007
|
+
function get_each_context$4(ctx, list, i) {
|
|
6008
|
+
const child_ctx = ctx.slice();
|
|
6009
|
+
child_ctx[48] = list[i];
|
|
6010
|
+
return child_ctx;
|
|
6011
|
+
} // (244:2) {:else}
|
|
6122
6012
|
|
|
6123
6013
|
|
|
6124
6014
|
function create_else_block$1(ctx) {
|
|
6125
6015
|
let t0;
|
|
6016
|
+
let slot;
|
|
6017
|
+
let t1;
|
|
6126
6018
|
let goa_input;
|
|
6127
6019
|
let goa_input_aria_label_value;
|
|
6128
6020
|
let goa_input_data_testid_value;
|
|
6129
|
-
let t1;
|
|
6130
|
-
let ul;
|
|
6131
6021
|
let t2;
|
|
6132
|
-
let
|
|
6022
|
+
let ul;
|
|
6023
|
+
let each_blocks = [];
|
|
6024
|
+
let each_1_lookup = new Map();
|
|
6133
6025
|
let ul_style_value;
|
|
6134
6026
|
let mounted;
|
|
6135
6027
|
let dispose;
|
|
6136
6028
|
let if_block =
|
|
6137
|
-
/*
|
|
6138
|
-
ctx[
|
|
6029
|
+
/*_isMenuVisible*/
|
|
6030
|
+
ctx[15] && create_if_block_1$5(ctx);
|
|
6139
6031
|
let each_value_1 =
|
|
6140
|
-
/*
|
|
6141
|
-
ctx[
|
|
6142
|
-
|
|
6032
|
+
/*_options*/
|
|
6033
|
+
ctx[13];
|
|
6034
|
+
|
|
6035
|
+
const get_key = ctx =>
|
|
6036
|
+
/*index*/
|
|
6037
|
+
ctx[52];
|
|
6143
6038
|
|
|
6144
6039
|
for (let i = 0; i < each_value_1.length; i += 1) {
|
|
6145
|
-
|
|
6040
|
+
let child_ctx = get_each_context_1(ctx, each_value_1, i);
|
|
6041
|
+
let key = get_key(child_ctx);
|
|
6042
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block_1(key, child_ctx));
|
|
6146
6043
|
}
|
|
6147
6044
|
|
|
6148
6045
|
return {
|
|
6149
6046
|
c() {
|
|
6150
6047
|
if (if_block) if_block.c();
|
|
6151
6048
|
t0 = space();
|
|
6152
|
-
|
|
6049
|
+
slot = element("slot");
|
|
6153
6050
|
t1 = space();
|
|
6051
|
+
goa_input = element("goa-input");
|
|
6052
|
+
t2 = space();
|
|
6154
6053
|
ul = element("ul");
|
|
6155
6054
|
|
|
6156
6055
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6157
6056
|
each_blocks[i].c();
|
|
6158
6057
|
}
|
|
6159
6058
|
|
|
6160
|
-
t2 = space();
|
|
6161
|
-
slot = element("slot");
|
|
6162
6059
|
set_custom_element_data(goa_input, "error",
|
|
6163
6060
|
/*error*/
|
|
6164
|
-
ctx[
|
|
6061
|
+
ctx[7]);
|
|
6165
6062
|
set_custom_element_data(goa_input, "disabled",
|
|
6166
6063
|
/*disabled*/
|
|
6167
|
-
ctx[
|
|
6064
|
+
ctx[6]);
|
|
6168
6065
|
set_custom_element_data(goa_input, "leadingicon",
|
|
6169
6066
|
/*leadingicon*/
|
|
6170
|
-
ctx[
|
|
6067
|
+
ctx[2]);
|
|
6171
6068
|
set_custom_element_data(goa_input, "placeholder",
|
|
6172
6069
|
/*placeholder*/
|
|
6173
|
-
ctx[
|
|
6070
|
+
ctx[4]);
|
|
6174
6071
|
set_custom_element_data(goa_input, "aria-controls", "menu");
|
|
6175
6072
|
set_custom_element_data(goa_input, "aria-expanded",
|
|
6176
|
-
/*
|
|
6177
|
-
ctx[
|
|
6073
|
+
/*_isMenuVisible*/
|
|
6074
|
+
ctx[15]);
|
|
6178
6075
|
set_custom_element_data(goa_input, "aria-label", goa_input_aria_label_value =
|
|
6179
6076
|
/*arialabel*/
|
|
6180
6077
|
ctx[1] ||
|
|
@@ -6188,54 +6085,54 @@ function create_else_block$1(ctx) {
|
|
|
6188
6085
|
set_custom_element_data(goa_input, "trailingicon", "chevron-down");
|
|
6189
6086
|
set_custom_element_data(goa_input, "type", "text");
|
|
6190
6087
|
set_custom_element_data(goa_input, "value",
|
|
6191
|
-
/*
|
|
6192
|
-
ctx[
|
|
6088
|
+
/*_selectedLabel*/
|
|
6089
|
+
ctx[14]);
|
|
6193
6090
|
set_custom_element_data(goa_input, "width", "100%");
|
|
6194
6091
|
attr(ul, "id", "menu");
|
|
6195
6092
|
attr(ul, "role", "listbox");
|
|
6196
6093
|
attr(ul, "aria-activedescendant",
|
|
6197
|
-
/*
|
|
6198
|
-
ctx[
|
|
6094
|
+
/*_selectedLabel*/
|
|
6095
|
+
ctx[14]);
|
|
6199
6096
|
attr(ul, "data-testid", "dropdown-menu");
|
|
6200
6097
|
attr(ul, "tabindex", "0");
|
|
6201
6098
|
attr(ul, "class", "dropdown-list");
|
|
6202
6099
|
attr(ul, "style", ul_style_value = `overflow-y: auto; max-height: ${
|
|
6203
6100
|
/*maxheight*/
|
|
6204
|
-
ctx[
|
|
6101
|
+
ctx[3]}`);
|
|
6205
6102
|
toggle_class(ul, "dropdown-active",
|
|
6206
|
-
/*
|
|
6207
|
-
ctx[
|
|
6103
|
+
/*_isMenuVisible*/
|
|
6104
|
+
ctx[15]);
|
|
6208
6105
|
},
|
|
6209
6106
|
|
|
6210
6107
|
m(target, anchor) {
|
|
6211
6108
|
if (if_block) if_block.m(target, anchor);
|
|
6212
6109
|
insert(target, t0, anchor);
|
|
6213
|
-
insert(target,
|
|
6110
|
+
insert(target, slot, anchor);
|
|
6214
6111
|
insert(target, t1, anchor);
|
|
6112
|
+
insert(target, goa_input, anchor);
|
|
6113
|
+
insert(target, t2, anchor);
|
|
6215
6114
|
insert(target, ul, anchor);
|
|
6216
6115
|
|
|
6217
6116
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6218
6117
|
each_blocks[i].m(ul, null);
|
|
6219
6118
|
}
|
|
6220
|
-
|
|
6221
|
-
append(ul, t2);
|
|
6222
|
-
append(ul, slot);
|
|
6223
6119
|
/*ul_binding*/
|
|
6224
6120
|
|
|
6225
|
-
|
|
6121
|
+
|
|
6122
|
+
ctx[33](ul);
|
|
6226
6123
|
|
|
6227
6124
|
if (!mounted) {
|
|
6228
6125
|
dispose = listen(goa_input, "click",
|
|
6229
6126
|
/*showMenu*/
|
|
6230
|
-
ctx[
|
|
6127
|
+
ctx[24]);
|
|
6231
6128
|
mounted = true;
|
|
6232
6129
|
}
|
|
6233
6130
|
},
|
|
6234
6131
|
|
|
6235
6132
|
p(ctx, dirty) {
|
|
6236
6133
|
if (
|
|
6237
|
-
/*
|
|
6238
|
-
ctx[
|
|
6134
|
+
/*_isMenuVisible*/
|
|
6135
|
+
ctx[15]) {
|
|
6239
6136
|
if (if_block) {
|
|
6240
6137
|
if_block.p(ctx, dirty);
|
|
6241
6138
|
} else {
|
|
@@ -6250,42 +6147,42 @@ function create_else_block$1(ctx) {
|
|
|
6250
6147
|
|
|
6251
6148
|
if (dirty[0] &
|
|
6252
6149
|
/*error*/
|
|
6253
|
-
|
|
6150
|
+
128) {
|
|
6254
6151
|
set_custom_element_data(goa_input, "error",
|
|
6255
6152
|
/*error*/
|
|
6256
|
-
ctx[
|
|
6153
|
+
ctx[7]);
|
|
6257
6154
|
}
|
|
6258
6155
|
|
|
6259
6156
|
if (dirty[0] &
|
|
6260
6157
|
/*disabled*/
|
|
6261
|
-
|
|
6158
|
+
64) {
|
|
6262
6159
|
set_custom_element_data(goa_input, "disabled",
|
|
6263
6160
|
/*disabled*/
|
|
6264
|
-
ctx[
|
|
6161
|
+
ctx[6]);
|
|
6265
6162
|
}
|
|
6266
6163
|
|
|
6267
6164
|
if (dirty[0] &
|
|
6268
6165
|
/*leadingicon*/
|
|
6269
|
-
|
|
6166
|
+
4) {
|
|
6270
6167
|
set_custom_element_data(goa_input, "leadingicon",
|
|
6271
6168
|
/*leadingicon*/
|
|
6272
|
-
ctx[
|
|
6169
|
+
ctx[2]);
|
|
6273
6170
|
}
|
|
6274
6171
|
|
|
6275
6172
|
if (dirty[0] &
|
|
6276
6173
|
/*placeholder*/
|
|
6277
|
-
|
|
6174
|
+
16) {
|
|
6278
6175
|
set_custom_element_data(goa_input, "placeholder",
|
|
6279
6176
|
/*placeholder*/
|
|
6280
|
-
ctx[
|
|
6177
|
+
ctx[4]);
|
|
6281
6178
|
}
|
|
6282
6179
|
|
|
6283
6180
|
if (dirty[0] &
|
|
6284
|
-
/*
|
|
6285
|
-
|
|
6181
|
+
/*_isMenuVisible*/
|
|
6182
|
+
32768) {
|
|
6286
6183
|
set_custom_element_data(goa_input, "aria-expanded",
|
|
6287
|
-
/*
|
|
6288
|
-
ctx[
|
|
6184
|
+
/*_isMenuVisible*/
|
|
6185
|
+
ctx[15]);
|
|
6289
6186
|
}
|
|
6290
6187
|
|
|
6291
6188
|
if (dirty[0] &
|
|
@@ -6307,151 +6204,195 @@ function create_else_block$1(ctx) {
|
|
|
6307
6204
|
}
|
|
6308
6205
|
|
|
6309
6206
|
if (dirty[0] &
|
|
6310
|
-
/*
|
|
6311
|
-
|
|
6207
|
+
/*_selectedLabel*/
|
|
6208
|
+
16384) {
|
|
6312
6209
|
set_custom_element_data(goa_input, "value",
|
|
6313
|
-
/*
|
|
6314
|
-
ctx[
|
|
6210
|
+
/*_selectedLabel*/
|
|
6211
|
+
ctx[14]);
|
|
6315
6212
|
}
|
|
6316
6213
|
|
|
6317
6214
|
if (dirty[0] &
|
|
6318
|
-
/*
|
|
6319
|
-
|
|
6215
|
+
/*_options, _values, _highlightedIndex, onSelect*/
|
|
6216
|
+
67186688) {
|
|
6320
6217
|
each_value_1 =
|
|
6321
|
-
/*
|
|
6322
|
-
ctx[
|
|
6323
|
-
|
|
6324
|
-
|
|
6325
|
-
for (i = 0; i < each_value_1.length; i += 1) {
|
|
6326
|
-
const child_ctx = get_each_context_1(ctx, each_value_1, i);
|
|
6327
|
-
|
|
6328
|
-
if (each_blocks[i]) {
|
|
6329
|
-
each_blocks[i].p(child_ctx, dirty);
|
|
6330
|
-
} else {
|
|
6331
|
-
each_blocks[i] = create_each_block_1(child_ctx);
|
|
6332
|
-
each_blocks[i].c();
|
|
6333
|
-
each_blocks[i].m(ul, t2);
|
|
6334
|
-
}
|
|
6335
|
-
}
|
|
6336
|
-
|
|
6337
|
-
for (; i < each_blocks.length; i += 1) {
|
|
6338
|
-
each_blocks[i].d(1);
|
|
6339
|
-
}
|
|
6340
|
-
|
|
6341
|
-
each_blocks.length = each_value_1.length;
|
|
6218
|
+
/*_options*/
|
|
6219
|
+
ctx[13];
|
|
6220
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value_1, each_1_lookup, ul, destroy_block, create_each_block_1, null, get_each_context_1);
|
|
6342
6221
|
}
|
|
6343
6222
|
|
|
6344
6223
|
if (dirty[0] &
|
|
6345
|
-
/*
|
|
6346
|
-
|
|
6224
|
+
/*_selectedLabel*/
|
|
6225
|
+
16384) {
|
|
6347
6226
|
attr(ul, "aria-activedescendant",
|
|
6348
|
-
/*
|
|
6349
|
-
ctx[
|
|
6227
|
+
/*_selectedLabel*/
|
|
6228
|
+
ctx[14]);
|
|
6350
6229
|
}
|
|
6351
6230
|
|
|
6352
6231
|
if (dirty[0] &
|
|
6353
6232
|
/*maxheight*/
|
|
6354
|
-
|
|
6233
|
+
8 && ul_style_value !== (ul_style_value = `overflow-y: auto; max-height: ${
|
|
6355
6234
|
/*maxheight*/
|
|
6356
|
-
ctx[
|
|
6235
|
+
ctx[3]}`)) {
|
|
6357
6236
|
attr(ul, "style", ul_style_value);
|
|
6358
6237
|
}
|
|
6359
6238
|
|
|
6360
6239
|
if (dirty[0] &
|
|
6361
|
-
/*
|
|
6362
|
-
|
|
6240
|
+
/*_isMenuVisible*/
|
|
6241
|
+
32768) {
|
|
6363
6242
|
toggle_class(ul, "dropdown-active",
|
|
6364
|
-
/*
|
|
6365
|
-
ctx[
|
|
6243
|
+
/*_isMenuVisible*/
|
|
6244
|
+
ctx[15]);
|
|
6366
6245
|
}
|
|
6367
6246
|
},
|
|
6368
6247
|
|
|
6369
6248
|
d(detaching) {
|
|
6370
6249
|
if (if_block) if_block.d(detaching);
|
|
6371
6250
|
if (detaching) detach(t0);
|
|
6372
|
-
if (detaching) detach(
|
|
6251
|
+
if (detaching) detach(slot);
|
|
6373
6252
|
if (detaching) detach(t1);
|
|
6253
|
+
if (detaching) detach(goa_input);
|
|
6254
|
+
if (detaching) detach(t2);
|
|
6374
6255
|
if (detaching) detach(ul);
|
|
6375
|
-
|
|
6256
|
+
|
|
6257
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6258
|
+
each_blocks[i].d();
|
|
6259
|
+
}
|
|
6376
6260
|
/*ul_binding*/
|
|
6377
6261
|
|
|
6378
|
-
|
|
6262
|
+
|
|
6263
|
+
ctx[33](null);
|
|
6379
6264
|
mounted = false;
|
|
6380
6265
|
dispose();
|
|
6381
6266
|
}
|
|
6382
6267
|
|
|
6383
6268
|
};
|
|
6384
|
-
} // (
|
|
6269
|
+
} // (225:2) {#if _native}
|
|
6385
6270
|
|
|
6386
6271
|
|
|
6387
6272
|
function create_if_block$a(ctx) {
|
|
6388
6273
|
let select;
|
|
6389
|
-
let
|
|
6390
|
-
let
|
|
6274
|
+
let slot;
|
|
6275
|
+
let select_aria_label_value;
|
|
6391
6276
|
let mounted;
|
|
6392
6277
|
let dispose;
|
|
6393
6278
|
let each_value =
|
|
6394
|
-
/*
|
|
6395
|
-
ctx[
|
|
6396
|
-
|
|
6397
|
-
const get_key = ctx =>
|
|
6398
|
-
/*option*/
|
|
6399
|
-
ctx[47].value;
|
|
6279
|
+
/*_options*/
|
|
6280
|
+
ctx[13];
|
|
6281
|
+
let each_blocks = [];
|
|
6400
6282
|
|
|
6401
6283
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
6402
|
-
|
|
6403
|
-
let key = get_key(child_ctx);
|
|
6404
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$4(key, child_ctx));
|
|
6284
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
|
6405
6285
|
}
|
|
6406
6286
|
|
|
6407
6287
|
return {
|
|
6408
6288
|
c() {
|
|
6409
6289
|
select = element("select");
|
|
6290
|
+
slot = element("slot");
|
|
6410
6291
|
|
|
6411
6292
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6412
6293
|
each_blocks[i].c();
|
|
6413
6294
|
}
|
|
6295
|
+
|
|
6296
|
+
select.disabled =
|
|
6297
|
+
/*_disabled*/
|
|
6298
|
+
ctx[21];
|
|
6299
|
+
attr(select, "aria-label", select_aria_label_value =
|
|
6300
|
+
/*arialabel*/
|
|
6301
|
+
ctx[1] ||
|
|
6302
|
+
/*name*/
|
|
6303
|
+
ctx[0]);
|
|
6304
|
+
toggle_class(select, "error",
|
|
6305
|
+
/*_error*/
|
|
6306
|
+
ctx[23]);
|
|
6414
6307
|
},
|
|
6415
6308
|
|
|
6416
6309
|
m(target, anchor) {
|
|
6417
6310
|
insert(target, select, anchor);
|
|
6311
|
+
append(select, slot);
|
|
6418
6312
|
|
|
6419
6313
|
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
6420
6314
|
each_blocks[i].m(select, null);
|
|
6421
6315
|
}
|
|
6316
|
+
/*select_binding*/
|
|
6317
|
+
|
|
6318
|
+
|
|
6319
|
+
ctx[31](select);
|
|
6422
6320
|
|
|
6423
6321
|
if (!mounted) {
|
|
6424
6322
|
dispose = listen(select, "change",
|
|
6425
6323
|
/*onNativeSelect*/
|
|
6426
|
-
ctx[
|
|
6324
|
+
ctx[27]);
|
|
6427
6325
|
mounted = true;
|
|
6428
6326
|
}
|
|
6429
6327
|
},
|
|
6430
6328
|
|
|
6431
6329
|
p(ctx, dirty) {
|
|
6432
6330
|
if (dirty[0] &
|
|
6433
|
-
/*
|
|
6434
|
-
|
|
6331
|
+
/*_options*/
|
|
6332
|
+
8192) {
|
|
6435
6333
|
each_value =
|
|
6436
|
-
/*
|
|
6437
|
-
ctx[
|
|
6438
|
-
|
|
6334
|
+
/*_options*/
|
|
6335
|
+
ctx[13];
|
|
6336
|
+
let i;
|
|
6337
|
+
|
|
6338
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
6339
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
|
6340
|
+
|
|
6341
|
+
if (each_blocks[i]) {
|
|
6342
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
6343
|
+
} else {
|
|
6344
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
|
6345
|
+
each_blocks[i].c();
|
|
6346
|
+
each_blocks[i].m(select, null);
|
|
6347
|
+
}
|
|
6348
|
+
}
|
|
6349
|
+
|
|
6350
|
+
for (; i < each_blocks.length; i += 1) {
|
|
6351
|
+
each_blocks[i].d(1);
|
|
6352
|
+
}
|
|
6353
|
+
|
|
6354
|
+
each_blocks.length = each_value.length;
|
|
6355
|
+
}
|
|
6356
|
+
|
|
6357
|
+
if (dirty[0] &
|
|
6358
|
+
/*_disabled*/
|
|
6359
|
+
2097152) {
|
|
6360
|
+
select.disabled =
|
|
6361
|
+
/*_disabled*/
|
|
6362
|
+
ctx[21];
|
|
6363
|
+
}
|
|
6364
|
+
|
|
6365
|
+
if (dirty[0] &
|
|
6366
|
+
/*arialabel, name*/
|
|
6367
|
+
3 && select_aria_label_value !== (select_aria_label_value =
|
|
6368
|
+
/*arialabel*/
|
|
6369
|
+
ctx[1] ||
|
|
6370
|
+
/*name*/
|
|
6371
|
+
ctx[0])) {
|
|
6372
|
+
attr(select, "aria-label", select_aria_label_value);
|
|
6373
|
+
}
|
|
6374
|
+
|
|
6375
|
+
if (dirty[0] &
|
|
6376
|
+
/*_error*/
|
|
6377
|
+
8388608) {
|
|
6378
|
+
toggle_class(select, "error",
|
|
6379
|
+
/*_error*/
|
|
6380
|
+
ctx[23]);
|
|
6439
6381
|
}
|
|
6440
6382
|
},
|
|
6441
6383
|
|
|
6442
6384
|
d(detaching) {
|
|
6443
6385
|
if (detaching) detach(select);
|
|
6386
|
+
destroy_each(each_blocks, detaching);
|
|
6387
|
+
/*select_binding*/
|
|
6444
6388
|
|
|
6445
|
-
|
|
6446
|
-
each_blocks[i].d();
|
|
6447
|
-
}
|
|
6448
|
-
|
|
6389
|
+
ctx[31](null);
|
|
6449
6390
|
mounted = false;
|
|
6450
6391
|
dispose();
|
|
6451
6392
|
}
|
|
6452
6393
|
|
|
6453
6394
|
};
|
|
6454
|
-
} // (
|
|
6395
|
+
} // (245:4) {#if _isMenuVisible}
|
|
6455
6396
|
|
|
6456
6397
|
|
|
6457
6398
|
function create_if_block_1$5(ctx) {
|
|
@@ -6474,7 +6415,7 @@ function create_if_block_1$5(ctx) {
|
|
|
6474
6415
|
if (!mounted) {
|
|
6475
6416
|
dispose = listen(div, "click",
|
|
6476
6417
|
/*closeMenu*/
|
|
6477
|
-
ctx[
|
|
6418
|
+
ctx[25]);
|
|
6478
6419
|
mounted = true;
|
|
6479
6420
|
}
|
|
6480
6421
|
},
|
|
@@ -6496,22 +6437,24 @@ function create_if_block_1$5(ctx) {
|
|
|
6496
6437
|
}
|
|
6497
6438
|
|
|
6498
6439
|
};
|
|
6499
|
-
} // (
|
|
6440
|
+
} // (287:6) {#each _options as option, index (index)}
|
|
6500
6441
|
|
|
6501
6442
|
|
|
6502
|
-
function create_each_block_1(ctx) {
|
|
6443
|
+
function create_each_block_1(key_1, ctx) {
|
|
6503
6444
|
let li;
|
|
6504
|
-
let
|
|
6445
|
+
let t0_value = (
|
|
6505
6446
|
/*option*/
|
|
6506
|
-
ctx[
|
|
6447
|
+
ctx[48].label ||
|
|
6507
6448
|
/*option*/
|
|
6508
|
-
ctx[
|
|
6509
|
-
let
|
|
6449
|
+
ctx[48].value) + "";
|
|
6450
|
+
let t0;
|
|
6451
|
+
let t1;
|
|
6510
6452
|
let li_id_value;
|
|
6511
6453
|
let li_aria_label_value;
|
|
6512
6454
|
let li_aria_selected_value;
|
|
6513
6455
|
let li_data_testid_value;
|
|
6514
6456
|
let li_data_index_value;
|
|
6457
|
+
let li_data_value_value;
|
|
6515
6458
|
let li_style_value;
|
|
6516
6459
|
let mounted;
|
|
6517
6460
|
let dispose;
|
|
@@ -6519,54 +6462,63 @@ function create_each_block_1(ctx) {
|
|
|
6519
6462
|
function click_handler() {
|
|
6520
6463
|
return (
|
|
6521
6464
|
/*click_handler*/
|
|
6522
|
-
ctx[
|
|
6465
|
+
ctx[32](
|
|
6523
6466
|
/*option*/
|
|
6524
|
-
ctx[
|
|
6467
|
+
ctx[48])
|
|
6525
6468
|
);
|
|
6526
6469
|
}
|
|
6527
6470
|
|
|
6528
6471
|
return {
|
|
6472
|
+
key: key_1,
|
|
6473
|
+
first: null,
|
|
6474
|
+
|
|
6529
6475
|
c() {
|
|
6530
6476
|
li = element("li");
|
|
6531
|
-
|
|
6477
|
+
t0 = text(t0_value);
|
|
6478
|
+
t1 = space();
|
|
6532
6479
|
attr(li, "id", li_id_value =
|
|
6533
6480
|
/*option*/
|
|
6534
|
-
ctx[
|
|
6481
|
+
ctx[48].label);
|
|
6535
6482
|
attr(li, "role", "option");
|
|
6536
6483
|
attr(li, "aria-label", li_aria_label_value =
|
|
6537
6484
|
/*option*/
|
|
6538
|
-
ctx[
|
|
6485
|
+
ctx[48].label ||
|
|
6539
6486
|
/*option*/
|
|
6540
|
-
ctx[
|
|
6487
|
+
ctx[48].value);
|
|
6541
6488
|
attr(li, "aria-selected", li_aria_selected_value =
|
|
6542
6489
|
/*_values*/
|
|
6543
|
-
ctx[
|
|
6490
|
+
ctx[12].includes(
|
|
6544
6491
|
/*option*/
|
|
6545
|
-
ctx[
|
|
6546
|
-
attr(li, "class", "dropdown-
|
|
6492
|
+
ctx[48].value) ? "true" : "false");
|
|
6493
|
+
attr(li, "class", "dropdown-item");
|
|
6547
6494
|
attr(li, "data-testid", li_data_testid_value = `dropdown-item-${
|
|
6548
6495
|
/*option*/
|
|
6549
|
-
ctx[
|
|
6496
|
+
ctx[48].value}`);
|
|
6550
6497
|
attr(li, "data-index", li_data_index_value =
|
|
6551
6498
|
/*index*/
|
|
6552
|
-
ctx[
|
|
6499
|
+
ctx[52]);
|
|
6500
|
+
attr(li, "data-value", li_data_value_value =
|
|
6501
|
+
/*option*/
|
|
6502
|
+
ctx[48].value);
|
|
6553
6503
|
attr(li, "style", li_style_value = `display: ${"block"}`);
|
|
6554
|
-
toggle_class(li, "dropdown-
|
|
6555
|
-
toggle_class(li, "dropdown-
|
|
6504
|
+
toggle_class(li, "dropdown-item--disabled", false);
|
|
6505
|
+
toggle_class(li, "dropdown-item--tabbed",
|
|
6556
6506
|
/*index*/
|
|
6557
|
-
ctx[
|
|
6558
|
-
/*
|
|
6559
|
-
ctx[
|
|
6560
|
-
toggle_class(li, "dropdown-
|
|
6507
|
+
ctx[52] ===
|
|
6508
|
+
/*_highlightedIndex*/
|
|
6509
|
+
ctx[16]);
|
|
6510
|
+
toggle_class(li, "dropdown-item--selected",
|
|
6561
6511
|
/*_values*/
|
|
6562
|
-
ctx[
|
|
6512
|
+
ctx[12].includes(
|
|
6563
6513
|
/*option*/
|
|
6564
|
-
ctx[
|
|
6514
|
+
ctx[48].value));
|
|
6515
|
+
this.first = li;
|
|
6565
6516
|
},
|
|
6566
6517
|
|
|
6567
6518
|
m(target, anchor) {
|
|
6568
6519
|
insert(target, li, anchor);
|
|
6569
|
-
append(li,
|
|
6520
|
+
append(li, t0);
|
|
6521
|
+
append(li, t1);
|
|
6570
6522
|
|
|
6571
6523
|
if (!mounted) {
|
|
6572
6524
|
dispose = listen(li, "click", click_handler);
|
|
@@ -6577,67 +6529,83 @@ function create_each_block_1(ctx) {
|
|
|
6577
6529
|
p(new_ctx, dirty) {
|
|
6578
6530
|
ctx = new_ctx;
|
|
6579
6531
|
if (dirty[0] &
|
|
6580
|
-
/*
|
|
6581
|
-
|
|
6532
|
+
/*_options*/
|
|
6533
|
+
8192 && t0_value !== (t0_value = (
|
|
6582
6534
|
/*option*/
|
|
6583
|
-
ctx[
|
|
6535
|
+
ctx[48].label ||
|
|
6584
6536
|
/*option*/
|
|
6585
|
-
ctx[
|
|
6537
|
+
ctx[48].value) + "")) set_data(t0, t0_value);
|
|
6586
6538
|
|
|
6587
6539
|
if (dirty[0] &
|
|
6588
|
-
/*
|
|
6589
|
-
|
|
6540
|
+
/*_options*/
|
|
6541
|
+
8192 && li_id_value !== (li_id_value =
|
|
6590
6542
|
/*option*/
|
|
6591
|
-
ctx[
|
|
6543
|
+
ctx[48].label)) {
|
|
6592
6544
|
attr(li, "id", li_id_value);
|
|
6593
6545
|
}
|
|
6594
6546
|
|
|
6595
6547
|
if (dirty[0] &
|
|
6596
|
-
/*
|
|
6597
|
-
|
|
6548
|
+
/*_options*/
|
|
6549
|
+
8192 && li_aria_label_value !== (li_aria_label_value =
|
|
6598
6550
|
/*option*/
|
|
6599
|
-
ctx[
|
|
6551
|
+
ctx[48].label ||
|
|
6600
6552
|
/*option*/
|
|
6601
|
-
ctx[
|
|
6553
|
+
ctx[48].value)) {
|
|
6602
6554
|
attr(li, "aria-label", li_aria_label_value);
|
|
6603
6555
|
}
|
|
6604
6556
|
|
|
6605
6557
|
if (dirty[0] &
|
|
6606
|
-
/*_values,
|
|
6607
|
-
|
|
6558
|
+
/*_values, _options*/
|
|
6559
|
+
12288 && li_aria_selected_value !== (li_aria_selected_value =
|
|
6608
6560
|
/*_values*/
|
|
6609
|
-
ctx[
|
|
6561
|
+
ctx[12].includes(
|
|
6610
6562
|
/*option*/
|
|
6611
|
-
ctx[
|
|
6563
|
+
ctx[48].value) ? "true" : "false")) {
|
|
6612
6564
|
attr(li, "aria-selected", li_aria_selected_value);
|
|
6613
6565
|
}
|
|
6614
6566
|
|
|
6615
6567
|
if (dirty[0] &
|
|
6616
|
-
/*
|
|
6617
|
-
|
|
6568
|
+
/*_options*/
|
|
6569
|
+
8192 && li_data_testid_value !== (li_data_testid_value = `dropdown-item-${
|
|
6618
6570
|
/*option*/
|
|
6619
|
-
ctx[
|
|
6571
|
+
ctx[48].value}`)) {
|
|
6620
6572
|
attr(li, "data-testid", li_data_testid_value);
|
|
6621
6573
|
}
|
|
6622
6574
|
|
|
6623
6575
|
if (dirty[0] &
|
|
6624
|
-
/*
|
|
6625
|
-
|
|
6626
|
-
|
|
6576
|
+
/*_options*/
|
|
6577
|
+
8192 && li_data_index_value !== (li_data_index_value =
|
|
6578
|
+
/*index*/
|
|
6579
|
+
ctx[52])) {
|
|
6580
|
+
attr(li, "data-index", li_data_index_value);
|
|
6581
|
+
}
|
|
6582
|
+
|
|
6583
|
+
if (dirty[0] &
|
|
6584
|
+
/*_options*/
|
|
6585
|
+
8192 && li_data_value_value !== (li_data_value_value =
|
|
6586
|
+
/*option*/
|
|
6587
|
+
ctx[48].value)) {
|
|
6588
|
+
attr(li, "data-value", li_data_value_value);
|
|
6589
|
+
}
|
|
6590
|
+
|
|
6591
|
+
if (dirty[0] &
|
|
6592
|
+
/*_options, _highlightedIndex*/
|
|
6593
|
+
73728) {
|
|
6594
|
+
toggle_class(li, "dropdown-item--tabbed",
|
|
6627
6595
|
/*index*/
|
|
6628
|
-
ctx[
|
|
6629
|
-
/*
|
|
6630
|
-
ctx[
|
|
6596
|
+
ctx[52] ===
|
|
6597
|
+
/*_highlightedIndex*/
|
|
6598
|
+
ctx[16]);
|
|
6631
6599
|
}
|
|
6632
6600
|
|
|
6633
6601
|
if (dirty[0] &
|
|
6634
|
-
/*_values,
|
|
6635
|
-
|
|
6636
|
-
toggle_class(li, "dropdown-
|
|
6602
|
+
/*_values, _options*/
|
|
6603
|
+
12288) {
|
|
6604
|
+
toggle_class(li, "dropdown-item--selected",
|
|
6637
6605
|
/*_values*/
|
|
6638
|
-
ctx[
|
|
6606
|
+
ctx[12].includes(
|
|
6639
6607
|
/*option*/
|
|
6640
|
-
ctx[
|
|
6608
|
+
ctx[48].value));
|
|
6641
6609
|
}
|
|
6642
6610
|
},
|
|
6643
6611
|
|
|
@@ -6648,44 +6616,34 @@ function create_each_block_1(ctx) {
|
|
|
6648
6616
|
}
|
|
6649
6617
|
|
|
6650
6618
|
};
|
|
6651
|
-
} // (
|
|
6619
|
+
} // (234:6) {#each _options as option}
|
|
6652
6620
|
|
|
6653
6621
|
|
|
6654
|
-
function create_each_block$4(
|
|
6622
|
+
function create_each_block$4(ctx) {
|
|
6655
6623
|
let option;
|
|
6656
|
-
let t0_value =
|
|
6624
|
+
let t0_value =
|
|
6657
6625
|
/*option*/
|
|
6658
|
-
ctx[
|
|
6659
|
-
/*option*/
|
|
6660
|
-
ctx[47].value) + "";
|
|
6626
|
+
ctx[48].label + "";
|
|
6661
6627
|
let t0;
|
|
6662
6628
|
let t1;
|
|
6663
6629
|
let option_selected_value;
|
|
6664
6630
|
let option_value_value;
|
|
6665
6631
|
let option_aria_label_value;
|
|
6666
6632
|
return {
|
|
6667
|
-
key: key_1,
|
|
6668
|
-
first: null,
|
|
6669
|
-
|
|
6670
6633
|
c() {
|
|
6671
6634
|
option = element("option");
|
|
6672
6635
|
t0 = text(t0_value);
|
|
6673
6636
|
t1 = space();
|
|
6674
6637
|
option.selected = option_selected_value =
|
|
6675
6638
|
/*option*/
|
|
6676
|
-
ctx[
|
|
6677
|
-
/*value*/
|
|
6678
|
-
ctx[2];
|
|
6639
|
+
ctx[48].selected;
|
|
6679
6640
|
option.__value = option_value_value =
|
|
6680
6641
|
/*option*/
|
|
6681
|
-
ctx[
|
|
6642
|
+
ctx[48].value;
|
|
6682
6643
|
option.value = option.__value;
|
|
6683
6644
|
attr(option, "aria-label", option_aria_label_value =
|
|
6684
6645
|
/*option*/
|
|
6685
|
-
ctx[
|
|
6686
|
-
/*option*/
|
|
6687
|
-
ctx[47].value);
|
|
6688
|
-
this.first = option;
|
|
6646
|
+
ctx[48].label);
|
|
6689
6647
|
},
|
|
6690
6648
|
|
|
6691
6649
|
m(target, anchor) {
|
|
@@ -6694,42 +6652,35 @@ function create_each_block$4(key_1, ctx) {
|
|
|
6694
6652
|
append(option, t1);
|
|
6695
6653
|
},
|
|
6696
6654
|
|
|
6697
|
-
p(
|
|
6698
|
-
ctx = new_ctx;
|
|
6655
|
+
p(ctx, dirty) {
|
|
6699
6656
|
if (dirty[0] &
|
|
6700
|
-
/*
|
|
6701
|
-
|
|
6702
|
-
/*option*/
|
|
6703
|
-
ctx[47].label ||
|
|
6657
|
+
/*_options*/
|
|
6658
|
+
8192 && t0_value !== (t0_value =
|
|
6704
6659
|
/*option*/
|
|
6705
|
-
ctx[
|
|
6660
|
+
ctx[48].label + "")) set_data(t0, t0_value);
|
|
6706
6661
|
|
|
6707
6662
|
if (dirty[0] &
|
|
6708
|
-
/*
|
|
6709
|
-
|
|
6663
|
+
/*_options*/
|
|
6664
|
+
8192 && option_selected_value !== (option_selected_value =
|
|
6710
6665
|
/*option*/
|
|
6711
|
-
ctx[
|
|
6712
|
-
/*value*/
|
|
6713
|
-
ctx[2])) {
|
|
6666
|
+
ctx[48].selected)) {
|
|
6714
6667
|
option.selected = option_selected_value;
|
|
6715
6668
|
}
|
|
6716
6669
|
|
|
6717
6670
|
if (dirty[0] &
|
|
6718
|
-
/*
|
|
6719
|
-
|
|
6671
|
+
/*_options*/
|
|
6672
|
+
8192 && option_value_value !== (option_value_value =
|
|
6720
6673
|
/*option*/
|
|
6721
|
-
ctx[
|
|
6674
|
+
ctx[48].value)) {
|
|
6722
6675
|
option.__value = option_value_value;
|
|
6723
6676
|
option.value = option.__value;
|
|
6724
6677
|
}
|
|
6725
6678
|
|
|
6726
6679
|
if (dirty[0] &
|
|
6727
|
-
/*
|
|
6728
|
-
|
|
6729
|
-
/*option*/
|
|
6730
|
-
ctx[47].label ||
|
|
6680
|
+
/*_options*/
|
|
6681
|
+
8192 && option_aria_label_value !== (option_aria_label_value =
|
|
6731
6682
|
/*option*/
|
|
6732
|
-
ctx[
|
|
6683
|
+
ctx[48].label)) {
|
|
6733
6684
|
attr(option, "aria-label", option_aria_label_value);
|
|
6734
6685
|
}
|
|
6735
6686
|
},
|
|
@@ -6749,7 +6700,7 @@ function create_fragment$p(ctx) {
|
|
|
6749
6700
|
function select_block_type(ctx, dirty) {
|
|
6750
6701
|
if (
|
|
6751
6702
|
/*_native*/
|
|
6752
|
-
ctx[
|
|
6703
|
+
ctx[22]) return create_if_block$a;
|
|
6753
6704
|
return create_else_block$1;
|
|
6754
6705
|
}
|
|
6755
6706
|
|
|
@@ -6767,22 +6718,22 @@ function create_fragment$p(ctx) {
|
|
|
6767
6718
|
attr(div, "style", div_style_value = `
|
|
6768
6719
|
${calculateMargin(
|
|
6769
6720
|
/*mt*/
|
|
6770
|
-
ctx[
|
|
6721
|
+
ctx[8],
|
|
6771
6722
|
/*mr*/
|
|
6772
|
-
ctx[
|
|
6723
|
+
ctx[9],
|
|
6773
6724
|
/*mb*/
|
|
6774
|
-
ctx[
|
|
6725
|
+
ctx[10],
|
|
6775
6726
|
/*ml*/
|
|
6776
|
-
ctx[
|
|
6727
|
+
ctx[11])}
|
|
6777
6728
|
--width: ${
|
|
6778
6729
|
/*width*/
|
|
6779
|
-
ctx[
|
|
6780
|
-
/*
|
|
6781
|
-
ctx[
|
|
6730
|
+
ctx[5] ||
|
|
6731
|
+
/*_computedWidth*/
|
|
6732
|
+
ctx[17]}
|
|
6782
6733
|
`);
|
|
6783
6734
|
toggle_class(div, "dropdown-native",
|
|
6784
6735
|
/*_native*/
|
|
6785
|
-
ctx[
|
|
6736
|
+
ctx[22]);
|
|
6786
6737
|
},
|
|
6787
6738
|
|
|
6788
6739
|
m(target, anchor) {
|
|
@@ -6790,7 +6741,7 @@ function create_fragment$p(ctx) {
|
|
|
6790
6741
|
if_block.m(div, null);
|
|
6791
6742
|
/*div_binding*/
|
|
6792
6743
|
|
|
6793
|
-
ctx[
|
|
6744
|
+
ctx[34](div);
|
|
6794
6745
|
},
|
|
6795
6746
|
|
|
6796
6747
|
p(ctx, dirty) {
|
|
@@ -6815,32 +6766,32 @@ function create_fragment$p(ctx) {
|
|
|
6815
6766
|
}
|
|
6816
6767
|
|
|
6817
6768
|
if (dirty[0] &
|
|
6818
|
-
/*mt, mr, mb, ml, width,
|
|
6819
|
-
|
|
6769
|
+
/*mt, mr, mb, ml, width, _computedWidth*/
|
|
6770
|
+
134944 && div_style_value !== (div_style_value = `
|
|
6820
6771
|
${calculateMargin(
|
|
6821
6772
|
/*mt*/
|
|
6822
|
-
ctx[
|
|
6773
|
+
ctx[8],
|
|
6823
6774
|
/*mr*/
|
|
6824
|
-
ctx[
|
|
6775
|
+
ctx[9],
|
|
6825
6776
|
/*mb*/
|
|
6826
|
-
ctx[
|
|
6777
|
+
ctx[10],
|
|
6827
6778
|
/*ml*/
|
|
6828
|
-
ctx[
|
|
6779
|
+
ctx[11])}
|
|
6829
6780
|
--width: ${
|
|
6830
6781
|
/*width*/
|
|
6831
|
-
ctx[
|
|
6832
|
-
/*
|
|
6833
|
-
ctx[
|
|
6782
|
+
ctx[5] ||
|
|
6783
|
+
/*_computedWidth*/
|
|
6784
|
+
ctx[17]}
|
|
6834
6785
|
`)) {
|
|
6835
6786
|
attr(div, "style", div_style_value);
|
|
6836
6787
|
}
|
|
6837
6788
|
|
|
6838
6789
|
if (dirty[0] &
|
|
6839
6790
|
/*_native*/
|
|
6840
|
-
|
|
6791
|
+
4194304) {
|
|
6841
6792
|
toggle_class(div, "dropdown-native",
|
|
6842
6793
|
/*_native*/
|
|
6843
|
-
ctx[
|
|
6794
|
+
ctx[22]);
|
|
6844
6795
|
}
|
|
6845
6796
|
},
|
|
6846
6797
|
|
|
@@ -6852,17 +6803,31 @@ function create_fragment$p(ctx) {
|
|
|
6852
6803
|
if_block.d();
|
|
6853
6804
|
/*div_binding*/
|
|
6854
6805
|
|
|
6855
|
-
ctx[
|
|
6806
|
+
ctx[34](null);
|
|
6856
6807
|
}
|
|
6857
6808
|
|
|
6858
6809
|
};
|
|
6859
6810
|
}
|
|
6860
6811
|
|
|
6861
|
-
|
|
6812
|
+
function getCustomDropdownWidth(options) {
|
|
6813
|
+
let width;
|
|
6814
|
+
let maxCount = 0;
|
|
6815
|
+
options.forEach(option => {
|
|
6816
|
+
const label = option.label || option.value || "";
|
|
6862
6817
|
|
|
6863
|
-
|
|
6818
|
+
if (!width && maxCount < label.length) {
|
|
6819
|
+
maxCount = label.length;
|
|
6820
|
+
width = `${Math.max(20, maxCount + 12)}ch`;
|
|
6821
|
+
}
|
|
6822
|
+
});
|
|
6823
|
+
return width;
|
|
6824
|
+
}
|
|
6825
|
+
|
|
6826
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
6864
6827
|
let _disabled;
|
|
6865
6828
|
|
|
6829
|
+
let _error;
|
|
6830
|
+
|
|
6866
6831
|
let _multiselect;
|
|
6867
6832
|
|
|
6868
6833
|
let _native;
|
|
@@ -6880,7 +6845,7 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
6880
6845
|
leadingicon = null
|
|
6881
6846
|
} = $$props;
|
|
6882
6847
|
let {
|
|
6883
|
-
maxheight =
|
|
6848
|
+
maxheight = "276px"
|
|
6884
6849
|
} = $$props;
|
|
6885
6850
|
let {
|
|
6886
6851
|
placeholder = ""
|
|
@@ -6914,38 +6879,86 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
6914
6879
|
} = $$props; // Private
|
|
6915
6880
|
|
|
6916
6881
|
let _values = [];
|
|
6917
|
-
let
|
|
6918
|
-
let
|
|
6919
|
-
let
|
|
6920
|
-
let
|
|
6921
|
-
|
|
6922
|
-
let
|
|
6923
|
-
|
|
6924
|
-
let
|
|
6925
|
-
|
|
6926
|
-
let
|
|
6927
|
-
|
|
6928
|
-
|
|
6929
|
-
|
|
6930
|
-
|
|
6882
|
+
let _options = [];
|
|
6883
|
+
let _selectedLabel = "";
|
|
6884
|
+
let _isMenuVisible = false;
|
|
6885
|
+
let _highlightedIndex = 0;
|
|
6886
|
+
|
|
6887
|
+
let _computedWidth;
|
|
6888
|
+
|
|
6889
|
+
let _el;
|
|
6890
|
+
|
|
6891
|
+
let _menuEl;
|
|
6892
|
+
|
|
6893
|
+
let _selectEl;
|
|
6894
|
+
|
|
6895
|
+
onMount(async () => {
|
|
6896
|
+
await tick();
|
|
6897
|
+
$$invalidate(12, _values = parseValues());
|
|
6898
|
+
$$invalidate(13, _options = getOptions());
|
|
6899
|
+
|
|
6900
|
+
if (!_native) {
|
|
6901
|
+
$$invalidate(17, _computedWidth = getCustomDropdownWidth(_options));
|
|
6902
|
+
addKeyboardEventListeners();
|
|
6903
|
+
setHighlightedIndexToSelected();
|
|
6904
|
+
}
|
|
6931
6905
|
});
|
|
6932
6906
|
onDestroy(() => {
|
|
6933
6907
|
removeKeyboardEventListeners();
|
|
6934
|
-
deleteContext(name);
|
|
6935
6908
|
}); // Functions
|
|
6936
6909
|
|
|
6910
|
+
function getChildren() {
|
|
6911
|
+
const slot = _el.querySelector("slot");
|
|
6912
|
+
|
|
6913
|
+
if (slot) {
|
|
6914
|
+
// default
|
|
6915
|
+
return slot.assignedElements();
|
|
6916
|
+
} // unit tests
|
|
6917
|
+
|
|
6918
|
+
|
|
6919
|
+
const el = _native ? _selectEl : _el;
|
|
6920
|
+
return [...el.children];
|
|
6921
|
+
} // Create a list of the options based on the children within the slot
|
|
6922
|
+
// The children don't have to be goa-dropdown-item elements. Any child element
|
|
6923
|
+
// work as long as it has a value and label content
|
|
6924
|
+
|
|
6925
|
+
|
|
6926
|
+
function getOptions() {
|
|
6927
|
+
const children = getChildren();
|
|
6928
|
+
return children.map(el => {
|
|
6929
|
+
const option = el;
|
|
6930
|
+
const value = el.getAttribute("value") || option.value;
|
|
6931
|
+
const label = el.getAttribute("label") || option.label || value;
|
|
6932
|
+
|
|
6933
|
+
const selected = _values.includes(value);
|
|
6934
|
+
|
|
6935
|
+
if (selected) {
|
|
6936
|
+
$$invalidate(14, _selectedLabel = label);
|
|
6937
|
+
$$invalidate(12, _values = [value]);
|
|
6938
|
+
}
|
|
6939
|
+
|
|
6940
|
+
return {
|
|
6941
|
+
selected,
|
|
6942
|
+
value,
|
|
6943
|
+
label
|
|
6944
|
+
};
|
|
6945
|
+
});
|
|
6946
|
+
}
|
|
6947
|
+
|
|
6937
6948
|
function addKeyboardEventListeners() {
|
|
6938
|
-
|
|
6939
|
-
|
|
6949
|
+
_el.addEventListener("focus", onFocus, true);
|
|
6950
|
+
|
|
6951
|
+
_el.addEventListener("blur", onBlur, true);
|
|
6940
6952
|
}
|
|
6941
6953
|
|
|
6942
6954
|
function removeKeyboardEventListeners() {
|
|
6943
|
-
|
|
6944
|
-
|
|
6945
|
-
|
|
6955
|
+
_el.removeEventListener("focus", onFocus, true);
|
|
6956
|
+
|
|
6957
|
+
_el.removeEventListener("blur", onBlur, true);
|
|
6958
|
+
} // parse and convert values to strings to avoid later type comparison issues
|
|
6959
|
+
|
|
6946
6960
|
|
|
6947
6961
|
function parseValues() {
|
|
6948
|
-
// parse and convert values to strings to avoid later type comparison issues
|
|
6949
6962
|
let rawValue;
|
|
6950
6963
|
|
|
6951
6964
|
try {
|
|
@@ -6956,84 +6969,66 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
6956
6969
|
|
|
6957
6970
|
const rawValues = typeof rawValue === "object" ? rawValue : [rawValue]; // convert all values to strings to avoid later type comparison issues
|
|
6958
6971
|
|
|
6959
|
-
|
|
6960
|
-
}
|
|
6961
|
-
|
|
6962
|
-
function bindContext() {
|
|
6963
|
-
ctx = getContext(name);
|
|
6964
|
-
ctx.subscribe(data => {
|
|
6965
|
-
const _data = data;
|
|
6966
|
-
|
|
6967
|
-
const selected = _values.includes(_data.value);
|
|
6968
|
-
|
|
6969
|
-
const label = _data.label || _data.value;
|
|
6970
|
-
$$invalidate(16, options = [...options, Object.assign(Object.assign({}, _data), {
|
|
6971
|
-
selected
|
|
6972
|
-
})]);
|
|
6973
|
-
|
|
6974
|
-
if (selected) {
|
|
6975
|
-
$$invalidate(17, selectedLabel = label);
|
|
6976
|
-
}
|
|
6977
|
-
|
|
6978
|
-
if (!width && maxLetterCount < label.length) {
|
|
6979
|
-
maxLetterCount = label.length;
|
|
6980
|
-
$$invalidate(20, computedWidth = `${Math.max(20, maxLetterCount + 12)}ch`);
|
|
6981
|
-
}
|
|
6982
|
-
|
|
6983
|
-
setHighlightedIndexToSelected();
|
|
6984
|
-
});
|
|
6972
|
+
return rawValues.map(val => `${val}`);
|
|
6985
6973
|
}
|
|
6986
6974
|
|
|
6987
6975
|
async function showMenu() {
|
|
6988
|
-
if (_disabled ||
|
|
6976
|
+
if (_disabled || _isMenuVisible) {
|
|
6989
6977
|
return;
|
|
6990
6978
|
}
|
|
6991
6979
|
|
|
6992
|
-
$$invalidate(
|
|
6980
|
+
$$invalidate(15, _isMenuVisible = true);
|
|
6993
6981
|
await tick(); // hide menu on blur
|
|
6994
6982
|
|
|
6995
|
-
|
|
6983
|
+
_menuEl.addEventListener("blur", closeMenu); // bind up/down arrows to navigate options
|
|
6996
6984
|
|
|
6997
|
-
|
|
6985
|
+
|
|
6986
|
+
_menuEl.addEventListener("mouseover", onHighlight);
|
|
6998
6987
|
}
|
|
6999
6988
|
|
|
7000
6989
|
function closeMenu() {
|
|
7001
|
-
|
|
7002
|
-
|
|
6990
|
+
_menuEl.removeEventListener("blur", closeMenu);
|
|
6991
|
+
|
|
6992
|
+
_menuEl.removeEventListener("mouseover", onHighlight);
|
|
6993
|
+
|
|
7003
6994
|
setHighlightedIndexToSelected();
|
|
7004
|
-
$$invalidate(
|
|
6995
|
+
$$invalidate(15, _isMenuVisible = false);
|
|
7005
6996
|
}
|
|
7006
6997
|
|
|
7007
6998
|
function setHighlightedIndexToSelected() {
|
|
7008
|
-
$$invalidate(
|
|
6999
|
+
$$invalidate(16, _highlightedIndex = _options.findIndex(option => _values.includes(option.value)));
|
|
7009
7000
|
} // Event handlers
|
|
7010
7001
|
|
|
7002
|
+
/**
|
|
7003
|
+
* @property value the selected value
|
|
7004
|
+
*/
|
|
7005
|
+
|
|
7011
7006
|
|
|
7012
7007
|
function onSelect(value, label, close) {
|
|
7013
7008
|
if (_disabled) return;
|
|
7014
|
-
$$invalidate(
|
|
7009
|
+
$$invalidate(14, _selectedLabel = label);
|
|
7010
|
+
let detail;
|
|
7015
7011
|
|
|
7016
7012
|
if (_multiselect) {
|
|
7017
7013
|
_values.push(value);
|
|
7018
7014
|
|
|
7019
|
-
|
|
7020
|
-
|
|
7021
|
-
|
|
7022
|
-
|
|
7023
|
-
values: _values
|
|
7024
|
-
}
|
|
7025
|
-
}));
|
|
7015
|
+
detail = {
|
|
7016
|
+
name,
|
|
7017
|
+
values: _values
|
|
7018
|
+
};
|
|
7026
7019
|
} else {
|
|
7027
|
-
$$invalidate(
|
|
7028
|
-
|
|
7029
|
-
|
|
7030
|
-
|
|
7031
|
-
|
|
7032
|
-
value
|
|
7033
|
-
}
|
|
7034
|
-
}));
|
|
7020
|
+
$$invalidate(12, _values = [value]);
|
|
7021
|
+
detail = {
|
|
7022
|
+
name,
|
|
7023
|
+
value
|
|
7024
|
+
};
|
|
7035
7025
|
}
|
|
7036
7026
|
|
|
7027
|
+
_el.dispatchEvent(new CustomEvent("_change", {
|
|
7028
|
+
composed: true,
|
|
7029
|
+
detail
|
|
7030
|
+
}));
|
|
7031
|
+
|
|
7037
7032
|
if (close) {
|
|
7038
7033
|
closeMenu();
|
|
7039
7034
|
}
|
|
@@ -7043,18 +7038,18 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
7043
7038
|
switch (e.key) {
|
|
7044
7039
|
case " ":
|
|
7045
7040
|
case "Enter":
|
|
7046
|
-
|
|
7041
|
+
_isMenuVisible ? closeMenu() : showMenu();
|
|
7047
7042
|
e.preventDefault();
|
|
7048
7043
|
break;
|
|
7049
7044
|
|
|
7050
7045
|
case "Escape":
|
|
7051
|
-
|
|
7046
|
+
_isMenuVisible && closeMenu();
|
|
7052
7047
|
e.preventDefault();
|
|
7053
7048
|
break;
|
|
7054
7049
|
|
|
7055
7050
|
case "ArrowDown":
|
|
7056
7051
|
if (e.altKey) {
|
|
7057
|
-
|
|
7052
|
+
_isMenuVisible ? closeMenu() : showMenu();
|
|
7058
7053
|
break;
|
|
7059
7054
|
}
|
|
7060
7055
|
|
|
@@ -7065,7 +7060,7 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
7065
7060
|
|
|
7066
7061
|
case "ArrowUp":
|
|
7067
7062
|
if (e.altKey) {
|
|
7068
|
-
|
|
7063
|
+
_isMenuVisible ? closeMenu() : showMenu();
|
|
7069
7064
|
break;
|
|
7070
7065
|
}
|
|
7071
7066
|
|
|
@@ -7077,141 +7072,134 @@ function instance$n($$self, $$props, $$invalidate) {
|
|
|
7077
7072
|
};
|
|
7078
7073
|
|
|
7079
7074
|
function _handleArrowDown() {
|
|
7080
|
-
if (
|
|
7081
|
-
$$invalidate(
|
|
7082
|
-
onSelect(
|
|
7075
|
+
if (_highlightedIndex < _options.length - 1) {
|
|
7076
|
+
$$invalidate(16, _highlightedIndex++, _highlightedIndex);
|
|
7077
|
+
onSelect(_options[_highlightedIndex].value, _options[_highlightedIndex].label, false);
|
|
7083
7078
|
}
|
|
7084
7079
|
}
|
|
7085
7080
|
|
|
7086
7081
|
function _handleArrowUp() {
|
|
7087
|
-
if (
|
|
7088
|
-
$$invalidate(
|
|
7089
|
-
onSelect(
|
|
7082
|
+
if (_highlightedIndex > 0) {
|
|
7083
|
+
$$invalidate(16, _highlightedIndex--, _highlightedIndex);
|
|
7084
|
+
onSelect(_options[_highlightedIndex].value, _options[_highlightedIndex].label, false);
|
|
7090
7085
|
}
|
|
7091
7086
|
} // add required bindings to component
|
|
7092
7087
|
|
|
7093
7088
|
|
|
7094
7089
|
function onFocus() {
|
|
7095
|
-
|
|
7090
|
+
_el.addEventListener("keydown", onInputKeyDown);
|
|
7096
7091
|
} // remove all bindings from component
|
|
7097
7092
|
|
|
7098
7093
|
|
|
7099
7094
|
function onBlur() {
|
|
7100
|
-
|
|
7095
|
+
_el.removeEventListener("keydown", onInputKeyDown);
|
|
7101
7096
|
}
|
|
7102
7097
|
|
|
7103
7098
|
function onHighlight(e) {
|
|
7104
|
-
$$invalidate(
|
|
7099
|
+
$$invalidate(16, _highlightedIndex = Number(e.target.dataset.index));
|
|
7105
7100
|
}
|
|
7106
7101
|
|
|
7107
7102
|
function onNativeSelect(e) {
|
|
7108
7103
|
const target = e.currentTarget;
|
|
7109
|
-
const option =
|
|
7110
|
-
onSelect(option.value, option.label
|
|
7104
|
+
const option = _options[target.selectedIndex];
|
|
7105
|
+
onSelect(option.value, option.label);
|
|
7106
|
+
}
|
|
7107
|
+
|
|
7108
|
+
function select_binding($$value) {
|
|
7109
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
7110
|
+
_selectEl = $$value;
|
|
7111
|
+
$$invalidate(20, _selectEl);
|
|
7112
|
+
$$invalidate(13, _options);
|
|
7113
|
+
});
|
|
7111
7114
|
}
|
|
7112
7115
|
|
|
7113
7116
|
const click_handler = option => onSelect(option.value, option.label, true);
|
|
7114
7117
|
|
|
7115
7118
|
function ul_binding($$value) {
|
|
7116
7119
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
7117
|
-
|
|
7118
|
-
$$invalidate(
|
|
7120
|
+
_menuEl = $$value;
|
|
7121
|
+
$$invalidate(19, _menuEl);
|
|
7119
7122
|
});
|
|
7120
7123
|
}
|
|
7121
7124
|
|
|
7122
7125
|
function div_binding($$value) {
|
|
7123
7126
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
7124
|
-
|
|
7125
|
-
$$invalidate(
|
|
7127
|
+
_el = $$value;
|
|
7128
|
+
$$invalidate(18, _el);
|
|
7126
7129
|
});
|
|
7127
7130
|
}
|
|
7128
7131
|
|
|
7129
7132
|
$$self.$$set = $$props => {
|
|
7130
7133
|
if ('name' in $$props) $$invalidate(0, name = $$props.name);
|
|
7131
7134
|
if ('arialabel' in $$props) $$invalidate(1, arialabel = $$props.arialabel);
|
|
7132
|
-
if ('value' in $$props) $$invalidate(
|
|
7133
|
-
if ('leadingicon' in $$props) $$invalidate(
|
|
7134
|
-
if ('maxheight' in $$props) $$invalidate(
|
|
7135
|
-
if ('placeholder' in $$props) $$invalidate(
|
|
7136
|
-
if ('width' in $$props) $$invalidate(
|
|
7137
|
-
if ('disabled' in $$props) $$invalidate(
|
|
7138
|
-
if ('error' in $$props) $$invalidate(
|
|
7139
|
-
if ('multiselect' in $$props) $$invalidate(
|
|
7140
|
-
if ('native' in $$props) $$invalidate(
|
|
7141
|
-
if ('mt' in $$props) $$invalidate(
|
|
7142
|
-
if ('mr' in $$props) $$invalidate(
|
|
7143
|
-
if ('mb' in $$props) $$invalidate(
|
|
7144
|
-
if ('ml' in $$props) $$invalidate(
|
|
7135
|
+
if ('value' in $$props) $$invalidate(28, value = $$props.value);
|
|
7136
|
+
if ('leadingicon' in $$props) $$invalidate(2, leadingicon = $$props.leadingicon);
|
|
7137
|
+
if ('maxheight' in $$props) $$invalidate(3, maxheight = $$props.maxheight);
|
|
7138
|
+
if ('placeholder' in $$props) $$invalidate(4, placeholder = $$props.placeholder);
|
|
7139
|
+
if ('width' in $$props) $$invalidate(5, width = $$props.width);
|
|
7140
|
+
if ('disabled' in $$props) $$invalidate(6, disabled = $$props.disabled);
|
|
7141
|
+
if ('error' in $$props) $$invalidate(7, error = $$props.error);
|
|
7142
|
+
if ('multiselect' in $$props) $$invalidate(29, multiselect = $$props.multiselect);
|
|
7143
|
+
if ('native' in $$props) $$invalidate(30, native = $$props.native);
|
|
7144
|
+
if ('mt' in $$props) $$invalidate(8, mt = $$props.mt);
|
|
7145
|
+
if ('mr' in $$props) $$invalidate(9, mr = $$props.mr);
|
|
7146
|
+
if ('mb' in $$props) $$invalidate(10, mb = $$props.mb);
|
|
7147
|
+
if ('ml' in $$props) $$invalidate(11, ml = $$props.ml);
|
|
7145
7148
|
};
|
|
7146
7149
|
|
|
7147
7150
|
$$self.$$.update = () => {
|
|
7148
7151
|
if ($$self.$$.dirty[0] &
|
|
7149
7152
|
/*disabled*/
|
|
7153
|
+
64) {
|
|
7154
|
+
$$invalidate(21, _disabled = toBoolean(disabled));
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
if ($$self.$$.dirty[0] &
|
|
7158
|
+
/*error*/
|
|
7150
7159
|
128) {
|
|
7151
|
-
|
|
7160
|
+
$$invalidate(23, _error = toBoolean(error));
|
|
7152
7161
|
}
|
|
7153
7162
|
|
|
7154
7163
|
if ($$self.$$.dirty[0] &
|
|
7155
7164
|
/*multiselect*/
|
|
7156
|
-
|
|
7165
|
+
536870912) {
|
|
7157
7166
|
_multiselect = toBoolean(multiselect);
|
|
7158
7167
|
}
|
|
7159
7168
|
|
|
7160
7169
|
if ($$self.$$.dirty[0] &
|
|
7161
7170
|
/*native*/
|
|
7162
|
-
|
|
7163
|
-
$$invalidate(
|
|
7164
|
-
}
|
|
7165
|
-
|
|
7166
|
-
if ($$self.$$.dirty[0] &
|
|
7167
|
-
/*name, el, isBound, _native*/
|
|
7168
|
-
268460033) {
|
|
7169
|
-
{
|
|
7170
|
-
(async () => {
|
|
7171
|
-
await tick();
|
|
7172
|
-
|
|
7173
|
-
if (name && el && !isBound) {
|
|
7174
|
-
$$invalidate(28, isBound = true);
|
|
7175
|
-
|
|
7176
|
-
if (!_native) {
|
|
7177
|
-
addKeyboardEventListeners();
|
|
7178
|
-
}
|
|
7179
|
-
|
|
7180
|
-
parseValues();
|
|
7181
|
-
bindContext();
|
|
7182
|
-
}
|
|
7183
|
-
})();
|
|
7184
|
-
}
|
|
7171
|
+
1073741824) {
|
|
7172
|
+
$$invalidate(22, _native = toBoolean(native));
|
|
7185
7173
|
}
|
|
7186
7174
|
};
|
|
7187
7175
|
|
|
7188
|
-
return [name, arialabel,
|
|
7176
|
+
return [name, arialabel, leadingicon, maxheight, placeholder, width, disabled, error, mt, mr, mb, ml, _values, _options, _selectedLabel, _isMenuVisible, _highlightedIndex, _computedWidth, _el, _menuEl, _selectEl, _disabled, _native, _error, showMenu, closeMenu, onSelect, onNativeSelect, value, multiselect, native, select_binding, click_handler, ul_binding, div_binding];
|
|
7189
7177
|
}
|
|
7190
7178
|
|
|
7191
7179
|
class Dropdown extends SvelteElement {
|
|
7192
7180
|
constructor(options) {
|
|
7193
7181
|
super();
|
|
7194
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-
|
|
7182
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.dropdown{position:relative;cursor:pointer;display:inline-block;width:100%}@media(min-width: 640px){.dropdown{width:var(--width)}}.dropdown-background{cursor:default;position:fixed;z-index:98;inset:0}.dropdown-list{position:absolute;left:0;right:0;padding:0;margin:0;margin-top:3px;list-style-type:none;background:var(--color-white);border-radius:var(--input-border-radius);outline:none;box-shadow:var(--shadow-1);z-index:99;scroll-behavior:smooth;scrollbar-width:thin;display:none}.dropdown-active{display:block}.dropdown-list::-webkit-scrollbar{width:6px}.dropdown-list::-webkit-scrollbar-track{background:#f1f1f1}.dropdown-list::-webkit-scrollbar-thumb{background:#888}.dropdown-list::-webkit-scrollbar-thumb:hover{background:#555}.dropdown-item{margin:0;padding:0.5rem;cursor:pointer;color:var(--color-black);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-item--tabbed{background:var(--color-gray-100);color:var(--goa-color-interactive--hover)}.dropdown-item--disabled{opacity:0.5;cursor:default}.dropdown-item--disabled:hover{cursor:default;color:var(--color-gray-600)}.dropdown-item--selected{background:var(--goa-color-interactive);color:var(--color-white)}.dropdown-item--tabbed.dropdown-item--selected,.dropdown-item--selected:hover{background:var(--goa-color-interactive--hover);color:var(--color-white)}.dropdown-native{border:1px solid var(--color-gray-600);border-radius:var(--input-border-radius);background-color:var(--color-white)}.dropdown-native:has(select:disabled){background-color:var(--color-gray-100);border-color:var(--color-gray-200);box-shadow:none;color:var(--goa-color-text-secondary);cursor:default}.dropdown-native:has(select.error){border:2px solid var(--goa-color-interactive--error)}select{border:none;background-color:transparent;color:var(--goa-color-text);font-size:var(--input-font-size);appearance:none;padding:calc(var(--input-padding) + 2px);padding-left:0.5rem;padding-right:3rem;outline:none;width:100%}.dropdown-native::after{content:"";position:absolute;right:0.6rem;top:0.6rem;pointer-events:none;width:1.5rem;height:1.5rem;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'><path fill='none' stroke='%23333333' stroke-linecap='round' stroke-linejoin='round' stroke-width='48' d='M112 184l144 144 144-144' /%3E%3C/svg%3E");background-repeat:none}.dropdown-native:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--focus)}</style>`;
|
|
7195
7183
|
init(this, {
|
|
7196
7184
|
target: this.shadowRoot,
|
|
7197
7185
|
props: attribute_to_object(this.attributes),
|
|
7198
7186
|
customElement: true
|
|
7199
|
-
}, instance$
|
|
7187
|
+
}, instance$m, create_fragment$p, safe_not_equal, {
|
|
7200
7188
|
name: 0,
|
|
7201
7189
|
arialabel: 1,
|
|
7202
|
-
value:
|
|
7203
|
-
leadingicon:
|
|
7204
|
-
maxheight:
|
|
7205
|
-
placeholder:
|
|
7206
|
-
width:
|
|
7207
|
-
disabled:
|
|
7208
|
-
error:
|
|
7209
|
-
multiselect:
|
|
7210
|
-
native:
|
|
7211
|
-
mt:
|
|
7212
|
-
mr:
|
|
7213
|
-
mb:
|
|
7214
|
-
ml:
|
|
7190
|
+
value: 28,
|
|
7191
|
+
leadingicon: 2,
|
|
7192
|
+
maxheight: 3,
|
|
7193
|
+
placeholder: 4,
|
|
7194
|
+
width: 5,
|
|
7195
|
+
disabled: 6,
|
|
7196
|
+
error: 7,
|
|
7197
|
+
multiselect: 29,
|
|
7198
|
+
native: 30,
|
|
7199
|
+
mt: 8,
|
|
7200
|
+
mr: 9,
|
|
7201
|
+
mb: 10,
|
|
7202
|
+
ml: 11
|
|
7215
7203
|
}, null, [-1, -1]);
|
|
7216
7204
|
|
|
7217
7205
|
if (options) {
|
|
@@ -7253,7 +7241,7 @@ class Dropdown extends SvelteElement {
|
|
|
7253
7241
|
}
|
|
7254
7242
|
|
|
7255
7243
|
get value() {
|
|
7256
|
-
return this.$$.ctx[
|
|
7244
|
+
return this.$$.ctx[28];
|
|
7257
7245
|
}
|
|
7258
7246
|
|
|
7259
7247
|
set value(value) {
|
|
@@ -7264,7 +7252,7 @@ class Dropdown extends SvelteElement {
|
|
|
7264
7252
|
}
|
|
7265
7253
|
|
|
7266
7254
|
get leadingicon() {
|
|
7267
|
-
return this.$$.ctx[
|
|
7255
|
+
return this.$$.ctx[2];
|
|
7268
7256
|
}
|
|
7269
7257
|
|
|
7270
7258
|
set leadingicon(leadingicon) {
|
|
@@ -7275,7 +7263,7 @@ class Dropdown extends SvelteElement {
|
|
|
7275
7263
|
}
|
|
7276
7264
|
|
|
7277
7265
|
get maxheight() {
|
|
7278
|
-
return this.$$.ctx[
|
|
7266
|
+
return this.$$.ctx[3];
|
|
7279
7267
|
}
|
|
7280
7268
|
|
|
7281
7269
|
set maxheight(maxheight) {
|
|
@@ -7286,7 +7274,7 @@ class Dropdown extends SvelteElement {
|
|
|
7286
7274
|
}
|
|
7287
7275
|
|
|
7288
7276
|
get placeholder() {
|
|
7289
|
-
return this.$$.ctx[
|
|
7277
|
+
return this.$$.ctx[4];
|
|
7290
7278
|
}
|
|
7291
7279
|
|
|
7292
7280
|
set placeholder(placeholder) {
|
|
@@ -7297,7 +7285,7 @@ class Dropdown extends SvelteElement {
|
|
|
7297
7285
|
}
|
|
7298
7286
|
|
|
7299
7287
|
get width() {
|
|
7300
|
-
return this.$$.ctx[
|
|
7288
|
+
return this.$$.ctx[5];
|
|
7301
7289
|
}
|
|
7302
7290
|
|
|
7303
7291
|
set width(width) {
|
|
@@ -7308,7 +7296,7 @@ class Dropdown extends SvelteElement {
|
|
|
7308
7296
|
}
|
|
7309
7297
|
|
|
7310
7298
|
get disabled() {
|
|
7311
|
-
return this.$$.ctx[
|
|
7299
|
+
return this.$$.ctx[6];
|
|
7312
7300
|
}
|
|
7313
7301
|
|
|
7314
7302
|
set disabled(disabled) {
|
|
@@ -7319,7 +7307,7 @@ class Dropdown extends SvelteElement {
|
|
|
7319
7307
|
}
|
|
7320
7308
|
|
|
7321
7309
|
get error() {
|
|
7322
|
-
return this.$$.ctx[
|
|
7310
|
+
return this.$$.ctx[7];
|
|
7323
7311
|
}
|
|
7324
7312
|
|
|
7325
7313
|
set error(error) {
|
|
@@ -7330,7 +7318,7 @@ class Dropdown extends SvelteElement {
|
|
|
7330
7318
|
}
|
|
7331
7319
|
|
|
7332
7320
|
get multiselect() {
|
|
7333
|
-
return this.$$.ctx[
|
|
7321
|
+
return this.$$.ctx[29];
|
|
7334
7322
|
}
|
|
7335
7323
|
|
|
7336
7324
|
set multiselect(multiselect) {
|
|
@@ -7341,7 +7329,7 @@ class Dropdown extends SvelteElement {
|
|
|
7341
7329
|
}
|
|
7342
7330
|
|
|
7343
7331
|
get native() {
|
|
7344
|
-
return this.$$.ctx[
|
|
7332
|
+
return this.$$.ctx[30];
|
|
7345
7333
|
}
|
|
7346
7334
|
|
|
7347
7335
|
set native(native) {
|
|
@@ -7352,7 +7340,7 @@ class Dropdown extends SvelteElement {
|
|
|
7352
7340
|
}
|
|
7353
7341
|
|
|
7354
7342
|
get mt() {
|
|
7355
|
-
return this.$$.ctx[
|
|
7343
|
+
return this.$$.ctx[8];
|
|
7356
7344
|
}
|
|
7357
7345
|
|
|
7358
7346
|
set mt(mt) {
|
|
@@ -7363,7 +7351,7 @@ class Dropdown extends SvelteElement {
|
|
|
7363
7351
|
}
|
|
7364
7352
|
|
|
7365
7353
|
get mr() {
|
|
7366
|
-
return this.$$.ctx[
|
|
7354
|
+
return this.$$.ctx[9];
|
|
7367
7355
|
}
|
|
7368
7356
|
|
|
7369
7357
|
set mr(mr) {
|
|
@@ -7374,7 +7362,7 @@ class Dropdown extends SvelteElement {
|
|
|
7374
7362
|
}
|
|
7375
7363
|
|
|
7376
7364
|
get mb() {
|
|
7377
|
-
return this.$$.ctx[
|
|
7365
|
+
return this.$$.ctx[10];
|
|
7378
7366
|
}
|
|
7379
7367
|
|
|
7380
7368
|
set mb(mb) {
|
|
@@ -7385,7 +7373,7 @@ class Dropdown extends SvelteElement {
|
|
|
7385
7373
|
}
|
|
7386
7374
|
|
|
7387
7375
|
get ml() {
|
|
7388
|
-
return this.$$.ctx[
|
|
7376
|
+
return this.$$.ctx[11];
|
|
7389
7377
|
}
|
|
7390
7378
|
|
|
7391
7379
|
set ml(ml) {
|
|
@@ -7414,52 +7402,6 @@ function create_fragment$o(ctx) {
|
|
|
7414
7402
|
};
|
|
7415
7403
|
}
|
|
7416
7404
|
|
|
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
|
-
|
|
7428
|
-
let ctx;
|
|
7429
|
-
let isBound = false;
|
|
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();
|
|
7444
|
-
|
|
7445
|
-
if (!isBound) {
|
|
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
|
-
}
|
|
7457
|
-
}
|
|
7458
|
-
};
|
|
7459
|
-
|
|
7460
|
-
return [name, value, label, ctx, isBound];
|
|
7461
|
-
}
|
|
7462
|
-
|
|
7463
7405
|
class DropdownItem extends SvelteElement {
|
|
7464
7406
|
constructor(options) {
|
|
7465
7407
|
super();
|
|
@@ -7467,61 +7409,15 @@ class DropdownItem extends SvelteElement {
|
|
|
7467
7409
|
target: this.shadowRoot,
|
|
7468
7410
|
props: attribute_to_object(this.attributes),
|
|
7469
7411
|
customElement: true
|
|
7470
|
-
},
|
|
7471
|
-
name: 0,
|
|
7472
|
-
value: 1,
|
|
7473
|
-
label: 2
|
|
7474
|
-
}, null);
|
|
7412
|
+
}, null, create_fragment$o, safe_not_equal, {}, null);
|
|
7475
7413
|
|
|
7476
7414
|
if (options) {
|
|
7477
7415
|
if (options.target) {
|
|
7478
7416
|
insert(options.target, this, options.anchor);
|
|
7479
7417
|
}
|
|
7480
|
-
|
|
7481
|
-
if (options.props) {
|
|
7482
|
-
this.$set(options.props);
|
|
7483
|
-
flush();
|
|
7484
|
-
}
|
|
7485
7418
|
}
|
|
7486
7419
|
}
|
|
7487
7420
|
|
|
7488
|
-
static get observedAttributes() {
|
|
7489
|
-
return ["name", "value", "label"];
|
|
7490
|
-
}
|
|
7491
|
-
|
|
7492
|
-
get name() {
|
|
7493
|
-
return this.$$.ctx[0];
|
|
7494
|
-
}
|
|
7495
|
-
|
|
7496
|
-
set name(name) {
|
|
7497
|
-
this.$$set({
|
|
7498
|
-
name
|
|
7499
|
-
});
|
|
7500
|
-
flush();
|
|
7501
|
-
}
|
|
7502
|
-
|
|
7503
|
-
get value() {
|
|
7504
|
-
return this.$$.ctx[1];
|
|
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
7421
|
}
|
|
7526
7422
|
|
|
7527
7423
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
@@ -7791,133 +7687,151 @@ class FocusTrap extends SvelteElement {
|
|
|
7791
7687
|
}
|
|
7792
7688
|
|
|
7793
7689
|
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
|
-
|
|
7690
|
+
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
7802
7691
|
|
|
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;
|
|
7692
|
+
function create_if_block$9(ctx) {
|
|
7693
|
+
let goa_divider;
|
|
7811
7694
|
return {
|
|
7812
7695
|
c() {
|
|
7813
|
-
|
|
7814
|
-
|
|
7815
|
-
t = text(t_value);
|
|
7816
|
-
attr(a, "href", a_href_value =
|
|
7817
|
-
/*child*/
|
|
7818
|
-
ctx[3].href);
|
|
7696
|
+
goa_divider = element("goa-divider");
|
|
7697
|
+
set_custom_element_data(goa_divider, "spacing", "small");
|
|
7819
7698
|
},
|
|
7820
7699
|
|
|
7821
7700
|
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
|
-
}
|
|
7701
|
+
insert(target, goa_divider, anchor);
|
|
7841
7702
|
},
|
|
7842
7703
|
|
|
7843
7704
|
d(detaching) {
|
|
7844
|
-
if (detaching) detach(
|
|
7705
|
+
if (detaching) detach(goa_divider);
|
|
7845
7706
|
}
|
|
7846
7707
|
|
|
7847
7708
|
};
|
|
7848
7709
|
}
|
|
7849
7710
|
|
|
7850
7711
|
function create_fragment$m(ctx) {
|
|
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
|
-
}
|
|
7712
|
+
var _ctx$;
|
|
7863
7713
|
|
|
7714
|
+
let div5;
|
|
7715
|
+
let div4;
|
|
7716
|
+
let div0;
|
|
7717
|
+
let t0;
|
|
7718
|
+
let t1;
|
|
7719
|
+
let div3;
|
|
7720
|
+
let div1;
|
|
7721
|
+
let t2;
|
|
7722
|
+
let div2;
|
|
7723
|
+
let a0;
|
|
7724
|
+
let t3;
|
|
7725
|
+
let a1;
|
|
7726
|
+
let div5_style_value;
|
|
7727
|
+
let if_block =
|
|
7728
|
+
/*navLinks*/
|
|
7729
|
+
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$9();
|
|
7864
7730
|
return {
|
|
7865
7731
|
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
|
-
}
|
|
7732
|
+
var _ctx$2, _ctx$3;
|
|
7875
7733
|
|
|
7734
|
+
div5 = element("div");
|
|
7735
|
+
div4 = element("div");
|
|
7736
|
+
div0 = element("div");
|
|
7737
|
+
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
7738
|
+
t0 = space();
|
|
7739
|
+
if (if_block) if_block.c();
|
|
7740
|
+
t1 = space();
|
|
7741
|
+
div3 = element("div");
|
|
7742
|
+
div1 = element("div");
|
|
7743
|
+
div1.innerHTML = `<slot name="meta"></slot>`;
|
|
7744
|
+
t2 = space();
|
|
7745
|
+
div2 = element("div");
|
|
7746
|
+
a0 = element("a");
|
|
7747
|
+
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"/>`;
|
|
7748
|
+
t3 = space();
|
|
7749
|
+
a1 = element("a");
|
|
7750
|
+
a1.textContent = `© ${
|
|
7751
|
+
/*year*/
|
|
7752
|
+
ctx[4]} Government of Alberta`;
|
|
7876
7753
|
this.c = noop;
|
|
7877
|
-
attr(
|
|
7754
|
+
attr(div0, "class", "nav-links");
|
|
7755
|
+
attr(div1, "class", "meta-links");
|
|
7756
|
+
attr(a0, "href", "https://alberta.ca");
|
|
7757
|
+
attr(a1, "href", "https://alberta.ca");
|
|
7758
|
+
attr(a1, "class", "goa-copyright");
|
|
7759
|
+
attr(div2, "class", "abgov");
|
|
7760
|
+
toggle_class(div2, "with-meta-links",
|
|
7761
|
+
/*metaLinks*/
|
|
7762
|
+
(_ctx$2 = ctx[3]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
|
|
7763
|
+
attr(div3, "class", "meta-section");
|
|
7764
|
+
toggle_class(div3, "with-meta-links",
|
|
7765
|
+
/*metaLinks*/
|
|
7766
|
+
(_ctx$3 = ctx[3]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
|
|
7767
|
+
attr(div4, "class", "content");
|
|
7768
|
+
attr(div5, "class", "app-footer");
|
|
7769
|
+
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
7770
|
+
/*maxcontentwidth*/
|
|
7771
|
+
ctx[0] || "100%"}`);
|
|
7878
7772
|
},
|
|
7879
7773
|
|
|
7880
7774
|
m(target, anchor) {
|
|
7881
|
-
insert(target,
|
|
7882
|
-
append(
|
|
7883
|
-
append(
|
|
7884
|
-
append(
|
|
7885
|
-
|
|
7886
|
-
|
|
7887
|
-
|
|
7888
|
-
|
|
7889
|
-
|
|
7890
|
-
|
|
7775
|
+
insert(target, div5, anchor);
|
|
7776
|
+
append(div5, div4);
|
|
7777
|
+
append(div4, div0);
|
|
7778
|
+
append(div4, t0);
|
|
7779
|
+
if (if_block) if_block.m(div4, null);
|
|
7780
|
+
append(div4, t1);
|
|
7781
|
+
append(div4, div3);
|
|
7782
|
+
append(div3, div1);
|
|
7783
|
+
append(div3, t2);
|
|
7784
|
+
append(div3, div2);
|
|
7785
|
+
append(div2, a0);
|
|
7786
|
+
append(div2, t3);
|
|
7787
|
+
append(div2, a1);
|
|
7788
|
+
/*div5_binding*/
|
|
7891
7789
|
|
|
7892
|
-
ctx[
|
|
7790
|
+
ctx[5](div5);
|
|
7893
7791
|
},
|
|
7894
7792
|
|
|
7895
7793
|
p(ctx, [dirty]) {
|
|
7794
|
+
var _ctx$4;
|
|
7795
|
+
|
|
7796
|
+
if (
|
|
7797
|
+
/*navLinks*/
|
|
7798
|
+
(_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
|
|
7799
|
+
if (if_block) ;else {
|
|
7800
|
+
if_block = create_if_block$9();
|
|
7801
|
+
if_block.c();
|
|
7802
|
+
if_block.m(div4, t1);
|
|
7803
|
+
}
|
|
7804
|
+
} else if (if_block) {
|
|
7805
|
+
if_block.d(1);
|
|
7806
|
+
if_block = null;
|
|
7807
|
+
}
|
|
7808
|
+
|
|
7896
7809
|
if (dirty &
|
|
7897
|
-
/*
|
|
7898
|
-
|
|
7899
|
-
|
|
7900
|
-
/*children*/
|
|
7901
|
-
ctx[1];
|
|
7902
|
-
let i;
|
|
7810
|
+
/*metaLinks*/
|
|
7811
|
+
8) {
|
|
7812
|
+
var _ctx$5;
|
|
7903
7813
|
|
|
7904
|
-
|
|
7905
|
-
|
|
7814
|
+
toggle_class(div2, "with-meta-links",
|
|
7815
|
+
/*metaLinks*/
|
|
7816
|
+
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
7817
|
+
}
|
|
7906
7818
|
|
|
7907
|
-
|
|
7908
|
-
|
|
7909
|
-
|
|
7910
|
-
|
|
7911
|
-
each_blocks[i].c();
|
|
7912
|
-
each_blocks[i].m(ul, null);
|
|
7913
|
-
}
|
|
7914
|
-
}
|
|
7819
|
+
if (dirty &
|
|
7820
|
+
/*metaLinks*/
|
|
7821
|
+
8) {
|
|
7822
|
+
var _ctx$6;
|
|
7915
7823
|
|
|
7916
|
-
|
|
7917
|
-
|
|
7918
|
-
|
|
7824
|
+
toggle_class(div3, "with-meta-links",
|
|
7825
|
+
/*metaLinks*/
|
|
7826
|
+
(_ctx$6 = ctx[3]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
|
|
7827
|
+
}
|
|
7919
7828
|
|
|
7920
|
-
|
|
7829
|
+
if (dirty &
|
|
7830
|
+
/*maxcontentwidth*/
|
|
7831
|
+
1 && div5_style_value !== (div5_style_value = `--max-content-width: ${
|
|
7832
|
+
/*maxcontentwidth*/
|
|
7833
|
+
ctx[0] || "100%"}`)) {
|
|
7834
|
+
attr(div5, "style", div5_style_value);
|
|
7921
7835
|
}
|
|
7922
7836
|
},
|
|
7923
7837
|
|
|
@@ -7925,84 +7839,300 @@ function create_fragment$m(ctx) {
|
|
|
7925
7839
|
o: noop,
|
|
7926
7840
|
|
|
7927
7841
|
d(detaching) {
|
|
7928
|
-
if (detaching) detach(
|
|
7929
|
-
|
|
7930
|
-
/*
|
|
7842
|
+
if (detaching) detach(div5);
|
|
7843
|
+
if (if_block) if_block.d();
|
|
7844
|
+
/*div5_binding*/
|
|
7931
7845
|
|
|
7932
|
-
ctx[
|
|
7846
|
+
ctx[5](null);
|
|
7933
7847
|
}
|
|
7934
7848
|
|
|
7935
7849
|
};
|
|
7936
7850
|
}
|
|
7937
7851
|
|
|
7938
7852
|
function instance$k($$self, $$props, $$invalidate) {
|
|
7853
|
+
let {
|
|
7854
|
+
maxcontentwidth = ""
|
|
7855
|
+
} = $$props;
|
|
7939
7856
|
let rootEl;
|
|
7940
|
-
let
|
|
7857
|
+
let navLinks;
|
|
7858
|
+
let metaLinks;
|
|
7859
|
+
const year = new Date().getFullYear();
|
|
7941
7860
|
onMount(async () => {
|
|
7942
7861
|
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
|
-
}
|
|
7862
|
+
const navSlot = rootEl.querySelector("slot[name=nav]");
|
|
7863
|
+
const metaSlot = rootEl.querySelector("slot[name=meta]");
|
|
7864
|
+
$$invalidate(2, navLinks = navSlot.assignedElements());
|
|
7865
|
+
$$invalidate(3, metaLinks = metaSlot.assignedElements());
|
|
7953
7866
|
});
|
|
7954
7867
|
|
|
7955
|
-
function
|
|
7868
|
+
function div5_binding($$value) {
|
|
7956
7869
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
7957
7870
|
rootEl = $$value;
|
|
7958
|
-
$$invalidate(
|
|
7871
|
+
$$invalidate(1, rootEl);
|
|
7959
7872
|
});
|
|
7960
7873
|
}
|
|
7961
7874
|
|
|
7962
|
-
|
|
7875
|
+
$$self.$$set = $$props => {
|
|
7876
|
+
if ('maxcontentwidth' in $$props) $$invalidate(0, maxcontentwidth = $$props.maxcontentwidth);
|
|
7877
|
+
};
|
|
7878
|
+
|
|
7879
|
+
return [maxcontentwidth, rootEl, navLinks, metaLinks, year, div5_binding];
|
|
7963
7880
|
}
|
|
7964
7881
|
|
|
7965
|
-
class
|
|
7882
|
+
class Footer extends SvelteElement {
|
|
7966
7883
|
constructor(options) {
|
|
7967
7884
|
super();
|
|
7968
|
-
this.shadowRoot.innerHTML = `<style
|
|
7885
|
+
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
7886
|
init(this, {
|
|
7970
7887
|
target: this.shadowRoot,
|
|
7971
7888
|
props: attribute_to_object(this.attributes),
|
|
7972
7889
|
customElement: true
|
|
7973
|
-
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
7890
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
7891
|
+
maxcontentwidth: 0
|
|
7892
|
+
}, null);
|
|
7974
7893
|
|
|
7975
7894
|
if (options) {
|
|
7976
7895
|
if (options.target) {
|
|
7977
7896
|
insert(options.target, this, options.anchor);
|
|
7978
7897
|
}
|
|
7898
|
+
|
|
7899
|
+
if (options.props) {
|
|
7900
|
+
this.$set(options.props);
|
|
7901
|
+
flush();
|
|
7902
|
+
}
|
|
7979
7903
|
}
|
|
7980
7904
|
}
|
|
7981
7905
|
|
|
7906
|
+
static get observedAttributes() {
|
|
7907
|
+
return ["maxcontentwidth"];
|
|
7908
|
+
}
|
|
7909
|
+
|
|
7910
|
+
get maxcontentwidth() {
|
|
7911
|
+
return this.$$.ctx[0];
|
|
7912
|
+
}
|
|
7913
|
+
|
|
7914
|
+
set maxcontentwidth(maxcontentwidth) {
|
|
7915
|
+
this.$$set({
|
|
7916
|
+
maxcontentwidth
|
|
7917
|
+
});
|
|
7918
|
+
flush();
|
|
7919
|
+
}
|
|
7920
|
+
|
|
7982
7921
|
}
|
|
7983
7922
|
|
|
7984
|
-
customElements.define("goa-app-footer
|
|
7985
|
-
/* libs/web-components/src/components/footer-
|
|
7923
|
+
customElements.define("goa-app-footer", Footer);
|
|
7924
|
+
/* libs/web-components/src/components/footer-meta-section/FooterMetaSection.svelte generated by Svelte v3.51.0 */
|
|
7986
7925
|
|
|
7987
|
-
function get_each_context$
|
|
7926
|
+
function get_each_context$3(ctx, list, i) {
|
|
7988
7927
|
const child_ctx = ctx.slice();
|
|
7989
|
-
child_ctx[
|
|
7928
|
+
child_ctx[3] = list[i];
|
|
7990
7929
|
return child_ctx;
|
|
7991
|
-
} // (
|
|
7930
|
+
} // (52:4) {#each children as child}
|
|
7992
7931
|
|
|
7993
7932
|
|
|
7994
|
-
function
|
|
7995
|
-
let
|
|
7996
|
-
let
|
|
7997
|
-
let
|
|
7998
|
-
|
|
7999
|
-
|
|
8000
|
-
|
|
8001
|
-
|
|
8002
|
-
|
|
8003
|
-
|
|
8004
|
-
|
|
8005
|
-
|
|
7933
|
+
function create_each_block$3(ctx) {
|
|
7934
|
+
let li;
|
|
7935
|
+
let a;
|
|
7936
|
+
let t_value =
|
|
7937
|
+
/*child*/
|
|
7938
|
+
ctx[3].innerHTML + "";
|
|
7939
|
+
let t;
|
|
7940
|
+
let a_href_value;
|
|
7941
|
+
return {
|
|
7942
|
+
c() {
|
|
7943
|
+
li = element("li");
|
|
7944
|
+
a = element("a");
|
|
7945
|
+
t = text(t_value);
|
|
7946
|
+
attr(a, "href", a_href_value =
|
|
7947
|
+
/*child*/
|
|
7948
|
+
ctx[3].href);
|
|
7949
|
+
},
|
|
7950
|
+
|
|
7951
|
+
m(target, anchor) {
|
|
7952
|
+
insert(target, li, anchor);
|
|
7953
|
+
append(li, a);
|
|
7954
|
+
append(a, t);
|
|
7955
|
+
},
|
|
7956
|
+
|
|
7957
|
+
p(ctx, dirty) {
|
|
7958
|
+
if (dirty &
|
|
7959
|
+
/*children*/
|
|
7960
|
+
2 && t_value !== (t_value =
|
|
7961
|
+
/*child*/
|
|
7962
|
+
ctx[3].innerHTML + "")) set_data(t, t_value);
|
|
7963
|
+
|
|
7964
|
+
if (dirty &
|
|
7965
|
+
/*children*/
|
|
7966
|
+
2 && a_href_value !== (a_href_value =
|
|
7967
|
+
/*child*/
|
|
7968
|
+
ctx[3].href)) {
|
|
7969
|
+
attr(a, "href", a_href_value);
|
|
7970
|
+
}
|
|
7971
|
+
},
|
|
7972
|
+
|
|
7973
|
+
d(detaching) {
|
|
7974
|
+
if (detaching) detach(li);
|
|
7975
|
+
}
|
|
7976
|
+
|
|
7977
|
+
};
|
|
7978
|
+
}
|
|
7979
|
+
|
|
7980
|
+
function create_fragment$l(ctx) {
|
|
7981
|
+
let section;
|
|
7982
|
+
let div;
|
|
7983
|
+
let t;
|
|
7984
|
+
let ul;
|
|
7985
|
+
let each_value =
|
|
7986
|
+
/*children*/
|
|
7987
|
+
ctx[1];
|
|
7988
|
+
let each_blocks = [];
|
|
7989
|
+
|
|
7990
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
7991
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
7992
|
+
}
|
|
7993
|
+
|
|
7994
|
+
return {
|
|
7995
|
+
c() {
|
|
7996
|
+
section = element("section");
|
|
7997
|
+
div = element("div");
|
|
7998
|
+
div.innerHTML = `<slot></slot>`;
|
|
7999
|
+
t = space();
|
|
8000
|
+
ul = element("ul");
|
|
8001
|
+
|
|
8002
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8003
|
+
each_blocks[i].c();
|
|
8004
|
+
}
|
|
8005
|
+
|
|
8006
|
+
this.c = noop;
|
|
8007
|
+
attr(div, "class", "hidden");
|
|
8008
|
+
},
|
|
8009
|
+
|
|
8010
|
+
m(target, anchor) {
|
|
8011
|
+
insert(target, section, anchor);
|
|
8012
|
+
append(section, div);
|
|
8013
|
+
append(section, t);
|
|
8014
|
+
append(section, ul);
|
|
8015
|
+
|
|
8016
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
8017
|
+
each_blocks[i].m(ul, null);
|
|
8018
|
+
}
|
|
8019
|
+
/*section_binding*/
|
|
8020
|
+
|
|
8021
|
+
|
|
8022
|
+
ctx[2](section);
|
|
8023
|
+
},
|
|
8024
|
+
|
|
8025
|
+
p(ctx, [dirty]) {
|
|
8026
|
+
if (dirty &
|
|
8027
|
+
/*children*/
|
|
8028
|
+
2) {
|
|
8029
|
+
each_value =
|
|
8030
|
+
/*children*/
|
|
8031
|
+
ctx[1];
|
|
8032
|
+
let i;
|
|
8033
|
+
|
|
8034
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
8035
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
8036
|
+
|
|
8037
|
+
if (each_blocks[i]) {
|
|
8038
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
8039
|
+
} else {
|
|
8040
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
8041
|
+
each_blocks[i].c();
|
|
8042
|
+
each_blocks[i].m(ul, null);
|
|
8043
|
+
}
|
|
8044
|
+
}
|
|
8045
|
+
|
|
8046
|
+
for (; i < each_blocks.length; i += 1) {
|
|
8047
|
+
each_blocks[i].d(1);
|
|
8048
|
+
}
|
|
8049
|
+
|
|
8050
|
+
each_blocks.length = each_value.length;
|
|
8051
|
+
}
|
|
8052
|
+
},
|
|
8053
|
+
|
|
8054
|
+
i: noop,
|
|
8055
|
+
o: noop,
|
|
8056
|
+
|
|
8057
|
+
d(detaching) {
|
|
8058
|
+
if (detaching) detach(section);
|
|
8059
|
+
destroy_each(each_blocks, detaching);
|
|
8060
|
+
/*section_binding*/
|
|
8061
|
+
|
|
8062
|
+
ctx[2](null);
|
|
8063
|
+
}
|
|
8064
|
+
|
|
8065
|
+
};
|
|
8066
|
+
}
|
|
8067
|
+
|
|
8068
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
8069
|
+
let rootEl;
|
|
8070
|
+
let children = [];
|
|
8071
|
+
onMount(async () => {
|
|
8072
|
+
await tick();
|
|
8073
|
+
$$invalidate(1, children = rootEl.querySelector("slot").assignedElements());
|
|
8074
|
+
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8075
|
+
return sum && valid;
|
|
8076
|
+
}, true);
|
|
8077
|
+
|
|
8078
|
+
if (!isValid) {
|
|
8079
|
+
$$invalidate(1, children = []);
|
|
8080
|
+
console.warn("GoAFooterMetaSection children must be anchor elements.");
|
|
8081
|
+
return;
|
|
8082
|
+
}
|
|
8083
|
+
});
|
|
8084
|
+
|
|
8085
|
+
function section_binding($$value) {
|
|
8086
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8087
|
+
rootEl = $$value;
|
|
8088
|
+
$$invalidate(0, rootEl);
|
|
8089
|
+
});
|
|
8090
|
+
}
|
|
8091
|
+
|
|
8092
|
+
return [rootEl, children, section_binding];
|
|
8093
|
+
}
|
|
8094
|
+
|
|
8095
|
+
class FooterMetaSection extends SvelteElement {
|
|
8096
|
+
constructor(options) {
|
|
8097
|
+
super();
|
|
8098
|
+
this.shadowRoot.innerHTML = `<style>.hidden{display:none}ul{display:flex;flex-wrap:wrap;gap:1rem;padding-left:0}li{list-style-type:none}a{color:var(--goa-color-text);white-space:nowrap}</style>`;
|
|
8099
|
+
init(this, {
|
|
8100
|
+
target: this.shadowRoot,
|
|
8101
|
+
props: attribute_to_object(this.attributes),
|
|
8102
|
+
customElement: true
|
|
8103
|
+
}, instance$j, create_fragment$l, safe_not_equal, {}, null);
|
|
8104
|
+
|
|
8105
|
+
if (options) {
|
|
8106
|
+
if (options.target) {
|
|
8107
|
+
insert(options.target, this, options.anchor);
|
|
8108
|
+
}
|
|
8109
|
+
}
|
|
8110
|
+
}
|
|
8111
|
+
|
|
8112
|
+
}
|
|
8113
|
+
|
|
8114
|
+
customElements.define("goa-app-footer-meta-section", FooterMetaSection);
|
|
8115
|
+
/* libs/web-components/src/components/footer-nav-section/FooterNavSection.svelte generated by Svelte v3.51.0 */
|
|
8116
|
+
|
|
8117
|
+
function get_each_context$2(ctx, list, i) {
|
|
8118
|
+
const child_ctx = ctx.slice();
|
|
8119
|
+
child_ctx[5] = list[i];
|
|
8120
|
+
return child_ctx;
|
|
8121
|
+
} // (31:2) {#if heading}
|
|
8122
|
+
|
|
8123
|
+
|
|
8124
|
+
function create_if_block$8(ctx) {
|
|
8125
|
+
let div;
|
|
8126
|
+
let t0;
|
|
8127
|
+
let t1;
|
|
8128
|
+
let goa_divider;
|
|
8129
|
+
return {
|
|
8130
|
+
c() {
|
|
8131
|
+
div = element("div");
|
|
8132
|
+
t0 = text(
|
|
8133
|
+
/*heading*/
|
|
8134
|
+
ctx[0]);
|
|
8135
|
+
t1 = space();
|
|
8006
8136
|
goa_divider = element("goa-divider");
|
|
8007
8137
|
attr(div, "class", "title");
|
|
8008
8138
|
set_custom_element_data(goa_divider, "spacing", "small");
|
|
@@ -8080,7 +8210,7 @@ function create_each_block$2(ctx) {
|
|
|
8080
8210
|
};
|
|
8081
8211
|
}
|
|
8082
8212
|
|
|
8083
|
-
function create_fragment$
|
|
8213
|
+
function create_fragment$k(ctx) {
|
|
8084
8214
|
let section;
|
|
8085
8215
|
let t0;
|
|
8086
8216
|
let div;
|
|
@@ -8089,7 +8219,7 @@ function create_fragment$l(ctx) {
|
|
|
8089
8219
|
let ul_style_value;
|
|
8090
8220
|
let if_block =
|
|
8091
8221
|
/*heading*/
|
|
8092
|
-
ctx[0] && create_if_block$
|
|
8222
|
+
ctx[0] && create_if_block$8(ctx);
|
|
8093
8223
|
let each_value =
|
|
8094
8224
|
/*children*/
|
|
8095
8225
|
ctx[3];
|
|
@@ -8156,7 +8286,7 @@ function create_fragment$l(ctx) {
|
|
|
8156
8286
|
if (if_block) {
|
|
8157
8287
|
if_block.p(ctx, dirty);
|
|
8158
8288
|
} else {
|
|
8159
|
-
if_block = create_if_block$
|
|
8289
|
+
if_block = create_if_block$8(ctx);
|
|
8160
8290
|
if_block.c();
|
|
8161
8291
|
if_block.m(section, t0);
|
|
8162
8292
|
}
|
|
@@ -8227,7 +8357,7 @@ function create_fragment$l(ctx) {
|
|
|
8227
8357
|
};
|
|
8228
8358
|
}
|
|
8229
8359
|
|
|
8230
|
-
function instance$
|
|
8360
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
8231
8361
|
let {
|
|
8232
8362
|
heading = ""
|
|
8233
8363
|
} = $$props;
|
|
@@ -8240,292 +8370,47 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
8240
8370
|
await tick(); // remap slot content
|
|
8241
8371
|
|
|
8242
8372
|
$$invalidate(3, children = rootEl.querySelector("slot").assignedElements());
|
|
8243
|
-
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8244
|
-
return sum && valid;
|
|
8245
|
-
}, true);
|
|
8246
|
-
|
|
8247
|
-
if (!isValid) {
|
|
8248
|
-
$$invalidate(3, children = []);
|
|
8249
|
-
console.warn("GoAFooterNavSection children must be anchor elements.");
|
|
8250
|
-
return;
|
|
8251
|
-
}
|
|
8252
|
-
|
|
8253
|
-
injectCss(rootEl, ":host", {
|
|
8254
|
-
"flex-grow": maxcolumncount
|
|
8255
|
-
});
|
|
8256
|
-
});
|
|
8257
|
-
|
|
8258
|
-
function section_binding($$value) {
|
|
8259
|
-
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8260
|
-
rootEl = $$value;
|
|
8261
|
-
$$invalidate(2, rootEl);
|
|
8262
|
-
});
|
|
8263
|
-
}
|
|
8264
|
-
|
|
8265
|
-
$$self.$$set = $$props => {
|
|
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];
|
|
8271
|
-
}
|
|
8272
|
-
|
|
8273
|
-
class FooterNavSection extends SvelteElement {
|
|
8274
|
-
constructor(options) {
|
|
8275
|
-
super();
|
|
8276
|
-
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>`;
|
|
8277
|
-
init(this, {
|
|
8278
|
-
target: this.shadowRoot,
|
|
8279
|
-
props: attribute_to_object(this.attributes),
|
|
8280
|
-
customElement: true
|
|
8281
|
-
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
8282
|
-
heading: 0,
|
|
8283
|
-
maxcolumncount: 1
|
|
8284
|
-
}, null);
|
|
8285
|
-
|
|
8286
|
-
if (options) {
|
|
8287
|
-
if (options.target) {
|
|
8288
|
-
insert(options.target, this, options.anchor);
|
|
8289
|
-
}
|
|
8290
|
-
|
|
8291
|
-
if (options.props) {
|
|
8292
|
-
this.$set(options.props);
|
|
8293
|
-
flush();
|
|
8294
|
-
}
|
|
8295
|
-
}
|
|
8296
|
-
}
|
|
8297
|
-
|
|
8298
|
-
static get observedAttributes() {
|
|
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
|
-
}
|
|
8316
|
-
|
|
8317
|
-
set maxcolumncount(maxcolumncount) {
|
|
8318
|
-
this.$$set({
|
|
8319
|
-
maxcolumncount
|
|
8320
|
-
});
|
|
8321
|
-
flush();
|
|
8322
|
-
}
|
|
8323
|
-
|
|
8324
|
-
}
|
|
8325
|
-
|
|
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
|
-
|
|
8329
|
-
function create_if_block$8(ctx) {
|
|
8330
|
-
let goa_divider;
|
|
8331
|
-
return {
|
|
8332
|
-
c() {
|
|
8333
|
-
goa_divider = element("goa-divider");
|
|
8334
|
-
set_custom_element_data(goa_divider, "spacing", "small");
|
|
8335
|
-
},
|
|
8336
|
-
|
|
8337
|
-
m(target, anchor) {
|
|
8338
|
-
insert(target, goa_divider, anchor);
|
|
8339
|
-
},
|
|
8340
|
-
|
|
8341
|
-
d(detaching) {
|
|
8342
|
-
if (detaching) detach(goa_divider);
|
|
8343
|
-
}
|
|
8344
|
-
|
|
8345
|
-
};
|
|
8346
|
-
}
|
|
8347
|
-
|
|
8348
|
-
function create_fragment$k(ctx) {
|
|
8349
|
-
var _ctx$;
|
|
8350
|
-
|
|
8351
|
-
let div5;
|
|
8352
|
-
let div4;
|
|
8353
|
-
let div0;
|
|
8354
|
-
let t0;
|
|
8355
|
-
let t1;
|
|
8356
|
-
let div3;
|
|
8357
|
-
let div1;
|
|
8358
|
-
let t2;
|
|
8359
|
-
let div2;
|
|
8360
|
-
let a0;
|
|
8361
|
-
let t3;
|
|
8362
|
-
let a1;
|
|
8363
|
-
let div5_style_value;
|
|
8364
|
-
let if_block =
|
|
8365
|
-
/*navLinks*/
|
|
8366
|
-
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$8();
|
|
8367
|
-
return {
|
|
8368
|
-
c() {
|
|
8369
|
-
var _ctx$2, _ctx$3;
|
|
8370
|
-
|
|
8371
|
-
div5 = element("div");
|
|
8372
|
-
div4 = element("div");
|
|
8373
|
-
div0 = element("div");
|
|
8374
|
-
div0.innerHTML = `<slot name="nav"></slot>`;
|
|
8375
|
-
t0 = space();
|
|
8376
|
-
if (if_block) if_block.c();
|
|
8377
|
-
t1 = space();
|
|
8378
|
-
div3 = element("div");
|
|
8379
|
-
div1 = element("div");
|
|
8380
|
-
div1.innerHTML = `<slot name="meta"></slot>`;
|
|
8381
|
-
t2 = space();
|
|
8382
|
-
div2 = element("div");
|
|
8383
|
-
a0 = element("a");
|
|
8384
|
-
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"/>`;
|
|
8385
|
-
t3 = space();
|
|
8386
|
-
a1 = element("a");
|
|
8387
|
-
a1.textContent = `© ${
|
|
8388
|
-
/*year*/
|
|
8389
|
-
ctx[4]} Government of Alberta`;
|
|
8390
|
-
this.c = noop;
|
|
8391
|
-
attr(div0, "class", "nav-links");
|
|
8392
|
-
attr(div1, "class", "meta-links");
|
|
8393
|
-
attr(a0, "href", "https://alberta.ca");
|
|
8394
|
-
attr(a1, "href", "https://alberta.ca");
|
|
8395
|
-
attr(a1, "class", "goa-copyright");
|
|
8396
|
-
attr(div2, "class", "abgov");
|
|
8397
|
-
toggle_class(div2, "with-meta-links",
|
|
8398
|
-
/*metaLinks*/
|
|
8399
|
-
(_ctx$2 = ctx[3]) === null || _ctx$2 === void 0 ? void 0 : _ctx$2.length);
|
|
8400
|
-
attr(div3, "class", "meta-section");
|
|
8401
|
-
toggle_class(div3, "with-meta-links",
|
|
8402
|
-
/*metaLinks*/
|
|
8403
|
-
(_ctx$3 = ctx[3]) === null || _ctx$3 === void 0 ? void 0 : _ctx$3.length);
|
|
8404
|
-
attr(div4, "class", "content");
|
|
8405
|
-
attr(div5, "class", "app-footer");
|
|
8406
|
-
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
8407
|
-
/*maxcontentwidth*/
|
|
8408
|
-
ctx[0] || "100%"}`);
|
|
8409
|
-
},
|
|
8410
|
-
|
|
8411
|
-
m(target, anchor) {
|
|
8412
|
-
insert(target, div5, anchor);
|
|
8413
|
-
append(div5, div4);
|
|
8414
|
-
append(div4, div0);
|
|
8415
|
-
append(div4, t0);
|
|
8416
|
-
if (if_block) if_block.m(div4, null);
|
|
8417
|
-
append(div4, t1);
|
|
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*/
|
|
8426
|
-
|
|
8427
|
-
ctx[5](div5);
|
|
8428
|
-
},
|
|
8429
|
-
|
|
8430
|
-
p(ctx, [dirty]) {
|
|
8431
|
-
var _ctx$4;
|
|
8432
|
-
|
|
8433
|
-
if (
|
|
8434
|
-
/*navLinks*/
|
|
8435
|
-
(_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
|
|
8436
|
-
if (if_block) ;else {
|
|
8437
|
-
if_block = create_if_block$8();
|
|
8438
|
-
if_block.c();
|
|
8439
|
-
if_block.m(div4, t1);
|
|
8440
|
-
}
|
|
8441
|
-
} else if (if_block) {
|
|
8442
|
-
if_block.d(1);
|
|
8443
|
-
if_block = null;
|
|
8444
|
-
}
|
|
8445
|
-
|
|
8446
|
-
if (dirty &
|
|
8447
|
-
/*metaLinks*/
|
|
8448
|
-
8) {
|
|
8449
|
-
var _ctx$5;
|
|
8450
|
-
|
|
8451
|
-
toggle_class(div2, "with-meta-links",
|
|
8452
|
-
/*metaLinks*/
|
|
8453
|
-
(_ctx$5 = ctx[3]) === null || _ctx$5 === void 0 ? void 0 : _ctx$5.length);
|
|
8454
|
-
}
|
|
8455
|
-
|
|
8456
|
-
if (dirty &
|
|
8457
|
-
/*metaLinks*/
|
|
8458
|
-
8) {
|
|
8459
|
-
var _ctx$6;
|
|
8460
|
-
|
|
8461
|
-
toggle_class(div3, "with-meta-links",
|
|
8462
|
-
/*metaLinks*/
|
|
8463
|
-
(_ctx$6 = ctx[3]) === null || _ctx$6 === void 0 ? void 0 : _ctx$6.length);
|
|
8464
|
-
}
|
|
8465
|
-
|
|
8466
|
-
if (dirty &
|
|
8467
|
-
/*maxcontentwidth*/
|
|
8468
|
-
1 && div5_style_value !== (div5_style_value = `--max-content-width: ${
|
|
8469
|
-
/*maxcontentwidth*/
|
|
8470
|
-
ctx[0] || "100%"}`)) {
|
|
8471
|
-
attr(div5, "style", div5_style_value);
|
|
8472
|
-
}
|
|
8473
|
-
},
|
|
8474
|
-
|
|
8475
|
-
i: noop,
|
|
8476
|
-
o: noop,
|
|
8477
|
-
|
|
8478
|
-
d(detaching) {
|
|
8479
|
-
if (detaching) detach(div5);
|
|
8480
|
-
if (if_block) if_block.d();
|
|
8481
|
-
/*div5_binding*/
|
|
8482
|
-
|
|
8483
|
-
ctx[5](null);
|
|
8484
|
-
}
|
|
8485
|
-
|
|
8486
|
-
};
|
|
8487
|
-
}
|
|
8488
|
-
|
|
8489
|
-
function instance$i($$self, $$props, $$invalidate) {
|
|
8490
|
-
let {
|
|
8491
|
-
maxcontentwidth = ""
|
|
8492
|
-
} = $$props;
|
|
8493
|
-
let rootEl;
|
|
8494
|
-
let navLinks;
|
|
8495
|
-
let metaLinks;
|
|
8496
|
-
const year = new Date().getFullYear();
|
|
8497
|
-
onMount(async () => {
|
|
8498
|
-
await tick();
|
|
8499
|
-
const navSlot = rootEl.querySelector("slot[name=nav]");
|
|
8500
|
-
const metaSlot = rootEl.querySelector("slot[name=meta]");
|
|
8501
|
-
$$invalidate(2, navLinks = navSlot.assignedElements());
|
|
8502
|
-
$$invalidate(3, metaLinks = metaSlot.assignedElements());
|
|
8373
|
+
const isValid = children.map(child => child.hasAttribute("href")).reduce((sum, valid) => {
|
|
8374
|
+
return sum && valid;
|
|
8375
|
+
}, true);
|
|
8376
|
+
|
|
8377
|
+
if (!isValid) {
|
|
8378
|
+
$$invalidate(3, children = []);
|
|
8379
|
+
console.warn("GoAFooterNavSection children must be anchor elements.");
|
|
8380
|
+
return;
|
|
8381
|
+
}
|
|
8382
|
+
|
|
8383
|
+
injectCss(rootEl, ":host", {
|
|
8384
|
+
"flex-grow": maxcolumncount
|
|
8385
|
+
});
|
|
8503
8386
|
});
|
|
8504
8387
|
|
|
8505
|
-
function
|
|
8388
|
+
function section_binding($$value) {
|
|
8506
8389
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
8507
8390
|
rootEl = $$value;
|
|
8508
|
-
$$invalidate(
|
|
8391
|
+
$$invalidate(2, rootEl);
|
|
8509
8392
|
});
|
|
8510
8393
|
}
|
|
8511
8394
|
|
|
8512
8395
|
$$self.$$set = $$props => {
|
|
8513
|
-
if ('
|
|
8396
|
+
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
8397
|
+
if ('maxcolumncount' in $$props) $$invalidate(1, maxcolumncount = $$props.maxcolumncount);
|
|
8514
8398
|
};
|
|
8515
8399
|
|
|
8516
|
-
return [
|
|
8400
|
+
return [heading, maxcolumncount, rootEl, children, section_binding];
|
|
8517
8401
|
}
|
|
8518
8402
|
|
|
8519
|
-
class
|
|
8403
|
+
class FooterNavSection extends SvelteElement {
|
|
8520
8404
|
constructor(options) {
|
|
8521
8405
|
super();
|
|
8522
|
-
this.shadowRoot.innerHTML = `<style
|
|
8406
|
+
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
8407
|
init(this, {
|
|
8524
8408
|
target: this.shadowRoot,
|
|
8525
8409
|
props: attribute_to_object(this.attributes),
|
|
8526
8410
|
customElement: true
|
|
8527
8411
|
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
8528
|
-
|
|
8412
|
+
heading: 0,
|
|
8413
|
+
maxcolumncount: 1
|
|
8529
8414
|
}, null);
|
|
8530
8415
|
|
|
8531
8416
|
if (options) {
|
|
@@ -8541,23 +8426,34 @@ class Footer extends SvelteElement {
|
|
|
8541
8426
|
}
|
|
8542
8427
|
|
|
8543
8428
|
static get observedAttributes() {
|
|
8544
|
-
return ["
|
|
8429
|
+
return ["heading", "maxcolumncount"];
|
|
8545
8430
|
}
|
|
8546
8431
|
|
|
8547
|
-
get
|
|
8432
|
+
get heading() {
|
|
8548
8433
|
return this.$$.ctx[0];
|
|
8549
8434
|
}
|
|
8550
8435
|
|
|
8551
|
-
set
|
|
8436
|
+
set heading(heading) {
|
|
8552
8437
|
this.$$set({
|
|
8553
|
-
|
|
8438
|
+
heading
|
|
8439
|
+
});
|
|
8440
|
+
flush();
|
|
8441
|
+
}
|
|
8442
|
+
|
|
8443
|
+
get maxcolumncount() {
|
|
8444
|
+
return this.$$.ctx[1];
|
|
8445
|
+
}
|
|
8446
|
+
|
|
8447
|
+
set maxcolumncount(maxcolumncount) {
|
|
8448
|
+
this.$$set({
|
|
8449
|
+
maxcolumncount
|
|
8554
8450
|
});
|
|
8555
8451
|
flush();
|
|
8556
8452
|
}
|
|
8557
8453
|
|
|
8558
8454
|
}
|
|
8559
8455
|
|
|
8560
|
-
customElements.define("goa-app-footer",
|
|
8456
|
+
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
8561
8457
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
8562
8458
|
|
|
8563
8459
|
function create_if_block_2$4(ctx) {
|
|
@@ -12956,7 +12852,7 @@ function get_each_context$1(ctx, list, i) {
|
|
|
12956
12852
|
const child_ctx = ctx.slice();
|
|
12957
12853
|
child_ctx[22] = list[i];
|
|
12958
12854
|
return child_ctx;
|
|
12959
|
-
} // (
|
|
12855
|
+
} // (80:2) {#each options as option (option.value)}
|
|
12960
12856
|
|
|
12961
12857
|
|
|
12962
12858
|
function create_each_block$1(key_1, ctx) {
|
|
@@ -12983,7 +12879,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
12983
12879
|
function change_handler() {
|
|
12984
12880
|
return (
|
|
12985
12881
|
/*change_handler*/
|
|
12986
|
-
ctx[
|
|
12882
|
+
ctx[16](
|
|
12987
12883
|
/*option*/
|
|
12988
12884
|
ctx[22])
|
|
12989
12885
|
);
|
|
@@ -13033,7 +12929,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
13033
12929
|
ctx[12]);
|
|
13034
12930
|
toggle_class(label, "goa-radio--error",
|
|
13035
12931
|
/*isError*/
|
|
13036
|
-
ctx[
|
|
12932
|
+
ctx[11]);
|
|
13037
12933
|
this.first = label;
|
|
13038
12934
|
},
|
|
13039
12935
|
|
|
@@ -13126,10 +13022,10 @@ function create_each_block$1(key_1, ctx) {
|
|
|
13126
13022
|
|
|
13127
13023
|
if (dirty &
|
|
13128
13024
|
/*isError*/
|
|
13129
|
-
|
|
13025
|
+
2048) {
|
|
13130
13026
|
toggle_class(label, "goa-radio--error",
|
|
13131
13027
|
/*isError*/
|
|
13132
|
-
ctx[
|
|
13028
|
+
ctx[11]);
|
|
13133
13029
|
}
|
|
13134
13030
|
},
|
|
13135
13031
|
|
|
@@ -13203,13 +13099,13 @@ function create_fragment$9(ctx) {
|
|
|
13203
13099
|
/*div_binding*/
|
|
13204
13100
|
|
|
13205
13101
|
|
|
13206
|
-
ctx[
|
|
13102
|
+
ctx[17](div);
|
|
13207
13103
|
},
|
|
13208
13104
|
|
|
13209
13105
|
p(ctx, [dirty]) {
|
|
13210
13106
|
if (dirty &
|
|
13211
13107
|
/*options, isDisabled, isError, name, value, arialabel, onChange*/
|
|
13212
|
-
|
|
13108
|
+
14867) {
|
|
13213
13109
|
each_value =
|
|
13214
13110
|
/*options*/
|
|
13215
13111
|
ctx[9];
|
|
@@ -13259,7 +13155,7 @@ function create_fragment$9(ctx) {
|
|
|
13259
13155
|
/*div_binding*/
|
|
13260
13156
|
|
|
13261
13157
|
|
|
13262
|
-
ctx[
|
|
13158
|
+
ctx[17](null);
|
|
13263
13159
|
}
|
|
13264
13160
|
|
|
13265
13161
|
};
|
|
@@ -13267,6 +13163,7 @@ function create_fragment$9(ctx) {
|
|
|
13267
13163
|
|
|
13268
13164
|
function instance$7($$self, $$props, $$invalidate) {
|
|
13269
13165
|
let isDisabled;
|
|
13166
|
+
let isError;
|
|
13270
13167
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
13271
13168
|
let {
|
|
13272
13169
|
name
|
|
@@ -13301,12 +13198,45 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
13301
13198
|
let {
|
|
13302
13199
|
ml = null
|
|
13303
13200
|
} = $$props;
|
|
13304
|
-
let options = [];
|
|
13305
|
-
|
|
13306
|
-
let isError;
|
|
13307
|
-
let ctx;
|
|
13308
|
-
let isBound = false;
|
|
13201
|
+
let options = [];
|
|
13309
13202
|
let el;
|
|
13203
|
+
onMount(async () => {
|
|
13204
|
+
await tick();
|
|
13205
|
+
$$invalidate(9, options = getOptions());
|
|
13206
|
+
});
|
|
13207
|
+
/**
|
|
13208
|
+
* Allows the child elements to be obtainable within unit tests
|
|
13209
|
+
* @returns List of child elements
|
|
13210
|
+
*/
|
|
13211
|
+
|
|
13212
|
+
function getChildren() {
|
|
13213
|
+
const slot = el.querySelector("slot");
|
|
13214
|
+
if (slot) // default
|
|
13215
|
+
return [...slot.assignedElements()];else // unit tests
|
|
13216
|
+
return [...el.children];
|
|
13217
|
+
}
|
|
13218
|
+
/**
|
|
13219
|
+
* Maps the child elements to a list of RadioOptions
|
|
13220
|
+
*/
|
|
13221
|
+
|
|
13222
|
+
|
|
13223
|
+
function getOptions() {
|
|
13224
|
+
const children = getChildren();
|
|
13225
|
+
return children.map(el => {
|
|
13226
|
+
const option = el;
|
|
13227
|
+
const value = el.getAttribute("value") || option.value;
|
|
13228
|
+
const label = el.getAttribute("label") || el.innerText || option.label || option.innerText;
|
|
13229
|
+
return {
|
|
13230
|
+
value,
|
|
13231
|
+
label
|
|
13232
|
+
};
|
|
13233
|
+
});
|
|
13234
|
+
}
|
|
13235
|
+
/**
|
|
13236
|
+
* Handles changing of the radio items
|
|
13237
|
+
* @param newValue Selected value
|
|
13238
|
+
*/
|
|
13239
|
+
|
|
13310
13240
|
|
|
13311
13241
|
function onChange(newValue) {
|
|
13312
13242
|
if (newValue === value) return;
|
|
@@ -13320,9 +13250,6 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
13320
13250
|
}));
|
|
13321
13251
|
}
|
|
13322
13252
|
|
|
13323
|
-
onDestroy(() => {
|
|
13324
|
-
deleteContext(name);
|
|
13325
|
-
});
|
|
13326
13253
|
onMount(() => {
|
|
13327
13254
|
validateOrientation(orientation);
|
|
13328
13255
|
});
|
|
@@ -13332,7 +13259,7 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
13332
13259
|
function div_binding($$value) {
|
|
13333
13260
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
13334
13261
|
el = $$value;
|
|
13335
|
-
$$invalidate(
|
|
13262
|
+
$$invalidate(10, el);
|
|
13336
13263
|
});
|
|
13337
13264
|
}
|
|
13338
13265
|
|
|
@@ -13354,32 +13281,18 @@ function instance$7($$self, $$props, $$invalidate) {
|
|
|
13354
13281
|
if ($$self.$$.dirty &
|
|
13355
13282
|
/*disabled*/
|
|
13356
13283
|
16384) {
|
|
13284
|
+
// private
|
|
13357
13285
|
$$invalidate(12, isDisabled = toBoolean(disabled));
|
|
13358
13286
|
}
|
|
13359
13287
|
|
|
13360
13288
|
if ($$self.$$.dirty &
|
|
13361
13289
|
/*error*/
|
|
13362
13290
|
32768) {
|
|
13363
|
-
$$invalidate(
|
|
13364
|
-
}
|
|
13365
|
-
|
|
13366
|
-
if ($$self.$$.dirty &
|
|
13367
|
-
/*name, isBound, ctx, options*/
|
|
13368
|
-
197122) {
|
|
13369
|
-
{
|
|
13370
|
-
if (name && !isBound) {
|
|
13371
|
-
$$invalidate(17, isBound = true);
|
|
13372
|
-
$$invalidate(16, ctx = getContext(name));
|
|
13373
|
-
ctx.subscribe(msg => {
|
|
13374
|
-
if (!msg) return;
|
|
13375
|
-
$$invalidate(9, options = [...options, msg]);
|
|
13376
|
-
});
|
|
13377
|
-
}
|
|
13378
|
-
}
|
|
13291
|
+
$$invalidate(11, isError = toBoolean(error));
|
|
13379
13292
|
}
|
|
13380
13293
|
};
|
|
13381
13294
|
|
|
13382
|
-
return [value, name, orientation, testid, arialabel, mt, mr, mb, ml, options,
|
|
13295
|
+
return [value, name, orientation, testid, arialabel, mt, mr, mb, ml, options, el, isError, isDisabled, onChange, disabled, error, change_handler, div_binding];
|
|
13383
13296
|
}
|
|
13384
13297
|
|
|
13385
13298
|
class RadioGroup extends SvelteElement {
|
|
@@ -13546,134 +13459,9 @@ class RadioGroup extends SvelteElement {
|
|
|
13546
13459
|
}
|
|
13547
13460
|
|
|
13548
13461
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13549
|
-
/* libs/web-components/src/components/radio-group/RadioItem.svelte generated by Svelte v3.51.0 */
|
|
13550
|
-
|
|
13551
|
-
function create_fragment$8(ctx) {
|
|
13552
|
-
return {
|
|
13553
|
-
c() {
|
|
13554
|
-
this.c = noop;
|
|
13555
|
-
},
|
|
13556
|
-
|
|
13557
|
-
m: noop,
|
|
13558
|
-
p: noop,
|
|
13559
|
-
i: noop,
|
|
13560
|
-
o: noop,
|
|
13561
|
-
d: noop
|
|
13562
|
-
};
|
|
13563
|
-
}
|
|
13564
|
-
|
|
13565
|
-
function instance$6($$self, $$props, $$invalidate) {
|
|
13566
|
-
let {
|
|
13567
|
-
value
|
|
13568
|
-
} = $$props;
|
|
13569
|
-
let {
|
|
13570
|
-
label
|
|
13571
|
-
} = $$props;
|
|
13572
|
-
let {
|
|
13573
|
-
name
|
|
13574
|
-
} = $$props;
|
|
13575
|
-
let ctx;
|
|
13576
|
-
let isBound = false;
|
|
13577
|
-
|
|
13578
|
-
$$self.$$set = $$props => {
|
|
13579
|
-
if ('value' in $$props) $$invalidate(0, value = $$props.value);
|
|
13580
|
-
if ('label' in $$props) $$invalidate(1, label = $$props.label);
|
|
13581
|
-
if ('name' in $$props) $$invalidate(2, name = $$props.name);
|
|
13582
|
-
};
|
|
13583
|
-
|
|
13584
|
-
$$self.$$.update = () => {
|
|
13585
|
-
if ($$self.$$.dirty &
|
|
13586
|
-
/*isBound, name, ctx, value, label*/
|
|
13587
|
-
31) {
|
|
13588
|
-
{
|
|
13589
|
-
(async () => {
|
|
13590
|
-
await tick();
|
|
13591
|
-
|
|
13592
|
-
if (!isBound) {
|
|
13593
|
-
$$invalidate(4, isBound = true);
|
|
13594
|
-
$$invalidate(3, ctx = getContext(name));
|
|
13595
|
-
ctx.notify({
|
|
13596
|
-
type: "bind",
|
|
13597
|
-
value,
|
|
13598
|
-
label
|
|
13599
|
-
});
|
|
13600
|
-
}
|
|
13601
|
-
})();
|
|
13602
|
-
}
|
|
13603
|
-
}
|
|
13604
|
-
};
|
|
13605
|
-
|
|
13606
|
-
return [value, label, name, ctx, isBound];
|
|
13607
|
-
}
|
|
13608
|
-
|
|
13609
|
-
class RadioItem extends SvelteElement {
|
|
13610
|
-
constructor(options) {
|
|
13611
|
-
super();
|
|
13612
|
-
init(this, {
|
|
13613
|
-
target: this.shadowRoot,
|
|
13614
|
-
props: attribute_to_object(this.attributes),
|
|
13615
|
-
customElement: true
|
|
13616
|
-
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
13617
|
-
value: 0,
|
|
13618
|
-
label: 1,
|
|
13619
|
-
name: 2
|
|
13620
|
-
}, null);
|
|
13621
|
-
|
|
13622
|
-
if (options) {
|
|
13623
|
-
if (options.target) {
|
|
13624
|
-
insert(options.target, this, options.anchor);
|
|
13625
|
-
}
|
|
13626
|
-
|
|
13627
|
-
if (options.props) {
|
|
13628
|
-
this.$set(options.props);
|
|
13629
|
-
flush();
|
|
13630
|
-
}
|
|
13631
|
-
}
|
|
13632
|
-
}
|
|
13633
|
-
|
|
13634
|
-
static get observedAttributes() {
|
|
13635
|
-
return ["value", "label", "name"];
|
|
13636
|
-
}
|
|
13637
|
-
|
|
13638
|
-
get value() {
|
|
13639
|
-
return this.$$.ctx[0];
|
|
13640
|
-
}
|
|
13641
|
-
|
|
13642
|
-
set value(value) {
|
|
13643
|
-
this.$$set({
|
|
13644
|
-
value
|
|
13645
|
-
});
|
|
13646
|
-
flush();
|
|
13647
|
-
}
|
|
13648
|
-
|
|
13649
|
-
get label() {
|
|
13650
|
-
return this.$$.ctx[1];
|
|
13651
|
-
}
|
|
13652
|
-
|
|
13653
|
-
set label(label) {
|
|
13654
|
-
this.$$set({
|
|
13655
|
-
label
|
|
13656
|
-
});
|
|
13657
|
-
flush();
|
|
13658
|
-
}
|
|
13659
|
-
|
|
13660
|
-
get name() {
|
|
13661
|
-
return this.$$.ctx[2];
|
|
13662
|
-
}
|
|
13663
|
-
|
|
13664
|
-
set name(name) {
|
|
13665
|
-
this.$$set({
|
|
13666
|
-
name
|
|
13667
|
-
});
|
|
13668
|
-
flush();
|
|
13669
|
-
}
|
|
13670
|
-
|
|
13671
|
-
}
|
|
13672
|
-
|
|
13673
|
-
customElements.define("goa-radio-item", RadioItem);
|
|
13674
13462
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13675
13463
|
|
|
13676
|
-
function create_fragment$
|
|
13464
|
+
function create_fragment$8(ctx) {
|
|
13677
13465
|
let div;
|
|
13678
13466
|
let slot;
|
|
13679
13467
|
let div_style_value;
|
|
@@ -13741,7 +13529,7 @@ function create_fragment$7(ctx) {
|
|
|
13741
13529
|
};
|
|
13742
13530
|
}
|
|
13743
13531
|
|
|
13744
|
-
function instance$
|
|
13532
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
13745
13533
|
let {
|
|
13746
13534
|
direction = "vertical"
|
|
13747
13535
|
} = $$props;
|
|
@@ -13773,7 +13561,7 @@ class Scrollable extends SvelteElement {
|
|
|
13773
13561
|
target: this.shadowRoot,
|
|
13774
13562
|
props: attribute_to_object(this.attributes),
|
|
13775
13563
|
customElement: true
|
|
13776
|
-
}, instance$
|
|
13564
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
13777
13565
|
direction: 0,
|
|
13778
13566
|
hpadding: 1,
|
|
13779
13567
|
vpadding: 2,
|
|
@@ -14301,7 +14089,7 @@ function create_each_block(ctx) {
|
|
|
14301
14089
|
};
|
|
14302
14090
|
}
|
|
14303
14091
|
|
|
14304
|
-
function create_fragment$
|
|
14092
|
+
function create_fragment$7(ctx) {
|
|
14305
14093
|
let div;
|
|
14306
14094
|
let current_block_type_index;
|
|
14307
14095
|
let if_block;
|
|
@@ -14417,7 +14205,7 @@ function create_fragment$6(ctx) {
|
|
|
14417
14205
|
};
|
|
14418
14206
|
}
|
|
14419
14207
|
|
|
14420
|
-
function instance$
|
|
14208
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
14421
14209
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14422
14210
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14423
14211
|
let {
|
|
@@ -14475,7 +14263,7 @@ class Skeleton extends SvelteElement {
|
|
|
14475
14263
|
target: this.shadowRoot,
|
|
14476
14264
|
props: attribute_to_object(this.attributes),
|
|
14477
14265
|
customElement: true
|
|
14478
|
-
}, instance$
|
|
14266
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
14479
14267
|
maxwidth: 0,
|
|
14480
14268
|
size: 1,
|
|
14481
14269
|
linecount: 2,
|
|
@@ -14607,7 +14395,7 @@ class Skeleton extends SvelteElement {
|
|
|
14607
14395
|
customElements.define("goa-skeleton", Skeleton);
|
|
14608
14396
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14609
14397
|
|
|
14610
|
-
function create_fragment$
|
|
14398
|
+
function create_fragment$6(ctx) {
|
|
14611
14399
|
let div;
|
|
14612
14400
|
return {
|
|
14613
14401
|
c() {
|
|
@@ -14636,7 +14424,7 @@ function create_fragment$5(ctx) {
|
|
|
14636
14424
|
};
|
|
14637
14425
|
}
|
|
14638
14426
|
|
|
14639
|
-
function instance$
|
|
14427
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
14640
14428
|
let {
|
|
14641
14429
|
hspacing = "none"
|
|
14642
14430
|
} = $$props;
|
|
@@ -14673,7 +14461,7 @@ class Spacer extends SvelteElement {
|
|
|
14673
14461
|
target: this.shadowRoot,
|
|
14674
14462
|
props: attribute_to_object(this.attributes),
|
|
14675
14463
|
customElement: true
|
|
14676
|
-
}, instance$
|
|
14464
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
14677
14465
|
hspacing: 1,
|
|
14678
14466
|
vspacing: 2
|
|
14679
14467
|
}, null);
|
|
@@ -14705,21 +14493,85 @@ class Spacer extends SvelteElement {
|
|
|
14705
14493
|
flush();
|
|
14706
14494
|
}
|
|
14707
14495
|
|
|
14708
|
-
get vspacing() {
|
|
14709
|
-
return this.$$.ctx[2];
|
|
14710
|
-
}
|
|
14496
|
+
get vspacing() {
|
|
14497
|
+
return this.$$.ctx[2];
|
|
14498
|
+
}
|
|
14499
|
+
|
|
14500
|
+
set vspacing(vspacing) {
|
|
14501
|
+
this.$$set({
|
|
14502
|
+
vspacing
|
|
14503
|
+
});
|
|
14504
|
+
flush();
|
|
14505
|
+
}
|
|
14506
|
+
|
|
14507
|
+
}
|
|
14508
|
+
|
|
14509
|
+
customElements.define("goa-spacer", Spacer);
|
|
14510
|
+
const subscriber_queue = [];
|
|
14511
|
+
/**
|
|
14512
|
+
* Create a `Writable` store that allows both updating and reading by subscription.
|
|
14513
|
+
* @param {*=}value initial value
|
|
14514
|
+
* @param {StartStopNotifier=}start start and stop notifications for subscriptions
|
|
14515
|
+
*/
|
|
14516
|
+
|
|
14517
|
+
function writable(value, start = noop) {
|
|
14518
|
+
let stop;
|
|
14519
|
+
const subscribers = new Set();
|
|
14520
|
+
|
|
14521
|
+
function set(new_value) {
|
|
14522
|
+
if (safe_not_equal(value, new_value)) {
|
|
14523
|
+
value = new_value;
|
|
14524
|
+
|
|
14525
|
+
if (stop) {
|
|
14526
|
+
// store is ready
|
|
14527
|
+
const run_queue = !subscriber_queue.length;
|
|
14528
|
+
|
|
14529
|
+
for (const subscriber of subscribers) {
|
|
14530
|
+
subscriber[1]();
|
|
14531
|
+
subscriber_queue.push(subscriber, value);
|
|
14532
|
+
}
|
|
14533
|
+
|
|
14534
|
+
if (run_queue) {
|
|
14535
|
+
for (let i = 0; i < subscriber_queue.length; i += 2) {
|
|
14536
|
+
subscriber_queue[i][0](subscriber_queue[i + 1]);
|
|
14537
|
+
}
|
|
14538
|
+
|
|
14539
|
+
subscriber_queue.length = 0;
|
|
14540
|
+
}
|
|
14541
|
+
}
|
|
14542
|
+
}
|
|
14543
|
+
}
|
|
14544
|
+
|
|
14545
|
+
function update(fn) {
|
|
14546
|
+
set(fn(value));
|
|
14547
|
+
}
|
|
14548
|
+
|
|
14549
|
+
function subscribe(run, invalidate = noop) {
|
|
14550
|
+
const subscriber = [run, invalidate];
|
|
14551
|
+
subscribers.add(subscriber);
|
|
14552
|
+
|
|
14553
|
+
if (subscribers.size === 1) {
|
|
14554
|
+
stop = start(set) || noop;
|
|
14555
|
+
}
|
|
14556
|
+
|
|
14557
|
+
run(value);
|
|
14558
|
+
return () => {
|
|
14559
|
+
subscribers.delete(subscriber);
|
|
14711
14560
|
|
|
14712
|
-
|
|
14713
|
-
|
|
14714
|
-
|
|
14715
|
-
|
|
14716
|
-
|
|
14561
|
+
if (subscribers.size === 0) {
|
|
14562
|
+
stop();
|
|
14563
|
+
stop = null;
|
|
14564
|
+
}
|
|
14565
|
+
};
|
|
14717
14566
|
}
|
|
14718
14567
|
|
|
14568
|
+
return {
|
|
14569
|
+
set,
|
|
14570
|
+
update,
|
|
14571
|
+
subscribe
|
|
14572
|
+
};
|
|
14719
14573
|
}
|
|
14720
14574
|
|
|
14721
|
-
customElements.define("goa-spacer", Spacer);
|
|
14722
|
-
|
|
14723
14575
|
function is_date(obj) {
|
|
14724
14576
|
return Object.prototype.toString.call(obj) === '[object Date]';
|
|
14725
14577
|
}
|
|
@@ -15031,7 +14883,7 @@ function create_if_block(ctx) {
|
|
|
15031
14883
|
};
|
|
15032
14884
|
}
|
|
15033
14885
|
|
|
15034
|
-
function create_fragment$
|
|
14886
|
+
function create_fragment$5(ctx) {
|
|
15035
14887
|
let if_block_anchor;
|
|
15036
14888
|
let if_block =
|
|
15037
14889
|
/*ready*/
|
|
@@ -15076,7 +14928,7 @@ function create_fragment$4(ctx) {
|
|
|
15076
14928
|
};
|
|
15077
14929
|
}
|
|
15078
14930
|
|
|
15079
|
-
function instance$
|
|
14931
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
15080
14932
|
let diameter;
|
|
15081
14933
|
let strokewidth;
|
|
15082
14934
|
let radius;
|
|
@@ -15207,7 +15059,7 @@ class Spinner extends SvelteElement {
|
|
|
15207
15059
|
target: this.shadowRoot,
|
|
15208
15060
|
props: attribute_to_object(this.attributes),
|
|
15209
15061
|
customElement: true
|
|
15210
|
-
}, instance$
|
|
15062
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
15211
15063
|
size: 10,
|
|
15212
15064
|
invert: 0,
|
|
15213
15065
|
progress: 11,
|
|
@@ -15277,6 +15129,261 @@ class Spinner extends SvelteElement {
|
|
|
15277
15129
|
}
|
|
15278
15130
|
|
|
15279
15131
|
customElements.define("goa-spinner", Spinner);
|
|
15132
|
+
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15133
|
+
|
|
15134
|
+
function create_fragment$4(ctx) {
|
|
15135
|
+
let table;
|
|
15136
|
+
let slot;
|
|
15137
|
+
let t0;
|
|
15138
|
+
let template;
|
|
15139
|
+
let table_style_value;
|
|
15140
|
+
return {
|
|
15141
|
+
c() {
|
|
15142
|
+
table = element("table");
|
|
15143
|
+
slot = element("slot");
|
|
15144
|
+
t0 = space();
|
|
15145
|
+
template = element("template");
|
|
15146
|
+
template.innerHTML = `<thead><tr><th></th></tr></thead>
|
|
15147
|
+
<tbody><tr><td></td></tr></tbody>
|
|
15148
|
+
<tfoot><tr><td></td></tr></tfoot>`;
|
|
15149
|
+
this.c = noop;
|
|
15150
|
+
attr(table, "style", table_style_value = `
|
|
15151
|
+
width: ${
|
|
15152
|
+
/*width*/
|
|
15153
|
+
ctx[0]};
|
|
15154
|
+
${calculateMargin(
|
|
15155
|
+
/*mt*/
|
|
15156
|
+
ctx[1],
|
|
15157
|
+
/*mr*/
|
|
15158
|
+
ctx[2],
|
|
15159
|
+
/*mb*/
|
|
15160
|
+
ctx[3],
|
|
15161
|
+
/*ml*/
|
|
15162
|
+
ctx[4])}
|
|
15163
|
+
`);
|
|
15164
|
+
toggle_class(table, "sticky",
|
|
15165
|
+
/*_stickyHeader*/
|
|
15166
|
+
ctx[6]);
|
|
15167
|
+
},
|
|
15168
|
+
|
|
15169
|
+
m(target, anchor) {
|
|
15170
|
+
insert(target, table, anchor);
|
|
15171
|
+
append(table, slot);
|
|
15172
|
+
append(table, t0);
|
|
15173
|
+
append(table, template);
|
|
15174
|
+
/*table_binding*/
|
|
15175
|
+
|
|
15176
|
+
ctx[8](table);
|
|
15177
|
+
},
|
|
15178
|
+
|
|
15179
|
+
p(ctx, [dirty]) {
|
|
15180
|
+
if (dirty &
|
|
15181
|
+
/*width, mt, mr, mb, ml*/
|
|
15182
|
+
31 && table_style_value !== (table_style_value = `
|
|
15183
|
+
width: ${
|
|
15184
|
+
/*width*/
|
|
15185
|
+
ctx[0]};
|
|
15186
|
+
${calculateMargin(
|
|
15187
|
+
/*mt*/
|
|
15188
|
+
ctx[1],
|
|
15189
|
+
/*mr*/
|
|
15190
|
+
ctx[2],
|
|
15191
|
+
/*mb*/
|
|
15192
|
+
ctx[3],
|
|
15193
|
+
/*ml*/
|
|
15194
|
+
ctx[4])}
|
|
15195
|
+
`)) {
|
|
15196
|
+
attr(table, "style", table_style_value);
|
|
15197
|
+
}
|
|
15198
|
+
|
|
15199
|
+
if (dirty &
|
|
15200
|
+
/*_stickyHeader*/
|
|
15201
|
+
64) {
|
|
15202
|
+
toggle_class(table, "sticky",
|
|
15203
|
+
/*_stickyHeader*/
|
|
15204
|
+
ctx[6]);
|
|
15205
|
+
}
|
|
15206
|
+
},
|
|
15207
|
+
|
|
15208
|
+
i: noop,
|
|
15209
|
+
o: noop,
|
|
15210
|
+
|
|
15211
|
+
d(detaching) {
|
|
15212
|
+
if (detaching) detach(table);
|
|
15213
|
+
/*table_binding*/
|
|
15214
|
+
|
|
15215
|
+
ctx[8](null);
|
|
15216
|
+
}
|
|
15217
|
+
|
|
15218
|
+
};
|
|
15219
|
+
}
|
|
15220
|
+
|
|
15221
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
15222
|
+
let _stickyHeader;
|
|
15223
|
+
|
|
15224
|
+
let {
|
|
15225
|
+
width = ""
|
|
15226
|
+
} = $$props;
|
|
15227
|
+
let {
|
|
15228
|
+
stickyheader = "false"
|
|
15229
|
+
} = $$props;
|
|
15230
|
+
let {
|
|
15231
|
+
mt = null
|
|
15232
|
+
} = $$props;
|
|
15233
|
+
let {
|
|
15234
|
+
mr = null
|
|
15235
|
+
} = $$props;
|
|
15236
|
+
let {
|
|
15237
|
+
mb = null
|
|
15238
|
+
} = $$props;
|
|
15239
|
+
let {
|
|
15240
|
+
ml = null
|
|
15241
|
+
} = $$props; // Private
|
|
15242
|
+
|
|
15243
|
+
let _rootEl;
|
|
15244
|
+
|
|
15245
|
+
onMount(() => {
|
|
15246
|
+
const slot = _rootEl.querySelector("slot");
|
|
15247
|
+
|
|
15248
|
+
if (slot) {
|
|
15249
|
+
// React needs to nest data in a <table>...</table>
|
|
15250
|
+
const content = slot.assignedElements()[0].querySelectorAll("template table > *");
|
|
15251
|
+
|
|
15252
|
+
_rootEl.append(...(content.length > 0 ? content : slot.assignedElements()));
|
|
15253
|
+
} else {
|
|
15254
|
+
return [..._rootEl.children];
|
|
15255
|
+
}
|
|
15256
|
+
});
|
|
15257
|
+
|
|
15258
|
+
function table_binding($$value) {
|
|
15259
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15260
|
+
_rootEl = $$value;
|
|
15261
|
+
$$invalidate(5, _rootEl);
|
|
15262
|
+
});
|
|
15263
|
+
}
|
|
15264
|
+
|
|
15265
|
+
$$self.$$set = $$props => {
|
|
15266
|
+
if ('width' in $$props) $$invalidate(0, width = $$props.width);
|
|
15267
|
+
if ('stickyheader' in $$props) $$invalidate(7, stickyheader = $$props.stickyheader);
|
|
15268
|
+
if ('mt' in $$props) $$invalidate(1, mt = $$props.mt);
|
|
15269
|
+
if ('mr' in $$props) $$invalidate(2, mr = $$props.mr);
|
|
15270
|
+
if ('mb' in $$props) $$invalidate(3, mb = $$props.mb);
|
|
15271
|
+
if ('ml' in $$props) $$invalidate(4, ml = $$props.ml);
|
|
15272
|
+
};
|
|
15273
|
+
|
|
15274
|
+
$$self.$$.update = () => {
|
|
15275
|
+
if ($$self.$$.dirty &
|
|
15276
|
+
/*stickyheader*/
|
|
15277
|
+
128) {
|
|
15278
|
+
$$invalidate(6, _stickyHeader = toBoolean(stickyheader));
|
|
15279
|
+
}
|
|
15280
|
+
};
|
|
15281
|
+
|
|
15282
|
+
return [width, mt, mr, mb, ml, _rootEl, _stickyHeader, stickyheader, table_binding];
|
|
15283
|
+
}
|
|
15284
|
+
|
|
15285
|
+
class Table extends SvelteElement {
|
|
15286
|
+
constructor(options) {
|
|
15287
|
+
super();
|
|
15288
|
+
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>`;
|
|
15289
|
+
init(this, {
|
|
15290
|
+
target: this.shadowRoot,
|
|
15291
|
+
props: attribute_to_object(this.attributes),
|
|
15292
|
+
customElement: true
|
|
15293
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
15294
|
+
width: 0,
|
|
15295
|
+
stickyheader: 7,
|
|
15296
|
+
mt: 1,
|
|
15297
|
+
mr: 2,
|
|
15298
|
+
mb: 3,
|
|
15299
|
+
ml: 4
|
|
15300
|
+
}, null);
|
|
15301
|
+
|
|
15302
|
+
if (options) {
|
|
15303
|
+
if (options.target) {
|
|
15304
|
+
insert(options.target, this, options.anchor);
|
|
15305
|
+
}
|
|
15306
|
+
|
|
15307
|
+
if (options.props) {
|
|
15308
|
+
this.$set(options.props);
|
|
15309
|
+
flush();
|
|
15310
|
+
}
|
|
15311
|
+
}
|
|
15312
|
+
}
|
|
15313
|
+
|
|
15314
|
+
static get observedAttributes() {
|
|
15315
|
+
return ["width", "stickyheader", "mt", "mr", "mb", "ml"];
|
|
15316
|
+
}
|
|
15317
|
+
|
|
15318
|
+
get width() {
|
|
15319
|
+
return this.$$.ctx[0];
|
|
15320
|
+
}
|
|
15321
|
+
|
|
15322
|
+
set width(width) {
|
|
15323
|
+
this.$$set({
|
|
15324
|
+
width
|
|
15325
|
+
});
|
|
15326
|
+
flush();
|
|
15327
|
+
}
|
|
15328
|
+
|
|
15329
|
+
get stickyheader() {
|
|
15330
|
+
return this.$$.ctx[7];
|
|
15331
|
+
}
|
|
15332
|
+
|
|
15333
|
+
set stickyheader(stickyheader) {
|
|
15334
|
+
this.$$set({
|
|
15335
|
+
stickyheader
|
|
15336
|
+
});
|
|
15337
|
+
flush();
|
|
15338
|
+
}
|
|
15339
|
+
|
|
15340
|
+
get mt() {
|
|
15341
|
+
return this.$$.ctx[1];
|
|
15342
|
+
}
|
|
15343
|
+
|
|
15344
|
+
set mt(mt) {
|
|
15345
|
+
this.$$set({
|
|
15346
|
+
mt
|
|
15347
|
+
});
|
|
15348
|
+
flush();
|
|
15349
|
+
}
|
|
15350
|
+
|
|
15351
|
+
get mr() {
|
|
15352
|
+
return this.$$.ctx[2];
|
|
15353
|
+
}
|
|
15354
|
+
|
|
15355
|
+
set mr(mr) {
|
|
15356
|
+
this.$$set({
|
|
15357
|
+
mr
|
|
15358
|
+
});
|
|
15359
|
+
flush();
|
|
15360
|
+
}
|
|
15361
|
+
|
|
15362
|
+
get mb() {
|
|
15363
|
+
return this.$$.ctx[3];
|
|
15364
|
+
}
|
|
15365
|
+
|
|
15366
|
+
set mb(mb) {
|
|
15367
|
+
this.$$set({
|
|
15368
|
+
mb
|
|
15369
|
+
});
|
|
15370
|
+
flush();
|
|
15371
|
+
}
|
|
15372
|
+
|
|
15373
|
+
get ml() {
|
|
15374
|
+
return this.$$.ctx[4];
|
|
15375
|
+
}
|
|
15376
|
+
|
|
15377
|
+
set ml(ml) {
|
|
15378
|
+
this.$$set({
|
|
15379
|
+
ml
|
|
15380
|
+
});
|
|
15381
|
+
flush();
|
|
15382
|
+
}
|
|
15383
|
+
|
|
15384
|
+
}
|
|
15385
|
+
|
|
15386
|
+
customElements.define("goa-table", Table);
|
|
15280
15387
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15281
15388
|
|
|
15282
15389
|
function create_fragment$3(ctx) {
|
|
@@ -16426,16 +16533,17 @@ function GoADivider(props) {
|
|
|
16426
16533
|
}, void 0);
|
|
16427
16534
|
}
|
|
16428
16535
|
|
|
16429
|
-
|
|
16430
|
-
|
|
16431
|
-
"
|
|
16432
|
-
|
|
16433
|
-
|
|
16434
|
-
|
|
16435
|
-
|
|
16436
|
-
|
|
16437
|
-
|
|
16438
|
-
|
|
16536
|
+
function stringify(value) {
|
|
16537
|
+
if (typeof value === "undefined") {
|
|
16538
|
+
return "";
|
|
16539
|
+
}
|
|
16540
|
+
|
|
16541
|
+
if (typeof value === "string") {
|
|
16542
|
+
return value;
|
|
16543
|
+
}
|
|
16544
|
+
|
|
16545
|
+
return JSON.stringify(value);
|
|
16546
|
+
}
|
|
16439
16547
|
|
|
16440
16548
|
const GoADropdown = props => {
|
|
16441
16549
|
const el = useRef(null);
|
|
@@ -16463,7 +16571,7 @@ const GoADropdown = props => {
|
|
|
16463
16571
|
return jsx("goa-dropdown", Object.assign({
|
|
16464
16572
|
ref: el,
|
|
16465
16573
|
name: props.name,
|
|
16466
|
-
value:
|
|
16574
|
+
value: stringify(props.value),
|
|
16467
16575
|
arialabel: props.ariaLabel,
|
|
16468
16576
|
disabled: props.disabled,
|
|
16469
16577
|
error: props.error,
|
|
@@ -16484,6 +16592,26 @@ const GoADropdown = props => {
|
|
|
16484
16592
|
}), void 0);
|
|
16485
16593
|
};
|
|
16486
16594
|
|
|
16595
|
+
function GoADropdownOption(props) {
|
|
16596
|
+
useEffect(() => {
|
|
16597
|
+
console.warn("GoADropdownOption is deprecated. Please use GoADropdownItem");
|
|
16598
|
+
}, []);
|
|
16599
|
+
return jsx(GoADropdownItem, Object.assign({}, props), void 0);
|
|
16600
|
+
}
|
|
16601
|
+
function GoADropdownItem({
|
|
16602
|
+
value,
|
|
16603
|
+
label,
|
|
16604
|
+
name,
|
|
16605
|
+
testId
|
|
16606
|
+
}) {
|
|
16607
|
+
return jsx("goa-dropdown-item", {
|
|
16608
|
+
"data-testid": testId,
|
|
16609
|
+
value: value,
|
|
16610
|
+
label: label,
|
|
16611
|
+
name: name
|
|
16612
|
+
}, void 0);
|
|
16613
|
+
}
|
|
16614
|
+
|
|
16487
16615
|
function GoAAppFooterMetaSection({
|
|
16488
16616
|
children
|
|
16489
16617
|
}) {
|
|
@@ -17151,6 +17279,19 @@ const GoASpinner = ({
|
|
|
17151
17279
|
}, void 0);
|
|
17152
17280
|
};
|
|
17153
17281
|
|
|
17282
|
+
function GoATable(props) {
|
|
17283
|
+
return jsx("goa-table", Object.assign({
|
|
17284
|
+
width: props.width,
|
|
17285
|
+
stickyheader: false
|
|
17286
|
+
}, {
|
|
17287
|
+
children: jsx("template", {
|
|
17288
|
+
children: jsx("table", {
|
|
17289
|
+
children: props.children
|
|
17290
|
+
}, void 0)
|
|
17291
|
+
}, void 0)
|
|
17292
|
+
}), void 0);
|
|
17293
|
+
}
|
|
17294
|
+
|
|
17154
17295
|
const GoATextArea = ({
|
|
17155
17296
|
name,
|
|
17156
17297
|
value,
|
|
@@ -17231,4 +17372,4 @@ function GoATwoColumnLayout(props) {
|
|
|
17231
17372
|
}), void 0);
|
|
17232
17373
|
}
|
|
17233
17374
|
|
|
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 };
|
|
17375
|
+
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|