@abgov/react-components 4.0.0-alpha.117 → 4.0.0-alpha.118
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.umd.js
CHANGED
|
@@ -251,6 +251,50 @@
|
|
|
251
251
|
return e;
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
+
class HtmlTag {
|
|
255
|
+
constructor(is_svg = false) {
|
|
256
|
+
this.is_svg = false;
|
|
257
|
+
this.is_svg = is_svg;
|
|
258
|
+
this.e = this.n = null;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
c(html) {
|
|
262
|
+
this.h(html);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
m(html, target, anchor = null) {
|
|
266
|
+
if (!this.e) {
|
|
267
|
+
if (this.is_svg) this.e = svg_element(target.nodeName);else this.e = element(target.nodeName);
|
|
268
|
+
this.t = target;
|
|
269
|
+
this.c(html);
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
this.i(anchor);
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
h(html) {
|
|
276
|
+
this.e.innerHTML = html;
|
|
277
|
+
this.n = Array.from(this.e.childNodes);
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
i(anchor) {
|
|
281
|
+
for (let i = 0; i < this.n.length; i += 1) {
|
|
282
|
+
insert(this.t, this.n[i], anchor);
|
|
283
|
+
}
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
p(html) {
|
|
287
|
+
this.d();
|
|
288
|
+
this.h(html);
|
|
289
|
+
this.i(this.a);
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
d() {
|
|
293
|
+
this.n.forEach(detach);
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
}
|
|
297
|
+
|
|
254
298
|
function attribute_to_object(attributes) {
|
|
255
299
|
const result = {};
|
|
256
300
|
|
|
@@ -1149,7 +1193,7 @@
|
|
|
1149
1193
|
/* libs/web-components/src/components/accordion/Accordion.svelte generated by Svelte v3.51.0 */
|
|
1150
1194
|
|
|
1151
1195
|
|
|
1152
|
-
function create_fragment$
|
|
1196
|
+
function create_fragment$M(ctx) {
|
|
1153
1197
|
let div3;
|
|
1154
1198
|
let details;
|
|
1155
1199
|
let summary;
|
|
@@ -1352,7 +1396,7 @@
|
|
|
1352
1396
|
};
|
|
1353
1397
|
}
|
|
1354
1398
|
|
|
1355
|
-
function instance$
|
|
1399
|
+
function instance$G($$self, $$props, $$invalidate) {
|
|
1356
1400
|
let isOpen;
|
|
1357
1401
|
const [HeadingSizes, validateHeadingSize] = typeValidator("Accordion heading size", ["small", "medium"]);
|
|
1358
1402
|
let {
|
|
@@ -1430,7 +1474,7 @@
|
|
|
1430
1474
|
target: this.shadowRoot,
|
|
1431
1475
|
props: attribute_to_object(this.attributes),
|
|
1432
1476
|
customElement: true
|
|
1433
|
-
}, instance$
|
|
1477
|
+
}, instance$G, create_fragment$M, safe_not_equal, {
|
|
1434
1478
|
open: 10,
|
|
1435
1479
|
heading: 0,
|
|
1436
1480
|
secondarytext: 1,
|
|
@@ -1562,7 +1606,7 @@
|
|
|
1562
1606
|
customElements.define("goa-accordion", Accordion);
|
|
1563
1607
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.51.0 */
|
|
1564
1608
|
|
|
1565
|
-
function create_else_block$
|
|
1609
|
+
function create_else_block$8(ctx) {
|
|
1566
1610
|
let div;
|
|
1567
1611
|
let img0;
|
|
1568
1612
|
let img0_src_value;
|
|
@@ -1619,7 +1663,7 @@
|
|
|
1619
1663
|
} // (19:4) {#if url}
|
|
1620
1664
|
|
|
1621
1665
|
|
|
1622
|
-
function create_if_block$
|
|
1666
|
+
function create_if_block$l(ctx) {
|
|
1623
1667
|
let a;
|
|
1624
1668
|
let img0;
|
|
1625
1669
|
let img0_src_value;
|
|
@@ -1686,7 +1730,7 @@
|
|
|
1686
1730
|
};
|
|
1687
1731
|
}
|
|
1688
1732
|
|
|
1689
|
-
function create_fragment$
|
|
1733
|
+
function create_fragment$L(ctx) {
|
|
1690
1734
|
let div2;
|
|
1691
1735
|
let div1;
|
|
1692
1736
|
let t;
|
|
@@ -1696,8 +1740,8 @@
|
|
|
1696
1740
|
function select_block_type(ctx, dirty) {
|
|
1697
1741
|
if (
|
|
1698
1742
|
/*url*/
|
|
1699
|
-
ctx[1]) return create_if_block$
|
|
1700
|
-
return create_else_block$
|
|
1743
|
+
ctx[1]) return create_if_block$l;
|
|
1744
|
+
return create_else_block$8;
|
|
1701
1745
|
}
|
|
1702
1746
|
|
|
1703
1747
|
let current_block_type = select_block_type(ctx);
|
|
@@ -1770,7 +1814,7 @@
|
|
|
1770
1814
|
};
|
|
1771
1815
|
}
|
|
1772
1816
|
|
|
1773
|
-
function instance$
|
|
1817
|
+
function instance$F($$self, $$props, $$invalidate) {
|
|
1774
1818
|
let {
|
|
1775
1819
|
heading = ""
|
|
1776
1820
|
} = $$props;
|
|
@@ -1802,7 +1846,7 @@
|
|
|
1802
1846
|
target: this.shadowRoot,
|
|
1803
1847
|
props: attribute_to_object(this.attributes),
|
|
1804
1848
|
customElement: true
|
|
1805
|
-
}, instance$
|
|
1849
|
+
}, instance$F, create_fragment$L, safe_not_equal, {
|
|
1806
1850
|
heading: 0,
|
|
1807
1851
|
url: 1,
|
|
1808
1852
|
testid: 2,
|
|
@@ -1874,7 +1918,7 @@
|
|
|
1874
1918
|
customElements.define("goa-app-header", AppHeader);
|
|
1875
1919
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.51.0 */
|
|
1876
1920
|
|
|
1877
|
-
function create_else_block$
|
|
1921
|
+
function create_else_block$7(ctx) {
|
|
1878
1922
|
let div;
|
|
1879
1923
|
return {
|
|
1880
1924
|
c() {
|
|
@@ -1897,7 +1941,7 @@
|
|
|
1897
1941
|
} // (45:2) {#if showIcon}
|
|
1898
1942
|
|
|
1899
1943
|
|
|
1900
|
-
function create_if_block_1$
|
|
1944
|
+
function create_if_block_1$c(ctx) {
|
|
1901
1945
|
let goa_icon;
|
|
1902
1946
|
return {
|
|
1903
1947
|
c() {
|
|
@@ -1930,7 +1974,7 @@
|
|
|
1930
1974
|
} // (50:2) {#if content}
|
|
1931
1975
|
|
|
1932
1976
|
|
|
1933
|
-
function create_if_block$
|
|
1977
|
+
function create_if_block$k(ctx) {
|
|
1934
1978
|
let div;
|
|
1935
1979
|
let t;
|
|
1936
1980
|
return {
|
|
@@ -1962,7 +2006,7 @@
|
|
|
1962
2006
|
};
|
|
1963
2007
|
}
|
|
1964
2008
|
|
|
1965
|
-
function create_fragment$
|
|
2009
|
+
function create_fragment$K(ctx) {
|
|
1966
2010
|
let div;
|
|
1967
2011
|
let t;
|
|
1968
2012
|
let div_style_value;
|
|
@@ -1971,15 +2015,15 @@
|
|
|
1971
2015
|
function select_block_type(ctx, dirty) {
|
|
1972
2016
|
if (
|
|
1973
2017
|
/*showIcon*/
|
|
1974
|
-
ctx[7]) return create_if_block_1$
|
|
1975
|
-
return create_else_block$
|
|
2018
|
+
ctx[7]) return create_if_block_1$c;
|
|
2019
|
+
return create_else_block$7;
|
|
1976
2020
|
}
|
|
1977
2021
|
|
|
1978
2022
|
let current_block_type = select_block_type(ctx);
|
|
1979
2023
|
let if_block0 = current_block_type(ctx);
|
|
1980
2024
|
let if_block1 =
|
|
1981
2025
|
/*content*/
|
|
1982
|
-
ctx[2] && create_if_block$
|
|
2026
|
+
ctx[2] && create_if_block$k(ctx);
|
|
1983
2027
|
return {
|
|
1984
2028
|
c() {
|
|
1985
2029
|
div = element("div");
|
|
@@ -2036,7 +2080,7 @@
|
|
|
2036
2080
|
if (if_block1) {
|
|
2037
2081
|
if_block1.p(ctx, dirty);
|
|
2038
2082
|
} else {
|
|
2039
|
-
if_block1 = create_if_block$
|
|
2083
|
+
if_block1 = create_if_block$k(ctx);
|
|
2040
2084
|
if_block1.c();
|
|
2041
2085
|
if_block1.m(div, null);
|
|
2042
2086
|
}
|
|
@@ -2098,7 +2142,7 @@
|
|
|
2098
2142
|
};
|
|
2099
2143
|
}
|
|
2100
2144
|
|
|
2101
|
-
function instance$
|
|
2145
|
+
function instance$E($$self, $$props, $$invalidate) {
|
|
2102
2146
|
let showIcon;
|
|
2103
2147
|
let iconType;
|
|
2104
2148
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -2178,7 +2222,7 @@
|
|
|
2178
2222
|
target: this.shadowRoot,
|
|
2179
2223
|
props: attribute_to_object(this.attributes),
|
|
2180
2224
|
customElement: true
|
|
2181
|
-
}, instance$
|
|
2225
|
+
}, instance$E, create_fragment$K, safe_not_equal, {
|
|
2182
2226
|
type: 0,
|
|
2183
2227
|
testid: 1,
|
|
2184
2228
|
content: 2,
|
|
@@ -2298,7 +2342,7 @@
|
|
|
2298
2342
|
customElements.define("goa-badge", Badge);
|
|
2299
2343
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
2300
2344
|
|
|
2301
|
-
function create_fragment$
|
|
2345
|
+
function create_fragment$J(ctx) {
|
|
2302
2346
|
let div;
|
|
2303
2347
|
let slot;
|
|
2304
2348
|
let div_style_value;
|
|
@@ -2372,7 +2416,7 @@
|
|
|
2372
2416
|
};
|
|
2373
2417
|
}
|
|
2374
2418
|
|
|
2375
|
-
function instance$
|
|
2419
|
+
function instance$D($$self, $$props, $$invalidate) {
|
|
2376
2420
|
let {
|
|
2377
2421
|
gap = "m"
|
|
2378
2422
|
} = $$props;
|
|
@@ -2416,7 +2460,7 @@
|
|
|
2416
2460
|
target: this.shadowRoot,
|
|
2417
2461
|
props: attribute_to_object(this.attributes),
|
|
2418
2462
|
customElement: true
|
|
2419
|
-
}, instance$
|
|
2463
|
+
}, instance$D, create_fragment$J, safe_not_equal, {
|
|
2420
2464
|
gap: 0,
|
|
2421
2465
|
direction: 1,
|
|
2422
2466
|
alignment: 2,
|
|
@@ -2524,17 +2568,17 @@
|
|
|
2524
2568
|
customElements.define("goa-block", Block);
|
|
2525
2569
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2526
2570
|
|
|
2527
|
-
function create_else_block$
|
|
2571
|
+
function create_else_block$6(ctx) {
|
|
2528
2572
|
let t0;
|
|
2529
2573
|
let span;
|
|
2530
2574
|
let t1;
|
|
2531
2575
|
let if_block1_anchor;
|
|
2532
2576
|
let if_block0 =
|
|
2533
2577
|
/*leadingicon*/
|
|
2534
|
-
ctx[3] && create_if_block_2$
|
|
2578
|
+
ctx[3] && create_if_block_2$7(ctx);
|
|
2535
2579
|
let if_block1 =
|
|
2536
2580
|
/*trailingicon*/
|
|
2537
|
-
ctx[4] && create_if_block_1$
|
|
2581
|
+
ctx[4] && create_if_block_1$b(ctx);
|
|
2538
2582
|
return {
|
|
2539
2583
|
c() {
|
|
2540
2584
|
if (if_block0) if_block0.c();
|
|
@@ -2563,7 +2607,7 @@
|
|
|
2563
2607
|
if (if_block0) {
|
|
2564
2608
|
if_block0.p(ctx, dirty);
|
|
2565
2609
|
} else {
|
|
2566
|
-
if_block0 = create_if_block_2$
|
|
2610
|
+
if_block0 = create_if_block_2$7(ctx);
|
|
2567
2611
|
if_block0.c();
|
|
2568
2612
|
if_block0.m(t0.parentNode, t0);
|
|
2569
2613
|
}
|
|
@@ -2578,7 +2622,7 @@
|
|
|
2578
2622
|
if (if_block1) {
|
|
2579
2623
|
if_block1.p(ctx, dirty);
|
|
2580
2624
|
} else {
|
|
2581
|
-
if_block1 = create_if_block_1$
|
|
2625
|
+
if_block1 = create_if_block_1$b(ctx);
|
|
2582
2626
|
if_block1.c();
|
|
2583
2627
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2584
2628
|
}
|
|
@@ -2601,7 +2645,7 @@
|
|
|
2601
2645
|
} // (46:2) {#if type === "start"}
|
|
2602
2646
|
|
|
2603
2647
|
|
|
2604
|
-
function create_if_block$
|
|
2648
|
+
function create_if_block$j(ctx) {
|
|
2605
2649
|
let span;
|
|
2606
2650
|
let t;
|
|
2607
2651
|
let goa_icon;
|
|
@@ -2635,7 +2679,7 @@
|
|
|
2635
2679
|
} // (52:4) {#if leadingicon}
|
|
2636
2680
|
|
|
2637
2681
|
|
|
2638
|
-
function create_if_block_2$
|
|
2682
|
+
function create_if_block_2$7(ctx) {
|
|
2639
2683
|
let goa_icon;
|
|
2640
2684
|
return {
|
|
2641
2685
|
c() {
|
|
@@ -2679,7 +2723,7 @@
|
|
|
2679
2723
|
} // (58:4) {#if trailingicon}
|
|
2680
2724
|
|
|
2681
2725
|
|
|
2682
|
-
function create_if_block_1$
|
|
2726
|
+
function create_if_block_1$b(ctx) {
|
|
2683
2727
|
let goa_icon;
|
|
2684
2728
|
return {
|
|
2685
2729
|
c() {
|
|
@@ -2722,7 +2766,7 @@
|
|
|
2722
2766
|
};
|
|
2723
2767
|
}
|
|
2724
2768
|
|
|
2725
|
-
function create_fragment$
|
|
2769
|
+
function create_fragment$I(ctx) {
|
|
2726
2770
|
let button;
|
|
2727
2771
|
let button_class_value;
|
|
2728
2772
|
let button_style_value;
|
|
@@ -2732,8 +2776,8 @@
|
|
|
2732
2776
|
function select_block_type(ctx, dirty) {
|
|
2733
2777
|
if (
|
|
2734
2778
|
/*type*/
|
|
2735
|
-
ctx[0] === "start") return create_if_block$
|
|
2736
|
-
return create_else_block$
|
|
2779
|
+
ctx[0] === "start") return create_if_block$j;
|
|
2780
|
+
return create_else_block$6;
|
|
2737
2781
|
}
|
|
2738
2782
|
|
|
2739
2783
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2876,7 +2920,7 @@
|
|
|
2876
2920
|
};
|
|
2877
2921
|
}
|
|
2878
2922
|
|
|
2879
|
-
function instance$
|
|
2923
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
2880
2924
|
let isDisabled;
|
|
2881
2925
|
let isButtonDark;
|
|
2882
2926
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2971,7 +3015,7 @@
|
|
|
2971
3015
|
target: this.shadowRoot,
|
|
2972
3016
|
props: attribute_to_object(this.attributes),
|
|
2973
3017
|
customElement: true
|
|
2974
|
-
}, instance$
|
|
3018
|
+
}, instance$C, create_fragment$I, safe_not_equal, {
|
|
2975
3019
|
type: 0,
|
|
2976
3020
|
size: 1,
|
|
2977
3021
|
variant: 2,
|
|
@@ -3127,7 +3171,7 @@
|
|
|
3127
3171
|
customElements.define("goa-button", Button);
|
|
3128
3172
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
3129
3173
|
|
|
3130
|
-
function create_fragment$
|
|
3174
|
+
function create_fragment$H(ctx) {
|
|
3131
3175
|
let div;
|
|
3132
3176
|
let slot;
|
|
3133
3177
|
let div_style_value;
|
|
@@ -3197,7 +3241,7 @@
|
|
|
3197
3241
|
};
|
|
3198
3242
|
}
|
|
3199
3243
|
|
|
3200
|
-
function instance$
|
|
3244
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
3201
3245
|
let _alignment;
|
|
3202
3246
|
|
|
3203
3247
|
let {
|
|
@@ -3261,7 +3305,7 @@
|
|
|
3261
3305
|
target: this.shadowRoot,
|
|
3262
3306
|
props: attribute_to_object(this.attributes),
|
|
3263
3307
|
customElement: true
|
|
3264
|
-
}, instance$
|
|
3308
|
+
}, instance$B, create_fragment$H, safe_not_equal, {
|
|
3265
3309
|
alignment: 7,
|
|
3266
3310
|
gap: 0,
|
|
3267
3311
|
testid: 1,
|
|
@@ -3369,7 +3413,7 @@
|
|
|
3369
3413
|
customElements.define("goa-button-group", ButtonGroup);
|
|
3370
3414
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
3371
3415
|
|
|
3372
|
-
function create_if_block$
|
|
3416
|
+
function create_if_block$i(ctx) {
|
|
3373
3417
|
let h3;
|
|
3374
3418
|
let t;
|
|
3375
3419
|
return {
|
|
@@ -3400,7 +3444,7 @@
|
|
|
3400
3444
|
};
|
|
3401
3445
|
}
|
|
3402
3446
|
|
|
3403
|
-
function create_fragment$
|
|
3447
|
+
function create_fragment$G(ctx) {
|
|
3404
3448
|
let div;
|
|
3405
3449
|
let span0;
|
|
3406
3450
|
let goa_icon;
|
|
@@ -3413,7 +3457,7 @@
|
|
|
3413
3457
|
let div_style_value;
|
|
3414
3458
|
let if_block =
|
|
3415
3459
|
/*heading*/
|
|
3416
|
-
ctx[5] && create_if_block$
|
|
3460
|
+
ctx[5] && create_if_block$i(ctx);
|
|
3417
3461
|
return {
|
|
3418
3462
|
c() {
|
|
3419
3463
|
div = element("div");
|
|
@@ -3492,7 +3536,7 @@
|
|
|
3492
3536
|
if (if_block) {
|
|
3493
3537
|
if_block.p(ctx, dirty);
|
|
3494
3538
|
} else {
|
|
3495
|
-
if_block = create_if_block$
|
|
3539
|
+
if_block = create_if_block$i(ctx);
|
|
3496
3540
|
if_block.c();
|
|
3497
3541
|
if_block.m(span1, t1);
|
|
3498
3542
|
}
|
|
@@ -3535,7 +3579,7 @@
|
|
|
3535
3579
|
};
|
|
3536
3580
|
}
|
|
3537
3581
|
|
|
3538
|
-
function instance$
|
|
3582
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
3539
3583
|
let iconType;
|
|
3540
3584
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3541
3585
|
let {
|
|
@@ -3592,7 +3636,7 @@
|
|
|
3592
3636
|
target: this.shadowRoot,
|
|
3593
3637
|
props: attribute_to_object(this.attributes),
|
|
3594
3638
|
customElement: true
|
|
3595
|
-
}, instance$
|
|
3639
|
+
}, instance$A, create_fragment$G, safe_not_equal, {
|
|
3596
3640
|
mt: 0,
|
|
3597
3641
|
mr: 1,
|
|
3598
3642
|
mb: 2,
|
|
@@ -3700,7 +3744,7 @@
|
|
|
3700
3744
|
customElements.define("goa-callout", Callout);
|
|
3701
3745
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3702
3746
|
|
|
3703
|
-
function create_fragment$
|
|
3747
|
+
function create_fragment$F(ctx) {
|
|
3704
3748
|
let goa_card_content;
|
|
3705
3749
|
return {
|
|
3706
3750
|
c() {
|
|
@@ -3731,7 +3775,7 @@
|
|
|
3731
3775
|
target: this.shadowRoot,
|
|
3732
3776
|
props: attribute_to_object(this.attributes),
|
|
3733
3777
|
customElement: true
|
|
3734
|
-
}, null, create_fragment$
|
|
3778
|
+
}, null, create_fragment$F, safe_not_equal, {}, null);
|
|
3735
3779
|
|
|
3736
3780
|
if (options) {
|
|
3737
3781
|
if (options.target) {
|
|
@@ -3745,7 +3789,7 @@
|
|
|
3745
3789
|
customElements.define("goa-card-actions", CardActions);
|
|
3746
3790
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3747
3791
|
|
|
3748
|
-
function create_fragment$
|
|
3792
|
+
function create_fragment$E(ctx) {
|
|
3749
3793
|
let div;
|
|
3750
3794
|
let slot;
|
|
3751
3795
|
let div_style_value;
|
|
@@ -3824,7 +3868,7 @@
|
|
|
3824
3868
|
};
|
|
3825
3869
|
}
|
|
3826
3870
|
|
|
3827
|
-
function instance$
|
|
3871
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
3828
3872
|
let {
|
|
3829
3873
|
elevation = 0
|
|
3830
3874
|
} = $$props;
|
|
@@ -3872,7 +3916,7 @@
|
|
|
3872
3916
|
target: this.shadowRoot,
|
|
3873
3917
|
props: attribute_to_object(this.attributes),
|
|
3874
3918
|
customElement: true
|
|
3875
|
-
}, instance$
|
|
3919
|
+
}, instance$z, create_fragment$E, safe_not_equal, {
|
|
3876
3920
|
elevation: 0,
|
|
3877
3921
|
width: 1,
|
|
3878
3922
|
height: 2,
|
|
@@ -3992,7 +4036,7 @@
|
|
|
3992
4036
|
customElements.define("goa-card", Card);
|
|
3993
4037
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3994
4038
|
|
|
3995
|
-
function create_fragment$
|
|
4039
|
+
function create_fragment$D(ctx) {
|
|
3996
4040
|
let div;
|
|
3997
4041
|
return {
|
|
3998
4042
|
c() {
|
|
@@ -4025,7 +4069,7 @@
|
|
|
4025
4069
|
target: this.shadowRoot,
|
|
4026
4070
|
props: attribute_to_object(this.attributes),
|
|
4027
4071
|
customElement: true
|
|
4028
|
-
}, null, create_fragment$
|
|
4072
|
+
}, null, create_fragment$D, safe_not_equal, {}, null);
|
|
4029
4073
|
|
|
4030
4074
|
if (options) {
|
|
4031
4075
|
if (options.target) {
|
|
@@ -4039,7 +4083,7 @@
|
|
|
4039
4083
|
customElements.define("goa-card-content", CardContent);
|
|
4040
4084
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
4041
4085
|
|
|
4042
|
-
function create_fragment$
|
|
4086
|
+
function create_fragment$C(ctx) {
|
|
4043
4087
|
let div;
|
|
4044
4088
|
return {
|
|
4045
4089
|
c() {
|
|
@@ -4072,7 +4116,7 @@
|
|
|
4072
4116
|
target: this.shadowRoot,
|
|
4073
4117
|
props: attribute_to_object(this.attributes),
|
|
4074
4118
|
customElement: true
|
|
4075
|
-
}, null, create_fragment$
|
|
4119
|
+
}, null, create_fragment$C, safe_not_equal, {}, null);
|
|
4076
4120
|
|
|
4077
4121
|
if (options) {
|
|
4078
4122
|
if (options.target) {
|
|
@@ -4086,7 +4130,7 @@
|
|
|
4086
4130
|
customElements.define("goa-card-group", CardGroup);
|
|
4087
4131
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
4088
4132
|
|
|
4089
|
-
function create_fragment$
|
|
4133
|
+
function create_fragment$B(ctx) {
|
|
4090
4134
|
let div;
|
|
4091
4135
|
return {
|
|
4092
4136
|
c() {
|
|
@@ -4134,7 +4178,7 @@
|
|
|
4134
4178
|
};
|
|
4135
4179
|
}
|
|
4136
4180
|
|
|
4137
|
-
function instance$
|
|
4181
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
4138
4182
|
let {
|
|
4139
4183
|
src
|
|
4140
4184
|
} = $$props;
|
|
@@ -4158,7 +4202,7 @@
|
|
|
4158
4202
|
target: this.shadowRoot,
|
|
4159
4203
|
props: attribute_to_object(this.attributes),
|
|
4160
4204
|
customElement: true
|
|
4161
|
-
}, instance$
|
|
4205
|
+
}, instance$y, create_fragment$B, safe_not_equal, {
|
|
4162
4206
|
src: 0,
|
|
4163
4207
|
height: 1
|
|
4164
4208
|
}, null);
|
|
@@ -4206,7 +4250,7 @@
|
|
|
4206
4250
|
customElements.define("goa-card-image", CardImage);
|
|
4207
4251
|
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
4208
4252
|
|
|
4209
|
-
function create_if_block_1$
|
|
4253
|
+
function create_if_block_1$a(ctx) {
|
|
4210
4254
|
let svg;
|
|
4211
4255
|
let path;
|
|
4212
4256
|
return {
|
|
@@ -4233,7 +4277,7 @@
|
|
|
4233
4277
|
} // (68:4) {#if isIndeterminate}
|
|
4234
4278
|
|
|
4235
4279
|
|
|
4236
|
-
function create_if_block$
|
|
4280
|
+
function create_if_block$h(ctx) {
|
|
4237
4281
|
let svg;
|
|
4238
4282
|
let rect;
|
|
4239
4283
|
return {
|
|
@@ -4260,7 +4304,7 @@
|
|
|
4260
4304
|
};
|
|
4261
4305
|
}
|
|
4262
4306
|
|
|
4263
|
-
function create_fragment$
|
|
4307
|
+
function create_fragment$A(ctx) {
|
|
4264
4308
|
let label;
|
|
4265
4309
|
let div0;
|
|
4266
4310
|
let input;
|
|
@@ -4278,10 +4322,10 @@
|
|
|
4278
4322
|
function select_block_type(ctx, dirty) {
|
|
4279
4323
|
if (
|
|
4280
4324
|
/*isIndeterminate*/
|
|
4281
|
-
ctx[10]) return create_if_block$
|
|
4325
|
+
ctx[10]) return create_if_block$h;
|
|
4282
4326
|
if (
|
|
4283
4327
|
/*isChecked*/
|
|
4284
|
-
ctx[9]) return create_if_block_1$
|
|
4328
|
+
ctx[9]) return create_if_block_1$a;
|
|
4285
4329
|
}
|
|
4286
4330
|
|
|
4287
4331
|
let current_block_type = select_block_type(ctx);
|
|
@@ -4509,7 +4553,7 @@
|
|
|
4509
4553
|
};
|
|
4510
4554
|
}
|
|
4511
4555
|
|
|
4512
|
-
function instance$
|
|
4556
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
4513
4557
|
let isDisabled;
|
|
4514
4558
|
let isError;
|
|
4515
4559
|
let isChecked;
|
|
@@ -4624,7 +4668,7 @@
|
|
|
4624
4668
|
target: this.shadowRoot,
|
|
4625
4669
|
props: attribute_to_object(this.attributes),
|
|
4626
4670
|
customElement: true
|
|
4627
|
-
}, instance$
|
|
4671
|
+
}, instance$x, create_fragment$A, safe_not_equal, {
|
|
4628
4672
|
name: 0,
|
|
4629
4673
|
checked: 14,
|
|
4630
4674
|
text: 1,
|
|
@@ -4792,7 +4836,7 @@
|
|
|
4792
4836
|
customElements.define("goa-checkbox", Checkbox);
|
|
4793
4837
|
/* libs/web-components/src/components/chip/Chip.svelte generated by Svelte v3.51.0 */
|
|
4794
4838
|
|
|
4795
|
-
function create_if_block_1$
|
|
4839
|
+
function create_if_block_1$9(ctx) {
|
|
4796
4840
|
let goa_icon;
|
|
4797
4841
|
return {
|
|
4798
4842
|
c() {
|
|
@@ -4826,7 +4870,7 @@
|
|
|
4826
4870
|
} // (54:2) {#if _deletable}
|
|
4827
4871
|
|
|
4828
4872
|
|
|
4829
|
-
function create_if_block$
|
|
4873
|
+
function create_if_block$g(ctx) {
|
|
4830
4874
|
let goa_icon;
|
|
4831
4875
|
let goa_icon_fillcolor_value;
|
|
4832
4876
|
let goa_icon_opacity_value;
|
|
@@ -4882,7 +4926,7 @@
|
|
|
4882
4926
|
};
|
|
4883
4927
|
}
|
|
4884
4928
|
|
|
4885
|
-
function create_fragment$
|
|
4929
|
+
function create_fragment$z(ctx) {
|
|
4886
4930
|
let div1;
|
|
4887
4931
|
let t0;
|
|
4888
4932
|
let div0;
|
|
@@ -4893,10 +4937,10 @@
|
|
|
4893
4937
|
let dispose;
|
|
4894
4938
|
let if_block0 =
|
|
4895
4939
|
/*leadingicon*/
|
|
4896
|
-
ctx[4] && create_if_block_1$
|
|
4940
|
+
ctx[4] && create_if_block_1$9(ctx);
|
|
4897
4941
|
let if_block1 =
|
|
4898
4942
|
/*_deletable*/
|
|
4899
|
-
ctx[11] && create_if_block$
|
|
4943
|
+
ctx[11] && create_if_block$g(ctx);
|
|
4900
4944
|
return {
|
|
4901
4945
|
c() {
|
|
4902
4946
|
div1 = element("div");
|
|
@@ -4970,7 +5014,7 @@
|
|
|
4970
5014
|
if (if_block0) {
|
|
4971
5015
|
if_block0.p(ctx, dirty);
|
|
4972
5016
|
} else {
|
|
4973
|
-
if_block0 = create_if_block_1$
|
|
5017
|
+
if_block0 = create_if_block_1$9(ctx);
|
|
4974
5018
|
if_block0.c();
|
|
4975
5019
|
if_block0.m(div1, t0);
|
|
4976
5020
|
}
|
|
@@ -4991,7 +5035,7 @@
|
|
|
4991
5035
|
if (if_block1) {
|
|
4992
5036
|
if_block1.p(ctx, dirty);
|
|
4993
5037
|
} else {
|
|
4994
|
-
if_block1 = create_if_block$
|
|
5038
|
+
if_block1 = create_if_block$g(ctx);
|
|
4995
5039
|
if_block1.c();
|
|
4996
5040
|
if_block1.m(div1, null);
|
|
4997
5041
|
}
|
|
@@ -5064,7 +5108,7 @@
|
|
|
5064
5108
|
};
|
|
5065
5109
|
}
|
|
5066
5110
|
|
|
5067
|
-
function instance$
|
|
5111
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
5068
5112
|
let {
|
|
5069
5113
|
mt = null
|
|
5070
5114
|
} = $$props;
|
|
@@ -5165,7 +5209,7 @@
|
|
|
5165
5209
|
target: this.shadowRoot,
|
|
5166
5210
|
props: attribute_to_object(this.attributes),
|
|
5167
5211
|
customElement: true
|
|
5168
|
-
}, instance$
|
|
5212
|
+
}, instance$w, create_fragment$z, safe_not_equal, {
|
|
5169
5213
|
mt: 0,
|
|
5170
5214
|
mr: 1,
|
|
5171
5215
|
mb: 2,
|
|
@@ -5419,12 +5463,12 @@
|
|
|
5419
5463
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
5420
5464
|
|
|
5421
5465
|
|
|
5422
|
-
function create_if_block$
|
|
5466
|
+
function create_if_block$f(ctx) {
|
|
5423
5467
|
let current_block_type_index;
|
|
5424
5468
|
let if_block;
|
|
5425
5469
|
let if_block_anchor;
|
|
5426
5470
|
let current;
|
|
5427
|
-
const if_block_creators = [create_if_block_1$
|
|
5471
|
+
const if_block_creators = [create_if_block_1$8, create_if_block_3$6];
|
|
5428
5472
|
const if_blocks = [];
|
|
5429
5473
|
|
|
5430
5474
|
function select_block_type(ctx, dirty) {
|
|
@@ -5514,7 +5558,7 @@
|
|
|
5514
5558
|
} // (43:19)
|
|
5515
5559
|
|
|
5516
5560
|
|
|
5517
|
-
function create_if_block_3$
|
|
5561
|
+
function create_if_block_3$6(ctx) {
|
|
5518
5562
|
let div;
|
|
5519
5563
|
let goa_spinner;
|
|
5520
5564
|
let t;
|
|
@@ -5610,7 +5654,7 @@
|
|
|
5610
5654
|
} // (32:2) {#if fullscreen}
|
|
5611
5655
|
|
|
5612
5656
|
|
|
5613
|
-
function create_if_block_1$
|
|
5657
|
+
function create_if_block_1$8(ctx) {
|
|
5614
5658
|
let div;
|
|
5615
5659
|
let goa_spinner;
|
|
5616
5660
|
let t;
|
|
@@ -5620,7 +5664,7 @@
|
|
|
5620
5664
|
let dispose;
|
|
5621
5665
|
let if_block =
|
|
5622
5666
|
/*message*/
|
|
5623
|
-
ctx[0] && create_if_block_2$
|
|
5667
|
+
ctx[0] && create_if_block_2$6(ctx);
|
|
5624
5668
|
return {
|
|
5625
5669
|
c() {
|
|
5626
5670
|
div = element("div");
|
|
@@ -5676,7 +5720,7 @@
|
|
|
5676
5720
|
if (if_block) {
|
|
5677
5721
|
if_block.p(ctx, dirty);
|
|
5678
5722
|
} else {
|
|
5679
|
-
if_block = create_if_block_2$
|
|
5723
|
+
if_block = create_if_block_2$6(ctx);
|
|
5680
5724
|
if_block.c();
|
|
5681
5725
|
if_block.m(div, null);
|
|
5682
5726
|
}
|
|
@@ -5758,7 +5802,7 @@
|
|
|
5758
5802
|
} // (39:6) {#if message}
|
|
5759
5803
|
|
|
5760
5804
|
|
|
5761
|
-
function create_if_block_2$
|
|
5805
|
+
function create_if_block_2$6(ctx) {
|
|
5762
5806
|
let div;
|
|
5763
5807
|
let t;
|
|
5764
5808
|
return {
|
|
@@ -5790,12 +5834,12 @@
|
|
|
5790
5834
|
};
|
|
5791
5835
|
}
|
|
5792
5836
|
|
|
5793
|
-
function create_fragment$
|
|
5837
|
+
function create_fragment$y(ctx) {
|
|
5794
5838
|
let if_block_anchor;
|
|
5795
5839
|
let current;
|
|
5796
5840
|
let if_block =
|
|
5797
5841
|
/*isVisible*/
|
|
5798
|
-
ctx[5] && create_if_block$
|
|
5842
|
+
ctx[5] && create_if_block$f(ctx);
|
|
5799
5843
|
return {
|
|
5800
5844
|
c() {
|
|
5801
5845
|
if (if_block) if_block.c();
|
|
@@ -5822,7 +5866,7 @@
|
|
|
5822
5866
|
transition_in(if_block, 1);
|
|
5823
5867
|
}
|
|
5824
5868
|
} else {
|
|
5825
|
-
if_block = create_if_block$
|
|
5869
|
+
if_block = create_if_block$f(ctx);
|
|
5826
5870
|
if_block.c();
|
|
5827
5871
|
transition_in(if_block, 1);
|
|
5828
5872
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5855,7 +5899,7 @@
|
|
|
5855
5899
|
};
|
|
5856
5900
|
}
|
|
5857
5901
|
|
|
5858
|
-
function instance$
|
|
5902
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
5859
5903
|
let isVisible;
|
|
5860
5904
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5861
5905
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5913,7 +5957,7 @@
|
|
|
5913
5957
|
target: this.shadowRoot,
|
|
5914
5958
|
props: attribute_to_object(this.attributes),
|
|
5915
5959
|
customElement: true
|
|
5916
|
-
}, instance$
|
|
5960
|
+
}, instance$v, create_fragment$y, safe_not_equal, {
|
|
5917
5961
|
variant: 6,
|
|
5918
5962
|
size: 7,
|
|
5919
5963
|
message: 0,
|
|
@@ -5997,7 +6041,7 @@
|
|
|
5997
6041
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5998
6042
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5999
6043
|
|
|
6000
|
-
function create_fragment$
|
|
6044
|
+
function create_fragment$x(ctx) {
|
|
6001
6045
|
let div3;
|
|
6002
6046
|
let header;
|
|
6003
6047
|
let div0;
|
|
@@ -6122,7 +6166,7 @@
|
|
|
6122
6166
|
};
|
|
6123
6167
|
}
|
|
6124
6168
|
|
|
6125
|
-
function instance$
|
|
6169
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
6126
6170
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
6127
6171
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
6128
6172
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -6178,7 +6222,7 @@
|
|
|
6178
6222
|
target: this.shadowRoot,
|
|
6179
6223
|
props: attribute_to_object(this.attributes),
|
|
6180
6224
|
customElement: true
|
|
6181
|
-
}, instance$
|
|
6225
|
+
}, instance$u, create_fragment$x, safe_not_equal, {
|
|
6182
6226
|
type: 0,
|
|
6183
6227
|
accent: 1,
|
|
6184
6228
|
padding: 2,
|
|
@@ -6298,7 +6342,7 @@
|
|
|
6298
6342
|
customElements.define("goa-container", Container);
|
|
6299
6343
|
/* libs/web-components/src/components/details/Details.svelte generated by Svelte v3.51.0 */
|
|
6300
6344
|
|
|
6301
|
-
function create_fragment$
|
|
6345
|
+
function create_fragment$w(ctx) {
|
|
6302
6346
|
let details;
|
|
6303
6347
|
let summary;
|
|
6304
6348
|
let goa_icon;
|
|
@@ -6398,7 +6442,7 @@
|
|
|
6398
6442
|
};
|
|
6399
6443
|
}
|
|
6400
6444
|
|
|
6401
|
-
function instance$
|
|
6445
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
6402
6446
|
let {
|
|
6403
6447
|
heading
|
|
6404
6448
|
} = $$props;
|
|
@@ -6458,7 +6502,7 @@
|
|
|
6458
6502
|
target: this.shadowRoot,
|
|
6459
6503
|
props: attribute_to_object(this.attributes),
|
|
6460
6504
|
customElement: true
|
|
6461
|
-
}, instance$
|
|
6505
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
6462
6506
|
heading: 0,
|
|
6463
6507
|
mt: 1,
|
|
6464
6508
|
mr: 2,
|
|
@@ -6542,7 +6586,7 @@
|
|
|
6542
6586
|
customElements.define("goa-details", Details);
|
|
6543
6587
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
6544
6588
|
|
|
6545
|
-
function create_fragment$
|
|
6589
|
+
function create_fragment$v(ctx) {
|
|
6546
6590
|
let hr;
|
|
6547
6591
|
let hr_style_value;
|
|
6548
6592
|
return {
|
|
@@ -6601,7 +6645,7 @@
|
|
|
6601
6645
|
};
|
|
6602
6646
|
}
|
|
6603
6647
|
|
|
6604
|
-
function instance$
|
|
6648
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
6605
6649
|
let {
|
|
6606
6650
|
testid = ""
|
|
6607
6651
|
} = $$props;
|
|
@@ -6637,7 +6681,7 @@
|
|
|
6637
6681
|
target: this.shadowRoot,
|
|
6638
6682
|
props: attribute_to_object(this.attributes),
|
|
6639
6683
|
customElement: true
|
|
6640
|
-
}, instance$
|
|
6684
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
6641
6685
|
testid: 0,
|
|
6642
6686
|
mt: 1,
|
|
6643
6687
|
mr: 2,
|
|
@@ -6735,7 +6779,7 @@
|
|
|
6735
6779
|
} // (256:2) {:else}
|
|
6736
6780
|
|
|
6737
6781
|
|
|
6738
|
-
function create_else_block$
|
|
6782
|
+
function create_else_block$5(ctx) {
|
|
6739
6783
|
let t0;
|
|
6740
6784
|
let goa_input;
|
|
6741
6785
|
let goa_input_arialabel_value;
|
|
@@ -6751,7 +6795,7 @@
|
|
|
6751
6795
|
let dispose;
|
|
6752
6796
|
let if_block =
|
|
6753
6797
|
/*_isMenuVisible*/
|
|
6754
|
-
ctx[15] && create_if_block_1$
|
|
6798
|
+
ctx[15] && create_if_block_1$7(ctx);
|
|
6755
6799
|
let each_value_1 =
|
|
6756
6800
|
/*_options*/
|
|
6757
6801
|
ctx[13];
|
|
@@ -6863,7 +6907,7 @@
|
|
|
6863
6907
|
if (if_block) {
|
|
6864
6908
|
if_block.p(ctx, dirty);
|
|
6865
6909
|
} else {
|
|
6866
|
-
if_block = create_if_block_1$
|
|
6910
|
+
if_block = create_if_block_1$7(ctx);
|
|
6867
6911
|
if_block.c();
|
|
6868
6912
|
if_block.m(t0.parentNode, t0);
|
|
6869
6913
|
}
|
|
@@ -7004,7 +7048,7 @@
|
|
|
7004
7048
|
} // (237:2) {#if _native}
|
|
7005
7049
|
|
|
7006
7050
|
|
|
7007
|
-
function create_if_block$
|
|
7051
|
+
function create_if_block$e(ctx) {
|
|
7008
7052
|
let select;
|
|
7009
7053
|
let slot;
|
|
7010
7054
|
let select_aria_label_value;
|
|
@@ -7130,7 +7174,7 @@
|
|
|
7130
7174
|
} // (257:4) {#if _isMenuVisible}
|
|
7131
7175
|
|
|
7132
7176
|
|
|
7133
|
-
function create_if_block_1$
|
|
7177
|
+
function create_if_block_1$7(ctx) {
|
|
7134
7178
|
let div;
|
|
7135
7179
|
let div_data_testid_value;
|
|
7136
7180
|
let mounted;
|
|
@@ -7427,7 +7471,7 @@
|
|
|
7427
7471
|
};
|
|
7428
7472
|
}
|
|
7429
7473
|
|
|
7430
|
-
function create_fragment$
|
|
7474
|
+
function create_fragment$u(ctx) {
|
|
7431
7475
|
let div;
|
|
7432
7476
|
let div_data_testid_value;
|
|
7433
7477
|
let div_style_value;
|
|
@@ -7435,8 +7479,8 @@
|
|
|
7435
7479
|
function select_block_type(ctx, dirty) {
|
|
7436
7480
|
if (
|
|
7437
7481
|
/*_native*/
|
|
7438
|
-
ctx[22]) return create_if_block$
|
|
7439
|
-
return create_else_block$
|
|
7482
|
+
ctx[22]) return create_if_block$e;
|
|
7483
|
+
return create_else_block$5;
|
|
7440
7484
|
}
|
|
7441
7485
|
|
|
7442
7486
|
let current_block_type = select_block_type(ctx);
|
|
@@ -7544,7 +7588,7 @@
|
|
|
7544
7588
|
};
|
|
7545
7589
|
}
|
|
7546
7590
|
|
|
7547
|
-
function instance$
|
|
7591
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
7548
7592
|
const showMenu = _async(function () {
|
|
7549
7593
|
if (_disabled || _isMenuVisible) {
|
|
7550
7594
|
return;
|
|
@@ -7936,7 +7980,7 @@
|
|
|
7936
7980
|
target: this.shadowRoot,
|
|
7937
7981
|
props: attribute_to_object(this.attributes),
|
|
7938
7982
|
customElement: true
|
|
7939
|
-
}, instance$
|
|
7983
|
+
}, instance$r, create_fragment$u, safe_not_equal, {
|
|
7940
7984
|
name: 0,
|
|
7941
7985
|
arialabel: 1,
|
|
7942
7986
|
value: 28,
|
|
@@ -8140,7 +8184,7 @@
|
|
|
8140
8184
|
customElements.define("goa-dropdown", Dropdown);
|
|
8141
8185
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
8142
8186
|
|
|
8143
|
-
function create_fragment$
|
|
8187
|
+
function create_fragment$t(ctx) {
|
|
8144
8188
|
return {
|
|
8145
8189
|
c() {
|
|
8146
8190
|
this.c = noop;
|
|
@@ -8161,7 +8205,7 @@
|
|
|
8161
8205
|
target: this.shadowRoot,
|
|
8162
8206
|
props: attribute_to_object(this.attributes),
|
|
8163
8207
|
customElement: true
|
|
8164
|
-
}, null, create_fragment$
|
|
8208
|
+
}, null, create_fragment$t, safe_not_equal, {}, null);
|
|
8165
8209
|
|
|
8166
8210
|
if (options) {
|
|
8167
8211
|
if (options.target) {
|
|
@@ -8175,7 +8219,7 @@
|
|
|
8175
8219
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
8176
8220
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
8177
8221
|
|
|
8178
|
-
function create_fragment$
|
|
8222
|
+
function create_fragment$s(ctx) {
|
|
8179
8223
|
let div;
|
|
8180
8224
|
return {
|
|
8181
8225
|
c() {
|
|
@@ -8235,7 +8279,7 @@
|
|
|
8235
8279
|
}
|
|
8236
8280
|
}
|
|
8237
8281
|
|
|
8238
|
-
function instance$
|
|
8282
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
8239
8283
|
let isActive;
|
|
8240
8284
|
let {
|
|
8241
8285
|
active
|
|
@@ -8404,7 +8448,7 @@
|
|
|
8404
8448
|
target: this.shadowRoot,
|
|
8405
8449
|
props: attribute_to_object(this.attributes),
|
|
8406
8450
|
customElement: true
|
|
8407
|
-
}, instance$
|
|
8451
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
8408
8452
|
active: 1
|
|
8409
8453
|
}, null);
|
|
8410
8454
|
|
|
@@ -8440,7 +8484,7 @@
|
|
|
8440
8484
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
8441
8485
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8442
8486
|
|
|
8443
|
-
function create_if_block$
|
|
8487
|
+
function create_if_block$d(ctx) {
|
|
8444
8488
|
let goa_divider;
|
|
8445
8489
|
return {
|
|
8446
8490
|
c() {
|
|
@@ -8459,7 +8503,7 @@
|
|
|
8459
8503
|
};
|
|
8460
8504
|
}
|
|
8461
8505
|
|
|
8462
|
-
function create_fragment$
|
|
8506
|
+
function create_fragment$r(ctx) {
|
|
8463
8507
|
let div5;
|
|
8464
8508
|
let div4;
|
|
8465
8509
|
let div0;
|
|
@@ -8477,7 +8521,7 @@
|
|
|
8477
8521
|
/*navLinks*/
|
|
8478
8522
|
ctx[2] &&
|
|
8479
8523
|
/*navLinks*/
|
|
8480
|
-
ctx[2].length > 0 && create_if_block$
|
|
8524
|
+
ctx[2].length > 0 && create_if_block$d();
|
|
8481
8525
|
return {
|
|
8482
8526
|
c() {
|
|
8483
8527
|
div5 = element("div");
|
|
@@ -8550,7 +8594,7 @@
|
|
|
8550
8594
|
/*navLinks*/
|
|
8551
8595
|
ctx[2].length > 0) {
|
|
8552
8596
|
if (if_block) ;else {
|
|
8553
|
-
if_block = create_if_block$
|
|
8597
|
+
if_block = create_if_block$d();
|
|
8554
8598
|
if_block.c();
|
|
8555
8599
|
if_block.m(div4, t1);
|
|
8556
8600
|
}
|
|
@@ -8602,7 +8646,7 @@
|
|
|
8602
8646
|
};
|
|
8603
8647
|
}
|
|
8604
8648
|
|
|
8605
|
-
function instance$
|
|
8649
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
8606
8650
|
let {
|
|
8607
8651
|
maxcontentwidth = ""
|
|
8608
8652
|
} = $$props;
|
|
@@ -8641,7 +8685,7 @@
|
|
|
8641
8685
|
target: this.shadowRoot,
|
|
8642
8686
|
props: attribute_to_object(this.attributes),
|
|
8643
8687
|
customElement: true
|
|
8644
|
-
}, instance$
|
|
8688
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
8645
8689
|
maxcontentwidth: 0
|
|
8646
8690
|
}, null);
|
|
8647
8691
|
|
|
@@ -8731,7 +8775,7 @@
|
|
|
8731
8775
|
};
|
|
8732
8776
|
}
|
|
8733
8777
|
|
|
8734
|
-
function create_fragment$
|
|
8778
|
+
function create_fragment$q(ctx) {
|
|
8735
8779
|
let section;
|
|
8736
8780
|
let div;
|
|
8737
8781
|
let t;
|
|
@@ -8819,7 +8863,7 @@
|
|
|
8819
8863
|
};
|
|
8820
8864
|
}
|
|
8821
8865
|
|
|
8822
|
-
function instance$
|
|
8866
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
8823
8867
|
let rootEl;
|
|
8824
8868
|
let children = [];
|
|
8825
8869
|
onMount(function () {
|
|
@@ -8854,7 +8898,7 @@
|
|
|
8854
8898
|
target: this.shadowRoot,
|
|
8855
8899
|
props: attribute_to_object(this.attributes),
|
|
8856
8900
|
customElement: true
|
|
8857
|
-
}, instance$
|
|
8901
|
+
}, instance$o, create_fragment$q, safe_not_equal, {}, null);
|
|
8858
8902
|
|
|
8859
8903
|
if (options) {
|
|
8860
8904
|
if (options.target) {
|
|
@@ -8875,7 +8919,7 @@
|
|
|
8875
8919
|
} // (31:2) {#if heading}
|
|
8876
8920
|
|
|
8877
8921
|
|
|
8878
|
-
function create_if_block$
|
|
8922
|
+
function create_if_block$c(ctx) {
|
|
8879
8923
|
let div;
|
|
8880
8924
|
let t0;
|
|
8881
8925
|
let t1;
|
|
@@ -8964,7 +9008,7 @@
|
|
|
8964
9008
|
};
|
|
8965
9009
|
}
|
|
8966
9010
|
|
|
8967
|
-
function create_fragment$
|
|
9011
|
+
function create_fragment$p(ctx) {
|
|
8968
9012
|
let section;
|
|
8969
9013
|
let t0;
|
|
8970
9014
|
let div;
|
|
@@ -8973,7 +9017,7 @@
|
|
|
8973
9017
|
let ul_style_value;
|
|
8974
9018
|
let if_block =
|
|
8975
9019
|
/*heading*/
|
|
8976
|
-
ctx[0] && create_if_block$
|
|
9020
|
+
ctx[0] && create_if_block$c(ctx);
|
|
8977
9021
|
let each_value =
|
|
8978
9022
|
/*children*/
|
|
8979
9023
|
ctx[3];
|
|
@@ -9040,7 +9084,7 @@
|
|
|
9040
9084
|
if (if_block) {
|
|
9041
9085
|
if_block.p(ctx, dirty);
|
|
9042
9086
|
} else {
|
|
9043
|
-
if_block = create_if_block$
|
|
9087
|
+
if_block = create_if_block$c(ctx);
|
|
9044
9088
|
if_block.c();
|
|
9045
9089
|
if_block.m(section, t0);
|
|
9046
9090
|
}
|
|
@@ -9111,7 +9155,7 @@
|
|
|
9111
9155
|
};
|
|
9112
9156
|
}
|
|
9113
9157
|
|
|
9114
|
-
function instance$
|
|
9158
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
9115
9159
|
let {
|
|
9116
9160
|
heading = ""
|
|
9117
9161
|
} = $$props;
|
|
@@ -9163,7 +9207,7 @@
|
|
|
9163
9207
|
target: this.shadowRoot,
|
|
9164
9208
|
props: attribute_to_object(this.attributes),
|
|
9165
9209
|
customElement: true
|
|
9166
|
-
}, instance$
|
|
9210
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
9167
9211
|
heading: 0,
|
|
9168
9212
|
maxcolumncount: 1
|
|
9169
9213
|
}, null);
|
|
@@ -9211,7 +9255,7 @@
|
|
|
9211
9255
|
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
9212
9256
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
9213
9257
|
|
|
9214
|
-
function create_if_block_2$
|
|
9258
|
+
function create_if_block_2$5(ctx) {
|
|
9215
9259
|
let div;
|
|
9216
9260
|
let t0;
|
|
9217
9261
|
let t1;
|
|
@@ -9222,7 +9266,7 @@
|
|
|
9222
9266
|
ctx[9].includes(
|
|
9223
9267
|
/*requirement*/
|
|
9224
9268
|
ctx[8]);
|
|
9225
|
-
let if_block = show_if && create_if_block_3$
|
|
9269
|
+
let if_block = show_if && create_if_block_3$5(ctx);
|
|
9226
9270
|
return {
|
|
9227
9271
|
c() {
|
|
9228
9272
|
div = element("div");
|
|
@@ -9261,7 +9305,7 @@
|
|
|
9261
9305
|
if (if_block) {
|
|
9262
9306
|
if_block.p(ctx, dirty);
|
|
9263
9307
|
} else {
|
|
9264
|
-
if_block = create_if_block_3$
|
|
9308
|
+
if_block = create_if_block_3$5(ctx);
|
|
9265
9309
|
if_block.c();
|
|
9266
9310
|
if_block.m(div, null);
|
|
9267
9311
|
}
|
|
@@ -9280,7 +9324,7 @@
|
|
|
9280
9324
|
} // (34:6) {#if requirement && REQUIREMENT_TYPES.includes(requirement)}
|
|
9281
9325
|
|
|
9282
9326
|
|
|
9283
|
-
function create_if_block_3$
|
|
9327
|
+
function create_if_block_3$5(ctx) {
|
|
9284
9328
|
let em;
|
|
9285
9329
|
let t0;
|
|
9286
9330
|
let t1;
|
|
@@ -9318,7 +9362,7 @@
|
|
|
9318
9362
|
} // (42:2) {#if error}
|
|
9319
9363
|
|
|
9320
9364
|
|
|
9321
|
-
function create_if_block_1$
|
|
9365
|
+
function create_if_block_1$6(ctx) {
|
|
9322
9366
|
let div;
|
|
9323
9367
|
let goa_icon;
|
|
9324
9368
|
let t0;
|
|
@@ -9361,7 +9405,7 @@
|
|
|
9361
9405
|
} // (48:2) {#if helptext}
|
|
9362
9406
|
|
|
9363
9407
|
|
|
9364
|
-
function create_if_block$
|
|
9408
|
+
function create_if_block$b(ctx) {
|
|
9365
9409
|
let div;
|
|
9366
9410
|
let t;
|
|
9367
9411
|
return {
|
|
@@ -9393,7 +9437,7 @@
|
|
|
9393
9437
|
};
|
|
9394
9438
|
}
|
|
9395
9439
|
|
|
9396
|
-
function create_fragment$
|
|
9440
|
+
function create_fragment$o(ctx) {
|
|
9397
9441
|
let div1;
|
|
9398
9442
|
let t0;
|
|
9399
9443
|
let div0;
|
|
@@ -9402,13 +9446,13 @@
|
|
|
9402
9446
|
let div1_style_value;
|
|
9403
9447
|
let if_block0 =
|
|
9404
9448
|
/*label*/
|
|
9405
|
-
ctx[5] && create_if_block_2$
|
|
9449
|
+
ctx[5] && create_if_block_2$5(ctx);
|
|
9406
9450
|
let if_block1 =
|
|
9407
9451
|
/*error*/
|
|
9408
|
-
ctx[7] && create_if_block_1$
|
|
9452
|
+
ctx[7] && create_if_block_1$6(ctx);
|
|
9409
9453
|
let if_block2 =
|
|
9410
9454
|
/*helptext*/
|
|
9411
|
-
ctx[6] && create_if_block$
|
|
9455
|
+
ctx[6] && create_if_block$b(ctx);
|
|
9412
9456
|
return {
|
|
9413
9457
|
c() {
|
|
9414
9458
|
div1 = element("div");
|
|
@@ -9455,7 +9499,7 @@
|
|
|
9455
9499
|
if (if_block0) {
|
|
9456
9500
|
if_block0.p(ctx, dirty);
|
|
9457
9501
|
} else {
|
|
9458
|
-
if_block0 = create_if_block_2$
|
|
9502
|
+
if_block0 = create_if_block_2$5(ctx);
|
|
9459
9503
|
if_block0.c();
|
|
9460
9504
|
if_block0.m(div1, t0);
|
|
9461
9505
|
}
|
|
@@ -9470,7 +9514,7 @@
|
|
|
9470
9514
|
if (if_block1) {
|
|
9471
9515
|
if_block1.p(ctx, dirty);
|
|
9472
9516
|
} else {
|
|
9473
|
-
if_block1 = create_if_block_1$
|
|
9517
|
+
if_block1 = create_if_block_1$6(ctx);
|
|
9474
9518
|
if_block1.c();
|
|
9475
9519
|
if_block1.m(div1, t2);
|
|
9476
9520
|
}
|
|
@@ -9485,7 +9529,7 @@
|
|
|
9485
9529
|
if (if_block2) {
|
|
9486
9530
|
if_block2.p(ctx, dirty);
|
|
9487
9531
|
} else {
|
|
9488
|
-
if_block2 = create_if_block$
|
|
9532
|
+
if_block2 = create_if_block$b(ctx);
|
|
9489
9533
|
if_block2.c();
|
|
9490
9534
|
if_block2.m(div1, null);
|
|
9491
9535
|
}
|
|
@@ -9530,7 +9574,7 @@
|
|
|
9530
9574
|
};
|
|
9531
9575
|
}
|
|
9532
9576
|
|
|
9533
|
-
function instance$
|
|
9577
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
9534
9578
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
9535
9579
|
let {
|
|
9536
9580
|
testid = ""
|
|
@@ -9586,7 +9630,7 @@
|
|
|
9586
9630
|
target: this.shadowRoot,
|
|
9587
9631
|
props: attribute_to_object(this.attributes),
|
|
9588
9632
|
customElement: true
|
|
9589
|
-
}, instance$
|
|
9633
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
9590
9634
|
testid: 0,
|
|
9591
9635
|
mt: 1,
|
|
9592
9636
|
mr: 2,
|
|
@@ -9718,7 +9762,7 @@
|
|
|
9718
9762
|
customElements.define("goa-form-item", FormItem);
|
|
9719
9763
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9720
9764
|
|
|
9721
|
-
function create_fragment$
|
|
9765
|
+
function create_fragment$n(ctx) {
|
|
9722
9766
|
let div;
|
|
9723
9767
|
let slot;
|
|
9724
9768
|
let div_style_value;
|
|
@@ -9786,7 +9830,7 @@
|
|
|
9786
9830
|
};
|
|
9787
9831
|
}
|
|
9788
9832
|
|
|
9789
|
-
function instance$
|
|
9833
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
9790
9834
|
let {
|
|
9791
9835
|
gap = "m"
|
|
9792
9836
|
} = $$props;
|
|
@@ -9831,7 +9875,7 @@
|
|
|
9831
9875
|
target: this.shadowRoot,
|
|
9832
9876
|
props: attribute_to_object(this.attributes),
|
|
9833
9877
|
customElement: true
|
|
9834
|
-
}, instance$
|
|
9878
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
9835
9879
|
gap: 0,
|
|
9836
9880
|
minchildwidth: 1,
|
|
9837
9881
|
mt: 2,
|
|
@@ -9927,7 +9971,7 @@
|
|
|
9927
9971
|
customElements.define("goa-grid", Grid);
|
|
9928
9972
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9929
9973
|
|
|
9930
|
-
function create_fragment$
|
|
9974
|
+
function create_fragment$m(ctx) {
|
|
9931
9975
|
let div1;
|
|
9932
9976
|
let goa_page_block;
|
|
9933
9977
|
let h1;
|
|
@@ -10012,7 +10056,7 @@
|
|
|
10012
10056
|
};
|
|
10013
10057
|
}
|
|
10014
10058
|
|
|
10015
|
-
function instance$
|
|
10059
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
10016
10060
|
let {
|
|
10017
10061
|
heading
|
|
10018
10062
|
} = $$props;
|
|
@@ -10040,7 +10084,7 @@
|
|
|
10040
10084
|
target: this.shadowRoot,
|
|
10041
10085
|
props: attribute_to_object(this.attributes),
|
|
10042
10086
|
customElement: true
|
|
10043
|
-
}, instance$
|
|
10087
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
10044
10088
|
heading: 0,
|
|
10045
10089
|
backgroundurl: 1,
|
|
10046
10090
|
minheight: 2
|
|
@@ -10100,7 +10144,7 @@
|
|
|
10100
10144
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
10101
10145
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
10102
10146
|
|
|
10103
|
-
function create_fragment$
|
|
10147
|
+
function create_fragment$l(ctx) {
|
|
10104
10148
|
let button;
|
|
10105
10149
|
let goa_icon;
|
|
10106
10150
|
let button_style_value;
|
|
@@ -10272,7 +10316,7 @@
|
|
|
10272
10316
|
}));
|
|
10273
10317
|
}
|
|
10274
10318
|
|
|
10275
|
-
function instance$
|
|
10319
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
10276
10320
|
let css;
|
|
10277
10321
|
let isDisabled;
|
|
10278
10322
|
let isInverted;
|
|
@@ -10377,7 +10421,7 @@
|
|
|
10377
10421
|
target: this.shadowRoot,
|
|
10378
10422
|
props: attribute_to_object(this.attributes),
|
|
10379
10423
|
customElement: true
|
|
10380
|
-
}, instance$
|
|
10424
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
10381
10425
|
icon: 0,
|
|
10382
10426
|
size: 1,
|
|
10383
10427
|
theme: 2,
|
|
@@ -10545,7 +10589,60 @@
|
|
|
10545
10589
|
customElements.define("goa-icon-button", IconButton);
|
|
10546
10590
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
10547
10591
|
|
|
10548
|
-
function create_if_block$
|
|
10592
|
+
function create_if_block$a(ctx) {
|
|
10593
|
+
let show_if;
|
|
10594
|
+
let if_block_anchor;
|
|
10595
|
+
|
|
10596
|
+
function select_block_type(ctx, dirty) {
|
|
10597
|
+
if (dirty &
|
|
10598
|
+
/*type*/
|
|
10599
|
+
16) show_if = null;
|
|
10600
|
+
if (show_if == null) show_if = !!Object.keys(
|
|
10601
|
+
/*_iconOverrides*/
|
|
10602
|
+
ctx[13]).includes(
|
|
10603
|
+
/*type*/
|
|
10604
|
+
ctx[4]);
|
|
10605
|
+
if (show_if) return create_if_block_1$5;
|
|
10606
|
+
return create_else_block$4;
|
|
10607
|
+
}
|
|
10608
|
+
|
|
10609
|
+
let current_block_type = select_block_type(ctx, -1);
|
|
10610
|
+
let if_block = current_block_type(ctx);
|
|
10611
|
+
return {
|
|
10612
|
+
c() {
|
|
10613
|
+
if_block.c();
|
|
10614
|
+
if_block_anchor = empty();
|
|
10615
|
+
},
|
|
10616
|
+
|
|
10617
|
+
m(target, anchor) {
|
|
10618
|
+
if_block.m(target, anchor);
|
|
10619
|
+
insert(target, if_block_anchor, anchor);
|
|
10620
|
+
},
|
|
10621
|
+
|
|
10622
|
+
p(ctx, dirty) {
|
|
10623
|
+
if (current_block_type === (current_block_type = select_block_type(ctx, dirty)) && if_block) {
|
|
10624
|
+
if_block.p(ctx, dirty);
|
|
10625
|
+
} else {
|
|
10626
|
+
if_block.d(1);
|
|
10627
|
+
if_block = current_block_type(ctx);
|
|
10628
|
+
|
|
10629
|
+
if (if_block) {
|
|
10630
|
+
if_block.c();
|
|
10631
|
+
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10632
|
+
}
|
|
10633
|
+
}
|
|
10634
|
+
},
|
|
10635
|
+
|
|
10636
|
+
d(detaching) {
|
|
10637
|
+
if_block.d(detaching);
|
|
10638
|
+
if (detaching) detach(if_block_anchor);
|
|
10639
|
+
}
|
|
10640
|
+
|
|
10641
|
+
};
|
|
10642
|
+
} // (62:4) {:else}
|
|
10643
|
+
|
|
10644
|
+
|
|
10645
|
+
function create_else_block$4(ctx) {
|
|
10549
10646
|
let ion_icon;
|
|
10550
10647
|
let ion_icon_name_value;
|
|
10551
10648
|
return {
|
|
@@ -10591,21 +10688,66 @@
|
|
|
10591
10688
|
}
|
|
10592
10689
|
|
|
10593
10690
|
};
|
|
10594
|
-
}
|
|
10691
|
+
} // (57:4) {#if Object.keys(_iconOverrides).includes(type)}
|
|
10595
10692
|
|
|
10596
|
-
|
|
10693
|
+
|
|
10694
|
+
function create_if_block_1$5(ctx) {
|
|
10597
10695
|
let div;
|
|
10598
|
-
let
|
|
10599
|
-
let
|
|
10696
|
+
let html_tag;
|
|
10697
|
+
let raw_value =
|
|
10698
|
+
/*_iconOverrides*/
|
|
10699
|
+
ctx[13][
|
|
10600
10700
|
/*type*/
|
|
10601
|
-
ctx[4]
|
|
10701
|
+
ctx[4]] + "";
|
|
10702
|
+
let t;
|
|
10703
|
+
let span;
|
|
10602
10704
|
return {
|
|
10603
10705
|
c() {
|
|
10604
10706
|
div = element("div");
|
|
10605
|
-
|
|
10606
|
-
|
|
10607
|
-
|
|
10608
|
-
|
|
10707
|
+
html_tag = new HtmlTag(false);
|
|
10708
|
+
t = space();
|
|
10709
|
+
span = element("span");
|
|
10710
|
+
html_tag.a = t;
|
|
10711
|
+
attr(div, "class", "icon-override");
|
|
10712
|
+
},
|
|
10713
|
+
|
|
10714
|
+
m(target, anchor) {
|
|
10715
|
+
insert(target, div, anchor);
|
|
10716
|
+
html_tag.m(raw_value, div);
|
|
10717
|
+
append(div, t);
|
|
10718
|
+
append(div, span);
|
|
10719
|
+
},
|
|
10720
|
+
|
|
10721
|
+
p(ctx, dirty) {
|
|
10722
|
+
if (dirty &
|
|
10723
|
+
/*type*/
|
|
10724
|
+
16 && raw_value !== (raw_value =
|
|
10725
|
+
/*_iconOverrides*/
|
|
10726
|
+
ctx[13][
|
|
10727
|
+
/*type*/
|
|
10728
|
+
ctx[4]] + "")) html_tag.p(raw_value);
|
|
10729
|
+
},
|
|
10730
|
+
|
|
10731
|
+
d(detaching) {
|
|
10732
|
+
if (detaching) detach(div);
|
|
10733
|
+
}
|
|
10734
|
+
|
|
10735
|
+
};
|
|
10736
|
+
}
|
|
10737
|
+
|
|
10738
|
+
function create_fragment$k(ctx) {
|
|
10739
|
+
let div;
|
|
10740
|
+
let div_style_value;
|
|
10741
|
+
let if_block =
|
|
10742
|
+
/*type*/
|
|
10743
|
+
ctx[4] && create_if_block$a(ctx);
|
|
10744
|
+
return {
|
|
10745
|
+
c() {
|
|
10746
|
+
div = element("div");
|
|
10747
|
+
if (if_block) if_block.c();
|
|
10748
|
+
this.c = noop;
|
|
10749
|
+
attr(div, "class", "goa-icon");
|
|
10750
|
+
attr(div, "data-testid",
|
|
10609
10751
|
/*testid*/
|
|
10610
10752
|
ctx[10]);
|
|
10611
10753
|
attr(div, "title",
|
|
@@ -10651,7 +10793,7 @@
|
|
|
10651
10793
|
if (if_block) {
|
|
10652
10794
|
if_block.p(ctx, dirty);
|
|
10653
10795
|
} else {
|
|
10654
|
-
if_block = create_if_block$
|
|
10796
|
+
if_block = create_if_block$a(ctx);
|
|
10655
10797
|
if_block.c();
|
|
10656
10798
|
if_block.m(div, null);
|
|
10657
10799
|
}
|
|
@@ -10724,7 +10866,7 @@
|
|
|
10724
10866
|
};
|
|
10725
10867
|
}
|
|
10726
10868
|
|
|
10727
|
-
function instance$
|
|
10869
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
10728
10870
|
let isInverted;
|
|
10729
10871
|
|
|
10730
10872
|
let _size;
|
|
@@ -10767,7 +10909,19 @@
|
|
|
10767
10909
|
} = $$props;
|
|
10768
10910
|
let {
|
|
10769
10911
|
testid = ""
|
|
10770
|
-
} = $$props;
|
|
10912
|
+
} = $$props; // Private
|
|
10913
|
+
|
|
10914
|
+
const _iconOverrides = {
|
|
10915
|
+
pencil: `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10916
|
+
<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"/>
|
|
10917
|
+
</svg>`,
|
|
10918
|
+
checkmark: `<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10919
|
+
<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"/>
|
|
10920
|
+
</svg>`,
|
|
10921
|
+
remove: `<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10922
|
+
<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"/>
|
|
10923
|
+
</svg>`
|
|
10924
|
+
};
|
|
10771
10925
|
|
|
10772
10926
|
$$self.$$set = $$props => {
|
|
10773
10927
|
if ('mt' in $$props) $$invalidate(0, mt = $$props.mt);
|
|
@@ -10775,9 +10929,9 @@
|
|
|
10775
10929
|
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
10776
10930
|
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
10777
10931
|
if ('type' in $$props) $$invalidate(4, type = $$props.type);
|
|
10778
|
-
if ('size' in $$props) $$invalidate(
|
|
10932
|
+
if ('size' in $$props) $$invalidate(14, size = $$props.size);
|
|
10779
10933
|
if ('theme' in $$props) $$invalidate(5, theme = $$props.theme);
|
|
10780
|
-
if ('inverted' in $$props) $$invalidate(
|
|
10934
|
+
if ('inverted' in $$props) $$invalidate(15, inverted = $$props.inverted);
|
|
10781
10935
|
if ('fillcolor' in $$props) $$invalidate(6, fillcolor = $$props.fillcolor);
|
|
10782
10936
|
if ('hovercolor' in $$props) $$invalidate(7, hovercolor = $$props.hovercolor);
|
|
10783
10937
|
if ('opacity' in $$props) $$invalidate(8, opacity = $$props.opacity);
|
|
@@ -10788,13 +10942,13 @@
|
|
|
10788
10942
|
$$self.$$.update = () => {
|
|
10789
10943
|
if ($$self.$$.dirty &
|
|
10790
10944
|
/*inverted*/
|
|
10791
|
-
|
|
10945
|
+
32768) {
|
|
10792
10946
|
$$invalidate(12, isInverted = toBoolean(inverted));
|
|
10793
10947
|
}
|
|
10794
10948
|
|
|
10795
10949
|
if ($$self.$$.dirty &
|
|
10796
10950
|
/*size*/
|
|
10797
|
-
|
|
10951
|
+
16384) {
|
|
10798
10952
|
$$invalidate(11, _size = {
|
|
10799
10953
|
small: "1.25rem",
|
|
10800
10954
|
medium: "1.5rem",
|
|
@@ -10803,26 +10957,26 @@
|
|
|
10803
10957
|
}
|
|
10804
10958
|
};
|
|
10805
10959
|
|
|
10806
|
-
return [mt, mr, mb, ml, type, theme, fillcolor, hovercolor, opacity, title, testid, _size, isInverted, size, inverted];
|
|
10960
|
+
return [mt, mr, mb, ml, type, theme, fillcolor, hovercolor, opacity, title, testid, _size, isInverted, _iconOverrides, size, inverted];
|
|
10807
10961
|
}
|
|
10808
10962
|
|
|
10809
10963
|
class Icon extends SvelteElement {
|
|
10810
10964
|
constructor(options) {
|
|
10811
10965
|
super();
|
|
10812
|
-
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>`;
|
|
10966
|
+
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>`;
|
|
10813
10967
|
init(this, {
|
|
10814
10968
|
target: this.shadowRoot,
|
|
10815
10969
|
props: attribute_to_object(this.attributes),
|
|
10816
10970
|
customElement: true
|
|
10817
|
-
}, instance$
|
|
10971
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
10818
10972
|
mt: 0,
|
|
10819
10973
|
mr: 1,
|
|
10820
10974
|
mb: 2,
|
|
10821
10975
|
ml: 3,
|
|
10822
10976
|
type: 4,
|
|
10823
|
-
size:
|
|
10977
|
+
size: 14,
|
|
10824
10978
|
theme: 5,
|
|
10825
|
-
inverted:
|
|
10979
|
+
inverted: 15,
|
|
10826
10980
|
fillcolor: 6,
|
|
10827
10981
|
hovercolor: 7,
|
|
10828
10982
|
opacity: 8,
|
|
@@ -10902,7 +11056,7 @@
|
|
|
10902
11056
|
}
|
|
10903
11057
|
|
|
10904
11058
|
get size() {
|
|
10905
|
-
return this.$$.ctx[
|
|
11059
|
+
return this.$$.ctx[14];
|
|
10906
11060
|
}
|
|
10907
11061
|
|
|
10908
11062
|
set size(size) {
|
|
@@ -10924,7 +11078,7 @@
|
|
|
10924
11078
|
}
|
|
10925
11079
|
|
|
10926
11080
|
get inverted() {
|
|
10927
|
-
return this.$$.ctx[
|
|
11081
|
+
return this.$$.ctx[15];
|
|
10928
11082
|
}
|
|
10929
11083
|
|
|
10930
11084
|
set inverted(inverted) {
|
|
@@ -11027,7 +11181,7 @@
|
|
|
11027
11181
|
} // (109:4) {#if leadingicon}
|
|
11028
11182
|
|
|
11029
11183
|
|
|
11030
|
-
function create_if_block_3$
|
|
11184
|
+
function create_if_block_3$4(ctx) {
|
|
11031
11185
|
let goa_icon;
|
|
11032
11186
|
return {
|
|
11033
11187
|
c() {
|
|
@@ -11061,7 +11215,7 @@
|
|
|
11061
11215
|
} // (139:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
11062
11216
|
|
|
11063
11217
|
|
|
11064
|
-
function create_if_block_2$
|
|
11218
|
+
function create_if_block_2$4(ctx) {
|
|
11065
11219
|
let goa_icon;
|
|
11066
11220
|
return {
|
|
11067
11221
|
c() {
|
|
@@ -11096,7 +11250,7 @@
|
|
|
11096
11250
|
} // (149:4) {#if trailingicon && handlesTrailingIconClick}
|
|
11097
11251
|
|
|
11098
11252
|
|
|
11099
|
-
function create_if_block_1$
|
|
11253
|
+
function create_if_block_1$4(ctx) {
|
|
11100
11254
|
let goa_icon_button;
|
|
11101
11255
|
let mounted;
|
|
11102
11256
|
let dispose;
|
|
@@ -11151,7 +11305,7 @@
|
|
|
11151
11305
|
} // (161:4) {#if suffix}
|
|
11152
11306
|
|
|
11153
11307
|
|
|
11154
|
-
function create_if_block$
|
|
11308
|
+
function create_if_block$9(ctx) {
|
|
11155
11309
|
let span;
|
|
11156
11310
|
let t;
|
|
11157
11311
|
return {
|
|
@@ -11183,7 +11337,7 @@
|
|
|
11183
11337
|
};
|
|
11184
11338
|
}
|
|
11185
11339
|
|
|
11186
|
-
function create_fragment$
|
|
11340
|
+
function create_fragment$j(ctx) {
|
|
11187
11341
|
let div3;
|
|
11188
11342
|
let div2;
|
|
11189
11343
|
let t0;
|
|
@@ -11208,20 +11362,20 @@
|
|
|
11208
11362
|
ctx[14] && create_if_block_4(ctx);
|
|
11209
11363
|
let if_block1 =
|
|
11210
11364
|
/*leadingicon*/
|
|
11211
|
-
ctx[5] && create_if_block_3$
|
|
11365
|
+
ctx[5] && create_if_block_3$4(ctx);
|
|
11212
11366
|
let if_block2 =
|
|
11213
11367
|
/*trailingicon*/
|
|
11214
11368
|
ctx[6] && !
|
|
11215
11369
|
/*handlesTrailingIconClick*/
|
|
11216
|
-
ctx[24] && create_if_block_2$
|
|
11370
|
+
ctx[24] && create_if_block_2$4(ctx);
|
|
11217
11371
|
let if_block3 =
|
|
11218
11372
|
/*trailingicon*/
|
|
11219
11373
|
ctx[6] &&
|
|
11220
11374
|
/*handlesTrailingIconClick*/
|
|
11221
|
-
ctx[24] && create_if_block_1$
|
|
11375
|
+
ctx[24] && create_if_block_1$4(ctx);
|
|
11222
11376
|
let if_block4 =
|
|
11223
11377
|
/*suffix*/
|
|
11224
|
-
ctx[15] && create_if_block$
|
|
11378
|
+
ctx[15] && create_if_block$9(ctx);
|
|
11225
11379
|
return {
|
|
11226
11380
|
c() {
|
|
11227
11381
|
div3 = element("div");
|
|
@@ -11377,7 +11531,7 @@
|
|
|
11377
11531
|
if (if_block1) {
|
|
11378
11532
|
if_block1.p(ctx, dirty);
|
|
11379
11533
|
} else {
|
|
11380
|
-
if_block1 = create_if_block_3$
|
|
11534
|
+
if_block1 = create_if_block_3$4(ctx);
|
|
11381
11535
|
if_block1.c();
|
|
11382
11536
|
if_block1.m(div2, t2);
|
|
11383
11537
|
}
|
|
@@ -11510,7 +11664,7 @@
|
|
|
11510
11664
|
if (if_block2) {
|
|
11511
11665
|
if_block2.p(ctx, dirty);
|
|
11512
11666
|
} else {
|
|
11513
|
-
if_block2 = create_if_block_2$
|
|
11667
|
+
if_block2 = create_if_block_2$4(ctx);
|
|
11514
11668
|
if_block2.c();
|
|
11515
11669
|
if_block2.m(div2, t4);
|
|
11516
11670
|
}
|
|
@@ -11527,7 +11681,7 @@
|
|
|
11527
11681
|
if (if_block3) {
|
|
11528
11682
|
if_block3.p(ctx, dirty);
|
|
11529
11683
|
} else {
|
|
11530
|
-
if_block3 = create_if_block_1$
|
|
11684
|
+
if_block3 = create_if_block_1$4(ctx);
|
|
11531
11685
|
if_block3.c();
|
|
11532
11686
|
if_block3.m(div2, t5);
|
|
11533
11687
|
}
|
|
@@ -11542,7 +11696,7 @@
|
|
|
11542
11696
|
if (if_block4) {
|
|
11543
11697
|
if_block4.p(ctx, dirty);
|
|
11544
11698
|
} else {
|
|
11545
|
-
if_block4 = create_if_block$
|
|
11699
|
+
if_block4 = create_if_block$9(ctx);
|
|
11546
11700
|
if_block4.c();
|
|
11547
11701
|
if_block4.m(div2, t6);
|
|
11548
11702
|
}
|
|
@@ -11622,7 +11776,7 @@
|
|
|
11622
11776
|
}));
|
|
11623
11777
|
}
|
|
11624
11778
|
|
|
11625
|
-
function instance$
|
|
11779
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
11626
11780
|
let handlesTrailingIconClick;
|
|
11627
11781
|
let isFocused;
|
|
11628
11782
|
let isReadonly;
|
|
@@ -11842,7 +11996,7 @@
|
|
|
11842
11996
|
target: this.shadowRoot,
|
|
11843
11997
|
props: attribute_to_object(this.attributes),
|
|
11844
11998
|
customElement: true
|
|
11845
|
-
}, instance$
|
|
11999
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
11846
12000
|
type: 1,
|
|
11847
12001
|
name: 2,
|
|
11848
12002
|
value: 0,
|
|
@@ -12178,7 +12332,7 @@
|
|
|
12178
12332
|
customElements.define("goa-input", Input);
|
|
12179
12333
|
/* libs/web-components/src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.51.0 */
|
|
12180
12334
|
|
|
12181
|
-
function create_if_block_3$
|
|
12335
|
+
function create_if_block_3$3(ctx) {
|
|
12182
12336
|
let div0;
|
|
12183
12337
|
let t0;
|
|
12184
12338
|
let div1;
|
|
@@ -12210,7 +12364,7 @@
|
|
|
12210
12364
|
} // (41:2) {#if ["alpha", "beta"].includes(type)}
|
|
12211
12365
|
|
|
12212
12366
|
|
|
12213
|
-
function create_if_block_1$
|
|
12367
|
+
function create_if_block_1$3(ctx) {
|
|
12214
12368
|
let div0;
|
|
12215
12369
|
let t0_value = capitalize(
|
|
12216
12370
|
/*type*/
|
|
@@ -12224,7 +12378,7 @@
|
|
|
12224
12378
|
let t4;
|
|
12225
12379
|
let if_block =
|
|
12226
12380
|
/*feedbackurl*/
|
|
12227
|
-
ctx[2] && create_if_block_2$
|
|
12381
|
+
ctx[2] && create_if_block_2$3(ctx);
|
|
12228
12382
|
return {
|
|
12229
12383
|
c() {
|
|
12230
12384
|
div0 = element("div");
|
|
@@ -12277,7 +12431,7 @@
|
|
|
12277
12431
|
if (if_block) {
|
|
12278
12432
|
if_block.p(ctx, dirty);
|
|
12279
12433
|
} else {
|
|
12280
|
-
if_block = create_if_block_2$
|
|
12434
|
+
if_block = create_if_block_2$3(ctx);
|
|
12281
12435
|
if_block.c();
|
|
12282
12436
|
if_block.m(div1, null);
|
|
12283
12437
|
}
|
|
@@ -12298,7 +12452,7 @@
|
|
|
12298
12452
|
} // (50:6) {#if feedbackurl}
|
|
12299
12453
|
|
|
12300
12454
|
|
|
12301
|
-
function create_if_block_2$
|
|
12455
|
+
function create_if_block_2$3(ctx) {
|
|
12302
12456
|
let span;
|
|
12303
12457
|
let t0;
|
|
12304
12458
|
let a;
|
|
@@ -12340,7 +12494,7 @@
|
|
|
12340
12494
|
} // (56:2) {#if version}
|
|
12341
12495
|
|
|
12342
12496
|
|
|
12343
|
-
function create_if_block$
|
|
12497
|
+
function create_if_block$8(ctx) {
|
|
12344
12498
|
let div;
|
|
12345
12499
|
let t;
|
|
12346
12500
|
return {
|
|
@@ -12373,7 +12527,7 @@
|
|
|
12373
12527
|
};
|
|
12374
12528
|
}
|
|
12375
12529
|
|
|
12376
|
-
function create_fragment$
|
|
12530
|
+
function create_fragment$i(ctx) {
|
|
12377
12531
|
let header;
|
|
12378
12532
|
let t0;
|
|
12379
12533
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -12384,11 +12538,11 @@
|
|
|
12384
12538
|
let t2;
|
|
12385
12539
|
let if_block0 =
|
|
12386
12540
|
/*type*/
|
|
12387
|
-
ctx[0] === "live" && create_if_block_3$
|
|
12388
|
-
let if_block1 = show_if && create_if_block_1$
|
|
12541
|
+
ctx[0] === "live" && create_if_block_3$3();
|
|
12542
|
+
let if_block1 = show_if && create_if_block_1$3(ctx);
|
|
12389
12543
|
let if_block2 =
|
|
12390
12544
|
/*version*/
|
|
12391
|
-
ctx[1] && create_if_block$
|
|
12545
|
+
ctx[1] && create_if_block$8(ctx);
|
|
12392
12546
|
return {
|
|
12393
12547
|
c() {
|
|
12394
12548
|
header = element("header");
|
|
@@ -12420,7 +12574,7 @@
|
|
|
12420
12574
|
/*type*/
|
|
12421
12575
|
ctx[0] === "live") {
|
|
12422
12576
|
if (if_block0) ;else {
|
|
12423
|
-
if_block0 = create_if_block_3$
|
|
12577
|
+
if_block0 = create_if_block_3$3();
|
|
12424
12578
|
if_block0.c();
|
|
12425
12579
|
if_block0.m(header, t0);
|
|
12426
12580
|
}
|
|
@@ -12439,7 +12593,7 @@
|
|
|
12439
12593
|
if (if_block1) {
|
|
12440
12594
|
if_block1.p(ctx, dirty);
|
|
12441
12595
|
} else {
|
|
12442
|
-
if_block1 = create_if_block_1$
|
|
12596
|
+
if_block1 = create_if_block_1$3(ctx);
|
|
12443
12597
|
if_block1.c();
|
|
12444
12598
|
if_block1.m(header, t1);
|
|
12445
12599
|
}
|
|
@@ -12454,7 +12608,7 @@
|
|
|
12454
12608
|
if (if_block2) {
|
|
12455
12609
|
if_block2.p(ctx, dirty);
|
|
12456
12610
|
} else {
|
|
12457
|
-
if_block2 = create_if_block$
|
|
12611
|
+
if_block2 = create_if_block$8(ctx);
|
|
12458
12612
|
if_block2.c();
|
|
12459
12613
|
if_block2.m(header, null);
|
|
12460
12614
|
}
|
|
@@ -12482,7 +12636,7 @@
|
|
|
12482
12636
|
return val[0].toUpperCase() + val.slice(1);
|
|
12483
12637
|
}
|
|
12484
12638
|
|
|
12485
|
-
function instance$
|
|
12639
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
12486
12640
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
12487
12641
|
let {
|
|
12488
12642
|
type
|
|
@@ -12514,7 +12668,7 @@
|
|
|
12514
12668
|
target: this.shadowRoot,
|
|
12515
12669
|
props: attribute_to_object(this.attributes),
|
|
12516
12670
|
customElement: true
|
|
12517
|
-
}, instance$
|
|
12671
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
12518
12672
|
type: 0,
|
|
12519
12673
|
version: 1,
|
|
12520
12674
|
feedbackurl: 2
|
|
@@ -12574,7 +12728,7 @@
|
|
|
12574
12728
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
12575
12729
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
12576
12730
|
|
|
12577
|
-
function create_if_block$
|
|
12731
|
+
function create_if_block$7(ctx) {
|
|
12578
12732
|
let goa_focus_trap;
|
|
12579
12733
|
let div6;
|
|
12580
12734
|
let div0;
|
|
@@ -12601,20 +12755,20 @@
|
|
|
12601
12755
|
let dispose;
|
|
12602
12756
|
let if_block0 =
|
|
12603
12757
|
/*calloutvariant*/
|
|
12604
|
-
ctx[3] !== null && create_if_block_3(ctx);
|
|
12758
|
+
ctx[3] !== null && create_if_block_3$2(ctx);
|
|
12605
12759
|
|
|
12606
12760
|
function select_block_type(ctx, dirty) {
|
|
12607
12761
|
if (
|
|
12608
12762
|
/*heading*/
|
|
12609
|
-
ctx[0]) return create_if_block_2$
|
|
12610
|
-
return create_else_block$
|
|
12763
|
+
ctx[0]) return create_if_block_2$2;
|
|
12764
|
+
return create_else_block$3;
|
|
12611
12765
|
}
|
|
12612
12766
|
|
|
12613
12767
|
let current_block_type = select_block_type(ctx);
|
|
12614
12768
|
let if_block1 = current_block_type(ctx);
|
|
12615
12769
|
let if_block2 =
|
|
12616
12770
|
/*_isClosable*/
|
|
12617
|
-
ctx[7] && create_if_block_1$
|
|
12771
|
+
ctx[7] && create_if_block_1$2(ctx);
|
|
12618
12772
|
return {
|
|
12619
12773
|
c() {
|
|
12620
12774
|
goa_focus_trap = element("goa-focus-trap");
|
|
@@ -12712,7 +12866,7 @@
|
|
|
12712
12866
|
if (if_block0) {
|
|
12713
12867
|
if_block0.p(ctx, dirty);
|
|
12714
12868
|
} else {
|
|
12715
|
-
if_block0 = create_if_block_3(ctx);
|
|
12869
|
+
if_block0 = create_if_block_3$2(ctx);
|
|
12716
12870
|
if_block0.c();
|
|
12717
12871
|
if_block0.m(div5, t1);
|
|
12718
12872
|
}
|
|
@@ -12739,7 +12893,7 @@
|
|
|
12739
12893
|
if (if_block2) {
|
|
12740
12894
|
if_block2.p(ctx, dirty);
|
|
12741
12895
|
} else {
|
|
12742
|
-
if_block2 = create_if_block_1$
|
|
12896
|
+
if_block2 = create_if_block_1$2(ctx);
|
|
12743
12897
|
if_block2.c();
|
|
12744
12898
|
if_block2.m(header, null);
|
|
12745
12899
|
}
|
|
@@ -12843,7 +12997,7 @@
|
|
|
12843
12997
|
} // (102:8) {#if calloutvariant !== null}
|
|
12844
12998
|
|
|
12845
12999
|
|
|
12846
|
-
function create_if_block_3(ctx) {
|
|
13000
|
+
function create_if_block_3$2(ctx) {
|
|
12847
13001
|
let div;
|
|
12848
13002
|
let goa_icon;
|
|
12849
13003
|
let goa_icon_inverted_value;
|
|
@@ -12902,7 +13056,7 @@
|
|
|
12902
13056
|
} // (115:14) {:else}
|
|
12903
13057
|
|
|
12904
13058
|
|
|
12905
|
-
function create_else_block$
|
|
13059
|
+
function create_else_block$3(ctx) {
|
|
12906
13060
|
let slot;
|
|
12907
13061
|
return {
|
|
12908
13062
|
c() {
|
|
@@ -12924,7 +13078,7 @@
|
|
|
12924
13078
|
} // (113:14) {#if heading}
|
|
12925
13079
|
|
|
12926
13080
|
|
|
12927
|
-
function create_if_block_2$
|
|
13081
|
+
function create_if_block_2$2(ctx) {
|
|
12928
13082
|
let t;
|
|
12929
13083
|
return {
|
|
12930
13084
|
c() {
|
|
@@ -12953,7 +13107,7 @@
|
|
|
12953
13107
|
} // (119:12) {#if _isClosable}
|
|
12954
13108
|
|
|
12955
13109
|
|
|
12956
|
-
function create_if_block_1$
|
|
13110
|
+
function create_if_block_1$2(ctx) {
|
|
12957
13111
|
let div;
|
|
12958
13112
|
let goa_icon_button;
|
|
12959
13113
|
let mounted;
|
|
@@ -12991,12 +13145,12 @@
|
|
|
12991
13145
|
};
|
|
12992
13146
|
}
|
|
12993
13147
|
|
|
12994
|
-
function create_fragment$
|
|
13148
|
+
function create_fragment$h(ctx) {
|
|
12995
13149
|
let if_block_anchor;
|
|
12996
13150
|
let current;
|
|
12997
13151
|
let if_block =
|
|
12998
13152
|
/*_isOpen*/
|
|
12999
|
-
ctx[6] && create_if_block$
|
|
13153
|
+
ctx[6] && create_if_block$7(ctx);
|
|
13000
13154
|
return {
|
|
13001
13155
|
c() {
|
|
13002
13156
|
if (if_block) if_block.c();
|
|
@@ -13023,7 +13177,7 @@
|
|
|
13023
13177
|
transition_in(if_block, 1);
|
|
13024
13178
|
}
|
|
13025
13179
|
} else {
|
|
13026
|
-
if_block = create_if_block$
|
|
13180
|
+
if_block = create_if_block$7(ctx);
|
|
13027
13181
|
if_block.c();
|
|
13028
13182
|
transition_in(if_block, 1);
|
|
13029
13183
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13056,7 +13210,7 @@
|
|
|
13056
13210
|
};
|
|
13057
13211
|
}
|
|
13058
13212
|
|
|
13059
|
-
function instance$
|
|
13213
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
13060
13214
|
let _isClosable;
|
|
13061
13215
|
|
|
13062
13216
|
let _isOpen;
|
|
@@ -13207,7 +13361,7 @@
|
|
|
13207
13361
|
target: this.shadowRoot,
|
|
13208
13362
|
props: attribute_to_object(this.attributes),
|
|
13209
13363
|
customElement: true
|
|
13210
|
-
}, instance$
|
|
13364
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
13211
13365
|
heading: 0,
|
|
13212
13366
|
closable: 12,
|
|
13213
13367
|
open: 1,
|
|
@@ -13303,7 +13457,7 @@
|
|
|
13303
13457
|
customElements.define("goa-modal", Modal);
|
|
13304
13458
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
13305
13459
|
|
|
13306
|
-
function create_if_block$
|
|
13460
|
+
function create_if_block$6(ctx) {
|
|
13307
13461
|
let div3;
|
|
13308
13462
|
let div0;
|
|
13309
13463
|
let goa_icon;
|
|
@@ -13427,12 +13581,12 @@
|
|
|
13427
13581
|
};
|
|
13428
13582
|
}
|
|
13429
13583
|
|
|
13430
|
-
function create_fragment$
|
|
13584
|
+
function create_fragment$g(ctx) {
|
|
13431
13585
|
let if_block_anchor;
|
|
13432
13586
|
let current;
|
|
13433
13587
|
let if_block =
|
|
13434
13588
|
/*show*/
|
|
13435
|
-
ctx[1] && create_if_block$
|
|
13589
|
+
ctx[1] && create_if_block$6(ctx);
|
|
13436
13590
|
return {
|
|
13437
13591
|
c() {
|
|
13438
13592
|
if (if_block) if_block.c();
|
|
@@ -13459,7 +13613,7 @@
|
|
|
13459
13613
|
transition_in(if_block, 1);
|
|
13460
13614
|
}
|
|
13461
13615
|
} else {
|
|
13462
|
-
if_block = create_if_block$
|
|
13616
|
+
if_block = create_if_block$6(ctx);
|
|
13463
13617
|
if_block.c();
|
|
13464
13618
|
transition_in(if_block, 1);
|
|
13465
13619
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13492,7 +13646,7 @@
|
|
|
13492
13646
|
};
|
|
13493
13647
|
}
|
|
13494
13648
|
|
|
13495
|
-
function instance$
|
|
13649
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
13496
13650
|
let iconType;
|
|
13497
13651
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
13498
13652
|
let {
|
|
@@ -13534,7 +13688,7 @@
|
|
|
13534
13688
|
target: this.shadowRoot,
|
|
13535
13689
|
props: attribute_to_object(this.attributes),
|
|
13536
13690
|
customElement: true
|
|
13537
|
-
}, instance$
|
|
13691
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
13538
13692
|
type: 0
|
|
13539
13693
|
}, null);
|
|
13540
13694
|
|
|
@@ -13576,7 +13730,7 @@
|
|
|
13576
13730
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
13577
13731
|
|
|
13578
13732
|
|
|
13579
|
-
function create_fragment$
|
|
13733
|
+
function create_fragment$f(ctx) {
|
|
13580
13734
|
let div;
|
|
13581
13735
|
let slot;
|
|
13582
13736
|
let div_style_value;
|
|
@@ -13616,7 +13770,7 @@
|
|
|
13616
13770
|
};
|
|
13617
13771
|
}
|
|
13618
13772
|
|
|
13619
|
-
function instance$
|
|
13773
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
13620
13774
|
const Sizes = {
|
|
13621
13775
|
"full": "100%"
|
|
13622
13776
|
};
|
|
@@ -13657,7 +13811,7 @@
|
|
|
13657
13811
|
target: this.shadowRoot,
|
|
13658
13812
|
props: attribute_to_object(this.attributes),
|
|
13659
13813
|
customElement: true
|
|
13660
|
-
}, instance$
|
|
13814
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
13661
13815
|
width: 1,
|
|
13662
13816
|
_width: 0
|
|
13663
13817
|
}, null);
|
|
@@ -13705,7 +13859,7 @@
|
|
|
13705
13859
|
customElements.define("goa-page-block", PageBlock);
|
|
13706
13860
|
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
13707
13861
|
|
|
13708
|
-
function create_if_block$
|
|
13862
|
+
function create_if_block$5(ctx) {
|
|
13709
13863
|
let goa_block;
|
|
13710
13864
|
let span0;
|
|
13711
13865
|
let t1;
|
|
@@ -13803,7 +13957,7 @@
|
|
|
13803
13957
|
};
|
|
13804
13958
|
}
|
|
13805
13959
|
|
|
13806
|
-
function create_fragment$
|
|
13960
|
+
function create_fragment$e(ctx) {
|
|
13807
13961
|
let goa_block1;
|
|
13808
13962
|
let div;
|
|
13809
13963
|
let t0;
|
|
@@ -13819,7 +13973,7 @@
|
|
|
13819
13973
|
let dispose;
|
|
13820
13974
|
let if_block =
|
|
13821
13975
|
/*variant*/
|
|
13822
|
-
ctx[1] === "all" && create_if_block$
|
|
13976
|
+
ctx[1] === "all" && create_if_block$5(ctx);
|
|
13823
13977
|
return {
|
|
13824
13978
|
c() {
|
|
13825
13979
|
goa_block1 = element("goa-block");
|
|
@@ -13893,7 +14047,7 @@
|
|
|
13893
14047
|
if (if_block) {
|
|
13894
14048
|
if_block.p(ctx, dirty);
|
|
13895
14049
|
} else {
|
|
13896
|
-
if_block = create_if_block$
|
|
14050
|
+
if_block = create_if_block$5(ctx);
|
|
13897
14051
|
if_block.c();
|
|
13898
14052
|
if_block.m(div, t0);
|
|
13899
14053
|
}
|
|
@@ -13966,7 +14120,7 @@
|
|
|
13966
14120
|
};
|
|
13967
14121
|
}
|
|
13968
14122
|
|
|
13969
|
-
function instance$
|
|
14123
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
13970
14124
|
let _pageCount;
|
|
13971
14125
|
|
|
13972
14126
|
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
@@ -14092,7 +14246,7 @@
|
|
|
14092
14246
|
target: this.shadowRoot,
|
|
14093
14247
|
props: attribute_to_object(this.attributes),
|
|
14094
14248
|
customElement: true
|
|
14095
|
-
}, instance$
|
|
14249
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
14096
14250
|
pagenumber: 0,
|
|
14097
14251
|
itemcount: 10,
|
|
14098
14252
|
perpagecount: 11,
|
|
@@ -14402,7 +14556,7 @@
|
|
|
14402
14556
|
};
|
|
14403
14557
|
}
|
|
14404
14558
|
|
|
14405
|
-
function create_fragment$
|
|
14559
|
+
function create_fragment$d(ctx) {
|
|
14406
14560
|
let div;
|
|
14407
14561
|
let slot;
|
|
14408
14562
|
let t;
|
|
@@ -14525,7 +14679,7 @@
|
|
|
14525
14679
|
};
|
|
14526
14680
|
}
|
|
14527
14681
|
|
|
14528
|
-
function instance$
|
|
14682
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
14529
14683
|
let isDisabled;
|
|
14530
14684
|
let isError;
|
|
14531
14685
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -14669,7 +14823,7 @@
|
|
|
14669
14823
|
target: this.shadowRoot,
|
|
14670
14824
|
props: attribute_to_object(this.attributes),
|
|
14671
14825
|
customElement: true
|
|
14672
|
-
}, instance$
|
|
14826
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
14673
14827
|
name: 1,
|
|
14674
14828
|
value: 0,
|
|
14675
14829
|
orientation: 2,
|
|
@@ -14825,7 +14979,7 @@
|
|
|
14825
14979
|
customElements.define("goa-radio-group", RadioGroup);
|
|
14826
14980
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
14827
14981
|
|
|
14828
|
-
function create_fragment$
|
|
14982
|
+
function create_fragment$c(ctx) {
|
|
14829
14983
|
let div;
|
|
14830
14984
|
let slot;
|
|
14831
14985
|
let div_style_value;
|
|
@@ -14910,7 +15064,7 @@
|
|
|
14910
15064
|
};
|
|
14911
15065
|
}
|
|
14912
15066
|
|
|
14913
|
-
function instance$
|
|
15067
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
14914
15068
|
let {
|
|
14915
15069
|
direction = "vertical"
|
|
14916
15070
|
} = $$props;
|
|
@@ -14976,7 +15130,7 @@
|
|
|
14976
15130
|
target: this.shadowRoot,
|
|
14977
15131
|
props: attribute_to_object(this.attributes),
|
|
14978
15132
|
customElement: true
|
|
14979
|
-
}, instance$
|
|
15133
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
14980
15134
|
direction: 0,
|
|
14981
15135
|
hpadding: 1,
|
|
14982
15136
|
vpadding: 2,
|
|
@@ -15076,10 +15230,10 @@
|
|
|
15076
15230
|
const child_ctx = ctx.slice();
|
|
15077
15231
|
child_ctx[13] = list[i];
|
|
15078
15232
|
return child_ctx;
|
|
15079
|
-
} // (
|
|
15233
|
+
} // (81:2) {:else}
|
|
15080
15234
|
|
|
15081
15235
|
|
|
15082
|
-
function create_else_block$
|
|
15236
|
+
function create_else_block$2(ctx) {
|
|
15083
15237
|
let div;
|
|
15084
15238
|
let div_class_value;
|
|
15085
15239
|
return {
|
|
@@ -15120,10 +15274,131 @@
|
|
|
15120
15274
|
}
|
|
15121
15275
|
|
|
15122
15276
|
};
|
|
15123
|
-
} // (
|
|
15277
|
+
} // (68:31)
|
|
15124
15278
|
|
|
15125
15279
|
|
|
15126
|
-
function
|
|
15280
|
+
function create_if_block_3$1(ctx) {
|
|
15281
|
+
let div3;
|
|
15282
|
+
let div2;
|
|
15283
|
+
let div0;
|
|
15284
|
+
let skeleton0;
|
|
15285
|
+
let t0;
|
|
15286
|
+
let div1;
|
|
15287
|
+
let skeleton1;
|
|
15288
|
+
let t1;
|
|
15289
|
+
let skeleton2;
|
|
15290
|
+
let t2;
|
|
15291
|
+
let skeleton3;
|
|
15292
|
+
let current;
|
|
15293
|
+
skeleton0 = new Skeleton({
|
|
15294
|
+
props: {
|
|
15295
|
+
type: "image",
|
|
15296
|
+
size:
|
|
15297
|
+
/*size*/
|
|
15298
|
+
ctx[1]
|
|
15299
|
+
}
|
|
15300
|
+
});
|
|
15301
|
+
skeleton1 = new Skeleton({
|
|
15302
|
+
props: {
|
|
15303
|
+
type: "header",
|
|
15304
|
+
size: "4"
|
|
15305
|
+
}
|
|
15306
|
+
});
|
|
15307
|
+
skeleton2 = new Skeleton({
|
|
15308
|
+
props: {
|
|
15309
|
+
type: "header",
|
|
15310
|
+
size: "1"
|
|
15311
|
+
}
|
|
15312
|
+
});
|
|
15313
|
+
skeleton3 = new Skeleton({
|
|
15314
|
+
props: {
|
|
15315
|
+
type: "lines",
|
|
15316
|
+
size:
|
|
15317
|
+
/*size*/
|
|
15318
|
+
ctx[1]
|
|
15319
|
+
}
|
|
15320
|
+
});
|
|
15321
|
+
return {
|
|
15322
|
+
c() {
|
|
15323
|
+
div3 = element("div");
|
|
15324
|
+
div2 = element("div");
|
|
15325
|
+
div0 = element("div");
|
|
15326
|
+
create_component(skeleton0.$$.fragment);
|
|
15327
|
+
t0 = space();
|
|
15328
|
+
div1 = element("div");
|
|
15329
|
+
create_component(skeleton1.$$.fragment);
|
|
15330
|
+
t1 = space();
|
|
15331
|
+
create_component(skeleton2.$$.fragment);
|
|
15332
|
+
t2 = space();
|
|
15333
|
+
create_component(skeleton3.$$.fragment);
|
|
15334
|
+
set_style(div0, "flex", "1 1 auto");
|
|
15335
|
+
set_style(div1, "flex", "2 2 auto");
|
|
15336
|
+
set_style(div2, "display", "flex");
|
|
15337
|
+
set_style(div2, "gap", "1rem");
|
|
15338
|
+
},
|
|
15339
|
+
|
|
15340
|
+
m(target, anchor) {
|
|
15341
|
+
insert(target, div3, anchor);
|
|
15342
|
+
append(div3, div2);
|
|
15343
|
+
append(div2, div0);
|
|
15344
|
+
mount_component(skeleton0, div0, null);
|
|
15345
|
+
append(div2, t0);
|
|
15346
|
+
append(div2, div1);
|
|
15347
|
+
mount_component(skeleton1, div1, null);
|
|
15348
|
+
append(div1, t1);
|
|
15349
|
+
mount_component(skeleton2, div1, null);
|
|
15350
|
+
append(div3, t2);
|
|
15351
|
+
mount_component(skeleton3, div3, null);
|
|
15352
|
+
current = true;
|
|
15353
|
+
},
|
|
15354
|
+
|
|
15355
|
+
p(ctx, dirty) {
|
|
15356
|
+
const skeleton0_changes = {};
|
|
15357
|
+
if (dirty &
|
|
15358
|
+
/*size*/
|
|
15359
|
+
2) skeleton0_changes.size =
|
|
15360
|
+
/*size*/
|
|
15361
|
+
ctx[1];
|
|
15362
|
+
skeleton0.$set(skeleton0_changes);
|
|
15363
|
+
const skeleton3_changes = {};
|
|
15364
|
+
if (dirty &
|
|
15365
|
+
/*size*/
|
|
15366
|
+
2) skeleton3_changes.size =
|
|
15367
|
+
/*size*/
|
|
15368
|
+
ctx[1];
|
|
15369
|
+
skeleton3.$set(skeleton3_changes);
|
|
15370
|
+
},
|
|
15371
|
+
|
|
15372
|
+
i(local) {
|
|
15373
|
+
if (current) return;
|
|
15374
|
+
transition_in(skeleton0.$$.fragment, local);
|
|
15375
|
+
transition_in(skeleton1.$$.fragment, local);
|
|
15376
|
+
transition_in(skeleton2.$$.fragment, local);
|
|
15377
|
+
transition_in(skeleton3.$$.fragment, local);
|
|
15378
|
+
current = true;
|
|
15379
|
+
},
|
|
15380
|
+
|
|
15381
|
+
o(local) {
|
|
15382
|
+
transition_out(skeleton0.$$.fragment, local);
|
|
15383
|
+
transition_out(skeleton1.$$.fragment, local);
|
|
15384
|
+
transition_out(skeleton2.$$.fragment, local);
|
|
15385
|
+
transition_out(skeleton3.$$.fragment, local);
|
|
15386
|
+
current = false;
|
|
15387
|
+
},
|
|
15388
|
+
|
|
15389
|
+
d(detaching) {
|
|
15390
|
+
if (detaching) detach(div3);
|
|
15391
|
+
destroy_component(skeleton0);
|
|
15392
|
+
destroy_component(skeleton1);
|
|
15393
|
+
destroy_component(skeleton2);
|
|
15394
|
+
destroy_component(skeleton3);
|
|
15395
|
+
}
|
|
15396
|
+
|
|
15397
|
+
};
|
|
15398
|
+
} // (64:29)
|
|
15399
|
+
|
|
15400
|
+
|
|
15401
|
+
function create_if_block_2$1(ctx) {
|
|
15127
15402
|
let each_1_anchor;
|
|
15128
15403
|
let current;
|
|
15129
15404
|
let each_value = Array(Number.parseInt(
|
|
@@ -15216,10 +15491,10 @@
|
|
|
15216
15491
|
}
|
|
15217
15492
|
|
|
15218
15493
|
};
|
|
15219
|
-
} // (
|
|
15494
|
+
} // (54:31)
|
|
15220
15495
|
|
|
15221
15496
|
|
|
15222
|
-
function create_if_block_1(ctx) {
|
|
15497
|
+
function create_if_block_1$1(ctx) {
|
|
15223
15498
|
let div2;
|
|
15224
15499
|
let div0;
|
|
15225
15500
|
let skeleton0;
|
|
@@ -15338,10 +15613,10 @@
|
|
|
15338
15613
|
}
|
|
15339
15614
|
|
|
15340
15615
|
};
|
|
15341
|
-
} // (
|
|
15616
|
+
} // (43:2) {#if type === "card"}
|
|
15342
15617
|
|
|
15343
15618
|
|
|
15344
|
-
function create_if_block$
|
|
15619
|
+
function create_if_block$4(ctx) {
|
|
15345
15620
|
let div1;
|
|
15346
15621
|
let skeleton0;
|
|
15347
15622
|
let t0;
|
|
@@ -15475,7 +15750,7 @@
|
|
|
15475
15750
|
}
|
|
15476
15751
|
|
|
15477
15752
|
};
|
|
15478
|
-
} // (
|
|
15753
|
+
} // (65:4) {#each Array(Number.parseInt(linecount+"")) as _item}
|
|
15479
15754
|
|
|
15480
15755
|
|
|
15481
15756
|
function create_each_block(ctx) {
|
|
@@ -15535,13 +15810,13 @@
|
|
|
15535
15810
|
};
|
|
15536
15811
|
}
|
|
15537
15812
|
|
|
15538
|
-
function create_fragment$
|
|
15813
|
+
function create_fragment$b(ctx) {
|
|
15539
15814
|
let div;
|
|
15540
15815
|
let current_block_type_index;
|
|
15541
15816
|
let if_block;
|
|
15542
15817
|
let div_style_value;
|
|
15543
15818
|
let current;
|
|
15544
|
-
const if_block_creators = [create_if_block$
|
|
15819
|
+
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];
|
|
15545
15820
|
const if_blocks = [];
|
|
15546
15821
|
|
|
15547
15822
|
function select_block_type(ctx, dirty) {
|
|
@@ -15554,7 +15829,10 @@
|
|
|
15554
15829
|
if (
|
|
15555
15830
|
/*type*/
|
|
15556
15831
|
ctx[3] === "lines") return 2;
|
|
15557
|
-
|
|
15832
|
+
if (
|
|
15833
|
+
/*type*/
|
|
15834
|
+
ctx[3] === "article") return 3;
|
|
15835
|
+
return 4;
|
|
15558
15836
|
}
|
|
15559
15837
|
|
|
15560
15838
|
current_block_type_index = select_block_type(ctx);
|
|
@@ -15651,8 +15929,8 @@
|
|
|
15651
15929
|
};
|
|
15652
15930
|
}
|
|
15653
15931
|
|
|
15654
|
-
function instance$
|
|
15655
|
-
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "
|
|
15932
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
15933
|
+
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "lines", "profile", "article"], true);
|
|
15656
15934
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
15657
15935
|
let {
|
|
15658
15936
|
maxwidth = ""
|
|
@@ -15709,7 +15987,7 @@
|
|
|
15709
15987
|
target: this.shadowRoot,
|
|
15710
15988
|
props: attribute_to_object(this.attributes),
|
|
15711
15989
|
customElement: true
|
|
15712
|
-
}, instance$
|
|
15990
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
15713
15991
|
maxwidth: 0,
|
|
15714
15992
|
size: 1,
|
|
15715
15993
|
linecount: 2,
|
|
@@ -15841,7 +16119,7 @@
|
|
|
15841
16119
|
customElements.define("goa-skeleton", Skeleton);
|
|
15842
16120
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
15843
16121
|
|
|
15844
|
-
function create_fragment$
|
|
16122
|
+
function create_fragment$a(ctx) {
|
|
15845
16123
|
let div;
|
|
15846
16124
|
return {
|
|
15847
16125
|
c() {
|
|
@@ -15870,7 +16148,7 @@
|
|
|
15870
16148
|
};
|
|
15871
16149
|
}
|
|
15872
16150
|
|
|
15873
|
-
function instance$
|
|
16151
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
15874
16152
|
let {
|
|
15875
16153
|
hspacing = "none"
|
|
15876
16154
|
} = $$props;
|
|
@@ -15880,7 +16158,8 @@
|
|
|
15880
16158
|
let rootEl;
|
|
15881
16159
|
onMount(() => {
|
|
15882
16160
|
injectCss(rootEl, ":host", {
|
|
15883
|
-
|
|
16161
|
+
display: "block",
|
|
16162
|
+
width: hspacing === "fill" ? "100%" : `var(--goa-space-${hspacing})`,
|
|
15884
16163
|
height: `var(--goa-space-${vspacing})`
|
|
15885
16164
|
});
|
|
15886
16165
|
});
|
|
@@ -15907,7 +16186,7 @@
|
|
|
15907
16186
|
target: this.shadowRoot,
|
|
15908
16187
|
props: attribute_to_object(this.attributes),
|
|
15909
16188
|
customElement: true
|
|
15910
|
-
}, instance$
|
|
16189
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
15911
16190
|
hspacing: 1,
|
|
15912
16191
|
vspacing: 2
|
|
15913
16192
|
}, null);
|
|
@@ -16139,7 +16418,7 @@
|
|
|
16139
16418
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
16140
16419
|
|
|
16141
16420
|
|
|
16142
|
-
function create_if_block$
|
|
16421
|
+
function create_if_block$3(ctx) {
|
|
16143
16422
|
let svg;
|
|
16144
16423
|
let circle;
|
|
16145
16424
|
let circle_stroke_value;
|
|
@@ -16329,11 +16608,11 @@
|
|
|
16329
16608
|
};
|
|
16330
16609
|
}
|
|
16331
16610
|
|
|
16332
|
-
function create_fragment$
|
|
16611
|
+
function create_fragment$9(ctx) {
|
|
16333
16612
|
let if_block_anchor;
|
|
16334
16613
|
let if_block =
|
|
16335
16614
|
/*ready*/
|
|
16336
|
-
ctx[6] && create_if_block$
|
|
16615
|
+
ctx[6] && create_if_block$3(ctx);
|
|
16337
16616
|
return {
|
|
16338
16617
|
c() {
|
|
16339
16618
|
if (if_block) if_block.c();
|
|
@@ -16353,7 +16632,7 @@
|
|
|
16353
16632
|
if (if_block) {
|
|
16354
16633
|
if_block.p(ctx, dirty);
|
|
16355
16634
|
} else {
|
|
16356
|
-
if_block = create_if_block$
|
|
16635
|
+
if_block = create_if_block$3(ctx);
|
|
16357
16636
|
if_block.c();
|
|
16358
16637
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
16359
16638
|
}
|
|
@@ -16374,7 +16653,7 @@
|
|
|
16374
16653
|
};
|
|
16375
16654
|
}
|
|
16376
16655
|
|
|
16377
|
-
function instance$
|
|
16656
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
16378
16657
|
let diameter;
|
|
16379
16658
|
let strokewidth;
|
|
16380
16659
|
let radius;
|
|
@@ -16505,7 +16784,7 @@
|
|
|
16505
16784
|
target: this.shadowRoot,
|
|
16506
16785
|
props: attribute_to_object(this.attributes),
|
|
16507
16786
|
customElement: true
|
|
16508
|
-
}, instance$
|
|
16787
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
16509
16788
|
size: 10,
|
|
16510
16789
|
invert: 0,
|
|
16511
16790
|
progress: 11,
|
|
@@ -16577,7 +16856,7 @@
|
|
|
16577
16856
|
customElements.define("goa-spinner", Spinner);
|
|
16578
16857
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
16579
16858
|
|
|
16580
|
-
function create_fragment$
|
|
16859
|
+
function create_fragment$8(ctx) {
|
|
16581
16860
|
let table;
|
|
16582
16861
|
let slot;
|
|
16583
16862
|
let t0;
|
|
@@ -16679,7 +16958,7 @@
|
|
|
16679
16958
|
};
|
|
16680
16959
|
}
|
|
16681
16960
|
|
|
16682
|
-
function instance$
|
|
16961
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
16683
16962
|
const attachSortEventHandling = function attachSortEventHandling() {
|
|
16684
16963
|
return _call(tick, function () {
|
|
16685
16964
|
const headings = _rootEl.querySelectorAll("goa-table-sort-header");
|
|
@@ -16793,7 +17072,7 @@
|
|
|
16793
17072
|
target: this.shadowRoot,
|
|
16794
17073
|
props: attribute_to_object(this.attributes),
|
|
16795
17074
|
customElement: true
|
|
16796
|
-
}, instance$
|
|
17075
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
16797
17076
|
width: 0,
|
|
16798
17077
|
stickyheader: 8,
|
|
16799
17078
|
variant: 1,
|
|
@@ -16901,7 +17180,7 @@
|
|
|
16901
17180
|
customElements.define("goa-table", Table);
|
|
16902
17181
|
/* libs/web-components/src/components/table/TableSortHeader.svelte generated by Svelte v3.51.0 */
|
|
16903
17182
|
|
|
16904
|
-
function create_else_block(ctx) {
|
|
17183
|
+
function create_else_block$1(ctx) {
|
|
16905
17184
|
let img;
|
|
16906
17185
|
let img_src_value;
|
|
16907
17186
|
return {
|
|
@@ -16946,7 +17225,7 @@
|
|
|
16946
17225
|
} // (55:2) {#if direction === "none"}
|
|
16947
17226
|
|
|
16948
17227
|
|
|
16949
|
-
function create_if_block(ctx) {
|
|
17228
|
+
function create_if_block$2(ctx) {
|
|
16950
17229
|
let img;
|
|
16951
17230
|
let img_src_value;
|
|
16952
17231
|
return {
|
|
@@ -16969,7 +17248,7 @@
|
|
|
16969
17248
|
};
|
|
16970
17249
|
}
|
|
16971
17250
|
|
|
16972
|
-
function create_fragment$
|
|
17251
|
+
function create_fragment$7(ctx) {
|
|
16973
17252
|
let button;
|
|
16974
17253
|
let slot;
|
|
16975
17254
|
let t;
|
|
@@ -16977,8 +17256,8 @@
|
|
|
16977
17256
|
function select_block_type(ctx, dirty) {
|
|
16978
17257
|
if (
|
|
16979
17258
|
/*direction*/
|
|
16980
|
-
ctx[0] === "none") return create_if_block;
|
|
16981
|
-
return create_else_block;
|
|
17259
|
+
ctx[0] === "none") return create_if_block$2;
|
|
17260
|
+
return create_else_block$1;
|
|
16982
17261
|
}
|
|
16983
17262
|
|
|
16984
17263
|
let current_block_type = select_block_type(ctx);
|
|
@@ -17024,7 +17303,7 @@
|
|
|
17024
17303
|
};
|
|
17025
17304
|
}
|
|
17026
17305
|
|
|
17027
|
-
function instance$
|
|
17306
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
17028
17307
|
let {
|
|
17029
17308
|
direction = "none"
|
|
17030
17309
|
} = $$props;
|
|
@@ -17044,7 +17323,7 @@
|
|
|
17044
17323
|
target: this.shadowRoot,
|
|
17045
17324
|
props: attribute_to_object(this.attributes),
|
|
17046
17325
|
customElement: true
|
|
17047
|
-
}, instance$
|
|
17326
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
17048
17327
|
direction: 0
|
|
17049
17328
|
}, null);
|
|
17050
17329
|
|
|
@@ -17080,7 +17359,7 @@
|
|
|
17080
17359
|
customElements.define("goa-table-sort-header", TableSortHeader);
|
|
17081
17360
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
17082
17361
|
|
|
17083
|
-
function create_fragment$
|
|
17362
|
+
function create_fragment$6(ctx) {
|
|
17084
17363
|
let div;
|
|
17085
17364
|
let textarea;
|
|
17086
17365
|
let textarea_aria_label_value;
|
|
@@ -17261,7 +17540,7 @@
|
|
|
17261
17540
|
};
|
|
17262
17541
|
}
|
|
17263
17542
|
|
|
17264
|
-
function instance$
|
|
17543
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
17265
17544
|
let isError;
|
|
17266
17545
|
let isDisabled;
|
|
17267
17546
|
let isReadonly;
|
|
@@ -17378,7 +17657,7 @@
|
|
|
17378
17657
|
target: this.shadowRoot,
|
|
17379
17658
|
props: attribute_to_object(this.attributes),
|
|
17380
17659
|
customElement: true
|
|
17381
|
-
}, instance$
|
|
17660
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
17382
17661
|
name: 0,
|
|
17383
17662
|
value: 1,
|
|
17384
17663
|
placeholder: 2,
|
|
@@ -17582,7 +17861,7 @@
|
|
|
17582
17861
|
customElements.define("goa-textarea", TextArea);
|
|
17583
17862
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
|
|
17584
17863
|
|
|
17585
|
-
function create_fragment$
|
|
17864
|
+
function create_fragment$5(ctx) {
|
|
17586
17865
|
let div;
|
|
17587
17866
|
return {
|
|
17588
17867
|
c() {
|
|
@@ -17626,7 +17905,7 @@
|
|
|
17626
17905
|
target: this.shadowRoot,
|
|
17627
17906
|
props: attribute_to_object(this.attributes),
|
|
17628
17907
|
customElement: true
|
|
17629
|
-
}, null, create_fragment$
|
|
17908
|
+
}, null, create_fragment$5, safe_not_equal, {}, null);
|
|
17630
17909
|
|
|
17631
17910
|
if (options) {
|
|
17632
17911
|
if (options.target) {
|
|
@@ -17640,7 +17919,7 @@
|
|
|
17640
17919
|
customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
|
|
17641
17920
|
/* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
17642
17921
|
|
|
17643
|
-
function create_fragment$
|
|
17922
|
+
function create_fragment$4(ctx) {
|
|
17644
17923
|
let div;
|
|
17645
17924
|
return {
|
|
17646
17925
|
c() {
|
|
@@ -17677,7 +17956,7 @@
|
|
|
17677
17956
|
target: this.shadowRoot,
|
|
17678
17957
|
props: attribute_to_object(this.attributes),
|
|
17679
17958
|
customElement: true
|
|
17680
|
-
}, null, create_fragment$
|
|
17959
|
+
}, null, create_fragment$4, safe_not_equal, {}, null);
|
|
17681
17960
|
|
|
17682
17961
|
if (options) {
|
|
17683
17962
|
if (options.target) {
|
|
@@ -17691,7 +17970,7 @@
|
|
|
17691
17970
|
customElements.define("goa-one-column-layout", OneColumnLayout);
|
|
17692
17971
|
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
17693
17972
|
|
|
17694
|
-
function create_fragment(ctx) {
|
|
17973
|
+
function create_fragment$3(ctx) {
|
|
17695
17974
|
let div;
|
|
17696
17975
|
let header;
|
|
17697
17976
|
let t0;
|
|
@@ -17761,7 +18040,7 @@
|
|
|
17761
18040
|
};
|
|
17762
18041
|
}
|
|
17763
18042
|
|
|
17764
|
-
function instance($$self, $$props, $$invalidate) {
|
|
18043
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
17765
18044
|
let {
|
|
17766
18045
|
navcolumnwidth = ""
|
|
17767
18046
|
} = $$props;
|
|
@@ -17785,7 +18064,7 @@
|
|
|
17785
18064
|
target: this.shadowRoot,
|
|
17786
18065
|
props: attribute_to_object(this.attributes),
|
|
17787
18066
|
customElement: true
|
|
17788
|
-
}, instance, create_fragment, safe_not_equal, {
|
|
18067
|
+
}, instance$3, create_fragment$3, safe_not_equal, {
|
|
17789
18068
|
navcolumnwidth: 0,
|
|
17790
18069
|
maxcontentwidth: 1
|
|
17791
18070
|
}, null);
|
|
@@ -17831,75 +18110,1363 @@
|
|
|
17831
18110
|
}
|
|
17832
18111
|
|
|
17833
18112
|
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
18113
|
+
/* libs/web-components/src/components/form-stepper/FormStepper.svelte generated by Svelte v3.51.0 */
|
|
17834
18114
|
|
|
17835
|
-
|
|
17836
|
-
|
|
17837
|
-
|
|
17838
|
-
|
|
17839
|
-
|
|
17840
|
-
|
|
17841
|
-
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
17850
|
-
|
|
17851
|
-
|
|
17852
|
-
|
|
17853
|
-
|
|
17854
|
-
|
|
17855
|
-
|
|
17856
|
-
|
|
17857
|
-
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17862
|
-
|
|
17863
|
-
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
17867
|
-
|
|
17868
|
-
|
|
17869
|
-
|
|
17870
|
-
|
|
18115
|
+
function create_if_block$1(ctx) {
|
|
18116
|
+
let progress0;
|
|
18117
|
+
let t;
|
|
18118
|
+
let progress1;
|
|
18119
|
+
return {
|
|
18120
|
+
c() {
|
|
18121
|
+
progress0 = element("progress");
|
|
18122
|
+
t = space();
|
|
18123
|
+
progress1 = element("progress");
|
|
18124
|
+
attr(progress0, "class", "horizontal");
|
|
18125
|
+
progress0.value =
|
|
18126
|
+
/*_progress*/
|
|
18127
|
+
ctx[11];
|
|
18128
|
+
attr(progress0, "max", "100");
|
|
18129
|
+
attr(progress1, "class", "vertical");
|
|
18130
|
+
progress1.value =
|
|
18131
|
+
/*_progress*/
|
|
18132
|
+
ctx[11];
|
|
18133
|
+
attr(progress1, "max", "100");
|
|
18134
|
+
},
|
|
18135
|
+
|
|
18136
|
+
m(target, anchor) {
|
|
18137
|
+
insert(target, progress0, anchor);
|
|
18138
|
+
insert(target, t, anchor);
|
|
18139
|
+
insert(target, progress1, anchor);
|
|
18140
|
+
},
|
|
18141
|
+
|
|
18142
|
+
p(ctx, dirty) {
|
|
18143
|
+
if (dirty &
|
|
18144
|
+
/*_progress*/
|
|
18145
|
+
2048) {
|
|
18146
|
+
progress0.value =
|
|
18147
|
+
/*_progress*/
|
|
18148
|
+
ctx[11];
|
|
18149
|
+
}
|
|
18150
|
+
|
|
18151
|
+
if (dirty &
|
|
18152
|
+
/*_progress*/
|
|
18153
|
+
2048) {
|
|
18154
|
+
progress1.value =
|
|
18155
|
+
/*_progress*/
|
|
18156
|
+
ctx[11];
|
|
18157
|
+
}
|
|
18158
|
+
},
|
|
18159
|
+
|
|
18160
|
+
d(detaching) {
|
|
18161
|
+
if (detaching) detach(progress0);
|
|
18162
|
+
if (detaching) detach(t);
|
|
18163
|
+
if (detaching) detach(progress1);
|
|
18164
|
+
}
|
|
18165
|
+
|
|
18166
|
+
};
|
|
17871
18167
|
}
|
|
17872
18168
|
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
17876
|
-
|
|
17877
|
-
|
|
17878
|
-
|
|
17879
|
-
|
|
17880
|
-
|
|
17881
|
-
|
|
17882
|
-
|
|
17883
|
-
|
|
17884
|
-
|
|
17885
|
-
|
|
17886
|
-
|
|
17887
|
-
|
|
17888
|
-
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
|
|
17893
|
-
|
|
17894
|
-
|
|
17895
|
-
|
|
17896
|
-
|
|
17897
|
-
|
|
17898
|
-
|
|
17899
|
-
|
|
17900
|
-
|
|
17901
|
-
|
|
17902
|
-
|
|
18169
|
+
function create_fragment$2(ctx) {
|
|
18170
|
+
let section;
|
|
18171
|
+
let div1;
|
|
18172
|
+
let t;
|
|
18173
|
+
let div0;
|
|
18174
|
+
let div1_style_value;
|
|
18175
|
+
let if_block =
|
|
18176
|
+
/*_steps*/
|
|
18177
|
+
ctx[4].length > 0 &&
|
|
18178
|
+
/*_showProgressBars*/
|
|
18179
|
+
ctx[10] && create_if_block$1(ctx);
|
|
18180
|
+
return {
|
|
18181
|
+
c() {
|
|
18182
|
+
section = element("section");
|
|
18183
|
+
div1 = element("div");
|
|
18184
|
+
if (if_block) if_block.c();
|
|
18185
|
+
t = space();
|
|
18186
|
+
div0 = element("div");
|
|
18187
|
+
div0.innerHTML = `<goa-grid minchildwidth="1px"><slot></slot></goa-grid>`;
|
|
18188
|
+
this.c = noop;
|
|
18189
|
+
attr(div0, "class", "slots");
|
|
18190
|
+
attr(div1, "class", "form-stepper");
|
|
18191
|
+
attr(div1, "style", div1_style_value = `
|
|
18192
|
+
${calculateMargin(
|
|
18193
|
+
/*mt*/
|
|
18194
|
+
ctx[0],
|
|
18195
|
+
/*mr*/
|
|
18196
|
+
ctx[1],
|
|
18197
|
+
/*mb*/
|
|
18198
|
+
ctx[2],
|
|
18199
|
+
/*ml*/
|
|
18200
|
+
ctx[3])};
|
|
18201
|
+
--progress: ${
|
|
18202
|
+
/*_progress*/
|
|
18203
|
+
ctx[11]}%;
|
|
18204
|
+
--step-width: ${
|
|
18205
|
+
/*_stepWidth*/
|
|
18206
|
+
ctx[7]}px;
|
|
18207
|
+
--step-height: ${
|
|
18208
|
+
/*_stepHeight*/
|
|
18209
|
+
ctx[8]}px;
|
|
18210
|
+
--height: ${
|
|
18211
|
+
/*_progressHeight*/
|
|
18212
|
+
ctx[9]}px;
|
|
18213
|
+
`);
|
|
18214
|
+
attr(section, "role", "list");
|
|
18215
|
+
},
|
|
18216
|
+
|
|
18217
|
+
m(target, anchor) {
|
|
18218
|
+
insert(target, section, anchor);
|
|
18219
|
+
append(section, div1);
|
|
18220
|
+
if (if_block) if_block.m(div1, null);
|
|
18221
|
+
append(div1, t);
|
|
18222
|
+
append(div1, div0);
|
|
18223
|
+
/*div0_binding*/
|
|
18224
|
+
|
|
18225
|
+
ctx[15](div0);
|
|
18226
|
+
/*div1_binding*/
|
|
18227
|
+
|
|
18228
|
+
ctx[16](div1);
|
|
18229
|
+
},
|
|
18230
|
+
|
|
18231
|
+
p(ctx, [dirty]) {
|
|
18232
|
+
if (
|
|
18233
|
+
/*_steps*/
|
|
18234
|
+
ctx[4].length > 0 &&
|
|
18235
|
+
/*_showProgressBars*/
|
|
18236
|
+
ctx[10]) {
|
|
18237
|
+
if (if_block) {
|
|
18238
|
+
if_block.p(ctx, dirty);
|
|
18239
|
+
} else {
|
|
18240
|
+
if_block = create_if_block$1(ctx);
|
|
18241
|
+
if_block.c();
|
|
18242
|
+
if_block.m(div1, t);
|
|
18243
|
+
}
|
|
18244
|
+
} else if (if_block) {
|
|
18245
|
+
if_block.d(1);
|
|
18246
|
+
if_block = null;
|
|
18247
|
+
}
|
|
18248
|
+
|
|
18249
|
+
if (dirty &
|
|
18250
|
+
/*mt, mr, mb, ml, _progress, _stepWidth, _stepHeight, _progressHeight*/
|
|
18251
|
+
2959 && div1_style_value !== (div1_style_value = `
|
|
18252
|
+
${calculateMargin(
|
|
18253
|
+
/*mt*/
|
|
18254
|
+
ctx[0],
|
|
18255
|
+
/*mr*/
|
|
18256
|
+
ctx[1],
|
|
18257
|
+
/*mb*/
|
|
18258
|
+
ctx[2],
|
|
18259
|
+
/*ml*/
|
|
18260
|
+
ctx[3])};
|
|
18261
|
+
--progress: ${
|
|
18262
|
+
/*_progress*/
|
|
18263
|
+
ctx[11]}%;
|
|
18264
|
+
--step-width: ${
|
|
18265
|
+
/*_stepWidth*/
|
|
18266
|
+
ctx[7]}px;
|
|
18267
|
+
--step-height: ${
|
|
18268
|
+
/*_stepHeight*/
|
|
18269
|
+
ctx[8]}px;
|
|
18270
|
+
--height: ${
|
|
18271
|
+
/*_progressHeight*/
|
|
18272
|
+
ctx[9]}px;
|
|
18273
|
+
`)) {
|
|
18274
|
+
attr(div1, "style", div1_style_value);
|
|
18275
|
+
}
|
|
18276
|
+
},
|
|
18277
|
+
|
|
18278
|
+
i: noop,
|
|
18279
|
+
o: noop,
|
|
18280
|
+
|
|
18281
|
+
d(detaching) {
|
|
18282
|
+
if (detaching) detach(section);
|
|
18283
|
+
if (if_block) if_block.d();
|
|
18284
|
+
/*div0_binding*/
|
|
18285
|
+
|
|
18286
|
+
ctx[15](null);
|
|
18287
|
+
/*div1_binding*/
|
|
18288
|
+
|
|
18289
|
+
ctx[16](null);
|
|
18290
|
+
}
|
|
18291
|
+
|
|
18292
|
+
};
|
|
18293
|
+
}
|
|
18294
|
+
|
|
18295
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
18296
|
+
let _progress;
|
|
18297
|
+
|
|
18298
|
+
let {
|
|
18299
|
+
step = -1
|
|
18300
|
+
} = $$props;
|
|
18301
|
+
let {
|
|
18302
|
+
mt = null
|
|
18303
|
+
} = $$props;
|
|
18304
|
+
let {
|
|
18305
|
+
mr = null
|
|
18306
|
+
} = $$props;
|
|
18307
|
+
let {
|
|
18308
|
+
mb = null
|
|
18309
|
+
} = $$props;
|
|
18310
|
+
let {
|
|
18311
|
+
ml = null
|
|
18312
|
+
} = $$props; // =======
|
|
18313
|
+
// Private
|
|
18314
|
+
// =======
|
|
18315
|
+
|
|
18316
|
+
let _rootEl; // events bound to it
|
|
18317
|
+
|
|
18318
|
+
|
|
18319
|
+
let _gridEl; // used to obtain component dimensions
|
|
18320
|
+
|
|
18321
|
+
|
|
18322
|
+
let _steps = []; // step DOM elements to allow for width calculations
|
|
18323
|
+
|
|
18324
|
+
let _stepWidth; // calculated x distance (px) between each step point
|
|
18325
|
+
|
|
18326
|
+
|
|
18327
|
+
let _stepHeight; // calculated y distance (px) between each step point
|
|
18328
|
+
|
|
18329
|
+
|
|
18330
|
+
let _progressHeight; // allow css calculations for mobile view
|
|
18331
|
+
|
|
18332
|
+
|
|
18333
|
+
let _maxAllowedStep = 1; // prevent users from using the stepper to access future steps
|
|
18334
|
+
|
|
18335
|
+
let _maxProgressStep = 1; // controls the progress bars value
|
|
18336
|
+
|
|
18337
|
+
let _showProgressBars = false; // delays the showing of the progress bars to prevent it from
|
|
18338
|
+
|
|
18339
|
+
onMount(function () {
|
|
18340
|
+
return _call(tick, function () {
|
|
18341
|
+
// children steps
|
|
18342
|
+
const slot = _rootEl.querySelector("slot");
|
|
18343
|
+
|
|
18344
|
+
if (slot) {
|
|
18345
|
+
$$invalidate(4, _steps = slot.assignedElements());
|
|
18346
|
+
} else {
|
|
18347
|
+
// for unit tests only
|
|
18348
|
+
$$invalidate(4, _steps = [..._rootEl.querySelector("goa-grid").children]);
|
|
18349
|
+
} // allow access to all steps if not step property is provided
|
|
18350
|
+
|
|
18351
|
+
|
|
18352
|
+
if (step <= 0) {
|
|
18353
|
+
$$invalidate(12, step = 1);
|
|
18354
|
+
setTimeout(() => {
|
|
18355
|
+
dispatch(step);
|
|
18356
|
+
}, 1);
|
|
18357
|
+
$$invalidate(13, _maxAllowedStep = _steps.length);
|
|
18358
|
+
} // set step a11y label
|
|
18359
|
+
|
|
18360
|
+
|
|
18361
|
+
_steps.forEach((_step, index) => {
|
|
18362
|
+
const s = _step;
|
|
18363
|
+
s.setAttribute("arialabel", `Step ${index + 1} of ${_steps.length}`);
|
|
18364
|
+
s.setAttribute("childindex", `${index + 1}`);
|
|
18365
|
+
}); // handle click events from progress items
|
|
18366
|
+
|
|
18367
|
+
|
|
18368
|
+
_rootEl.addEventListener("_click", e => {
|
|
18369
|
+
$$invalidate(12, step = e.detail);
|
|
18370
|
+
dispatch(step);
|
|
18371
|
+
});
|
|
18372
|
+
|
|
18373
|
+
setCurrentStepStatus(step);
|
|
18374
|
+
calcStepDims();
|
|
18375
|
+
setTimeout(() => {
|
|
18376
|
+
$$invalidate(10, _showProgressBars = true);
|
|
18377
|
+
}, 10); // add listener to recalculate the step widths
|
|
18378
|
+
|
|
18379
|
+
window.addEventListener('resize', calcStepDims);
|
|
18380
|
+
window.addEventListener('orientationchange', calcStepDims);
|
|
18381
|
+
return () => {
|
|
18382
|
+
window.removeEventListener('resize', calcStepDims);
|
|
18383
|
+
window.removeEventListener('orientationchange', calcStepDims);
|
|
18384
|
+
};
|
|
18385
|
+
});
|
|
18386
|
+
});
|
|
18387
|
+
|
|
18388
|
+
function dispatch(step) {
|
|
18389
|
+
_rootEl.dispatchEvent(new CustomEvent("_change", {
|
|
18390
|
+
composed: true,
|
|
18391
|
+
bubbles: true,
|
|
18392
|
+
detail: {
|
|
18393
|
+
step
|
|
18394
|
+
}
|
|
18395
|
+
}));
|
|
18396
|
+
}
|
|
18397
|
+
|
|
18398
|
+
function setCurrentStepStatus(step) {
|
|
18399
|
+
_steps.forEach((stepEl, index) => {
|
|
18400
|
+
stepEl.setAttribute("current", index === step - 1 ? "true" : "false");
|
|
18401
|
+
});
|
|
18402
|
+
}
|
|
18403
|
+
|
|
18404
|
+
function calcStepDims() {
|
|
18405
|
+
// timeout required, without it the _steps elements width was not yet updated
|
|
18406
|
+
setTimeout(() => {
|
|
18407
|
+
$$invalidate(7, _stepWidth = _steps.length > 0 && _steps[0].offsetWidth);
|
|
18408
|
+
$$invalidate(8, _stepHeight = _steps.length > 0 && _steps[0].offsetHeight);
|
|
18409
|
+
$$invalidate(9, _progressHeight = _gridEl === null || _gridEl === void 0 ? void 0 : _gridEl.offsetHeight);
|
|
18410
|
+
}, 1);
|
|
18411
|
+
}
|
|
18412
|
+
|
|
18413
|
+
function div0_binding($$value) {
|
|
18414
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18415
|
+
_gridEl = $$value;
|
|
18416
|
+
$$invalidate(6, _gridEl);
|
|
18417
|
+
});
|
|
18418
|
+
}
|
|
18419
|
+
|
|
18420
|
+
function div1_binding($$value) {
|
|
18421
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18422
|
+
_rootEl = $$value;
|
|
18423
|
+
$$invalidate(5, _rootEl);
|
|
18424
|
+
});
|
|
18425
|
+
}
|
|
18426
|
+
|
|
18427
|
+
$$self.$$set = $$props => {
|
|
18428
|
+
if ('step' in $$props) $$invalidate(12, step = $$props.step);
|
|
18429
|
+
if ('mt' in $$props) $$invalidate(0, mt = $$props.mt);
|
|
18430
|
+
if ('mr' in $$props) $$invalidate(1, mr = $$props.mr);
|
|
18431
|
+
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
18432
|
+
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
18433
|
+
};
|
|
18434
|
+
|
|
18435
|
+
$$self.$$.update = () => {
|
|
18436
|
+
if ($$self.$$.dirty &
|
|
18437
|
+
/*_steps, step, _maxProgressStep, _maxAllowedStep*/
|
|
18438
|
+
28688) {
|
|
18439
|
+
{
|
|
18440
|
+
if (_steps.length) {
|
|
18441
|
+
if (step > _maxProgressStep) $$invalidate(14, _maxProgressStep = step);
|
|
18442
|
+
if (step > _maxAllowedStep) $$invalidate(13, _maxAllowedStep = step);
|
|
18443
|
+
|
|
18444
|
+
_steps.forEach((stepEl, index) => {
|
|
18445
|
+
stepEl.setAttribute("enabled", index > _maxAllowedStep - 1 ? "false" : "true");
|
|
18446
|
+
});
|
|
18447
|
+
}
|
|
18448
|
+
}
|
|
18449
|
+
}
|
|
18450
|
+
|
|
18451
|
+
if ($$self.$$.dirty &
|
|
18452
|
+
/*_maxProgressStep, _steps*/
|
|
18453
|
+
16400) {
|
|
18454
|
+
// being temporarily visible with an unwanted offset
|
|
18455
|
+
// ========
|
|
18456
|
+
// Reactive
|
|
18457
|
+
// ========
|
|
18458
|
+
// handles the 1-based step value and the number of line segments is one less
|
|
18459
|
+
// than the number of steps
|
|
18460
|
+
$$invalidate(11, _progress = (_maxProgressStep - 1) / (_steps.length - 1) * 100);
|
|
18461
|
+
}
|
|
18462
|
+
|
|
18463
|
+
if ($$self.$$.dirty &
|
|
18464
|
+
/*step*/
|
|
18465
|
+
4096) {
|
|
18466
|
+
setCurrentStepStatus(step);
|
|
18467
|
+
}
|
|
18468
|
+
};
|
|
18469
|
+
|
|
18470
|
+
return [mt, mr, mb, ml, _steps, _rootEl, _gridEl, _stepWidth, _stepHeight, _progressHeight, _showProgressBars, _progress, step, _maxAllowedStep, _maxProgressStep, div0_binding, div1_binding];
|
|
18471
|
+
}
|
|
18472
|
+
|
|
18473
|
+
class FormStepper extends SvelteElement {
|
|
18474
|
+
constructor(options) {
|
|
18475
|
+
super();
|
|
18476
|
+
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)
|
|
18477
|
+
translate(
|
|
18478
|
+
calc(50% + 1.25rem + 1.75rem),
|
|
18479
|
+
calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.75rem)
|
|
18480
|
+
)}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>`;
|
|
18481
|
+
init(this, {
|
|
18482
|
+
target: this.shadowRoot,
|
|
18483
|
+
props: attribute_to_object(this.attributes),
|
|
18484
|
+
customElement: true
|
|
18485
|
+
}, instance$2, create_fragment$2, safe_not_equal, {
|
|
18486
|
+
step: 12,
|
|
18487
|
+
mt: 0,
|
|
18488
|
+
mr: 1,
|
|
18489
|
+
mb: 2,
|
|
18490
|
+
ml: 3
|
|
18491
|
+
}, null);
|
|
18492
|
+
|
|
18493
|
+
if (options) {
|
|
18494
|
+
if (options.target) {
|
|
18495
|
+
insert(options.target, this, options.anchor);
|
|
18496
|
+
}
|
|
18497
|
+
|
|
18498
|
+
if (options.props) {
|
|
18499
|
+
this.$set(options.props);
|
|
18500
|
+
flush();
|
|
18501
|
+
}
|
|
18502
|
+
}
|
|
18503
|
+
}
|
|
18504
|
+
|
|
18505
|
+
static get observedAttributes() {
|
|
18506
|
+
return ["step", "mt", "mr", "mb", "ml"];
|
|
18507
|
+
}
|
|
18508
|
+
|
|
18509
|
+
get step() {
|
|
18510
|
+
return this.$$.ctx[12];
|
|
18511
|
+
}
|
|
18512
|
+
|
|
18513
|
+
set step(step) {
|
|
18514
|
+
this.$$set({
|
|
18515
|
+
step
|
|
18516
|
+
});
|
|
18517
|
+
flush();
|
|
18518
|
+
}
|
|
18519
|
+
|
|
18520
|
+
get mt() {
|
|
18521
|
+
return this.$$.ctx[0];
|
|
18522
|
+
}
|
|
18523
|
+
|
|
18524
|
+
set mt(mt) {
|
|
18525
|
+
this.$$set({
|
|
18526
|
+
mt
|
|
18527
|
+
});
|
|
18528
|
+
flush();
|
|
18529
|
+
}
|
|
18530
|
+
|
|
18531
|
+
get mr() {
|
|
18532
|
+
return this.$$.ctx[1];
|
|
18533
|
+
}
|
|
18534
|
+
|
|
18535
|
+
set mr(mr) {
|
|
18536
|
+
this.$$set({
|
|
18537
|
+
mr
|
|
18538
|
+
});
|
|
18539
|
+
flush();
|
|
18540
|
+
}
|
|
18541
|
+
|
|
18542
|
+
get mb() {
|
|
18543
|
+
return this.$$.ctx[2];
|
|
18544
|
+
}
|
|
18545
|
+
|
|
18546
|
+
set mb(mb) {
|
|
18547
|
+
this.$$set({
|
|
18548
|
+
mb
|
|
18549
|
+
});
|
|
18550
|
+
flush();
|
|
18551
|
+
}
|
|
18552
|
+
|
|
18553
|
+
get ml() {
|
|
18554
|
+
return this.$$.ctx[3];
|
|
18555
|
+
}
|
|
18556
|
+
|
|
18557
|
+
set ml(ml) {
|
|
18558
|
+
this.$$set({
|
|
18559
|
+
ml
|
|
18560
|
+
});
|
|
18561
|
+
flush();
|
|
18562
|
+
}
|
|
18563
|
+
|
|
18564
|
+
}
|
|
18565
|
+
|
|
18566
|
+
customElements.define("goa-form-stepper", FormStepper);
|
|
18567
|
+
/* libs/web-components/src/components/form-step/FormStep.svelte generated by Svelte v3.51.0 */
|
|
18568
|
+
|
|
18569
|
+
function create_else_block(ctx) {
|
|
18570
|
+
let div;
|
|
18571
|
+
let t;
|
|
18572
|
+
return {
|
|
18573
|
+
c() {
|
|
18574
|
+
div = element("div");
|
|
18575
|
+
t = text(
|
|
18576
|
+
/*childindex*/
|
|
18577
|
+
ctx[1]);
|
|
18578
|
+
attr(div, "data-testid", "child-index");
|
|
18579
|
+
attr(div, "class", "step-number");
|
|
18580
|
+
},
|
|
18581
|
+
|
|
18582
|
+
m(target, anchor) {
|
|
18583
|
+
insert(target, div, anchor);
|
|
18584
|
+
append(div, t);
|
|
18585
|
+
},
|
|
18586
|
+
|
|
18587
|
+
p(ctx, dirty) {
|
|
18588
|
+
if (dirty &
|
|
18589
|
+
/*childindex*/
|
|
18590
|
+
2) set_data(t,
|
|
18591
|
+
/*childindex*/
|
|
18592
|
+
ctx[1]);
|
|
18593
|
+
},
|
|
18594
|
+
|
|
18595
|
+
d(detaching) {
|
|
18596
|
+
if (detaching) detach(div);
|
|
18597
|
+
}
|
|
18598
|
+
|
|
18599
|
+
};
|
|
18600
|
+
} // (148:38)
|
|
18601
|
+
|
|
18602
|
+
|
|
18603
|
+
function create_if_block_3(ctx) {
|
|
18604
|
+
let goa_icon;
|
|
18605
|
+
return {
|
|
18606
|
+
c() {
|
|
18607
|
+
goa_icon = element("goa-icon");
|
|
18608
|
+
set_custom_element_data(goa_icon, "type", "remove");
|
|
18609
|
+
},
|
|
18610
|
+
|
|
18611
|
+
m(target, anchor) {
|
|
18612
|
+
insert(target, goa_icon, anchor);
|
|
18613
|
+
},
|
|
18614
|
+
|
|
18615
|
+
p: noop,
|
|
18616
|
+
|
|
18617
|
+
d(detaching) {
|
|
18618
|
+
if (detaching) detach(goa_icon);
|
|
18619
|
+
}
|
|
18620
|
+
|
|
18621
|
+
};
|
|
18622
|
+
} // (146:36)
|
|
18623
|
+
|
|
18624
|
+
|
|
18625
|
+
function create_if_block_2(ctx) {
|
|
18626
|
+
let goa_icon;
|
|
18627
|
+
return {
|
|
18628
|
+
c() {
|
|
18629
|
+
goa_icon = element("goa-icon");
|
|
18630
|
+
set_custom_element_data(goa_icon, "type", "checkmark");
|
|
18631
|
+
set_custom_element_data(goa_icon, "inverted", "");
|
|
18632
|
+
},
|
|
18633
|
+
|
|
18634
|
+
m(target, anchor) {
|
|
18635
|
+
insert(target, goa_icon, anchor);
|
|
18636
|
+
},
|
|
18637
|
+
|
|
18638
|
+
p: noop,
|
|
18639
|
+
|
|
18640
|
+
d(detaching) {
|
|
18641
|
+
if (detaching) detach(goa_icon);
|
|
18642
|
+
}
|
|
18643
|
+
|
|
18644
|
+
};
|
|
18645
|
+
} // (144:4) {#if _isCurrent}
|
|
18646
|
+
|
|
18647
|
+
|
|
18648
|
+
function create_if_block_1(ctx) {
|
|
18649
|
+
let goa_icon;
|
|
18650
|
+
return {
|
|
18651
|
+
c() {
|
|
18652
|
+
goa_icon = element("goa-icon");
|
|
18653
|
+
set_custom_element_data(goa_icon, "type", "pencil");
|
|
18654
|
+
},
|
|
18655
|
+
|
|
18656
|
+
m(target, anchor) {
|
|
18657
|
+
insert(target, goa_icon, anchor);
|
|
18658
|
+
},
|
|
18659
|
+
|
|
18660
|
+
p: noop,
|
|
18661
|
+
|
|
18662
|
+
d(detaching) {
|
|
18663
|
+
if (detaching) detach(goa_icon);
|
|
18664
|
+
}
|
|
18665
|
+
|
|
18666
|
+
};
|
|
18667
|
+
} // (156:4) {#if status === "incomplete"}
|
|
18668
|
+
|
|
18669
|
+
|
|
18670
|
+
function create_if_block(ctx) {
|
|
18671
|
+
let div;
|
|
18672
|
+
return {
|
|
18673
|
+
c() {
|
|
18674
|
+
div = element("div");
|
|
18675
|
+
div.textContent = "Partially complete";
|
|
18676
|
+
attr(div, "class", "subtext");
|
|
18677
|
+
attr(div, "data-testid", "subtext");
|
|
18678
|
+
},
|
|
18679
|
+
|
|
18680
|
+
m(target, anchor) {
|
|
18681
|
+
insert(target, div, anchor);
|
|
18682
|
+
},
|
|
18683
|
+
|
|
18684
|
+
d(detaching) {
|
|
18685
|
+
if (detaching) detach(div);
|
|
18686
|
+
}
|
|
18687
|
+
|
|
18688
|
+
};
|
|
18689
|
+
}
|
|
18690
|
+
|
|
18691
|
+
function create_fragment$1(ctx) {
|
|
18692
|
+
let label;
|
|
18693
|
+
let input;
|
|
18694
|
+
let input_disabled_value;
|
|
18695
|
+
let t0;
|
|
18696
|
+
let div0;
|
|
18697
|
+
let t1;
|
|
18698
|
+
let div2;
|
|
18699
|
+
let div1;
|
|
18700
|
+
let t2;
|
|
18701
|
+
let t3;
|
|
18702
|
+
let label_aria_disabled_value;
|
|
18703
|
+
let label_aria_current_value;
|
|
18704
|
+
let label_aria_label_value;
|
|
18705
|
+
|
|
18706
|
+
function select_block_type(ctx, dirty) {
|
|
18707
|
+
if (
|
|
18708
|
+
/*_isCurrent*/
|
|
18709
|
+
ctx[7]) return create_if_block_1;
|
|
18710
|
+
if (
|
|
18711
|
+
/*status*/
|
|
18712
|
+
ctx[3] === "complete") return create_if_block_2;
|
|
18713
|
+
if (
|
|
18714
|
+
/*status*/
|
|
18715
|
+
ctx[3] === "incomplete") return create_if_block_3;
|
|
18716
|
+
return create_else_block;
|
|
18717
|
+
}
|
|
18718
|
+
|
|
18719
|
+
let current_block_type = select_block_type(ctx);
|
|
18720
|
+
let if_block0 = current_block_type(ctx);
|
|
18721
|
+
let if_block1 =
|
|
18722
|
+
/*status*/
|
|
18723
|
+
ctx[3] === "incomplete" && create_if_block();
|
|
18724
|
+
return {
|
|
18725
|
+
c() {
|
|
18726
|
+
label = element("label");
|
|
18727
|
+
input = element("input");
|
|
18728
|
+
t0 = space();
|
|
18729
|
+
div0 = element("div");
|
|
18730
|
+
if_block0.c();
|
|
18731
|
+
t1 = space();
|
|
18732
|
+
div2 = element("div");
|
|
18733
|
+
div1 = element("div");
|
|
18734
|
+
t2 = text(
|
|
18735
|
+
/*text*/
|
|
18736
|
+
ctx[0]);
|
|
18737
|
+
t3 = space();
|
|
18738
|
+
if (if_block1) if_block1.c();
|
|
18739
|
+
this.c = noop;
|
|
18740
|
+
attr(input, "id",
|
|
18741
|
+
/*text*/
|
|
18742
|
+
ctx[0]);
|
|
18743
|
+
attr(input, "type", "checkbox");
|
|
18744
|
+
input.checked =
|
|
18745
|
+
/*_isCurrent*/
|
|
18746
|
+
ctx[7];
|
|
18747
|
+
input.disabled = input_disabled_value = !
|
|
18748
|
+
/*_isEnabled*/
|
|
18749
|
+
ctx[6];
|
|
18750
|
+
attr(div0, "data-testid", "status");
|
|
18751
|
+
attr(div0, "class", "status");
|
|
18752
|
+
attr(div1, "class", "text");
|
|
18753
|
+
attr(div1, "data-testid", "text");
|
|
18754
|
+
attr(div2, "class", "details");
|
|
18755
|
+
attr(label, "id",
|
|
18756
|
+
/*arialabel*/
|
|
18757
|
+
ctx[2]);
|
|
18758
|
+
attr(label, "role", "listitem");
|
|
18759
|
+
attr(label, "for",
|
|
18760
|
+
/*text*/
|
|
18761
|
+
ctx[0]);
|
|
18762
|
+
attr(label, "data-status",
|
|
18763
|
+
/*status*/
|
|
18764
|
+
ctx[3]);
|
|
18765
|
+
attr(label, "aria-disabled", label_aria_disabled_value = !
|
|
18766
|
+
/*_isEnabled*/
|
|
18767
|
+
ctx[6] ? "true" : "false");
|
|
18768
|
+
attr(label, "aria-current", label_aria_current_value =
|
|
18769
|
+
/*_isCurrent*/
|
|
18770
|
+
ctx[7] ? "step" : "false");
|
|
18771
|
+
attr(label, "aria-label", label_aria_label_value = `${
|
|
18772
|
+
/*arialabel*/
|
|
18773
|
+
ctx[2]} ${
|
|
18774
|
+
/*text*/
|
|
18775
|
+
ctx[0]} ${
|
|
18776
|
+
/*status*/
|
|
18777
|
+
ctx[3] || ""}`);
|
|
18778
|
+
},
|
|
18779
|
+
|
|
18780
|
+
m(target, anchor) {
|
|
18781
|
+
insert(target, label, anchor);
|
|
18782
|
+
append(label, input);
|
|
18783
|
+
/*input_binding*/
|
|
18784
|
+
|
|
18785
|
+
ctx[10](input);
|
|
18786
|
+
append(label, t0);
|
|
18787
|
+
append(label, div0);
|
|
18788
|
+
if_block0.m(div0, null);
|
|
18789
|
+
append(label, t1);
|
|
18790
|
+
append(label, div2);
|
|
18791
|
+
append(div2, div1);
|
|
18792
|
+
append(div1, t2);
|
|
18793
|
+
append(div2, t3);
|
|
18794
|
+
if (if_block1) if_block1.m(div2, null);
|
|
18795
|
+
/*label_binding*/
|
|
18796
|
+
|
|
18797
|
+
ctx[11](label);
|
|
18798
|
+
},
|
|
18799
|
+
|
|
18800
|
+
p(ctx, [dirty]) {
|
|
18801
|
+
if (dirty &
|
|
18802
|
+
/*text*/
|
|
18803
|
+
1) {
|
|
18804
|
+
attr(input, "id",
|
|
18805
|
+
/*text*/
|
|
18806
|
+
ctx[0]);
|
|
18807
|
+
}
|
|
18808
|
+
|
|
18809
|
+
if (dirty &
|
|
18810
|
+
/*_isCurrent*/
|
|
18811
|
+
128) {
|
|
18812
|
+
input.checked =
|
|
18813
|
+
/*_isCurrent*/
|
|
18814
|
+
ctx[7];
|
|
18815
|
+
}
|
|
18816
|
+
|
|
18817
|
+
if (dirty &
|
|
18818
|
+
/*_isEnabled*/
|
|
18819
|
+
64 && input_disabled_value !== (input_disabled_value = !
|
|
18820
|
+
/*_isEnabled*/
|
|
18821
|
+
ctx[6])) {
|
|
18822
|
+
input.disabled = input_disabled_value;
|
|
18823
|
+
}
|
|
18824
|
+
|
|
18825
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
18826
|
+
if_block0.p(ctx, dirty);
|
|
18827
|
+
} else {
|
|
18828
|
+
if_block0.d(1);
|
|
18829
|
+
if_block0 = current_block_type(ctx);
|
|
18830
|
+
|
|
18831
|
+
if (if_block0) {
|
|
18832
|
+
if_block0.c();
|
|
18833
|
+
if_block0.m(div0, null);
|
|
18834
|
+
}
|
|
18835
|
+
}
|
|
18836
|
+
|
|
18837
|
+
if (dirty &
|
|
18838
|
+
/*text*/
|
|
18839
|
+
1) set_data(t2,
|
|
18840
|
+
/*text*/
|
|
18841
|
+
ctx[0]);
|
|
18842
|
+
|
|
18843
|
+
if (
|
|
18844
|
+
/*status*/
|
|
18845
|
+
ctx[3] === "incomplete") {
|
|
18846
|
+
if (if_block1) ;else {
|
|
18847
|
+
if_block1 = create_if_block();
|
|
18848
|
+
if_block1.c();
|
|
18849
|
+
if_block1.m(div2, null);
|
|
18850
|
+
}
|
|
18851
|
+
} else if (if_block1) {
|
|
18852
|
+
if_block1.d(1);
|
|
18853
|
+
if_block1 = null;
|
|
18854
|
+
}
|
|
18855
|
+
|
|
18856
|
+
if (dirty &
|
|
18857
|
+
/*arialabel*/
|
|
18858
|
+
4) {
|
|
18859
|
+
attr(label, "id",
|
|
18860
|
+
/*arialabel*/
|
|
18861
|
+
ctx[2]);
|
|
18862
|
+
}
|
|
18863
|
+
|
|
18864
|
+
if (dirty &
|
|
18865
|
+
/*text*/
|
|
18866
|
+
1) {
|
|
18867
|
+
attr(label, "for",
|
|
18868
|
+
/*text*/
|
|
18869
|
+
ctx[0]);
|
|
18870
|
+
}
|
|
18871
|
+
|
|
18872
|
+
if (dirty &
|
|
18873
|
+
/*status*/
|
|
18874
|
+
8) {
|
|
18875
|
+
attr(label, "data-status",
|
|
18876
|
+
/*status*/
|
|
18877
|
+
ctx[3]);
|
|
18878
|
+
}
|
|
18879
|
+
|
|
18880
|
+
if (dirty &
|
|
18881
|
+
/*_isEnabled*/
|
|
18882
|
+
64 && label_aria_disabled_value !== (label_aria_disabled_value = !
|
|
18883
|
+
/*_isEnabled*/
|
|
18884
|
+
ctx[6] ? "true" : "false")) {
|
|
18885
|
+
attr(label, "aria-disabled", label_aria_disabled_value);
|
|
18886
|
+
}
|
|
18887
|
+
|
|
18888
|
+
if (dirty &
|
|
18889
|
+
/*_isCurrent*/
|
|
18890
|
+
128 && label_aria_current_value !== (label_aria_current_value =
|
|
18891
|
+
/*_isCurrent*/
|
|
18892
|
+
ctx[7] ? "step" : "false")) {
|
|
18893
|
+
attr(label, "aria-current", label_aria_current_value);
|
|
18894
|
+
}
|
|
18895
|
+
|
|
18896
|
+
if (dirty &
|
|
18897
|
+
/*arialabel, text, status*/
|
|
18898
|
+
13 && label_aria_label_value !== (label_aria_label_value = `${
|
|
18899
|
+
/*arialabel*/
|
|
18900
|
+
ctx[2]} ${
|
|
18901
|
+
/*text*/
|
|
18902
|
+
ctx[0]} ${
|
|
18903
|
+
/*status*/
|
|
18904
|
+
ctx[3] || ""}`)) {
|
|
18905
|
+
attr(label, "aria-label", label_aria_label_value);
|
|
18906
|
+
}
|
|
18907
|
+
},
|
|
18908
|
+
|
|
18909
|
+
i: noop,
|
|
18910
|
+
o: noop,
|
|
18911
|
+
|
|
18912
|
+
d(detaching) {
|
|
18913
|
+
if (detaching) detach(label);
|
|
18914
|
+
/*input_binding*/
|
|
18915
|
+
|
|
18916
|
+
ctx[10](null);
|
|
18917
|
+
if_block0.d();
|
|
18918
|
+
if (if_block1) if_block1.d();
|
|
18919
|
+
/*label_binding*/
|
|
18920
|
+
|
|
18921
|
+
ctx[11](null);
|
|
18922
|
+
}
|
|
18923
|
+
|
|
18924
|
+
};
|
|
18925
|
+
}
|
|
18926
|
+
|
|
18927
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
18928
|
+
let _isCurrent;
|
|
18929
|
+
|
|
18930
|
+
let _isEnabled;
|
|
18931
|
+
|
|
18932
|
+
let {
|
|
18933
|
+
text
|
|
18934
|
+
} = $$props;
|
|
18935
|
+
let {
|
|
18936
|
+
current = "false"
|
|
18937
|
+
} = $$props;
|
|
18938
|
+
let {
|
|
18939
|
+
enabled = "false"
|
|
18940
|
+
} = $$props;
|
|
18941
|
+
let {
|
|
18942
|
+
childindex = ""
|
|
18943
|
+
} = $$props;
|
|
18944
|
+
let {
|
|
18945
|
+
arialabel = ""
|
|
18946
|
+
} = $$props;
|
|
18947
|
+
let {
|
|
18948
|
+
status
|
|
18949
|
+
} = $$props; // =======
|
|
18950
|
+
// Private
|
|
18951
|
+
// =======
|
|
18952
|
+
|
|
18953
|
+
let _stepEl;
|
|
18954
|
+
|
|
18955
|
+
let _checkbox;
|
|
18956
|
+
|
|
18957
|
+
onMount(() => {
|
|
18958
|
+
// event binding
|
|
18959
|
+
_stepEl.addEventListener("click", () => {
|
|
18960
|
+
if (!_isEnabled) return;
|
|
18961
|
+
$$invalidate(5, _checkbox.checked = !_checkbox.checked, _checkbox);
|
|
18962
|
+
|
|
18963
|
+
_stepEl.dispatchEvent(new CustomEvent("_click", {
|
|
18964
|
+
composed: true,
|
|
18965
|
+
bubbles: true,
|
|
18966
|
+
detail: +childindex
|
|
18967
|
+
}));
|
|
18968
|
+
});
|
|
18969
|
+
});
|
|
18970
|
+
|
|
18971
|
+
function input_binding($$value) {
|
|
18972
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18973
|
+
_checkbox = $$value;
|
|
18974
|
+
$$invalidate(5, _checkbox);
|
|
18975
|
+
});
|
|
18976
|
+
}
|
|
18977
|
+
|
|
18978
|
+
function label_binding($$value) {
|
|
18979
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
18980
|
+
_stepEl = $$value;
|
|
18981
|
+
$$invalidate(4, _stepEl);
|
|
18982
|
+
});
|
|
18983
|
+
}
|
|
18984
|
+
|
|
18985
|
+
$$self.$$set = $$props => {
|
|
18986
|
+
if ('text' in $$props) $$invalidate(0, text = $$props.text);
|
|
18987
|
+
if ('current' in $$props) $$invalidate(8, current = $$props.current);
|
|
18988
|
+
if ('enabled' in $$props) $$invalidate(9, enabled = $$props.enabled);
|
|
18989
|
+
if ('childindex' in $$props) $$invalidate(1, childindex = $$props.childindex);
|
|
18990
|
+
if ('arialabel' in $$props) $$invalidate(2, arialabel = $$props.arialabel);
|
|
18991
|
+
if ('status' in $$props) $$invalidate(3, status = $$props.status);
|
|
18992
|
+
};
|
|
18993
|
+
|
|
18994
|
+
$$self.$$.update = () => {
|
|
18995
|
+
if ($$self.$$.dirty &
|
|
18996
|
+
/*current*/
|
|
18997
|
+
256) {
|
|
18998
|
+
// ========
|
|
18999
|
+
// Reactive
|
|
19000
|
+
// ========
|
|
19001
|
+
$$invalidate(7, _isCurrent = toBoolean(current));
|
|
19002
|
+
}
|
|
19003
|
+
|
|
19004
|
+
if ($$self.$$.dirty &
|
|
19005
|
+
/*enabled*/
|
|
19006
|
+
512) {
|
|
19007
|
+
$$invalidate(6, _isEnabled = toBoolean(enabled));
|
|
19008
|
+
}
|
|
19009
|
+
};
|
|
19010
|
+
|
|
19011
|
+
return [text, childindex, arialabel, status, _stepEl, _checkbox, _isEnabled, _isCurrent, current, enabled, input_binding, label_binding];
|
|
19012
|
+
}
|
|
19013
|
+
|
|
19014
|
+
class FormStep extends SvelteElement {
|
|
19015
|
+
constructor(options) {
|
|
19016
|
+
super();
|
|
19017
|
+
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)
|
|
19018
|
+
}[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(
|
|
19019
|
+
[data-status=complete],
|
|
19020
|
+
[data-status=incomplete],
|
|
19021
|
+
[aria-current="step"]
|
|
19022
|
+
) .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>`;
|
|
19023
|
+
init(this, {
|
|
19024
|
+
target: this.shadowRoot,
|
|
19025
|
+
props: attribute_to_object(this.attributes),
|
|
19026
|
+
customElement: true
|
|
19027
|
+
}, instance$1, create_fragment$1, safe_not_equal, {
|
|
19028
|
+
text: 0,
|
|
19029
|
+
current: 8,
|
|
19030
|
+
enabled: 9,
|
|
19031
|
+
childindex: 1,
|
|
19032
|
+
arialabel: 2,
|
|
19033
|
+
status: 3
|
|
19034
|
+
}, null);
|
|
19035
|
+
|
|
19036
|
+
if (options) {
|
|
19037
|
+
if (options.target) {
|
|
19038
|
+
insert(options.target, this, options.anchor);
|
|
19039
|
+
}
|
|
19040
|
+
|
|
19041
|
+
if (options.props) {
|
|
19042
|
+
this.$set(options.props);
|
|
19043
|
+
flush();
|
|
19044
|
+
}
|
|
19045
|
+
}
|
|
19046
|
+
}
|
|
19047
|
+
|
|
19048
|
+
static get observedAttributes() {
|
|
19049
|
+
return ["text", "current", "enabled", "childindex", "arialabel", "status"];
|
|
19050
|
+
}
|
|
19051
|
+
|
|
19052
|
+
get text() {
|
|
19053
|
+
return this.$$.ctx[0];
|
|
19054
|
+
}
|
|
19055
|
+
|
|
19056
|
+
set text(text) {
|
|
19057
|
+
this.$$set({
|
|
19058
|
+
text
|
|
19059
|
+
});
|
|
19060
|
+
flush();
|
|
19061
|
+
}
|
|
19062
|
+
|
|
19063
|
+
get current() {
|
|
19064
|
+
return this.$$.ctx[8];
|
|
19065
|
+
}
|
|
19066
|
+
|
|
19067
|
+
set current(current) {
|
|
19068
|
+
this.$$set({
|
|
19069
|
+
current
|
|
19070
|
+
});
|
|
19071
|
+
flush();
|
|
19072
|
+
}
|
|
19073
|
+
|
|
19074
|
+
get enabled() {
|
|
19075
|
+
return this.$$.ctx[9];
|
|
19076
|
+
}
|
|
19077
|
+
|
|
19078
|
+
set enabled(enabled) {
|
|
19079
|
+
this.$$set({
|
|
19080
|
+
enabled
|
|
19081
|
+
});
|
|
19082
|
+
flush();
|
|
19083
|
+
}
|
|
19084
|
+
|
|
19085
|
+
get childindex() {
|
|
19086
|
+
return this.$$.ctx[1];
|
|
19087
|
+
}
|
|
19088
|
+
|
|
19089
|
+
set childindex(childindex) {
|
|
19090
|
+
this.$$set({
|
|
19091
|
+
childindex
|
|
19092
|
+
});
|
|
19093
|
+
flush();
|
|
19094
|
+
}
|
|
19095
|
+
|
|
19096
|
+
get arialabel() {
|
|
19097
|
+
return this.$$.ctx[2];
|
|
19098
|
+
}
|
|
19099
|
+
|
|
19100
|
+
set arialabel(arialabel) {
|
|
19101
|
+
this.$$set({
|
|
19102
|
+
arialabel
|
|
19103
|
+
});
|
|
19104
|
+
flush();
|
|
19105
|
+
}
|
|
19106
|
+
|
|
19107
|
+
get status() {
|
|
19108
|
+
return this.$$.ctx[3];
|
|
19109
|
+
}
|
|
19110
|
+
|
|
19111
|
+
set status(status) {
|
|
19112
|
+
this.$$set({
|
|
19113
|
+
status
|
|
19114
|
+
});
|
|
19115
|
+
flush();
|
|
19116
|
+
}
|
|
19117
|
+
|
|
19118
|
+
}
|
|
19119
|
+
|
|
19120
|
+
customElements.define("goa-form-step", FormStep);
|
|
19121
|
+
/* libs/web-components/src/components/pages/Pages.svelte generated by Svelte v3.51.0 */
|
|
19122
|
+
|
|
19123
|
+
function create_fragment(ctx) {
|
|
19124
|
+
let div;
|
|
19125
|
+
let slot;
|
|
19126
|
+
let div_style_value;
|
|
19127
|
+
return {
|
|
19128
|
+
c() {
|
|
19129
|
+
div = element("div");
|
|
19130
|
+
slot = element("slot");
|
|
19131
|
+
this.c = noop;
|
|
19132
|
+
attr(div, "style", div_style_value = calculateMargin(
|
|
19133
|
+
/*mt*/
|
|
19134
|
+
ctx[0],
|
|
19135
|
+
/*mr*/
|
|
19136
|
+
ctx[1],
|
|
19137
|
+
/*mb*/
|
|
19138
|
+
ctx[2],
|
|
19139
|
+
/*ml*/
|
|
19140
|
+
ctx[3]));
|
|
19141
|
+
attr(div, "class", "pages");
|
|
19142
|
+
},
|
|
19143
|
+
|
|
19144
|
+
m(target, anchor) {
|
|
19145
|
+
insert(target, div, anchor);
|
|
19146
|
+
append(div, slot);
|
|
19147
|
+
/*div_binding*/
|
|
19148
|
+
|
|
19149
|
+
ctx[6](div);
|
|
19150
|
+
},
|
|
19151
|
+
|
|
19152
|
+
p(ctx, [dirty]) {
|
|
19153
|
+
if (dirty &
|
|
19154
|
+
/*mt, mr, mb, ml*/
|
|
19155
|
+
15 && div_style_value !== (div_style_value = calculateMargin(
|
|
19156
|
+
/*mt*/
|
|
19157
|
+
ctx[0],
|
|
19158
|
+
/*mr*/
|
|
19159
|
+
ctx[1],
|
|
19160
|
+
/*mb*/
|
|
19161
|
+
ctx[2],
|
|
19162
|
+
/*ml*/
|
|
19163
|
+
ctx[3]))) {
|
|
19164
|
+
attr(div, "style", div_style_value);
|
|
19165
|
+
}
|
|
19166
|
+
},
|
|
19167
|
+
|
|
19168
|
+
i: noop,
|
|
19169
|
+
o: noop,
|
|
19170
|
+
|
|
19171
|
+
d(detaching) {
|
|
19172
|
+
if (detaching) detach(div);
|
|
19173
|
+
/*div_binding*/
|
|
19174
|
+
|
|
19175
|
+
ctx[6](null);
|
|
19176
|
+
}
|
|
19177
|
+
|
|
19178
|
+
};
|
|
19179
|
+
}
|
|
19180
|
+
|
|
19181
|
+
function instance($$self, $$props, $$invalidate) {
|
|
19182
|
+
let {
|
|
19183
|
+
current = 1
|
|
19184
|
+
} = $$props;
|
|
19185
|
+
let {
|
|
19186
|
+
mt = null
|
|
19187
|
+
} = $$props;
|
|
19188
|
+
let {
|
|
19189
|
+
mr = null
|
|
19190
|
+
} = $$props;
|
|
19191
|
+
let {
|
|
19192
|
+
mb = null
|
|
19193
|
+
} = $$props;
|
|
19194
|
+
let {
|
|
19195
|
+
ml = null
|
|
19196
|
+
} = $$props; // Private
|
|
19197
|
+
|
|
19198
|
+
let _rootEl; // Hooks
|
|
19199
|
+
|
|
19200
|
+
|
|
19201
|
+
onMount(function () {
|
|
19202
|
+
return _call(tick, function () {
|
|
19203
|
+
setCurrentPage(current);
|
|
19204
|
+
});
|
|
19205
|
+
});
|
|
19206
|
+
|
|
19207
|
+
function setCurrentPage(current) {
|
|
19208
|
+
if (!_rootEl) return;
|
|
19209
|
+
const children = getChildren();
|
|
19210
|
+
children.forEach((child, index) => {
|
|
19211
|
+
const _child = child;
|
|
19212
|
+
_child.style.display = index + 1 === +current ? "block" : "none";
|
|
19213
|
+
});
|
|
19214
|
+
}
|
|
19215
|
+
|
|
19216
|
+
function getChildren() {
|
|
19217
|
+
const slot = _rootEl.querySelector("slot");
|
|
19218
|
+
|
|
19219
|
+
if (slot) {
|
|
19220
|
+
return [...slot.assignedElements()];
|
|
19221
|
+
} else {
|
|
19222
|
+
return [..._rootEl.children]; // unit tests
|
|
19223
|
+
}
|
|
19224
|
+
}
|
|
19225
|
+
|
|
19226
|
+
function div_binding($$value) {
|
|
19227
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
19228
|
+
_rootEl = $$value;
|
|
19229
|
+
$$invalidate(4, _rootEl);
|
|
19230
|
+
});
|
|
19231
|
+
}
|
|
19232
|
+
|
|
19233
|
+
$$self.$$set = $$props => {
|
|
19234
|
+
if ('current' in $$props) $$invalidate(5, current = $$props.current);
|
|
19235
|
+
if ('mt' in $$props) $$invalidate(0, mt = $$props.mt);
|
|
19236
|
+
if ('mr' in $$props) $$invalidate(1, mr = $$props.mr);
|
|
19237
|
+
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
19238
|
+
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
19239
|
+
};
|
|
19240
|
+
|
|
19241
|
+
$$self.$$.update = () => {
|
|
19242
|
+
if ($$self.$$.dirty &
|
|
19243
|
+
/*current*/
|
|
19244
|
+
32) {
|
|
19245
|
+
// Reactive
|
|
19246
|
+
setCurrentPage(current);
|
|
19247
|
+
}
|
|
19248
|
+
};
|
|
19249
|
+
|
|
19250
|
+
return [mt, mr, mb, ml, _rootEl, current, div_binding];
|
|
19251
|
+
}
|
|
19252
|
+
|
|
19253
|
+
class Pages extends SvelteElement {
|
|
19254
|
+
constructor(options) {
|
|
19255
|
+
super();
|
|
19256
|
+
init(this, {
|
|
19257
|
+
target: this.shadowRoot,
|
|
19258
|
+
props: attribute_to_object(this.attributes),
|
|
19259
|
+
customElement: true
|
|
19260
|
+
}, instance, create_fragment, safe_not_equal, {
|
|
19261
|
+
current: 5,
|
|
19262
|
+
mt: 0,
|
|
19263
|
+
mr: 1,
|
|
19264
|
+
mb: 2,
|
|
19265
|
+
ml: 3
|
|
19266
|
+
}, null);
|
|
19267
|
+
|
|
19268
|
+
if (options) {
|
|
19269
|
+
if (options.target) {
|
|
19270
|
+
insert(options.target, this, options.anchor);
|
|
19271
|
+
}
|
|
19272
|
+
|
|
19273
|
+
if (options.props) {
|
|
19274
|
+
this.$set(options.props);
|
|
19275
|
+
flush();
|
|
19276
|
+
}
|
|
19277
|
+
}
|
|
19278
|
+
}
|
|
19279
|
+
|
|
19280
|
+
static get observedAttributes() {
|
|
19281
|
+
return ["current", "mt", "mr", "mb", "ml"];
|
|
19282
|
+
}
|
|
19283
|
+
|
|
19284
|
+
get current() {
|
|
19285
|
+
return this.$$.ctx[5];
|
|
19286
|
+
}
|
|
19287
|
+
|
|
19288
|
+
set current(current) {
|
|
19289
|
+
this.$$set({
|
|
19290
|
+
current
|
|
19291
|
+
});
|
|
19292
|
+
flush();
|
|
19293
|
+
}
|
|
19294
|
+
|
|
19295
|
+
get mt() {
|
|
19296
|
+
return this.$$.ctx[0];
|
|
19297
|
+
}
|
|
19298
|
+
|
|
19299
|
+
set mt(mt) {
|
|
19300
|
+
this.$$set({
|
|
19301
|
+
mt
|
|
19302
|
+
});
|
|
19303
|
+
flush();
|
|
19304
|
+
}
|
|
19305
|
+
|
|
19306
|
+
get mr() {
|
|
19307
|
+
return this.$$.ctx[1];
|
|
19308
|
+
}
|
|
19309
|
+
|
|
19310
|
+
set mr(mr) {
|
|
19311
|
+
this.$$set({
|
|
19312
|
+
mr
|
|
19313
|
+
});
|
|
19314
|
+
flush();
|
|
19315
|
+
}
|
|
19316
|
+
|
|
19317
|
+
get mb() {
|
|
19318
|
+
return this.$$.ctx[2];
|
|
19319
|
+
}
|
|
19320
|
+
|
|
19321
|
+
set mb(mb) {
|
|
19322
|
+
this.$$set({
|
|
19323
|
+
mb
|
|
19324
|
+
});
|
|
19325
|
+
flush();
|
|
19326
|
+
}
|
|
19327
|
+
|
|
19328
|
+
get ml() {
|
|
19329
|
+
return this.$$.ctx[3];
|
|
19330
|
+
}
|
|
19331
|
+
|
|
19332
|
+
set ml(ml) {
|
|
19333
|
+
this.$$set({
|
|
19334
|
+
ml
|
|
19335
|
+
});
|
|
19336
|
+
flush();
|
|
19337
|
+
}
|
|
19338
|
+
|
|
19339
|
+
}
|
|
19340
|
+
|
|
19341
|
+
customElements.define("goa-pages", Pages);
|
|
19342
|
+
|
|
19343
|
+
/*! *****************************************************************************
|
|
19344
|
+
Copyright (c) Microsoft Corporation.
|
|
19345
|
+
|
|
19346
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
19347
|
+
purpose with or without fee is hereby granted.
|
|
19348
|
+
|
|
19349
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
19350
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
19351
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
19352
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
19353
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
19354
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
19355
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
19356
|
+
***************************************************************************** */
|
|
19357
|
+
|
|
19358
|
+
var __assign = function() {
|
|
19359
|
+
__assign = Object.assign || function __assign(t) {
|
|
19360
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
19361
|
+
s = arguments[i];
|
|
19362
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];
|
|
19363
|
+
}
|
|
19364
|
+
return t;
|
|
19365
|
+
};
|
|
19366
|
+
return __assign.apply(this, arguments);
|
|
19367
|
+
};
|
|
19368
|
+
|
|
19369
|
+
function __rest(s, e) {
|
|
19370
|
+
var t = {};
|
|
19371
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
19372
|
+
t[p] = s[p];
|
|
19373
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
19374
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19375
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19376
|
+
t[p[i]] = s[p[i]];
|
|
19377
|
+
}
|
|
19378
|
+
return t;
|
|
19379
|
+
}
|
|
19380
|
+
|
|
19381
|
+
function GoAPages(props) {
|
|
19382
|
+
return jsxRuntime.jsx("goa-pages", __assign({
|
|
19383
|
+
current: props.current,
|
|
19384
|
+
ml: props.ml,
|
|
19385
|
+
mr: props.mr,
|
|
19386
|
+
mt: props.mt,
|
|
19387
|
+
mb: props.mb
|
|
19388
|
+
}, {
|
|
19389
|
+
children: props.children
|
|
19390
|
+
}), void 0);
|
|
19391
|
+
}
|
|
19392
|
+
|
|
19393
|
+
var GoAAccordion = function GoAAccordion(_a) {
|
|
19394
|
+
var open = _a.open,
|
|
19395
|
+
heading = _a.heading,
|
|
19396
|
+
headingSize = _a.headingSize,
|
|
19397
|
+
secondaryText = _a.secondaryText,
|
|
19398
|
+
headingContent = _a.headingContent,
|
|
19399
|
+
testid = _a.testid,
|
|
19400
|
+
children = _a.children,
|
|
19401
|
+
mt = _a.mt,
|
|
19402
|
+
mr = _a.mr,
|
|
19403
|
+
mb = _a.mb,
|
|
19404
|
+
ml = _a.ml;
|
|
19405
|
+
return jsxRuntime.jsxs("goa-accordion", __assign({
|
|
19406
|
+
open: open,
|
|
19407
|
+
headingSize: headingSize,
|
|
19408
|
+
heading: heading,
|
|
19409
|
+
secondaryText: secondaryText,
|
|
19410
|
+
"data-testid": testid,
|
|
19411
|
+
mt: mt,
|
|
19412
|
+
mr: mr,
|
|
19413
|
+
mb: mb,
|
|
19414
|
+
ml: ml
|
|
19415
|
+
}, {
|
|
19416
|
+
children: [children, headingContent && jsxRuntime.jsx("div", __assign({
|
|
19417
|
+
slot: "headingcontent"
|
|
19418
|
+
}, {
|
|
19419
|
+
children: headingContent
|
|
19420
|
+
}), void 0)]
|
|
19421
|
+
}), void 0);
|
|
19422
|
+
};
|
|
19423
|
+
|
|
19424
|
+
function GoAFormStep(props) {
|
|
19425
|
+
return jsxRuntime.jsx("goa-form-step", {
|
|
19426
|
+
text: props.text,
|
|
19427
|
+
status: props.status
|
|
19428
|
+
}, void 0);
|
|
19429
|
+
}
|
|
19430
|
+
|
|
19431
|
+
function GoAFormStepper(_a) {
|
|
19432
|
+
var testId = _a.testId,
|
|
19433
|
+
step = _a.step,
|
|
19434
|
+
mt = _a.mt,
|
|
19435
|
+
mb = _a.mb,
|
|
19436
|
+
ml = _a.ml,
|
|
19437
|
+
mr = _a.mr,
|
|
19438
|
+
onChange = _a.onChange,
|
|
19439
|
+
children = _a.children;
|
|
19440
|
+
var ref = react.useRef(null);
|
|
19441
|
+
react.useEffect(function () {
|
|
19442
|
+
if (!ref.current) {
|
|
19443
|
+
return;
|
|
19444
|
+
}
|
|
19445
|
+
|
|
19446
|
+
var current = ref.current;
|
|
19447
|
+
|
|
19448
|
+
var changeListener = function changeListener(e) {
|
|
19449
|
+
var step = e.detail.step;
|
|
19450
|
+
onChange === null || onChange === void 0 ? void 0 : onChange(step);
|
|
19451
|
+
};
|
|
19452
|
+
|
|
19453
|
+
current.addEventListener("_change", changeListener);
|
|
19454
|
+
return function () {
|
|
19455
|
+
current.removeEventListener("_change", changeListener);
|
|
19456
|
+
};
|
|
19457
|
+
}, [ref, onChange]);
|
|
19458
|
+
return jsxRuntime.jsx("goa-form-stepper", __assign({
|
|
19459
|
+
ref: ref,
|
|
19460
|
+
"data-testid": testId,
|
|
19461
|
+
step: step,
|
|
19462
|
+
mt: mt,
|
|
19463
|
+
mr: mr,
|
|
19464
|
+
mb: mb,
|
|
19465
|
+
ml: ml
|
|
19466
|
+
}, {
|
|
19467
|
+
children: children
|
|
19468
|
+
}), void 0);
|
|
19469
|
+
}
|
|
17903
19470
|
|
|
17904
19471
|
var GoAAppHeader = function GoAAppHeader(_a) {
|
|
17905
19472
|
var heading = _a.heading,
|
|
@@ -19247,6 +20814,8 @@
|
|
|
19247
20814
|
exports.GoADropdownOption = GoADropdownOption;
|
|
19248
20815
|
exports.GoAEmergencyBadge = GoAEmergencyBadge;
|
|
19249
20816
|
exports.GoAFormItem = GoAFormItem;
|
|
20817
|
+
exports.GoAFormStep = GoAFormStep;
|
|
20818
|
+
exports.GoAFormStepper = GoAFormStepper;
|
|
19250
20819
|
exports.GoAGrid = GoAGrid;
|
|
19251
20820
|
exports.GoAHeroBanner = GoAHeroBanner;
|
|
19252
20821
|
exports.GoAHeroBannerActions = GoAHeroBannerActions;
|
|
@@ -19273,6 +20842,7 @@
|
|
|
19273
20842
|
exports.GoANotification = GoANotification;
|
|
19274
20843
|
exports.GoAOneColumnLayout = GoAOneColumnLayout;
|
|
19275
20844
|
exports.GoAPageBlock = GoAPageBlock;
|
|
20845
|
+
exports.GoAPages = GoAPages;
|
|
19276
20846
|
exports.GoAPagination = GoAPagination;
|
|
19277
20847
|
exports.GoARadioGroup = GoARadioGroup;
|
|
19278
20848
|
exports.GoARadioItem = GoARadioItem;
|