@abgov/web-components 1.0.0-alpha.119 → 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 -4
- package/web-components.es.js +188 -371
- package/web-components.umd.js +39 -39
package/web-components.es.js
CHANGED
|
@@ -877,7 +877,7 @@ if (typeof HTMLElement === 'function') {
|
|
|
877
877
|
|
|
878
878
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.51.0 */
|
|
879
879
|
|
|
880
|
-
function create_else_block$
|
|
880
|
+
function create_else_block$3(ctx) {
|
|
881
881
|
let div;
|
|
882
882
|
let img0;
|
|
883
883
|
let img0_src_value;
|
|
@@ -924,8 +924,8 @@ function create_else_block$4(ctx) {
|
|
|
924
924
|
};
|
|
925
925
|
}
|
|
926
926
|
|
|
927
|
-
// (
|
|
928
|
-
function create_if_block$
|
|
927
|
+
// (19:4) {#if url}
|
|
928
|
+
function create_if_block$i(ctx) {
|
|
929
929
|
let a;
|
|
930
930
|
let img0;
|
|
931
931
|
let img0_src_value;
|
|
@@ -985,8 +985,8 @@ 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$
|
|
989
|
-
return create_else_block$
|
|
988
|
+
if (/*url*/ ctx[1]) return create_if_block$i;
|
|
989
|
+
return create_else_block$3;
|
|
990
990
|
}
|
|
991
991
|
|
|
992
992
|
let current_block_type = select_block_type(ctx);
|
|
@@ -1153,7 +1153,7 @@ function fromBoolean(value) {
|
|
|
1153
1153
|
|
|
1154
1154
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.51.0 */
|
|
1155
1155
|
|
|
1156
|
-
function create_else_block$
|
|
1156
|
+
function create_else_block$2(ctx) {
|
|
1157
1157
|
let div;
|
|
1158
1158
|
|
|
1159
1159
|
return {
|
|
@@ -1172,8 +1172,8 @@ function create_else_block$3(ctx) {
|
|
|
1172
1172
|
};
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
-
// (
|
|
1176
|
-
function create_if_block_1$
|
|
1175
|
+
// (35:2) {#if showIcon}
|
|
1176
|
+
function create_if_block_1$a(ctx) {
|
|
1177
1177
|
let goa_icon;
|
|
1178
1178
|
|
|
1179
1179
|
return {
|
|
@@ -1196,8 +1196,8 @@ function create_if_block_1$b(ctx) {
|
|
|
1196
1196
|
};
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
|
-
// (
|
|
1200
|
-
function create_if_block$
|
|
1199
|
+
// (40:2) {#if content}
|
|
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$
|
|
1230
|
-
return create_else_block$
|
|
1229
|
+
if (/*showIcon*/ ctx[3]) return create_if_block_1$a;
|
|
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
|
}
|
|
@@ -1305,8 +1305,8 @@ function instance$z($$self, $$props, $$invalidate) {
|
|
|
1305
1305
|
let iconType;
|
|
1306
1306
|
let { type } = $$props;
|
|
1307
1307
|
let { testid = "" } = $$props;
|
|
1308
|
-
let { icon = "false" } = $$props;
|
|
1309
1308
|
let { content = "" } = $$props;
|
|
1309
|
+
let { icon = "false" } = $$props;
|
|
1310
1310
|
|
|
1311
1311
|
onMount(() => {
|
|
1312
1312
|
if (!showIcon && !content) {
|
|
@@ -1317,13 +1317,12 @@ function instance$z($$self, $$props, $$invalidate) {
|
|
|
1317
1317
|
$$self.$$set = $$props => {
|
|
1318
1318
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
1319
1319
|
if ('testid' in $$props) $$invalidate(1, testid = $$props.testid);
|
|
1320
|
-
if ('icon' in $$props) $$invalidate(5, icon = $$props.icon);
|
|
1321
1320
|
if ('content' in $$props) $$invalidate(2, content = $$props.content);
|
|
1321
|
+
if ('icon' in $$props) $$invalidate(5, icon = $$props.icon);
|
|
1322
1322
|
};
|
|
1323
1323
|
|
|
1324
1324
|
$$self.$$.update = () => {
|
|
1325
1325
|
if ($$self.$$.dirty & /*icon*/ 32) {
|
|
1326
|
-
// export let icon: WCBoolean = WC_FALSE;
|
|
1327
1326
|
$$invalidate(3, showIcon = toBoolean(icon));
|
|
1328
1327
|
}
|
|
1329
1328
|
|
|
@@ -1358,7 +1357,7 @@ class Badge extends SvelteElement {
|
|
|
1358
1357
|
instance$z,
|
|
1359
1358
|
create_fragment$E,
|
|
1360
1359
|
safe_not_equal,
|
|
1361
|
-
{ type: 0, testid: 1,
|
|
1360
|
+
{ type: 0, testid: 1, content: 2, icon: 5 },
|
|
1362
1361
|
null
|
|
1363
1362
|
);
|
|
1364
1363
|
|
|
@@ -1375,7 +1374,7 @@ class Badge extends SvelteElement {
|
|
|
1375
1374
|
}
|
|
1376
1375
|
|
|
1377
1376
|
static get observedAttributes() {
|
|
1378
|
-
return ["type", "testid", "
|
|
1377
|
+
return ["type", "testid", "content", "icon"];
|
|
1379
1378
|
}
|
|
1380
1379
|
|
|
1381
1380
|
get type() {
|
|
@@ -1396,21 +1395,21 @@ class Badge extends SvelteElement {
|
|
|
1396
1395
|
flush();
|
|
1397
1396
|
}
|
|
1398
1397
|
|
|
1399
|
-
get
|
|
1400
|
-
return this.$$.ctx[
|
|
1398
|
+
get content() {
|
|
1399
|
+
return this.$$.ctx[2];
|
|
1401
1400
|
}
|
|
1402
1401
|
|
|
1403
|
-
set
|
|
1404
|
-
this.$$set({
|
|
1402
|
+
set content(content) {
|
|
1403
|
+
this.$$set({ content });
|
|
1405
1404
|
flush();
|
|
1406
1405
|
}
|
|
1407
1406
|
|
|
1408
|
-
get
|
|
1409
|
-
return this.$$.ctx[
|
|
1407
|
+
get icon() {
|
|
1408
|
+
return this.$$.ctx[5];
|
|
1410
1409
|
}
|
|
1411
1410
|
|
|
1412
|
-
set
|
|
1413
|
-
this.$$set({
|
|
1411
|
+
set icon(icon) {
|
|
1412
|
+
this.$$set({ icon });
|
|
1414
1413
|
flush();
|
|
1415
1414
|
}
|
|
1416
1415
|
}
|
|
@@ -1522,13 +1521,13 @@ customElements.define("goa-button-group", ButtonGroup);
|
|
|
1522
1521
|
|
|
1523
1522
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
1524
1523
|
|
|
1525
|
-
function create_else_block$
|
|
1524
|
+
function create_else_block$1(ctx) {
|
|
1526
1525
|
let t0;
|
|
1527
1526
|
let slot;
|
|
1528
1527
|
let t1;
|
|
1529
1528
|
let if_block1_anchor;
|
|
1530
|
-
let if_block0 = /*leadingicon*/ ctx[3] && create_if_block_2$
|
|
1531
|
-
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);
|
|
1532
1531
|
|
|
1533
1532
|
return {
|
|
1534
1533
|
c() {
|
|
@@ -1553,7 +1552,7 @@ function create_else_block$2(ctx) {
|
|
|
1553
1552
|
if (if_block0) {
|
|
1554
1553
|
if_block0.p(ctx, dirty);
|
|
1555
1554
|
} else {
|
|
1556
|
-
if_block0 = create_if_block_2$
|
|
1555
|
+
if_block0 = create_if_block_2$6(ctx);
|
|
1557
1556
|
if_block0.c();
|
|
1558
1557
|
if_block0.m(t0.parentNode, t0);
|
|
1559
1558
|
}
|
|
@@ -1566,7 +1565,7 @@ function create_else_block$2(ctx) {
|
|
|
1566
1565
|
if (if_block1) {
|
|
1567
1566
|
if_block1.p(ctx, dirty);
|
|
1568
1567
|
} else {
|
|
1569
|
-
if_block1 = create_if_block_1$
|
|
1568
|
+
if_block1 = create_if_block_1$9(ctx);
|
|
1570
1569
|
if_block1.c();
|
|
1571
1570
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
1572
1571
|
}
|
|
@@ -1587,7 +1586,7 @@ function create_else_block$2(ctx) {
|
|
|
1587
1586
|
}
|
|
1588
1587
|
|
|
1589
1588
|
// (53:2) {#if type === "start"}
|
|
1590
|
-
function create_if_block$
|
|
1589
|
+
function create_if_block$g(ctx) {
|
|
1591
1590
|
let slot;
|
|
1592
1591
|
let t;
|
|
1593
1592
|
let goa_icon;
|
|
@@ -1617,7 +1616,7 @@ function create_if_block$h(ctx) {
|
|
|
1617
1616
|
}
|
|
1618
1617
|
|
|
1619
1618
|
// (57:4) {#if leadingicon}
|
|
1620
|
-
function create_if_block_2$
|
|
1619
|
+
function create_if_block_2$6(ctx) {
|
|
1621
1620
|
let goa_icon;
|
|
1622
1621
|
|
|
1623
1622
|
return {
|
|
@@ -1646,7 +1645,7 @@ function create_if_block_2$7(ctx) {
|
|
|
1646
1645
|
}
|
|
1647
1646
|
|
|
1648
1647
|
// (61:4) {#if trailingicon}
|
|
1649
|
-
function create_if_block_1$
|
|
1648
|
+
function create_if_block_1$9(ctx) {
|
|
1650
1649
|
let goa_icon;
|
|
1651
1650
|
|
|
1652
1651
|
return {
|
|
@@ -1681,8 +1680,8 @@ function create_fragment$C(ctx) {
|
|
|
1681
1680
|
let dispose;
|
|
1682
1681
|
|
|
1683
1682
|
function select_block_type(ctx, dirty) {
|
|
1684
|
-
if (/*type*/ ctx[0] === "start") return create_if_block$
|
|
1685
|
-
return create_else_block$
|
|
1683
|
+
if (/*type*/ ctx[0] === "start") return create_if_block$g;
|
|
1684
|
+
return create_else_block$1;
|
|
1686
1685
|
}
|
|
1687
1686
|
|
|
1688
1687
|
let current_block_type = select_block_type(ctx);
|
|
@@ -1787,15 +1786,15 @@ function instance$x($$self, $$props, $$invalidate) {
|
|
|
1787
1786
|
|
|
1788
1787
|
onMount(() => {
|
|
1789
1788
|
if (!isButtonType(type)) {
|
|
1790
|
-
|
|
1789
|
+
console.error("Invalid button type");
|
|
1791
1790
|
}
|
|
1792
1791
|
|
|
1793
1792
|
if (!isSize(size)) {
|
|
1794
|
-
|
|
1793
|
+
console.error("Invalid button size");
|
|
1795
1794
|
}
|
|
1796
1795
|
|
|
1797
1796
|
if (!isVariant(variant)) {
|
|
1798
|
-
|
|
1797
|
+
console.error("Invalid button variant");
|
|
1799
1798
|
}
|
|
1800
1799
|
});
|
|
1801
1800
|
|
|
@@ -1953,7 +1952,7 @@ customElements.define("goa-button", Button);
|
|
|
1953
1952
|
|
|
1954
1953
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
1955
1954
|
|
|
1956
|
-
function create_if_block$
|
|
1955
|
+
function create_if_block$f(ctx) {
|
|
1957
1956
|
let h3;
|
|
1958
1957
|
let t;
|
|
1959
1958
|
|
|
@@ -1985,7 +1984,7 @@ function create_fragment$B(ctx) {
|
|
|
1985
1984
|
let span1;
|
|
1986
1985
|
let t1;
|
|
1987
1986
|
let slot;
|
|
1988
|
-
let if_block = /*heading*/ ctx[1] && create_if_block$
|
|
1987
|
+
let if_block = /*heading*/ ctx[1] && create_if_block$f(ctx);
|
|
1989
1988
|
|
|
1990
1989
|
return {
|
|
1991
1990
|
c() {
|
|
@@ -2032,7 +2031,7 @@ function create_fragment$B(ctx) {
|
|
|
2032
2031
|
if (if_block) {
|
|
2033
2032
|
if_block.p(ctx, dirty);
|
|
2034
2033
|
} else {
|
|
2035
|
-
if_block = create_if_block$
|
|
2034
|
+
if_block = create_if_block$f(ctx);
|
|
2036
2035
|
if_block.c();
|
|
2037
2036
|
if_block.m(span1, t1);
|
|
2038
2037
|
}
|
|
@@ -2533,7 +2532,7 @@ customElements.define("goa-card", Card);
|
|
|
2533
2532
|
|
|
2534
2533
|
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
2535
2534
|
|
|
2536
|
-
function create_if_block_1$
|
|
2535
|
+
function create_if_block_1$8(ctx) {
|
|
2537
2536
|
let svg;
|
|
2538
2537
|
let path;
|
|
2539
2538
|
|
|
@@ -2558,7 +2557,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2558
2557
|
}
|
|
2559
2558
|
|
|
2560
2559
|
// (59:4) {#if isIndeterminate}
|
|
2561
|
-
function create_if_block$
|
|
2560
|
+
function create_if_block$e(ctx) {
|
|
2562
2561
|
let svg;
|
|
2563
2562
|
let rect;
|
|
2564
2563
|
|
|
@@ -2597,8 +2596,8 @@ function create_fragment$v(ctx) {
|
|
|
2597
2596
|
let dispose;
|
|
2598
2597
|
|
|
2599
2598
|
function select_block_type(ctx, dirty) {
|
|
2600
|
-
if (/*isIndeterminate*/ ctx[5]) return create_if_block$
|
|
2601
|
-
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;
|
|
2602
2601
|
}
|
|
2603
2602
|
|
|
2604
2603
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2722,7 +2721,7 @@ function instance$t($$self, $$props, $$invalidate) {
|
|
|
2722
2721
|
let isChecked;
|
|
2723
2722
|
let isIndeterminate;
|
|
2724
2723
|
let { name } = $$props;
|
|
2725
|
-
let { checked } = $$props;
|
|
2724
|
+
let { checked = "false" } = $$props;
|
|
2726
2725
|
let { text = "" } = $$props;
|
|
2727
2726
|
let { value = "" } = $$props;
|
|
2728
2727
|
let { disabled = "false" } = $$props;
|
|
@@ -2912,7 +2911,7 @@ customElements.define("goa-checkbox", Checkbox);
|
|
|
2912
2911
|
|
|
2913
2912
|
/* libs/web-components/src/components/chip/Chip.svelte generated by Svelte v3.51.0 */
|
|
2914
2913
|
|
|
2915
|
-
function create_if_block_1$
|
|
2914
|
+
function create_if_block_1$7(ctx) {
|
|
2916
2915
|
let goa_icon;
|
|
2917
2916
|
|
|
2918
2917
|
return {
|
|
@@ -2936,8 +2935,8 @@ function create_if_block_1$8(ctx) {
|
|
|
2936
2935
|
};
|
|
2937
2936
|
}
|
|
2938
2937
|
|
|
2939
|
-
// (
|
|
2940
|
-
function create_if_block$
|
|
2938
|
+
// (46:2) {#if _deletable}
|
|
2939
|
+
function create_if_block$d(ctx) {
|
|
2941
2940
|
let goa_icon;
|
|
2942
2941
|
let goa_icon_fillcolor_value;
|
|
2943
2942
|
let goa_icon_opacity_value;
|
|
@@ -2988,8 +2987,8 @@ function create_fragment$u(ctx) {
|
|
|
2988
2987
|
let t2;
|
|
2989
2988
|
let mounted;
|
|
2990
2989
|
let dispose;
|
|
2991
|
-
let if_block0 = /*leadingicon*/ ctx[0] && create_if_block_1$
|
|
2992
|
-
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);
|
|
2993
2992
|
|
|
2994
2993
|
return {
|
|
2995
2994
|
c() {
|
|
@@ -3036,7 +3035,7 @@ function create_fragment$u(ctx) {
|
|
|
3036
3035
|
if (if_block0) {
|
|
3037
3036
|
if_block0.p(ctx, dirty);
|
|
3038
3037
|
} else {
|
|
3039
|
-
if_block0 = create_if_block_1$
|
|
3038
|
+
if_block0 = create_if_block_1$7(ctx);
|
|
3040
3039
|
if_block0.c();
|
|
3041
3040
|
if_block0.m(div1, t0);
|
|
3042
3041
|
}
|
|
@@ -3051,7 +3050,7 @@ function create_fragment$u(ctx) {
|
|
|
3051
3050
|
if (if_block1) {
|
|
3052
3051
|
if_block1.p(ctx, dirty);
|
|
3053
3052
|
} else {
|
|
3054
|
-
if_block1 = create_if_block$
|
|
3053
|
+
if_block1 = create_if_block$d(ctx);
|
|
3055
3054
|
if_block1.c();
|
|
3056
3055
|
if_block1.m(div1, null);
|
|
3057
3056
|
}
|
|
@@ -3333,12 +3332,12 @@ function noscroll(_node, opts) {
|
|
|
3333
3332
|
|
|
3334
3333
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
3335
3334
|
|
|
3336
|
-
function create_if_block$
|
|
3335
|
+
function create_if_block$c(ctx) {
|
|
3337
3336
|
let current_block_type_index;
|
|
3338
3337
|
let if_block;
|
|
3339
3338
|
let if_block_anchor;
|
|
3340
3339
|
let current;
|
|
3341
|
-
const if_block_creators = [create_if_block_1$
|
|
3340
|
+
const if_block_creators = [create_if_block_1$6, create_if_block_3$4];
|
|
3342
3341
|
const if_blocks = [];
|
|
3343
3342
|
|
|
3344
3343
|
function select_block_type(ctx, dirty) {
|
|
@@ -3484,7 +3483,7 @@ function create_if_block_3$4(ctx) {
|
|
|
3484
3483
|
}
|
|
3485
3484
|
|
|
3486
3485
|
// (27:2) {#if fullscreen}
|
|
3487
|
-
function create_if_block_1$
|
|
3486
|
+
function create_if_block_1$6(ctx) {
|
|
3488
3487
|
let div;
|
|
3489
3488
|
let goa_spinner;
|
|
3490
3489
|
let t;
|
|
@@ -3492,7 +3491,7 @@ function create_if_block_1$7(ctx) {
|
|
|
3492
3491
|
let current;
|
|
3493
3492
|
let mounted;
|
|
3494
3493
|
let dispose;
|
|
3495
|
-
let if_block = /*message*/ ctx[0] && create_if_block_2$
|
|
3494
|
+
let if_block = /*message*/ ctx[0] && create_if_block_2$5(ctx);
|
|
3496
3495
|
|
|
3497
3496
|
return {
|
|
3498
3497
|
c() {
|
|
@@ -3529,7 +3528,7 @@ function create_if_block_1$7(ctx) {
|
|
|
3529
3528
|
if (if_block) {
|
|
3530
3529
|
if_block.p(ctx, dirty);
|
|
3531
3530
|
} else {
|
|
3532
|
-
if_block = create_if_block_2$
|
|
3531
|
+
if_block = create_if_block_2$5(ctx);
|
|
3533
3532
|
if_block.c();
|
|
3534
3533
|
if_block.m(div, null);
|
|
3535
3534
|
}
|
|
@@ -3592,7 +3591,7 @@ function create_if_block_4$1(ctx) {
|
|
|
3592
3591
|
}
|
|
3593
3592
|
|
|
3594
3593
|
// (34:6) {#if message}
|
|
3595
|
-
function create_if_block_2$
|
|
3594
|
+
function create_if_block_2$5(ctx) {
|
|
3596
3595
|
let div;
|
|
3597
3596
|
let t;
|
|
3598
3597
|
|
|
@@ -3618,7 +3617,7 @@ function create_if_block_2$6(ctx) {
|
|
|
3618
3617
|
function create_fragment$t(ctx) {
|
|
3619
3618
|
let if_block_anchor;
|
|
3620
3619
|
let current;
|
|
3621
|
-
let if_block = /*isVisible*/ ctx[5] && create_if_block$
|
|
3620
|
+
let if_block = /*isVisible*/ ctx[5] && create_if_block$c(ctx);
|
|
3622
3621
|
|
|
3623
3622
|
return {
|
|
3624
3623
|
c() {
|
|
@@ -3640,7 +3639,7 @@ function create_fragment$t(ctx) {
|
|
|
3640
3639
|
transition_in(if_block, 1);
|
|
3641
3640
|
}
|
|
3642
3641
|
} else {
|
|
3643
|
-
if_block = create_if_block$
|
|
3642
|
+
if_block = create_if_block$c(ctx);
|
|
3644
3643
|
if_block.c();
|
|
3645
3644
|
transition_in(if_block, 1);
|
|
3646
3645
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -4040,8 +4039,8 @@ function get_each_context$4(ctx, list, i) {
|
|
|
4040
4039
|
return child_ctx;
|
|
4041
4040
|
}
|
|
4042
4041
|
|
|
4043
|
-
// (
|
|
4044
|
-
function create_if_block$
|
|
4042
|
+
// (203:2) {#if isMenuVisible}
|
|
4043
|
+
function create_if_block$b(ctx) {
|
|
4045
4044
|
let div;
|
|
4046
4045
|
let div_data_testid_value;
|
|
4047
4046
|
let mounted;
|
|
@@ -4074,7 +4073,7 @@ function create_if_block$c(ctx) {
|
|
|
4074
4073
|
};
|
|
4075
4074
|
}
|
|
4076
4075
|
|
|
4077
|
-
// (
|
|
4076
|
+
// (244:4) {#each options as option, index}
|
|
4078
4077
|
function create_each_block$4(ctx) {
|
|
4079
4078
|
let li;
|
|
4080
4079
|
let t_value = (/*option*/ ctx[39].label || /*option*/ ctx[39].value) + "";
|
|
@@ -4174,7 +4173,7 @@ function create_fragment$r(ctx) {
|
|
|
4174
4173
|
let div_style_value;
|
|
4175
4174
|
let mounted;
|
|
4176
4175
|
let dispose;
|
|
4177
|
-
let if_block = /*isMenuVisible*/ ctx[11] && create_if_block$
|
|
4176
|
+
let if_block = /*isMenuVisible*/ ctx[11] && create_if_block$b(ctx);
|
|
4178
4177
|
let each_value = /*options*/ ctx[9];
|
|
4179
4178
|
let each_blocks = [];
|
|
4180
4179
|
|
|
@@ -4251,7 +4250,7 @@ function create_fragment$r(ctx) {
|
|
|
4251
4250
|
if (if_block) {
|
|
4252
4251
|
if_block.p(ctx, dirty);
|
|
4253
4252
|
} else {
|
|
4254
|
-
if_block = create_if_block$
|
|
4253
|
+
if_block = create_if_block$b(ctx);
|
|
4255
4254
|
if_block.c();
|
|
4256
4255
|
if_block.m(div, t0);
|
|
4257
4256
|
}
|
|
@@ -4473,8 +4472,6 @@ function instance$p($$self, $$props, $$invalidate) {
|
|
|
4473
4472
|
// hide menu on blur
|
|
4474
4473
|
menuEl.addEventListener("blur", closeMenu);
|
|
4475
4474
|
|
|
4476
|
-
menuEl.focus();
|
|
4477
|
-
|
|
4478
4475
|
// bind up/down arrows to navigate options
|
|
4479
4476
|
menuEl.addEventListener("mouseover", onHighlight);
|
|
4480
4477
|
}
|
|
@@ -5140,13 +5137,19 @@ function create_fragment$n(ctx) {
|
|
|
5140
5137
|
function isFocusable(element) {
|
|
5141
5138
|
const isTabbable = element.tabIndex > 0 || element.tabIndex === 0 && element.getAttribute('tabIndex') !== null;
|
|
5142
5139
|
if (isTabbable) return true;
|
|
5143
|
-
if (element
|
|
5140
|
+
if (element["disabled"]) return false;
|
|
5144
5141
|
|
|
5145
5142
|
switch (element.nodeName) {
|
|
5146
5143
|
case 'A':
|
|
5147
|
-
|
|
5144
|
+
{
|
|
5145
|
+
const el = element;
|
|
5146
|
+
return !!el.href && el.rel !== 'ignore';
|
|
5147
|
+
}
|
|
5148
5148
|
case 'INPUT':
|
|
5149
|
-
|
|
5149
|
+
{
|
|
5150
|
+
const el = element;
|
|
5151
|
+
return el.type !== 'hidden' && el.type !== 'file';
|
|
5152
|
+
}
|
|
5150
5153
|
case 'BUTTON':
|
|
5151
5154
|
case 'SELECT':
|
|
5152
5155
|
case 'TEXTAREA':
|
|
@@ -5552,7 +5555,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
5552
5555
|
}
|
|
5553
5556
|
|
|
5554
5557
|
// (90:2) {#if heading}
|
|
5555
|
-
function create_if_block$
|
|
5558
|
+
function create_if_block$a(ctx) {
|
|
5556
5559
|
let div;
|
|
5557
5560
|
let t0;
|
|
5558
5561
|
let t1;
|
|
@@ -5624,7 +5627,7 @@ function create_fragment$l(ctx) {
|
|
|
5624
5627
|
let t1;
|
|
5625
5628
|
let ul;
|
|
5626
5629
|
let ul_style_value;
|
|
5627
|
-
let if_block = /*heading*/ ctx[0] && create_if_block$
|
|
5630
|
+
let if_block = /*heading*/ ctx[0] && create_if_block$a(ctx);
|
|
5628
5631
|
let each_value = /*children*/ ctx[3];
|
|
5629
5632
|
let each_blocks = [];
|
|
5630
5633
|
|
|
@@ -5678,7 +5681,7 @@ function create_fragment$l(ctx) {
|
|
|
5678
5681
|
if (if_block) {
|
|
5679
5682
|
if_block.p(ctx, dirty);
|
|
5680
5683
|
} else {
|
|
5681
|
-
if_block = create_if_block$
|
|
5684
|
+
if_block = create_if_block$a(ctx);
|
|
5682
5685
|
if_block.c();
|
|
5683
5686
|
if_block.m(section, t0);
|
|
5684
5687
|
}
|
|
@@ -5843,7 +5846,7 @@ customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
|
5843
5846
|
|
|
5844
5847
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
5845
5848
|
|
|
5846
|
-
function create_if_block$
|
|
5849
|
+
function create_if_block$9(ctx) {
|
|
5847
5850
|
let goa_divider;
|
|
5848
5851
|
|
|
5849
5852
|
return {
|
|
@@ -5874,7 +5877,7 @@ function create_fragment$k(ctx) {
|
|
|
5874
5877
|
let t3;
|
|
5875
5878
|
let a1;
|
|
5876
5879
|
let div5_style_value;
|
|
5877
|
-
let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$
|
|
5880
|
+
let if_block = /*navLinks*/ ctx[2]?.length && create_if_block$9();
|
|
5878
5881
|
|
|
5879
5882
|
return {
|
|
5880
5883
|
c() {
|
|
@@ -5928,7 +5931,7 @@ function create_fragment$k(ctx) {
|
|
|
5928
5931
|
p(ctx, [dirty]) {
|
|
5929
5932
|
if (/*navLinks*/ ctx[2]?.length) {
|
|
5930
5933
|
if (if_block) ; else {
|
|
5931
|
-
if_block = create_if_block$
|
|
5934
|
+
if_block = create_if_block$9();
|
|
5932
5935
|
if_block.c();
|
|
5933
5936
|
if_block.m(div4, t1);
|
|
5934
5937
|
}
|
|
@@ -6037,7 +6040,7 @@ customElements.define("goa-app-footer", Footer);
|
|
|
6037
6040
|
|
|
6038
6041
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
6039
6042
|
|
|
6040
|
-
function create_if_block_2$
|
|
6043
|
+
function create_if_block_2$4(ctx) {
|
|
6041
6044
|
let div;
|
|
6042
6045
|
let t0;
|
|
6043
6046
|
let t1;
|
|
@@ -6112,7 +6115,7 @@ function create_if_block_3$3(ctx) {
|
|
|
6112
6115
|
}
|
|
6113
6116
|
|
|
6114
6117
|
// (36:2) {#if error}
|
|
6115
|
-
function create_if_block_1$
|
|
6118
|
+
function create_if_block_1$5(ctx) {
|
|
6116
6119
|
let div;
|
|
6117
6120
|
let t;
|
|
6118
6121
|
|
|
@@ -6136,7 +6139,7 @@ function create_if_block_1$6(ctx) {
|
|
|
6136
6139
|
}
|
|
6137
6140
|
|
|
6138
6141
|
// (39:2) {#if helptext}
|
|
6139
|
-
function create_if_block$
|
|
6142
|
+
function create_if_block$8(ctx) {
|
|
6140
6143
|
let div;
|
|
6141
6144
|
let t;
|
|
6142
6145
|
|
|
@@ -6165,9 +6168,9 @@ function create_fragment$j(ctx) {
|
|
|
6165
6168
|
let div0;
|
|
6166
6169
|
let t1;
|
|
6167
6170
|
let t2;
|
|
6168
|
-
let if_block0 = /*label*/ ctx[0] && create_if_block_2$
|
|
6169
|
-
let if_block1 = /*error*/ ctx[2] && create_if_block_1$
|
|
6170
|
-
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);
|
|
6171
6174
|
|
|
6172
6175
|
return {
|
|
6173
6176
|
c() {
|
|
@@ -6199,7 +6202,7 @@ function create_fragment$j(ctx) {
|
|
|
6199
6202
|
if (if_block0) {
|
|
6200
6203
|
if_block0.p(ctx, dirty);
|
|
6201
6204
|
} else {
|
|
6202
|
-
if_block0 = create_if_block_2$
|
|
6205
|
+
if_block0 = create_if_block_2$4(ctx);
|
|
6203
6206
|
if_block0.c();
|
|
6204
6207
|
if_block0.m(div1, t0);
|
|
6205
6208
|
}
|
|
@@ -6212,7 +6215,7 @@ function create_fragment$j(ctx) {
|
|
|
6212
6215
|
if (if_block1) {
|
|
6213
6216
|
if_block1.p(ctx, dirty);
|
|
6214
6217
|
} else {
|
|
6215
|
-
if_block1 = create_if_block_1$
|
|
6218
|
+
if_block1 = create_if_block_1$5(ctx);
|
|
6216
6219
|
if_block1.c();
|
|
6217
6220
|
if_block1.m(div1, t2);
|
|
6218
6221
|
}
|
|
@@ -6225,7 +6228,7 @@ function create_fragment$j(ctx) {
|
|
|
6225
6228
|
if (if_block2) {
|
|
6226
6229
|
if_block2.p(ctx, dirty);
|
|
6227
6230
|
} else {
|
|
6228
|
-
if_block2 = create_if_block$
|
|
6231
|
+
if_block2 = create_if_block$8(ctx);
|
|
6229
6232
|
if_block2.c();
|
|
6230
6233
|
if_block2.m(div1, null);
|
|
6231
6234
|
}
|
|
@@ -6260,7 +6263,7 @@ function instance$h($$self, $$props, $$invalidate) {
|
|
|
6260
6263
|
|
|
6261
6264
|
onMount(() => {
|
|
6262
6265
|
if (!isRequirementType(requirement)) {
|
|
6263
|
-
|
|
6266
|
+
console.error("Invalid requirement type", requirement);
|
|
6264
6267
|
}
|
|
6265
6268
|
});
|
|
6266
6269
|
|
|
@@ -6763,7 +6766,7 @@ customElements.define("goa-icon-button", IconButton);
|
|
|
6763
6766
|
|
|
6764
6767
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
6765
6768
|
|
|
6766
|
-
function create_if_block$
|
|
6769
|
+
function create_if_block$7(ctx) {
|
|
6767
6770
|
let ion_icon;
|
|
6768
6771
|
let ion_icon_name_value;
|
|
6769
6772
|
|
|
@@ -6795,7 +6798,7 @@ function create_fragment$g(ctx) {
|
|
|
6795
6798
|
let div;
|
|
6796
6799
|
let div_data_testid_value;
|
|
6797
6800
|
let div_style_value;
|
|
6798
|
-
let if_block = /*type*/ ctx[0] && create_if_block$
|
|
6801
|
+
let if_block = /*type*/ ctx[0] && create_if_block$7(ctx);
|
|
6799
6802
|
|
|
6800
6803
|
return {
|
|
6801
6804
|
c() {
|
|
@@ -6824,7 +6827,7 @@ function create_fragment$g(ctx) {
|
|
|
6824
6827
|
if (if_block) {
|
|
6825
6828
|
if_block.p(ctx, dirty);
|
|
6826
6829
|
} else {
|
|
6827
|
-
if_block = create_if_block$
|
|
6830
|
+
if_block = create_if_block$7(ctx);
|
|
6828
6831
|
if_block.c();
|
|
6829
6832
|
if_block.m(div, null);
|
|
6830
6833
|
}
|
|
@@ -7067,7 +7070,7 @@ function create_if_block_4(ctx) {
|
|
|
7067
7070
|
};
|
|
7068
7071
|
}
|
|
7069
7072
|
|
|
7070
|
-
// (
|
|
7073
|
+
// (79:4) {#if leadingicon}
|
|
7071
7074
|
function create_if_block_3$2(ctx) {
|
|
7072
7075
|
let goa_icon;
|
|
7073
7076
|
|
|
@@ -7092,8 +7095,8 @@ function create_if_block_3$2(ctx) {
|
|
|
7092
7095
|
};
|
|
7093
7096
|
}
|
|
7094
7097
|
|
|
7095
|
-
// (
|
|
7096
|
-
function create_if_block_2$
|
|
7098
|
+
// (109:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
7099
|
+
function create_if_block_2$3(ctx) {
|
|
7097
7100
|
let goa_icon;
|
|
7098
7101
|
|
|
7099
7102
|
return {
|
|
@@ -7118,8 +7121,8 @@ function create_if_block_2$4(ctx) {
|
|
|
7118
7121
|
};
|
|
7119
7122
|
}
|
|
7120
7123
|
|
|
7121
|
-
// (
|
|
7122
|
-
function create_if_block_1$
|
|
7124
|
+
// (119:4) {#if trailingicon && handlesTrailingIconClick}
|
|
7125
|
+
function create_if_block_1$4(ctx) {
|
|
7123
7126
|
let goa_icon_button;
|
|
7124
7127
|
let mounted;
|
|
7125
7128
|
let dispose;
|
|
@@ -7158,8 +7161,8 @@ function create_if_block_1$5(ctx) {
|
|
|
7158
7161
|
};
|
|
7159
7162
|
}
|
|
7160
7163
|
|
|
7161
|
-
// (
|
|
7162
|
-
function create_if_block$
|
|
7164
|
+
// (131:4) {#if suffix}
|
|
7165
|
+
function create_if_block$6(ctx) {
|
|
7163
7166
|
let span;
|
|
7164
7167
|
let t;
|
|
7165
7168
|
|
|
@@ -7200,9 +7203,9 @@ function create_fragment$f(ctx) {
|
|
|
7200
7203
|
let dispose;
|
|
7201
7204
|
let if_block0 = /*prefix*/ ctx[14] && create_if_block_4(ctx);
|
|
7202
7205
|
let if_block1 = /*leadingicon*/ ctx[5] && create_if_block_3$2(ctx);
|
|
7203
|
-
let if_block2 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[20] && create_if_block_2$
|
|
7204
|
-
let if_block3 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[20] && create_if_block_1$
|
|
7205
|
-
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);
|
|
7206
7209
|
|
|
7207
7210
|
return {
|
|
7208
7211
|
c() {
|
|
@@ -7362,7 +7365,7 @@ function create_fragment$f(ctx) {
|
|
|
7362
7365
|
if (if_block2) {
|
|
7363
7366
|
if_block2.p(ctx, dirty);
|
|
7364
7367
|
} else {
|
|
7365
|
-
if_block2 = create_if_block_2$
|
|
7368
|
+
if_block2 = create_if_block_2$3(ctx);
|
|
7366
7369
|
if_block2.c();
|
|
7367
7370
|
if_block2.m(div0, t3);
|
|
7368
7371
|
}
|
|
@@ -7375,7 +7378,7 @@ function create_fragment$f(ctx) {
|
|
|
7375
7378
|
if (if_block3) {
|
|
7376
7379
|
if_block3.p(ctx, dirty);
|
|
7377
7380
|
} else {
|
|
7378
|
-
if_block3 = create_if_block_1$
|
|
7381
|
+
if_block3 = create_if_block_1$4(ctx);
|
|
7379
7382
|
if_block3.c();
|
|
7380
7383
|
if_block3.m(div0, t4);
|
|
7381
7384
|
}
|
|
@@ -7388,7 +7391,7 @@ function create_fragment$f(ctx) {
|
|
|
7388
7391
|
if (if_block4) {
|
|
7389
7392
|
if_block4.p(ctx, dirty);
|
|
7390
7393
|
} else {
|
|
7391
|
-
if_block4 = create_if_block$
|
|
7394
|
+
if_block4 = create_if_block$6(ctx);
|
|
7392
7395
|
if_block4.c();
|
|
7393
7396
|
if_block4.m(div0, null);
|
|
7394
7397
|
}
|
|
@@ -7466,15 +7469,17 @@ function instance$d($$self, $$props, $$invalidate) {
|
|
|
7466
7469
|
let inputEl;
|
|
7467
7470
|
|
|
7468
7471
|
function onKeyUp(e) {
|
|
7472
|
+
const ee = e.target;
|
|
7473
|
+
|
|
7469
7474
|
e.target.dispatchEvent(new CustomEvent("_change",
|
|
7470
7475
|
{
|
|
7471
7476
|
composed: true,
|
|
7472
7477
|
bubbles: false,
|
|
7473
7478
|
cancelable: true,
|
|
7474
|
-
detail: { name, value:
|
|
7479
|
+
detail: { name, value: ee.value }
|
|
7475
7480
|
}));
|
|
7476
7481
|
|
|
7477
|
-
$$invalidate(0, value =
|
|
7482
|
+
$$invalidate(0, value = ee.value);
|
|
7478
7483
|
}
|
|
7479
7484
|
|
|
7480
7485
|
function input_binding($$value) {
|
|
@@ -7882,7 +7887,7 @@ function create_if_block_3$1(ctx) {
|
|
|
7882
7887
|
}
|
|
7883
7888
|
|
|
7884
7889
|
// (34:2) {#if ["alpha", "beta"].includes(type)}
|
|
7885
|
-
function create_if_block_1$
|
|
7890
|
+
function create_if_block_1$3(ctx) {
|
|
7886
7891
|
let div0;
|
|
7887
7892
|
let t0_value = capitalize(/*type*/ ctx[0]) + "";
|
|
7888
7893
|
let t0;
|
|
@@ -7892,7 +7897,7 @@ function create_if_block_1$4(ctx) {
|
|
|
7892
7897
|
let t2;
|
|
7893
7898
|
let a;
|
|
7894
7899
|
let t4;
|
|
7895
|
-
let if_block = /*feedbackurl*/ ctx[2] && create_if_block_2$
|
|
7900
|
+
let if_block = /*feedbackurl*/ ctx[2] && create_if_block_2$2(ctx);
|
|
7896
7901
|
|
|
7897
7902
|
return {
|
|
7898
7903
|
c() {
|
|
@@ -7932,7 +7937,7 @@ function create_if_block_1$4(ctx) {
|
|
|
7932
7937
|
if (if_block) {
|
|
7933
7938
|
if_block.p(ctx, dirty);
|
|
7934
7939
|
} else {
|
|
7935
|
-
if_block = create_if_block_2$
|
|
7940
|
+
if_block = create_if_block_2$2(ctx);
|
|
7936
7941
|
if_block.c();
|
|
7937
7942
|
if_block.m(div1, null);
|
|
7938
7943
|
}
|
|
@@ -7951,7 +7956,7 @@ function create_if_block_1$4(ctx) {
|
|
|
7951
7956
|
}
|
|
7952
7957
|
|
|
7953
7958
|
// (43:6) {#if feedbackurl}
|
|
7954
|
-
function create_if_block_2$
|
|
7959
|
+
function create_if_block_2$2(ctx) {
|
|
7955
7960
|
let span;
|
|
7956
7961
|
let t0;
|
|
7957
7962
|
let a;
|
|
@@ -7984,7 +7989,7 @@ function create_if_block_2$3(ctx) {
|
|
|
7984
7989
|
}
|
|
7985
7990
|
|
|
7986
7991
|
// (49:2) {#if version}
|
|
7987
|
-
function create_if_block$
|
|
7992
|
+
function create_if_block$5(ctx) {
|
|
7988
7993
|
let div;
|
|
7989
7994
|
let t;
|
|
7990
7995
|
|
|
@@ -8016,8 +8021,8 @@ function create_fragment$e(ctx) {
|
|
|
8016
8021
|
let div;
|
|
8017
8022
|
let t2;
|
|
8018
8023
|
let if_block0 = /*type*/ ctx[0] === "live" && create_if_block_3$1();
|
|
8019
|
-
let if_block1 = show_if && create_if_block_1$
|
|
8020
|
-
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);
|
|
8021
8026
|
|
|
8022
8027
|
return {
|
|
8023
8028
|
c() {
|
|
@@ -8061,7 +8066,7 @@ function create_fragment$e(ctx) {
|
|
|
8061
8066
|
if (if_block1) {
|
|
8062
8067
|
if_block1.p(ctx, dirty);
|
|
8063
8068
|
} else {
|
|
8064
|
-
if_block1 = create_if_block_1$
|
|
8069
|
+
if_block1 = create_if_block_1$3(ctx);
|
|
8065
8070
|
if_block1.c();
|
|
8066
8071
|
if_block1.m(header, t1);
|
|
8067
8072
|
}
|
|
@@ -8074,7 +8079,7 @@ function create_fragment$e(ctx) {
|
|
|
8074
8079
|
if (if_block2) {
|
|
8075
8080
|
if_block2.p(ctx, dirty);
|
|
8076
8081
|
} else {
|
|
8077
|
-
if_block2 = create_if_block$
|
|
8082
|
+
if_block2 = create_if_block$5(ctx);
|
|
8078
8083
|
if_block2.c();
|
|
8079
8084
|
if_block2.m(header, null);
|
|
8080
8085
|
}
|
|
@@ -8101,8 +8106,8 @@ function capitalize(val) {
|
|
|
8101
8106
|
|
|
8102
8107
|
function instance$c($$self, $$props, $$invalidate) {
|
|
8103
8108
|
let { type } = $$props;
|
|
8104
|
-
let { version } = $$props;
|
|
8105
|
-
let { feedbackurl } = $$props;
|
|
8109
|
+
let { version = "" } = $$props;
|
|
8110
|
+
let { feedbackurl = "" } = $$props;
|
|
8106
8111
|
|
|
8107
8112
|
$$self.$$set = $$props => {
|
|
8108
8113
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
@@ -8180,7 +8185,7 @@ customElements.define("goa-microsite-header", MicrositeHeader);
|
|
|
8180
8185
|
|
|
8181
8186
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
8182
8187
|
|
|
8183
|
-
function create_if_block$
|
|
8188
|
+
function create_if_block$4(ctx) {
|
|
8184
8189
|
let goa_focus_trap;
|
|
8185
8190
|
let div4;
|
|
8186
8191
|
let div0;
|
|
@@ -8203,14 +8208,13 @@ function create_if_block$5(ctx) {
|
|
|
8203
8208
|
let mounted;
|
|
8204
8209
|
let dispose;
|
|
8205
8210
|
let if_block0 = /*heading*/ ctx[0] && create_if_block_3(ctx);
|
|
8206
|
-
let if_block1 = /*isClosable*/ ctx[3] && create_if_block_2$
|
|
8211
|
+
let if_block1 = /*isClosable*/ ctx[3] && create_if_block_2$1(ctx);
|
|
8207
8212
|
|
|
8208
8213
|
function select_block_type(ctx, dirty) {
|
|
8209
|
-
|
|
8210
|
-
return create_else_block$1;
|
|
8214
|
+
return create_if_block_1$2;
|
|
8211
8215
|
}
|
|
8212
8216
|
|
|
8213
|
-
let current_block_type = select_block_type(
|
|
8217
|
+
let current_block_type = select_block_type();
|
|
8214
8218
|
let if_block2 = current_block_type(ctx);
|
|
8215
8219
|
|
|
8216
8220
|
return {
|
|
@@ -8263,7 +8267,7 @@ function create_if_block$5(ctx) {
|
|
|
8263
8267
|
|
|
8264
8268
|
if (!mounted) {
|
|
8265
8269
|
dispose = [
|
|
8266
|
-
listen(div0, "click", /*close*/ ctx[
|
|
8270
|
+
listen(div0, "click", /*close*/ ctx[6]),
|
|
8267
8271
|
action_destroyer(noscroll_action = noscroll.call(null, div4, { enable: /*isOpen*/ ctx[5] }))
|
|
8268
8272
|
];
|
|
8269
8273
|
|
|
@@ -8290,7 +8294,7 @@ function create_if_block$5(ctx) {
|
|
|
8290
8294
|
if (if_block1) {
|
|
8291
8295
|
if_block1.p(ctx, dirty);
|
|
8292
8296
|
} else {
|
|
8293
|
-
if_block1 = create_if_block_2$
|
|
8297
|
+
if_block1 = create_if_block_2$1(ctx);
|
|
8294
8298
|
if_block1.c();
|
|
8295
8299
|
if_block1.m(div3, t2);
|
|
8296
8300
|
}
|
|
@@ -8299,16 +8303,6 @@ function create_if_block$5(ctx) {
|
|
|
8299
8303
|
if_block1 = null;
|
|
8300
8304
|
}
|
|
8301
8305
|
|
|
8302
|
-
if (current_block_type !== (current_block_type = select_block_type(ctx))) {
|
|
8303
|
-
if_block2.d(1);
|
|
8304
|
-
if_block2 = current_block_type(ctx);
|
|
8305
|
-
|
|
8306
|
-
if (if_block2) {
|
|
8307
|
-
if_block2.c();
|
|
8308
|
-
if_block2.m(div1, t3);
|
|
8309
|
-
}
|
|
8310
|
-
}
|
|
8311
|
-
|
|
8312
8306
|
if (!current || dirty & /*width*/ 4 && div4_style_value !== (div4_style_value = "" + ((/*width*/ ctx[2] && `--width: ${/*width*/ ctx[2]};`) + ";"))) {
|
|
8313
8307
|
attr(div4, "style", div4_style_value);
|
|
8314
8308
|
}
|
|
@@ -8372,7 +8366,7 @@ function create_if_block$5(ctx) {
|
|
|
8372
8366
|
};
|
|
8373
8367
|
}
|
|
8374
8368
|
|
|
8375
|
-
// (
|
|
8369
|
+
// (53:8) {#if heading}
|
|
8376
8370
|
function create_if_block_3(ctx) {
|
|
8377
8371
|
let div;
|
|
8378
8372
|
let t;
|
|
@@ -8397,8 +8391,8 @@ function create_if_block_3(ctx) {
|
|
|
8397
8391
|
};
|
|
8398
8392
|
}
|
|
8399
8393
|
|
|
8400
|
-
// (
|
|
8401
|
-
function create_if_block_2$
|
|
8394
|
+
// (56:8) {#if isClosable}
|
|
8395
|
+
function create_if_block_2$1(ctx) {
|
|
8402
8396
|
let div;
|
|
8403
8397
|
let goa_icon_button;
|
|
8404
8398
|
let mounted;
|
|
@@ -8417,7 +8411,7 @@ function create_if_block_2$2(ctx) {
|
|
|
8417
8411
|
append(div, goa_icon_button);
|
|
8418
8412
|
|
|
8419
8413
|
if (!mounted) {
|
|
8420
|
-
dispose = listen(goa_icon_button, "click", /*close*/ ctx[
|
|
8414
|
+
dispose = listen(goa_icon_button, "click", /*close*/ ctx[6]);
|
|
8421
8415
|
mounted = true;
|
|
8422
8416
|
}
|
|
8423
8417
|
},
|
|
@@ -8430,27 +8424,8 @@ function create_if_block_2$2(ctx) {
|
|
|
8430
8424
|
};
|
|
8431
8425
|
}
|
|
8432
8426
|
|
|
8433
|
-
// (71:10) {:else}
|
|
8434
|
-
function create_else_block$1(ctx) {
|
|
8435
|
-
let div;
|
|
8436
|
-
|
|
8437
|
-
return {
|
|
8438
|
-
c() {
|
|
8439
|
-
div = element("div");
|
|
8440
|
-
div.innerHTML = `<slot></slot>`;
|
|
8441
|
-
set_style(div, "margin", "1.75rem");
|
|
8442
|
-
},
|
|
8443
|
-
m(target, anchor) {
|
|
8444
|
-
insert(target, div, anchor);
|
|
8445
|
-
},
|
|
8446
|
-
d(detaching) {
|
|
8447
|
-
if (detaching) detach(div);
|
|
8448
|
-
}
|
|
8449
|
-
};
|
|
8450
|
-
}
|
|
8451
|
-
|
|
8452
8427
|
// (67:10) {#if isScrollable}
|
|
8453
|
-
function create_if_block_1$
|
|
8428
|
+
function create_if_block_1$2(ctx) {
|
|
8454
8429
|
let goa_scrollable;
|
|
8455
8430
|
|
|
8456
8431
|
return {
|
|
@@ -8473,7 +8448,7 @@ function create_if_block_1$3(ctx) {
|
|
|
8473
8448
|
function create_fragment$d(ctx) {
|
|
8474
8449
|
let if_block_anchor;
|
|
8475
8450
|
let current;
|
|
8476
|
-
let if_block = /*isOpen*/ ctx[5] && create_if_block$
|
|
8451
|
+
let if_block = /*isOpen*/ ctx[5] && create_if_block$4(ctx);
|
|
8477
8452
|
|
|
8478
8453
|
return {
|
|
8479
8454
|
c() {
|
|
@@ -8495,7 +8470,7 @@ function create_fragment$d(ctx) {
|
|
|
8495
8470
|
transition_in(if_block, 1);
|
|
8496
8471
|
}
|
|
8497
8472
|
} else {
|
|
8498
|
-
if_block = create_if_block$
|
|
8473
|
+
if_block = create_if_block$4(ctx);
|
|
8499
8474
|
if_block.c();
|
|
8500
8475
|
transition_in(if_block, 1);
|
|
8501
8476
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -8528,15 +8503,13 @@ function create_fragment$d(ctx) {
|
|
|
8528
8503
|
|
|
8529
8504
|
function instance$b($$self, $$props, $$invalidate) {
|
|
8530
8505
|
let isClosable;
|
|
8531
|
-
let isScrollable;
|
|
8532
8506
|
let isOpen;
|
|
8533
8507
|
let _transitionTime;
|
|
8534
|
-
let { heading } = $$props;
|
|
8535
|
-
let { closable } = $$props;
|
|
8536
|
-
let {
|
|
8537
|
-
let { open } = $$props;
|
|
8508
|
+
let { heading = "" } = $$props;
|
|
8509
|
+
let { closable = "false" } = $$props;
|
|
8510
|
+
let { open = "false" } = $$props;
|
|
8538
8511
|
let { transition = "none" } = $$props;
|
|
8539
|
-
let { width } = $$props;
|
|
8512
|
+
let { width = "" } = $$props;
|
|
8540
8513
|
|
|
8541
8514
|
function close(e) {
|
|
8542
8515
|
if (!isClosable) {
|
|
@@ -8549,27 +8522,22 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
8549
8522
|
|
|
8550
8523
|
$$self.$$set = $$props => {
|
|
8551
8524
|
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
8552
|
-
if ('closable' in $$props) $$invalidate(
|
|
8553
|
-
if ('scrollable' in $$props) $$invalidate(9, scrollable = $$props.scrollable);
|
|
8525
|
+
if ('closable' in $$props) $$invalidate(7, closable = $$props.closable);
|
|
8554
8526
|
if ('open' in $$props) $$invalidate(1, open = $$props.open);
|
|
8555
|
-
if ('transition' in $$props) $$invalidate(
|
|
8527
|
+
if ('transition' in $$props) $$invalidate(8, transition = $$props.transition);
|
|
8556
8528
|
if ('width' in $$props) $$invalidate(2, width = $$props.width);
|
|
8557
8529
|
};
|
|
8558
8530
|
|
|
8559
8531
|
$$self.$$.update = () => {
|
|
8560
|
-
if ($$self.$$.dirty & /*closable*/
|
|
8532
|
+
if ($$self.$$.dirty & /*closable*/ 128) {
|
|
8561
8533
|
$$invalidate(3, isClosable = toBoolean(closable));
|
|
8562
8534
|
}
|
|
8563
8535
|
|
|
8564
|
-
if ($$self.$$.dirty & /*scrollable*/ 512) {
|
|
8565
|
-
$$invalidate(6, isScrollable = toBoolean(scrollable));
|
|
8566
|
-
}
|
|
8567
|
-
|
|
8568
8536
|
if ($$self.$$.dirty & /*open*/ 2) {
|
|
8569
8537
|
$$invalidate(5, isOpen = toBoolean(open));
|
|
8570
8538
|
}
|
|
8571
8539
|
|
|
8572
|
-
if ($$self.$$.dirty & /*transition*/
|
|
8540
|
+
if ($$self.$$.dirty & /*transition*/ 256) {
|
|
8573
8541
|
$$invalidate(4, _transitionTime = transition === "none"
|
|
8574
8542
|
? 0
|
|
8575
8543
|
: transition === "slow" ? 400 : 200);
|
|
@@ -8583,10 +8551,8 @@ function instance$b($$self, $$props, $$invalidate) {
|
|
|
8583
8551
|
isClosable,
|
|
8584
8552
|
_transitionTime,
|
|
8585
8553
|
isOpen,
|
|
8586
|
-
isScrollable,
|
|
8587
8554
|
close,
|
|
8588
8555
|
closable,
|
|
8589
|
-
scrollable,
|
|
8590
8556
|
transition
|
|
8591
8557
|
];
|
|
8592
8558
|
}
|
|
@@ -8608,10 +8574,9 @@ class Modal extends SvelteElement {
|
|
|
8608
8574
|
safe_not_equal,
|
|
8609
8575
|
{
|
|
8610
8576
|
heading: 0,
|
|
8611
|
-
closable:
|
|
8612
|
-
scrollable: 9,
|
|
8577
|
+
closable: 7,
|
|
8613
8578
|
open: 1,
|
|
8614
|
-
transition:
|
|
8579
|
+
transition: 8,
|
|
8615
8580
|
width: 2
|
|
8616
8581
|
},
|
|
8617
8582
|
null
|
|
@@ -8630,7 +8595,7 @@ class Modal extends SvelteElement {
|
|
|
8630
8595
|
}
|
|
8631
8596
|
|
|
8632
8597
|
static get observedAttributes() {
|
|
8633
|
-
return ["heading", "closable", "
|
|
8598
|
+
return ["heading", "closable", "open", "transition", "width"];
|
|
8634
8599
|
}
|
|
8635
8600
|
|
|
8636
8601
|
get heading() {
|
|
@@ -8643,7 +8608,7 @@ class Modal extends SvelteElement {
|
|
|
8643
8608
|
}
|
|
8644
8609
|
|
|
8645
8610
|
get closable() {
|
|
8646
|
-
return this.$$.ctx[
|
|
8611
|
+
return this.$$.ctx[7];
|
|
8647
8612
|
}
|
|
8648
8613
|
|
|
8649
8614
|
set closable(closable) {
|
|
@@ -8651,15 +8616,6 @@ class Modal extends SvelteElement {
|
|
|
8651
8616
|
flush();
|
|
8652
8617
|
}
|
|
8653
8618
|
|
|
8654
|
-
get scrollable() {
|
|
8655
|
-
return this.$$.ctx[9];
|
|
8656
|
-
}
|
|
8657
|
-
|
|
8658
|
-
set scrollable(scrollable) {
|
|
8659
|
-
this.$$set({ scrollable });
|
|
8660
|
-
flush();
|
|
8661
|
-
}
|
|
8662
|
-
|
|
8663
8619
|
get open() {
|
|
8664
8620
|
return this.$$.ctx[1];
|
|
8665
8621
|
}
|
|
@@ -8670,7 +8626,7 @@ class Modal extends SvelteElement {
|
|
|
8670
8626
|
}
|
|
8671
8627
|
|
|
8672
8628
|
get transition() {
|
|
8673
|
-
return this.$$.ctx[
|
|
8629
|
+
return this.$$.ctx[8];
|
|
8674
8630
|
}
|
|
8675
8631
|
|
|
8676
8632
|
set transition(transition) {
|
|
@@ -8692,7 +8648,7 @@ customElements.define("goa-modal", Modal);
|
|
|
8692
8648
|
|
|
8693
8649
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
8694
8650
|
|
|
8695
|
-
function create_if_block$
|
|
8651
|
+
function create_if_block$3(ctx) {
|
|
8696
8652
|
let div3;
|
|
8697
8653
|
let div0;
|
|
8698
8654
|
let goa_icon;
|
|
@@ -8779,7 +8735,7 @@ function create_if_block$4(ctx) {
|
|
|
8779
8735
|
function create_fragment$c(ctx) {
|
|
8780
8736
|
let if_block_anchor;
|
|
8781
8737
|
let current;
|
|
8782
|
-
let if_block = /*show*/ ctx[1] && create_if_block$
|
|
8738
|
+
let if_block = /*show*/ ctx[1] && create_if_block$3(ctx);
|
|
8783
8739
|
|
|
8784
8740
|
return {
|
|
8785
8741
|
c() {
|
|
@@ -8801,7 +8757,7 @@ function create_fragment$c(ctx) {
|
|
|
8801
8757
|
transition_in(if_block, 1);
|
|
8802
8758
|
}
|
|
8803
8759
|
} else {
|
|
8804
|
-
if_block = create_if_block$
|
|
8760
|
+
if_block = create_if_block$3(ctx);
|
|
8805
8761
|
if_block.c();
|
|
8806
8762
|
transition_in(if_block, 1);
|
|
8807
8763
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -8957,7 +8913,7 @@ function instance$9($$self, $$props, $$invalidate) {
|
|
|
8957
8913
|
|
|
8958
8914
|
onMount(() => {
|
|
8959
8915
|
if (!isValidSize(width)) {
|
|
8960
|
-
|
|
8916
|
+
console.error("Invalid PageBlock width");
|
|
8961
8917
|
}
|
|
8962
8918
|
|
|
8963
8919
|
$$invalidate(0, _width = Sizes[width] || width);
|
|
@@ -9711,7 +9667,7 @@ function create_else_block(ctx) {
|
|
|
9711
9667
|
}
|
|
9712
9668
|
|
|
9713
9669
|
// (29:27)
|
|
9714
|
-
function create_if_block_2
|
|
9670
|
+
function create_if_block_2(ctx) {
|
|
9715
9671
|
let each_1_anchor;
|
|
9716
9672
|
let current;
|
|
9717
9673
|
let each_value = Array(/*linecount*/ ctx[2]);
|
|
@@ -9795,7 +9751,7 @@ function create_if_block_2$1(ctx) {
|
|
|
9795
9751
|
}
|
|
9796
9752
|
|
|
9797
9753
|
// (19:29)
|
|
9798
|
-
function create_if_block_1$
|
|
9754
|
+
function create_if_block_1$1(ctx) {
|
|
9799
9755
|
let div2;
|
|
9800
9756
|
let div0;
|
|
9801
9757
|
let skeleton0;
|
|
@@ -9885,7 +9841,7 @@ function create_if_block_1$2(ctx) {
|
|
|
9885
9841
|
}
|
|
9886
9842
|
|
|
9887
9843
|
// (11:0) {#if type === "card"}
|
|
9888
|
-
function create_if_block$
|
|
9844
|
+
function create_if_block$2(ctx) {
|
|
9889
9845
|
let div1;
|
|
9890
9846
|
let skeleton0;
|
|
9891
9847
|
let t0;
|
|
@@ -9908,7 +9864,7 @@ function create_if_block$3(ctx) {
|
|
|
9908
9864
|
props: {
|
|
9909
9865
|
type: "lines",
|
|
9910
9866
|
size: /*size*/ ctx[1],
|
|
9911
|
-
|
|
9867
|
+
linecount: 3
|
|
9912
9868
|
}
|
|
9913
9869
|
});
|
|
9914
9870
|
|
|
@@ -9985,7 +9941,7 @@ function create_each_block(ctx) {
|
|
|
9985
9941
|
props: {
|
|
9986
9942
|
type: "text",
|
|
9987
9943
|
size: /*size*/ ctx[1],
|
|
9988
|
-
|
|
9944
|
+
linecount: /*linecount*/ ctx[2]
|
|
9989
9945
|
}
|
|
9990
9946
|
});
|
|
9991
9947
|
|
|
@@ -10000,7 +9956,7 @@ function create_each_block(ctx) {
|
|
|
10000
9956
|
p(ctx, dirty) {
|
|
10001
9957
|
const skeleton_changes = {};
|
|
10002
9958
|
if (dirty & /*size*/ 2) skeleton_changes.size = /*size*/ ctx[1];
|
|
10003
|
-
if (dirty & /*linecount*/ 4) skeleton_changes.
|
|
9959
|
+
if (dirty & /*linecount*/ 4) skeleton_changes.linecount = /*linecount*/ ctx[2];
|
|
10004
9960
|
skeleton.$set(skeleton_changes);
|
|
10005
9961
|
},
|
|
10006
9962
|
i(local) {
|
|
@@ -10023,7 +9979,7 @@ function create_fragment$7(ctx) {
|
|
|
10023
9979
|
let if_block;
|
|
10024
9980
|
let if_block_anchor;
|
|
10025
9981
|
let current;
|
|
10026
|
-
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];
|
|
10027
9983
|
const if_blocks = [];
|
|
10028
9984
|
|
|
10029
9985
|
function select_block_type(ctx, dirty) {
|
|
@@ -10091,7 +10047,7 @@ function create_fragment$7(ctx) {
|
|
|
10091
10047
|
}
|
|
10092
10048
|
|
|
10093
10049
|
function instance$5($$self, $$props, $$invalidate) {
|
|
10094
|
-
let { maxwidth } = $$props;
|
|
10050
|
+
let { maxwidth = "" } = $$props;
|
|
10095
10051
|
let { size = 1 } = $$props;
|
|
10096
10052
|
let { linecount = 3 } = $$props;
|
|
10097
10053
|
let { type } = $$props;
|
|
@@ -10286,7 +10242,7 @@ function tweened(value, defaults = {}) {
|
|
|
10286
10242
|
|
|
10287
10243
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
10288
10244
|
|
|
10289
|
-
function create_if_block$
|
|
10245
|
+
function create_if_block$1(ctx) {
|
|
10290
10246
|
let svg;
|
|
10291
10247
|
let circle;
|
|
10292
10248
|
let circle_stroke_value;
|
|
@@ -10397,7 +10353,7 @@ function create_if_block$2(ctx) {
|
|
|
10397
10353
|
|
|
10398
10354
|
function create_fragment$6(ctx) {
|
|
10399
10355
|
let if_block_anchor;
|
|
10400
|
-
let if_block = /*ready*/ ctx[6] && create_if_block$
|
|
10356
|
+
let if_block = /*ready*/ ctx[6] && create_if_block$1(ctx);
|
|
10401
10357
|
|
|
10402
10358
|
return {
|
|
10403
10359
|
c() {
|
|
@@ -10414,7 +10370,7 @@ function create_fragment$6(ctx) {
|
|
|
10414
10370
|
if (if_block) {
|
|
10415
10371
|
if_block.p(ctx, dirty);
|
|
10416
10372
|
} else {
|
|
10417
|
-
if_block = create_if_block$
|
|
10373
|
+
if_block = create_if_block$1(ctx);
|
|
10418
10374
|
if_block.c();
|
|
10419
10375
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10420
10376
|
}
|
|
@@ -10620,109 +10576,6 @@ customElements.define("goa-spinner", Spinner);
|
|
|
10620
10576
|
|
|
10621
10577
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
10622
10578
|
|
|
10623
|
-
function create_if_block$1(ctx) {
|
|
10624
|
-
let if_block_anchor;
|
|
10625
|
-
|
|
10626
|
-
function select_block_type(ctx, dirty) {
|
|
10627
|
-
if (/*maxcharcount*/ ctx[7] > 0) return create_if_block_1$1;
|
|
10628
|
-
if (/*value*/ ctx[1].length > 0) return create_if_block_2;
|
|
10629
|
-
}
|
|
10630
|
-
|
|
10631
|
-
let current_block_type = select_block_type(ctx);
|
|
10632
|
-
let if_block = current_block_type && current_block_type(ctx);
|
|
10633
|
-
|
|
10634
|
-
return {
|
|
10635
|
-
c() {
|
|
10636
|
-
if (if_block) if_block.c();
|
|
10637
|
-
if_block_anchor = empty();
|
|
10638
|
-
},
|
|
10639
|
-
m(target, anchor) {
|
|
10640
|
-
if (if_block) if_block.m(target, anchor);
|
|
10641
|
-
insert(target, if_block_anchor, anchor);
|
|
10642
|
-
},
|
|
10643
|
-
p(ctx, dirty) {
|
|
10644
|
-
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
10645
|
-
if_block.p(ctx, dirty);
|
|
10646
|
-
} else {
|
|
10647
|
-
if (if_block) if_block.d(1);
|
|
10648
|
-
if_block = current_block_type && current_block_type(ctx);
|
|
10649
|
-
|
|
10650
|
-
if (if_block) {
|
|
10651
|
-
if_block.c();
|
|
10652
|
-
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
10653
|
-
}
|
|
10654
|
-
}
|
|
10655
|
-
},
|
|
10656
|
-
d(detaching) {
|
|
10657
|
-
if (if_block) {
|
|
10658
|
-
if_block.d(detaching);
|
|
10659
|
-
}
|
|
10660
|
-
|
|
10661
|
-
if (detaching) detach(if_block_anchor);
|
|
10662
|
-
}
|
|
10663
|
-
};
|
|
10664
|
-
}
|
|
10665
|
-
|
|
10666
|
-
// (63:31)
|
|
10667
|
-
function create_if_block_2(ctx) {
|
|
10668
|
-
let div;
|
|
10669
|
-
let t_value = /*value*/ ctx[1].length + "";
|
|
10670
|
-
let t;
|
|
10671
|
-
|
|
10672
|
-
return {
|
|
10673
|
-
c() {
|
|
10674
|
-
div = element("div");
|
|
10675
|
-
t = text(t_value);
|
|
10676
|
-
attr(div, "class", "counter");
|
|
10677
|
-
},
|
|
10678
|
-
m(target, anchor) {
|
|
10679
|
-
insert(target, div, anchor);
|
|
10680
|
-
append(div, t);
|
|
10681
|
-
},
|
|
10682
|
-
p(ctx, dirty) {
|
|
10683
|
-
if (dirty & /*value*/ 2 && t_value !== (t_value = /*value*/ ctx[1].length + "")) set_data(t, t_value);
|
|
10684
|
-
},
|
|
10685
|
-
d(detaching) {
|
|
10686
|
-
if (detaching) detach(div);
|
|
10687
|
-
}
|
|
10688
|
-
};
|
|
10689
|
-
}
|
|
10690
|
-
|
|
10691
|
-
// (57:4) {#if maxcharcount > 0}
|
|
10692
|
-
function create_if_block_1$1(ctx) {
|
|
10693
|
-
let div;
|
|
10694
|
-
let t0_value = /*value*/ ctx[1].length + "";
|
|
10695
|
-
let t0;
|
|
10696
|
-
let t1_value = `/${/*maxcharcount*/ ctx[7]}` + "";
|
|
10697
|
-
let t1;
|
|
10698
|
-
|
|
10699
|
-
return {
|
|
10700
|
-
c() {
|
|
10701
|
-
div = element("div");
|
|
10702
|
-
t0 = text(t0_value);
|
|
10703
|
-
t1 = text(t1_value);
|
|
10704
|
-
attr(div, "class", "counter");
|
|
10705
|
-
toggle_class(div, "counter-error", /*value*/ ctx[1].length > /*maxcharcount*/ ctx[7]);
|
|
10706
|
-
},
|
|
10707
|
-
m(target, anchor) {
|
|
10708
|
-
insert(target, div, anchor);
|
|
10709
|
-
append(div, t0);
|
|
10710
|
-
append(div, t1);
|
|
10711
|
-
},
|
|
10712
|
-
p(ctx, dirty) {
|
|
10713
|
-
if (dirty & /*value*/ 2 && t0_value !== (t0_value = /*value*/ ctx[1].length + "")) set_data(t0, t0_value);
|
|
10714
|
-
if (dirty & /*maxcharcount*/ 128 && t1_value !== (t1_value = `/${/*maxcharcount*/ ctx[7]}` + "")) set_data(t1, t1_value);
|
|
10715
|
-
|
|
10716
|
-
if (dirty & /*value, maxcharcount*/ 130) {
|
|
10717
|
-
toggle_class(div, "counter-error", /*value*/ ctx[1].length > /*maxcharcount*/ ctx[7]);
|
|
10718
|
-
}
|
|
10719
|
-
},
|
|
10720
|
-
d(detaching) {
|
|
10721
|
-
if (detaching) detach(div);
|
|
10722
|
-
}
|
|
10723
|
-
};
|
|
10724
|
-
}
|
|
10725
|
-
|
|
10726
10579
|
function create_fragment$5(ctx) {
|
|
10727
10580
|
let div;
|
|
10728
10581
|
let textarea;
|
|
@@ -10731,14 +10584,12 @@ function create_fragment$5(ctx) {
|
|
|
10731
10584
|
let div_style_value;
|
|
10732
10585
|
let mounted;
|
|
10733
10586
|
let dispose;
|
|
10734
|
-
let if_block = /*showCounter*/ ctx[9] && create_if_block$1(ctx);
|
|
10735
10587
|
|
|
10736
10588
|
return {
|
|
10737
10589
|
c() {
|
|
10738
10590
|
div = element("div");
|
|
10739
10591
|
textarea = element("textarea");
|
|
10740
10592
|
t = space();
|
|
10741
|
-
if (if_block) if_block.c();
|
|
10742
10593
|
this.c = noop;
|
|
10743
10594
|
attr(textarea, "name", /*name*/ ctx[0]);
|
|
10744
10595
|
attr(textarea, "placeholder", /*placeholder*/ ctx[2]);
|
|
@@ -10747,9 +10598,9 @@ function create_fragment$5(ctx) {
|
|
|
10747
10598
|
attr(textarea, "aria-label", textarea_aria_label_value = /*arialabel*/ ctx[6] || /*name*/ ctx[0]);
|
|
10748
10599
|
attr(textarea, "class", "goa-textarea");
|
|
10749
10600
|
textarea.disabled = /*isDisabled*/ ctx[8];
|
|
10750
|
-
textarea.readOnly = /*isReadonly*/ ctx[
|
|
10601
|
+
textarea.readOnly = /*isReadonly*/ ctx[9];
|
|
10751
10602
|
attr(textarea, "data-testid", /*testid*/ ctx[4]);
|
|
10752
|
-
toggle_class(textarea, "error", /*isError*/ ctx[
|
|
10603
|
+
toggle_class(textarea, "error", /*isError*/ ctx[10]);
|
|
10753
10604
|
attr(div, "class", "container");
|
|
10754
10605
|
|
|
10755
10606
|
attr(div, "style", div_style_value = `
|
|
@@ -10760,10 +10611,9 @@ function create_fragment$5(ctx) {
|
|
|
10760
10611
|
insert(target, div, anchor);
|
|
10761
10612
|
append(div, textarea);
|
|
10762
10613
|
append(div, t);
|
|
10763
|
-
if (if_block) if_block.m(div, null);
|
|
10764
10614
|
|
|
10765
10615
|
if (!mounted) {
|
|
10766
|
-
dispose = listen(textarea, "keyup", /*onChange*/ ctx[
|
|
10616
|
+
dispose = listen(textarea, "keyup", /*onChange*/ ctx[11]);
|
|
10767
10617
|
mounted = true;
|
|
10768
10618
|
}
|
|
10769
10619
|
},
|
|
@@ -10792,29 +10642,16 @@ function create_fragment$5(ctx) {
|
|
|
10792
10642
|
textarea.disabled = /*isDisabled*/ ctx[8];
|
|
10793
10643
|
}
|
|
10794
10644
|
|
|
10795
|
-
if (dirty & /*isReadonly*/
|
|
10796
|
-
textarea.readOnly = /*isReadonly*/ ctx[
|
|
10645
|
+
if (dirty & /*isReadonly*/ 512) {
|
|
10646
|
+
textarea.readOnly = /*isReadonly*/ ctx[9];
|
|
10797
10647
|
}
|
|
10798
10648
|
|
|
10799
10649
|
if (dirty & /*testid*/ 16) {
|
|
10800
10650
|
attr(textarea, "data-testid", /*testid*/ ctx[4]);
|
|
10801
10651
|
}
|
|
10802
10652
|
|
|
10803
|
-
if (dirty & /*isError*/
|
|
10804
|
-
toggle_class(textarea, "error", /*isError*/ ctx[
|
|
10805
|
-
}
|
|
10806
|
-
|
|
10807
|
-
if (/*showCounter*/ ctx[9]) {
|
|
10808
|
-
if (if_block) {
|
|
10809
|
-
if_block.p(ctx, dirty);
|
|
10810
|
-
} else {
|
|
10811
|
-
if_block = create_if_block$1(ctx);
|
|
10812
|
-
if_block.c();
|
|
10813
|
-
if_block.m(div, null);
|
|
10814
|
-
}
|
|
10815
|
-
} else if (if_block) {
|
|
10816
|
-
if_block.d(1);
|
|
10817
|
-
if_block = null;
|
|
10653
|
+
if (dirty & /*isError*/ 1024) {
|
|
10654
|
+
toggle_class(textarea, "error", /*isError*/ ctx[10]);
|
|
10818
10655
|
}
|
|
10819
10656
|
|
|
10820
10657
|
if (dirty & /*width*/ 32 && div_style_value !== (div_style_value = `
|
|
@@ -10827,7 +10664,6 @@ function create_fragment$5(ctx) {
|
|
|
10827
10664
|
o: noop,
|
|
10828
10665
|
d(detaching) {
|
|
10829
10666
|
if (detaching) detach(div);
|
|
10830
|
-
if (if_block) if_block.d();
|
|
10831
10667
|
mounted = false;
|
|
10832
10668
|
dispose();
|
|
10833
10669
|
}
|
|
@@ -10838,7 +10674,6 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10838
10674
|
let isError;
|
|
10839
10675
|
let isDisabled;
|
|
10840
10676
|
let isReadonly;
|
|
10841
|
-
let showCounter;
|
|
10842
10677
|
let { name } = $$props;
|
|
10843
10678
|
let { value = "" } = $$props;
|
|
10844
10679
|
let { placeholder = "" } = $$props;
|
|
@@ -10849,9 +10684,9 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10849
10684
|
let { readonly = "false" } = $$props;
|
|
10850
10685
|
let { disabled = "false" } = $$props;
|
|
10851
10686
|
let { arialabel = "" } = $$props;
|
|
10852
|
-
let { showcounter = "false" } = $$props;
|
|
10853
10687
|
let { maxcharcount = 0 } = $$props;
|
|
10854
10688
|
|
|
10689
|
+
// $: showCounter = toBoolean(showcounter);
|
|
10855
10690
|
function onChange(e) {
|
|
10856
10691
|
const target = e.target;
|
|
10857
10692
|
const value = target.value;
|
|
@@ -10875,29 +10710,24 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10875
10710
|
if ('rows' in $$props) $$invalidate(3, rows = $$props.rows);
|
|
10876
10711
|
if ('testid' in $$props) $$invalidate(4, testid = $$props.testid);
|
|
10877
10712
|
if ('width' in $$props) $$invalidate(5, width = $$props.width);
|
|
10878
|
-
if ('error' in $$props) $$invalidate(
|
|
10879
|
-
if ('readonly' in $$props) $$invalidate(
|
|
10880
|
-
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);
|
|
10881
10716
|
if ('arialabel' in $$props) $$invalidate(6, arialabel = $$props.arialabel);
|
|
10882
|
-
if ('showcounter' in $$props) $$invalidate(16, showcounter = $$props.showcounter);
|
|
10883
10717
|
if ('maxcharcount' in $$props) $$invalidate(7, maxcharcount = $$props.maxcharcount);
|
|
10884
10718
|
};
|
|
10885
10719
|
|
|
10886
10720
|
$$self.$$.update = () => {
|
|
10887
|
-
if ($$self.$$.dirty & /*error*/
|
|
10888
|
-
$$invalidate(
|
|
10721
|
+
if ($$self.$$.dirty & /*error*/ 4096) {
|
|
10722
|
+
$$invalidate(10, isError = toBoolean(error));
|
|
10889
10723
|
}
|
|
10890
10724
|
|
|
10891
|
-
if ($$self.$$.dirty & /*disabled*/
|
|
10725
|
+
if ($$self.$$.dirty & /*disabled*/ 16384) {
|
|
10892
10726
|
$$invalidate(8, isDisabled = toBoolean(disabled));
|
|
10893
10727
|
}
|
|
10894
10728
|
|
|
10895
|
-
if ($$self.$$.dirty & /*readonly*/
|
|
10896
|
-
$$invalidate(
|
|
10897
|
-
}
|
|
10898
|
-
|
|
10899
|
-
if ($$self.$$.dirty & /*showcounter*/ 65536) {
|
|
10900
|
-
$$invalidate(9, showCounter = toBoolean(showcounter));
|
|
10729
|
+
if ($$self.$$.dirty & /*readonly*/ 8192) {
|
|
10730
|
+
$$invalidate(9, isReadonly = toBoolean(readonly));
|
|
10901
10731
|
}
|
|
10902
10732
|
};
|
|
10903
10733
|
|
|
@@ -10911,14 +10741,12 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
10911
10741
|
arialabel,
|
|
10912
10742
|
maxcharcount,
|
|
10913
10743
|
isDisabled,
|
|
10914
|
-
showCounter,
|
|
10915
10744
|
isReadonly,
|
|
10916
10745
|
isError,
|
|
10917
10746
|
onChange,
|
|
10918
10747
|
error,
|
|
10919
10748
|
readonly,
|
|
10920
|
-
disabled
|
|
10921
|
-
showcounter
|
|
10749
|
+
disabled
|
|
10922
10750
|
];
|
|
10923
10751
|
}
|
|
10924
10752
|
|
|
@@ -10946,11 +10774,10 @@ class TextArea extends SvelteElement {
|
|
|
10946
10774
|
rows: 3,
|
|
10947
10775
|
testid: 4,
|
|
10948
10776
|
width: 5,
|
|
10949
|
-
error:
|
|
10950
|
-
readonly:
|
|
10951
|
-
disabled:
|
|
10777
|
+
error: 12,
|
|
10778
|
+
readonly: 13,
|
|
10779
|
+
disabled: 14,
|
|
10952
10780
|
arialabel: 6,
|
|
10953
|
-
showcounter: 16,
|
|
10954
10781
|
maxcharcount: 7
|
|
10955
10782
|
},
|
|
10956
10783
|
null
|
|
@@ -10980,7 +10807,6 @@ class TextArea extends SvelteElement {
|
|
|
10980
10807
|
"readonly",
|
|
10981
10808
|
"disabled",
|
|
10982
10809
|
"arialabel",
|
|
10983
|
-
"showcounter",
|
|
10984
10810
|
"maxcharcount"
|
|
10985
10811
|
];
|
|
10986
10812
|
}
|
|
@@ -11040,7 +10866,7 @@ class TextArea extends SvelteElement {
|
|
|
11040
10866
|
}
|
|
11041
10867
|
|
|
11042
10868
|
get error() {
|
|
11043
|
-
return this.$$.ctx[
|
|
10869
|
+
return this.$$.ctx[12];
|
|
11044
10870
|
}
|
|
11045
10871
|
|
|
11046
10872
|
set error(error) {
|
|
@@ -11049,7 +10875,7 @@ class TextArea extends SvelteElement {
|
|
|
11049
10875
|
}
|
|
11050
10876
|
|
|
11051
10877
|
get readonly() {
|
|
11052
|
-
return this.$$.ctx[
|
|
10878
|
+
return this.$$.ctx[13];
|
|
11053
10879
|
}
|
|
11054
10880
|
|
|
11055
10881
|
set readonly(readonly) {
|
|
@@ -11058,7 +10884,7 @@ class TextArea extends SvelteElement {
|
|
|
11058
10884
|
}
|
|
11059
10885
|
|
|
11060
10886
|
get disabled() {
|
|
11061
|
-
return this.$$.ctx[
|
|
10887
|
+
return this.$$.ctx[14];
|
|
11062
10888
|
}
|
|
11063
10889
|
|
|
11064
10890
|
set disabled(disabled) {
|
|
@@ -11075,15 +10901,6 @@ class TextArea extends SvelteElement {
|
|
|
11075
10901
|
flush();
|
|
11076
10902
|
}
|
|
11077
10903
|
|
|
11078
|
-
get showcounter() {
|
|
11079
|
-
return this.$$.ctx[16];
|
|
11080
|
-
}
|
|
11081
|
-
|
|
11082
|
-
set showcounter(showcounter) {
|
|
11083
|
-
this.$$set({ showcounter });
|
|
11084
|
-
flush();
|
|
11085
|
-
}
|
|
11086
|
-
|
|
11087
10904
|
get maxcharcount() {
|
|
11088
10905
|
return this.$$.ctx[7];
|
|
11089
10906
|
}
|
|
@@ -11620,7 +11437,7 @@ function instance($$self, $$props, $$invalidate) {
|
|
|
11620
11437
|
|
|
11621
11438
|
onMount(() => {
|
|
11622
11439
|
if (!isSpacing(spacing)) {
|
|
11623
|
-
|
|
11440
|
+
console.error("Invalid spacing");
|
|
11624
11441
|
}
|
|
11625
11442
|
});
|
|
11626
11443
|
|