@abgov/react-components 4.0.0-alpha.137 → 4.0.0-alpha.139
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +2 -0
- package/lib/file-upload-card/file-upload-card.d.ts +27 -0
- package/lib/file-upload-input/file-upload-input.d.ts +23 -0
- package/package.json +1 -1
- package/react-components.esm.js +2038 -478
- package/react-components.umd.js +2078 -514
package/react-components.esm.js
CHANGED
|
@@ -210,50 +210,6 @@ function custom_event(type, detail, {
|
|
|
210
210
|
return e;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
class HtmlTag {
|
|
214
|
-
constructor(is_svg = false) {
|
|
215
|
-
this.is_svg = false;
|
|
216
|
-
this.is_svg = is_svg;
|
|
217
|
-
this.e = this.n = null;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
c(html) {
|
|
221
|
-
this.h(html);
|
|
222
|
-
}
|
|
223
|
-
|
|
224
|
-
m(html, target, anchor = null) {
|
|
225
|
-
if (!this.e) {
|
|
226
|
-
if (this.is_svg) this.e = svg_element(target.nodeName);else this.e = element(target.nodeName);
|
|
227
|
-
this.t = target;
|
|
228
|
-
this.c(html);
|
|
229
|
-
}
|
|
230
|
-
|
|
231
|
-
this.i(anchor);
|
|
232
|
-
}
|
|
233
|
-
|
|
234
|
-
h(html) {
|
|
235
|
-
this.e.innerHTML = html;
|
|
236
|
-
this.n = Array.from(this.e.childNodes);
|
|
237
|
-
}
|
|
238
|
-
|
|
239
|
-
i(anchor) {
|
|
240
|
-
for (let i = 0; i < this.n.length; i += 1) {
|
|
241
|
-
insert(this.t, this.n[i], anchor);
|
|
242
|
-
}
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
p(html) {
|
|
246
|
-
this.d();
|
|
247
|
-
this.h(html);
|
|
248
|
-
this.i(this.a);
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
d() {
|
|
252
|
-
this.n.forEach(detach);
|
|
253
|
-
}
|
|
254
|
-
|
|
255
|
-
}
|
|
256
|
-
|
|
257
213
|
function attribute_to_object(attributes) {
|
|
258
214
|
const result = {};
|
|
259
215
|
|
|
@@ -1149,10 +1105,29 @@ function typeValidator(message, values, required = false) {
|
|
|
1149
1105
|
|
|
1150
1106
|
return [values, validator];
|
|
1151
1107
|
}
|
|
1108
|
+
|
|
1109
|
+
function getTimestamp(val) {
|
|
1110
|
+
const months = ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"];
|
|
1111
|
+
const now = val || new Date();
|
|
1112
|
+
const hour24 = now.getHours();
|
|
1113
|
+
const min0 = now.getMinutes();
|
|
1114
|
+
const date = now.getDate();
|
|
1115
|
+
const month = months[now.getMonth()];
|
|
1116
|
+
const year = now.getFullYear();
|
|
1117
|
+
const hour = hour24 === 0 && 12 || hour24 > 12 && hour24 - 12 || hour24;
|
|
1118
|
+
const meridium = hour24 === 0 && "AM" || hour24 >= 12 && "PM" || "AM";
|
|
1119
|
+
const min = min0 < 10 && `0${min0}` || min0;
|
|
1120
|
+
const ordinal = date % 10 === 1 && date !== 11 && "st" || date % 10 === 2 && date !== 12 && "nd" || date % 10 === 3 && date !== 13 && "rd" || "th";
|
|
1121
|
+
return `${month} ${date}${ordinal} ${year}, ${hour}:${min} ${meridium}`;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
function cssVar(name, value) {
|
|
1125
|
+
return value ? `${name}: ${value}` : "";
|
|
1126
|
+
}
|
|
1152
1127
|
/* libs/web-components/src/components/accordion/Accordion.svelte generated by Svelte v3.51.0 */
|
|
1153
1128
|
|
|
1154
1129
|
|
|
1155
|
-
function create_fragment$
|
|
1130
|
+
function create_fragment$P(ctx) {
|
|
1156
1131
|
let div3;
|
|
1157
1132
|
let details;
|
|
1158
1133
|
let summary;
|
|
@@ -1355,7 +1330,7 @@ function create_fragment$N(ctx) {
|
|
|
1355
1330
|
};
|
|
1356
1331
|
}
|
|
1357
1332
|
|
|
1358
|
-
function instance$
|
|
1333
|
+
function instance$J($$self, $$props, $$invalidate) {
|
|
1359
1334
|
let isOpen;
|
|
1360
1335
|
const [HeadingSizes, validateHeadingSize] = typeValidator("Accordion heading size", ["small", "medium"]);
|
|
1361
1336
|
let {
|
|
@@ -1433,7 +1408,7 @@ class Accordion extends SvelteElement {
|
|
|
1433
1408
|
target: this.shadowRoot,
|
|
1434
1409
|
props: attribute_to_object(this.attributes),
|
|
1435
1410
|
customElement: true
|
|
1436
|
-
}, instance$
|
|
1411
|
+
}, instance$J, create_fragment$P, safe_not_equal, {
|
|
1437
1412
|
open: 10,
|
|
1438
1413
|
heading: 0,
|
|
1439
1414
|
secondarytext: 1,
|
|
@@ -1565,7 +1540,7 @@ class Accordion extends SvelteElement {
|
|
|
1565
1540
|
customElements.define("goa-accordion", Accordion);
|
|
1566
1541
|
/* libs/web-components/src/components/app-header/AppHeader.svelte generated by Svelte v3.51.0 */
|
|
1567
1542
|
|
|
1568
|
-
function create_else_block$
|
|
1543
|
+
function create_else_block$9(ctx) {
|
|
1569
1544
|
let div;
|
|
1570
1545
|
let img0;
|
|
1571
1546
|
let img0_src_value;
|
|
@@ -1622,7 +1597,7 @@ function create_else_block$8(ctx) {
|
|
|
1622
1597
|
} // (19:4) {#if url}
|
|
1623
1598
|
|
|
1624
1599
|
|
|
1625
|
-
function create_if_block$
|
|
1600
|
+
function create_if_block$o(ctx) {
|
|
1626
1601
|
let a;
|
|
1627
1602
|
let img0;
|
|
1628
1603
|
let img0_src_value;
|
|
@@ -1689,7 +1664,7 @@ function create_if_block$m(ctx) {
|
|
|
1689
1664
|
};
|
|
1690
1665
|
}
|
|
1691
1666
|
|
|
1692
|
-
function create_fragment$
|
|
1667
|
+
function create_fragment$O(ctx) {
|
|
1693
1668
|
let div2;
|
|
1694
1669
|
let div1;
|
|
1695
1670
|
let t;
|
|
@@ -1699,8 +1674,8 @@ function create_fragment$M(ctx) {
|
|
|
1699
1674
|
function select_block_type(ctx, dirty) {
|
|
1700
1675
|
if (
|
|
1701
1676
|
/*url*/
|
|
1702
|
-
ctx[1]) return create_if_block$
|
|
1703
|
-
return create_else_block$
|
|
1677
|
+
ctx[1]) return create_if_block$o;
|
|
1678
|
+
return create_else_block$9;
|
|
1704
1679
|
}
|
|
1705
1680
|
|
|
1706
1681
|
let current_block_type = select_block_type(ctx);
|
|
@@ -1773,7 +1748,7 @@ function create_fragment$M(ctx) {
|
|
|
1773
1748
|
};
|
|
1774
1749
|
}
|
|
1775
1750
|
|
|
1776
|
-
function instance$
|
|
1751
|
+
function instance$I($$self, $$props, $$invalidate) {
|
|
1777
1752
|
let {
|
|
1778
1753
|
heading = ""
|
|
1779
1754
|
} = $$props;
|
|
@@ -1805,7 +1780,7 @@ class AppHeader extends SvelteElement {
|
|
|
1805
1780
|
target: this.shadowRoot,
|
|
1806
1781
|
props: attribute_to_object(this.attributes),
|
|
1807
1782
|
customElement: true
|
|
1808
|
-
}, instance$
|
|
1783
|
+
}, instance$I, create_fragment$O, safe_not_equal, {
|
|
1809
1784
|
heading: 0,
|
|
1810
1785
|
url: 1,
|
|
1811
1786
|
testid: 2,
|
|
@@ -1877,7 +1852,7 @@ class AppHeader extends SvelteElement {
|
|
|
1877
1852
|
customElements.define("goa-app-header", AppHeader);
|
|
1878
1853
|
/* libs/web-components/src/components/badge/Badge.svelte generated by Svelte v3.51.0 */
|
|
1879
1854
|
|
|
1880
|
-
function create_else_block$
|
|
1855
|
+
function create_else_block$8(ctx) {
|
|
1881
1856
|
let div;
|
|
1882
1857
|
return {
|
|
1883
1858
|
c() {
|
|
@@ -1900,7 +1875,7 @@ function create_else_block$7(ctx) {
|
|
|
1900
1875
|
} // (45:2) {#if showIcon}
|
|
1901
1876
|
|
|
1902
1877
|
|
|
1903
|
-
function create_if_block_1$
|
|
1878
|
+
function create_if_block_1$e(ctx) {
|
|
1904
1879
|
let goa_icon;
|
|
1905
1880
|
return {
|
|
1906
1881
|
c() {
|
|
@@ -1933,7 +1908,7 @@ function create_if_block_1$c(ctx) {
|
|
|
1933
1908
|
} // (50:2) {#if content}
|
|
1934
1909
|
|
|
1935
1910
|
|
|
1936
|
-
function create_if_block$
|
|
1911
|
+
function create_if_block$n(ctx) {
|
|
1937
1912
|
let div;
|
|
1938
1913
|
let t;
|
|
1939
1914
|
return {
|
|
@@ -1965,7 +1940,7 @@ function create_if_block$l(ctx) {
|
|
|
1965
1940
|
};
|
|
1966
1941
|
}
|
|
1967
1942
|
|
|
1968
|
-
function create_fragment$
|
|
1943
|
+
function create_fragment$N(ctx) {
|
|
1969
1944
|
let div;
|
|
1970
1945
|
let t;
|
|
1971
1946
|
let div_style_value;
|
|
@@ -1974,15 +1949,15 @@ function create_fragment$L(ctx) {
|
|
|
1974
1949
|
function select_block_type(ctx, dirty) {
|
|
1975
1950
|
if (
|
|
1976
1951
|
/*showIcon*/
|
|
1977
|
-
ctx[7]) return create_if_block_1$
|
|
1978
|
-
return create_else_block$
|
|
1952
|
+
ctx[7]) return create_if_block_1$e;
|
|
1953
|
+
return create_else_block$8;
|
|
1979
1954
|
}
|
|
1980
1955
|
|
|
1981
1956
|
let current_block_type = select_block_type(ctx);
|
|
1982
1957
|
let if_block0 = current_block_type(ctx);
|
|
1983
1958
|
let if_block1 =
|
|
1984
1959
|
/*content*/
|
|
1985
|
-
ctx[2] && create_if_block$
|
|
1960
|
+
ctx[2] && create_if_block$n(ctx);
|
|
1986
1961
|
return {
|
|
1987
1962
|
c() {
|
|
1988
1963
|
div = element("div");
|
|
@@ -2039,7 +2014,7 @@ function create_fragment$L(ctx) {
|
|
|
2039
2014
|
if (if_block1) {
|
|
2040
2015
|
if_block1.p(ctx, dirty);
|
|
2041
2016
|
} else {
|
|
2042
|
-
if_block1 = create_if_block$
|
|
2017
|
+
if_block1 = create_if_block$n(ctx);
|
|
2043
2018
|
if_block1.c();
|
|
2044
2019
|
if_block1.m(div, null);
|
|
2045
2020
|
}
|
|
@@ -2101,7 +2076,7 @@ function create_fragment$L(ctx) {
|
|
|
2101
2076
|
};
|
|
2102
2077
|
}
|
|
2103
2078
|
|
|
2104
|
-
function instance$
|
|
2079
|
+
function instance$H($$self, $$props, $$invalidate) {
|
|
2105
2080
|
let showIcon;
|
|
2106
2081
|
let iconType;
|
|
2107
2082
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -2181,7 +2156,7 @@ class Badge extends SvelteElement {
|
|
|
2181
2156
|
target: this.shadowRoot,
|
|
2182
2157
|
props: attribute_to_object(this.attributes),
|
|
2183
2158
|
customElement: true
|
|
2184
|
-
}, instance$
|
|
2159
|
+
}, instance$H, create_fragment$N, safe_not_equal, {
|
|
2185
2160
|
type: 0,
|
|
2186
2161
|
testid: 1,
|
|
2187
2162
|
content: 2,
|
|
@@ -2301,7 +2276,7 @@ class Badge extends SvelteElement {
|
|
|
2301
2276
|
customElements.define("goa-badge", Badge);
|
|
2302
2277
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
2303
2278
|
|
|
2304
|
-
function create_fragment$
|
|
2279
|
+
function create_fragment$M(ctx) {
|
|
2305
2280
|
let div;
|
|
2306
2281
|
let slot;
|
|
2307
2282
|
let div_style_value;
|
|
@@ -2375,7 +2350,7 @@ function create_fragment$K(ctx) {
|
|
|
2375
2350
|
};
|
|
2376
2351
|
}
|
|
2377
2352
|
|
|
2378
|
-
function instance$
|
|
2353
|
+
function instance$G($$self, $$props, $$invalidate) {
|
|
2379
2354
|
let {
|
|
2380
2355
|
gap = "m"
|
|
2381
2356
|
} = $$props;
|
|
@@ -2419,7 +2394,7 @@ class Block extends SvelteElement {
|
|
|
2419
2394
|
target: this.shadowRoot,
|
|
2420
2395
|
props: attribute_to_object(this.attributes),
|
|
2421
2396
|
customElement: true
|
|
2422
|
-
}, instance$
|
|
2397
|
+
}, instance$G, create_fragment$M, safe_not_equal, {
|
|
2423
2398
|
gap: 0,
|
|
2424
2399
|
direction: 1,
|
|
2425
2400
|
alignment: 2,
|
|
@@ -2527,17 +2502,17 @@ class Block extends SvelteElement {
|
|
|
2527
2502
|
customElements.define("goa-block", Block);
|
|
2528
2503
|
/* libs/web-components/src/components/button/Button.svelte generated by Svelte v3.51.0 */
|
|
2529
2504
|
|
|
2530
|
-
function create_else_block$
|
|
2505
|
+
function create_else_block$7(ctx) {
|
|
2531
2506
|
let t0;
|
|
2532
2507
|
let span;
|
|
2533
2508
|
let t1;
|
|
2534
2509
|
let if_block1_anchor;
|
|
2535
2510
|
let if_block0 =
|
|
2536
2511
|
/*leadingicon*/
|
|
2537
|
-
ctx[3] && create_if_block_2$
|
|
2512
|
+
ctx[3] && create_if_block_2$9(ctx);
|
|
2538
2513
|
let if_block1 =
|
|
2539
2514
|
/*trailingicon*/
|
|
2540
|
-
ctx[4] && create_if_block_1$
|
|
2515
|
+
ctx[4] && create_if_block_1$d(ctx);
|
|
2541
2516
|
return {
|
|
2542
2517
|
c() {
|
|
2543
2518
|
if (if_block0) if_block0.c();
|
|
@@ -2566,7 +2541,7 @@ function create_else_block$6(ctx) {
|
|
|
2566
2541
|
if (if_block0) {
|
|
2567
2542
|
if_block0.p(ctx, dirty);
|
|
2568
2543
|
} else {
|
|
2569
|
-
if_block0 = create_if_block_2$
|
|
2544
|
+
if_block0 = create_if_block_2$9(ctx);
|
|
2570
2545
|
if_block0.c();
|
|
2571
2546
|
if_block0.m(t0.parentNode, t0);
|
|
2572
2547
|
}
|
|
@@ -2581,7 +2556,7 @@ function create_else_block$6(ctx) {
|
|
|
2581
2556
|
if (if_block1) {
|
|
2582
2557
|
if_block1.p(ctx, dirty);
|
|
2583
2558
|
} else {
|
|
2584
|
-
if_block1 = create_if_block_1$
|
|
2559
|
+
if_block1 = create_if_block_1$d(ctx);
|
|
2585
2560
|
if_block1.c();
|
|
2586
2561
|
if_block1.m(if_block1_anchor.parentNode, if_block1_anchor);
|
|
2587
2562
|
}
|
|
@@ -2604,7 +2579,7 @@ function create_else_block$6(ctx) {
|
|
|
2604
2579
|
} // (46:2) {#if type === "start"}
|
|
2605
2580
|
|
|
2606
2581
|
|
|
2607
|
-
function create_if_block$
|
|
2582
|
+
function create_if_block$m(ctx) {
|
|
2608
2583
|
let span;
|
|
2609
2584
|
let t;
|
|
2610
2585
|
let goa_icon;
|
|
@@ -2638,7 +2613,7 @@ function create_if_block$k(ctx) {
|
|
|
2638
2613
|
} // (52:4) {#if leadingicon}
|
|
2639
2614
|
|
|
2640
2615
|
|
|
2641
|
-
function create_if_block_2$
|
|
2616
|
+
function create_if_block_2$9(ctx) {
|
|
2642
2617
|
let goa_icon;
|
|
2643
2618
|
return {
|
|
2644
2619
|
c() {
|
|
@@ -2682,7 +2657,7 @@ function create_if_block_2$7(ctx) {
|
|
|
2682
2657
|
} // (58:4) {#if trailingicon}
|
|
2683
2658
|
|
|
2684
2659
|
|
|
2685
|
-
function create_if_block_1$
|
|
2660
|
+
function create_if_block_1$d(ctx) {
|
|
2686
2661
|
let goa_icon;
|
|
2687
2662
|
return {
|
|
2688
2663
|
c() {
|
|
@@ -2725,7 +2700,7 @@ function create_if_block_1$b(ctx) {
|
|
|
2725
2700
|
};
|
|
2726
2701
|
}
|
|
2727
2702
|
|
|
2728
|
-
function create_fragment$
|
|
2703
|
+
function create_fragment$L(ctx) {
|
|
2729
2704
|
let button;
|
|
2730
2705
|
let button_class_value;
|
|
2731
2706
|
let button_style_value;
|
|
@@ -2735,8 +2710,8 @@ function create_fragment$J(ctx) {
|
|
|
2735
2710
|
function select_block_type(ctx, dirty) {
|
|
2736
2711
|
if (
|
|
2737
2712
|
/*type*/
|
|
2738
|
-
ctx[0] === "start") return create_if_block$
|
|
2739
|
-
return create_else_block$
|
|
2713
|
+
ctx[0] === "start") return create_if_block$m;
|
|
2714
|
+
return create_else_block$7;
|
|
2740
2715
|
}
|
|
2741
2716
|
|
|
2742
2717
|
let current_block_type = select_block_type(ctx);
|
|
@@ -2879,7 +2854,7 @@ function create_fragment$J(ctx) {
|
|
|
2879
2854
|
};
|
|
2880
2855
|
}
|
|
2881
2856
|
|
|
2882
|
-
function instance$
|
|
2857
|
+
function instance$F($$self, $$props, $$invalidate) {
|
|
2883
2858
|
let isDisabled;
|
|
2884
2859
|
let isButtonDark;
|
|
2885
2860
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2969,12 +2944,12 @@ class Button extends SvelteElement {
|
|
|
2969
2944
|
constructor(options) {
|
|
2970
2945
|
super();
|
|
2971
2946
|
this.shadowRoot.innerHTML = `<style>:host{--button-height:2.625rem;--button-height-compact:2rem;--button-height-tall:3.25rem;box-sizing:border-box;font-family:var(--goa-font-family-sans)}@media(max-width: 480px){:host{width:100%}button{width:100%}}button{display:inline-flex;box-sizing:border-box;border-radius:0.25rem;border:2px solid var(--goa-color-interactive-default);box-sizing:border-box;cursor:pointer;font-family:var(--goa-font-family-sans);font-size:var(--goa-font-size-5);font-weight:400;height:var(--button-height);letter-spacing:var(--goa-letter-spacing-button);line-height:100%;padding:0 0.75rem;gap:0.5rem;align-items:center;justify-content:center;transition:transform 0.1s ease-in-out, background-color 0.2s ease-in-out,
|
|
2972
|
-
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:
|
|
2947
|
+
border-color 0.2s ease-in-out}.text{padding-bottom:var(--font-valign-fix, 0)}button:disabled{pointer-events:none;opacity:0.5}button.compact{height:var(--button-height-compact);font-size:var(--goa-font-size-4)}button.start{height:var(--button-height-tall);font-weight:var(--goa-font-weight-bold)}button.start,button.submit,button.primary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-interactive-default);color:var(--goa-color-text-light)}button.start:hover,button.submit:hover,button.primary:hover{border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover)}button.start:focus,button.start:active,button.submit:focus,button.submit:active,button.primary:focus,button.primary:active{box-shadow:0 0 0 3px var(--goa-color-interactive-focus);border-color:var(--goa-color-interactive-hover);background-color:var(--goa-color-interactive-hover);outline:none}button.secondary{border:2px solid var(--goa-color-interactive-default);background-color:var(--goa-color-greyscale-white);color:var(--goa-color-interactive-default)}button.secondary:hover{border-color:var(--goa-color-interactive-hover);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.secondary:focus,button.secondary:active{border-color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);background-color:var(--goa-color-greyscale-100);outline:none}button.tertiary{border:1px solid transparent;background-color:transparent;color:var(--goa-color-interactive-default);text-decoration:underline}button.tertiary:hover{border-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);background-color:var(--goa-color-greyscale-100)}button.tertiary:focus,button.tertiary:active{border-color:var(--goa-color-greyscale-100);background-color:var(--goa-color-greyscale-100);color:var(--goa-color-interactive-hover);box-shadow:0 0 0 3px var(--goa-color-interactive-focus);outline:none}.submit.destructive,.primary.destructive{color:var(--goa-color-greyscale-white);background-color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default)}.submit.destructive:hover,.primary.destructive:hover{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.submit.destructive:focus,.primary.destructive:focus,.primary.destructive:active{background-color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark)}.secondary.destructive{color:var(--goa-color-emergency-default);border-color:var(--goa-color-emergency-default);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:hover{border-color:var(--goa-color-emergency-dark);color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.secondary.destructive:focus,.secondary.destructive:active{color:var(--goa-color-emergency-dark);border-color:var(--goa-color-emergency-dark);background-color:var(--goa-color-greyscale-white)}.tertiary.destructive{color:var(--goa-color-emergency-default);border-color:transparent}.tertiary.destructive:hover{color:var(--goa-color-emergency-dark)}.tertiary.destructive:focus,.tertiary.destructive:active{color:var(--goa-color-emergency-dark)}</style>`;
|
|
2973
2948
|
init(this, {
|
|
2974
2949
|
target: this.shadowRoot,
|
|
2975
2950
|
props: attribute_to_object(this.attributes),
|
|
2976
2951
|
customElement: true
|
|
2977
|
-
}, instance$
|
|
2952
|
+
}, instance$F, create_fragment$L, safe_not_equal, {
|
|
2978
2953
|
type: 0,
|
|
2979
2954
|
size: 1,
|
|
2980
2955
|
variant: 2,
|
|
@@ -3130,7 +3105,7 @@ class Button extends SvelteElement {
|
|
|
3130
3105
|
customElements.define("goa-button", Button);
|
|
3131
3106
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
3132
3107
|
|
|
3133
|
-
function create_fragment$
|
|
3108
|
+
function create_fragment$K(ctx) {
|
|
3134
3109
|
let div;
|
|
3135
3110
|
let slot;
|
|
3136
3111
|
let div_style_value;
|
|
@@ -3200,7 +3175,7 @@ function create_fragment$I(ctx) {
|
|
|
3200
3175
|
};
|
|
3201
3176
|
}
|
|
3202
3177
|
|
|
3203
|
-
function instance$
|
|
3178
|
+
function instance$E($$self, $$props, $$invalidate) {
|
|
3204
3179
|
let _alignment;
|
|
3205
3180
|
|
|
3206
3181
|
let {
|
|
@@ -3264,7 +3239,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3264
3239
|
target: this.shadowRoot,
|
|
3265
3240
|
props: attribute_to_object(this.attributes),
|
|
3266
3241
|
customElement: true
|
|
3267
|
-
}, instance$
|
|
3242
|
+
}, instance$E, create_fragment$K, safe_not_equal, {
|
|
3268
3243
|
alignment: 7,
|
|
3269
3244
|
gap: 0,
|
|
3270
3245
|
testid: 1,
|
|
@@ -3372,7 +3347,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
3372
3347
|
customElements.define("goa-button-group", ButtonGroup);
|
|
3373
3348
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
3374
3349
|
|
|
3375
|
-
function create_if_block$
|
|
3350
|
+
function create_if_block$l(ctx) {
|
|
3376
3351
|
let h3;
|
|
3377
3352
|
let t;
|
|
3378
3353
|
return {
|
|
@@ -3403,7 +3378,7 @@ function create_if_block$j(ctx) {
|
|
|
3403
3378
|
};
|
|
3404
3379
|
}
|
|
3405
3380
|
|
|
3406
|
-
function create_fragment$
|
|
3381
|
+
function create_fragment$J(ctx) {
|
|
3407
3382
|
let div;
|
|
3408
3383
|
let span0;
|
|
3409
3384
|
let goa_icon;
|
|
@@ -3416,7 +3391,7 @@ function create_fragment$H(ctx) {
|
|
|
3416
3391
|
let div_style_value;
|
|
3417
3392
|
let if_block =
|
|
3418
3393
|
/*heading*/
|
|
3419
|
-
ctx[5] && create_if_block$
|
|
3394
|
+
ctx[5] && create_if_block$l(ctx);
|
|
3420
3395
|
return {
|
|
3421
3396
|
c() {
|
|
3422
3397
|
div = element("div");
|
|
@@ -3495,7 +3470,7 @@ function create_fragment$H(ctx) {
|
|
|
3495
3470
|
if (if_block) {
|
|
3496
3471
|
if_block.p(ctx, dirty);
|
|
3497
3472
|
} else {
|
|
3498
|
-
if_block = create_if_block$
|
|
3473
|
+
if_block = create_if_block$l(ctx);
|
|
3499
3474
|
if_block.c();
|
|
3500
3475
|
if_block.m(span1, t1);
|
|
3501
3476
|
}
|
|
@@ -3538,7 +3513,7 @@ function create_fragment$H(ctx) {
|
|
|
3538
3513
|
};
|
|
3539
3514
|
}
|
|
3540
3515
|
|
|
3541
|
-
function instance$
|
|
3516
|
+
function instance$D($$self, $$props, $$invalidate) {
|
|
3542
3517
|
let iconType;
|
|
3543
3518
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3544
3519
|
let {
|
|
@@ -3595,7 +3570,7 @@ class Callout extends SvelteElement {
|
|
|
3595
3570
|
target: this.shadowRoot,
|
|
3596
3571
|
props: attribute_to_object(this.attributes),
|
|
3597
3572
|
customElement: true
|
|
3598
|
-
}, instance$
|
|
3573
|
+
}, instance$D, create_fragment$J, safe_not_equal, {
|
|
3599
3574
|
mt: 0,
|
|
3600
3575
|
mr: 1,
|
|
3601
3576
|
mb: 2,
|
|
@@ -3703,7 +3678,7 @@ class Callout extends SvelteElement {
|
|
|
3703
3678
|
customElements.define("goa-callout", Callout);
|
|
3704
3679
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3705
3680
|
|
|
3706
|
-
function create_fragment$
|
|
3681
|
+
function create_fragment$I(ctx) {
|
|
3707
3682
|
let goa_card_content;
|
|
3708
3683
|
return {
|
|
3709
3684
|
c() {
|
|
@@ -3734,7 +3709,7 @@ class CardActions extends SvelteElement {
|
|
|
3734
3709
|
target: this.shadowRoot,
|
|
3735
3710
|
props: attribute_to_object(this.attributes),
|
|
3736
3711
|
customElement: true
|
|
3737
|
-
}, null, create_fragment$
|
|
3712
|
+
}, null, create_fragment$I, safe_not_equal, {}, null);
|
|
3738
3713
|
|
|
3739
3714
|
if (options) {
|
|
3740
3715
|
if (options.target) {
|
|
@@ -3748,7 +3723,7 @@ class CardActions extends SvelteElement {
|
|
|
3748
3723
|
customElements.define("goa-card-actions", CardActions);
|
|
3749
3724
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3750
3725
|
|
|
3751
|
-
function create_fragment$
|
|
3726
|
+
function create_fragment$H(ctx) {
|
|
3752
3727
|
let div;
|
|
3753
3728
|
let slot;
|
|
3754
3729
|
let div_style_value;
|
|
@@ -3827,7 +3802,7 @@ function create_fragment$F(ctx) {
|
|
|
3827
3802
|
};
|
|
3828
3803
|
}
|
|
3829
3804
|
|
|
3830
|
-
function instance$
|
|
3805
|
+
function instance$C($$self, $$props, $$invalidate) {
|
|
3831
3806
|
let {
|
|
3832
3807
|
elevation = 0
|
|
3833
3808
|
} = $$props;
|
|
@@ -3875,7 +3850,7 @@ class Card extends SvelteElement {
|
|
|
3875
3850
|
target: this.shadowRoot,
|
|
3876
3851
|
props: attribute_to_object(this.attributes),
|
|
3877
3852
|
customElement: true
|
|
3878
|
-
}, instance$
|
|
3853
|
+
}, instance$C, create_fragment$H, safe_not_equal, {
|
|
3879
3854
|
elevation: 0,
|
|
3880
3855
|
width: 1,
|
|
3881
3856
|
height: 2,
|
|
@@ -3995,7 +3970,7 @@ class Card extends SvelteElement {
|
|
|
3995
3970
|
customElements.define("goa-card", Card);
|
|
3996
3971
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3997
3972
|
|
|
3998
|
-
function create_fragment$
|
|
3973
|
+
function create_fragment$G(ctx) {
|
|
3999
3974
|
let div;
|
|
4000
3975
|
return {
|
|
4001
3976
|
c() {
|
|
@@ -4028,7 +4003,7 @@ class CardContent extends SvelteElement {
|
|
|
4028
4003
|
target: this.shadowRoot,
|
|
4029
4004
|
props: attribute_to_object(this.attributes),
|
|
4030
4005
|
customElement: true
|
|
4031
|
-
}, null, create_fragment$
|
|
4006
|
+
}, null, create_fragment$G, safe_not_equal, {}, null);
|
|
4032
4007
|
|
|
4033
4008
|
if (options) {
|
|
4034
4009
|
if (options.target) {
|
|
@@ -4042,7 +4017,7 @@ class CardContent extends SvelteElement {
|
|
|
4042
4017
|
customElements.define("goa-card-content", CardContent);
|
|
4043
4018
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
4044
4019
|
|
|
4045
|
-
function create_fragment$
|
|
4020
|
+
function create_fragment$F(ctx) {
|
|
4046
4021
|
let div;
|
|
4047
4022
|
return {
|
|
4048
4023
|
c() {
|
|
@@ -4075,7 +4050,7 @@ class CardGroup extends SvelteElement {
|
|
|
4075
4050
|
target: this.shadowRoot,
|
|
4076
4051
|
props: attribute_to_object(this.attributes),
|
|
4077
4052
|
customElement: true
|
|
4078
|
-
}, null, create_fragment$
|
|
4053
|
+
}, null, create_fragment$F, safe_not_equal, {}, null);
|
|
4079
4054
|
|
|
4080
4055
|
if (options) {
|
|
4081
4056
|
if (options.target) {
|
|
@@ -4089,7 +4064,7 @@ class CardGroup extends SvelteElement {
|
|
|
4089
4064
|
customElements.define("goa-card-group", CardGroup);
|
|
4090
4065
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
4091
4066
|
|
|
4092
|
-
function create_fragment$
|
|
4067
|
+
function create_fragment$E(ctx) {
|
|
4093
4068
|
let div;
|
|
4094
4069
|
return {
|
|
4095
4070
|
c() {
|
|
@@ -4137,7 +4112,7 @@ function create_fragment$C(ctx) {
|
|
|
4137
4112
|
};
|
|
4138
4113
|
}
|
|
4139
4114
|
|
|
4140
|
-
function instance$
|
|
4115
|
+
function instance$B($$self, $$props, $$invalidate) {
|
|
4141
4116
|
let {
|
|
4142
4117
|
src
|
|
4143
4118
|
} = $$props;
|
|
@@ -4161,7 +4136,7 @@ class CardImage extends SvelteElement {
|
|
|
4161
4136
|
target: this.shadowRoot,
|
|
4162
4137
|
props: attribute_to_object(this.attributes),
|
|
4163
4138
|
customElement: true
|
|
4164
|
-
}, instance$
|
|
4139
|
+
}, instance$B, create_fragment$E, safe_not_equal, {
|
|
4165
4140
|
src: 0,
|
|
4166
4141
|
height: 1
|
|
4167
4142
|
}, null);
|
|
@@ -4209,7 +4184,7 @@ class CardImage extends SvelteElement {
|
|
|
4209
4184
|
customElements.define("goa-card-image", CardImage);
|
|
4210
4185
|
/* libs/web-components/src/components/checkbox/Checkbox.svelte generated by Svelte v3.51.0 */
|
|
4211
4186
|
|
|
4212
|
-
function create_if_block_1$
|
|
4187
|
+
function create_if_block_1$c(ctx) {
|
|
4213
4188
|
let svg;
|
|
4214
4189
|
let path;
|
|
4215
4190
|
return {
|
|
@@ -4236,7 +4211,7 @@ function create_if_block_1$a(ctx) {
|
|
|
4236
4211
|
} // (68:4) {#if isIndeterminate}
|
|
4237
4212
|
|
|
4238
4213
|
|
|
4239
|
-
function create_if_block$
|
|
4214
|
+
function create_if_block$k(ctx) {
|
|
4240
4215
|
let svg;
|
|
4241
4216
|
let rect;
|
|
4242
4217
|
return {
|
|
@@ -4263,7 +4238,7 @@ function create_if_block$i(ctx) {
|
|
|
4263
4238
|
};
|
|
4264
4239
|
}
|
|
4265
4240
|
|
|
4266
|
-
function create_fragment$
|
|
4241
|
+
function create_fragment$D(ctx) {
|
|
4267
4242
|
let label;
|
|
4268
4243
|
let div0;
|
|
4269
4244
|
let input;
|
|
@@ -4281,10 +4256,10 @@ function create_fragment$B(ctx) {
|
|
|
4281
4256
|
function select_block_type(ctx, dirty) {
|
|
4282
4257
|
if (
|
|
4283
4258
|
/*isIndeterminate*/
|
|
4284
|
-
ctx[10]) return create_if_block$
|
|
4259
|
+
ctx[10]) return create_if_block$k;
|
|
4285
4260
|
if (
|
|
4286
4261
|
/*isChecked*/
|
|
4287
|
-
ctx[9]) return create_if_block_1$
|
|
4262
|
+
ctx[9]) return create_if_block_1$c;
|
|
4288
4263
|
}
|
|
4289
4264
|
|
|
4290
4265
|
let current_block_type = select_block_type(ctx);
|
|
@@ -4512,7 +4487,7 @@ function create_fragment$B(ctx) {
|
|
|
4512
4487
|
};
|
|
4513
4488
|
}
|
|
4514
4489
|
|
|
4515
|
-
function instance$
|
|
4490
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
4516
4491
|
let isDisabled;
|
|
4517
4492
|
let isError;
|
|
4518
4493
|
let isChecked;
|
|
@@ -4627,7 +4602,7 @@ class Checkbox extends SvelteElement {
|
|
|
4627
4602
|
target: this.shadowRoot,
|
|
4628
4603
|
props: attribute_to_object(this.attributes),
|
|
4629
4604
|
customElement: true
|
|
4630
|
-
}, instance$
|
|
4605
|
+
}, instance$A, create_fragment$D, safe_not_equal, {
|
|
4631
4606
|
name: 0,
|
|
4632
4607
|
checked: 14,
|
|
4633
4608
|
text: 1,
|
|
@@ -4795,7 +4770,7 @@ class Checkbox extends SvelteElement {
|
|
|
4795
4770
|
customElements.define("goa-checkbox", Checkbox);
|
|
4796
4771
|
/* libs/web-components/src/components/chip/Chip.svelte generated by Svelte v3.51.0 */
|
|
4797
4772
|
|
|
4798
|
-
function create_if_block_1$
|
|
4773
|
+
function create_if_block_1$b(ctx) {
|
|
4799
4774
|
let goa_icon;
|
|
4800
4775
|
return {
|
|
4801
4776
|
c() {
|
|
@@ -4829,7 +4804,7 @@ function create_if_block_1$9(ctx) {
|
|
|
4829
4804
|
} // (54:2) {#if _deletable}
|
|
4830
4805
|
|
|
4831
4806
|
|
|
4832
|
-
function create_if_block$
|
|
4807
|
+
function create_if_block$j(ctx) {
|
|
4833
4808
|
let goa_icon;
|
|
4834
4809
|
let goa_icon_fillcolor_value;
|
|
4835
4810
|
let goa_icon_opacity_value;
|
|
@@ -4885,7 +4860,7 @@ function create_if_block$h(ctx) {
|
|
|
4885
4860
|
};
|
|
4886
4861
|
}
|
|
4887
4862
|
|
|
4888
|
-
function create_fragment$
|
|
4863
|
+
function create_fragment$C(ctx) {
|
|
4889
4864
|
let div1;
|
|
4890
4865
|
let t0;
|
|
4891
4866
|
let div0;
|
|
@@ -4896,10 +4871,10 @@ function create_fragment$A(ctx) {
|
|
|
4896
4871
|
let dispose;
|
|
4897
4872
|
let if_block0 =
|
|
4898
4873
|
/*leadingicon*/
|
|
4899
|
-
ctx[4] && create_if_block_1$
|
|
4874
|
+
ctx[4] && create_if_block_1$b(ctx);
|
|
4900
4875
|
let if_block1 =
|
|
4901
4876
|
/*_deletable*/
|
|
4902
|
-
ctx[11] && create_if_block$
|
|
4877
|
+
ctx[11] && create_if_block$j(ctx);
|
|
4903
4878
|
return {
|
|
4904
4879
|
c() {
|
|
4905
4880
|
div1 = element("div");
|
|
@@ -4973,7 +4948,7 @@ function create_fragment$A(ctx) {
|
|
|
4973
4948
|
if (if_block0) {
|
|
4974
4949
|
if_block0.p(ctx, dirty);
|
|
4975
4950
|
} else {
|
|
4976
|
-
if_block0 = create_if_block_1$
|
|
4951
|
+
if_block0 = create_if_block_1$b(ctx);
|
|
4977
4952
|
if_block0.c();
|
|
4978
4953
|
if_block0.m(div1, t0);
|
|
4979
4954
|
}
|
|
@@ -4994,7 +4969,7 @@ function create_fragment$A(ctx) {
|
|
|
4994
4969
|
if (if_block1) {
|
|
4995
4970
|
if_block1.p(ctx, dirty);
|
|
4996
4971
|
} else {
|
|
4997
|
-
if_block1 = create_if_block$
|
|
4972
|
+
if_block1 = create_if_block$j(ctx);
|
|
4998
4973
|
if_block1.c();
|
|
4999
4974
|
if_block1.m(div1, null);
|
|
5000
4975
|
}
|
|
@@ -5067,7 +5042,7 @@ function create_fragment$A(ctx) {
|
|
|
5067
5042
|
};
|
|
5068
5043
|
}
|
|
5069
5044
|
|
|
5070
|
-
function instance$
|
|
5045
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
5071
5046
|
let {
|
|
5072
5047
|
mt = null
|
|
5073
5048
|
} = $$props;
|
|
@@ -5168,7 +5143,7 @@ class Chip extends SvelteElement {
|
|
|
5168
5143
|
target: this.shadowRoot,
|
|
5169
5144
|
props: attribute_to_object(this.attributes),
|
|
5170
5145
|
customElement: true
|
|
5171
|
-
}, instance$
|
|
5146
|
+
}, instance$z, create_fragment$C, safe_not_equal, {
|
|
5172
5147
|
mt: 0,
|
|
5173
5148
|
mr: 1,
|
|
5174
5149
|
mb: 2,
|
|
@@ -5422,12 +5397,12 @@ function noscroll(_node, opts) {
|
|
|
5422
5397
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
5423
5398
|
|
|
5424
5399
|
|
|
5425
|
-
function create_if_block$
|
|
5400
|
+
function create_if_block$i(ctx) {
|
|
5426
5401
|
let current_block_type_index;
|
|
5427
5402
|
let if_block;
|
|
5428
5403
|
let if_block_anchor;
|
|
5429
5404
|
let current;
|
|
5430
|
-
const if_block_creators = [create_if_block_1$
|
|
5405
|
+
const if_block_creators = [create_if_block_1$a, create_if_block_3$8];
|
|
5431
5406
|
const if_blocks = [];
|
|
5432
5407
|
|
|
5433
5408
|
function select_block_type(ctx, dirty) {
|
|
@@ -5517,14 +5492,14 @@ function create_if_block$g(ctx) {
|
|
|
5517
5492
|
} // (43:19)
|
|
5518
5493
|
|
|
5519
5494
|
|
|
5520
|
-
function create_if_block_3$
|
|
5495
|
+
function create_if_block_3$8(ctx) {
|
|
5521
5496
|
let div;
|
|
5522
5497
|
let goa_spinner;
|
|
5523
5498
|
let t;
|
|
5524
5499
|
let div_class_value;
|
|
5525
5500
|
let if_block =
|
|
5526
5501
|
/*message*/
|
|
5527
|
-
ctx[0] && create_if_block_4$
|
|
5502
|
+
ctx[0] && create_if_block_4$3(ctx);
|
|
5528
5503
|
return {
|
|
5529
5504
|
c() {
|
|
5530
5505
|
div = element("div");
|
|
@@ -5575,7 +5550,7 @@ function create_if_block_3$6(ctx) {
|
|
|
5575
5550
|
if (if_block) {
|
|
5576
5551
|
if_block.p(ctx, dirty);
|
|
5577
5552
|
} else {
|
|
5578
|
-
if_block = create_if_block_4$
|
|
5553
|
+
if_block = create_if_block_4$3(ctx);
|
|
5579
5554
|
if_block.c();
|
|
5580
5555
|
if_block.m(div, null);
|
|
5581
5556
|
}
|
|
@@ -5613,7 +5588,7 @@ function create_if_block_3$6(ctx) {
|
|
|
5613
5588
|
} // (32:2) {#if fullscreen}
|
|
5614
5589
|
|
|
5615
5590
|
|
|
5616
|
-
function create_if_block_1$
|
|
5591
|
+
function create_if_block_1$a(ctx) {
|
|
5617
5592
|
let div;
|
|
5618
5593
|
let goa_spinner;
|
|
5619
5594
|
let t;
|
|
@@ -5623,7 +5598,7 @@ function create_if_block_1$8(ctx) {
|
|
|
5623
5598
|
let dispose;
|
|
5624
5599
|
let if_block =
|
|
5625
5600
|
/*message*/
|
|
5626
|
-
ctx[0] && create_if_block_2$
|
|
5601
|
+
ctx[0] && create_if_block_2$8(ctx);
|
|
5627
5602
|
return {
|
|
5628
5603
|
c() {
|
|
5629
5604
|
div = element("div");
|
|
@@ -5679,7 +5654,7 @@ function create_if_block_1$8(ctx) {
|
|
|
5679
5654
|
if (if_block) {
|
|
5680
5655
|
if_block.p(ctx, dirty);
|
|
5681
5656
|
} else {
|
|
5682
|
-
if_block = create_if_block_2$
|
|
5657
|
+
if_block = create_if_block_2$8(ctx);
|
|
5683
5658
|
if_block.c();
|
|
5684
5659
|
if_block.m(div, null);
|
|
5685
5660
|
}
|
|
@@ -5728,7 +5703,7 @@ function create_if_block_1$8(ctx) {
|
|
|
5728
5703
|
} // (46:6) {#if message}
|
|
5729
5704
|
|
|
5730
5705
|
|
|
5731
|
-
function create_if_block_4$
|
|
5706
|
+
function create_if_block_4$3(ctx) {
|
|
5732
5707
|
let div;
|
|
5733
5708
|
let t;
|
|
5734
5709
|
return {
|
|
@@ -5761,7 +5736,7 @@ function create_if_block_4$1(ctx) {
|
|
|
5761
5736
|
} // (39:6) {#if message}
|
|
5762
5737
|
|
|
5763
5738
|
|
|
5764
|
-
function create_if_block_2$
|
|
5739
|
+
function create_if_block_2$8(ctx) {
|
|
5765
5740
|
let div;
|
|
5766
5741
|
let t;
|
|
5767
5742
|
return {
|
|
@@ -5793,12 +5768,12 @@ function create_if_block_2$6(ctx) {
|
|
|
5793
5768
|
};
|
|
5794
5769
|
}
|
|
5795
5770
|
|
|
5796
|
-
function create_fragment$
|
|
5771
|
+
function create_fragment$B(ctx) {
|
|
5797
5772
|
let if_block_anchor;
|
|
5798
5773
|
let current;
|
|
5799
5774
|
let if_block =
|
|
5800
5775
|
/*isVisible*/
|
|
5801
|
-
ctx[5] && create_if_block$
|
|
5776
|
+
ctx[5] && create_if_block$i(ctx);
|
|
5802
5777
|
return {
|
|
5803
5778
|
c() {
|
|
5804
5779
|
if (if_block) if_block.c();
|
|
@@ -5825,7 +5800,7 @@ function create_fragment$z(ctx) {
|
|
|
5825
5800
|
transition_in(if_block, 1);
|
|
5826
5801
|
}
|
|
5827
5802
|
} else {
|
|
5828
|
-
if_block = create_if_block$
|
|
5803
|
+
if_block = create_if_block$i(ctx);
|
|
5829
5804
|
if_block.c();
|
|
5830
5805
|
transition_in(if_block, 1);
|
|
5831
5806
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5858,7 +5833,7 @@ function create_fragment$z(ctx) {
|
|
|
5858
5833
|
};
|
|
5859
5834
|
}
|
|
5860
5835
|
|
|
5861
|
-
function instance$
|
|
5836
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
5862
5837
|
let isVisible;
|
|
5863
5838
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5864
5839
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5915,7 +5890,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5915
5890
|
target: this.shadowRoot,
|
|
5916
5891
|
props: attribute_to_object(this.attributes),
|
|
5917
5892
|
customElement: true
|
|
5918
|
-
}, instance$
|
|
5893
|
+
}, instance$y, create_fragment$B, safe_not_equal, {
|
|
5919
5894
|
variant: 6,
|
|
5920
5895
|
size: 7,
|
|
5921
5896
|
message: 0,
|
|
@@ -5999,7 +5974,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5999
5974
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
6000
5975
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
6001
5976
|
|
|
6002
|
-
function create_fragment$
|
|
5977
|
+
function create_fragment$A(ctx) {
|
|
6003
5978
|
let div3;
|
|
6004
5979
|
let header;
|
|
6005
5980
|
let div0;
|
|
@@ -6124,7 +6099,7 @@ function create_fragment$y(ctx) {
|
|
|
6124
6099
|
};
|
|
6125
6100
|
}
|
|
6126
6101
|
|
|
6127
|
-
function instance$
|
|
6102
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
6128
6103
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
6129
6104
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
6130
6105
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -6180,7 +6155,7 @@ class Container extends SvelteElement {
|
|
|
6180
6155
|
target: this.shadowRoot,
|
|
6181
6156
|
props: attribute_to_object(this.attributes),
|
|
6182
6157
|
customElement: true
|
|
6183
|
-
}, instance$
|
|
6158
|
+
}, instance$x, create_fragment$A, safe_not_equal, {
|
|
6184
6159
|
type: 0,
|
|
6185
6160
|
accent: 1,
|
|
6186
6161
|
padding: 2,
|
|
@@ -6300,7 +6275,7 @@ class Container extends SvelteElement {
|
|
|
6300
6275
|
customElements.define("goa-container", Container);
|
|
6301
6276
|
/* libs/web-components/src/components/details/Details.svelte generated by Svelte v3.51.0 */
|
|
6302
6277
|
|
|
6303
|
-
function create_fragment$
|
|
6278
|
+
function create_fragment$z(ctx) {
|
|
6304
6279
|
let details;
|
|
6305
6280
|
let summary;
|
|
6306
6281
|
let goa_icon;
|
|
@@ -6400,7 +6375,7 @@ function create_fragment$x(ctx) {
|
|
|
6400
6375
|
};
|
|
6401
6376
|
}
|
|
6402
6377
|
|
|
6403
|
-
function instance$
|
|
6378
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
6404
6379
|
let {
|
|
6405
6380
|
heading
|
|
6406
6381
|
} = $$props;
|
|
@@ -6460,7 +6435,7 @@ class Details extends SvelteElement {
|
|
|
6460
6435
|
target: this.shadowRoot,
|
|
6461
6436
|
props: attribute_to_object(this.attributes),
|
|
6462
6437
|
customElement: true
|
|
6463
|
-
}, instance$
|
|
6438
|
+
}, instance$w, create_fragment$z, safe_not_equal, {
|
|
6464
6439
|
heading: 0,
|
|
6465
6440
|
mt: 1,
|
|
6466
6441
|
mr: 2,
|
|
@@ -6544,7 +6519,7 @@ class Details extends SvelteElement {
|
|
|
6544
6519
|
customElements.define("goa-details", Details);
|
|
6545
6520
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
6546
6521
|
|
|
6547
|
-
function create_fragment$
|
|
6522
|
+
function create_fragment$y(ctx) {
|
|
6548
6523
|
let hr;
|
|
6549
6524
|
let hr_style_value;
|
|
6550
6525
|
return {
|
|
@@ -6603,7 +6578,7 @@ function create_fragment$w(ctx) {
|
|
|
6603
6578
|
};
|
|
6604
6579
|
}
|
|
6605
6580
|
|
|
6606
|
-
function instance$
|
|
6581
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
6607
6582
|
let {
|
|
6608
6583
|
testid = ""
|
|
6609
6584
|
} = $$props;
|
|
@@ -6639,7 +6614,7 @@ class Divider extends SvelteElement {
|
|
|
6639
6614
|
target: this.shadowRoot,
|
|
6640
6615
|
props: attribute_to_object(this.attributes),
|
|
6641
6616
|
customElement: true
|
|
6642
|
-
}, instance$
|
|
6617
|
+
}, instance$v, create_fragment$y, safe_not_equal, {
|
|
6643
6618
|
testid: 0,
|
|
6644
6619
|
mt: 1,
|
|
6645
6620
|
mr: 2,
|
|
@@ -6730,14 +6705,14 @@ function get_each_context_1(ctx, list, i) {
|
|
|
6730
6705
|
return child_ctx;
|
|
6731
6706
|
}
|
|
6732
6707
|
|
|
6733
|
-
function get_each_context$
|
|
6708
|
+
function get_each_context$6(ctx, list, i) {
|
|
6734
6709
|
const child_ctx = ctx.slice();
|
|
6735
6710
|
child_ctx[50] = list[i];
|
|
6736
6711
|
return child_ctx;
|
|
6737
6712
|
} // (270:2) {:else}
|
|
6738
6713
|
|
|
6739
6714
|
|
|
6740
|
-
function create_else_block$
|
|
6715
|
+
function create_else_block$6(ctx) {
|
|
6741
6716
|
let t0;
|
|
6742
6717
|
let goa_input;
|
|
6743
6718
|
let goa_input_arialabel_value;
|
|
@@ -6753,7 +6728,7 @@ function create_else_block$5(ctx) {
|
|
|
6753
6728
|
let dispose;
|
|
6754
6729
|
let if_block =
|
|
6755
6730
|
/*_isMenuVisible*/
|
|
6756
|
-
ctx[17] && create_if_block_1$
|
|
6731
|
+
ctx[17] && create_if_block_1$9(ctx);
|
|
6757
6732
|
let each_value_1 =
|
|
6758
6733
|
/*_options*/
|
|
6759
6734
|
ctx[12];
|
|
@@ -6871,7 +6846,7 @@ function create_else_block$5(ctx) {
|
|
|
6871
6846
|
if (if_block) {
|
|
6872
6847
|
if_block.p(ctx, dirty);
|
|
6873
6848
|
} else {
|
|
6874
|
-
if_block = create_if_block_1$
|
|
6849
|
+
if_block = create_if_block_1$9(ctx);
|
|
6875
6850
|
if_block.c();
|
|
6876
6851
|
if_block.m(t0.parentNode, t0);
|
|
6877
6852
|
}
|
|
@@ -7018,7 +6993,7 @@ function create_else_block$5(ctx) {
|
|
|
7018
6993
|
} // (251:2) {#if _native}
|
|
7019
6994
|
|
|
7020
6995
|
|
|
7021
|
-
function create_if_block$
|
|
6996
|
+
function create_if_block$h(ctx) {
|
|
7022
6997
|
let select;
|
|
7023
6998
|
let slot;
|
|
7024
6999
|
let select_aria_label_value;
|
|
@@ -7030,7 +7005,7 @@ function create_if_block$f(ctx) {
|
|
|
7030
7005
|
let each_blocks = [];
|
|
7031
7006
|
|
|
7032
7007
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
7033
|
-
each_blocks[i] = create_each_block$
|
|
7008
|
+
each_blocks[i] = create_each_block$6(get_each_context$6(ctx, each_value, i));
|
|
7034
7009
|
}
|
|
7035
7010
|
|
|
7036
7011
|
return {
|
|
@@ -7085,12 +7060,12 @@ function create_if_block$f(ctx) {
|
|
|
7085
7060
|
let i;
|
|
7086
7061
|
|
|
7087
7062
|
for (i = 0; i < each_value.length; i += 1) {
|
|
7088
|
-
const child_ctx = get_each_context$
|
|
7063
|
+
const child_ctx = get_each_context$6(ctx, each_value, i);
|
|
7089
7064
|
|
|
7090
7065
|
if (each_blocks[i]) {
|
|
7091
7066
|
each_blocks[i].p(child_ctx, dirty);
|
|
7092
7067
|
} else {
|
|
7093
|
-
each_blocks[i] = create_each_block$
|
|
7068
|
+
each_blocks[i] = create_each_block$6(child_ctx);
|
|
7094
7069
|
each_blocks[i].c();
|
|
7095
7070
|
each_blocks[i].m(select, null);
|
|
7096
7071
|
}
|
|
@@ -7144,7 +7119,7 @@ function create_if_block$f(ctx) {
|
|
|
7144
7119
|
} // (271:4) {#if _isMenuVisible}
|
|
7145
7120
|
|
|
7146
7121
|
|
|
7147
|
-
function create_if_block_1$
|
|
7122
|
+
function create_if_block_1$9(ctx) {
|
|
7148
7123
|
let div;
|
|
7149
7124
|
let div_data_testid_value;
|
|
7150
7125
|
let noscroll_action;
|
|
@@ -7381,7 +7356,7 @@ function create_each_block_1(key_1, ctx) {
|
|
|
7381
7356
|
} // (260:6) {#each _options as option}
|
|
7382
7357
|
|
|
7383
7358
|
|
|
7384
|
-
function create_each_block$
|
|
7359
|
+
function create_each_block$6(ctx) {
|
|
7385
7360
|
let option;
|
|
7386
7361
|
let t0_value =
|
|
7387
7362
|
/*option*/
|
|
@@ -7454,7 +7429,7 @@ function create_each_block$5(ctx) {
|
|
|
7454
7429
|
};
|
|
7455
7430
|
}
|
|
7456
7431
|
|
|
7457
|
-
function create_fragment$
|
|
7432
|
+
function create_fragment$x(ctx) {
|
|
7458
7433
|
let div;
|
|
7459
7434
|
let div_data_testid_value;
|
|
7460
7435
|
let div_style_value;
|
|
@@ -7462,8 +7437,8 @@ function create_fragment$v(ctx) {
|
|
|
7462
7437
|
function select_block_type(ctx, dirty) {
|
|
7463
7438
|
if (
|
|
7464
7439
|
/*_native*/
|
|
7465
|
-
ctx[14]) return create_if_block$
|
|
7466
|
-
return create_else_block$
|
|
7440
|
+
ctx[14]) return create_if_block$h;
|
|
7441
|
+
return create_else_block$6;
|
|
7467
7442
|
}
|
|
7468
7443
|
|
|
7469
7444
|
let current_block_type = select_block_type(ctx);
|
|
@@ -7585,7 +7560,7 @@ function parseValues(selectedValue) {
|
|
|
7585
7560
|
return rawValues.map(val => `${val}`);
|
|
7586
7561
|
}
|
|
7587
7562
|
|
|
7588
|
-
function instance$
|
|
7563
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
7589
7564
|
let _disabled;
|
|
7590
7565
|
|
|
7591
7566
|
let _error;
|
|
@@ -7982,7 +7957,7 @@ class Dropdown extends SvelteElement {
|
|
|
7982
7957
|
target: this.shadowRoot,
|
|
7983
7958
|
props: attribute_to_object(this.attributes),
|
|
7984
7959
|
customElement: true
|
|
7985
|
-
}, instance$
|
|
7960
|
+
}, instance$u, create_fragment$x, safe_not_equal, {
|
|
7986
7961
|
name: 0,
|
|
7987
7962
|
arialabel: 1,
|
|
7988
7963
|
value: 29,
|
|
@@ -8186,7 +8161,7 @@ class Dropdown extends SvelteElement {
|
|
|
8186
8161
|
customElements.define("goa-dropdown", Dropdown);
|
|
8187
8162
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
8188
8163
|
|
|
8189
|
-
function create_fragment$
|
|
8164
|
+
function create_fragment$w(ctx) {
|
|
8190
8165
|
return {
|
|
8191
8166
|
c() {
|
|
8192
8167
|
this.c = noop;
|
|
@@ -8207,7 +8182,7 @@ class DropdownItem extends SvelteElement {
|
|
|
8207
8182
|
target: this.shadowRoot,
|
|
8208
8183
|
props: attribute_to_object(this.attributes),
|
|
8209
8184
|
customElement: true
|
|
8210
|
-
}, null, create_fragment$
|
|
8185
|
+
}, null, create_fragment$w, safe_not_equal, {}, null);
|
|
8211
8186
|
|
|
8212
8187
|
if (options) {
|
|
8213
8188
|
if (options.target) {
|
|
@@ -8221,7 +8196,7 @@ class DropdownItem extends SvelteElement {
|
|
|
8221
8196
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
8222
8197
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
8223
8198
|
|
|
8224
|
-
function create_fragment$
|
|
8199
|
+
function create_fragment$v(ctx) {
|
|
8225
8200
|
let div;
|
|
8226
8201
|
return {
|
|
8227
8202
|
c() {
|
|
@@ -8281,7 +8256,7 @@ function isFocusable(element) {
|
|
|
8281
8256
|
}
|
|
8282
8257
|
}
|
|
8283
8258
|
|
|
8284
|
-
function instance$
|
|
8259
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
8285
8260
|
let isActive;
|
|
8286
8261
|
let {
|
|
8287
8262
|
active
|
|
@@ -8450,7 +8425,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8450
8425
|
target: this.shadowRoot,
|
|
8451
8426
|
props: attribute_to_object(this.attributes),
|
|
8452
8427
|
customElement: true
|
|
8453
|
-
}, instance$
|
|
8428
|
+
}, instance$t, create_fragment$v, safe_not_equal, {
|
|
8454
8429
|
active: 1
|
|
8455
8430
|
}, null);
|
|
8456
8431
|
|
|
@@ -8486,7 +8461,7 @@ class FocusTrap extends SvelteElement {
|
|
|
8486
8461
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
8487
8462
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
8488
8463
|
|
|
8489
|
-
function create_if_block$
|
|
8464
|
+
function create_if_block$g(ctx) {
|
|
8490
8465
|
let goa_divider;
|
|
8491
8466
|
return {
|
|
8492
8467
|
c() {
|
|
@@ -8505,7 +8480,7 @@ function create_if_block$e(ctx) {
|
|
|
8505
8480
|
};
|
|
8506
8481
|
}
|
|
8507
8482
|
|
|
8508
|
-
function create_fragment$
|
|
8483
|
+
function create_fragment$u(ctx) {
|
|
8509
8484
|
let div5;
|
|
8510
8485
|
let div4;
|
|
8511
8486
|
let div0;
|
|
@@ -8523,7 +8498,7 @@ function create_fragment$s(ctx) {
|
|
|
8523
8498
|
/*navLinks*/
|
|
8524
8499
|
ctx[2] &&
|
|
8525
8500
|
/*navLinks*/
|
|
8526
|
-
ctx[2].length > 0 && create_if_block$
|
|
8501
|
+
ctx[2].length > 0 && create_if_block$g();
|
|
8527
8502
|
return {
|
|
8528
8503
|
c() {
|
|
8529
8504
|
div5 = element("div");
|
|
@@ -8596,7 +8571,7 @@ function create_fragment$s(ctx) {
|
|
|
8596
8571
|
/*navLinks*/
|
|
8597
8572
|
ctx[2].length > 0) {
|
|
8598
8573
|
if (if_block) ;else {
|
|
8599
|
-
if_block = create_if_block$
|
|
8574
|
+
if_block = create_if_block$g();
|
|
8600
8575
|
if_block.c();
|
|
8601
8576
|
if_block.m(div4, t1);
|
|
8602
8577
|
}
|
|
@@ -8648,7 +8623,7 @@ function create_fragment$s(ctx) {
|
|
|
8648
8623
|
};
|
|
8649
8624
|
}
|
|
8650
8625
|
|
|
8651
|
-
function instance$
|
|
8626
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
8652
8627
|
let {
|
|
8653
8628
|
maxcontentwidth = ""
|
|
8654
8629
|
} = $$props;
|
|
@@ -8686,7 +8661,7 @@ class Footer extends SvelteElement {
|
|
|
8686
8661
|
target: this.shadowRoot,
|
|
8687
8662
|
props: attribute_to_object(this.attributes),
|
|
8688
8663
|
customElement: true
|
|
8689
|
-
}, instance$
|
|
8664
|
+
}, instance$s, create_fragment$u, safe_not_equal, {
|
|
8690
8665
|
maxcontentwidth: 0
|
|
8691
8666
|
}, null);
|
|
8692
8667
|
|
|
@@ -8722,14 +8697,14 @@ class Footer extends SvelteElement {
|
|
|
8722
8697
|
customElements.define("goa-app-footer", Footer);
|
|
8723
8698
|
/* libs/web-components/src/components/footer-meta-section/FooterMetaSection.svelte generated by Svelte v3.51.0 */
|
|
8724
8699
|
|
|
8725
|
-
function get_each_context$
|
|
8700
|
+
function get_each_context$5(ctx, list, i) {
|
|
8726
8701
|
const child_ctx = ctx.slice();
|
|
8727
8702
|
child_ctx[3] = list[i];
|
|
8728
8703
|
return child_ctx;
|
|
8729
8704
|
} // (52:4) {#each children as child}
|
|
8730
8705
|
|
|
8731
8706
|
|
|
8732
|
-
function create_each_block$
|
|
8707
|
+
function create_each_block$5(ctx) {
|
|
8733
8708
|
let li;
|
|
8734
8709
|
let a;
|
|
8735
8710
|
let t_value =
|
|
@@ -8776,7 +8751,7 @@ function create_each_block$4(ctx) {
|
|
|
8776
8751
|
};
|
|
8777
8752
|
}
|
|
8778
8753
|
|
|
8779
|
-
function create_fragment$
|
|
8754
|
+
function create_fragment$t(ctx) {
|
|
8780
8755
|
let section;
|
|
8781
8756
|
let div;
|
|
8782
8757
|
let t;
|
|
@@ -8787,7 +8762,7 @@ function create_fragment$r(ctx) {
|
|
|
8787
8762
|
let each_blocks = [];
|
|
8788
8763
|
|
|
8789
8764
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
8790
|
-
each_blocks[i] = create_each_block$
|
|
8765
|
+
each_blocks[i] = create_each_block$5(get_each_context$5(ctx, each_value, i));
|
|
8791
8766
|
}
|
|
8792
8767
|
|
|
8793
8768
|
return {
|
|
@@ -8831,12 +8806,12 @@ function create_fragment$r(ctx) {
|
|
|
8831
8806
|
let i;
|
|
8832
8807
|
|
|
8833
8808
|
for (i = 0; i < each_value.length; i += 1) {
|
|
8834
|
-
const child_ctx = get_each_context$
|
|
8809
|
+
const child_ctx = get_each_context$5(ctx, each_value, i);
|
|
8835
8810
|
|
|
8836
8811
|
if (each_blocks[i]) {
|
|
8837
8812
|
each_blocks[i].p(child_ctx, dirty);
|
|
8838
8813
|
} else {
|
|
8839
|
-
each_blocks[i] = create_each_block$
|
|
8814
|
+
each_blocks[i] = create_each_block$5(child_ctx);
|
|
8840
8815
|
each_blocks[i].c();
|
|
8841
8816
|
each_blocks[i].m(ul, null);
|
|
8842
8817
|
}
|
|
@@ -8864,7 +8839,7 @@ function create_fragment$r(ctx) {
|
|
|
8864
8839
|
};
|
|
8865
8840
|
}
|
|
8866
8841
|
|
|
8867
|
-
function instance$
|
|
8842
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
8868
8843
|
let rootEl;
|
|
8869
8844
|
let children = [];
|
|
8870
8845
|
onMount(async () => {
|
|
@@ -8899,7 +8874,7 @@ class FooterMetaSection extends SvelteElement {
|
|
|
8899
8874
|
target: this.shadowRoot,
|
|
8900
8875
|
props: attribute_to_object(this.attributes),
|
|
8901
8876
|
customElement: true
|
|
8902
|
-
}, instance$
|
|
8877
|
+
}, instance$r, create_fragment$t, safe_not_equal, {}, null);
|
|
8903
8878
|
|
|
8904
8879
|
if (options) {
|
|
8905
8880
|
if (options.target) {
|
|
@@ -8913,14 +8888,14 @@ class FooterMetaSection extends SvelteElement {
|
|
|
8913
8888
|
customElements.define("goa-app-footer-meta-section", FooterMetaSection);
|
|
8914
8889
|
/* libs/web-components/src/components/footer-nav-section/FooterNavSection.svelte generated by Svelte v3.51.0 */
|
|
8915
8890
|
|
|
8916
|
-
function get_each_context$
|
|
8891
|
+
function get_each_context$4(ctx, list, i) {
|
|
8917
8892
|
const child_ctx = ctx.slice();
|
|
8918
8893
|
child_ctx[5] = list[i];
|
|
8919
8894
|
return child_ctx;
|
|
8920
8895
|
} // (31:2) {#if heading}
|
|
8921
8896
|
|
|
8922
8897
|
|
|
8923
|
-
function create_if_block$
|
|
8898
|
+
function create_if_block$f(ctx) {
|
|
8924
8899
|
let div;
|
|
8925
8900
|
let t0;
|
|
8926
8901
|
let t1;
|
|
@@ -8962,7 +8937,7 @@ function create_if_block$d(ctx) {
|
|
|
8962
8937
|
} // (49:4) {#each children as child}
|
|
8963
8938
|
|
|
8964
8939
|
|
|
8965
|
-
function create_each_block$
|
|
8940
|
+
function create_each_block$4(ctx) {
|
|
8966
8941
|
let li;
|
|
8967
8942
|
let a;
|
|
8968
8943
|
let t_value =
|
|
@@ -9009,7 +8984,7 @@ function create_each_block$3(ctx) {
|
|
|
9009
8984
|
};
|
|
9010
8985
|
}
|
|
9011
8986
|
|
|
9012
|
-
function create_fragment$
|
|
8987
|
+
function create_fragment$s(ctx) {
|
|
9013
8988
|
let section;
|
|
9014
8989
|
let t0;
|
|
9015
8990
|
let div;
|
|
@@ -9018,14 +8993,14 @@ function create_fragment$q(ctx) {
|
|
|
9018
8993
|
let ul_style_value;
|
|
9019
8994
|
let if_block =
|
|
9020
8995
|
/*heading*/
|
|
9021
|
-
ctx[0] && create_if_block$
|
|
8996
|
+
ctx[0] && create_if_block$f(ctx);
|
|
9022
8997
|
let each_value =
|
|
9023
8998
|
/*children*/
|
|
9024
8999
|
ctx[3];
|
|
9025
9000
|
let each_blocks = [];
|
|
9026
9001
|
|
|
9027
9002
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
9028
|
-
each_blocks[i] = create_each_block$
|
|
9003
|
+
each_blocks[i] = create_each_block$4(get_each_context$4(ctx, each_value, i));
|
|
9029
9004
|
}
|
|
9030
9005
|
|
|
9031
9006
|
return {
|
|
@@ -9085,7 +9060,7 @@ function create_fragment$q(ctx) {
|
|
|
9085
9060
|
if (if_block) {
|
|
9086
9061
|
if_block.p(ctx, dirty);
|
|
9087
9062
|
} else {
|
|
9088
|
-
if_block = create_if_block$
|
|
9063
|
+
if_block = create_if_block$f(ctx);
|
|
9089
9064
|
if_block.c();
|
|
9090
9065
|
if_block.m(section, t0);
|
|
9091
9066
|
}
|
|
@@ -9103,12 +9078,12 @@ function create_fragment$q(ctx) {
|
|
|
9103
9078
|
let i;
|
|
9104
9079
|
|
|
9105
9080
|
for (i = 0; i < each_value.length; i += 1) {
|
|
9106
|
-
const child_ctx = get_each_context$
|
|
9081
|
+
const child_ctx = get_each_context$4(ctx, each_value, i);
|
|
9107
9082
|
|
|
9108
9083
|
if (each_blocks[i]) {
|
|
9109
9084
|
each_blocks[i].p(child_ctx, dirty);
|
|
9110
9085
|
} else {
|
|
9111
|
-
each_blocks[i] = create_each_block$
|
|
9086
|
+
each_blocks[i] = create_each_block$4(child_ctx);
|
|
9112
9087
|
each_blocks[i].c();
|
|
9113
9088
|
each_blocks[i].m(ul, null);
|
|
9114
9089
|
}
|
|
@@ -9156,7 +9131,7 @@ function create_fragment$q(ctx) {
|
|
|
9156
9131
|
};
|
|
9157
9132
|
}
|
|
9158
9133
|
|
|
9159
|
-
function instance$
|
|
9134
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
9160
9135
|
let {
|
|
9161
9136
|
heading = ""
|
|
9162
9137
|
} = $$props;
|
|
@@ -9207,7 +9182,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
9207
9182
|
target: this.shadowRoot,
|
|
9208
9183
|
props: attribute_to_object(this.attributes),
|
|
9209
9184
|
customElement: true
|
|
9210
|
-
}, instance$
|
|
9185
|
+
}, instance$q, create_fragment$s, safe_not_equal, {
|
|
9211
9186
|
heading: 0,
|
|
9212
9187
|
maxcolumncount: 1
|
|
9213
9188
|
}, null);
|
|
@@ -9255,7 +9230,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
9255
9230
|
customElements.define("goa-app-footer-nav-section", FooterNavSection);
|
|
9256
9231
|
/* libs/web-components/src/components/form-item/FormItem.svelte generated by Svelte v3.51.0 */
|
|
9257
9232
|
|
|
9258
|
-
function create_if_block_2$
|
|
9233
|
+
function create_if_block_2$7(ctx) {
|
|
9259
9234
|
let div;
|
|
9260
9235
|
let t0;
|
|
9261
9236
|
let t1;
|
|
@@ -9266,7 +9241,7 @@ function create_if_block_2$5(ctx) {
|
|
|
9266
9241
|
ctx[9].includes(
|
|
9267
9242
|
/*requirement*/
|
|
9268
9243
|
ctx[8]);
|
|
9269
|
-
let if_block = show_if && create_if_block_3$
|
|
9244
|
+
let if_block = show_if && create_if_block_3$7(ctx);
|
|
9270
9245
|
return {
|
|
9271
9246
|
c() {
|
|
9272
9247
|
div = element("div");
|
|
@@ -9305,7 +9280,7 @@ function create_if_block_2$5(ctx) {
|
|
|
9305
9280
|
if (if_block) {
|
|
9306
9281
|
if_block.p(ctx, dirty);
|
|
9307
9282
|
} else {
|
|
9308
|
-
if_block = create_if_block_3$
|
|
9283
|
+
if_block = create_if_block_3$7(ctx);
|
|
9309
9284
|
if_block.c();
|
|
9310
9285
|
if_block.m(div, null);
|
|
9311
9286
|
}
|
|
@@ -9324,7 +9299,7 @@ function create_if_block_2$5(ctx) {
|
|
|
9324
9299
|
} // (34:6) {#if requirement && REQUIREMENT_TYPES.includes(requirement)}
|
|
9325
9300
|
|
|
9326
9301
|
|
|
9327
|
-
function create_if_block_3$
|
|
9302
|
+
function create_if_block_3$7(ctx) {
|
|
9328
9303
|
let em;
|
|
9329
9304
|
let t0;
|
|
9330
9305
|
let t1;
|
|
@@ -9362,7 +9337,7 @@ function create_if_block_3$5(ctx) {
|
|
|
9362
9337
|
} // (42:2) {#if error}
|
|
9363
9338
|
|
|
9364
9339
|
|
|
9365
|
-
function create_if_block_1$
|
|
9340
|
+
function create_if_block_1$8(ctx) {
|
|
9366
9341
|
let div;
|
|
9367
9342
|
let goa_icon;
|
|
9368
9343
|
let t0;
|
|
@@ -9405,7 +9380,7 @@ function create_if_block_1$6(ctx) {
|
|
|
9405
9380
|
} // (48:2) {#if helptext}
|
|
9406
9381
|
|
|
9407
9382
|
|
|
9408
|
-
function create_if_block$
|
|
9383
|
+
function create_if_block$e(ctx) {
|
|
9409
9384
|
let div;
|
|
9410
9385
|
let t;
|
|
9411
9386
|
return {
|
|
@@ -9437,7 +9412,7 @@ function create_if_block$c(ctx) {
|
|
|
9437
9412
|
};
|
|
9438
9413
|
}
|
|
9439
9414
|
|
|
9440
|
-
function create_fragment$
|
|
9415
|
+
function create_fragment$r(ctx) {
|
|
9441
9416
|
let div1;
|
|
9442
9417
|
let t0;
|
|
9443
9418
|
let div0;
|
|
@@ -9446,13 +9421,13 @@ function create_fragment$p(ctx) {
|
|
|
9446
9421
|
let div1_style_value;
|
|
9447
9422
|
let if_block0 =
|
|
9448
9423
|
/*label*/
|
|
9449
|
-
ctx[5] && create_if_block_2$
|
|
9424
|
+
ctx[5] && create_if_block_2$7(ctx);
|
|
9450
9425
|
let if_block1 =
|
|
9451
9426
|
/*error*/
|
|
9452
|
-
ctx[7] && create_if_block_1$
|
|
9427
|
+
ctx[7] && create_if_block_1$8(ctx);
|
|
9453
9428
|
let if_block2 =
|
|
9454
9429
|
/*helptext*/
|
|
9455
|
-
ctx[6] && create_if_block$
|
|
9430
|
+
ctx[6] && create_if_block$e(ctx);
|
|
9456
9431
|
return {
|
|
9457
9432
|
c() {
|
|
9458
9433
|
div1 = element("div");
|
|
@@ -9499,7 +9474,7 @@ function create_fragment$p(ctx) {
|
|
|
9499
9474
|
if (if_block0) {
|
|
9500
9475
|
if_block0.p(ctx, dirty);
|
|
9501
9476
|
} else {
|
|
9502
|
-
if_block0 = create_if_block_2$
|
|
9477
|
+
if_block0 = create_if_block_2$7(ctx);
|
|
9503
9478
|
if_block0.c();
|
|
9504
9479
|
if_block0.m(div1, t0);
|
|
9505
9480
|
}
|
|
@@ -9514,7 +9489,7 @@ function create_fragment$p(ctx) {
|
|
|
9514
9489
|
if (if_block1) {
|
|
9515
9490
|
if_block1.p(ctx, dirty);
|
|
9516
9491
|
} else {
|
|
9517
|
-
if_block1 = create_if_block_1$
|
|
9492
|
+
if_block1 = create_if_block_1$8(ctx);
|
|
9518
9493
|
if_block1.c();
|
|
9519
9494
|
if_block1.m(div1, t2);
|
|
9520
9495
|
}
|
|
@@ -9529,7 +9504,7 @@ function create_fragment$p(ctx) {
|
|
|
9529
9504
|
if (if_block2) {
|
|
9530
9505
|
if_block2.p(ctx, dirty);
|
|
9531
9506
|
} else {
|
|
9532
|
-
if_block2 = create_if_block$
|
|
9507
|
+
if_block2 = create_if_block$e(ctx);
|
|
9533
9508
|
if_block2.c();
|
|
9534
9509
|
if_block2.m(div1, null);
|
|
9535
9510
|
}
|
|
@@ -9574,7 +9549,7 @@ function create_fragment$p(ctx) {
|
|
|
9574
9549
|
};
|
|
9575
9550
|
}
|
|
9576
9551
|
|
|
9577
|
-
function instance$
|
|
9552
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
9578
9553
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
9579
9554
|
let {
|
|
9580
9555
|
testid = ""
|
|
@@ -9630,7 +9605,7 @@ class FormItem extends SvelteElement {
|
|
|
9630
9605
|
target: this.shadowRoot,
|
|
9631
9606
|
props: attribute_to_object(this.attributes),
|
|
9632
9607
|
customElement: true
|
|
9633
|
-
}, instance$
|
|
9608
|
+
}, instance$p, create_fragment$r, safe_not_equal, {
|
|
9634
9609
|
testid: 0,
|
|
9635
9610
|
mt: 1,
|
|
9636
9611
|
mr: 2,
|
|
@@ -9762,7 +9737,7 @@ class FormItem extends SvelteElement {
|
|
|
9762
9737
|
customElements.define("goa-form-item", FormItem);
|
|
9763
9738
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9764
9739
|
|
|
9765
|
-
function create_fragment$
|
|
9740
|
+
function create_fragment$q(ctx) {
|
|
9766
9741
|
let div;
|
|
9767
9742
|
let slot;
|
|
9768
9743
|
let div_style_value;
|
|
@@ -9830,7 +9805,7 @@ function create_fragment$o(ctx) {
|
|
|
9830
9805
|
};
|
|
9831
9806
|
}
|
|
9832
9807
|
|
|
9833
|
-
function instance$
|
|
9808
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
9834
9809
|
let {
|
|
9835
9810
|
gap = "m"
|
|
9836
9811
|
} = $$props;
|
|
@@ -9875,7 +9850,7 @@ class Grid extends SvelteElement {
|
|
|
9875
9850
|
target: this.shadowRoot,
|
|
9876
9851
|
props: attribute_to_object(this.attributes),
|
|
9877
9852
|
customElement: true
|
|
9878
|
-
}, instance$
|
|
9853
|
+
}, instance$o, create_fragment$q, safe_not_equal, {
|
|
9879
9854
|
gap: 0,
|
|
9880
9855
|
minchildwidth: 1,
|
|
9881
9856
|
mt: 2,
|
|
@@ -9971,7 +9946,7 @@ class Grid extends SvelteElement {
|
|
|
9971
9946
|
customElements.define("goa-grid", Grid);
|
|
9972
9947
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9973
9948
|
|
|
9974
|
-
function create_fragment$
|
|
9949
|
+
function create_fragment$p(ctx) {
|
|
9975
9950
|
let div1;
|
|
9976
9951
|
let goa_page_block;
|
|
9977
9952
|
let h1;
|
|
@@ -10056,7 +10031,7 @@ function create_fragment$n(ctx) {
|
|
|
10056
10031
|
};
|
|
10057
10032
|
}
|
|
10058
10033
|
|
|
10059
|
-
function instance$
|
|
10034
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
10060
10035
|
let {
|
|
10061
10036
|
heading
|
|
10062
10037
|
} = $$props;
|
|
@@ -10084,7 +10059,7 @@ class HeroBanner extends SvelteElement {
|
|
|
10084
10059
|
target: this.shadowRoot,
|
|
10085
10060
|
props: attribute_to_object(this.attributes),
|
|
10086
10061
|
customElement: true
|
|
10087
|
-
}, instance$
|
|
10062
|
+
}, instance$n, create_fragment$p, safe_not_equal, {
|
|
10088
10063
|
heading: 0,
|
|
10089
10064
|
backgroundurl: 1,
|
|
10090
10065
|
minheight: 2
|
|
@@ -10144,7 +10119,7 @@ class HeroBanner extends SvelteElement {
|
|
|
10144
10119
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
10145
10120
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
10146
10121
|
|
|
10147
|
-
function create_fragment$
|
|
10122
|
+
function create_fragment$o(ctx) {
|
|
10148
10123
|
let button;
|
|
10149
10124
|
let goa_icon;
|
|
10150
10125
|
let button_style_value;
|
|
@@ -10316,7 +10291,7 @@ function handleClick(e) {
|
|
|
10316
10291
|
}));
|
|
10317
10292
|
}
|
|
10318
10293
|
|
|
10319
|
-
function instance$
|
|
10294
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
10320
10295
|
let css;
|
|
10321
10296
|
let isDisabled;
|
|
10322
10297
|
let isInverted;
|
|
@@ -10421,7 +10396,7 @@ class IconButton extends SvelteElement {
|
|
|
10421
10396
|
target: this.shadowRoot,
|
|
10422
10397
|
props: attribute_to_object(this.attributes),
|
|
10423
10398
|
customElement: true
|
|
10424
|
-
}, instance$
|
|
10399
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
10425
10400
|
icon: 0,
|
|
10426
10401
|
size: 1,
|
|
10427
10402
|
theme: 2,
|
|
@@ -10589,7 +10564,7 @@ class IconButton extends SvelteElement {
|
|
|
10589
10564
|
customElements.define("goa-icon-button", IconButton);
|
|
10590
10565
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
10591
10566
|
|
|
10592
|
-
function create_if_block$
|
|
10567
|
+
function create_if_block$d(ctx) {
|
|
10593
10568
|
let show_if;
|
|
10594
10569
|
let if_block_anchor;
|
|
10595
10570
|
|
|
@@ -10599,11 +10574,11 @@ function create_if_block$b(ctx) {
|
|
|
10599
10574
|
16) show_if = null;
|
|
10600
10575
|
if (show_if == null) show_if = !!Object.keys(
|
|
10601
10576
|
/*_iconOverrides*/
|
|
10602
|
-
ctx[
|
|
10577
|
+
ctx[13]).includes(
|
|
10603
10578
|
/*type*/
|
|
10604
10579
|
ctx[4]);
|
|
10605
|
-
if (show_if) return create_if_block_1$
|
|
10606
|
-
return create_else_block$
|
|
10580
|
+
if (show_if) return create_if_block_1$7;
|
|
10581
|
+
return create_else_block$5;
|
|
10607
10582
|
}
|
|
10608
10583
|
|
|
10609
10584
|
let current_block_type = select_block_type(ctx, -1);
|
|
@@ -10639,10 +10614,10 @@ function create_if_block$b(ctx) {
|
|
|
10639
10614
|
}
|
|
10640
10615
|
|
|
10641
10616
|
};
|
|
10642
|
-
} // (
|
|
10617
|
+
} // (59:4) {:else}
|
|
10643
10618
|
|
|
10644
10619
|
|
|
10645
|
-
function create_else_block$
|
|
10620
|
+
function create_else_block$5(ctx) {
|
|
10646
10621
|
let ion_icon;
|
|
10647
10622
|
let ion_icon_name_value;
|
|
10648
10623
|
return {
|
|
@@ -10650,7 +10625,7 @@ function create_else_block$4(ctx) {
|
|
|
10650
10625
|
ion_icon = element("ion-icon");
|
|
10651
10626
|
set_custom_element_data(ion_icon, "name", ion_icon_name_value =
|
|
10652
10627
|
/*theme*/
|
|
10653
|
-
ctx[
|
|
10628
|
+
ctx[6] === "filled" ||
|
|
10654
10629
|
/*type*/
|
|
10655
10630
|
ctx[4].indexOf("logo") === 0 ?
|
|
10656
10631
|
/*type*/
|
|
@@ -10658,7 +10633,7 @@ function create_else_block$4(ctx) {
|
|
|
10658
10633
|
/*type*/
|
|
10659
10634
|
ctx[4]}-${
|
|
10660
10635
|
/*theme*/
|
|
10661
|
-
ctx[
|
|
10636
|
+
ctx[6]}`);
|
|
10662
10637
|
},
|
|
10663
10638
|
|
|
10664
10639
|
m(target, anchor) {
|
|
@@ -10668,9 +10643,9 @@ function create_else_block$4(ctx) {
|
|
|
10668
10643
|
p(ctx, dirty) {
|
|
10669
10644
|
if (dirty &
|
|
10670
10645
|
/*theme, type*/
|
|
10671
|
-
|
|
10646
|
+
80 && ion_icon_name_value !== (ion_icon_name_value =
|
|
10672
10647
|
/*theme*/
|
|
10673
|
-
ctx[
|
|
10648
|
+
ctx[6] === "filled" ||
|
|
10674
10649
|
/*type*/
|
|
10675
10650
|
ctx[4].indexOf("logo") === 0 ?
|
|
10676
10651
|
/*type*/
|
|
@@ -10678,7 +10653,7 @@ function create_else_block$4(ctx) {
|
|
|
10678
10653
|
/*type*/
|
|
10679
10654
|
ctx[4]}-${
|
|
10680
10655
|
/*theme*/
|
|
10681
|
-
ctx[
|
|
10656
|
+
ctx[6]}`)) {
|
|
10682
10657
|
set_custom_element_data(ion_icon, "name", ion_icon_name_value);
|
|
10683
10658
|
}
|
|
10684
10659
|
},
|
|
@@ -10691,31 +10666,22 @@ function create_else_block$4(ctx) {
|
|
|
10691
10666
|
} // (55:4) {#if Object.keys(_iconOverrides).includes(type)}
|
|
10692
10667
|
|
|
10693
10668
|
|
|
10694
|
-
function create_if_block_1$
|
|
10669
|
+
function create_if_block_1$7(ctx) {
|
|
10695
10670
|
let div;
|
|
10696
|
-
let html_tag;
|
|
10697
10671
|
let raw_value =
|
|
10698
10672
|
/*_iconOverrides*/
|
|
10699
|
-
ctx[
|
|
10673
|
+
ctx[13][
|
|
10700
10674
|
/*type*/
|
|
10701
10675
|
ctx[4]] + "";
|
|
10702
|
-
let t;
|
|
10703
|
-
let span;
|
|
10704
10676
|
return {
|
|
10705
10677
|
c() {
|
|
10706
10678
|
div = element("div");
|
|
10707
|
-
html_tag = new HtmlTag(false);
|
|
10708
|
-
t = space();
|
|
10709
|
-
span = element("span");
|
|
10710
|
-
html_tag.a = t;
|
|
10711
10679
|
attr(div, "class", "icon-override");
|
|
10712
10680
|
},
|
|
10713
10681
|
|
|
10714
10682
|
m(target, anchor) {
|
|
10715
10683
|
insert(target, div, anchor);
|
|
10716
|
-
|
|
10717
|
-
append(div, t);
|
|
10718
|
-
append(div, span);
|
|
10684
|
+
div.innerHTML = raw_value;
|
|
10719
10685
|
},
|
|
10720
10686
|
|
|
10721
10687
|
p(ctx, dirty) {
|
|
@@ -10723,9 +10689,9 @@ function create_if_block_1$5(ctx) {
|
|
|
10723
10689
|
/*type*/
|
|
10724
10690
|
16 && raw_value !== (raw_value =
|
|
10725
10691
|
/*_iconOverrides*/
|
|
10726
|
-
ctx[
|
|
10692
|
+
ctx[13][
|
|
10727
10693
|
/*type*/
|
|
10728
|
-
ctx[4]] + ""))
|
|
10694
|
+
ctx[4]] + "")) div.innerHTML = raw_value;
|
|
10729
10695
|
},
|
|
10730
10696
|
|
|
10731
10697
|
d(detaching) {
|
|
@@ -10735,24 +10701,27 @@ function create_if_block_1$5(ctx) {
|
|
|
10735
10701
|
};
|
|
10736
10702
|
}
|
|
10737
10703
|
|
|
10738
|
-
function create_fragment$
|
|
10704
|
+
function create_fragment$n(ctx) {
|
|
10739
10705
|
let div;
|
|
10706
|
+
let div_class_value;
|
|
10740
10707
|
let div_style_value;
|
|
10741
10708
|
let if_block =
|
|
10742
10709
|
/*type*/
|
|
10743
|
-
ctx[4] && create_if_block$
|
|
10710
|
+
ctx[4] && create_if_block$d(ctx);
|
|
10744
10711
|
return {
|
|
10745
10712
|
c() {
|
|
10746
10713
|
div = element("div");
|
|
10747
10714
|
if (if_block) if_block.c();
|
|
10748
10715
|
this.c = noop;
|
|
10749
|
-
attr(div, "class",
|
|
10716
|
+
attr(div, "class", div_class_value = `goa-icon goa-icon--${
|
|
10717
|
+
/*size*/
|
|
10718
|
+
ctx[5]}`);
|
|
10750
10719
|
attr(div, "data-testid",
|
|
10751
10720
|
/*testid*/
|
|
10752
|
-
ctx[
|
|
10721
|
+
ctx[11]);
|
|
10753
10722
|
attr(div, "title",
|
|
10754
10723
|
/*title*/
|
|
10755
|
-
ctx[
|
|
10724
|
+
ctx[10]);
|
|
10756
10725
|
attr(div, "style", div_style_value = `
|
|
10757
10726
|
${calculateMargin(
|
|
10758
10727
|
/*mt*/
|
|
@@ -10763,19 +10732,19 @@ function create_fragment$l(ctx) {
|
|
|
10763
10732
|
ctx[2],
|
|
10764
10733
|
/*ml*/
|
|
10765
10734
|
ctx[3])}
|
|
10766
|
-
|
|
10767
|
-
/*_size*/
|
|
10768
|
-
ctx[10]};
|
|
10769
|
-
--fill-color: ${
|
|
10735
|
+
${cssVar("--fill-color",
|
|
10770
10736
|
/*fillcolor*/
|
|
10771
|
-
ctx[
|
|
10772
|
-
|
|
10737
|
+
ctx[8])};
|
|
10738
|
+
${cssVar("--hover-color",
|
|
10739
|
+
/*hovercolor*/
|
|
10740
|
+
ctx[7])};
|
|
10741
|
+
${cssVar("--opacity",
|
|
10773
10742
|
/*opacity*/
|
|
10774
|
-
ctx[
|
|
10743
|
+
ctx[9])};
|
|
10775
10744
|
`);
|
|
10776
10745
|
toggle_class(div, "inverted",
|
|
10777
10746
|
/*isInverted*/
|
|
10778
|
-
ctx[
|
|
10747
|
+
ctx[12]);
|
|
10779
10748
|
},
|
|
10780
10749
|
|
|
10781
10750
|
m(target, anchor) {
|
|
@@ -10790,7 +10759,7 @@ function create_fragment$l(ctx) {
|
|
|
10790
10759
|
if (if_block) {
|
|
10791
10760
|
if_block.p(ctx, dirty);
|
|
10792
10761
|
} else {
|
|
10793
|
-
if_block = create_if_block$
|
|
10762
|
+
if_block = create_if_block$d(ctx);
|
|
10794
10763
|
if_block.c();
|
|
10795
10764
|
if_block.m(div, null);
|
|
10796
10765
|
}
|
|
@@ -10799,25 +10768,33 @@ function create_fragment$l(ctx) {
|
|
|
10799
10768
|
if_block = null;
|
|
10800
10769
|
}
|
|
10801
10770
|
|
|
10771
|
+
if (dirty &
|
|
10772
|
+
/*size*/
|
|
10773
|
+
32 && div_class_value !== (div_class_value = `goa-icon goa-icon--${
|
|
10774
|
+
/*size*/
|
|
10775
|
+
ctx[5]}`)) {
|
|
10776
|
+
attr(div, "class", div_class_value);
|
|
10777
|
+
}
|
|
10778
|
+
|
|
10802
10779
|
if (dirty &
|
|
10803
10780
|
/*testid*/
|
|
10804
|
-
|
|
10781
|
+
2048) {
|
|
10805
10782
|
attr(div, "data-testid",
|
|
10806
10783
|
/*testid*/
|
|
10807
|
-
ctx[
|
|
10784
|
+
ctx[11]);
|
|
10808
10785
|
}
|
|
10809
10786
|
|
|
10810
10787
|
if (dirty &
|
|
10811
10788
|
/*title*/
|
|
10812
|
-
|
|
10789
|
+
1024) {
|
|
10813
10790
|
attr(div, "title",
|
|
10814
10791
|
/*title*/
|
|
10815
|
-
ctx[
|
|
10792
|
+
ctx[10]);
|
|
10816
10793
|
}
|
|
10817
10794
|
|
|
10818
10795
|
if (dirty &
|
|
10819
|
-
/*mt, mr, mb, ml,
|
|
10820
|
-
|
|
10796
|
+
/*mt, mr, mb, ml, fillcolor, hovercolor, opacity*/
|
|
10797
|
+
911 && div_style_value !== (div_style_value = `
|
|
10821
10798
|
${calculateMargin(
|
|
10822
10799
|
/*mt*/
|
|
10823
10800
|
ctx[0],
|
|
@@ -10827,25 +10804,25 @@ function create_fragment$l(ctx) {
|
|
|
10827
10804
|
ctx[2],
|
|
10828
10805
|
/*ml*/
|
|
10829
10806
|
ctx[3])}
|
|
10830
|
-
|
|
10831
|
-
/*_size*/
|
|
10832
|
-
ctx[10]};
|
|
10833
|
-
--fill-color: ${
|
|
10807
|
+
${cssVar("--fill-color",
|
|
10834
10808
|
/*fillcolor*/
|
|
10835
|
-
ctx[
|
|
10836
|
-
|
|
10809
|
+
ctx[8])};
|
|
10810
|
+
${cssVar("--hover-color",
|
|
10811
|
+
/*hovercolor*/
|
|
10812
|
+
ctx[7])};
|
|
10813
|
+
${cssVar("--opacity",
|
|
10837
10814
|
/*opacity*/
|
|
10838
|
-
ctx[
|
|
10815
|
+
ctx[9])};
|
|
10839
10816
|
`)) {
|
|
10840
10817
|
attr(div, "style", div_style_value);
|
|
10841
10818
|
}
|
|
10842
10819
|
|
|
10843
10820
|
if (dirty &
|
|
10844
|
-
/*isInverted*/
|
|
10845
|
-
|
|
10821
|
+
/*size, isInverted*/
|
|
10822
|
+
4128) {
|
|
10846
10823
|
toggle_class(div, "inverted",
|
|
10847
10824
|
/*isInverted*/
|
|
10848
|
-
ctx[
|
|
10825
|
+
ctx[12]);
|
|
10849
10826
|
}
|
|
10850
10827
|
},
|
|
10851
10828
|
|
|
@@ -10860,11 +10837,8 @@ function create_fragment$l(ctx) {
|
|
|
10860
10837
|
};
|
|
10861
10838
|
}
|
|
10862
10839
|
|
|
10863
|
-
function instance$
|
|
10840
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
10864
10841
|
let isInverted;
|
|
10865
|
-
|
|
10866
|
-
let _size;
|
|
10867
|
-
|
|
10868
10842
|
let {
|
|
10869
10843
|
mt = null
|
|
10870
10844
|
} = $$props;
|
|
@@ -10889,6 +10863,9 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
10889
10863
|
let {
|
|
10890
10864
|
inverted = "false"
|
|
10891
10865
|
} = $$props;
|
|
10866
|
+
let {
|
|
10867
|
+
hovercolor = ""
|
|
10868
|
+
} = $$props;
|
|
10892
10869
|
let {
|
|
10893
10870
|
fillcolor = ""
|
|
10894
10871
|
} = $$props;
|
|
@@ -10903,15 +10880,19 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
10903
10880
|
} = $$props; // Private
|
|
10904
10881
|
|
|
10905
10882
|
const _iconOverrides = {
|
|
10906
|
-
pencil: `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
10907
|
-
|
|
10908
|
-
</svg>`,
|
|
10909
|
-
|
|
10910
|
-
|
|
10911
|
-
</svg
|
|
10912
|
-
|
|
10913
|
-
<path d="
|
|
10914
|
-
</svg
|
|
10883
|
+
pencil: `<svg width="18" height="18" viewBox="0 0 18 18" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M16.1442 5.47956L12.5355 1.87088L13.7196 0.686776C14.0391 0.367257 14.4385 0.212197 14.9178 0.221594C15.3971 0.230992 15.7965 0.39545 16.116 0.714969L17.3283 1.92726C17.6478 2.24678 17.8076 2.64148 17.8076 3.11136C17.8076 3.58124 17.6478 3.97594 17.3283 4.29546L16.1442 5.47956ZM1.03951 17.8424C0.795173 17.8424 0.593125 17.7626 0.433365 17.6028C0.273605 17.443 0.193726 17.241 0.193726 16.9966V14.5721C0.193726 14.4593 0.212521 14.356 0.250112 14.262C0.287702 14.168 0.353485 14.074 0.447461 13.9801L11.4689 2.93435L15.0776 6.54303L4.05615 17.5887C3.96217 17.6827 3.8682 17.7485 3.77422 17.7861C3.68024 17.8236 3.57687 17.8424 3.4641 17.8424H1.03951Z" fill="currentcolor"/> </svg>`,
|
|
10884
|
+
checkmark: `<svg width="18" height="14" viewBox="0 0 18 14" fill="none" xmlns="http://www.w3.org/2000/svg"> <path fill-rule="evenodd" clip-rule="evenodd" d="M6.20129 11.5368L15.9974 0.341265C16.3611 -0.0743717 16.9929 -0.116489 17.4085 0.247193C17.8241 0.610875 17.8663 1.24264 17.5026 1.65827L7.00258 13.6583C6.82032 13.8666 6.5599 13.99 6.28328 13.9992C6.00666 14.0084 5.7386 13.9026 5.54289 13.7069L1.04289 9.20688C0.652369 8.81635 0.652369 8.18319 1.04289 7.79266C1.43342 7.40214 2.06658 7.40214 2.45711 7.79266L6.20129 11.5368Z" fill="#333333"/> </svg>`,
|
|
10885
|
+
remove: `<svg width="16" height="20" viewBox="0 0 16 1" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M1.5 -0.000244141C0.947715 -0.000244141 0.5 0.447471 0.5 0.999756C0.5 1.55204 0.947715 1.99976 1.5 1.99976H15C15.5523 1.99976 16 1.55204 16 0.999756C16 0.447471 15.5523 -0.000244141 15 -0.000244141H1.5Z" fill="currentcolor"/> </svg>`,
|
|
10886
|
+
"goa-file": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_1357_108691)"> <path d="M38.741 14C38.541 13.07 38.081 12.22 37.401 11.54L36.861 11L27.861 2L27.321 1.46C26.641 0.78 25.781 0.32 24.861 0.12C24.511 0.04 24.151 0 23.791 0H5.86096C3.10096 0 0.860962 2.24 0.860962 5V43C0.860962 45.76 3.10096 48 5.86096 48H33.861C36.621 48 38.861 45.76 38.861 43V15.07C38.861 14.71 38.811 14.35 38.741 14ZM35.041 12H29.871C28.221 12 26.871 10.65 26.871 9V3.83L35.041 12ZM36.871 43C36.871 44.65 35.521 46 33.871 46H5.87097C4.22097 46 2.87097 44.65 2.87097 43V5C2.87097 3.35 4.22097 2 5.87097 2H23.801C24.171 2 24.531 2.07 24.871 2.2V9C24.871 11.76 27.111 14 29.871 14H36.671C36.801 14.34 36.871 14.7 36.871 15.07V43Z" fill="currentcolor"/> </g> <defs> <clipPath id="clip0_1357_108691"><rect width="38" height="48" fill="white" transform="translate(0.861328)"/></clipPath></defs></svg>`,
|
|
10887
|
+
"goa-text": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7953 14C38.5953 13.07 38.1353 12.22 37.4553 11.54L36.9153 11L27.9153 2L27.3753 1.46C26.6953 0.78 25.8353 0.32 24.9153 0.12C24.5653 0.04 24.2053 0 23.8453 0H5.91528C3.15528 0 0.915283 2.24 0.915283 5V43C0.915283 45.76 3.15528 48 5.91528 48H33.9153C36.6753 48 38.9153 45.76 38.9153 43V15.07C38.9153 14.71 38.8653 14.35 38.7953 14ZM35.0953 12H29.9253C28.2753 12 26.9253 10.65 26.9253 9V3.83L35.0953 12ZM36.9253 43C36.9253 44.65 35.5753 46 33.9253 46H5.91528C4.26528 46 2.91528 44.65 2.91528 43V5C2.91528 3.35 4.26528 2 5.91528 2H23.8453C24.2153 2 24.5753 2.07 24.9153 2.2V9C24.9153 11.76 27.1553 14 29.9153 14H36.7153C36.8453 14.34 36.9153 14.7 36.9153 15.07V43H36.9253Z" fill="currentcolor"/> <path d="M27.9153 34H11.9153C11.363 34 10.9153 34.4477 10.9153 35C10.9153 35.5523 11.363 36 11.9153 36H27.9153C28.4676 36 28.9153 35.5523 28.9153 35C28.9153 34.4477 28.4676 34 27.9153 34Z" fill="currentcolor"/> <path d="M27.9153 26H11.9153C11.363 26 10.9153 26.4477 10.9153 27C10.9153 27.5523 11.363 28 11.9153 28H27.9153C28.4676 28 28.9153 27.5523 28.9153 27C28.9153 26.4477 28.4676 26 27.9153 26Z" fill="currentcolor"/> </svg>`,
|
|
10888
|
+
"goa-pdf": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.8861 14C37.6861 13.07 37.2261 12.22 36.5461 11.54L36.0061 11L27.0061 2L26.4661 1.46C25.7861 0.78 24.9261 0.32 24.0061 0.12C23.6561 0.04 23.2961 0 22.9361 0H5.0061C2.2461 0 0.00610352 2.24 0.00610352 5V43C0.00610352 45.76 2.2461 48 5.0061 48H33.0061C35.7661 48 38.0061 45.76 38.0061 43V15.07C38.0061 14.71 37.9561 14.35 37.8861 14ZM34.1861 12H29.0161C27.3661 12 26.0161 10.65 26.0161 9V3.83L34.1861 12ZM36.0161 43C36.0161 44.65 34.6661 46 33.0161 46H5.0061C3.3561 46 2.0061 44.65 2.0061 43V5C2.0061 3.35 3.3561 2 5.0061 2H22.9361C23.3061 2 23.6661 2.07 24.0061 2.2V9C24.0061 11.76 26.2461 14 29.0061 14H35.8061C35.9361 14.34 36.0061 14.7 36.0061 15.07V43H36.0161Z" fill="currentcolor"/> <path d="M5.02611 27C5.02611 26.45 5.47611 26 6.02611 26H9.05611C11.1161 26 12.9261 27.06 12.9261 29.28C12.9261 31.5 11.2461 32.74 8.85611 32.74H7.25611V35.85C7.25611 36.47 6.75611 36.97 6.13611 36.97C5.51611 36.97 5.01611 36.47 5.01611 35.85V27.01L5.02611 27ZM7.26611 30.96H8.73611C9.91611 30.96 10.6561 30.53 10.6561 29.31C10.6561 28.22 9.90611 27.77 8.79611 27.77H7.25611V30.96H7.26611Z" fill="currentcolor"/> <path d="M15.0361 27C15.0361 26.45 15.4861 26 16.0361 26H18.8461C22.1761 26 24.0161 28.03 24.0161 31.25C24.0161 34.82 22.0961 36.96 18.7661 36.96H16.0361C15.4861 36.96 15.0361 36.51 15.0361 35.96V27ZM17.2961 35.2H18.7361C20.6861 35.2 21.6961 33.74 21.6961 31.28C21.6961 29.25 20.7861 27.79 18.7461 27.79H17.2861V35.2H17.2961Z" fill="currentcolor"/> <path d="M25.9761 27C25.9761 26.45 26.4261 26 26.9761 26H32.0861C32.5961 26 33.0061 26.41 33.0061 26.92C33.0061 27.43 32.5961 27.84 32.0861 27.84H28.1761V30.63H31.8161C32.3161 30.63 32.7161 31.03 32.7161 31.53C32.7161 32.03 32.3161 32.43 31.8161 32.43H28.1761V35.86C28.1761 36.47 27.6861 36.96 27.0761 36.96C26.4661 36.96 25.9761 36.47 25.9761 35.86V26.99V27Z" fill="currentcolor"/> </svg> `,
|
|
10889
|
+
"goa-doc": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.6134 14C38.4134 13.07 37.9534 12.22 37.2734 11.54L36.7334 11L27.7334 2L27.1934 1.46C26.5134 0.78 25.6534 0.32 24.7334 0.12C24.3834 0.04 24.0234 0 23.6634 0H5.7334C2.9734 0 0.733398 2.24 0.733398 5V43C0.733398 45.76 2.9734 48 5.7334 48H33.7334C36.4934 48 38.7334 45.76 38.7334 43V15.07C38.7334 14.71 38.6834 14.35 38.6134 14ZM34.9134 12H29.7434C28.0934 12 26.7434 10.65 26.7434 9V3.83L34.9134 12ZM36.7434 43C36.7434 44.65 35.3934 46 33.7434 46H5.7334C4.0834 46 2.7334 44.65 2.7334 43V5C2.7334 3.35 4.0834 2 5.7334 2H23.6634C24.0334 2 24.3934 2.07 24.7334 2.2V9C24.7334 11.76 26.9734 14 29.7334 14H36.5334C36.6634 14.34 36.7334 14.7 36.7334 15.07V43H36.7434Z" fill="currentcolor"/> <path d="M13.7834 36.6406L10.9034 24.5806C10.6934 23.7206 11.3534 22.8906 12.2334 22.8906C12.8734 22.8906 13.4334 23.3406 13.5734 23.9706C14.4934 28.2306 15.3434 32.5006 15.6434 34.9706H15.6634C16.0934 32.6806 17.3834 27.7106 18.2434 24.0806C18.4134 23.3806 19.0334 22.8906 19.7534 22.8906C20.4634 22.8906 21.0834 23.3706 21.2534 24.0606C22.0734 27.3606 23.3634 32.5806 23.7534 34.8406H23.7734C24.1834 32.0406 25.4534 26.8306 26.1134 23.8706C26.2434 23.3006 26.7434 22.8906 27.3334 22.8906C28.1534 22.8906 28.7434 23.6606 28.5434 24.4506L25.4134 36.6706C25.2134 37.4606 24.5034 38.0106 23.6934 38.0106C22.8634 38.0106 22.1534 37.4506 21.9634 36.6406C21.1734 33.2806 20.0434 28.8506 19.6434 26.6306H19.6234C19.1834 28.9106 18.0234 33.4506 17.2234 36.6606C17.0234 37.4506 16.3134 38.0006 15.5034 38.0006C14.6834 38.0006 13.9634 37.4406 13.7734 36.6406H13.7834Z" fill="currentcolor"/> </svg> `,
|
|
10890
|
+
"goa-ppt": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.2498 14C38.0498 13.07 37.5898 12.22 36.9098 11.54L36.3698 11L27.3698 2L26.8298 1.46C26.1497 0.78 25.2898 0.32 24.3698 0.12C24.0198 0.04 23.6598 0 23.2998 0H5.36975C2.60975 0 0.369751 2.24 0.369751 5V43C0.369751 45.76 2.60975 48 5.36975 48H33.3698C36.1297 48 38.3698 45.76 38.3698 43V15.07C38.3698 14.71 38.3198 14.35 38.2498 14ZM34.5498 12H29.3798C27.7298 12 26.3798 10.65 26.3798 9V3.83L34.5498 12ZM36.3797 43C36.3797 44.65 35.0298 46 33.3797 46H5.36975C3.71975 46 2.36975 44.65 2.36975 43V5C2.36975 3.35 3.71975 2 5.36975 2H23.2998C23.6698 2 24.0298 2.07 24.3698 2.2V9C24.3698 11.76 26.6098 14 29.3698 14H36.1698C36.2998 14.34 36.3698 14.7 36.3698 15.07V43H36.3797Z" fill="currentcolor"/> <path d="M14.0798 24.8906C14.0798 23.7906 14.9798 22.8906 16.0798 22.8906H19.4698C22.3098 22.8906 24.6598 24.3406 24.6598 27.2906C24.6598 30.2406 22.4198 31.9306 19.2298 31.9306H16.7698V36.6606C16.7698 37.4006 16.1698 38.0006 15.4298 38.0006C14.6898 38.0006 14.0898 37.4006 14.0898 36.6606V24.8906H14.0798ZM16.7598 29.8206H19.0698C20.8098 29.8206 21.9498 29.1806 21.9498 27.3606C21.9498 25.7306 20.7798 25.0306 19.1298 25.0306H16.7498V29.8306L16.7598 29.8206Z" fill="currentcolor"/> </svg> `,
|
|
10891
|
+
"goa-xls": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.3407 14C38.1407 13.07 37.6807 12.22 37.0007 11.54L36.4607 11L27.4607 2L26.9207 1.46C26.2407 0.78 25.3807 0.32 24.4607 0.12C24.1107 0.04 23.7507 0 23.3907 0H5.46069C2.70069 0 0.460693 2.24 0.460693 5V43C0.460693 45.76 2.70069 48 5.46069 48H33.4607C36.2207 48 38.4607 45.76 38.4607 43V15.07C38.4607 14.71 38.4107 14.35 38.3407 14ZM34.6407 12H29.4707C27.8207 12 26.4707 10.65 26.4707 9V3.83L34.6407 12ZM36.4707 43C36.4707 44.65 35.1207 46 33.4707 46H5.46069C3.81069 46 2.46069 44.65 2.46069 43V5C2.46069 3.35 3.81069 2 5.46069 2H23.3907C23.7607 2 24.1207 2.07 24.4607 2.2V9C24.4607 11.76 26.7007 14 29.4607 14H36.2607C36.3907 14.34 36.4607 14.7 36.4607 15.07V43H36.4707Z" fill="currentcolor"/> <path d="M23.4107 38.0006C22.9407 38.0006 22.5107 37.7506 22.2707 37.3406L19.3907 32.2806H19.3707L16.4607 37.3906C16.2507 37.7706 15.8407 38.0006 15.4107 38.0006C14.4707 38.0006 13.8907 36.9706 14.3807 36.1606L17.9207 30.3906L14.5807 24.8606C14.0607 23.9906 14.6807 22.8906 15.6907 22.8906C16.1607 22.8906 16.5907 23.1406 16.8207 23.5406L19.5307 28.2806L19.5507 28.2606L22.3507 23.4806C22.5607 23.1206 22.9507 22.8906 23.3807 22.8906C24.3107 22.8906 24.8807 23.9106 24.3907 24.7006L21.0307 30.1206L24.5407 36.0206C25.0607 36.8906 24.4307 38.0006 23.4207 38.0006H23.4107Z" fill="currentcolor"/> </svg> `,
|
|
10892
|
+
"goa-zip": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.7043 14C38.5043 13.07 38.0443 12.22 37.3643 11.54L36.8243 11L27.8243 2L27.2843 1.46C26.6043 0.78 25.7443 0.32 24.8243 0.12C24.4743 0.04 24.1143 0 23.7543 0H5.82434C3.06434 0 0.824341 2.24 0.824341 5V43C0.824341 45.76 3.06434 48 5.82434 48H33.8243C36.5843 48 38.8243 45.76 38.8243 43V15.07C38.8243 14.71 38.7743 14.35 38.7043 14ZM35.0043 12H29.8343C28.1843 12 26.8343 10.65 26.8343 9V3.83L35.0043 12ZM36.8343 43C36.8343 44.65 35.4843 46 33.8343 46H5.82434C4.17434 46 2.82434 44.65 2.82434 43V5C2.82434 3.35 4.17434 2 5.82434 2H23.7543C24.1243 2 24.4843 2.07 24.8243 2.2V9C24.8243 11.76 27.0643 14 29.8243 14H36.6243C36.7543 14.34 36.8243 14.7 36.8243 15.07V43H36.8343Z" fill="currentcolor"/> <path d="M14.8243 20H12.8243V22H14.8243V20Z" fill="currentcolor"/> <path d="M12.8243 18H10.8243V20H12.8243V18Z" fill="currentcolor"/> <path d="M14.8243 16H12.8243V18H14.8243V16Z" fill="currentcolor"/> <path d="M12.8243 14H10.8243V16H12.8243V14Z" fill="currentcolor"/> <path d="M14.8243 12H12.8243V14H14.8243V12Z" fill="currentcolor"/> <path d="M12.8243 10H10.8243V12H12.8243V10Z" fill="currentcolor"/> <path d="M14.8243 8H12.8243V10H14.8243V8Z" fill="currentcolor"/> <path d="M12.8243 6H10.8243V8H12.8243V6Z" fill="currentcolor"/> <path d="M14.8243 4H12.8243V6H14.8243V4Z" fill="currentcolor"/> <path d="M12.8243 2H10.8243V4H12.8243V2Z" fill="currentcolor"/> <path d="M17.7244 32.14L15.4744 23.69C15.3644 23.29 15.0044 23 14.5844 23H11.0644C10.6444 23 10.2744 23.28 10.1744 23.69L7.92435 32.14C7.30435 35.17 9.62435 37.97 12.8244 38C16.0144 37.98 18.3444 35.18 17.7244 32.14ZM15.1944 34.89C14.6244 35.58 13.7644 35.98 12.8244 35.99C11.8844 35.98 11.0244 35.58 10.4544 34.89C9.92435 34.24 9.71435 33.42 9.87435 32.59L11.8944 25H13.7544L15.7744 32.59C15.9344 33.42 15.7244 34.24 15.1944 34.89Z" fill="currentcolor"/> <path d="M13.8243 32H11.8243C11.2721 32 10.8243 32.4477 10.8243 33C10.8243 33.5523 11.2721 34 11.8243 34H13.8243C14.3766 34 14.8243 33.5523 14.8243 33C14.8243 32.4477 14.3766 32 13.8243 32Z" fill="currentcolor"/> </svg> `,
|
|
10893
|
+
"goa-video": `<svg width="39" height="48" viewBox="0 0 39 48" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M37.977 14C37.777 13.07 37.317 12.22 36.637 11.54L36.097 11L27.097 2L26.557 1.46C25.877 0.78 25.017 0.32 24.097 0.12C23.747 0.04 23.387 0 23.027 0H5.09705C2.33705 0 0.0970459 2.24 0.0970459 5V43C0.0970459 45.76 2.33705 48 5.09705 48H33.097C35.857 48 38.097 45.76 38.097 43V15.07C38.097 14.71 38.047 14.35 37.977 14ZM34.277 12H29.107C27.457 12 26.107 10.65 26.107 9V3.83L34.277 12ZM36.107 43C36.107 44.65 34.757 46 33.107 46H5.09705C3.44705 46 2.09705 44.65 2.09705 43V5C2.09705 3.35 3.44705 2 5.09705 2H23.027C23.397 2 23.757 2.07 24.097 2.2V9C24.097 11.76 26.337 14 29.097 14H35.897C36.027 14.34 36.097 14.7 36.097 15.07V43H36.107Z" fill="currentcolor"/> <path d="M22.097 26.0002V29.0102C22.097 29.7802 22.927 30.2602 23.587 29.8802L25.077 29.0302L28.087 27.3202V34.6902L25.077 32.9802L23.587 32.1302C22.917 31.7502 22.097 32.2302 22.097 33.0002V35.9902H10.097V25.9902H22.097M22.097 23.9902H10.097C8.99705 23.9902 8.09705 24.8902 8.09705 25.9902V35.9902C8.09705 37.0902 8.99705 37.9902 10.097 37.9902H22.097C23.197 37.9902 24.097 37.0902 24.097 35.9902V34.7202L27.107 36.4302C27.427 36.6102 27.767 36.6902 28.087 36.6902C29.137 36.6902 30.087 35.8502 30.087 34.6902V27.3202C30.087 26.1502 29.127 25.3202 28.087 25.3202C27.757 25.3202 27.417 25.4002 27.107 25.5802L24.097 27.2902V25.9902C24.097 24.8902 23.197 23.9902 22.097 23.9902Z" fill="currentcolor"/> </svg> `,
|
|
10894
|
+
"goa-audio": `<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.0679 14.2305C37.8679 13.3005 37.4079 12.4505 36.7279 11.7705L36.1879 11.2305L27.1879 2.23047L26.6479 1.69047C25.9679 1.01047 25.1079 0.550469 24.1879 0.350469C23.8379 0.270469 23.4779 0.230469 23.1179 0.230469H5.18793C2.42793 0.230469 0.187927 2.47047 0.187927 5.23047V43.2305C0.187927 45.9905 2.42793 48.2305 5.18793 48.2305H33.1879C35.9479 48.2305 38.1879 45.9905 38.1879 43.2305V15.3005C38.1879 14.9405 38.1379 14.5805 38.0679 14.2305ZM34.3679 12.2305H29.1979C27.5479 12.2305 26.1979 10.8805 26.1979 9.23047V4.06047L34.3679 12.2305ZM36.1979 43.2305C36.1979 44.8805 34.8479 46.2305 33.1979 46.2305H5.19792C3.54792 46.2305 2.19792 44.8805 2.19792 43.2305V5.23047C2.19792 3.58047 3.54792 2.23047 5.19792 2.23047H23.1279C23.4979 2.23047 23.8579 2.30047 24.1979 2.43047V9.23047C24.1979 11.9905 26.4379 14.2305 29.1979 14.2305H35.9979C36.1279 14.5705 36.1979 14.9305 36.1979 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.1879 25.1189V37.3489L16.3479 34.6089L15.8279 34.2389H10.1879V28.2389H15.8279L16.3479 27.8689L20.1879 25.1289M20.1879 23.1289C19.7979 23.1289 19.3979 23.2489 19.0279 23.5089L15.1879 26.2489H10.1879C9.08793 26.2489 8.18793 27.1489 8.18793 28.2489V34.2489C8.18793 35.3489 9.08793 36.2489 10.1879 36.2489H15.1879L19.0279 38.9889C19.3879 39.2489 19.7879 39.3689 20.1879 39.3689C21.2279 39.3689 22.1979 38.5489 22.1979 37.3689V25.1389C22.1979 23.9589 21.2279 23.1389 20.1879 23.1389V23.1289Z" fill="currentcolor"/> <path d="M26.1381 23.707C26.6381 24.037 27.1081 24.417 27.5481 24.857C27.9881 25.297 28.3681 25.767 28.6981 26.267C29.0281 26.767 29.2981 27.287 29.5181 27.837C29.7381 28.387 29.8981 28.937 30.0081 29.507C30.1181 30.077 30.1681 30.647 30.1681 31.227C30.1681 31.807 30.1181 32.377 30.0081 32.947C29.8981 33.517 29.7381 34.077 29.5181 34.617C29.2981 35.157 29.0281 35.687 28.6981 36.187C28.3681 36.687 27.9881 37.157 27.5481 37.597C27.1081 38.037 26.6381 38.417 26.1381 38.747" stroke="currentcolor" stroke-width="2" stroke-miterlimit="10" stroke-linecap="round"/> </svg> `,
|
|
10895
|
+
"goa-image": `<svg width="39" height="49" viewBox="0 0 39 49" fill="none" xmlns="http://www.w3.org/2000/svg"> <path d="M38.1588 14.2305C37.9588 13.3005 37.4988 12.4505 36.8188 11.7705L36.2788 11.2305L27.2788 2.23047L26.7388 1.69047C26.0588 1.01047 25.1988 0.550469 24.2788 0.350469C23.9288 0.270469 23.5688 0.230469 23.2088 0.230469H5.27881C2.51881 0.230469 0.278809 2.47047 0.278809 5.23047V43.2305C0.278809 45.9905 2.51881 48.2305 5.27881 48.2305H33.2788C36.0388 48.2305 38.2788 45.9905 38.2788 43.2305V15.3005C38.2788 14.9405 38.2288 14.5805 38.1588 14.2305ZM34.4588 12.2305H29.2888C27.6388 12.2305 26.2888 10.8805 26.2888 9.23047V4.06047L34.4588 12.2305ZM36.2888 43.2305C36.2888 44.8805 34.9388 46.2305 33.2888 46.2305H5.2888C3.6388 46.2305 2.2888 44.8805 2.2888 43.2305V5.23047C2.2888 3.58047 3.6388 2.23047 5.2888 2.23047H23.2188C23.5888 2.23047 23.9488 2.30047 24.2888 2.43047V9.23047C24.2888 11.9905 26.5288 14.2305 29.2888 14.2305H36.0888C36.2188 14.5705 36.2888 14.9305 36.2888 15.3005V43.2305Z" fill="currentcolor"/> <path d="M20.9985 28.2305C21.3585 28.2305 21.6485 28.4405 21.7885 28.7305L27.1085 36.7305C27.3185 37.0205 27.3185 37.4405 27.1785 37.7305C27.0385 38.0905 26.6785 38.2305 26.3185 38.2305H12.2385C11.8785 38.2305 11.5885 38.0905 11.3785 37.7305C11.2385 37.4405 11.2385 37.0205 11.4485 36.7305L14.8285 31.7305C14.9685 31.4405 15.3285 31.2305 15.6185 31.2305C15.9785 31.2305 16.2685 31.4405 16.4785 31.7305L17.3385 32.9405L20.1385 28.7305C20.3585 28.4405 20.6385 28.2305 20.9985 28.2305ZM20.9985 26.2305C20.0485 26.2305 19.1685 26.6905 18.5385 27.5305L18.4985 27.5805L18.4685 27.6305L17.1185 29.6605C16.6585 29.3805 16.1485 29.2405 15.6085 29.2405C14.6085 29.2405 13.6185 29.8205 13.1085 30.6905L9.79851 35.5905C9.17851 36.4505 9.08851 37.6705 9.57851 38.6305L9.60851 38.7005L9.6485 38.7705C10.2085 39.7005 11.1485 40.2405 12.2285 40.2405H26.3085C27.5185 40.2405 28.5385 39.6005 28.9985 38.5605C29.4385 37.6105 29.3385 36.4405 28.7485 35.6005L23.5085 27.7105C22.9885 26.8005 22.0485 26.2405 21.0085 26.2405L20.9985 26.2305Z" fill="currentcolor"/> <path d="M12.7788 23.2305C13.6088 23.2305 14.2788 23.9005 14.2788 24.7305C14.2788 25.5605 13.6088 26.2305 12.7788 26.2305C11.9488 26.2305 11.2788 25.5605 11.2788 24.7305C11.2788 23.9005 11.9488 23.2305 12.7788 23.2305ZM12.7788 21.2305C10.8488 21.2305 9.27881 22.8005 9.27881 24.7305C9.27881 26.6605 10.8488 28.2305 12.7788 28.2305C14.7088 28.2305 16.2788 26.6605 16.2788 24.7305C16.2788 22.8005 14.7088 21.2305 12.7788 21.2305Z" fill="currentcolor"/> </svg> `
|
|
10915
10896
|
};
|
|
10916
10897
|
|
|
10917
10898
|
$$self.$$set = $$props => {
|
|
@@ -10920,57 +10901,49 @@ function instance$j($$self, $$props, $$invalidate) {
|
|
|
10920
10901
|
if ('mb' in $$props) $$invalidate(2, mb = $$props.mb);
|
|
10921
10902
|
if ('ml' in $$props) $$invalidate(3, ml = $$props.ml);
|
|
10922
10903
|
if ('type' in $$props) $$invalidate(4, type = $$props.type);
|
|
10923
|
-
if ('size' in $$props) $$invalidate(
|
|
10924
|
-
if ('theme' in $$props) $$invalidate(
|
|
10904
|
+
if ('size' in $$props) $$invalidate(5, size = $$props.size);
|
|
10905
|
+
if ('theme' in $$props) $$invalidate(6, theme = $$props.theme);
|
|
10925
10906
|
if ('inverted' in $$props) $$invalidate(14, inverted = $$props.inverted);
|
|
10926
|
-
if ('
|
|
10927
|
-
if ('
|
|
10928
|
-
if ('
|
|
10929
|
-
if ('
|
|
10907
|
+
if ('hovercolor' in $$props) $$invalidate(7, hovercolor = $$props.hovercolor);
|
|
10908
|
+
if ('fillcolor' in $$props) $$invalidate(8, fillcolor = $$props.fillcolor);
|
|
10909
|
+
if ('opacity' in $$props) $$invalidate(9, opacity = $$props.opacity);
|
|
10910
|
+
if ('title' in $$props) $$invalidate(10, title = $$props.title);
|
|
10911
|
+
if ('testid' in $$props) $$invalidate(11, testid = $$props.testid);
|
|
10930
10912
|
};
|
|
10931
10913
|
|
|
10932
10914
|
$$self.$$.update = () => {
|
|
10933
10915
|
if ($$self.$$.dirty &
|
|
10934
10916
|
/*inverted*/
|
|
10935
10917
|
16384) {
|
|
10936
|
-
$$invalidate(
|
|
10937
|
-
}
|
|
10938
|
-
|
|
10939
|
-
if ($$self.$$.dirty &
|
|
10940
|
-
/*size*/
|
|
10941
|
-
8192) {
|
|
10942
|
-
$$invalidate(10, _size = {
|
|
10943
|
-
small: "1.25rem",
|
|
10944
|
-
medium: "1.5rem",
|
|
10945
|
-
large: "2rem"
|
|
10946
|
-
}[size]);
|
|
10918
|
+
$$invalidate(12, isInverted = toBoolean(inverted));
|
|
10947
10919
|
}
|
|
10948
10920
|
};
|
|
10949
10921
|
|
|
10950
|
-
return [mt, mr, mb, ml, type, theme, fillcolor, opacity, title, testid,
|
|
10922
|
+
return [mt, mr, mb, ml, type, size, theme, hovercolor, fillcolor, opacity, title, testid, isInverted, _iconOverrides, inverted];
|
|
10951
10923
|
}
|
|
10952
10924
|
|
|
10953
10925
|
class Icon extends SvelteElement {
|
|
10954
10926
|
constructor(options) {
|
|
10955
10927
|
super();
|
|
10956
|
-
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{
|
|
10928
|
+
this.shadowRoot.innerHTML = `<style>:host{display:inline-flex;align-items:center}ion-icon{pointer-events:none;width:100%;height:100%}.goa-icon{fill:var(--fill-color);color:var(--fill-color);opacity:var(--opacity);display:inline-flex;align-items:center;justify-content:center}.goa-icon:hover ion-icon{fill:var(--hover-color);color:var(--hover-color)}.goa-icon--small{width:1.25rem;height:1.25rem}.goa-icon--medium{width:1.5rem;height:1.5rem}.goa-icon--large{width:2rem;height:2rem}.goa-icon--xlarge{width:2.5rem;height:2.5rem}.goa-icon:has(.icon-override){height:fit-content}.icon-override{display:flex;flex-direction:column;align-items:center}.icon-override>*{fill:var(--fill-color, var(--goa-color-interactive-default));color:var(--fill-color, var(--goa-color-interactive-default))}.inverted *{color:#fff;fill:#fff}</style>`;
|
|
10957
10929
|
init(this, {
|
|
10958
10930
|
target: this.shadowRoot,
|
|
10959
10931
|
props: attribute_to_object(this.attributes),
|
|
10960
10932
|
customElement: true
|
|
10961
|
-
}, instance$
|
|
10933
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
10962
10934
|
mt: 0,
|
|
10963
10935
|
mr: 1,
|
|
10964
10936
|
mb: 2,
|
|
10965
10937
|
ml: 3,
|
|
10966
10938
|
type: 4,
|
|
10967
|
-
size:
|
|
10968
|
-
theme:
|
|
10939
|
+
size: 5,
|
|
10940
|
+
theme: 6,
|
|
10969
10941
|
inverted: 14,
|
|
10970
|
-
|
|
10971
|
-
|
|
10972
|
-
|
|
10973
|
-
|
|
10942
|
+
hovercolor: 7,
|
|
10943
|
+
fillcolor: 8,
|
|
10944
|
+
opacity: 9,
|
|
10945
|
+
title: 10,
|
|
10946
|
+
testid: 11
|
|
10974
10947
|
}, null);
|
|
10975
10948
|
|
|
10976
10949
|
if (options) {
|
|
@@ -10986,7 +10959,7 @@ class Icon extends SvelteElement {
|
|
|
10986
10959
|
}
|
|
10987
10960
|
|
|
10988
10961
|
static get observedAttributes() {
|
|
10989
|
-
return ["mt", "mr", "mb", "ml", "type", "size", "theme", "inverted", "fillcolor", "opacity", "title", "testid"];
|
|
10962
|
+
return ["mt", "mr", "mb", "ml", "type", "size", "theme", "inverted", "hovercolor", "fillcolor", "opacity", "title", "testid"];
|
|
10990
10963
|
}
|
|
10991
10964
|
|
|
10992
10965
|
get mt() {
|
|
@@ -11045,7 +11018,7 @@ class Icon extends SvelteElement {
|
|
|
11045
11018
|
}
|
|
11046
11019
|
|
|
11047
11020
|
get size() {
|
|
11048
|
-
return this.$$.ctx[
|
|
11021
|
+
return this.$$.ctx[5];
|
|
11049
11022
|
}
|
|
11050
11023
|
|
|
11051
11024
|
set size(size) {
|
|
@@ -11056,7 +11029,7 @@ class Icon extends SvelteElement {
|
|
|
11056
11029
|
}
|
|
11057
11030
|
|
|
11058
11031
|
get theme() {
|
|
11059
|
-
return this.$$.ctx[
|
|
11032
|
+
return this.$$.ctx[6];
|
|
11060
11033
|
}
|
|
11061
11034
|
|
|
11062
11035
|
set theme(theme) {
|
|
@@ -11077,8 +11050,19 @@ class Icon extends SvelteElement {
|
|
|
11077
11050
|
flush();
|
|
11078
11051
|
}
|
|
11079
11052
|
|
|
11053
|
+
get hovercolor() {
|
|
11054
|
+
return this.$$.ctx[7];
|
|
11055
|
+
}
|
|
11056
|
+
|
|
11057
|
+
set hovercolor(hovercolor) {
|
|
11058
|
+
this.$$set({
|
|
11059
|
+
hovercolor
|
|
11060
|
+
});
|
|
11061
|
+
flush();
|
|
11062
|
+
}
|
|
11063
|
+
|
|
11080
11064
|
get fillcolor() {
|
|
11081
|
-
return this.$$.ctx[
|
|
11065
|
+
return this.$$.ctx[8];
|
|
11082
11066
|
}
|
|
11083
11067
|
|
|
11084
11068
|
set fillcolor(fillcolor) {
|
|
@@ -11089,7 +11073,7 @@ class Icon extends SvelteElement {
|
|
|
11089
11073
|
}
|
|
11090
11074
|
|
|
11091
11075
|
get opacity() {
|
|
11092
|
-
return this.$$.ctx[
|
|
11076
|
+
return this.$$.ctx[9];
|
|
11093
11077
|
}
|
|
11094
11078
|
|
|
11095
11079
|
set opacity(opacity) {
|
|
@@ -11100,7 +11084,7 @@ class Icon extends SvelteElement {
|
|
|
11100
11084
|
}
|
|
11101
11085
|
|
|
11102
11086
|
get title() {
|
|
11103
|
-
return this.$$.ctx[
|
|
11087
|
+
return this.$$.ctx[10];
|
|
11104
11088
|
}
|
|
11105
11089
|
|
|
11106
11090
|
set title(title) {
|
|
@@ -11111,7 +11095,7 @@ class Icon extends SvelteElement {
|
|
|
11111
11095
|
}
|
|
11112
11096
|
|
|
11113
11097
|
get testid() {
|
|
11114
|
-
return this.$$.ctx[
|
|
11098
|
+
return this.$$.ctx[11];
|
|
11115
11099
|
}
|
|
11116
11100
|
|
|
11117
11101
|
set testid(testid) {
|
|
@@ -11126,7 +11110,7 @@ class Icon extends SvelteElement {
|
|
|
11126
11110
|
customElements.define("goa-icon", Icon);
|
|
11127
11111
|
/* libs/web-components/src/components/input/Input.svelte generated by Svelte v3.51.0 */
|
|
11128
11112
|
|
|
11129
|
-
function create_if_block_4(ctx) {
|
|
11113
|
+
function create_if_block_4$2(ctx) {
|
|
11130
11114
|
let div;
|
|
11131
11115
|
let t;
|
|
11132
11116
|
return {
|
|
@@ -11159,7 +11143,7 @@ function create_if_block_4(ctx) {
|
|
|
11159
11143
|
} // (123:4) {#if leadingicon}
|
|
11160
11144
|
|
|
11161
11145
|
|
|
11162
|
-
function create_if_block_3$
|
|
11146
|
+
function create_if_block_3$6(ctx) {
|
|
11163
11147
|
let goa_icon;
|
|
11164
11148
|
return {
|
|
11165
11149
|
c() {
|
|
@@ -11193,7 +11177,7 @@ function create_if_block_3$4(ctx) {
|
|
|
11193
11177
|
} // (157:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
11194
11178
|
|
|
11195
11179
|
|
|
11196
|
-
function create_if_block_2$
|
|
11180
|
+
function create_if_block_2$6(ctx) {
|
|
11197
11181
|
let goa_icon;
|
|
11198
11182
|
return {
|
|
11199
11183
|
c() {
|
|
@@ -11228,7 +11212,7 @@ function create_if_block_2$4(ctx) {
|
|
|
11228
11212
|
} // (167:4) {#if trailingicon && handlesTrailingIconClick}
|
|
11229
11213
|
|
|
11230
11214
|
|
|
11231
|
-
function create_if_block_1$
|
|
11215
|
+
function create_if_block_1$6(ctx) {
|
|
11232
11216
|
let goa_icon_button;
|
|
11233
11217
|
let mounted;
|
|
11234
11218
|
let dispose;
|
|
@@ -11283,7 +11267,7 @@ function create_if_block_1$4(ctx) {
|
|
|
11283
11267
|
} // (179:4) {#if suffix}
|
|
11284
11268
|
|
|
11285
11269
|
|
|
11286
|
-
function create_if_block$
|
|
11270
|
+
function create_if_block$c(ctx) {
|
|
11287
11271
|
let span;
|
|
11288
11272
|
let t;
|
|
11289
11273
|
return {
|
|
@@ -11315,7 +11299,7 @@ function create_if_block$a(ctx) {
|
|
|
11315
11299
|
};
|
|
11316
11300
|
}
|
|
11317
11301
|
|
|
11318
|
-
function create_fragment$
|
|
11302
|
+
function create_fragment$m(ctx) {
|
|
11319
11303
|
let div3;
|
|
11320
11304
|
let div2;
|
|
11321
11305
|
let t0;
|
|
@@ -11337,23 +11321,23 @@ function create_fragment$k(ctx) {
|
|
|
11337
11321
|
let dispose;
|
|
11338
11322
|
let if_block0 =
|
|
11339
11323
|
/*prefix*/
|
|
11340
|
-
ctx[14] && create_if_block_4(ctx);
|
|
11324
|
+
ctx[14] && create_if_block_4$2(ctx);
|
|
11341
11325
|
let if_block1 =
|
|
11342
11326
|
/*leadingicon*/
|
|
11343
|
-
ctx[5] && create_if_block_3$
|
|
11327
|
+
ctx[5] && create_if_block_3$6(ctx);
|
|
11344
11328
|
let if_block2 =
|
|
11345
11329
|
/*trailingicon*/
|
|
11346
11330
|
ctx[6] && !
|
|
11347
11331
|
/*handlesTrailingIconClick*/
|
|
11348
|
-
ctx[27] && create_if_block_2$
|
|
11332
|
+
ctx[27] && create_if_block_2$6(ctx);
|
|
11349
11333
|
let if_block3 =
|
|
11350
11334
|
/*trailingicon*/
|
|
11351
11335
|
ctx[6] &&
|
|
11352
11336
|
/*handlesTrailingIconClick*/
|
|
11353
|
-
ctx[27] && create_if_block_1$
|
|
11337
|
+
ctx[27] && create_if_block_1$6(ctx);
|
|
11354
11338
|
let if_block4 =
|
|
11355
11339
|
/*suffix*/
|
|
11356
|
-
ctx[15] && create_if_block$
|
|
11340
|
+
ctx[15] && create_if_block$c(ctx);
|
|
11357
11341
|
return {
|
|
11358
11342
|
c() {
|
|
11359
11343
|
div3 = element("div");
|
|
@@ -11515,7 +11499,7 @@ function create_fragment$k(ctx) {
|
|
|
11515
11499
|
if (if_block0) {
|
|
11516
11500
|
if_block0.p(ctx, dirty);
|
|
11517
11501
|
} else {
|
|
11518
|
-
if_block0 = create_if_block_4(ctx);
|
|
11502
|
+
if_block0 = create_if_block_4$2(ctx);
|
|
11519
11503
|
if_block0.c();
|
|
11520
11504
|
if_block0.m(div2, t0);
|
|
11521
11505
|
}
|
|
@@ -11530,7 +11514,7 @@ function create_fragment$k(ctx) {
|
|
|
11530
11514
|
if (if_block1) {
|
|
11531
11515
|
if_block1.p(ctx, dirty);
|
|
11532
11516
|
} else {
|
|
11533
|
-
if_block1 = create_if_block_3$
|
|
11517
|
+
if_block1 = create_if_block_3$6(ctx);
|
|
11534
11518
|
if_block1.c();
|
|
11535
11519
|
if_block1.m(div2, t2);
|
|
11536
11520
|
}
|
|
@@ -11675,7 +11659,7 @@ function create_fragment$k(ctx) {
|
|
|
11675
11659
|
if (if_block2) {
|
|
11676
11660
|
if_block2.p(ctx, dirty);
|
|
11677
11661
|
} else {
|
|
11678
|
-
if_block2 = create_if_block_2$
|
|
11662
|
+
if_block2 = create_if_block_2$6(ctx);
|
|
11679
11663
|
if_block2.c();
|
|
11680
11664
|
if_block2.m(div2, t4);
|
|
11681
11665
|
}
|
|
@@ -11692,7 +11676,7 @@ function create_fragment$k(ctx) {
|
|
|
11692
11676
|
if (if_block3) {
|
|
11693
11677
|
if_block3.p(ctx, dirty);
|
|
11694
11678
|
} else {
|
|
11695
|
-
if_block3 = create_if_block_1$
|
|
11679
|
+
if_block3 = create_if_block_1$6(ctx);
|
|
11696
11680
|
if_block3.c();
|
|
11697
11681
|
if_block3.m(div2, t5);
|
|
11698
11682
|
}
|
|
@@ -11707,7 +11691,7 @@ function create_fragment$k(ctx) {
|
|
|
11707
11691
|
if (if_block4) {
|
|
11708
11692
|
if_block4.p(ctx, dirty);
|
|
11709
11693
|
} else {
|
|
11710
|
-
if_block4 = create_if_block$
|
|
11694
|
+
if_block4 = create_if_block$c(ctx);
|
|
11711
11695
|
if_block4.c();
|
|
11712
11696
|
if_block4.m(div2, t6);
|
|
11713
11697
|
}
|
|
@@ -11796,7 +11780,7 @@ function doClick() {
|
|
|
11796
11780
|
}));
|
|
11797
11781
|
}
|
|
11798
11782
|
|
|
11799
|
-
function instance$
|
|
11783
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
11800
11784
|
let handlesTrailingIconClick;
|
|
11801
11785
|
let isFocused;
|
|
11802
11786
|
let isReadonly;
|
|
@@ -12040,7 +12024,7 @@ class Input extends SvelteElement {
|
|
|
12040
12024
|
target: this.shadowRoot,
|
|
12041
12025
|
props: attribute_to_object(this.attributes),
|
|
12042
12026
|
customElement: true
|
|
12043
|
-
}, instance$
|
|
12027
|
+
}, instance$k, create_fragment$m, safe_not_equal, {
|
|
12044
12028
|
type: 1,
|
|
12045
12029
|
name: 2,
|
|
12046
12030
|
value: 0,
|
|
@@ -12376,7 +12360,7 @@ class Input extends SvelteElement {
|
|
|
12376
12360
|
customElements.define("goa-input", Input);
|
|
12377
12361
|
/* libs/web-components/src/components/microsite-header/MicrositeHeader.svelte generated by Svelte v3.51.0 */
|
|
12378
12362
|
|
|
12379
|
-
function create_if_block_3$
|
|
12363
|
+
function create_if_block_3$5(ctx) {
|
|
12380
12364
|
let div0;
|
|
12381
12365
|
let t0;
|
|
12382
12366
|
let div1;
|
|
@@ -12408,7 +12392,7 @@ function create_if_block_3$3(ctx) {
|
|
|
12408
12392
|
} // (41:2) {#if ["alpha", "beta"].includes(type)}
|
|
12409
12393
|
|
|
12410
12394
|
|
|
12411
|
-
function create_if_block_1$
|
|
12395
|
+
function create_if_block_1$5(ctx) {
|
|
12412
12396
|
let div0;
|
|
12413
12397
|
let t0_value = capitalize(
|
|
12414
12398
|
/*type*/
|
|
@@ -12422,7 +12406,7 @@ function create_if_block_1$3(ctx) {
|
|
|
12422
12406
|
let t4;
|
|
12423
12407
|
let if_block =
|
|
12424
12408
|
/*feedbackurl*/
|
|
12425
|
-
ctx[2] && create_if_block_2$
|
|
12409
|
+
ctx[2] && create_if_block_2$5(ctx);
|
|
12426
12410
|
return {
|
|
12427
12411
|
c() {
|
|
12428
12412
|
div0 = element("div");
|
|
@@ -12475,7 +12459,7 @@ function create_if_block_1$3(ctx) {
|
|
|
12475
12459
|
if (if_block) {
|
|
12476
12460
|
if_block.p(ctx, dirty);
|
|
12477
12461
|
} else {
|
|
12478
|
-
if_block = create_if_block_2$
|
|
12462
|
+
if_block = create_if_block_2$5(ctx);
|
|
12479
12463
|
if_block.c();
|
|
12480
12464
|
if_block.m(div1, null);
|
|
12481
12465
|
}
|
|
@@ -12496,7 +12480,7 @@ function create_if_block_1$3(ctx) {
|
|
|
12496
12480
|
} // (50:6) {#if feedbackurl}
|
|
12497
12481
|
|
|
12498
12482
|
|
|
12499
|
-
function create_if_block_2$
|
|
12483
|
+
function create_if_block_2$5(ctx) {
|
|
12500
12484
|
let span;
|
|
12501
12485
|
let t0;
|
|
12502
12486
|
let a;
|
|
@@ -12538,7 +12522,7 @@ function create_if_block_2$3(ctx) {
|
|
|
12538
12522
|
} // (56:2) {#if version}
|
|
12539
12523
|
|
|
12540
12524
|
|
|
12541
|
-
function create_if_block$
|
|
12525
|
+
function create_if_block$b(ctx) {
|
|
12542
12526
|
let div;
|
|
12543
12527
|
let t;
|
|
12544
12528
|
return {
|
|
@@ -12571,7 +12555,7 @@ function create_if_block$9(ctx) {
|
|
|
12571
12555
|
};
|
|
12572
12556
|
}
|
|
12573
12557
|
|
|
12574
|
-
function create_fragment$
|
|
12558
|
+
function create_fragment$l(ctx) {
|
|
12575
12559
|
let header;
|
|
12576
12560
|
let t0;
|
|
12577
12561
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -12582,11 +12566,11 @@ function create_fragment$j(ctx) {
|
|
|
12582
12566
|
let t2;
|
|
12583
12567
|
let if_block0 =
|
|
12584
12568
|
/*type*/
|
|
12585
|
-
ctx[0] === "live" && create_if_block_3$
|
|
12586
|
-
let if_block1 = show_if && create_if_block_1$
|
|
12569
|
+
ctx[0] === "live" && create_if_block_3$5();
|
|
12570
|
+
let if_block1 = show_if && create_if_block_1$5(ctx);
|
|
12587
12571
|
let if_block2 =
|
|
12588
12572
|
/*version*/
|
|
12589
|
-
ctx[1] && create_if_block$
|
|
12573
|
+
ctx[1] && create_if_block$b(ctx);
|
|
12590
12574
|
return {
|
|
12591
12575
|
c() {
|
|
12592
12576
|
header = element("header");
|
|
@@ -12618,7 +12602,7 @@ function create_fragment$j(ctx) {
|
|
|
12618
12602
|
/*type*/
|
|
12619
12603
|
ctx[0] === "live") {
|
|
12620
12604
|
if (if_block0) ;else {
|
|
12621
|
-
if_block0 = create_if_block_3$
|
|
12605
|
+
if_block0 = create_if_block_3$5();
|
|
12622
12606
|
if_block0.c();
|
|
12623
12607
|
if_block0.m(header, t0);
|
|
12624
12608
|
}
|
|
@@ -12637,7 +12621,7 @@ function create_fragment$j(ctx) {
|
|
|
12637
12621
|
if (if_block1) {
|
|
12638
12622
|
if_block1.p(ctx, dirty);
|
|
12639
12623
|
} else {
|
|
12640
|
-
if_block1 = create_if_block_1$
|
|
12624
|
+
if_block1 = create_if_block_1$5(ctx);
|
|
12641
12625
|
if_block1.c();
|
|
12642
12626
|
if_block1.m(header, t1);
|
|
12643
12627
|
}
|
|
@@ -12652,7 +12636,7 @@ function create_fragment$j(ctx) {
|
|
|
12652
12636
|
if (if_block2) {
|
|
12653
12637
|
if_block2.p(ctx, dirty);
|
|
12654
12638
|
} else {
|
|
12655
|
-
if_block2 = create_if_block$
|
|
12639
|
+
if_block2 = create_if_block$b(ctx);
|
|
12656
12640
|
if_block2.c();
|
|
12657
12641
|
if_block2.m(header, null);
|
|
12658
12642
|
}
|
|
@@ -12680,7 +12664,7 @@ function capitalize(val) {
|
|
|
12680
12664
|
return val[0].toUpperCase() + val.slice(1);
|
|
12681
12665
|
}
|
|
12682
12666
|
|
|
12683
|
-
function instance$
|
|
12667
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
12684
12668
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
12685
12669
|
let {
|
|
12686
12670
|
type
|
|
@@ -12712,7 +12696,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12712
12696
|
target: this.shadowRoot,
|
|
12713
12697
|
props: attribute_to_object(this.attributes),
|
|
12714
12698
|
customElement: true
|
|
12715
|
-
}, instance$
|
|
12699
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
12716
12700
|
type: 0,
|
|
12717
12701
|
version: 1,
|
|
12718
12702
|
feedbackurl: 2
|
|
@@ -12772,7 +12756,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
12772
12756
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
12773
12757
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
12774
12758
|
|
|
12775
|
-
function create_if_block$
|
|
12759
|
+
function create_if_block$a(ctx) {
|
|
12776
12760
|
let goa_focus_trap;
|
|
12777
12761
|
let div6;
|
|
12778
12762
|
let div0;
|
|
@@ -12799,20 +12783,20 @@ function create_if_block$8(ctx) {
|
|
|
12799
12783
|
let dispose;
|
|
12800
12784
|
let if_block0 =
|
|
12801
12785
|
/*calloutvariant*/
|
|
12802
|
-
ctx[3] !== null && create_if_block_3$
|
|
12786
|
+
ctx[3] !== null && create_if_block_3$4(ctx);
|
|
12803
12787
|
|
|
12804
12788
|
function select_block_type(ctx, dirty) {
|
|
12805
12789
|
if (
|
|
12806
12790
|
/*heading*/
|
|
12807
|
-
ctx[0]) return create_if_block_2$
|
|
12808
|
-
return create_else_block$
|
|
12791
|
+
ctx[0]) return create_if_block_2$4;
|
|
12792
|
+
return create_else_block$4;
|
|
12809
12793
|
}
|
|
12810
12794
|
|
|
12811
12795
|
let current_block_type = select_block_type(ctx);
|
|
12812
12796
|
let if_block1 = current_block_type(ctx);
|
|
12813
12797
|
let if_block2 =
|
|
12814
12798
|
/*_isClosable*/
|
|
12815
|
-
ctx[9] && create_if_block_1$
|
|
12799
|
+
ctx[9] && create_if_block_1$4(ctx);
|
|
12816
12800
|
return {
|
|
12817
12801
|
c() {
|
|
12818
12802
|
goa_focus_trap = element("goa-focus-trap");
|
|
@@ -12916,7 +12900,7 @@ function create_if_block$8(ctx) {
|
|
|
12916
12900
|
if (if_block0) {
|
|
12917
12901
|
if_block0.p(ctx, dirty);
|
|
12918
12902
|
} else {
|
|
12919
|
-
if_block0 = create_if_block_3$
|
|
12903
|
+
if_block0 = create_if_block_3$4(ctx);
|
|
12920
12904
|
if_block0.c();
|
|
12921
12905
|
if_block0.m(div5, t1);
|
|
12922
12906
|
}
|
|
@@ -12943,7 +12927,7 @@ function create_if_block$8(ctx) {
|
|
|
12943
12927
|
if (if_block2) {
|
|
12944
12928
|
if_block2.p(ctx, dirty);
|
|
12945
12929
|
} else {
|
|
12946
|
-
if_block2 = create_if_block_1$
|
|
12930
|
+
if_block2 = create_if_block_1$4(ctx);
|
|
12947
12931
|
if_block2.c();
|
|
12948
12932
|
if_block2.m(header, null);
|
|
12949
12933
|
}
|
|
@@ -13053,7 +13037,7 @@ function create_if_block$8(ctx) {
|
|
|
13053
13037
|
} // (132:8) {#if calloutvariant !== null}
|
|
13054
13038
|
|
|
13055
13039
|
|
|
13056
|
-
function create_if_block_3$
|
|
13040
|
+
function create_if_block_3$4(ctx) {
|
|
13057
13041
|
let div;
|
|
13058
13042
|
let goa_icon;
|
|
13059
13043
|
let goa_icon_inverted_value;
|
|
@@ -13112,7 +13096,7 @@ function create_if_block_3$2(ctx) {
|
|
|
13112
13096
|
} // (145:14) {:else}
|
|
13113
13097
|
|
|
13114
13098
|
|
|
13115
|
-
function create_else_block$
|
|
13099
|
+
function create_else_block$4(ctx) {
|
|
13116
13100
|
let slot;
|
|
13117
13101
|
return {
|
|
13118
13102
|
c() {
|
|
@@ -13134,7 +13118,7 @@ function create_else_block$3(ctx) {
|
|
|
13134
13118
|
} // (143:14) {#if heading}
|
|
13135
13119
|
|
|
13136
13120
|
|
|
13137
|
-
function create_if_block_2$
|
|
13121
|
+
function create_if_block_2$4(ctx) {
|
|
13138
13122
|
let t;
|
|
13139
13123
|
return {
|
|
13140
13124
|
c() {
|
|
@@ -13163,7 +13147,7 @@ function create_if_block_2$2(ctx) {
|
|
|
13163
13147
|
} // (149:12) {#if _isClosable}
|
|
13164
13148
|
|
|
13165
13149
|
|
|
13166
|
-
function create_if_block_1$
|
|
13150
|
+
function create_if_block_1$4(ctx) {
|
|
13167
13151
|
let div;
|
|
13168
13152
|
let goa_icon_button;
|
|
13169
13153
|
let mounted;
|
|
@@ -13201,12 +13185,12 @@ function create_if_block_1$2(ctx) {
|
|
|
13201
13185
|
};
|
|
13202
13186
|
}
|
|
13203
13187
|
|
|
13204
|
-
function create_fragment$
|
|
13188
|
+
function create_fragment$k(ctx) {
|
|
13205
13189
|
let if_block_anchor;
|
|
13206
13190
|
let current;
|
|
13207
13191
|
let if_block =
|
|
13208
13192
|
/*_isOpen*/
|
|
13209
|
-
ctx[7] && create_if_block$
|
|
13193
|
+
ctx[7] && create_if_block$a(ctx);
|
|
13210
13194
|
return {
|
|
13211
13195
|
c() {
|
|
13212
13196
|
if (if_block) if_block.c();
|
|
@@ -13233,7 +13217,7 @@ function create_fragment$i(ctx) {
|
|
|
13233
13217
|
transition_in(if_block, 1);
|
|
13234
13218
|
}
|
|
13235
13219
|
} else {
|
|
13236
|
-
if_block = create_if_block$
|
|
13220
|
+
if_block = create_if_block$a(ctx);
|
|
13237
13221
|
if_block.c();
|
|
13238
13222
|
transition_in(if_block, 1);
|
|
13239
13223
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13266,7 +13250,7 @@ function create_fragment$i(ctx) {
|
|
|
13266
13250
|
};
|
|
13267
13251
|
}
|
|
13268
13252
|
|
|
13269
|
-
function instance$
|
|
13253
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
13270
13254
|
let _isClosable;
|
|
13271
13255
|
|
|
13272
13256
|
let _isOpen;
|
|
@@ -13466,7 +13450,7 @@ class Modal extends SvelteElement {
|
|
|
13466
13450
|
target: this.shadowRoot,
|
|
13467
13451
|
props: attribute_to_object(this.attributes),
|
|
13468
13452
|
customElement: true
|
|
13469
|
-
}, instance$
|
|
13453
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
13470
13454
|
heading: 0,
|
|
13471
13455
|
closable: 14,
|
|
13472
13456
|
open: 1,
|
|
@@ -13562,7 +13546,7 @@ class Modal extends SvelteElement {
|
|
|
13562
13546
|
customElements.define("goa-modal", Modal);
|
|
13563
13547
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
13564
13548
|
|
|
13565
|
-
function create_if_block$
|
|
13549
|
+
function create_if_block$9(ctx) {
|
|
13566
13550
|
let div3;
|
|
13567
13551
|
let div0;
|
|
13568
13552
|
let goa_icon;
|
|
@@ -13686,12 +13670,12 @@ function create_if_block$7(ctx) {
|
|
|
13686
13670
|
};
|
|
13687
13671
|
}
|
|
13688
13672
|
|
|
13689
|
-
function create_fragment$
|
|
13673
|
+
function create_fragment$j(ctx) {
|
|
13690
13674
|
let if_block_anchor;
|
|
13691
13675
|
let current;
|
|
13692
13676
|
let if_block =
|
|
13693
13677
|
/*show*/
|
|
13694
|
-
ctx[1] && create_if_block$
|
|
13678
|
+
ctx[1] && create_if_block$9(ctx);
|
|
13695
13679
|
return {
|
|
13696
13680
|
c() {
|
|
13697
13681
|
if (if_block) if_block.c();
|
|
@@ -13718,7 +13702,7 @@ function create_fragment$h(ctx) {
|
|
|
13718
13702
|
transition_in(if_block, 1);
|
|
13719
13703
|
}
|
|
13720
13704
|
} else {
|
|
13721
|
-
if_block = create_if_block$
|
|
13705
|
+
if_block = create_if_block$9(ctx);
|
|
13722
13706
|
if_block.c();
|
|
13723
13707
|
transition_in(if_block, 1);
|
|
13724
13708
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -13751,7 +13735,7 @@ function create_fragment$h(ctx) {
|
|
|
13751
13735
|
};
|
|
13752
13736
|
}
|
|
13753
13737
|
|
|
13754
|
-
function instance$
|
|
13738
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
13755
13739
|
let iconType;
|
|
13756
13740
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
13757
13741
|
let {
|
|
@@ -13793,7 +13777,7 @@ class Notification extends SvelteElement {
|
|
|
13793
13777
|
target: this.shadowRoot,
|
|
13794
13778
|
props: attribute_to_object(this.attributes),
|
|
13795
13779
|
customElement: true
|
|
13796
|
-
}, instance$
|
|
13780
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
13797
13781
|
type: 0
|
|
13798
13782
|
}, null);
|
|
13799
13783
|
|
|
@@ -13835,7 +13819,7 @@ function isValidDimension(value) {
|
|
|
13835
13819
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
13836
13820
|
|
|
13837
13821
|
|
|
13838
|
-
function create_fragment$
|
|
13822
|
+
function create_fragment$i(ctx) {
|
|
13839
13823
|
let div;
|
|
13840
13824
|
let slot;
|
|
13841
13825
|
let div_style_value;
|
|
@@ -13875,7 +13859,7 @@ function create_fragment$g(ctx) {
|
|
|
13875
13859
|
};
|
|
13876
13860
|
}
|
|
13877
13861
|
|
|
13878
|
-
function instance$
|
|
13862
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
13879
13863
|
const Sizes = {
|
|
13880
13864
|
"full": "100%"
|
|
13881
13865
|
};
|
|
@@ -13916,7 +13900,7 @@ class PageBlock extends SvelteElement {
|
|
|
13916
13900
|
target: this.shadowRoot,
|
|
13917
13901
|
props: attribute_to_object(this.attributes),
|
|
13918
13902
|
customElement: true
|
|
13919
|
-
}, instance$
|
|
13903
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
13920
13904
|
width: 1,
|
|
13921
13905
|
_width: 0
|
|
13922
13906
|
}, null);
|
|
@@ -13964,7 +13948,7 @@ class PageBlock extends SvelteElement {
|
|
|
13964
13948
|
customElements.define("goa-page-block", PageBlock);
|
|
13965
13949
|
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
13966
13950
|
|
|
13967
|
-
function get_each_context$
|
|
13951
|
+
function get_each_context$3(ctx, list, i) {
|
|
13968
13952
|
const child_ctx = ctx.slice();
|
|
13969
13953
|
child_ctx[18] = list[i];
|
|
13970
13954
|
child_ctx[20] = i;
|
|
@@ -13972,7 +13956,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
13972
13956
|
} // (66:4) {#if variant === "all"}
|
|
13973
13957
|
|
|
13974
13958
|
|
|
13975
|
-
function create_if_block$
|
|
13959
|
+
function create_if_block$8(ctx) {
|
|
13976
13960
|
let goa_block;
|
|
13977
13961
|
let span0;
|
|
13978
13962
|
let t1;
|
|
@@ -13991,7 +13975,7 @@ function create_if_block$6(ctx) {
|
|
|
13991
13975
|
let each_blocks = [];
|
|
13992
13976
|
|
|
13993
13977
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
13994
|
-
each_blocks[i] = create_each_block$
|
|
13978
|
+
each_blocks[i] = create_each_block$3(get_each_context$3(ctx, each_value, i));
|
|
13995
13979
|
}
|
|
13996
13980
|
|
|
13997
13981
|
return {
|
|
@@ -14060,12 +14044,12 @@ function create_if_block$6(ctx) {
|
|
|
14060
14044
|
let i;
|
|
14061
14045
|
|
|
14062
14046
|
for (i = 0; i < each_value.length; i += 1) {
|
|
14063
|
-
const child_ctx = get_each_context$
|
|
14047
|
+
const child_ctx = get_each_context$3(ctx, each_value, i);
|
|
14064
14048
|
|
|
14065
14049
|
if (each_blocks[i]) {
|
|
14066
14050
|
each_blocks[i].p(child_ctx, dirty);
|
|
14067
14051
|
} else {
|
|
14068
|
-
each_blocks[i] = create_each_block$
|
|
14052
|
+
each_blocks[i] = create_each_block$3(child_ctx);
|
|
14069
14053
|
each_blocks[i].c();
|
|
14070
14054
|
each_blocks[i].m(goa_dropdown, null);
|
|
14071
14055
|
}
|
|
@@ -14108,7 +14092,7 @@ function create_if_block$6(ctx) {
|
|
|
14108
14092
|
} // (71:10) {#each {length: _pageCount} as _, i}
|
|
14109
14093
|
|
|
14110
14094
|
|
|
14111
|
-
function create_each_block$
|
|
14095
|
+
function create_each_block$3(ctx) {
|
|
14112
14096
|
let goa_dropdown_item;
|
|
14113
14097
|
return {
|
|
14114
14098
|
c() {
|
|
@@ -14134,7 +14118,7 @@ function create_each_block$2(ctx) {
|
|
|
14134
14118
|
};
|
|
14135
14119
|
}
|
|
14136
14120
|
|
|
14137
|
-
function create_fragment$
|
|
14121
|
+
function create_fragment$h(ctx) {
|
|
14138
14122
|
let goa_block1;
|
|
14139
14123
|
let div;
|
|
14140
14124
|
let t0;
|
|
@@ -14150,7 +14134,7 @@ function create_fragment$f(ctx) {
|
|
|
14150
14134
|
let dispose;
|
|
14151
14135
|
let if_block =
|
|
14152
14136
|
/*variant*/
|
|
14153
|
-
ctx[1] === "all" && create_if_block$
|
|
14137
|
+
ctx[1] === "all" && create_if_block$8(ctx);
|
|
14154
14138
|
return {
|
|
14155
14139
|
c() {
|
|
14156
14140
|
goa_block1 = element("goa-block");
|
|
@@ -14224,7 +14208,7 @@ function create_fragment$f(ctx) {
|
|
|
14224
14208
|
if (if_block) {
|
|
14225
14209
|
if_block.p(ctx, dirty);
|
|
14226
14210
|
} else {
|
|
14227
|
-
if_block = create_if_block$
|
|
14211
|
+
if_block = create_if_block$8(ctx);
|
|
14228
14212
|
if_block.c();
|
|
14229
14213
|
if_block.m(div, t0);
|
|
14230
14214
|
}
|
|
@@ -14297,7 +14281,7 @@ function create_fragment$f(ctx) {
|
|
|
14297
14281
|
};
|
|
14298
14282
|
}
|
|
14299
14283
|
|
|
14300
|
-
function instance$
|
|
14284
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
14301
14285
|
let _pageCount;
|
|
14302
14286
|
|
|
14303
14287
|
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
@@ -14416,7 +14400,7 @@ class Pagination extends SvelteElement {
|
|
|
14416
14400
|
target: this.shadowRoot,
|
|
14417
14401
|
props: attribute_to_object(this.attributes),
|
|
14418
14402
|
customElement: true
|
|
14419
|
-
}, instance$
|
|
14403
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
14420
14404
|
pagenumber: 0,
|
|
14421
14405
|
itemcount: 10,
|
|
14422
14406
|
perpagecount: 11,
|
|
@@ -14536,7 +14520,7 @@ class Pagination extends SvelteElement {
|
|
|
14536
14520
|
customElements.define("goa-pagination", Pagination);
|
|
14537
14521
|
/* libs/web-components/src/components/popover/Popover.svelte generated by Svelte v3.51.0 */
|
|
14538
14522
|
|
|
14539
|
-
function create_if_block$
|
|
14523
|
+
function create_if_block$7(ctx) {
|
|
14540
14524
|
let goa_focus_trap;
|
|
14541
14525
|
let div0;
|
|
14542
14526
|
let t;
|
|
@@ -14620,7 +14604,7 @@ function create_if_block$5(ctx) {
|
|
|
14620
14604
|
};
|
|
14621
14605
|
}
|
|
14622
14606
|
|
|
14623
|
-
function create_fragment$
|
|
14607
|
+
function create_fragment$g(ctx) {
|
|
14624
14608
|
let div1;
|
|
14625
14609
|
let div0;
|
|
14626
14610
|
let t;
|
|
@@ -14628,7 +14612,7 @@ function create_fragment$e(ctx) {
|
|
|
14628
14612
|
let dispose;
|
|
14629
14613
|
let if_block =
|
|
14630
14614
|
/*_isContentVisible*/
|
|
14631
|
-
ctx[2] && create_if_block$
|
|
14615
|
+
ctx[2] && create_if_block$7(ctx);
|
|
14632
14616
|
return {
|
|
14633
14617
|
c() {
|
|
14634
14618
|
div1 = element("div");
|
|
@@ -14669,7 +14653,7 @@ function create_fragment$e(ctx) {
|
|
|
14669
14653
|
if (if_block) {
|
|
14670
14654
|
if_block.p(ctx, dirty);
|
|
14671
14655
|
} else {
|
|
14672
|
-
if_block = create_if_block$
|
|
14656
|
+
if_block = create_if_block$7(ctx);
|
|
14673
14657
|
if_block.c();
|
|
14674
14658
|
if_block.m(div1, null);
|
|
14675
14659
|
}
|
|
@@ -14703,7 +14687,7 @@ function create_fragment$e(ctx) {
|
|
|
14703
14687
|
};
|
|
14704
14688
|
}
|
|
14705
14689
|
|
|
14706
|
-
function instance$
|
|
14690
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
14707
14691
|
let paddedContent;
|
|
14708
14692
|
let {
|
|
14709
14693
|
testid = ""
|
|
@@ -14796,7 +14780,7 @@ class Popover extends SvelteElement {
|
|
|
14796
14780
|
target: this.shadowRoot,
|
|
14797
14781
|
props: attribute_to_object(this.attributes),
|
|
14798
14782
|
customElement: true
|
|
14799
|
-
}, instance$
|
|
14783
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
14800
14784
|
testid: 0,
|
|
14801
14785
|
maxwidth: 1,
|
|
14802
14786
|
padded: 7
|
|
@@ -14856,14 +14840,14 @@ class Popover extends SvelteElement {
|
|
|
14856
14840
|
customElements.define("goa-popover", Popover);
|
|
14857
14841
|
/* libs/web-components/src/components/radio-group/RadioGroup.svelte generated by Svelte v3.51.0 */
|
|
14858
14842
|
|
|
14859
|
-
function get_each_context$
|
|
14843
|
+
function get_each_context$2(ctx, list, i) {
|
|
14860
14844
|
const child_ctx = ctx.slice();
|
|
14861
14845
|
child_ctx[22] = list[i];
|
|
14862
14846
|
return child_ctx;
|
|
14863
14847
|
} // (80:2) {#each options as option (option.value)}
|
|
14864
14848
|
|
|
14865
14849
|
|
|
14866
|
-
function create_each_block$
|
|
14850
|
+
function create_each_block$2(key_1, ctx) {
|
|
14867
14851
|
let label;
|
|
14868
14852
|
let input;
|
|
14869
14853
|
let input_value_value;
|
|
@@ -15046,7 +15030,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
15046
15030
|
};
|
|
15047
15031
|
}
|
|
15048
15032
|
|
|
15049
|
-
function create_fragment$
|
|
15033
|
+
function create_fragment$f(ctx) {
|
|
15050
15034
|
let div;
|
|
15051
15035
|
let slot;
|
|
15052
15036
|
let t;
|
|
@@ -15063,9 +15047,9 @@ function create_fragment$d(ctx) {
|
|
|
15063
15047
|
ctx[22].value;
|
|
15064
15048
|
|
|
15065
15049
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
15066
|
-
let child_ctx = get_each_context$
|
|
15050
|
+
let child_ctx = get_each_context$2(ctx, each_value, i);
|
|
15067
15051
|
let key = get_key(child_ctx);
|
|
15068
|
-
each_1_lookup.set(key, each_blocks[i] = create_each_block$
|
|
15052
|
+
each_1_lookup.set(key, each_blocks[i] = create_each_block$2(key, child_ctx));
|
|
15069
15053
|
}
|
|
15070
15054
|
|
|
15071
15055
|
return {
|
|
@@ -15117,7 +15101,7 @@ function create_fragment$d(ctx) {
|
|
|
15117
15101
|
each_value =
|
|
15118
15102
|
/*options*/
|
|
15119
15103
|
ctx[9];
|
|
15120
|
-
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, create_each_block$
|
|
15104
|
+
each_blocks = update_keyed_each(each_blocks, dirty, get_key, 1, ctx, each_value, each_1_lookup, div, destroy_block, create_each_block$2, null, get_each_context$2);
|
|
15121
15105
|
}
|
|
15122
15106
|
|
|
15123
15107
|
if (dirty &
|
|
@@ -15169,7 +15153,7 @@ function create_fragment$d(ctx) {
|
|
|
15169
15153
|
};
|
|
15170
15154
|
}
|
|
15171
15155
|
|
|
15172
|
-
function instance$
|
|
15156
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
15173
15157
|
let isDisabled;
|
|
15174
15158
|
let isError;
|
|
15175
15159
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -15312,7 +15296,7 @@ class RadioGroup extends SvelteElement {
|
|
|
15312
15296
|
target: this.shadowRoot,
|
|
15313
15297
|
props: attribute_to_object(this.attributes),
|
|
15314
15298
|
customElement: true
|
|
15315
|
-
}, instance$
|
|
15299
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
15316
15300
|
name: 1,
|
|
15317
15301
|
value: 0,
|
|
15318
15302
|
orientation: 2,
|
|
@@ -15468,7 +15452,7 @@ class RadioGroup extends SvelteElement {
|
|
|
15468
15452
|
customElements.define("goa-radio-group", RadioGroup);
|
|
15469
15453
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
15470
15454
|
|
|
15471
|
-
function create_fragment$
|
|
15455
|
+
function create_fragment$e(ctx) {
|
|
15472
15456
|
let div;
|
|
15473
15457
|
let slot;
|
|
15474
15458
|
let div_style_value;
|
|
@@ -15553,7 +15537,7 @@ function create_fragment$c(ctx) {
|
|
|
15553
15537
|
};
|
|
15554
15538
|
}
|
|
15555
15539
|
|
|
15556
|
-
function instance$
|
|
15540
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
15557
15541
|
let {
|
|
15558
15542
|
direction = "vertical"
|
|
15559
15543
|
} = $$props;
|
|
@@ -15619,7 +15603,7 @@ class Scrollable extends SvelteElement {
|
|
|
15619
15603
|
target: this.shadowRoot,
|
|
15620
15604
|
props: attribute_to_object(this.attributes),
|
|
15621
15605
|
customElement: true
|
|
15622
|
-
}, instance$
|
|
15606
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
15623
15607
|
direction: 0,
|
|
15624
15608
|
hpadding: 1,
|
|
15625
15609
|
vpadding: 2,
|
|
@@ -15715,14 +15699,14 @@ class Scrollable extends SvelteElement {
|
|
|
15715
15699
|
customElements.define("goa-scrollable", Scrollable);
|
|
15716
15700
|
/* libs/web-components/src/components/skeleton/Skeleton.svelte generated by Svelte v3.51.0 */
|
|
15717
15701
|
|
|
15718
|
-
function get_each_context(ctx, list, i) {
|
|
15702
|
+
function get_each_context$1(ctx, list, i) {
|
|
15719
15703
|
const child_ctx = ctx.slice();
|
|
15720
15704
|
child_ctx[13] = list[i];
|
|
15721
15705
|
return child_ctx;
|
|
15722
15706
|
} // (81:2) {:else}
|
|
15723
15707
|
|
|
15724
15708
|
|
|
15725
|
-
function create_else_block$
|
|
15709
|
+
function create_else_block$3(ctx) {
|
|
15726
15710
|
let div;
|
|
15727
15711
|
let div_class_value;
|
|
15728
15712
|
return {
|
|
@@ -15766,7 +15750,7 @@ function create_else_block$2(ctx) {
|
|
|
15766
15750
|
} // (68:31)
|
|
15767
15751
|
|
|
15768
15752
|
|
|
15769
|
-
function create_if_block_3$
|
|
15753
|
+
function create_if_block_3$3(ctx) {
|
|
15770
15754
|
let div3;
|
|
15771
15755
|
let div2;
|
|
15772
15756
|
let div0;
|
|
@@ -15887,7 +15871,7 @@ function create_if_block_3$1(ctx) {
|
|
|
15887
15871
|
} // (64:29)
|
|
15888
15872
|
|
|
15889
15873
|
|
|
15890
|
-
function create_if_block_2$
|
|
15874
|
+
function create_if_block_2$3(ctx) {
|
|
15891
15875
|
let each_1_anchor;
|
|
15892
15876
|
let current;
|
|
15893
15877
|
let each_value = Array(Number.parseInt(
|
|
@@ -15896,7 +15880,7 @@ function create_if_block_2$1(ctx) {
|
|
|
15896
15880
|
let each_blocks = [];
|
|
15897
15881
|
|
|
15898
15882
|
for (let i = 0; i < each_value.length; i += 1) {
|
|
15899
|
-
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
15883
|
+
each_blocks[i] = create_each_block$1(get_each_context$1(ctx, each_value, i));
|
|
15900
15884
|
}
|
|
15901
15885
|
|
|
15902
15886
|
const out = i => transition_out(each_blocks[i], 1, 1, () => {
|
|
@@ -15931,13 +15915,13 @@ function create_if_block_2$1(ctx) {
|
|
|
15931
15915
|
let i;
|
|
15932
15916
|
|
|
15933
15917
|
for (i = 0; i < each_value.length; i += 1) {
|
|
15934
|
-
const child_ctx = get_each_context(ctx, each_value, i);
|
|
15918
|
+
const child_ctx = get_each_context$1(ctx, each_value, i);
|
|
15935
15919
|
|
|
15936
15920
|
if (each_blocks[i]) {
|
|
15937
15921
|
each_blocks[i].p(child_ctx, dirty);
|
|
15938
15922
|
transition_in(each_blocks[i], 1);
|
|
15939
15923
|
} else {
|
|
15940
|
-
each_blocks[i] = create_each_block(child_ctx);
|
|
15924
|
+
each_blocks[i] = create_each_block$1(child_ctx);
|
|
15941
15925
|
each_blocks[i].c();
|
|
15942
15926
|
transition_in(each_blocks[i], 1);
|
|
15943
15927
|
each_blocks[i].m(each_1_anchor.parentNode, each_1_anchor);
|
|
@@ -15983,7 +15967,7 @@ function create_if_block_2$1(ctx) {
|
|
|
15983
15967
|
} // (54:31)
|
|
15984
15968
|
|
|
15985
15969
|
|
|
15986
|
-
function create_if_block_1$
|
|
15970
|
+
function create_if_block_1$3(ctx) {
|
|
15987
15971
|
let div2;
|
|
15988
15972
|
let div0;
|
|
15989
15973
|
let skeleton0;
|
|
@@ -16105,7 +16089,7 @@ function create_if_block_1$1(ctx) {
|
|
|
16105
16089
|
} // (43:2) {#if type === "card"}
|
|
16106
16090
|
|
|
16107
16091
|
|
|
16108
|
-
function create_if_block$
|
|
16092
|
+
function create_if_block$6(ctx) {
|
|
16109
16093
|
let div1;
|
|
16110
16094
|
let skeleton0;
|
|
16111
16095
|
let t0;
|
|
@@ -16242,7 +16226,7 @@ function create_if_block$4(ctx) {
|
|
|
16242
16226
|
} // (65:4) {#each Array(Number.parseInt(linecount+"")) as _item}
|
|
16243
16227
|
|
|
16244
16228
|
|
|
16245
|
-
function create_each_block(ctx) {
|
|
16229
|
+
function create_each_block$1(ctx) {
|
|
16246
16230
|
let skeleton;
|
|
16247
16231
|
let current;
|
|
16248
16232
|
skeleton = new Skeleton({
|
|
@@ -16299,13 +16283,13 @@ function create_each_block(ctx) {
|
|
|
16299
16283
|
};
|
|
16300
16284
|
}
|
|
16301
16285
|
|
|
16302
|
-
function create_fragment$
|
|
16286
|
+
function create_fragment$d(ctx) {
|
|
16303
16287
|
let div;
|
|
16304
16288
|
let current_block_type_index;
|
|
16305
16289
|
let if_block;
|
|
16306
16290
|
let div_style_value;
|
|
16307
16291
|
let current;
|
|
16308
|
-
const if_block_creators = [create_if_block$
|
|
16292
|
+
const if_block_creators = [create_if_block$6, create_if_block_1$3, create_if_block_2$3, create_if_block_3$3, create_else_block$3];
|
|
16309
16293
|
const if_blocks = [];
|
|
16310
16294
|
|
|
16311
16295
|
function select_block_type(ctx, dirty) {
|
|
@@ -16418,7 +16402,7 @@ function create_fragment$b(ctx) {
|
|
|
16418
16402
|
};
|
|
16419
16403
|
}
|
|
16420
16404
|
|
|
16421
|
-
function instance$
|
|
16405
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
16422
16406
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "lines", "profile", "article"], true);
|
|
16423
16407
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
16424
16408
|
let {
|
|
@@ -16476,7 +16460,7 @@ class Skeleton extends SvelteElement {
|
|
|
16476
16460
|
target: this.shadowRoot,
|
|
16477
16461
|
props: attribute_to_object(this.attributes),
|
|
16478
16462
|
customElement: true
|
|
16479
|
-
}, instance$
|
|
16463
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
16480
16464
|
maxwidth: 0,
|
|
16481
16465
|
size: 1,
|
|
16482
16466
|
linecount: 2,
|
|
@@ -16608,7 +16592,7 @@ class Skeleton extends SvelteElement {
|
|
|
16608
16592
|
customElements.define("goa-skeleton", Skeleton);
|
|
16609
16593
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
16610
16594
|
|
|
16611
|
-
function create_fragment$
|
|
16595
|
+
function create_fragment$c(ctx) {
|
|
16612
16596
|
let div;
|
|
16613
16597
|
return {
|
|
16614
16598
|
c() {
|
|
@@ -16637,7 +16621,7 @@ function create_fragment$a(ctx) {
|
|
|
16637
16621
|
};
|
|
16638
16622
|
}
|
|
16639
16623
|
|
|
16640
|
-
function instance$
|
|
16624
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
16641
16625
|
let {
|
|
16642
16626
|
hspacing = "none"
|
|
16643
16627
|
} = $$props;
|
|
@@ -16675,7 +16659,7 @@ class Spacer extends SvelteElement {
|
|
|
16675
16659
|
target: this.shadowRoot,
|
|
16676
16660
|
props: attribute_to_object(this.attributes),
|
|
16677
16661
|
customElement: true
|
|
16678
|
-
}, instance$
|
|
16662
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
16679
16663
|
hspacing: 1,
|
|
16680
16664
|
vspacing: 2
|
|
16681
16665
|
}, null);
|
|
@@ -16907,7 +16891,7 @@ function tweened(value, defaults = {}) {
|
|
|
16907
16891
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
16908
16892
|
|
|
16909
16893
|
|
|
16910
|
-
function create_if_block$
|
|
16894
|
+
function create_if_block$5(ctx) {
|
|
16911
16895
|
let svg;
|
|
16912
16896
|
let circle;
|
|
16913
16897
|
let circle_stroke_value;
|
|
@@ -17097,11 +17081,11 @@ function create_if_block$3(ctx) {
|
|
|
17097
17081
|
};
|
|
17098
17082
|
}
|
|
17099
17083
|
|
|
17100
|
-
function create_fragment$
|
|
17084
|
+
function create_fragment$b(ctx) {
|
|
17101
17085
|
let if_block_anchor;
|
|
17102
17086
|
let if_block =
|
|
17103
17087
|
/*ready*/
|
|
17104
|
-
ctx[6] && create_if_block$
|
|
17088
|
+
ctx[6] && create_if_block$5(ctx);
|
|
17105
17089
|
return {
|
|
17106
17090
|
c() {
|
|
17107
17091
|
if (if_block) if_block.c();
|
|
@@ -17121,7 +17105,7 @@ function create_fragment$9(ctx) {
|
|
|
17121
17105
|
if (if_block) {
|
|
17122
17106
|
if_block.p(ctx, dirty);
|
|
17123
17107
|
} else {
|
|
17124
|
-
if_block = create_if_block$
|
|
17108
|
+
if_block = create_if_block$5(ctx);
|
|
17125
17109
|
if_block.c();
|
|
17126
17110
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
17127
17111
|
}
|
|
@@ -17142,7 +17126,7 @@ function create_fragment$9(ctx) {
|
|
|
17142
17126
|
};
|
|
17143
17127
|
}
|
|
17144
17128
|
|
|
17145
|
-
function instance$
|
|
17129
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
17146
17130
|
let diameter;
|
|
17147
17131
|
let strokewidth;
|
|
17148
17132
|
let radius;
|
|
@@ -17273,7 +17257,7 @@ class Spinner extends SvelteElement {
|
|
|
17273
17257
|
target: this.shadowRoot,
|
|
17274
17258
|
props: attribute_to_object(this.attributes),
|
|
17275
17259
|
customElement: true
|
|
17276
|
-
}, instance$
|
|
17260
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
17277
17261
|
size: 10,
|
|
17278
17262
|
invert: 0,
|
|
17279
17263
|
progress: 11,
|
|
@@ -17345,7 +17329,7 @@ class Spinner extends SvelteElement {
|
|
|
17345
17329
|
customElements.define("goa-spinner", Spinner);
|
|
17346
17330
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
17347
17331
|
|
|
17348
|
-
function create_fragment$
|
|
17332
|
+
function create_fragment$a(ctx) {
|
|
17349
17333
|
let table;
|
|
17350
17334
|
let slot;
|
|
17351
17335
|
let t0;
|
|
@@ -17447,7 +17431,7 @@ function create_fragment$8(ctx) {
|
|
|
17447
17431
|
};
|
|
17448
17432
|
}
|
|
17449
17433
|
|
|
17450
|
-
function instance$
|
|
17434
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
17451
17435
|
let _stickyHeader;
|
|
17452
17436
|
|
|
17453
17437
|
const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
|
|
@@ -17561,7 +17545,7 @@ class Table extends SvelteElement {
|
|
|
17561
17545
|
target: this.shadowRoot,
|
|
17562
17546
|
props: attribute_to_object(this.attributes),
|
|
17563
17547
|
customElement: true
|
|
17564
|
-
}, instance$
|
|
17548
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
17565
17549
|
width: 0,
|
|
17566
17550
|
stickyheader: 8,
|
|
17567
17551
|
variant: 1,
|
|
@@ -17669,7 +17653,7 @@ class Table extends SvelteElement {
|
|
|
17669
17653
|
customElements.define("goa-table", Table);
|
|
17670
17654
|
/* libs/web-components/src/components/table/TableSortHeader.svelte generated by Svelte v3.51.0 */
|
|
17671
17655
|
|
|
17672
|
-
function create_else_block$
|
|
17656
|
+
function create_else_block$2(ctx) {
|
|
17673
17657
|
let img;
|
|
17674
17658
|
let img_src_value;
|
|
17675
17659
|
return {
|
|
@@ -17714,7 +17698,7 @@ function create_else_block$1(ctx) {
|
|
|
17714
17698
|
} // (55:2) {#if direction === "none"}
|
|
17715
17699
|
|
|
17716
17700
|
|
|
17717
|
-
function create_if_block$
|
|
17701
|
+
function create_if_block$4(ctx) {
|
|
17718
17702
|
let img;
|
|
17719
17703
|
let img_src_value;
|
|
17720
17704
|
return {
|
|
@@ -17737,7 +17721,7 @@ function create_if_block$2(ctx) {
|
|
|
17737
17721
|
};
|
|
17738
17722
|
}
|
|
17739
17723
|
|
|
17740
|
-
function create_fragment$
|
|
17724
|
+
function create_fragment$9(ctx) {
|
|
17741
17725
|
let button;
|
|
17742
17726
|
let slot;
|
|
17743
17727
|
let t;
|
|
@@ -17745,8 +17729,8 @@ function create_fragment$7(ctx) {
|
|
|
17745
17729
|
function select_block_type(ctx, dirty) {
|
|
17746
17730
|
if (
|
|
17747
17731
|
/*direction*/
|
|
17748
|
-
ctx[0] === "none") return create_if_block$
|
|
17749
|
-
return create_else_block$
|
|
17732
|
+
ctx[0] === "none") return create_if_block$4;
|
|
17733
|
+
return create_else_block$2;
|
|
17750
17734
|
}
|
|
17751
17735
|
|
|
17752
17736
|
let current_block_type = select_block_type(ctx);
|
|
@@ -17792,7 +17776,7 @@ function create_fragment$7(ctx) {
|
|
|
17792
17776
|
};
|
|
17793
17777
|
}
|
|
17794
17778
|
|
|
17795
|
-
function instance$
|
|
17779
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
17796
17780
|
let {
|
|
17797
17781
|
direction = "none"
|
|
17798
17782
|
} = $$props;
|
|
@@ -17812,7 +17796,7 @@ class TableSortHeader extends SvelteElement {
|
|
|
17812
17796
|
target: this.shadowRoot,
|
|
17813
17797
|
props: attribute_to_object(this.attributes),
|
|
17814
17798
|
customElement: true
|
|
17815
|
-
}, instance$
|
|
17799
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
17816
17800
|
direction: 0
|
|
17817
17801
|
}, null);
|
|
17818
17802
|
|
|
@@ -17848,7 +17832,7 @@ class TableSortHeader extends SvelteElement {
|
|
|
17848
17832
|
customElements.define("goa-table-sort-header", TableSortHeader);
|
|
17849
17833
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
17850
17834
|
|
|
17851
|
-
function create_fragment$
|
|
17835
|
+
function create_fragment$8(ctx) {
|
|
17852
17836
|
let div;
|
|
17853
17837
|
let textarea;
|
|
17854
17838
|
let textarea_aria_label_value;
|
|
@@ -18029,7 +18013,7 @@ function create_fragment$6(ctx) {
|
|
|
18029
18013
|
};
|
|
18030
18014
|
}
|
|
18031
18015
|
|
|
18032
|
-
function instance$
|
|
18016
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
18033
18017
|
let isError;
|
|
18034
18018
|
let isDisabled;
|
|
18035
18019
|
let isReadonly;
|
|
@@ -18146,7 +18130,7 @@ class TextArea extends SvelteElement {
|
|
|
18146
18130
|
target: this.shadowRoot,
|
|
18147
18131
|
props: attribute_to_object(this.attributes),
|
|
18148
18132
|
customElement: true
|
|
18149
|
-
}, instance$
|
|
18133
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
18150
18134
|
name: 0,
|
|
18151
18135
|
value: 1,
|
|
18152
18136
|
placeholder: 2,
|
|
@@ -18350,7 +18334,7 @@ class TextArea extends SvelteElement {
|
|
|
18350
18334
|
customElements.define("goa-textarea", TextArea);
|
|
18351
18335
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
|
|
18352
18336
|
|
|
18353
|
-
function create_fragment$
|
|
18337
|
+
function create_fragment$7(ctx) {
|
|
18354
18338
|
let div;
|
|
18355
18339
|
return {
|
|
18356
18340
|
c() {
|
|
@@ -18394,7 +18378,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
18394
18378
|
target: this.shadowRoot,
|
|
18395
18379
|
props: attribute_to_object(this.attributes),
|
|
18396
18380
|
customElement: true
|
|
18397
|
-
}, null, create_fragment$
|
|
18381
|
+
}, null, create_fragment$7, safe_not_equal, {}, null);
|
|
18398
18382
|
|
|
18399
18383
|
if (options) {
|
|
18400
18384
|
if (options.target) {
|
|
@@ -18408,7 +18392,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
18408
18392
|
customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
|
|
18409
18393
|
/* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
18410
18394
|
|
|
18411
|
-
function create_fragment$
|
|
18395
|
+
function create_fragment$6(ctx) {
|
|
18412
18396
|
let div;
|
|
18413
18397
|
return {
|
|
18414
18398
|
c() {
|
|
@@ -18445,7 +18429,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
18445
18429
|
target: this.shadowRoot,
|
|
18446
18430
|
props: attribute_to_object(this.attributes),
|
|
18447
18431
|
customElement: true
|
|
18448
|
-
}, null, create_fragment$
|
|
18432
|
+
}, null, create_fragment$6, safe_not_equal, {}, null);
|
|
18449
18433
|
|
|
18450
18434
|
if (options) {
|
|
18451
18435
|
if (options.target) {
|
|
@@ -18459,7 +18443,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
18459
18443
|
customElements.define("goa-one-column-layout", OneColumnLayout);
|
|
18460
18444
|
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
18461
18445
|
|
|
18462
|
-
function create_fragment$
|
|
18446
|
+
function create_fragment$5(ctx) {
|
|
18463
18447
|
let div;
|
|
18464
18448
|
let header;
|
|
18465
18449
|
let t0;
|
|
@@ -18529,7 +18513,7 @@ function create_fragment$3(ctx) {
|
|
|
18529
18513
|
};
|
|
18530
18514
|
}
|
|
18531
18515
|
|
|
18532
|
-
function instance$
|
|
18516
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
18533
18517
|
let {
|
|
18534
18518
|
navcolumnwidth = ""
|
|
18535
18519
|
} = $$props;
|
|
@@ -18553,7 +18537,7 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
18553
18537
|
target: this.shadowRoot,
|
|
18554
18538
|
props: attribute_to_object(this.attributes),
|
|
18555
18539
|
customElement: true
|
|
18556
|
-
}, instance$
|
|
18540
|
+
}, instance$5, create_fragment$5, safe_not_equal, {
|
|
18557
18541
|
navcolumnwidth: 0,
|
|
18558
18542
|
maxcontentwidth: 1
|
|
18559
18543
|
}, null);
|
|
@@ -18601,7 +18585,7 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
18601
18585
|
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
18602
18586
|
/* libs/web-components/src/components/form-stepper/FormStepper.svelte generated by Svelte v3.51.0 */
|
|
18603
18587
|
|
|
18604
|
-
function create_if_block$
|
|
18588
|
+
function create_if_block$3(ctx) {
|
|
18605
18589
|
let progress0;
|
|
18606
18590
|
let t;
|
|
18607
18591
|
let progress1;
|
|
@@ -18655,7 +18639,7 @@ function create_if_block$1(ctx) {
|
|
|
18655
18639
|
};
|
|
18656
18640
|
}
|
|
18657
18641
|
|
|
18658
|
-
function create_fragment$
|
|
18642
|
+
function create_fragment$4(ctx) {
|
|
18659
18643
|
let section;
|
|
18660
18644
|
let div1;
|
|
18661
18645
|
let t;
|
|
@@ -18665,7 +18649,7 @@ function create_fragment$2(ctx) {
|
|
|
18665
18649
|
/*_steps*/
|
|
18666
18650
|
ctx[4].length > 0 &&
|
|
18667
18651
|
/*_showProgressBars*/
|
|
18668
|
-
ctx[10] && create_if_block$
|
|
18652
|
+
ctx[10] && create_if_block$3(ctx);
|
|
18669
18653
|
return {
|
|
18670
18654
|
c() {
|
|
18671
18655
|
section = element("section");
|
|
@@ -18726,7 +18710,7 @@ function create_fragment$2(ctx) {
|
|
|
18726
18710
|
if (if_block) {
|
|
18727
18711
|
if_block.p(ctx, dirty);
|
|
18728
18712
|
} else {
|
|
18729
|
-
if_block = create_if_block$
|
|
18713
|
+
if_block = create_if_block$3(ctx);
|
|
18730
18714
|
if_block.c();
|
|
18731
18715
|
if_block.m(div1, t);
|
|
18732
18716
|
}
|
|
@@ -18781,7 +18765,7 @@ function create_fragment$2(ctx) {
|
|
|
18781
18765
|
};
|
|
18782
18766
|
}
|
|
18783
18767
|
|
|
18784
|
-
function instance$
|
|
18768
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
18785
18769
|
let _progress;
|
|
18786
18770
|
|
|
18787
18771
|
let {
|
|
@@ -18961,16 +18945,16 @@ function instance$2($$self, $$props, $$invalidate) {
|
|
|
18961
18945
|
class FormStepper extends SvelteElement {
|
|
18962
18946
|
constructor(options) {
|
|
18963
18947
|
super();
|
|
18964
|
-
this.shadowRoot.innerHTML = `<style>.form-stepper{position:relative}.slots{position:relative;inset:0;z-index:2}progress{position:absolute;z-index:1;-webkit-appearance:none;appearance:none;height:4px;border:none;background:var(--goa-color-greyscale-200);pointer-events:none}progress.horizontal{display:block;top:calc(1.
|
|
18948
|
+
this.shadowRoot.innerHTML = `<style>.form-stepper{position:relative}.slots{position:relative;inset:0;z-index:2}progress{position:absolute;z-index:1;-webkit-appearance:none;appearance:none;height:4px;border:none;background:var(--goa-color-greyscale-200);pointer-events:none}progress.horizontal{display:block;top:calc(1.5rem + (2.5rem / 2) - 2px);left:calc(var(--step-width) / 2);width:calc(100% - var(--step-width))}progress.vertical{display:none;width:calc(var(--height) - var(--step-height));transform:rotate(90deg)
|
|
18965
18949
|
translate(
|
|
18966
18950
|
calc(50% + 1.25rem + 1.75rem),
|
|
18967
|
-
calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.
|
|
18951
|
+
calc((var(--height) - var(--step-height)) / 2 - 1.25rem - 1.5rem)
|
|
18968
18952
|
)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}@media(max-width: 639px){progress.horizontal{display:none}progress.vertical{display:inline-block}.form-stepper{display:inline-block}}</style>`;
|
|
18969
18953
|
init(this, {
|
|
18970
18954
|
target: this.shadowRoot,
|
|
18971
18955
|
props: attribute_to_object(this.attributes),
|
|
18972
18956
|
customElement: true
|
|
18973
|
-
}, instance$
|
|
18957
|
+
}, instance$4, create_fragment$4, safe_not_equal, {
|
|
18974
18958
|
step: 12,
|
|
18975
18959
|
mt: 0,
|
|
18976
18960
|
mr: 1,
|
|
@@ -19054,7 +19038,7 @@ class FormStepper extends SvelteElement {
|
|
|
19054
19038
|
customElements.define("goa-form-stepper", FormStepper);
|
|
19055
19039
|
/* libs/web-components/src/components/form-step/FormStep.svelte generated by Svelte v3.51.0 */
|
|
19056
19040
|
|
|
19057
|
-
function create_else_block(ctx) {
|
|
19041
|
+
function create_else_block$1(ctx) {
|
|
19058
19042
|
let div;
|
|
19059
19043
|
let t;
|
|
19060
19044
|
return {
|
|
@@ -19088,7 +19072,7 @@ function create_else_block(ctx) {
|
|
|
19088
19072
|
} // (152:38)
|
|
19089
19073
|
|
|
19090
19074
|
|
|
19091
|
-
function create_if_block_3(ctx) {
|
|
19075
|
+
function create_if_block_3$2(ctx) {
|
|
19092
19076
|
let goa_icon;
|
|
19093
19077
|
return {
|
|
19094
19078
|
c() {
|
|
@@ -19110,7 +19094,7 @@ function create_if_block_3(ctx) {
|
|
|
19110
19094
|
} // (150:36)
|
|
19111
19095
|
|
|
19112
19096
|
|
|
19113
|
-
function create_if_block_2(ctx) {
|
|
19097
|
+
function create_if_block_2$2(ctx) {
|
|
19114
19098
|
let goa_icon;
|
|
19115
19099
|
return {
|
|
19116
19100
|
c() {
|
|
@@ -19133,7 +19117,7 @@ function create_if_block_2(ctx) {
|
|
|
19133
19117
|
} // (148:4) {#if _isCurrent}
|
|
19134
19118
|
|
|
19135
19119
|
|
|
19136
|
-
function create_if_block_1(ctx) {
|
|
19120
|
+
function create_if_block_1$2(ctx) {
|
|
19137
19121
|
let goa_icon;
|
|
19138
19122
|
return {
|
|
19139
19123
|
c() {
|
|
@@ -19155,7 +19139,7 @@ function create_if_block_1(ctx) {
|
|
|
19155
19139
|
} // (160:4) {#if status === "incomplete"}
|
|
19156
19140
|
|
|
19157
19141
|
|
|
19158
|
-
function create_if_block(ctx) {
|
|
19142
|
+
function create_if_block$2(ctx) {
|
|
19159
19143
|
let div;
|
|
19160
19144
|
return {
|
|
19161
19145
|
c() {
|
|
@@ -19176,7 +19160,7 @@ function create_if_block(ctx) {
|
|
|
19176
19160
|
};
|
|
19177
19161
|
}
|
|
19178
19162
|
|
|
19179
|
-
function create_fragment$
|
|
19163
|
+
function create_fragment$3(ctx) {
|
|
19180
19164
|
let label;
|
|
19181
19165
|
let input;
|
|
19182
19166
|
let input_disabled_value;
|
|
@@ -19194,21 +19178,21 @@ function create_fragment$1(ctx) {
|
|
|
19194
19178
|
function select_block_type(ctx, dirty) {
|
|
19195
19179
|
if (
|
|
19196
19180
|
/*_isCurrent*/
|
|
19197
|
-
ctx[7]) return create_if_block_1;
|
|
19181
|
+
ctx[7]) return create_if_block_1$2;
|
|
19198
19182
|
if (
|
|
19199
19183
|
/*status*/
|
|
19200
|
-
ctx[3] === "complete") return create_if_block_2;
|
|
19184
|
+
ctx[3] === "complete") return create_if_block_2$2;
|
|
19201
19185
|
if (
|
|
19202
19186
|
/*status*/
|
|
19203
|
-
ctx[3] === "incomplete") return create_if_block_3;
|
|
19204
|
-
return create_else_block;
|
|
19187
|
+
ctx[3] === "incomplete") return create_if_block_3$2;
|
|
19188
|
+
return create_else_block$1;
|
|
19205
19189
|
}
|
|
19206
19190
|
|
|
19207
19191
|
let current_block_type = select_block_type(ctx);
|
|
19208
19192
|
let if_block0 = current_block_type(ctx);
|
|
19209
19193
|
let if_block1 =
|
|
19210
19194
|
/*status*/
|
|
19211
|
-
ctx[3] === "incomplete" && create_if_block();
|
|
19195
|
+
ctx[3] === "incomplete" && create_if_block$2();
|
|
19212
19196
|
return {
|
|
19213
19197
|
c() {
|
|
19214
19198
|
label = element("label");
|
|
@@ -19333,7 +19317,7 @@ function create_fragment$1(ctx) {
|
|
|
19333
19317
|
/*status*/
|
|
19334
19318
|
ctx[3] === "incomplete") {
|
|
19335
19319
|
if (if_block1) ;else {
|
|
19336
|
-
if_block1 = create_if_block();
|
|
19320
|
+
if_block1 = create_if_block$2();
|
|
19337
19321
|
if_block1.c();
|
|
19338
19322
|
if_block1.m(div2, null);
|
|
19339
19323
|
}
|
|
@@ -19413,7 +19397,7 @@ function create_fragment$1(ctx) {
|
|
|
19413
19397
|
};
|
|
19414
19398
|
}
|
|
19415
19399
|
|
|
19416
|
-
function instance$
|
|
19400
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
19417
19401
|
let _isCurrent;
|
|
19418
19402
|
|
|
19419
19403
|
let _isEnabled;
|
|
@@ -19504,7 +19488,7 @@ class FormStep extends SvelteElement {
|
|
|
19504
19488
|
constructor(options) {
|
|
19505
19489
|
super();
|
|
19506
19490
|
this.shadowRoot.innerHTML = `<style>input[type=checkbox]{position:absolute;left:-9999px}[role="listitem"]{display:flex;box-sizing:border-box;height:100%;text-align:center;flex-direction:column;align-items:center;padding:var(--goa-space-l)}[role="listitem"]:not([aria-disabled="true"]):focus-within,[role="listitem"]:not([aria-disabled="true"]):focus,[role="listitem"]:not([aria-disabled="true"]):active{outline:var(--goa-color-interactive-focus) solid var(--goa-border-width-l)}[role="listitem"]:not([aria-disabled="true"]):hover{background-color:rgba(0,0,0,0.05);cursor:pointer}.status{flex:0 0 auto;display:flex;align-items:center;justify-content:center;box-sizing:border-box;border-radius:999px;border:4px solid var(--goa-color-interactive-default);background:var(--goa-color-greyscale-white);height:2.5rem;width:2.5rem}[aria-current="step"] .text{font-weight:var(--goa-font-weight-bold)
|
|
19507
|
-
}[data-status=complete] .status{background
|
|
19491
|
+
}[data-status=complete] .status{background:var(--goa-color-interactive-default)}[aria-current="step"][data-status=complete] .status{background:var(--goa-color-greyscale-white)}.step-number{margin-bottom:var(--font-valign-fix);font-weight:var(--goa-font-weight-bold);color:var(--goa-color-text-secondary)}[role="listitem"]:not(
|
|
19508
19492
|
[data-status=complete],
|
|
19509
19493
|
[data-status=incomplete],
|
|
19510
19494
|
[aria-current="step"]
|
|
@@ -19513,7 +19497,7 @@ class FormStep extends SvelteElement {
|
|
|
19513
19497
|
target: this.shadowRoot,
|
|
19514
19498
|
props: attribute_to_object(this.attributes),
|
|
19515
19499
|
customElement: true
|
|
19516
|
-
}, instance$
|
|
19500
|
+
}, instance$3, create_fragment$3, safe_not_equal, {
|
|
19517
19501
|
text: 0,
|
|
19518
19502
|
current: 8,
|
|
19519
19503
|
enabled: 9,
|
|
@@ -19609,7 +19593,7 @@ class FormStep extends SvelteElement {
|
|
|
19609
19593
|
customElements.define("goa-form-step", FormStep);
|
|
19610
19594
|
/* libs/web-components/src/components/pages/Pages.svelte generated by Svelte v3.51.0 */
|
|
19611
19595
|
|
|
19612
|
-
function create_fragment(ctx) {
|
|
19596
|
+
function create_fragment$2(ctx) {
|
|
19613
19597
|
let div;
|
|
19614
19598
|
let slot;
|
|
19615
19599
|
let div_style_value;
|
|
@@ -19667,7 +19651,7 @@ function create_fragment(ctx) {
|
|
|
19667
19651
|
};
|
|
19668
19652
|
}
|
|
19669
19653
|
|
|
19670
|
-
function instance($$self, $$props, $$invalidate) {
|
|
19654
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
19671
19655
|
let {
|
|
19672
19656
|
current = 1
|
|
19673
19657
|
} = $$props;
|
|
@@ -19745,7 +19729,7 @@ class Pages extends SvelteElement {
|
|
|
19745
19729
|
target: this.shadowRoot,
|
|
19746
19730
|
props: attribute_to_object(this.attributes),
|
|
19747
19731
|
customElement: true
|
|
19748
|
-
}, instance, create_fragment, safe_not_equal, {
|
|
19732
|
+
}, instance$2, create_fragment$2, safe_not_equal, {
|
|
19749
19733
|
current: 5,
|
|
19750
19734
|
mt: 0,
|
|
19751
19735
|
mr: 1,
|
|
@@ -19827,17 +19811,1593 @@ class Pages extends SvelteElement {
|
|
|
19827
19811
|
}
|
|
19828
19812
|
|
|
19829
19813
|
customElements.define("goa-pages", Pages);
|
|
19814
|
+
/* libs/web-components/src/components/file-upload-input/FileUploadInput.svelte generated by Svelte v3.51.0 */
|
|
19830
19815
|
|
|
19831
|
-
function
|
|
19832
|
-
|
|
19833
|
-
|
|
19834
|
-
|
|
19835
|
-
|
|
19836
|
-
|
|
19837
|
-
|
|
19838
|
-
|
|
19839
|
-
|
|
19840
|
-
|
|
19816
|
+
function get_each_context(ctx, list, i) {
|
|
19817
|
+
const child_ctx = ctx.slice();
|
|
19818
|
+
child_ctx[21] = list[i];
|
|
19819
|
+
return child_ctx;
|
|
19820
|
+
} // (126:0) {#if variant === "dragdrop"}
|
|
19821
|
+
|
|
19822
|
+
|
|
19823
|
+
function create_if_block_3$1(ctx) {
|
|
19824
|
+
let div3;
|
|
19825
|
+
let div2;
|
|
19826
|
+
let t6;
|
|
19827
|
+
let t7;
|
|
19828
|
+
let input;
|
|
19829
|
+
let div3_class_value;
|
|
19830
|
+
let mounted;
|
|
19831
|
+
let dispose;
|
|
19832
|
+
let if_block =
|
|
19833
|
+
/*maxfilesize*/
|
|
19834
|
+
ctx[2] && create_if_block_4$1(ctx);
|
|
19835
|
+
return {
|
|
19836
|
+
c() {
|
|
19837
|
+
div3 = element("div");
|
|
19838
|
+
div2 = element("div");
|
|
19839
|
+
div2.innerHTML = `<goa-icon type="cloud-upload" size="large"></goa-icon>
|
|
19840
|
+
<div>Drag and drop files here</div>
|
|
19841
|
+
<em>or</em>
|
|
19842
|
+
<div class="browse-files">Browse files</div>`;
|
|
19843
|
+
t6 = space();
|
|
19844
|
+
if (if_block) if_block.c();
|
|
19845
|
+
t7 = space();
|
|
19846
|
+
input = element("input");
|
|
19847
|
+
attr(div2, "class", "instructions");
|
|
19848
|
+
attr(input, "data-testid", "input");
|
|
19849
|
+
attr(input, "tabindex", "0");
|
|
19850
|
+
attr(input, "type", "file");
|
|
19851
|
+
attr(input, "accept",
|
|
19852
|
+
/*accept*/
|
|
19853
|
+
ctx[1]);
|
|
19854
|
+
input.multiple = true;
|
|
19855
|
+
attr(div3, "data-testid", "dragdrop");
|
|
19856
|
+
attr(div3, "class", div3_class_value = `dragdrop state-${
|
|
19857
|
+
/*_state*/
|
|
19858
|
+
ctx[5]}`);
|
|
19859
|
+
},
|
|
19860
|
+
|
|
19861
|
+
m(target, anchor) {
|
|
19862
|
+
insert(target, div3, anchor);
|
|
19863
|
+
append(div3, div2);
|
|
19864
|
+
append(div3, t6);
|
|
19865
|
+
if (if_block) if_block.m(div3, null);
|
|
19866
|
+
append(div3, t7);
|
|
19867
|
+
append(div3, input);
|
|
19868
|
+
/*input_binding*/
|
|
19869
|
+
|
|
19870
|
+
ctx[13](input);
|
|
19871
|
+
/*div3_binding*/
|
|
19872
|
+
|
|
19873
|
+
ctx[14](div3);
|
|
19874
|
+
|
|
19875
|
+
if (!mounted) {
|
|
19876
|
+
dispose = [listen(div3, "click",
|
|
19877
|
+
/*openFilePicker*/
|
|
19878
|
+
ctx[7]), listen(div3, "drop",
|
|
19879
|
+
/*onDrop*/
|
|
19880
|
+
ctx[8]), listen(div3, "mouseover",
|
|
19881
|
+
/*onMouseOver*/
|
|
19882
|
+
ctx[11]), listen(div3, "mouseout",
|
|
19883
|
+
/*onMouseOut*/
|
|
19884
|
+
ctx[12]), listen(div3, "dragenter",
|
|
19885
|
+
/*onDragEnter*/
|
|
19886
|
+
ctx[9]), listen(div3, "dragleave",
|
|
19887
|
+
/*onDragLeave*/
|
|
19888
|
+
ctx[10]), listen(div3, "dragover", onDrag)];
|
|
19889
|
+
mounted = true;
|
|
19890
|
+
}
|
|
19891
|
+
},
|
|
19892
|
+
|
|
19893
|
+
p(ctx, dirty) {
|
|
19894
|
+
if (
|
|
19895
|
+
/*maxfilesize*/
|
|
19896
|
+
ctx[2]) {
|
|
19897
|
+
if (if_block) {
|
|
19898
|
+
if_block.p(ctx, dirty);
|
|
19899
|
+
} else {
|
|
19900
|
+
if_block = create_if_block_4$1(ctx);
|
|
19901
|
+
if_block.c();
|
|
19902
|
+
if_block.m(div3, t7);
|
|
19903
|
+
}
|
|
19904
|
+
} else if (if_block) {
|
|
19905
|
+
if_block.d(1);
|
|
19906
|
+
if_block = null;
|
|
19907
|
+
}
|
|
19908
|
+
|
|
19909
|
+
if (dirty &
|
|
19910
|
+
/*accept*/
|
|
19911
|
+
2) {
|
|
19912
|
+
attr(input, "accept",
|
|
19913
|
+
/*accept*/
|
|
19914
|
+
ctx[1]);
|
|
19915
|
+
}
|
|
19916
|
+
|
|
19917
|
+
if (dirty &
|
|
19918
|
+
/*_state*/
|
|
19919
|
+
32 && div3_class_value !== (div3_class_value = `dragdrop state-${
|
|
19920
|
+
/*_state*/
|
|
19921
|
+
ctx[5]}`)) {
|
|
19922
|
+
attr(div3, "class", div3_class_value);
|
|
19923
|
+
}
|
|
19924
|
+
},
|
|
19925
|
+
|
|
19926
|
+
d(detaching) {
|
|
19927
|
+
if (detaching) detach(div3);
|
|
19928
|
+
if (if_block) if_block.d();
|
|
19929
|
+
/*input_binding*/
|
|
19930
|
+
|
|
19931
|
+
ctx[13](null);
|
|
19932
|
+
/*div3_binding*/
|
|
19933
|
+
|
|
19934
|
+
ctx[14](null);
|
|
19935
|
+
mounted = false;
|
|
19936
|
+
run_all(dispose);
|
|
19937
|
+
}
|
|
19938
|
+
|
|
19939
|
+
};
|
|
19940
|
+
} // (146:4) {#if maxfilesize}
|
|
19941
|
+
|
|
19942
|
+
|
|
19943
|
+
function create_if_block_4$1(ctx) {
|
|
19944
|
+
let em;
|
|
19945
|
+
let t0;
|
|
19946
|
+
let t1;
|
|
19947
|
+
let t2;
|
|
19948
|
+
return {
|
|
19949
|
+
c() {
|
|
19950
|
+
em = element("em");
|
|
19951
|
+
t0 = text("Maximum file size is ");
|
|
19952
|
+
t1 = text(
|
|
19953
|
+
/*maxfilesize*/
|
|
19954
|
+
ctx[2]);
|
|
19955
|
+
t2 = text(".");
|
|
19956
|
+
attr(em, "class", "max-file-size");
|
|
19957
|
+
attr(em, "data-testid", "max-file-size");
|
|
19958
|
+
},
|
|
19959
|
+
|
|
19960
|
+
m(target, anchor) {
|
|
19961
|
+
insert(target, em, anchor);
|
|
19962
|
+
append(em, t0);
|
|
19963
|
+
append(em, t1);
|
|
19964
|
+
append(em, t2);
|
|
19965
|
+
},
|
|
19966
|
+
|
|
19967
|
+
p(ctx, dirty) {
|
|
19968
|
+
if (dirty &
|
|
19969
|
+
/*maxfilesize*/
|
|
19970
|
+
4) set_data(t1,
|
|
19971
|
+
/*maxfilesize*/
|
|
19972
|
+
ctx[2]);
|
|
19973
|
+
},
|
|
19974
|
+
|
|
19975
|
+
d(detaching) {
|
|
19976
|
+
if (detaching) detach(em);
|
|
19977
|
+
}
|
|
19978
|
+
|
|
19979
|
+
};
|
|
19980
|
+
} // (154:0) {#if variant === "button"}
|
|
19981
|
+
|
|
19982
|
+
|
|
19983
|
+
function create_if_block_1$1(ctx) {
|
|
19984
|
+
let div;
|
|
19985
|
+
let goa_button;
|
|
19986
|
+
let t1;
|
|
19987
|
+
let t2;
|
|
19988
|
+
let input;
|
|
19989
|
+
let mounted;
|
|
19990
|
+
let dispose;
|
|
19991
|
+
let if_block =
|
|
19992
|
+
/*maxfilesize*/
|
|
19993
|
+
ctx[2] && create_if_block_2$1(ctx);
|
|
19994
|
+
return {
|
|
19995
|
+
c() {
|
|
19996
|
+
div = element("div");
|
|
19997
|
+
goa_button = element("goa-button");
|
|
19998
|
+
goa_button.textContent = "Choose file";
|
|
19999
|
+
t1 = space();
|
|
20000
|
+
if (if_block) if_block.c();
|
|
20001
|
+
t2 = space();
|
|
20002
|
+
input = element("input");
|
|
20003
|
+
set_custom_element_data(goa_button, "type", "secondary");
|
|
20004
|
+
attr(div, "class", "button");
|
|
20005
|
+
attr(input, "data-testid", "input");
|
|
20006
|
+
attr(input, "tabindex", "-1");
|
|
20007
|
+
attr(input, "type", "file");
|
|
20008
|
+
attr(input, "accept",
|
|
20009
|
+
/*accept*/
|
|
20010
|
+
ctx[1]);
|
|
20011
|
+
input.multiple = true;
|
|
20012
|
+
},
|
|
20013
|
+
|
|
20014
|
+
m(target, anchor) {
|
|
20015
|
+
insert(target, div, anchor);
|
|
20016
|
+
append(div, goa_button);
|
|
20017
|
+
append(div, t1);
|
|
20018
|
+
if (if_block) if_block.m(div, null);
|
|
20019
|
+
/*div_binding*/
|
|
20020
|
+
|
|
20021
|
+
ctx[15](div);
|
|
20022
|
+
insert(target, t2, anchor);
|
|
20023
|
+
insert(target, input, anchor);
|
|
20024
|
+
/*input_binding_1*/
|
|
20025
|
+
|
|
20026
|
+
ctx[16](input);
|
|
20027
|
+
|
|
20028
|
+
if (!mounted) {
|
|
20029
|
+
dispose = listen(goa_button, "click",
|
|
20030
|
+
/*openFilePicker*/
|
|
20031
|
+
ctx[7]);
|
|
20032
|
+
mounted = true;
|
|
20033
|
+
}
|
|
20034
|
+
},
|
|
20035
|
+
|
|
20036
|
+
p(ctx, dirty) {
|
|
20037
|
+
if (
|
|
20038
|
+
/*maxfilesize*/
|
|
20039
|
+
ctx[2]) {
|
|
20040
|
+
if (if_block) {
|
|
20041
|
+
if_block.p(ctx, dirty);
|
|
20042
|
+
} else {
|
|
20043
|
+
if_block = create_if_block_2$1(ctx);
|
|
20044
|
+
if_block.c();
|
|
20045
|
+
if_block.m(div, null);
|
|
20046
|
+
}
|
|
20047
|
+
} else if (if_block) {
|
|
20048
|
+
if_block.d(1);
|
|
20049
|
+
if_block = null;
|
|
20050
|
+
}
|
|
20051
|
+
|
|
20052
|
+
if (dirty &
|
|
20053
|
+
/*accept*/
|
|
20054
|
+
2) {
|
|
20055
|
+
attr(input, "accept",
|
|
20056
|
+
/*accept*/
|
|
20057
|
+
ctx[1]);
|
|
20058
|
+
}
|
|
20059
|
+
},
|
|
20060
|
+
|
|
20061
|
+
d(detaching) {
|
|
20062
|
+
if (detaching) detach(div);
|
|
20063
|
+
if (if_block) if_block.d();
|
|
20064
|
+
/*div_binding*/
|
|
20065
|
+
|
|
20066
|
+
ctx[15](null);
|
|
20067
|
+
if (detaching) detach(t2);
|
|
20068
|
+
if (detaching) detach(input);
|
|
20069
|
+
/*input_binding_1*/
|
|
20070
|
+
|
|
20071
|
+
ctx[16](null);
|
|
20072
|
+
mounted = false;
|
|
20073
|
+
dispose();
|
|
20074
|
+
}
|
|
20075
|
+
|
|
20076
|
+
};
|
|
20077
|
+
} // (158:4) {#if maxfilesize}
|
|
20078
|
+
|
|
20079
|
+
|
|
20080
|
+
function create_if_block_2$1(ctx) {
|
|
20081
|
+
let em;
|
|
20082
|
+
let t0;
|
|
20083
|
+
let t1;
|
|
20084
|
+
let t2;
|
|
20085
|
+
return {
|
|
20086
|
+
c() {
|
|
20087
|
+
em = element("em");
|
|
20088
|
+
t0 = text("Maximum file size is ");
|
|
20089
|
+
t1 = text(
|
|
20090
|
+
/*maxfilesize*/
|
|
20091
|
+
ctx[2]);
|
|
20092
|
+
t2 = text(".");
|
|
20093
|
+
attr(em, "class", "max-file-size");
|
|
20094
|
+
attr(em, "data-testid", "max-file-size");
|
|
20095
|
+
},
|
|
20096
|
+
|
|
20097
|
+
m(target, anchor) {
|
|
20098
|
+
insert(target, em, anchor);
|
|
20099
|
+
append(em, t0);
|
|
20100
|
+
append(em, t1);
|
|
20101
|
+
append(em, t2);
|
|
20102
|
+
},
|
|
20103
|
+
|
|
20104
|
+
p(ctx, dirty) {
|
|
20105
|
+
if (dirty &
|
|
20106
|
+
/*maxfilesize*/
|
|
20107
|
+
4) set_data(t1,
|
|
20108
|
+
/*maxfilesize*/
|
|
20109
|
+
ctx[2]);
|
|
20110
|
+
},
|
|
20111
|
+
|
|
20112
|
+
d(detaching) {
|
|
20113
|
+
if (detaching) detach(em);
|
|
20114
|
+
}
|
|
20115
|
+
|
|
20116
|
+
};
|
|
20117
|
+
} // (166:0) {#if issues.length}
|
|
20118
|
+
|
|
20119
|
+
|
|
20120
|
+
function create_if_block$1(ctx) {
|
|
20121
|
+
let div;
|
|
20122
|
+
let each_value =
|
|
20123
|
+
/*issues*/
|
|
20124
|
+
ctx[6];
|
|
20125
|
+
let each_blocks = [];
|
|
20126
|
+
|
|
20127
|
+
for (let i = 0; i < each_value.length; i += 1) {
|
|
20128
|
+
each_blocks[i] = create_each_block(get_each_context(ctx, each_value, i));
|
|
20129
|
+
}
|
|
20130
|
+
|
|
20131
|
+
return {
|
|
20132
|
+
c() {
|
|
20133
|
+
div = element("div");
|
|
20134
|
+
|
|
20135
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
20136
|
+
each_blocks[i].c();
|
|
20137
|
+
}
|
|
20138
|
+
|
|
20139
|
+
attr(div, "class", "issues");
|
|
20140
|
+
},
|
|
20141
|
+
|
|
20142
|
+
m(target, anchor) {
|
|
20143
|
+
insert(target, div, anchor);
|
|
20144
|
+
|
|
20145
|
+
for (let i = 0; i < each_blocks.length; i += 1) {
|
|
20146
|
+
each_blocks[i].m(div, null);
|
|
20147
|
+
}
|
|
20148
|
+
},
|
|
20149
|
+
|
|
20150
|
+
p(ctx, dirty) {
|
|
20151
|
+
if (dirty &
|
|
20152
|
+
/*issues*/
|
|
20153
|
+
64) {
|
|
20154
|
+
each_value =
|
|
20155
|
+
/*issues*/
|
|
20156
|
+
ctx[6];
|
|
20157
|
+
let i;
|
|
20158
|
+
|
|
20159
|
+
for (i = 0; i < each_value.length; i += 1) {
|
|
20160
|
+
const child_ctx = get_each_context(ctx, each_value, i);
|
|
20161
|
+
|
|
20162
|
+
if (each_blocks[i]) {
|
|
20163
|
+
each_blocks[i].p(child_ctx, dirty);
|
|
20164
|
+
} else {
|
|
20165
|
+
each_blocks[i] = create_each_block(child_ctx);
|
|
20166
|
+
each_blocks[i].c();
|
|
20167
|
+
each_blocks[i].m(div, null);
|
|
20168
|
+
}
|
|
20169
|
+
}
|
|
20170
|
+
|
|
20171
|
+
for (; i < each_blocks.length; i += 1) {
|
|
20172
|
+
each_blocks[i].d(1);
|
|
20173
|
+
}
|
|
20174
|
+
|
|
20175
|
+
each_blocks.length = each_value.length;
|
|
20176
|
+
}
|
|
20177
|
+
},
|
|
20178
|
+
|
|
20179
|
+
d(detaching) {
|
|
20180
|
+
if (detaching) detach(div);
|
|
20181
|
+
destroy_each(each_blocks, detaching);
|
|
20182
|
+
}
|
|
20183
|
+
|
|
20184
|
+
};
|
|
20185
|
+
} // (168:4) {#each issues as issue}
|
|
20186
|
+
|
|
20187
|
+
|
|
20188
|
+
function create_each_block(ctx) {
|
|
20189
|
+
let div1;
|
|
20190
|
+
let t0_value =
|
|
20191
|
+
/*issue*/
|
|
20192
|
+
ctx[21].filename + "";
|
|
20193
|
+
let t0;
|
|
20194
|
+
let t1;
|
|
20195
|
+
let div0;
|
|
20196
|
+
let goa_icon;
|
|
20197
|
+
let t2;
|
|
20198
|
+
let t3_value =
|
|
20199
|
+
/*issue*/
|
|
20200
|
+
ctx[21].error + "";
|
|
20201
|
+
let t3;
|
|
20202
|
+
let t4;
|
|
20203
|
+
return {
|
|
20204
|
+
c() {
|
|
20205
|
+
div1 = element("div");
|
|
20206
|
+
t0 = text(t0_value);
|
|
20207
|
+
t1 = space();
|
|
20208
|
+
div0 = element("div");
|
|
20209
|
+
goa_icon = element("goa-icon");
|
|
20210
|
+
t2 = space();
|
|
20211
|
+
t3 = text(t3_value);
|
|
20212
|
+
t4 = space();
|
|
20213
|
+
set_custom_element_data(goa_icon, "type", "warning");
|
|
20214
|
+
set_custom_element_data(goa_icon, "size", "small");
|
|
20215
|
+
set_custom_element_data(goa_icon, "theme", "filled");
|
|
20216
|
+
attr(div0, "class", "error");
|
|
20217
|
+
attr(div0, "data-testid", "error");
|
|
20218
|
+
attr(div1, "class", "issue");
|
|
20219
|
+
},
|
|
20220
|
+
|
|
20221
|
+
m(target, anchor) {
|
|
20222
|
+
insert(target, div1, anchor);
|
|
20223
|
+
append(div1, t0);
|
|
20224
|
+
append(div1, t1);
|
|
20225
|
+
append(div1, div0);
|
|
20226
|
+
append(div0, goa_icon);
|
|
20227
|
+
append(div0, t2);
|
|
20228
|
+
append(div0, t3);
|
|
20229
|
+
append(div1, t4);
|
|
20230
|
+
},
|
|
20231
|
+
|
|
20232
|
+
p(ctx, dirty) {
|
|
20233
|
+
if (dirty &
|
|
20234
|
+
/*issues*/
|
|
20235
|
+
64 && t0_value !== (t0_value =
|
|
20236
|
+
/*issue*/
|
|
20237
|
+
ctx[21].filename + "")) set_data(t0, t0_value);
|
|
20238
|
+
if (dirty &
|
|
20239
|
+
/*issues*/
|
|
20240
|
+
64 && t3_value !== (t3_value =
|
|
20241
|
+
/*issue*/
|
|
20242
|
+
ctx[21].error + "")) set_data(t3, t3_value);
|
|
20243
|
+
},
|
|
20244
|
+
|
|
20245
|
+
d(detaching) {
|
|
20246
|
+
if (detaching) detach(div1);
|
|
20247
|
+
}
|
|
20248
|
+
|
|
20249
|
+
};
|
|
20250
|
+
}
|
|
20251
|
+
|
|
20252
|
+
function create_fragment$1(ctx) {
|
|
20253
|
+
let t0;
|
|
20254
|
+
let t1;
|
|
20255
|
+
let if_block2_anchor;
|
|
20256
|
+
let if_block0 =
|
|
20257
|
+
/*variant*/
|
|
20258
|
+
ctx[0] === "dragdrop" && create_if_block_3$1(ctx);
|
|
20259
|
+
let if_block1 =
|
|
20260
|
+
/*variant*/
|
|
20261
|
+
ctx[0] === "button" && create_if_block_1$1(ctx);
|
|
20262
|
+
let if_block2 =
|
|
20263
|
+
/*issues*/
|
|
20264
|
+
ctx[6].length && create_if_block$1(ctx);
|
|
20265
|
+
return {
|
|
20266
|
+
c() {
|
|
20267
|
+
if (if_block0) if_block0.c();
|
|
20268
|
+
t0 = space();
|
|
20269
|
+
if (if_block1) if_block1.c();
|
|
20270
|
+
t1 = space();
|
|
20271
|
+
if (if_block2) if_block2.c();
|
|
20272
|
+
if_block2_anchor = empty();
|
|
20273
|
+
this.c = noop;
|
|
20274
|
+
},
|
|
20275
|
+
|
|
20276
|
+
m(target, anchor) {
|
|
20277
|
+
if (if_block0) if_block0.m(target, anchor);
|
|
20278
|
+
insert(target, t0, anchor);
|
|
20279
|
+
if (if_block1) if_block1.m(target, anchor);
|
|
20280
|
+
insert(target, t1, anchor);
|
|
20281
|
+
if (if_block2) if_block2.m(target, anchor);
|
|
20282
|
+
insert(target, if_block2_anchor, anchor);
|
|
20283
|
+
},
|
|
20284
|
+
|
|
20285
|
+
p(ctx, [dirty]) {
|
|
20286
|
+
if (
|
|
20287
|
+
/*variant*/
|
|
20288
|
+
ctx[0] === "dragdrop") {
|
|
20289
|
+
if (if_block0) {
|
|
20290
|
+
if_block0.p(ctx, dirty);
|
|
20291
|
+
} else {
|
|
20292
|
+
if_block0 = create_if_block_3$1(ctx);
|
|
20293
|
+
if_block0.c();
|
|
20294
|
+
if_block0.m(t0.parentNode, t0);
|
|
20295
|
+
}
|
|
20296
|
+
} else if (if_block0) {
|
|
20297
|
+
if_block0.d(1);
|
|
20298
|
+
if_block0 = null;
|
|
20299
|
+
}
|
|
20300
|
+
|
|
20301
|
+
if (
|
|
20302
|
+
/*variant*/
|
|
20303
|
+
ctx[0] === "button") {
|
|
20304
|
+
if (if_block1) {
|
|
20305
|
+
if_block1.p(ctx, dirty);
|
|
20306
|
+
} else {
|
|
20307
|
+
if_block1 = create_if_block_1$1(ctx);
|
|
20308
|
+
if_block1.c();
|
|
20309
|
+
if_block1.m(t1.parentNode, t1);
|
|
20310
|
+
}
|
|
20311
|
+
} else if (if_block1) {
|
|
20312
|
+
if_block1.d(1);
|
|
20313
|
+
if_block1 = null;
|
|
20314
|
+
}
|
|
20315
|
+
|
|
20316
|
+
if (
|
|
20317
|
+
/*issues*/
|
|
20318
|
+
ctx[6].length) {
|
|
20319
|
+
if (if_block2) {
|
|
20320
|
+
if_block2.p(ctx, dirty);
|
|
20321
|
+
} else {
|
|
20322
|
+
if_block2 = create_if_block$1(ctx);
|
|
20323
|
+
if_block2.c();
|
|
20324
|
+
if_block2.m(if_block2_anchor.parentNode, if_block2_anchor);
|
|
20325
|
+
}
|
|
20326
|
+
} else if (if_block2) {
|
|
20327
|
+
if_block2.d(1);
|
|
20328
|
+
if_block2 = null;
|
|
20329
|
+
}
|
|
20330
|
+
},
|
|
20331
|
+
|
|
20332
|
+
i: noop,
|
|
20333
|
+
o: noop,
|
|
20334
|
+
|
|
20335
|
+
d(detaching) {
|
|
20336
|
+
if (if_block0) if_block0.d(detaching);
|
|
20337
|
+
if (detaching) detach(t0);
|
|
20338
|
+
if (if_block1) if_block1.d(detaching);
|
|
20339
|
+
if (detaching) detach(t1);
|
|
20340
|
+
if (if_block2) if_block2.d(detaching);
|
|
20341
|
+
if (detaching) detach(if_block2_anchor);
|
|
20342
|
+
}
|
|
20343
|
+
|
|
20344
|
+
};
|
|
20345
|
+
}
|
|
20346
|
+
|
|
20347
|
+
function onDrag(e) {
|
|
20348
|
+
e.preventDefault();
|
|
20349
|
+
return false;
|
|
20350
|
+
}
|
|
20351
|
+
|
|
20352
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
20353
|
+
let {
|
|
20354
|
+
variant = "dragdrop"
|
|
20355
|
+
} = $$props;
|
|
20356
|
+
let {
|
|
20357
|
+
accept = "*"
|
|
20358
|
+
} = $$props;
|
|
20359
|
+
let {
|
|
20360
|
+
maxfilesize = "5MB"
|
|
20361
|
+
} = $$props; // Private
|
|
20362
|
+
|
|
20363
|
+
let _el;
|
|
20364
|
+
|
|
20365
|
+
let _fileInput;
|
|
20366
|
+
|
|
20367
|
+
let _state = "default";
|
|
20368
|
+
let issues = []; // Hooks
|
|
20369
|
+
|
|
20370
|
+
onMount(() => {
|
|
20371
|
+
_fileInput.addEventListener("change", () => {
|
|
20372
|
+
$$invalidate(6, issues = []); // reset on every new batch of files
|
|
20373
|
+
|
|
20374
|
+
[..._fileInput.files].forEach(file => {
|
|
20375
|
+
const error = validate(file);
|
|
20376
|
+
|
|
20377
|
+
if (error) {
|
|
20378
|
+
$$invalidate(6, issues = [{
|
|
20379
|
+
filename: file.name,
|
|
20380
|
+
error
|
|
20381
|
+
}, ...issues]);
|
|
20382
|
+
return;
|
|
20383
|
+
}
|
|
20384
|
+
|
|
20385
|
+
dispatch(file);
|
|
20386
|
+
});
|
|
20387
|
+
$$invalidate(4, _fileInput.value = null, _fileInput);
|
|
20388
|
+
}, true);
|
|
20389
|
+
}); // Functions
|
|
20390
|
+
|
|
20391
|
+
function validate(file) {
|
|
20392
|
+
if (!isValidFileType(file)) {
|
|
20393
|
+
return "Invalid file type";
|
|
20394
|
+
}
|
|
20395
|
+
|
|
20396
|
+
if (!isValidFileSize(file)) {
|
|
20397
|
+
return `The file must be less than ${maxfilesize}`;
|
|
20398
|
+
}
|
|
20399
|
+
}
|
|
20400
|
+
|
|
20401
|
+
function isValidFileType(file) {
|
|
20402
|
+
const typeMatchers = accept.split(",");
|
|
20403
|
+
|
|
20404
|
+
for (const matcher of typeMatchers) {
|
|
20405
|
+
const matches = file.type.match(matcher.replace("*", ".*").replace("/", "\/")) || file.name.endsWith(accept);
|
|
20406
|
+
|
|
20407
|
+
if (matches) {
|
|
20408
|
+
return true;
|
|
20409
|
+
}
|
|
20410
|
+
}
|
|
20411
|
+
|
|
20412
|
+
return false;
|
|
20413
|
+
}
|
|
20414
|
+
|
|
20415
|
+
function isValidFileSize(file) {
|
|
20416
|
+
const [_, size, units] = maxfilesize.match(/(\d*)(\w*$)/);
|
|
20417
|
+
const factor = {
|
|
20418
|
+
"B": 1,
|
|
20419
|
+
"KB": 1024,
|
|
20420
|
+
"MB": Math.pow(1024, 2),
|
|
20421
|
+
"GB": Math.pow(1024, 3)
|
|
20422
|
+
};
|
|
20423
|
+
|
|
20424
|
+
if (file.size / factor[units] > parseInt(size)) {
|
|
20425
|
+
return false;
|
|
20426
|
+
}
|
|
20427
|
+
|
|
20428
|
+
return true;
|
|
20429
|
+
}
|
|
20430
|
+
|
|
20431
|
+
function dispatch(file) {
|
|
20432
|
+
_el.dispatchEvent(new CustomEvent("_selectFile", {
|
|
20433
|
+
composed: true,
|
|
20434
|
+
detail: {
|
|
20435
|
+
file
|
|
20436
|
+
}
|
|
20437
|
+
}));
|
|
20438
|
+
}
|
|
20439
|
+
|
|
20440
|
+
function openFilePicker() {
|
|
20441
|
+
_fileInput.click();
|
|
20442
|
+
}
|
|
20443
|
+
|
|
20444
|
+
function onDrop(e) {
|
|
20445
|
+
e.preventDefault();
|
|
20446
|
+
$$invalidate(6, issues = []); // reset on every new batch of files
|
|
20447
|
+
|
|
20448
|
+
if (e.dataTransfer.items) {
|
|
20449
|
+
[...e.dataTransfer.items].forEach(item => {
|
|
20450
|
+
if (item.kind === 'file') {
|
|
20451
|
+
const file = item.getAsFile();
|
|
20452
|
+
const error = validate(file);
|
|
20453
|
+
|
|
20454
|
+
if (error) {
|
|
20455
|
+
$$invalidate(6, issues = [{
|
|
20456
|
+
filename: file.name,
|
|
20457
|
+
error
|
|
20458
|
+
}, ...issues]);
|
|
20459
|
+
return;
|
|
20460
|
+
}
|
|
20461
|
+
|
|
20462
|
+
dispatch(item.getAsFile());
|
|
20463
|
+
}
|
|
20464
|
+
});
|
|
20465
|
+
} else {
|
|
20466
|
+
[...e.dataTransfer.files].forEach(file => {
|
|
20467
|
+
const error = validate(file);
|
|
20468
|
+
|
|
20469
|
+
if (error) {
|
|
20470
|
+
$$invalidate(6, issues = [{
|
|
20471
|
+
filename: file.name,
|
|
20472
|
+
error
|
|
20473
|
+
}, ...issues]);
|
|
20474
|
+
return;
|
|
20475
|
+
}
|
|
20476
|
+
|
|
20477
|
+
dispatch(file);
|
|
20478
|
+
});
|
|
20479
|
+
}
|
|
20480
|
+
|
|
20481
|
+
$$invalidate(4, _fileInput.value = null, _fileInput);
|
|
20482
|
+
}
|
|
20483
|
+
|
|
20484
|
+
function onDragEnter() {
|
|
20485
|
+
$$invalidate(5, _state = "dragenter");
|
|
20486
|
+
}
|
|
20487
|
+
|
|
20488
|
+
function onDragLeave(e) {
|
|
20489
|
+
// hovering over child components will result in the dragleave event to be fired,
|
|
20490
|
+
// so we must validate to whether the mouse pointer is within the bounds of the
|
|
20491
|
+
// dropable area
|
|
20492
|
+
const rect = _el.getBoundingClientRect();
|
|
20493
|
+
|
|
20494
|
+
const withinBounds = e.clientX > rect.x && e.clientX <= rect.x + rect.width && e.clientY > rect.y && e.clientY <= rect.y + rect.height;
|
|
20495
|
+
|
|
20496
|
+
if (!withinBounds) {
|
|
20497
|
+
$$invalidate(5, _state = "default");
|
|
20498
|
+
}
|
|
20499
|
+
}
|
|
20500
|
+
|
|
20501
|
+
function onMouseOver() {
|
|
20502
|
+
$$invalidate(5, _state = "hover");
|
|
20503
|
+
}
|
|
20504
|
+
|
|
20505
|
+
function onMouseOut() {
|
|
20506
|
+
$$invalidate(5, _state = "default");
|
|
20507
|
+
}
|
|
20508
|
+
|
|
20509
|
+
function input_binding($$value) {
|
|
20510
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
20511
|
+
_fileInput = $$value;
|
|
20512
|
+
$$invalidate(4, _fileInput);
|
|
20513
|
+
});
|
|
20514
|
+
}
|
|
20515
|
+
|
|
20516
|
+
function div3_binding($$value) {
|
|
20517
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
20518
|
+
_el = $$value;
|
|
20519
|
+
$$invalidate(3, _el);
|
|
20520
|
+
});
|
|
20521
|
+
}
|
|
20522
|
+
|
|
20523
|
+
function div_binding($$value) {
|
|
20524
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
20525
|
+
_el = $$value;
|
|
20526
|
+
$$invalidate(3, _el);
|
|
20527
|
+
});
|
|
20528
|
+
}
|
|
20529
|
+
|
|
20530
|
+
function input_binding_1($$value) {
|
|
20531
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
20532
|
+
_fileInput = $$value;
|
|
20533
|
+
$$invalidate(4, _fileInput);
|
|
20534
|
+
});
|
|
20535
|
+
}
|
|
20536
|
+
|
|
20537
|
+
$$self.$$set = $$props => {
|
|
20538
|
+
if ('variant' in $$props) $$invalidate(0, variant = $$props.variant);
|
|
20539
|
+
if ('accept' in $$props) $$invalidate(1, accept = $$props.accept);
|
|
20540
|
+
if ('maxfilesize' in $$props) $$invalidate(2, maxfilesize = $$props.maxfilesize);
|
|
20541
|
+
};
|
|
20542
|
+
|
|
20543
|
+
return [variant, accept, maxfilesize, _el, _fileInput, _state, issues, openFilePicker, onDrop, onDragEnter, onDragLeave, onMouseOver, onMouseOut, input_binding, div3_binding, div_binding, input_binding_1];
|
|
20544
|
+
}
|
|
20545
|
+
|
|
20546
|
+
class FileUploadInput extends SvelteElement {
|
|
20547
|
+
constructor(options) {
|
|
20548
|
+
super();
|
|
20549
|
+
this.shadowRoot.innerHTML = `<style>.dragdrop{border-radius:var(--goa-border-radius-m);border:var(--goa-border-width-m) dashed var(--goa-color-interactive-default);display:flex;font:var(--goa-typography-body-m);flex-direction:column;align-items:center;justify-content:center;gap:0.25rem;padding:3rem;color:var(--goa-color-interactive-default);text-align:center;cursor:pointer}.dragdrop:active,.dragdrop:focus-within{border-style:solid;outline:none}.dragdrop:hover div{color:var(--goa-color-interactive-hover)}.state-default{background:var(--goa-color-info-background)}.state-hover{background:var(--goa-color-greyscale-100);border-style:solid}.state-dragenter{background:var(--goa-color-info-background);border-style:solid}.instructions{display:flex;align-items:center;gap:0.5rem}@media(max-width: 640px){.instructions{flex-direction:column}}goa-icon{margin-top:4px}.browse-files{text-decoration:underline}em{font-style:normal;font:var(--goa-typography-body-s);color:var(--goa-color-greyscale-700)}.max-file-size{display:block;margin-top:0.5rem}input[type="file"]{position:absolute;left:-9999px}.issues{border-bottom:1px solid var(--goa-color-greyscale-200);margin:1rem 0}.issue{margin-bottom:1rem}.error{color:var(--goa-color-interactive-error);font-size:0.9em;display:flex;align-items:center;gap:0.5rem}</style>`;
|
|
20550
|
+
init(this, {
|
|
20551
|
+
target: this.shadowRoot,
|
|
20552
|
+
props: attribute_to_object(this.attributes),
|
|
20553
|
+
customElement: true
|
|
20554
|
+
}, instance$1, create_fragment$1, safe_not_equal, {
|
|
20555
|
+
variant: 0,
|
|
20556
|
+
accept: 1,
|
|
20557
|
+
maxfilesize: 2
|
|
20558
|
+
}, null);
|
|
20559
|
+
|
|
20560
|
+
if (options) {
|
|
20561
|
+
if (options.target) {
|
|
20562
|
+
insert(options.target, this, options.anchor);
|
|
20563
|
+
}
|
|
20564
|
+
|
|
20565
|
+
if (options.props) {
|
|
20566
|
+
this.$set(options.props);
|
|
20567
|
+
flush();
|
|
20568
|
+
}
|
|
20569
|
+
}
|
|
20570
|
+
}
|
|
20571
|
+
|
|
20572
|
+
static get observedAttributes() {
|
|
20573
|
+
return ["variant", "accept", "maxfilesize"];
|
|
20574
|
+
}
|
|
20575
|
+
|
|
20576
|
+
get variant() {
|
|
20577
|
+
return this.$$.ctx[0];
|
|
20578
|
+
}
|
|
20579
|
+
|
|
20580
|
+
set variant(variant) {
|
|
20581
|
+
this.$$set({
|
|
20582
|
+
variant
|
|
20583
|
+
});
|
|
20584
|
+
flush();
|
|
20585
|
+
}
|
|
20586
|
+
|
|
20587
|
+
get accept() {
|
|
20588
|
+
return this.$$.ctx[1];
|
|
20589
|
+
}
|
|
20590
|
+
|
|
20591
|
+
set accept(accept) {
|
|
20592
|
+
this.$$set({
|
|
20593
|
+
accept
|
|
20594
|
+
});
|
|
20595
|
+
flush();
|
|
20596
|
+
}
|
|
20597
|
+
|
|
20598
|
+
get maxfilesize() {
|
|
20599
|
+
return this.$$.ctx[2];
|
|
20600
|
+
}
|
|
20601
|
+
|
|
20602
|
+
set maxfilesize(maxfilesize) {
|
|
20603
|
+
this.$$set({
|
|
20604
|
+
maxfilesize
|
|
20605
|
+
});
|
|
20606
|
+
flush();
|
|
20607
|
+
}
|
|
20608
|
+
|
|
20609
|
+
}
|
|
20610
|
+
|
|
20611
|
+
customElements.define("goa-file-upload-input", FileUploadInput);
|
|
20612
|
+
/* libs/web-components/src/components/file-upload-card/FileUploadCard.svelte generated by Svelte v3.51.0 */
|
|
20613
|
+
|
|
20614
|
+
function create_else_block(ctx) {
|
|
20615
|
+
let goa_icon;
|
|
20616
|
+
return {
|
|
20617
|
+
c() {
|
|
20618
|
+
goa_icon = element("goa-icon");
|
|
20619
|
+
set_custom_element_data(goa_icon, "class", "fileicon");
|
|
20620
|
+
set_custom_element_data(goa_icon, "data-testid", "icon");
|
|
20621
|
+
set_custom_element_data(goa_icon, "type", "goa-file");
|
|
20622
|
+
set_custom_element_data(goa_icon, "fillcolor", "#dcdcdc");
|
|
20623
|
+
set_custom_element_data(goa_icon, "size", "xlarge");
|
|
20624
|
+
},
|
|
20625
|
+
|
|
20626
|
+
m(target, anchor) {
|
|
20627
|
+
insert(target, goa_icon, anchor);
|
|
20628
|
+
},
|
|
20629
|
+
|
|
20630
|
+
p: noop,
|
|
20631
|
+
|
|
20632
|
+
d(detaching) {
|
|
20633
|
+
if (detaching) detach(goa_icon);
|
|
20634
|
+
}
|
|
20635
|
+
|
|
20636
|
+
};
|
|
20637
|
+
} // (71:4) {#if _status === "uploaded"}
|
|
20638
|
+
|
|
20639
|
+
|
|
20640
|
+
function create_if_block_7(ctx) {
|
|
20641
|
+
let goa_icon;
|
|
20642
|
+
return {
|
|
20643
|
+
c() {
|
|
20644
|
+
goa_icon = element("goa-icon");
|
|
20645
|
+
set_custom_element_data(goa_icon, "class", "fileicon");
|
|
20646
|
+
set_custom_element_data(goa_icon, "data-testid", "icon");
|
|
20647
|
+
set_custom_element_data(goa_icon, "type",
|
|
20648
|
+
/*_fileIcon*/
|
|
20649
|
+
ctx[6]);
|
|
20650
|
+
set_custom_element_data(goa_icon, "fillcolor", "#0070c4");
|
|
20651
|
+
set_custom_element_data(goa_icon, "size", "xlarge");
|
|
20652
|
+
},
|
|
20653
|
+
|
|
20654
|
+
m(target, anchor) {
|
|
20655
|
+
insert(target, goa_icon, anchor);
|
|
20656
|
+
},
|
|
20657
|
+
|
|
20658
|
+
p(ctx, dirty) {
|
|
20659
|
+
if (dirty &
|
|
20660
|
+
/*_fileIcon*/
|
|
20661
|
+
64) {
|
|
20662
|
+
set_custom_element_data(goa_icon, "type",
|
|
20663
|
+
/*_fileIcon*/
|
|
20664
|
+
ctx[6]);
|
|
20665
|
+
}
|
|
20666
|
+
},
|
|
20667
|
+
|
|
20668
|
+
d(detaching) {
|
|
20669
|
+
if (detaching) detach(goa_icon);
|
|
20670
|
+
}
|
|
20671
|
+
|
|
20672
|
+
};
|
|
20673
|
+
} // (78:6) {#if _status !== "error"}
|
|
20674
|
+
|
|
20675
|
+
|
|
20676
|
+
function create_if_block_6(ctx) {
|
|
20677
|
+
let div;
|
|
20678
|
+
let t_value = formatFileSize(
|
|
20679
|
+
/*size*/
|
|
20680
|
+
ctx[1]) + "";
|
|
20681
|
+
let t;
|
|
20682
|
+
return {
|
|
20683
|
+
c() {
|
|
20684
|
+
div = element("div");
|
|
20685
|
+
t = text(t_value);
|
|
20686
|
+
attr(div, "class", "filesize");
|
|
20687
|
+
attr(div, "data-testid", "filesize");
|
|
20688
|
+
},
|
|
20689
|
+
|
|
20690
|
+
m(target, anchor) {
|
|
20691
|
+
insert(target, div, anchor);
|
|
20692
|
+
append(div, t);
|
|
20693
|
+
},
|
|
20694
|
+
|
|
20695
|
+
p(ctx, dirty) {
|
|
20696
|
+
if (dirty &
|
|
20697
|
+
/*size*/
|
|
20698
|
+
2 && t_value !== (t_value = formatFileSize(
|
|
20699
|
+
/*size*/
|
|
20700
|
+
ctx[1]) + "")) set_data(t, t_value);
|
|
20701
|
+
},
|
|
20702
|
+
|
|
20703
|
+
d(detaching) {
|
|
20704
|
+
if (detaching) detach(div);
|
|
20705
|
+
}
|
|
20706
|
+
|
|
20707
|
+
};
|
|
20708
|
+
} // (89:36)
|
|
20709
|
+
|
|
20710
|
+
|
|
20711
|
+
function create_if_block_5(ctx) {
|
|
20712
|
+
let div;
|
|
20713
|
+
let goa_icon;
|
|
20714
|
+
let t0;
|
|
20715
|
+
let t1;
|
|
20716
|
+
return {
|
|
20717
|
+
c() {
|
|
20718
|
+
div = element("div");
|
|
20719
|
+
goa_icon = element("goa-icon");
|
|
20720
|
+
t0 = space();
|
|
20721
|
+
t1 = text(
|
|
20722
|
+
/*error*/
|
|
20723
|
+
ctx[3]);
|
|
20724
|
+
set_custom_element_data(goa_icon, "type", "warning");
|
|
20725
|
+
set_custom_element_data(goa_icon, "size", "small");
|
|
20726
|
+
set_custom_element_data(goa_icon, "theme", "filled");
|
|
20727
|
+
attr(div, "class", "error-msg");
|
|
20728
|
+
attr(div, "data-testid", "error");
|
|
20729
|
+
},
|
|
20730
|
+
|
|
20731
|
+
m(target, anchor) {
|
|
20732
|
+
insert(target, div, anchor);
|
|
20733
|
+
append(div, goa_icon);
|
|
20734
|
+
append(div, t0);
|
|
20735
|
+
append(div, t1);
|
|
20736
|
+
},
|
|
20737
|
+
|
|
20738
|
+
p(ctx, dirty) {
|
|
20739
|
+
if (dirty &
|
|
20740
|
+
/*error*/
|
|
20741
|
+
8) set_data(t1,
|
|
20742
|
+
/*error*/
|
|
20743
|
+
ctx[3]);
|
|
20744
|
+
},
|
|
20745
|
+
|
|
20746
|
+
d(detaching) {
|
|
20747
|
+
if (detaching) detach(div);
|
|
20748
|
+
}
|
|
20749
|
+
|
|
20750
|
+
};
|
|
20751
|
+
} // (85:39)
|
|
20752
|
+
|
|
20753
|
+
|
|
20754
|
+
function create_if_block_4(ctx) {
|
|
20755
|
+
let div;
|
|
20756
|
+
return {
|
|
20757
|
+
c() {
|
|
20758
|
+
div = element("div");
|
|
20759
|
+
div.textContent = `Uploaded on ${getTimestamp()}`;
|
|
20760
|
+
attr(div, "class", "timestamp");
|
|
20761
|
+
attr(div, "data-testid", "timestamp");
|
|
20762
|
+
},
|
|
20763
|
+
|
|
20764
|
+
m(target, anchor) {
|
|
20765
|
+
insert(target, div, anchor);
|
|
20766
|
+
},
|
|
20767
|
+
|
|
20768
|
+
p: noop,
|
|
20769
|
+
|
|
20770
|
+
d(detaching) {
|
|
20771
|
+
if (detaching) detach(div);
|
|
20772
|
+
}
|
|
20773
|
+
|
|
20774
|
+
};
|
|
20775
|
+
} // (81:6) {#if _status === "uploading"}
|
|
20776
|
+
|
|
20777
|
+
|
|
20778
|
+
function create_if_block_3(ctx) {
|
|
20779
|
+
let div;
|
|
20780
|
+
let progress_1;
|
|
20781
|
+
let t0;
|
|
20782
|
+
let t1_value = Math.ceil(
|
|
20783
|
+
/*progress*/
|
|
20784
|
+
ctx[2]) + "";
|
|
20785
|
+
let t1;
|
|
20786
|
+
let t2;
|
|
20787
|
+
return {
|
|
20788
|
+
c() {
|
|
20789
|
+
div = element("div");
|
|
20790
|
+
progress_1 = element("progress");
|
|
20791
|
+
t0 = space();
|
|
20792
|
+
t1 = text(t1_value);
|
|
20793
|
+
t2 = text("%");
|
|
20794
|
+
progress_1.value =
|
|
20795
|
+
/*progress*/
|
|
20796
|
+
ctx[2];
|
|
20797
|
+
attr(progress_1, "max", "100");
|
|
20798
|
+
attr(div, "class", "progress");
|
|
20799
|
+
attr(div, "data-testid", "progress");
|
|
20800
|
+
},
|
|
20801
|
+
|
|
20802
|
+
m(target, anchor) {
|
|
20803
|
+
insert(target, div, anchor);
|
|
20804
|
+
append(div, progress_1);
|
|
20805
|
+
append(div, t0);
|
|
20806
|
+
append(div, t1);
|
|
20807
|
+
append(div, t2);
|
|
20808
|
+
},
|
|
20809
|
+
|
|
20810
|
+
p(ctx, dirty) {
|
|
20811
|
+
if (dirty &
|
|
20812
|
+
/*progress*/
|
|
20813
|
+
4) {
|
|
20814
|
+
progress_1.value =
|
|
20815
|
+
/*progress*/
|
|
20816
|
+
ctx[2];
|
|
20817
|
+
}
|
|
20818
|
+
|
|
20819
|
+
if (dirty &
|
|
20820
|
+
/*progress*/
|
|
20821
|
+
4 && t1_value !== (t1_value = Math.ceil(
|
|
20822
|
+
/*progress*/
|
|
20823
|
+
ctx[2]) + "")) set_data(t1, t1_value);
|
|
20824
|
+
},
|
|
20825
|
+
|
|
20826
|
+
d(detaching) {
|
|
20827
|
+
if (detaching) detach(div);
|
|
20828
|
+
}
|
|
20829
|
+
|
|
20830
|
+
};
|
|
20831
|
+
} // (102:36)
|
|
20832
|
+
|
|
20833
|
+
|
|
20834
|
+
function create_if_block_2(ctx) {
|
|
20835
|
+
let goa_button;
|
|
20836
|
+
let mounted;
|
|
20837
|
+
let dispose;
|
|
20838
|
+
return {
|
|
20839
|
+
c() {
|
|
20840
|
+
goa_button = element("goa-button");
|
|
20841
|
+
goa_button.textContent = "Cancel";
|
|
20842
|
+
set_custom_element_data(goa_button, "type", "tertiary");
|
|
20843
|
+
set_custom_element_data(goa_button, "size", "compact");
|
|
20844
|
+
set_custom_element_data(goa_button, "variant", "destructive");
|
|
20845
|
+
},
|
|
20846
|
+
|
|
20847
|
+
m(target, anchor) {
|
|
20848
|
+
insert(target, goa_button, anchor);
|
|
20849
|
+
|
|
20850
|
+
if (!mounted) {
|
|
20851
|
+
dispose = listen(goa_button, "click",
|
|
20852
|
+
/*click_handler_2*/
|
|
20853
|
+
ctx[11]);
|
|
20854
|
+
mounted = true;
|
|
20855
|
+
}
|
|
20856
|
+
},
|
|
20857
|
+
|
|
20858
|
+
p: noop,
|
|
20859
|
+
|
|
20860
|
+
d(detaching) {
|
|
20861
|
+
if (detaching) detach(goa_button);
|
|
20862
|
+
mounted = false;
|
|
20863
|
+
dispose();
|
|
20864
|
+
}
|
|
20865
|
+
|
|
20866
|
+
};
|
|
20867
|
+
} // (100:39)
|
|
20868
|
+
|
|
20869
|
+
|
|
20870
|
+
function create_if_block_1(ctx) {
|
|
20871
|
+
let goa_button;
|
|
20872
|
+
let mounted;
|
|
20873
|
+
let dispose;
|
|
20874
|
+
return {
|
|
20875
|
+
c() {
|
|
20876
|
+
goa_button = element("goa-button");
|
|
20877
|
+
goa_button.textContent = "Remove";
|
|
20878
|
+
set_custom_element_data(goa_button, "type", "tertiary");
|
|
20879
|
+
set_custom_element_data(goa_button, "size", "compact");
|
|
20880
|
+
set_custom_element_data(goa_button, "leadingicon", "trash");
|
|
20881
|
+
},
|
|
20882
|
+
|
|
20883
|
+
m(target, anchor) {
|
|
20884
|
+
insert(target, goa_button, anchor);
|
|
20885
|
+
|
|
20886
|
+
if (!mounted) {
|
|
20887
|
+
dispose = listen(goa_button, "click",
|
|
20888
|
+
/*click_handler_1*/
|
|
20889
|
+
ctx[10]);
|
|
20890
|
+
mounted = true;
|
|
20891
|
+
}
|
|
20892
|
+
},
|
|
20893
|
+
|
|
20894
|
+
p: noop,
|
|
20895
|
+
|
|
20896
|
+
d(detaching) {
|
|
20897
|
+
if (detaching) detach(goa_button);
|
|
20898
|
+
mounted = false;
|
|
20899
|
+
dispose();
|
|
20900
|
+
}
|
|
20901
|
+
|
|
20902
|
+
};
|
|
20903
|
+
} // (98:6) {#if _status === "uploading"}
|
|
20904
|
+
|
|
20905
|
+
|
|
20906
|
+
function create_if_block(ctx) {
|
|
20907
|
+
let goa_button;
|
|
20908
|
+
let mounted;
|
|
20909
|
+
let dispose;
|
|
20910
|
+
return {
|
|
20911
|
+
c() {
|
|
20912
|
+
goa_button = element("goa-button");
|
|
20913
|
+
goa_button.textContent = "Cancel";
|
|
20914
|
+
set_custom_element_data(goa_button, "type", "tertiary");
|
|
20915
|
+
set_custom_element_data(goa_button, "size", "compact");
|
|
20916
|
+
},
|
|
20917
|
+
|
|
20918
|
+
m(target, anchor) {
|
|
20919
|
+
insert(target, goa_button, anchor);
|
|
20920
|
+
|
|
20921
|
+
if (!mounted) {
|
|
20922
|
+
dispose = listen(goa_button, "click",
|
|
20923
|
+
/*click_handler*/
|
|
20924
|
+
ctx[9]);
|
|
20925
|
+
mounted = true;
|
|
20926
|
+
}
|
|
20927
|
+
},
|
|
20928
|
+
|
|
20929
|
+
p: noop,
|
|
20930
|
+
|
|
20931
|
+
d(detaching) {
|
|
20932
|
+
if (detaching) detach(goa_button);
|
|
20933
|
+
mounted = false;
|
|
20934
|
+
dispose();
|
|
20935
|
+
}
|
|
20936
|
+
|
|
20937
|
+
};
|
|
20938
|
+
}
|
|
20939
|
+
|
|
20940
|
+
function create_fragment(ctx) {
|
|
20941
|
+
let div3;
|
|
20942
|
+
let t0;
|
|
20943
|
+
let div1;
|
|
20944
|
+
let div0;
|
|
20945
|
+
let t1;
|
|
20946
|
+
let t2;
|
|
20947
|
+
let t3;
|
|
20948
|
+
let t4;
|
|
20949
|
+
let div2;
|
|
20950
|
+
let div3_class_value;
|
|
20951
|
+
|
|
20952
|
+
function select_block_type(ctx, dirty) {
|
|
20953
|
+
if (
|
|
20954
|
+
/*_status*/
|
|
20955
|
+
ctx[4] === "uploaded") return create_if_block_7;
|
|
20956
|
+
return create_else_block;
|
|
20957
|
+
}
|
|
20958
|
+
|
|
20959
|
+
let current_block_type = select_block_type(ctx);
|
|
20960
|
+
let if_block0 = current_block_type(ctx);
|
|
20961
|
+
let if_block1 =
|
|
20962
|
+
/*_status*/
|
|
20963
|
+
ctx[4] !== "error" && create_if_block_6(ctx);
|
|
20964
|
+
|
|
20965
|
+
function select_block_type_1(ctx, dirty) {
|
|
20966
|
+
if (
|
|
20967
|
+
/*_status*/
|
|
20968
|
+
ctx[4] === "uploading") return create_if_block_3;
|
|
20969
|
+
if (
|
|
20970
|
+
/*_status*/
|
|
20971
|
+
ctx[4] === "uploaded") return create_if_block_4;
|
|
20972
|
+
if (
|
|
20973
|
+
/*_status*/
|
|
20974
|
+
ctx[4] === "error") return create_if_block_5;
|
|
20975
|
+
}
|
|
20976
|
+
|
|
20977
|
+
let current_block_type_1 = select_block_type_1(ctx);
|
|
20978
|
+
let if_block2 = current_block_type_1 && current_block_type_1(ctx);
|
|
20979
|
+
|
|
20980
|
+
function select_block_type_2(ctx, dirty) {
|
|
20981
|
+
if (
|
|
20982
|
+
/*_status*/
|
|
20983
|
+
ctx[4] === "uploading") return create_if_block;
|
|
20984
|
+
if (
|
|
20985
|
+
/*_status*/
|
|
20986
|
+
ctx[4] === "uploaded") return create_if_block_1;
|
|
20987
|
+
if (
|
|
20988
|
+
/*_status*/
|
|
20989
|
+
ctx[4] === "error") return create_if_block_2;
|
|
20990
|
+
}
|
|
20991
|
+
|
|
20992
|
+
let current_block_type_2 = select_block_type_2(ctx);
|
|
20993
|
+
let if_block3 = current_block_type_2 && current_block_type_2(ctx);
|
|
20994
|
+
return {
|
|
20995
|
+
c() {
|
|
20996
|
+
div3 = element("div");
|
|
20997
|
+
if_block0.c();
|
|
20998
|
+
t0 = space();
|
|
20999
|
+
div1 = element("div");
|
|
21000
|
+
div0 = element("div");
|
|
21001
|
+
t1 = text(
|
|
21002
|
+
/*filename*/
|
|
21003
|
+
ctx[0]);
|
|
21004
|
+
t2 = space();
|
|
21005
|
+
if (if_block1) if_block1.c();
|
|
21006
|
+
t3 = space();
|
|
21007
|
+
if (if_block2) if_block2.c();
|
|
21008
|
+
t4 = space();
|
|
21009
|
+
div2 = element("div");
|
|
21010
|
+
if (if_block3) if_block3.c();
|
|
21011
|
+
this.c = noop;
|
|
21012
|
+
attr(div0, "class", "filename");
|
|
21013
|
+
attr(div0, "data-testid", "filename");
|
|
21014
|
+
attr(div1, "class", "details");
|
|
21015
|
+
attr(div2, "class", "actions");
|
|
21016
|
+
attr(div2, "data-testid", "actions");
|
|
21017
|
+
attr(div3, "data-testid", "root");
|
|
21018
|
+
attr(div3, "class", div3_class_value = `root ${
|
|
21019
|
+
/*_status*/
|
|
21020
|
+
ctx[4]}`);
|
|
21021
|
+
toggle_class(div3, "error",
|
|
21022
|
+
/*error*/
|
|
21023
|
+
ctx[3]);
|
|
21024
|
+
},
|
|
21025
|
+
|
|
21026
|
+
m(target, anchor) {
|
|
21027
|
+
insert(target, div3, anchor);
|
|
21028
|
+
if_block0.m(div3, null);
|
|
21029
|
+
append(div3, t0);
|
|
21030
|
+
append(div3, div1);
|
|
21031
|
+
append(div1, div0);
|
|
21032
|
+
append(div0, t1);
|
|
21033
|
+
append(div1, t2);
|
|
21034
|
+
if (if_block1) if_block1.m(div1, null);
|
|
21035
|
+
append(div1, t3);
|
|
21036
|
+
if (if_block2) if_block2.m(div1, null);
|
|
21037
|
+
append(div3, t4);
|
|
21038
|
+
append(div3, div2);
|
|
21039
|
+
if (if_block3) if_block3.m(div2, null);
|
|
21040
|
+
/*div3_binding*/
|
|
21041
|
+
|
|
21042
|
+
ctx[12](div3);
|
|
21043
|
+
},
|
|
21044
|
+
|
|
21045
|
+
p(ctx, [dirty]) {
|
|
21046
|
+
if (current_block_type === (current_block_type = select_block_type(ctx)) && if_block0) {
|
|
21047
|
+
if_block0.p(ctx, dirty);
|
|
21048
|
+
} else {
|
|
21049
|
+
if_block0.d(1);
|
|
21050
|
+
if_block0 = current_block_type(ctx);
|
|
21051
|
+
|
|
21052
|
+
if (if_block0) {
|
|
21053
|
+
if_block0.c();
|
|
21054
|
+
if_block0.m(div3, t0);
|
|
21055
|
+
}
|
|
21056
|
+
}
|
|
21057
|
+
|
|
21058
|
+
if (dirty &
|
|
21059
|
+
/*filename*/
|
|
21060
|
+
1) set_data(t1,
|
|
21061
|
+
/*filename*/
|
|
21062
|
+
ctx[0]);
|
|
21063
|
+
|
|
21064
|
+
if (
|
|
21065
|
+
/*_status*/
|
|
21066
|
+
ctx[4] !== "error") {
|
|
21067
|
+
if (if_block1) {
|
|
21068
|
+
if_block1.p(ctx, dirty);
|
|
21069
|
+
} else {
|
|
21070
|
+
if_block1 = create_if_block_6(ctx);
|
|
21071
|
+
if_block1.c();
|
|
21072
|
+
if_block1.m(div1, t3);
|
|
21073
|
+
}
|
|
21074
|
+
} else if (if_block1) {
|
|
21075
|
+
if_block1.d(1);
|
|
21076
|
+
if_block1 = null;
|
|
21077
|
+
}
|
|
21078
|
+
|
|
21079
|
+
if (current_block_type_1 === (current_block_type_1 = select_block_type_1(ctx)) && if_block2) {
|
|
21080
|
+
if_block2.p(ctx, dirty);
|
|
21081
|
+
} else {
|
|
21082
|
+
if (if_block2) if_block2.d(1);
|
|
21083
|
+
if_block2 = current_block_type_1 && current_block_type_1(ctx);
|
|
21084
|
+
|
|
21085
|
+
if (if_block2) {
|
|
21086
|
+
if_block2.c();
|
|
21087
|
+
if_block2.m(div1, null);
|
|
21088
|
+
}
|
|
21089
|
+
}
|
|
21090
|
+
|
|
21091
|
+
if (current_block_type_2 === (current_block_type_2 = select_block_type_2(ctx)) && if_block3) {
|
|
21092
|
+
if_block3.p(ctx, dirty);
|
|
21093
|
+
} else {
|
|
21094
|
+
if (if_block3) if_block3.d(1);
|
|
21095
|
+
if_block3 = current_block_type_2 && current_block_type_2(ctx);
|
|
21096
|
+
|
|
21097
|
+
if (if_block3) {
|
|
21098
|
+
if_block3.c();
|
|
21099
|
+
if_block3.m(div2, null);
|
|
21100
|
+
}
|
|
21101
|
+
}
|
|
21102
|
+
|
|
21103
|
+
if (dirty &
|
|
21104
|
+
/*_status*/
|
|
21105
|
+
16 && div3_class_value !== (div3_class_value = `root ${
|
|
21106
|
+
/*_status*/
|
|
21107
|
+
ctx[4]}`)) {
|
|
21108
|
+
attr(div3, "class", div3_class_value);
|
|
21109
|
+
}
|
|
21110
|
+
|
|
21111
|
+
if (dirty &
|
|
21112
|
+
/*_status, error*/
|
|
21113
|
+
24) {
|
|
21114
|
+
toggle_class(div3, "error",
|
|
21115
|
+
/*error*/
|
|
21116
|
+
ctx[3]);
|
|
21117
|
+
}
|
|
21118
|
+
},
|
|
21119
|
+
|
|
21120
|
+
i: noop,
|
|
21121
|
+
o: noop,
|
|
21122
|
+
|
|
21123
|
+
d(detaching) {
|
|
21124
|
+
if (detaching) detach(div3);
|
|
21125
|
+
if_block0.d();
|
|
21126
|
+
if (if_block1) if_block1.d();
|
|
21127
|
+
|
|
21128
|
+
if (if_block2) {
|
|
21129
|
+
if_block2.d();
|
|
21130
|
+
}
|
|
21131
|
+
|
|
21132
|
+
if (if_block3) {
|
|
21133
|
+
if_block3.d();
|
|
21134
|
+
}
|
|
21135
|
+
/*div3_binding*/
|
|
21136
|
+
|
|
21137
|
+
|
|
21138
|
+
ctx[12](null);
|
|
21139
|
+
}
|
|
21140
|
+
|
|
21141
|
+
};
|
|
21142
|
+
}
|
|
21143
|
+
|
|
21144
|
+
function getFiletypeIcon(filename, type) {
|
|
21145
|
+
// file extensions
|
|
21146
|
+
const parts = filename.split(".");
|
|
21147
|
+
const ext = parts[parts.length - 1];
|
|
21148
|
+
const extTypeIcon = ext === "xlxs" && "goa-xls" || ext === "xls" && "goa-xls" || ext === "zip" && "goa-zip" || ext === "docx" && "goa-doc" || ext === "doc" && "goa-doc" || ext === "pptx" && "goa-ppt" || ext === "ppt" && "goa-ppt" || ext === "pdf" && "goa-pdf" || ext === "html" && "goa-html";
|
|
21149
|
+
if (extTypeIcon) return extTypeIcon; // mimetype
|
|
21150
|
+
|
|
21151
|
+
const mimeTypeIcon = type === "application/vnd.ms-powerpoint" && "goa-ppt" || type.includes("presentationml") && "goa-ppt" || type.includes("wordprocessingml") && "goa-doc" || type.includes("spreadsheet") && "goa-xls" || type.startsWith("video") && "goa-video" || type.startsWith("audio") && "goa-audio" || type.startsWith("image") && "goa-image" || type === "application/msword" && "goa-doc" || "goa-file";
|
|
21152
|
+
return mimeTypeIcon;
|
|
21153
|
+
}
|
|
21154
|
+
|
|
21155
|
+
function formatFileSize(bytes) {
|
|
21156
|
+
switch (true) {
|
|
21157
|
+
case bytes < 1024:
|
|
21158
|
+
return bytes + "B";
|
|
21159
|
+
|
|
21160
|
+
case bytes < 1024 * 1024:
|
|
21161
|
+
return Math.round(bytes / 1024) + "KB";
|
|
21162
|
+
|
|
21163
|
+
case bytes < Math.pow(1024, 3):
|
|
21164
|
+
return Math.round(bytes / Math.pow(1024, 2)) + "MB";
|
|
21165
|
+
}
|
|
21166
|
+
}
|
|
21167
|
+
|
|
21168
|
+
function instance($$self, $$props, $$invalidate) {
|
|
21169
|
+
let {
|
|
21170
|
+
filename
|
|
21171
|
+
} = $$props;
|
|
21172
|
+
let {
|
|
21173
|
+
size
|
|
21174
|
+
} = $$props;
|
|
21175
|
+
let {
|
|
21176
|
+
type = ""
|
|
21177
|
+
} = $$props;
|
|
21178
|
+
let {
|
|
21179
|
+
progress = -1
|
|
21180
|
+
} = $$props;
|
|
21181
|
+
let {
|
|
21182
|
+
error = ""
|
|
21183
|
+
} = $$props; // Private
|
|
21184
|
+
|
|
21185
|
+
let _status = "uploading";
|
|
21186
|
+
|
|
21187
|
+
let _rootEl;
|
|
21188
|
+
|
|
21189
|
+
let _fileIcon = "goa-file";
|
|
21190
|
+
|
|
21191
|
+
function dispatch(action) {
|
|
21192
|
+
_rootEl.dispatchEvent(new CustomEvent(action, {
|
|
21193
|
+
composed: true
|
|
21194
|
+
}));
|
|
21195
|
+
}
|
|
21196
|
+
|
|
21197
|
+
const click_handler = () => dispatch("_cancel");
|
|
21198
|
+
|
|
21199
|
+
const click_handler_1 = () => dispatch("_delete");
|
|
21200
|
+
|
|
21201
|
+
const click_handler_2 = () => dispatch("_delete");
|
|
21202
|
+
|
|
21203
|
+
function div3_binding($$value) {
|
|
21204
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
21205
|
+
_rootEl = $$value;
|
|
21206
|
+
$$invalidate(5, _rootEl);
|
|
21207
|
+
});
|
|
21208
|
+
}
|
|
21209
|
+
|
|
21210
|
+
$$self.$$set = $$props => {
|
|
21211
|
+
if ('filename' in $$props) $$invalidate(0, filename = $$props.filename);
|
|
21212
|
+
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
21213
|
+
if ('type' in $$props) $$invalidate(8, type = $$props.type);
|
|
21214
|
+
if ('progress' in $$props) $$invalidate(2, progress = $$props.progress);
|
|
21215
|
+
if ('error' in $$props) $$invalidate(3, error = $$props.error);
|
|
21216
|
+
};
|
|
21217
|
+
|
|
21218
|
+
$$self.$$.update = () => {
|
|
21219
|
+
if ($$self.$$.dirty &
|
|
21220
|
+
/*error, progress*/
|
|
21221
|
+
12) {
|
|
21222
|
+
// Reactive
|
|
21223
|
+
$$invalidate(4, _status = error && "error" || progress >= 0 && progress < 100 && "uploading" || "uploaded");
|
|
21224
|
+
}
|
|
21225
|
+
|
|
21226
|
+
if ($$self.$$.dirty &
|
|
21227
|
+
/*filename, type*/
|
|
21228
|
+
257) {
|
|
21229
|
+
$$invalidate(6, _fileIcon = filename && type && getFiletypeIcon(filename, type));
|
|
21230
|
+
}
|
|
21231
|
+
};
|
|
21232
|
+
|
|
21233
|
+
return [filename, size, progress, error, _status, _rootEl, _fileIcon, dispatch, type, click_handler, click_handler_1, click_handler_2, div3_binding];
|
|
21234
|
+
}
|
|
21235
|
+
|
|
21236
|
+
class FileUploadCard extends SvelteElement {
|
|
21237
|
+
constructor(options) {
|
|
21238
|
+
super();
|
|
21239
|
+
this.shadowRoot.innerHTML = `<style>.root{padding:var(--goa-space-l);border:var(--goa-border-width-s) solid var(--goa-color-greyscale-200);border-radius:var(--goa-border-radius-m);margin:0.5rem 0;display:grid;grid-template-columns:38px auto;grid-template-rows:repeat(2, auto);grid-template-areas:"icon details"
|
|
21240
|
+
"action action";gap:1rem;align-items:center}.root.error{border:var(--goa-border-width-m) solid var(--goa-color-interactive-error)}@media(min-width: 480px){.root{grid-template-columns:38px 1fr auto;grid-template-rows:auto;grid-template-areas:"icon details action"}.details{margin-left:0.5rem}}.fileicon{grid-area:icon;align-self:center}.actions{grid-area:action}.details{grid-area:details;display:flex;flex-direction:column;overflow-x:hidden}.filename{grid-area:filename;font-size:var(--goa-font-size-4);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.error-msg{display:flex;align-items:flex-start;margin-top:0.5rem;gap:var(--goa-space-2xs);color:var(--goa-color-interactive-error);font:var(--goa-typography-body-xs)}.timestamp,.filesize{color:var(--goa-color-greyscale-700);font:var(--goa-typography-body-s)}.progress{display:flex;align-items:center;font:var(--goa-typography-body-xs);gap:0.5rem}progress{flex:1 1 auto;-webkit-appearance:none;appearance:none;height:4px;border:none;border-radius:var(--goa-border-radius-m);background:var(--goa-color-greyscale-200);color:var(--goa-color-greyscale-700)}progress::-webkit-progress-value{background:var(--goa-color-interactive-default)}progress::-webkit-progress-bar{background:var(--goa-color-greyscale-200)}progress::-moz-progress-bar{background:var(--goa-color-interactive-default)}</style>`;
|
|
21241
|
+
init(this, {
|
|
21242
|
+
target: this.shadowRoot,
|
|
21243
|
+
props: attribute_to_object(this.attributes),
|
|
21244
|
+
customElement: true
|
|
21245
|
+
}, instance, create_fragment, safe_not_equal, {
|
|
21246
|
+
filename: 0,
|
|
21247
|
+
size: 1,
|
|
21248
|
+
type: 8,
|
|
21249
|
+
progress: 2,
|
|
21250
|
+
error: 3
|
|
21251
|
+
}, null);
|
|
21252
|
+
|
|
21253
|
+
if (options) {
|
|
21254
|
+
if (options.target) {
|
|
21255
|
+
insert(options.target, this, options.anchor);
|
|
21256
|
+
}
|
|
21257
|
+
|
|
21258
|
+
if (options.props) {
|
|
21259
|
+
this.$set(options.props);
|
|
21260
|
+
flush();
|
|
21261
|
+
}
|
|
21262
|
+
}
|
|
21263
|
+
}
|
|
21264
|
+
|
|
21265
|
+
static get observedAttributes() {
|
|
21266
|
+
return ["filename", "size", "type", "progress", "error"];
|
|
21267
|
+
}
|
|
21268
|
+
|
|
21269
|
+
get filename() {
|
|
21270
|
+
return this.$$.ctx[0];
|
|
21271
|
+
}
|
|
21272
|
+
|
|
21273
|
+
set filename(filename) {
|
|
21274
|
+
this.$$set({
|
|
21275
|
+
filename
|
|
21276
|
+
});
|
|
21277
|
+
flush();
|
|
21278
|
+
}
|
|
21279
|
+
|
|
21280
|
+
get size() {
|
|
21281
|
+
return this.$$.ctx[1];
|
|
21282
|
+
}
|
|
21283
|
+
|
|
21284
|
+
set size(size) {
|
|
21285
|
+
this.$$set({
|
|
21286
|
+
size
|
|
21287
|
+
});
|
|
21288
|
+
flush();
|
|
21289
|
+
}
|
|
21290
|
+
|
|
21291
|
+
get type() {
|
|
21292
|
+
return this.$$.ctx[8];
|
|
21293
|
+
}
|
|
21294
|
+
|
|
21295
|
+
set type(type) {
|
|
21296
|
+
this.$$set({
|
|
21297
|
+
type
|
|
21298
|
+
});
|
|
21299
|
+
flush();
|
|
21300
|
+
}
|
|
21301
|
+
|
|
21302
|
+
get progress() {
|
|
21303
|
+
return this.$$.ctx[2];
|
|
21304
|
+
}
|
|
21305
|
+
|
|
21306
|
+
set progress(progress) {
|
|
21307
|
+
this.$$set({
|
|
21308
|
+
progress
|
|
21309
|
+
});
|
|
21310
|
+
flush();
|
|
21311
|
+
}
|
|
21312
|
+
|
|
21313
|
+
get error() {
|
|
21314
|
+
return this.$$.ctx[3];
|
|
21315
|
+
}
|
|
21316
|
+
|
|
21317
|
+
set error(error) {
|
|
21318
|
+
this.$$set({
|
|
21319
|
+
error
|
|
21320
|
+
});
|
|
21321
|
+
flush();
|
|
21322
|
+
}
|
|
21323
|
+
|
|
21324
|
+
}
|
|
21325
|
+
|
|
21326
|
+
customElements.define("goa-file-upload-card", FileUploadCard);
|
|
21327
|
+
|
|
21328
|
+
function GoAPages(props) {
|
|
21329
|
+
return jsx("goa-pages", Object.assign({
|
|
21330
|
+
current: props.current,
|
|
21331
|
+
ml: props.ml,
|
|
21332
|
+
mr: props.mr,
|
|
21333
|
+
mt: props.mt,
|
|
21334
|
+
mb: props.mb
|
|
21335
|
+
}, {
|
|
21336
|
+
children: props.children
|
|
21337
|
+
}), void 0);
|
|
21338
|
+
}
|
|
21339
|
+
|
|
21340
|
+
function GoAFileUploadCard({
|
|
21341
|
+
filename,
|
|
21342
|
+
size,
|
|
21343
|
+
type,
|
|
21344
|
+
progress,
|
|
21345
|
+
error,
|
|
21346
|
+
onDelete,
|
|
21347
|
+
onCancel
|
|
21348
|
+
}) {
|
|
21349
|
+
const el = useRef(null);
|
|
21350
|
+
useEffect(() => {
|
|
21351
|
+
if (!el.current) return;
|
|
21352
|
+
const current = el.current;
|
|
21353
|
+
|
|
21354
|
+
const deleteHandler = () => onDelete === null || onDelete === void 0 ? void 0 : onDelete();
|
|
21355
|
+
|
|
21356
|
+
const cancelHandler = () => onCancel === null || onCancel === void 0 ? void 0 : onCancel();
|
|
21357
|
+
|
|
21358
|
+
current.addEventListener("_delete", deleteHandler);
|
|
21359
|
+
current.addEventListener("_cancel", cancelHandler);
|
|
21360
|
+
return () => {
|
|
21361
|
+
current.removeEventListener("_delete", deleteHandler);
|
|
21362
|
+
current.removeEventListener("_cancel", cancelHandler);
|
|
21363
|
+
};
|
|
21364
|
+
}, [el, onDelete, onCancel]);
|
|
21365
|
+
return jsx("goa-file-upload-card", {
|
|
21366
|
+
ref: el,
|
|
21367
|
+
filename: filename,
|
|
21368
|
+
size: size,
|
|
21369
|
+
type: type,
|
|
21370
|
+
progress: progress,
|
|
21371
|
+
error: error
|
|
21372
|
+
}, void 0);
|
|
21373
|
+
}
|
|
21374
|
+
|
|
21375
|
+
function GoAFileUploadInput({
|
|
21376
|
+
variant,
|
|
21377
|
+
accept,
|
|
21378
|
+
maxFileSize,
|
|
21379
|
+
onSelectFile
|
|
21380
|
+
}) {
|
|
21381
|
+
const el = useRef(null);
|
|
21382
|
+
useEffect(() => {
|
|
21383
|
+
if (!el.current) return;
|
|
21384
|
+
const current = el.current;
|
|
21385
|
+
|
|
21386
|
+
const handler = e => {
|
|
21387
|
+
onSelectFile(e.detail.file);
|
|
21388
|
+
};
|
|
21389
|
+
|
|
21390
|
+
current.addEventListener("_selectFile", handler);
|
|
21391
|
+
return () => {
|
|
21392
|
+
current.removeEventListener("_selectFile", handler);
|
|
21393
|
+
};
|
|
21394
|
+
}, [el, onSelectFile]);
|
|
21395
|
+
return jsx("goa-file-upload-input", {
|
|
21396
|
+
ref: el,
|
|
21397
|
+
variant: variant,
|
|
21398
|
+
accept: accept,
|
|
21399
|
+
maxfilesize: maxFileSize
|
|
21400
|
+
}, void 0);
|
|
19841
21401
|
}
|
|
19842
21402
|
|
|
19843
21403
|
const GoAAccordion = ({
|
|
@@ -21319,4 +22879,4 @@ function GoATwoColumnLayout(props) {
|
|
|
21319
22879
|
}), void 0);
|
|
21320
22880
|
}
|
|
21321
22881
|
|
|
21322
|
-
export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADetails, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, GoAFormStep, GoAFormStepper, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoAPages, GoAPagination, GoAPopover, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|
|
22882
|
+
export { GoAAccordion, GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADetails, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFileUploadCard, GoAFileUploadInput, GoAFormItem, GoAFormStep, GoAFormStepper, GoAGrid, GoAHeroBanner, GoAHeroBannerActions, GoAIcon, GoAIconButton, GoAImportantBadge, GoAInfoBadge, GoAInput, GoAInputDate, GoAInputDateTime, GoAInputEmail, GoAInputFile, GoAInputMonth, GoAInputNumber, GoAInputPassword, GoAInputRange, GoAInputSearch, GoAInputTel, GoAInputText, GoAInputTime, GoAInputUrl, GoAMicrositeHeader, GoAModal, GoANotification, GoAOneColumnLayout, GoAPageBlock, GoAPages, GoAPagination, GoAPopover, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|