@abgov/react-components 4.0.0-alpha.121 → 4.0.0-alpha.122
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -0
- package/lib/popover/popover.d.ts +20 -0
- package/package.json +1 -1
- package/react-components.esm.js +557 -185
- package/react-components.umd.js +557 -184
package/react-components.esm.js
CHANGED
|
@@ -1152,7 +1152,7 @@ function typeValidator(message, values, required = false) {
|
|
|
1152
1152
|
/* libs/web-components/src/components/accordion/Accordion.svelte generated by Svelte v3.51.0 */
|
|
1153
1153
|
|
|
1154
1154
|
|
|
1155
|
-
function create_fragment$
|
|
1155
|
+
function create_fragment$N(ctx) {
|
|
1156
1156
|
let div3;
|
|
1157
1157
|
let details;
|
|
1158
1158
|
let summary;
|
|
@@ -1355,7 +1355,7 @@ function create_fragment$M(ctx) {
|
|
|
1355
1355
|
};
|
|
1356
1356
|
}
|
|
1357
1357
|
|
|
1358
|
-
function instance$
|
|
1358
|
+
function instance$H($$self, $$props, $$invalidate) {
|
|
1359
1359
|
let isOpen;
|
|
1360
1360
|
const [HeadingSizes, validateHeadingSize] = typeValidator("Accordion heading size", ["small", "medium"]);
|
|
1361
1361
|
let {
|
|
@@ -1433,7 +1433,7 @@ class Accordion extends SvelteElement {
|
|
|
1433
1433
|
target: this.shadowRoot,
|
|
1434
1434
|
props: attribute_to_object(this.attributes),
|
|
1435
1435
|
customElement: true
|
|
1436
|
-
}, instance$
|
|
1436
|
+
}, instance$H, create_fragment$N, safe_not_equal, {
|
|
1437
1437
|
open: 10,
|
|
1438
1438
|
heading: 0,
|
|
1439
1439
|
secondarytext: 1,
|
|
@@ -1622,7 +1622,7 @@ function create_else_block$8(ctx) {
|
|
|
1622
1622
|
} // (19:4) {#if url}
|
|
1623
1623
|
|
|
1624
1624
|
|
|
1625
|
-
function create_if_block$
|
|
1625
|
+
function create_if_block$m(ctx) {
|
|
1626
1626
|
let a;
|
|
1627
1627
|
let img0;
|
|
1628
1628
|
let img0_src_value;
|
|
@@ -1689,7 +1689,7 @@ function create_if_block$l(ctx) {
|
|
|
1689
1689
|
};
|
|
1690
1690
|
}
|
|
1691
1691
|
|
|
1692
|
-
function create_fragment$
|
|
1692
|
+
function create_fragment$M(ctx) {
|
|
1693
1693
|
let div2;
|
|
1694
1694
|
let div1;
|
|
1695
1695
|
let t;
|
|
@@ -1699,7 +1699,7 @@ function create_fragment$L(ctx) {
|
|
|
1699
1699
|
function select_block_type(ctx, dirty) {
|
|
1700
1700
|
if (
|
|
1701
1701
|
/*url*/
|
|
1702
|
-
ctx[1]) return create_if_block$
|
|
1702
|
+
ctx[1]) return create_if_block$m;
|
|
1703
1703
|
return create_else_block$8;
|
|
1704
1704
|
}
|
|
1705
1705
|
|
|
@@ -1773,7 +1773,7 @@ function create_fragment$L(ctx) {
|
|
|
1773
1773
|
};
|
|
1774
1774
|
}
|
|
1775
1775
|
|
|
1776
|
-
function instance$
|
|
1776
|
+
function instance$G($$self, $$props, $$invalidate) {
|
|
1777
1777
|
let {
|
|
1778
1778
|
heading = ""
|
|
1779
1779
|
} = $$props;
|
|
@@ -1805,7 +1805,7 @@ class AppHeader extends SvelteElement {
|
|
|
1805
1805
|
target: this.shadowRoot,
|
|
1806
1806
|
props: attribute_to_object(this.attributes),
|
|
1807
1807
|
customElement: true
|
|
1808
|
-
}, instance$
|
|
1808
|
+
}, instance$G, create_fragment$M, safe_not_equal, {
|
|
1809
1809
|
heading: 0,
|
|
1810
1810
|
url: 1,
|
|
1811
1811
|
testid: 2,
|
|
@@ -1933,7 +1933,7 @@ function create_if_block_1$c(ctx) {
|
|
|
1933
1933
|
} // (50:2) {#if content}
|
|
1934
1934
|
|
|
1935
1935
|
|
|
1936
|
-
function create_if_block$
|
|
1936
|
+
function create_if_block$l(ctx) {
|
|
1937
1937
|
let div;
|
|
1938
1938
|
let t;
|
|
1939
1939
|
return {
|
|
@@ -1965,7 +1965,7 @@ function create_if_block$k(ctx) {
|
|
|
1965
1965
|
};
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
|
-
function create_fragment$
|
|
1968
|
+
function create_fragment$L(ctx) {
|
|
1969
1969
|
let div;
|
|
1970
1970
|
let t;
|
|
1971
1971
|
let div_style_value;
|
|
@@ -1982,7 +1982,7 @@ function create_fragment$K(ctx) {
|
|
|
1982
1982
|
let if_block0 = current_block_type(ctx);
|
|
1983
1983
|
let if_block1 =
|
|
1984
1984
|
/*content*/
|
|
1985
|
-
ctx[2] && create_if_block$
|
|
1985
|
+
ctx[2] && create_if_block$l(ctx);
|
|
1986
1986
|
return {
|
|
1987
1987
|
c() {
|
|
1988
1988
|
div = element("div");
|
|
@@ -2039,7 +2039,7 @@ function create_fragment$K(ctx) {
|
|
|
2039
2039
|
if (if_block1) {
|
|
2040
2040
|
if_block1.p(ctx, dirty);
|
|
2041
2041
|
} else {
|
|
2042
|
-
if_block1 = create_if_block$
|
|
2042
|
+
if_block1 = create_if_block$l(ctx);
|
|
2043
2043
|
if_block1.c();
|
|
2044
2044
|
if_block1.m(div, null);
|
|
2045
2045
|
}
|
|
@@ -2101,7 +2101,7 @@ function create_fragment$K(ctx) {
|
|
|
2101
2101
|
};
|
|
2102
2102
|
}
|
|
2103
2103
|
|
|
2104
|
-
function instance$
|
|
2104
|
+
function instance$F($$self, $$props, $$invalidate) {
|
|
2105
2105
|
let showIcon;
|
|
2106
2106
|
let iconType;
|
|
2107
2107
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -2181,7 +2181,7 @@ class Badge extends SvelteElement {
|
|
|
2181
2181
|
target: this.shadowRoot,
|
|
2182
2182
|
props: attribute_to_object(this.attributes),
|
|
2183
2183
|
customElement: true
|
|
2184
|
-
}, instance$
|
|
2184
|
+
}, instance$F, create_fragment$L, safe_not_equal, {
|
|
2185
2185
|
type: 0,
|
|
2186
2186
|
testid: 1,
|
|
2187
2187
|
content: 2,
|
|
@@ -2301,7 +2301,7 @@ class Badge extends SvelteElement {
|
|
|
2301
2301
|
customElements.define("goa-badge", Badge);
|
|
2302
2302
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
2303
2303
|
|
|
2304
|
-
function create_fragment$
|
|
2304
|
+
function create_fragment$K(ctx) {
|
|
2305
2305
|
let div;
|
|
2306
2306
|
let slot;
|
|
2307
2307
|
let div_style_value;
|
|
@@ -2375,7 +2375,7 @@ function create_fragment$J(ctx) {
|
|
|
2375
2375
|
};
|
|
2376
2376
|
}
|
|
2377
2377
|
|
|
2378
|
-
function instance$
|
|
2378
|
+
function instance$E($$self, $$props, $$invalidate) {
|
|
2379
2379
|
let {
|
|
2380
2380
|
gap = "m"
|
|
2381
2381
|
} = $$props;
|
|
@@ -2419,7 +2419,7 @@ class Block extends SvelteElement {
|
|
|
2419
2419
|
target: this.shadowRoot,
|
|
2420
2420
|
props: attribute_to_object(this.attributes),
|
|
2421
2421
|
customElement: true
|
|
2422
|
-
}, instance$
|
|
2422
|
+
}, instance$E, create_fragment$K, safe_not_equal, {
|
|
2423
2423
|
gap: 0,
|
|
2424
2424
|
direction: 1,
|
|
2425
2425
|
alignment: 2,
|
|
@@ -2604,7 +2604,7 @@ function create_else_block$6(ctx) {
|
|
|
2604
2604
|
} // (46:2) {#if type === "start"}
|
|
2605
2605
|
|
|
2606
2606
|
|
|
2607
|
-
function create_if_block$
|
|
2607
|
+
function create_if_block$k(ctx) {
|
|
2608
2608
|
let span;
|
|
2609
2609
|
let t;
|
|
2610
2610
|
let goa_icon;
|
|
@@ -2725,7 +2725,7 @@ function create_if_block_1$b(ctx) {
|
|
|
2725
2725
|
};
|
|
2726
2726
|
}
|
|
2727
2727
|
|
|
2728
|
-
function create_fragment$
|
|
2728
|
+
function create_fragment$J(ctx) {
|
|
2729
2729
|
let button;
|
|
2730
2730
|
let button_class_value;
|
|
2731
2731
|
let button_style_value;
|
|
@@ -2735,7 +2735,7 @@ function create_fragment$I(ctx) {
|
|
|
2735
2735
|
function select_block_type(ctx, dirty) {
|
|
2736
2736
|
if (
|
|
2737
2737
|
/*type*/
|
|
2738
|
-
ctx[0] === "start") return create_if_block$
|
|
2738
|
+
ctx[0] === "start") return create_if_block$k;
|
|
2739
2739
|
return create_else_block$6;
|
|
2740
2740
|
}
|
|
2741
2741
|
|
|
@@ -2879,7 +2879,7 @@ function create_fragment$I(ctx) {
|
|
|
2879
2879
|
};
|
|
2880
2880
|
}
|
|
2881
2881
|
|
|
2882
|
-
function instance$
|
|
2882
|
+
function instance$D($$self, $$props, $$invalidate) {
|
|
2883
2883
|
let isDisabled;
|
|
2884
2884
|
let isButtonDark;
|
|
2885
2885
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2974,7 +2974,7 @@ class Button extends SvelteElement {
|
|
|
2974
2974
|
target: this.shadowRoot,
|
|
2975
2975
|
props: attribute_to_object(this.attributes),
|
|
2976
2976
|
customElement: true
|
|
2977
|
-
}, instance$
|
|
2977
|
+
}, instance$D, create_fragment$J, safe_not_equal, {
|
|
2978
2978
|
type: 0,
|
|
2979
2979
|
size: 1,
|
|
2980
2980
|
variant: 2,
|
|
@@ -3130,7 +3130,7 @@ class Button extends SvelteElement {
|
|
|
3130
3130
|
customElements.define("goa-button", Button);
|
|
3131
3131
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
3132
3132
|
|
|
3133
|
-
function create_fragment$
|
|
3133
|
+
function create_fragment$I(ctx) {
|
|
3134
3134
|
let div;
|
|
3135
3135
|
let slot;
|
|
3136
3136
|
let div_style_value;
|
|
@@ -3200,7 +3200,7 @@ function create_fragment$H(ctx) {
|
|
|
3200
3200
|
};
|
|
3201
3201
|
}
|
|
3202
3202
|
|
|
3203
|
-
function instance$
|
|
3203
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
3204
3204
|
let _alignment;
|
|
3205
3205
|
|
|
3206
3206
|
let {
|
|
@@ -3264,7 +3264,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3264
3264
|
target: this.shadowRoot,
|
|
3265
3265
|
props: attribute_to_object(this.attributes),
|
|
3266
3266
|
customElement: true
|
|
3267
|
-
}, instance$
|
|
3267
|
+
}, instance$C, create_fragment$I, safe_not_equal, {
|
|
3268
3268
|
alignment: 7,
|
|
3269
3269
|
gap: 0,
|
|
3270
3270
|
testid: 1,
|
|
@@ -3372,7 +3372,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3372
3372
|
customElements.define("goa-button-group", ButtonGroup);
|
|
3373
3373
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
3374
3374
|
|
|
3375
|
-
function create_if_block$
|
|
3375
|
+
function create_if_block$j(ctx) {
|
|
3376
3376
|
let h3;
|
|
3377
3377
|
let t;
|
|
3378
3378
|
return {
|
|
@@ -3403,7 +3403,7 @@ function create_if_block$i(ctx) {
|
|
|
3403
3403
|
};
|
|
3404
3404
|
}
|
|
3405
3405
|
|
|
3406
|
-
function create_fragment$
|
|
3406
|
+
function create_fragment$H(ctx) {
|
|
3407
3407
|
let div;
|
|
3408
3408
|
let span0;
|
|
3409
3409
|
let goa_icon;
|
|
@@ -3416,7 +3416,7 @@ function create_fragment$G(ctx) {
|
|
|
3416
3416
|
let div_style_value;
|
|
3417
3417
|
let if_block =
|
|
3418
3418
|
/*heading*/
|
|
3419
|
-
ctx[5] && create_if_block$
|
|
3419
|
+
ctx[5] && create_if_block$j(ctx);
|
|
3420
3420
|
return {
|
|
3421
3421
|
c() {
|
|
3422
3422
|
div = element("div");
|
|
@@ -3495,7 +3495,7 @@ function create_fragment$G(ctx) {
|
|
|
3495
3495
|
if (if_block) {
|
|
3496
3496
|
if_block.p(ctx, dirty);
|
|
3497
3497
|
} else {
|
|
3498
|
-
if_block = create_if_block$
|
|
3498
|
+
if_block = create_if_block$j(ctx);
|
|
3499
3499
|
if_block.c();
|
|
3500
3500
|
if_block.m(span1, t1);
|
|
3501
3501
|
}
|
|
@@ -3538,7 +3538,7 @@ function create_fragment$G(ctx) {
|
|
|
3538
3538
|
};
|
|
3539
3539
|
}
|
|
3540
3540
|
|
|
3541
|
-
function instance$
|
|
3541
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
3542
3542
|
let iconType;
|
|
3543
3543
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3544
3544
|
let {
|
|
@@ -3595,7 +3595,7 @@ class Callout extends SvelteElement {
|
|
|
3595
3595
|
target: this.shadowRoot,
|
|
3596
3596
|
props: attribute_to_object(this.attributes),
|
|
3597
3597
|
customElement: true
|
|
3598
|
-
}, instance$
|
|
3598
|
+
}, instance$B, create_fragment$H, safe_not_equal, {
|
|
3599
3599
|
mt: 0,
|
|
3600
3600
|
mr: 1,
|
|
3601
3601
|
mb: 2,
|
|
@@ -3703,7 +3703,7 @@ class Callout extends SvelteElement {
|
|
|
3703
3703
|
customElements.define("goa-callout", Callout);
|
|
3704
3704
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3705
3705
|
|
|
3706
|
-
function create_fragment$
|
|
3706
|
+
function create_fragment$G(ctx) {
|
|
3707
3707
|
let goa_card_content;
|
|
3708
3708
|
return {
|
|
3709
3709
|
c() {
|
|
@@ -3734,7 +3734,7 @@ class CardActions extends SvelteElement {
|
|
|
3734
3734
|
target: this.shadowRoot,
|
|
3735
3735
|
props: attribute_to_object(this.attributes),
|
|
3736
3736
|
customElement: true
|
|
3737
|
-
}, null, create_fragment$
|
|
3737
|
+
}, null, create_fragment$G, safe_not_equal, {}, null);
|
|
3738
3738
|
|
|
3739
3739
|
if (options) {
|
|
3740
3740
|
if (options.target) {
|
|
@@ -3748,7 +3748,7 @@ class CardActions extends SvelteElement {
|
|
|
3748
3748
|
customElements.define("goa-card-actions", CardActions);
|
|
3749
3749
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3750
3750
|
|
|
3751
|
-
function create_fragment$
|
|
3751
|
+
function create_fragment$F(ctx) {
|
|
3752
3752
|
let div;
|
|
3753
3753
|
let slot;
|
|
3754
3754
|
let div_style_value;
|
|
@@ -3827,7 +3827,7 @@ function create_fragment$E(ctx) {
|
|
|
3827
3827
|
};
|
|
3828
3828
|
}
|
|
3829
3829
|
|
|
3830
|
-
function instance$
|
|
3830
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
3831
3831
|
let {
|
|
3832
3832
|
elevation = 0
|
|
3833
3833
|
} = $$props;
|
|
@@ -3875,7 +3875,7 @@ class Card extends SvelteElement {
|
|
|
3875
3875
|
target: this.shadowRoot,
|
|
3876
3876
|
props: attribute_to_object(this.attributes),
|
|
3877
3877
|
customElement: true
|
|
3878
|
-
}, instance$
|
|
3878
|
+
}, instance$A, create_fragment$F, safe_not_equal, {
|
|
3879
3879
|
elevation: 0,
|
|
3880
3880
|
width: 1,
|
|
3881
3881
|
height: 2,
|
|
@@ -3995,7 +3995,7 @@ class Card extends SvelteElement {
|
|
|
3995
3995
|
customElements.define("goa-card", Card);
|
|
3996
3996
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3997
3997
|
|
|
3998
|
-
function create_fragment$
|
|
3998
|
+
function create_fragment$E(ctx) {
|
|
3999
3999
|
let div;
|
|
4000
4000
|
return {
|
|
4001
4001
|
c() {
|
|
@@ -4028,7 +4028,7 @@ class CardContent extends SvelteElement {
|
|
|
4028
4028
|
target: this.shadowRoot,
|
|
4029
4029
|
props: attribute_to_object(this.attributes),
|
|
4030
4030
|
customElement: true
|
|
4031
|
-
}, null, create_fragment$
|
|
4031
|
+
}, null, create_fragment$E, safe_not_equal, {}, null);
|
|
4032
4032
|
|
|
4033
4033
|
if (options) {
|
|
4034
4034
|
if (options.target) {
|
|
@@ -4042,7 +4042,7 @@ class CardContent extends SvelteElement {
|
|
|
4042
4042
|
customElements.define("goa-card-content", CardContent);
|
|
4043
4043
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
4044
4044
|
|
|
4045
|
-
function create_fragment$
|
|
4045
|
+
function create_fragment$D(ctx) {
|
|
4046
4046
|
let div;
|
|
4047
4047
|
return {
|
|
4048
4048
|
c() {
|
|
@@ -4075,7 +4075,7 @@ class CardGroup extends SvelteElement {
|
|
|
4075
4075
|
target: this.shadowRoot,
|
|
4076
4076
|
props: attribute_to_object(this.attributes),
|
|
4077
4077
|
customElement: true
|
|
4078
|
-
}, null, create_fragment$
|
|
4078
|
+
}, null, create_fragment$D, safe_not_equal, {}, null);
|
|
4079
4079
|
|
|
4080
4080
|
if (options) {
|
|
4081
4081
|
if (options.target) {
|
|
@@ -4089,7 +4089,7 @@ class CardGroup extends SvelteElement {
|
|
|
4089
4089
|
customElements.define("goa-card-group", CardGroup);
|
|
4090
4090
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
4091
4091
|
|
|
4092
|
-
function create_fragment$
|
|
4092
|
+
function create_fragment$C(ctx) {
|
|
4093
4093
|
let div;
|
|
4094
4094
|
return {
|
|
4095
4095
|
c() {
|
|
@@ -4137,7 +4137,7 @@ function create_fragment$B(ctx) {
|
|
|
4137
4137
|
};
|
|
4138
4138
|
}
|
|
4139
4139
|
|
|
4140
|
-
function instance$
|
|
4140
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
4141
4141
|
let {
|
|
4142
4142
|
src
|
|
4143
4143
|
} = $$props;
|
|
@@ -4161,7 +4161,7 @@ class CardImage extends SvelteElement {
|
|
|
4161
4161
|
target: this.shadowRoot,
|
|
4162
4162
|
props: attribute_to_object(this.attributes),
|
|
4163
4163
|
customElement: true
|
|
4164
|
-
}, instance$
|
|
4164
|
+
}, instance$z, create_fragment$C, safe_not_equal, {
|
|
4165
4165
|
src: 0,
|
|
4166
4166
|
height: 1
|
|
4167
4167
|
}, null);
|
|
@@ -4236,7 +4236,7 @@ function create_if_block_1$a(ctx) {
|
|
|
4236
4236
|
} // (68:4) {#if isIndeterminate}
|
|
4237
4237
|
|
|
4238
4238
|
|
|
4239
|
-
function create_if_block$
|
|
4239
|
+
function create_if_block$i(ctx) {
|
|
4240
4240
|
let svg;
|
|
4241
4241
|
let rect;
|
|
4242
4242
|
return {
|
|
@@ -4263,7 +4263,7 @@ function create_if_block$h(ctx) {
|
|
|
4263
4263
|
};
|
|
4264
4264
|
}
|
|
4265
4265
|
|
|
4266
|
-
function create_fragment$
|
|
4266
|
+
function create_fragment$B(ctx) {
|
|
4267
4267
|
let label;
|
|
4268
4268
|
let div0;
|
|
4269
4269
|
let input;
|
|
@@ -4281,7 +4281,7 @@ function create_fragment$A(ctx) {
|
|
|
4281
4281
|
function select_block_type(ctx, dirty) {
|
|
4282
4282
|
if (
|
|
4283
4283
|
/*isIndeterminate*/
|
|
4284
|
-
ctx[10]) return create_if_block$
|
|
4284
|
+
ctx[10]) return create_if_block$i;
|
|
4285
4285
|
if (
|
|
4286
4286
|
/*isChecked*/
|
|
4287
4287
|
ctx[9]) return create_if_block_1$a;
|
|
@@ -4512,7 +4512,7 @@ function create_fragment$A(ctx) {
|
|
|
4512
4512
|
};
|
|
4513
4513
|
}
|
|
4514
4514
|
|
|
4515
|
-
function instance$
|
|
4515
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
4516
4516
|
let isDisabled;
|
|
4517
4517
|
let isError;
|
|
4518
4518
|
let isChecked;
|
|
@@ -4627,7 +4627,7 @@ class Checkbox extends SvelteElement {
|
|
|
4627
4627
|
target: this.shadowRoot,
|
|
4628
4628
|
props: attribute_to_object(this.attributes),
|
|
4629
4629
|
customElement: true
|
|
4630
|
-
}, instance$
|
|
4630
|
+
}, instance$y, create_fragment$B, safe_not_equal, {
|
|
4631
4631
|
name: 0,
|
|
4632
4632
|
checked: 14,
|
|
4633
4633
|
text: 1,
|
|
@@ -4829,7 +4829,7 @@ function create_if_block_1$9(ctx) {
|
|
|
4829
4829
|
} // (54:2) {#if _deletable}
|
|
4830
4830
|
|
|
4831
4831
|
|
|
4832
|
-
function create_if_block$
|
|
4832
|
+
function create_if_block$h(ctx) {
|
|
4833
4833
|
let goa_icon;
|
|
4834
4834
|
let goa_icon_fillcolor_value;
|
|
4835
4835
|
let goa_icon_opacity_value;
|
|
@@ -4885,7 +4885,7 @@ function create_if_block$g(ctx) {
|
|
|
4885
4885
|
};
|
|
4886
4886
|
}
|
|
4887
4887
|
|
|
4888
|
-
function create_fragment$
|
|
4888
|
+
function create_fragment$A(ctx) {
|
|
4889
4889
|
let div1;
|
|
4890
4890
|
let t0;
|
|
4891
4891
|
let div0;
|
|
@@ -4899,7 +4899,7 @@ function create_fragment$z(ctx) {
|
|
|
4899
4899
|
ctx[4] && create_if_block_1$9(ctx);
|
|
4900
4900
|
let if_block1 =
|
|
4901
4901
|
/*_deletable*/
|
|
4902
|
-
ctx[11] && create_if_block$
|
|
4902
|
+
ctx[11] && create_if_block$h(ctx);
|
|
4903
4903
|
return {
|
|
4904
4904
|
c() {
|
|
4905
4905
|
div1 = element("div");
|
|
@@ -4994,7 +4994,7 @@ function create_fragment$z(ctx) {
|
|
|
4994
4994
|
if (if_block1) {
|
|
4995
4995
|
if_block1.p(ctx, dirty);
|
|
4996
4996
|
} else {
|
|
4997
|
-
if_block1 = create_if_block$
|
|
4997
|
+
if_block1 = create_if_block$h(ctx);
|
|
4998
4998
|
if_block1.c();
|
|
4999
4999
|
if_block1.m(div1, null);
|
|
5000
5000
|
}
|
|
@@ -5067,7 +5067,7 @@ function create_fragment$z(ctx) {
|
|
|
5067
5067
|
};
|
|
5068
5068
|
}
|
|
5069
5069
|
|
|
5070
|
-
function instance$
|
|
5070
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
5071
5071
|
let {
|
|
5072
5072
|
mt = null
|
|
5073
5073
|
} = $$props;
|
|
@@ -5168,7 +5168,7 @@ class Chip extends SvelteElement {
|
|
|
5168
5168
|
target: this.shadowRoot,
|
|
5169
5169
|
props: attribute_to_object(this.attributes),
|
|
5170
5170
|
customElement: true
|
|
5171
|
-
}, instance$
|
|
5171
|
+
}, instance$x, create_fragment$A, safe_not_equal, {
|
|
5172
5172
|
mt: 0,
|
|
5173
5173
|
mr: 1,
|
|
5174
5174
|
mb: 2,
|
|
@@ -5422,7 +5422,7 @@ function noscroll(_node, opts) {
|
|
|
5422
5422
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
5423
5423
|
|
|
5424
5424
|
|
|
5425
|
-
function create_if_block$
|
|
5425
|
+
function create_if_block$g(ctx) {
|
|
5426
5426
|
let current_block_type_index;
|
|
5427
5427
|
let if_block;
|
|
5428
5428
|
let if_block_anchor;
|
|
@@ -5793,12 +5793,12 @@ function create_if_block_2$6(ctx) {
|
|
|
5793
5793
|
};
|
|
5794
5794
|
}
|
|
5795
5795
|
|
|
5796
|
-
function create_fragment$
|
|
5796
|
+
function create_fragment$z(ctx) {
|
|
5797
5797
|
let if_block_anchor;
|
|
5798
5798
|
let current;
|
|
5799
5799
|
let if_block =
|
|
5800
5800
|
/*isVisible*/
|
|
5801
|
-
ctx[5] && create_if_block$
|
|
5801
|
+
ctx[5] && create_if_block$g(ctx);
|
|
5802
5802
|
return {
|
|
5803
5803
|
c() {
|
|
5804
5804
|
if (if_block) if_block.c();
|
|
@@ -5825,7 +5825,7 @@ function create_fragment$y(ctx) {
|
|
|
5825
5825
|
transition_in(if_block, 1);
|
|
5826
5826
|
}
|
|
5827
5827
|
} else {
|
|
5828
|
-
if_block = create_if_block$
|
|
5828
|
+
if_block = create_if_block$g(ctx);
|
|
5829
5829
|
if_block.c();
|
|
5830
5830
|
transition_in(if_block, 1);
|
|
5831
5831
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5858,7 +5858,7 @@ function create_fragment$y(ctx) {
|
|
|
5858
5858
|
};
|
|
5859
5859
|
}
|
|
5860
5860
|
|
|
5861
|
-
function instance$
|
|
5861
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
5862
5862
|
let isVisible;
|
|
5863
5863
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5864
5864
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5915,7 +5915,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5915
5915
|
target: this.shadowRoot,
|
|
5916
5916
|
props: attribute_to_object(this.attributes),
|
|
5917
5917
|
customElement: true
|
|
5918
|
-
}, instance$
|
|
5918
|
+
}, instance$w, create_fragment$z, safe_not_equal, {
|
|
5919
5919
|
variant: 6,
|
|
5920
5920
|
size: 7,
|
|
5921
5921
|
message: 0,
|
|
@@ -5999,7 +5999,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5999
5999
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
6000
6000
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
6001
6001
|
|
|
6002
|
-
function create_fragment$
|
|
6002
|
+
function create_fragment$y(ctx) {
|
|
6003
6003
|
let div3;
|
|
6004
6004
|
let header;
|
|
6005
6005
|
let div0;
|
|
@@ -6124,7 +6124,7 @@ function create_fragment$x(ctx) {
|
|
|
6124
6124
|
};
|
|
6125
6125
|
}
|
|
6126
6126
|
|
|
6127
|
-
function instance$
|
|
6127
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
6128
6128
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
6129
6129
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
6130
6130
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -6180,7 +6180,7 @@ class Container extends SvelteElement {
|
|
|
6180
6180
|
target: this.shadowRoot,
|
|
6181
6181
|
props: attribute_to_object(this.attributes),
|
|
6182
6182
|
customElement: true
|
|
6183
|
-
}, instance$
|
|
6183
|
+
}, instance$v, create_fragment$y, safe_not_equal, {
|
|
6184
6184
|
type: 0,
|
|
6185
6185
|
accent: 1,
|
|
6186
6186
|
padding: 2,
|
|
@@ -6300,7 +6300,7 @@ class Container extends SvelteElement {
|
|
|
6300
6300
|
customElements.define("goa-container", Container);
|
|
6301
6301
|
/* libs/web-components/src/components/details/Details.svelte generated by Svelte v3.51.0 */
|
|
6302
6302
|
|
|
6303
|
-
function create_fragment$
|
|
6303
|
+
function create_fragment$x(ctx) {
|
|
6304
6304
|
let details;
|
|
6305
6305
|
let summary;
|
|
6306
6306
|
let goa_icon;
|
|
@@ -6400,7 +6400,7 @@ function create_fragment$w(ctx) {
|
|
|
6400
6400
|
};
|
|
6401
6401
|
}
|
|
6402
6402
|
|
|
6403
|
-
function instance$
|
|
6403
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
6404
6404
|
let {
|
|
6405
6405
|
heading
|
|
6406
6406
|
} = $$props;
|
|
@@ -6460,7 +6460,7 @@ class Details extends SvelteElement {
|
|
|
6460
6460
|
target: this.shadowRoot,
|
|
6461
6461
|
props: attribute_to_object(this.attributes),
|
|
6462
6462
|
customElement: true
|
|
6463
|
-
}, instance$
|
|
6463
|
+
}, instance$u, create_fragment$x, safe_not_equal, {
|
|
6464
6464
|
heading: 0,
|
|
6465
6465
|
mt: 1,
|
|
6466
6466
|
mr: 2,
|
|
@@ -6544,7 +6544,7 @@ class Details extends SvelteElement {
|
|
|
6544
6544
|
customElements.define("goa-details", Details);
|
|
6545
6545
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
6546
6546
|
|
|
6547
|
-
function create_fragment$
|
|
6547
|
+
function create_fragment$w(ctx) {
|
|
6548
6548
|
let hr;
|
|
6549
6549
|
let hr_style_value;
|
|
6550
6550
|
return {
|
|
@@ -6603,7 +6603,7 @@ function create_fragment$v(ctx) {
|
|
|
6603
6603
|
};
|
|
6604
6604
|
}
|
|
6605
6605
|
|
|
6606
|
-
function instance$
|
|
6606
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
6607
6607
|
let {
|
|
6608
6608
|
testid = ""
|
|
6609
6609
|
} = $$props;
|
|
@@ -6639,7 +6639,7 @@ class Divider extends SvelteElement {
|
|
|
6639
6639
|
target: this.shadowRoot,
|
|
6640
6640
|
props: attribute_to_object(this.attributes),
|
|
6641
6641
|
customElement: true
|
|
6642
|
-
}, instance$
|
|
6642
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
6643
6643
|
testid: 0,
|
|
6644
6644
|
mt: 1,
|
|
6645
6645
|
mr: 2,
|
|
@@ -7006,7 +7006,7 @@ function create_else_block$5(ctx) {
|
|
|
7006
7006
|
} // (237:2) {#if _native}
|
|
7007
7007
|
|
|
7008
7008
|
|
|
7009
|
-
function create_if_block$
|
|
7009
|
+
function create_if_block$f(ctx) {
|
|
7010
7010
|
let select;
|
|
7011
7011
|
let slot;
|
|
7012
7012
|
let select_aria_label_value;
|
|
@@ -7429,7 +7429,7 @@ function create_each_block$4(ctx) {
|
|
|
7429
7429
|
};
|
|
7430
7430
|
}
|
|
7431
7431
|
|
|
7432
|
-
function create_fragment$
|
|
7432
|
+
function create_fragment$v(ctx) {
|
|
7433
7433
|
let div;
|
|
7434
7434
|
let div_data_testid_value;
|
|
7435
7435
|
let div_style_value;
|
|
@@ -7437,7 +7437,7 @@ function create_fragment$u(ctx) {
|
|
|
7437
7437
|
function select_block_type(ctx, dirty) {
|
|
7438
7438
|
if (
|
|
7439
7439
|
/*_native*/
|
|
7440
|
-
ctx[22]) return create_if_block$
|
|
7440
|
+
ctx[22]) return create_if_block$f;
|
|
7441
7441
|
return create_else_block$5;
|
|
7442
7442
|
}
|
|
7443
7443
|
|
|
@@ -7546,7 +7546,7 @@ function create_fragment$u(ctx) {
|
|
|
7546
7546
|
};
|
|
7547
7547
|
}
|
|
7548
7548
|
|
|
7549
|
-
function instance$
|
|
7549
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
7550
7550
|
let _disabled;
|
|
7551
7551
|
|
|
7552
7552
|
let _error;
|
|
@@ -7936,7 +7936,7 @@ class Dropdown extends SvelteElement {
|
|
|
7936
7936
|
target: this.shadowRoot,
|
|
7937
7937
|
props: attribute_to_object(this.attributes),
|
|
7938
7938
|
customElement: true
|
|
7939
|
-
}, instance$
|
|
7939
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
7940
7940
|
name: 0,
|
|
7941
7941
|
arialabel: 1,
|
|
7942
7942
|
value: 28,
|
|
@@ -8140,7 +8140,7 @@ class Dropdown extends SvelteElement {
|
|
|
8140
8140
|
customElements.define("goa-dropdown", Dropdown);
|
|
8141
8141
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
8142
8142
|
|
|
8143
|
-
function create_fragment$
|
|
8143
|
+
function create_fragment$u(ctx) {
|
|
8144
8144
|
return {
|
|
8145
8145
|
c() {
|
|
8146
8146
|
this.c = noop;
|
|
@@ -8161,7 +8161,7 @@ class DropdownItem extends SvelteElement {
|
|
|
8161
8161
|
target: this.shadowRoot,
|
|
8162
8162
|
props: attribute_to_object(this.attributes),
|
|
8163
8163
|
customElement: true
|
|
8164
|
-
}, null, create_fragment$
|
|
8164
|
+
}, null, create_fragment$u, safe_not_equal, {}, null);
|
|
8165
8165
|
|
|
8166
8166
|
if (options) {
|
|
8167
8167
|
if (options.target) {
|
|
@@ -8175,7 +8175,7 @@ class DropdownItem extends SvelteElement {
|
|
|
8175
8175
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
8176
8176
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
8177
8177
|
|
|
8178
|
-
function create_fragment$
|
|
8178
|
+
function create_fragment$t(ctx) {
|
|
8179
8179
|
let div;
|
|
8180
8180
|
return {
|
|
8181
8181
|
c() {
|
|
@@ -8235,7 +8235,7 @@ function isFocusable(element) {
|
|
|
8235
8235
|
}
|
|
8236
8236
|
}
|
|
8237
8237
|
|
|
8238
|
-
function instance$
|
|
8238
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
8239
8239
|
let isActive;
|
|
8240
8240
|
let {
|
|
8241
8241
|
active
|
|
@@ -8404,7 +8404,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8404
8404
|
target: this.shadowRoot,
|
|
8405
8405
|
props: attribute_to_object(this.attributes),
|
|
8406
8406
|
customElement: true
|
|
8407
|
-
}, instance$
|
|
8407
|
+
}, instance$r, create_fragment$t, safe_not_equal, {
|
|
8408
8408
|
active: 1
|
|
8409
8409
|
}, null);
|
|
8410
8410
|
|
|
@@ -8440,7 +8440,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8440
8440
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
8441
8441
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8442
8442
|
|
|
8443
|
-
function create_if_block$
|
|
8443
|
+
function create_if_block$e(ctx) {
|
|
8444
8444
|
let goa_divider;
|
|
8445
8445
|
return {
|
|
8446
8446
|
c() {
|
|
@@ -8459,7 +8459,7 @@ function create_if_block$d(ctx) {
|
|
|
8459
8459
|
};
|
|
8460
8460
|
}
|
|
8461
8461
|
|
|
8462
|
-
function create_fragment$
|
|
8462
|
+
function create_fragment$s(ctx) {
|
|
8463
8463
|
let div5;
|
|
8464
8464
|
let div4;
|
|
8465
8465
|
let div0;
|
|
@@ -8477,7 +8477,7 @@ function create_fragment$r(ctx) {
|
|
|
8477
8477
|
/*navLinks*/
|
|
8478
8478
|
ctx[2] &&
|
|
8479
8479
|
/*navLinks*/
|
|
8480
|
-
ctx[2].length > 0 && create_if_block$
|
|
8480
|
+
ctx[2].length > 0 && create_if_block$e();
|
|
8481
8481
|
return {
|
|
8482
8482
|
c() {
|
|
8483
8483
|
div5 = element("div");
|
|
@@ -8550,7 +8550,7 @@ function create_fragment$r(ctx) {
|
|
|
8550
8550
|
/*navLinks*/
|
|
8551
8551
|
ctx[2].length > 0) {
|
|
8552
8552
|
if (if_block) ;else {
|
|
8553
|
-
if_block = create_if_block$
|
|
8553
|
+
if_block = create_if_block$e();
|
|
8554
8554
|
if_block.c();
|
|
8555
8555
|
if_block.m(div4, t1);
|
|
8556
8556
|
}
|
|
@@ -8602,7 +8602,7 @@ function create_fragment$r(ctx) {
|
|
|
8602
8602
|
};
|
|
8603
8603
|
}
|
|
8604
8604
|
|
|
8605
|
-
function instance$
|
|
8605
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
8606
8606
|
let {
|
|
8607
8607
|
maxcontentwidth = ""
|
|
8608
8608
|
} = $$props;
|
|
@@ -8640,7 +8640,7 @@ class Footer extends SvelteElement {
|
|
|
8640
8640
|
target: this.shadowRoot,
|
|
8641
8641
|
props: attribute_to_object(this.attributes),
|
|
8642
8642
|
customElement: true
|
|
8643
|
-
}, instance$
|
|
8643
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
8644
8644
|
maxcontentwidth: 0
|
|
8645
8645
|
}, null);
|
|
8646
8646
|
|
|
@@ -8730,7 +8730,7 @@ function create_each_block$3(ctx) {
|
|
|
8730
8730
|
};
|
|
8731
8731
|
}
|
|
8732
8732
|
|
|
8733
|
-
function create_fragment$
|
|
8733
|
+
function create_fragment$r(ctx) {
|
|
8734
8734
|
let section;
|
|
8735
8735
|
let div;
|
|
8736
8736
|
let t;
|
|
@@ -8818,7 +8818,7 @@ function create_fragment$q(ctx) {
|
|
|
8818
8818
|
};
|
|
8819
8819
|
}
|
|
8820
8820
|
|
|
8821
|
-
function instance$
|
|
8821
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
8822
8822
|
let rootEl;
|
|
8823
8823
|
let children = [];
|
|
8824
8824
|
onMount(async () => {
|
|
@@ -8853,7 +8853,7 @@ class FooterMetaSection extends SvelteElement {
|
|
|
8853
8853
|
target: this.shadowRoot,
|
|
8854
8854
|
props: attribute_to_object(this.attributes),
|
|
8855
8855
|
customElement: true
|
|
8856
|
-
}, instance$
|
|
8856
|
+
}, instance$p, create_fragment$r, safe_not_equal, {}, null);
|
|
8857
8857
|
|
|
8858
8858
|
if (options) {
|
|
8859
8859
|
if (options.target) {
|
|
@@ -8874,7 +8874,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
8874
8874
|
} // (31:2) {#if heading}
|
|
8875
8875
|
|
|
8876
8876
|
|
|
8877
|
-
function create_if_block$
|
|
8877
|
+
function create_if_block$d(ctx) {
|
|
8878
8878
|
let div;
|
|
8879
8879
|
let t0;
|
|
8880
8880
|
let t1;
|
|
@@ -8963,7 +8963,7 @@ function create_each_block$2(ctx) {
|
|
|
8963
8963
|
};
|
|
8964
8964
|
}
|
|
8965
8965
|
|
|
8966
|
-
function create_fragment$
|
|
8966
|
+
function create_fragment$q(ctx) {
|
|
8967
8967
|
let section;
|
|
8968
8968
|
let t0;
|
|
8969
8969
|
let div;
|
|
@@ -8972,7 +8972,7 @@ function create_fragment$p(ctx) {
|
|
|
8972
8972
|
let ul_style_value;
|
|
8973
8973
|
let if_block =
|
|
8974
8974
|
/*heading*/
|
|
8975
|
-
ctx[0] && create_if_block$
|
|
8975
|
+
ctx[0] && create_if_block$d(ctx);
|
|
8976
8976
|
let each_value =
|
|
8977
8977
|
/*children*/
|
|
8978
8978
|
ctx[3];
|
|
@@ -9039,7 +9039,7 @@ function create_fragment$p(ctx) {
|
|
|
9039
9039
|
if (if_block) {
|
|
9040
9040
|
if_block.p(ctx, dirty);
|
|
9041
9041
|
} else {
|
|
9042
|
-
if_block = create_if_block$
|
|
9042
|
+
if_block = create_if_block$d(ctx);
|
|
9043
9043
|
if_block.c();
|
|
9044
9044
|
if_block.m(section, t0);
|
|
9045
9045
|
}
|
|
@@ -9110,7 +9110,7 @@ function create_fragment$p(ctx) {
|
|
|
9110
9110
|
};
|
|
9111
9111
|
}
|
|
9112
9112
|
|
|
9113
|
-
function instance$
|
|
9113
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
9114
9114
|
let {
|
|
9115
9115
|
heading = ""
|
|
9116
9116
|
} = $$props;
|
|
@@ -9161,7 +9161,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
9161
9161
|
target: this.shadowRoot,
|
|
9162
9162
|
props: attribute_to_object(this.attributes),
|
|
9163
9163
|
customElement: true
|
|
9164
|
-
}, instance$
|
|
9164
|
+
}, instance$o, create_fragment$q, safe_not_equal, {
|
|
9165
9165
|
heading: 0,
|
|
9166
9166
|
maxcolumncount: 1
|
|
9167
9167
|
}, null);
|
|
@@ -9359,7 +9359,7 @@ function create_if_block_1$6(ctx) {
|
|
|
9359
9359
|
} // (48:2) {#if helptext}
|
|
9360
9360
|
|
|
9361
9361
|
|
|
9362
|
-
function create_if_block$
|
|
9362
|
+
function create_if_block$c(ctx) {
|
|
9363
9363
|
let div;
|
|
9364
9364
|
let t;
|
|
9365
9365
|
return {
|
|
@@ -9391,7 +9391,7 @@ function create_if_block$b(ctx) {
|
|
|
9391
9391
|
};
|
|
9392
9392
|
}
|
|
9393
9393
|
|
|
9394
|
-
function create_fragment$
|
|
9394
|
+
function create_fragment$p(ctx) {
|
|
9395
9395
|
let div1;
|
|
9396
9396
|
let t0;
|
|
9397
9397
|
let div0;
|
|
@@ -9406,7 +9406,7 @@ function create_fragment$o(ctx) {
|
|
|
9406
9406
|
ctx[7] && create_if_block_1$6(ctx);
|
|
9407
9407
|
let if_block2 =
|
|
9408
9408
|
/*helptext*/
|
|
9409
|
-
ctx[6] && create_if_block$
|
|
9409
|
+
ctx[6] && create_if_block$c(ctx);
|
|
9410
9410
|
return {
|
|
9411
9411
|
c() {
|
|
9412
9412
|
div1 = element("div");
|
|
@@ -9483,7 +9483,7 @@ function create_fragment$o(ctx) {
|
|
|
9483
9483
|
if (if_block2) {
|
|
9484
9484
|
if_block2.p(ctx, dirty);
|
|
9485
9485
|
} else {
|
|
9486
|
-
if_block2 = create_if_block$
|
|
9486
|
+
if_block2 = create_if_block$c(ctx);
|
|
9487
9487
|
if_block2.c();
|
|
9488
9488
|
if_block2.m(div1, null);
|
|
9489
9489
|
}
|
|
@@ -9528,7 +9528,7 @@ function create_fragment$o(ctx) {
|
|
|
9528
9528
|
};
|
|
9529
9529
|
}
|
|
9530
9530
|
|
|
9531
|
-
function instance$
|
|
9531
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
9532
9532
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
9533
9533
|
let {
|
|
9534
9534
|
testid = ""
|
|
@@ -9584,7 +9584,7 @@ class FormItem extends SvelteElement {
|
|
|
9584
9584
|
target: this.shadowRoot,
|
|
9585
9585
|
props: attribute_to_object(this.attributes),
|
|
9586
9586
|
customElement: true
|
|
9587
|
-
}, instance$
|
|
9587
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
9588
9588
|
testid: 0,
|
|
9589
9589
|
mt: 1,
|
|
9590
9590
|
mr: 2,
|
|
@@ -9716,7 +9716,7 @@ class FormItem extends SvelteElement {
|
|
|
9716
9716
|
customElements.define("goa-form-item", FormItem);
|
|
9717
9717
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9718
9718
|
|
|
9719
|
-
function create_fragment$
|
|
9719
|
+
function create_fragment$o(ctx) {
|
|
9720
9720
|
let div;
|
|
9721
9721
|
let slot;
|
|
9722
9722
|
let div_style_value;
|
|
@@ -9784,7 +9784,7 @@ function create_fragment$n(ctx) {
|
|
|
9784
9784
|
};
|
|
9785
9785
|
}
|
|
9786
9786
|
|
|
9787
|
-
function instance$
|
|
9787
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
9788
9788
|
let {
|
|
9789
9789
|
gap = "m"
|
|
9790
9790
|
} = $$props;
|
|
@@ -9829,7 +9829,7 @@ class Grid extends SvelteElement {
|
|
|
9829
9829
|
target: this.shadowRoot,
|
|
9830
9830
|
props: attribute_to_object(this.attributes),
|
|
9831
9831
|
customElement: true
|
|
9832
|
-
}, instance$
|
|
9832
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
9833
9833
|
gap: 0,
|
|
9834
9834
|
minchildwidth: 1,
|
|
9835
9835
|
mt: 2,
|
|
@@ -9925,7 +9925,7 @@ class Grid extends SvelteElement {
|
|
|
9925
9925
|
customElements.define("goa-grid", Grid);
|
|
9926
9926
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9927
9927
|
|
|
9928
|
-
function create_fragment$
|
|
9928
|
+
function create_fragment$n(ctx) {
|
|
9929
9929
|
let div1;
|
|
9930
9930
|
let goa_page_block;
|
|
9931
9931
|
let h1;
|
|
@@ -10010,7 +10010,7 @@ function create_fragment$m(ctx) {
|
|
|
10010
10010
|
};
|
|
10011
10011
|
}
|
|
10012
10012
|
|
|
10013
|
-
function instance$
|
|
10013
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
10014
10014
|
let {
|
|
10015
10015
|
heading
|
|
10016
10016
|
} = $$props;
|
|
@@ -10038,7 +10038,7 @@ class HeroBanner extends SvelteElement {
|
|
|
10038
10038
|
target: this.shadowRoot,
|
|
10039
10039
|
props: attribute_to_object(this.attributes),
|
|
10040
10040
|
customElement: true
|
|
10041
|
-
}, instance$
|
|
10041
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
10042
10042
|
heading: 0,
|
|
10043
10043
|
backgroundurl: 1,
|
|
10044
10044
|
minheight: 2
|
|
@@ -10098,7 +10098,7 @@ class HeroBanner extends SvelteElement {
|
|
|
10098
10098
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
10099
10099
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
10100
10100
|
|
|
10101
|
-
function create_fragment$
|
|
10101
|
+
function create_fragment$m(ctx) {
|
|
10102
10102
|
let button;
|
|
10103
10103
|
let goa_icon;
|
|
10104
10104
|
let button_style_value;
|
|
@@ -10270,7 +10270,7 @@ function handleClick(e) {
|
|
|
10270
10270
|
}));
|
|
10271
10271
|
}
|
|
10272
10272
|
|
|
10273
|
-
function instance$
|
|
10273
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
10274
10274
|
let css;
|
|
10275
10275
|
let isDisabled;
|
|
10276
10276
|
let isInverted;
|
|
@@ -10375,7 +10375,7 @@ class IconButton extends SvelteElement {
|
|
|
10375
10375
|
target: this.shadowRoot,
|
|
10376
10376
|
props: attribute_to_object(this.attributes),
|
|
10377
10377
|
customElement: true
|
|
10378
|
-
}, instance$
|
|
10378
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
10379
10379
|
icon: 0,
|
|
10380
10380
|
size: 1,
|
|
10381
10381
|
theme: 2,
|
|
@@ -10543,7 +10543,7 @@ class IconButton extends SvelteElement {
|
|
|
10543
10543
|
customElements.define("goa-icon-button", IconButton);
|
|
10544
10544
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
10545
10545
|
|
|
10546
|
-
function create_if_block$
|
|
10546
|
+
function create_if_block$b(ctx) {
|
|
10547
10547
|
let show_if;
|
|
10548
10548
|
let if_block_anchor;
|
|
10549
10549
|
|
|
@@ -10689,12 +10689,12 @@ function create_if_block_1$5(ctx) {
|
|
|
10689
10689
|
};
|
|
10690
10690
|
}
|
|
10691
10691
|
|
|
10692
|
-
function create_fragment$
|
|
10692
|
+
function create_fragment$l(ctx) {
|
|
10693
10693
|
let div;
|
|
10694
10694
|
let div_style_value;
|
|
10695
10695
|
let if_block =
|
|
10696
10696
|
/*type*/
|
|
10697
|
-
ctx[4] && create_if_block$
|
|
10697
|
+
ctx[4] && create_if_block$b(ctx);
|
|
10698
10698
|
return {
|
|
10699
10699
|
c() {
|
|
10700
10700
|
div = element("div");
|
|
@@ -10747,7 +10747,7 @@ function create_fragment$k(ctx) {
|
|
|
10747
10747
|
if (if_block) {
|
|
10748
10748
|
if_block.p(ctx, dirty);
|
|
10749
10749
|
} else {
|
|
10750
|
-
if_block = create_if_block$
|
|
10750
|
+
if_block = create_if_block$b(ctx);
|
|
10751
10751
|
if_block.c();
|
|
10752
10752
|
if_block.m(div, null);
|
|
10753
10753
|
}
|
|
@@ -10820,7 +10820,7 @@ function create_fragment$k(ctx) {
|
|
|
10820
10820
|
};
|
|
10821
10821
|
}
|
|
10822
10822
|
|
|
10823
|
-
function instance$
|
|
10823
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
10824
10824
|
let isInverted;
|
|
10825
10825
|
|
|
10826
10826
|
let _size;
|
|
@@ -10922,7 +10922,7 @@ class Icon extends SvelteElement {
|
|
|
10922
10922
|
target: this.shadowRoot,
|
|
10923
10923
|
props: attribute_to_object(this.attributes),
|
|
10924
10924
|
customElement: true
|
|
10925
|
-
}, instance$
|
|
10925
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
10926
10926
|
mt: 0,
|
|
10927
10927
|
mr: 1,
|
|
10928
10928
|
mb: 2,
|
|
@@ -11259,7 +11259,7 @@ function create_if_block_1$4(ctx) {
|
|
|
11259
11259
|
} // (161:4) {#if suffix}
|
|
11260
11260
|
|
|
11261
11261
|
|
|
11262
|
-
function create_if_block$
|
|
11262
|
+
function create_if_block$a(ctx) {
|
|
11263
11263
|
let span;
|
|
11264
11264
|
let t;
|
|
11265
11265
|
return {
|
|
@@ -11291,7 +11291,7 @@ function create_if_block$9(ctx) {
|
|
|
11291
11291
|
};
|
|
11292
11292
|
}
|
|
11293
11293
|
|
|
11294
|
-
function create_fragment$
|
|
11294
|
+
function create_fragment$k(ctx) {
|
|
11295
11295
|
let div3;
|
|
11296
11296
|
let div2;
|
|
11297
11297
|
let t0;
|
|
@@ -11329,7 +11329,7 @@ function create_fragment$j(ctx) {
|
|
|
11329
11329
|
ctx[24] && create_if_block_1$4(ctx);
|
|
11330
11330
|
let if_block4 =
|
|
11331
11331
|
/*suffix*/
|
|
11332
|
-
ctx[15] && create_if_block$
|
|
11332
|
+
ctx[15] && create_if_block$a(ctx);
|
|
11333
11333
|
return {
|
|
11334
11334
|
c() {
|
|
11335
11335
|
div3 = element("div");
|
|
@@ -11650,7 +11650,7 @@ function create_fragment$j(ctx) {
|
|
|
11650
11650
|
if (if_block4) {
|
|
11651
11651
|
if_block4.p(ctx, dirty);
|
|
11652
11652
|
} else {
|
|
11653
|
-
if_block4 = create_if_block$
|
|
11653
|
+
if_block4 = create_if_block$a(ctx);
|
|
11654
11654
|
if_block4.c();
|
|
11655
11655
|
if_block4.m(div2, t6);
|
|
11656
11656
|
}
|
|
@@ -11730,7 +11730,7 @@ function doClick() {
|
|
|
11730
11730
|
}));
|
|
11731
11731
|
}
|
|
11732
11732
|
|
|
11733
|
-
function instance$
|
|
11733
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
11734
11734
|
let handlesTrailingIconClick;
|
|
11735
11735
|
let isFocused;
|
|
11736
11736
|
let isReadonly;
|
|
@@ -11950,7 +11950,7 @@ class Input extends SvelteElement {
|
|
|
11950
11950
|
target: this.shadowRoot,
|
|
11951
11951
|
props: attribute_to_object(this.attributes),
|
|
11952
11952
|
customElement: true
|
|
11953
|
-
}, instance$
|
|
11953
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
11954
11954
|
type: 1,
|
|
11955
11955
|
name: 2,
|
|
11956
11956
|
value: 0,
|
|
@@ -12448,7 +12448,7 @@ function create_if_block_2$3(ctx) {
|
|
|
12448
12448
|
} // (56:2) {#if version}
|
|
12449
12449
|
|
|
12450
12450
|
|
|
12451
|
-
function create_if_block$
|
|
12451
|
+
function create_if_block$9(ctx) {
|
|
12452
12452
|
let div;
|
|
12453
12453
|
let t;
|
|
12454
12454
|
return {
|
|
@@ -12481,7 +12481,7 @@ function create_if_block$8(ctx) {
|
|
|
12481
12481
|
};
|
|
12482
12482
|
}
|
|
12483
12483
|
|
|
12484
|
-
function create_fragment$
|
|
12484
|
+
function create_fragment$j(ctx) {
|
|
12485
12485
|
let header;
|
|
12486
12486
|
let t0;
|
|
12487
12487
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -12496,7 +12496,7 @@ function create_fragment$i(ctx) {
|
|
|
12496
12496
|
let if_block1 = show_if && create_if_block_1$3(ctx);
|
|
12497
12497
|
let if_block2 =
|
|
12498
12498
|
/*version*/
|
|
12499
|
-
ctx[1] && create_if_block$
|
|
12499
|
+
ctx[1] && create_if_block$9(ctx);
|
|
12500
12500
|
return {
|
|
12501
12501
|
c() {
|
|
12502
12502
|
header = element("header");
|
|
@@ -12562,7 +12562,7 @@ function create_fragment$i(ctx) {
|
|
|
12562
12562
|
if (if_block2) {
|
|
12563
12563
|
if_block2.p(ctx, dirty);
|
|
12564
12564
|
} else {
|
|
12565
|
-
if_block2 = create_if_block$
|
|
12565
|
+
if_block2 = create_if_block$9(ctx);
|
|
12566
12566
|
if_block2.c();
|
|
12567
12567
|
if_block2.m(header, null);
|
|
12568
12568
|
}
|
|
@@ -12590,7 +12590,7 @@ function capitalize(val) {
|
|
|
12590
12590
|
return val[0].toUpperCase() + val.slice(1);
|
|
12591
12591
|
}
|
|
12592
12592
|
|
|
12593
|
-
function instance$
|
|
12593
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
12594
12594
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
12595
12595
|
let {
|
|
12596
12596
|
type
|
|
@@ -12622,7 +12622,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12622
12622
|
target: this.shadowRoot,
|
|
12623
12623
|
props: attribute_to_object(this.attributes),
|
|
12624
12624
|
customElement: true
|
|
12625
|
-
}, instance$
|
|
12625
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
12626
12626
|
type: 0,
|
|
12627
12627
|
version: 1,
|
|
12628
12628
|
feedbackurl: 2
|
|
@@ -12682,7 +12682,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12682
12682
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
12683
12683
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
12684
12684
|
|
|
12685
|
-
function create_if_block$
|
|
12685
|
+
function create_if_block$8(ctx) {
|
|
12686
12686
|
let goa_focus_trap;
|
|
12687
12687
|
let div6;
|
|
12688
12688
|
let div0;
|
|
@@ -12722,7 +12722,7 @@ function create_if_block$7(ctx) {
|
|
|
12722
12722
|
let if_block1 = current_block_type(ctx);
|
|
12723
12723
|
let if_block2 =
|
|
12724
12724
|
/*_isClosable*/
|
|
12725
|
-
ctx[
|
|
12725
|
+
ctx[8] && create_if_block_1$2(ctx);
|
|
12726
12726
|
return {
|
|
12727
12727
|
c() {
|
|
12728
12728
|
goa_focus_trap = element("goa-focus-trap");
|
|
@@ -12789,20 +12789,23 @@ function create_if_block$7(ctx) {
|
|
|
12789
12789
|
append(div2, goa_scrollable);
|
|
12790
12790
|
/*goa_scrollable_binding*/
|
|
12791
12791
|
|
|
12792
|
-
ctx[
|
|
12792
|
+
ctx[15](goa_scrollable);
|
|
12793
12793
|
/*div2_binding*/
|
|
12794
12794
|
|
|
12795
|
-
ctx[
|
|
12795
|
+
ctx[16](div2);
|
|
12796
12796
|
append(div4, t4);
|
|
12797
12797
|
append(div4, div3);
|
|
12798
|
+
/*div6_binding*/
|
|
12799
|
+
|
|
12800
|
+
ctx[17](div6);
|
|
12798
12801
|
current = true;
|
|
12799
12802
|
|
|
12800
12803
|
if (!mounted) {
|
|
12801
12804
|
dispose = [listen(div0, "click",
|
|
12802
12805
|
/*close*/
|
|
12803
|
-
ctx[
|
|
12806
|
+
ctx[11]), listen(goa_scrollable, "_scroll",
|
|
12804
12807
|
/*handleScroll*/
|
|
12805
|
-
ctx[
|
|
12808
|
+
ctx[12]), action_destroyer(noscroll_action = noscroll.call(null, div6, {
|
|
12806
12809
|
enable:
|
|
12807
12810
|
/*_isOpen*/
|
|
12808
12811
|
ctx[6]
|
|
@@ -12843,7 +12846,7 @@ function create_if_block$7(ctx) {
|
|
|
12843
12846
|
|
|
12844
12847
|
if (
|
|
12845
12848
|
/*_isClosable*/
|
|
12846
|
-
ctx[
|
|
12849
|
+
ctx[8]) {
|
|
12847
12850
|
if (if_block2) {
|
|
12848
12851
|
if_block2.p(ctx, dirty);
|
|
12849
12852
|
} else {
|
|
@@ -12890,7 +12893,7 @@ function create_if_block$7(ctx) {
|
|
|
12890
12893
|
div5_intro = create_in_transition(div5, fly, {
|
|
12891
12894
|
duration:
|
|
12892
12895
|
/*_transitionTime*/
|
|
12893
|
-
ctx[
|
|
12896
|
+
ctx[10],
|
|
12894
12897
|
y: 200
|
|
12895
12898
|
});
|
|
12896
12899
|
div5_intro.start();
|
|
@@ -12900,7 +12903,7 @@ function create_if_block$7(ctx) {
|
|
|
12900
12903
|
div6_intro = create_in_transition(div6, fade, {
|
|
12901
12904
|
duration:
|
|
12902
12905
|
/*_transitionTime*/
|
|
12903
|
-
ctx[
|
|
12906
|
+
ctx[10]
|
|
12904
12907
|
});
|
|
12905
12908
|
div6_intro.start();
|
|
12906
12909
|
});
|
|
@@ -12912,20 +12915,20 @@ function create_if_block$7(ctx) {
|
|
|
12912
12915
|
div5_outro = create_out_transition(div5, fly, {
|
|
12913
12916
|
delay:
|
|
12914
12917
|
/*_transitionTime*/
|
|
12915
|
-
ctx[
|
|
12918
|
+
ctx[10],
|
|
12916
12919
|
duration:
|
|
12917
12920
|
/*_transitionTime*/
|
|
12918
|
-
ctx[
|
|
12921
|
+
ctx[10],
|
|
12919
12922
|
y: -100
|
|
12920
12923
|
});
|
|
12921
12924
|
if (div6_intro) div6_intro.invalidate();
|
|
12922
12925
|
div6_outro = create_out_transition(div6, fade, {
|
|
12923
12926
|
delay:
|
|
12924
12927
|
/*_transitionTime*/
|
|
12925
|
-
ctx[
|
|
12928
|
+
ctx[10],
|
|
12926
12929
|
duration:
|
|
12927
12930
|
/*_transitionTime*/
|
|
12928
|
-
ctx[
|
|
12931
|
+
ctx[10]
|
|
12929
12932
|
});
|
|
12930
12933
|
current = false;
|
|
12931
12934
|
},
|
|
@@ -12937,18 +12940,21 @@ function create_if_block$7(ctx) {
|
|
|
12937
12940
|
if (if_block2) if_block2.d();
|
|
12938
12941
|
/*goa_scrollable_binding*/
|
|
12939
12942
|
|
|
12940
|
-
ctx[
|
|
12943
|
+
ctx[15](null);
|
|
12941
12944
|
/*div2_binding*/
|
|
12942
12945
|
|
|
12943
|
-
ctx[
|
|
12946
|
+
ctx[16](null);
|
|
12944
12947
|
if (detaching && div5_outro) div5_outro.end();
|
|
12948
|
+
/*div6_binding*/
|
|
12949
|
+
|
|
12950
|
+
ctx[17](null);
|
|
12945
12951
|
if (detaching && div6_outro) div6_outro.end();
|
|
12946
12952
|
mounted = false;
|
|
12947
12953
|
run_all(dispose);
|
|
12948
12954
|
}
|
|
12949
12955
|
|
|
12950
12956
|
};
|
|
12951
|
-
} // (
|
|
12957
|
+
} // (116:8) {#if calloutvariant !== null}
|
|
12952
12958
|
|
|
12953
12959
|
|
|
12954
12960
|
function create_if_block_3$2(ctx) {
|
|
@@ -12962,7 +12968,7 @@ function create_if_block_3$2(ctx) {
|
|
|
12962
12968
|
goa_icon = element("goa-icon");
|
|
12963
12969
|
set_custom_element_data(goa_icon, "type",
|
|
12964
12970
|
/*_iconType*/
|
|
12965
|
-
ctx[
|
|
12971
|
+
ctx[9]);
|
|
12966
12972
|
set_custom_element_data(goa_icon, "inverted", goa_icon_inverted_value =
|
|
12967
12973
|
/*calloutvariant*/
|
|
12968
12974
|
ctx[3] === "important" ? "false" : "true");
|
|
@@ -12979,10 +12985,10 @@ function create_if_block_3$2(ctx) {
|
|
|
12979
12985
|
p(ctx, dirty) {
|
|
12980
12986
|
if (dirty &
|
|
12981
12987
|
/*_iconType*/
|
|
12982
|
-
|
|
12988
|
+
512) {
|
|
12983
12989
|
set_custom_element_data(goa_icon, "type",
|
|
12984
12990
|
/*_iconType*/
|
|
12985
|
-
ctx[
|
|
12991
|
+
ctx[9]);
|
|
12986
12992
|
}
|
|
12987
12993
|
|
|
12988
12994
|
if (dirty &
|
|
@@ -13007,7 +13013,7 @@ function create_if_block_3$2(ctx) {
|
|
|
13007
13013
|
}
|
|
13008
13014
|
|
|
13009
13015
|
};
|
|
13010
|
-
} // (
|
|
13016
|
+
} // (129:14) {:else}
|
|
13011
13017
|
|
|
13012
13018
|
|
|
13013
13019
|
function create_else_block$3(ctx) {
|
|
@@ -13029,7 +13035,7 @@ function create_else_block$3(ctx) {
|
|
|
13029
13035
|
}
|
|
13030
13036
|
|
|
13031
13037
|
};
|
|
13032
|
-
} // (
|
|
13038
|
+
} // (127:14) {#if heading}
|
|
13033
13039
|
|
|
13034
13040
|
|
|
13035
13041
|
function create_if_block_2$2(ctx) {
|
|
@@ -13058,7 +13064,7 @@ function create_if_block_2$2(ctx) {
|
|
|
13058
13064
|
}
|
|
13059
13065
|
|
|
13060
13066
|
};
|
|
13061
|
-
} // (
|
|
13067
|
+
} // (133:12) {#if _isClosable}
|
|
13062
13068
|
|
|
13063
13069
|
|
|
13064
13070
|
function create_if_block_1$2(ctx) {
|
|
@@ -13083,7 +13089,7 @@ function create_if_block_1$2(ctx) {
|
|
|
13083
13089
|
if (!mounted) {
|
|
13084
13090
|
dispose = listen(goa_icon_button, "click",
|
|
13085
13091
|
/*close*/
|
|
13086
|
-
ctx[
|
|
13092
|
+
ctx[11]);
|
|
13087
13093
|
mounted = true;
|
|
13088
13094
|
}
|
|
13089
13095
|
},
|
|
@@ -13099,12 +13105,12 @@ function create_if_block_1$2(ctx) {
|
|
|
13099
13105
|
};
|
|
13100
13106
|
}
|
|
13101
13107
|
|
|
13102
|
-
function create_fragment$
|
|
13108
|
+
function create_fragment$i(ctx) {
|
|
13103
13109
|
let if_block_anchor;
|
|
13104
13110
|
let current;
|
|
13105
13111
|
let if_block =
|
|
13106
13112
|
/*_isOpen*/
|
|
13107
|
-
ctx[6] && create_if_block$
|
|
13113
|
+
ctx[6] && create_if_block$8(ctx);
|
|
13108
13114
|
return {
|
|
13109
13115
|
c() {
|
|
13110
13116
|
if (if_block) if_block.c();
|
|
@@ -13131,7 +13137,7 @@ function create_fragment$h(ctx) {
|
|
|
13131
13137
|
transition_in(if_block, 1);
|
|
13132
13138
|
}
|
|
13133
13139
|
} else {
|
|
13134
|
-
if_block = create_if_block$
|
|
13140
|
+
if_block = create_if_block$8(ctx);
|
|
13135
13141
|
if_block.c();
|
|
13136
13142
|
transition_in(if_block, 1);
|
|
13137
13143
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13164,7 +13170,7 @@ function create_fragment$h(ctx) {
|
|
|
13164
13170
|
};
|
|
13165
13171
|
}
|
|
13166
13172
|
|
|
13167
|
-
function instance$
|
|
13173
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
13168
13174
|
let _isClosable;
|
|
13169
13175
|
|
|
13170
13176
|
let _isOpen;
|
|
@@ -13192,6 +13198,7 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
13192
13198
|
calloutvariant = null
|
|
13193
13199
|
} = $$props; // Private
|
|
13194
13200
|
|
|
13201
|
+
let _rootEl = null;
|
|
13195
13202
|
let _contentEl = null;
|
|
13196
13203
|
let _scrollEl = null; // Type verification
|
|
13197
13204
|
|
|
@@ -13208,12 +13215,21 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
13208
13215
|
return;
|
|
13209
13216
|
}
|
|
13210
13217
|
|
|
13211
|
-
|
|
13218
|
+
_rootEl === null || _rootEl === void 0 ? void 0 : _rootEl.dispatchEvent(new CustomEvent("_close", {
|
|
13212
13219
|
composed: true
|
|
13213
13220
|
}));
|
|
13214
13221
|
e.stopPropagation();
|
|
13215
13222
|
}
|
|
13216
13223
|
|
|
13224
|
+
const onInputKeyDown = e => {
|
|
13225
|
+
switch (e.key) {
|
|
13226
|
+
case "Escape":
|
|
13227
|
+
close(e);
|
|
13228
|
+
e.preventDefault();
|
|
13229
|
+
break;
|
|
13230
|
+
}
|
|
13231
|
+
};
|
|
13232
|
+
|
|
13217
13233
|
function handleScroll(e) {
|
|
13218
13234
|
const hasScroll = e.detail.scrollHeight > e.detail.offsetHeight;
|
|
13219
13235
|
|
|
@@ -13247,11 +13263,18 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
13247
13263
|
});
|
|
13248
13264
|
}
|
|
13249
13265
|
|
|
13266
|
+
function div6_binding($$value) {
|
|
13267
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
13268
|
+
_rootEl = $$value;
|
|
13269
|
+
($$invalidate(7, _rootEl), $$invalidate(6, _isOpen)), $$invalidate(1, open);
|
|
13270
|
+
});
|
|
13271
|
+
}
|
|
13272
|
+
|
|
13250
13273
|
$$self.$$set = $$props => {
|
|
13251
13274
|
if ('heading' in $$props) $$invalidate(0, heading = $$props.heading);
|
|
13252
|
-
if ('closable' in $$props) $$invalidate(
|
|
13275
|
+
if ('closable' in $$props) $$invalidate(13, closable = $$props.closable);
|
|
13253
13276
|
if ('open' in $$props) $$invalidate(1, open = $$props.open);
|
|
13254
|
-
if ('transition' in $$props) $$invalidate(
|
|
13277
|
+
if ('transition' in $$props) $$invalidate(14, transition = $$props.transition);
|
|
13255
13278
|
if ('width' in $$props) $$invalidate(2, width = $$props.width);
|
|
13256
13279
|
if ('calloutvariant' in $$props) $$invalidate(3, calloutvariant = $$props.calloutvariant);
|
|
13257
13280
|
};
|
|
@@ -13259,9 +13282,9 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
13259
13282
|
$$self.$$.update = () => {
|
|
13260
13283
|
if ($$self.$$.dirty &
|
|
13261
13284
|
/*closable*/
|
|
13262
|
-
|
|
13285
|
+
8192) {
|
|
13263
13286
|
// Reactive
|
|
13264
|
-
$$invalidate(
|
|
13287
|
+
$$invalidate(8, _isClosable = toBoolean(closable));
|
|
13265
13288
|
}
|
|
13266
13289
|
|
|
13267
13290
|
if ($$self.$$.dirty &
|
|
@@ -13275,7 +13298,8 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
13275
13298
|
64) {
|
|
13276
13299
|
if (!_isOpen) {
|
|
13277
13300
|
// prevent null issues
|
|
13278
|
-
$$invalidate(4, _contentEl = $$invalidate(5, _scrollEl = null));
|
|
13301
|
+
$$invalidate(4, _contentEl = $$invalidate(5, _scrollEl = $$invalidate(7, _rootEl = null)));
|
|
13302
|
+
window.removeEventListener('keydown', onInputKeyDown);
|
|
13279
13303
|
}
|
|
13280
13304
|
}
|
|
13281
13305
|
|
|
@@ -13291,20 +13315,28 @@ function instance$f($$self, $$props, $$invalidate) {
|
|
|
13291
13315
|
}
|
|
13292
13316
|
}
|
|
13293
13317
|
|
|
13318
|
+
if ($$self.$$.dirty &
|
|
13319
|
+
/*_isOpen, _contentEl*/
|
|
13320
|
+
80) {
|
|
13321
|
+
if (_isOpen && _contentEl) {
|
|
13322
|
+
window.addEventListener('keydown', onInputKeyDown);
|
|
13323
|
+
}
|
|
13324
|
+
}
|
|
13325
|
+
|
|
13294
13326
|
if ($$self.$$.dirty &
|
|
13295
13327
|
/*transition*/
|
|
13296
|
-
|
|
13297
|
-
$$invalidate(
|
|
13328
|
+
16384) {
|
|
13329
|
+
$$invalidate(10, _transitionTime = transition === "none" ? 0 : transition === "slow" ? 400 : 200);
|
|
13298
13330
|
}
|
|
13299
13331
|
|
|
13300
13332
|
if ($$self.$$.dirty &
|
|
13301
13333
|
/*calloutvariant*/
|
|
13302
13334
|
8) {
|
|
13303
|
-
$$invalidate(
|
|
13335
|
+
$$invalidate(9, _iconType = calloutvariant === "emergency" ? "warning" : calloutvariant === "important" ? "alert-circle" : calloutvariant === "information" ? "information-circle" : calloutvariant === "success" ? "checkmark-circle" : calloutvariant === "event" ? "calendar" : "");
|
|
13304
13336
|
}
|
|
13305
13337
|
};
|
|
13306
13338
|
|
|
13307
|
-
return [heading, open, width, calloutvariant, _contentEl, _scrollEl, _isOpen, _isClosable, _iconType, _transitionTime, close, handleScroll, closable, transition, goa_scrollable_binding, div2_binding];
|
|
13339
|
+
return [heading, open, width, calloutvariant, _contentEl, _scrollEl, _isOpen, _rootEl, _isClosable, _iconType, _transitionTime, close, handleScroll, closable, transition, goa_scrollable_binding, div2_binding, div6_binding];
|
|
13308
13340
|
}
|
|
13309
13341
|
|
|
13310
13342
|
class Modal extends SvelteElement {
|
|
@@ -13315,11 +13347,11 @@ class Modal extends SvelteElement {
|
|
|
13315
13347
|
target: this.shadowRoot,
|
|
13316
13348
|
props: attribute_to_object(this.attributes),
|
|
13317
13349
|
customElement: true
|
|
13318
|
-
}, instance$
|
|
13350
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
13319
13351
|
heading: 0,
|
|
13320
|
-
closable:
|
|
13352
|
+
closable: 13,
|
|
13321
13353
|
open: 1,
|
|
13322
|
-
transition:
|
|
13354
|
+
transition: 14,
|
|
13323
13355
|
width: 2,
|
|
13324
13356
|
calloutvariant: 3
|
|
13325
13357
|
}, null);
|
|
@@ -13352,7 +13384,7 @@ class Modal extends SvelteElement {
|
|
|
13352
13384
|
}
|
|
13353
13385
|
|
|
13354
13386
|
get closable() {
|
|
13355
|
-
return this.$$.ctx[
|
|
13387
|
+
return this.$$.ctx[13];
|
|
13356
13388
|
}
|
|
13357
13389
|
|
|
13358
13390
|
set closable(closable) {
|
|
@@ -13374,7 +13406,7 @@ class Modal extends SvelteElement {
|
|
|
13374
13406
|
}
|
|
13375
13407
|
|
|
13376
13408
|
get transition() {
|
|
13377
|
-
return this.$$.ctx[
|
|
13409
|
+
return this.$$.ctx[14];
|
|
13378
13410
|
}
|
|
13379
13411
|
|
|
13380
13412
|
set transition(transition) {
|
|
@@ -13411,7 +13443,7 @@ class Modal extends SvelteElement {
|
|
|
13411
13443
|
customElements.define("goa-modal", Modal);
|
|
13412
13444
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
13413
13445
|
|
|
13414
|
-
function create_if_block$
|
|
13446
|
+
function create_if_block$7(ctx) {
|
|
13415
13447
|
let div3;
|
|
13416
13448
|
let div0;
|
|
13417
13449
|
let goa_icon;
|
|
@@ -13535,12 +13567,12 @@ function create_if_block$6(ctx) {
|
|
|
13535
13567
|
};
|
|
13536
13568
|
}
|
|
13537
13569
|
|
|
13538
|
-
function create_fragment$
|
|
13570
|
+
function create_fragment$h(ctx) {
|
|
13539
13571
|
let if_block_anchor;
|
|
13540
13572
|
let current;
|
|
13541
13573
|
let if_block =
|
|
13542
13574
|
/*show*/
|
|
13543
|
-
ctx[1] && create_if_block$
|
|
13575
|
+
ctx[1] && create_if_block$7(ctx);
|
|
13544
13576
|
return {
|
|
13545
13577
|
c() {
|
|
13546
13578
|
if (if_block) if_block.c();
|
|
@@ -13567,7 +13599,7 @@ function create_fragment$g(ctx) {
|
|
|
13567
13599
|
transition_in(if_block, 1);
|
|
13568
13600
|
}
|
|
13569
13601
|
} else {
|
|
13570
|
-
if_block = create_if_block$
|
|
13602
|
+
if_block = create_if_block$7(ctx);
|
|
13571
13603
|
if_block.c();
|
|
13572
13604
|
transition_in(if_block, 1);
|
|
13573
13605
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13600,7 +13632,7 @@ function create_fragment$g(ctx) {
|
|
|
13600
13632
|
};
|
|
13601
13633
|
}
|
|
13602
13634
|
|
|
13603
|
-
function instance$
|
|
13635
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
13604
13636
|
let iconType;
|
|
13605
13637
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
13606
13638
|
let {
|
|
@@ -13642,7 +13674,7 @@ class Notification extends SvelteElement {
|
|
|
13642
13674
|
target: this.shadowRoot,
|
|
13643
13675
|
props: attribute_to_object(this.attributes),
|
|
13644
13676
|
customElement: true
|
|
13645
|
-
}, instance$
|
|
13677
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
13646
13678
|
type: 0
|
|
13647
13679
|
}, null);
|
|
13648
13680
|
|
|
@@ -13684,7 +13716,7 @@ function isValidDimension(value) {
|
|
|
13684
13716
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
13685
13717
|
|
|
13686
13718
|
|
|
13687
|
-
function create_fragment$
|
|
13719
|
+
function create_fragment$g(ctx) {
|
|
13688
13720
|
let div;
|
|
13689
13721
|
let slot;
|
|
13690
13722
|
let div_style_value;
|
|
@@ -13724,7 +13756,7 @@ function create_fragment$f(ctx) {
|
|
|
13724
13756
|
};
|
|
13725
13757
|
}
|
|
13726
13758
|
|
|
13727
|
-
function instance$
|
|
13759
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
13728
13760
|
const Sizes = {
|
|
13729
13761
|
"full": "100%"
|
|
13730
13762
|
};
|
|
@@ -13765,7 +13797,7 @@ class PageBlock extends SvelteElement {
|
|
|
13765
13797
|
target: this.shadowRoot,
|
|
13766
13798
|
props: attribute_to_object(this.attributes),
|
|
13767
13799
|
customElement: true
|
|
13768
|
-
}, instance$
|
|
13800
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
13769
13801
|
width: 1,
|
|
13770
13802
|
_width: 0
|
|
13771
13803
|
}, null);
|
|
@@ -13813,7 +13845,7 @@ class PageBlock extends SvelteElement {
|
|
|
13813
13845
|
customElements.define("goa-page-block", PageBlock);
|
|
13814
13846
|
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
13815
13847
|
|
|
13816
|
-
function create_if_block$
|
|
13848
|
+
function create_if_block$6(ctx) {
|
|
13817
13849
|
let goa_block;
|
|
13818
13850
|
let span0;
|
|
13819
13851
|
let t1;
|
|
@@ -13911,7 +13943,7 @@ function create_if_block$5(ctx) {
|
|
|
13911
13943
|
};
|
|
13912
13944
|
}
|
|
13913
13945
|
|
|
13914
|
-
function create_fragment$
|
|
13946
|
+
function create_fragment$f(ctx) {
|
|
13915
13947
|
let goa_block1;
|
|
13916
13948
|
let div;
|
|
13917
13949
|
let t0;
|
|
@@ -13927,7 +13959,7 @@ function create_fragment$e(ctx) {
|
|
|
13927
13959
|
let dispose;
|
|
13928
13960
|
let if_block =
|
|
13929
13961
|
/*variant*/
|
|
13930
|
-
ctx[1] === "all" && create_if_block$
|
|
13962
|
+
ctx[1] === "all" && create_if_block$6(ctx);
|
|
13931
13963
|
return {
|
|
13932
13964
|
c() {
|
|
13933
13965
|
goa_block1 = element("goa-block");
|
|
@@ -14001,7 +14033,7 @@ function create_fragment$e(ctx) {
|
|
|
14001
14033
|
if (if_block) {
|
|
14002
14034
|
if_block.p(ctx, dirty);
|
|
14003
14035
|
} else {
|
|
14004
|
-
if_block = create_if_block$
|
|
14036
|
+
if_block = create_if_block$6(ctx);
|
|
14005
14037
|
if_block.c();
|
|
14006
14038
|
if_block.m(div, t0);
|
|
14007
14039
|
}
|
|
@@ -14074,7 +14106,7 @@ function create_fragment$e(ctx) {
|
|
|
14074
14106
|
};
|
|
14075
14107
|
}
|
|
14076
14108
|
|
|
14077
|
-
function instance$
|
|
14109
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
14078
14110
|
let _pageCount;
|
|
14079
14111
|
|
|
14080
14112
|
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
@@ -14199,7 +14231,7 @@ class Pagination extends SvelteElement {
|
|
|
14199
14231
|
target: this.shadowRoot,
|
|
14200
14232
|
props: attribute_to_object(this.attributes),
|
|
14201
14233
|
customElement: true
|
|
14202
|
-
}, instance$
|
|
14234
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
14203
14235
|
pagenumber: 0,
|
|
14204
14236
|
itemcount: 10,
|
|
14205
14237
|
perpagecount: 11,
|
|
@@ -14317,6 +14349,326 @@ class Pagination extends SvelteElement {
|
|
|
14317
14349
|
}
|
|
14318
14350
|
|
|
14319
14351
|
customElements.define("goa-pagination", Pagination);
|
|
14352
|
+
/* libs/web-components/src/components/popover/Popover.svelte generated by Svelte v3.51.0 */
|
|
14353
|
+
|
|
14354
|
+
function create_if_block$5(ctx) {
|
|
14355
|
+
let goa_focus_trap;
|
|
14356
|
+
let div0;
|
|
14357
|
+
let t;
|
|
14358
|
+
let div1;
|
|
14359
|
+
let section;
|
|
14360
|
+
let slot;
|
|
14361
|
+
let mounted;
|
|
14362
|
+
let dispose;
|
|
14363
|
+
return {
|
|
14364
|
+
c() {
|
|
14365
|
+
goa_focus_trap = element("goa-focus-trap");
|
|
14366
|
+
div0 = element("div");
|
|
14367
|
+
t = space();
|
|
14368
|
+
div1 = element("div");
|
|
14369
|
+
section = element("section");
|
|
14370
|
+
slot = element("slot");
|
|
14371
|
+
attr(div0, "data-testid", "popover-background");
|
|
14372
|
+
attr(div0, "class", "popover-background");
|
|
14373
|
+
attr(section, "data-testid", "popover-content");
|
|
14374
|
+
attr(section, "class", "popover-content");
|
|
14375
|
+
set_style(section, "max-width",
|
|
14376
|
+
/*maxwidth*/
|
|
14377
|
+
ctx[1]);
|
|
14378
|
+
set_style(section, "padding",
|
|
14379
|
+
/*paddedContent*/
|
|
14380
|
+
ctx[4] ? 'var(--goa-space-m)' : '0');
|
|
14381
|
+
attr(div1, "class", "popover-container");
|
|
14382
|
+
set_custom_element_data(goa_focus_trap, "active",
|
|
14383
|
+
/*_isContentVisible*/
|
|
14384
|
+
ctx[2]);
|
|
14385
|
+
},
|
|
14386
|
+
|
|
14387
|
+
m(target, anchor) {
|
|
14388
|
+
insert(target, goa_focus_trap, anchor);
|
|
14389
|
+
append(goa_focus_trap, div0);
|
|
14390
|
+
append(goa_focus_trap, t);
|
|
14391
|
+
append(goa_focus_trap, div1);
|
|
14392
|
+
append(div1, section);
|
|
14393
|
+
append(section, slot);
|
|
14394
|
+
|
|
14395
|
+
if (!mounted) {
|
|
14396
|
+
dispose = listen(div0, "click",
|
|
14397
|
+
/*closePopover*/
|
|
14398
|
+
ctx[6]);
|
|
14399
|
+
mounted = true;
|
|
14400
|
+
}
|
|
14401
|
+
},
|
|
14402
|
+
|
|
14403
|
+
p(ctx, dirty) {
|
|
14404
|
+
if (dirty &
|
|
14405
|
+
/*maxwidth*/
|
|
14406
|
+
2) {
|
|
14407
|
+
set_style(section, "max-width",
|
|
14408
|
+
/*maxwidth*/
|
|
14409
|
+
ctx[1]);
|
|
14410
|
+
}
|
|
14411
|
+
|
|
14412
|
+
if (dirty &
|
|
14413
|
+
/*paddedContent*/
|
|
14414
|
+
16) {
|
|
14415
|
+
set_style(section, "padding",
|
|
14416
|
+
/*paddedContent*/
|
|
14417
|
+
ctx[4] ? 'var(--goa-space-m)' : '0');
|
|
14418
|
+
}
|
|
14419
|
+
|
|
14420
|
+
if (dirty &
|
|
14421
|
+
/*_isContentVisible*/
|
|
14422
|
+
4) {
|
|
14423
|
+
set_custom_element_data(goa_focus_trap, "active",
|
|
14424
|
+
/*_isContentVisible*/
|
|
14425
|
+
ctx[2]);
|
|
14426
|
+
}
|
|
14427
|
+
},
|
|
14428
|
+
|
|
14429
|
+
d(detaching) {
|
|
14430
|
+
if (detaching) detach(goa_focus_trap);
|
|
14431
|
+
mounted = false;
|
|
14432
|
+
dispose();
|
|
14433
|
+
}
|
|
14434
|
+
|
|
14435
|
+
};
|
|
14436
|
+
}
|
|
14437
|
+
|
|
14438
|
+
function create_fragment$e(ctx) {
|
|
14439
|
+
let div1;
|
|
14440
|
+
let div0;
|
|
14441
|
+
let t;
|
|
14442
|
+
let mounted;
|
|
14443
|
+
let dispose;
|
|
14444
|
+
let if_block =
|
|
14445
|
+
/*_isContentVisible*/
|
|
14446
|
+
ctx[2] && create_if_block$5(ctx);
|
|
14447
|
+
return {
|
|
14448
|
+
c() {
|
|
14449
|
+
div1 = element("div");
|
|
14450
|
+
div0 = element("div");
|
|
14451
|
+
div0.innerHTML = `<slot name="target" tabindex="-1"></slot>`;
|
|
14452
|
+
t = space();
|
|
14453
|
+
if (if_block) if_block.c();
|
|
14454
|
+
this.c = noop;
|
|
14455
|
+
attr(div0, "class", "popover-target");
|
|
14456
|
+
attr(div0, "tabindex", "0");
|
|
14457
|
+
attr(div0, "data-testid", "popover-target");
|
|
14458
|
+
attr(div1, "data-testid",
|
|
14459
|
+
/*testid*/
|
|
14460
|
+
ctx[0]);
|
|
14461
|
+
},
|
|
14462
|
+
|
|
14463
|
+
m(target, anchor) {
|
|
14464
|
+
insert(target, div1, anchor);
|
|
14465
|
+
append(div1, div0);
|
|
14466
|
+
/*div0_binding*/
|
|
14467
|
+
|
|
14468
|
+
ctx[8](div0);
|
|
14469
|
+
append(div1, t);
|
|
14470
|
+
if (if_block) if_block.m(div1, null);
|
|
14471
|
+
|
|
14472
|
+
if (!mounted) {
|
|
14473
|
+
dispose = listen(div0, "click",
|
|
14474
|
+
/*showPopover*/
|
|
14475
|
+
ctx[5]);
|
|
14476
|
+
mounted = true;
|
|
14477
|
+
}
|
|
14478
|
+
},
|
|
14479
|
+
|
|
14480
|
+
p(ctx, [dirty]) {
|
|
14481
|
+
if (
|
|
14482
|
+
/*_isContentVisible*/
|
|
14483
|
+
ctx[2]) {
|
|
14484
|
+
if (if_block) {
|
|
14485
|
+
if_block.p(ctx, dirty);
|
|
14486
|
+
} else {
|
|
14487
|
+
if_block = create_if_block$5(ctx);
|
|
14488
|
+
if_block.c();
|
|
14489
|
+
if_block.m(div1, null);
|
|
14490
|
+
}
|
|
14491
|
+
} else if (if_block) {
|
|
14492
|
+
if_block.d(1);
|
|
14493
|
+
if_block = null;
|
|
14494
|
+
}
|
|
14495
|
+
|
|
14496
|
+
if (dirty &
|
|
14497
|
+
/*testid*/
|
|
14498
|
+
1) {
|
|
14499
|
+
attr(div1, "data-testid",
|
|
14500
|
+
/*testid*/
|
|
14501
|
+
ctx[0]);
|
|
14502
|
+
}
|
|
14503
|
+
},
|
|
14504
|
+
|
|
14505
|
+
i: noop,
|
|
14506
|
+
o: noop,
|
|
14507
|
+
|
|
14508
|
+
d(detaching) {
|
|
14509
|
+
if (detaching) detach(div1);
|
|
14510
|
+
/*div0_binding*/
|
|
14511
|
+
|
|
14512
|
+
ctx[8](null);
|
|
14513
|
+
if (if_block) if_block.d();
|
|
14514
|
+
mounted = false;
|
|
14515
|
+
dispose();
|
|
14516
|
+
}
|
|
14517
|
+
|
|
14518
|
+
};
|
|
14519
|
+
}
|
|
14520
|
+
|
|
14521
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
14522
|
+
let paddedContent;
|
|
14523
|
+
let {
|
|
14524
|
+
testid = ""
|
|
14525
|
+
} = $$props;
|
|
14526
|
+
let {
|
|
14527
|
+
maxwidth = "320px"
|
|
14528
|
+
} = $$props;
|
|
14529
|
+
let {
|
|
14530
|
+
padded = "true"
|
|
14531
|
+
} = $$props;
|
|
14532
|
+
let _isContentVisible = false;
|
|
14533
|
+
|
|
14534
|
+
let _targetEl;
|
|
14535
|
+
|
|
14536
|
+
onMount(async () => {
|
|
14537
|
+
await tick();
|
|
14538
|
+
addFocusEventListener();
|
|
14539
|
+
});
|
|
14540
|
+
onDestroy(() => {
|
|
14541
|
+
removeEventListeners();
|
|
14542
|
+
});
|
|
14543
|
+
|
|
14544
|
+
function showPopover() {
|
|
14545
|
+
$$invalidate(2, _isContentVisible = true);
|
|
14546
|
+
}
|
|
14547
|
+
|
|
14548
|
+
function closePopover() {
|
|
14549
|
+
$$invalidate(2, _isContentVisible = false);
|
|
14550
|
+
}
|
|
14551
|
+
|
|
14552
|
+
const onInputKeyDown = e => {
|
|
14553
|
+
switch (e.key) {
|
|
14554
|
+
case " ":
|
|
14555
|
+
case "Enter":
|
|
14556
|
+
_isContentVisible ? closePopover() : showPopover();
|
|
14557
|
+
e.preventDefault();
|
|
14558
|
+
break;
|
|
14559
|
+
|
|
14560
|
+
case "Escape":
|
|
14561
|
+
_isContentVisible && closePopover();
|
|
14562
|
+
e.preventDefault();
|
|
14563
|
+
break;
|
|
14564
|
+
}
|
|
14565
|
+
};
|
|
14566
|
+
|
|
14567
|
+
function addFocusEventListener() {
|
|
14568
|
+
_targetEl.addEventListener("focus", onFocus, true);
|
|
14569
|
+
}
|
|
14570
|
+
|
|
14571
|
+
function removeEventListeners() {
|
|
14572
|
+
_targetEl.removeEventListener("focus", onFocus);
|
|
14573
|
+
|
|
14574
|
+
_targetEl.removeEventListener("keydown", onInputKeyDown);
|
|
14575
|
+
} // add required bindings to component
|
|
14576
|
+
|
|
14577
|
+
|
|
14578
|
+
function onFocus() {
|
|
14579
|
+
_targetEl.addEventListener("keydown", onInputKeyDown);
|
|
14580
|
+
}
|
|
14581
|
+
|
|
14582
|
+
function div0_binding($$value) {
|
|
14583
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
14584
|
+
_targetEl = $$value;
|
|
14585
|
+
$$invalidate(3, _targetEl);
|
|
14586
|
+
});
|
|
14587
|
+
}
|
|
14588
|
+
|
|
14589
|
+
$$self.$$set = $$props => {
|
|
14590
|
+
if ('testid' in $$props) $$invalidate(0, testid = $$props.testid);
|
|
14591
|
+
if ('maxwidth' in $$props) $$invalidate(1, maxwidth = $$props.maxwidth);
|
|
14592
|
+
if ('padded' in $$props) $$invalidate(7, padded = $$props.padded);
|
|
14593
|
+
};
|
|
14594
|
+
|
|
14595
|
+
$$self.$$.update = () => {
|
|
14596
|
+
if ($$self.$$.dirty &
|
|
14597
|
+
/*padded*/
|
|
14598
|
+
128) {
|
|
14599
|
+
$$invalidate(4, paddedContent = toBoolean(padded));
|
|
14600
|
+
}
|
|
14601
|
+
};
|
|
14602
|
+
|
|
14603
|
+
return [testid, maxwidth, _isContentVisible, _targetEl, paddedContent, showPopover, closePopover, padded, div0_binding];
|
|
14604
|
+
}
|
|
14605
|
+
|
|
14606
|
+
class Popover extends SvelteElement {
|
|
14607
|
+
constructor(options) {
|
|
14608
|
+
super();
|
|
14609
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-4)}.popover-target{width:fit-content;cursor:pointer}.popover-target:focus{outline:var(--goa-border-width-l) solid var(--goa-color-interactive-focus)}.popover-content{position:absolute;left:0;right:0;margin-top:3px;list-style-type:none;background:var(--goa-color-greyscale-white);border-radius:var(--goa-border-radius-m);outline:none;box-shadow:var(--shadow-1);z-index:99}.popover-background{cursor:default;position:fixed;z-index:98;inset:0}.popover-container{position:relative}</style>`;
|
|
14610
|
+
init(this, {
|
|
14611
|
+
target: this.shadowRoot,
|
|
14612
|
+
props: attribute_to_object(this.attributes),
|
|
14613
|
+
customElement: true
|
|
14614
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
14615
|
+
testid: 0,
|
|
14616
|
+
maxwidth: 1,
|
|
14617
|
+
padded: 7
|
|
14618
|
+
}, null);
|
|
14619
|
+
|
|
14620
|
+
if (options) {
|
|
14621
|
+
if (options.target) {
|
|
14622
|
+
insert(options.target, this, options.anchor);
|
|
14623
|
+
}
|
|
14624
|
+
|
|
14625
|
+
if (options.props) {
|
|
14626
|
+
this.$set(options.props);
|
|
14627
|
+
flush();
|
|
14628
|
+
}
|
|
14629
|
+
}
|
|
14630
|
+
}
|
|
14631
|
+
|
|
14632
|
+
static get observedAttributes() {
|
|
14633
|
+
return ["testid", "maxwidth", "padded"];
|
|
14634
|
+
}
|
|
14635
|
+
|
|
14636
|
+
get testid() {
|
|
14637
|
+
return this.$$.ctx[0];
|
|
14638
|
+
}
|
|
14639
|
+
|
|
14640
|
+
set testid(testid) {
|
|
14641
|
+
this.$$set({
|
|
14642
|
+
testid
|
|
14643
|
+
});
|
|
14644
|
+
flush();
|
|
14645
|
+
}
|
|
14646
|
+
|
|
14647
|
+
get maxwidth() {
|
|
14648
|
+
return this.$$.ctx[1];
|
|
14649
|
+
}
|
|
14650
|
+
|
|
14651
|
+
set maxwidth(maxwidth) {
|
|
14652
|
+
this.$$set({
|
|
14653
|
+
maxwidth
|
|
14654
|
+
});
|
|
14655
|
+
flush();
|
|
14656
|
+
}
|
|
14657
|
+
|
|
14658
|
+
get padded() {
|
|
14659
|
+
return this.$$.ctx[7];
|
|
14660
|
+
}
|
|
14661
|
+
|
|
14662
|
+
set padded(padded) {
|
|
14663
|
+
this.$$set({
|
|
14664
|
+
padded
|
|
14665
|
+
});
|
|
14666
|
+
flush();
|
|
14667
|
+
}
|
|
14668
|
+
|
|
14669
|
+
}
|
|
14670
|
+
|
|
14671
|
+
customElements.define("goa-popover", Popover);
|
|
14320
14672
|
/* libs/web-components/src/components/radio-group/RadioGroup.svelte generated by Svelte v3.51.0 */
|
|
14321
14673
|
|
|
14322
14674
|
function get_each_context$1(ctx, list, i) {
|
|
@@ -20588,6 +20940,26 @@ function GoAPagination(props) {
|
|
|
20588
20940
|
}, void 0);
|
|
20589
20941
|
}
|
|
20590
20942
|
|
|
20943
|
+
const GoAPopover = ({
|
|
20944
|
+
target,
|
|
20945
|
+
testId,
|
|
20946
|
+
maxWidth,
|
|
20947
|
+
padded,
|
|
20948
|
+
children
|
|
20949
|
+
}) => {
|
|
20950
|
+
return jsxs("goa-popover", Object.assign({
|
|
20951
|
+
"data-testid": testId,
|
|
20952
|
+
maxwidth: maxWidth,
|
|
20953
|
+
padded: padded
|
|
20954
|
+
}, {
|
|
20955
|
+
children: [children, target && jsx("div", Object.assign({
|
|
20956
|
+
slot: "target"
|
|
20957
|
+
}, {
|
|
20958
|
+
children: target
|
|
20959
|
+
}), void 0)]
|
|
20960
|
+
}), void 0);
|
|
20961
|
+
};
|
|
20962
|
+
|
|
20591
20963
|
const GoASkeleton = ({
|
|
20592
20964
|
maxWidth,
|
|
20593
20965
|
size,
|
|
@@ -20759,4 +21131,4 @@ function GoATwoColumnLayout(props) {
|
|
|
20759
21131
|
}), void 0);
|
|
20760
21132
|
}
|
|
20761
21133
|
|
|
20762
|
-
export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADetails, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAFormStep, GoAFormStepper, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoAPages, GoAPagination, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|
|
21134
|
+
export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADetails, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAFormStep, GoAFormStepper, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoAPages, GoAPagination, GoAPopover, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|