@abgov/web-components 1.17.0 → 1.18.0
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/package.json +1 -1
- package/web-components.es.js +536 -235
- package/web-components.umd.js +106 -104
package/web-components.es.js
CHANGED
|
@@ -343,6 +343,14 @@ function get_current_component() {
|
|
|
343
343
|
function onMount(fn) {
|
|
344
344
|
get_current_component().$$.on_mount.push(fn);
|
|
345
345
|
}
|
|
346
|
+
/**
|
|
347
|
+
* Schedules a callback to run immediately after the component has been updated.
|
|
348
|
+
*
|
|
349
|
+
* The first time the callback runs will be after the initial `onMount`
|
|
350
|
+
*/
|
|
351
|
+
function afterUpdate(fn) {
|
|
352
|
+
get_current_component().$$.after_update.push(fn);
|
|
353
|
+
}
|
|
346
354
|
/**
|
|
347
355
|
* Schedules a callback to run immediately before the component is unmounted.
|
|
348
356
|
*
|
|
@@ -1077,7 +1085,20 @@ function typeValidator(message, values, required = false) {
|
|
|
1077
1085
|
return [values, validator];
|
|
1078
1086
|
}
|
|
1079
1087
|
function getTimestamp(val) {
|
|
1080
|
-
const months = [
|
|
1088
|
+
const months = [
|
|
1089
|
+
"January",
|
|
1090
|
+
"February",
|
|
1091
|
+
"March",
|
|
1092
|
+
"April",
|
|
1093
|
+
"May",
|
|
1094
|
+
"June",
|
|
1095
|
+
"July",
|
|
1096
|
+
"August",
|
|
1097
|
+
"September",
|
|
1098
|
+
"October",
|
|
1099
|
+
"November",
|
|
1100
|
+
"December"
|
|
1101
|
+
];
|
|
1081
1102
|
const now = val || new Date();
|
|
1082
1103
|
const hour24 = now.getHours();
|
|
1083
1104
|
const min0 = now.getMinutes();
|
|
@@ -1093,6 +1114,11 @@ function getTimestamp(val) {
|
|
|
1093
1114
|
function cssVar(name, value) {
|
|
1094
1115
|
return value ? `${name}: ${value};` : "";
|
|
1095
1116
|
}
|
|
1117
|
+
function pluralize(word, count) {
|
|
1118
|
+
if (count === 1)
|
|
1119
|
+
return word;
|
|
1120
|
+
return `${word}s`;
|
|
1121
|
+
}
|
|
1096
1122
|
|
|
1097
1123
|
/* src/components/accordion/Accordion.svelte generated by Svelte v3.59.2 */
|
|
1098
1124
|
|
|
@@ -1691,7 +1717,7 @@ function create_if_block_4$4(ctx) {
|
|
|
1691
1717
|
}
|
|
1692
1718
|
|
|
1693
1719
|
// (116:4) {#if _showToggleMenu && _tablet}
|
|
1694
|
-
function create_if_block_2$
|
|
1720
|
+
function create_if_block_2$f(ctx) {
|
|
1695
1721
|
let goa_popover;
|
|
1696
1722
|
let div;
|
|
1697
1723
|
let button;
|
|
@@ -1701,7 +1727,7 @@ function create_if_block_2$e(ctx) {
|
|
|
1701
1727
|
let t1;
|
|
1702
1728
|
let mounted;
|
|
1703
1729
|
let dispose;
|
|
1704
|
-
let if_block = /*_showMenu*/ ctx[8] && create_if_block_3$
|
|
1730
|
+
let if_block = /*_showMenu*/ ctx[8] && create_if_block_3$c(ctx);
|
|
1705
1731
|
|
|
1706
1732
|
return {
|
|
1707
1733
|
c() {
|
|
@@ -1754,7 +1780,7 @@ function create_if_block_2$e(ctx) {
|
|
|
1754
1780
|
if (if_block) {
|
|
1755
1781
|
if_block.p(ctx, dirty);
|
|
1756
1782
|
} else {
|
|
1757
|
-
if_block = create_if_block_3$
|
|
1783
|
+
if_block = create_if_block_3$c(ctx);
|
|
1758
1784
|
if_block.c();
|
|
1759
1785
|
if_block.m(goa_popover, null);
|
|
1760
1786
|
}
|
|
@@ -1777,7 +1803,7 @@ function create_if_block_2$e(ctx) {
|
|
|
1777
1803
|
}
|
|
1778
1804
|
|
|
1779
1805
|
// (135:8) {#if _showMenu}
|
|
1780
|
-
function create_if_block_3$
|
|
1806
|
+
function create_if_block_3$c(ctx) {
|
|
1781
1807
|
let div;
|
|
1782
1808
|
|
|
1783
1809
|
return {
|
|
@@ -1799,7 +1825,7 @@ function create_if_block_3$b(ctx) {
|
|
|
1799
1825
|
}
|
|
1800
1826
|
|
|
1801
1827
|
// (148:4) {#if !_showMenu && (_mobile || _tablet)}
|
|
1802
|
-
function create_if_block_1$
|
|
1828
|
+
function create_if_block_1$j(ctx) {
|
|
1803
1829
|
let div;
|
|
1804
1830
|
|
|
1805
1831
|
return {
|
|
@@ -1821,7 +1847,7 @@ function create_if_block_1$i(ctx) {
|
|
|
1821
1847
|
}
|
|
1822
1848
|
|
|
1823
1849
|
// (155:4) {#if _showMenu && _mobile || _desktop}
|
|
1824
|
-
function create_if_block$
|
|
1850
|
+
function create_if_block$w(ctx) {
|
|
1825
1851
|
let div;
|
|
1826
1852
|
|
|
1827
1853
|
return {
|
|
@@ -1863,9 +1889,9 @@ function create_fragment$_(ctx) {
|
|
|
1863
1889
|
let current_block_type = select_block_type(ctx);
|
|
1864
1890
|
let if_block0 = current_block_type(ctx);
|
|
1865
1891
|
let if_block1 = /*_showToggleMenu*/ ctx[7] && /*_mobile*/ ctx[10] && create_if_block_4$4(ctx);
|
|
1866
|
-
let if_block2 = /*_showToggleMenu*/ ctx[7] && /*_tablet*/ ctx[9] && create_if_block_2$
|
|
1867
|
-
let if_block3 = !/*_showMenu*/ ctx[8] && (/*_mobile*/ ctx[10] || /*_tablet*/ ctx[9]) && create_if_block_1$
|
|
1868
|
-
let if_block4 = (/*_showMenu*/ ctx[8] && /*_mobile*/ ctx[10] || /*_desktop*/ ctx[5]) && create_if_block$
|
|
1892
|
+
let if_block2 = /*_showToggleMenu*/ ctx[7] && /*_tablet*/ ctx[9] && create_if_block_2$f(ctx);
|
|
1893
|
+
let if_block3 = !/*_showMenu*/ ctx[8] && (/*_mobile*/ ctx[10] || /*_tablet*/ ctx[9]) && create_if_block_1$j(ctx);
|
|
1894
|
+
let if_block4 = (/*_showMenu*/ ctx[8] && /*_mobile*/ ctx[10] || /*_desktop*/ ctx[5]) && create_if_block$w(ctx);
|
|
1869
1895
|
|
|
1870
1896
|
return {
|
|
1871
1897
|
c() {
|
|
@@ -1935,7 +1961,7 @@ function create_fragment$_(ctx) {
|
|
|
1935
1961
|
if (if_block2) {
|
|
1936
1962
|
if_block2.p(ctx, dirty);
|
|
1937
1963
|
} else {
|
|
1938
|
-
if_block2 = create_if_block_2$
|
|
1964
|
+
if_block2 = create_if_block_2$f(ctx);
|
|
1939
1965
|
if_block2.c();
|
|
1940
1966
|
if_block2.m(div0, t2);
|
|
1941
1967
|
}
|
|
@@ -1948,7 +1974,7 @@ function create_fragment$_(ctx) {
|
|
|
1948
1974
|
if (if_block3) {
|
|
1949
1975
|
if_block3.p(ctx, dirty);
|
|
1950
1976
|
} else {
|
|
1951
|
-
if_block3 = create_if_block_1$
|
|
1977
|
+
if_block3 = create_if_block_1$j(ctx);
|
|
1952
1978
|
if_block3.c();
|
|
1953
1979
|
if_block3.m(div0, t3);
|
|
1954
1980
|
}
|
|
@@ -1961,7 +1987,7 @@ function create_fragment$_(ctx) {
|
|
|
1961
1987
|
if (if_block4) {
|
|
1962
1988
|
if_block4.p(ctx, dirty);
|
|
1963
1989
|
} else {
|
|
1964
|
-
if_block4 = create_if_block$
|
|
1990
|
+
if_block4 = create_if_block$w(ctx);
|
|
1965
1991
|
if_block4.c();
|
|
1966
1992
|
if_block4.m(div0, null);
|
|
1967
1993
|
}
|
|
@@ -2258,7 +2284,7 @@ function create_else_block$c(ctx) {
|
|
|
2258
2284
|
}
|
|
2259
2285
|
|
|
2260
2286
|
// (51:2) {#if showIcon}
|
|
2261
|
-
function create_if_block_1$
|
|
2287
|
+
function create_if_block_1$i(ctx) {
|
|
2262
2288
|
let goa_icon;
|
|
2263
2289
|
let goa_icon_arialabel_value;
|
|
2264
2290
|
let goa_icon_role_value;
|
|
@@ -2305,7 +2331,7 @@ function create_if_block_1$h(ctx) {
|
|
|
2305
2331
|
}
|
|
2306
2332
|
|
|
2307
2333
|
// (61:2) {#if content}
|
|
2308
|
-
function create_if_block$
|
|
2334
|
+
function create_if_block$v(ctx) {
|
|
2309
2335
|
let div;
|
|
2310
2336
|
let t;
|
|
2311
2337
|
|
|
@@ -2335,13 +2361,13 @@ function create_fragment$Z(ctx) {
|
|
|
2335
2361
|
let div_class_value;
|
|
2336
2362
|
|
|
2337
2363
|
function select_block_type(ctx, dirty) {
|
|
2338
|
-
if (/*showIcon*/ ctx[8]) return create_if_block_1$
|
|
2364
|
+
if (/*showIcon*/ ctx[8]) return create_if_block_1$i;
|
|
2339
2365
|
return create_else_block$c;
|
|
2340
2366
|
}
|
|
2341
2367
|
|
|
2342
2368
|
let current_block_type = select_block_type(ctx);
|
|
2343
2369
|
let if_block0 = current_block_type(ctx);
|
|
2344
|
-
let if_block1 = /*content*/ ctx[2] && create_if_block$
|
|
2370
|
+
let if_block1 = /*content*/ ctx[2] && create_if_block$v(ctx);
|
|
2345
2371
|
|
|
2346
2372
|
return {
|
|
2347
2373
|
c() {
|
|
@@ -2379,7 +2405,7 @@ function create_fragment$Z(ctx) {
|
|
|
2379
2405
|
if (if_block1) {
|
|
2380
2406
|
if_block1.p(ctx, dirty);
|
|
2381
2407
|
} else {
|
|
2382
|
-
if_block1 = create_if_block$
|
|
2408
|
+
if_block1 = create_if_block$v(ctx);
|
|
2383
2409
|
if_block1.c();
|
|
2384
2410
|
if_block1.m(div, null);
|
|
2385
2411
|
}
|
|
@@ -2806,8 +2832,8 @@ function create_else_block$b(ctx) {
|
|
|
2806
2832
|
let span;
|
|
2807
2833
|
let t1;
|
|
2808
2834
|
let if_block1_anchor;
|
|
2809
|
-
let if_block0 = /*leadingicon*/ ctx[3] && create_if_block_2$
|
|
2810
|
-
let if_block1 = /*trailingicon*/ ctx[4] && create_if_block_1$
|
|
2835
|
+
let if_block0 = /*leadingicon*/ ctx[3] && create_if_block_2$e(ctx);
|
|
2836
|
+
let if_block1 = /*trailingicon*/ ctx[4] && create_if_block_1$h(ctx);
|
|
2811
2837
|
|
|
2812
2838
|
return {
|
|
2813
2839
|
c() {
|
|
@@ -2833,7 +2859,7 @@ function create_else_block$b(ctx) {
|
|
|
2833
2859
|
if (if_block0) {
|
|
2834
2860
|
if_block0.p(ctx, dirty);
|
|
2835
2861
|
} else {
|
|
2836
|
-
if_block0 = create_if_block_2$
|
|
2862
|
+
if_block0 = create_if_block_2$e(ctx);
|
|
2837
2863
|
if_block0.c();
|
|
2838
2864
|
if_block0.m(t0.parentNode, t0);
|
|
2839
2865
|
}
|
|
@@ -2846,7 +2872,7 @@ function create_else_block$b(ctx) {
|
|
|
2846
2872
|
if (if_block1) {
|
|
2847
2873
|
if_block1.p(ctx, dirty);
|
|
2848
2874
|
} else {
|
|
2849
|
-
if_block1 = create_if_block_1$
|
|
2875
|
+
if_block1 = create_if_block_1$h(ctx);
|
|
2850
2876
|
if_block1.c();
|
|
2851
2877
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2852
2878
|
}
|
|
@@ -2867,7 +2893,7 @@ function create_else_block$b(ctx) {
|
|
|
2867
2893
|
}
|
|
2868
2894
|
|
|
2869
2895
|
// (47:2) {#if type === "start"}
|
|
2870
|
-
function create_if_block$
|
|
2896
|
+
function create_if_block$u(ctx) {
|
|
2871
2897
|
let span;
|
|
2872
2898
|
let t;
|
|
2873
2899
|
let goa_icon;
|
|
@@ -2898,7 +2924,7 @@ function create_if_block$t(ctx) {
|
|
|
2898
2924
|
}
|
|
2899
2925
|
|
|
2900
2926
|
// (53:4) {#if leadingicon}
|
|
2901
|
-
function create_if_block_2$
|
|
2927
|
+
function create_if_block_2$e(ctx) {
|
|
2902
2928
|
let goa_icon;
|
|
2903
2929
|
|
|
2904
2930
|
return {
|
|
@@ -2927,7 +2953,7 @@ function create_if_block_2$d(ctx) {
|
|
|
2927
2953
|
}
|
|
2928
2954
|
|
|
2929
2955
|
// (59:4) {#if trailingicon}
|
|
2930
|
-
function create_if_block_1$
|
|
2956
|
+
function create_if_block_1$h(ctx) {
|
|
2931
2957
|
let goa_icon;
|
|
2932
2958
|
|
|
2933
2959
|
return {
|
|
@@ -2964,7 +2990,7 @@ function create_fragment$X(ctx) {
|
|
|
2964
2990
|
let dispose;
|
|
2965
2991
|
|
|
2966
2992
|
function select_block_type(ctx, dirty) {
|
|
2967
|
-
if (/*type*/ ctx[0] === "start") return create_if_block$
|
|
2993
|
+
if (/*type*/ ctx[0] === "start") return create_if_block$u;
|
|
2968
2994
|
return create_else_block$b;
|
|
2969
2995
|
}
|
|
2970
2996
|
|
|
@@ -3476,7 +3502,7 @@ customElements.define("goa-button-group", ButtonGroup);
|
|
|
3476
3502
|
|
|
3477
3503
|
/* src/components/callout/Callout.svelte generated by Svelte v3.59.2 */
|
|
3478
3504
|
|
|
3479
|
-
function create_if_block$
|
|
3505
|
+
function create_if_block$t(ctx) {
|
|
3480
3506
|
let h3;
|
|
3481
3507
|
let t;
|
|
3482
3508
|
|
|
@@ -3517,7 +3543,7 @@ function create_fragment$V(ctx) {
|
|
|
3517
3543
|
let mounted;
|
|
3518
3544
|
let dispose;
|
|
3519
3545
|
add_render_callback(/*onwindowresize*/ ctx[12]);
|
|
3520
|
-
let if_block = /*heading*/ ctx[5] && create_if_block$
|
|
3546
|
+
let if_block = /*heading*/ ctx[5] && create_if_block$t(ctx);
|
|
3521
3547
|
|
|
3522
3548
|
return {
|
|
3523
3549
|
c() {
|
|
@@ -3576,7 +3602,7 @@ function create_fragment$V(ctx) {
|
|
|
3576
3602
|
if (if_block) {
|
|
3577
3603
|
if_block.p(ctx, dirty);
|
|
3578
3604
|
} else {
|
|
3579
|
-
if_block = create_if_block$
|
|
3605
|
+
if_block = create_if_block$t(ctx);
|
|
3580
3606
|
if_block.c();
|
|
3581
3607
|
if_block.m(span1, t1);
|
|
3582
3608
|
}
|
|
@@ -4258,7 +4284,7 @@ customElements.define("goa-card-image", CardImage);
|
|
|
4258
4284
|
|
|
4259
4285
|
/* src/components/checkbox/Checkbox.svelte generated by Svelte v3.59.2 */
|
|
4260
4286
|
|
|
4261
|
-
function create_if_block_2$
|
|
4287
|
+
function create_if_block_2$d(ctx) {
|
|
4262
4288
|
let svg;
|
|
4263
4289
|
let path;
|
|
4264
4290
|
|
|
@@ -4283,7 +4309,7 @@ function create_if_block_2$c(ctx) {
|
|
|
4283
4309
|
}
|
|
4284
4310
|
|
|
4285
4311
|
// (76:4) {#if isIndeterminate}
|
|
4286
|
-
function create_if_block_1$
|
|
4312
|
+
function create_if_block_1$g(ctx) {
|
|
4287
4313
|
let svg;
|
|
4288
4314
|
let rect;
|
|
4289
4315
|
|
|
@@ -4309,7 +4335,7 @@ function create_if_block_1$f(ctx) {
|
|
|
4309
4335
|
}
|
|
4310
4336
|
|
|
4311
4337
|
// (104:0) {#if description}
|
|
4312
|
-
function create_if_block$
|
|
4338
|
+
function create_if_block$s(ctx) {
|
|
4313
4339
|
let div;
|
|
4314
4340
|
let t;
|
|
4315
4341
|
|
|
@@ -4358,13 +4384,13 @@ function create_fragment$P(ctx) {
|
|
|
4358
4384
|
let dispose;
|
|
4359
4385
|
|
|
4360
4386
|
function select_block_type(ctx, dirty) {
|
|
4361
|
-
if (/*isIndeterminate*/ ctx[13]) return create_if_block_1$
|
|
4362
|
-
if (/*isChecked*/ ctx[12]) return create_if_block_2$
|
|
4387
|
+
if (/*isIndeterminate*/ ctx[13]) return create_if_block_1$g;
|
|
4388
|
+
if (/*isChecked*/ ctx[12]) return create_if_block_2$d;
|
|
4363
4389
|
}
|
|
4364
4390
|
|
|
4365
4391
|
let current_block_type = select_block_type(ctx);
|
|
4366
4392
|
let if_block0 = current_block_type && current_block_type(ctx);
|
|
4367
|
-
let if_block1 = /*description*/ ctx[5] && create_if_block$
|
|
4393
|
+
let if_block1 = /*description*/ ctx[5] && create_if_block$s(ctx);
|
|
4368
4394
|
|
|
4369
4395
|
return {
|
|
4370
4396
|
c() {
|
|
@@ -4495,7 +4521,7 @@ function create_fragment$P(ctx) {
|
|
|
4495
4521
|
if (if_block1) {
|
|
4496
4522
|
if_block1.p(ctx, dirty);
|
|
4497
4523
|
} else {
|
|
4498
|
-
if_block1 = create_if_block$
|
|
4524
|
+
if_block1 = create_if_block$s(ctx);
|
|
4499
4525
|
if_block1.c();
|
|
4500
4526
|
if_block1.m(div3, null);
|
|
4501
4527
|
}
|
|
@@ -4833,7 +4859,7 @@ customElements.define("goa-checkbox", Checkbox);
|
|
|
4833
4859
|
|
|
4834
4860
|
/* src/components/chip/Chip.svelte generated by Svelte v3.59.2 */
|
|
4835
4861
|
|
|
4836
|
-
function create_if_block_1$
|
|
4862
|
+
function create_if_block_1$f(ctx) {
|
|
4837
4863
|
let goa_icon;
|
|
4838
4864
|
|
|
4839
4865
|
return {
|
|
@@ -4858,7 +4884,7 @@ function create_if_block_1$e(ctx) {
|
|
|
4858
4884
|
}
|
|
4859
4885
|
|
|
4860
4886
|
// (54:2) {#if _deletable}
|
|
4861
|
-
function create_if_block$
|
|
4887
|
+
function create_if_block$r(ctx) {
|
|
4862
4888
|
let goa_icon;
|
|
4863
4889
|
let goa_icon_fillcolor_value;
|
|
4864
4890
|
let goa_icon_opacity_value;
|
|
@@ -4910,8 +4936,8 @@ function create_fragment$O(ctx) {
|
|
|
4910
4936
|
let div1_style_value;
|
|
4911
4937
|
let mounted;
|
|
4912
4938
|
let dispose;
|
|
4913
|
-
let if_block0 = /*leadingicon*/ ctx[4] && create_if_block_1$
|
|
4914
|
-
let if_block1 = /*_deletable*/ ctx[11] && create_if_block$
|
|
4939
|
+
let if_block0 = /*leadingicon*/ ctx[4] && create_if_block_1$f(ctx);
|
|
4940
|
+
let if_block1 = /*_deletable*/ ctx[11] && create_if_block$r(ctx);
|
|
4915
4941
|
|
|
4916
4942
|
return {
|
|
4917
4943
|
c() {
|
|
@@ -4959,7 +4985,7 @@ function create_fragment$O(ctx) {
|
|
|
4959
4985
|
if (if_block0) {
|
|
4960
4986
|
if_block0.p(ctx, dirty);
|
|
4961
4987
|
} else {
|
|
4962
|
-
if_block0 = create_if_block_1$
|
|
4988
|
+
if_block0 = create_if_block_1$f(ctx);
|
|
4963
4989
|
if_block0.c();
|
|
4964
4990
|
if_block0.m(div1, t0);
|
|
4965
4991
|
}
|
|
@@ -4974,7 +5000,7 @@ function create_fragment$O(ctx) {
|
|
|
4974
5000
|
if (if_block1) {
|
|
4975
5001
|
if_block1.p(ctx, dirty);
|
|
4976
5002
|
} else {
|
|
4977
|
-
if_block1 = create_if_block$
|
|
5003
|
+
if_block1 = create_if_block$r(ctx);
|
|
4978
5004
|
if_block1.c();
|
|
4979
5005
|
if_block1.m(div1, null);
|
|
4980
5006
|
}
|
|
@@ -5342,12 +5368,12 @@ function noscroll(_node, opts) {
|
|
|
5342
5368
|
|
|
5343
5369
|
/* src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.59.2 */
|
|
5344
5370
|
|
|
5345
|
-
function create_if_block$
|
|
5371
|
+
function create_if_block$q(ctx) {
|
|
5346
5372
|
let current_block_type_index;
|
|
5347
5373
|
let if_block;
|
|
5348
5374
|
let if_block_anchor;
|
|
5349
5375
|
let current;
|
|
5350
|
-
const if_block_creators = [create_if_block_1$
|
|
5376
|
+
const if_block_creators = [create_if_block_1$e, create_if_block_3$b];
|
|
5351
5377
|
const if_blocks = [];
|
|
5352
5378
|
|
|
5353
5379
|
function select_block_type(ctx, dirty) {
|
|
@@ -5429,7 +5455,7 @@ function create_if_block$p(ctx) {
|
|
|
5429
5455
|
}
|
|
5430
5456
|
|
|
5431
5457
|
// (43:19)
|
|
5432
|
-
function create_if_block_3$
|
|
5458
|
+
function create_if_block_3$b(ctx) {
|
|
5433
5459
|
let div;
|
|
5434
5460
|
let goa_spinner;
|
|
5435
5461
|
let t;
|
|
@@ -5493,7 +5519,7 @@ function create_if_block_3$a(ctx) {
|
|
|
5493
5519
|
}
|
|
5494
5520
|
|
|
5495
5521
|
// (32:2) {#if fullscreen}
|
|
5496
|
-
function create_if_block_1$
|
|
5522
|
+
function create_if_block_1$e(ctx) {
|
|
5497
5523
|
let div;
|
|
5498
5524
|
let goa_spinner;
|
|
5499
5525
|
let t;
|
|
@@ -5501,7 +5527,7 @@ function create_if_block_1$d(ctx) {
|
|
|
5501
5527
|
let current;
|
|
5502
5528
|
let mounted;
|
|
5503
5529
|
let dispose;
|
|
5504
|
-
let if_block = /*message*/ ctx[0] && create_if_block_2$
|
|
5530
|
+
let if_block = /*message*/ ctx[0] && create_if_block_2$c(ctx);
|
|
5505
5531
|
|
|
5506
5532
|
return {
|
|
5507
5533
|
c() {
|
|
@@ -5538,7 +5564,7 @@ function create_if_block_1$d(ctx) {
|
|
|
5538
5564
|
if (if_block) {
|
|
5539
5565
|
if_block.p(ctx, dirty);
|
|
5540
5566
|
} else {
|
|
5541
|
-
if_block = create_if_block_2$
|
|
5567
|
+
if_block = create_if_block_2$c(ctx);
|
|
5542
5568
|
if_block.c();
|
|
5543
5569
|
if_block.m(div, null);
|
|
5544
5570
|
}
|
|
@@ -5602,7 +5628,7 @@ function create_if_block_4$3(ctx) {
|
|
|
5602
5628
|
}
|
|
5603
5629
|
|
|
5604
5630
|
// (39:6) {#if message}
|
|
5605
|
-
function create_if_block_2$
|
|
5631
|
+
function create_if_block_2$c(ctx) {
|
|
5606
5632
|
let div;
|
|
5607
5633
|
let t;
|
|
5608
5634
|
|
|
@@ -5628,7 +5654,7 @@ function create_if_block_2$b(ctx) {
|
|
|
5628
5654
|
function create_fragment$N(ctx) {
|
|
5629
5655
|
let if_block_anchor;
|
|
5630
5656
|
let current;
|
|
5631
|
-
let if_block = /*isVisible*/ ctx[5] && create_if_block$
|
|
5657
|
+
let if_block = /*isVisible*/ ctx[5] && create_if_block$q(ctx);
|
|
5632
5658
|
|
|
5633
5659
|
return {
|
|
5634
5660
|
c() {
|
|
@@ -5650,7 +5676,7 @@ function create_fragment$N(ctx) {
|
|
|
5650
5676
|
transition_in(if_block, 1);
|
|
5651
5677
|
}
|
|
5652
5678
|
} else {
|
|
5653
|
-
if_block = create_if_block$
|
|
5679
|
+
if_block = create_if_block$q(ctx);
|
|
5654
5680
|
if_block.c();
|
|
5655
5681
|
transition_in(if_block, 1);
|
|
5656
5682
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -6488,10 +6514,10 @@ function create_else_block$a(ctx) {
|
|
|
6488
6514
|
let ul_style_value;
|
|
6489
6515
|
let mounted;
|
|
6490
6516
|
let dispose;
|
|
6491
|
-
let if_block0 = /*leadingicon*/ ctx[4] && create_if_block_2$
|
|
6517
|
+
let if_block0 = /*leadingicon*/ ctx[4] && create_if_block_2$b(ctx);
|
|
6492
6518
|
|
|
6493
6519
|
function select_block_type_1(ctx, dirty) {
|
|
6494
|
-
if (/*_inputEl*/ ctx[23]?.value && /*_filterable*/ ctx[24]) return create_if_block_1$
|
|
6520
|
+
if (/*_inputEl*/ ctx[23]?.value && /*_filterable*/ ctx[24]) return create_if_block_1$d;
|
|
6495
6521
|
return create_else_block_2;
|
|
6496
6522
|
}
|
|
6497
6523
|
|
|
@@ -6632,7 +6658,7 @@ function create_else_block$a(ctx) {
|
|
|
6632
6658
|
if (if_block0) {
|
|
6633
6659
|
if_block0.p(ctx, dirty);
|
|
6634
6660
|
} else {
|
|
6635
|
-
if_block0 = create_if_block_2$
|
|
6661
|
+
if_block0 = create_if_block_2$b(ctx);
|
|
6636
6662
|
if_block0.c();
|
|
6637
6663
|
if_block0.m(div, t1);
|
|
6638
6664
|
}
|
|
@@ -6797,7 +6823,7 @@ function create_else_block$a(ctx) {
|
|
|
6797
6823
|
}
|
|
6798
6824
|
|
|
6799
6825
|
// (424:2) {#if _native}
|
|
6800
|
-
function create_if_block$
|
|
6826
|
+
function create_if_block$p(ctx) {
|
|
6801
6827
|
let select;
|
|
6802
6828
|
let slot;
|
|
6803
6829
|
let select_aria_label_value;
|
|
@@ -6902,7 +6928,7 @@ function create_if_block$o(ctx) {
|
|
|
6902
6928
|
}
|
|
6903
6929
|
|
|
6904
6930
|
// (467:8) {#if leadingicon}
|
|
6905
|
-
function create_if_block_2$
|
|
6931
|
+
function create_if_block_2$b(ctx) {
|
|
6906
6932
|
let goa_icon;
|
|
6907
6933
|
|
|
6908
6934
|
return {
|
|
@@ -6992,7 +7018,7 @@ function create_else_block_2(ctx) {
|
|
|
6992
7018
|
}
|
|
6993
7019
|
|
|
6994
7020
|
// (502:8) {#if _inputEl?.value && _filterable}
|
|
6995
|
-
function create_if_block_1$
|
|
7021
|
+
function create_if_block_1$d(ctx) {
|
|
6996
7022
|
let goa_icon;
|
|
6997
7023
|
let goa_icon_tabindex_value;
|
|
6998
7024
|
let goa_icon_arialabel_value;
|
|
@@ -7215,7 +7241,7 @@ function create_fragment$J(ctx) {
|
|
|
7215
7241
|
let div_style_value;
|
|
7216
7242
|
|
|
7217
7243
|
function select_block_type(ctx, dirty) {
|
|
7218
|
-
if (/*_native*/ ctx[16]) return create_if_block$
|
|
7244
|
+
if (/*_native*/ ctx[16]) return create_if_block$p;
|
|
7219
7245
|
return create_else_block$a;
|
|
7220
7246
|
}
|
|
7221
7247
|
|
|
@@ -8432,7 +8458,7 @@ customElements.define("goa-focus-trap", FocusTrap);
|
|
|
8432
8458
|
|
|
8433
8459
|
/* src/components/footer/Footer.svelte generated by Svelte v3.59.2 */
|
|
8434
8460
|
|
|
8435
|
-
function create_if_block$
|
|
8461
|
+
function create_if_block$o(ctx) {
|
|
8436
8462
|
let goa_divider;
|
|
8437
8463
|
|
|
8438
8464
|
return {
|
|
@@ -8463,7 +8489,7 @@ function create_fragment$G(ctx) {
|
|
|
8463
8489
|
let t3;
|
|
8464
8490
|
let a1;
|
|
8465
8491
|
let div5_style_value;
|
|
8466
|
-
let if_block = /*navLinks*/ ctx[2] && /*navLinks*/ ctx[2].length > 0 && create_if_block$
|
|
8492
|
+
let if_block = /*navLinks*/ ctx[2] && /*navLinks*/ ctx[2].length > 0 && create_if_block$o();
|
|
8467
8493
|
|
|
8468
8494
|
return {
|
|
8469
8495
|
c() {
|
|
@@ -8517,7 +8543,7 @@ function create_fragment$G(ctx) {
|
|
|
8517
8543
|
p(ctx, [dirty]) {
|
|
8518
8544
|
if (/*navLinks*/ ctx[2] && /*navLinks*/ ctx[2].length > 0) {
|
|
8519
8545
|
if (if_block) ; else {
|
|
8520
|
-
if_block = create_if_block$
|
|
8546
|
+
if_block = create_if_block$o();
|
|
8521
8547
|
if_block.c();
|
|
8522
8548
|
if_block.m(div4, t1);
|
|
8523
8549
|
}
|
|
@@ -8814,7 +8840,7 @@ function get_each_context$6(ctx, list, i) {
|
|
|
8814
8840
|
}
|
|
8815
8841
|
|
|
8816
8842
|
// (31:2) {#if heading}
|
|
8817
|
-
function create_if_block$
|
|
8843
|
+
function create_if_block$n(ctx) {
|
|
8818
8844
|
let div;
|
|
8819
8845
|
let t0;
|
|
8820
8846
|
let t1;
|
|
@@ -8886,7 +8912,7 @@ function create_fragment$E(ctx) {
|
|
|
8886
8912
|
let t1;
|
|
8887
8913
|
let ul;
|
|
8888
8914
|
let ul_style_value;
|
|
8889
|
-
let if_block = /*heading*/ ctx[0] && create_if_block$
|
|
8915
|
+
let if_block = /*heading*/ ctx[0] && create_if_block$n(ctx);
|
|
8890
8916
|
let each_value = /*children*/ ctx[3];
|
|
8891
8917
|
let each_blocks = [];
|
|
8892
8918
|
|
|
@@ -8942,7 +8968,7 @@ function create_fragment$E(ctx) {
|
|
|
8942
8968
|
if (if_block) {
|
|
8943
8969
|
if_block.p(ctx, dirty);
|
|
8944
8970
|
} else {
|
|
8945
|
-
if_block = create_if_block$
|
|
8971
|
+
if_block = create_if_block$n(ctx);
|
|
8946
8972
|
if_block.c();
|
|
8947
8973
|
if_block.m(section, t0);
|
|
8948
8974
|
}
|
|
@@ -9099,13 +9125,13 @@ customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
|
9099
9125
|
|
|
9100
9126
|
/* src/components/form-item/FormItem.svelte generated by Svelte v3.59.2 */
|
|
9101
9127
|
|
|
9102
|
-
function create_if_block_2$
|
|
9128
|
+
function create_if_block_2$a(ctx) {
|
|
9103
9129
|
let div;
|
|
9104
9130
|
let t0;
|
|
9105
9131
|
let t1;
|
|
9106
9132
|
let show_if = /*requirement*/ ctx[9] && /*REQUIREMENT_TYPES*/ ctx[11].includes(/*requirement*/ ctx[9]);
|
|
9107
9133
|
let div_class_value;
|
|
9108
|
-
let if_block = show_if && create_if_block_3$
|
|
9134
|
+
let if_block = show_if && create_if_block_3$a(ctx);
|
|
9109
9135
|
|
|
9110
9136
|
return {
|
|
9111
9137
|
c() {
|
|
@@ -9130,7 +9156,7 @@ function create_if_block_2$9(ctx) {
|
|
|
9130
9156
|
if (if_block) {
|
|
9131
9157
|
if_block.p(ctx, dirty);
|
|
9132
9158
|
} else {
|
|
9133
|
-
if_block = create_if_block_3$
|
|
9159
|
+
if_block = create_if_block_3$a(ctx);
|
|
9134
9160
|
if_block.c();
|
|
9135
9161
|
if_block.m(div, null);
|
|
9136
9162
|
}
|
|
@@ -9155,7 +9181,7 @@ function create_if_block_2$9(ctx) {
|
|
|
9155
9181
|
}
|
|
9156
9182
|
|
|
9157
9183
|
// (36:6) {#if requirement && REQUIREMENT_TYPES.includes(requirement)}
|
|
9158
|
-
function create_if_block_3$
|
|
9184
|
+
function create_if_block_3$a(ctx) {
|
|
9159
9185
|
let em;
|
|
9160
9186
|
let t0;
|
|
9161
9187
|
let t1;
|
|
@@ -9184,7 +9210,7 @@ function create_if_block_3$9(ctx) {
|
|
|
9184
9210
|
}
|
|
9185
9211
|
|
|
9186
9212
|
// (44:2) {#if error}
|
|
9187
|
-
function create_if_block_1$
|
|
9213
|
+
function create_if_block_1$c(ctx) {
|
|
9188
9214
|
let div;
|
|
9189
9215
|
let goa_icon;
|
|
9190
9216
|
let t0;
|
|
@@ -9199,7 +9225,7 @@ function create_if_block_1$b(ctx) {
|
|
|
9199
9225
|
set_custom_element_data(goa_icon, "type", "warning");
|
|
9200
9226
|
set_custom_element_data(goa_icon, "size", "small");
|
|
9201
9227
|
set_custom_element_data(goa_icon, "theme", "filled");
|
|
9202
|
-
|
|
9228
|
+
set_custom_element_data(goa_icon, "mt", "2xs");
|
|
9203
9229
|
attr(div, "class", "error-msg");
|
|
9204
9230
|
},
|
|
9205
9231
|
m(target, anchor) {
|
|
@@ -9218,7 +9244,7 @@ function create_if_block_1$b(ctx) {
|
|
|
9218
9244
|
}
|
|
9219
9245
|
|
|
9220
9246
|
// (50:2) {#if helptext}
|
|
9221
|
-
function create_if_block$
|
|
9247
|
+
function create_if_block$m(ctx) {
|
|
9222
9248
|
let div;
|
|
9223
9249
|
let t;
|
|
9224
9250
|
|
|
@@ -9248,9 +9274,9 @@ function create_fragment$D(ctx) {
|
|
|
9248
9274
|
let t1;
|
|
9249
9275
|
let t2;
|
|
9250
9276
|
let div1_style_value;
|
|
9251
|
-
let if_block0 = /*label*/ ctx[5] && create_if_block_2$
|
|
9252
|
-
let if_block1 = /*error*/ ctx[8] && create_if_block_1$
|
|
9253
|
-
let if_block2 = /*helptext*/ ctx[7] && create_if_block$
|
|
9277
|
+
let if_block0 = /*label*/ ctx[5] && create_if_block_2$a(ctx);
|
|
9278
|
+
let if_block1 = /*error*/ ctx[8] && create_if_block_1$c(ctx);
|
|
9279
|
+
let if_block2 = /*helptext*/ ctx[7] && create_if_block$m(ctx);
|
|
9254
9280
|
|
|
9255
9281
|
return {
|
|
9256
9282
|
c() {
|
|
@@ -9283,7 +9309,7 @@ function create_fragment$D(ctx) {
|
|
|
9283
9309
|
if (if_block0) {
|
|
9284
9310
|
if_block0.p(ctx, dirty);
|
|
9285
9311
|
} else {
|
|
9286
|
-
if_block0 = create_if_block_2$
|
|
9312
|
+
if_block0 = create_if_block_2$a(ctx);
|
|
9287
9313
|
if_block0.c();
|
|
9288
9314
|
if_block0.m(div1, t0);
|
|
9289
9315
|
}
|
|
@@ -9296,7 +9322,7 @@ function create_fragment$D(ctx) {
|
|
|
9296
9322
|
if (if_block1) {
|
|
9297
9323
|
if_block1.p(ctx, dirty);
|
|
9298
9324
|
} else {
|
|
9299
|
-
if_block1 = create_if_block_1$
|
|
9325
|
+
if_block1 = create_if_block_1$c(ctx);
|
|
9300
9326
|
if_block1.c();
|
|
9301
9327
|
if_block1.m(div1, t2);
|
|
9302
9328
|
}
|
|
@@ -9309,7 +9335,7 @@ function create_fragment$D(ctx) {
|
|
|
9309
9335
|
if (if_block2) {
|
|
9310
9336
|
if_block2.p(ctx, dirty);
|
|
9311
9337
|
} else {
|
|
9312
|
-
if_block2 = create_if_block$
|
|
9338
|
+
if_block2 = create_if_block$m(ctx);
|
|
9313
9339
|
if_block2.c();
|
|
9314
9340
|
if_block2.m(div1, null);
|
|
9315
9341
|
}
|
|
@@ -9389,7 +9415,7 @@ class FormItem extends SvelteElement {
|
|
|
9389
9415
|
constructor(options) {
|
|
9390
9416
|
super();
|
|
9391
9417
|
const style = document.createElement('style');
|
|
9392
|
-
style.textContent = `:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding-bottom:0.5rem}.label.large{font:var(--goa-typography-heading-l)}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}`;
|
|
9418
|
+
style.textContent = `:host{box-sizing:border-box;font-family:var(--goa-font-family-sans)}*{box-sizing:border-box}.label{display:block;font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding-bottom:0.5rem}.label.large{font:var(--goa-typography-heading-l)}.label em{color:var(--goa-color-greyscale-700);font-weight:var(--goa-font-weight-regular);font-size:var(--goa-font-size-2);line-height:var(--goa-line-height-1);font-style:normal}.form-item-input{margin-bottom:0.25rem}.help-msg{font-size:var(--goa-font-size-2);color:var(--goa-color-text-default);margin-right:56px}.error-msg{display:inline-flex;align-items:flex-start;gap:0.25rem;font-size:var(--goa-font-size-2);color:var(--goa-color-interactive-error);margin-bottom:0.25rem}`;
|
|
9393
9419
|
this.shadowRoot.appendChild(style);
|
|
9394
9420
|
|
|
9395
9421
|
init(
|
|
@@ -10285,14 +10311,14 @@ customElements.define("goa-icon-button", IconButton);
|
|
|
10285
10311
|
|
|
10286
10312
|
/* src/components/icon/Icon.svelte generated by Svelte v3.59.2 */
|
|
10287
10313
|
|
|
10288
|
-
function create_if_block$
|
|
10314
|
+
function create_if_block$l(ctx) {
|
|
10289
10315
|
let show_if;
|
|
10290
10316
|
let if_block_anchor;
|
|
10291
10317
|
|
|
10292
10318
|
function select_block_type(ctx, dirty) {
|
|
10293
10319
|
if (dirty & /*type*/ 16) show_if = null;
|
|
10294
10320
|
if (show_if == null) show_if = !!Object.keys(/*_iconOverrides*/ ctx[16]).includes(/*type*/ ctx[4]);
|
|
10295
|
-
if (show_if) return create_if_block_1$
|
|
10321
|
+
if (show_if) return create_if_block_1$b;
|
|
10296
10322
|
return create_else_block$9;
|
|
10297
10323
|
}
|
|
10298
10324
|
|
|
@@ -10358,7 +10384,7 @@ function create_else_block$9(ctx) {
|
|
|
10358
10384
|
}
|
|
10359
10385
|
|
|
10360
10386
|
// (62:4) {#if Object.keys(_iconOverrides).includes(type)}
|
|
10361
|
-
function create_if_block_1$
|
|
10387
|
+
function create_if_block_1$b(ctx) {
|
|
10362
10388
|
let div;
|
|
10363
10389
|
let raw_value = /*_iconOverrides*/ ctx[16][/*type*/ ctx[4]] + "";
|
|
10364
10390
|
|
|
@@ -10384,7 +10410,7 @@ function create_fragment$z(ctx) {
|
|
|
10384
10410
|
let div_aria_expanded_value;
|
|
10385
10411
|
let div_class_value;
|
|
10386
10412
|
let div_style_value;
|
|
10387
|
-
let if_block = /*type*/ ctx[4] && create_if_block$
|
|
10413
|
+
let if_block = /*type*/ ctx[4] && create_if_block$l(ctx);
|
|
10388
10414
|
|
|
10389
10415
|
return {
|
|
10390
10416
|
c() {
|
|
@@ -10420,7 +10446,7 @@ function create_fragment$z(ctx) {
|
|
|
10420
10446
|
if (if_block) {
|
|
10421
10447
|
if_block.p(ctx, dirty);
|
|
10422
10448
|
} else {
|
|
10423
|
-
if_block = create_if_block$
|
|
10449
|
+
if_block = create_if_block$l(ctx);
|
|
10424
10450
|
if_block.c();
|
|
10425
10451
|
if_block.m(div, null);
|
|
10426
10452
|
}
|
|
@@ -10812,8 +10838,8 @@ function create_if_block_4$2(ctx) {
|
|
|
10812
10838
|
};
|
|
10813
10839
|
}
|
|
10814
10840
|
|
|
10815
|
-
// (
|
|
10816
|
-
function create_if_block_3$
|
|
10841
|
+
// (141:4) {#if leadingicon}
|
|
10842
|
+
function create_if_block_3$9(ctx) {
|
|
10817
10843
|
let goa_icon;
|
|
10818
10844
|
|
|
10819
10845
|
return {
|
|
@@ -10837,8 +10863,8 @@ function create_if_block_3$8(ctx) {
|
|
|
10837
10863
|
};
|
|
10838
10864
|
}
|
|
10839
10865
|
|
|
10840
|
-
// (
|
|
10841
|
-
function create_if_block_2$
|
|
10866
|
+
// (178:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
10867
|
+
function create_if_block_2$9(ctx) {
|
|
10842
10868
|
let goa_icon;
|
|
10843
10869
|
|
|
10844
10870
|
return {
|
|
@@ -10863,8 +10889,8 @@ function create_if_block_2$8(ctx) {
|
|
|
10863
10889
|
};
|
|
10864
10890
|
}
|
|
10865
10891
|
|
|
10866
|
-
// (
|
|
10867
|
-
function create_if_block_1$
|
|
10892
|
+
// (188:4) {#if trailingicon && handlesTrailingIconClick}
|
|
10893
|
+
function create_if_block_1$a(ctx) {
|
|
10868
10894
|
let goa_icon_button;
|
|
10869
10895
|
let mounted;
|
|
10870
10896
|
let dispose;
|
|
@@ -10904,8 +10930,8 @@ function create_if_block_1$9(ctx) {
|
|
|
10904
10930
|
};
|
|
10905
10931
|
}
|
|
10906
10932
|
|
|
10907
|
-
// (
|
|
10908
|
-
function create_if_block$
|
|
10933
|
+
// (201:4) {#if suffix}
|
|
10934
|
+
function create_if_block$k(ctx) {
|
|
10909
10935
|
let span;
|
|
10910
10936
|
let t;
|
|
10911
10937
|
|
|
@@ -10950,10 +10976,10 @@ function create_fragment$y(ctx) {
|
|
|
10950
10976
|
let mounted;
|
|
10951
10977
|
let dispose;
|
|
10952
10978
|
let if_block0 = /*prefix*/ ctx[15] && create_if_block_4$2(ctx);
|
|
10953
|
-
let if_block1 = /*leadingicon*/ ctx[5] && create_if_block_3$
|
|
10954
|
-
let if_block2 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[30] && create_if_block_2$
|
|
10955
|
-
let if_block3 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[30] && create_if_block_1$
|
|
10956
|
-
let if_block4 = /*suffix*/ ctx[16] && create_if_block$
|
|
10979
|
+
let if_block1 = /*leadingicon*/ ctx[5] && create_if_block_3$9(ctx);
|
|
10980
|
+
let if_block2 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[30] && create_if_block_2$9(ctx);
|
|
10981
|
+
let if_block3 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[30] && create_if_block_1$a(ctx);
|
|
10982
|
+
let if_block4 = /*suffix*/ ctx[16] && create_if_block$k(ctx);
|
|
10957
10983
|
|
|
10958
10984
|
return {
|
|
10959
10985
|
c() {
|
|
@@ -11057,7 +11083,7 @@ function create_fragment$y(ctx) {
|
|
|
11057
11083
|
if (if_block1) {
|
|
11058
11084
|
if_block1.p(ctx, dirty);
|
|
11059
11085
|
} else {
|
|
11060
|
-
if_block1 = create_if_block_3$
|
|
11086
|
+
if_block1 = create_if_block_3$9(ctx);
|
|
11061
11087
|
if_block1.c();
|
|
11062
11088
|
if_block1.m(div2, t2);
|
|
11063
11089
|
}
|
|
@@ -11146,7 +11172,7 @@ function create_fragment$y(ctx) {
|
|
|
11146
11172
|
if (if_block2) {
|
|
11147
11173
|
if_block2.p(ctx, dirty);
|
|
11148
11174
|
} else {
|
|
11149
|
-
if_block2 = create_if_block_2$
|
|
11175
|
+
if_block2 = create_if_block_2$9(ctx);
|
|
11150
11176
|
if_block2.c();
|
|
11151
11177
|
if_block2.m(div2, t4);
|
|
11152
11178
|
}
|
|
@@ -11159,7 +11185,7 @@ function create_fragment$y(ctx) {
|
|
|
11159
11185
|
if (if_block3) {
|
|
11160
11186
|
if_block3.p(ctx, dirty);
|
|
11161
11187
|
} else {
|
|
11162
|
-
if_block3 = create_if_block_1$
|
|
11188
|
+
if_block3 = create_if_block_1$a(ctx);
|
|
11163
11189
|
if_block3.c();
|
|
11164
11190
|
if_block3.m(div2, t5);
|
|
11165
11191
|
}
|
|
@@ -11172,7 +11198,7 @@ function create_fragment$y(ctx) {
|
|
|
11172
11198
|
if (if_block4) {
|
|
11173
11199
|
if_block4.p(ctx, dirty);
|
|
11174
11200
|
} else {
|
|
11175
|
-
if_block4 = create_if_block$
|
|
11201
|
+
if_block4 = create_if_block$k(ctx);
|
|
11176
11202
|
if_block4.c();
|
|
11177
11203
|
if_block4.m(div2, t6);
|
|
11178
11204
|
}
|
|
@@ -11307,6 +11333,12 @@ function instance$v($$self, $$props, $$invalidate) {
|
|
|
11307
11333
|
debounce
|
|
11308
11334
|
);
|
|
11309
11335
|
|
|
11336
|
+
input.dispatchEvent(new CustomEvent("_keyPress",
|
|
11337
|
+
{
|
|
11338
|
+
composed: true,
|
|
11339
|
+
detail: { name, value: input.value, key: e.key }
|
|
11340
|
+
}));
|
|
11341
|
+
|
|
11310
11342
|
$$invalidate(0, value = input.value);
|
|
11311
11343
|
}
|
|
11312
11344
|
|
|
@@ -11848,7 +11880,7 @@ customElements.define("goa-input", Input);
|
|
|
11848
11880
|
|
|
11849
11881
|
/* src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.59.2 */
|
|
11850
11882
|
|
|
11851
|
-
function create_if_block_3$
|
|
11883
|
+
function create_if_block_3$8(ctx) {
|
|
11852
11884
|
let div;
|
|
11853
11885
|
let t0;
|
|
11854
11886
|
let a;
|
|
@@ -11884,7 +11916,7 @@ function create_if_block_3$7(ctx) {
|
|
|
11884
11916
|
}
|
|
11885
11917
|
|
|
11886
11918
|
// (37:4) {#if ["alpha", "beta"].includes(type)}
|
|
11887
|
-
function create_if_block_1$
|
|
11919
|
+
function create_if_block_1$9(ctx) {
|
|
11888
11920
|
let div0;
|
|
11889
11921
|
let t0_value = capitalize(/*type*/ ctx[0]) + "";
|
|
11890
11922
|
let t0;
|
|
@@ -11896,7 +11928,7 @@ function create_if_block_1$8(ctx) {
|
|
|
11896
11928
|
let t3;
|
|
11897
11929
|
let a_target_value;
|
|
11898
11930
|
let t4;
|
|
11899
|
-
let if_block = /*feedbackurl*/ ctx[2] && create_if_block_2$
|
|
11931
|
+
let if_block = /*feedbackurl*/ ctx[2] && create_if_block_2$8(ctx);
|
|
11900
11932
|
|
|
11901
11933
|
return {
|
|
11902
11934
|
c() {
|
|
@@ -11942,7 +11974,7 @@ function create_if_block_1$8(ctx) {
|
|
|
11942
11974
|
if (if_block) {
|
|
11943
11975
|
if_block.p(ctx, dirty);
|
|
11944
11976
|
} else {
|
|
11945
|
-
if_block = create_if_block_2$
|
|
11977
|
+
if_block = create_if_block_2$8(ctx);
|
|
11946
11978
|
if_block.c();
|
|
11947
11979
|
if_block.m(div1, null);
|
|
11948
11980
|
}
|
|
@@ -11961,7 +11993,7 @@ function create_if_block_1$8(ctx) {
|
|
|
11961
11993
|
}
|
|
11962
11994
|
|
|
11963
11995
|
// (46:8) {#if feedbackurl}
|
|
11964
|
-
function create_if_block_2$
|
|
11996
|
+
function create_if_block_2$8(ctx) {
|
|
11965
11997
|
let span;
|
|
11966
11998
|
let t0;
|
|
11967
11999
|
let a;
|
|
@@ -12000,7 +12032,7 @@ function create_if_block_2$7(ctx) {
|
|
|
12000
12032
|
}
|
|
12001
12033
|
|
|
12002
12034
|
// (52:4) {#if version}
|
|
12003
|
-
function create_if_block$
|
|
12035
|
+
function create_if_block$j(ctx) {
|
|
12004
12036
|
let div;
|
|
12005
12037
|
let t;
|
|
12006
12038
|
|
|
@@ -12033,9 +12065,9 @@ function create_fragment$x(ctx) {
|
|
|
12033
12065
|
let div0;
|
|
12034
12066
|
let t2;
|
|
12035
12067
|
let header_style_value;
|
|
12036
|
-
let if_block0 = /*type*/ ctx[0] === "live" && create_if_block_3$
|
|
12037
|
-
let if_block1 = show_if && create_if_block_1$
|
|
12038
|
-
let if_block2 = /*version*/ ctx[1] && create_if_block$
|
|
12068
|
+
let if_block0 = /*type*/ ctx[0] === "live" && create_if_block_3$8(ctx);
|
|
12069
|
+
let if_block1 = show_if && create_if_block_1$9(ctx);
|
|
12070
|
+
let if_block2 = /*version*/ ctx[1] && create_if_block$j(ctx);
|
|
12039
12071
|
|
|
12040
12072
|
return {
|
|
12041
12073
|
c() {
|
|
@@ -12070,7 +12102,7 @@ function create_fragment$x(ctx) {
|
|
|
12070
12102
|
if (if_block0) {
|
|
12071
12103
|
if_block0.p(ctx, dirty);
|
|
12072
12104
|
} else {
|
|
12073
|
-
if_block0 = create_if_block_3$
|
|
12105
|
+
if_block0 = create_if_block_3$8(ctx);
|
|
12074
12106
|
if_block0.c();
|
|
12075
12107
|
if_block0.m(div1, t0);
|
|
12076
12108
|
}
|
|
@@ -12085,7 +12117,7 @@ function create_fragment$x(ctx) {
|
|
|
12085
12117
|
if (if_block1) {
|
|
12086
12118
|
if_block1.p(ctx, dirty);
|
|
12087
12119
|
} else {
|
|
12088
|
-
if_block1 = create_if_block_1$
|
|
12120
|
+
if_block1 = create_if_block_1$9(ctx);
|
|
12089
12121
|
if_block1.c();
|
|
12090
12122
|
if_block1.m(div1, t1);
|
|
12091
12123
|
}
|
|
@@ -12098,7 +12130,7 @@ function create_fragment$x(ctx) {
|
|
|
12098
12130
|
if (if_block2) {
|
|
12099
12131
|
if_block2.p(ctx, dirty);
|
|
12100
12132
|
} else {
|
|
12101
|
-
if_block2 = create_if_block$
|
|
12133
|
+
if_block2 = create_if_block$j(ctx);
|
|
12102
12134
|
if_block2.c();
|
|
12103
12135
|
if_block2.m(div1, null);
|
|
12104
12136
|
}
|
|
@@ -12278,7 +12310,7 @@ customElements.define("goa-microsite-header", MicrositeHeader);
|
|
|
12278
12310
|
|
|
12279
12311
|
/* src/components/modal/Modal.svelte generated by Svelte v3.59.2 */
|
|
12280
12312
|
|
|
12281
|
-
function create_if_block$
|
|
12313
|
+
function create_if_block$i(ctx) {
|
|
12282
12314
|
let goa_focus_trap;
|
|
12283
12315
|
let div6;
|
|
12284
12316
|
let div0;
|
|
@@ -12303,16 +12335,16 @@ function create_if_block$h(ctx) {
|
|
|
12303
12335
|
let current;
|
|
12304
12336
|
let mounted;
|
|
12305
12337
|
let dispose;
|
|
12306
|
-
let if_block0 = /*calloutvariant*/ ctx[3] !== null && create_if_block_3$
|
|
12338
|
+
let if_block0 = /*calloutvariant*/ ctx[3] !== null && create_if_block_3$7(ctx);
|
|
12307
12339
|
|
|
12308
12340
|
function select_block_type(ctx, dirty) {
|
|
12309
|
-
if (/*heading*/ ctx[1]) return create_if_block_2$
|
|
12341
|
+
if (/*heading*/ ctx[1]) return create_if_block_2$7;
|
|
12310
12342
|
return create_else_block$8;
|
|
12311
12343
|
}
|
|
12312
12344
|
|
|
12313
12345
|
let current_block_type = select_block_type(ctx);
|
|
12314
12346
|
let if_block1 = current_block_type(ctx);
|
|
12315
|
-
let if_block2 = /*_isClosable*/ ctx[9] && create_if_block_1$
|
|
12347
|
+
let if_block2 = /*_isClosable*/ ctx[9] && create_if_block_1$8(ctx);
|
|
12316
12348
|
|
|
12317
12349
|
return {
|
|
12318
12350
|
c() {
|
|
@@ -12396,7 +12428,7 @@ function create_if_block$h(ctx) {
|
|
|
12396
12428
|
if (if_block0) {
|
|
12397
12429
|
if_block0.p(ctx, dirty);
|
|
12398
12430
|
} else {
|
|
12399
|
-
if_block0 = create_if_block_3$
|
|
12431
|
+
if_block0 = create_if_block_3$7(ctx);
|
|
12400
12432
|
if_block0.c();
|
|
12401
12433
|
if_block0.m(div5, t1);
|
|
12402
12434
|
}
|
|
@@ -12421,7 +12453,7 @@ function create_if_block$h(ctx) {
|
|
|
12421
12453
|
if (if_block2) {
|
|
12422
12454
|
if_block2.p(ctx, dirty);
|
|
12423
12455
|
} else {
|
|
12424
|
-
if_block2 = create_if_block_1$
|
|
12456
|
+
if_block2 = create_if_block_1$8(ctx);
|
|
12425
12457
|
if_block2.c();
|
|
12426
12458
|
if_block2.m(header, null);
|
|
12427
12459
|
}
|
|
@@ -12500,7 +12532,7 @@ function create_if_block$h(ctx) {
|
|
|
12500
12532
|
}
|
|
12501
12533
|
|
|
12502
12534
|
// (143:8) {#if calloutvariant !== null}
|
|
12503
|
-
function create_if_block_3$
|
|
12535
|
+
function create_if_block_3$7(ctx) {
|
|
12504
12536
|
let div;
|
|
12505
12537
|
let goa_icon;
|
|
12506
12538
|
let goa_icon_inverted_value;
|
|
@@ -12563,7 +12595,7 @@ function create_else_block$8(ctx) {
|
|
|
12563
12595
|
}
|
|
12564
12596
|
|
|
12565
12597
|
// (154:14) {#if heading}
|
|
12566
|
-
function create_if_block_2$
|
|
12598
|
+
function create_if_block_2$7(ctx) {
|
|
12567
12599
|
let t;
|
|
12568
12600
|
|
|
12569
12601
|
return {
|
|
@@ -12583,7 +12615,7 @@ function create_if_block_2$6(ctx) {
|
|
|
12583
12615
|
}
|
|
12584
12616
|
|
|
12585
12617
|
// (160:12) {#if _isClosable}
|
|
12586
|
-
function create_if_block_1$
|
|
12618
|
+
function create_if_block_1$8(ctx) {
|
|
12587
12619
|
let div;
|
|
12588
12620
|
let goa_icon_button;
|
|
12589
12621
|
let mounted;
|
|
@@ -12619,7 +12651,7 @@ function create_if_block_1$7(ctx) {
|
|
|
12619
12651
|
function create_fragment$w(ctx) {
|
|
12620
12652
|
let if_block_anchor;
|
|
12621
12653
|
let current;
|
|
12622
|
-
let if_block = /*_isOpen*/ ctx[7] && create_if_block$
|
|
12654
|
+
let if_block = /*_isOpen*/ ctx[7] && create_if_block$i(ctx);
|
|
12623
12655
|
|
|
12624
12656
|
return {
|
|
12625
12657
|
c() {
|
|
@@ -12641,7 +12673,7 @@ function create_fragment$w(ctx) {
|
|
|
12641
12673
|
transition_in(if_block, 1);
|
|
12642
12674
|
}
|
|
12643
12675
|
} else {
|
|
12644
|
-
if_block = create_if_block$
|
|
12676
|
+
if_block = create_if_block$i(ctx);
|
|
12645
12677
|
if_block.c();
|
|
12646
12678
|
transition_in(if_block, 1);
|
|
12647
12679
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13006,7 +13038,7 @@ customElements.define("goa-modal", Modal);
|
|
|
13006
13038
|
|
|
13007
13039
|
/* src/components/notification/Notification.svelte generated by Svelte v3.59.2 */
|
|
13008
13040
|
|
|
13009
|
-
function create_if_block$
|
|
13041
|
+
function create_if_block$h(ctx) {
|
|
13010
13042
|
let div4;
|
|
13011
13043
|
let div3;
|
|
13012
13044
|
let div0;
|
|
@@ -13129,7 +13161,7 @@ function create_if_block$g(ctx) {
|
|
|
13129
13161
|
function create_fragment$v(ctx) {
|
|
13130
13162
|
let if_block_anchor;
|
|
13131
13163
|
let current;
|
|
13132
|
-
let if_block = /*show*/ ctx[3] && create_if_block$
|
|
13164
|
+
let if_block = /*show*/ ctx[3] && create_if_block$h(ctx);
|
|
13133
13165
|
|
|
13134
13166
|
return {
|
|
13135
13167
|
c() {
|
|
@@ -13151,7 +13183,7 @@ function create_fragment$v(ctx) {
|
|
|
13151
13183
|
transition_in(if_block, 1);
|
|
13152
13184
|
}
|
|
13153
13185
|
} else {
|
|
13154
|
-
if_block = create_if_block$
|
|
13186
|
+
if_block = create_if_block$h(ctx);
|
|
13155
13187
|
if_block.c();
|
|
13156
13188
|
transition_in(if_block, 1);
|
|
13157
13189
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13422,7 +13454,7 @@ function get_each_context$5(ctx, list, i) {
|
|
|
13422
13454
|
}
|
|
13423
13455
|
|
|
13424
13456
|
// (78:4) {#if variant === "all"}
|
|
13425
|
-
function create_if_block$
|
|
13457
|
+
function create_if_block$g(ctx) {
|
|
13426
13458
|
let goa_block;
|
|
13427
13459
|
let span0;
|
|
13428
13460
|
let t1;
|
|
@@ -13558,7 +13590,7 @@ function create_fragment$t(ctx) {
|
|
|
13558
13590
|
let goa_button1_disabled_value;
|
|
13559
13591
|
let mounted;
|
|
13560
13592
|
let dispose;
|
|
13561
|
-
let if_block = /*variant*/ ctx[1] === "all" && create_if_block$
|
|
13593
|
+
let if_block = /*variant*/ ctx[1] === "all" && create_if_block$g(ctx);
|
|
13562
13594
|
|
|
13563
13595
|
return {
|
|
13564
13596
|
c() {
|
|
@@ -13619,7 +13651,7 @@ function create_fragment$t(ctx) {
|
|
|
13619
13651
|
if (if_block) {
|
|
13620
13652
|
if_block.p(ctx, dirty);
|
|
13621
13653
|
} else {
|
|
13622
|
-
if_block = create_if_block$
|
|
13654
|
+
if_block = create_if_block$g(ctx);
|
|
13623
13655
|
if_block.c();
|
|
13624
13656
|
if_block.m(div, t0);
|
|
13625
13657
|
}
|
|
@@ -13896,7 +13928,7 @@ customElements.define("goa-pagination", Pagination);
|
|
|
13896
13928
|
|
|
13897
13929
|
/* src/components/popover/Popover.svelte generated by Svelte v3.59.2 */
|
|
13898
13930
|
|
|
13899
|
-
function create_if_block$
|
|
13931
|
+
function create_if_block$f(ctx) {
|
|
13900
13932
|
let div0;
|
|
13901
13933
|
let t;
|
|
13902
13934
|
let div2;
|
|
@@ -13979,7 +14011,7 @@ function create_fragment$s(ctx) {
|
|
|
13979
14011
|
let div1_style_value;
|
|
13980
14012
|
let mounted;
|
|
13981
14013
|
let dispose;
|
|
13982
|
-
let if_block = /*_open*/ ctx[13] && create_if_block$
|
|
14014
|
+
let if_block = /*_open*/ ctx[13] && create_if_block$f(ctx);
|
|
13983
14015
|
|
|
13984
14016
|
return {
|
|
13985
14017
|
c() {
|
|
@@ -14030,7 +14062,7 @@ function create_fragment$s(ctx) {
|
|
|
14030
14062
|
if (if_block) {
|
|
14031
14063
|
if_block.p(ctx, dirty);
|
|
14032
14064
|
} else {
|
|
14033
|
-
if_block = create_if_block$
|
|
14065
|
+
if_block = create_if_block$f(ctx);
|
|
14034
14066
|
if_block.c();
|
|
14035
14067
|
if_block.m(div1, null);
|
|
14036
14068
|
}
|
|
@@ -14622,7 +14654,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
14622
14654
|
}
|
|
14623
14655
|
|
|
14624
14656
|
// (105:6) {#if option.description}
|
|
14625
|
-
function create_if_block$
|
|
14657
|
+
function create_if_block$e(ctx) {
|
|
14626
14658
|
let div;
|
|
14627
14659
|
let t_value = /*option*/ ctx[22].description + "";
|
|
14628
14660
|
let t;
|
|
@@ -14677,7 +14709,7 @@ function create_each_block$4(key_1, ctx) {
|
|
|
14677
14709
|
return /*change_handler*/ ctx[16](/*option*/ ctx[22]);
|
|
14678
14710
|
}
|
|
14679
14711
|
|
|
14680
|
-
let if_block = /*option*/ ctx[22].description && create_if_block$
|
|
14712
|
+
let if_block = /*option*/ ctx[22].description && create_if_block$e(ctx);
|
|
14681
14713
|
|
|
14682
14714
|
return {
|
|
14683
14715
|
key: key_1,
|
|
@@ -14773,7 +14805,7 @@ function create_each_block$4(key_1, ctx) {
|
|
|
14773
14805
|
if (if_block) {
|
|
14774
14806
|
if_block.p(ctx, dirty);
|
|
14775
14807
|
} else {
|
|
14776
|
-
if_block = create_if_block$
|
|
14808
|
+
if_block = create_if_block$e(ctx);
|
|
14777
14809
|
if_block.c();
|
|
14778
14810
|
if_block.m(div1, t4);
|
|
14779
14811
|
}
|
|
@@ -15417,7 +15449,7 @@ function create_else_block$7(ctx) {
|
|
|
15417
15449
|
}
|
|
15418
15450
|
|
|
15419
15451
|
// (68:31)
|
|
15420
|
-
function create_if_block_3$
|
|
15452
|
+
function create_if_block_3$6(ctx) {
|
|
15421
15453
|
let div3;
|
|
15422
15454
|
let div2;
|
|
15423
15455
|
let div0;
|
|
@@ -15508,7 +15540,7 @@ function create_if_block_3$5(ctx) {
|
|
|
15508
15540
|
}
|
|
15509
15541
|
|
|
15510
15542
|
// (64:29)
|
|
15511
|
-
function create_if_block_2$
|
|
15543
|
+
function create_if_block_2$6(ctx) {
|
|
15512
15544
|
let each_1_anchor;
|
|
15513
15545
|
let current;
|
|
15514
15546
|
let each_value = Array(Number.parseInt(/*linecount*/ ctx[2] + ""));
|
|
@@ -15594,7 +15626,7 @@ function create_if_block_2$5(ctx) {
|
|
|
15594
15626
|
}
|
|
15595
15627
|
|
|
15596
15628
|
// (54:31)
|
|
15597
|
-
function create_if_block_1$
|
|
15629
|
+
function create_if_block_1$7(ctx) {
|
|
15598
15630
|
let div2;
|
|
15599
15631
|
let div0;
|
|
15600
15632
|
let skeleton0;
|
|
@@ -15684,7 +15716,7 @@ function create_if_block_1$6(ctx) {
|
|
|
15684
15716
|
}
|
|
15685
15717
|
|
|
15686
15718
|
// (43:2) {#if type === "card"}
|
|
15687
|
-
function create_if_block$
|
|
15719
|
+
function create_if_block$d(ctx) {
|
|
15688
15720
|
let div1;
|
|
15689
15721
|
let skeleton0;
|
|
15690
15722
|
let t0;
|
|
@@ -15826,10 +15858,10 @@ function create_fragment$p(ctx) {
|
|
|
15826
15858
|
let current;
|
|
15827
15859
|
|
|
15828
15860
|
const if_block_creators = [
|
|
15829
|
-
create_if_block$
|
|
15830
|
-
create_if_block_1$
|
|
15831
|
-
create_if_block_2$
|
|
15832
|
-
create_if_block_3$
|
|
15861
|
+
create_if_block$d,
|
|
15862
|
+
create_if_block_1$7,
|
|
15863
|
+
create_if_block_2$6,
|
|
15864
|
+
create_if_block_3$6,
|
|
15833
15865
|
create_else_block$7
|
|
15834
15866
|
];
|
|
15835
15867
|
|
|
@@ -16350,7 +16382,7 @@ function tweened(value, defaults = {}) {
|
|
|
16350
16382
|
|
|
16351
16383
|
/* src/components/spinner/Spinner.svelte generated by Svelte v3.59.2 */
|
|
16352
16384
|
|
|
16353
|
-
function create_if_block$
|
|
16385
|
+
function create_if_block$c(ctx) {
|
|
16354
16386
|
let svg;
|
|
16355
16387
|
let circle;
|
|
16356
16388
|
let circle_stroke_value;
|
|
@@ -16461,7 +16493,7 @@ function create_if_block$b(ctx) {
|
|
|
16461
16493
|
|
|
16462
16494
|
function create_fragment$n(ctx) {
|
|
16463
16495
|
let if_block_anchor;
|
|
16464
|
-
let if_block = /*ready*/ ctx[6] && create_if_block$
|
|
16496
|
+
let if_block = /*ready*/ ctx[6] && create_if_block$c(ctx);
|
|
16465
16497
|
|
|
16466
16498
|
return {
|
|
16467
16499
|
c() {
|
|
@@ -16478,7 +16510,7 @@ function create_fragment$n(ctx) {
|
|
|
16478
16510
|
if (if_block) {
|
|
16479
16511
|
if_block.p(ctx, dirty);
|
|
16480
16512
|
} else {
|
|
16481
|
-
if_block = create_if_block$
|
|
16513
|
+
if_block = create_if_block$c(ctx);
|
|
16482
16514
|
if_block.c();
|
|
16483
16515
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
16484
16516
|
}
|
|
@@ -16713,7 +16745,7 @@ function create_else_block$6(ctx) {
|
|
|
16713
16745
|
}
|
|
16714
16746
|
|
|
16715
16747
|
// (85:2) {#if _isTableRoot}
|
|
16716
|
-
function create_if_block$
|
|
16748
|
+
function create_if_block$b(ctx) {
|
|
16717
16749
|
let slot;
|
|
16718
16750
|
|
|
16719
16751
|
return {
|
|
@@ -16736,7 +16768,7 @@ function create_fragment$m(ctx) {
|
|
|
16736
16768
|
let div_style_value;
|
|
16737
16769
|
|
|
16738
16770
|
function select_block_type(ctx, dirty) {
|
|
16739
|
-
if (/*_isTableRoot*/ ctx[7]) return create_if_block$
|
|
16771
|
+
if (/*_isTableRoot*/ ctx[7]) return create_if_block$b;
|
|
16740
16772
|
return create_else_block$6;
|
|
16741
16773
|
}
|
|
16742
16774
|
|
|
@@ -17069,7 +17101,7 @@ function create_else_block$5(ctx) {
|
|
|
17069
17101
|
}
|
|
17070
17102
|
|
|
17071
17103
|
// (69:32)
|
|
17072
|
-
function create_if_block_1$
|
|
17104
|
+
function create_if_block_1$6(ctx) {
|
|
17073
17105
|
let goa_icon;
|
|
17074
17106
|
|
|
17075
17107
|
return {
|
|
@@ -17088,7 +17120,7 @@ function create_if_block_1$5(ctx) {
|
|
|
17088
17120
|
}
|
|
17089
17121
|
|
|
17090
17122
|
// (67:2) {#if direction === "desc"}
|
|
17091
|
-
function create_if_block$
|
|
17123
|
+
function create_if_block$a(ctx) {
|
|
17092
17124
|
let goa_icon;
|
|
17093
17125
|
|
|
17094
17126
|
return {
|
|
@@ -17112,8 +17144,8 @@ function create_fragment$l(ctx) {
|
|
|
17112
17144
|
let t;
|
|
17113
17145
|
|
|
17114
17146
|
function select_block_type(ctx, dirty) {
|
|
17115
|
-
if (/*direction*/ ctx[0] === "desc") return create_if_block$
|
|
17116
|
-
if (/*direction*/ ctx[0] === "asc") return create_if_block_1$
|
|
17147
|
+
if (/*direction*/ ctx[0] === "desc") return create_if_block$a;
|
|
17148
|
+
if (/*direction*/ ctx[0] === "asc") return create_if_block_1$6;
|
|
17117
17149
|
return create_else_block$5;
|
|
17118
17150
|
}
|
|
17119
17151
|
|
|
@@ -17215,46 +17247,216 @@ customElements.define("goa-table-sort-header", TableSortHeader);
|
|
|
17215
17247
|
|
|
17216
17248
|
/* src/components/text-area/TextArea.svelte generated by Svelte v3.59.2 */
|
|
17217
17249
|
|
|
17250
|
+
function create_if_block_1$5(ctx) {
|
|
17251
|
+
let div;
|
|
17252
|
+
|
|
17253
|
+
function select_block_type(ctx, dirty) {
|
|
17254
|
+
if (/*count*/ ctx[15] > /*maxcount*/ ctx[8]) return create_if_block_2$5;
|
|
17255
|
+
if (/*count*/ ctx[15] < /*maxcount*/ ctx[8]) return create_if_block_3$5;
|
|
17256
|
+
}
|
|
17257
|
+
|
|
17258
|
+
let current_block_type = select_block_type(ctx);
|
|
17259
|
+
let if_block = current_block_type && current_block_type(ctx);
|
|
17260
|
+
|
|
17261
|
+
return {
|
|
17262
|
+
c() {
|
|
17263
|
+
div = element("div");
|
|
17264
|
+
if (if_block) if_block.c();
|
|
17265
|
+
attr(div, "class", "counter");
|
|
17266
|
+
toggle_class(div, "counter-error", /*count*/ ctx[15] > /*maxcount*/ ctx[8]);
|
|
17267
|
+
},
|
|
17268
|
+
m(target, anchor) {
|
|
17269
|
+
insert(target, div, anchor);
|
|
17270
|
+
if (if_block) if_block.m(div, null);
|
|
17271
|
+
},
|
|
17272
|
+
p(ctx, dirty) {
|
|
17273
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
17274
|
+
if_block.p(ctx, dirty);
|
|
17275
|
+
} else {
|
|
17276
|
+
if (if_block) if_block.d(1);
|
|
17277
|
+
if_block = current_block_type && current_block_type(ctx);
|
|
17278
|
+
|
|
17279
|
+
if (if_block) {
|
|
17280
|
+
if_block.c();
|
|
17281
|
+
if_block.m(div, null);
|
|
17282
|
+
}
|
|
17283
|
+
}
|
|
17284
|
+
|
|
17285
|
+
if (dirty & /*count, maxcount*/ 33024) {
|
|
17286
|
+
toggle_class(div, "counter-error", /*count*/ ctx[15] > /*maxcount*/ ctx[8]);
|
|
17287
|
+
}
|
|
17288
|
+
},
|
|
17289
|
+
d(detaching) {
|
|
17290
|
+
if (detaching) detach(div);
|
|
17291
|
+
|
|
17292
|
+
if (if_block) {
|
|
17293
|
+
if_block.d();
|
|
17294
|
+
}
|
|
17295
|
+
}
|
|
17296
|
+
};
|
|
17297
|
+
}
|
|
17298
|
+
|
|
17299
|
+
// (86:33)
|
|
17300
|
+
function create_if_block_3$5(ctx) {
|
|
17301
|
+
let t0_value = /*maxcount*/ ctx[8] - /*count*/ ctx[15] + "";
|
|
17302
|
+
let t0;
|
|
17303
|
+
let t1;
|
|
17304
|
+
let t2_value = pluralize(/*countby*/ ctx[7], /*maxcount*/ ctx[8] - /*count*/ ctx[15]) + "";
|
|
17305
|
+
let t2;
|
|
17306
|
+
let t3;
|
|
17307
|
+
|
|
17308
|
+
return {
|
|
17309
|
+
c() {
|
|
17310
|
+
t0 = text(t0_value);
|
|
17311
|
+
t1 = space();
|
|
17312
|
+
t2 = text(t2_value);
|
|
17313
|
+
t3 = text(" remaining");
|
|
17314
|
+
},
|
|
17315
|
+
m(target, anchor) {
|
|
17316
|
+
insert(target, t0, anchor);
|
|
17317
|
+
insert(target, t1, anchor);
|
|
17318
|
+
insert(target, t2, anchor);
|
|
17319
|
+
insert(target, t3, anchor);
|
|
17320
|
+
},
|
|
17321
|
+
p(ctx, dirty) {
|
|
17322
|
+
if (dirty & /*maxcount, count*/ 33024 && t0_value !== (t0_value = /*maxcount*/ ctx[8] - /*count*/ ctx[15] + "")) set_data(t0, t0_value);
|
|
17323
|
+
if (dirty & /*countby, maxcount, count*/ 33152 && t2_value !== (t2_value = pluralize(/*countby*/ ctx[7], /*maxcount*/ ctx[8] - /*count*/ ctx[15]) + "")) set_data(t2, t2_value);
|
|
17324
|
+
},
|
|
17325
|
+
d(detaching) {
|
|
17326
|
+
if (detaching) detach(t0);
|
|
17327
|
+
if (detaching) detach(t1);
|
|
17328
|
+
if (detaching) detach(t2);
|
|
17329
|
+
if (detaching) detach(t3);
|
|
17330
|
+
}
|
|
17331
|
+
};
|
|
17332
|
+
}
|
|
17333
|
+
|
|
17334
|
+
// (84:6) {#if count > maxcount}
|
|
17335
|
+
function create_if_block_2$5(ctx) {
|
|
17336
|
+
let t0_value = /*count*/ ctx[15] - /*maxcount*/ ctx[8] + "";
|
|
17337
|
+
let t0;
|
|
17338
|
+
let t1;
|
|
17339
|
+
let t2_value = pluralize(/*countby*/ ctx[7], /*count*/ ctx[15] - /*maxcount*/ ctx[8]) + "";
|
|
17340
|
+
let t2;
|
|
17341
|
+
let t3;
|
|
17342
|
+
|
|
17343
|
+
return {
|
|
17344
|
+
c() {
|
|
17345
|
+
t0 = text(t0_value);
|
|
17346
|
+
t1 = space();
|
|
17347
|
+
t2 = text(t2_value);
|
|
17348
|
+
t3 = text(" too many");
|
|
17349
|
+
},
|
|
17350
|
+
m(target, anchor) {
|
|
17351
|
+
insert(target, t0, anchor);
|
|
17352
|
+
insert(target, t1, anchor);
|
|
17353
|
+
insert(target, t2, anchor);
|
|
17354
|
+
insert(target, t3, anchor);
|
|
17355
|
+
},
|
|
17356
|
+
p(ctx, dirty) {
|
|
17357
|
+
if (dirty & /*count, maxcount*/ 33024 && t0_value !== (t0_value = /*count*/ ctx[15] - /*maxcount*/ ctx[8] + "")) set_data(t0, t0_value);
|
|
17358
|
+
if (dirty & /*countby, count, maxcount*/ 33152 && t2_value !== (t2_value = pluralize(/*countby*/ ctx[7], /*count*/ ctx[15] - /*maxcount*/ ctx[8]) + "")) set_data(t2, t2_value);
|
|
17359
|
+
},
|
|
17360
|
+
d(detaching) {
|
|
17361
|
+
if (detaching) detach(t0);
|
|
17362
|
+
if (detaching) detach(t1);
|
|
17363
|
+
if (detaching) detach(t2);
|
|
17364
|
+
if (detaching) detach(t3);
|
|
17365
|
+
}
|
|
17366
|
+
};
|
|
17367
|
+
}
|
|
17368
|
+
|
|
17369
|
+
// (92:2) {#if showCount && count > 0 && !isDisabled}
|
|
17370
|
+
function create_if_block$9(ctx) {
|
|
17371
|
+
let div;
|
|
17372
|
+
let t0;
|
|
17373
|
+
let t1;
|
|
17374
|
+
let t2_value = pluralize(/*countby*/ ctx[7], /*count*/ ctx[15]) + "";
|
|
17375
|
+
let t2;
|
|
17376
|
+
|
|
17377
|
+
return {
|
|
17378
|
+
c() {
|
|
17379
|
+
div = element("div");
|
|
17380
|
+
t0 = text(/*count*/ ctx[15]);
|
|
17381
|
+
t1 = space();
|
|
17382
|
+
t2 = text(t2_value);
|
|
17383
|
+
attr(div, "class", "counter");
|
|
17384
|
+
},
|
|
17385
|
+
m(target, anchor) {
|
|
17386
|
+
insert(target, div, anchor);
|
|
17387
|
+
append(div, t0);
|
|
17388
|
+
append(div, t1);
|
|
17389
|
+
append(div, t2);
|
|
17390
|
+
},
|
|
17391
|
+
p(ctx, dirty) {
|
|
17392
|
+
if (dirty & /*count*/ 32768) set_data(t0, /*count*/ ctx[15]);
|
|
17393
|
+
if (dirty & /*countby, count*/ 32896 && t2_value !== (t2_value = pluralize(/*countby*/ ctx[7], /*count*/ ctx[15]) + "")) set_data(t2, t2_value);
|
|
17394
|
+
},
|
|
17395
|
+
d(detaching) {
|
|
17396
|
+
if (detaching) detach(div);
|
|
17397
|
+
}
|
|
17398
|
+
};
|
|
17399
|
+
}
|
|
17400
|
+
|
|
17218
17401
|
function create_fragment$k(ctx) {
|
|
17219
17402
|
let div;
|
|
17220
17403
|
let textarea;
|
|
17221
17404
|
let textarea_aria_label_value;
|
|
17222
|
-
let
|
|
17405
|
+
let t0;
|
|
17406
|
+
let t1;
|
|
17223
17407
|
let div_style_value;
|
|
17224
17408
|
let mounted;
|
|
17225
17409
|
let dispose;
|
|
17410
|
+
let if_block0 = /*maxcount*/ ctx[8] > 0 && !/*isDisabled*/ ctx[14] && create_if_block_1$5(ctx);
|
|
17411
|
+
let if_block1 = /*showCount*/ ctx[16] && /*count*/ ctx[15] > 0 && !/*isDisabled*/ ctx[14] && create_if_block$9(ctx);
|
|
17226
17412
|
|
|
17227
17413
|
return {
|
|
17228
17414
|
c() {
|
|
17229
17415
|
div = element("div");
|
|
17230
17416
|
textarea = element("textarea");
|
|
17231
|
-
|
|
17417
|
+
t0 = space();
|
|
17418
|
+
if (if_block0) if_block0.c();
|
|
17419
|
+
t1 = space();
|
|
17420
|
+
if (if_block1) if_block1.c();
|
|
17232
17421
|
this.c = noop;
|
|
17233
17422
|
attr(textarea, "name", /*name*/ ctx[1]);
|
|
17234
17423
|
attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
|
|
17235
17424
|
attr(textarea, "rows", /*rows*/ ctx[3]);
|
|
17236
17425
|
attr(textarea, "aria-label", textarea_aria_label_value = /*arialabel*/ ctx[6] || /*name*/ ctx[1]);
|
|
17237
|
-
|
|
17238
|
-
textarea.
|
|
17239
|
-
textarea.readOnly = /*isReadonly*/ ctx[14];
|
|
17426
|
+
textarea.disabled = /*isDisabled*/ ctx[14];
|
|
17427
|
+
textarea.readOnly = /*isReadonly*/ ctx[17];
|
|
17240
17428
|
attr(textarea, "data-testid", /*testid*/ ctx[4]);
|
|
17241
|
-
|
|
17242
|
-
attr(div, "class", "
|
|
17429
|
+
attr(div, "data-testid", "root");
|
|
17430
|
+
attr(div, "class", "root");
|
|
17243
17431
|
|
|
17244
17432
|
attr(div, "style", div_style_value = `
|
|
17245
|
-
${calculateMargin(/*mt*/ ctx[
|
|
17433
|
+
${calculateMargin(/*mt*/ ctx[9], /*mr*/ ctx[10], /*mb*/ ctx[11], /*ml*/ ctx[12])};
|
|
17246
17434
|
--width: ${/*width*/ ctx[5]};
|
|
17435
|
+
--char-count-padding: ${/*showCount*/ ctx[16] || /*maxcount*/ ctx[8] > 0
|
|
17436
|
+
? "2rem"
|
|
17437
|
+
: "0"};
|
|
17247
17438
|
`);
|
|
17439
|
+
|
|
17440
|
+
toggle_class(div, "error", /*isError*/ ctx[18] || /*maxcount*/ ctx[8] > 0 && /*count*/ ctx[15] > /*maxcount*/ ctx[8]);
|
|
17441
|
+
toggle_class(div, "disabled", /*isDisabled*/ ctx[14]);
|
|
17248
17442
|
},
|
|
17249
17443
|
m(target, anchor) {
|
|
17250
17444
|
insert(target, div, anchor);
|
|
17251
17445
|
append(div, textarea);
|
|
17252
|
-
/*textarea_binding*/ ctx[
|
|
17446
|
+
/*textarea_binding*/ ctx[25](textarea);
|
|
17253
17447
|
set_input_value(textarea, /*value*/ ctx[0]);
|
|
17254
|
-
append(div,
|
|
17448
|
+
append(div, t0);
|
|
17449
|
+
if (if_block0) if_block0.m(div, null);
|
|
17450
|
+
append(div, t1);
|
|
17451
|
+
if (if_block1) if_block1.m(div, null);
|
|
17255
17452
|
|
|
17256
17453
|
if (!mounted) {
|
|
17257
|
-
dispose =
|
|
17454
|
+
dispose = [
|
|
17455
|
+
listen(textarea, "input", /*textarea_input_handler*/ ctx[26]),
|
|
17456
|
+
listen(textarea, "keyup", /*onKeyPress*/ ctx[20]),
|
|
17457
|
+
listen(textarea, "change", /*onChange*/ ctx[19])
|
|
17458
|
+
];
|
|
17459
|
+
|
|
17258
17460
|
mounted = true;
|
|
17259
17461
|
}
|
|
17260
17462
|
},
|
|
@@ -17275,12 +17477,12 @@ function create_fragment$k(ctx) {
|
|
|
17275
17477
|
attr(textarea, "aria-label", textarea_aria_label_value);
|
|
17276
17478
|
}
|
|
17277
17479
|
|
|
17278
|
-
if (dirty & /*isDisabled*/
|
|
17279
|
-
textarea.disabled = /*isDisabled*/ ctx[
|
|
17480
|
+
if (dirty & /*isDisabled*/ 16384) {
|
|
17481
|
+
textarea.disabled = /*isDisabled*/ ctx[14];
|
|
17280
17482
|
}
|
|
17281
17483
|
|
|
17282
|
-
if (dirty & /*isReadonly*/
|
|
17283
|
-
textarea.readOnly = /*isReadonly*/ ctx[
|
|
17484
|
+
if (dirty & /*isReadonly*/ 131072) {
|
|
17485
|
+
textarea.readOnly = /*isReadonly*/ ctx[17];
|
|
17284
17486
|
}
|
|
17285
17487
|
|
|
17286
17488
|
if (dirty & /*testid*/ 16) {
|
|
@@ -17291,24 +17493,59 @@ function create_fragment$k(ctx) {
|
|
|
17291
17493
|
set_input_value(textarea, /*value*/ ctx[0]);
|
|
17292
17494
|
}
|
|
17293
17495
|
|
|
17294
|
-
if (
|
|
17295
|
-
|
|
17496
|
+
if (/*maxcount*/ ctx[8] > 0 && !/*isDisabled*/ ctx[14]) {
|
|
17497
|
+
if (if_block0) {
|
|
17498
|
+
if_block0.p(ctx, dirty);
|
|
17499
|
+
} else {
|
|
17500
|
+
if_block0 = create_if_block_1$5(ctx);
|
|
17501
|
+
if_block0.c();
|
|
17502
|
+
if_block0.m(div, t1);
|
|
17503
|
+
}
|
|
17504
|
+
} else if (if_block0) {
|
|
17505
|
+
if_block0.d(1);
|
|
17506
|
+
if_block0 = null;
|
|
17296
17507
|
}
|
|
17297
17508
|
|
|
17298
|
-
if (
|
|
17299
|
-
|
|
17509
|
+
if (/*showCount*/ ctx[16] && /*count*/ ctx[15] > 0 && !/*isDisabled*/ ctx[14]) {
|
|
17510
|
+
if (if_block1) {
|
|
17511
|
+
if_block1.p(ctx, dirty);
|
|
17512
|
+
} else {
|
|
17513
|
+
if_block1 = create_if_block$9(ctx);
|
|
17514
|
+
if_block1.c();
|
|
17515
|
+
if_block1.m(div, null);
|
|
17516
|
+
}
|
|
17517
|
+
} else if (if_block1) {
|
|
17518
|
+
if_block1.d(1);
|
|
17519
|
+
if_block1 = null;
|
|
17520
|
+
}
|
|
17521
|
+
|
|
17522
|
+
if (dirty & /*mt, mr, mb, ml, width, showCount, maxcount*/ 73504 && div_style_value !== (div_style_value = `
|
|
17523
|
+
${calculateMargin(/*mt*/ ctx[9], /*mr*/ ctx[10], /*mb*/ ctx[11], /*ml*/ ctx[12])};
|
|
17300
17524
|
--width: ${/*width*/ ctx[5]};
|
|
17525
|
+
--char-count-padding: ${/*showCount*/ ctx[16] || /*maxcount*/ ctx[8] > 0
|
|
17526
|
+
? "2rem"
|
|
17527
|
+
: "0"};
|
|
17301
17528
|
`)) {
|
|
17302
17529
|
attr(div, "style", div_style_value);
|
|
17303
17530
|
}
|
|
17531
|
+
|
|
17532
|
+
if (dirty & /*isError, maxcount, count*/ 295168) {
|
|
17533
|
+
toggle_class(div, "error", /*isError*/ ctx[18] || /*maxcount*/ ctx[8] > 0 && /*count*/ ctx[15] > /*maxcount*/ ctx[8]);
|
|
17534
|
+
}
|
|
17535
|
+
|
|
17536
|
+
if (dirty & /*isDisabled*/ 16384) {
|
|
17537
|
+
toggle_class(div, "disabled", /*isDisabled*/ ctx[14]);
|
|
17538
|
+
}
|
|
17304
17539
|
},
|
|
17305
17540
|
i: noop,
|
|
17306
17541
|
o: noop,
|
|
17307
17542
|
d(detaching) {
|
|
17308
17543
|
if (detaching) detach(div);
|
|
17309
|
-
/*textarea_binding*/ ctx[
|
|
17544
|
+
/*textarea_binding*/ ctx[25](null);
|
|
17545
|
+
if (if_block0) if_block0.d();
|
|
17546
|
+
if (if_block1) if_block1.d();
|
|
17310
17547
|
mounted = false;
|
|
17311
|
-
dispose
|
|
17548
|
+
run_all(dispose);
|
|
17312
17549
|
}
|
|
17313
17550
|
};
|
|
17314
17551
|
}
|
|
@@ -17317,6 +17554,8 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
17317
17554
|
let isError;
|
|
17318
17555
|
let isDisabled;
|
|
17319
17556
|
let isReadonly;
|
|
17557
|
+
let showCount;
|
|
17558
|
+
let count;
|
|
17320
17559
|
let { name } = $$props;
|
|
17321
17560
|
let { value = "" } = $$props;
|
|
17322
17561
|
let { placeholder = "" } = $$props;
|
|
@@ -17327,17 +17566,43 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
17327
17566
|
let { readonly = "false" } = $$props;
|
|
17328
17567
|
let { disabled = "false" } = $$props;
|
|
17329
17568
|
let { arialabel = "" } = $$props;
|
|
17569
|
+
let { countby } = $$props;
|
|
17570
|
+
let { showcount = "false" } = $$props;
|
|
17571
|
+
let { maxcount = -1 } = $$props;
|
|
17330
17572
|
let { mt = null } = $$props;
|
|
17331
17573
|
let { mr = null } = $$props;
|
|
17332
17574
|
let { mb = null } = $$props;
|
|
17333
17575
|
let { ml = null } = $$props;
|
|
17334
|
-
|
|
17335
|
-
|
|
17576
|
+
|
|
17577
|
+
// privates
|
|
17578
|
+
let _textareaEl;
|
|
17579
|
+
|
|
17580
|
+
// functions
|
|
17581
|
+
function onChange(e) {
|
|
17582
|
+
if (isDisabled) return;
|
|
17583
|
+
const el = e.currentTarget;
|
|
17584
|
+
|
|
17585
|
+
_textareaEl.dispatchEvent(new CustomEvent("_change",
|
|
17586
|
+
{
|
|
17587
|
+
composed: true,
|
|
17588
|
+
detail: { name, value: el.value }
|
|
17589
|
+
}));
|
|
17590
|
+
}
|
|
17591
|
+
|
|
17592
|
+
function onKeyPress(e) {
|
|
17593
|
+
if (isDisabled) return;
|
|
17594
|
+
|
|
17595
|
+
_textareaEl.dispatchEvent(new CustomEvent("_keyPress",
|
|
17596
|
+
{
|
|
17597
|
+
composed: true,
|
|
17598
|
+
detail: { name, value, key: e.key }
|
|
17599
|
+
}));
|
|
17600
|
+
}
|
|
17336
17601
|
|
|
17337
17602
|
function textarea_binding($$value) {
|
|
17338
17603
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
17339
|
-
|
|
17340
|
-
$$invalidate(
|
|
17604
|
+
_textareaEl = $$value;
|
|
17605
|
+
$$invalidate(13, _textareaEl);
|
|
17341
17606
|
});
|
|
17342
17607
|
}
|
|
17343
17608
|
|
|
@@ -17353,43 +17618,41 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
17353
17618
|
if ('rows' in $$props) $$invalidate(3, rows = $$props.rows);
|
|
17354
17619
|
if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
|
|
17355
17620
|
if ('width' in $$props) $$invalidate(5, width = $$props.width);
|
|
17356
|
-
if ('error' in $$props) $$invalidate(
|
|
17357
|
-
if ('readonly' in $$props) $$invalidate(
|
|
17358
|
-
if ('disabled' in $$props) $$invalidate(
|
|
17621
|
+
if ('error' in $$props) $$invalidate(21, error = $$props.error);
|
|
17622
|
+
if ('readonly' in $$props) $$invalidate(22, readonly = $$props.readonly);
|
|
17623
|
+
if ('disabled' in $$props) $$invalidate(23, disabled = $$props.disabled);
|
|
17359
17624
|
if ('arialabel' in $$props) $$invalidate(6, arialabel = $$props.arialabel);
|
|
17360
|
-
if ('
|
|
17361
|
-
if ('
|
|
17362
|
-
if ('
|
|
17363
|
-
if ('
|
|
17364
|
-
if ('
|
|
17625
|
+
if ('countby' in $$props) $$invalidate(7, countby = $$props.countby);
|
|
17626
|
+
if ('showcount' in $$props) $$invalidate(24, showcount = $$props.showcount);
|
|
17627
|
+
if ('maxcount' in $$props) $$invalidate(8, maxcount = $$props.maxcount);
|
|
17628
|
+
if ('mt' in $$props) $$invalidate(9, mt = $$props.mt);
|
|
17629
|
+
if ('mr' in $$props) $$invalidate(10, mr = $$props.mr);
|
|
17630
|
+
if ('mb' in $$props) $$invalidate(11, mb = $$props.mb);
|
|
17631
|
+
if ('ml' in $$props) $$invalidate(12, ml = $$props.ml);
|
|
17365
17632
|
};
|
|
17366
17633
|
|
|
17367
17634
|
$$self.$$.update = () => {
|
|
17368
|
-
if ($$self.$$.dirty & /*error*/
|
|
17369
|
-
|
|
17635
|
+
if ($$self.$$.dirty & /*error*/ 2097152) {
|
|
17636
|
+
// reactive
|
|
17637
|
+
$$invalidate(18, isError = toBoolean(error));
|
|
17370
17638
|
}
|
|
17371
17639
|
|
|
17372
|
-
if ($$self.$$.dirty & /*disabled*/
|
|
17373
|
-
$$invalidate(
|
|
17640
|
+
if ($$self.$$.dirty & /*disabled*/ 8388608) {
|
|
17641
|
+
$$invalidate(14, isDisabled = toBoolean(disabled));
|
|
17374
17642
|
}
|
|
17375
17643
|
|
|
17376
|
-
if ($$self.$$.dirty & /*readonly*/
|
|
17377
|
-
$$invalidate(
|
|
17644
|
+
if ($$self.$$.dirty & /*readonly*/ 4194304) {
|
|
17645
|
+
$$invalidate(17, isReadonly = toBoolean(readonly));
|
|
17378
17646
|
}
|
|
17379
17647
|
|
|
17380
|
-
if ($$self.$$.dirty & /*
|
|
17381
|
-
|
|
17382
|
-
|
|
17383
|
-
|
|
17384
|
-
|
|
17385
|
-
|
|
17386
|
-
|
|
17387
|
-
|
|
17388
|
-
cancelable: true,
|
|
17389
|
-
detail: { name, value }
|
|
17390
|
-
}));
|
|
17391
|
-
}
|
|
17392
|
-
}
|
|
17648
|
+
if ($$self.$$.dirty & /*showcount*/ 16777216) {
|
|
17649
|
+
$$invalidate(16, showCount = toBoolean(showcount));
|
|
17650
|
+
}
|
|
17651
|
+
|
|
17652
|
+
if ($$self.$$.dirty & /*countby, value*/ 129) {
|
|
17653
|
+
$$invalidate(15, count = countby === "character"
|
|
17654
|
+
? value.length
|
|
17655
|
+
: value.split(" ").filter(word => word.trim().length > 0).length);
|
|
17393
17656
|
}
|
|
17394
17657
|
};
|
|
17395
17658
|
|
|
@@ -17401,18 +17664,24 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
17401
17664
|
testid,
|
|
17402
17665
|
width,
|
|
17403
17666
|
arialabel,
|
|
17667
|
+
countby,
|
|
17668
|
+
maxcount,
|
|
17404
17669
|
mt,
|
|
17405
17670
|
mr,
|
|
17406
17671
|
mb,
|
|
17407
17672
|
ml,
|
|
17408
|
-
|
|
17409
|
-
_textAreaEl,
|
|
17673
|
+
_textareaEl,
|
|
17410
17674
|
isDisabled,
|
|
17675
|
+
count,
|
|
17676
|
+
showCount,
|
|
17411
17677
|
isReadonly,
|
|
17412
17678
|
isError,
|
|
17679
|
+
onChange,
|
|
17680
|
+
onKeyPress,
|
|
17413
17681
|
error,
|
|
17414
17682
|
readonly,
|
|
17415
17683
|
disabled,
|
|
17684
|
+
showcount,
|
|
17416
17685
|
textarea_binding,
|
|
17417
17686
|
textarea_input_handler
|
|
17418
17687
|
];
|
|
@@ -17423,8 +17692,8 @@ class TextArea extends SvelteElement {
|
|
|
17423
17692
|
super();
|
|
17424
17693
|
const style = document.createElement('style');
|
|
17425
17694
|
|
|
17426
|
-
style.textContent = `:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:var(--goa-space-s);box-sizing:border-box;font-family:var(--goa-font-family-sans)}.
|
|
17427
|
-
}.
|
|
17695
|
+
style.textContent = `:host{--textarea-padding-vertical:0.625rem;--textarea-padding-horizontal:var(--goa-space-s);box-sizing:border-box;font-family:var(--goa-font-family-sans)}.root{position:relative;width:100%;padding-bottom:var(--char-count-padding);border:var(--goa-border-width-s) solid var(--goa-color-greyscale-700);border-radius:3px}.root:has(textarea:disabled){background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}@media screen and (max-width: 623px){@media not (max-color:2147477350){.root{max-width:var(--width)}}}@media not screen and (max-width: 623px){@media not (color:2147477350){.root{max-width:var(--width)}}}textarea{display:block;width:100%;box-sizing:border-box;outline:none;border:none;color:var(--goa-color-greyscale-black, #ccc);padding:var(--textarea-padding-vertical) var(--textarea-padding-horizontal);font-size:var(--goa-font-size-4);font-family:var(--goa-font-family-sans);min-width:100%;resize:vertical}@media screen and (max-width: 623px){@media not (max-color:2147477350){}}@media not screen and (max-width: 623px){@media not (color:2147477350){}}.root:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-hover)}.root:focus-within{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}.counter-error{color:var(--goa-color-interactive-error)
|
|
17696
|
+
}.counter{position:absolute;right:0.75rem;font-size:var(--goa-font-size-2)}textarea{resize:none;scroll-behavior:smooth;max-height:calc(100vh * var(--max-height, 100) / 100)}textarea::-webkit-scrollbar{width:6px}textarea::-webkit-scrollbar-track{background:#f1f1f1}textarea::-webkit-scrollbar-thumb{background:#888}textarea::-webkit-scrollbar-thumb:hover{background:#555}.error{border-color:var(--goa-color-interactive-error);box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error:hover{box-shadow:0 0 0 var(--goa-border-width-m) var(--goa-color-interactive-error)}.error:active,.error:focus{box-shadow:0 0 0 var(--goa-border-width-l) var(--goa-color-interactive-focus)}`;
|
|
17428
17697
|
|
|
17429
17698
|
this.shadowRoot.appendChild(style);
|
|
17430
17699
|
|
|
@@ -17445,15 +17714,17 @@ class TextArea extends SvelteElement {
|
|
|
17445
17714
|
rows: 3,
|
|
17446
17715
|
testid: 4,
|
|
17447
17716
|
width: 5,
|
|
17448
|
-
error:
|
|
17449
|
-
readonly:
|
|
17450
|
-
disabled:
|
|
17717
|
+
error: 21,
|
|
17718
|
+
readonly: 22,
|
|
17719
|
+
disabled: 23,
|
|
17451
17720
|
arialabel: 6,
|
|
17452
|
-
|
|
17453
|
-
|
|
17454
|
-
|
|
17455
|
-
|
|
17456
|
-
|
|
17721
|
+
countby: 7,
|
|
17722
|
+
showcount: 24,
|
|
17723
|
+
maxcount: 8,
|
|
17724
|
+
mt: 9,
|
|
17725
|
+
mr: 10,
|
|
17726
|
+
mb: 11,
|
|
17727
|
+
ml: 12
|
|
17457
17728
|
},
|
|
17458
17729
|
null
|
|
17459
17730
|
);
|
|
@@ -17482,11 +17753,13 @@ class TextArea extends SvelteElement {
|
|
|
17482
17753
|
"readonly",
|
|
17483
17754
|
"disabled",
|
|
17484
17755
|
"arialabel",
|
|
17756
|
+
"countby",
|
|
17757
|
+
"showcount",
|
|
17758
|
+
"maxcount",
|
|
17485
17759
|
"mt",
|
|
17486
17760
|
"mr",
|
|
17487
17761
|
"mb",
|
|
17488
|
-
"ml"
|
|
17489
|
-
"maxcharcount"
|
|
17762
|
+
"ml"
|
|
17490
17763
|
];
|
|
17491
17764
|
}
|
|
17492
17765
|
|
|
@@ -17545,7 +17818,7 @@ class TextArea extends SvelteElement {
|
|
|
17545
17818
|
}
|
|
17546
17819
|
|
|
17547
17820
|
get error() {
|
|
17548
|
-
return this.$$.ctx[
|
|
17821
|
+
return this.$$.ctx[21];
|
|
17549
17822
|
}
|
|
17550
17823
|
|
|
17551
17824
|
set error(error) {
|
|
@@ -17554,7 +17827,7 @@ class TextArea extends SvelteElement {
|
|
|
17554
17827
|
}
|
|
17555
17828
|
|
|
17556
17829
|
get readonly() {
|
|
17557
|
-
return this.$$.ctx[
|
|
17830
|
+
return this.$$.ctx[22];
|
|
17558
17831
|
}
|
|
17559
17832
|
|
|
17560
17833
|
set readonly(readonly) {
|
|
@@ -17563,7 +17836,7 @@ class TextArea extends SvelteElement {
|
|
|
17563
17836
|
}
|
|
17564
17837
|
|
|
17565
17838
|
get disabled() {
|
|
17566
|
-
return this.$$.ctx[
|
|
17839
|
+
return this.$$.ctx[23];
|
|
17567
17840
|
}
|
|
17568
17841
|
|
|
17569
17842
|
set disabled(disabled) {
|
|
@@ -17580,17 +17853,44 @@ class TextArea extends SvelteElement {
|
|
|
17580
17853
|
flush();
|
|
17581
17854
|
}
|
|
17582
17855
|
|
|
17583
|
-
get
|
|
17856
|
+
get countby() {
|
|
17584
17857
|
return this.$$.ctx[7];
|
|
17585
17858
|
}
|
|
17586
17859
|
|
|
17860
|
+
set countby(countby) {
|
|
17861
|
+
this.$$set({ countby });
|
|
17862
|
+
flush();
|
|
17863
|
+
}
|
|
17864
|
+
|
|
17865
|
+
get showcount() {
|
|
17866
|
+
return this.$$.ctx[24];
|
|
17867
|
+
}
|
|
17868
|
+
|
|
17869
|
+
set showcount(showcount) {
|
|
17870
|
+
this.$$set({ showcount });
|
|
17871
|
+
flush();
|
|
17872
|
+
}
|
|
17873
|
+
|
|
17874
|
+
get maxcount() {
|
|
17875
|
+
return this.$$.ctx[8];
|
|
17876
|
+
}
|
|
17877
|
+
|
|
17878
|
+
set maxcount(maxcount) {
|
|
17879
|
+
this.$$set({ maxcount });
|
|
17880
|
+
flush();
|
|
17881
|
+
}
|
|
17882
|
+
|
|
17883
|
+
get mt() {
|
|
17884
|
+
return this.$$.ctx[9];
|
|
17885
|
+
}
|
|
17886
|
+
|
|
17587
17887
|
set mt(mt) {
|
|
17588
17888
|
this.$$set({ mt });
|
|
17589
17889
|
flush();
|
|
17590
17890
|
}
|
|
17591
17891
|
|
|
17592
17892
|
get mr() {
|
|
17593
|
-
return this.$$.ctx[
|
|
17893
|
+
return this.$$.ctx[10];
|
|
17594
17894
|
}
|
|
17595
17895
|
|
|
17596
17896
|
set mr(mr) {
|
|
@@ -17599,7 +17899,7 @@ class TextArea extends SvelteElement {
|
|
|
17599
17899
|
}
|
|
17600
17900
|
|
|
17601
17901
|
get mb() {
|
|
17602
|
-
return this.$$.ctx[
|
|
17902
|
+
return this.$$.ctx[11];
|
|
17603
17903
|
}
|
|
17604
17904
|
|
|
17605
17905
|
set mb(mb) {
|
|
@@ -17608,22 +17908,13 @@ class TextArea extends SvelteElement {
|
|
|
17608
17908
|
}
|
|
17609
17909
|
|
|
17610
17910
|
get ml() {
|
|
17611
|
-
return this.$$.ctx[
|
|
17911
|
+
return this.$$.ctx[12];
|
|
17612
17912
|
}
|
|
17613
17913
|
|
|
17614
17914
|
set ml(ml) {
|
|
17615
17915
|
this.$$set({ ml });
|
|
17616
17916
|
flush();
|
|
17617
17917
|
}
|
|
17618
|
-
|
|
17619
|
-
get maxcharcount() {
|
|
17620
|
-
return this.$$.ctx[11];
|
|
17621
|
-
}
|
|
17622
|
-
|
|
17623
|
-
set maxcharcount(maxcharcount) {
|
|
17624
|
-
this.$$set({ maxcharcount });
|
|
17625
|
-
flush();
|
|
17626
|
-
}
|
|
17627
17918
|
}
|
|
17628
17919
|
|
|
17629
17920
|
customElements.define("goa-textarea", TextArea);
|
|
@@ -23580,16 +23871,26 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
23580
23871
|
let _showPopover = false;
|
|
23581
23872
|
|
|
23582
23873
|
onMount(async () => {
|
|
23874
|
+
await initDate();
|
|
23875
|
+
});
|
|
23876
|
+
|
|
23877
|
+
afterUpdate(async () => {
|
|
23878
|
+
await initDate();
|
|
23879
|
+
});
|
|
23880
|
+
|
|
23881
|
+
async function initDate() {
|
|
23583
23882
|
$$invalidate(9, _date = value && startOfDay(new Date(value)));
|
|
23584
23883
|
|
|
23585
23884
|
if (value && !isValid(_date)) {
|
|
23586
23885
|
console.error(`${value} is not a valid date`);
|
|
23587
23886
|
}
|
|
23588
|
-
}
|
|
23887
|
+
}
|
|
23589
23888
|
|
|
23590
23889
|
function onCalendarChange(e) {
|
|
23591
23890
|
$$invalidate(9, _date = e.detail.value);
|
|
23891
|
+
$$invalidate(0, value = _date.toISOString());
|
|
23592
23892
|
hideCalendar();
|
|
23893
|
+
dispatchValue(_date);
|
|
23593
23894
|
e.stopPropagation();
|
|
23594
23895
|
e.preventDefault();
|
|
23595
23896
|
}
|
|
@@ -23632,7 +23933,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
23632
23933
|
// in the key event handling below the first line `_date ||= ...` is to initialize the date, if
|
|
23633
23934
|
// it hasn't yet been set to 1 unit opposite of what the keybinding does ex. if ArrowDown is
|
|
23634
23935
|
// clicked, which moves the datepicker one week ahead, the date is initialize one week before.
|
|
23635
|
-
// This is to allow the starting date displayed to be that of today no matter what key is
|
|
23936
|
+
// This is to allow the starting date displayed to be that of today no matter what key is
|
|
23636
23937
|
// pressed.
|
|
23637
23938
|
switch (e.key) {
|
|
23638
23939
|
case "ArrowLeft":
|