@abgov/react-components 4.0.0-alpha.117 → 4.0.0-alpha.119
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 +3 -0
- package/lib/form-step/form-step.d.ts +19 -0
- package/lib/form-stepper/form-stepper.d.ts +21 -0
- package/lib/pages/pages.d.ts +18 -0
- package/lib/skeleton/skeleton.d.ts +1 -1
- package/package.json +1 -1
- package/react-components.esm.js +1885 -317
- package/react-components.umd.js +1920 -350
package/react-components.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
2
2
|
import { useRef, useEffect } from 'react';
|
|
3
3
|
import { parseISO, format } from 'date-fns';
|
|
4
4
|
|
|
@@ -210,6 +210,50 @@ function custom_event(type, detail, {
|
|
|
210
210
|
return e;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
class HtmlTag {
|
|
214
|
+
constructor(is_svg = false) {
|
|
215
|
+
this.is_svg = false;
|
|
216
|
+
this.is_svg = is_svg;
|
|
217
|
+
this.e = this.n = null;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
c(html) {
|
|
221
|
+
this.h(html);
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
m(html, target, anchor = null) {
|
|
225
|
+
if (!this.e) {
|
|
226
|
+
if (this.is_svg) this.e = svg_element(target.nodeName);else this.e = element(target.nodeName);
|
|
227
|
+
this.t = target;
|
|
228
|
+
this.c(html);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
this.i(anchor);
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
h(html) {
|
|
235
|
+
this.e.innerHTML = html;
|
|
236
|
+
this.n = Array.from(this.e.childNodes);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
i(anchor) {
|
|
240
|
+
for (let i = 0; i < this.n.length; i += 1) {
|
|
241
|
+
insert(this.t, this.n[i], anchor);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
p(html) {
|
|
246
|
+
this.d();
|
|
247
|
+
this.h(html);
|
|
248
|
+
this.i(this.a);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
d() {
|
|
252
|
+
this.n.forEach(detach);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
}
|
|
256
|
+
|
|
213
257
|
function attribute_to_object(attributes) {
|
|
214
258
|
const result = {};
|
|
215
259
|
|
|
@@ -1108,7 +1152,7 @@ function typeValidator(message, values, required = false) {
|
|
|
1108
1152
|
/* libs/web-components/src/components/accordion/Accordion.svelte generated by Svelte v3.51.0 */
|
|
1109
1153
|
|
|
1110
1154
|
|
|
1111
|
-
function create_fragment$
|
|
1155
|
+
function create_fragment$M(ctx) {
|
|
1112
1156
|
let div3;
|
|
1113
1157
|
let details;
|
|
1114
1158
|
let summary;
|
|
@@ -1311,7 +1355,7 @@ function create_fragment$J(ctx) {
|
|
|
1311
1355
|
};
|
|
1312
1356
|
}
|
|
1313
1357
|
|
|
1314
|
-
function instance$
|
|
1358
|
+
function instance$G($$self, $$props, $$invalidate) {
|
|
1315
1359
|
let isOpen;
|
|
1316
1360
|
const [HeadingSizes, validateHeadingSize] = typeValidator("Accordion heading size", ["small", "medium"]);
|
|
1317
1361
|
let {
|
|
@@ -1389,7 +1433,7 @@ class Accordion extends SvelteElement {
|
|
|
1389
1433
|
target: this.shadowRoot,
|
|
1390
1434
|
props: attribute_to_object(this.attributes),
|
|
1391
1435
|
customElement: true
|
|
1392
|
-
}, instance$
|
|
1436
|
+
}, instance$G, create_fragment$M, safe_not_equal, {
|
|
1393
1437
|
open: 10,
|
|
1394
1438
|
heading: 0,
|
|
1395
1439
|
secondarytext: 1,
|
|
@@ -1521,7 +1565,7 @@ class Accordion extends SvelteElement {
|
|
|
1521
1565
|
customElements.define("goa-accordion", Accordion);
|
|
1522
1566
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.51.0 */
|
|
1523
1567
|
|
|
1524
|
-
function create_else_block$
|
|
1568
|
+
function create_else_block$8(ctx) {
|
|
1525
1569
|
let div;
|
|
1526
1570
|
let img0;
|
|
1527
1571
|
let img0_src_value;
|
|
@@ -1578,7 +1622,7 @@ function create_else_block$6(ctx) {
|
|
|
1578
1622
|
} // (19:4) {#if url}
|
|
1579
1623
|
|
|
1580
1624
|
|
|
1581
|
-
function create_if_block$
|
|
1625
|
+
function create_if_block$l(ctx) {
|
|
1582
1626
|
let a;
|
|
1583
1627
|
let img0;
|
|
1584
1628
|
let img0_src_value;
|
|
@@ -1645,7 +1689,7 @@ function create_if_block$j(ctx) {
|
|
|
1645
1689
|
};
|
|
1646
1690
|
}
|
|
1647
1691
|
|
|
1648
|
-
function create_fragment$
|
|
1692
|
+
function create_fragment$L(ctx) {
|
|
1649
1693
|
let div2;
|
|
1650
1694
|
let div1;
|
|
1651
1695
|
let t;
|
|
@@ -1655,8 +1699,8 @@ function create_fragment$I(ctx) {
|
|
|
1655
1699
|
function select_block_type(ctx, dirty) {
|
|
1656
1700
|
if (
|
|
1657
1701
|
/*url*/
|
|
1658
|
-
ctx[1]) return create_if_block$
|
|
1659
|
-
return create_else_block$
|
|
1702
|
+
ctx[1]) return create_if_block$l;
|
|
1703
|
+
return create_else_block$8;
|
|
1660
1704
|
}
|
|
1661
1705
|
|
|
1662
1706
|
let current_block_type = select_block_type(ctx);
|
|
@@ -1729,7 +1773,7 @@ function create_fragment$I(ctx) {
|
|
|
1729
1773
|
};
|
|
1730
1774
|
}
|
|
1731
1775
|
|
|
1732
|
-
function instance$
|
|
1776
|
+
function instance$F($$self, $$props, $$invalidate) {
|
|
1733
1777
|
let {
|
|
1734
1778
|
heading = ""
|
|
1735
1779
|
} = $$props;
|
|
@@ -1761,7 +1805,7 @@ class AppHeader extends SvelteElement {
|
|
|
1761
1805
|
target: this.shadowRoot,
|
|
1762
1806
|
props: attribute_to_object(this.attributes),
|
|
1763
1807
|
customElement: true
|
|
1764
|
-
}, instance$
|
|
1808
|
+
}, instance$F, create_fragment$L, safe_not_equal, {
|
|
1765
1809
|
heading: 0,
|
|
1766
1810
|
url: 1,
|
|
1767
1811
|
testid: 2,
|
|
@@ -1833,7 +1877,7 @@ class AppHeader extends SvelteElement {
|
|
|
1833
1877
|
customElements.define("goa-app-header", AppHeader);
|
|
1834
1878
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.51.0 */
|
|
1835
1879
|
|
|
1836
|
-
function create_else_block$
|
|
1880
|
+
function create_else_block$7(ctx) {
|
|
1837
1881
|
let div;
|
|
1838
1882
|
return {
|
|
1839
1883
|
c() {
|
|
@@ -1856,7 +1900,7 @@ function create_else_block$5(ctx) {
|
|
|
1856
1900
|
} // (45:2) {#if showIcon}
|
|
1857
1901
|
|
|
1858
1902
|
|
|
1859
|
-
function create_if_block_1$
|
|
1903
|
+
function create_if_block_1$c(ctx) {
|
|
1860
1904
|
let goa_icon;
|
|
1861
1905
|
return {
|
|
1862
1906
|
c() {
|
|
@@ -1889,7 +1933,7 @@ function create_if_block_1$a(ctx) {
|
|
|
1889
1933
|
} // (50:2) {#if content}
|
|
1890
1934
|
|
|
1891
1935
|
|
|
1892
|
-
function create_if_block$
|
|
1936
|
+
function create_if_block$k(ctx) {
|
|
1893
1937
|
let div;
|
|
1894
1938
|
let t;
|
|
1895
1939
|
return {
|
|
@@ -1921,7 +1965,7 @@ function create_if_block$i(ctx) {
|
|
|
1921
1965
|
};
|
|
1922
1966
|
}
|
|
1923
1967
|
|
|
1924
|
-
function create_fragment$
|
|
1968
|
+
function create_fragment$K(ctx) {
|
|
1925
1969
|
let div;
|
|
1926
1970
|
let t;
|
|
1927
1971
|
let div_style_value;
|
|
@@ -1930,15 +1974,15 @@ function create_fragment$H(ctx) {
|
|
|
1930
1974
|
function select_block_type(ctx, dirty) {
|
|
1931
1975
|
if (
|
|
1932
1976
|
/*showIcon*/
|
|
1933
|
-
ctx[7]) return create_if_block_1$
|
|
1934
|
-
return create_else_block$
|
|
1977
|
+
ctx[7]) return create_if_block_1$c;
|
|
1978
|
+
return create_else_block$7;
|
|
1935
1979
|
}
|
|
1936
1980
|
|
|
1937
1981
|
let current_block_type = select_block_type(ctx);
|
|
1938
1982
|
let if_block0 = current_block_type(ctx);
|
|
1939
1983
|
let if_block1 =
|
|
1940
1984
|
/*content*/
|
|
1941
|
-
ctx[2] && create_if_block$
|
|
1985
|
+
ctx[2] && create_if_block$k(ctx);
|
|
1942
1986
|
return {
|
|
1943
1987
|
c() {
|
|
1944
1988
|
div = element("div");
|
|
@@ -1995,7 +2039,7 @@ function create_fragment$H(ctx) {
|
|
|
1995
2039
|
if (if_block1) {
|
|
1996
2040
|
if_block1.p(ctx, dirty);
|
|
1997
2041
|
} else {
|
|
1998
|
-
if_block1 = create_if_block$
|
|
2042
|
+
if_block1 = create_if_block$k(ctx);
|
|
1999
2043
|
if_block1.c();
|
|
2000
2044
|
if_block1.m(div, null);
|
|
2001
2045
|
}
|
|
@@ -2057,7 +2101,7 @@ function create_fragment$H(ctx) {
|
|
|
2057
2101
|
};
|
|
2058
2102
|
}
|
|
2059
2103
|
|
|
2060
|
-
function instance$
|
|
2104
|
+
function instance$E($$self, $$props, $$invalidate) {
|
|
2061
2105
|
let showIcon;
|
|
2062
2106
|
let iconType;
|
|
2063
2107
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -2137,7 +2181,7 @@ class Badge extends SvelteElement {
|
|
|
2137
2181
|
target: this.shadowRoot,
|
|
2138
2182
|
props: attribute_to_object(this.attributes),
|
|
2139
2183
|
customElement: true
|
|
2140
|
-
}, instance$
|
|
2184
|
+
}, instance$E, create_fragment$K, safe_not_equal, {
|
|
2141
2185
|
type: 0,
|
|
2142
2186
|
testid: 1,
|
|
2143
2187
|
content: 2,
|
|
@@ -2257,7 +2301,7 @@ class Badge extends SvelteElement {
|
|
|
2257
2301
|
customElements.define("goa-badge", Badge);
|
|
2258
2302
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
2259
2303
|
|
|
2260
|
-
function create_fragment$
|
|
2304
|
+
function create_fragment$J(ctx) {
|
|
2261
2305
|
let div;
|
|
2262
2306
|
let slot;
|
|
2263
2307
|
let div_style_value;
|
|
@@ -2331,7 +2375,7 @@ function create_fragment$G(ctx) {
|
|
|
2331
2375
|
};
|
|
2332
2376
|
}
|
|
2333
2377
|
|
|
2334
|
-
function instance$
|
|
2378
|
+
function instance$D($$self, $$props, $$invalidate) {
|
|
2335
2379
|
let {
|
|
2336
2380
|
gap = "m"
|
|
2337
2381
|
} = $$props;
|
|
@@ -2375,7 +2419,7 @@ class Block extends SvelteElement {
|
|
|
2375
2419
|
target: this.shadowRoot,
|
|
2376
2420
|
props: attribute_to_object(this.attributes),
|
|
2377
2421
|
customElement: true
|
|
2378
|
-
}, instance$
|
|
2422
|
+
}, instance$D, create_fragment$J, safe_not_equal, {
|
|
2379
2423
|
gap: 0,
|
|
2380
2424
|
direction: 1,
|
|
2381
2425
|
alignment: 2,
|
|
@@ -2483,17 +2527,17 @@ class Block extends SvelteElement {
|
|
|
2483
2527
|
customElements.define("goa-block", Block);
|
|
2484
2528
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2485
2529
|
|
|
2486
|
-
function create_else_block$
|
|
2530
|
+
function create_else_block$6(ctx) {
|
|
2487
2531
|
let t0;
|
|
2488
2532
|
let span;
|
|
2489
2533
|
let t1;
|
|
2490
2534
|
let if_block1_anchor;
|
|
2491
2535
|
let if_block0 =
|
|
2492
2536
|
/*leadingicon*/
|
|
2493
|
-
ctx[3] && create_if_block_2$
|
|
2537
|
+
ctx[3] && create_if_block_2$7(ctx);
|
|
2494
2538
|
let if_block1 =
|
|
2495
2539
|
/*trailingicon*/
|
|
2496
|
-
ctx[4] && create_if_block_1$
|
|
2540
|
+
ctx[4] && create_if_block_1$b(ctx);
|
|
2497
2541
|
return {
|
|
2498
2542
|
c() {
|
|
2499
2543
|
if (if_block0) if_block0.c();
|
|
@@ -2522,7 +2566,7 @@ function create_else_block$4(ctx) {
|
|
|
2522
2566
|
if (if_block0) {
|
|
2523
2567
|
if_block0.p(ctx, dirty);
|
|
2524
2568
|
} else {
|
|
2525
|
-
if_block0 = create_if_block_2$
|
|
2569
|
+
if_block0 = create_if_block_2$7(ctx);
|
|
2526
2570
|
if_block0.c();
|
|
2527
2571
|
if_block0.m(t0.parentNode, t0);
|
|
2528
2572
|
}
|
|
@@ -2537,7 +2581,7 @@ function create_else_block$4(ctx) {
|
|
|
2537
2581
|
if (if_block1) {
|
|
2538
2582
|
if_block1.p(ctx, dirty);
|
|
2539
2583
|
} else {
|
|
2540
|
-
if_block1 = create_if_block_1$
|
|
2584
|
+
if_block1 = create_if_block_1$b(ctx);
|
|
2541
2585
|
if_block1.c();
|
|
2542
2586
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2543
2587
|
}
|
|
@@ -2560,7 +2604,7 @@ function create_else_block$4(ctx) {
|
|
|
2560
2604
|
} // (46:2) {#if type === "start"}
|
|
2561
2605
|
|
|
2562
2606
|
|
|
2563
|
-
function create_if_block$
|
|
2607
|
+
function create_if_block$j(ctx) {
|
|
2564
2608
|
let span;
|
|
2565
2609
|
let t;
|
|
2566
2610
|
let goa_icon;
|
|
@@ -2594,7 +2638,7 @@ function create_if_block$h(ctx) {
|
|
|
2594
2638
|
} // (52:4) {#if leadingicon}
|
|
2595
2639
|
|
|
2596
2640
|
|
|
2597
|
-
function create_if_block_2$
|
|
2641
|
+
function create_if_block_2$7(ctx) {
|
|
2598
2642
|
let goa_icon;
|
|
2599
2643
|
return {
|
|
2600
2644
|
c() {
|
|
@@ -2638,7 +2682,7 @@ function create_if_block_2$6(ctx) {
|
|
|
2638
2682
|
} // (58:4) {#if trailingicon}
|
|
2639
2683
|
|
|
2640
2684
|
|
|
2641
|
-
function create_if_block_1$
|
|
2685
|
+
function create_if_block_1$b(ctx) {
|
|
2642
2686
|
let goa_icon;
|
|
2643
2687
|
return {
|
|
2644
2688
|
c() {
|
|
@@ -2681,7 +2725,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2681
2725
|
};
|
|
2682
2726
|
}
|
|
2683
2727
|
|
|
2684
|
-
function create_fragment$
|
|
2728
|
+
function create_fragment$I(ctx) {
|
|
2685
2729
|
let button;
|
|
2686
2730
|
let button_class_value;
|
|
2687
2731
|
let button_style_value;
|
|
@@ -2691,8 +2735,8 @@ function create_fragment$F(ctx) {
|
|
|
2691
2735
|
function select_block_type(ctx, dirty) {
|
|
2692
2736
|
if (
|
|
2693
2737
|
/*type*/
|
|
2694
|
-
ctx[0] === "start") return create_if_block$
|
|
2695
|
-
return create_else_block$
|
|
2738
|
+
ctx[0] === "start") return create_if_block$j;
|
|
2739
|
+
return create_else_block$6;
|
|
2696
2740
|
}
|
|
2697
2741
|
|
|
2698
2742
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2835,7 +2879,7 @@ function create_fragment$F(ctx) {
|
|
|
2835
2879
|
};
|
|
2836
2880
|
}
|
|
2837
2881
|
|
|
2838
|
-
function instance$
|
|
2882
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
2839
2883
|
let isDisabled;
|
|
2840
2884
|
let isButtonDark;
|
|
2841
2885
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2930,7 +2974,7 @@ class Button extends SvelteElement {
|
|
|
2930
2974
|
target: this.shadowRoot,
|
|
2931
2975
|
props: attribute_to_object(this.attributes),
|
|
2932
2976
|
customElement: true
|
|
2933
|
-
}, instance$
|
|
2977
|
+
}, instance$C, create_fragment$I, safe_not_equal, {
|
|
2934
2978
|
type: 0,
|
|
2935
2979
|
size: 1,
|
|
2936
2980
|
variant: 2,
|
|
@@ -3086,7 +3130,7 @@ class Button extends SvelteElement {
|
|
|
3086
3130
|
customElements.define("goa-button", Button);
|
|
3087
3131
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
3088
3132
|
|
|
3089
|
-
function create_fragment$
|
|
3133
|
+
function create_fragment$H(ctx) {
|
|
3090
3134
|
let div;
|
|
3091
3135
|
let slot;
|
|
3092
3136
|
let div_style_value;
|
|
@@ -3156,7 +3200,7 @@ function create_fragment$E(ctx) {
|
|
|
3156
3200
|
};
|
|
3157
3201
|
}
|
|
3158
3202
|
|
|
3159
|
-
function instance$
|
|
3203
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
3160
3204
|
let _alignment;
|
|
3161
3205
|
|
|
3162
3206
|
let {
|
|
@@ -3220,7 +3264,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3220
3264
|
target: this.shadowRoot,
|
|
3221
3265
|
props: attribute_to_object(this.attributes),
|
|
3222
3266
|
customElement: true
|
|
3223
|
-
}, instance$
|
|
3267
|
+
}, instance$B, create_fragment$H, safe_not_equal, {
|
|
3224
3268
|
alignment: 7,
|
|
3225
3269
|
gap: 0,
|
|
3226
3270
|
testid: 1,
|
|
@@ -3328,7 +3372,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3328
3372
|
customElements.define("goa-button-group", ButtonGroup);
|
|
3329
3373
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
3330
3374
|
|
|
3331
|
-
function create_if_block$
|
|
3375
|
+
function create_if_block$i(ctx) {
|
|
3332
3376
|
let h3;
|
|
3333
3377
|
let t;
|
|
3334
3378
|
return {
|
|
@@ -3359,7 +3403,7 @@ function create_if_block$g(ctx) {
|
|
|
3359
3403
|
};
|
|
3360
3404
|
}
|
|
3361
3405
|
|
|
3362
|
-
function create_fragment$
|
|
3406
|
+
function create_fragment$G(ctx) {
|
|
3363
3407
|
let div;
|
|
3364
3408
|
let span0;
|
|
3365
3409
|
let goa_icon;
|
|
@@ -3372,7 +3416,7 @@ function create_fragment$D(ctx) {
|
|
|
3372
3416
|
let div_style_value;
|
|
3373
3417
|
let if_block =
|
|
3374
3418
|
/*heading*/
|
|
3375
|
-
ctx[5] && create_if_block$
|
|
3419
|
+
ctx[5] && create_if_block$i(ctx);
|
|
3376
3420
|
return {
|
|
3377
3421
|
c() {
|
|
3378
3422
|
div = element("div");
|
|
@@ -3451,7 +3495,7 @@ function create_fragment$D(ctx) {
|
|
|
3451
3495
|
if (if_block) {
|
|
3452
3496
|
if_block.p(ctx, dirty);
|
|
3453
3497
|
} else {
|
|
3454
|
-
if_block = create_if_block$
|
|
3498
|
+
if_block = create_if_block$i(ctx);
|
|
3455
3499
|
if_block.c();
|
|
3456
3500
|
if_block.m(span1, t1);
|
|
3457
3501
|
}
|
|
@@ -3494,7 +3538,7 @@ function create_fragment$D(ctx) {
|
|
|
3494
3538
|
};
|
|
3495
3539
|
}
|
|
3496
3540
|
|
|
3497
|
-
function instance$
|
|
3541
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
3498
3542
|
let iconType;
|
|
3499
3543
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3500
3544
|
let {
|
|
@@ -3551,7 +3595,7 @@ class Callout extends SvelteElement {
|
|
|
3551
3595
|
target: this.shadowRoot,
|
|
3552
3596
|
props: attribute_to_object(this.attributes),
|
|
3553
3597
|
customElement: true
|
|
3554
|
-
}, instance$
|
|
3598
|
+
}, instance$A, create_fragment$G, safe_not_equal, {
|
|
3555
3599
|
mt: 0,
|
|
3556
3600
|
mr: 1,
|
|
3557
3601
|
mb: 2,
|
|
@@ -3659,7 +3703,7 @@ class Callout extends SvelteElement {
|
|
|
3659
3703
|
customElements.define("goa-callout", Callout);
|
|
3660
3704
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3661
3705
|
|
|
3662
|
-
function create_fragment$
|
|
3706
|
+
function create_fragment$F(ctx) {
|
|
3663
3707
|
let goa_card_content;
|
|
3664
3708
|
return {
|
|
3665
3709
|
c() {
|
|
@@ -3690,7 +3734,7 @@ class CardActions extends SvelteElement {
|
|
|
3690
3734
|
target: this.shadowRoot,
|
|
3691
3735
|
props: attribute_to_object(this.attributes),
|
|
3692
3736
|
customElement: true
|
|
3693
|
-
}, null, create_fragment$
|
|
3737
|
+
}, null, create_fragment$F, safe_not_equal, {}, null);
|
|
3694
3738
|
|
|
3695
3739
|
if (options) {
|
|
3696
3740
|
if (options.target) {
|
|
@@ -3704,7 +3748,7 @@ class CardActions extends SvelteElement {
|
|
|
3704
3748
|
customElements.define("goa-card-actions", CardActions);
|
|
3705
3749
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3706
3750
|
|
|
3707
|
-
function create_fragment$
|
|
3751
|
+
function create_fragment$E(ctx) {
|
|
3708
3752
|
let div;
|
|
3709
3753
|
let slot;
|
|
3710
3754
|
let div_style_value;
|
|
@@ -3783,7 +3827,7 @@ function create_fragment$B(ctx) {
|
|
|
3783
3827
|
};
|
|
3784
3828
|
}
|
|
3785
3829
|
|
|
3786
|
-
function instance$
|
|
3830
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
3787
3831
|
let {
|
|
3788
3832
|
elevation = 0
|
|
3789
3833
|
} = $$props;
|
|
@@ -3831,7 +3875,7 @@ class Card extends SvelteElement {
|
|
|
3831
3875
|
target: this.shadowRoot,
|
|
3832
3876
|
props: attribute_to_object(this.attributes),
|
|
3833
3877
|
customElement: true
|
|
3834
|
-
}, instance$
|
|
3878
|
+
}, instance$z, create_fragment$E, safe_not_equal, {
|
|
3835
3879
|
elevation: 0,
|
|
3836
3880
|
width: 1,
|
|
3837
3881
|
height: 2,
|
|
@@ -3951,7 +3995,7 @@ class Card extends SvelteElement {
|
|
|
3951
3995
|
customElements.define("goa-card", Card);
|
|
3952
3996
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3953
3997
|
|
|
3954
|
-
function create_fragment$
|
|
3998
|
+
function create_fragment$D(ctx) {
|
|
3955
3999
|
let div;
|
|
3956
4000
|
return {
|
|
3957
4001
|
c() {
|
|
@@ -3984,7 +4028,7 @@ class CardContent extends SvelteElement {
|
|
|
3984
4028
|
target: this.shadowRoot,
|
|
3985
4029
|
props: attribute_to_object(this.attributes),
|
|
3986
4030
|
customElement: true
|
|
3987
|
-
}, null, create_fragment$
|
|
4031
|
+
}, null, create_fragment$D, safe_not_equal, {}, null);
|
|
3988
4032
|
|
|
3989
4033
|
if (options) {
|
|
3990
4034
|
if (options.target) {
|
|
@@ -3998,7 +4042,7 @@ class CardContent extends SvelteElement {
|
|
|
3998
4042
|
customElements.define("goa-card-content", CardContent);
|
|
3999
4043
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
4000
4044
|
|
|
4001
|
-
function create_fragment$
|
|
4045
|
+
function create_fragment$C(ctx) {
|
|
4002
4046
|
let div;
|
|
4003
4047
|
return {
|
|
4004
4048
|
c() {
|
|
@@ -4031,7 +4075,7 @@ class CardGroup extends SvelteElement {
|
|
|
4031
4075
|
target: this.shadowRoot,
|
|
4032
4076
|
props: attribute_to_object(this.attributes),
|
|
4033
4077
|
customElement: true
|
|
4034
|
-
}, null, create_fragment$
|
|
4078
|
+
}, null, create_fragment$C, safe_not_equal, {}, null);
|
|
4035
4079
|
|
|
4036
4080
|
if (options) {
|
|
4037
4081
|
if (options.target) {
|
|
@@ -4045,7 +4089,7 @@ class CardGroup extends SvelteElement {
|
|
|
4045
4089
|
customElements.define("goa-card-group", CardGroup);
|
|
4046
4090
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
4047
4091
|
|
|
4048
|
-
function create_fragment$
|
|
4092
|
+
function create_fragment$B(ctx) {
|
|
4049
4093
|
let div;
|
|
4050
4094
|
return {
|
|
4051
4095
|
c() {
|
|
@@ -4093,7 +4137,7 @@ function create_fragment$y(ctx) {
|
|
|
4093
4137
|
};
|
|
4094
4138
|
}
|
|
4095
4139
|
|
|
4096
|
-
function instance$
|
|
4140
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
4097
4141
|
let {
|
|
4098
4142
|
src
|
|
4099
4143
|
} = $$props;
|
|
@@ -4117,7 +4161,7 @@ class CardImage extends SvelteElement {
|
|
|
4117
4161
|
target: this.shadowRoot,
|
|
4118
4162
|
props: attribute_to_object(this.attributes),
|
|
4119
4163
|
customElement: true
|
|
4120
|
-
}, instance$
|
|
4164
|
+
}, instance$y, create_fragment$B, safe_not_equal, {
|
|
4121
4165
|
src: 0,
|
|
4122
4166
|
height: 1
|
|
4123
4167
|
}, null);
|
|
@@ -4165,7 +4209,7 @@ class CardImage extends SvelteElement {
|
|
|
4165
4209
|
customElements.define("goa-card-image", CardImage);
|
|
4166
4210
|
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
4167
4211
|
|
|
4168
|
-
function create_if_block_1$
|
|
4212
|
+
function create_if_block_1$a(ctx) {
|
|
4169
4213
|
let svg;
|
|
4170
4214
|
let path;
|
|
4171
4215
|
return {
|
|
@@ -4192,7 +4236,7 @@ function create_if_block_1$8(ctx) {
|
|
|
4192
4236
|
} // (68:4) {#if isIndeterminate}
|
|
4193
4237
|
|
|
4194
4238
|
|
|
4195
|
-
function create_if_block$
|
|
4239
|
+
function create_if_block$h(ctx) {
|
|
4196
4240
|
let svg;
|
|
4197
4241
|
let rect;
|
|
4198
4242
|
return {
|
|
@@ -4219,7 +4263,7 @@ function create_if_block$f(ctx) {
|
|
|
4219
4263
|
};
|
|
4220
4264
|
}
|
|
4221
4265
|
|
|
4222
|
-
function create_fragment$
|
|
4266
|
+
function create_fragment$A(ctx) {
|
|
4223
4267
|
let label;
|
|
4224
4268
|
let div0;
|
|
4225
4269
|
let input;
|
|
@@ -4237,10 +4281,10 @@ function create_fragment$x(ctx) {
|
|
|
4237
4281
|
function select_block_type(ctx, dirty) {
|
|
4238
4282
|
if (
|
|
4239
4283
|
/*isIndeterminate*/
|
|
4240
|
-
ctx[10]) return create_if_block$
|
|
4284
|
+
ctx[10]) return create_if_block$h;
|
|
4241
4285
|
if (
|
|
4242
4286
|
/*isChecked*/
|
|
4243
|
-
ctx[9]) return create_if_block_1$
|
|
4287
|
+
ctx[9]) return create_if_block_1$a;
|
|
4244
4288
|
}
|
|
4245
4289
|
|
|
4246
4290
|
let current_block_type = select_block_type(ctx);
|
|
@@ -4468,7 +4512,7 @@ function create_fragment$x(ctx) {
|
|
|
4468
4512
|
};
|
|
4469
4513
|
}
|
|
4470
4514
|
|
|
4471
|
-
function instance$
|
|
4515
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
4472
4516
|
let isDisabled;
|
|
4473
4517
|
let isError;
|
|
4474
4518
|
let isChecked;
|
|
@@ -4583,7 +4627,7 @@ class Checkbox extends SvelteElement {
|
|
|
4583
4627
|
target: this.shadowRoot,
|
|
4584
4628
|
props: attribute_to_object(this.attributes),
|
|
4585
4629
|
customElement: true
|
|
4586
|
-
}, instance$
|
|
4630
|
+
}, instance$x, create_fragment$A, safe_not_equal, {
|
|
4587
4631
|
name: 0,
|
|
4588
4632
|
checked: 14,
|
|
4589
4633
|
text: 1,
|
|
@@ -4751,7 +4795,7 @@ class Checkbox extends SvelteElement {
|
|
|
4751
4795
|
customElements.define("goa-checkbox", Checkbox);
|
|
4752
4796
|
/* libs/web-components/src/components/chip/Chip.svelte generated by Svelte v3.51.0 */
|
|
4753
4797
|
|
|
4754
|
-
function create_if_block_1$
|
|
4798
|
+
function create_if_block_1$9(ctx) {
|
|
4755
4799
|
let goa_icon;
|
|
4756
4800
|
return {
|
|
4757
4801
|
c() {
|
|
@@ -4785,7 +4829,7 @@ function create_if_block_1$7(ctx) {
|
|
|
4785
4829
|
} // (54:2) {#if _deletable}
|
|
4786
4830
|
|
|
4787
4831
|
|
|
4788
|
-
function create_if_block$
|
|
4832
|
+
function create_if_block$g(ctx) {
|
|
4789
4833
|
let goa_icon;
|
|
4790
4834
|
let goa_icon_fillcolor_value;
|
|
4791
4835
|
let goa_icon_opacity_value;
|
|
@@ -4841,7 +4885,7 @@ function create_if_block$e(ctx) {
|
|
|
4841
4885
|
};
|
|
4842
4886
|
}
|
|
4843
4887
|
|
|
4844
|
-
function create_fragment$
|
|
4888
|
+
function create_fragment$z(ctx) {
|
|
4845
4889
|
let div1;
|
|
4846
4890
|
let t0;
|
|
4847
4891
|
let div0;
|
|
@@ -4852,10 +4896,10 @@ function create_fragment$w(ctx) {
|
|
|
4852
4896
|
let dispose;
|
|
4853
4897
|
let if_block0 =
|
|
4854
4898
|
/*leadingicon*/
|
|
4855
|
-
ctx[4] && create_if_block_1$
|
|
4899
|
+
ctx[4] && create_if_block_1$9(ctx);
|
|
4856
4900
|
let if_block1 =
|
|
4857
4901
|
/*_deletable*/
|
|
4858
|
-
ctx[11] && create_if_block$
|
|
4902
|
+
ctx[11] && create_if_block$g(ctx);
|
|
4859
4903
|
return {
|
|
4860
4904
|
c() {
|
|
4861
4905
|
div1 = element("div");
|
|
@@ -4929,7 +4973,7 @@ function create_fragment$w(ctx) {
|
|
|
4929
4973
|
if (if_block0) {
|
|
4930
4974
|
if_block0.p(ctx, dirty);
|
|
4931
4975
|
} else {
|
|
4932
|
-
if_block0 = create_if_block_1$
|
|
4976
|
+
if_block0 = create_if_block_1$9(ctx);
|
|
4933
4977
|
if_block0.c();
|
|
4934
4978
|
if_block0.m(div1, t0);
|
|
4935
4979
|
}
|
|
@@ -4950,7 +4994,7 @@ function create_fragment$w(ctx) {
|
|
|
4950
4994
|
if (if_block1) {
|
|
4951
4995
|
if_block1.p(ctx, dirty);
|
|
4952
4996
|
} else {
|
|
4953
|
-
if_block1 = create_if_block$
|
|
4997
|
+
if_block1 = create_if_block$g(ctx);
|
|
4954
4998
|
if_block1.c();
|
|
4955
4999
|
if_block1.m(div1, null);
|
|
4956
5000
|
}
|
|
@@ -5023,7 +5067,7 @@ function create_fragment$w(ctx) {
|
|
|
5023
5067
|
};
|
|
5024
5068
|
}
|
|
5025
5069
|
|
|
5026
|
-
function instance$
|
|
5070
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
5027
5071
|
let {
|
|
5028
5072
|
mt = null
|
|
5029
5073
|
} = $$props;
|
|
@@ -5124,7 +5168,7 @@ class Chip extends SvelteElement {
|
|
|
5124
5168
|
target: this.shadowRoot,
|
|
5125
5169
|
props: attribute_to_object(this.attributes),
|
|
5126
5170
|
customElement: true
|
|
5127
|
-
}, instance$
|
|
5171
|
+
}, instance$w, create_fragment$z, safe_not_equal, {
|
|
5128
5172
|
mt: 0,
|
|
5129
5173
|
mr: 1,
|
|
5130
5174
|
mb: 2,
|
|
@@ -5378,12 +5422,12 @@ function noscroll(_node, opts) {
|
|
|
5378
5422
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
5379
5423
|
|
|
5380
5424
|
|
|
5381
|
-
function create_if_block$
|
|
5425
|
+
function create_if_block$f(ctx) {
|
|
5382
5426
|
let current_block_type_index;
|
|
5383
5427
|
let if_block;
|
|
5384
5428
|
let if_block_anchor;
|
|
5385
5429
|
let current;
|
|
5386
|
-
const if_block_creators = [create_if_block_1$
|
|
5430
|
+
const if_block_creators = [create_if_block_1$8, create_if_block_3$6];
|
|
5387
5431
|
const if_blocks = [];
|
|
5388
5432
|
|
|
5389
5433
|
function select_block_type(ctx, dirty) {
|
|
@@ -5473,7 +5517,7 @@ function create_if_block$d(ctx) {
|
|
|
5473
5517
|
} // (43:19)
|
|
5474
5518
|
|
|
5475
5519
|
|
|
5476
|
-
function create_if_block_3$
|
|
5520
|
+
function create_if_block_3$6(ctx) {
|
|
5477
5521
|
let div;
|
|
5478
5522
|
let goa_spinner;
|
|
5479
5523
|
let t;
|
|
@@ -5569,7 +5613,7 @@ function create_if_block_3$4(ctx) {
|
|
|
5569
5613
|
} // (32:2) {#if fullscreen}
|
|
5570
5614
|
|
|
5571
5615
|
|
|
5572
|
-
function create_if_block_1$
|
|
5616
|
+
function create_if_block_1$8(ctx) {
|
|
5573
5617
|
let div;
|
|
5574
5618
|
let goa_spinner;
|
|
5575
5619
|
let t;
|
|
@@ -5579,7 +5623,7 @@ function create_if_block_1$6(ctx) {
|
|
|
5579
5623
|
let dispose;
|
|
5580
5624
|
let if_block =
|
|
5581
5625
|
/*message*/
|
|
5582
|
-
ctx[0] && create_if_block_2$
|
|
5626
|
+
ctx[0] && create_if_block_2$6(ctx);
|
|
5583
5627
|
return {
|
|
5584
5628
|
c() {
|
|
5585
5629
|
div = element("div");
|
|
@@ -5635,7 +5679,7 @@ function create_if_block_1$6(ctx) {
|
|
|
5635
5679
|
if (if_block) {
|
|
5636
5680
|
if_block.p(ctx, dirty);
|
|
5637
5681
|
} else {
|
|
5638
|
-
if_block = create_if_block_2$
|
|
5682
|
+
if_block = create_if_block_2$6(ctx);
|
|
5639
5683
|
if_block.c();
|
|
5640
5684
|
if_block.m(div, null);
|
|
5641
5685
|
}
|
|
@@ -5717,7 +5761,7 @@ function create_if_block_4$1(ctx) {
|
|
|
5717
5761
|
} // (39:6) {#if message}
|
|
5718
5762
|
|
|
5719
5763
|
|
|
5720
|
-
function create_if_block_2$
|
|
5764
|
+
function create_if_block_2$6(ctx) {
|
|
5721
5765
|
let div;
|
|
5722
5766
|
let t;
|
|
5723
5767
|
return {
|
|
@@ -5749,12 +5793,12 @@ function create_if_block_2$5(ctx) {
|
|
|
5749
5793
|
};
|
|
5750
5794
|
}
|
|
5751
5795
|
|
|
5752
|
-
function create_fragment$
|
|
5796
|
+
function create_fragment$y(ctx) {
|
|
5753
5797
|
let if_block_anchor;
|
|
5754
5798
|
let current;
|
|
5755
5799
|
let if_block =
|
|
5756
5800
|
/*isVisible*/
|
|
5757
|
-
ctx[5] && create_if_block$
|
|
5801
|
+
ctx[5] && create_if_block$f(ctx);
|
|
5758
5802
|
return {
|
|
5759
5803
|
c() {
|
|
5760
5804
|
if (if_block) if_block.c();
|
|
@@ -5781,7 +5825,7 @@ function create_fragment$v(ctx) {
|
|
|
5781
5825
|
transition_in(if_block, 1);
|
|
5782
5826
|
}
|
|
5783
5827
|
} else {
|
|
5784
|
-
if_block = create_if_block$
|
|
5828
|
+
if_block = create_if_block$f(ctx);
|
|
5785
5829
|
if_block.c();
|
|
5786
5830
|
transition_in(if_block, 1);
|
|
5787
5831
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5814,7 +5858,7 @@ function create_fragment$v(ctx) {
|
|
|
5814
5858
|
};
|
|
5815
5859
|
}
|
|
5816
5860
|
|
|
5817
|
-
function instance$
|
|
5861
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
5818
5862
|
let isVisible;
|
|
5819
5863
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5820
5864
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5871,7 +5915,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5871
5915
|
target: this.shadowRoot,
|
|
5872
5916
|
props: attribute_to_object(this.attributes),
|
|
5873
5917
|
customElement: true
|
|
5874
|
-
}, instance$
|
|
5918
|
+
}, instance$v, create_fragment$y, safe_not_equal, {
|
|
5875
5919
|
variant: 6,
|
|
5876
5920
|
size: 7,
|
|
5877
5921
|
message: 0,
|
|
@@ -5955,7 +5999,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5955
5999
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5956
6000
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5957
6001
|
|
|
5958
|
-
function create_fragment$
|
|
6002
|
+
function create_fragment$x(ctx) {
|
|
5959
6003
|
let div3;
|
|
5960
6004
|
let header;
|
|
5961
6005
|
let div0;
|
|
@@ -6080,7 +6124,7 @@ function create_fragment$u(ctx) {
|
|
|
6080
6124
|
};
|
|
6081
6125
|
}
|
|
6082
6126
|
|
|
6083
|
-
function instance$
|
|
6127
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
6084
6128
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
6085
6129
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
6086
6130
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -6136,7 +6180,7 @@ class Container extends SvelteElement {
|
|
|
6136
6180
|
target: this.shadowRoot,
|
|
6137
6181
|
props: attribute_to_object(this.attributes),
|
|
6138
6182
|
customElement: true
|
|
6139
|
-
}, instance$
|
|
6183
|
+
}, instance$u, create_fragment$x, safe_not_equal, {
|
|
6140
6184
|
type: 0,
|
|
6141
6185
|
accent: 1,
|
|
6142
6186
|
padding: 2,
|
|
@@ -6256,7 +6300,7 @@ class Container extends SvelteElement {
|
|
|
6256
6300
|
customElements.define("goa-container", Container);
|
|
6257
6301
|
/* libs/web-components/src/components/details/Details.svelte generated by Svelte v3.51.0 */
|
|
6258
6302
|
|
|
6259
|
-
function create_fragment$
|
|
6303
|
+
function create_fragment$w(ctx) {
|
|
6260
6304
|
let details;
|
|
6261
6305
|
let summary;
|
|
6262
6306
|
let goa_icon;
|
|
@@ -6356,7 +6400,7 @@ function create_fragment$t(ctx) {
|
|
|
6356
6400
|
};
|
|
6357
6401
|
}
|
|
6358
6402
|
|
|
6359
|
-
function instance$
|
|
6403
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
6360
6404
|
let {
|
|
6361
6405
|
heading
|
|
6362
6406
|
} = $$props;
|
|
@@ -6416,7 +6460,7 @@ class Details extends SvelteElement {
|
|
|
6416
6460
|
target: this.shadowRoot,
|
|
6417
6461
|
props: attribute_to_object(this.attributes),
|
|
6418
6462
|
customElement: true
|
|
6419
|
-
}, instance$
|
|
6463
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
6420
6464
|
heading: 0,
|
|
6421
6465
|
mt: 1,
|
|
6422
6466
|
mr: 2,
|
|
@@ -6500,7 +6544,7 @@ class Details extends SvelteElement {
|
|
|
6500
6544
|
customElements.define("goa-details", Details);
|
|
6501
6545
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
6502
6546
|
|
|
6503
|
-
function create_fragment$
|
|
6547
|
+
function create_fragment$v(ctx) {
|
|
6504
6548
|
let hr;
|
|
6505
6549
|
let hr_style_value;
|
|
6506
6550
|
return {
|
|
@@ -6559,7 +6603,7 @@ function create_fragment$s(ctx) {
|
|
|
6559
6603
|
};
|
|
6560
6604
|
}
|
|
6561
6605
|
|
|
6562
|
-
function instance$
|
|
6606
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
6563
6607
|
let {
|
|
6564
6608
|
testid = ""
|
|
6565
6609
|
} = $$props;
|
|
@@ -6595,7 +6639,7 @@ class Divider extends SvelteElement {
|
|
|
6595
6639
|
target: this.shadowRoot,
|
|
6596
6640
|
props: attribute_to_object(this.attributes),
|
|
6597
6641
|
customElement: true
|
|
6598
|
-
}, instance$
|
|
6642
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
6599
6643
|
testid: 0,
|
|
6600
6644
|
mt: 1,
|
|
6601
6645
|
mr: 2,
|
|
@@ -6693,7 +6737,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
6693
6737
|
} // (256:2) {:else}
|
|
6694
6738
|
|
|
6695
6739
|
|
|
6696
|
-
function create_else_block$
|
|
6740
|
+
function create_else_block$5(ctx) {
|
|
6697
6741
|
let t0;
|
|
6698
6742
|
let goa_input;
|
|
6699
6743
|
let goa_input_arialabel_value;
|
|
@@ -6709,7 +6753,7 @@ function create_else_block$3(ctx) {
|
|
|
6709
6753
|
let dispose;
|
|
6710
6754
|
let if_block =
|
|
6711
6755
|
/*_isMenuVisible*/
|
|
6712
|
-
ctx[15] && create_if_block_1$
|
|
6756
|
+
ctx[15] && create_if_block_1$7(ctx);
|
|
6713
6757
|
let each_value_1 =
|
|
6714
6758
|
/*_options*/
|
|
6715
6759
|
ctx[13];
|
|
@@ -6821,7 +6865,7 @@ function create_else_block$3(ctx) {
|
|
|
6821
6865
|
if (if_block) {
|
|
6822
6866
|
if_block.p(ctx, dirty);
|
|
6823
6867
|
} else {
|
|
6824
|
-
if_block = create_if_block_1$
|
|
6868
|
+
if_block = create_if_block_1$7(ctx);
|
|
6825
6869
|
if_block.c();
|
|
6826
6870
|
if_block.m(t0.parentNode, t0);
|
|
6827
6871
|
}
|
|
@@ -6962,7 +7006,7 @@ function create_else_block$3(ctx) {
|
|
|
6962
7006
|
} // (237:2) {#if _native}
|
|
6963
7007
|
|
|
6964
7008
|
|
|
6965
|
-
function create_if_block$
|
|
7009
|
+
function create_if_block$e(ctx) {
|
|
6966
7010
|
let select;
|
|
6967
7011
|
let slot;
|
|
6968
7012
|
let select_aria_label_value;
|
|
@@ -7088,7 +7132,7 @@ function create_if_block$c(ctx) {
|
|
|
7088
7132
|
} // (257:4) {#if _isMenuVisible}
|
|
7089
7133
|
|
|
7090
7134
|
|
|
7091
|
-
function create_if_block_1$
|
|
7135
|
+
function create_if_block_1$7(ctx) {
|
|
7092
7136
|
let div;
|
|
7093
7137
|
let div_data_testid_value;
|
|
7094
7138
|
let mounted;
|
|
@@ -7385,7 +7429,7 @@ function create_each_block$4(ctx) {
|
|
|
7385
7429
|
};
|
|
7386
7430
|
}
|
|
7387
7431
|
|
|
7388
|
-
function create_fragment$
|
|
7432
|
+
function create_fragment$u(ctx) {
|
|
7389
7433
|
let div;
|
|
7390
7434
|
let div_data_testid_value;
|
|
7391
7435
|
let div_style_value;
|
|
@@ -7393,8 +7437,8 @@ function create_fragment$r(ctx) {
|
|
|
7393
7437
|
function select_block_type(ctx, dirty) {
|
|
7394
7438
|
if (
|
|
7395
7439
|
/*_native*/
|
|
7396
|
-
ctx[22]) return create_if_block$
|
|
7397
|
-
return create_else_block$
|
|
7440
|
+
ctx[22]) return create_if_block$e;
|
|
7441
|
+
return create_else_block$5;
|
|
7398
7442
|
}
|
|
7399
7443
|
|
|
7400
7444
|
let current_block_type = select_block_type(ctx);
|
|
@@ -7502,7 +7546,7 @@ function create_fragment$r(ctx) {
|
|
|
7502
7546
|
};
|
|
7503
7547
|
}
|
|
7504
7548
|
|
|
7505
|
-
function instance$
|
|
7549
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
7506
7550
|
let _disabled;
|
|
7507
7551
|
|
|
7508
7552
|
let _error;
|
|
@@ -7892,7 +7936,7 @@ class Dropdown extends SvelteElement {
|
|
|
7892
7936
|
target: this.shadowRoot,
|
|
7893
7937
|
props: attribute_to_object(this.attributes),
|
|
7894
7938
|
customElement: true
|
|
7895
|
-
}, instance$
|
|
7939
|
+
}, instance$r, create_fragment$u, safe_not_equal, {
|
|
7896
7940
|
name: 0,
|
|
7897
7941
|
arialabel: 1,
|
|
7898
7942
|
value: 28,
|
|
@@ -8096,7 +8140,7 @@ class Dropdown extends SvelteElement {
|
|
|
8096
8140
|
customElements.define("goa-dropdown", Dropdown);
|
|
8097
8141
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
8098
8142
|
|
|
8099
|
-
function create_fragment$
|
|
8143
|
+
function create_fragment$t(ctx) {
|
|
8100
8144
|
return {
|
|
8101
8145
|
c() {
|
|
8102
8146
|
this.c = noop;
|
|
@@ -8117,7 +8161,7 @@ class DropdownItem extends SvelteElement {
|
|
|
8117
8161
|
target: this.shadowRoot,
|
|
8118
8162
|
props: attribute_to_object(this.attributes),
|
|
8119
8163
|
customElement: true
|
|
8120
|
-
}, null, create_fragment$
|
|
8164
|
+
}, null, create_fragment$t, safe_not_equal, {}, null);
|
|
8121
8165
|
|
|
8122
8166
|
if (options) {
|
|
8123
8167
|
if (options.target) {
|
|
@@ -8131,7 +8175,7 @@ class DropdownItem extends SvelteElement {
|
|
|
8131
8175
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
8132
8176
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
8133
8177
|
|
|
8134
|
-
function create_fragment$
|
|
8178
|
+
function create_fragment$s(ctx) {
|
|
8135
8179
|
let div;
|
|
8136
8180
|
return {
|
|
8137
8181
|
c() {
|
|
@@ -8191,7 +8235,7 @@ function isFocusable(element) {
|
|
|
8191
8235
|
}
|
|
8192
8236
|
}
|
|
8193
8237
|
|
|
8194
|
-
function instance$
|
|
8238
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
8195
8239
|
let isActive;
|
|
8196
8240
|
let {
|
|
8197
8241
|
active
|
|
@@ -8360,7 +8404,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8360
8404
|
target: this.shadowRoot,
|
|
8361
8405
|
props: attribute_to_object(this.attributes),
|
|
8362
8406
|
customElement: true
|
|
8363
|
-
}, instance$
|
|
8407
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
8364
8408
|
active: 1
|
|
8365
8409
|
}, null);
|
|
8366
8410
|
|
|
@@ -8396,7 +8440,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8396
8440
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
8397
8441
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8398
8442
|
|
|
8399
|
-
function create_if_block$
|
|
8443
|
+
function create_if_block$d(ctx) {
|
|
8400
8444
|
let goa_divider;
|
|
8401
8445
|
return {
|
|
8402
8446
|
c() {
|
|
@@ -8415,7 +8459,7 @@ function create_if_block$b(ctx) {
|
|
|
8415
8459
|
};
|
|
8416
8460
|
}
|
|
8417
8461
|
|
|
8418
|
-
function create_fragment$
|
|
8462
|
+
function create_fragment$r(ctx) {
|
|
8419
8463
|
let div5;
|
|
8420
8464
|
let div4;
|
|
8421
8465
|
let div0;
|
|
@@ -8433,7 +8477,7 @@ function create_fragment$o(ctx) {
|
|
|
8433
8477
|
/*navLinks*/
|
|
8434
8478
|
ctx[2] &&
|
|
8435
8479
|
/*navLinks*/
|
|
8436
|
-
ctx[2].length > 0 && create_if_block$
|
|
8480
|
+
ctx[2].length > 0 && create_if_block$d();
|
|
8437
8481
|
return {
|
|
8438
8482
|
c() {
|
|
8439
8483
|
div5 = element("div");
|
|
@@ -8506,7 +8550,7 @@ function create_fragment$o(ctx) {
|
|
|
8506
8550
|
/*navLinks*/
|
|
8507
8551
|
ctx[2].length > 0) {
|
|
8508
8552
|
if (if_block) ;else {
|
|
8509
|
-
if_block = create_if_block$
|
|
8553
|
+
if_block = create_if_block$d();
|
|
8510
8554
|
if_block.c();
|
|
8511
8555
|
if_block.m(div4, t1);
|
|
8512
8556
|
}
|
|
@@ -8558,7 +8602,7 @@ function create_fragment$o(ctx) {
|
|
|
8558
8602
|
};
|
|
8559
8603
|
}
|
|
8560
8604
|
|
|
8561
|
-
function instance$
|
|
8605
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
8562
8606
|
let {
|
|
8563
8607
|
maxcontentwidth = ""
|
|
8564
8608
|
} = $$props;
|
|
@@ -8596,7 +8640,7 @@ class Footer extends SvelteElement {
|
|
|
8596
8640
|
target: this.shadowRoot,
|
|
8597
8641
|
props: attribute_to_object(this.attributes),
|
|
8598
8642
|
customElement: true
|
|
8599
|
-
}, instance$
|
|
8643
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
8600
8644
|
maxcontentwidth: 0
|
|
8601
8645
|
}, null);
|
|
8602
8646
|
|
|
@@ -8686,7 +8730,7 @@ function create_each_block$3(ctx) {
|
|
|
8686
8730
|
};
|
|
8687
8731
|
}
|
|
8688
8732
|
|
|
8689
|
-
function create_fragment$
|
|
8733
|
+
function create_fragment$q(ctx) {
|
|
8690
8734
|
let section;
|
|
8691
8735
|
let div;
|
|
8692
8736
|
let t;
|
|
@@ -8774,7 +8818,7 @@ function create_fragment$n(ctx) {
|
|
|
8774
8818
|
};
|
|
8775
8819
|
}
|
|
8776
8820
|
|
|
8777
|
-
function instance$
|
|
8821
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
8778
8822
|
let rootEl;
|
|
8779
8823
|
let children = [];
|
|
8780
8824
|
onMount(async () => {
|
|
@@ -8809,7 +8853,7 @@ class FooterMetaSection extends SvelteElement {
|
|
|
8809
8853
|
target: this.shadowRoot,
|
|
8810
8854
|
props: attribute_to_object(this.attributes),
|
|
8811
8855
|
customElement: true
|
|
8812
|
-
}, instance$
|
|
8856
|
+
}, instance$o, create_fragment$q, safe_not_equal, {}, null);
|
|
8813
8857
|
|
|
8814
8858
|
if (options) {
|
|
8815
8859
|
if (options.target) {
|
|
@@ -8830,7 +8874,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
8830
8874
|
} // (31:2) {#if heading}
|
|
8831
8875
|
|
|
8832
8876
|
|
|
8833
|
-
function create_if_block$
|
|
8877
|
+
function create_if_block$c(ctx) {
|
|
8834
8878
|
let div;
|
|
8835
8879
|
let t0;
|
|
8836
8880
|
let t1;
|
|
@@ -8919,7 +8963,7 @@ function create_each_block$2(ctx) {
|
|
|
8919
8963
|
};
|
|
8920
8964
|
}
|
|
8921
8965
|
|
|
8922
|
-
function create_fragment$
|
|
8966
|
+
function create_fragment$p(ctx) {
|
|
8923
8967
|
let section;
|
|
8924
8968
|
let t0;
|
|
8925
8969
|
let div;
|
|
@@ -8928,7 +8972,7 @@ function create_fragment$m(ctx) {
|
|
|
8928
8972
|
let ul_style_value;
|
|
8929
8973
|
let if_block =
|
|
8930
8974
|
/*heading*/
|
|
8931
|
-
ctx[0] && create_if_block$
|
|
8975
|
+
ctx[0] && create_if_block$c(ctx);
|
|
8932
8976
|
let each_value =
|
|
8933
8977
|
/*children*/
|
|
8934
8978
|
ctx[3];
|
|
@@ -8995,7 +9039,7 @@ function create_fragment$m(ctx) {
|
|
|
8995
9039
|
if (if_block) {
|
|
8996
9040
|
if_block.p(ctx, dirty);
|
|
8997
9041
|
} else {
|
|
8998
|
-
if_block = create_if_block$
|
|
9042
|
+
if_block = create_if_block$c(ctx);
|
|
8999
9043
|
if_block.c();
|
|
9000
9044
|
if_block.m(section, t0);
|
|
9001
9045
|
}
|
|
@@ -9066,7 +9110,7 @@ function create_fragment$m(ctx) {
|
|
|
9066
9110
|
};
|
|
9067
9111
|
}
|
|
9068
9112
|
|
|
9069
|
-
function instance$
|
|
9113
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
9070
9114
|
let {
|
|
9071
9115
|
heading = ""
|
|
9072
9116
|
} = $$props;
|
|
@@ -9117,7 +9161,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
9117
9161
|
target: this.shadowRoot,
|
|
9118
9162
|
props: attribute_to_object(this.attributes),
|
|
9119
9163
|
customElement: true
|
|
9120
|
-
}, instance$
|
|
9164
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
9121
9165
|
heading: 0,
|
|
9122
9166
|
maxcolumncount: 1
|
|
9123
9167
|
}, null);
|
|
@@ -9165,7 +9209,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
9165
9209
|
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
9166
9210
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
9167
9211
|
|
|
9168
|
-
function create_if_block_2$
|
|
9212
|
+
function create_if_block_2$5(ctx) {
|
|
9169
9213
|
let div;
|
|
9170
9214
|
let t0;
|
|
9171
9215
|
let t1;
|
|
@@ -9176,7 +9220,7 @@ function create_if_block_2$4(ctx) {
|
|
|
9176
9220
|
ctx[9].includes(
|
|
9177
9221
|
/*requirement*/
|
|
9178
9222
|
ctx[8]);
|
|
9179
|
-
let if_block = show_if && create_if_block_3$
|
|
9223
|
+
let if_block = show_if && create_if_block_3$5(ctx);
|
|
9180
9224
|
return {
|
|
9181
9225
|
c() {
|
|
9182
9226
|
div = element("div");
|
|
@@ -9215,7 +9259,7 @@ function create_if_block_2$4(ctx) {
|
|
|
9215
9259
|
if (if_block) {
|
|
9216
9260
|
if_block.p(ctx, dirty);
|
|
9217
9261
|
} else {
|
|
9218
|
-
if_block = create_if_block_3$
|
|
9262
|
+
if_block = create_if_block_3$5(ctx);
|
|
9219
9263
|
if_block.c();
|
|
9220
9264
|
if_block.m(div, null);
|
|
9221
9265
|
}
|
|
@@ -9234,7 +9278,7 @@ function create_if_block_2$4(ctx) {
|
|
|
9234
9278
|
} // (34:6) {#if requirement && REQUIREMENT_TYPES.includes(requirement)}
|
|
9235
9279
|
|
|
9236
9280
|
|
|
9237
|
-
function create_if_block_3$
|
|
9281
|
+
function create_if_block_3$5(ctx) {
|
|
9238
9282
|
let em;
|
|
9239
9283
|
let t0;
|
|
9240
9284
|
let t1;
|
|
@@ -9272,7 +9316,7 @@ function create_if_block_3$3(ctx) {
|
|
|
9272
9316
|
} // (42:2) {#if error}
|
|
9273
9317
|
|
|
9274
9318
|
|
|
9275
|
-
function create_if_block_1$
|
|
9319
|
+
function create_if_block_1$6(ctx) {
|
|
9276
9320
|
let div;
|
|
9277
9321
|
let goa_icon;
|
|
9278
9322
|
let t0;
|
|
@@ -9315,7 +9359,7 @@ function create_if_block_1$4(ctx) {
|
|
|
9315
9359
|
} // (48:2) {#if helptext}
|
|
9316
9360
|
|
|
9317
9361
|
|
|
9318
|
-
function create_if_block$
|
|
9362
|
+
function create_if_block$b(ctx) {
|
|
9319
9363
|
let div;
|
|
9320
9364
|
let t;
|
|
9321
9365
|
return {
|
|
@@ -9347,7 +9391,7 @@ function create_if_block$9(ctx) {
|
|
|
9347
9391
|
};
|
|
9348
9392
|
}
|
|
9349
9393
|
|
|
9350
|
-
function create_fragment$
|
|
9394
|
+
function create_fragment$o(ctx) {
|
|
9351
9395
|
let div1;
|
|
9352
9396
|
let t0;
|
|
9353
9397
|
let div0;
|
|
@@ -9356,13 +9400,13 @@ function create_fragment$l(ctx) {
|
|
|
9356
9400
|
let div1_style_value;
|
|
9357
9401
|
let if_block0 =
|
|
9358
9402
|
/*label*/
|
|
9359
|
-
ctx[5] && create_if_block_2$
|
|
9403
|
+
ctx[5] && create_if_block_2$5(ctx);
|
|
9360
9404
|
let if_block1 =
|
|
9361
9405
|
/*error*/
|
|
9362
|
-
ctx[7] && create_if_block_1$
|
|
9406
|
+
ctx[7] && create_if_block_1$6(ctx);
|
|
9363
9407
|
let if_block2 =
|
|
9364
9408
|
/*helptext*/
|
|
9365
|
-
ctx[6] && create_if_block$
|
|
9409
|
+
ctx[6] && create_if_block$b(ctx);
|
|
9366
9410
|
return {
|
|
9367
9411
|
c() {
|
|
9368
9412
|
div1 = element("div");
|
|
@@ -9409,7 +9453,7 @@ function create_fragment$l(ctx) {
|
|
|
9409
9453
|
if (if_block0) {
|
|
9410
9454
|
if_block0.p(ctx, dirty);
|
|
9411
9455
|
} else {
|
|
9412
|
-
if_block0 = create_if_block_2$
|
|
9456
|
+
if_block0 = create_if_block_2$5(ctx);
|
|
9413
9457
|
if_block0.c();
|
|
9414
9458
|
if_block0.m(div1, t0);
|
|
9415
9459
|
}
|
|
@@ -9424,7 +9468,7 @@ function create_fragment$l(ctx) {
|
|
|
9424
9468
|
if (if_block1) {
|
|
9425
9469
|
if_block1.p(ctx, dirty);
|
|
9426
9470
|
} else {
|
|
9427
|
-
if_block1 = create_if_block_1$
|
|
9471
|
+
if_block1 = create_if_block_1$6(ctx);
|
|
9428
9472
|
if_block1.c();
|
|
9429
9473
|
if_block1.m(div1, t2);
|
|
9430
9474
|
}
|
|
@@ -9439,7 +9483,7 @@ function create_fragment$l(ctx) {
|
|
|
9439
9483
|
if (if_block2) {
|
|
9440
9484
|
if_block2.p(ctx, dirty);
|
|
9441
9485
|
} else {
|
|
9442
|
-
if_block2 = create_if_block$
|
|
9486
|
+
if_block2 = create_if_block$b(ctx);
|
|
9443
9487
|
if_block2.c();
|
|
9444
9488
|
if_block2.m(div1, null);
|
|
9445
9489
|
}
|
|
@@ -9484,7 +9528,7 @@ function create_fragment$l(ctx) {
|
|
|
9484
9528
|
};
|
|
9485
9529
|
}
|
|
9486
9530
|
|
|
9487
|
-
function instance$
|
|
9531
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
9488
9532
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
9489
9533
|
let {
|
|
9490
9534
|
testid = ""
|
|
@@ -9540,7 +9584,7 @@ class FormItem extends SvelteElement {
|
|
|
9540
9584
|
target: this.shadowRoot,
|
|
9541
9585
|
props: attribute_to_object(this.attributes),
|
|
9542
9586
|
customElement: true
|
|
9543
|
-
}, instance$
|
|
9587
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
9544
9588
|
testid: 0,
|
|
9545
9589
|
mt: 1,
|
|
9546
9590
|
mr: 2,
|
|
@@ -9672,7 +9716,7 @@ class FormItem extends SvelteElement {
|
|
|
9672
9716
|
customElements.define("goa-form-item", FormItem);
|
|
9673
9717
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9674
9718
|
|
|
9675
|
-
function create_fragment$
|
|
9719
|
+
function create_fragment$n(ctx) {
|
|
9676
9720
|
let div;
|
|
9677
9721
|
let slot;
|
|
9678
9722
|
let div_style_value;
|
|
@@ -9740,7 +9784,7 @@ function create_fragment$k(ctx) {
|
|
|
9740
9784
|
};
|
|
9741
9785
|
}
|
|
9742
9786
|
|
|
9743
|
-
function instance$
|
|
9787
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
9744
9788
|
let {
|
|
9745
9789
|
gap = "m"
|
|
9746
9790
|
} = $$props;
|
|
@@ -9785,7 +9829,7 @@ class Grid extends SvelteElement {
|
|
|
9785
9829
|
target: this.shadowRoot,
|
|
9786
9830
|
props: attribute_to_object(this.attributes),
|
|
9787
9831
|
customElement: true
|
|
9788
|
-
}, instance$
|
|
9832
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
9789
9833
|
gap: 0,
|
|
9790
9834
|
minchildwidth: 1,
|
|
9791
9835
|
mt: 2,
|
|
@@ -9881,7 +9925,7 @@ class Grid extends SvelteElement {
|
|
|
9881
9925
|
customElements.define("goa-grid", Grid);
|
|
9882
9926
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9883
9927
|
|
|
9884
|
-
function create_fragment$
|
|
9928
|
+
function create_fragment$m(ctx) {
|
|
9885
9929
|
let div1;
|
|
9886
9930
|
let goa_page_block;
|
|
9887
9931
|
let h1;
|
|
@@ -9966,7 +10010,7 @@ function create_fragment$j(ctx) {
|
|
|
9966
10010
|
};
|
|
9967
10011
|
}
|
|
9968
10012
|
|
|
9969
|
-
function instance$
|
|
10013
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
9970
10014
|
let {
|
|
9971
10015
|
heading
|
|
9972
10016
|
} = $$props;
|
|
@@ -9994,7 +10038,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9994
10038
|
target: this.shadowRoot,
|
|
9995
10039
|
props: attribute_to_object(this.attributes),
|
|
9996
10040
|
customElement: true
|
|
9997
|
-
}, instance$
|
|
10041
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
9998
10042
|
heading: 0,
|
|
9999
10043
|
backgroundurl: 1,
|
|
10000
10044
|
minheight: 2
|
|
@@ -10054,7 +10098,7 @@ class HeroBanner extends SvelteElement {
|
|
|
10054
10098
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
10055
10099
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
10056
10100
|
|
|
10057
|
-
function create_fragment$
|
|
10101
|
+
function create_fragment$l(ctx) {
|
|
10058
10102
|
let button;
|
|
10059
10103
|
let goa_icon;
|
|
10060
10104
|
let button_style_value;
|
|
@@ -10226,7 +10270,7 @@ function handleClick(e) {
|
|
|
10226
10270
|
}));
|
|
10227
10271
|
}
|
|
10228
10272
|
|
|
10229
|
-
function instance$
|
|
10273
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
10230
10274
|
let css;
|
|
10231
10275
|
let isDisabled;
|
|
10232
10276
|
let isInverted;
|
|
@@ -10331,7 +10375,7 @@ class IconButton extends SvelteElement {
|
|
|
10331
10375
|
target: this.shadowRoot,
|
|
10332
10376
|
props: attribute_to_object(this.attributes),
|
|
10333
10377
|
customElement: true
|
|
10334
|
-
}, instance$
|
|
10378
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
10335
10379
|
icon: 0,
|
|
10336
10380
|
size: 1,
|
|
10337
10381
|
theme: 2,
|
|
@@ -10499,7 +10543,60 @@ class IconButton extends SvelteElement {
|
|
|
10499
10543
|
customElements.define("goa-icon-button", IconButton);
|
|
10500
10544
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
10501
10545
|
|
|
10502
|
-
function create_if_block$
|
|
10546
|
+
function create_if_block$a(ctx) {
|
|
10547
|
+
let show_if;
|
|
10548
|
+
let if_block_anchor;
|
|
10549
|
+
|
|
10550
|
+
function select_block_type(ctx, dirty) {
|
|
10551
|
+
if (dirty &
|
|
10552
|
+
/*type*/
|
|
10553
|
+
16) show_if = null;
|
|
10554
|
+
if (show_if == null) show_if = !!Object.keys(
|
|
10555
|
+
/*_iconOverrides*/
|
|
10556
|
+
ctx[13]).includes(
|
|
10557
|
+
/*type*/
|
|
10558
|
+
ctx[4]);
|
|
10559
|
+
if (show_if) return create_if_block_1$5;
|
|
10560
|
+
return create_else_block$4;
|
|
10561
|
+
}
|
|
10562
|
+
|
|
10563
|
+
let current_block_type = select_block_type(ctx, -1);
|
|
10564
|
+
let if_block = current_block_type(ctx);
|
|
10565
|
+
return {
|
|
10566
|
+
c() {
|
|
10567
|
+
if_block.c();
|
|
10568
|
+
if_block_anchor = empty();
|
|
10569
|
+
},
|
|
10570
|
+
|
|
10571
|
+
m(target, anchor) {
|
|
10572
|
+
if_block.m(target, anchor);
|
|
10573
|
+
insert(target, if_block_anchor, anchor);
|
|
10574
|
+
},
|
|
10575
|
+
|
|
10576
|
+
p(ctx, dirty) {
|
|
10577
|
+
if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
|
|
10578
|
+
if_block.p(ctx, dirty);
|
|
10579
|
+
} else {
|
|
10580
|
+
if_block.d(1);
|
|
10581
|
+
if_block = current_block_type(ctx);
|
|
10582
|
+
|
|
10583
|
+
if (if_block) {
|
|
10584
|
+
if_block.c();
|
|
10585
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10586
|
+
}
|
|
10587
|
+
}
|
|
10588
|
+
},
|
|
10589
|
+
|
|
10590
|
+
d(detaching) {
|
|
10591
|
+
if_block.d(detaching);
|
|
10592
|
+
if (detaching) detach(if_block_anchor);
|
|
10593
|
+
}
|
|
10594
|
+
|
|
10595
|
+
};
|
|
10596
|
+
} // (62:4) {:else}
|
|
10597
|
+
|
|
10598
|
+
|
|
10599
|
+
function create_else_block$4(ctx) {
|
|
10503
10600
|
let ion_icon;
|
|
10504
10601
|
let ion_icon_name_value;
|
|
10505
10602
|
return {
|
|
@@ -10545,21 +10642,66 @@ function create_if_block$8(ctx) {
|
|
|
10545
10642
|
}
|
|
10546
10643
|
|
|
10547
10644
|
};
|
|
10548
|
-
}
|
|
10645
|
+
} // (57:4) {#if Object.keys(_iconOverrides).includes(type)}
|
|
10549
10646
|
|
|
10550
|
-
|
|
10647
|
+
|
|
10648
|
+
function create_if_block_1$5(ctx) {
|
|
10551
10649
|
let div;
|
|
10552
|
-
let
|
|
10553
|
-
let
|
|
10650
|
+
let html_tag;
|
|
10651
|
+
let raw_value =
|
|
10652
|
+
/*_iconOverrides*/
|
|
10653
|
+
ctx[13][
|
|
10554
10654
|
/*type*/
|
|
10555
|
-
ctx[4]
|
|
10655
|
+
ctx[4]] + "";
|
|
10656
|
+
let t;
|
|
10657
|
+
let span;
|
|
10556
10658
|
return {
|
|
10557
10659
|
c() {
|
|
10558
10660
|
div = element("div");
|
|
10559
|
-
|
|
10560
|
-
|
|
10561
|
-
|
|
10562
|
-
|
|
10661
|
+
html_tag = new HtmlTag(false);
|
|
10662
|
+
t = space();
|
|
10663
|
+
span = element("span");
|
|
10664
|
+
html_tag.a = t;
|
|
10665
|
+
attr(div, "class", "icon-override");
|
|
10666
|
+
},
|
|
10667
|
+
|
|
10668
|
+
m(target, anchor) {
|
|
10669
|
+
insert(target, div, anchor);
|
|
10670
|
+
html_tag.m(raw_value, div);
|
|
10671
|
+
append(div, t);
|
|
10672
|
+
append(div, span);
|
|
10673
|
+
},
|
|
10674
|
+
|
|
10675
|
+
p(ctx, dirty) {
|
|
10676
|
+
if (dirty &
|
|
10677
|
+
/*type*/
|
|
10678
|
+
16 && raw_value !== (raw_value =
|
|
10679
|
+
/*_iconOverrides*/
|
|
10680
|
+
ctx[13][
|
|
10681
|
+
/*type*/
|
|
10682
|
+
ctx[4]] + "")) html_tag.p(raw_value);
|
|
10683
|
+
},
|
|
10684
|
+
|
|
10685
|
+
d(detaching) {
|
|
10686
|
+
if (detaching) detach(div);
|
|
10687
|
+
}
|
|
10688
|
+
|
|
10689
|
+
};
|
|
10690
|
+
}
|
|
10691
|
+
|
|
10692
|
+
function create_fragment$k(ctx) {
|
|
10693
|
+
let div;
|
|
10694
|
+
let div_style_value;
|
|
10695
|
+
let if_block =
|
|
10696
|
+
/*type*/
|
|
10697
|
+
ctx[4] && create_if_block$a(ctx);
|
|
10698
|
+
return {
|
|
10699
|
+
c() {
|
|
10700
|
+
div = element("div");
|
|
10701
|
+
if (if_block) if_block.c();
|
|
10702
|
+
this.c = noop;
|
|
10703
|
+
attr(div, "class", "goa-icon");
|
|
10704
|
+
attr(div, "data-testid",
|
|
10563
10705
|
/*testid*/
|
|
10564
10706
|
ctx[10]);
|
|
10565
10707
|
attr(div, "title",
|
|
@@ -10605,7 +10747,7 @@ function create_fragment$h(ctx) {
|
|
|
10605
10747
|
if (if_block) {
|
|
10606
10748
|
if_block.p(ctx, dirty);
|
|
10607
10749
|
} else {
|
|
10608
|
-
if_block = create_if_block$
|
|
10750
|
+
if_block = create_if_block$a(ctx);
|
|
10609
10751
|
if_block.c();
|
|
10610
10752
|
if_block.m(div, null);
|
|
10611
10753
|
}
|
|
@@ -10678,7 +10820,7 @@ function create_fragment$h(ctx) {
|
|
|
10678
10820
|
};
|
|
10679
10821
|
}
|
|
10680
10822
|
|
|
10681
|
-
function instance$
|
|
10823
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
10682
10824
|
let isInverted;
|
|
10683
10825
|
|
|
10684
10826
|
let _size;
|
|
@@ -10721,7 +10863,19 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
10721
10863
|
} = $$props;
|
|
10722
10864
|
let {
|
|
10723
10865
|
testid = ""
|
|
10724
|
-
} = $$props;
|
|
10866
|
+
} = $$props; // Private
|
|
10867
|
+
|
|
10868
|
+
const _iconOverrides = {
|
|
10869
|
+
pencil: `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10870
|
+
<path d="M16.1442 5.47956L12.5355 1.87088L13.7196 0.686776C14.0391 0.367257 14.4385 0.212197 14.9178 0.221594C15.3971 0.230992 15.7965 0.39545 16.116 0.714969L17.3283 1.92726C17.6478 2.24678 17.8076 2.64148 17.8076 3.11136C17.8076 3.58124 17.6478 3.97594 17.3283 4.29546L16.1442 5.47956ZM1.03951 17.8424C0.795173 17.8424 0.593125 17.7626 0.433365 17.6028C0.273605 17.443 0.193726 17.241 0.193726 16.9966V14.5721C0.193726 14.4593 0.212521 14.356 0.250112 14.262C0.287702 14.168 0.353485 14.074 0.447461 13.9801L11.4689 2.93435L15.0776 6.54303L4.05615 17.5887C3.96217 17.6827 3.8682 17.7485 3.77422 17.7861C3.68024 17.8236 3.57687 17.8424 3.4641 17.8424H1.03951Z" fill="#333333"/>
|
|
10871
|
+
</svg>`,
|
|
10872
|
+
checkmark: `<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10873
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M6.20129 11.5368L15.9974 0.341265C16.3611 -0.0743717 16.9929 -0.116489 17.4085 0.247193C17.8241 0.610875 17.8663 1.24264 17.5026 1.65827L7.00258 13.6583C6.82032 13.8666 6.5599 13.99 6.28328 13.9992C6.00666 14.0084 5.7386 13.9026 5.54289 13.7069L1.04289 9.20688C0.652369 8.81635 0.652369 8.18319 1.04289 7.79266C1.43342 7.40214 2.06658 7.40214 2.45711 7.79266L6.20129 11.5368Z" fill="#333333"/>
|
|
10874
|
+
</svg>`,
|
|
10875
|
+
remove: `<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10876
|
+
<path d="M1.5 -0.000244141C0.947715 -0.000244141 0.5 0.447471 0.5 0.999756C0.5 1.55204 0.947715 1.99976 1.5 1.99976H15C15.5523 1.99976 16 1.55204 16 0.999756C16 0.447471 15.5523 -0.000244141 15 -0.000244141H1.5Z" fill="#333333"/>
|
|
10877
|
+
</svg>`
|
|
10878
|
+
};
|
|
10725
10879
|
|
|
10726
10880
|
$$self.$$set = $$props => {
|
|
10727
10881
|
if ('mt' in $$props) $$invalidate(0, mt = $$props.mt);
|
|
@@ -10729,9 +10883,9 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
10729
10883
|
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
10730
10884
|
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
10731
10885
|
if ('type' in $$props) $$invalidate(4, type = $$props.type);
|
|
10732
|
-
if ('size' in $$props) $$invalidate(
|
|
10886
|
+
if ('size' in $$props) $$invalidate(14, size = $$props.size);
|
|
10733
10887
|
if ('theme' in $$props) $$invalidate(5, theme = $$props.theme);
|
|
10734
|
-
if ('inverted' in $$props) $$invalidate(
|
|
10888
|
+
if ('inverted' in $$props) $$invalidate(15, inverted = $$props.inverted);
|
|
10735
10889
|
if ('fillcolor' in $$props) $$invalidate(6, fillcolor = $$props.fillcolor);
|
|
10736
10890
|
if ('hovercolor' in $$props) $$invalidate(7, hovercolor = $$props.hovercolor);
|
|
10737
10891
|
if ('opacity' in $$props) $$invalidate(8, opacity = $$props.opacity);
|
|
@@ -10742,13 +10896,13 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
10742
10896
|
$$self.$$.update = () => {
|
|
10743
10897
|
if ($$self.$$.dirty &
|
|
10744
10898
|
/*inverted*/
|
|
10745
|
-
|
|
10899
|
+
32768) {
|
|
10746
10900
|
$$invalidate(12, isInverted = toBoolean(inverted));
|
|
10747
10901
|
}
|
|
10748
10902
|
|
|
10749
10903
|
if ($$self.$$.dirty &
|
|
10750
10904
|
/*size*/
|
|
10751
|
-
|
|
10905
|
+
16384) {
|
|
10752
10906
|
$$invalidate(11, _size = {
|
|
10753
10907
|
small: "1.25rem",
|
|
10754
10908
|
medium: "1.5rem",
|
|
@@ -10757,26 +10911,26 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
10757
10911
|
}
|
|
10758
10912
|
};
|
|
10759
10913
|
|
|
10760
|
-
return [mt, mr, mb, ml, type, theme, fillcolor, hovercolor, opacity, title, testid, _size, isInverted, size, inverted];
|
|
10914
|
+
return [mt, mr, mb, ml, type, theme, fillcolor, hovercolor, opacity, title, testid, _size, isInverted, _iconOverrides, size, inverted];
|
|
10761
10915
|
}
|
|
10762
10916
|
|
|
10763
10917
|
class Icon extends SvelteElement {
|
|
10764
10918
|
constructor(options) {
|
|
10765
10919
|
super();
|
|
10766
|
-
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.inverted{color:#fff;fill:#fff}</style>`;
|
|
10920
|
+
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{width:var(--size);height:var(--size);fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.icon-override{display:flex;flex-direction:column;align-items:center}.icon-override *{fill:var(--goa-color-interactive-default)}.inverted *{color:#fff;fill:#fff}</style>`;
|
|
10767
10921
|
init(this, {
|
|
10768
10922
|
target: this.shadowRoot,
|
|
10769
10923
|
props: attribute_to_object(this.attributes),
|
|
10770
10924
|
customElement: true
|
|
10771
|
-
}, instance$
|
|
10925
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
10772
10926
|
mt: 0,
|
|
10773
10927
|
mr: 1,
|
|
10774
10928
|
mb: 2,
|
|
10775
10929
|
ml: 3,
|
|
10776
10930
|
type: 4,
|
|
10777
|
-
size:
|
|
10931
|
+
size: 14,
|
|
10778
10932
|
theme: 5,
|
|
10779
|
-
inverted:
|
|
10933
|
+
inverted: 15,
|
|
10780
10934
|
fillcolor: 6,
|
|
10781
10935
|
hovercolor: 7,
|
|
10782
10936
|
opacity: 8,
|
|
@@ -10856,7 +11010,7 @@ class Icon extends SvelteElement {
|
|
|
10856
11010
|
}
|
|
10857
11011
|
|
|
10858
11012
|
get size() {
|
|
10859
|
-
return this.$$.ctx[
|
|
11013
|
+
return this.$$.ctx[14];
|
|
10860
11014
|
}
|
|
10861
11015
|
|
|
10862
11016
|
set size(size) {
|
|
@@ -10878,7 +11032,7 @@ class Icon extends SvelteElement {
|
|
|
10878
11032
|
}
|
|
10879
11033
|
|
|
10880
11034
|
get inverted() {
|
|
10881
|
-
return this.$$.ctx[
|
|
11035
|
+
return this.$$.ctx[15];
|
|
10882
11036
|
}
|
|
10883
11037
|
|
|
10884
11038
|
set inverted(inverted) {
|
|
@@ -10981,7 +11135,7 @@ function create_if_block_4(ctx) {
|
|
|
10981
11135
|
} // (109:4) {#if leadingicon}
|
|
10982
11136
|
|
|
10983
11137
|
|
|
10984
|
-
function create_if_block_3$
|
|
11138
|
+
function create_if_block_3$4(ctx) {
|
|
10985
11139
|
let goa_icon;
|
|
10986
11140
|
return {
|
|
10987
11141
|
c() {
|
|
@@ -11015,7 +11169,7 @@ function create_if_block_3$2(ctx) {
|
|
|
11015
11169
|
} // (139:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
11016
11170
|
|
|
11017
11171
|
|
|
11018
|
-
function create_if_block_2$
|
|
11172
|
+
function create_if_block_2$4(ctx) {
|
|
11019
11173
|
let goa_icon;
|
|
11020
11174
|
return {
|
|
11021
11175
|
c() {
|
|
@@ -11050,7 +11204,7 @@ function create_if_block_2$3(ctx) {
|
|
|
11050
11204
|
} // (149:4) {#if trailingicon && handlesTrailingIconClick}
|
|
11051
11205
|
|
|
11052
11206
|
|
|
11053
|
-
function create_if_block_1$
|
|
11207
|
+
function create_if_block_1$4(ctx) {
|
|
11054
11208
|
let goa_icon_button;
|
|
11055
11209
|
let mounted;
|
|
11056
11210
|
let dispose;
|
|
@@ -11105,7 +11259,7 @@ function create_if_block_1$3(ctx) {
|
|
|
11105
11259
|
} // (161:4) {#if suffix}
|
|
11106
11260
|
|
|
11107
11261
|
|
|
11108
|
-
function create_if_block$
|
|
11262
|
+
function create_if_block$9(ctx) {
|
|
11109
11263
|
let span;
|
|
11110
11264
|
let t;
|
|
11111
11265
|
return {
|
|
@@ -11137,7 +11291,7 @@ function create_if_block$7(ctx) {
|
|
|
11137
11291
|
};
|
|
11138
11292
|
}
|
|
11139
11293
|
|
|
11140
|
-
function create_fragment$
|
|
11294
|
+
function create_fragment$j(ctx) {
|
|
11141
11295
|
let div3;
|
|
11142
11296
|
let div2;
|
|
11143
11297
|
let t0;
|
|
@@ -11162,20 +11316,20 @@ function create_fragment$g(ctx) {
|
|
|
11162
11316
|
ctx[14] && create_if_block_4(ctx);
|
|
11163
11317
|
let if_block1 =
|
|
11164
11318
|
/*leadingicon*/
|
|
11165
|
-
ctx[5] && create_if_block_3$
|
|
11319
|
+
ctx[5] && create_if_block_3$4(ctx);
|
|
11166
11320
|
let if_block2 =
|
|
11167
11321
|
/*trailingicon*/
|
|
11168
11322
|
ctx[6] && !
|
|
11169
11323
|
/*handlesTrailingIconClick*/
|
|
11170
|
-
ctx[24] && create_if_block_2$
|
|
11324
|
+
ctx[24] && create_if_block_2$4(ctx);
|
|
11171
11325
|
let if_block3 =
|
|
11172
11326
|
/*trailingicon*/
|
|
11173
11327
|
ctx[6] &&
|
|
11174
11328
|
/*handlesTrailingIconClick*/
|
|
11175
|
-
ctx[24] && create_if_block_1$
|
|
11329
|
+
ctx[24] && create_if_block_1$4(ctx);
|
|
11176
11330
|
let if_block4 =
|
|
11177
11331
|
/*suffix*/
|
|
11178
|
-
ctx[15] && create_if_block$
|
|
11332
|
+
ctx[15] && create_if_block$9(ctx);
|
|
11179
11333
|
return {
|
|
11180
11334
|
c() {
|
|
11181
11335
|
div3 = element("div");
|
|
@@ -11331,7 +11485,7 @@ function create_fragment$g(ctx) {
|
|
|
11331
11485
|
if (if_block1) {
|
|
11332
11486
|
if_block1.p(ctx, dirty);
|
|
11333
11487
|
} else {
|
|
11334
|
-
if_block1 = create_if_block_3$
|
|
11488
|
+
if_block1 = create_if_block_3$4(ctx);
|
|
11335
11489
|
if_block1.c();
|
|
11336
11490
|
if_block1.m(div2, t2);
|
|
11337
11491
|
}
|
|
@@ -11464,7 +11618,7 @@ function create_fragment$g(ctx) {
|
|
|
11464
11618
|
if (if_block2) {
|
|
11465
11619
|
if_block2.p(ctx, dirty);
|
|
11466
11620
|
} else {
|
|
11467
|
-
if_block2 = create_if_block_2$
|
|
11621
|
+
if_block2 = create_if_block_2$4(ctx);
|
|
11468
11622
|
if_block2.c();
|
|
11469
11623
|
if_block2.m(div2, t4);
|
|
11470
11624
|
}
|
|
@@ -11481,7 +11635,7 @@ function create_fragment$g(ctx) {
|
|
|
11481
11635
|
if (if_block3) {
|
|
11482
11636
|
if_block3.p(ctx, dirty);
|
|
11483
11637
|
} else {
|
|
11484
|
-
if_block3 = create_if_block_1$
|
|
11638
|
+
if_block3 = create_if_block_1$4(ctx);
|
|
11485
11639
|
if_block3.c();
|
|
11486
11640
|
if_block3.m(div2, t5);
|
|
11487
11641
|
}
|
|
@@ -11496,7 +11650,7 @@ function create_fragment$g(ctx) {
|
|
|
11496
11650
|
if (if_block4) {
|
|
11497
11651
|
if_block4.p(ctx, dirty);
|
|
11498
11652
|
} else {
|
|
11499
|
-
if_block4 = create_if_block$
|
|
11653
|
+
if_block4 = create_if_block$9(ctx);
|
|
11500
11654
|
if_block4.c();
|
|
11501
11655
|
if_block4.m(div2, t6);
|
|
11502
11656
|
}
|
|
@@ -11576,7 +11730,7 @@ function doClick() {
|
|
|
11576
11730
|
}));
|
|
11577
11731
|
}
|
|
11578
11732
|
|
|
11579
|
-
function instance$
|
|
11733
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
11580
11734
|
let handlesTrailingIconClick;
|
|
11581
11735
|
let isFocused;
|
|
11582
11736
|
let isReadonly;
|
|
@@ -11796,7 +11950,7 @@ class Input extends SvelteElement {
|
|
|
11796
11950
|
target: this.shadowRoot,
|
|
11797
11951
|
props: attribute_to_object(this.attributes),
|
|
11798
11952
|
customElement: true
|
|
11799
|
-
}, instance$
|
|
11953
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
11800
11954
|
type: 1,
|
|
11801
11955
|
name: 2,
|
|
11802
11956
|
value: 0,
|
|
@@ -12132,7 +12286,7 @@ class Input extends SvelteElement {
|
|
|
12132
12286
|
customElements.define("goa-input", Input);
|
|
12133
12287
|
/* libs/web-components/src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.51.0 */
|
|
12134
12288
|
|
|
12135
|
-
function create_if_block_3$
|
|
12289
|
+
function create_if_block_3$3(ctx) {
|
|
12136
12290
|
let div0;
|
|
12137
12291
|
let t0;
|
|
12138
12292
|
let div1;
|
|
@@ -12164,7 +12318,7 @@ function create_if_block_3$1(ctx) {
|
|
|
12164
12318
|
} // (41:2) {#if ["alpha", "beta"].includes(type)}
|
|
12165
12319
|
|
|
12166
12320
|
|
|
12167
|
-
function create_if_block_1$
|
|
12321
|
+
function create_if_block_1$3(ctx) {
|
|
12168
12322
|
let div0;
|
|
12169
12323
|
let t0_value = capitalize(
|
|
12170
12324
|
/*type*/
|
|
@@ -12178,7 +12332,7 @@ function create_if_block_1$2(ctx) {
|
|
|
12178
12332
|
let t4;
|
|
12179
12333
|
let if_block =
|
|
12180
12334
|
/*feedbackurl*/
|
|
12181
|
-
ctx[2] && create_if_block_2$
|
|
12335
|
+
ctx[2] && create_if_block_2$3(ctx);
|
|
12182
12336
|
return {
|
|
12183
12337
|
c() {
|
|
12184
12338
|
div0 = element("div");
|
|
@@ -12231,7 +12385,7 @@ function create_if_block_1$2(ctx) {
|
|
|
12231
12385
|
if (if_block) {
|
|
12232
12386
|
if_block.p(ctx, dirty);
|
|
12233
12387
|
} else {
|
|
12234
|
-
if_block = create_if_block_2$
|
|
12388
|
+
if_block = create_if_block_2$3(ctx);
|
|
12235
12389
|
if_block.c();
|
|
12236
12390
|
if_block.m(div1, null);
|
|
12237
12391
|
}
|
|
@@ -12252,7 +12406,7 @@ function create_if_block_1$2(ctx) {
|
|
|
12252
12406
|
} // (50:6) {#if feedbackurl}
|
|
12253
12407
|
|
|
12254
12408
|
|
|
12255
|
-
function create_if_block_2$
|
|
12409
|
+
function create_if_block_2$3(ctx) {
|
|
12256
12410
|
let span;
|
|
12257
12411
|
let t0;
|
|
12258
12412
|
let a;
|
|
@@ -12294,7 +12448,7 @@ function create_if_block_2$2(ctx) {
|
|
|
12294
12448
|
} // (56:2) {#if version}
|
|
12295
12449
|
|
|
12296
12450
|
|
|
12297
|
-
function create_if_block$
|
|
12451
|
+
function create_if_block$8(ctx) {
|
|
12298
12452
|
let div;
|
|
12299
12453
|
let t;
|
|
12300
12454
|
return {
|
|
@@ -12327,7 +12481,7 @@ function create_if_block$6(ctx) {
|
|
|
12327
12481
|
};
|
|
12328
12482
|
}
|
|
12329
12483
|
|
|
12330
|
-
function create_fragment$
|
|
12484
|
+
function create_fragment$i(ctx) {
|
|
12331
12485
|
let header;
|
|
12332
12486
|
let t0;
|
|
12333
12487
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -12338,11 +12492,11 @@ function create_fragment$f(ctx) {
|
|
|
12338
12492
|
let t2;
|
|
12339
12493
|
let if_block0 =
|
|
12340
12494
|
/*type*/
|
|
12341
|
-
ctx[0] === "live" && create_if_block_3$
|
|
12342
|
-
let if_block1 = show_if && create_if_block_1$
|
|
12495
|
+
ctx[0] === "live" && create_if_block_3$3();
|
|
12496
|
+
let if_block1 = show_if && create_if_block_1$3(ctx);
|
|
12343
12497
|
let if_block2 =
|
|
12344
12498
|
/*version*/
|
|
12345
|
-
ctx[1] && create_if_block$
|
|
12499
|
+
ctx[1] && create_if_block$8(ctx);
|
|
12346
12500
|
return {
|
|
12347
12501
|
c() {
|
|
12348
12502
|
header = element("header");
|
|
@@ -12374,7 +12528,7 @@ function create_fragment$f(ctx) {
|
|
|
12374
12528
|
/*type*/
|
|
12375
12529
|
ctx[0] === "live") {
|
|
12376
12530
|
if (if_block0) ;else {
|
|
12377
|
-
if_block0 = create_if_block_3$
|
|
12531
|
+
if_block0 = create_if_block_3$3();
|
|
12378
12532
|
if_block0.c();
|
|
12379
12533
|
if_block0.m(header, t0);
|
|
12380
12534
|
}
|
|
@@ -12393,7 +12547,7 @@ function create_fragment$f(ctx) {
|
|
|
12393
12547
|
if (if_block1) {
|
|
12394
12548
|
if_block1.p(ctx, dirty);
|
|
12395
12549
|
} else {
|
|
12396
|
-
if_block1 = create_if_block_1$
|
|
12550
|
+
if_block1 = create_if_block_1$3(ctx);
|
|
12397
12551
|
if_block1.c();
|
|
12398
12552
|
if_block1.m(header, t1);
|
|
12399
12553
|
}
|
|
@@ -12408,7 +12562,7 @@ function create_fragment$f(ctx) {
|
|
|
12408
12562
|
if (if_block2) {
|
|
12409
12563
|
if_block2.p(ctx, dirty);
|
|
12410
12564
|
} else {
|
|
12411
|
-
if_block2 = create_if_block$
|
|
12565
|
+
if_block2 = create_if_block$8(ctx);
|
|
12412
12566
|
if_block2.c();
|
|
12413
12567
|
if_block2.m(header, null);
|
|
12414
12568
|
}
|
|
@@ -12436,7 +12590,7 @@ function capitalize(val) {
|
|
|
12436
12590
|
return val[0].toUpperCase() + val.slice(1);
|
|
12437
12591
|
}
|
|
12438
12592
|
|
|
12439
|
-
function instance$
|
|
12593
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
12440
12594
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
12441
12595
|
let {
|
|
12442
12596
|
type
|
|
@@ -12468,7 +12622,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12468
12622
|
target: this.shadowRoot,
|
|
12469
12623
|
props: attribute_to_object(this.attributes),
|
|
12470
12624
|
customElement: true
|
|
12471
|
-
}, instance$
|
|
12625
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
12472
12626
|
type: 0,
|
|
12473
12627
|
version: 1,
|
|
12474
12628
|
feedbackurl: 2
|
|
@@ -12528,7 +12682,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12528
12682
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
12529
12683
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
12530
12684
|
|
|
12531
|
-
function create_if_block$
|
|
12685
|
+
function create_if_block$7(ctx) {
|
|
12532
12686
|
let goa_focus_trap;
|
|
12533
12687
|
let div6;
|
|
12534
12688
|
let div0;
|
|
@@ -12555,20 +12709,20 @@ function create_if_block$5(ctx) {
|
|
|
12555
12709
|
let dispose;
|
|
12556
12710
|
let if_block0 =
|
|
12557
12711
|
/*calloutvariant*/
|
|
12558
|
-
ctx[3] !== null && create_if_block_3(ctx);
|
|
12712
|
+
ctx[3] !== null && create_if_block_3$2(ctx);
|
|
12559
12713
|
|
|
12560
12714
|
function select_block_type(ctx, dirty) {
|
|
12561
12715
|
if (
|
|
12562
12716
|
/*heading*/
|
|
12563
|
-
ctx[0]) return create_if_block_2$
|
|
12564
|
-
return create_else_block$
|
|
12717
|
+
ctx[0]) return create_if_block_2$2;
|
|
12718
|
+
return create_else_block$3;
|
|
12565
12719
|
}
|
|
12566
12720
|
|
|
12567
12721
|
let current_block_type = select_block_type(ctx);
|
|
12568
12722
|
let if_block1 = current_block_type(ctx);
|
|
12569
12723
|
let if_block2 =
|
|
12570
12724
|
/*_isClosable*/
|
|
12571
|
-
ctx[7] && create_if_block_1$
|
|
12725
|
+
ctx[7] && create_if_block_1$2(ctx);
|
|
12572
12726
|
return {
|
|
12573
12727
|
c() {
|
|
12574
12728
|
goa_focus_trap = element("goa-focus-trap");
|
|
@@ -12666,7 +12820,7 @@ function create_if_block$5(ctx) {
|
|
|
12666
12820
|
if (if_block0) {
|
|
12667
12821
|
if_block0.p(ctx, dirty);
|
|
12668
12822
|
} else {
|
|
12669
|
-
if_block0 = create_if_block_3(ctx);
|
|
12823
|
+
if_block0 = create_if_block_3$2(ctx);
|
|
12670
12824
|
if_block0.c();
|
|
12671
12825
|
if_block0.m(div5, t1);
|
|
12672
12826
|
}
|
|
@@ -12693,7 +12847,7 @@ function create_if_block$5(ctx) {
|
|
|
12693
12847
|
if (if_block2) {
|
|
12694
12848
|
if_block2.p(ctx, dirty);
|
|
12695
12849
|
} else {
|
|
12696
|
-
if_block2 = create_if_block_1$
|
|
12850
|
+
if_block2 = create_if_block_1$2(ctx);
|
|
12697
12851
|
if_block2.c();
|
|
12698
12852
|
if_block2.m(header, null);
|
|
12699
12853
|
}
|
|
@@ -12797,7 +12951,7 @@ function create_if_block$5(ctx) {
|
|
|
12797
12951
|
} // (102:8) {#if calloutvariant !== null}
|
|
12798
12952
|
|
|
12799
12953
|
|
|
12800
|
-
function create_if_block_3(ctx) {
|
|
12954
|
+
function create_if_block_3$2(ctx) {
|
|
12801
12955
|
let div;
|
|
12802
12956
|
let goa_icon;
|
|
12803
12957
|
let goa_icon_inverted_value;
|
|
@@ -12856,7 +13010,7 @@ function create_if_block_3(ctx) {
|
|
|
12856
13010
|
} // (115:14) {:else}
|
|
12857
13011
|
|
|
12858
13012
|
|
|
12859
|
-
function create_else_block$
|
|
13013
|
+
function create_else_block$3(ctx) {
|
|
12860
13014
|
let slot;
|
|
12861
13015
|
return {
|
|
12862
13016
|
c() {
|
|
@@ -12878,7 +13032,7 @@ function create_else_block$2(ctx) {
|
|
|
12878
13032
|
} // (113:14) {#if heading}
|
|
12879
13033
|
|
|
12880
13034
|
|
|
12881
|
-
function create_if_block_2$
|
|
13035
|
+
function create_if_block_2$2(ctx) {
|
|
12882
13036
|
let t;
|
|
12883
13037
|
return {
|
|
12884
13038
|
c() {
|
|
@@ -12907,7 +13061,7 @@ function create_if_block_2$1(ctx) {
|
|
|
12907
13061
|
} // (119:12) {#if _isClosable}
|
|
12908
13062
|
|
|
12909
13063
|
|
|
12910
|
-
function create_if_block_1$
|
|
13064
|
+
function create_if_block_1$2(ctx) {
|
|
12911
13065
|
let div;
|
|
12912
13066
|
let goa_icon_button;
|
|
12913
13067
|
let mounted;
|
|
@@ -12945,12 +13099,12 @@ function create_if_block_1$1(ctx) {
|
|
|
12945
13099
|
};
|
|
12946
13100
|
}
|
|
12947
13101
|
|
|
12948
|
-
function create_fragment$
|
|
13102
|
+
function create_fragment$h(ctx) {
|
|
12949
13103
|
let if_block_anchor;
|
|
12950
13104
|
let current;
|
|
12951
13105
|
let if_block =
|
|
12952
13106
|
/*_isOpen*/
|
|
12953
|
-
ctx[6] && create_if_block$
|
|
13107
|
+
ctx[6] && create_if_block$7(ctx);
|
|
12954
13108
|
return {
|
|
12955
13109
|
c() {
|
|
12956
13110
|
if (if_block) if_block.c();
|
|
@@ -12977,7 +13131,7 @@ function create_fragment$e(ctx) {
|
|
|
12977
13131
|
transition_in(if_block, 1);
|
|
12978
13132
|
}
|
|
12979
13133
|
} else {
|
|
12980
|
-
if_block = create_if_block$
|
|
13134
|
+
if_block = create_if_block$7(ctx);
|
|
12981
13135
|
if_block.c();
|
|
12982
13136
|
transition_in(if_block, 1);
|
|
12983
13137
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13010,7 +13164,7 @@ function create_fragment$e(ctx) {
|
|
|
13010
13164
|
};
|
|
13011
13165
|
}
|
|
13012
13166
|
|
|
13013
|
-
function instance$
|
|
13167
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
13014
13168
|
let _isClosable;
|
|
13015
13169
|
|
|
13016
13170
|
let _isOpen;
|
|
@@ -13161,7 +13315,7 @@ class Modal extends SvelteElement {
|
|
|
13161
13315
|
target: this.shadowRoot,
|
|
13162
13316
|
props: attribute_to_object(this.attributes),
|
|
13163
13317
|
customElement: true
|
|
13164
|
-
}, instance$
|
|
13318
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
13165
13319
|
heading: 0,
|
|
13166
13320
|
closable: 12,
|
|
13167
13321
|
open: 1,
|
|
@@ -13257,7 +13411,7 @@ class Modal extends SvelteElement {
|
|
|
13257
13411
|
customElements.define("goa-modal", Modal);
|
|
13258
13412
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
13259
13413
|
|
|
13260
|
-
function create_if_block$
|
|
13414
|
+
function create_if_block$6(ctx) {
|
|
13261
13415
|
let div3;
|
|
13262
13416
|
let div0;
|
|
13263
13417
|
let goa_icon;
|
|
@@ -13381,12 +13535,12 @@ function create_if_block$4(ctx) {
|
|
|
13381
13535
|
};
|
|
13382
13536
|
}
|
|
13383
13537
|
|
|
13384
|
-
function create_fragment$
|
|
13538
|
+
function create_fragment$g(ctx) {
|
|
13385
13539
|
let if_block_anchor;
|
|
13386
13540
|
let current;
|
|
13387
13541
|
let if_block =
|
|
13388
13542
|
/*show*/
|
|
13389
|
-
ctx[1] && create_if_block$
|
|
13543
|
+
ctx[1] && create_if_block$6(ctx);
|
|
13390
13544
|
return {
|
|
13391
13545
|
c() {
|
|
13392
13546
|
if (if_block) if_block.c();
|
|
@@ -13413,7 +13567,7 @@ function create_fragment$d(ctx) {
|
|
|
13413
13567
|
transition_in(if_block, 1);
|
|
13414
13568
|
}
|
|
13415
13569
|
} else {
|
|
13416
|
-
if_block = create_if_block$
|
|
13570
|
+
if_block = create_if_block$6(ctx);
|
|
13417
13571
|
if_block.c();
|
|
13418
13572
|
transition_in(if_block, 1);
|
|
13419
13573
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13446,7 +13600,7 @@ function create_fragment$d(ctx) {
|
|
|
13446
13600
|
};
|
|
13447
13601
|
}
|
|
13448
13602
|
|
|
13449
|
-
function instance$
|
|
13603
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
13450
13604
|
let iconType;
|
|
13451
13605
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
13452
13606
|
let {
|
|
@@ -13488,7 +13642,7 @@ class Notification extends SvelteElement {
|
|
|
13488
13642
|
target: this.shadowRoot,
|
|
13489
13643
|
props: attribute_to_object(this.attributes),
|
|
13490
13644
|
customElement: true
|
|
13491
|
-
}, instance$
|
|
13645
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
13492
13646
|
type: 0
|
|
13493
13647
|
}, null);
|
|
13494
13648
|
|
|
@@ -13530,7 +13684,7 @@ function isValidDimension(value) {
|
|
|
13530
13684
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
13531
13685
|
|
|
13532
13686
|
|
|
13533
|
-
function create_fragment$
|
|
13687
|
+
function create_fragment$f(ctx) {
|
|
13534
13688
|
let div;
|
|
13535
13689
|
let slot;
|
|
13536
13690
|
let div_style_value;
|
|
@@ -13570,7 +13724,7 @@ function create_fragment$c(ctx) {
|
|
|
13570
13724
|
};
|
|
13571
13725
|
}
|
|
13572
13726
|
|
|
13573
|
-
function instance$
|
|
13727
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
13574
13728
|
const Sizes = {
|
|
13575
13729
|
"full": "100%"
|
|
13576
13730
|
};
|
|
@@ -13611,7 +13765,7 @@ class PageBlock extends SvelteElement {
|
|
|
13611
13765
|
target: this.shadowRoot,
|
|
13612
13766
|
props: attribute_to_object(this.attributes),
|
|
13613
13767
|
customElement: true
|
|
13614
|
-
}, instance$
|
|
13768
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
13615
13769
|
width: 1,
|
|
13616
13770
|
_width: 0
|
|
13617
13771
|
}, null);
|
|
@@ -13659,7 +13813,7 @@ class PageBlock extends SvelteElement {
|
|
|
13659
13813
|
customElements.define("goa-page-block", PageBlock);
|
|
13660
13814
|
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
13661
13815
|
|
|
13662
|
-
function create_if_block$
|
|
13816
|
+
function create_if_block$5(ctx) {
|
|
13663
13817
|
let goa_block;
|
|
13664
13818
|
let span0;
|
|
13665
13819
|
let t1;
|
|
@@ -13757,7 +13911,7 @@ function create_if_block$3(ctx) {
|
|
|
13757
13911
|
};
|
|
13758
13912
|
}
|
|
13759
13913
|
|
|
13760
|
-
function create_fragment$
|
|
13914
|
+
function create_fragment$e(ctx) {
|
|
13761
13915
|
let goa_block1;
|
|
13762
13916
|
let div;
|
|
13763
13917
|
let t0;
|
|
@@ -13773,7 +13927,7 @@ function create_fragment$b(ctx) {
|
|
|
13773
13927
|
let dispose;
|
|
13774
13928
|
let if_block =
|
|
13775
13929
|
/*variant*/
|
|
13776
|
-
ctx[1] === "all" && create_if_block$
|
|
13930
|
+
ctx[1] === "all" && create_if_block$5(ctx);
|
|
13777
13931
|
return {
|
|
13778
13932
|
c() {
|
|
13779
13933
|
goa_block1 = element("goa-block");
|
|
@@ -13847,7 +14001,7 @@ function create_fragment$b(ctx) {
|
|
|
13847
14001
|
if (if_block) {
|
|
13848
14002
|
if_block.p(ctx, dirty);
|
|
13849
14003
|
} else {
|
|
13850
|
-
if_block = create_if_block$
|
|
14004
|
+
if_block = create_if_block$5(ctx);
|
|
13851
14005
|
if_block.c();
|
|
13852
14006
|
if_block.m(div, t0);
|
|
13853
14007
|
}
|
|
@@ -13920,7 +14074,7 @@ function create_fragment$b(ctx) {
|
|
|
13920
14074
|
};
|
|
13921
14075
|
}
|
|
13922
14076
|
|
|
13923
|
-
function instance$
|
|
14077
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
13924
14078
|
let _pageCount;
|
|
13925
14079
|
|
|
13926
14080
|
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
@@ -14045,7 +14199,7 @@ class Pagination extends SvelteElement {
|
|
|
14045
14199
|
target: this.shadowRoot,
|
|
14046
14200
|
props: attribute_to_object(this.attributes),
|
|
14047
14201
|
customElement: true
|
|
14048
|
-
}, instance$
|
|
14202
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
14049
14203
|
pagenumber: 0,
|
|
14050
14204
|
itemcount: 10,
|
|
14051
14205
|
perpagecount: 11,
|
|
@@ -14355,7 +14509,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
14355
14509
|
};
|
|
14356
14510
|
}
|
|
14357
14511
|
|
|
14358
|
-
function create_fragment$
|
|
14512
|
+
function create_fragment$d(ctx) {
|
|
14359
14513
|
let div;
|
|
14360
14514
|
let slot;
|
|
14361
14515
|
let t;
|
|
@@ -14478,7 +14632,7 @@ function create_fragment$a(ctx) {
|
|
|
14478
14632
|
};
|
|
14479
14633
|
}
|
|
14480
14634
|
|
|
14481
|
-
function instance$
|
|
14635
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
14482
14636
|
let isDisabled;
|
|
14483
14637
|
let isError;
|
|
14484
14638
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -14621,7 +14775,7 @@ class RadioGroup extends SvelteElement {
|
|
|
14621
14775
|
target: this.shadowRoot,
|
|
14622
14776
|
props: attribute_to_object(this.attributes),
|
|
14623
14777
|
customElement: true
|
|
14624
|
-
}, instance$
|
|
14778
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
14625
14779
|
name: 1,
|
|
14626
14780
|
value: 0,
|
|
14627
14781
|
orientation: 2,
|
|
@@ -14777,7 +14931,7 @@ class RadioGroup extends SvelteElement {
|
|
|
14777
14931
|
customElements.define("goa-radio-group", RadioGroup);
|
|
14778
14932
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
14779
14933
|
|
|
14780
|
-
function create_fragment$
|
|
14934
|
+
function create_fragment$c(ctx) {
|
|
14781
14935
|
let div;
|
|
14782
14936
|
let slot;
|
|
14783
14937
|
let div_style_value;
|
|
@@ -14862,7 +15016,7 @@ function create_fragment$9(ctx) {
|
|
|
14862
15016
|
};
|
|
14863
15017
|
}
|
|
14864
15018
|
|
|
14865
|
-
function instance$
|
|
15019
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
14866
15020
|
let {
|
|
14867
15021
|
direction = "vertical"
|
|
14868
15022
|
} = $$props;
|
|
@@ -14928,7 +15082,7 @@ class Scrollable extends SvelteElement {
|
|
|
14928
15082
|
target: this.shadowRoot,
|
|
14929
15083
|
props: attribute_to_object(this.attributes),
|
|
14930
15084
|
customElement: true
|
|
14931
|
-
}, instance$
|
|
15085
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
14932
15086
|
direction: 0,
|
|
14933
15087
|
hpadding: 1,
|
|
14934
15088
|
vpadding: 2,
|
|
@@ -15028,10 +15182,10 @@ function get_each_context(ctx, list, i) {
|
|
|
15028
15182
|
const child_ctx = ctx.slice();
|
|
15029
15183
|
child_ctx[13] = list[i];
|
|
15030
15184
|
return child_ctx;
|
|
15031
|
-
} // (
|
|
15185
|
+
} // (81:2) {:else}
|
|
15032
15186
|
|
|
15033
15187
|
|
|
15034
|
-
function create_else_block$
|
|
15188
|
+
function create_else_block$2(ctx) {
|
|
15035
15189
|
let div;
|
|
15036
15190
|
let div_class_value;
|
|
15037
15191
|
return {
|
|
@@ -15072,10 +15226,131 @@ function create_else_block$1(ctx) {
|
|
|
15072
15226
|
}
|
|
15073
15227
|
|
|
15074
15228
|
};
|
|
15075
|
-
} // (
|
|
15229
|
+
} // (68:31)
|
|
15076
15230
|
|
|
15077
15231
|
|
|
15078
|
-
function
|
|
15232
|
+
function create_if_block_3$1(ctx) {
|
|
15233
|
+
let div3;
|
|
15234
|
+
let div2;
|
|
15235
|
+
let div0;
|
|
15236
|
+
let skeleton0;
|
|
15237
|
+
let t0;
|
|
15238
|
+
let div1;
|
|
15239
|
+
let skeleton1;
|
|
15240
|
+
let t1;
|
|
15241
|
+
let skeleton2;
|
|
15242
|
+
let t2;
|
|
15243
|
+
let skeleton3;
|
|
15244
|
+
let current;
|
|
15245
|
+
skeleton0 = new Skeleton({
|
|
15246
|
+
props: {
|
|
15247
|
+
type: "image",
|
|
15248
|
+
size:
|
|
15249
|
+
/*size*/
|
|
15250
|
+
ctx[1]
|
|
15251
|
+
}
|
|
15252
|
+
});
|
|
15253
|
+
skeleton1 = new Skeleton({
|
|
15254
|
+
props: {
|
|
15255
|
+
type: "header",
|
|
15256
|
+
size: "4"
|
|
15257
|
+
}
|
|
15258
|
+
});
|
|
15259
|
+
skeleton2 = new Skeleton({
|
|
15260
|
+
props: {
|
|
15261
|
+
type: "header",
|
|
15262
|
+
size: "1"
|
|
15263
|
+
}
|
|
15264
|
+
});
|
|
15265
|
+
skeleton3 = new Skeleton({
|
|
15266
|
+
props: {
|
|
15267
|
+
type: "lines",
|
|
15268
|
+
size:
|
|
15269
|
+
/*size*/
|
|
15270
|
+
ctx[1]
|
|
15271
|
+
}
|
|
15272
|
+
});
|
|
15273
|
+
return {
|
|
15274
|
+
c() {
|
|
15275
|
+
div3 = element("div");
|
|
15276
|
+
div2 = element("div");
|
|
15277
|
+
div0 = element("div");
|
|
15278
|
+
create_component(skeleton0.$$.fragment);
|
|
15279
|
+
t0 = space();
|
|
15280
|
+
div1 = element("div");
|
|
15281
|
+
create_component(skeleton1.$$.fragment);
|
|
15282
|
+
t1 = space();
|
|
15283
|
+
create_component(skeleton2.$$.fragment);
|
|
15284
|
+
t2 = space();
|
|
15285
|
+
create_component(skeleton3.$$.fragment);
|
|
15286
|
+
set_style(div0, "flex", "1 1 auto");
|
|
15287
|
+
set_style(div1, "flex", "2 2 auto");
|
|
15288
|
+
set_style(div2, "display", "flex");
|
|
15289
|
+
set_style(div2, "gap", "1rem");
|
|
15290
|
+
},
|
|
15291
|
+
|
|
15292
|
+
m(target, anchor) {
|
|
15293
|
+
insert(target, div3, anchor);
|
|
15294
|
+
append(div3, div2);
|
|
15295
|
+
append(div2, div0);
|
|
15296
|
+
mount_component(skeleton0, div0, null);
|
|
15297
|
+
append(div2, t0);
|
|
15298
|
+
append(div2, div1);
|
|
15299
|
+
mount_component(skeleton1, div1, null);
|
|
15300
|
+
append(div1, t1);
|
|
15301
|
+
mount_component(skeleton2, div1, null);
|
|
15302
|
+
append(div3, t2);
|
|
15303
|
+
mount_component(skeleton3, div3, null);
|
|
15304
|
+
current = true;
|
|
15305
|
+
},
|
|
15306
|
+
|
|
15307
|
+
p(ctx, dirty) {
|
|
15308
|
+
const skeleton0_changes = {};
|
|
15309
|
+
if (dirty &
|
|
15310
|
+
/*size*/
|
|
15311
|
+
2) skeleton0_changes.size =
|
|
15312
|
+
/*size*/
|
|
15313
|
+
ctx[1];
|
|
15314
|
+
skeleton0.$set(skeleton0_changes);
|
|
15315
|
+
const skeleton3_changes = {};
|
|
15316
|
+
if (dirty &
|
|
15317
|
+
/*size*/
|
|
15318
|
+
2) skeleton3_changes.size =
|
|
15319
|
+
/*size*/
|
|
15320
|
+
ctx[1];
|
|
15321
|
+
skeleton3.$set(skeleton3_changes);
|
|
15322
|
+
},
|
|
15323
|
+
|
|
15324
|
+
i(local) {
|
|
15325
|
+
if (current) return;
|
|
15326
|
+
transition_in(skeleton0.$$.fragment, local);
|
|
15327
|
+
transition_in(skeleton1.$$.fragment, local);
|
|
15328
|
+
transition_in(skeleton2.$$.fragment, local);
|
|
15329
|
+
transition_in(skeleton3.$$.fragment, local);
|
|
15330
|
+
current = true;
|
|
15331
|
+
},
|
|
15332
|
+
|
|
15333
|
+
o(local) {
|
|
15334
|
+
transition_out(skeleton0.$$.fragment, local);
|
|
15335
|
+
transition_out(skeleton1.$$.fragment, local);
|
|
15336
|
+
transition_out(skeleton2.$$.fragment, local);
|
|
15337
|
+
transition_out(skeleton3.$$.fragment, local);
|
|
15338
|
+
current = false;
|
|
15339
|
+
},
|
|
15340
|
+
|
|
15341
|
+
d(detaching) {
|
|
15342
|
+
if (detaching) detach(div3);
|
|
15343
|
+
destroy_component(skeleton0);
|
|
15344
|
+
destroy_component(skeleton1);
|
|
15345
|
+
destroy_component(skeleton2);
|
|
15346
|
+
destroy_component(skeleton3);
|
|
15347
|
+
}
|
|
15348
|
+
|
|
15349
|
+
};
|
|
15350
|
+
} // (64:29)
|
|
15351
|
+
|
|
15352
|
+
|
|
15353
|
+
function create_if_block_2$1(ctx) {
|
|
15079
15354
|
let each_1_anchor;
|
|
15080
15355
|
let current;
|
|
15081
15356
|
let each_value = Array(Number.parseInt(
|
|
@@ -15168,10 +15443,10 @@ function create_if_block_2(ctx) {
|
|
|
15168
15443
|
}
|
|
15169
15444
|
|
|
15170
15445
|
};
|
|
15171
|
-
} // (
|
|
15446
|
+
} // (54:31)
|
|
15172
15447
|
|
|
15173
15448
|
|
|
15174
|
-
function create_if_block_1(ctx) {
|
|
15449
|
+
function create_if_block_1$1(ctx) {
|
|
15175
15450
|
let div2;
|
|
15176
15451
|
let div0;
|
|
15177
15452
|
let skeleton0;
|
|
@@ -15290,10 +15565,10 @@ function create_if_block_1(ctx) {
|
|
|
15290
15565
|
}
|
|
15291
15566
|
|
|
15292
15567
|
};
|
|
15293
|
-
} // (
|
|
15568
|
+
} // (43:2) {#if type === "card"}
|
|
15294
15569
|
|
|
15295
15570
|
|
|
15296
|
-
function create_if_block$
|
|
15571
|
+
function create_if_block$4(ctx) {
|
|
15297
15572
|
let div1;
|
|
15298
15573
|
let skeleton0;
|
|
15299
15574
|
let t0;
|
|
@@ -15427,7 +15702,7 @@ function create_if_block$2(ctx) {
|
|
|
15427
15702
|
}
|
|
15428
15703
|
|
|
15429
15704
|
};
|
|
15430
|
-
} // (
|
|
15705
|
+
} // (65:4) {#each Array(Number.parseInt(linecount+"")) as _item}
|
|
15431
15706
|
|
|
15432
15707
|
|
|
15433
15708
|
function create_each_block(ctx) {
|
|
@@ -15487,13 +15762,13 @@ function create_each_block(ctx) {
|
|
|
15487
15762
|
};
|
|
15488
15763
|
}
|
|
15489
15764
|
|
|
15490
|
-
function create_fragment$
|
|
15765
|
+
function create_fragment$b(ctx) {
|
|
15491
15766
|
let div;
|
|
15492
15767
|
let current_block_type_index;
|
|
15493
15768
|
let if_block;
|
|
15494
15769
|
let div_style_value;
|
|
15495
15770
|
let current;
|
|
15496
|
-
const if_block_creators = [create_if_block$
|
|
15771
|
+
const if_block_creators = [create_if_block$4, create_if_block_1$1, create_if_block_2$1, create_if_block_3$1, create_else_block$2];
|
|
15497
15772
|
const if_blocks = [];
|
|
15498
15773
|
|
|
15499
15774
|
function select_block_type(ctx, dirty) {
|
|
@@ -15506,7 +15781,10 @@ function create_fragment$8(ctx) {
|
|
|
15506
15781
|
if (
|
|
15507
15782
|
/*type*/
|
|
15508
15783
|
ctx[3] === "lines") return 2;
|
|
15509
|
-
|
|
15784
|
+
if (
|
|
15785
|
+
/*type*/
|
|
15786
|
+
ctx[3] === "article") return 3;
|
|
15787
|
+
return 4;
|
|
15510
15788
|
}
|
|
15511
15789
|
|
|
15512
15790
|
current_block_type_index = select_block_type(ctx);
|
|
@@ -15603,8 +15881,8 @@ function create_fragment$8(ctx) {
|
|
|
15603
15881
|
};
|
|
15604
15882
|
}
|
|
15605
15883
|
|
|
15606
|
-
function instance$
|
|
15607
|
-
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "
|
|
15884
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
15885
|
+
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "lines", "profile", "article"], true);
|
|
15608
15886
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
15609
15887
|
let {
|
|
15610
15888
|
maxwidth = ""
|
|
@@ -15661,7 +15939,7 @@ class Skeleton extends SvelteElement {
|
|
|
15661
15939
|
target: this.shadowRoot,
|
|
15662
15940
|
props: attribute_to_object(this.attributes),
|
|
15663
15941
|
customElement: true
|
|
15664
|
-
}, instance$
|
|
15942
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
15665
15943
|
maxwidth: 0,
|
|
15666
15944
|
size: 1,
|
|
15667
15945
|
linecount: 2,
|
|
@@ -15793,7 +16071,7 @@ class Skeleton extends SvelteElement {
|
|
|
15793
16071
|
customElements.define("goa-skeleton", Skeleton);
|
|
15794
16072
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
15795
16073
|
|
|
15796
|
-
function create_fragment$
|
|
16074
|
+
function create_fragment$a(ctx) {
|
|
15797
16075
|
let div;
|
|
15798
16076
|
return {
|
|
15799
16077
|
c() {
|
|
@@ -15822,7 +16100,7 @@ function create_fragment$7(ctx) {
|
|
|
15822
16100
|
};
|
|
15823
16101
|
}
|
|
15824
16102
|
|
|
15825
|
-
function instance$
|
|
16103
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
15826
16104
|
let {
|
|
15827
16105
|
hspacing = "none"
|
|
15828
16106
|
} = $$props;
|
|
@@ -15832,7 +16110,8 @@ function instance$5($$self, $$props, $$invalidate) {
|
|
|
15832
16110
|
let rootEl;
|
|
15833
16111
|
onMount(() => {
|
|
15834
16112
|
injectCss(rootEl, ":host", {
|
|
15835
|
-
|
|
16113
|
+
display: "block",
|
|
16114
|
+
width: hspacing === "fill" ? "100%" : `var(--goa-space-${hspacing})`,
|
|
15836
16115
|
height: `var(--goa-space-${vspacing})`
|
|
15837
16116
|
});
|
|
15838
16117
|
});
|
|
@@ -15859,7 +16138,7 @@ class Spacer extends SvelteElement {
|
|
|
15859
16138
|
target: this.shadowRoot,
|
|
15860
16139
|
props: attribute_to_object(this.attributes),
|
|
15861
16140
|
customElement: true
|
|
15862
|
-
}, instance$
|
|
16141
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
15863
16142
|
hspacing: 1,
|
|
15864
16143
|
vspacing: 2
|
|
15865
16144
|
}, null);
|
|
@@ -16091,7 +16370,7 @@ function tweened(value, defaults = {}) {
|
|
|
16091
16370
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
16092
16371
|
|
|
16093
16372
|
|
|
16094
|
-
function create_if_block$
|
|
16373
|
+
function create_if_block$3(ctx) {
|
|
16095
16374
|
let svg;
|
|
16096
16375
|
let circle;
|
|
16097
16376
|
let circle_stroke_value;
|
|
@@ -16281,11 +16560,11 @@ function create_if_block$1(ctx) {
|
|
|
16281
16560
|
};
|
|
16282
16561
|
}
|
|
16283
16562
|
|
|
16284
|
-
function create_fragment$
|
|
16563
|
+
function create_fragment$9(ctx) {
|
|
16285
16564
|
let if_block_anchor;
|
|
16286
16565
|
let if_block =
|
|
16287
16566
|
/*ready*/
|
|
16288
|
-
ctx[6] && create_if_block$
|
|
16567
|
+
ctx[6] && create_if_block$3(ctx);
|
|
16289
16568
|
return {
|
|
16290
16569
|
c() {
|
|
16291
16570
|
if (if_block) if_block.c();
|
|
@@ -16305,7 +16584,7 @@ function create_fragment$6(ctx) {
|
|
|
16305
16584
|
if (if_block) {
|
|
16306
16585
|
if_block.p(ctx, dirty);
|
|
16307
16586
|
} else {
|
|
16308
|
-
if_block = create_if_block$
|
|
16587
|
+
if_block = create_if_block$3(ctx);
|
|
16309
16588
|
if_block.c();
|
|
16310
16589
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
16311
16590
|
}
|
|
@@ -16326,7 +16605,7 @@ function create_fragment$6(ctx) {
|
|
|
16326
16605
|
};
|
|
16327
16606
|
}
|
|
16328
16607
|
|
|
16329
|
-
function instance$
|
|
16608
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
16330
16609
|
let diameter;
|
|
16331
16610
|
let strokewidth;
|
|
16332
16611
|
let radius;
|
|
@@ -16457,7 +16736,7 @@ class Spinner extends SvelteElement {
|
|
|
16457
16736
|
target: this.shadowRoot,
|
|
16458
16737
|
props: attribute_to_object(this.attributes),
|
|
16459
16738
|
customElement: true
|
|
16460
|
-
}, instance$
|
|
16739
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
16461
16740
|
size: 10,
|
|
16462
16741
|
invert: 0,
|
|
16463
16742
|
progress: 11,
|
|
@@ -16529,7 +16808,7 @@ class Spinner extends SvelteElement {
|
|
|
16529
16808
|
customElements.define("goa-spinner", Spinner);
|
|
16530
16809
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
16531
16810
|
|
|
16532
|
-
function create_fragment$
|
|
16811
|
+
function create_fragment$8(ctx) {
|
|
16533
16812
|
let table;
|
|
16534
16813
|
let slot;
|
|
16535
16814
|
let t0;
|
|
@@ -16631,7 +16910,7 @@ function create_fragment$5(ctx) {
|
|
|
16631
16910
|
};
|
|
16632
16911
|
}
|
|
16633
16912
|
|
|
16634
|
-
function instance$
|
|
16913
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
16635
16914
|
let _stickyHeader;
|
|
16636
16915
|
|
|
16637
16916
|
const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
|
|
@@ -16745,7 +17024,7 @@ class Table extends SvelteElement {
|
|
|
16745
17024
|
target: this.shadowRoot,
|
|
16746
17025
|
props: attribute_to_object(this.attributes),
|
|
16747
17026
|
customElement: true
|
|
16748
|
-
}, instance$
|
|
17027
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
16749
17028
|
width: 0,
|
|
16750
17029
|
stickyheader: 8,
|
|
16751
17030
|
variant: 1,
|
|
@@ -16853,7 +17132,7 @@ class Table extends SvelteElement {
|
|
|
16853
17132
|
customElements.define("goa-table", Table);
|
|
16854
17133
|
/* libs/web-components/src/components/table/TableSortHeader.svelte generated by Svelte v3.51.0 */
|
|
16855
17134
|
|
|
16856
|
-
function create_else_block(ctx) {
|
|
17135
|
+
function create_else_block$1(ctx) {
|
|
16857
17136
|
let img;
|
|
16858
17137
|
let img_src_value;
|
|
16859
17138
|
return {
|
|
@@ -16898,7 +17177,7 @@ function create_else_block(ctx) {
|
|
|
16898
17177
|
} // (55:2) {#if direction === "none"}
|
|
16899
17178
|
|
|
16900
17179
|
|
|
16901
|
-
function create_if_block(ctx) {
|
|
17180
|
+
function create_if_block$2(ctx) {
|
|
16902
17181
|
let img;
|
|
16903
17182
|
let img_src_value;
|
|
16904
17183
|
return {
|
|
@@ -16921,7 +17200,7 @@ function create_if_block(ctx) {
|
|
|
16921
17200
|
};
|
|
16922
17201
|
}
|
|
16923
17202
|
|
|
16924
|
-
function create_fragment$
|
|
17203
|
+
function create_fragment$7(ctx) {
|
|
16925
17204
|
let button;
|
|
16926
17205
|
let slot;
|
|
16927
17206
|
let t;
|
|
@@ -16929,8 +17208,8 @@ function create_fragment$4(ctx) {
|
|
|
16929
17208
|
function select_block_type(ctx, dirty) {
|
|
16930
17209
|
if (
|
|
16931
17210
|
/*direction*/
|
|
16932
|
-
ctx[0] === "none") return create_if_block;
|
|
16933
|
-
return create_else_block;
|
|
17211
|
+
ctx[0] === "none") return create_if_block$2;
|
|
17212
|
+
return create_else_block$1;
|
|
16934
17213
|
}
|
|
16935
17214
|
|
|
16936
17215
|
let current_block_type = select_block_type(ctx);
|
|
@@ -16976,7 +17255,7 @@ function create_fragment$4(ctx) {
|
|
|
16976
17255
|
};
|
|
16977
17256
|
}
|
|
16978
17257
|
|
|
16979
|
-
function instance$
|
|
17258
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
16980
17259
|
let {
|
|
16981
17260
|
direction = "none"
|
|
16982
17261
|
} = $$props;
|
|
@@ -16996,7 +17275,7 @@ class TableSortHeader extends SvelteElement {
|
|
|
16996
17275
|
target: this.shadowRoot,
|
|
16997
17276
|
props: attribute_to_object(this.attributes),
|
|
16998
17277
|
customElement: true
|
|
16999
|
-
}, instance$
|
|
17278
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
17000
17279
|
direction: 0
|
|
17001
17280
|
}, null);
|
|
17002
17281
|
|
|
@@ -17032,7 +17311,7 @@ class TableSortHeader extends SvelteElement {
|
|
|
17032
17311
|
customElements.define("goa-table-sort-header", TableSortHeader);
|
|
17033
17312
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
17034
17313
|
|
|
17035
|
-
function create_fragment$
|
|
17314
|
+
function create_fragment$6(ctx) {
|
|
17036
17315
|
let div;
|
|
17037
17316
|
let textarea;
|
|
17038
17317
|
let textarea_aria_label_value;
|
|
@@ -17213,7 +17492,7 @@ function create_fragment$3(ctx) {
|
|
|
17213
17492
|
};
|
|
17214
17493
|
}
|
|
17215
17494
|
|
|
17216
|
-
function instance$
|
|
17495
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
17217
17496
|
let isError;
|
|
17218
17497
|
let isDisabled;
|
|
17219
17498
|
let isReadonly;
|
|
@@ -17330,7 +17609,7 @@ class TextArea extends SvelteElement {
|
|
|
17330
17609
|
target: this.shadowRoot,
|
|
17331
17610
|
props: attribute_to_object(this.attributes),
|
|
17332
17611
|
customElement: true
|
|
17333
|
-
}, instance$
|
|
17612
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
17334
17613
|
name: 0,
|
|
17335
17614
|
value: 1,
|
|
17336
17615
|
placeholder: 2,
|
|
@@ -17534,7 +17813,7 @@ class TextArea extends SvelteElement {
|
|
|
17534
17813
|
customElements.define("goa-textarea", TextArea);
|
|
17535
17814
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
|
|
17536
17815
|
|
|
17537
|
-
function create_fragment$
|
|
17816
|
+
function create_fragment$5(ctx) {
|
|
17538
17817
|
let div;
|
|
17539
17818
|
return {
|
|
17540
17819
|
c() {
|
|
@@ -17578,7 +17857,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
17578
17857
|
target: this.shadowRoot,
|
|
17579
17858
|
props: attribute_to_object(this.attributes),
|
|
17580
17859
|
customElement: true
|
|
17581
|
-
}, null, create_fragment$
|
|
17860
|
+
}, null, create_fragment$5, safe_not_equal, {}, null);
|
|
17582
17861
|
|
|
17583
17862
|
if (options) {
|
|
17584
17863
|
if (options.target) {
|
|
@@ -17592,7 +17871,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
17592
17871
|
customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
|
|
17593
17872
|
/* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
17594
17873
|
|
|
17595
|
-
function create_fragment$
|
|
17874
|
+
function create_fragment$4(ctx) {
|
|
17596
17875
|
let div;
|
|
17597
17876
|
return {
|
|
17598
17877
|
c() {
|
|
@@ -17629,7 +17908,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
17629
17908
|
target: this.shadowRoot,
|
|
17630
17909
|
props: attribute_to_object(this.attributes),
|
|
17631
17910
|
customElement: true
|
|
17632
|
-
}, null, create_fragment$
|
|
17911
|
+
}, null, create_fragment$4, safe_not_equal, {}, null);
|
|
17633
17912
|
|
|
17634
17913
|
if (options) {
|
|
17635
17914
|
if (options.target) {
|
|
@@ -17643,7 +17922,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
17643
17922
|
customElements.define("goa-one-column-layout", OneColumnLayout);
|
|
17644
17923
|
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
17645
17924
|
|
|
17646
|
-
function create_fragment(ctx) {
|
|
17925
|
+
function create_fragment$3(ctx) {
|
|
17647
17926
|
let div;
|
|
17648
17927
|
let header;
|
|
17649
17928
|
let t0;
|
|
@@ -17713,7 +17992,7 @@ function create_fragment(ctx) {
|
|
|
17713
17992
|
};
|
|
17714
17993
|
}
|
|
17715
17994
|
|
|
17716
|
-
function instance($$self, $$props, $$invalidate) {
|
|
17995
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
17717
17996
|
let {
|
|
17718
17997
|
navcolumnwidth = ""
|
|
17719
17998
|
} = $$props;
|
|
@@ -17737,7 +18016,7 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
17737
18016
|
target: this.shadowRoot,
|
|
17738
18017
|
props: attribute_to_object(this.attributes),
|
|
17739
18018
|
customElement: true
|
|
17740
|
-
}, instance, create_fragment, safe_not_equal, {
|
|
18019
|
+
}, instance$3, create_fragment$3, safe_not_equal, {
|
|
17741
18020
|
navcolumnwidth: 0,
|
|
17742
18021
|
maxcontentwidth: 1
|
|
17743
18022
|
}, null);
|
|
@@ -17783,38 +18062,1327 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
17783
18062
|
}
|
|
17784
18063
|
|
|
17785
18064
|
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
18065
|
+
/* libs/web-components/src/components/form-stepper/FormStepper.svelte generated by Svelte v3.51.0 */
|
|
17786
18066
|
|
|
17787
|
-
|
|
17788
|
-
|
|
17789
|
-
|
|
17790
|
-
|
|
17791
|
-
|
|
17792
|
-
|
|
17793
|
-
|
|
17794
|
-
|
|
17795
|
-
|
|
17796
|
-
|
|
17797
|
-
|
|
17798
|
-
|
|
17799
|
-
|
|
17800
|
-
|
|
17801
|
-
|
|
17802
|
-
|
|
17803
|
-
|
|
17804
|
-
|
|
17805
|
-
|
|
17806
|
-
|
|
17807
|
-
|
|
17808
|
-
|
|
17809
|
-
|
|
17810
|
-
|
|
17811
|
-
|
|
17812
|
-
|
|
17813
|
-
|
|
17814
|
-
|
|
17815
|
-
|
|
17816
|
-
|
|
17817
|
-
|
|
18067
|
+
function create_if_block$1(ctx) {
|
|
18068
|
+
let progress0;
|
|
18069
|
+
let t;
|
|
18070
|
+
let progress1;
|
|
18071
|
+
return {
|
|
18072
|
+
c() {
|
|
18073
|
+
progress0 = element("progress");
|
|
18074
|
+
t = space();
|
|
18075
|
+
progress1 = element("progress");
|
|
18076
|
+
attr(progress0, "class", "horizontal");
|
|
18077
|
+
progress0.value =
|
|
18078
|
+
/*_progress*/
|
|
18079
|
+
ctx[11];
|
|
18080
|
+
attr(progress0, "max", "100");
|
|
18081
|
+
attr(progress1, "class", "vertical");
|
|
18082
|
+
progress1.value =
|
|
18083
|
+
/*_progress*/
|
|
18084
|
+
ctx[11];
|
|
18085
|
+
attr(progress1, "max", "100");
|
|
18086
|
+
},
|
|
18087
|
+
|
|
18088
|
+
m(target, anchor) {
|
|
18089
|
+
insert(target, progress0, anchor);
|
|
18090
|
+
insert(target, t, anchor);
|
|
18091
|
+
insert(target, progress1, anchor);
|
|
18092
|
+
},
|
|
18093
|
+
|
|
18094
|
+
p(ctx, dirty) {
|
|
18095
|
+
if (dirty &
|
|
18096
|
+
/*_progress*/
|
|
18097
|
+
2048) {
|
|
18098
|
+
progress0.value =
|
|
18099
|
+
/*_progress*/
|
|
18100
|
+
ctx[11];
|
|
18101
|
+
}
|
|
18102
|
+
|
|
18103
|
+
if (dirty &
|
|
18104
|
+
/*_progress*/
|
|
18105
|
+
2048) {
|
|
18106
|
+
progress1.value =
|
|
18107
|
+
/*_progress*/
|
|
18108
|
+
ctx[11];
|
|
18109
|
+
}
|
|
18110
|
+
},
|
|
18111
|
+
|
|
18112
|
+
d(detaching) {
|
|
18113
|
+
if (detaching) detach(progress0);
|
|
18114
|
+
if (detaching) detach(t);
|
|
18115
|
+
if (detaching) detach(progress1);
|
|
18116
|
+
}
|
|
18117
|
+
|
|
18118
|
+
};
|
|
18119
|
+
}
|
|
18120
|
+
|
|
18121
|
+
function create_fragment$2(ctx) {
|
|
18122
|
+
let section;
|
|
18123
|
+
let div1;
|
|
18124
|
+
let t;
|
|
18125
|
+
let div0;
|
|
18126
|
+
let div1_style_value;
|
|
18127
|
+
let if_block =
|
|
18128
|
+
/*_steps*/
|
|
18129
|
+
ctx[4].length > 0 &&
|
|
18130
|
+
/*_showProgressBars*/
|
|
18131
|
+
ctx[10] && create_if_block$1(ctx);
|
|
18132
|
+
return {
|
|
18133
|
+
c() {
|
|
18134
|
+
section = element("section");
|
|
18135
|
+
div1 = element("div");
|
|
18136
|
+
if (if_block) if_block.c();
|
|
18137
|
+
t = space();
|
|
18138
|
+
div0 = element("div");
|
|
18139
|
+
div0.innerHTML = `<goa-grid minchildwidth="1px"><slot></slot></goa-grid>`;
|
|
18140
|
+
this.c = noop;
|
|
18141
|
+
attr(div0, "class", "slots");
|
|
18142
|
+
attr(div1, "class", "form-stepper");
|
|
18143
|
+
attr(div1, "style", div1_style_value = `
|
|
18144
|
+
${calculateMargin(
|
|
18145
|
+
/*mt*/
|
|
18146
|
+
ctx[0],
|
|
18147
|
+
/*mr*/
|
|
18148
|
+
ctx[1],
|
|
18149
|
+
/*mb*/
|
|
18150
|
+
ctx[2],
|
|
18151
|
+
/*ml*/
|
|
18152
|
+
ctx[3])};
|
|
18153
|
+
--progress: ${
|
|
18154
|
+
/*_progress*/
|
|
18155
|
+
ctx[11]}%;
|
|
18156
|
+
--step-width: ${
|
|
18157
|
+
/*_stepWidth*/
|
|
18158
|
+
ctx[7]}px;
|
|
18159
|
+
--step-height: ${
|
|
18160
|
+
/*_stepHeight*/
|
|
18161
|
+
ctx[8]}px;
|
|
18162
|
+
--height: ${
|
|
18163
|
+
/*_progressHeight*/
|
|
18164
|
+
ctx[9]}px;
|
|
18165
|
+
`);
|
|
18166
|
+
attr(section, "role", "list");
|
|
18167
|
+
},
|
|
18168
|
+
|
|
18169
|
+
m(target, anchor) {
|
|
18170
|
+
insert(target, section, anchor);
|
|
18171
|
+
append(section, div1);
|
|
18172
|
+
if (if_block) if_block.m(div1, null);
|
|
18173
|
+
append(div1, t);
|
|
18174
|
+
append(div1, div0);
|
|
18175
|
+
/*div0_binding*/
|
|
18176
|
+
|
|
18177
|
+
ctx[15](div0);
|
|
18178
|
+
/*div1_binding*/
|
|
18179
|
+
|
|
18180
|
+
ctx[16](div1);
|
|
18181
|
+
},
|
|
18182
|
+
|
|
18183
|
+
p(ctx, [dirty]) {
|
|
18184
|
+
if (
|
|
18185
|
+
/*_steps*/
|
|
18186
|
+
ctx[4].length > 0 &&
|
|
18187
|
+
/*_showProgressBars*/
|
|
18188
|
+
ctx[10]) {
|
|
18189
|
+
if (if_block) {
|
|
18190
|
+
if_block.p(ctx, dirty);
|
|
18191
|
+
} else {
|
|
18192
|
+
if_block = create_if_block$1(ctx);
|
|
18193
|
+
if_block.c();
|
|
18194
|
+
if_block.m(div1, t);
|
|
18195
|
+
}
|
|
18196
|
+
} else if (if_block) {
|
|
18197
|
+
if_block.d(1);
|
|
18198
|
+
if_block = null;
|
|
18199
|
+
}
|
|
18200
|
+
|
|
18201
|
+
if (dirty &
|
|
18202
|
+
/*mt, mr, mb, ml, _progress, _stepWidth, _stepHeight, _progressHeight*/
|
|
18203
|
+
2959 && div1_style_value !== (div1_style_value = `
|
|
18204
|
+
${calculateMargin(
|
|
18205
|
+
/*mt*/
|
|
18206
|
+
ctx[0],
|
|
18207
|
+
/*mr*/
|
|
18208
|
+
ctx[1],
|
|
18209
|
+
/*mb*/
|
|
18210
|
+
ctx[2],
|
|
18211
|
+
/*ml*/
|
|
18212
|
+
ctx[3])};
|
|
18213
|
+
--progress: ${
|
|
18214
|
+
/*_progress*/
|
|
18215
|
+
ctx[11]}%;
|
|
18216
|
+
--step-width: ${
|
|
18217
|
+
/*_stepWidth*/
|
|
18218
|
+
ctx[7]}px;
|
|
18219
|
+
--step-height: ${
|
|
18220
|
+
/*_stepHeight*/
|
|
18221
|
+
ctx[8]}px;
|
|
18222
|
+
--height: ${
|
|
18223
|
+
/*_progressHeight*/
|
|
18224
|
+
ctx[9]}px;
|
|
18225
|
+
`)) {
|
|
18226
|
+
attr(div1, "style", div1_style_value);
|
|
18227
|
+
}
|
|
18228
|
+
},
|
|
18229
|
+
|
|
18230
|
+
i: noop,
|
|
18231
|
+
o: noop,
|
|
18232
|
+
|
|
18233
|
+
d(detaching) {
|
|
18234
|
+
if (detaching) detach(section);
|
|
18235
|
+
if (if_block) if_block.d();
|
|
18236
|
+
/*div0_binding*/
|
|
18237
|
+
|
|
18238
|
+
ctx[15](null);
|
|
18239
|
+
/*div1_binding*/
|
|
18240
|
+
|
|
18241
|
+
ctx[16](null);
|
|
18242
|
+
}
|
|
18243
|
+
|
|
18244
|
+
};
|
|
18245
|
+
}
|
|
18246
|
+
|
|
18247
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
18248
|
+
let _progress;
|
|
18249
|
+
|
|
18250
|
+
let {
|
|
18251
|
+
step = -1
|
|
18252
|
+
} = $$props;
|
|
18253
|
+
let {
|
|
18254
|
+
mt = null
|
|
18255
|
+
} = $$props;
|
|
18256
|
+
let {
|
|
18257
|
+
mr = null
|
|
18258
|
+
} = $$props;
|
|
18259
|
+
let {
|
|
18260
|
+
mb = null
|
|
18261
|
+
} = $$props;
|
|
18262
|
+
let {
|
|
18263
|
+
ml = null
|
|
18264
|
+
} = $$props; // =======
|
|
18265
|
+
// Private
|
|
18266
|
+
// =======
|
|
18267
|
+
|
|
18268
|
+
let _rootEl; // events bound to it
|
|
18269
|
+
|
|
18270
|
+
|
|
18271
|
+
let _gridEl; // used to obtain component dimensions
|
|
18272
|
+
|
|
18273
|
+
|
|
18274
|
+
let _steps = []; // step DOM elements to allow for width calculations
|
|
18275
|
+
|
|
18276
|
+
let _stepWidth; // calculated x distance (px) between each step point
|
|
18277
|
+
|
|
18278
|
+
|
|
18279
|
+
let _stepHeight; // calculated y distance (px) between each step point
|
|
18280
|
+
|
|
18281
|
+
|
|
18282
|
+
let _progressHeight; // allow css calculations for mobile view
|
|
18283
|
+
|
|
18284
|
+
|
|
18285
|
+
let _maxAllowedStep = 1; // prevent users from using the stepper to access future steps
|
|
18286
|
+
|
|
18287
|
+
let _maxProgressStep = 1; // controls the progress bars value
|
|
18288
|
+
|
|
18289
|
+
let _showProgressBars = false; // delays the showing of the progress bars to prevent it from
|
|
18290
|
+
|
|
18291
|
+
onMount(async () => {
|
|
18292
|
+
await tick(); // children steps
|
|
18293
|
+
|
|
18294
|
+
const slot = _rootEl.querySelector("slot");
|
|
18295
|
+
|
|
18296
|
+
if (slot) {
|
|
18297
|
+
$$invalidate(4, _steps = slot.assignedElements());
|
|
18298
|
+
} else {
|
|
18299
|
+
// for unit tests only
|
|
18300
|
+
$$invalidate(4, _steps = [..._rootEl.querySelector("goa-grid").children]);
|
|
18301
|
+
} // allow access to all steps if not step property is provided
|
|
18302
|
+
|
|
18303
|
+
|
|
18304
|
+
if (step <= 0) {
|
|
18305
|
+
$$invalidate(12, step = 1);
|
|
18306
|
+
setTimeout(() => {
|
|
18307
|
+
dispatch(step);
|
|
18308
|
+
}, 1);
|
|
18309
|
+
$$invalidate(13, _maxAllowedStep = _steps.length);
|
|
18310
|
+
} // set step a11y label
|
|
18311
|
+
|
|
18312
|
+
|
|
18313
|
+
_steps.forEach((_step, index) => {
|
|
18314
|
+
const s = _step;
|
|
18315
|
+
s.setAttribute("arialabel", `Step ${index + 1} of ${_steps.length}`);
|
|
18316
|
+
s.setAttribute("childindex", `${index + 1}`);
|
|
18317
|
+
}); // handle click events from progress items
|
|
18318
|
+
|
|
18319
|
+
|
|
18320
|
+
_rootEl.addEventListener("_click", e => {
|
|
18321
|
+
$$invalidate(12, step = e.detail);
|
|
18322
|
+
dispatch(step);
|
|
18323
|
+
});
|
|
18324
|
+
|
|
18325
|
+
setCurrentStepStatus(step);
|
|
18326
|
+
calcStepDims();
|
|
18327
|
+
setTimeout(() => {
|
|
18328
|
+
$$invalidate(10, _showProgressBars = true);
|
|
18329
|
+
}, 10); // add listener to recalculate the step widths
|
|
18330
|
+
|
|
18331
|
+
window.addEventListener('resize', calcStepDims);
|
|
18332
|
+
window.addEventListener('orientationchange', calcStepDims);
|
|
18333
|
+
return () => {
|
|
18334
|
+
window.removeEventListener('resize', calcStepDims);
|
|
18335
|
+
window.removeEventListener('orientationchange', calcStepDims);
|
|
18336
|
+
};
|
|
18337
|
+
});
|
|
18338
|
+
|
|
18339
|
+
function dispatch(step) {
|
|
18340
|
+
_rootEl.dispatchEvent(new CustomEvent("_change", {
|
|
18341
|
+
composed: true,
|
|
18342
|
+
bubbles: true,
|
|
18343
|
+
detail: {
|
|
18344
|
+
step
|
|
18345
|
+
}
|
|
18346
|
+
}));
|
|
18347
|
+
}
|
|
18348
|
+
|
|
18349
|
+
function setCurrentStepStatus(step) {
|
|
18350
|
+
_steps.forEach((stepEl, index) => {
|
|
18351
|
+
stepEl.setAttribute("current", index === step - 1 ? "true" : "false");
|
|
18352
|
+
});
|
|
18353
|
+
}
|
|
18354
|
+
|
|
18355
|
+
function calcStepDims() {
|
|
18356
|
+
// timeout required, without it the _steps elements width was not yet updated
|
|
18357
|
+
setTimeout(() => {
|
|
18358
|
+
$$invalidate(7, _stepWidth = _steps.length > 0 && _steps[0].offsetWidth);
|
|
18359
|
+
$$invalidate(8, _stepHeight = _steps.length > 0 && _steps[0].offsetHeight);
|
|
18360
|
+
$$invalidate(9, _progressHeight = _gridEl === null || _gridEl === void 0 ? void 0 : _gridEl.offsetHeight);
|
|
18361
|
+
}, 1);
|
|
18362
|
+
}
|
|
18363
|
+
|
|
18364
|
+
function div0_binding($$value) {
|
|
18365
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18366
|
+
_gridEl = $$value;
|
|
18367
|
+
$$invalidate(6, _gridEl);
|
|
18368
|
+
});
|
|
18369
|
+
}
|
|
18370
|
+
|
|
18371
|
+
function div1_binding($$value) {
|
|
18372
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18373
|
+
_rootEl = $$value;
|
|
18374
|
+
$$invalidate(5, _rootEl);
|
|
18375
|
+
});
|
|
18376
|
+
}
|
|
18377
|
+
|
|
18378
|
+
$$self.$$set = $$props => {
|
|
18379
|
+
if ('step' in $$props) $$invalidate(12, step = $$props.step);
|
|
18380
|
+
if ('mt' in $$props) $$invalidate(0, mt = $$props.mt);
|
|
18381
|
+
if ('mr' in $$props) $$invalidate(1, mr = $$props.mr);
|
|
18382
|
+
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
18383
|
+
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
18384
|
+
};
|
|
18385
|
+
|
|
18386
|
+
$$self.$$.update = () => {
|
|
18387
|
+
if ($$self.$$.dirty &
|
|
18388
|
+
/*_steps, step, _maxProgressStep, _maxAllowedStep*/
|
|
18389
|
+
28688) {
|
|
18390
|
+
{
|
|
18391
|
+
if (_steps.length) {
|
|
18392
|
+
if (step > _maxProgressStep) $$invalidate(14, _maxProgressStep = step);
|
|
18393
|
+
if (step > _maxAllowedStep) $$invalidate(13, _maxAllowedStep = step);
|
|
18394
|
+
|
|
18395
|
+
_steps.forEach((stepEl, index) => {
|
|
18396
|
+
stepEl.setAttribute("enabled", index > _maxAllowedStep - 1 ? "false" : "true");
|
|
18397
|
+
});
|
|
18398
|
+
}
|
|
18399
|
+
}
|
|
18400
|
+
}
|
|
18401
|
+
|
|
18402
|
+
if ($$self.$$.dirty &
|
|
18403
|
+
/*_maxProgressStep, _steps*/
|
|
18404
|
+
16400) {
|
|
18405
|
+
// being temporarily visible with an unwanted offset
|
|
18406
|
+
// ========
|
|
18407
|
+
// Reactive
|
|
18408
|
+
// ========
|
|
18409
|
+
// handles the 1-based step value and the number of line segments is one less
|
|
18410
|
+
// than the number of steps
|
|
18411
|
+
$$invalidate(11, _progress = (_maxProgressStep - 1) / (_steps.length - 1) * 100);
|
|
18412
|
+
}
|
|
18413
|
+
|
|
18414
|
+
if ($$self.$$.dirty &
|
|
18415
|
+
/*step*/
|
|
18416
|
+
4096) {
|
|
18417
|
+
setCurrentStepStatus(step);
|
|
18418
|
+
}
|
|
18419
|
+
};
|
|
18420
|
+
|
|
18421
|
+
return [mt, mr, mb, ml, _steps, _rootEl, _gridEl, _stepWidth, _stepHeight, _progressHeight, _showProgressBars, _progress, step, _maxAllowedStep, _maxProgressStep, div0_binding, div1_binding];
|
|
18422
|
+
}
|
|
18423
|
+
|
|
18424
|
+
class FormStepper extends SvelteElement {
|
|
18425
|
+
constructor(options) {
|
|
18426
|
+
super();
|
|
18427
|
+
this.shadowRoot.innerHTML = `<style>.form-stepper{position:relative}.slots{position:relative;inset:0;z-index:2}progress{position:absolute;z-index:1;-webkit-appearance:none;appearance:none;height:4px;border:none;background:var(--goa-color-greyscale-200);pointer-events:none}progress.horizontal{display:block;top:calc(1.75rem + (2.5rem / 2) - 2px);left:calc(var(--step-width) / 2);width:calc(100% - var(--step-width))}progress.vertical{display:none;width:calc(var(--height) - var(--step-height));transform:rotate(90deg)
|
|
18428
|
+
translate(
|
|
18429
|
+
calc(50% + 1.25rem + 1.75rem),
|
|
18430
|
+
calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.75rem)
|
|
18431
|
+
)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}@media(max-width: 639px){progress.horizontal{display:none}progress.vertical{display:inline-block}.form-stepper{display:inline-block}}</style>`;
|
|
18432
|
+
init(this, {
|
|
18433
|
+
target: this.shadowRoot,
|
|
18434
|
+
props: attribute_to_object(this.attributes),
|
|
18435
|
+
customElement: true
|
|
18436
|
+
}, instance$2, create_fragment$2, safe_not_equal, {
|
|
18437
|
+
step: 12,
|
|
18438
|
+
mt: 0,
|
|
18439
|
+
mr: 1,
|
|
18440
|
+
mb: 2,
|
|
18441
|
+
ml: 3
|
|
18442
|
+
}, null);
|
|
18443
|
+
|
|
18444
|
+
if (options) {
|
|
18445
|
+
if (options.target) {
|
|
18446
|
+
insert(options.target, this, options.anchor);
|
|
18447
|
+
}
|
|
18448
|
+
|
|
18449
|
+
if (options.props) {
|
|
18450
|
+
this.$set(options.props);
|
|
18451
|
+
flush();
|
|
18452
|
+
}
|
|
18453
|
+
}
|
|
18454
|
+
}
|
|
18455
|
+
|
|
18456
|
+
static get observedAttributes() {
|
|
18457
|
+
return ["step", "mt", "mr", "mb", "ml"];
|
|
18458
|
+
}
|
|
18459
|
+
|
|
18460
|
+
get step() {
|
|
18461
|
+
return this.$$.ctx[12];
|
|
18462
|
+
}
|
|
18463
|
+
|
|
18464
|
+
set step(step) {
|
|
18465
|
+
this.$$set({
|
|
18466
|
+
step
|
|
18467
|
+
});
|
|
18468
|
+
flush();
|
|
18469
|
+
}
|
|
18470
|
+
|
|
18471
|
+
get mt() {
|
|
18472
|
+
return this.$$.ctx[0];
|
|
18473
|
+
}
|
|
18474
|
+
|
|
18475
|
+
set mt(mt) {
|
|
18476
|
+
this.$$set({
|
|
18477
|
+
mt
|
|
18478
|
+
});
|
|
18479
|
+
flush();
|
|
18480
|
+
}
|
|
18481
|
+
|
|
18482
|
+
get mr() {
|
|
18483
|
+
return this.$$.ctx[1];
|
|
18484
|
+
}
|
|
18485
|
+
|
|
18486
|
+
set mr(mr) {
|
|
18487
|
+
this.$$set({
|
|
18488
|
+
mr
|
|
18489
|
+
});
|
|
18490
|
+
flush();
|
|
18491
|
+
}
|
|
18492
|
+
|
|
18493
|
+
get mb() {
|
|
18494
|
+
return this.$$.ctx[2];
|
|
18495
|
+
}
|
|
18496
|
+
|
|
18497
|
+
set mb(mb) {
|
|
18498
|
+
this.$$set({
|
|
18499
|
+
mb
|
|
18500
|
+
});
|
|
18501
|
+
flush();
|
|
18502
|
+
}
|
|
18503
|
+
|
|
18504
|
+
get ml() {
|
|
18505
|
+
return this.$$.ctx[3];
|
|
18506
|
+
}
|
|
18507
|
+
|
|
18508
|
+
set ml(ml) {
|
|
18509
|
+
this.$$set({
|
|
18510
|
+
ml
|
|
18511
|
+
});
|
|
18512
|
+
flush();
|
|
18513
|
+
}
|
|
18514
|
+
|
|
18515
|
+
}
|
|
18516
|
+
|
|
18517
|
+
customElements.define("goa-form-stepper", FormStepper);
|
|
18518
|
+
/* libs/web-components/src/components/form-step/FormStep.svelte generated by Svelte v3.51.0 */
|
|
18519
|
+
|
|
18520
|
+
function create_else_block(ctx) {
|
|
18521
|
+
let div;
|
|
18522
|
+
let t;
|
|
18523
|
+
return {
|
|
18524
|
+
c() {
|
|
18525
|
+
div = element("div");
|
|
18526
|
+
t = text(
|
|
18527
|
+
/*childindex*/
|
|
18528
|
+
ctx[1]);
|
|
18529
|
+
attr(div, "data-testid", "child-index");
|
|
18530
|
+
attr(div, "class", "step-number");
|
|
18531
|
+
},
|
|
18532
|
+
|
|
18533
|
+
m(target, anchor) {
|
|
18534
|
+
insert(target, div, anchor);
|
|
18535
|
+
append(div, t);
|
|
18536
|
+
},
|
|
18537
|
+
|
|
18538
|
+
p(ctx, dirty) {
|
|
18539
|
+
if (dirty &
|
|
18540
|
+
/*childindex*/
|
|
18541
|
+
2) set_data(t,
|
|
18542
|
+
/*childindex*/
|
|
18543
|
+
ctx[1]);
|
|
18544
|
+
},
|
|
18545
|
+
|
|
18546
|
+
d(detaching) {
|
|
18547
|
+
if (detaching) detach(div);
|
|
18548
|
+
}
|
|
18549
|
+
|
|
18550
|
+
};
|
|
18551
|
+
} // (148:38)
|
|
18552
|
+
|
|
18553
|
+
|
|
18554
|
+
function create_if_block_3(ctx) {
|
|
18555
|
+
let goa_icon;
|
|
18556
|
+
return {
|
|
18557
|
+
c() {
|
|
18558
|
+
goa_icon = element("goa-icon");
|
|
18559
|
+
set_custom_element_data(goa_icon, "type", "remove");
|
|
18560
|
+
},
|
|
18561
|
+
|
|
18562
|
+
m(target, anchor) {
|
|
18563
|
+
insert(target, goa_icon, anchor);
|
|
18564
|
+
},
|
|
18565
|
+
|
|
18566
|
+
p: noop,
|
|
18567
|
+
|
|
18568
|
+
d(detaching) {
|
|
18569
|
+
if (detaching) detach(goa_icon);
|
|
18570
|
+
}
|
|
18571
|
+
|
|
18572
|
+
};
|
|
18573
|
+
} // (146:36)
|
|
18574
|
+
|
|
18575
|
+
|
|
18576
|
+
function create_if_block_2(ctx) {
|
|
18577
|
+
let goa_icon;
|
|
18578
|
+
return {
|
|
18579
|
+
c() {
|
|
18580
|
+
goa_icon = element("goa-icon");
|
|
18581
|
+
set_custom_element_data(goa_icon, "type", "checkmark");
|
|
18582
|
+
set_custom_element_data(goa_icon, "inverted", "");
|
|
18583
|
+
},
|
|
18584
|
+
|
|
18585
|
+
m(target, anchor) {
|
|
18586
|
+
insert(target, goa_icon, anchor);
|
|
18587
|
+
},
|
|
18588
|
+
|
|
18589
|
+
p: noop,
|
|
18590
|
+
|
|
18591
|
+
d(detaching) {
|
|
18592
|
+
if (detaching) detach(goa_icon);
|
|
18593
|
+
}
|
|
18594
|
+
|
|
18595
|
+
};
|
|
18596
|
+
} // (144:4) {#if _isCurrent}
|
|
18597
|
+
|
|
18598
|
+
|
|
18599
|
+
function create_if_block_1(ctx) {
|
|
18600
|
+
let goa_icon;
|
|
18601
|
+
return {
|
|
18602
|
+
c() {
|
|
18603
|
+
goa_icon = element("goa-icon");
|
|
18604
|
+
set_custom_element_data(goa_icon, "type", "pencil");
|
|
18605
|
+
},
|
|
18606
|
+
|
|
18607
|
+
m(target, anchor) {
|
|
18608
|
+
insert(target, goa_icon, anchor);
|
|
18609
|
+
},
|
|
18610
|
+
|
|
18611
|
+
p: noop,
|
|
18612
|
+
|
|
18613
|
+
d(detaching) {
|
|
18614
|
+
if (detaching) detach(goa_icon);
|
|
18615
|
+
}
|
|
18616
|
+
|
|
18617
|
+
};
|
|
18618
|
+
} // (156:4) {#if status === "incomplete"}
|
|
18619
|
+
|
|
18620
|
+
|
|
18621
|
+
function create_if_block(ctx) {
|
|
18622
|
+
let div;
|
|
18623
|
+
return {
|
|
18624
|
+
c() {
|
|
18625
|
+
div = element("div");
|
|
18626
|
+
div.textContent = "Partially complete";
|
|
18627
|
+
attr(div, "class", "subtext");
|
|
18628
|
+
attr(div, "data-testid", "subtext");
|
|
18629
|
+
},
|
|
18630
|
+
|
|
18631
|
+
m(target, anchor) {
|
|
18632
|
+
insert(target, div, anchor);
|
|
18633
|
+
},
|
|
18634
|
+
|
|
18635
|
+
d(detaching) {
|
|
18636
|
+
if (detaching) detach(div);
|
|
18637
|
+
}
|
|
18638
|
+
|
|
18639
|
+
};
|
|
18640
|
+
}
|
|
18641
|
+
|
|
18642
|
+
function create_fragment$1(ctx) {
|
|
18643
|
+
let label;
|
|
18644
|
+
let input;
|
|
18645
|
+
let input_disabled_value;
|
|
18646
|
+
let t0;
|
|
18647
|
+
let div0;
|
|
18648
|
+
let t1;
|
|
18649
|
+
let div2;
|
|
18650
|
+
let div1;
|
|
18651
|
+
let t2;
|
|
18652
|
+
let t3;
|
|
18653
|
+
let label_aria_disabled_value;
|
|
18654
|
+
let label_aria_current_value;
|
|
18655
|
+
let label_aria_label_value;
|
|
18656
|
+
|
|
18657
|
+
function select_block_type(ctx, dirty) {
|
|
18658
|
+
if (
|
|
18659
|
+
/*_isCurrent*/
|
|
18660
|
+
ctx[7]) return create_if_block_1;
|
|
18661
|
+
if (
|
|
18662
|
+
/*status*/
|
|
18663
|
+
ctx[3] === "complete") return create_if_block_2;
|
|
18664
|
+
if (
|
|
18665
|
+
/*status*/
|
|
18666
|
+
ctx[3] === "incomplete") return create_if_block_3;
|
|
18667
|
+
return create_else_block;
|
|
18668
|
+
}
|
|
18669
|
+
|
|
18670
|
+
let current_block_type = select_block_type(ctx);
|
|
18671
|
+
let if_block0 = current_block_type(ctx);
|
|
18672
|
+
let if_block1 =
|
|
18673
|
+
/*status*/
|
|
18674
|
+
ctx[3] === "incomplete" && create_if_block();
|
|
18675
|
+
return {
|
|
18676
|
+
c() {
|
|
18677
|
+
label = element("label");
|
|
18678
|
+
input = element("input");
|
|
18679
|
+
t0 = space();
|
|
18680
|
+
div0 = element("div");
|
|
18681
|
+
if_block0.c();
|
|
18682
|
+
t1 = space();
|
|
18683
|
+
div2 = element("div");
|
|
18684
|
+
div1 = element("div");
|
|
18685
|
+
t2 = text(
|
|
18686
|
+
/*text*/
|
|
18687
|
+
ctx[0]);
|
|
18688
|
+
t3 = space();
|
|
18689
|
+
if (if_block1) if_block1.c();
|
|
18690
|
+
this.c = noop;
|
|
18691
|
+
attr(input, "id",
|
|
18692
|
+
/*text*/
|
|
18693
|
+
ctx[0]);
|
|
18694
|
+
attr(input, "type", "checkbox");
|
|
18695
|
+
input.checked =
|
|
18696
|
+
/*_isCurrent*/
|
|
18697
|
+
ctx[7];
|
|
18698
|
+
input.disabled = input_disabled_value = !
|
|
18699
|
+
/*_isEnabled*/
|
|
18700
|
+
ctx[6];
|
|
18701
|
+
attr(div0, "data-testid", "status");
|
|
18702
|
+
attr(div0, "class", "status");
|
|
18703
|
+
attr(div1, "class", "text");
|
|
18704
|
+
attr(div1, "data-testid", "text");
|
|
18705
|
+
attr(div2, "class", "details");
|
|
18706
|
+
attr(label, "id",
|
|
18707
|
+
/*arialabel*/
|
|
18708
|
+
ctx[2]);
|
|
18709
|
+
attr(label, "role", "listitem");
|
|
18710
|
+
attr(label, "for",
|
|
18711
|
+
/*text*/
|
|
18712
|
+
ctx[0]);
|
|
18713
|
+
attr(label, "data-status",
|
|
18714
|
+
/*status*/
|
|
18715
|
+
ctx[3]);
|
|
18716
|
+
attr(label, "aria-disabled", label_aria_disabled_value = !
|
|
18717
|
+
/*_isEnabled*/
|
|
18718
|
+
ctx[6] ? "true" : "false");
|
|
18719
|
+
attr(label, "aria-current", label_aria_current_value =
|
|
18720
|
+
/*_isCurrent*/
|
|
18721
|
+
ctx[7] ? "step" : "false");
|
|
18722
|
+
attr(label, "aria-label", label_aria_label_value = `${
|
|
18723
|
+
/*arialabel*/
|
|
18724
|
+
ctx[2]} ${
|
|
18725
|
+
/*text*/
|
|
18726
|
+
ctx[0]} ${
|
|
18727
|
+
/*status*/
|
|
18728
|
+
ctx[3] || ""}`);
|
|
18729
|
+
},
|
|
18730
|
+
|
|
18731
|
+
m(target, anchor) {
|
|
18732
|
+
insert(target, label, anchor);
|
|
18733
|
+
append(label, input);
|
|
18734
|
+
/*input_binding*/
|
|
18735
|
+
|
|
18736
|
+
ctx[10](input);
|
|
18737
|
+
append(label, t0);
|
|
18738
|
+
append(label, div0);
|
|
18739
|
+
if_block0.m(div0, null);
|
|
18740
|
+
append(label, t1);
|
|
18741
|
+
append(label, div2);
|
|
18742
|
+
append(div2, div1);
|
|
18743
|
+
append(div1, t2);
|
|
18744
|
+
append(div2, t3);
|
|
18745
|
+
if (if_block1) if_block1.m(div2, null);
|
|
18746
|
+
/*label_binding*/
|
|
18747
|
+
|
|
18748
|
+
ctx[11](label);
|
|
18749
|
+
},
|
|
18750
|
+
|
|
18751
|
+
p(ctx, [dirty]) {
|
|
18752
|
+
if (dirty &
|
|
18753
|
+
/*text*/
|
|
18754
|
+
1) {
|
|
18755
|
+
attr(input, "id",
|
|
18756
|
+
/*text*/
|
|
18757
|
+
ctx[0]);
|
|
18758
|
+
}
|
|
18759
|
+
|
|
18760
|
+
if (dirty &
|
|
18761
|
+
/*_isCurrent*/
|
|
18762
|
+
128) {
|
|
18763
|
+
input.checked =
|
|
18764
|
+
/*_isCurrent*/
|
|
18765
|
+
ctx[7];
|
|
18766
|
+
}
|
|
18767
|
+
|
|
18768
|
+
if (dirty &
|
|
18769
|
+
/*_isEnabled*/
|
|
18770
|
+
64 && input_disabled_value !== (input_disabled_value = !
|
|
18771
|
+
/*_isEnabled*/
|
|
18772
|
+
ctx[6])) {
|
|
18773
|
+
input.disabled = input_disabled_value;
|
|
18774
|
+
}
|
|
18775
|
+
|
|
18776
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
18777
|
+
if_block0.p(ctx, dirty);
|
|
18778
|
+
} else {
|
|
18779
|
+
if_block0.d(1);
|
|
18780
|
+
if_block0 = current_block_type(ctx);
|
|
18781
|
+
|
|
18782
|
+
if (if_block0) {
|
|
18783
|
+
if_block0.c();
|
|
18784
|
+
if_block0.m(div0, null);
|
|
18785
|
+
}
|
|
18786
|
+
}
|
|
18787
|
+
|
|
18788
|
+
if (dirty &
|
|
18789
|
+
/*text*/
|
|
18790
|
+
1) set_data(t2,
|
|
18791
|
+
/*text*/
|
|
18792
|
+
ctx[0]);
|
|
18793
|
+
|
|
18794
|
+
if (
|
|
18795
|
+
/*status*/
|
|
18796
|
+
ctx[3] === "incomplete") {
|
|
18797
|
+
if (if_block1) ;else {
|
|
18798
|
+
if_block1 = create_if_block();
|
|
18799
|
+
if_block1.c();
|
|
18800
|
+
if_block1.m(div2, null);
|
|
18801
|
+
}
|
|
18802
|
+
} else if (if_block1) {
|
|
18803
|
+
if_block1.d(1);
|
|
18804
|
+
if_block1 = null;
|
|
18805
|
+
}
|
|
18806
|
+
|
|
18807
|
+
if (dirty &
|
|
18808
|
+
/*arialabel*/
|
|
18809
|
+
4) {
|
|
18810
|
+
attr(label, "id",
|
|
18811
|
+
/*arialabel*/
|
|
18812
|
+
ctx[2]);
|
|
18813
|
+
}
|
|
18814
|
+
|
|
18815
|
+
if (dirty &
|
|
18816
|
+
/*text*/
|
|
18817
|
+
1) {
|
|
18818
|
+
attr(label, "for",
|
|
18819
|
+
/*text*/
|
|
18820
|
+
ctx[0]);
|
|
18821
|
+
}
|
|
18822
|
+
|
|
18823
|
+
if (dirty &
|
|
18824
|
+
/*status*/
|
|
18825
|
+
8) {
|
|
18826
|
+
attr(label, "data-status",
|
|
18827
|
+
/*status*/
|
|
18828
|
+
ctx[3]);
|
|
18829
|
+
}
|
|
18830
|
+
|
|
18831
|
+
if (dirty &
|
|
18832
|
+
/*_isEnabled*/
|
|
18833
|
+
64 && label_aria_disabled_value !== (label_aria_disabled_value = !
|
|
18834
|
+
/*_isEnabled*/
|
|
18835
|
+
ctx[6] ? "true" : "false")) {
|
|
18836
|
+
attr(label, "aria-disabled", label_aria_disabled_value);
|
|
18837
|
+
}
|
|
18838
|
+
|
|
18839
|
+
if (dirty &
|
|
18840
|
+
/*_isCurrent*/
|
|
18841
|
+
128 && label_aria_current_value !== (label_aria_current_value =
|
|
18842
|
+
/*_isCurrent*/
|
|
18843
|
+
ctx[7] ? "step" : "false")) {
|
|
18844
|
+
attr(label, "aria-current", label_aria_current_value);
|
|
18845
|
+
}
|
|
18846
|
+
|
|
18847
|
+
if (dirty &
|
|
18848
|
+
/*arialabel, text, status*/
|
|
18849
|
+
13 && label_aria_label_value !== (label_aria_label_value = `${
|
|
18850
|
+
/*arialabel*/
|
|
18851
|
+
ctx[2]} ${
|
|
18852
|
+
/*text*/
|
|
18853
|
+
ctx[0]} ${
|
|
18854
|
+
/*status*/
|
|
18855
|
+
ctx[3] || ""}`)) {
|
|
18856
|
+
attr(label, "aria-label", label_aria_label_value);
|
|
18857
|
+
}
|
|
18858
|
+
},
|
|
18859
|
+
|
|
18860
|
+
i: noop,
|
|
18861
|
+
o: noop,
|
|
18862
|
+
|
|
18863
|
+
d(detaching) {
|
|
18864
|
+
if (detaching) detach(label);
|
|
18865
|
+
/*input_binding*/
|
|
18866
|
+
|
|
18867
|
+
ctx[10](null);
|
|
18868
|
+
if_block0.d();
|
|
18869
|
+
if (if_block1) if_block1.d();
|
|
18870
|
+
/*label_binding*/
|
|
18871
|
+
|
|
18872
|
+
ctx[11](null);
|
|
18873
|
+
}
|
|
18874
|
+
|
|
18875
|
+
};
|
|
18876
|
+
}
|
|
18877
|
+
|
|
18878
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
18879
|
+
let _isCurrent;
|
|
18880
|
+
|
|
18881
|
+
let _isEnabled;
|
|
18882
|
+
|
|
18883
|
+
let {
|
|
18884
|
+
text
|
|
18885
|
+
} = $$props;
|
|
18886
|
+
let {
|
|
18887
|
+
current = "false"
|
|
18888
|
+
} = $$props;
|
|
18889
|
+
let {
|
|
18890
|
+
enabled = "false"
|
|
18891
|
+
} = $$props;
|
|
18892
|
+
let {
|
|
18893
|
+
childindex = ""
|
|
18894
|
+
} = $$props;
|
|
18895
|
+
let {
|
|
18896
|
+
arialabel = ""
|
|
18897
|
+
} = $$props;
|
|
18898
|
+
let {
|
|
18899
|
+
status
|
|
18900
|
+
} = $$props; // =======
|
|
18901
|
+
// Private
|
|
18902
|
+
// =======
|
|
18903
|
+
|
|
18904
|
+
let _stepEl;
|
|
18905
|
+
|
|
18906
|
+
let _checkbox;
|
|
18907
|
+
|
|
18908
|
+
onMount(() => {
|
|
18909
|
+
// event binding
|
|
18910
|
+
_stepEl.addEventListener("click", () => {
|
|
18911
|
+
if (!_isEnabled) return;
|
|
18912
|
+
$$invalidate(5, _checkbox.checked = !_checkbox.checked, _checkbox);
|
|
18913
|
+
|
|
18914
|
+
_stepEl.dispatchEvent(new CustomEvent("_click", {
|
|
18915
|
+
composed: true,
|
|
18916
|
+
bubbles: true,
|
|
18917
|
+
detail: +childindex
|
|
18918
|
+
}));
|
|
18919
|
+
});
|
|
18920
|
+
});
|
|
18921
|
+
|
|
18922
|
+
function input_binding($$value) {
|
|
18923
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18924
|
+
_checkbox = $$value;
|
|
18925
|
+
$$invalidate(5, _checkbox);
|
|
18926
|
+
});
|
|
18927
|
+
}
|
|
18928
|
+
|
|
18929
|
+
function label_binding($$value) {
|
|
18930
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18931
|
+
_stepEl = $$value;
|
|
18932
|
+
$$invalidate(4, _stepEl);
|
|
18933
|
+
});
|
|
18934
|
+
}
|
|
18935
|
+
|
|
18936
|
+
$$self.$$set = $$props => {
|
|
18937
|
+
if ('text' in $$props) $$invalidate(0, text = $$props.text);
|
|
18938
|
+
if ('current' in $$props) $$invalidate(8, current = $$props.current);
|
|
18939
|
+
if ('enabled' in $$props) $$invalidate(9, enabled = $$props.enabled);
|
|
18940
|
+
if ('childindex' in $$props) $$invalidate(1, childindex = $$props.childindex);
|
|
18941
|
+
if ('arialabel' in $$props) $$invalidate(2, arialabel = $$props.arialabel);
|
|
18942
|
+
if ('status' in $$props) $$invalidate(3, status = $$props.status);
|
|
18943
|
+
};
|
|
18944
|
+
|
|
18945
|
+
$$self.$$.update = () => {
|
|
18946
|
+
if ($$self.$$.dirty &
|
|
18947
|
+
/*current*/
|
|
18948
|
+
256) {
|
|
18949
|
+
// ========
|
|
18950
|
+
// Reactive
|
|
18951
|
+
// ========
|
|
18952
|
+
$$invalidate(7, _isCurrent = toBoolean(current));
|
|
18953
|
+
}
|
|
18954
|
+
|
|
18955
|
+
if ($$self.$$.dirty &
|
|
18956
|
+
/*enabled*/
|
|
18957
|
+
512) {
|
|
18958
|
+
$$invalidate(6, _isEnabled = toBoolean(enabled));
|
|
18959
|
+
}
|
|
18960
|
+
};
|
|
18961
|
+
|
|
18962
|
+
return [text, childindex, arialabel, status, _stepEl, _checkbox, _isEnabled, _isCurrent, current, enabled, input_binding, label_binding];
|
|
18963
|
+
}
|
|
18964
|
+
|
|
18965
|
+
class FormStep extends SvelteElement {
|
|
18966
|
+
constructor(options) {
|
|
18967
|
+
super();
|
|
18968
|
+
this.shadowRoot.innerHTML = `<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):focus-within{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
18969
|
+
}[data-status=complete] .status{background-color:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
|
|
18970
|
+
[data-status=complete],
|
|
18971
|
+
[data-status=incomplete],
|
|
18972
|
+
[aria-current="step"]
|
|
18973
|
+
) .status{border-color:var(--goa-color-greyscale-500)}.text{font:var(--goa-typography-body-s)}.subtext{margin-top:0.25rem;font:var(--goa-typography-body-xs);color:var(--goa-color-text-secondary)}.details{margin-top:0.75rem}@media(max-width: 639px){[role="listitem"]{flex-direction:row;align-items:center;text-align:start}.details{margin-left:1rem;margin-top:0}}</style>`;
|
|
18974
|
+
init(this, {
|
|
18975
|
+
target: this.shadowRoot,
|
|
18976
|
+
props: attribute_to_object(this.attributes),
|
|
18977
|
+
customElement: true
|
|
18978
|
+
}, instance$1, create_fragment$1, safe_not_equal, {
|
|
18979
|
+
text: 0,
|
|
18980
|
+
current: 8,
|
|
18981
|
+
enabled: 9,
|
|
18982
|
+
childindex: 1,
|
|
18983
|
+
arialabel: 2,
|
|
18984
|
+
status: 3
|
|
18985
|
+
}, null);
|
|
18986
|
+
|
|
18987
|
+
if (options) {
|
|
18988
|
+
if (options.target) {
|
|
18989
|
+
insert(options.target, this, options.anchor);
|
|
18990
|
+
}
|
|
18991
|
+
|
|
18992
|
+
if (options.props) {
|
|
18993
|
+
this.$set(options.props);
|
|
18994
|
+
flush();
|
|
18995
|
+
}
|
|
18996
|
+
}
|
|
18997
|
+
}
|
|
18998
|
+
|
|
18999
|
+
static get observedAttributes() {
|
|
19000
|
+
return ["text", "current", "enabled", "childindex", "arialabel", "status"];
|
|
19001
|
+
}
|
|
19002
|
+
|
|
19003
|
+
get text() {
|
|
19004
|
+
return this.$$.ctx[0];
|
|
19005
|
+
}
|
|
19006
|
+
|
|
19007
|
+
set text(text) {
|
|
19008
|
+
this.$$set({
|
|
19009
|
+
text
|
|
19010
|
+
});
|
|
19011
|
+
flush();
|
|
19012
|
+
}
|
|
19013
|
+
|
|
19014
|
+
get current() {
|
|
19015
|
+
return this.$$.ctx[8];
|
|
19016
|
+
}
|
|
19017
|
+
|
|
19018
|
+
set current(current) {
|
|
19019
|
+
this.$$set({
|
|
19020
|
+
current
|
|
19021
|
+
});
|
|
19022
|
+
flush();
|
|
19023
|
+
}
|
|
19024
|
+
|
|
19025
|
+
get enabled() {
|
|
19026
|
+
return this.$$.ctx[9];
|
|
19027
|
+
}
|
|
19028
|
+
|
|
19029
|
+
set enabled(enabled) {
|
|
19030
|
+
this.$$set({
|
|
19031
|
+
enabled
|
|
19032
|
+
});
|
|
19033
|
+
flush();
|
|
19034
|
+
}
|
|
19035
|
+
|
|
19036
|
+
get childindex() {
|
|
19037
|
+
return this.$$.ctx[1];
|
|
19038
|
+
}
|
|
19039
|
+
|
|
19040
|
+
set childindex(childindex) {
|
|
19041
|
+
this.$$set({
|
|
19042
|
+
childindex
|
|
19043
|
+
});
|
|
19044
|
+
flush();
|
|
19045
|
+
}
|
|
19046
|
+
|
|
19047
|
+
get arialabel() {
|
|
19048
|
+
return this.$$.ctx[2];
|
|
19049
|
+
}
|
|
19050
|
+
|
|
19051
|
+
set arialabel(arialabel) {
|
|
19052
|
+
this.$$set({
|
|
19053
|
+
arialabel
|
|
19054
|
+
});
|
|
19055
|
+
flush();
|
|
19056
|
+
}
|
|
19057
|
+
|
|
19058
|
+
get status() {
|
|
19059
|
+
return this.$$.ctx[3];
|
|
19060
|
+
}
|
|
19061
|
+
|
|
19062
|
+
set status(status) {
|
|
19063
|
+
this.$$set({
|
|
19064
|
+
status
|
|
19065
|
+
});
|
|
19066
|
+
flush();
|
|
19067
|
+
}
|
|
19068
|
+
|
|
19069
|
+
}
|
|
19070
|
+
|
|
19071
|
+
customElements.define("goa-form-step", FormStep);
|
|
19072
|
+
/* libs/web-components/src/components/pages/Pages.svelte generated by Svelte v3.51.0 */
|
|
19073
|
+
|
|
19074
|
+
function create_fragment(ctx) {
|
|
19075
|
+
let div;
|
|
19076
|
+
let slot;
|
|
19077
|
+
let div_style_value;
|
|
19078
|
+
return {
|
|
19079
|
+
c() {
|
|
19080
|
+
div = element("div");
|
|
19081
|
+
slot = element("slot");
|
|
19082
|
+
this.c = noop;
|
|
19083
|
+
attr(div, "style", div_style_value = calculateMargin(
|
|
19084
|
+
/*mt*/
|
|
19085
|
+
ctx[0],
|
|
19086
|
+
/*mr*/
|
|
19087
|
+
ctx[1],
|
|
19088
|
+
/*mb*/
|
|
19089
|
+
ctx[2],
|
|
19090
|
+
/*ml*/
|
|
19091
|
+
ctx[3]));
|
|
19092
|
+
attr(div, "class", "pages");
|
|
19093
|
+
},
|
|
19094
|
+
|
|
19095
|
+
m(target, anchor) {
|
|
19096
|
+
insert(target, div, anchor);
|
|
19097
|
+
append(div, slot);
|
|
19098
|
+
/*div_binding*/
|
|
19099
|
+
|
|
19100
|
+
ctx[6](div);
|
|
19101
|
+
},
|
|
19102
|
+
|
|
19103
|
+
p(ctx, [dirty]) {
|
|
19104
|
+
if (dirty &
|
|
19105
|
+
/*mt, mr, mb, ml*/
|
|
19106
|
+
15 && div_style_value !== (div_style_value = calculateMargin(
|
|
19107
|
+
/*mt*/
|
|
19108
|
+
ctx[0],
|
|
19109
|
+
/*mr*/
|
|
19110
|
+
ctx[1],
|
|
19111
|
+
/*mb*/
|
|
19112
|
+
ctx[2],
|
|
19113
|
+
/*ml*/
|
|
19114
|
+
ctx[3]))) {
|
|
19115
|
+
attr(div, "style", div_style_value);
|
|
19116
|
+
}
|
|
19117
|
+
},
|
|
19118
|
+
|
|
19119
|
+
i: noop,
|
|
19120
|
+
o: noop,
|
|
19121
|
+
|
|
19122
|
+
d(detaching) {
|
|
19123
|
+
if (detaching) detach(div);
|
|
19124
|
+
/*div_binding*/
|
|
19125
|
+
|
|
19126
|
+
ctx[6](null);
|
|
19127
|
+
}
|
|
19128
|
+
|
|
19129
|
+
};
|
|
19130
|
+
}
|
|
19131
|
+
|
|
19132
|
+
function instance($$self, $$props, $$invalidate) {
|
|
19133
|
+
let {
|
|
19134
|
+
current = 1
|
|
19135
|
+
} = $$props;
|
|
19136
|
+
let {
|
|
19137
|
+
mt = null
|
|
19138
|
+
} = $$props;
|
|
19139
|
+
let {
|
|
19140
|
+
mr = null
|
|
19141
|
+
} = $$props;
|
|
19142
|
+
let {
|
|
19143
|
+
mb = null
|
|
19144
|
+
} = $$props;
|
|
19145
|
+
let {
|
|
19146
|
+
ml = null
|
|
19147
|
+
} = $$props; // Private
|
|
19148
|
+
|
|
19149
|
+
let _rootEl; // Hooks
|
|
19150
|
+
|
|
19151
|
+
|
|
19152
|
+
onMount(async () => {
|
|
19153
|
+
await tick();
|
|
19154
|
+
setCurrentPage(current);
|
|
19155
|
+
});
|
|
19156
|
+
|
|
19157
|
+
function setCurrentPage(current) {
|
|
19158
|
+
if (!_rootEl) return;
|
|
19159
|
+
const children = getChildren();
|
|
19160
|
+
children.forEach((child, index) => {
|
|
19161
|
+
const _child = child;
|
|
19162
|
+
_child.style.display = index + 1 === +current ? "block" : "none";
|
|
19163
|
+
});
|
|
19164
|
+
}
|
|
19165
|
+
|
|
19166
|
+
function getChildren() {
|
|
19167
|
+
const slot = _rootEl.querySelector("slot");
|
|
19168
|
+
|
|
19169
|
+
if (slot) {
|
|
19170
|
+
return [...slot.assignedElements()];
|
|
19171
|
+
} else {
|
|
19172
|
+
return [..._rootEl.children]; // unit tests
|
|
19173
|
+
}
|
|
19174
|
+
}
|
|
19175
|
+
|
|
19176
|
+
function div_binding($$value) {
|
|
19177
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
19178
|
+
_rootEl = $$value;
|
|
19179
|
+
$$invalidate(4, _rootEl);
|
|
19180
|
+
});
|
|
19181
|
+
}
|
|
19182
|
+
|
|
19183
|
+
$$self.$$set = $$props => {
|
|
19184
|
+
if ('current' in $$props) $$invalidate(5, current = $$props.current);
|
|
19185
|
+
if ('mt' in $$props) $$invalidate(0, mt = $$props.mt);
|
|
19186
|
+
if ('mr' in $$props) $$invalidate(1, mr = $$props.mr);
|
|
19187
|
+
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
19188
|
+
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
19189
|
+
};
|
|
19190
|
+
|
|
19191
|
+
$$self.$$.update = () => {
|
|
19192
|
+
if ($$self.$$.dirty &
|
|
19193
|
+
/*current*/
|
|
19194
|
+
32) {
|
|
19195
|
+
// Reactive
|
|
19196
|
+
setCurrentPage(current);
|
|
19197
|
+
}
|
|
19198
|
+
};
|
|
19199
|
+
|
|
19200
|
+
return [mt, mr, mb, ml, _rootEl, current, div_binding];
|
|
19201
|
+
}
|
|
19202
|
+
|
|
19203
|
+
class Pages extends SvelteElement {
|
|
19204
|
+
constructor(options) {
|
|
19205
|
+
super();
|
|
19206
|
+
init(this, {
|
|
19207
|
+
target: this.shadowRoot,
|
|
19208
|
+
props: attribute_to_object(this.attributes),
|
|
19209
|
+
customElement: true
|
|
19210
|
+
}, instance, create_fragment, safe_not_equal, {
|
|
19211
|
+
current: 5,
|
|
19212
|
+
mt: 0,
|
|
19213
|
+
mr: 1,
|
|
19214
|
+
mb: 2,
|
|
19215
|
+
ml: 3
|
|
19216
|
+
}, null);
|
|
19217
|
+
|
|
19218
|
+
if (options) {
|
|
19219
|
+
if (options.target) {
|
|
19220
|
+
insert(options.target, this, options.anchor);
|
|
19221
|
+
}
|
|
19222
|
+
|
|
19223
|
+
if (options.props) {
|
|
19224
|
+
this.$set(options.props);
|
|
19225
|
+
flush();
|
|
19226
|
+
}
|
|
19227
|
+
}
|
|
19228
|
+
}
|
|
19229
|
+
|
|
19230
|
+
static get observedAttributes() {
|
|
19231
|
+
return ["current", "mt", "mr", "mb", "ml"];
|
|
19232
|
+
}
|
|
19233
|
+
|
|
19234
|
+
get current() {
|
|
19235
|
+
return this.$$.ctx[5];
|
|
19236
|
+
}
|
|
19237
|
+
|
|
19238
|
+
set current(current) {
|
|
19239
|
+
this.$$set({
|
|
19240
|
+
current
|
|
19241
|
+
});
|
|
19242
|
+
flush();
|
|
19243
|
+
}
|
|
19244
|
+
|
|
19245
|
+
get mt() {
|
|
19246
|
+
return this.$$.ctx[0];
|
|
19247
|
+
}
|
|
19248
|
+
|
|
19249
|
+
set mt(mt) {
|
|
19250
|
+
this.$$set({
|
|
19251
|
+
mt
|
|
19252
|
+
});
|
|
19253
|
+
flush();
|
|
19254
|
+
}
|
|
19255
|
+
|
|
19256
|
+
get mr() {
|
|
19257
|
+
return this.$$.ctx[1];
|
|
19258
|
+
}
|
|
19259
|
+
|
|
19260
|
+
set mr(mr) {
|
|
19261
|
+
this.$$set({
|
|
19262
|
+
mr
|
|
19263
|
+
});
|
|
19264
|
+
flush();
|
|
19265
|
+
}
|
|
19266
|
+
|
|
19267
|
+
get mb() {
|
|
19268
|
+
return this.$$.ctx[2];
|
|
19269
|
+
}
|
|
19270
|
+
|
|
19271
|
+
set mb(mb) {
|
|
19272
|
+
this.$$set({
|
|
19273
|
+
mb
|
|
19274
|
+
});
|
|
19275
|
+
flush();
|
|
19276
|
+
}
|
|
19277
|
+
|
|
19278
|
+
get ml() {
|
|
19279
|
+
return this.$$.ctx[3];
|
|
19280
|
+
}
|
|
19281
|
+
|
|
19282
|
+
set ml(ml) {
|
|
19283
|
+
this.$$set({
|
|
19284
|
+
ml
|
|
19285
|
+
});
|
|
19286
|
+
flush();
|
|
19287
|
+
}
|
|
19288
|
+
|
|
19289
|
+
}
|
|
19290
|
+
|
|
19291
|
+
customElements.define("goa-pages", Pages);
|
|
19292
|
+
|
|
19293
|
+
function GoAPages(props) {
|
|
19294
|
+
return jsx("goa-pages", Object.assign({
|
|
19295
|
+
current: props.current,
|
|
19296
|
+
ml: props.ml,
|
|
19297
|
+
mr: props.mr,
|
|
19298
|
+
mt: props.mt,
|
|
19299
|
+
mb: props.mb
|
|
19300
|
+
}, {
|
|
19301
|
+
children: props.children
|
|
19302
|
+
}), void 0);
|
|
19303
|
+
}
|
|
19304
|
+
|
|
19305
|
+
const GoAAccordion = ({
|
|
19306
|
+
open,
|
|
19307
|
+
heading,
|
|
19308
|
+
headingSize,
|
|
19309
|
+
secondaryText,
|
|
19310
|
+
headingContent,
|
|
19311
|
+
testid,
|
|
19312
|
+
children,
|
|
19313
|
+
mt,
|
|
19314
|
+
mr,
|
|
19315
|
+
mb,
|
|
19316
|
+
ml
|
|
19317
|
+
}) => {
|
|
19318
|
+
return jsxs("goa-accordion", Object.assign({
|
|
19319
|
+
open: open,
|
|
19320
|
+
headingSize: headingSize,
|
|
19321
|
+
heading: heading,
|
|
19322
|
+
secondaryText: secondaryText,
|
|
19323
|
+
"data-testid": testid,
|
|
19324
|
+
mt: mt,
|
|
19325
|
+
mr: mr,
|
|
19326
|
+
mb: mb,
|
|
19327
|
+
ml: ml
|
|
19328
|
+
}, {
|
|
19329
|
+
children: [children, headingContent && jsx("div", Object.assign({
|
|
19330
|
+
slot: "headingcontent"
|
|
19331
|
+
}, {
|
|
19332
|
+
children: headingContent
|
|
19333
|
+
}), void 0)]
|
|
19334
|
+
}), void 0);
|
|
19335
|
+
};
|
|
19336
|
+
|
|
19337
|
+
function GoAFormStep(props) {
|
|
19338
|
+
return jsx("goa-form-step", {
|
|
19339
|
+
text: props.text,
|
|
19340
|
+
status: props.status
|
|
19341
|
+
}, void 0);
|
|
19342
|
+
}
|
|
19343
|
+
|
|
19344
|
+
function GoAFormStepper({
|
|
19345
|
+
testId,
|
|
19346
|
+
step,
|
|
19347
|
+
mt,
|
|
19348
|
+
mb,
|
|
19349
|
+
ml,
|
|
19350
|
+
mr,
|
|
19351
|
+
onChange,
|
|
19352
|
+
children
|
|
19353
|
+
}) {
|
|
19354
|
+
const ref = useRef(null);
|
|
19355
|
+
useEffect(() => {
|
|
19356
|
+
if (!ref.current) {
|
|
19357
|
+
return;
|
|
19358
|
+
}
|
|
19359
|
+
|
|
19360
|
+
const current = ref.current;
|
|
19361
|
+
|
|
19362
|
+
const changeListener = e => {
|
|
19363
|
+
const {
|
|
19364
|
+
step
|
|
19365
|
+
} = e.detail;
|
|
19366
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(step);
|
|
19367
|
+
};
|
|
19368
|
+
|
|
19369
|
+
current.addEventListener("_change", changeListener);
|
|
19370
|
+
return () => {
|
|
19371
|
+
current.removeEventListener("_change", changeListener);
|
|
19372
|
+
};
|
|
19373
|
+
}, [ref, onChange]);
|
|
19374
|
+
return jsx("goa-form-stepper", Object.assign({
|
|
19375
|
+
ref: ref,
|
|
19376
|
+
"data-testid": testId,
|
|
19377
|
+
step: step,
|
|
19378
|
+
mt: mt,
|
|
19379
|
+
mr: mr,
|
|
19380
|
+
mb: mb,
|
|
19381
|
+
ml: ml
|
|
19382
|
+
}, {
|
|
19383
|
+
children: children
|
|
19384
|
+
}), void 0);
|
|
19385
|
+
}
|
|
17818
19386
|
|
|
17819
19387
|
const GoAAppHeader = ({
|
|
17820
19388
|
heading,
|
|
@@ -19190,4 +20758,4 @@ function GoATwoColumnLayout(props) {
|
|
|
19190
20758
|
}), void 0);
|
|
19191
20759
|
}
|
|
19192
20760
|
|
|
19193
|
-
export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADetails, 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, GoAPagination, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|
|
20761
|
+
export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADetails, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAFormStep, GoAFormStepper, 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, GoAPages, GoAPagination, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|