@abgov/web-components 1.0.0-alpha.11 → 1.0.0-alpha.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/web-components.es.js +509 -250
- package/web-components.umd.js +17 -9
package/web-components.es.js
CHANGED
|
@@ -755,7 +755,7 @@ if (typeof HTMLElement === 'function') {
|
|
|
755
755
|
|
|
756
756
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.44.3 */
|
|
757
757
|
|
|
758
|
-
function create_fragment$
|
|
758
|
+
function create_fragment$w(ctx) {
|
|
759
759
|
let div;
|
|
760
760
|
|
|
761
761
|
return {
|
|
@@ -790,7 +790,7 @@ class PageBlock extends SvelteElement {
|
|
|
790
790
|
customElement: true
|
|
791
791
|
},
|
|
792
792
|
null,
|
|
793
|
-
create_fragment$
|
|
793
|
+
create_fragment$w,
|
|
794
794
|
safe_not_equal,
|
|
795
795
|
{},
|
|
796
796
|
null
|
|
@@ -808,7 +808,7 @@ customElements.define("goa-page-block", PageBlock);
|
|
|
808
808
|
|
|
809
809
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.44.3 */
|
|
810
810
|
|
|
811
|
-
function create_fragment$
|
|
811
|
+
function create_fragment$v(ctx) {
|
|
812
812
|
let goa_page_block;
|
|
813
813
|
let div1;
|
|
814
814
|
let a;
|
|
@@ -882,7 +882,7 @@ function create_fragment$u(ctx) {
|
|
|
882
882
|
};
|
|
883
883
|
}
|
|
884
884
|
|
|
885
|
-
function instance$
|
|
885
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
886
886
|
let { url } = $$props;
|
|
887
887
|
let { title } = $$props;
|
|
888
888
|
let { testid = "" } = $$props;
|
|
@@ -908,8 +908,8 @@ class AppHeader extends SvelteElement {
|
|
|
908
908
|
props: attribute_to_object(this.attributes),
|
|
909
909
|
customElement: true
|
|
910
910
|
},
|
|
911
|
-
instance$
|
|
912
|
-
create_fragment$
|
|
911
|
+
instance$r,
|
|
912
|
+
create_fragment$v,
|
|
913
913
|
safe_not_equal,
|
|
914
914
|
{ url: 0, title: 1, testid: 2 },
|
|
915
915
|
null
|
|
@@ -996,7 +996,7 @@ function create_else_block$4(ctx) {
|
|
|
996
996
|
}
|
|
997
997
|
|
|
998
998
|
// (35:2) {#if showIcon}
|
|
999
|
-
function create_if_block_1$
|
|
999
|
+
function create_if_block_1$9(ctx) {
|
|
1000
1000
|
let goa_icon;
|
|
1001
1001
|
|
|
1002
1002
|
return {
|
|
@@ -1020,7 +1020,7 @@ function create_if_block_1$8(ctx) {
|
|
|
1020
1020
|
}
|
|
1021
1021
|
|
|
1022
1022
|
// (40:2) {#if content}
|
|
1023
|
-
function create_if_block$
|
|
1023
|
+
function create_if_block$c(ctx) {
|
|
1024
1024
|
let div;
|
|
1025
1025
|
let t;
|
|
1026
1026
|
|
|
@@ -1043,19 +1043,19 @@ function create_if_block$b(ctx) {
|
|
|
1043
1043
|
};
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
function create_fragment$
|
|
1046
|
+
function create_fragment$u(ctx) {
|
|
1047
1047
|
let div;
|
|
1048
1048
|
let t;
|
|
1049
1049
|
let div_class_value;
|
|
1050
1050
|
|
|
1051
1051
|
function select_block_type(ctx, dirty) {
|
|
1052
|
-
if (/*showIcon*/ ctx[4]) return create_if_block_1$
|
|
1052
|
+
if (/*showIcon*/ ctx[4]) return create_if_block_1$9;
|
|
1053
1053
|
return create_else_block$4;
|
|
1054
1054
|
}
|
|
1055
1055
|
|
|
1056
1056
|
let current_block_type = select_block_type(ctx);
|
|
1057
1057
|
let if_block0 = current_block_type(ctx);
|
|
1058
|
-
let if_block1 = /*content*/ ctx[2] && create_if_block$
|
|
1058
|
+
let if_block1 = /*content*/ ctx[2] && create_if_block$c(ctx);
|
|
1059
1059
|
|
|
1060
1060
|
return {
|
|
1061
1061
|
c() {
|
|
@@ -1092,7 +1092,7 @@ function create_fragment$t(ctx) {
|
|
|
1092
1092
|
if (if_block1) {
|
|
1093
1093
|
if_block1.p(ctx, dirty);
|
|
1094
1094
|
} else {
|
|
1095
|
-
if_block1 = create_if_block$
|
|
1095
|
+
if_block1 = create_if_block$c(ctx);
|
|
1096
1096
|
if_block1.c();
|
|
1097
1097
|
if_block1.m(div, null);
|
|
1098
1098
|
}
|
|
@@ -1123,7 +1123,7 @@ function create_fragment$t(ctx) {
|
|
|
1123
1123
|
};
|
|
1124
1124
|
}
|
|
1125
1125
|
|
|
1126
|
-
function instance$
|
|
1126
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
1127
1127
|
let showIcon;
|
|
1128
1128
|
let iconType;
|
|
1129
1129
|
let { type } = $$props;
|
|
@@ -1173,8 +1173,8 @@ class Badge extends SvelteElement {
|
|
|
1173
1173
|
props: attribute_to_object(this.attributes),
|
|
1174
1174
|
customElement: true
|
|
1175
1175
|
},
|
|
1176
|
-
instance$
|
|
1177
|
-
create_fragment$
|
|
1176
|
+
instance$q,
|
|
1177
|
+
create_fragment$u,
|
|
1178
1178
|
safe_not_equal,
|
|
1179
1179
|
{ type: 0, testid: 1, icon: 5, content: 2 },
|
|
1180
1180
|
null
|
|
@@ -1237,7 +1237,7 @@ customElements.define("goa-badge", Badge);
|
|
|
1237
1237
|
|
|
1238
1238
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.44.3 */
|
|
1239
1239
|
|
|
1240
|
-
function create_fragment$
|
|
1240
|
+
function create_fragment$t(ctx) {
|
|
1241
1241
|
let button;
|
|
1242
1242
|
let slot;
|
|
1243
1243
|
let button_class_value;
|
|
@@ -1295,7 +1295,7 @@ function clickHandler(e) {
|
|
|
1295
1295
|
e.stopPropagation();
|
|
1296
1296
|
}
|
|
1297
1297
|
|
|
1298
|
-
function instance$
|
|
1298
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
1299
1299
|
let isDisabled;
|
|
1300
1300
|
let { type = "primary" } = $$props;
|
|
1301
1301
|
let { size = "medium" } = $$props;
|
|
@@ -1339,8 +1339,8 @@ class Button extends SvelteElement {
|
|
|
1339
1339
|
props: attribute_to_object(this.attributes),
|
|
1340
1340
|
customElement: true
|
|
1341
1341
|
},
|
|
1342
|
-
instance$
|
|
1343
|
-
create_fragment$
|
|
1342
|
+
instance$p,
|
|
1343
|
+
create_fragment$t,
|
|
1344
1344
|
safe_not_equal,
|
|
1345
1345
|
{
|
|
1346
1346
|
type: 0,
|
|
@@ -1428,7 +1428,7 @@ customElements.define("goa-button", Button);
|
|
|
1428
1428
|
|
|
1429
1429
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.44.3 */
|
|
1430
1430
|
|
|
1431
|
-
function create_fragment$
|
|
1431
|
+
function create_fragment$s(ctx) {
|
|
1432
1432
|
let div;
|
|
1433
1433
|
let slot;
|
|
1434
1434
|
|
|
@@ -1461,7 +1461,7 @@ function create_fragment$r(ctx) {
|
|
|
1461
1461
|
};
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
|
-
function instance$
|
|
1464
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
1465
1465
|
let { gap = "medium" } = $$props;
|
|
1466
1466
|
let { alignment } = $$props;
|
|
1467
1467
|
|
|
@@ -1485,8 +1485,8 @@ class ButtonGroup extends SvelteElement {
|
|
|
1485
1485
|
props: attribute_to_object(this.attributes),
|
|
1486
1486
|
customElement: true
|
|
1487
1487
|
},
|
|
1488
|
-
instance$
|
|
1489
|
-
create_fragment$
|
|
1488
|
+
instance$o,
|
|
1489
|
+
create_fragment$s,
|
|
1490
1490
|
safe_not_equal,
|
|
1491
1491
|
{ gap: 0, alignment: 1 },
|
|
1492
1492
|
null
|
|
@@ -1531,7 +1531,7 @@ customElements.define("goa-button-group", ButtonGroup);
|
|
|
1531
1531
|
|
|
1532
1532
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.44.3 */
|
|
1533
1533
|
|
|
1534
|
-
function create_fragment$
|
|
1534
|
+
function create_fragment$r(ctx) {
|
|
1535
1535
|
let div;
|
|
1536
1536
|
let span0;
|
|
1537
1537
|
let goa_icon;
|
|
@@ -1596,7 +1596,7 @@ function create_fragment$q(ctx) {
|
|
|
1596
1596
|
};
|
|
1597
1597
|
}
|
|
1598
1598
|
|
|
1599
|
-
function instance$
|
|
1599
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
1600
1600
|
let iconType;
|
|
1601
1601
|
let { type } = $$props;
|
|
1602
1602
|
let { title } = $$props;
|
|
@@ -1637,8 +1637,8 @@ class Callout extends SvelteElement {
|
|
|
1637
1637
|
props: attribute_to_object(this.attributes),
|
|
1638
1638
|
customElement: true
|
|
1639
1639
|
},
|
|
1640
|
-
instance$
|
|
1641
|
-
create_fragment$
|
|
1640
|
+
instance$n,
|
|
1641
|
+
create_fragment$r,
|
|
1642
1642
|
safe_not_equal,
|
|
1643
1643
|
{ type: 0, title: 1, testId: 2 },
|
|
1644
1644
|
null
|
|
@@ -1692,7 +1692,7 @@ customElements.define("goa-callout", Callout);
|
|
|
1692
1692
|
|
|
1693
1693
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.44.3 */
|
|
1694
1694
|
|
|
1695
|
-
function create_fragment$
|
|
1695
|
+
function create_fragment$q(ctx) {
|
|
1696
1696
|
let div;
|
|
1697
1697
|
let slot;
|
|
1698
1698
|
let div_style_value;
|
|
@@ -1732,7 +1732,7 @@ function create_fragment$p(ctx) {
|
|
|
1732
1732
|
};
|
|
1733
1733
|
}
|
|
1734
1734
|
|
|
1735
|
-
function instance$
|
|
1735
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
1736
1736
|
let { elevation = 0 } = $$props;
|
|
1737
1737
|
let { width = 320 } = $$props;
|
|
1738
1738
|
let { testId = "" } = $$props;
|
|
@@ -1760,8 +1760,8 @@ class Card extends SvelteElement {
|
|
|
1760
1760
|
props: attribute_to_object(this.attributes),
|
|
1761
1761
|
customElement: true
|
|
1762
1762
|
},
|
|
1763
|
-
instance$
|
|
1764
|
-
create_fragment$
|
|
1763
|
+
instance$m,
|
|
1764
|
+
create_fragment$q,
|
|
1765
1765
|
safe_not_equal,
|
|
1766
1766
|
{ elevation: 0, width: 1, testId: 2 },
|
|
1767
1767
|
null
|
|
@@ -1815,7 +1815,7 @@ customElements.define("goa-card", Card);
|
|
|
1815
1815
|
|
|
1816
1816
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.44.3 */
|
|
1817
1817
|
|
|
1818
|
-
function create_fragment$
|
|
1818
|
+
function create_fragment$p(ctx) {
|
|
1819
1819
|
let goa_card_content;
|
|
1820
1820
|
|
|
1821
1821
|
return {
|
|
@@ -1848,7 +1848,7 @@ class CardActions extends SvelteElement {
|
|
|
1848
1848
|
customElement: true
|
|
1849
1849
|
},
|
|
1850
1850
|
null,
|
|
1851
|
-
create_fragment$
|
|
1851
|
+
create_fragment$p,
|
|
1852
1852
|
safe_not_equal,
|
|
1853
1853
|
{},
|
|
1854
1854
|
null
|
|
@@ -1866,7 +1866,7 @@ customElements.define("goa-card-actions", CardActions);
|
|
|
1866
1866
|
|
|
1867
1867
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.44.3 */
|
|
1868
1868
|
|
|
1869
|
-
function create_fragment$
|
|
1869
|
+
function create_fragment$o(ctx) {
|
|
1870
1870
|
let div;
|
|
1871
1871
|
|
|
1872
1872
|
return {
|
|
@@ -1901,7 +1901,7 @@ class CardContent extends SvelteElement {
|
|
|
1901
1901
|
customElement: true
|
|
1902
1902
|
},
|
|
1903
1903
|
null,
|
|
1904
|
-
create_fragment$
|
|
1904
|
+
create_fragment$o,
|
|
1905
1905
|
safe_not_equal,
|
|
1906
1906
|
{},
|
|
1907
1907
|
null
|
|
@@ -1919,7 +1919,7 @@ customElements.define("goa-card-content", CardContent);
|
|
|
1919
1919
|
|
|
1920
1920
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.44.3 */
|
|
1921
1921
|
|
|
1922
|
-
function create_fragment$
|
|
1922
|
+
function create_fragment$n(ctx) {
|
|
1923
1923
|
let div;
|
|
1924
1924
|
|
|
1925
1925
|
return {
|
|
@@ -1954,7 +1954,7 @@ class CardGroup extends SvelteElement {
|
|
|
1954
1954
|
customElement: true
|
|
1955
1955
|
},
|
|
1956
1956
|
null,
|
|
1957
|
-
create_fragment$
|
|
1957
|
+
create_fragment$n,
|
|
1958
1958
|
safe_not_equal,
|
|
1959
1959
|
{},
|
|
1960
1960
|
null
|
|
@@ -1972,7 +1972,7 @@ customElements.define("goa-card-group", CardGroup);
|
|
|
1972
1972
|
|
|
1973
1973
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.44.3 */
|
|
1974
1974
|
|
|
1975
|
-
function create_fragment$
|
|
1975
|
+
function create_fragment$m(ctx) {
|
|
1976
1976
|
let div;
|
|
1977
1977
|
|
|
1978
1978
|
return {
|
|
@@ -2005,7 +2005,7 @@ function create_fragment$l(ctx) {
|
|
|
2005
2005
|
};
|
|
2006
2006
|
}
|
|
2007
2007
|
|
|
2008
|
-
function instance$
|
|
2008
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
2009
2009
|
let { src } = $$props;
|
|
2010
2010
|
let { height = "100%" } = $$props;
|
|
2011
2011
|
|
|
@@ -2029,8 +2029,8 @@ class CardImage extends SvelteElement {
|
|
|
2029
2029
|
props: attribute_to_object(this.attributes),
|
|
2030
2030
|
customElement: true
|
|
2031
2031
|
},
|
|
2032
|
-
instance$
|
|
2033
|
-
create_fragment$
|
|
2032
|
+
instance$l,
|
|
2033
|
+
create_fragment$m,
|
|
2034
2034
|
safe_not_equal,
|
|
2035
2035
|
{ src: 0, height: 1 },
|
|
2036
2036
|
null
|
|
@@ -2075,11 +2075,11 @@ customElements.define("goa-card-image", CardImage);
|
|
|
2075
2075
|
|
|
2076
2076
|
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.44.3 */
|
|
2077
2077
|
|
|
2078
|
-
function create_if_block$
|
|
2078
|
+
function create_if_block$b(ctx) {
|
|
2079
2079
|
let if_block_anchor;
|
|
2080
2080
|
|
|
2081
2081
|
function select_block_type(ctx, dirty) {
|
|
2082
|
-
if (/*isIndeterminate*/ ctx[4]) return create_if_block_1$
|
|
2082
|
+
if (/*isIndeterminate*/ ctx[4]) return create_if_block_1$8;
|
|
2083
2083
|
return create_else_block$3;
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
@@ -2138,7 +2138,7 @@ function create_else_block$3(ctx) {
|
|
|
2138
2138
|
}
|
|
2139
2139
|
|
|
2140
2140
|
// (50:6) {#if isIndeterminate}
|
|
2141
|
-
function create_if_block_1$
|
|
2141
|
+
function create_if_block_1$8(ctx) {
|
|
2142
2142
|
let svg;
|
|
2143
2143
|
let rect;
|
|
2144
2144
|
|
|
@@ -2162,7 +2162,7 @@ function create_if_block_1$7(ctx) {
|
|
|
2162
2162
|
};
|
|
2163
2163
|
}
|
|
2164
2164
|
|
|
2165
|
-
function create_fragment$
|
|
2165
|
+
function create_fragment$l(ctx) {
|
|
2166
2166
|
let label;
|
|
2167
2167
|
let div0;
|
|
2168
2168
|
let input;
|
|
@@ -2174,7 +2174,7 @@ function create_fragment$k(ctx) {
|
|
|
2174
2174
|
let t2;
|
|
2175
2175
|
let mounted;
|
|
2176
2176
|
let dispose;
|
|
2177
|
-
let if_block = /*isChecked*/ ctx[3] && create_if_block$
|
|
2177
|
+
let if_block = /*isChecked*/ ctx[3] && create_if_block$b(ctx);
|
|
2178
2178
|
|
|
2179
2179
|
return {
|
|
2180
2180
|
c() {
|
|
@@ -2244,7 +2244,7 @@ function create_fragment$k(ctx) {
|
|
|
2244
2244
|
if (if_block) {
|
|
2245
2245
|
if_block.p(ctx, dirty);
|
|
2246
2246
|
} else {
|
|
2247
|
-
if_block = create_if_block$
|
|
2247
|
+
if_block = create_if_block$b(ctx);
|
|
2248
2248
|
if_block.c();
|
|
2249
2249
|
if_block.m(div0, null);
|
|
2250
2250
|
}
|
|
@@ -2282,7 +2282,7 @@ function create_fragment$k(ctx) {
|
|
|
2282
2282
|
};
|
|
2283
2283
|
}
|
|
2284
2284
|
|
|
2285
|
-
function instance$
|
|
2285
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
2286
2286
|
let id;
|
|
2287
2287
|
let isDisabled;
|
|
2288
2288
|
let isError;
|
|
@@ -2375,8 +2375,8 @@ class Checkbox extends SvelteElement {
|
|
|
2375
2375
|
props: attribute_to_object(this.attributes),
|
|
2376
2376
|
customElement: true
|
|
2377
2377
|
},
|
|
2378
|
-
instance$
|
|
2379
|
-
create_fragment$
|
|
2378
|
+
instance$k,
|
|
2379
|
+
create_fragment$l,
|
|
2380
2380
|
safe_not_equal,
|
|
2381
2381
|
{
|
|
2382
2382
|
name: 0,
|
|
@@ -2474,7 +2474,7 @@ customElements.define("goa-checkbox", Checkbox);
|
|
|
2474
2474
|
|
|
2475
2475
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.44.3 */
|
|
2476
2476
|
|
|
2477
|
-
function create_fragment$
|
|
2477
|
+
function create_fragment$k(ctx) {
|
|
2478
2478
|
let div3;
|
|
2479
2479
|
let header;
|
|
2480
2480
|
let div0;
|
|
@@ -2530,7 +2530,7 @@ function create_fragment$j(ctx) {
|
|
|
2530
2530
|
};
|
|
2531
2531
|
}
|
|
2532
2532
|
|
|
2533
|
-
function instance$
|
|
2533
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
2534
2534
|
let { variant = 'default' } = $$props;
|
|
2535
2535
|
let { headingsize = 'large' } = $$props;
|
|
2536
2536
|
|
|
@@ -2545,7 +2545,7 @@ function instance$i($$self, $$props, $$invalidate) {
|
|
|
2545
2545
|
class Container extends SvelteElement {
|
|
2546
2546
|
constructor(options) {
|
|
2547
2547
|
super();
|
|
2548
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:4rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}</style>`;
|
|
2548
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family);font-size:var(--fs-base)}.goa-container{margin-bottom:1rem;box-sizing:border-box}.goa-container *{box-sizing:border-box}header{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;font-weight:700;font-size:var(--fs-base);border-width:1px;border-style:solid;border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius);padding-left:1.5rem;padding-right:1.5rem}.content{padding:1.5rem;border-bottom:1px solid var(--color-gray-200);border-left:1px solid var(--color-gray-200);border-right:1px solid var(--color-gray-200);border-bottom-left-radius:var(--border-radius);border-bottom-right-radius:var(--border-radius)}.goa-container--default header{background-color:var(--color-gray-100);border-color:var(--color-gray-200);color:var(--color-black)}.goa-container--primary header{background-color:var(--goa-color-brand);border-color:var(--goa-color-brand);color:var(--color-white)}.goa-container--info header{background-color:var(--goa-color-status-info);border-color:var(--goa-color-status-info);color:var(--color-white)}.goa-container--error header{background-color:var(--goa-color-status-emergency);border-color:var(--goa-color-status-emergency);color:var(--color-white)}.goa-container--success header{background-color:var(--goa-color-status-success);border-color:var(--goa-color-status-success);color:var(--color-white)}.goa-container--warning header{background-color:var(--goa-color-status-warning);border-color:var(--goa-color-status-warning);color:var(--color-white)}.heading--large{padding:0.5rem 1.5rem;max-height:4rem;min-height:1rem}.heading--large .title{line-height:2rem}.heading--small{height:0.5rem}.heading--none{display:none}.heading--none~.content{border-top:1px solid var(--color-gray-200);border-top-left-radius:var(--border-radius);border-top-right-radius:var(--border-radius)}.heading--small .title,.heading--small .actions{display:none}.actions{display:flex;align-items:center}</style>`;
|
|
2549
2549
|
|
|
2550
2550
|
init(
|
|
2551
2551
|
this,
|
|
@@ -2554,8 +2554,8 @@ class Container extends SvelteElement {
|
|
|
2554
2554
|
props: attribute_to_object(this.attributes),
|
|
2555
2555
|
customElement: true
|
|
2556
2556
|
},
|
|
2557
|
-
instance$
|
|
2558
|
-
create_fragment$
|
|
2557
|
+
instance$j,
|
|
2558
|
+
create_fragment$k,
|
|
2559
2559
|
safe_not_equal,
|
|
2560
2560
|
{ variant: 0, headingsize: 1 },
|
|
2561
2561
|
null
|
|
@@ -2752,13 +2752,13 @@ function create_if_block_2$5(ctx) {
|
|
|
2752
2752
|
}
|
|
2753
2753
|
|
|
2754
2754
|
// (155:4) {#if isMenuVisible}
|
|
2755
|
-
function create_if_block$
|
|
2755
|
+
function create_if_block$a(ctx) {
|
|
2756
2756
|
let div;
|
|
2757
2757
|
let t;
|
|
2758
2758
|
let ul;
|
|
2759
2759
|
let slot;
|
|
2760
2760
|
let ul_style_value;
|
|
2761
|
-
let if_block = /*isAutoComplete*/ ctx[9] && create_if_block_1$
|
|
2761
|
+
let if_block = /*isAutoComplete*/ ctx[9] && create_if_block_1$7(ctx);
|
|
2762
2762
|
|
|
2763
2763
|
return {
|
|
2764
2764
|
c() {
|
|
@@ -2783,7 +2783,7 @@ function create_if_block$9(ctx) {
|
|
|
2783
2783
|
if (if_block) {
|
|
2784
2784
|
if_block.p(ctx, dirty);
|
|
2785
2785
|
} else {
|
|
2786
|
-
if_block = create_if_block_1$
|
|
2786
|
+
if_block = create_if_block_1$7(ctx);
|
|
2787
2787
|
if_block.c();
|
|
2788
2788
|
if_block.m(div, t);
|
|
2789
2789
|
}
|
|
@@ -2804,7 +2804,7 @@ function create_if_block$9(ctx) {
|
|
|
2804
2804
|
}
|
|
2805
2805
|
|
|
2806
2806
|
// (158:8) {#if isAutoComplete}
|
|
2807
|
-
function create_if_block_1$
|
|
2807
|
+
function create_if_block_1$7(ctx) {
|
|
2808
2808
|
let goa_input;
|
|
2809
2809
|
let goa_input_trailingicon_value;
|
|
2810
2810
|
|
|
@@ -2843,14 +2843,14 @@ function create_if_block_1$6(ctx) {
|
|
|
2843
2843
|
};
|
|
2844
2844
|
}
|
|
2845
2845
|
|
|
2846
|
-
function create_fragment$
|
|
2846
|
+
function create_fragment$j(ctx) {
|
|
2847
2847
|
let div1;
|
|
2848
2848
|
let t0;
|
|
2849
2849
|
let div0;
|
|
2850
2850
|
let t1;
|
|
2851
2851
|
let if_block0 = /*isMenuVisible*/ ctx[5] && create_if_block_3$3(ctx);
|
|
2852
2852
|
let if_block1 = (!/*isMenuVisible*/ ctx[5] || !/*isAutoComplete*/ ctx[9]) && create_if_block_2$5(ctx);
|
|
2853
|
-
let if_block2 = /*isMenuVisible*/ ctx[5] && create_if_block$
|
|
2853
|
+
let if_block2 = /*isMenuVisible*/ ctx[5] && create_if_block$a(ctx);
|
|
2854
2854
|
|
|
2855
2855
|
return {
|
|
2856
2856
|
c() {
|
|
@@ -2905,7 +2905,7 @@ function create_fragment$i(ctx) {
|
|
|
2905
2905
|
if (if_block2) {
|
|
2906
2906
|
if_block2.p(ctx, dirty);
|
|
2907
2907
|
} else {
|
|
2908
|
-
if_block2 = create_if_block$
|
|
2908
|
+
if_block2 = create_if_block$a(ctx);
|
|
2909
2909
|
if_block2.c();
|
|
2910
2910
|
if_block2.m(div0, null);
|
|
2911
2911
|
}
|
|
@@ -2928,7 +2928,7 @@ function create_fragment$i(ctx) {
|
|
|
2928
2928
|
|
|
2929
2929
|
const MAX_HEIGHT = 300;
|
|
2930
2930
|
|
|
2931
|
-
function instance$
|
|
2931
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
2932
2932
|
let isMultiSelect;
|
|
2933
2933
|
let isDisabled;
|
|
2934
2934
|
let isAutoComplete;
|
|
@@ -3165,8 +3165,8 @@ class Dropdown extends SvelteElement {
|
|
|
3165
3165
|
props: attribute_to_object(this.attributes),
|
|
3166
3166
|
customElement: true
|
|
3167
3167
|
},
|
|
3168
|
-
instance$
|
|
3169
|
-
create_fragment$
|
|
3168
|
+
instance$i,
|
|
3169
|
+
create_fragment$j,
|
|
3170
3170
|
safe_not_equal,
|
|
3171
3171
|
{
|
|
3172
3172
|
name: 0,
|
|
@@ -3283,7 +3283,7 @@ customElements.define("goa-dropdown", Dropdown);
|
|
|
3283
3283
|
|
|
3284
3284
|
/* libs/web-components/src/components/dropdown-item/DropdownItem.svelte generated by Svelte v3.44.3 */
|
|
3285
3285
|
|
|
3286
|
-
function create_fragment$
|
|
3286
|
+
function create_fragment$i(ctx) {
|
|
3287
3287
|
let li;
|
|
3288
3288
|
let raw_value = (/*filteredLabel*/ ctx[2] || /*label*/ ctx[0]) + "";
|
|
3289
3289
|
let li_style_value;
|
|
@@ -3337,7 +3337,7 @@ function create_fragment$h(ctx) {
|
|
|
3337
3337
|
};
|
|
3338
3338
|
}
|
|
3339
3339
|
|
|
3340
|
-
function instance$
|
|
3340
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
3341
3341
|
let isSelected;
|
|
3342
3342
|
let isDisabled;
|
|
3343
3343
|
let isHidden;
|
|
@@ -3508,8 +3508,8 @@ class DropdownItem extends SvelteElement {
|
|
|
3508
3508
|
props: attribute_to_object(this.attributes),
|
|
3509
3509
|
customElement: true
|
|
3510
3510
|
},
|
|
3511
|
-
instance$
|
|
3512
|
-
create_fragment$
|
|
3511
|
+
instance$h,
|
|
3512
|
+
create_fragment$i,
|
|
3513
3513
|
safe_not_equal,
|
|
3514
3514
|
{
|
|
3515
3515
|
name: 8,
|
|
@@ -3607,7 +3607,7 @@ customElements.define("goa-dropdown-item", DropdownItem);
|
|
|
3607
3607
|
|
|
3608
3608
|
/* libs/web-components/src/components/flex-row/FlexRow.svelte generated by Svelte v3.44.3 */
|
|
3609
3609
|
|
|
3610
|
-
function create_fragment$
|
|
3610
|
+
function create_fragment$h(ctx) {
|
|
3611
3611
|
let div;
|
|
3612
3612
|
let slot;
|
|
3613
3613
|
|
|
@@ -3636,7 +3636,7 @@ function create_fragment$g(ctx) {
|
|
|
3636
3636
|
};
|
|
3637
3637
|
}
|
|
3638
3638
|
|
|
3639
|
-
function instance$
|
|
3639
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
3640
3640
|
let _gap;
|
|
3641
3641
|
let { gap = "" } = $$props;
|
|
3642
3642
|
|
|
@@ -3669,8 +3669,8 @@ class FlexRow extends SvelteElement {
|
|
|
3669
3669
|
props: attribute_to_object(this.attributes),
|
|
3670
3670
|
customElement: true
|
|
3671
3671
|
},
|
|
3672
|
-
instance$
|
|
3673
|
-
create_fragment$
|
|
3672
|
+
instance$g,
|
|
3673
|
+
create_fragment$h,
|
|
3674
3674
|
safe_not_equal,
|
|
3675
3675
|
{ gap: 1 },
|
|
3676
3676
|
null
|
|
@@ -3770,7 +3770,7 @@ function create_if_block_3$2(ctx) {
|
|
|
3770
3770
|
}
|
|
3771
3771
|
|
|
3772
3772
|
// (26:2) {#if error}
|
|
3773
|
-
function create_if_block_1$
|
|
3773
|
+
function create_if_block_1$6(ctx) {
|
|
3774
3774
|
let div;
|
|
3775
3775
|
let t;
|
|
3776
3776
|
|
|
@@ -3794,7 +3794,7 @@ function create_if_block_1$5(ctx) {
|
|
|
3794
3794
|
}
|
|
3795
3795
|
|
|
3796
3796
|
// (29:2) {#if helptext}
|
|
3797
|
-
function create_if_block$
|
|
3797
|
+
function create_if_block$9(ctx) {
|
|
3798
3798
|
let div;
|
|
3799
3799
|
let t;
|
|
3800
3800
|
|
|
@@ -3817,15 +3817,15 @@ function create_if_block$8(ctx) {
|
|
|
3817
3817
|
};
|
|
3818
3818
|
}
|
|
3819
3819
|
|
|
3820
|
-
function create_fragment$
|
|
3820
|
+
function create_fragment$g(ctx) {
|
|
3821
3821
|
let div1;
|
|
3822
3822
|
let t0;
|
|
3823
3823
|
let div0;
|
|
3824
3824
|
let t1;
|
|
3825
3825
|
let t2;
|
|
3826
3826
|
let if_block0 = /*label*/ ctx[3] && create_if_block_2$4(ctx);
|
|
3827
|
-
let if_block1 = /*error*/ ctx[2] && create_if_block_1$
|
|
3828
|
-
let if_block2 = /*helptext*/ ctx[0] && create_if_block$
|
|
3827
|
+
let if_block1 = /*error*/ ctx[2] && create_if_block_1$6(ctx);
|
|
3828
|
+
let if_block2 = /*helptext*/ ctx[0] && create_if_block$9(ctx);
|
|
3829
3829
|
|
|
3830
3830
|
return {
|
|
3831
3831
|
c() {
|
|
@@ -3870,7 +3870,7 @@ function create_fragment$f(ctx) {
|
|
|
3870
3870
|
if (if_block1) {
|
|
3871
3871
|
if_block1.p(ctx, dirty);
|
|
3872
3872
|
} else {
|
|
3873
|
-
if_block1 = create_if_block_1$
|
|
3873
|
+
if_block1 = create_if_block_1$6(ctx);
|
|
3874
3874
|
if_block1.c();
|
|
3875
3875
|
if_block1.m(div1, t2);
|
|
3876
3876
|
}
|
|
@@ -3883,7 +3883,7 @@ function create_fragment$f(ctx) {
|
|
|
3883
3883
|
if (if_block2) {
|
|
3884
3884
|
if_block2.p(ctx, dirty);
|
|
3885
3885
|
} else {
|
|
3886
|
-
if_block2 = create_if_block$
|
|
3886
|
+
if_block2 = create_if_block$9(ctx);
|
|
3887
3887
|
if_block2.c();
|
|
3888
3888
|
if_block2.m(div1, null);
|
|
3889
3889
|
}
|
|
@@ -3903,7 +3903,7 @@ function create_fragment$f(ctx) {
|
|
|
3903
3903
|
};
|
|
3904
3904
|
}
|
|
3905
3905
|
|
|
3906
|
-
function instance$
|
|
3906
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
3907
3907
|
let isOptional;
|
|
3908
3908
|
let { helptext = "" } = $$props;
|
|
3909
3909
|
let { name = "" } = $$props;
|
|
@@ -3940,8 +3940,8 @@ class FormItem extends SvelteElement {
|
|
|
3940
3940
|
props: attribute_to_object(this.attributes),
|
|
3941
3941
|
customElement: true
|
|
3942
3942
|
},
|
|
3943
|
-
instance$
|
|
3944
|
-
create_fragment$
|
|
3943
|
+
instance$f,
|
|
3944
|
+
create_fragment$g,
|
|
3945
3945
|
safe_not_equal,
|
|
3946
3946
|
{
|
|
3947
3947
|
helptext: 0,
|
|
@@ -4019,7 +4019,7 @@ customElements.define("goa-form-item", FormItem);
|
|
|
4019
4019
|
|
|
4020
4020
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.44.3 */
|
|
4021
4021
|
|
|
4022
|
-
function create_fragment$
|
|
4022
|
+
function create_fragment$f(ctx) {
|
|
4023
4023
|
let div1;
|
|
4024
4024
|
let goa_page_block;
|
|
4025
4025
|
let h1;
|
|
@@ -4076,7 +4076,7 @@ function create_fragment$e(ctx) {
|
|
|
4076
4076
|
};
|
|
4077
4077
|
}
|
|
4078
4078
|
|
|
4079
|
-
function instance$
|
|
4079
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
4080
4080
|
let { title } = $$props;
|
|
4081
4081
|
let { backgroundurl } = $$props;
|
|
4082
4082
|
|
|
@@ -4100,8 +4100,8 @@ class HeroBanner extends SvelteElement {
|
|
|
4100
4100
|
props: attribute_to_object(this.attributes),
|
|
4101
4101
|
customElement: true
|
|
4102
4102
|
},
|
|
4103
|
-
instance$
|
|
4104
|
-
create_fragment$
|
|
4103
|
+
instance$e,
|
|
4104
|
+
create_fragment$f,
|
|
4105
4105
|
safe_not_equal,
|
|
4106
4106
|
{ title: 0, backgroundurl: 1 },
|
|
4107
4107
|
null
|
|
@@ -4146,7 +4146,7 @@ customElements.define("goa-hero-banner", HeroBanner);
|
|
|
4146
4146
|
|
|
4147
4147
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.44.3 */
|
|
4148
4148
|
|
|
4149
|
-
function create_if_block$
|
|
4149
|
+
function create_if_block$8(ctx) {
|
|
4150
4150
|
let ion_icon;
|
|
4151
4151
|
let ion_icon_style_value;
|
|
4152
4152
|
let ion_icon_name_value;
|
|
@@ -4180,11 +4180,11 @@ function create_if_block$7(ctx) {
|
|
|
4180
4180
|
};
|
|
4181
4181
|
}
|
|
4182
4182
|
|
|
4183
|
-
function create_fragment$
|
|
4183
|
+
function create_fragment$e(ctx) {
|
|
4184
4184
|
let div;
|
|
4185
4185
|
let div_data_testid_value;
|
|
4186
4186
|
let div_style_value;
|
|
4187
|
-
let if_block = /*type*/ ctx[0] && create_if_block$
|
|
4187
|
+
let if_block = /*type*/ ctx[0] && create_if_block$8(ctx);
|
|
4188
4188
|
|
|
4189
4189
|
return {
|
|
4190
4190
|
c() {
|
|
@@ -4205,7 +4205,7 @@ function create_fragment$d(ctx) {
|
|
|
4205
4205
|
if (if_block) {
|
|
4206
4206
|
if_block.p(ctx, dirty);
|
|
4207
4207
|
} else {
|
|
4208
|
-
if_block = create_if_block$
|
|
4208
|
+
if_block = create_if_block$8(ctx);
|
|
4209
4209
|
if_block.c();
|
|
4210
4210
|
if_block.m(div, null);
|
|
4211
4211
|
}
|
|
@@ -4235,7 +4235,7 @@ function create_fragment$d(ctx) {
|
|
|
4235
4235
|
};
|
|
4236
4236
|
}
|
|
4237
4237
|
|
|
4238
|
-
function instance$
|
|
4238
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
4239
4239
|
let isInverted;
|
|
4240
4240
|
let _size;
|
|
4241
4241
|
let { type } = $$props;
|
|
@@ -4279,8 +4279,8 @@ class Icon extends SvelteElement {
|
|
|
4279
4279
|
props: attribute_to_object(this.attributes),
|
|
4280
4280
|
customElement: true
|
|
4281
4281
|
},
|
|
4282
|
-
instance$
|
|
4283
|
-
create_fragment$
|
|
4282
|
+
instance$d,
|
|
4283
|
+
create_fragment$e,
|
|
4284
4284
|
safe_not_equal,
|
|
4285
4285
|
{ type: 0, size: 4, theme: 1, inverted: 5 },
|
|
4286
4286
|
null
|
|
@@ -4343,7 +4343,7 @@ customElements.define("goa-icon", Icon);
|
|
|
4343
4343
|
|
|
4344
4344
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.44.3 */
|
|
4345
4345
|
|
|
4346
|
-
function create_fragment$
|
|
4346
|
+
function create_fragment$d(ctx) {
|
|
4347
4347
|
let button;
|
|
4348
4348
|
let goa_icon;
|
|
4349
4349
|
let mounted;
|
|
@@ -4424,7 +4424,7 @@ function handleClick(e) {
|
|
|
4424
4424
|
e.target.dispatchEvent(new CustomEvent("_click", { composed: true, detail: { event: e } }));
|
|
4425
4425
|
}
|
|
4426
4426
|
|
|
4427
|
-
function instance$
|
|
4427
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
4428
4428
|
let css;
|
|
4429
4429
|
let isDisabled;
|
|
4430
4430
|
let isInverted;
|
|
@@ -4500,8 +4500,8 @@ class IconButton extends SvelteElement {
|
|
|
4500
4500
|
props: attribute_to_object(this.attributes),
|
|
4501
4501
|
customElement: true
|
|
4502
4502
|
},
|
|
4503
|
-
instance$
|
|
4504
|
-
create_fragment$
|
|
4503
|
+
instance$c,
|
|
4504
|
+
create_fragment$d,
|
|
4505
4505
|
safe_not_equal,
|
|
4506
4506
|
{
|
|
4507
4507
|
type: 0,
|
|
@@ -4626,6 +4626,7 @@ function create_if_block_2$3(ctx) {
|
|
|
4626
4626
|
c() {
|
|
4627
4627
|
div = element("div");
|
|
4628
4628
|
goa_icon = element("goa-icon");
|
|
4629
|
+
set_custom_element_data(goa_icon, "data-testid", "leading-icon");
|
|
4629
4630
|
set_custom_element_data(goa_icon, "type", /*leadingicon*/ ctx[5]);
|
|
4630
4631
|
attr(div, "class", "goa-input-leading-icon");
|
|
4631
4632
|
},
|
|
@@ -4644,8 +4645,8 @@ function create_if_block_2$3(ctx) {
|
|
|
4644
4645
|
};
|
|
4645
4646
|
}
|
|
4646
4647
|
|
|
4647
|
-
// (
|
|
4648
|
-
function create_if_block_1$
|
|
4648
|
+
// (72:2) {#if trailingicon && !handlesTrailingIconClick}
|
|
4649
|
+
function create_if_block_1$5(ctx) {
|
|
4649
4650
|
let div;
|
|
4650
4651
|
let goa_icon;
|
|
4651
4652
|
|
|
@@ -4653,6 +4654,7 @@ function create_if_block_1$4(ctx) {
|
|
|
4653
4654
|
c() {
|
|
4654
4655
|
div = element("div");
|
|
4655
4656
|
goa_icon = element("goa-icon");
|
|
4657
|
+
set_custom_element_data(goa_icon, "data-testid", "trailing-icon");
|
|
4656
4658
|
set_custom_element_data(goa_icon, "size", "medium");
|
|
4657
4659
|
set_custom_element_data(goa_icon, "type", /*trailingicon*/ ctx[6]);
|
|
4658
4660
|
attr(div, "class", "goa-input-trailing-icon");
|
|
@@ -4672,11 +4674,10 @@ function create_if_block_1$4(ctx) {
|
|
|
4672
4674
|
};
|
|
4673
4675
|
}
|
|
4674
4676
|
|
|
4675
|
-
// (
|
|
4676
|
-
function create_if_block$
|
|
4677
|
+
// (78:2) {#if trailingicon && handlesTrailingIconClick}
|
|
4678
|
+
function create_if_block$7(ctx) {
|
|
4677
4679
|
let div;
|
|
4678
4680
|
let goa_icon_button;
|
|
4679
|
-
let goa_icon_button_testid_value;
|
|
4680
4681
|
let mounted;
|
|
4681
4682
|
let dispose;
|
|
4682
4683
|
|
|
@@ -4684,11 +4685,11 @@ function create_if_block$6(ctx) {
|
|
|
4684
4685
|
c() {
|
|
4685
4686
|
div = element("div");
|
|
4686
4687
|
goa_icon_button = element("goa-icon-button");
|
|
4687
|
-
set_custom_element_data(goa_icon_button, "disabled", /*isDisabled*/ ctx[
|
|
4688
|
+
set_custom_element_data(goa_icon_button, "disabled", /*isDisabled*/ ctx[10]);
|
|
4688
4689
|
set_custom_element_data(goa_icon_button, "variant", "nocolor");
|
|
4689
4690
|
set_custom_element_data(goa_icon_button, "size", "medium");
|
|
4690
4691
|
set_custom_element_data(goa_icon_button, "type", /*trailingicon*/ ctx[6]);
|
|
4691
|
-
set_custom_element_data(goa_icon_button, "testid",
|
|
4692
|
+
set_custom_element_data(goa_icon_button, "data-testid", "trailing-icon-button");
|
|
4692
4693
|
attr(div, "class", "goa-input-trailing-icon");
|
|
4693
4694
|
},
|
|
4694
4695
|
m(target, anchor) {
|
|
@@ -4701,17 +4702,13 @@ function create_if_block$6(ctx) {
|
|
|
4701
4702
|
}
|
|
4702
4703
|
},
|
|
4703
4704
|
p(ctx, dirty) {
|
|
4704
|
-
if (dirty & /*isDisabled*/
|
|
4705
|
-
set_custom_element_data(goa_icon_button, "disabled", /*isDisabled*/ ctx[
|
|
4705
|
+
if (dirty & /*isDisabled*/ 1024) {
|
|
4706
|
+
set_custom_element_data(goa_icon_button, "disabled", /*isDisabled*/ ctx[10]);
|
|
4706
4707
|
}
|
|
4707
4708
|
|
|
4708
4709
|
if (dirty & /*trailingicon*/ 64) {
|
|
4709
4710
|
set_custom_element_data(goa_icon_button, "type", /*trailingicon*/ ctx[6]);
|
|
4710
4711
|
}
|
|
4711
|
-
|
|
4712
|
-
if (dirty & /*name*/ 2 && goa_icon_button_testid_value !== (goa_icon_button_testid_value = `${/*name*/ ctx[1]}-input-trailing-button`)) {
|
|
4713
|
-
set_custom_element_data(goa_icon_button, "testid", goa_icon_button_testid_value);
|
|
4714
|
-
}
|
|
4715
4712
|
},
|
|
4716
4713
|
d(detaching) {
|
|
4717
4714
|
if (detaching) detach(div);
|
|
@@ -4721,7 +4718,7 @@ function create_if_block$6(ctx) {
|
|
|
4721
4718
|
};
|
|
4722
4719
|
}
|
|
4723
4720
|
|
|
4724
|
-
function create_fragment$
|
|
4721
|
+
function create_fragment$c(ctx) {
|
|
4725
4722
|
let div;
|
|
4726
4723
|
let t0;
|
|
4727
4724
|
let input;
|
|
@@ -4732,8 +4729,8 @@ function create_fragment$b(ctx) {
|
|
|
4732
4729
|
let mounted;
|
|
4733
4730
|
let dispose;
|
|
4734
4731
|
let if_block0 = /*leadingicon*/ ctx[5] && create_if_block_2$3(ctx);
|
|
4735
|
-
let if_block1 = /*trailingicon*/ ctx[6] && !/*
|
|
4736
|
-
let if_block2 = /*trailingicon*/ ctx[6] && /*
|
|
4732
|
+
let if_block1 = /*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[13] && create_if_block_1$5(ctx);
|
|
4733
|
+
let if_block2 = /*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[13] && create_if_block$7(ctx);
|
|
4737
4734
|
|
|
4738
4735
|
return {
|
|
4739
4736
|
c() {
|
|
@@ -4748,27 +4745,35 @@ function create_fragment$b(ctx) {
|
|
|
4748
4745
|
this.c = noop;
|
|
4749
4746
|
attr(input, "id", /*id*/ ctx[3]);
|
|
4750
4747
|
attr(input, "class", input_class_value = `input--${/*variant*/ ctx[7]}`);
|
|
4751
|
-
input.readOnly = /*isReadonly*/ ctx[
|
|
4752
|
-
input.disabled = /*isDisabled*/ ctx[
|
|
4748
|
+
input.readOnly = /*isReadonly*/ ctx[12];
|
|
4749
|
+
input.disabled = /*isDisabled*/ ctx[10];
|
|
4750
|
+
attr(input, "data-testid", /*testid*/ ctx[8]);
|
|
4751
|
+
attr(input, "name", /*name*/ ctx[1]);
|
|
4753
4752
|
attr(input, "type", /*type*/ ctx[0]);
|
|
4754
4753
|
input.value = /*value*/ ctx[2];
|
|
4755
4754
|
attr(input, "placeholder", /*placeholder*/ ctx[4]);
|
|
4756
|
-
|
|
4757
|
-
|
|
4755
|
+
|
|
4756
|
+
attr(div, "class", div_class_value = `
|
|
4757
|
+
goa-input ${/*isDisabled*/ ctx[10] ? "goa-input--disabled" : ""}
|
|
4758
|
+
variant--${/*variant*/ ctx[7]}
|
|
4759
|
+
type--${/*type*/ ctx[0]}
|
|
4760
|
+
`);
|
|
4761
|
+
|
|
4762
|
+
toggle_class(div, "error", /*isError*/ ctx[11]);
|
|
4758
4763
|
},
|
|
4759
4764
|
m(target, anchor) {
|
|
4760
4765
|
insert(target, div, anchor);
|
|
4761
4766
|
if (if_block0) if_block0.m(div, null);
|
|
4762
4767
|
append(div, t0);
|
|
4763
4768
|
append(div, input);
|
|
4764
|
-
/*input_binding*/ ctx[
|
|
4769
|
+
/*input_binding*/ ctx[21](input);
|
|
4765
4770
|
append(div, t1);
|
|
4766
4771
|
if (if_block1) if_block1.m(div, null);
|
|
4767
4772
|
append(div, t2);
|
|
4768
4773
|
if (if_block2) if_block2.m(div, null);
|
|
4769
4774
|
|
|
4770
4775
|
if (!mounted) {
|
|
4771
|
-
dispose = listen(input, "keyup", /*onKeyUp*/ ctx[
|
|
4776
|
+
dispose = listen(input, "keyup", /*onKeyUp*/ ctx[14]);
|
|
4772
4777
|
mounted = true;
|
|
4773
4778
|
}
|
|
4774
4779
|
},
|
|
@@ -4794,12 +4799,20 @@ function create_fragment$b(ctx) {
|
|
|
4794
4799
|
attr(input, "class", input_class_value);
|
|
4795
4800
|
}
|
|
4796
4801
|
|
|
4797
|
-
if (dirty & /*isReadonly*/
|
|
4798
|
-
input.readOnly = /*isReadonly*/ ctx[
|
|
4802
|
+
if (dirty & /*isReadonly*/ 4096) {
|
|
4803
|
+
input.readOnly = /*isReadonly*/ ctx[12];
|
|
4799
4804
|
}
|
|
4800
4805
|
|
|
4801
|
-
if (dirty & /*isDisabled*/
|
|
4802
|
-
input.disabled = /*isDisabled*/ ctx[
|
|
4806
|
+
if (dirty & /*isDisabled*/ 1024) {
|
|
4807
|
+
input.disabled = /*isDisabled*/ ctx[10];
|
|
4808
|
+
}
|
|
4809
|
+
|
|
4810
|
+
if (dirty & /*testid*/ 256) {
|
|
4811
|
+
attr(input, "data-testid", /*testid*/ ctx[8]);
|
|
4812
|
+
}
|
|
4813
|
+
|
|
4814
|
+
if (dirty & /*name*/ 2) {
|
|
4815
|
+
attr(input, "name", /*name*/ ctx[1]);
|
|
4803
4816
|
}
|
|
4804
4817
|
|
|
4805
4818
|
if (dirty & /*type*/ 1) {
|
|
@@ -4814,11 +4827,11 @@ function create_fragment$b(ctx) {
|
|
|
4814
4827
|
attr(input, "placeholder", /*placeholder*/ ctx[4]);
|
|
4815
4828
|
}
|
|
4816
4829
|
|
|
4817
|
-
if (/*trailingicon*/ ctx[6] && !/*
|
|
4830
|
+
if (/*trailingicon*/ ctx[6] && !/*handlesTrailingIconClick*/ ctx[13]) {
|
|
4818
4831
|
if (if_block1) {
|
|
4819
4832
|
if_block1.p(ctx, dirty);
|
|
4820
4833
|
} else {
|
|
4821
|
-
if_block1 = create_if_block_1$
|
|
4834
|
+
if_block1 = create_if_block_1$5(ctx);
|
|
4822
4835
|
if_block1.c();
|
|
4823
4836
|
if_block1.m(div, t2);
|
|
4824
4837
|
}
|
|
@@ -4827,11 +4840,11 @@ function create_fragment$b(ctx) {
|
|
|
4827
4840
|
if_block1 = null;
|
|
4828
4841
|
}
|
|
4829
4842
|
|
|
4830
|
-
if (/*trailingicon*/ ctx[6] && /*
|
|
4843
|
+
if (/*trailingicon*/ ctx[6] && /*handlesTrailingIconClick*/ ctx[13]) {
|
|
4831
4844
|
if (if_block2) {
|
|
4832
4845
|
if_block2.p(ctx, dirty);
|
|
4833
4846
|
} else {
|
|
4834
|
-
if_block2 = create_if_block$
|
|
4847
|
+
if_block2 = create_if_block$7(ctx);
|
|
4835
4848
|
if_block2.c();
|
|
4836
4849
|
if_block2.m(div, null);
|
|
4837
4850
|
}
|
|
@@ -4840,12 +4853,16 @@ function create_fragment$b(ctx) {
|
|
|
4840
4853
|
if_block2 = null;
|
|
4841
4854
|
}
|
|
4842
4855
|
|
|
4843
|
-
if (dirty & /*isDisabled*/
|
|
4856
|
+
if (dirty & /*isDisabled, variant, type*/ 1153 && div_class_value !== (div_class_value = `
|
|
4857
|
+
goa-input ${/*isDisabled*/ ctx[10] ? "goa-input--disabled" : ""}
|
|
4858
|
+
variant--${/*variant*/ ctx[7]}
|
|
4859
|
+
type--${/*type*/ ctx[0]}
|
|
4860
|
+
`)) {
|
|
4844
4861
|
attr(div, "class", div_class_value);
|
|
4845
4862
|
}
|
|
4846
4863
|
|
|
4847
|
-
if (dirty & /*isDisabled, isError*/
|
|
4848
|
-
toggle_class(div, "error", /*isError*/ ctx[
|
|
4864
|
+
if (dirty & /*isDisabled, variant, type, isError*/ 3201) {
|
|
4865
|
+
toggle_class(div, "error", /*isError*/ ctx[11]);
|
|
4849
4866
|
}
|
|
4850
4867
|
},
|
|
4851
4868
|
i: noop,
|
|
@@ -4853,7 +4870,7 @@ function create_fragment$b(ctx) {
|
|
|
4853
4870
|
d(detaching) {
|
|
4854
4871
|
if (detaching) detach(div);
|
|
4855
4872
|
if (if_block0) if_block0.d();
|
|
4856
|
-
/*input_binding*/ ctx[
|
|
4873
|
+
/*input_binding*/ ctx[21](null);
|
|
4857
4874
|
if (if_block1) if_block1.d();
|
|
4858
4875
|
if (if_block2) if_block2.d();
|
|
4859
4876
|
mounted = false;
|
|
@@ -4866,8 +4883,8 @@ function doClick() {
|
|
|
4866
4883
|
this.dispatchEvent(new CustomEvent("_trailingIconClick", { composed: true }));
|
|
4867
4884
|
}
|
|
4868
4885
|
|
|
4869
|
-
function instance$
|
|
4870
|
-
let
|
|
4886
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
4887
|
+
let handlesTrailingIconClick;
|
|
4871
4888
|
let isFocused;
|
|
4872
4889
|
let isReadonly;
|
|
4873
4890
|
let isError;
|
|
@@ -4880,17 +4897,14 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
4880
4897
|
let { leadingicon = null } = $$props;
|
|
4881
4898
|
let { trailingicon = null } = $$props;
|
|
4882
4899
|
let { variant = "goa" } = $$props;
|
|
4883
|
-
let { disabled } = $$props;
|
|
4884
|
-
let { handletrailingiconclick } = $$props;
|
|
4885
|
-
let { focused } = $$props;
|
|
4886
|
-
let { readonly } = $$props;
|
|
4887
|
-
let { error } = $$props;
|
|
4900
|
+
let { disabled = "false" } = $$props;
|
|
4901
|
+
let { handletrailingiconclick = "false" } = $$props;
|
|
4902
|
+
let { focused = "false" } = $$props;
|
|
4903
|
+
let { readonly = "false" } = $$props;
|
|
4904
|
+
let { error = "false" } = $$props;
|
|
4905
|
+
let { testid = "" } = $$props;
|
|
4888
4906
|
let inputEl;
|
|
4889
4907
|
|
|
4890
|
-
onMount(async () => {
|
|
4891
|
-
await tick();
|
|
4892
|
-
});
|
|
4893
|
-
|
|
4894
4908
|
function onKeyUp(e) {
|
|
4895
4909
|
e.target.dispatchEvent(new CustomEvent("_change",
|
|
4896
4910
|
{
|
|
@@ -4909,7 +4923,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
4909
4923
|
function input_binding($$value) {
|
|
4910
4924
|
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
4911
4925
|
inputEl = $$value;
|
|
4912
|
-
$$invalidate(
|
|
4926
|
+
$$invalidate(9, inputEl);
|
|
4913
4927
|
});
|
|
4914
4928
|
}
|
|
4915
4929
|
|
|
@@ -4922,39 +4936,38 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
4922
4936
|
if ('leadingicon' in $$props) $$invalidate(5, leadingicon = $$props.leadingicon);
|
|
4923
4937
|
if ('trailingicon' in $$props) $$invalidate(6, trailingicon = $$props.trailingicon);
|
|
4924
4938
|
if ('variant' in $$props) $$invalidate(7, variant = $$props.variant);
|
|
4925
|
-
if ('disabled' in $$props) $$invalidate(
|
|
4926
|
-
if ('handletrailingiconclick' in $$props) $$invalidate(
|
|
4927
|
-
if ('focused' in $$props) $$invalidate(
|
|
4928
|
-
if ('readonly' in $$props) $$invalidate(
|
|
4929
|
-
if ('error' in $$props) $$invalidate(
|
|
4939
|
+
if ('disabled' in $$props) $$invalidate(15, disabled = $$props.disabled);
|
|
4940
|
+
if ('handletrailingiconclick' in $$props) $$invalidate(16, handletrailingiconclick = $$props.handletrailingiconclick);
|
|
4941
|
+
if ('focused' in $$props) $$invalidate(17, focused = $$props.focused);
|
|
4942
|
+
if ('readonly' in $$props) $$invalidate(18, readonly = $$props.readonly);
|
|
4943
|
+
if ('error' in $$props) $$invalidate(19, error = $$props.error);
|
|
4944
|
+
if ('testid' in $$props) $$invalidate(8, testid = $$props.testid);
|
|
4930
4945
|
};
|
|
4931
4946
|
|
|
4932
4947
|
$$self.$$.update = () => {
|
|
4933
|
-
if ($$self.$$.dirty & /*handletrailingiconclick*/
|
|
4934
|
-
$$invalidate(
|
|
4948
|
+
if ($$self.$$.dirty & /*handletrailingiconclick*/ 65536) {
|
|
4949
|
+
$$invalidate(13, handlesTrailingIconClick = toBoolean(handletrailingiconclick));
|
|
4935
4950
|
}
|
|
4936
4951
|
|
|
4937
|
-
if ($$self.$$.dirty & /*focused*/
|
|
4938
|
-
$$invalidate(
|
|
4952
|
+
if ($$self.$$.dirty & /*focused*/ 131072) {
|
|
4953
|
+
$$invalidate(20, isFocused = toBoolean(focused));
|
|
4939
4954
|
}
|
|
4940
4955
|
|
|
4941
|
-
if ($$self.$$.dirty & /*readonly*/
|
|
4942
|
-
$$invalidate(
|
|
4956
|
+
if ($$self.$$.dirty & /*readonly*/ 262144) {
|
|
4957
|
+
$$invalidate(12, isReadonly = toBoolean(readonly));
|
|
4943
4958
|
}
|
|
4944
4959
|
|
|
4945
|
-
if ($$self.$$.dirty & /*error*/
|
|
4946
|
-
$$invalidate(
|
|
4960
|
+
if ($$self.$$.dirty & /*error*/ 524288) {
|
|
4961
|
+
$$invalidate(11, isError = toBoolean(error));
|
|
4947
4962
|
}
|
|
4948
4963
|
|
|
4949
|
-
if ($$self.$$.dirty & /*disabled*/
|
|
4950
|
-
$$invalidate(
|
|
4964
|
+
if ($$self.$$.dirty & /*disabled*/ 32768) {
|
|
4965
|
+
$$invalidate(10, isDisabled = toBoolean(disabled));
|
|
4951
4966
|
}
|
|
4952
4967
|
|
|
4953
|
-
if ($$self.$$.dirty & /*isFocused, inputEl*/
|
|
4954
|
-
if (isFocused) {
|
|
4955
|
-
|
|
4956
|
-
? void 0
|
|
4957
|
-
: inputEl.focus();
|
|
4968
|
+
if ($$self.$$.dirty & /*isFocused, inputEl*/ 1049088) {
|
|
4969
|
+
if (isFocused && inputEl) {
|
|
4970
|
+
setTimeout(() => inputEl.focus(), 1);
|
|
4958
4971
|
}
|
|
4959
4972
|
}
|
|
4960
4973
|
};
|
|
@@ -4968,11 +4981,12 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
4968
4981
|
leadingicon,
|
|
4969
4982
|
trailingicon,
|
|
4970
4983
|
variant,
|
|
4984
|
+
testid,
|
|
4971
4985
|
inputEl,
|
|
4972
4986
|
isDisabled,
|
|
4973
4987
|
isError,
|
|
4974
4988
|
isReadonly,
|
|
4975
|
-
|
|
4989
|
+
handlesTrailingIconClick,
|
|
4976
4990
|
onKeyUp,
|
|
4977
4991
|
disabled,
|
|
4978
4992
|
handletrailingiconclick,
|
|
@@ -4987,7 +5001,7 @@ function instance$a($$self, $$props, $$invalidate) {
|
|
|
4987
5001
|
class Input extends SvelteElement {
|
|
4988
5002
|
constructor(options) {
|
|
4989
5003
|
super();
|
|
4990
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:white;color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem) 0.5rem;display:flex;align-items:center}.goa-input
|
|
5004
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-input,.goa-input *{box-sizing:border-box}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--color-gray-600);border-radius:3px;background:white;color:var(--color-black, #ccc);padding:var(--input-padding, 0.5rem) 0.5rem;display:flex;align-items:center}.goa-input:hover{border-color:var(--goa-color-interactive--hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive--highlight)}.goa-input:disabled{border-color:var(--color-gray-500)}.goa-input:disabled:hover{border-color:var(--color-gray-500)}.goa-input:disabled:focus{box-shadow:none}.goa-input input[readonly]{cursor:pointer}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{line-height:18px}.goa-input-trailing-icon{display:flex;align-items:center}.goa-input-trailing-icon>.goa-icon-button{margin-right:-0.5rem}input{display:block;width:100%;font-size:var(--input-font-size)}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled{opacity:0.5;cursor:default;border-color:var(--color-black)}.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{border-color:var(--color-black);cursor:default;box-shadow:none}.goa-input--disabled input:hover{cursor:default !important}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.goa-state--error .goa-input{border:2px solid var(--goa-color-status-emergency)}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-status-emergency-dark)}</style>`;
|
|
4991
5005
|
|
|
4992
5006
|
init(
|
|
4993
5007
|
this,
|
|
@@ -4996,8 +5010,8 @@ class Input extends SvelteElement {
|
|
|
4996
5010
|
props: attribute_to_object(this.attributes),
|
|
4997
5011
|
customElement: true
|
|
4998
5012
|
},
|
|
4999
|
-
instance$
|
|
5000
|
-
create_fragment$
|
|
5013
|
+
instance$b,
|
|
5014
|
+
create_fragment$c,
|
|
5001
5015
|
safe_not_equal,
|
|
5002
5016
|
{
|
|
5003
5017
|
type: 0,
|
|
@@ -5008,11 +5022,12 @@ class Input extends SvelteElement {
|
|
|
5008
5022
|
leadingicon: 5,
|
|
5009
5023
|
trailingicon: 6,
|
|
5010
5024
|
variant: 7,
|
|
5011
|
-
disabled:
|
|
5012
|
-
handletrailingiconclick:
|
|
5013
|
-
focused:
|
|
5014
|
-
readonly:
|
|
5015
|
-
error:
|
|
5025
|
+
disabled: 15,
|
|
5026
|
+
handletrailingiconclick: 16,
|
|
5027
|
+
focused: 17,
|
|
5028
|
+
readonly: 18,
|
|
5029
|
+
error: 19,
|
|
5030
|
+
testid: 8
|
|
5016
5031
|
},
|
|
5017
5032
|
null
|
|
5018
5033
|
);
|
|
@@ -5043,7 +5058,8 @@ class Input extends SvelteElement {
|
|
|
5043
5058
|
"handletrailingiconclick",
|
|
5044
5059
|
"focused",
|
|
5045
5060
|
"readonly",
|
|
5046
|
-
"error"
|
|
5061
|
+
"error",
|
|
5062
|
+
"testid"
|
|
5047
5063
|
];
|
|
5048
5064
|
}
|
|
5049
5065
|
|
|
@@ -5120,7 +5136,7 @@ class Input extends SvelteElement {
|
|
|
5120
5136
|
}
|
|
5121
5137
|
|
|
5122
5138
|
get disabled() {
|
|
5123
|
-
return this.$$.ctx[
|
|
5139
|
+
return this.$$.ctx[15];
|
|
5124
5140
|
}
|
|
5125
5141
|
|
|
5126
5142
|
set disabled(disabled) {
|
|
@@ -5129,7 +5145,7 @@ class Input extends SvelteElement {
|
|
|
5129
5145
|
}
|
|
5130
5146
|
|
|
5131
5147
|
get handletrailingiconclick() {
|
|
5132
|
-
return this.$$.ctx[
|
|
5148
|
+
return this.$$.ctx[16];
|
|
5133
5149
|
}
|
|
5134
5150
|
|
|
5135
5151
|
set handletrailingiconclick(handletrailingiconclick) {
|
|
@@ -5138,7 +5154,7 @@ class Input extends SvelteElement {
|
|
|
5138
5154
|
}
|
|
5139
5155
|
|
|
5140
5156
|
get focused() {
|
|
5141
|
-
return this.$$.ctx[
|
|
5157
|
+
return this.$$.ctx[17];
|
|
5142
5158
|
}
|
|
5143
5159
|
|
|
5144
5160
|
set focused(focused) {
|
|
@@ -5147,7 +5163,7 @@ class Input extends SvelteElement {
|
|
|
5147
5163
|
}
|
|
5148
5164
|
|
|
5149
5165
|
get readonly() {
|
|
5150
|
-
return this.$$.ctx[
|
|
5166
|
+
return this.$$.ctx[18];
|
|
5151
5167
|
}
|
|
5152
5168
|
|
|
5153
5169
|
set readonly(readonly) {
|
|
@@ -5156,13 +5172,22 @@ class Input extends SvelteElement {
|
|
|
5156
5172
|
}
|
|
5157
5173
|
|
|
5158
5174
|
get error() {
|
|
5159
|
-
return this.$$.ctx[
|
|
5175
|
+
return this.$$.ctx[19];
|
|
5160
5176
|
}
|
|
5161
5177
|
|
|
5162
5178
|
set error(error) {
|
|
5163
5179
|
this.$$set({ error });
|
|
5164
5180
|
flush();
|
|
5165
5181
|
}
|
|
5182
|
+
|
|
5183
|
+
get testid() {
|
|
5184
|
+
return this.$$.ctx[8];
|
|
5185
|
+
}
|
|
5186
|
+
|
|
5187
|
+
set testid(testid) {
|
|
5188
|
+
this.$$set({ testid });
|
|
5189
|
+
flush();
|
|
5190
|
+
}
|
|
5166
5191
|
}
|
|
5167
5192
|
|
|
5168
5193
|
customElements.define("goa-input", Input);
|
|
@@ -5244,7 +5269,7 @@ function noScroll(node, opts) {
|
|
|
5244
5269
|
|
|
5245
5270
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.44.3 */
|
|
5246
5271
|
|
|
5247
|
-
function create_if_block$
|
|
5272
|
+
function create_if_block$6(ctx) {
|
|
5248
5273
|
let div4;
|
|
5249
5274
|
let div0;
|
|
5250
5275
|
let t0;
|
|
@@ -5268,7 +5293,7 @@ function create_if_block$5(ctx) {
|
|
|
5268
5293
|
let if_block1 = /*isClosable*/ ctx[4] && create_if_block_2$2();
|
|
5269
5294
|
|
|
5270
5295
|
function select_block_type(ctx, dirty) {
|
|
5271
|
-
if (/*isScrollable*/ ctx[3]) return create_if_block_1$
|
|
5296
|
+
if (/*isScrollable*/ ctx[3]) return create_if_block_1$4;
|
|
5272
5297
|
return create_else_block$2;
|
|
5273
5298
|
}
|
|
5274
5299
|
|
|
@@ -5481,7 +5506,7 @@ function create_else_block$2(ctx) {
|
|
|
5481
5506
|
}
|
|
5482
5507
|
|
|
5483
5508
|
// (47:8) {#if isScrollable}
|
|
5484
|
-
function create_if_block_1$
|
|
5509
|
+
function create_if_block_1$4(ctx) {
|
|
5485
5510
|
let goa_scrollable;
|
|
5486
5511
|
|
|
5487
5512
|
return {
|
|
@@ -5501,10 +5526,10 @@ function create_if_block_1$3(ctx) {
|
|
|
5501
5526
|
};
|
|
5502
5527
|
}
|
|
5503
5528
|
|
|
5504
|
-
function create_fragment$
|
|
5529
|
+
function create_fragment$b(ctx) {
|
|
5505
5530
|
let if_block_anchor;
|
|
5506
5531
|
let current;
|
|
5507
|
-
let if_block = /*isOpen*/ ctx[1] && create_if_block$
|
|
5532
|
+
let if_block = /*isOpen*/ ctx[1] && create_if_block$6(ctx);
|
|
5508
5533
|
|
|
5509
5534
|
return {
|
|
5510
5535
|
c() {
|
|
@@ -5526,7 +5551,7 @@ function create_fragment$a(ctx) {
|
|
|
5526
5551
|
transition_in(if_block, 1);
|
|
5527
5552
|
}
|
|
5528
5553
|
} else {
|
|
5529
|
-
if_block = create_if_block$
|
|
5554
|
+
if_block = create_if_block$6(ctx);
|
|
5530
5555
|
if_block.c();
|
|
5531
5556
|
transition_in(if_block, 1);
|
|
5532
5557
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5562,7 +5587,7 @@ function close(e) {
|
|
|
5562
5587
|
e.stopPropagation();
|
|
5563
5588
|
}
|
|
5564
5589
|
|
|
5565
|
-
function instance$
|
|
5590
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
5566
5591
|
let isClosable;
|
|
5567
5592
|
let isScrollable;
|
|
5568
5593
|
let isOpen;
|
|
@@ -5626,8 +5651,8 @@ class Modal extends SvelteElement {
|
|
|
5626
5651
|
props: attribute_to_object(this.attributes),
|
|
5627
5652
|
customElement: true
|
|
5628
5653
|
},
|
|
5629
|
-
instance$
|
|
5630
|
-
create_fragment$
|
|
5654
|
+
instance$a,
|
|
5655
|
+
create_fragment$b,
|
|
5631
5656
|
safe_not_equal,
|
|
5632
5657
|
{
|
|
5633
5658
|
title: 0,
|
|
@@ -5695,7 +5720,7 @@ customElements.define("goa-modal", Modal);
|
|
|
5695
5720
|
|
|
5696
5721
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.44.3 */
|
|
5697
5722
|
|
|
5698
|
-
function create_if_block$
|
|
5723
|
+
function create_if_block$5(ctx) {
|
|
5699
5724
|
let div3;
|
|
5700
5725
|
let div0;
|
|
5701
5726
|
let goa_icon;
|
|
@@ -5779,10 +5804,10 @@ function create_if_block$4(ctx) {
|
|
|
5779
5804
|
};
|
|
5780
5805
|
}
|
|
5781
5806
|
|
|
5782
|
-
function create_fragment$
|
|
5807
|
+
function create_fragment$a(ctx) {
|
|
5783
5808
|
let if_block_anchor;
|
|
5784
5809
|
let current;
|
|
5785
|
-
let if_block = /*show*/ ctx[1] && create_if_block$
|
|
5810
|
+
let if_block = /*show*/ ctx[1] && create_if_block$5(ctx);
|
|
5786
5811
|
|
|
5787
5812
|
return {
|
|
5788
5813
|
c() {
|
|
@@ -5804,7 +5829,7 @@ function create_fragment$9(ctx) {
|
|
|
5804
5829
|
transition_in(if_block, 1);
|
|
5805
5830
|
}
|
|
5806
5831
|
} else {
|
|
5807
|
-
if_block = create_if_block$
|
|
5832
|
+
if_block = create_if_block$5(ctx);
|
|
5808
5833
|
if_block.c();
|
|
5809
5834
|
transition_in(if_block, 1);
|
|
5810
5835
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5835,7 +5860,7 @@ function create_fragment$9(ctx) {
|
|
|
5835
5860
|
};
|
|
5836
5861
|
}
|
|
5837
5862
|
|
|
5838
|
-
function instance$
|
|
5863
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
5839
5864
|
let iconType;
|
|
5840
5865
|
let { type } = $$props;
|
|
5841
5866
|
let show = true;
|
|
@@ -5875,8 +5900,8 @@ class Notification extends SvelteElement {
|
|
|
5875
5900
|
props: attribute_to_object(this.attributes),
|
|
5876
5901
|
customElement: true
|
|
5877
5902
|
},
|
|
5878
|
-
instance$
|
|
5879
|
-
create_fragment$
|
|
5903
|
+
instance$9,
|
|
5904
|
+
create_fragment$a,
|
|
5880
5905
|
safe_not_equal,
|
|
5881
5906
|
{ type: 0 },
|
|
5882
5907
|
null
|
|
@@ -5912,7 +5937,7 @@ customElements.define("goa-notification", Notification);
|
|
|
5912
5937
|
|
|
5913
5938
|
/* libs/web-components/src/layouts/PageLayout.svelte generated by Svelte v3.44.3 */
|
|
5914
5939
|
|
|
5915
|
-
function create_fragment$
|
|
5940
|
+
function create_fragment$9(ctx) {
|
|
5916
5941
|
let div;
|
|
5917
5942
|
|
|
5918
5943
|
return {
|
|
@@ -5947,7 +5972,7 @@ class PageLayout extends SvelteElement {
|
|
|
5947
5972
|
customElement: true
|
|
5948
5973
|
},
|
|
5949
5974
|
null,
|
|
5950
|
-
create_fragment$
|
|
5975
|
+
create_fragment$9,
|
|
5951
5976
|
safe_not_equal,
|
|
5952
5977
|
{},
|
|
5953
5978
|
null
|
|
@@ -5965,12 +5990,12 @@ customElements.define("goa-page-layout", PageLayout);
|
|
|
5965
5990
|
|
|
5966
5991
|
/* libs/web-components/src/components/page-loader/PageLoader.svelte generated by Svelte v3.44.3 */
|
|
5967
5992
|
|
|
5968
|
-
function create_if_block$
|
|
5993
|
+
function create_if_block$4(ctx) {
|
|
5969
5994
|
let current_block_type_index;
|
|
5970
5995
|
let if_block;
|
|
5971
5996
|
let if_block_anchor;
|
|
5972
5997
|
let current;
|
|
5973
|
-
const if_block_creators = [create_if_block_1$
|
|
5998
|
+
const if_block_creators = [create_if_block_1$3, create_else_block$1];
|
|
5974
5999
|
const if_blocks = [];
|
|
5975
6000
|
|
|
5976
6001
|
function select_block_type(ctx, dirty) {
|
|
@@ -6095,7 +6120,7 @@ function create_else_block$1(ctx) {
|
|
|
6095
6120
|
}
|
|
6096
6121
|
|
|
6097
6122
|
// (20:2) {#if fullscreen}
|
|
6098
|
-
function create_if_block_1$
|
|
6123
|
+
function create_if_block_1$3(ctx) {
|
|
6099
6124
|
let div;
|
|
6100
6125
|
let goa_spinner;
|
|
6101
6126
|
let goa_spinner_progress_value;
|
|
@@ -6228,10 +6253,10 @@ function create_if_block_2$1(ctx) {
|
|
|
6228
6253
|
};
|
|
6229
6254
|
}
|
|
6230
6255
|
|
|
6231
|
-
function create_fragment$
|
|
6256
|
+
function create_fragment$8(ctx) {
|
|
6232
6257
|
let if_block_anchor;
|
|
6233
6258
|
let current;
|
|
6234
|
-
let if_block = /*ready*/ ctx[3] && create_if_block$
|
|
6259
|
+
let if_block = /*ready*/ ctx[3] && create_if_block$4(ctx);
|
|
6235
6260
|
|
|
6236
6261
|
return {
|
|
6237
6262
|
c() {
|
|
@@ -6253,7 +6278,7 @@ function create_fragment$7(ctx) {
|
|
|
6253
6278
|
transition_in(if_block, 1);
|
|
6254
6279
|
}
|
|
6255
6280
|
} else {
|
|
6256
|
-
if_block = create_if_block$
|
|
6281
|
+
if_block = create_if_block$4(ctx);
|
|
6257
6282
|
if_block.c();
|
|
6258
6283
|
transition_in(if_block, 1);
|
|
6259
6284
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -6284,7 +6309,7 @@ function create_fragment$7(ctx) {
|
|
|
6284
6309
|
};
|
|
6285
6310
|
}
|
|
6286
6311
|
|
|
6287
|
-
function instance$
|
|
6312
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
6288
6313
|
let isVisible;
|
|
6289
6314
|
let fullscreen;
|
|
6290
6315
|
let inline;
|
|
@@ -6346,8 +6371,8 @@ class PageLoader extends SvelteElement {
|
|
|
6346
6371
|
props: attribute_to_object(this.attributes),
|
|
6347
6372
|
customElement: true
|
|
6348
6373
|
},
|
|
6349
|
-
instance$
|
|
6350
|
-
create_fragment$
|
|
6374
|
+
instance$8,
|
|
6375
|
+
create_fragment$8,
|
|
6351
6376
|
safe_not_equal,
|
|
6352
6377
|
{
|
|
6353
6378
|
type: 0,
|
|
@@ -6427,7 +6452,7 @@ const messageChannel = writable({});
|
|
|
6427
6452
|
|
|
6428
6453
|
/* libs/web-components/src/components/radio-group/RadioGroup.svelte generated by Svelte v3.44.3 */
|
|
6429
6454
|
|
|
6430
|
-
function create_fragment$
|
|
6455
|
+
function create_fragment$7(ctx) {
|
|
6431
6456
|
let div1;
|
|
6432
6457
|
let div0;
|
|
6433
6458
|
let slot;
|
|
@@ -6461,7 +6486,7 @@ function create_fragment$6(ctx) {
|
|
|
6461
6486
|
};
|
|
6462
6487
|
}
|
|
6463
6488
|
|
|
6464
|
-
function instance$
|
|
6489
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
6465
6490
|
let isDisabled;
|
|
6466
6491
|
let { name } = $$props;
|
|
6467
6492
|
let { value } = $$props;
|
|
@@ -6571,8 +6596,8 @@ class RadioGroup extends SvelteElement {
|
|
|
6571
6596
|
props: attribute_to_object(this.attributes),
|
|
6572
6597
|
customElement: true
|
|
6573
6598
|
},
|
|
6574
|
-
instance$
|
|
6575
|
-
create_fragment$
|
|
6599
|
+
instance$7,
|
|
6600
|
+
create_fragment$7,
|
|
6576
6601
|
safe_not_equal,
|
|
6577
6602
|
{
|
|
6578
6603
|
name: 3,
|
|
@@ -6650,7 +6675,7 @@ customElements.define("goa-radio-group", RadioGroup);
|
|
|
6650
6675
|
|
|
6651
6676
|
/* libs/web-components/src/components/radio-item/RadioItem.svelte generated by Svelte v3.44.3 */
|
|
6652
6677
|
|
|
6653
|
-
function create_fragment$
|
|
6678
|
+
function create_fragment$6(ctx) {
|
|
6654
6679
|
let label_1;
|
|
6655
6680
|
let input;
|
|
6656
6681
|
let t0;
|
|
@@ -6736,7 +6761,7 @@ function create_fragment$5(ctx) {
|
|
|
6736
6761
|
};
|
|
6737
6762
|
}
|
|
6738
6763
|
|
|
6739
|
-
function instance$
|
|
6764
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
6740
6765
|
let { value } = $$props;
|
|
6741
6766
|
let { label } = $$props;
|
|
6742
6767
|
let { name } = $$props;
|
|
@@ -6799,8 +6824,8 @@ class RadioItem extends SvelteElement {
|
|
|
6799
6824
|
props: attribute_to_object(this.attributes),
|
|
6800
6825
|
customElement: true
|
|
6801
6826
|
},
|
|
6802
|
-
instance$
|
|
6803
|
-
create_fragment$
|
|
6827
|
+
instance$6,
|
|
6828
|
+
create_fragment$6,
|
|
6804
6829
|
safe_not_equal,
|
|
6805
6830
|
{ value: 0, label: 1, name: 2 },
|
|
6806
6831
|
null
|
|
@@ -6854,7 +6879,7 @@ customElements.define("goa-radio-item", RadioItem);
|
|
|
6854
6879
|
|
|
6855
6880
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.44.3 */
|
|
6856
6881
|
|
|
6857
|
-
function create_fragment$
|
|
6882
|
+
function create_fragment$5(ctx) {
|
|
6858
6883
|
let div;
|
|
6859
6884
|
let slot;
|
|
6860
6885
|
let div_style_value;
|
|
@@ -6901,7 +6926,7 @@ function create_fragment$4(ctx) {
|
|
|
6901
6926
|
};
|
|
6902
6927
|
}
|
|
6903
6928
|
|
|
6904
|
-
function instance$
|
|
6929
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
6905
6930
|
let { direction = "vertical" } = $$props;
|
|
6906
6931
|
let { hpadding = 0 } = $$props;
|
|
6907
6932
|
let { vpadding = 0 } = $$props;
|
|
@@ -6929,8 +6954,8 @@ class Scrollable extends SvelteElement {
|
|
|
6929
6954
|
props: attribute_to_object(this.attributes),
|
|
6930
6955
|
customElement: true
|
|
6931
6956
|
},
|
|
6932
|
-
instance$
|
|
6933
|
-
create_fragment$
|
|
6957
|
+
instance$5,
|
|
6958
|
+
create_fragment$5,
|
|
6934
6959
|
safe_not_equal,
|
|
6935
6960
|
{
|
|
6936
6961
|
direction: 0,
|
|
@@ -7005,6 +7030,7 @@ function create_if_block_2(ctx) {
|
|
|
7005
7030
|
c() {
|
|
7006
7031
|
div = element("div");
|
|
7007
7032
|
div.innerHTML = `An official site of the <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>`;
|
|
7033
|
+
attr(div, "data-testid", "level");
|
|
7008
7034
|
attr(div, "class", "site-text service-level--live");
|
|
7009
7035
|
},
|
|
7010
7036
|
m(target, anchor) {
|
|
@@ -7017,7 +7043,7 @@ function create_if_block_2(ctx) {
|
|
|
7017
7043
|
}
|
|
7018
7044
|
|
|
7019
7045
|
// (16:2) {#if level !== "live"}
|
|
7020
|
-
function create_if_block_1$
|
|
7046
|
+
function create_if_block_1$2(ctx) {
|
|
7021
7047
|
let div0;
|
|
7022
7048
|
let t0;
|
|
7023
7049
|
let div0_class_value;
|
|
@@ -7030,7 +7056,8 @@ function create_if_block_1$1(ctx) {
|
|
|
7030
7056
|
t0 = text(/*level*/ ctx[0]);
|
|
7031
7057
|
t1 = space();
|
|
7032
7058
|
div1 = element("div");
|
|
7033
|
-
div1.innerHTML = `This is a new <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a>service`;
|
|
7059
|
+
div1.innerHTML = `This is a new <a href="https://www.alberta.ca/index.aspx" class="web-link">Alberta Government</a> service`;
|
|
7060
|
+
attr(div0, "data-testid", "level");
|
|
7034
7061
|
attr(div0, "class", div0_class_value = "service-level service-level--" + /*level*/ ctx[0]?.toLowerCase());
|
|
7035
7062
|
attr(div1, "class", "site-text");
|
|
7036
7063
|
},
|
|
@@ -7055,8 +7082,8 @@ function create_if_block_1$1(ctx) {
|
|
|
7055
7082
|
};
|
|
7056
7083
|
}
|
|
7057
7084
|
|
|
7058
|
-
// (
|
|
7059
|
-
function create_if_block$
|
|
7085
|
+
// (25:2) {#if version}
|
|
7086
|
+
function create_if_block$3(ctx) {
|
|
7060
7087
|
let div;
|
|
7061
7088
|
let t;
|
|
7062
7089
|
|
|
@@ -7064,6 +7091,7 @@ function create_if_block$2(ctx) {
|
|
|
7064
7091
|
c() {
|
|
7065
7092
|
div = element("div");
|
|
7066
7093
|
t = text(/*version*/ ctx[1]);
|
|
7094
|
+
attr(div, "data-testid", "version");
|
|
7067
7095
|
attr(div, "class", "version");
|
|
7068
7096
|
},
|
|
7069
7097
|
m(target, anchor) {
|
|
@@ -7079,15 +7107,15 @@ function create_if_block$2(ctx) {
|
|
|
7079
7107
|
};
|
|
7080
7108
|
}
|
|
7081
7109
|
|
|
7082
|
-
function create_fragment$
|
|
7110
|
+
function create_fragment$4(ctx) {
|
|
7083
7111
|
let header;
|
|
7084
7112
|
let t0;
|
|
7085
7113
|
let t1;
|
|
7086
7114
|
let div;
|
|
7087
7115
|
let t2;
|
|
7088
7116
|
let if_block0 = /*level*/ ctx[0] === "live" && create_if_block_2();
|
|
7089
|
-
let if_block1 = /*level*/ ctx[0] !== "live" && create_if_block_1$
|
|
7090
|
-
let if_block2 = /*version*/ ctx[1] && create_if_block$
|
|
7117
|
+
let if_block1 = /*level*/ ctx[0] !== "live" && create_if_block_1$2(ctx);
|
|
7118
|
+
let if_block2 = /*version*/ ctx[1] && create_if_block$3(ctx);
|
|
7091
7119
|
|
|
7092
7120
|
return {
|
|
7093
7121
|
c() {
|
|
@@ -7129,7 +7157,7 @@ function create_fragment$3(ctx) {
|
|
|
7129
7157
|
if (if_block1) {
|
|
7130
7158
|
if_block1.p(ctx, dirty);
|
|
7131
7159
|
} else {
|
|
7132
|
-
if_block1 = create_if_block_1$
|
|
7160
|
+
if_block1 = create_if_block_1$2(ctx);
|
|
7133
7161
|
if_block1.c();
|
|
7134
7162
|
if_block1.m(header, t1);
|
|
7135
7163
|
}
|
|
@@ -7142,7 +7170,7 @@ function create_fragment$3(ctx) {
|
|
|
7142
7170
|
if (if_block2) {
|
|
7143
7171
|
if_block2.p(ctx, dirty);
|
|
7144
7172
|
} else {
|
|
7145
|
-
if_block2 = create_if_block$
|
|
7173
|
+
if_block2 = create_if_block$3(ctx);
|
|
7146
7174
|
if_block2.c();
|
|
7147
7175
|
if_block2.m(header, null);
|
|
7148
7176
|
}
|
|
@@ -7162,7 +7190,7 @@ function create_fragment$3(ctx) {
|
|
|
7162
7190
|
};
|
|
7163
7191
|
}
|
|
7164
7192
|
|
|
7165
|
-
function instance$
|
|
7193
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
7166
7194
|
let { level } = $$props;
|
|
7167
7195
|
let { version } = $$props;
|
|
7168
7196
|
|
|
@@ -7177,7 +7205,7 @@ function instance$3($$self, $$props, $$invalidate) {
|
|
|
7177
7205
|
class ServiceLevelHeader extends SvelteElement {
|
|
7178
7206
|
constructor(options) {
|
|
7179
7207
|
super();
|
|
7180
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between}.spacer{flex:1 1 auto}.version{padding-right:1rem;opacity:0.5}.service-level{font-weight:bold;padding:0 0.5rem}.service-level--alpha{background-color:var(--color-
|
|
7208
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box;font-family:var(--font-family)}.goa-official-site-header{display:flex;font-size:var(--fs-xs);background-color:var(--color-gray-100);align-items:center;justify-content:space-between;height:1.5rem}.spacer{flex:1 1 auto}.version{padding-right:1rem;opacity:0.5}.service-level{font-weight:bold;padding:0 0.5rem;height:100%;display:flex;align-items:center}.service-level--alpha{background-color:var(--goa-color-interactive--highlight);color:var(--color-black)}.service-level--beta{background-color:var(--goa-color-primary-dark);color:var(--color-white)}.site-text{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--color-black);padding-left:0.5rem}</style>`;
|
|
7181
7209
|
|
|
7182
7210
|
init(
|
|
7183
7211
|
this,
|
|
@@ -7186,8 +7214,8 @@ class ServiceLevelHeader extends SvelteElement {
|
|
|
7186
7214
|
props: attribute_to_object(this.attributes),
|
|
7187
7215
|
customElement: true
|
|
7188
7216
|
},
|
|
7189
|
-
instance$
|
|
7190
|
-
create_fragment$
|
|
7217
|
+
instance$4,
|
|
7218
|
+
create_fragment$4,
|
|
7191
7219
|
safe_not_equal,
|
|
7192
7220
|
{ level: 0, version: 1 },
|
|
7193
7221
|
null
|
|
@@ -7258,7 +7286,7 @@ function create_else_block(ctx) {
|
|
|
7258
7286
|
}
|
|
7259
7287
|
|
|
7260
7288
|
// (20:29)
|
|
7261
|
-
function create_if_block_1(ctx) {
|
|
7289
|
+
function create_if_block_1$1(ctx) {
|
|
7262
7290
|
let div2;
|
|
7263
7291
|
let div0;
|
|
7264
7292
|
let skeleton0;
|
|
@@ -7348,7 +7376,7 @@ function create_if_block_1(ctx) {
|
|
|
7348
7376
|
}
|
|
7349
7377
|
|
|
7350
7378
|
// (10:0) {#if type === "card"}
|
|
7351
|
-
function create_if_block$
|
|
7379
|
+
function create_if_block$2(ctx) {
|
|
7352
7380
|
let div1;
|
|
7353
7381
|
let skeleton0;
|
|
7354
7382
|
let t0;
|
|
@@ -7467,12 +7495,12 @@ function create_if_block$1(ctx) {
|
|
|
7467
7495
|
};
|
|
7468
7496
|
}
|
|
7469
7497
|
|
|
7470
|
-
function create_fragment$
|
|
7498
|
+
function create_fragment$3(ctx) {
|
|
7471
7499
|
let current_block_type_index;
|
|
7472
7500
|
let if_block;
|
|
7473
7501
|
let if_block_anchor;
|
|
7474
7502
|
let current;
|
|
7475
|
-
const if_block_creators = [create_if_block$
|
|
7503
|
+
const if_block_creators = [create_if_block$2, create_if_block_1$1, create_else_block];
|
|
7476
7504
|
const if_blocks = [];
|
|
7477
7505
|
|
|
7478
7506
|
function select_block_type(ctx, dirty) {
|
|
@@ -7538,7 +7566,7 @@ function create_fragment$2(ctx) {
|
|
|
7538
7566
|
};
|
|
7539
7567
|
}
|
|
7540
7568
|
|
|
7541
|
-
function instance$
|
|
7569
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
7542
7570
|
let { width = 320 } = $$props;
|
|
7543
7571
|
let { size = 1 } = $$props;
|
|
7544
7572
|
let { type } = $$props;
|
|
@@ -7564,8 +7592,8 @@ class Skeleton extends SvelteElement {
|
|
|
7564
7592
|
props: attribute_to_object(this.attributes),
|
|
7565
7593
|
customElement: true
|
|
7566
7594
|
},
|
|
7567
|
-
instance$
|
|
7568
|
-
create_fragment$
|
|
7595
|
+
instance$3,
|
|
7596
|
+
create_fragment$3,
|
|
7569
7597
|
safe_not_equal,
|
|
7570
7598
|
{ width: 0, size: 1, type: 2 },
|
|
7571
7599
|
null
|
|
@@ -7718,7 +7746,7 @@ function tweened(value, defaults = {}) {
|
|
|
7718
7746
|
|
|
7719
7747
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.44.3 */
|
|
7720
7748
|
|
|
7721
|
-
function create_if_block(ctx) {
|
|
7749
|
+
function create_if_block$1(ctx) {
|
|
7722
7750
|
let svg;
|
|
7723
7751
|
let circle;
|
|
7724
7752
|
let circle_stroke_value;
|
|
@@ -7822,9 +7850,9 @@ function create_if_block(ctx) {
|
|
|
7822
7850
|
};
|
|
7823
7851
|
}
|
|
7824
7852
|
|
|
7825
|
-
function create_fragment$
|
|
7853
|
+
function create_fragment$2(ctx) {
|
|
7826
7854
|
let if_block_anchor;
|
|
7827
|
-
let if_block = /*ready*/ ctx[5] && create_if_block(ctx);
|
|
7855
|
+
let if_block = /*ready*/ ctx[5] && create_if_block$1(ctx);
|
|
7828
7856
|
|
|
7829
7857
|
return {
|
|
7830
7858
|
c() {
|
|
@@ -7841,7 +7869,7 @@ function create_fragment$1(ctx) {
|
|
|
7841
7869
|
if (if_block) {
|
|
7842
7870
|
if_block.p(ctx, dirty);
|
|
7843
7871
|
} else {
|
|
7844
|
-
if_block = create_if_block(ctx);
|
|
7872
|
+
if_block = create_if_block$1(ctx);
|
|
7845
7873
|
if_block.c();
|
|
7846
7874
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
7847
7875
|
}
|
|
@@ -7859,7 +7887,7 @@ function create_fragment$1(ctx) {
|
|
|
7859
7887
|
};
|
|
7860
7888
|
}
|
|
7861
7889
|
|
|
7862
|
-
function instance$
|
|
7890
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
7863
7891
|
let diameter;
|
|
7864
7892
|
let strokewidth;
|
|
7865
7893
|
let radius;
|
|
@@ -7969,8 +7997,8 @@ class Spinner extends SvelteElement {
|
|
|
7969
7997
|
props: attribute_to_object(this.attributes),
|
|
7970
7998
|
customElement: true
|
|
7971
7999
|
},
|
|
7972
|
-
instance$
|
|
7973
|
-
create_fragment$
|
|
8000
|
+
instance$2,
|
|
8001
|
+
create_fragment$2,
|
|
7974
8002
|
safe_not_equal,
|
|
7975
8003
|
{
|
|
7976
8004
|
size: 9,
|
|
@@ -8038,7 +8066,7 @@ customElements.define("goa-spinner", Spinner);
|
|
|
8038
8066
|
|
|
8039
8067
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.44.3 */
|
|
8040
8068
|
|
|
8041
|
-
function create_fragment(ctx) {
|
|
8069
|
+
function create_fragment$1(ctx) {
|
|
8042
8070
|
let textarea;
|
|
8043
8071
|
let textarea_value_value;
|
|
8044
8072
|
let textarea_rows_value;
|
|
@@ -8095,7 +8123,7 @@ function create_fragment(ctx) {
|
|
|
8095
8123
|
};
|
|
8096
8124
|
}
|
|
8097
8125
|
|
|
8098
|
-
function instance($$self, $$props, $$invalidate) {
|
|
8126
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
8099
8127
|
let isDisabled;
|
|
8100
8128
|
let { name } = $$props;
|
|
8101
8129
|
let { value } = $$props;
|
|
@@ -8147,8 +8175,8 @@ class TextArea extends SvelteElement {
|
|
|
8147
8175
|
props: attribute_to_object(this.attributes),
|
|
8148
8176
|
customElement: true
|
|
8149
8177
|
},
|
|
8150
|
-
instance,
|
|
8151
|
-
create_fragment,
|
|
8178
|
+
instance$1,
|
|
8179
|
+
create_fragment$1,
|
|
8152
8180
|
safe_not_equal,
|
|
8153
8181
|
{
|
|
8154
8182
|
name: 0,
|
|
@@ -8224,4 +8252,235 @@ class TextArea extends SvelteElement {
|
|
|
8224
8252
|
|
|
8225
8253
|
customElements.define("goa-textarea", TextArea);
|
|
8226
8254
|
|
|
8227
|
-
|
|
8255
|
+
/* libs/web-components/src/components/container/ContainerWrapper.test.svelte generated by Svelte v3.44.3 */
|
|
8256
|
+
|
|
8257
|
+
function create_if_block_1(ctx) {
|
|
8258
|
+
let div;
|
|
8259
|
+
let t;
|
|
8260
|
+
|
|
8261
|
+
return {
|
|
8262
|
+
c() {
|
|
8263
|
+
div = element("div");
|
|
8264
|
+
t = text(/*title*/ ctx[0]);
|
|
8265
|
+
attr(div, "slot", "title");
|
|
8266
|
+
attr(div, "class", "title");
|
|
8267
|
+
},
|
|
8268
|
+
m(target, anchor) {
|
|
8269
|
+
insert(target, div, anchor);
|
|
8270
|
+
append(div, t);
|
|
8271
|
+
},
|
|
8272
|
+
p(ctx, dirty) {
|
|
8273
|
+
if (dirty & /*title*/ 1) set_data(t, /*title*/ ctx[0]);
|
|
8274
|
+
},
|
|
8275
|
+
d(detaching) {
|
|
8276
|
+
if (detaching) detach(div);
|
|
8277
|
+
}
|
|
8278
|
+
};
|
|
8279
|
+
}
|
|
8280
|
+
|
|
8281
|
+
// (16:2) {#if actions}
|
|
8282
|
+
function create_if_block(ctx) {
|
|
8283
|
+
let div;
|
|
8284
|
+
|
|
8285
|
+
return {
|
|
8286
|
+
c() {
|
|
8287
|
+
div = element("div");
|
|
8288
|
+
attr(div, "class", "actions");
|
|
8289
|
+
attr(div, "slot", "actions");
|
|
8290
|
+
},
|
|
8291
|
+
m(target, anchor) {
|
|
8292
|
+
insert(target, div, anchor);
|
|
8293
|
+
div.innerHTML = /*actions*/ ctx[1];
|
|
8294
|
+
},
|
|
8295
|
+
p(ctx, dirty) {
|
|
8296
|
+
if (dirty & /*actions*/ 2) div.innerHTML = /*actions*/ ctx[1]; },
|
|
8297
|
+
d(detaching) {
|
|
8298
|
+
if (detaching) detach(div);
|
|
8299
|
+
}
|
|
8300
|
+
};
|
|
8301
|
+
}
|
|
8302
|
+
|
|
8303
|
+
function create_fragment(ctx) {
|
|
8304
|
+
let goa_container;
|
|
8305
|
+
let t0;
|
|
8306
|
+
let t1;
|
|
8307
|
+
let div;
|
|
8308
|
+
let if_block0 = /*title*/ ctx[0] && create_if_block_1(ctx);
|
|
8309
|
+
let if_block1 = /*actions*/ ctx[1] && create_if_block(ctx);
|
|
8310
|
+
|
|
8311
|
+
return {
|
|
8312
|
+
c() {
|
|
8313
|
+
goa_container = element("goa-container");
|
|
8314
|
+
if (if_block0) if_block0.c();
|
|
8315
|
+
t0 = space();
|
|
8316
|
+
if (if_block1) if_block1.c();
|
|
8317
|
+
t1 = space();
|
|
8318
|
+
div = element("div");
|
|
8319
|
+
this.c = noop;
|
|
8320
|
+
attr(div, "class", "content");
|
|
8321
|
+
attr(div, "slot", "");
|
|
8322
|
+
set_custom_element_data(goa_container, "variant", /*variant*/ ctx[3]);
|
|
8323
|
+
set_custom_element_data(goa_container, "headingsize", /*headingsize*/ ctx[4]);
|
|
8324
|
+
},
|
|
8325
|
+
m(target, anchor) {
|
|
8326
|
+
insert(target, goa_container, anchor);
|
|
8327
|
+
if (if_block0) if_block0.m(goa_container, null);
|
|
8328
|
+
append(goa_container, t0);
|
|
8329
|
+
if (if_block1) if_block1.m(goa_container, null);
|
|
8330
|
+
append(goa_container, t1);
|
|
8331
|
+
append(goa_container, div);
|
|
8332
|
+
div.innerHTML = /*content*/ ctx[2];
|
|
8333
|
+
},
|
|
8334
|
+
p(ctx, [dirty]) {
|
|
8335
|
+
if (/*title*/ ctx[0]) {
|
|
8336
|
+
if (if_block0) {
|
|
8337
|
+
if_block0.p(ctx, dirty);
|
|
8338
|
+
} else {
|
|
8339
|
+
if_block0 = create_if_block_1(ctx);
|
|
8340
|
+
if_block0.c();
|
|
8341
|
+
if_block0.m(goa_container, t0);
|
|
8342
|
+
}
|
|
8343
|
+
} else if (if_block0) {
|
|
8344
|
+
if_block0.d(1);
|
|
8345
|
+
if_block0 = null;
|
|
8346
|
+
}
|
|
8347
|
+
|
|
8348
|
+
if (/*actions*/ ctx[1]) {
|
|
8349
|
+
if (if_block1) {
|
|
8350
|
+
if_block1.p(ctx, dirty);
|
|
8351
|
+
} else {
|
|
8352
|
+
if_block1 = create_if_block(ctx);
|
|
8353
|
+
if_block1.c();
|
|
8354
|
+
if_block1.m(goa_container, t1);
|
|
8355
|
+
}
|
|
8356
|
+
} else if (if_block1) {
|
|
8357
|
+
if_block1.d(1);
|
|
8358
|
+
if_block1 = null;
|
|
8359
|
+
}
|
|
8360
|
+
|
|
8361
|
+
if (dirty & /*content*/ 4) div.innerHTML = /*content*/ ctx[2];
|
|
8362
|
+
if (dirty & /*variant*/ 8) {
|
|
8363
|
+
set_custom_element_data(goa_container, "variant", /*variant*/ ctx[3]);
|
|
8364
|
+
}
|
|
8365
|
+
|
|
8366
|
+
if (dirty & /*headingsize*/ 16) {
|
|
8367
|
+
set_custom_element_data(goa_container, "headingsize", /*headingsize*/ ctx[4]);
|
|
8368
|
+
}
|
|
8369
|
+
},
|
|
8370
|
+
i: noop,
|
|
8371
|
+
o: noop,
|
|
8372
|
+
d(detaching) {
|
|
8373
|
+
if (detaching) detach(goa_container);
|
|
8374
|
+
if (if_block0) if_block0.d();
|
|
8375
|
+
if (if_block1) if_block1.d();
|
|
8376
|
+
}
|
|
8377
|
+
};
|
|
8378
|
+
}
|
|
8379
|
+
|
|
8380
|
+
function instance($$self, $$props, $$invalidate) {
|
|
8381
|
+
let { title } = $$props;
|
|
8382
|
+
let { actions = "" } = $$props;
|
|
8383
|
+
let { content } = $$props;
|
|
8384
|
+
let { variant = "default" } = $$props;
|
|
8385
|
+
let { headingsize = "large" } = $$props;
|
|
8386
|
+
|
|
8387
|
+
$$self.$$set = $$props => {
|
|
8388
|
+
if ('title' in $$props) $$invalidate(0, title = $$props.title);
|
|
8389
|
+
if ('actions' in $$props) $$invalidate(1, actions = $$props.actions);
|
|
8390
|
+
if ('content' in $$props) $$invalidate(2, content = $$props.content);
|
|
8391
|
+
if ('variant' in $$props) $$invalidate(3, variant = $$props.variant);
|
|
8392
|
+
if ('headingsize' in $$props) $$invalidate(4, headingsize = $$props.headingsize);
|
|
8393
|
+
};
|
|
8394
|
+
|
|
8395
|
+
return [title, actions, content, variant, headingsize];
|
|
8396
|
+
}
|
|
8397
|
+
|
|
8398
|
+
class ContainerWrapper_test extends SvelteElement {
|
|
8399
|
+
constructor(options) {
|
|
8400
|
+
super();
|
|
8401
|
+
|
|
8402
|
+
init(
|
|
8403
|
+
this,
|
|
8404
|
+
{
|
|
8405
|
+
target: this.shadowRoot,
|
|
8406
|
+
props: attribute_to_object(this.attributes),
|
|
8407
|
+
customElement: true
|
|
8408
|
+
},
|
|
8409
|
+
instance,
|
|
8410
|
+
create_fragment,
|
|
8411
|
+
safe_not_equal,
|
|
8412
|
+
{
|
|
8413
|
+
title: 0,
|
|
8414
|
+
actions: 1,
|
|
8415
|
+
content: 2,
|
|
8416
|
+
variant: 3,
|
|
8417
|
+
headingsize: 4
|
|
8418
|
+
},
|
|
8419
|
+
null
|
|
8420
|
+
);
|
|
8421
|
+
|
|
8422
|
+
if (options) {
|
|
8423
|
+
if (options.target) {
|
|
8424
|
+
insert(options.target, this, options.anchor);
|
|
8425
|
+
}
|
|
8426
|
+
|
|
8427
|
+
if (options.props) {
|
|
8428
|
+
this.$set(options.props);
|
|
8429
|
+
flush();
|
|
8430
|
+
}
|
|
8431
|
+
}
|
|
8432
|
+
}
|
|
8433
|
+
|
|
8434
|
+
static get observedAttributes() {
|
|
8435
|
+
return ["title", "actions", "content", "variant", "headingsize"];
|
|
8436
|
+
}
|
|
8437
|
+
|
|
8438
|
+
get title() {
|
|
8439
|
+
return this.$$.ctx[0];
|
|
8440
|
+
}
|
|
8441
|
+
|
|
8442
|
+
set title(title) {
|
|
8443
|
+
this.$$set({ title });
|
|
8444
|
+
flush();
|
|
8445
|
+
}
|
|
8446
|
+
|
|
8447
|
+
get actions() {
|
|
8448
|
+
return this.$$.ctx[1];
|
|
8449
|
+
}
|
|
8450
|
+
|
|
8451
|
+
set actions(actions) {
|
|
8452
|
+
this.$$set({ actions });
|
|
8453
|
+
flush();
|
|
8454
|
+
}
|
|
8455
|
+
|
|
8456
|
+
get content() {
|
|
8457
|
+
return this.$$.ctx[2];
|
|
8458
|
+
}
|
|
8459
|
+
|
|
8460
|
+
set content(content) {
|
|
8461
|
+
this.$$set({ content });
|
|
8462
|
+
flush();
|
|
8463
|
+
}
|
|
8464
|
+
|
|
8465
|
+
get variant() {
|
|
8466
|
+
return this.$$.ctx[3];
|
|
8467
|
+
}
|
|
8468
|
+
|
|
8469
|
+
set variant(variant) {
|
|
8470
|
+
this.$$set({ variant });
|
|
8471
|
+
flush();
|
|
8472
|
+
}
|
|
8473
|
+
|
|
8474
|
+
get headingsize() {
|
|
8475
|
+
return this.$$.ctx[4];
|
|
8476
|
+
}
|
|
8477
|
+
|
|
8478
|
+
set headingsize(headingsize) {
|
|
8479
|
+
this.$$set({ headingsize });
|
|
8480
|
+
flush();
|
|
8481
|
+
}
|
|
8482
|
+
}
|
|
8483
|
+
|
|
8484
|
+
customElements.define("test-container", ContainerWrapper_test);
|
|
8485
|
+
|
|
8486
|
+
export { ContainerWrapper_test as ContainerWrapper, AppHeader as GoAAppHeader, Badge as GoABadge, Button as GoAButton, ButtonGroup as GoAButtonGroup, Callout as GoACallout, Card as GoACard, CardActions as GoACardActions, CardContent as GoACardContent, CardGroup as GoACardGroup, CardImage as GoACardImage, Checkbox as GoACheckbox, Container as GoAContainer, Dropdown as GoADropdown, DropdownItem as GoADropdownItem, FlexRow as GoAFlexRow, FormItem as GoAFormItem, HeroBanner as GoAHeroBanner, Icon as GoAIcon, IconButton as GoAIconButton, Input as GoAInput, Modal as GoAModal, Notification as GoANotification, PageBlock as GoAPageBlock, PageLayout as GoAPageLayout, PageLoader as GoAPageLoader, RadioGroup as GoARadioGroup, RadioItem as GoARadioItem, Scrollable as GoAScrollable, ServiceLevelHeader as GoAServiceLevelHeader, Skeleton as GoASkeleton, Spinner as GoASpinner, TextArea as GoATextArea };
|