@abgov/react-components 4.0.0-alpha.109 → 4.0.0-alpha.110
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/lib/table/table.d.ts +2 -0
- package/package.json +1 -1
- package/react-components.esm.js +417 -179
- package/react-components.umd.js +416 -179
package/react-components.esm.js
CHANGED
|
@@ -1083,7 +1083,7 @@ function typeValidator(message, values, required = false) {
|
|
|
1083
1083
|
/* libs/web-components/src/components/accordion/Accordion.svelte generated by Svelte v3.51.0 */
|
|
1084
1084
|
|
|
1085
1085
|
|
|
1086
|
-
function create_fragment$
|
|
1086
|
+
function create_fragment$I(ctx) {
|
|
1087
1087
|
let div3;
|
|
1088
1088
|
let details;
|
|
1089
1089
|
let summary;
|
|
@@ -1286,7 +1286,7 @@ function create_fragment$H(ctx) {
|
|
|
1286
1286
|
};
|
|
1287
1287
|
}
|
|
1288
1288
|
|
|
1289
|
-
function instance$
|
|
1289
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
1290
1290
|
let isOpen;
|
|
1291
1291
|
const [HeadingSizes, validateHeadingSize] = typeValidator("Accordion heading size", ["small", "medium"]);
|
|
1292
1292
|
let {
|
|
@@ -1364,7 +1364,7 @@ class Accordion extends SvelteElement {
|
|
|
1364
1364
|
target: this.shadowRoot,
|
|
1365
1365
|
props: attribute_to_object(this.attributes),
|
|
1366
1366
|
customElement: true
|
|
1367
|
-
}, instance$
|
|
1367
|
+
}, instance$C, create_fragment$I, safe_not_equal, {
|
|
1368
1368
|
open: 10,
|
|
1369
1369
|
heading: 0,
|
|
1370
1370
|
secondarytext: 1,
|
|
@@ -1496,7 +1496,7 @@ class Accordion extends SvelteElement {
|
|
|
1496
1496
|
customElements.define("goa-accordion", Accordion);
|
|
1497
1497
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.51.0 */
|
|
1498
1498
|
|
|
1499
|
-
function create_else_block$
|
|
1499
|
+
function create_else_block$5(ctx) {
|
|
1500
1500
|
let div;
|
|
1501
1501
|
let img0;
|
|
1502
1502
|
let img0_src_value;
|
|
@@ -1553,7 +1553,7 @@ function create_else_block$4(ctx) {
|
|
|
1553
1553
|
} // (19:4) {#if url}
|
|
1554
1554
|
|
|
1555
1555
|
|
|
1556
|
-
function create_if_block$
|
|
1556
|
+
function create_if_block$j(ctx) {
|
|
1557
1557
|
let a;
|
|
1558
1558
|
let img0;
|
|
1559
1559
|
let img0_src_value;
|
|
@@ -1620,7 +1620,7 @@ function create_if_block$i(ctx) {
|
|
|
1620
1620
|
};
|
|
1621
1621
|
}
|
|
1622
1622
|
|
|
1623
|
-
function create_fragment$
|
|
1623
|
+
function create_fragment$H(ctx) {
|
|
1624
1624
|
let div2;
|
|
1625
1625
|
let div1;
|
|
1626
1626
|
let t;
|
|
@@ -1630,8 +1630,8 @@ function create_fragment$G(ctx) {
|
|
|
1630
1630
|
function select_block_type(ctx, dirty) {
|
|
1631
1631
|
if (
|
|
1632
1632
|
/*url*/
|
|
1633
|
-
ctx[1]) return create_if_block$
|
|
1634
|
-
return create_else_block$
|
|
1633
|
+
ctx[1]) return create_if_block$j;
|
|
1634
|
+
return create_else_block$5;
|
|
1635
1635
|
}
|
|
1636
1636
|
|
|
1637
1637
|
let current_block_type = select_block_type(ctx);
|
|
@@ -1704,7 +1704,7 @@ function create_fragment$G(ctx) {
|
|
|
1704
1704
|
};
|
|
1705
1705
|
}
|
|
1706
1706
|
|
|
1707
|
-
function instance$
|
|
1707
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
1708
1708
|
let {
|
|
1709
1709
|
heading = ""
|
|
1710
1710
|
} = $$props;
|
|
@@ -1736,7 +1736,7 @@ class AppHeader extends SvelteElement {
|
|
|
1736
1736
|
target: this.shadowRoot,
|
|
1737
1737
|
props: attribute_to_object(this.attributes),
|
|
1738
1738
|
customElement: true
|
|
1739
|
-
}, instance$
|
|
1739
|
+
}, instance$B, create_fragment$H, safe_not_equal, {
|
|
1740
1740
|
heading: 0,
|
|
1741
1741
|
url: 1,
|
|
1742
1742
|
testid: 2,
|
|
@@ -1808,7 +1808,7 @@ class AppHeader extends SvelteElement {
|
|
|
1808
1808
|
customElements.define("goa-app-header", AppHeader);
|
|
1809
1809
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.51.0 */
|
|
1810
1810
|
|
|
1811
|
-
function create_else_block$
|
|
1811
|
+
function create_else_block$4(ctx) {
|
|
1812
1812
|
let div;
|
|
1813
1813
|
return {
|
|
1814
1814
|
c() {
|
|
@@ -1864,7 +1864,7 @@ function create_if_block_1$a(ctx) {
|
|
|
1864
1864
|
} // (50:2) {#if content}
|
|
1865
1865
|
|
|
1866
1866
|
|
|
1867
|
-
function create_if_block$
|
|
1867
|
+
function create_if_block$i(ctx) {
|
|
1868
1868
|
let div;
|
|
1869
1869
|
let t;
|
|
1870
1870
|
return {
|
|
@@ -1896,7 +1896,7 @@ function create_if_block$h(ctx) {
|
|
|
1896
1896
|
};
|
|
1897
1897
|
}
|
|
1898
1898
|
|
|
1899
|
-
function create_fragment$
|
|
1899
|
+
function create_fragment$G(ctx) {
|
|
1900
1900
|
let div;
|
|
1901
1901
|
let t;
|
|
1902
1902
|
let div_style_value;
|
|
@@ -1906,14 +1906,14 @@ function create_fragment$F(ctx) {
|
|
|
1906
1906
|
if (
|
|
1907
1907
|
/*showIcon*/
|
|
1908
1908
|
ctx[7]) return create_if_block_1$a;
|
|
1909
|
-
return create_else_block$
|
|
1909
|
+
return create_else_block$4;
|
|
1910
1910
|
}
|
|
1911
1911
|
|
|
1912
1912
|
let current_block_type = select_block_type(ctx);
|
|
1913
1913
|
let if_block0 = current_block_type(ctx);
|
|
1914
1914
|
let if_block1 =
|
|
1915
1915
|
/*content*/
|
|
1916
|
-
ctx[2] && create_if_block$
|
|
1916
|
+
ctx[2] && create_if_block$i(ctx);
|
|
1917
1917
|
return {
|
|
1918
1918
|
c() {
|
|
1919
1919
|
div = element("div");
|
|
@@ -1970,7 +1970,7 @@ function create_fragment$F(ctx) {
|
|
|
1970
1970
|
if (if_block1) {
|
|
1971
1971
|
if_block1.p(ctx, dirty);
|
|
1972
1972
|
} else {
|
|
1973
|
-
if_block1 = create_if_block$
|
|
1973
|
+
if_block1 = create_if_block$i(ctx);
|
|
1974
1974
|
if_block1.c();
|
|
1975
1975
|
if_block1.m(div, null);
|
|
1976
1976
|
}
|
|
@@ -2032,7 +2032,7 @@ function create_fragment$F(ctx) {
|
|
|
2032
2032
|
};
|
|
2033
2033
|
}
|
|
2034
2034
|
|
|
2035
|
-
function instance$
|
|
2035
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
2036
2036
|
let showIcon;
|
|
2037
2037
|
let iconType;
|
|
2038
2038
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -2112,7 +2112,7 @@ class Badge extends SvelteElement {
|
|
|
2112
2112
|
target: this.shadowRoot,
|
|
2113
2113
|
props: attribute_to_object(this.attributes),
|
|
2114
2114
|
customElement: true
|
|
2115
|
-
}, instance$
|
|
2115
|
+
}, instance$A, create_fragment$G, safe_not_equal, {
|
|
2116
2116
|
type: 0,
|
|
2117
2117
|
testid: 1,
|
|
2118
2118
|
content: 2,
|
|
@@ -2232,7 +2232,7 @@ class Badge extends SvelteElement {
|
|
|
2232
2232
|
customElements.define("goa-badge", Badge);
|
|
2233
2233
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
2234
2234
|
|
|
2235
|
-
function create_fragment$
|
|
2235
|
+
function create_fragment$F(ctx) {
|
|
2236
2236
|
let div;
|
|
2237
2237
|
let slot;
|
|
2238
2238
|
let div_style_value;
|
|
@@ -2306,7 +2306,7 @@ function create_fragment$E(ctx) {
|
|
|
2306
2306
|
};
|
|
2307
2307
|
}
|
|
2308
2308
|
|
|
2309
|
-
function instance$
|
|
2309
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
2310
2310
|
let {
|
|
2311
2311
|
gap = "m"
|
|
2312
2312
|
} = $$props;
|
|
@@ -2350,7 +2350,7 @@ class Block extends SvelteElement {
|
|
|
2350
2350
|
target: this.shadowRoot,
|
|
2351
2351
|
props: attribute_to_object(this.attributes),
|
|
2352
2352
|
customElement: true
|
|
2353
|
-
}, instance$
|
|
2353
|
+
}, instance$z, create_fragment$F, safe_not_equal, {
|
|
2354
2354
|
gap: 0,
|
|
2355
2355
|
direction: 1,
|
|
2356
2356
|
alignment: 2,
|
|
@@ -2458,7 +2458,7 @@ class Block extends SvelteElement {
|
|
|
2458
2458
|
customElements.define("goa-block", Block);
|
|
2459
2459
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2460
2460
|
|
|
2461
|
-
function create_else_block$
|
|
2461
|
+
function create_else_block$3(ctx) {
|
|
2462
2462
|
let t0;
|
|
2463
2463
|
let span;
|
|
2464
2464
|
let t1;
|
|
@@ -2535,7 +2535,7 @@ function create_else_block$2(ctx) {
|
|
|
2535
2535
|
} // (46:2) {#if type === "start"}
|
|
2536
2536
|
|
|
2537
2537
|
|
|
2538
|
-
function create_if_block$
|
|
2538
|
+
function create_if_block$h(ctx) {
|
|
2539
2539
|
let span;
|
|
2540
2540
|
let t;
|
|
2541
2541
|
let goa_icon;
|
|
@@ -2656,7 +2656,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2656
2656
|
};
|
|
2657
2657
|
}
|
|
2658
2658
|
|
|
2659
|
-
function create_fragment$
|
|
2659
|
+
function create_fragment$E(ctx) {
|
|
2660
2660
|
let button;
|
|
2661
2661
|
let button_class_value;
|
|
2662
2662
|
let button_style_value;
|
|
@@ -2666,8 +2666,8 @@ function create_fragment$D(ctx) {
|
|
|
2666
2666
|
function select_block_type(ctx, dirty) {
|
|
2667
2667
|
if (
|
|
2668
2668
|
/*type*/
|
|
2669
|
-
ctx[0] === "start") return create_if_block$
|
|
2670
|
-
return create_else_block$
|
|
2669
|
+
ctx[0] === "start") return create_if_block$h;
|
|
2670
|
+
return create_else_block$3;
|
|
2671
2671
|
}
|
|
2672
2672
|
|
|
2673
2673
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2810,7 +2810,7 @@ function create_fragment$D(ctx) {
|
|
|
2810
2810
|
};
|
|
2811
2811
|
}
|
|
2812
2812
|
|
|
2813
|
-
function instance$
|
|
2813
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
2814
2814
|
let isDisabled;
|
|
2815
2815
|
let isButtonDark;
|
|
2816
2816
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2905,7 +2905,7 @@ class Button extends SvelteElement {
|
|
|
2905
2905
|
target: this.shadowRoot,
|
|
2906
2906
|
props: attribute_to_object(this.attributes),
|
|
2907
2907
|
customElement: true
|
|
2908
|
-
}, instance$
|
|
2908
|
+
}, instance$y, create_fragment$E, safe_not_equal, {
|
|
2909
2909
|
type: 0,
|
|
2910
2910
|
size: 1,
|
|
2911
2911
|
variant: 2,
|
|
@@ -3061,7 +3061,7 @@ class Button extends SvelteElement {
|
|
|
3061
3061
|
customElements.define("goa-button", Button);
|
|
3062
3062
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
3063
3063
|
|
|
3064
|
-
function create_fragment$
|
|
3064
|
+
function create_fragment$D(ctx) {
|
|
3065
3065
|
let div;
|
|
3066
3066
|
let slot;
|
|
3067
3067
|
let div_style_value;
|
|
@@ -3131,7 +3131,7 @@ function create_fragment$C(ctx) {
|
|
|
3131
3131
|
};
|
|
3132
3132
|
}
|
|
3133
3133
|
|
|
3134
|
-
function instance$
|
|
3134
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
3135
3135
|
let _alignment;
|
|
3136
3136
|
|
|
3137
3137
|
let {
|
|
@@ -3195,7 +3195,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3195
3195
|
target: this.shadowRoot,
|
|
3196
3196
|
props: attribute_to_object(this.attributes),
|
|
3197
3197
|
customElement: true
|
|
3198
|
-
}, instance$
|
|
3198
|
+
}, instance$x, create_fragment$D, safe_not_equal, {
|
|
3199
3199
|
alignment: 7,
|
|
3200
3200
|
gap: 0,
|
|
3201
3201
|
testid: 1,
|
|
@@ -3303,7 +3303,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3303
3303
|
customElements.define("goa-button-group", ButtonGroup);
|
|
3304
3304
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
3305
3305
|
|
|
3306
|
-
function create_if_block$
|
|
3306
|
+
function create_if_block$g(ctx) {
|
|
3307
3307
|
let h3;
|
|
3308
3308
|
let t;
|
|
3309
3309
|
return {
|
|
@@ -3334,7 +3334,7 @@ function create_if_block$f(ctx) {
|
|
|
3334
3334
|
};
|
|
3335
3335
|
}
|
|
3336
3336
|
|
|
3337
|
-
function create_fragment$
|
|
3337
|
+
function create_fragment$C(ctx) {
|
|
3338
3338
|
let div;
|
|
3339
3339
|
let span0;
|
|
3340
3340
|
let goa_icon;
|
|
@@ -3347,7 +3347,7 @@ function create_fragment$B(ctx) {
|
|
|
3347
3347
|
let div_style_value;
|
|
3348
3348
|
let if_block =
|
|
3349
3349
|
/*heading*/
|
|
3350
|
-
ctx[5] && create_if_block$
|
|
3350
|
+
ctx[5] && create_if_block$g(ctx);
|
|
3351
3351
|
return {
|
|
3352
3352
|
c() {
|
|
3353
3353
|
div = element("div");
|
|
@@ -3426,7 +3426,7 @@ function create_fragment$B(ctx) {
|
|
|
3426
3426
|
if (if_block) {
|
|
3427
3427
|
if_block.p(ctx, dirty);
|
|
3428
3428
|
} else {
|
|
3429
|
-
if_block = create_if_block$
|
|
3429
|
+
if_block = create_if_block$g(ctx);
|
|
3430
3430
|
if_block.c();
|
|
3431
3431
|
if_block.m(span1, t1);
|
|
3432
3432
|
}
|
|
@@ -3469,7 +3469,7 @@ function create_fragment$B(ctx) {
|
|
|
3469
3469
|
};
|
|
3470
3470
|
}
|
|
3471
3471
|
|
|
3472
|
-
function instance$
|
|
3472
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
3473
3473
|
let iconType;
|
|
3474
3474
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3475
3475
|
let {
|
|
@@ -3526,7 +3526,7 @@ class Callout extends SvelteElement {
|
|
|
3526
3526
|
target: this.shadowRoot,
|
|
3527
3527
|
props: attribute_to_object(this.attributes),
|
|
3528
3528
|
customElement: true
|
|
3529
|
-
}, instance$
|
|
3529
|
+
}, instance$w, create_fragment$C, safe_not_equal, {
|
|
3530
3530
|
mt: 0,
|
|
3531
3531
|
mr: 1,
|
|
3532
3532
|
mb: 2,
|
|
@@ -3634,7 +3634,7 @@ class Callout extends SvelteElement {
|
|
|
3634
3634
|
customElements.define("goa-callout", Callout);
|
|
3635
3635
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3636
3636
|
|
|
3637
|
-
function create_fragment$
|
|
3637
|
+
function create_fragment$B(ctx) {
|
|
3638
3638
|
let goa_card_content;
|
|
3639
3639
|
return {
|
|
3640
3640
|
c() {
|
|
@@ -3665,7 +3665,7 @@ class CardActions extends SvelteElement {
|
|
|
3665
3665
|
target: this.shadowRoot,
|
|
3666
3666
|
props: attribute_to_object(this.attributes),
|
|
3667
3667
|
customElement: true
|
|
3668
|
-
}, null, create_fragment$
|
|
3668
|
+
}, null, create_fragment$B, safe_not_equal, {}, null);
|
|
3669
3669
|
|
|
3670
3670
|
if (options) {
|
|
3671
3671
|
if (options.target) {
|
|
@@ -3679,7 +3679,7 @@ class CardActions extends SvelteElement {
|
|
|
3679
3679
|
customElements.define("goa-card-actions", CardActions);
|
|
3680
3680
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3681
3681
|
|
|
3682
|
-
function create_fragment$
|
|
3682
|
+
function create_fragment$A(ctx) {
|
|
3683
3683
|
let div;
|
|
3684
3684
|
let slot;
|
|
3685
3685
|
let div_style_value;
|
|
@@ -3758,7 +3758,7 @@ function create_fragment$z(ctx) {
|
|
|
3758
3758
|
};
|
|
3759
3759
|
}
|
|
3760
3760
|
|
|
3761
|
-
function instance$
|
|
3761
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
3762
3762
|
let {
|
|
3763
3763
|
elevation = 0
|
|
3764
3764
|
} = $$props;
|
|
@@ -3806,7 +3806,7 @@ class Card extends SvelteElement {
|
|
|
3806
3806
|
target: this.shadowRoot,
|
|
3807
3807
|
props: attribute_to_object(this.attributes),
|
|
3808
3808
|
customElement: true
|
|
3809
|
-
}, instance$
|
|
3809
|
+
}, instance$v, create_fragment$A, safe_not_equal, {
|
|
3810
3810
|
elevation: 0,
|
|
3811
3811
|
width: 1,
|
|
3812
3812
|
height: 2,
|
|
@@ -3926,7 +3926,7 @@ class Card extends SvelteElement {
|
|
|
3926
3926
|
customElements.define("goa-card", Card);
|
|
3927
3927
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3928
3928
|
|
|
3929
|
-
function create_fragment$
|
|
3929
|
+
function create_fragment$z(ctx) {
|
|
3930
3930
|
let div;
|
|
3931
3931
|
return {
|
|
3932
3932
|
c() {
|
|
@@ -3959,7 +3959,7 @@ class CardContent extends SvelteElement {
|
|
|
3959
3959
|
target: this.shadowRoot,
|
|
3960
3960
|
props: attribute_to_object(this.attributes),
|
|
3961
3961
|
customElement: true
|
|
3962
|
-
}, null, create_fragment$
|
|
3962
|
+
}, null, create_fragment$z, safe_not_equal, {}, null);
|
|
3963
3963
|
|
|
3964
3964
|
if (options) {
|
|
3965
3965
|
if (options.target) {
|
|
@@ -3973,7 +3973,7 @@ class CardContent extends SvelteElement {
|
|
|
3973
3973
|
customElements.define("goa-card-content", CardContent);
|
|
3974
3974
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3975
3975
|
|
|
3976
|
-
function create_fragment$
|
|
3976
|
+
function create_fragment$y(ctx) {
|
|
3977
3977
|
let div;
|
|
3978
3978
|
return {
|
|
3979
3979
|
c() {
|
|
@@ -4006,7 +4006,7 @@ class CardGroup extends SvelteElement {
|
|
|
4006
4006
|
target: this.shadowRoot,
|
|
4007
4007
|
props: attribute_to_object(this.attributes),
|
|
4008
4008
|
customElement: true
|
|
4009
|
-
}, null, create_fragment$
|
|
4009
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
4010
4010
|
|
|
4011
4011
|
if (options) {
|
|
4012
4012
|
if (options.target) {
|
|
@@ -4020,7 +4020,7 @@ class CardGroup extends SvelteElement {
|
|
|
4020
4020
|
customElements.define("goa-card-group", CardGroup);
|
|
4021
4021
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
4022
4022
|
|
|
4023
|
-
function create_fragment$
|
|
4023
|
+
function create_fragment$x(ctx) {
|
|
4024
4024
|
let div;
|
|
4025
4025
|
return {
|
|
4026
4026
|
c() {
|
|
@@ -4068,7 +4068,7 @@ function create_fragment$w(ctx) {
|
|
|
4068
4068
|
};
|
|
4069
4069
|
}
|
|
4070
4070
|
|
|
4071
|
-
function instance$
|
|
4071
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
4072
4072
|
let {
|
|
4073
4073
|
src
|
|
4074
4074
|
} = $$props;
|
|
@@ -4092,7 +4092,7 @@ class CardImage extends SvelteElement {
|
|
|
4092
4092
|
target: this.shadowRoot,
|
|
4093
4093
|
props: attribute_to_object(this.attributes),
|
|
4094
4094
|
customElement: true
|
|
4095
|
-
}, instance$
|
|
4095
|
+
}, instance$u, create_fragment$x, safe_not_equal, {
|
|
4096
4096
|
src: 0,
|
|
4097
4097
|
height: 1
|
|
4098
4098
|
}, null);
|
|
@@ -4167,7 +4167,7 @@ function create_if_block_1$8(ctx) {
|
|
|
4167
4167
|
} // (68:4) {#if isIndeterminate}
|
|
4168
4168
|
|
|
4169
4169
|
|
|
4170
|
-
function create_if_block$
|
|
4170
|
+
function create_if_block$f(ctx) {
|
|
4171
4171
|
let svg;
|
|
4172
4172
|
let rect;
|
|
4173
4173
|
return {
|
|
@@ -4194,7 +4194,7 @@ function create_if_block$e(ctx) {
|
|
|
4194
4194
|
};
|
|
4195
4195
|
}
|
|
4196
4196
|
|
|
4197
|
-
function create_fragment$
|
|
4197
|
+
function create_fragment$w(ctx) {
|
|
4198
4198
|
let label;
|
|
4199
4199
|
let div0;
|
|
4200
4200
|
let input;
|
|
@@ -4212,7 +4212,7 @@ function create_fragment$v(ctx) {
|
|
|
4212
4212
|
function select_block_type(ctx, dirty) {
|
|
4213
4213
|
if (
|
|
4214
4214
|
/*isIndeterminate*/
|
|
4215
|
-
ctx[10]) return create_if_block$
|
|
4215
|
+
ctx[10]) return create_if_block$f;
|
|
4216
4216
|
if (
|
|
4217
4217
|
/*isChecked*/
|
|
4218
4218
|
ctx[9]) return create_if_block_1$8;
|
|
@@ -4443,7 +4443,7 @@ function create_fragment$v(ctx) {
|
|
|
4443
4443
|
};
|
|
4444
4444
|
}
|
|
4445
4445
|
|
|
4446
|
-
function instance$
|
|
4446
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
4447
4447
|
let isDisabled;
|
|
4448
4448
|
let isError;
|
|
4449
4449
|
let isChecked;
|
|
@@ -4558,7 +4558,7 @@ class Checkbox extends SvelteElement {
|
|
|
4558
4558
|
target: this.shadowRoot,
|
|
4559
4559
|
props: attribute_to_object(this.attributes),
|
|
4560
4560
|
customElement: true
|
|
4561
|
-
}, instance$
|
|
4561
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
4562
4562
|
name: 0,
|
|
4563
4563
|
checked: 14,
|
|
4564
4564
|
text: 1,
|
|
@@ -4760,7 +4760,7 @@ function create_if_block_1$7(ctx) {
|
|
|
4760
4760
|
} // (54:2) {#if _deletable}
|
|
4761
4761
|
|
|
4762
4762
|
|
|
4763
|
-
function create_if_block$
|
|
4763
|
+
function create_if_block$e(ctx) {
|
|
4764
4764
|
let goa_icon;
|
|
4765
4765
|
let goa_icon_fillcolor_value;
|
|
4766
4766
|
let goa_icon_opacity_value;
|
|
@@ -4816,7 +4816,7 @@ function create_if_block$d(ctx) {
|
|
|
4816
4816
|
};
|
|
4817
4817
|
}
|
|
4818
4818
|
|
|
4819
|
-
function create_fragment$
|
|
4819
|
+
function create_fragment$v(ctx) {
|
|
4820
4820
|
let div1;
|
|
4821
4821
|
let t0;
|
|
4822
4822
|
let div0;
|
|
@@ -4830,7 +4830,7 @@ function create_fragment$u(ctx) {
|
|
|
4830
4830
|
ctx[4] && create_if_block_1$7(ctx);
|
|
4831
4831
|
let if_block1 =
|
|
4832
4832
|
/*_deletable*/
|
|
4833
|
-
ctx[11] && create_if_block$
|
|
4833
|
+
ctx[11] && create_if_block$e(ctx);
|
|
4834
4834
|
return {
|
|
4835
4835
|
c() {
|
|
4836
4836
|
div1 = element("div");
|
|
@@ -4925,7 +4925,7 @@ function create_fragment$u(ctx) {
|
|
|
4925
4925
|
if (if_block1) {
|
|
4926
4926
|
if_block1.p(ctx, dirty);
|
|
4927
4927
|
} else {
|
|
4928
|
-
if_block1 = create_if_block$
|
|
4928
|
+
if_block1 = create_if_block$e(ctx);
|
|
4929
4929
|
if_block1.c();
|
|
4930
4930
|
if_block1.m(div1, null);
|
|
4931
4931
|
}
|
|
@@ -4998,7 +4998,7 @@ function create_fragment$u(ctx) {
|
|
|
4998
4998
|
};
|
|
4999
4999
|
}
|
|
5000
5000
|
|
|
5001
|
-
function instance$
|
|
5001
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
5002
5002
|
let {
|
|
5003
5003
|
mt = null
|
|
5004
5004
|
} = $$props;
|
|
@@ -5099,7 +5099,7 @@ class Chip extends SvelteElement {
|
|
|
5099
5099
|
target: this.shadowRoot,
|
|
5100
5100
|
props: attribute_to_object(this.attributes),
|
|
5101
5101
|
customElement: true
|
|
5102
|
-
}, instance$
|
|
5102
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
5103
5103
|
mt: 0,
|
|
5104
5104
|
mr: 1,
|
|
5105
5105
|
mb: 2,
|
|
@@ -5356,7 +5356,7 @@ function noscroll(_node, opts) {
|
|
|
5356
5356
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
5357
5357
|
|
|
5358
5358
|
|
|
5359
|
-
function create_if_block$
|
|
5359
|
+
function create_if_block$d(ctx) {
|
|
5360
5360
|
let current_block_type_index;
|
|
5361
5361
|
let if_block;
|
|
5362
5362
|
let if_block_anchor;
|
|
@@ -5727,12 +5727,12 @@ function create_if_block_2$5(ctx) {
|
|
|
5727
5727
|
};
|
|
5728
5728
|
}
|
|
5729
5729
|
|
|
5730
|
-
function create_fragment$
|
|
5730
|
+
function create_fragment$u(ctx) {
|
|
5731
5731
|
let if_block_anchor;
|
|
5732
5732
|
let current;
|
|
5733
5733
|
let if_block =
|
|
5734
5734
|
/*isVisible*/
|
|
5735
|
-
ctx[5] && create_if_block$
|
|
5735
|
+
ctx[5] && create_if_block$d(ctx);
|
|
5736
5736
|
return {
|
|
5737
5737
|
c() {
|
|
5738
5738
|
if (if_block) if_block.c();
|
|
@@ -5759,7 +5759,7 @@ function create_fragment$t(ctx) {
|
|
|
5759
5759
|
transition_in(if_block, 1);
|
|
5760
5760
|
}
|
|
5761
5761
|
} else {
|
|
5762
|
-
if_block = create_if_block$
|
|
5762
|
+
if_block = create_if_block$d(ctx);
|
|
5763
5763
|
if_block.c();
|
|
5764
5764
|
transition_in(if_block, 1);
|
|
5765
5765
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5792,7 +5792,7 @@ function create_fragment$t(ctx) {
|
|
|
5792
5792
|
};
|
|
5793
5793
|
}
|
|
5794
5794
|
|
|
5795
|
-
function instance$
|
|
5795
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
5796
5796
|
let isVisible;
|
|
5797
5797
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5798
5798
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5849,7 +5849,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5849
5849
|
target: this.shadowRoot,
|
|
5850
5850
|
props: attribute_to_object(this.attributes),
|
|
5851
5851
|
customElement: true
|
|
5852
|
-
}, instance$
|
|
5852
|
+
}, instance$r, create_fragment$u, safe_not_equal, {
|
|
5853
5853
|
variant: 6,
|
|
5854
5854
|
size: 7,
|
|
5855
5855
|
message: 0,
|
|
@@ -5933,7 +5933,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5933
5933
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5934
5934
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5935
5935
|
|
|
5936
|
-
function create_fragment$
|
|
5936
|
+
function create_fragment$t(ctx) {
|
|
5937
5937
|
let div3;
|
|
5938
5938
|
let header;
|
|
5939
5939
|
let div0;
|
|
@@ -6058,7 +6058,7 @@ function create_fragment$s(ctx) {
|
|
|
6058
6058
|
};
|
|
6059
6059
|
}
|
|
6060
6060
|
|
|
6061
|
-
function instance$
|
|
6061
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
6062
6062
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
6063
6063
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
6064
6064
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -6114,7 +6114,7 @@ class Container extends SvelteElement {
|
|
|
6114
6114
|
target: this.shadowRoot,
|
|
6115
6115
|
props: attribute_to_object(this.attributes),
|
|
6116
6116
|
customElement: true
|
|
6117
|
-
}, instance$
|
|
6117
|
+
}, instance$q, create_fragment$t, safe_not_equal, {
|
|
6118
6118
|
type: 0,
|
|
6119
6119
|
accent: 1,
|
|
6120
6120
|
padding: 2,
|
|
@@ -6234,7 +6234,7 @@ class Container extends SvelteElement {
|
|
|
6234
6234
|
customElements.define("goa-container", Container);
|
|
6235
6235
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
6236
6236
|
|
|
6237
|
-
function create_fragment$
|
|
6237
|
+
function create_fragment$s(ctx) {
|
|
6238
6238
|
let hr;
|
|
6239
6239
|
let hr_style_value;
|
|
6240
6240
|
return {
|
|
@@ -6293,7 +6293,7 @@ function create_fragment$r(ctx) {
|
|
|
6293
6293
|
};
|
|
6294
6294
|
}
|
|
6295
6295
|
|
|
6296
|
-
function instance$
|
|
6296
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
6297
6297
|
let {
|
|
6298
6298
|
testid = ""
|
|
6299
6299
|
} = $$props;
|
|
@@ -6329,7 +6329,7 @@ class Divider extends SvelteElement {
|
|
|
6329
6329
|
target: this.shadowRoot,
|
|
6330
6330
|
props: attribute_to_object(this.attributes),
|
|
6331
6331
|
customElement: true
|
|
6332
|
-
}, instance$
|
|
6332
|
+
}, instance$p, create_fragment$s, safe_not_equal, {
|
|
6333
6333
|
testid: 0,
|
|
6334
6334
|
mt: 1,
|
|
6335
6335
|
mr: 2,
|
|
@@ -6427,7 +6427,7 @@ function get_each_context$4(ctx, list, i) {
|
|
|
6427
6427
|
} // (256:2) {:else}
|
|
6428
6428
|
|
|
6429
6429
|
|
|
6430
|
-
function create_else_block$
|
|
6430
|
+
function create_else_block$2(ctx) {
|
|
6431
6431
|
let t0;
|
|
6432
6432
|
let goa_input;
|
|
6433
6433
|
let goa_input_arialabel_value;
|
|
@@ -6696,7 +6696,7 @@ function create_else_block$1(ctx) {
|
|
|
6696
6696
|
} // (237:2) {#if _native}
|
|
6697
6697
|
|
|
6698
6698
|
|
|
6699
|
-
function create_if_block$
|
|
6699
|
+
function create_if_block$c(ctx) {
|
|
6700
6700
|
let select;
|
|
6701
6701
|
let slot;
|
|
6702
6702
|
let select_aria_label_value;
|
|
@@ -7119,7 +7119,7 @@ function create_each_block$4(ctx) {
|
|
|
7119
7119
|
};
|
|
7120
7120
|
}
|
|
7121
7121
|
|
|
7122
|
-
function create_fragment$
|
|
7122
|
+
function create_fragment$r(ctx) {
|
|
7123
7123
|
let div;
|
|
7124
7124
|
let div_data_testid_value;
|
|
7125
7125
|
let div_style_value;
|
|
@@ -7127,8 +7127,8 @@ function create_fragment$q(ctx) {
|
|
|
7127
7127
|
function select_block_type(ctx, dirty) {
|
|
7128
7128
|
if (
|
|
7129
7129
|
/*_native*/
|
|
7130
|
-
ctx[22]) return create_if_block$
|
|
7131
|
-
return create_else_block$
|
|
7130
|
+
ctx[22]) return create_if_block$c;
|
|
7131
|
+
return create_else_block$2;
|
|
7132
7132
|
}
|
|
7133
7133
|
|
|
7134
7134
|
let current_block_type = select_block_type(ctx);
|
|
@@ -7236,7 +7236,7 @@ function create_fragment$q(ctx) {
|
|
|
7236
7236
|
};
|
|
7237
7237
|
}
|
|
7238
7238
|
|
|
7239
|
-
function instance$
|
|
7239
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
7240
7240
|
let _disabled;
|
|
7241
7241
|
|
|
7242
7242
|
let _error;
|
|
@@ -7626,7 +7626,7 @@ class Dropdown extends SvelteElement {
|
|
|
7626
7626
|
target: this.shadowRoot,
|
|
7627
7627
|
props: attribute_to_object(this.attributes),
|
|
7628
7628
|
customElement: true
|
|
7629
|
-
}, instance$
|
|
7629
|
+
}, instance$o, create_fragment$r, safe_not_equal, {
|
|
7630
7630
|
name: 0,
|
|
7631
7631
|
arialabel: 1,
|
|
7632
7632
|
value: 28,
|
|
@@ -7830,7 +7830,7 @@ class Dropdown extends SvelteElement {
|
|
|
7830
7830
|
customElements.define("goa-dropdown", Dropdown);
|
|
7831
7831
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
7832
7832
|
|
|
7833
|
-
function create_fragment$
|
|
7833
|
+
function create_fragment$q(ctx) {
|
|
7834
7834
|
return {
|
|
7835
7835
|
c() {
|
|
7836
7836
|
this.c = noop;
|
|
@@ -7851,7 +7851,7 @@ class DropdownItem extends SvelteElement {
|
|
|
7851
7851
|
target: this.shadowRoot,
|
|
7852
7852
|
props: attribute_to_object(this.attributes),
|
|
7853
7853
|
customElement: true
|
|
7854
|
-
}, null, create_fragment$
|
|
7854
|
+
}, null, create_fragment$q, safe_not_equal, {}, null);
|
|
7855
7855
|
|
|
7856
7856
|
if (options) {
|
|
7857
7857
|
if (options.target) {
|
|
@@ -7865,7 +7865,7 @@ class DropdownItem extends SvelteElement {
|
|
|
7865
7865
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
7866
7866
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7867
7867
|
|
|
7868
|
-
function create_fragment$
|
|
7868
|
+
function create_fragment$p(ctx) {
|
|
7869
7869
|
let div;
|
|
7870
7870
|
return {
|
|
7871
7871
|
c() {
|
|
@@ -7926,7 +7926,7 @@ function isFocusable(element) {
|
|
|
7926
7926
|
}
|
|
7927
7927
|
}
|
|
7928
7928
|
|
|
7929
|
-
function instance$
|
|
7929
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
7930
7930
|
let isActive;
|
|
7931
7931
|
let {
|
|
7932
7932
|
active
|
|
@@ -8095,7 +8095,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8095
8095
|
target: this.shadowRoot,
|
|
8096
8096
|
props: attribute_to_object(this.attributes),
|
|
8097
8097
|
customElement: true
|
|
8098
|
-
}, instance$
|
|
8098
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
8099
8099
|
active: 1
|
|
8100
8100
|
}, null);
|
|
8101
8101
|
|
|
@@ -8131,7 +8131,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8131
8131
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
8132
8132
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8133
8133
|
|
|
8134
|
-
function create_if_block$
|
|
8134
|
+
function create_if_block$b(ctx) {
|
|
8135
8135
|
let goa_divider;
|
|
8136
8136
|
return {
|
|
8137
8137
|
c() {
|
|
@@ -8150,7 +8150,7 @@ function create_if_block$a(ctx) {
|
|
|
8150
8150
|
};
|
|
8151
8151
|
}
|
|
8152
8152
|
|
|
8153
|
-
function create_fragment$
|
|
8153
|
+
function create_fragment$o(ctx) {
|
|
8154
8154
|
let div5;
|
|
8155
8155
|
let div4;
|
|
8156
8156
|
let div0;
|
|
@@ -8168,7 +8168,7 @@ function create_fragment$n(ctx) {
|
|
|
8168
8168
|
/*navLinks*/
|
|
8169
8169
|
ctx[2] &&
|
|
8170
8170
|
/*navLinks*/
|
|
8171
|
-
ctx[2].length > 0 && create_if_block$
|
|
8171
|
+
ctx[2].length > 0 && create_if_block$b();
|
|
8172
8172
|
return {
|
|
8173
8173
|
c() {
|
|
8174
8174
|
div5 = element("div");
|
|
@@ -8241,7 +8241,7 @@ function create_fragment$n(ctx) {
|
|
|
8241
8241
|
/*navLinks*/
|
|
8242
8242
|
ctx[2].length > 0) {
|
|
8243
8243
|
if (if_block) ;else {
|
|
8244
|
-
if_block = create_if_block$
|
|
8244
|
+
if_block = create_if_block$b();
|
|
8245
8245
|
if_block.c();
|
|
8246
8246
|
if_block.m(div4, t1);
|
|
8247
8247
|
}
|
|
@@ -8293,7 +8293,7 @@ function create_fragment$n(ctx) {
|
|
|
8293
8293
|
};
|
|
8294
8294
|
}
|
|
8295
8295
|
|
|
8296
|
-
function instance$
|
|
8296
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
8297
8297
|
let {
|
|
8298
8298
|
maxcontentwidth = ""
|
|
8299
8299
|
} = $$props;
|
|
@@ -8331,7 +8331,7 @@ class Footer extends SvelteElement {
|
|
|
8331
8331
|
target: this.shadowRoot,
|
|
8332
8332
|
props: attribute_to_object(this.attributes),
|
|
8333
8333
|
customElement: true
|
|
8334
|
-
}, instance$
|
|
8334
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
8335
8335
|
maxcontentwidth: 0
|
|
8336
8336
|
}, null);
|
|
8337
8337
|
|
|
@@ -8421,7 +8421,7 @@ function create_each_block$3(ctx) {
|
|
|
8421
8421
|
};
|
|
8422
8422
|
}
|
|
8423
8423
|
|
|
8424
|
-
function create_fragment$
|
|
8424
|
+
function create_fragment$n(ctx) {
|
|
8425
8425
|
let section;
|
|
8426
8426
|
let div;
|
|
8427
8427
|
let t;
|
|
@@ -8509,7 +8509,7 @@ function create_fragment$m(ctx) {
|
|
|
8509
8509
|
};
|
|
8510
8510
|
}
|
|
8511
8511
|
|
|
8512
|
-
function instance$
|
|
8512
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
8513
8513
|
let rootEl;
|
|
8514
8514
|
let children = [];
|
|
8515
8515
|
onMount(async () => {
|
|
@@ -8544,7 +8544,7 @@ class FooterMetaSection extends SvelteElement {
|
|
|
8544
8544
|
target: this.shadowRoot,
|
|
8545
8545
|
props: attribute_to_object(this.attributes),
|
|
8546
8546
|
customElement: true
|
|
8547
|
-
}, instance$
|
|
8547
|
+
}, instance$l, create_fragment$n, safe_not_equal, {}, null);
|
|
8548
8548
|
|
|
8549
8549
|
if (options) {
|
|
8550
8550
|
if (options.target) {
|
|
@@ -8565,7 +8565,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
8565
8565
|
} // (31:2) {#if heading}
|
|
8566
8566
|
|
|
8567
8567
|
|
|
8568
|
-
function create_if_block$
|
|
8568
|
+
function create_if_block$a(ctx) {
|
|
8569
8569
|
let div;
|
|
8570
8570
|
let t0;
|
|
8571
8571
|
let t1;
|
|
@@ -8654,7 +8654,7 @@ function create_each_block$2(ctx) {
|
|
|
8654
8654
|
};
|
|
8655
8655
|
}
|
|
8656
8656
|
|
|
8657
|
-
function create_fragment$
|
|
8657
|
+
function create_fragment$m(ctx) {
|
|
8658
8658
|
let section;
|
|
8659
8659
|
let t0;
|
|
8660
8660
|
let div;
|
|
@@ -8663,7 +8663,7 @@ function create_fragment$l(ctx) {
|
|
|
8663
8663
|
let ul_style_value;
|
|
8664
8664
|
let if_block =
|
|
8665
8665
|
/*heading*/
|
|
8666
|
-
ctx[0] && create_if_block$
|
|
8666
|
+
ctx[0] && create_if_block$a(ctx);
|
|
8667
8667
|
let each_value =
|
|
8668
8668
|
/*children*/
|
|
8669
8669
|
ctx[3];
|
|
@@ -8730,7 +8730,7 @@ function create_fragment$l(ctx) {
|
|
|
8730
8730
|
if (if_block) {
|
|
8731
8731
|
if_block.p(ctx, dirty);
|
|
8732
8732
|
} else {
|
|
8733
|
-
if_block = create_if_block$
|
|
8733
|
+
if_block = create_if_block$a(ctx);
|
|
8734
8734
|
if_block.c();
|
|
8735
8735
|
if_block.m(section, t0);
|
|
8736
8736
|
}
|
|
@@ -8801,7 +8801,7 @@ function create_fragment$l(ctx) {
|
|
|
8801
8801
|
};
|
|
8802
8802
|
}
|
|
8803
8803
|
|
|
8804
|
-
function instance$
|
|
8804
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
8805
8805
|
let {
|
|
8806
8806
|
heading = ""
|
|
8807
8807
|
} = $$props;
|
|
@@ -8852,7 +8852,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
8852
8852
|
target: this.shadowRoot,
|
|
8853
8853
|
props: attribute_to_object(this.attributes),
|
|
8854
8854
|
customElement: true
|
|
8855
|
-
}, instance$
|
|
8855
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
8856
8856
|
heading: 0,
|
|
8857
8857
|
maxcolumncount: 1
|
|
8858
8858
|
}, null);
|
|
@@ -9050,7 +9050,7 @@ function create_if_block_1$4(ctx) {
|
|
|
9050
9050
|
} // (48:2) {#if helptext}
|
|
9051
9051
|
|
|
9052
9052
|
|
|
9053
|
-
function create_if_block$
|
|
9053
|
+
function create_if_block$9(ctx) {
|
|
9054
9054
|
let div;
|
|
9055
9055
|
let t;
|
|
9056
9056
|
return {
|
|
@@ -9082,7 +9082,7 @@ function create_if_block$8(ctx) {
|
|
|
9082
9082
|
};
|
|
9083
9083
|
}
|
|
9084
9084
|
|
|
9085
|
-
function create_fragment$
|
|
9085
|
+
function create_fragment$l(ctx) {
|
|
9086
9086
|
let div1;
|
|
9087
9087
|
let t0;
|
|
9088
9088
|
let div0;
|
|
@@ -9097,7 +9097,7 @@ function create_fragment$k(ctx) {
|
|
|
9097
9097
|
ctx[7] && create_if_block_1$4(ctx);
|
|
9098
9098
|
let if_block2 =
|
|
9099
9099
|
/*helptext*/
|
|
9100
|
-
ctx[6] && create_if_block$
|
|
9100
|
+
ctx[6] && create_if_block$9(ctx);
|
|
9101
9101
|
return {
|
|
9102
9102
|
c() {
|
|
9103
9103
|
div1 = element("div");
|
|
@@ -9174,7 +9174,7 @@ function create_fragment$k(ctx) {
|
|
|
9174
9174
|
if (if_block2) {
|
|
9175
9175
|
if_block2.p(ctx, dirty);
|
|
9176
9176
|
} else {
|
|
9177
|
-
if_block2 = create_if_block$
|
|
9177
|
+
if_block2 = create_if_block$9(ctx);
|
|
9178
9178
|
if_block2.c();
|
|
9179
9179
|
if_block2.m(div1, null);
|
|
9180
9180
|
}
|
|
@@ -9219,7 +9219,7 @@ function create_fragment$k(ctx) {
|
|
|
9219
9219
|
};
|
|
9220
9220
|
}
|
|
9221
9221
|
|
|
9222
|
-
function instance$
|
|
9222
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
9223
9223
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
9224
9224
|
let {
|
|
9225
9225
|
testid = ""
|
|
@@ -9275,7 +9275,7 @@ class FormItem extends SvelteElement {
|
|
|
9275
9275
|
target: this.shadowRoot,
|
|
9276
9276
|
props: attribute_to_object(this.attributes),
|
|
9277
9277
|
customElement: true
|
|
9278
|
-
}, instance$
|
|
9278
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
9279
9279
|
testid: 0,
|
|
9280
9280
|
mt: 1,
|
|
9281
9281
|
mr: 2,
|
|
@@ -9407,7 +9407,7 @@ class FormItem extends SvelteElement {
|
|
|
9407
9407
|
customElements.define("goa-form-item", FormItem);
|
|
9408
9408
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9409
9409
|
|
|
9410
|
-
function create_fragment$
|
|
9410
|
+
function create_fragment$k(ctx) {
|
|
9411
9411
|
let div;
|
|
9412
9412
|
let slot;
|
|
9413
9413
|
let div_style_value;
|
|
@@ -9475,7 +9475,7 @@ function create_fragment$j(ctx) {
|
|
|
9475
9475
|
};
|
|
9476
9476
|
}
|
|
9477
9477
|
|
|
9478
|
-
function instance$
|
|
9478
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
9479
9479
|
let {
|
|
9480
9480
|
gap = "m"
|
|
9481
9481
|
} = $$props;
|
|
@@ -9520,7 +9520,7 @@ class Grid extends SvelteElement {
|
|
|
9520
9520
|
target: this.shadowRoot,
|
|
9521
9521
|
props: attribute_to_object(this.attributes),
|
|
9522
9522
|
customElement: true
|
|
9523
|
-
}, instance$
|
|
9523
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
9524
9524
|
gap: 0,
|
|
9525
9525
|
minchildwidth: 1,
|
|
9526
9526
|
mt: 2,
|
|
@@ -9616,7 +9616,7 @@ class Grid extends SvelteElement {
|
|
|
9616
9616
|
customElements.define("goa-grid", Grid);
|
|
9617
9617
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9618
9618
|
|
|
9619
|
-
function create_fragment$
|
|
9619
|
+
function create_fragment$j(ctx) {
|
|
9620
9620
|
let div1;
|
|
9621
9621
|
let goa_page_block;
|
|
9622
9622
|
let h1;
|
|
@@ -9701,7 +9701,7 @@ function create_fragment$i(ctx) {
|
|
|
9701
9701
|
};
|
|
9702
9702
|
}
|
|
9703
9703
|
|
|
9704
|
-
function instance$
|
|
9704
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
9705
9705
|
let {
|
|
9706
9706
|
heading
|
|
9707
9707
|
} = $$props;
|
|
@@ -9729,7 +9729,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9729
9729
|
target: this.shadowRoot,
|
|
9730
9730
|
props: attribute_to_object(this.attributes),
|
|
9731
9731
|
customElement: true
|
|
9732
|
-
}, instance$
|
|
9732
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
9733
9733
|
heading: 0,
|
|
9734
9734
|
backgroundurl: 1,
|
|
9735
9735
|
minheight: 2
|
|
@@ -9789,7 +9789,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9789
9789
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
9790
9790
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
9791
9791
|
|
|
9792
|
-
function create_fragment$
|
|
9792
|
+
function create_fragment$i(ctx) {
|
|
9793
9793
|
let button;
|
|
9794
9794
|
let goa_icon;
|
|
9795
9795
|
let button_style_value;
|
|
@@ -9961,7 +9961,7 @@ function handleClick(e) {
|
|
|
9961
9961
|
}));
|
|
9962
9962
|
}
|
|
9963
9963
|
|
|
9964
|
-
function instance$
|
|
9964
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
9965
9965
|
let css;
|
|
9966
9966
|
let isDisabled;
|
|
9967
9967
|
let isInverted;
|
|
@@ -10066,7 +10066,7 @@ class IconButton extends SvelteElement {
|
|
|
10066
10066
|
target: this.shadowRoot,
|
|
10067
10067
|
props: attribute_to_object(this.attributes),
|
|
10068
10068
|
customElement: true
|
|
10069
|
-
}, instance$
|
|
10069
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
10070
10070
|
icon: 0,
|
|
10071
10071
|
size: 1,
|
|
10072
10072
|
theme: 2,
|
|
@@ -10234,7 +10234,7 @@ class IconButton extends SvelteElement {
|
|
|
10234
10234
|
customElements.define("goa-icon-button", IconButton);
|
|
10235
10235
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
10236
10236
|
|
|
10237
|
-
function create_if_block$
|
|
10237
|
+
function create_if_block$8(ctx) {
|
|
10238
10238
|
let ion_icon;
|
|
10239
10239
|
let ion_icon_name_value;
|
|
10240
10240
|
return {
|
|
@@ -10282,12 +10282,12 @@ function create_if_block$7(ctx) {
|
|
|
10282
10282
|
};
|
|
10283
10283
|
}
|
|
10284
10284
|
|
|
10285
|
-
function create_fragment$
|
|
10285
|
+
function create_fragment$h(ctx) {
|
|
10286
10286
|
let div;
|
|
10287
10287
|
let div_style_value;
|
|
10288
10288
|
let if_block =
|
|
10289
10289
|
/*type*/
|
|
10290
|
-
ctx[4] && create_if_block$
|
|
10290
|
+
ctx[4] && create_if_block$8(ctx);
|
|
10291
10291
|
return {
|
|
10292
10292
|
c() {
|
|
10293
10293
|
div = element("div");
|
|
@@ -10340,7 +10340,7 @@ function create_fragment$g(ctx) {
|
|
|
10340
10340
|
if (if_block) {
|
|
10341
10341
|
if_block.p(ctx, dirty);
|
|
10342
10342
|
} else {
|
|
10343
|
-
if_block = create_if_block$
|
|
10343
|
+
if_block = create_if_block$8(ctx);
|
|
10344
10344
|
if_block.c();
|
|
10345
10345
|
if_block.m(div, null);
|
|
10346
10346
|
}
|
|
@@ -10413,7 +10413,7 @@ function create_fragment$g(ctx) {
|
|
|
10413
10413
|
};
|
|
10414
10414
|
}
|
|
10415
10415
|
|
|
10416
|
-
function instance$
|
|
10416
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
10417
10417
|
let isInverted;
|
|
10418
10418
|
|
|
10419
10419
|
let _size;
|
|
@@ -10503,7 +10503,7 @@ class Icon extends SvelteElement {
|
|
|
10503
10503
|
target: this.shadowRoot,
|
|
10504
10504
|
props: attribute_to_object(this.attributes),
|
|
10505
10505
|
customElement: true
|
|
10506
|
-
}, instance$
|
|
10506
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
10507
10507
|
mt: 0,
|
|
10508
10508
|
mr: 1,
|
|
10509
10509
|
mb: 2,
|
|
@@ -10840,7 +10840,7 @@ function create_if_block_1$3(ctx) {
|
|
|
10840
10840
|
} // (161:4) {#if suffix}
|
|
10841
10841
|
|
|
10842
10842
|
|
|
10843
|
-
function create_if_block$
|
|
10843
|
+
function create_if_block$7(ctx) {
|
|
10844
10844
|
let span;
|
|
10845
10845
|
let t;
|
|
10846
10846
|
return {
|
|
@@ -10872,7 +10872,7 @@ function create_if_block$6(ctx) {
|
|
|
10872
10872
|
};
|
|
10873
10873
|
}
|
|
10874
10874
|
|
|
10875
|
-
function create_fragment$
|
|
10875
|
+
function create_fragment$g(ctx) {
|
|
10876
10876
|
let div3;
|
|
10877
10877
|
let div2;
|
|
10878
10878
|
let t0;
|
|
@@ -10910,7 +10910,7 @@ function create_fragment$f(ctx) {
|
|
|
10910
10910
|
ctx[24] && create_if_block_1$3(ctx);
|
|
10911
10911
|
let if_block4 =
|
|
10912
10912
|
/*suffix*/
|
|
10913
|
-
ctx[15] && create_if_block$
|
|
10913
|
+
ctx[15] && create_if_block$7(ctx);
|
|
10914
10914
|
return {
|
|
10915
10915
|
c() {
|
|
10916
10916
|
div3 = element("div");
|
|
@@ -11231,7 +11231,7 @@ function create_fragment$f(ctx) {
|
|
|
11231
11231
|
if (if_block4) {
|
|
11232
11232
|
if_block4.p(ctx, dirty);
|
|
11233
11233
|
} else {
|
|
11234
|
-
if_block4 = create_if_block$
|
|
11234
|
+
if_block4 = create_if_block$7(ctx);
|
|
11235
11235
|
if_block4.c();
|
|
11236
11236
|
if_block4.m(div2, t6);
|
|
11237
11237
|
}
|
|
@@ -11311,7 +11311,7 @@ function doClick() {
|
|
|
11311
11311
|
}));
|
|
11312
11312
|
}
|
|
11313
11313
|
|
|
11314
|
-
function instance$
|
|
11314
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
11315
11315
|
let handlesTrailingIconClick;
|
|
11316
11316
|
let isFocused;
|
|
11317
11317
|
let isReadonly;
|
|
@@ -11531,7 +11531,7 @@ class Input extends SvelteElement {
|
|
|
11531
11531
|
target: this.shadowRoot,
|
|
11532
11532
|
props: attribute_to_object(this.attributes),
|
|
11533
11533
|
customElement: true
|
|
11534
|
-
}, instance$
|
|
11534
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
11535
11535
|
type: 1,
|
|
11536
11536
|
name: 2,
|
|
11537
11537
|
value: 0,
|
|
@@ -12029,7 +12029,7 @@ function create_if_block_2$2(ctx) {
|
|
|
12029
12029
|
} // (56:2) {#if version}
|
|
12030
12030
|
|
|
12031
12031
|
|
|
12032
|
-
function create_if_block$
|
|
12032
|
+
function create_if_block$6(ctx) {
|
|
12033
12033
|
let div;
|
|
12034
12034
|
let t;
|
|
12035
12035
|
return {
|
|
@@ -12062,7 +12062,7 @@ function create_if_block$5(ctx) {
|
|
|
12062
12062
|
};
|
|
12063
12063
|
}
|
|
12064
12064
|
|
|
12065
|
-
function create_fragment$
|
|
12065
|
+
function create_fragment$f(ctx) {
|
|
12066
12066
|
let header;
|
|
12067
12067
|
let t0;
|
|
12068
12068
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -12077,7 +12077,7 @@ function create_fragment$e(ctx) {
|
|
|
12077
12077
|
let if_block1 = show_if && create_if_block_1$2(ctx);
|
|
12078
12078
|
let if_block2 =
|
|
12079
12079
|
/*version*/
|
|
12080
|
-
ctx[1] && create_if_block$
|
|
12080
|
+
ctx[1] && create_if_block$6(ctx);
|
|
12081
12081
|
return {
|
|
12082
12082
|
c() {
|
|
12083
12083
|
header = element("header");
|
|
@@ -12143,7 +12143,7 @@ function create_fragment$e(ctx) {
|
|
|
12143
12143
|
if (if_block2) {
|
|
12144
12144
|
if_block2.p(ctx, dirty);
|
|
12145
12145
|
} else {
|
|
12146
|
-
if_block2 = create_if_block$
|
|
12146
|
+
if_block2 = create_if_block$6(ctx);
|
|
12147
12147
|
if_block2.c();
|
|
12148
12148
|
if_block2.m(header, null);
|
|
12149
12149
|
}
|
|
@@ -12171,7 +12171,7 @@ function capitalize(val) {
|
|
|
12171
12171
|
return val[0].toUpperCase() + val.slice(1);
|
|
12172
12172
|
}
|
|
12173
12173
|
|
|
12174
|
-
function instance$
|
|
12174
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
12175
12175
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
12176
12176
|
let {
|
|
12177
12177
|
type
|
|
@@ -12203,7 +12203,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12203
12203
|
target: this.shadowRoot,
|
|
12204
12204
|
props: attribute_to_object(this.attributes),
|
|
12205
12205
|
customElement: true
|
|
12206
|
-
}, instance$
|
|
12206
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
12207
12207
|
type: 0,
|
|
12208
12208
|
version: 1,
|
|
12209
12209
|
feedbackurl: 2
|
|
@@ -12263,7 +12263,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12263
12263
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
12264
12264
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
12265
12265
|
|
|
12266
|
-
function create_if_block$
|
|
12266
|
+
function create_if_block$5(ctx) {
|
|
12267
12267
|
let goa_focus_trap;
|
|
12268
12268
|
let div5;
|
|
12269
12269
|
let div0;
|
|
@@ -12668,12 +12668,12 @@ function create_if_block_1$1(ctx) {
|
|
|
12668
12668
|
};
|
|
12669
12669
|
}
|
|
12670
12670
|
|
|
12671
|
-
function create_fragment$
|
|
12671
|
+
function create_fragment$e(ctx) {
|
|
12672
12672
|
let if_block_anchor;
|
|
12673
12673
|
let current;
|
|
12674
12674
|
let if_block =
|
|
12675
12675
|
/*isOpen*/
|
|
12676
|
-
ctx[7] && create_if_block$
|
|
12676
|
+
ctx[7] && create_if_block$5(ctx);
|
|
12677
12677
|
return {
|
|
12678
12678
|
c() {
|
|
12679
12679
|
if (if_block) if_block.c();
|
|
@@ -12700,7 +12700,7 @@ function create_fragment$d(ctx) {
|
|
|
12700
12700
|
transition_in(if_block, 1);
|
|
12701
12701
|
}
|
|
12702
12702
|
} else {
|
|
12703
|
-
if_block = create_if_block$
|
|
12703
|
+
if_block = create_if_block$5(ctx);
|
|
12704
12704
|
if_block.c();
|
|
12705
12705
|
transition_in(if_block, 1);
|
|
12706
12706
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12733,7 +12733,7 @@ function create_fragment$d(ctx) {
|
|
|
12733
12733
|
};
|
|
12734
12734
|
}
|
|
12735
12735
|
|
|
12736
|
-
function instance$
|
|
12736
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
12737
12737
|
let isClosable;
|
|
12738
12738
|
let isOpen;
|
|
12739
12739
|
|
|
@@ -12823,7 +12823,7 @@ class Modal extends SvelteElement {
|
|
|
12823
12823
|
target: this.shadowRoot,
|
|
12824
12824
|
props: attribute_to_object(this.attributes),
|
|
12825
12825
|
customElement: true
|
|
12826
|
-
}, instance$
|
|
12826
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
12827
12827
|
heading: 0,
|
|
12828
12828
|
closable: 9,
|
|
12829
12829
|
open: 1,
|
|
@@ -12919,7 +12919,7 @@ class Modal extends SvelteElement {
|
|
|
12919
12919
|
customElements.define("goa-modal", Modal);
|
|
12920
12920
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
12921
12921
|
|
|
12922
|
-
function create_if_block$
|
|
12922
|
+
function create_if_block$4(ctx) {
|
|
12923
12923
|
let div3;
|
|
12924
12924
|
let div0;
|
|
12925
12925
|
let goa_icon;
|
|
@@ -13043,12 +13043,12 @@ function create_if_block$3(ctx) {
|
|
|
13043
13043
|
};
|
|
13044
13044
|
}
|
|
13045
13045
|
|
|
13046
|
-
function create_fragment$
|
|
13046
|
+
function create_fragment$d(ctx) {
|
|
13047
13047
|
let if_block_anchor;
|
|
13048
13048
|
let current;
|
|
13049
13049
|
let if_block =
|
|
13050
13050
|
/*show*/
|
|
13051
|
-
ctx[1] && create_if_block$
|
|
13051
|
+
ctx[1] && create_if_block$4(ctx);
|
|
13052
13052
|
return {
|
|
13053
13053
|
c() {
|
|
13054
13054
|
if (if_block) if_block.c();
|
|
@@ -13075,7 +13075,7 @@ function create_fragment$c(ctx) {
|
|
|
13075
13075
|
transition_in(if_block, 1);
|
|
13076
13076
|
}
|
|
13077
13077
|
} else {
|
|
13078
|
-
if_block = create_if_block$
|
|
13078
|
+
if_block = create_if_block$4(ctx);
|
|
13079
13079
|
if_block.c();
|
|
13080
13080
|
transition_in(if_block, 1);
|
|
13081
13081
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13108,7 +13108,7 @@ function create_fragment$c(ctx) {
|
|
|
13108
13108
|
};
|
|
13109
13109
|
}
|
|
13110
13110
|
|
|
13111
|
-
function instance$
|
|
13111
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
13112
13112
|
let iconType;
|
|
13113
13113
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
13114
13114
|
let {
|
|
@@ -13150,7 +13150,7 @@ class Notification extends SvelteElement {
|
|
|
13150
13150
|
target: this.shadowRoot,
|
|
13151
13151
|
props: attribute_to_object(this.attributes),
|
|
13152
13152
|
customElement: true
|
|
13153
|
-
}, instance$
|
|
13153
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
13154
13154
|
type: 0
|
|
13155
13155
|
}, null);
|
|
13156
13156
|
|
|
@@ -13192,7 +13192,7 @@ function isValidDimension(value) {
|
|
|
13192
13192
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
13193
13193
|
|
|
13194
13194
|
|
|
13195
|
-
function create_fragment$
|
|
13195
|
+
function create_fragment$c(ctx) {
|
|
13196
13196
|
let div;
|
|
13197
13197
|
let slot;
|
|
13198
13198
|
let div_style_value;
|
|
@@ -13232,7 +13232,7 @@ function create_fragment$b(ctx) {
|
|
|
13232
13232
|
};
|
|
13233
13233
|
}
|
|
13234
13234
|
|
|
13235
|
-
function instance$
|
|
13235
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
13236
13236
|
const Sizes = {
|
|
13237
13237
|
"full": "100%"
|
|
13238
13238
|
};
|
|
@@ -13273,7 +13273,7 @@ class PageBlock extends SvelteElement {
|
|
|
13273
13273
|
target: this.shadowRoot,
|
|
13274
13274
|
props: attribute_to_object(this.attributes),
|
|
13275
13275
|
customElement: true
|
|
13276
|
-
}, instance$
|
|
13276
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
13277
13277
|
width: 1,
|
|
13278
13278
|
_width: 0
|
|
13279
13279
|
}, null);
|
|
@@ -13511,7 +13511,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
13511
13511
|
};
|
|
13512
13512
|
}
|
|
13513
13513
|
|
|
13514
|
-
function create_fragment$
|
|
13514
|
+
function create_fragment$b(ctx) {
|
|
13515
13515
|
let div;
|
|
13516
13516
|
let slot;
|
|
13517
13517
|
let t;
|
|
@@ -13634,7 +13634,7 @@ function create_fragment$a(ctx) {
|
|
|
13634
13634
|
};
|
|
13635
13635
|
}
|
|
13636
13636
|
|
|
13637
|
-
function instance$
|
|
13637
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
13638
13638
|
let isDisabled;
|
|
13639
13639
|
let isError;
|
|
13640
13640
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -13778,7 +13778,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13778
13778
|
target: this.shadowRoot,
|
|
13779
13779
|
props: attribute_to_object(this.attributes),
|
|
13780
13780
|
customElement: true
|
|
13781
|
-
}, instance$
|
|
13781
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
13782
13782
|
name: 1,
|
|
13783
13783
|
value: 0,
|
|
13784
13784
|
orientation: 2,
|
|
@@ -13934,7 +13934,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13934
13934
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13935
13935
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13936
13936
|
|
|
13937
|
-
function create_fragment$
|
|
13937
|
+
function create_fragment$a(ctx) {
|
|
13938
13938
|
let div;
|
|
13939
13939
|
let slot;
|
|
13940
13940
|
let div_style_value;
|
|
@@ -14002,7 +14002,7 @@ function create_fragment$9(ctx) {
|
|
|
14002
14002
|
};
|
|
14003
14003
|
}
|
|
14004
14004
|
|
|
14005
|
-
function instance$
|
|
14005
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
14006
14006
|
let {
|
|
14007
14007
|
direction = "vertical"
|
|
14008
14008
|
} = $$props;
|
|
@@ -14034,7 +14034,7 @@ class Scrollable extends SvelteElement {
|
|
|
14034
14034
|
target: this.shadowRoot,
|
|
14035
14035
|
props: attribute_to_object(this.attributes),
|
|
14036
14036
|
customElement: true
|
|
14037
|
-
}, instance$
|
|
14037
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
14038
14038
|
direction: 0,
|
|
14039
14039
|
hpadding: 1,
|
|
14040
14040
|
vpadding: 2,
|
|
@@ -14113,7 +14113,7 @@ function get_each_context(ctx, list, i) {
|
|
|
14113
14113
|
} // (55:2) {:else}
|
|
14114
14114
|
|
|
14115
14115
|
|
|
14116
|
-
function create_else_block(ctx) {
|
|
14116
|
+
function create_else_block$1(ctx) {
|
|
14117
14117
|
let div;
|
|
14118
14118
|
let div_class_value;
|
|
14119
14119
|
return {
|
|
@@ -14375,7 +14375,7 @@ function create_if_block_1(ctx) {
|
|
|
14375
14375
|
} // (30:2) {#if type === "card"}
|
|
14376
14376
|
|
|
14377
14377
|
|
|
14378
|
-
function create_if_block$
|
|
14378
|
+
function create_if_block$3(ctx) {
|
|
14379
14379
|
let div1;
|
|
14380
14380
|
let skeleton0;
|
|
14381
14381
|
let t0;
|
|
@@ -14569,13 +14569,13 @@ function create_each_block(ctx) {
|
|
|
14569
14569
|
};
|
|
14570
14570
|
}
|
|
14571
14571
|
|
|
14572
|
-
function create_fragment$
|
|
14572
|
+
function create_fragment$9(ctx) {
|
|
14573
14573
|
let div;
|
|
14574
14574
|
let current_block_type_index;
|
|
14575
14575
|
let if_block;
|
|
14576
14576
|
let div_style_value;
|
|
14577
14577
|
let current;
|
|
14578
|
-
const if_block_creators = [create_if_block$
|
|
14578
|
+
const if_block_creators = [create_if_block$3, create_if_block_1, create_if_block_2, create_else_block$1];
|
|
14579
14579
|
const if_blocks = [];
|
|
14580
14580
|
|
|
14581
14581
|
function select_block_type(ctx, dirty) {
|
|
@@ -14685,7 +14685,7 @@ function create_fragment$8(ctx) {
|
|
|
14685
14685
|
};
|
|
14686
14686
|
}
|
|
14687
14687
|
|
|
14688
|
-
function instance$
|
|
14688
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
14689
14689
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14690
14690
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14691
14691
|
let {
|
|
@@ -14743,7 +14743,7 @@ class Skeleton extends SvelteElement {
|
|
|
14743
14743
|
target: this.shadowRoot,
|
|
14744
14744
|
props: attribute_to_object(this.attributes),
|
|
14745
14745
|
customElement: true
|
|
14746
|
-
}, instance$
|
|
14746
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
14747
14747
|
maxwidth: 0,
|
|
14748
14748
|
size: 1,
|
|
14749
14749
|
linecount: 2,
|
|
@@ -14875,7 +14875,7 @@ class Skeleton extends SvelteElement {
|
|
|
14875
14875
|
customElements.define("goa-skeleton", Skeleton);
|
|
14876
14876
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14877
14877
|
|
|
14878
|
-
function create_fragment$
|
|
14878
|
+
function create_fragment$8(ctx) {
|
|
14879
14879
|
let div;
|
|
14880
14880
|
return {
|
|
14881
14881
|
c() {
|
|
@@ -14904,7 +14904,7 @@ function create_fragment$7(ctx) {
|
|
|
14904
14904
|
};
|
|
14905
14905
|
}
|
|
14906
14906
|
|
|
14907
|
-
function instance$
|
|
14907
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
14908
14908
|
let {
|
|
14909
14909
|
hspacing = "none"
|
|
14910
14910
|
} = $$props;
|
|
@@ -14941,7 +14941,7 @@ class Spacer extends SvelteElement {
|
|
|
14941
14941
|
target: this.shadowRoot,
|
|
14942
14942
|
props: attribute_to_object(this.attributes),
|
|
14943
14943
|
customElement: true
|
|
14944
|
-
}, instance$
|
|
14944
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
14945
14945
|
hspacing: 1,
|
|
14946
14946
|
vspacing: 2
|
|
14947
14947
|
}, null);
|
|
@@ -15173,7 +15173,7 @@ function tweened(value, defaults = {}) {
|
|
|
15173
15173
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
15174
15174
|
|
|
15175
15175
|
|
|
15176
|
-
function create_if_block$
|
|
15176
|
+
function create_if_block$2(ctx) {
|
|
15177
15177
|
let svg;
|
|
15178
15178
|
let circle;
|
|
15179
15179
|
let circle_stroke_value;
|
|
@@ -15363,11 +15363,11 @@ function create_if_block$1(ctx) {
|
|
|
15363
15363
|
};
|
|
15364
15364
|
}
|
|
15365
15365
|
|
|
15366
|
-
function create_fragment$
|
|
15366
|
+
function create_fragment$7(ctx) {
|
|
15367
15367
|
let if_block_anchor;
|
|
15368
15368
|
let if_block =
|
|
15369
15369
|
/*ready*/
|
|
15370
|
-
ctx[6] && create_if_block$
|
|
15370
|
+
ctx[6] && create_if_block$2(ctx);
|
|
15371
15371
|
return {
|
|
15372
15372
|
c() {
|
|
15373
15373
|
if (if_block) if_block.c();
|
|
@@ -15387,7 +15387,7 @@ function create_fragment$6(ctx) {
|
|
|
15387
15387
|
if (if_block) {
|
|
15388
15388
|
if_block.p(ctx, dirty);
|
|
15389
15389
|
} else {
|
|
15390
|
-
if_block = create_if_block$
|
|
15390
|
+
if_block = create_if_block$2(ctx);
|
|
15391
15391
|
if_block.c();
|
|
15392
15392
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
15393
15393
|
}
|
|
@@ -15408,7 +15408,7 @@ function create_fragment$6(ctx) {
|
|
|
15408
15408
|
};
|
|
15409
15409
|
}
|
|
15410
15410
|
|
|
15411
|
-
function instance$
|
|
15411
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
15412
15412
|
let diameter;
|
|
15413
15413
|
let strokewidth;
|
|
15414
15414
|
let radius;
|
|
@@ -15539,7 +15539,7 @@ class Spinner extends SvelteElement {
|
|
|
15539
15539
|
target: this.shadowRoot,
|
|
15540
15540
|
props: attribute_to_object(this.attributes),
|
|
15541
15541
|
customElement: true
|
|
15542
|
-
}, instance$
|
|
15542
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
15543
15543
|
size: 10,
|
|
15544
15544
|
invert: 0,
|
|
15545
15545
|
progress: 11,
|
|
@@ -15611,7 +15611,7 @@ class Spinner extends SvelteElement {
|
|
|
15611
15611
|
customElements.define("goa-spinner", Spinner);
|
|
15612
15612
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15613
15613
|
|
|
15614
|
-
function create_fragment$
|
|
15614
|
+
function create_fragment$6(ctx) {
|
|
15615
15615
|
let table;
|
|
15616
15616
|
let slot;
|
|
15617
15617
|
let t0;
|
|
@@ -15713,7 +15713,7 @@ function create_fragment$5(ctx) {
|
|
|
15713
15713
|
};
|
|
15714
15714
|
}
|
|
15715
15715
|
|
|
15716
|
-
function instance$
|
|
15716
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
15717
15717
|
let _stickyHeader;
|
|
15718
15718
|
|
|
15719
15719
|
const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
|
|
@@ -15743,19 +15743,54 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
15743
15743
|
|
|
15744
15744
|
onMount(() => {
|
|
15745
15745
|
validateVariant(variant);
|
|
15746
|
+
attachSortEventHandling();
|
|
15746
15747
|
|
|
15747
15748
|
const slot = _rootEl.querySelector("slot");
|
|
15748
15749
|
|
|
15749
|
-
if (slot) {
|
|
15750
|
-
|
|
15751
|
-
|
|
15750
|
+
if (!slot || slot.assignedElements().length === 0) {
|
|
15751
|
+
return;
|
|
15752
|
+
} // React needs to nest data in a <table>...</table>
|
|
15752
15753
|
|
|
15753
|
-
|
|
15754
|
-
|
|
15755
|
-
|
|
15756
|
-
|
|
15754
|
+
|
|
15755
|
+
const content = slot.assignedElements()[0].querySelectorAll("template table > *");
|
|
15756
|
+
|
|
15757
|
+
_rootEl.append(...(content.length > 0 ? content : slot.assignedElements()));
|
|
15757
15758
|
});
|
|
15758
15759
|
|
|
15760
|
+
async function attachSortEventHandling() {
|
|
15761
|
+
await tick();
|
|
15762
|
+
|
|
15763
|
+
const headings = _rootEl.querySelectorAll("goa-table-sort-header");
|
|
15764
|
+
|
|
15765
|
+
headings.forEach(heading => {
|
|
15766
|
+
heading.addEventListener("click", () => {
|
|
15767
|
+
const sortBy = heading.getAttribute("name");
|
|
15768
|
+
let sortDir; // relay state to all children
|
|
15769
|
+
|
|
15770
|
+
headings.forEach(child => {
|
|
15771
|
+
if (child.getAttribute("name") === sortBy) {
|
|
15772
|
+
const direction = child.getAttribute("direction"); // starting direction is desc
|
|
15773
|
+
|
|
15774
|
+
const newDirection = direction === "desc" ? "asc" : "desc";
|
|
15775
|
+
sortDir = newDirection === "asc" ? 1 : -1;
|
|
15776
|
+
child.setAttribute("direction", newDirection);
|
|
15777
|
+
} else {
|
|
15778
|
+
child.setAttribute("direction", "none");
|
|
15779
|
+
}
|
|
15780
|
+
});
|
|
15781
|
+
heading.dispatchEvent(new CustomEvent("_sort", {
|
|
15782
|
+
composed: true,
|
|
15783
|
+
bubbles: false,
|
|
15784
|
+
cancelable: true,
|
|
15785
|
+
detail: {
|
|
15786
|
+
sortBy,
|
|
15787
|
+
sortDir
|
|
15788
|
+
}
|
|
15789
|
+
}));
|
|
15790
|
+
});
|
|
15791
|
+
});
|
|
15792
|
+
}
|
|
15793
|
+
|
|
15759
15794
|
function table_binding($$value) {
|
|
15760
15795
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
15761
15796
|
_rootEl = $$value;
|
|
@@ -15787,12 +15822,12 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
15787
15822
|
class Table extends SvelteElement {
|
|
15788
15823
|
constructor(options) {
|
|
15789
15824
|
super();
|
|
15790
|
-
this.shadowRoot.innerHTML = `<style
|
|
15825
|
+
this.shadowRoot.innerHTML = `<style>:host{overflow-x:auto}table{border-collapse:collapse}table.sticky{position:relative}table.sticky thead{position:sticky;top:0}td{padding:0.75rem 1rem;border-bottom:1px solid var(--goa-color-greyscale-200);line-height:1rem}table.relaxed td{padding:1rem}th{background-color:var(--goa-color-greyscale-white);color:var(--goa-color-text-secondary);padding:1rem;text-align:left;border-bottom:2px solid var(--goa-color-greyscale-700);vertical-align:bottom}th:has(goa-table-sort-header){padding:0}tfoot td{background-color:var(--goa-color-greyscale-100)}tfoot tr:first-child td{border-top:2px solid var(--goa-color-greyscale-200)}tfoot tr:last-child td{border-bottom:none}</style>`;
|
|
15791
15826
|
init(this, {
|
|
15792
15827
|
target: this.shadowRoot,
|
|
15793
15828
|
props: attribute_to_object(this.attributes),
|
|
15794
15829
|
customElement: true
|
|
15795
|
-
}, instance$
|
|
15830
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
15796
15831
|
width: 0,
|
|
15797
15832
|
stickyheader: 8,
|
|
15798
15833
|
variant: 1,
|
|
@@ -15898,6 +15933,185 @@ class Table extends SvelteElement {
|
|
|
15898
15933
|
}
|
|
15899
15934
|
|
|
15900
15935
|
customElements.define("goa-table", Table);
|
|
15936
|
+
/* libs/web-components/src/components/table/TableSortHeader.svelte generated by Svelte v3.51.0 */
|
|
15937
|
+
|
|
15938
|
+
function create_else_block(ctx) {
|
|
15939
|
+
let img;
|
|
15940
|
+
let img_src_value;
|
|
15941
|
+
return {
|
|
15942
|
+
c() {
|
|
15943
|
+
img = element("img");
|
|
15944
|
+
attr(img, "alt",
|
|
15945
|
+
/*direction*/
|
|
15946
|
+
ctx[0]);
|
|
15947
|
+
attr(img, "class",
|
|
15948
|
+
/*direction*/
|
|
15949
|
+
ctx[0]);
|
|
15950
|
+
if (!src_url_equal(img.src, img_src_value = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjxzdmcKICAgd2lkdGg9IjE2IgogICBoZWlnaHQ9IjIyIgogICB2aWV3Qm94PSIwIDAgMTYgMjIiCiAgIGZpbGw9Im5vbmUiCiAgIHZlcnNpb249IjEuMSIKICAgaWQ9InN2ZzEwNjgiCiAgIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIKICAgeG1sbnM6c3ZnPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGRlZnMKICAgICBpZD0iZGVmczEwNzIiIC8+CiAgPHBhdGgKICAgICBkPSJtIDAuNTk0Mzc0NzEsNy45MDkwOTkgNi41NTIxODc5OSw3LjY0NjI1IGMgMC4xMDU2MSwwLjEyMzE4IDAuMjM2NjIsMC4yMjIwNiAwLjM4NDA0LDAuMjg5ODUgMC4xNDc0MiwwLjA2Nzc5IDAuMzA3NzYsMC4xMDI4OSAwLjQ3MDAyLDAuMTAyODkgMC4xNjIyNiwwIDAuMzIyNiwtMC4wMzUxIDAuNDcwMDIsLTAuMTAyODkgMC4xNDc0MiwtMC4wNjc3OSAwLjI3ODQzLC0wLjE2NjY3IDAuMzg0MDQsLTAuMjg5ODUgbCA2LjU1MjE4MDMsLTcuNjQ2MjUgYyAwLjYyNTMsLTAuNzI5ODQgMC4xMDY5LC0xLjg1NzE4OCAtMC44NTQxLC0xLjg1NzE4OCBIIDEuNDQ2NTYyNyBjIC0wLjk2MDkzNzk5LDAgLTEuNDc5Mzc1NjksMS4xMjczNDggLTAuODUyMTg3OTksMS44NTcxODggeiIKICAgICBmaWxsPSIjMDA3MGM0IgogICAgIGlkPSJwYXRoMTA2NiIgLz4KPC9zdmc+Cg==")) attr(img, "src", img_src_value);
|
|
15951
|
+
},
|
|
15952
|
+
|
|
15953
|
+
m(target, anchor) {
|
|
15954
|
+
insert(target, img, anchor);
|
|
15955
|
+
},
|
|
15956
|
+
|
|
15957
|
+
p(ctx, dirty) {
|
|
15958
|
+
if (dirty &
|
|
15959
|
+
/*direction*/
|
|
15960
|
+
1) {
|
|
15961
|
+
attr(img, "alt",
|
|
15962
|
+
/*direction*/
|
|
15963
|
+
ctx[0]);
|
|
15964
|
+
}
|
|
15965
|
+
|
|
15966
|
+
if (dirty &
|
|
15967
|
+
/*direction*/
|
|
15968
|
+
1) {
|
|
15969
|
+
attr(img, "class",
|
|
15970
|
+
/*direction*/
|
|
15971
|
+
ctx[0]);
|
|
15972
|
+
}
|
|
15973
|
+
},
|
|
15974
|
+
|
|
15975
|
+
d(detaching) {
|
|
15976
|
+
if (detaching) detach(img);
|
|
15977
|
+
}
|
|
15978
|
+
|
|
15979
|
+
};
|
|
15980
|
+
} // (55:2) {#if direction === "none"}
|
|
15981
|
+
|
|
15982
|
+
|
|
15983
|
+
function create_if_block$1(ctx) {
|
|
15984
|
+
let img;
|
|
15985
|
+
let img_src_value;
|
|
15986
|
+
return {
|
|
15987
|
+
c() {
|
|
15988
|
+
img = element("img");
|
|
15989
|
+
attr(img, "alt", "not sorted");
|
|
15990
|
+
if (!src_url_equal(img.src, img_src_value = "data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiIHN0YW5kYWxvbmU9Im5vIj8+CjwhLS0gQ3JlYXRlZCB3aXRoIElua3NjYXBlIChodHRwOi8vd3d3Lmlua3NjYXBlLm9yZy8pIC0tPgoKPHN2ZwogICB3aWR0aD0iMTUuMzU5ODg3IgogICBoZWlnaHQ9IjIxLjg0NDI1IgogICB2aWV3Qm94PSIwIDAgNC4wNjM5NzAxIDUuNzc5NjI0NCIKICAgdmVyc2lvbj0iMS4xIgogICBpZD0ic3ZnNTE3IgogICB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciCiAgIHhtbG5zOnN2Zz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxkZWZzCiAgICAgaWQ9ImRlZnM1MTQiIC8+CiAgPGcKICAgICBpZD0ibGF5ZXIxIgogICAgIHRyYW5zZm9ybT0idHJhbnNsYXRlKC05LjM0NTE0MDMsLTguNzQ0OTg2NikiPgogICAgPHBhdGgKICAgICAgIGQ9Im0gOS40MTc3Njg0LDEyLjM5NzYzMSAxLjczMzU5ODYsMi4wMjMwNyBjIDAuMDI3OTQsMC4wMzI1OSAwLjA2MjYxLDAuMDU4NzUgMC4xMDE2MTEsMC4wNzY2OSAwLjAzOSwwLjAxNzk0IDAuMDgxNDMsMC4wMjcyMiAwLjEyNDM1OSwwLjAyNzIyIDAuMDQyOTMsMCAwLjA4NTM1LC0wLjAwOTMgMC4xMjQzNiwtMC4wMjcyMiAwLjAzOSwtMC4wMTc5NCAwLjA3MzY3LC0wLjA0NDEgMC4xMDE2MSwtMC4wNzY2OSBsIDEuNzMzNTk4LC0yLjAyMzA3IGMgMC4xNjU0NDQsLTAuMTkzMTA0IDAuMDI4MjgsLTAuNDkxMzgxIC0wLjIyNTk4MSwtMC40OTEzODEgSCA5LjY0MzI0MjQgYyAtMC4yNTQyNDgsMCAtMC4zOTE0MTgsMC4yOTgyNzcgLTAuMjI1NDc0LDAuNDkxMzgxIHoiCiAgICAgICBmaWxsPSIjYWRhZGFkIgogICAgICAgaWQ9InBhdGgzMzUiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogICAgPHBhdGgKICAgICAgIGQ9Ik0gMTMuMzM2NDk0LDEwLjg3MTk2OCAxMS42MDI4ODksOC44NDg4OTY2IGMgLTAuMDI3OTQsLTAuMDMyNTkgLTAuMDYyNjEsLTAuMDU4NzUgLTAuMTAxNjExLC0wLjA3NjY5IC0wLjAzOSwtMC4wMTc5NCAtMC4wODE0MywtMC4wMjcyMiAtMC4xMjQzNTksLTAuMDI3MjIgLTAuMDQyOTMsMCAtMC4wODUzNSwwLjAwOTMgLTAuMTI0MzYsMC4wMjcyMiAtMC4wMzkwMSwwLjAxNzk0IC0wLjA3MzY3LDAuMDQ0MSAtMC4xMDE2MTMsMC4wNzY2OSBMIDkuNDE3MzQ3MSwxMC44NzE5NjggYyAtMC4xNjU0NDcsMC4xOTMxMDMgLTAuMDI4MjgsMC40OTEzNzkgMC4yMjU5NzEsMC40OTEzNzkgaCAzLjQ2NzY5NzkgYyAwLjI1NDIzOCwwIDAuMzkxNDI1LC0wLjI5ODI3NiAwLjIyNTQ3OCwtMC40OTEzNzkgeiIKICAgICAgIGZpbGw9IiNhZGFkYWQiCiAgICAgICBpZD0icGF0aDIiCiAgICAgICBzdHlsZT0ic3Ryb2tlLXdpZHRoOjAuMjY0NTgzIiAvPgogIDwvZz4KPC9zdmc+Cg==")) attr(img, "src", img_src_value);
|
|
15991
|
+
},
|
|
15992
|
+
|
|
15993
|
+
m(target, anchor) {
|
|
15994
|
+
insert(target, img, anchor);
|
|
15995
|
+
},
|
|
15996
|
+
|
|
15997
|
+
p: noop,
|
|
15998
|
+
|
|
15999
|
+
d(detaching) {
|
|
16000
|
+
if (detaching) detach(img);
|
|
16001
|
+
}
|
|
16002
|
+
|
|
16003
|
+
};
|
|
16004
|
+
}
|
|
16005
|
+
|
|
16006
|
+
function create_fragment$5(ctx) {
|
|
16007
|
+
let button;
|
|
16008
|
+
let slot;
|
|
16009
|
+
let t;
|
|
16010
|
+
|
|
16011
|
+
function select_block_type(ctx, dirty) {
|
|
16012
|
+
if (
|
|
16013
|
+
/*direction*/
|
|
16014
|
+
ctx[0] === "none") return create_if_block$1;
|
|
16015
|
+
return create_else_block;
|
|
16016
|
+
}
|
|
16017
|
+
|
|
16018
|
+
let current_block_type = select_block_type(ctx);
|
|
16019
|
+
let if_block = current_block_type(ctx);
|
|
16020
|
+
return {
|
|
16021
|
+
c() {
|
|
16022
|
+
button = element("button");
|
|
16023
|
+
slot = element("slot");
|
|
16024
|
+
t = space();
|
|
16025
|
+
if_block.c();
|
|
16026
|
+
this.c = noop;
|
|
16027
|
+
},
|
|
16028
|
+
|
|
16029
|
+
m(target, anchor) {
|
|
16030
|
+
insert(target, button, anchor);
|
|
16031
|
+
append(button, slot);
|
|
16032
|
+
append(button, t);
|
|
16033
|
+
if_block.m(button, null);
|
|
16034
|
+
},
|
|
16035
|
+
|
|
16036
|
+
p(ctx, [dirty]) {
|
|
16037
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block) {
|
|
16038
|
+
if_block.p(ctx, dirty);
|
|
16039
|
+
} else {
|
|
16040
|
+
if_block.d(1);
|
|
16041
|
+
if_block = current_block_type(ctx);
|
|
16042
|
+
|
|
16043
|
+
if (if_block) {
|
|
16044
|
+
if_block.c();
|
|
16045
|
+
if_block.m(button, null);
|
|
16046
|
+
}
|
|
16047
|
+
}
|
|
16048
|
+
},
|
|
16049
|
+
|
|
16050
|
+
i: noop,
|
|
16051
|
+
o: noop,
|
|
16052
|
+
|
|
16053
|
+
d(detaching) {
|
|
16054
|
+
if (detaching) detach(button);
|
|
16055
|
+
if_block.d();
|
|
16056
|
+
}
|
|
16057
|
+
|
|
16058
|
+
};
|
|
16059
|
+
}
|
|
16060
|
+
|
|
16061
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
16062
|
+
let {
|
|
16063
|
+
direction = "none"
|
|
16064
|
+
} = $$props;
|
|
16065
|
+
|
|
16066
|
+
$$self.$$set = $$props => {
|
|
16067
|
+
if ('direction' in $$props) $$invalidate(0, direction = $$props.direction);
|
|
16068
|
+
};
|
|
16069
|
+
|
|
16070
|
+
return [direction];
|
|
16071
|
+
}
|
|
16072
|
+
|
|
16073
|
+
class TableSortHeader extends SvelteElement {
|
|
16074
|
+
constructor(options) {
|
|
16075
|
+
super();
|
|
16076
|
+
this.shadowRoot.innerHTML = `<style>:host{display:flex;align-items:flex-end}button{border:none;background:none;display:flex;font-family:inherit;font-size:inherit;font-weight:inherit;color:inherit;padding:1rem;width:100%;height:100%;text-align:left;gap:0.25rem;align-items:flex-end;justify-content:stretch}button *{align-self:flex-end}img{width:16px;height:22px;scale:0.7}button:hover{background-color:var(--goa-color-greyscale-100);cursor:pointer;color:var(--goa-color-interactive-default)}img.asc{transform:rotate(180deg)}</style>`;
|
|
16077
|
+
init(this, {
|
|
16078
|
+
target: this.shadowRoot,
|
|
16079
|
+
props: attribute_to_object(this.attributes),
|
|
16080
|
+
customElement: true
|
|
16081
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
16082
|
+
direction: 0
|
|
16083
|
+
}, null);
|
|
16084
|
+
|
|
16085
|
+
if (options) {
|
|
16086
|
+
if (options.target) {
|
|
16087
|
+
insert(options.target, this, options.anchor);
|
|
16088
|
+
}
|
|
16089
|
+
|
|
16090
|
+
if (options.props) {
|
|
16091
|
+
this.$set(options.props);
|
|
16092
|
+
flush();
|
|
16093
|
+
}
|
|
16094
|
+
}
|
|
16095
|
+
}
|
|
16096
|
+
|
|
16097
|
+
static get observedAttributes() {
|
|
16098
|
+
return ["direction"];
|
|
16099
|
+
}
|
|
16100
|
+
|
|
16101
|
+
get direction() {
|
|
16102
|
+
return this.$$.ctx[0];
|
|
16103
|
+
}
|
|
16104
|
+
|
|
16105
|
+
set direction(direction) {
|
|
16106
|
+
this.$$set({
|
|
16107
|
+
direction
|
|
16108
|
+
});
|
|
16109
|
+
flush();
|
|
16110
|
+
}
|
|
16111
|
+
|
|
16112
|
+
}
|
|
16113
|
+
|
|
16114
|
+
customElements.define("goa-table-sort-header", TableSortHeader);
|
|
15901
16115
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15902
16116
|
|
|
15903
16117
|
function create_fragment$4(ctx) {
|
|
@@ -18428,7 +18642,31 @@ const GoASpinner = ({
|
|
|
18428
18642
|
};
|
|
18429
18643
|
|
|
18430
18644
|
function GoATable(props) {
|
|
18645
|
+
const ref = useRef(null);
|
|
18646
|
+
useEffect(() => {
|
|
18647
|
+
if (!ref.current) {
|
|
18648
|
+
return;
|
|
18649
|
+
}
|
|
18650
|
+
|
|
18651
|
+
const current = ref.current;
|
|
18652
|
+
|
|
18653
|
+
const sortListener = e => {
|
|
18654
|
+
var _a;
|
|
18655
|
+
|
|
18656
|
+
const {
|
|
18657
|
+
sortBy,
|
|
18658
|
+
sortDir
|
|
18659
|
+
} = e.detail;
|
|
18660
|
+
(_a = props.onSort) === null || _a === void 0 ? void 0 : _a.call(props, sortBy, sortDir);
|
|
18661
|
+
};
|
|
18662
|
+
|
|
18663
|
+
current.addEventListener("_sort", sortListener);
|
|
18664
|
+
return () => {
|
|
18665
|
+
current.removeEventListener("_sort", sortListener);
|
|
18666
|
+
};
|
|
18667
|
+
}, [ref, props.onSort]);
|
|
18431
18668
|
return jsx("goa-table", Object.assign({
|
|
18669
|
+
ref: ref,
|
|
18432
18670
|
width: props.width,
|
|
18433
18671
|
stickyheader: false,
|
|
18434
18672
|
"data-testid": props.testId,
|