@abgov/web-components 1.0.0-alpha.120 → 1.0.0-alpha.121
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 +116 -255
- package/web-components.umd.js +39 -39
package/web-components.es.js
CHANGED
|
@@ -925,7 +925,7 @@ function create_else_block$3(ctx) {
|
|
|
925
925
|
}
|
|
926
926
|
|
|
927
927
|
// (19:4) {#if url}
|
|
928
|
-
function create_if_block$
|
|
928
|
+
function create_if_block$i(ctx) {
|
|
929
929
|
let a;
|
|
930
930
|
let img0;
|
|
931
931
|
let img0_src_value;
|
|
@@ -985,7 +985,7 @@ function create_fragment$F(ctx) {
|
|
|
985
985
|
let div2_style_value;
|
|
986
986
|
|
|
987
987
|
function select_block_type(ctx, dirty) {
|
|
988
|
-
if (/*url*/ ctx[1]) return create_if_block$
|
|
988
|
+
if (/*url*/ ctx[1]) return create_if_block$i;
|
|
989
989
|
return create_else_block$3;
|
|
990
990
|
}
|
|
991
991
|
|
|
@@ -1173,7 +1173,7 @@ function create_else_block$2(ctx) {
|
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
1175
|
// (35:2) {#if showIcon}
|
|
1176
|
-
function create_if_block_1$
|
|
1176
|
+
function create_if_block_1$a(ctx) {
|
|
1177
1177
|
let goa_icon;
|
|
1178
1178
|
|
|
1179
1179
|
return {
|
|
@@ -1197,7 +1197,7 @@ function create_if_block_1$b(ctx) {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
1199
|
// (40:2) {#if content}
|
|
1200
|
-
function create_if_block$
|
|
1200
|
+
function create_if_block$h(ctx) {
|
|
1201
1201
|
let div;
|
|
1202
1202
|
let t;
|
|
1203
1203
|
|
|
@@ -1226,13 +1226,13 @@ function create_fragment$E(ctx) {
|
|
|
1226
1226
|
let div_class_value;
|
|
1227
1227
|
|
|
1228
1228
|
function select_block_type(ctx, dirty) {
|
|
1229
|
-
if (/*showIcon*/ ctx[3]) return create_if_block_1$
|
|
1229
|
+
if (/*showIcon*/ ctx[3]) return create_if_block_1$a;
|
|
1230
1230
|
return create_else_block$2;
|
|
1231
1231
|
}
|
|
1232
1232
|
|
|
1233
1233
|
let current_block_type = select_block_type(ctx);
|
|
1234
1234
|
let if_block0 = current_block_type(ctx);
|
|
1235
|
-
let if_block1 = /*content*/ ctx[2] && create_if_block$
|
|
1235
|
+
let if_block1 = /*content*/ ctx[2] && create_if_block$h(ctx);
|
|
1236
1236
|
|
|
1237
1237
|
return {
|
|
1238
1238
|
c() {
|
|
@@ -1269,7 +1269,7 @@ function create_fragment$E(ctx) {
|
|
|
1269
1269
|
if (if_block1) {
|
|
1270
1270
|
if_block1.p(ctx, dirty);
|
|
1271
1271
|
} else {
|
|
1272
|
-
if_block1 = create_if_block$
|
|
1272
|
+
if_block1 = create_if_block$h(ctx);
|
|
1273
1273
|
if_block1.c();
|
|
1274
1274
|
if_block1.m(div, null);
|
|
1275
1275
|
}
|
|
@@ -1526,8 +1526,8 @@ function create_else_block$1(ctx) {
|
|
|
1526
1526
|
let slot;
|
|
1527
1527
|
let t1;
|
|
1528
1528
|
let if_block1_anchor;
|
|
1529
|
-
let if_block0 = /*leadingicon*/ ctx[3] && create_if_block_2$
|
|
1530
|
-
let if_block1 = /*trailingicon*/ ctx[4] && create_if_block_1$
|
|
1529
|
+
let if_block0 = /*leadingicon*/ ctx[3] && create_if_block_2$6(ctx);
|
|
1530
|
+
let if_block1 = /*trailingicon*/ ctx[4] && create_if_block_1$9(ctx);
|
|
1531
1531
|
|
|
1532
1532
|
return {
|
|
1533
1533
|
c() {
|
|
@@ -1552,7 +1552,7 @@ function create_else_block$1(ctx) {
|
|
|
1552
1552
|
if (if_block0) {
|
|
1553
1553
|
if_block0.p(ctx, dirty);
|
|
1554
1554
|
} else {
|
|
1555
|
-
if_block0 = create_if_block_2$
|
|
1555
|
+
if_block0 = create_if_block_2$6(ctx);
|
|
1556
1556
|
if_block0.c();
|
|
1557
1557
|
if_block0.m(t0.parentNode, t0);
|
|
1558
1558
|
}
|
|
@@ -1565,7 +1565,7 @@ function create_else_block$1(ctx) {
|
|
|
1565
1565
|
if (if_block1) {
|
|
1566
1566
|
if_block1.p(ctx, dirty);
|
|
1567
1567
|
} else {
|
|
1568
|
-
if_block1 = create_if_block_1$
|
|
1568
|
+
if_block1 = create_if_block_1$9(ctx);
|
|
1569
1569
|
if_block1.c();
|
|
1570
1570
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
1571
1571
|
}
|
|
@@ -1586,7 +1586,7 @@ function create_else_block$1(ctx) {
|
|
|
1586
1586
|
}
|
|
1587
1587
|
|
|
1588
1588
|
// (53:2) {#if type === "start"}
|
|
1589
|
-
function create_if_block$
|
|
1589
|
+
function create_if_block$g(ctx) {
|
|
1590
1590
|
let slot;
|
|
1591
1591
|
let t;
|
|
1592
1592
|
let goa_icon;
|
|
@@ -1616,7 +1616,7 @@ function create_if_block$h(ctx) {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
|
|
1618
1618
|
// (57:4) {#if leadingicon}
|
|
1619
|
-
function create_if_block_2$
|
|
1619
|
+
function create_if_block_2$6(ctx) {
|
|
1620
1620
|
let goa_icon;
|
|
1621
1621
|
|
|
1622
1622
|
return {
|
|
@@ -1645,7 +1645,7 @@ function create_if_block_2$7(ctx) {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
|
|
1647
1647
|
// (61:4) {#if trailingicon}
|
|
1648
|
-
function create_if_block_1$
|
|
1648
|
+
function create_if_block_1$9(ctx) {
|
|
1649
1649
|
let goa_icon;
|
|
1650
1650
|
|
|
1651
1651
|
return {
|
|
@@ -1680,7 +1680,7 @@ function create_fragment$C(ctx) {
|
|
|
1680
1680
|
let dispose;
|
|
1681
1681
|
|
|
1682
1682
|
function select_block_type(ctx, dirty) {
|
|
1683
|
-
if (/*type*/ ctx[0] === "start") return create_if_block$
|
|
1683
|
+
if (/*type*/ ctx[0] === "start") return create_if_block$g;
|
|
1684
1684
|
return create_else_block$1;
|
|
1685
1685
|
}
|
|
1686
1686
|
|
|
@@ -1952,7 +1952,7 @@ customElements.define("goa-button", Button);
|
|
|
1952
1952
|
|
|
1953
1953
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
1954
1954
|
|
|
1955
|
-
function create_if_block$
|
|
1955
|
+
function create_if_block$f(ctx) {
|
|
1956
1956
|
let h3;
|
|
1957
1957
|
let t;
|
|
1958
1958
|
|
|
@@ -1984,7 +1984,7 @@ function create_fragment$B(ctx) {
|
|
|
1984
1984
|
let span1;
|
|
1985
1985
|
let t1;
|
|
1986
1986
|
let slot;
|
|
1987
|
-
let if_block = /*heading*/ ctx[1] && create_if_block$
|
|
1987
|
+
let if_block = /*heading*/ ctx[1] && create_if_block$f(ctx);
|
|
1988
1988
|
|
|
1989
1989
|
return {
|
|
1990
1990
|
c() {
|
|
@@ -2031,7 +2031,7 @@ function create_fragment$B(ctx) {
|
|
|
2031
2031
|
if (if_block) {
|
|
2032
2032
|
if_block.p(ctx, dirty);
|
|
2033
2033
|
} else {
|
|
2034
|
-
if_block = create_if_block$
|
|
2034
|
+
if_block = create_if_block$f(ctx);
|
|
2035
2035
|
if_block.c();
|
|
2036
2036
|
if_block.m(span1, t1);
|
|
2037
2037
|
}
|
|
@@ -2532,7 +2532,7 @@ customElements.define("goa-card", Card);
|
|
|
2532
2532
|
|
|
2533
2533
|
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
2534
2534
|
|
|
2535
|
-
function create_if_block_1$
|
|
2535
|
+
function create_if_block_1$8(ctx) {
|
|
2536
2536
|
let svg;
|
|
2537
2537
|
let path;
|
|
2538
2538
|
|
|
@@ -2557,7 +2557,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2557
2557
|
}
|
|
2558
2558
|
|
|
2559
2559
|
// (59:4) {#if isIndeterminate}
|
|
2560
|
-
function create_if_block$
|
|
2560
|
+
function create_if_block$e(ctx) {
|
|
2561
2561
|
let svg;
|
|
2562
2562
|
let rect;
|
|
2563
2563
|
|
|
@@ -2596,8 +2596,8 @@ function create_fragment$v(ctx) {
|
|
|
2596
2596
|
let dispose;
|
|
2597
2597
|
|
|
2598
2598
|
function select_block_type(ctx, dirty) {
|
|
2599
|
-
if (/*isIndeterminate*/ ctx[5]) return create_if_block$
|
|
2600
|
-
if (/*isChecked*/ ctx[4]) return create_if_block_1$
|
|
2599
|
+
if (/*isIndeterminate*/ ctx[5]) return create_if_block$e;
|
|
2600
|
+
if (/*isChecked*/ ctx[4]) return create_if_block_1$8;
|
|
2601
2601
|
}
|
|
2602
2602
|
|
|
2603
2603
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2911,7 +2911,7 @@ customElements.define("goa-checkbox", Checkbox);
|
|
|
2911
2911
|
|
|
2912
2912
|
/* libs/web-components/src/components/chip/Chip.svelte generated by Svelte v3.51.0 */
|
|
2913
2913
|
|
|
2914
|
-
function create_if_block_1$
|
|
2914
|
+
function create_if_block_1$7(ctx) {
|
|
2915
2915
|
let goa_icon;
|
|
2916
2916
|
|
|
2917
2917
|
return {
|
|
@@ -2936,7 +2936,7 @@ function create_if_block_1$8(ctx) {
|
|
|
2936
2936
|
}
|
|
2937
2937
|
|
|
2938
2938
|
// (46:2) {#if _deletable}
|
|
2939
|
-
function create_if_block$
|
|
2939
|
+
function create_if_block$d(ctx) {
|
|
2940
2940
|
let goa_icon;
|
|
2941
2941
|
let goa_icon_fillcolor_value;
|
|
2942
2942
|
let goa_icon_opacity_value;
|
|
@@ -2987,8 +2987,8 @@ function create_fragment$u(ctx) {
|
|
|
2987
2987
|
let t2;
|
|
2988
2988
|
let mounted;
|
|
2989
2989
|
let dispose;
|
|
2990
|
-
let if_block0 = /*leadingicon*/ ctx[0] && create_if_block_1$
|
|
2991
|
-
let if_block1 = /*_deletable*/ ctx[6] && create_if_block$
|
|
2990
|
+
let if_block0 = /*leadingicon*/ ctx[0] && create_if_block_1$7(ctx);
|
|
2991
|
+
let if_block1 = /*_deletable*/ ctx[6] && create_if_block$d(ctx);
|
|
2992
2992
|
|
|
2993
2993
|
return {
|
|
2994
2994
|
c() {
|
|
@@ -3035,7 +3035,7 @@ function create_fragment$u(ctx) {
|
|
|
3035
3035
|
if (if_block0) {
|
|
3036
3036
|
if_block0.p(ctx, dirty);
|
|
3037
3037
|
} else {
|
|
3038
|
-
if_block0 = create_if_block_1$
|
|
3038
|
+
if_block0 = create_if_block_1$7(ctx);
|
|
3039
3039
|
if_block0.c();
|
|
3040
3040
|
if_block0.m(div1, t0);
|
|
3041
3041
|
}
|
|
@@ -3050,7 +3050,7 @@ function create_fragment$u(ctx) {
|
|
|
3050
3050
|
if (if_block1) {
|
|
3051
3051
|
if_block1.p(ctx, dirty);
|
|
3052
3052
|
} else {
|
|
3053
|
-
if_block1 = create_if_block$
|
|
3053
|
+
if_block1 = create_if_block$d(ctx);
|
|
3054
3054
|
if_block1.c();
|
|
3055
3055
|
if_block1.m(div1, null);
|
|
3056
3056
|
}
|
|
@@ -3332,12 +3332,12 @@ function noscroll(_node, opts) {
|
|
|
3332
3332
|
|
|
3333
3333
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
3334
3334
|
|
|
3335
|
-
function create_if_block$
|
|
3335
|
+
function create_if_block$c(ctx) {
|
|
3336
3336
|
let current_block_type_index;
|
|
3337
3337
|
let if_block;
|
|
3338
3338
|
let if_block_anchor;
|
|
3339
3339
|
let current;
|
|
3340
|
-
const if_block_creators = [create_if_block_1$
|
|
3340
|
+
const if_block_creators = [create_if_block_1$6, create_if_block_3$4];
|
|
3341
3341
|
const if_blocks = [];
|
|
3342
3342
|
|
|
3343
3343
|
function select_block_type(ctx, dirty) {
|
|
@@ -3483,7 +3483,7 @@ function create_if_block_3$4(ctx) {
|
|
|
3483
3483
|
}
|
|
3484
3484
|
|
|
3485
3485
|
// (27:2) {#if fullscreen}
|
|
3486
|
-
function create_if_block_1$
|
|
3486
|
+
function create_if_block_1$6(ctx) {
|
|
3487
3487
|
let div;
|
|
3488
3488
|
let goa_spinner;
|
|
3489
3489
|
let t;
|
|
@@ -3491,7 +3491,7 @@ function create_if_block_1$7(ctx) {
|
|
|
3491
3491
|
let current;
|
|
3492
3492
|
let mounted;
|
|
3493
3493
|
let dispose;
|
|
3494
|
-
let if_block = /*message*/ ctx[0] && create_if_block_2$
|
|
3494
|
+
let if_block = /*message*/ ctx[0] && create_if_block_2$5(ctx);
|
|
3495
3495
|
|
|
3496
3496
|
return {
|
|
3497
3497
|
c() {
|
|
@@ -3528,7 +3528,7 @@ function create_if_block_1$7(ctx) {
|
|
|
3528
3528
|
if (if_block) {
|
|
3529
3529
|
if_block.p(ctx, dirty);
|
|
3530
3530
|
} else {
|
|
3531
|
-
if_block = create_if_block_2$
|
|
3531
|
+
if_block = create_if_block_2$5(ctx);
|
|
3532
3532
|
if_block.c();
|
|
3533
3533
|
if_block.m(div, null);
|
|
3534
3534
|
}
|
|
@@ -3591,7 +3591,7 @@ function create_if_block_4$1(ctx) {
|
|
|
3591
3591
|
}
|
|
3592
3592
|
|
|
3593
3593
|
// (34:6) {#if message}
|
|
3594
|
-
function create_if_block_2$
|
|
3594
|
+
function create_if_block_2$5(ctx) {
|
|
3595
3595
|
let div;
|
|
3596
3596
|
let t;
|
|
3597
3597
|
|
|
@@ -3617,7 +3617,7 @@ function create_if_block_2$6(ctx) {
|
|
|
3617
3617
|
function create_fragment$t(ctx) {
|
|
3618
3618
|
let if_block_anchor;
|
|
3619
3619
|
let current;
|
|
3620
|
-
let if_block = /*isVisible*/ ctx[5] && create_if_block$
|
|
3620
|
+
let if_block = /*isVisible*/ ctx[5] && create_if_block$c(ctx);
|
|
3621
3621
|
|
|
3622
3622
|
return {
|
|
3623
3623
|
c() {
|
|
@@ -3639,7 +3639,7 @@ function create_fragment$t(ctx) {
|
|
|
3639
3639
|
transition_in(if_block, 1);
|
|
3640
3640
|
}
|
|
3641
3641
|
} else {
|
|
3642
|
-
if_block = create_if_block$
|
|
3642
|
+
if_block = create_if_block$c(ctx);
|
|
3643
3643
|
if_block.c();
|
|
3644
3644
|
transition_in(if_block, 1);
|
|
3645
3645
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -4040,7 +4040,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
4042
|
// (203:2) {#if isMenuVisible}
|
|
4043
|
-
function create_if_block$
|
|
4043
|
+
function create_if_block$b(ctx) {
|
|
4044
4044
|
let div;
|
|
4045
4045
|
let div_data_testid_value;
|
|
4046
4046
|
let mounted;
|
|
@@ -4173,7 +4173,7 @@ function create_fragment$r(ctx) {
|
|
|
4173
4173
|
let div_style_value;
|
|
4174
4174
|
let mounted;
|
|
4175
4175
|
let dispose;
|
|
4176
|
-
let if_block = /*isMenuVisible*/ ctx[11] && create_if_block$
|
|
4176
|
+
let if_block = /*isMenuVisible*/ ctx[11] && create_if_block$b(ctx);
|
|
4177
4177
|
let each_value = /*options*/ ctx[9];
|
|
4178
4178
|
let each_blocks = [];
|
|
4179
4179
|
|
|
@@ -4250,7 +4250,7 @@ function create_fragment$r(ctx) {
|
|
|
4250
4250
|
if (if_block) {
|
|
4251
4251
|
if_block.p(ctx, dirty);
|
|
4252
4252
|
} else {
|
|
4253
|
-
if_block = create_if_block$
|
|
4253
|
+
if_block = create_if_block$b(ctx);
|
|
4254
4254
|
if_block.c();
|
|
4255
4255
|
if_block.m(div, t0);
|
|
4256
4256
|
}
|
|
@@ -5555,7 +5555,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
5555
5555
|
}
|
|
5556
5556
|
|
|
5557
5557
|
// (90:2) {#if heading}
|
|
5558
|
-
function create_if_block$
|
|
5558
|
+
function create_if_block$a(ctx) {
|
|
5559
5559
|
let div;
|
|
5560
5560
|
let t0;
|
|
5561
5561
|
let t1;
|
|
@@ -5627,7 +5627,7 @@ function create_fragment$l(ctx) {
|
|
|
5627
5627
|
let t1;
|
|
5628
5628
|
let ul;
|
|
5629
5629
|
let ul_style_value;
|
|
5630
|
-
let if_block = /*heading*/ ctx[0] && create_if_block$
|
|
5630
|
+
let if_block = /*heading*/ ctx[0] && create_if_block$a(ctx);
|
|
5631
5631
|
let each_value = /*children*/ ctx[3];
|
|
5632
5632
|
let each_blocks = [];
|
|
5633
5633
|
|
|
@@ -5681,7 +5681,7 @@ function create_fragment$l(ctx) {
|
|
|
5681
5681
|
if (if_block) {
|
|
5682
5682
|
if_block.p(ctx, dirty);
|
|
5683
5683
|
} else {
|
|
5684
|
-
if_block = create_if_block$
|
|
5684
|
+
if_block = create_if_block$a(ctx);
|
|
5685
5685
|
if_block.c();
|
|
5686
5686
|
if_block.m(section, t0);
|
|
5687
5687
|
}
|
|
@@ -5846,7 +5846,7 @@ customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
|
5846
5846
|
|
|
5847
5847
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
5848
5848
|
|
|
5849
|
-
function create_if_block$
|
|
5849
|
+
function create_if_block$9(ctx) {
|
|
5850
5850
|
let goa_divider;
|
|
5851
5851
|
|
|
5852
5852
|
return {
|
|
@@ -5877,7 +5877,7 @@ function create_fragment$k(ctx) {
|
|
|
5877
5877
|
let t3;
|
|
5878
5878
|
let a1;
|
|
5879
5879
|
let div5_style_value;
|
|
5880
|
-
let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$
|
|
5880
|
+
let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$9();
|
|
5881
5881
|
|
|
5882
5882
|
return {
|
|
5883
5883
|
c() {
|
|
@@ -5931,7 +5931,7 @@ function create_fragment$k(ctx) {
|
|
|
5931
5931
|
p(ctx, [dirty]) {
|
|
5932
5932
|
if (/*navLinks*/ ctx[2]?.length) {
|
|
5933
5933
|
if (if_block) ; else {
|
|
5934
|
-
if_block = create_if_block$
|
|
5934
|
+
if_block = create_if_block$9();
|
|
5935
5935
|
if_block.c();
|
|
5936
5936
|
if_block.m(div4, t1);
|
|
5937
5937
|
}
|
|
@@ -6040,7 +6040,7 @@ customElements.define("goa-app-footer", Footer);
|
|
|
6040
6040
|
|
|
6041
6041
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
6042
6042
|
|
|
6043
|
-
function create_if_block_2$
|
|
6043
|
+
function create_if_block_2$4(ctx) {
|
|
6044
6044
|
let div;
|
|
6045
6045
|
let t0;
|
|
6046
6046
|
let t1;
|
|
@@ -6115,7 +6115,7 @@ function create_if_block_3$3(ctx) {
|
|
|
6115
6115
|
}
|
|
6116
6116
|
|
|
6117
6117
|
// (36:2) {#if error}
|
|
6118
|
-
function create_if_block_1$
|
|
6118
|
+
function create_if_block_1$5(ctx) {
|
|
6119
6119
|
let div;
|
|
6120
6120
|
let t;
|
|
6121
6121
|
|
|
@@ -6139,7 +6139,7 @@ function create_if_block_1$6(ctx) {
|
|
|
6139
6139
|
}
|
|
6140
6140
|
|
|
6141
6141
|
// (39:2) {#if helptext}
|
|
6142
|
-
function create_if_block$
|
|
6142
|
+
function create_if_block$8(ctx) {
|
|
6143
6143
|
let div;
|
|
6144
6144
|
let t;
|
|
6145
6145
|
|
|
@@ -6168,9 +6168,9 @@ function create_fragment$j(ctx) {
|
|
|
6168
6168
|
let div0;
|
|
6169
6169
|
let t1;
|
|
6170
6170
|
let t2;
|
|
6171
|
-
let if_block0 = /*label*/ ctx[0] && create_if_block_2$
|
|
6172
|
-
let if_block1 = /*error*/ ctx[2] && create_if_block_1$
|
|
6173
|
-
let if_block2 = /*helptext*/ ctx[1] && create_if_block$
|
|
6171
|
+
let if_block0 = /*label*/ ctx[0] && create_if_block_2$4(ctx);
|
|
6172
|
+
let if_block1 = /*error*/ ctx[2] && create_if_block_1$5(ctx);
|
|
6173
|
+
let if_block2 = /*helptext*/ ctx[1] && create_if_block$8(ctx);
|
|
6174
6174
|
|
|
6175
6175
|
return {
|
|
6176
6176
|
c() {
|
|
@@ -6202,7 +6202,7 @@ function create_fragment$j(ctx) {
|
|
|
6202
6202
|
if (if_block0) {
|
|
6203
6203
|
if_block0.p(ctx, dirty);
|
|
6204
6204
|
} else {
|
|
6205
|
-
if_block0 = create_if_block_2$
|
|
6205
|
+
if_block0 = create_if_block_2$4(ctx);
|
|
6206
6206
|
if_block0.c();
|
|
6207
6207
|
if_block0.m(div1, t0);
|
|
6208
6208
|
}
|
|
@@ -6215,7 +6215,7 @@ function create_fragment$j(ctx) {
|
|
|
6215
6215
|
if (if_block1) {
|
|
6216
6216
|
if_block1.p(ctx, dirty);
|
|
6217
6217
|
} else {
|
|
6218
|
-
if_block1 = create_if_block_1$
|
|
6218
|
+
if_block1 = create_if_block_1$5(ctx);
|
|
6219
6219
|
if_block1.c();
|
|
6220
6220
|
if_block1.m(div1, t2);
|
|
6221
6221
|
}
|
|
@@ -6228,7 +6228,7 @@ function create_fragment$j(ctx) {
|
|
|
6228
6228
|
if (if_block2) {
|
|
6229
6229
|
if_block2.p(ctx, dirty);
|
|
6230
6230
|
} else {
|
|
6231
|
-
if_block2 = create_if_block$
|
|
6231
|
+
if_block2 = create_if_block$8(ctx);
|
|
6232
6232
|
if_block2.c();
|
|
6233
6233
|
if_block2.m(div1, null);
|
|
6234
6234
|
}
|
|
@@ -6766,7 +6766,7 @@ customElements.define("goa-icon-button", IconButton);
|
|
|
6766
6766
|
|
|
6767
6767
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
6768
6768
|
|
|
6769
|
-
function create_if_block$
|
|
6769
|
+
function create_if_block$7(ctx) {
|
|
6770
6770
|
let ion_icon;
|
|
6771
6771
|
let ion_icon_name_value;
|
|
6772
6772
|
|
|
@@ -6798,7 +6798,7 @@ function create_fragment$g(ctx) {
|
|
|
6798
6798
|
let div;
|
|
6799
6799
|
let div_data_testid_value;
|
|
6800
6800
|
let div_style_value;
|
|
6801
|
-
let if_block = /*type*/ ctx[0] && create_if_block$
|
|
6801
|
+
let if_block = /*type*/ ctx[0] && create_if_block$7(ctx);
|
|
6802
6802
|
|
|
6803
6803
|
return {
|
|
6804
6804
|
c() {
|
|
@@ -6827,7 +6827,7 @@ function create_fragment$g(ctx) {
|
|
|
6827
6827
|
if (if_block) {
|
|
6828
6828
|
if_block.p(ctx, dirty);
|
|
6829
6829
|
} else {
|
|
6830
|
-
if_block = create_if_block$
|
|
6830
|
+
if_block = create_if_block$7(ctx);
|
|
6831
6831
|
if_block.c();
|
|
6832
6832
|
if_block.m(div, null);
|
|
6833
6833
|
}
|
|
@@ -7096,7 +7096,7 @@ function create_if_block_3$2(ctx) {
|
|
|
7096
7096
|
}
|
|
7097
7097
|
|
|
7098
7098
|
// (109:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
7099
|
-
function create_if_block_2$
|
|
7099
|
+
function create_if_block_2$3(ctx) {
|
|
7100
7100
|
let goa_icon;
|
|
7101
7101
|
|
|
7102
7102
|
return {
|
|
@@ -7122,7 +7122,7 @@ function create_if_block_2$4(ctx) {
|
|
|
7122
7122
|
}
|
|
7123
7123
|
|
|
7124
7124
|
// (119:4) {#if trailingicon && handlesTrailingIconClick}
|
|
7125
|
-
function create_if_block_1$
|
|
7125
|
+
function create_if_block_1$4(ctx) {
|
|
7126
7126
|
let goa_icon_button;
|
|
7127
7127
|
let mounted;
|
|
7128
7128
|
let dispose;
|
|
@@ -7162,7 +7162,7 @@ function create_if_block_1$5(ctx) {
|
|
|
7162
7162
|
}
|
|
7163
7163
|
|
|
7164
7164
|
// (131:4) {#if suffix}
|
|
7165
|
-
function create_if_block$
|
|
7165
|
+
function create_if_block$6(ctx) {
|
|
7166
7166
|
let span;
|
|
7167
7167
|
let t;
|
|
7168
7168
|
|
|
@@ -7203,9 +7203,9 @@ function create_fragment$f(ctx) {
|
|
|
7203
7203
|
let dispose;
|
|
7204
7204
|
let if_block0 = /*prefix*/ ctx[14] && create_if_block_4(ctx);
|
|
7205
7205
|
let if_block1 = /*leadingicon*/ ctx[5] && create_if_block_3$2(ctx);
|
|
7206
|
-
let if_block2 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[20] && create_if_block_2$
|
|
7207
|
-
let if_block3 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[20] && create_if_block_1$
|
|
7208
|
-
let if_block4 = /*suffix*/ ctx[15] && create_if_block$
|
|
7206
|
+
let if_block2 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[20] && create_if_block_2$3(ctx);
|
|
7207
|
+
let if_block3 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[20] && create_if_block_1$4(ctx);
|
|
7208
|
+
let if_block4 = /*suffix*/ ctx[15] && create_if_block$6(ctx);
|
|
7209
7209
|
|
|
7210
7210
|
return {
|
|
7211
7211
|
c() {
|
|
@@ -7365,7 +7365,7 @@ function create_fragment$f(ctx) {
|
|
|
7365
7365
|
if (if_block2) {
|
|
7366
7366
|
if_block2.p(ctx, dirty);
|
|
7367
7367
|
} else {
|
|
7368
|
-
if_block2 = create_if_block_2$
|
|
7368
|
+
if_block2 = create_if_block_2$3(ctx);
|
|
7369
7369
|
if_block2.c();
|
|
7370
7370
|
if_block2.m(div0, t3);
|
|
7371
7371
|
}
|
|
@@ -7378,7 +7378,7 @@ function create_fragment$f(ctx) {
|
|
|
7378
7378
|
if (if_block3) {
|
|
7379
7379
|
if_block3.p(ctx, dirty);
|
|
7380
7380
|
} else {
|
|
7381
|
-
if_block3 = create_if_block_1$
|
|
7381
|
+
if_block3 = create_if_block_1$4(ctx);
|
|
7382
7382
|
if_block3.c();
|
|
7383
7383
|
if_block3.m(div0, t4);
|
|
7384
7384
|
}
|
|
@@ -7391,7 +7391,7 @@ function create_fragment$f(ctx) {
|
|
|
7391
7391
|
if (if_block4) {
|
|
7392
7392
|
if_block4.p(ctx, dirty);
|
|
7393
7393
|
} else {
|
|
7394
|
-
if_block4 = create_if_block$
|
|
7394
|
+
if_block4 = create_if_block$6(ctx);
|
|
7395
7395
|
if_block4.c();
|
|
7396
7396
|
if_block4.m(div0, null);
|
|
7397
7397
|
}
|
|
@@ -7887,7 +7887,7 @@ function create_if_block_3$1(ctx) {
|
|
|
7887
7887
|
}
|
|
7888
7888
|
|
|
7889
7889
|
// (34:2) {#if ["alpha", "beta"].includes(type)}
|
|
7890
|
-
function create_if_block_1$
|
|
7890
|
+
function create_if_block_1$3(ctx) {
|
|
7891
7891
|
let div0;
|
|
7892
7892
|
let t0_value = capitalize(/*type*/ ctx[0]) + "";
|
|
7893
7893
|
let t0;
|
|
@@ -7897,7 +7897,7 @@ function create_if_block_1$4(ctx) {
|
|
|
7897
7897
|
let t2;
|
|
7898
7898
|
let a;
|
|
7899
7899
|
let t4;
|
|
7900
|
-
let if_block = /*feedbackurl*/ ctx[2] && create_if_block_2$
|
|
7900
|
+
let if_block = /*feedbackurl*/ ctx[2] && create_if_block_2$2(ctx);
|
|
7901
7901
|
|
|
7902
7902
|
return {
|
|
7903
7903
|
c() {
|
|
@@ -7937,7 +7937,7 @@ function create_if_block_1$4(ctx) {
|
|
|
7937
7937
|
if (if_block) {
|
|
7938
7938
|
if_block.p(ctx, dirty);
|
|
7939
7939
|
} else {
|
|
7940
|
-
if_block = create_if_block_2$
|
|
7940
|
+
if_block = create_if_block_2$2(ctx);
|
|
7941
7941
|
if_block.c();
|
|
7942
7942
|
if_block.m(div1, null);
|
|
7943
7943
|
}
|
|
@@ -7956,7 +7956,7 @@ function create_if_block_1$4(ctx) {
|
|
|
7956
7956
|
}
|
|
7957
7957
|
|
|
7958
7958
|
// (43:6) {#if feedbackurl}
|
|
7959
|
-
function create_if_block_2$
|
|
7959
|
+
function create_if_block_2$2(ctx) {
|
|
7960
7960
|
let span;
|
|
7961
7961
|
let t0;
|
|
7962
7962
|
let a;
|
|
@@ -7989,7 +7989,7 @@ function create_if_block_2$3(ctx) {
|
|
|
7989
7989
|
}
|
|
7990
7990
|
|
|
7991
7991
|
// (49:2) {#if version}
|
|
7992
|
-
function create_if_block$
|
|
7992
|
+
function create_if_block$5(ctx) {
|
|
7993
7993
|
let div;
|
|
7994
7994
|
let t;
|
|
7995
7995
|
|
|
@@ -8021,8 +8021,8 @@ function create_fragment$e(ctx) {
|
|
|
8021
8021
|
let div;
|
|
8022
8022
|
let t2;
|
|
8023
8023
|
let if_block0 = /*type*/ ctx[0] === "live" && create_if_block_3$1();
|
|
8024
|
-
let if_block1 = show_if && create_if_block_1$
|
|
8025
|
-
let if_block2 = /*version*/ ctx[1] && create_if_block$
|
|
8024
|
+
let if_block1 = show_if && create_if_block_1$3(ctx);
|
|
8025
|
+
let if_block2 = /*version*/ ctx[1] && create_if_block$5(ctx);
|
|
8026
8026
|
|
|
8027
8027
|
return {
|
|
8028
8028
|
c() {
|
|
@@ -8066,7 +8066,7 @@ function create_fragment$e(ctx) {
|
|
|
8066
8066
|
if (if_block1) {
|
|
8067
8067
|
if_block1.p(ctx, dirty);
|
|
8068
8068
|
} else {
|
|
8069
|
-
if_block1 = create_if_block_1$
|
|
8069
|
+
if_block1 = create_if_block_1$3(ctx);
|
|
8070
8070
|
if_block1.c();
|
|
8071
8071
|
if_block1.m(header, t1);
|
|
8072
8072
|
}
|
|
@@ -8079,7 +8079,7 @@ function create_fragment$e(ctx) {
|
|
|
8079
8079
|
if (if_block2) {
|
|
8080
8080
|
if_block2.p(ctx, dirty);
|
|
8081
8081
|
} else {
|
|
8082
|
-
if_block2 = create_if_block$
|
|
8082
|
+
if_block2 = create_if_block$5(ctx);
|
|
8083
8083
|
if_block2.c();
|
|
8084
8084
|
if_block2.m(header, null);
|
|
8085
8085
|
}
|
|
@@ -8185,7 +8185,7 @@ customElements.define("goa-microsite-header", MicrositeHeader);
|
|
|
8185
8185
|
|
|
8186
8186
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
8187
8187
|
|
|
8188
|
-
function create_if_block$
|
|
8188
|
+
function create_if_block$4(ctx) {
|
|
8189
8189
|
let goa_focus_trap;
|
|
8190
8190
|
let div4;
|
|
8191
8191
|
let div0;
|
|
@@ -8208,10 +8208,10 @@ function create_if_block$5(ctx) {
|
|
|
8208
8208
|
let mounted;
|
|
8209
8209
|
let dispose;
|
|
8210
8210
|
let if_block0 = /*heading*/ ctx[0] && create_if_block_3(ctx);
|
|
8211
|
-
let if_block1 = /*isClosable*/ ctx[3] && create_if_block_2$
|
|
8211
|
+
let if_block1 = /*isClosable*/ ctx[3] && create_if_block_2$1(ctx);
|
|
8212
8212
|
|
|
8213
8213
|
function select_block_type(ctx, dirty) {
|
|
8214
|
-
return create_if_block_1$
|
|
8214
|
+
return create_if_block_1$2;
|
|
8215
8215
|
}
|
|
8216
8216
|
|
|
8217
8217
|
let current_block_type = select_block_type();
|
|
@@ -8294,7 +8294,7 @@ function create_if_block$5(ctx) {
|
|
|
8294
8294
|
if (if_block1) {
|
|
8295
8295
|
if_block1.p(ctx, dirty);
|
|
8296
8296
|
} else {
|
|
8297
|
-
if_block1 = create_if_block_2$
|
|
8297
|
+
if_block1 = create_if_block_2$1(ctx);
|
|
8298
8298
|
if_block1.c();
|
|
8299
8299
|
if_block1.m(div3, t2);
|
|
8300
8300
|
}
|
|
@@ -8392,7 +8392,7 @@ function create_if_block_3(ctx) {
|
|
|
8392
8392
|
}
|
|
8393
8393
|
|
|
8394
8394
|
// (56:8) {#if isClosable}
|
|
8395
|
-
function create_if_block_2$
|
|
8395
|
+
function create_if_block_2$1(ctx) {
|
|
8396
8396
|
let div;
|
|
8397
8397
|
let goa_icon_button;
|
|
8398
8398
|
let mounted;
|
|
@@ -8425,7 +8425,7 @@ function create_if_block_2$2(ctx) {
|
|
|
8425
8425
|
}
|
|
8426
8426
|
|
|
8427
8427
|
// (67:10) {#if isScrollable}
|
|
8428
|
-
function create_if_block_1$
|
|
8428
|
+
function create_if_block_1$2(ctx) {
|
|
8429
8429
|
let goa_scrollable;
|
|
8430
8430
|
|
|
8431
8431
|
return {
|
|
@@ -8448,7 +8448,7 @@ function create_if_block_1$3(ctx) {
|
|
|
8448
8448
|
function create_fragment$d(ctx) {
|
|
8449
8449
|
let if_block_anchor;
|
|
8450
8450
|
let current;
|
|
8451
|
-
let if_block = /*isOpen*/ ctx[5] && create_if_block$
|
|
8451
|
+
let if_block = /*isOpen*/ ctx[5] && create_if_block$4(ctx);
|
|
8452
8452
|
|
|
8453
8453
|
return {
|
|
8454
8454
|
c() {
|
|
@@ -8470,7 +8470,7 @@ function create_fragment$d(ctx) {
|
|
|
8470
8470
|
transition_in(if_block, 1);
|
|
8471
8471
|
}
|
|
8472
8472
|
} else {
|
|
8473
|
-
if_block = create_if_block$
|
|
8473
|
+
if_block = create_if_block$4(ctx);
|
|
8474
8474
|
if_block.c();
|
|
8475
8475
|
transition_in(if_block, 1);
|
|
8476
8476
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -8648,7 +8648,7 @@ customElements.define("goa-modal", Modal);
|
|
|
8648
8648
|
|
|
8649
8649
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
8650
8650
|
|
|
8651
|
-
function create_if_block$
|
|
8651
|
+
function create_if_block$3(ctx) {
|
|
8652
8652
|
let div3;
|
|
8653
8653
|
let div0;
|
|
8654
8654
|
let goa_icon;
|
|
@@ -8735,7 +8735,7 @@ function create_if_block$4(ctx) {
|
|
|
8735
8735
|
function create_fragment$c(ctx) {
|
|
8736
8736
|
let if_block_anchor;
|
|
8737
8737
|
let current;
|
|
8738
|
-
let if_block = /*show*/ ctx[1] && create_if_block$
|
|
8738
|
+
let if_block = /*show*/ ctx[1] && create_if_block$3(ctx);
|
|
8739
8739
|
|
|
8740
8740
|
return {
|
|
8741
8741
|
c() {
|
|
@@ -8757,7 +8757,7 @@ function create_fragment$c(ctx) {
|
|
|
8757
8757
|
transition_in(if_block, 1);
|
|
8758
8758
|
}
|
|
8759
8759
|
} else {
|
|
8760
|
-
if_block = create_if_block$
|
|
8760
|
+
if_block = create_if_block$3(ctx);
|
|
8761
8761
|
if_block.c();
|
|
8762
8762
|
transition_in(if_block, 1);
|
|
8763
8763
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -9667,7 +9667,7 @@ function create_else_block(ctx) {
|
|
|
9667
9667
|
}
|
|
9668
9668
|
|
|
9669
9669
|
// (29:27)
|
|
9670
|
-
function create_if_block_2
|
|
9670
|
+
function create_if_block_2(ctx) {
|
|
9671
9671
|
let each_1_anchor;
|
|
9672
9672
|
let current;
|
|
9673
9673
|
let each_value = Array(/*linecount*/ ctx[2]);
|
|
@@ -9751,7 +9751,7 @@ function create_if_block_2$1(ctx) {
|
|
|
9751
9751
|
}
|
|
9752
9752
|
|
|
9753
9753
|
// (19:29)
|
|
9754
|
-
function create_if_block_1$
|
|
9754
|
+
function create_if_block_1$1(ctx) {
|
|
9755
9755
|
let div2;
|
|
9756
9756
|
let div0;
|
|
9757
9757
|
let skeleton0;
|
|
@@ -9841,7 +9841,7 @@ function create_if_block_1$2(ctx) {
|
|
|
9841
9841
|
}
|
|
9842
9842
|
|
|
9843
9843
|
// (11:0) {#if type === "card"}
|
|
9844
|
-
function create_if_block$
|
|
9844
|
+
function create_if_block$2(ctx) {
|
|
9845
9845
|
let div1;
|
|
9846
9846
|
let skeleton0;
|
|
9847
9847
|
let t0;
|
|
@@ -9979,7 +9979,7 @@ function create_fragment$7(ctx) {
|
|
|
9979
9979
|
let if_block;
|
|
9980
9980
|
let if_block_anchor;
|
|
9981
9981
|
let current;
|
|
9982
|
-
const if_block_creators = [create_if_block$
|
|
9982
|
+
const if_block_creators = [create_if_block$2, create_if_block_1$1, create_if_block_2, create_else_block];
|
|
9983
9983
|
const if_blocks = [];
|
|
9984
9984
|
|
|
9985
9985
|
function select_block_type(ctx, dirty) {
|
|
@@ -10242,7 +10242,7 @@ function tweened(value, defaults = {}) {
|
|
|
10242
10242
|
|
|
10243
10243
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
10244
10244
|
|
|
10245
|
-
function create_if_block$
|
|
10245
|
+
function create_if_block$1(ctx) {
|
|
10246
10246
|
let svg;
|
|
10247
10247
|
let circle;
|
|
10248
10248
|
let circle_stroke_value;
|
|
@@ -10353,7 +10353,7 @@ function create_if_block$2(ctx) {
|
|
|
10353
10353
|
|
|
10354
10354
|
function create_fragment$6(ctx) {
|
|
10355
10355
|
let if_block_anchor;
|
|
10356
|
-
let if_block = /*ready*/ ctx[6] && create_if_block$
|
|
10356
|
+
let if_block = /*ready*/ ctx[6] && create_if_block$1(ctx);
|
|
10357
10357
|
|
|
10358
10358
|
return {
|
|
10359
10359
|
c() {
|
|
@@ -10370,7 +10370,7 @@ function create_fragment$6(ctx) {
|
|
|
10370
10370
|
if (if_block) {
|
|
10371
10371
|
if_block.p(ctx, dirty);
|
|
10372
10372
|
} else {
|
|
10373
|
-
if_block = create_if_block$
|
|
10373
|
+
if_block = create_if_block$1(ctx);
|
|
10374
10374
|
if_block.c();
|
|
10375
10375
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10376
10376
|
}
|
|
@@ -10576,109 +10576,6 @@ customElements.define("goa-spinner", Spinner);
|
|
|
10576
10576
|
|
|
10577
10577
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
10578
10578
|
|
|
10579
|
-
function create_if_block$1(ctx) {
|
|
10580
|
-
let if_block_anchor;
|
|
10581
|
-
|
|
10582
|
-
function select_block_type(ctx, dirty) {
|
|
10583
|
-
if (/*maxcharcount*/ ctx[7] > 0) return create_if_block_1$1;
|
|
10584
|
-
if (/*value*/ ctx[1].length > 0) return create_if_block_2;
|
|
10585
|
-
}
|
|
10586
|
-
|
|
10587
|
-
let current_block_type = select_block_type(ctx);
|
|
10588
|
-
let if_block = current_block_type && current_block_type(ctx);
|
|
10589
|
-
|
|
10590
|
-
return {
|
|
10591
|
-
c() {
|
|
10592
|
-
if (if_block) if_block.c();
|
|
10593
|
-
if_block_anchor = empty();
|
|
10594
|
-
},
|
|
10595
|
-
m(target, anchor) {
|
|
10596
|
-
if (if_block) if_block.m(target, anchor);
|
|
10597
|
-
insert(target, if_block_anchor, anchor);
|
|
10598
|
-
},
|
|
10599
|
-
p(ctx, dirty) {
|
|
10600
|
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
10601
|
-
if_block.p(ctx, dirty);
|
|
10602
|
-
} else {
|
|
10603
|
-
if (if_block) if_block.d(1);
|
|
10604
|
-
if_block = current_block_type && current_block_type(ctx);
|
|
10605
|
-
|
|
10606
|
-
if (if_block) {
|
|
10607
|
-
if_block.c();
|
|
10608
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10609
|
-
}
|
|
10610
|
-
}
|
|
10611
|
-
},
|
|
10612
|
-
d(detaching) {
|
|
10613
|
-
if (if_block) {
|
|
10614
|
-
if_block.d(detaching);
|
|
10615
|
-
}
|
|
10616
|
-
|
|
10617
|
-
if (detaching) detach(if_block_anchor);
|
|
10618
|
-
}
|
|
10619
|
-
};
|
|
10620
|
-
}
|
|
10621
|
-
|
|
10622
|
-
// (63:31)
|
|
10623
|
-
function create_if_block_2(ctx) {
|
|
10624
|
-
let div;
|
|
10625
|
-
let t_value = /*value*/ ctx[1].length + "";
|
|
10626
|
-
let t;
|
|
10627
|
-
|
|
10628
|
-
return {
|
|
10629
|
-
c() {
|
|
10630
|
-
div = element("div");
|
|
10631
|
-
t = text(t_value);
|
|
10632
|
-
attr(div, "class", "counter");
|
|
10633
|
-
},
|
|
10634
|
-
m(target, anchor) {
|
|
10635
|
-
insert(target, div, anchor);
|
|
10636
|
-
append(div, t);
|
|
10637
|
-
},
|
|
10638
|
-
p(ctx, dirty) {
|
|
10639
|
-
if (dirty & /*value*/ 2 && t_value !== (t_value = /*value*/ ctx[1].length + "")) set_data(t, t_value);
|
|
10640
|
-
},
|
|
10641
|
-
d(detaching) {
|
|
10642
|
-
if (detaching) detach(div);
|
|
10643
|
-
}
|
|
10644
|
-
};
|
|
10645
|
-
}
|
|
10646
|
-
|
|
10647
|
-
// (57:4) {#if maxcharcount > 0}
|
|
10648
|
-
function create_if_block_1$1(ctx) {
|
|
10649
|
-
let div;
|
|
10650
|
-
let t0_value = /*value*/ ctx[1].length + "";
|
|
10651
|
-
let t0;
|
|
10652
|
-
let t1_value = `/${/*maxcharcount*/ ctx[7]}` + "";
|
|
10653
|
-
let t1;
|
|
10654
|
-
|
|
10655
|
-
return {
|
|
10656
|
-
c() {
|
|
10657
|
-
div = element("div");
|
|
10658
|
-
t0 = text(t0_value);
|
|
10659
|
-
t1 = text(t1_value);
|
|
10660
|
-
attr(div, "class", "counter");
|
|
10661
|
-
toggle_class(div, "counter-error", /*value*/ ctx[1].length > /*maxcharcount*/ ctx[7]);
|
|
10662
|
-
},
|
|
10663
|
-
m(target, anchor) {
|
|
10664
|
-
insert(target, div, anchor);
|
|
10665
|
-
append(div, t0);
|
|
10666
|
-
append(div, t1);
|
|
10667
|
-
},
|
|
10668
|
-
p(ctx, dirty) {
|
|
10669
|
-
if (dirty & /*value*/ 2 && t0_value !== (t0_value = /*value*/ ctx[1].length + "")) set_data(t0, t0_value);
|
|
10670
|
-
if (dirty & /*maxcharcount*/ 128 && t1_value !== (t1_value = `/${/*maxcharcount*/ ctx[7]}` + "")) set_data(t1, t1_value);
|
|
10671
|
-
|
|
10672
|
-
if (dirty & /*value, maxcharcount*/ 130) {
|
|
10673
|
-
toggle_class(div, "counter-error", /*value*/ ctx[1].length > /*maxcharcount*/ ctx[7]);
|
|
10674
|
-
}
|
|
10675
|
-
},
|
|
10676
|
-
d(detaching) {
|
|
10677
|
-
if (detaching) detach(div);
|
|
10678
|
-
}
|
|
10679
|
-
};
|
|
10680
|
-
}
|
|
10681
|
-
|
|
10682
10579
|
function create_fragment$5(ctx) {
|
|
10683
10580
|
let div;
|
|
10684
10581
|
let textarea;
|
|
@@ -10687,14 +10584,12 @@ function create_fragment$5(ctx) {
|
|
|
10687
10584
|
let div_style_value;
|
|
10688
10585
|
let mounted;
|
|
10689
10586
|
let dispose;
|
|
10690
|
-
let if_block = /*showCounter*/ ctx[9] && create_if_block$1(ctx);
|
|
10691
10587
|
|
|
10692
10588
|
return {
|
|
10693
10589
|
c() {
|
|
10694
10590
|
div = element("div");
|
|
10695
10591
|
textarea = element("textarea");
|
|
10696
10592
|
t = space();
|
|
10697
|
-
if (if_block) if_block.c();
|
|
10698
10593
|
this.c = noop;
|
|
10699
10594
|
attr(textarea, "name", /*name*/ ctx[0]);
|
|
10700
10595
|
attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
|
|
@@ -10703,9 +10598,9 @@ function create_fragment$5(ctx) {
|
|
|
10703
10598
|
attr(textarea, "aria-label", textarea_aria_label_value = /*arialabel*/ ctx[6] || /*name*/ ctx[0]);
|
|
10704
10599
|
attr(textarea, "class", "goa-textarea");
|
|
10705
10600
|
textarea.disabled = /*isDisabled*/ ctx[8];
|
|
10706
|
-
textarea.readOnly = /*isReadonly*/ ctx[
|
|
10601
|
+
textarea.readOnly = /*isReadonly*/ ctx[9];
|
|
10707
10602
|
attr(textarea, "data-testid", /*testid*/ ctx[4]);
|
|
10708
|
-
toggle_class(textarea, "error", /*isError*/ ctx[
|
|
10603
|
+
toggle_class(textarea, "error", /*isError*/ ctx[10]);
|
|
10709
10604
|
attr(div, "class", "container");
|
|
10710
10605
|
|
|
10711
10606
|
attr(div, "style", div_style_value = `
|
|
@@ -10716,10 +10611,9 @@ function create_fragment$5(ctx) {
|
|
|
10716
10611
|
insert(target, div, anchor);
|
|
10717
10612
|
append(div, textarea);
|
|
10718
10613
|
append(div, t);
|
|
10719
|
-
if (if_block) if_block.m(div, null);
|
|
10720
10614
|
|
|
10721
10615
|
if (!mounted) {
|
|
10722
|
-
dispose = listen(textarea, "keyup", /*onChange*/ ctx[
|
|
10616
|
+
dispose = listen(textarea, "keyup", /*onChange*/ ctx[11]);
|
|
10723
10617
|
mounted = true;
|
|
10724
10618
|
}
|
|
10725
10619
|
},
|
|
@@ -10748,29 +10642,16 @@ function create_fragment$5(ctx) {
|
|
|
10748
10642
|
textarea.disabled = /*isDisabled*/ ctx[8];
|
|
10749
10643
|
}
|
|
10750
10644
|
|
|
10751
|
-
if (dirty & /*isReadonly*/
|
|
10752
|
-
textarea.readOnly = /*isReadonly*/ ctx[
|
|
10645
|
+
if (dirty & /*isReadonly*/ 512) {
|
|
10646
|
+
textarea.readOnly = /*isReadonly*/ ctx[9];
|
|
10753
10647
|
}
|
|
10754
10648
|
|
|
10755
10649
|
if (dirty & /*testid*/ 16) {
|
|
10756
10650
|
attr(textarea, "data-testid", /*testid*/ ctx[4]);
|
|
10757
10651
|
}
|
|
10758
10652
|
|
|
10759
|
-
if (dirty & /*isError*/
|
|
10760
|
-
toggle_class(textarea, "error", /*isError*/ ctx[
|
|
10761
|
-
}
|
|
10762
|
-
|
|
10763
|
-
if (/*showCounter*/ ctx[9]) {
|
|
10764
|
-
if (if_block) {
|
|
10765
|
-
if_block.p(ctx, dirty);
|
|
10766
|
-
} else {
|
|
10767
|
-
if_block = create_if_block$1(ctx);
|
|
10768
|
-
if_block.c();
|
|
10769
|
-
if_block.m(div, null);
|
|
10770
|
-
}
|
|
10771
|
-
} else if (if_block) {
|
|
10772
|
-
if_block.d(1);
|
|
10773
|
-
if_block = null;
|
|
10653
|
+
if (dirty & /*isError*/ 1024) {
|
|
10654
|
+
toggle_class(textarea, "error", /*isError*/ ctx[10]);
|
|
10774
10655
|
}
|
|
10775
10656
|
|
|
10776
10657
|
if (dirty & /*width*/ 32 && div_style_value !== (div_style_value = `
|
|
@@ -10783,7 +10664,6 @@ function create_fragment$5(ctx) {
|
|
|
10783
10664
|
o: noop,
|
|
10784
10665
|
d(detaching) {
|
|
10785
10666
|
if (detaching) detach(div);
|
|
10786
|
-
if (if_block) if_block.d();
|
|
10787
10667
|
mounted = false;
|
|
10788
10668
|
dispose();
|
|
10789
10669
|
}
|
|
@@ -10794,7 +10674,6 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10794
10674
|
let isError;
|
|
10795
10675
|
let isDisabled;
|
|
10796
10676
|
let isReadonly;
|
|
10797
|
-
let showCounter;
|
|
10798
10677
|
let { name } = $$props;
|
|
10799
10678
|
let { value = "" } = $$props;
|
|
10800
10679
|
let { placeholder = "" } = $$props;
|
|
@@ -10805,9 +10684,9 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10805
10684
|
let { readonly = "false" } = $$props;
|
|
10806
10685
|
let { disabled = "false" } = $$props;
|
|
10807
10686
|
let { arialabel = "" } = $$props;
|
|
10808
|
-
let { showcounter = "false" } = $$props;
|
|
10809
10687
|
let { maxcharcount = 0 } = $$props;
|
|
10810
10688
|
|
|
10689
|
+
// $: showCounter = toBoolean(showcounter);
|
|
10811
10690
|
function onChange(e) {
|
|
10812
10691
|
const target = e.target;
|
|
10813
10692
|
const value = target.value;
|
|
@@ -10831,29 +10710,24 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10831
10710
|
if ('rows' in $$props) $$invalidate(3, rows = $$props.rows);
|
|
10832
10711
|
if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
|
|
10833
10712
|
if ('width' in $$props) $$invalidate(5, width = $$props.width);
|
|
10834
|
-
if ('error' in $$props) $$invalidate(
|
|
10835
|
-
if ('readonly' in $$props) $$invalidate(
|
|
10836
|
-
if ('disabled' in $$props) $$invalidate(
|
|
10713
|
+
if ('error' in $$props) $$invalidate(12, error = $$props.error);
|
|
10714
|
+
if ('readonly' in $$props) $$invalidate(13, readonly = $$props.readonly);
|
|
10715
|
+
if ('disabled' in $$props) $$invalidate(14, disabled = $$props.disabled);
|
|
10837
10716
|
if ('arialabel' in $$props) $$invalidate(6, arialabel = $$props.arialabel);
|
|
10838
|
-
if ('showcounter' in $$props) $$invalidate(16, showcounter = $$props.showcounter);
|
|
10839
10717
|
if ('maxcharcount' in $$props) $$invalidate(7, maxcharcount = $$props.maxcharcount);
|
|
10840
10718
|
};
|
|
10841
10719
|
|
|
10842
10720
|
$$self.$$.update = () => {
|
|
10843
|
-
if ($$self.$$.dirty & /*error*/
|
|
10844
|
-
$$invalidate(
|
|
10721
|
+
if ($$self.$$.dirty & /*error*/ 4096) {
|
|
10722
|
+
$$invalidate(10, isError = toBoolean(error));
|
|
10845
10723
|
}
|
|
10846
10724
|
|
|
10847
|
-
if ($$self.$$.dirty & /*disabled*/
|
|
10725
|
+
if ($$self.$$.dirty & /*disabled*/ 16384) {
|
|
10848
10726
|
$$invalidate(8, isDisabled = toBoolean(disabled));
|
|
10849
10727
|
}
|
|
10850
10728
|
|
|
10851
|
-
if ($$self.$$.dirty & /*readonly*/
|
|
10852
|
-
$$invalidate(
|
|
10853
|
-
}
|
|
10854
|
-
|
|
10855
|
-
if ($$self.$$.dirty & /*showcounter*/ 65536) {
|
|
10856
|
-
$$invalidate(9, showCounter = toBoolean(showcounter));
|
|
10729
|
+
if ($$self.$$.dirty & /*readonly*/ 8192) {
|
|
10730
|
+
$$invalidate(9, isReadonly = toBoolean(readonly));
|
|
10857
10731
|
}
|
|
10858
10732
|
};
|
|
10859
10733
|
|
|
@@ -10867,14 +10741,12 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10867
10741
|
arialabel,
|
|
10868
10742
|
maxcharcount,
|
|
10869
10743
|
isDisabled,
|
|
10870
|
-
showCounter,
|
|
10871
10744
|
isReadonly,
|
|
10872
10745
|
isError,
|
|
10873
10746
|
onChange,
|
|
10874
10747
|
error,
|
|
10875
10748
|
readonly,
|
|
10876
|
-
disabled
|
|
10877
|
-
showcounter
|
|
10749
|
+
disabled
|
|
10878
10750
|
];
|
|
10879
10751
|
}
|
|
10880
10752
|
|
|
@@ -10902,11 +10774,10 @@ class TextArea extends SvelteElement {
|
|
|
10902
10774
|
rows: 3,
|
|
10903
10775
|
testid: 4,
|
|
10904
10776
|
width: 5,
|
|
10905
|
-
error:
|
|
10906
|
-
readonly:
|
|
10907
|
-
disabled:
|
|
10777
|
+
error: 12,
|
|
10778
|
+
readonly: 13,
|
|
10779
|
+
disabled: 14,
|
|
10908
10780
|
arialabel: 6,
|
|
10909
|
-
showcounter: 16,
|
|
10910
10781
|
maxcharcount: 7
|
|
10911
10782
|
},
|
|
10912
10783
|
null
|
|
@@ -10936,7 +10807,6 @@ class TextArea extends SvelteElement {
|
|
|
10936
10807
|
"readonly",
|
|
10937
10808
|
"disabled",
|
|
10938
10809
|
"arialabel",
|
|
10939
|
-
"showcounter",
|
|
10940
10810
|
"maxcharcount"
|
|
10941
10811
|
];
|
|
10942
10812
|
}
|
|
@@ -10996,7 +10866,7 @@ class TextArea extends SvelteElement {
|
|
|
10996
10866
|
}
|
|
10997
10867
|
|
|
10998
10868
|
get error() {
|
|
10999
|
-
return this.$$.ctx[
|
|
10869
|
+
return this.$$.ctx[12];
|
|
11000
10870
|
}
|
|
11001
10871
|
|
|
11002
10872
|
set error(error) {
|
|
@@ -11005,7 +10875,7 @@ class TextArea extends SvelteElement {
|
|
|
11005
10875
|
}
|
|
11006
10876
|
|
|
11007
10877
|
get readonly() {
|
|
11008
|
-
return this.$$.ctx[
|
|
10878
|
+
return this.$$.ctx[13];
|
|
11009
10879
|
}
|
|
11010
10880
|
|
|
11011
10881
|
set readonly(readonly) {
|
|
@@ -11014,7 +10884,7 @@ class TextArea extends SvelteElement {
|
|
|
11014
10884
|
}
|
|
11015
10885
|
|
|
11016
10886
|
get disabled() {
|
|
11017
|
-
return this.$$.ctx[
|
|
10887
|
+
return this.$$.ctx[14];
|
|
11018
10888
|
}
|
|
11019
10889
|
|
|
11020
10890
|
set disabled(disabled) {
|
|
@@ -11031,15 +10901,6 @@ class TextArea extends SvelteElement {
|
|
|
11031
10901
|
flush();
|
|
11032
10902
|
}
|
|
11033
10903
|
|
|
11034
|
-
get showcounter() {
|
|
11035
|
-
return this.$$.ctx[16];
|
|
11036
|
-
}
|
|
11037
|
-
|
|
11038
|
-
set showcounter(showcounter) {
|
|
11039
|
-
this.$$set({ showcounter });
|
|
11040
|
-
flush();
|
|
11041
|
-
}
|
|
11042
|
-
|
|
11043
10904
|
get maxcharcount() {
|
|
11044
10905
|
return this.$$.ctx[7];
|
|
11045
10906
|
}
|