@abgov/react-components 4.0.0-alpha.105 → 4.0.0-alpha.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1 -0
- package/lib/input/input.d.ts +2 -0
- package/lib/pagination/pagination.d.ts +25 -0
- package/package.json +1 -1
- package/react-components.esm.js +802 -226
- package/react-components.umd.js +801 -225
package/react-components.esm.js
CHANGED
|
@@ -1083,7 +1083,7 @@ function create_else_block$4(ctx) {
|
|
|
1083
1083
|
} // (19:4) {#if url}
|
|
1084
1084
|
|
|
1085
1085
|
|
|
1086
|
-
function create_if_block$
|
|
1086
|
+
function create_if_block$i(ctx) {
|
|
1087
1087
|
let a;
|
|
1088
1088
|
let img0;
|
|
1089
1089
|
let img0_src_value;
|
|
@@ -1150,7 +1150,7 @@ function create_if_block$h(ctx) {
|
|
|
1150
1150
|
};
|
|
1151
1151
|
}
|
|
1152
1152
|
|
|
1153
|
-
function create_fragment$
|
|
1153
|
+
function create_fragment$G(ctx) {
|
|
1154
1154
|
let div2;
|
|
1155
1155
|
let div1;
|
|
1156
1156
|
let t;
|
|
@@ -1160,7 +1160,7 @@ function create_fragment$F(ctx) {
|
|
|
1160
1160
|
function select_block_type(ctx, dirty) {
|
|
1161
1161
|
if (
|
|
1162
1162
|
/*url*/
|
|
1163
|
-
ctx[1]) return create_if_block$
|
|
1163
|
+
ctx[1]) return create_if_block$i;
|
|
1164
1164
|
return create_else_block$4;
|
|
1165
1165
|
}
|
|
1166
1166
|
|
|
@@ -1234,7 +1234,7 @@ function create_fragment$F(ctx) {
|
|
|
1234
1234
|
};
|
|
1235
1235
|
}
|
|
1236
1236
|
|
|
1237
|
-
function instance$
|
|
1237
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1238
1238
|
let {
|
|
1239
1239
|
heading = ""
|
|
1240
1240
|
} = $$props;
|
|
@@ -1266,7 +1266,7 @@ class AppHeader extends SvelteElement {
|
|
|
1266
1266
|
target: this.shadowRoot,
|
|
1267
1267
|
props: attribute_to_object(this.attributes),
|
|
1268
1268
|
customElement: true
|
|
1269
|
-
}, instance$
|
|
1269
|
+
}, instance$A, create_fragment$G, safe_not_equal, {
|
|
1270
1270
|
heading: 0,
|
|
1271
1271
|
url: 1,
|
|
1272
1272
|
testid: 2,
|
|
@@ -1451,7 +1451,7 @@ function create_if_block_1$a(ctx) {
|
|
|
1451
1451
|
} // (50:2) {#if content}
|
|
1452
1452
|
|
|
1453
1453
|
|
|
1454
|
-
function create_if_block$
|
|
1454
|
+
function create_if_block$h(ctx) {
|
|
1455
1455
|
let div;
|
|
1456
1456
|
let t;
|
|
1457
1457
|
return {
|
|
@@ -1483,7 +1483,7 @@ function create_if_block$g(ctx) {
|
|
|
1483
1483
|
};
|
|
1484
1484
|
}
|
|
1485
1485
|
|
|
1486
|
-
function create_fragment$
|
|
1486
|
+
function create_fragment$F(ctx) {
|
|
1487
1487
|
let div;
|
|
1488
1488
|
let t;
|
|
1489
1489
|
let div_style_value;
|
|
@@ -1500,7 +1500,7 @@ function create_fragment$E(ctx) {
|
|
|
1500
1500
|
let if_block0 = current_block_type(ctx);
|
|
1501
1501
|
let if_block1 =
|
|
1502
1502
|
/*content*/
|
|
1503
|
-
ctx[2] && create_if_block$
|
|
1503
|
+
ctx[2] && create_if_block$h(ctx);
|
|
1504
1504
|
return {
|
|
1505
1505
|
c() {
|
|
1506
1506
|
div = element("div");
|
|
@@ -1557,7 +1557,7 @@ function create_fragment$E(ctx) {
|
|
|
1557
1557
|
if (if_block1) {
|
|
1558
1558
|
if_block1.p(ctx, dirty);
|
|
1559
1559
|
} else {
|
|
1560
|
-
if_block1 = create_if_block$
|
|
1560
|
+
if_block1 = create_if_block$h(ctx);
|
|
1561
1561
|
if_block1.c();
|
|
1562
1562
|
if_block1.m(div, null);
|
|
1563
1563
|
}
|
|
@@ -1619,7 +1619,7 @@ function create_fragment$E(ctx) {
|
|
|
1619
1619
|
};
|
|
1620
1620
|
}
|
|
1621
1621
|
|
|
1622
|
-
function instance$
|
|
1622
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1623
1623
|
let showIcon;
|
|
1624
1624
|
let iconType;
|
|
1625
1625
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -1699,7 +1699,7 @@ class Badge extends SvelteElement {
|
|
|
1699
1699
|
target: this.shadowRoot,
|
|
1700
1700
|
props: attribute_to_object(this.attributes),
|
|
1701
1701
|
customElement: true
|
|
1702
|
-
}, instance$
|
|
1702
|
+
}, instance$z, create_fragment$F, safe_not_equal, {
|
|
1703
1703
|
type: 0,
|
|
1704
1704
|
testid: 1,
|
|
1705
1705
|
content: 2,
|
|
@@ -1819,7 +1819,7 @@ class Badge extends SvelteElement {
|
|
|
1819
1819
|
customElements.define("goa-badge", Badge);
|
|
1820
1820
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
1821
1821
|
|
|
1822
|
-
function create_fragment$
|
|
1822
|
+
function create_fragment$E(ctx) {
|
|
1823
1823
|
let div;
|
|
1824
1824
|
let slot;
|
|
1825
1825
|
let div_style_value;
|
|
@@ -1838,7 +1838,7 @@ function create_fragment$D(ctx) {
|
|
|
1838
1838
|
/*mb*/
|
|
1839
1839
|
ctx[5],
|
|
1840
1840
|
/*ml*/
|
|
1841
|
-
ctx[6])}
|
|
1841
|
+
ctx[6])};
|
|
1842
1842
|
--gap: var(--goa-space-${
|
|
1843
1843
|
/*gap*/
|
|
1844
1844
|
ctx[0]});
|
|
@@ -1868,7 +1868,7 @@ function create_fragment$D(ctx) {
|
|
|
1868
1868
|
/*mb*/
|
|
1869
1869
|
ctx[5],
|
|
1870
1870
|
/*ml*/
|
|
1871
|
-
ctx[6])}
|
|
1871
|
+
ctx[6])};
|
|
1872
1872
|
--gap: var(--goa-space-${
|
|
1873
1873
|
/*gap*/
|
|
1874
1874
|
ctx[0]});
|
|
@@ -1893,7 +1893,7 @@ function create_fragment$D(ctx) {
|
|
|
1893
1893
|
};
|
|
1894
1894
|
}
|
|
1895
1895
|
|
|
1896
|
-
function instance$
|
|
1896
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
1897
1897
|
let {
|
|
1898
1898
|
gap = "m"
|
|
1899
1899
|
} = $$props;
|
|
@@ -1937,7 +1937,7 @@ class Block extends SvelteElement {
|
|
|
1937
1937
|
target: this.shadowRoot,
|
|
1938
1938
|
props: attribute_to_object(this.attributes),
|
|
1939
1939
|
customElement: true
|
|
1940
|
-
}, instance$
|
|
1940
|
+
}, instance$y, create_fragment$E, safe_not_equal, {
|
|
1941
1941
|
gap: 0,
|
|
1942
1942
|
direction: 1,
|
|
1943
1943
|
alignment: 2,
|
|
@@ -2119,10 +2119,10 @@ function create_else_block$2(ctx) {
|
|
|
2119
2119
|
}
|
|
2120
2120
|
|
|
2121
2121
|
};
|
|
2122
|
-
} // (
|
|
2122
|
+
} // (46:2) {#if type === "start"}
|
|
2123
2123
|
|
|
2124
2124
|
|
|
2125
|
-
function create_if_block$
|
|
2125
|
+
function create_if_block$g(ctx) {
|
|
2126
2126
|
let span;
|
|
2127
2127
|
let t;
|
|
2128
2128
|
let goa_icon;
|
|
@@ -2153,7 +2153,7 @@ function create_if_block$f(ctx) {
|
|
|
2153
2153
|
}
|
|
2154
2154
|
|
|
2155
2155
|
};
|
|
2156
|
-
} // (
|
|
2156
|
+
} // (52:4) {#if leadingicon}
|
|
2157
2157
|
|
|
2158
2158
|
|
|
2159
2159
|
function create_if_block_2$6(ctx) {
|
|
@@ -2167,7 +2167,7 @@ function create_if_block_2$6(ctx) {
|
|
|
2167
2167
|
ctx[3]);
|
|
2168
2168
|
set_custom_element_data(goa_icon, "inverted",
|
|
2169
2169
|
/*isButtonDark*/
|
|
2170
|
-
ctx[
|
|
2170
|
+
ctx[11]);
|
|
2171
2171
|
},
|
|
2172
2172
|
|
|
2173
2173
|
m(target, anchor) {
|
|
@@ -2185,10 +2185,10 @@ function create_if_block_2$6(ctx) {
|
|
|
2185
2185
|
|
|
2186
2186
|
if (dirty &
|
|
2187
2187
|
/*isButtonDark*/
|
|
2188
|
-
|
|
2188
|
+
2048) {
|
|
2189
2189
|
set_custom_element_data(goa_icon, "inverted",
|
|
2190
2190
|
/*isButtonDark*/
|
|
2191
|
-
ctx[
|
|
2191
|
+
ctx[11]);
|
|
2192
2192
|
}
|
|
2193
2193
|
},
|
|
2194
2194
|
|
|
@@ -2197,7 +2197,7 @@ function create_if_block_2$6(ctx) {
|
|
|
2197
2197
|
}
|
|
2198
2198
|
|
|
2199
2199
|
};
|
|
2200
|
-
} // (
|
|
2200
|
+
} // (58:4) {#if trailingicon}
|
|
2201
2201
|
|
|
2202
2202
|
|
|
2203
2203
|
function create_if_block_1$9(ctx) {
|
|
@@ -2211,7 +2211,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2211
2211
|
ctx[4]);
|
|
2212
2212
|
set_custom_element_data(goa_icon, "inverted",
|
|
2213
2213
|
/*isButtonDark*/
|
|
2214
|
-
ctx[
|
|
2214
|
+
ctx[11]);
|
|
2215
2215
|
},
|
|
2216
2216
|
|
|
2217
2217
|
m(target, anchor) {
|
|
@@ -2229,10 +2229,10 @@ function create_if_block_1$9(ctx) {
|
|
|
2229
2229
|
|
|
2230
2230
|
if (dirty &
|
|
2231
2231
|
/*isButtonDark*/
|
|
2232
|
-
|
|
2232
|
+
2048) {
|
|
2233
2233
|
set_custom_element_data(goa_icon, "inverted",
|
|
2234
2234
|
/*isButtonDark*/
|
|
2235
|
-
ctx[
|
|
2235
|
+
ctx[11]);
|
|
2236
2236
|
}
|
|
2237
2237
|
},
|
|
2238
2238
|
|
|
@@ -2243,7 +2243,7 @@ function create_if_block_1$9(ctx) {
|
|
|
2243
2243
|
};
|
|
2244
2244
|
}
|
|
2245
2245
|
|
|
2246
|
-
function create_fragment$
|
|
2246
|
+
function create_fragment$D(ctx) {
|
|
2247
2247
|
let button;
|
|
2248
2248
|
let button_class_value;
|
|
2249
2249
|
let button_style_value;
|
|
@@ -2253,7 +2253,7 @@ function create_fragment$C(ctx) {
|
|
|
2253
2253
|
function select_block_type(ctx, dirty) {
|
|
2254
2254
|
if (
|
|
2255
2255
|
/*type*/
|
|
2256
|
-
ctx[0] === "start") return create_if_block$
|
|
2256
|
+
ctx[0] === "start") return create_if_block$g;
|
|
2257
2257
|
return create_else_block$2;
|
|
2258
2258
|
}
|
|
2259
2259
|
|
|
@@ -2282,7 +2282,7 @@ function create_fragment$C(ctx) {
|
|
|
2282
2282
|
ctx[9]));
|
|
2283
2283
|
button.disabled =
|
|
2284
2284
|
/*isDisabled*/
|
|
2285
|
-
ctx[
|
|
2285
|
+
ctx[10];
|
|
2286
2286
|
attr(button, "data-testid",
|
|
2287
2287
|
/*testid*/
|
|
2288
2288
|
ctx[5]);
|
|
@@ -2301,7 +2301,11 @@ function create_fragment$C(ctx) {
|
|
|
2301
2301
|
if_block.m(button, null);
|
|
2302
2302
|
|
|
2303
2303
|
if (!mounted) {
|
|
2304
|
-
dispose = [listen(button, "click",
|
|
2304
|
+
dispose = [listen(button, "click",
|
|
2305
|
+
/*clickHandler*/
|
|
2306
|
+
ctx[12]), listen(button, "click",
|
|
2307
|
+
/*clickHandler*/
|
|
2308
|
+
ctx[12])];
|
|
2305
2309
|
mounted = true;
|
|
2306
2310
|
}
|
|
2307
2311
|
},
|
|
@@ -2347,10 +2351,10 @@ function create_fragment$C(ctx) {
|
|
|
2347
2351
|
|
|
2348
2352
|
if (dirty &
|
|
2349
2353
|
/*isDisabled*/
|
|
2350
|
-
|
|
2354
|
+
1024) {
|
|
2351
2355
|
button.disabled =
|
|
2352
2356
|
/*isDisabled*/
|
|
2353
|
-
ctx[
|
|
2357
|
+
ctx[10];
|
|
2354
2358
|
}
|
|
2355
2359
|
|
|
2356
2360
|
if (dirty &
|
|
@@ -2393,15 +2397,7 @@ function create_fragment$C(ctx) {
|
|
|
2393
2397
|
};
|
|
2394
2398
|
}
|
|
2395
2399
|
|
|
2396
|
-
function
|
|
2397
|
-
this.dispatchEvent(new CustomEvent("_click", {
|
|
2398
|
-
composed: true,
|
|
2399
|
-
bubbles: true
|
|
2400
|
-
}));
|
|
2401
|
-
e.stopPropagation();
|
|
2402
|
-
}
|
|
2403
|
-
|
|
2404
|
-
function instance$w($$self, $$props, $$invalidate) {
|
|
2400
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
2405
2401
|
let isDisabled;
|
|
2406
2402
|
let isButtonDark;
|
|
2407
2403
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2440,6 +2436,16 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
2440
2436
|
let {
|
|
2441
2437
|
ml = null
|
|
2442
2438
|
} = $$props;
|
|
2439
|
+
|
|
2440
|
+
function clickHandler(e) {
|
|
2441
|
+
if (!isDisabled) {
|
|
2442
|
+
this.dispatchEvent(new CustomEvent("_click", {
|
|
2443
|
+
composed: true,
|
|
2444
|
+
bubbles: true
|
|
2445
|
+
}));
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
|
|
2443
2449
|
onMount(() => {
|
|
2444
2450
|
validateType(type);
|
|
2445
2451
|
validateSize(size);
|
|
@@ -2450,7 +2456,7 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
2450
2456
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
2451
2457
|
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
2452
2458
|
if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
|
|
2453
|
-
if ('disabled' in $$props) $$invalidate(
|
|
2459
|
+
if ('disabled' in $$props) $$invalidate(13, disabled = $$props.disabled);
|
|
2454
2460
|
if ('leadingicon' in $$props) $$invalidate(3, leadingicon = $$props.leadingicon);
|
|
2455
2461
|
if ('trailingicon' in $$props) $$invalidate(4, trailingicon = $$props.trailingicon);
|
|
2456
2462
|
if ('testid' in $$props) $$invalidate(5, testid = $$props.testid);
|
|
@@ -2463,18 +2469,18 @@ function instance$w($$self, $$props, $$invalidate) {
|
|
|
2463
2469
|
$$self.$$.update = () => {
|
|
2464
2470
|
if ($$self.$$.dirty &
|
|
2465
2471
|
/*disabled*/
|
|
2466
|
-
|
|
2467
|
-
$$invalidate(
|
|
2472
|
+
8192) {
|
|
2473
|
+
$$invalidate(10, isDisabled = toBoolean(disabled));
|
|
2468
2474
|
}
|
|
2469
2475
|
|
|
2470
2476
|
if ($$self.$$.dirty &
|
|
2471
2477
|
/*type*/
|
|
2472
2478
|
1) {
|
|
2473
|
-
$$invalidate(
|
|
2479
|
+
$$invalidate(11, isButtonDark = type === "primary" || type === "start");
|
|
2474
2480
|
}
|
|
2475
2481
|
};
|
|
2476
2482
|
|
|
2477
|
-
return [type, size, variant, leadingicon, trailingicon, testid, mt, mr, mb, ml, isButtonDark,
|
|
2483
|
+
return [type, size, variant, leadingicon, trailingicon, testid, mt, mr, mb, ml, isDisabled, isButtonDark, clickHandler, disabled];
|
|
2478
2484
|
}
|
|
2479
2485
|
|
|
2480
2486
|
class Button extends SvelteElement {
|
|
@@ -2486,11 +2492,11 @@ class Button extends SvelteElement {
|
|
|
2486
2492
|
target: this.shadowRoot,
|
|
2487
2493
|
props: attribute_to_object(this.attributes),
|
|
2488
2494
|
customElement: true
|
|
2489
|
-
}, instance$
|
|
2495
|
+
}, instance$x, create_fragment$D, safe_not_equal, {
|
|
2490
2496
|
type: 0,
|
|
2491
2497
|
size: 1,
|
|
2492
2498
|
variant: 2,
|
|
2493
|
-
disabled:
|
|
2499
|
+
disabled: 13,
|
|
2494
2500
|
leadingicon: 3,
|
|
2495
2501
|
trailingicon: 4,
|
|
2496
2502
|
testid: 5,
|
|
@@ -2550,7 +2556,7 @@ class Button extends SvelteElement {
|
|
|
2550
2556
|
}
|
|
2551
2557
|
|
|
2552
2558
|
get disabled() {
|
|
2553
|
-
return this.$$.ctx[
|
|
2559
|
+
return this.$$.ctx[13];
|
|
2554
2560
|
}
|
|
2555
2561
|
|
|
2556
2562
|
set disabled(disabled) {
|
|
@@ -2642,7 +2648,7 @@ class Button extends SvelteElement {
|
|
|
2642
2648
|
customElements.define("goa-button", Button);
|
|
2643
2649
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
2644
2650
|
|
|
2645
|
-
function create_fragment$
|
|
2651
|
+
function create_fragment$C(ctx) {
|
|
2646
2652
|
let div;
|
|
2647
2653
|
let slot;
|
|
2648
2654
|
let div_style_value;
|
|
@@ -2712,7 +2718,7 @@ function create_fragment$B(ctx) {
|
|
|
2712
2718
|
};
|
|
2713
2719
|
}
|
|
2714
2720
|
|
|
2715
|
-
function instance$
|
|
2721
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
2716
2722
|
let _alignment;
|
|
2717
2723
|
|
|
2718
2724
|
let {
|
|
@@ -2776,7 +2782,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
2776
2782
|
target: this.shadowRoot,
|
|
2777
2783
|
props: attribute_to_object(this.attributes),
|
|
2778
2784
|
customElement: true
|
|
2779
|
-
}, instance$
|
|
2785
|
+
}, instance$w, create_fragment$C, safe_not_equal, {
|
|
2780
2786
|
alignment: 7,
|
|
2781
2787
|
gap: 0,
|
|
2782
2788
|
testid: 1,
|
|
@@ -2884,7 +2890,7 @@ class ButtonGroup extends SvelteElement {
|
|
|
2884
2890
|
customElements.define("goa-button-group", ButtonGroup);
|
|
2885
2891
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
2886
2892
|
|
|
2887
|
-
function create_if_block$
|
|
2893
|
+
function create_if_block$f(ctx) {
|
|
2888
2894
|
let h3;
|
|
2889
2895
|
let t;
|
|
2890
2896
|
return {
|
|
@@ -2915,7 +2921,7 @@ function create_if_block$e(ctx) {
|
|
|
2915
2921
|
};
|
|
2916
2922
|
}
|
|
2917
2923
|
|
|
2918
|
-
function create_fragment$
|
|
2924
|
+
function create_fragment$B(ctx) {
|
|
2919
2925
|
let div;
|
|
2920
2926
|
let span0;
|
|
2921
2927
|
let goa_icon;
|
|
@@ -2928,7 +2934,7 @@ function create_fragment$A(ctx) {
|
|
|
2928
2934
|
let div_style_value;
|
|
2929
2935
|
let if_block =
|
|
2930
2936
|
/*heading*/
|
|
2931
|
-
ctx[5] && create_if_block$
|
|
2937
|
+
ctx[5] && create_if_block$f(ctx);
|
|
2932
2938
|
return {
|
|
2933
2939
|
c() {
|
|
2934
2940
|
div = element("div");
|
|
@@ -3007,7 +3013,7 @@ function create_fragment$A(ctx) {
|
|
|
3007
3013
|
if (if_block) {
|
|
3008
3014
|
if_block.p(ctx, dirty);
|
|
3009
3015
|
} else {
|
|
3010
|
-
if_block = create_if_block$
|
|
3016
|
+
if_block = create_if_block$f(ctx);
|
|
3011
3017
|
if_block.c();
|
|
3012
3018
|
if_block.m(span1, t1);
|
|
3013
3019
|
}
|
|
@@ -3050,7 +3056,7 @@ function create_fragment$A(ctx) {
|
|
|
3050
3056
|
};
|
|
3051
3057
|
}
|
|
3052
3058
|
|
|
3053
|
-
function instance$
|
|
3059
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
3054
3060
|
let iconType;
|
|
3055
3061
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3056
3062
|
let {
|
|
@@ -3107,7 +3113,7 @@ class Callout extends SvelteElement {
|
|
|
3107
3113
|
target: this.shadowRoot,
|
|
3108
3114
|
props: attribute_to_object(this.attributes),
|
|
3109
3115
|
customElement: true
|
|
3110
|
-
}, instance$
|
|
3116
|
+
}, instance$v, create_fragment$B, safe_not_equal, {
|
|
3111
3117
|
mt: 0,
|
|
3112
3118
|
mr: 1,
|
|
3113
3119
|
mb: 2,
|
|
@@ -3215,7 +3221,7 @@ class Callout extends SvelteElement {
|
|
|
3215
3221
|
customElements.define("goa-callout", Callout);
|
|
3216
3222
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3217
3223
|
|
|
3218
|
-
function create_fragment$
|
|
3224
|
+
function create_fragment$A(ctx) {
|
|
3219
3225
|
let goa_card_content;
|
|
3220
3226
|
return {
|
|
3221
3227
|
c() {
|
|
@@ -3246,7 +3252,7 @@ class CardActions extends SvelteElement {
|
|
|
3246
3252
|
target: this.shadowRoot,
|
|
3247
3253
|
props: attribute_to_object(this.attributes),
|
|
3248
3254
|
customElement: true
|
|
3249
|
-
}, null, create_fragment$
|
|
3255
|
+
}, null, create_fragment$A, safe_not_equal, {}, null);
|
|
3250
3256
|
|
|
3251
3257
|
if (options) {
|
|
3252
3258
|
if (options.target) {
|
|
@@ -3260,7 +3266,7 @@ class CardActions extends SvelteElement {
|
|
|
3260
3266
|
customElements.define("goa-card-actions", CardActions);
|
|
3261
3267
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3262
3268
|
|
|
3263
|
-
function create_fragment$
|
|
3269
|
+
function create_fragment$z(ctx) {
|
|
3264
3270
|
let div;
|
|
3265
3271
|
let slot;
|
|
3266
3272
|
let div_style_value;
|
|
@@ -3339,7 +3345,7 @@ function create_fragment$y(ctx) {
|
|
|
3339
3345
|
};
|
|
3340
3346
|
}
|
|
3341
3347
|
|
|
3342
|
-
function instance$
|
|
3348
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
3343
3349
|
let {
|
|
3344
3350
|
elevation = 0
|
|
3345
3351
|
} = $$props;
|
|
@@ -3387,7 +3393,7 @@ class Card extends SvelteElement {
|
|
|
3387
3393
|
target: this.shadowRoot,
|
|
3388
3394
|
props: attribute_to_object(this.attributes),
|
|
3389
3395
|
customElement: true
|
|
3390
|
-
}, instance$
|
|
3396
|
+
}, instance$u, create_fragment$z, safe_not_equal, {
|
|
3391
3397
|
elevation: 0,
|
|
3392
3398
|
width: 1,
|
|
3393
3399
|
height: 2,
|
|
@@ -3507,7 +3513,7 @@ class Card extends SvelteElement {
|
|
|
3507
3513
|
customElements.define("goa-card", Card);
|
|
3508
3514
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3509
3515
|
|
|
3510
|
-
function create_fragment$
|
|
3516
|
+
function create_fragment$y(ctx) {
|
|
3511
3517
|
let div;
|
|
3512
3518
|
return {
|
|
3513
3519
|
c() {
|
|
@@ -3540,7 +3546,7 @@ class CardContent extends SvelteElement {
|
|
|
3540
3546
|
target: this.shadowRoot,
|
|
3541
3547
|
props: attribute_to_object(this.attributes),
|
|
3542
3548
|
customElement: true
|
|
3543
|
-
}, null, create_fragment$
|
|
3549
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3544
3550
|
|
|
3545
3551
|
if (options) {
|
|
3546
3552
|
if (options.target) {
|
|
@@ -3554,7 +3560,7 @@ class CardContent extends SvelteElement {
|
|
|
3554
3560
|
customElements.define("goa-card-content", CardContent);
|
|
3555
3561
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3556
3562
|
|
|
3557
|
-
function create_fragment$
|
|
3563
|
+
function create_fragment$x(ctx) {
|
|
3558
3564
|
let div;
|
|
3559
3565
|
return {
|
|
3560
3566
|
c() {
|
|
@@ -3587,7 +3593,7 @@ class CardGroup extends SvelteElement {
|
|
|
3587
3593
|
target: this.shadowRoot,
|
|
3588
3594
|
props: attribute_to_object(this.attributes),
|
|
3589
3595
|
customElement: true
|
|
3590
|
-
}, null, create_fragment$
|
|
3596
|
+
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3591
3597
|
|
|
3592
3598
|
if (options) {
|
|
3593
3599
|
if (options.target) {
|
|
@@ -3601,7 +3607,7 @@ class CardGroup extends SvelteElement {
|
|
|
3601
3607
|
customElements.define("goa-card-group", CardGroup);
|
|
3602
3608
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3603
3609
|
|
|
3604
|
-
function create_fragment$
|
|
3610
|
+
function create_fragment$w(ctx) {
|
|
3605
3611
|
let div;
|
|
3606
3612
|
return {
|
|
3607
3613
|
c() {
|
|
@@ -3649,7 +3655,7 @@ function create_fragment$v(ctx) {
|
|
|
3649
3655
|
};
|
|
3650
3656
|
}
|
|
3651
3657
|
|
|
3652
|
-
function instance$
|
|
3658
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
3653
3659
|
let {
|
|
3654
3660
|
src
|
|
3655
3661
|
} = $$props;
|
|
@@ -3673,7 +3679,7 @@ class CardImage extends SvelteElement {
|
|
|
3673
3679
|
target: this.shadowRoot,
|
|
3674
3680
|
props: attribute_to_object(this.attributes),
|
|
3675
3681
|
customElement: true
|
|
3676
|
-
}, instance$
|
|
3682
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
3677
3683
|
src: 0,
|
|
3678
3684
|
height: 1
|
|
3679
3685
|
}, null);
|
|
@@ -3748,7 +3754,7 @@ function create_if_block_1$8(ctx) {
|
|
|
3748
3754
|
} // (68:4) {#if isIndeterminate}
|
|
3749
3755
|
|
|
3750
3756
|
|
|
3751
|
-
function create_if_block$
|
|
3757
|
+
function create_if_block$e(ctx) {
|
|
3752
3758
|
let svg;
|
|
3753
3759
|
let rect;
|
|
3754
3760
|
return {
|
|
@@ -3775,7 +3781,7 @@ function create_if_block$d(ctx) {
|
|
|
3775
3781
|
};
|
|
3776
3782
|
}
|
|
3777
3783
|
|
|
3778
|
-
function create_fragment$
|
|
3784
|
+
function create_fragment$v(ctx) {
|
|
3779
3785
|
let label;
|
|
3780
3786
|
let div0;
|
|
3781
3787
|
let input;
|
|
@@ -3793,7 +3799,7 @@ function create_fragment$u(ctx) {
|
|
|
3793
3799
|
function select_block_type(ctx, dirty) {
|
|
3794
3800
|
if (
|
|
3795
3801
|
/*isIndeterminate*/
|
|
3796
|
-
ctx[10]) return create_if_block$
|
|
3802
|
+
ctx[10]) return create_if_block$e;
|
|
3797
3803
|
if (
|
|
3798
3804
|
/*isChecked*/
|
|
3799
3805
|
ctx[9]) return create_if_block_1$8;
|
|
@@ -4024,7 +4030,7 @@ function create_fragment$u(ctx) {
|
|
|
4024
4030
|
};
|
|
4025
4031
|
}
|
|
4026
4032
|
|
|
4027
|
-
function instance$
|
|
4033
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
4028
4034
|
let isDisabled;
|
|
4029
4035
|
let isError;
|
|
4030
4036
|
let isChecked;
|
|
@@ -4139,7 +4145,7 @@ class Checkbox extends SvelteElement {
|
|
|
4139
4145
|
target: this.shadowRoot,
|
|
4140
4146
|
props: attribute_to_object(this.attributes),
|
|
4141
4147
|
customElement: true
|
|
4142
|
-
}, instance$
|
|
4148
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
4143
4149
|
name: 0,
|
|
4144
4150
|
checked: 14,
|
|
4145
4151
|
text: 1,
|
|
@@ -4341,7 +4347,7 @@ function create_if_block_1$7(ctx) {
|
|
|
4341
4347
|
} // (54:2) {#if _deletable}
|
|
4342
4348
|
|
|
4343
4349
|
|
|
4344
|
-
function create_if_block$
|
|
4350
|
+
function create_if_block$d(ctx) {
|
|
4345
4351
|
let goa_icon;
|
|
4346
4352
|
let goa_icon_fillcolor_value;
|
|
4347
4353
|
let goa_icon_opacity_value;
|
|
@@ -4397,7 +4403,7 @@ function create_if_block$c(ctx) {
|
|
|
4397
4403
|
};
|
|
4398
4404
|
}
|
|
4399
4405
|
|
|
4400
|
-
function create_fragment$
|
|
4406
|
+
function create_fragment$u(ctx) {
|
|
4401
4407
|
let div1;
|
|
4402
4408
|
let t0;
|
|
4403
4409
|
let div0;
|
|
@@ -4411,7 +4417,7 @@ function create_fragment$t(ctx) {
|
|
|
4411
4417
|
ctx[4] && create_if_block_1$7(ctx);
|
|
4412
4418
|
let if_block1 =
|
|
4413
4419
|
/*_deletable*/
|
|
4414
|
-
ctx[11] && create_if_block$
|
|
4420
|
+
ctx[11] && create_if_block$d(ctx);
|
|
4415
4421
|
return {
|
|
4416
4422
|
c() {
|
|
4417
4423
|
div1 = element("div");
|
|
@@ -4506,7 +4512,7 @@ function create_fragment$t(ctx) {
|
|
|
4506
4512
|
if (if_block1) {
|
|
4507
4513
|
if_block1.p(ctx, dirty);
|
|
4508
4514
|
} else {
|
|
4509
|
-
if_block1 = create_if_block$
|
|
4515
|
+
if_block1 = create_if_block$d(ctx);
|
|
4510
4516
|
if_block1.c();
|
|
4511
4517
|
if_block1.m(div1, null);
|
|
4512
4518
|
}
|
|
@@ -4579,7 +4585,7 @@ function create_fragment$t(ctx) {
|
|
|
4579
4585
|
};
|
|
4580
4586
|
}
|
|
4581
4587
|
|
|
4582
|
-
function instance$
|
|
4588
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
4583
4589
|
let {
|
|
4584
4590
|
mt = null
|
|
4585
4591
|
} = $$props;
|
|
@@ -4680,7 +4686,7 @@ class Chip extends SvelteElement {
|
|
|
4680
4686
|
target: this.shadowRoot,
|
|
4681
4687
|
props: attribute_to_object(this.attributes),
|
|
4682
4688
|
customElement: true
|
|
4683
|
-
}, instance$
|
|
4689
|
+
}, instance$r, create_fragment$u, safe_not_equal, {
|
|
4684
4690
|
mt: 0,
|
|
4685
4691
|
mr: 1,
|
|
4686
4692
|
mb: 2,
|
|
@@ -4937,7 +4943,7 @@ function noscroll(_node, opts) {
|
|
|
4937
4943
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
4938
4944
|
|
|
4939
4945
|
|
|
4940
|
-
function create_if_block$
|
|
4946
|
+
function create_if_block$c(ctx) {
|
|
4941
4947
|
let current_block_type_index;
|
|
4942
4948
|
let if_block;
|
|
4943
4949
|
let if_block_anchor;
|
|
@@ -5308,12 +5314,12 @@ function create_if_block_2$5(ctx) {
|
|
|
5308
5314
|
};
|
|
5309
5315
|
}
|
|
5310
5316
|
|
|
5311
|
-
function create_fragment$
|
|
5317
|
+
function create_fragment$t(ctx) {
|
|
5312
5318
|
let if_block_anchor;
|
|
5313
5319
|
let current;
|
|
5314
5320
|
let if_block =
|
|
5315
5321
|
/*isVisible*/
|
|
5316
|
-
ctx[5] && create_if_block$
|
|
5322
|
+
ctx[5] && create_if_block$c(ctx);
|
|
5317
5323
|
return {
|
|
5318
5324
|
c() {
|
|
5319
5325
|
if (if_block) if_block.c();
|
|
@@ -5340,7 +5346,7 @@ function create_fragment$s(ctx) {
|
|
|
5340
5346
|
transition_in(if_block, 1);
|
|
5341
5347
|
}
|
|
5342
5348
|
} else {
|
|
5343
|
-
if_block = create_if_block$
|
|
5349
|
+
if_block = create_if_block$c(ctx);
|
|
5344
5350
|
if_block.c();
|
|
5345
5351
|
transition_in(if_block, 1);
|
|
5346
5352
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5373,7 +5379,7 @@ function create_fragment$s(ctx) {
|
|
|
5373
5379
|
};
|
|
5374
5380
|
}
|
|
5375
5381
|
|
|
5376
|
-
function instance$
|
|
5382
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
5377
5383
|
let isVisible;
|
|
5378
5384
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5379
5385
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5430,7 +5436,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5430
5436
|
target: this.shadowRoot,
|
|
5431
5437
|
props: attribute_to_object(this.attributes),
|
|
5432
5438
|
customElement: true
|
|
5433
|
-
}, instance$
|
|
5439
|
+
}, instance$q, create_fragment$t, safe_not_equal, {
|
|
5434
5440
|
variant: 6,
|
|
5435
5441
|
size: 7,
|
|
5436
5442
|
message: 0,
|
|
@@ -5514,7 +5520,7 @@ class CircularProgress extends SvelteElement {
|
|
|
5514
5520
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5515
5521
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5516
5522
|
|
|
5517
|
-
function create_fragment$
|
|
5523
|
+
function create_fragment$s(ctx) {
|
|
5518
5524
|
let div3;
|
|
5519
5525
|
let header;
|
|
5520
5526
|
let div0;
|
|
@@ -5639,7 +5645,7 @@ function create_fragment$r(ctx) {
|
|
|
5639
5645
|
};
|
|
5640
5646
|
}
|
|
5641
5647
|
|
|
5642
|
-
function instance$
|
|
5648
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
5643
5649
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
5644
5650
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
5645
5651
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -5695,7 +5701,7 @@ class Container extends SvelteElement {
|
|
|
5695
5701
|
target: this.shadowRoot,
|
|
5696
5702
|
props: attribute_to_object(this.attributes),
|
|
5697
5703
|
customElement: true
|
|
5698
|
-
}, instance$
|
|
5704
|
+
}, instance$p, create_fragment$s, safe_not_equal, {
|
|
5699
5705
|
type: 0,
|
|
5700
5706
|
accent: 1,
|
|
5701
5707
|
padding: 2,
|
|
@@ -5815,7 +5821,7 @@ class Container extends SvelteElement {
|
|
|
5815
5821
|
customElements.define("goa-container", Container);
|
|
5816
5822
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
5817
5823
|
|
|
5818
|
-
function create_fragment$
|
|
5824
|
+
function create_fragment$r(ctx) {
|
|
5819
5825
|
let hr;
|
|
5820
5826
|
let hr_style_value;
|
|
5821
5827
|
return {
|
|
@@ -5874,7 +5880,7 @@ function create_fragment$q(ctx) {
|
|
|
5874
5880
|
};
|
|
5875
5881
|
}
|
|
5876
5882
|
|
|
5877
|
-
function instance$
|
|
5883
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
5878
5884
|
let {
|
|
5879
5885
|
testid = ""
|
|
5880
5886
|
} = $$props;
|
|
@@ -5910,7 +5916,7 @@ class Divider extends SvelteElement {
|
|
|
5910
5916
|
target: this.shadowRoot,
|
|
5911
5917
|
props: attribute_to_object(this.attributes),
|
|
5912
5918
|
customElement: true
|
|
5913
|
-
}, instance$
|
|
5919
|
+
}, instance$o, create_fragment$r, safe_not_equal, {
|
|
5914
5920
|
testid: 0,
|
|
5915
5921
|
mt: 1,
|
|
5916
5922
|
mr: 2,
|
|
@@ -6277,7 +6283,7 @@ function create_else_block$1(ctx) {
|
|
|
6277
6283
|
} // (237:2) {#if _native}
|
|
6278
6284
|
|
|
6279
6285
|
|
|
6280
|
-
function create_if_block$
|
|
6286
|
+
function create_if_block$b(ctx) {
|
|
6281
6287
|
let select;
|
|
6282
6288
|
let slot;
|
|
6283
6289
|
let select_aria_label_value;
|
|
@@ -6700,7 +6706,7 @@ function create_each_block$4(ctx) {
|
|
|
6700
6706
|
};
|
|
6701
6707
|
}
|
|
6702
6708
|
|
|
6703
|
-
function create_fragment$
|
|
6709
|
+
function create_fragment$q(ctx) {
|
|
6704
6710
|
let div;
|
|
6705
6711
|
let div_data_testid_value;
|
|
6706
6712
|
let div_style_value;
|
|
@@ -6708,7 +6714,7 @@ function create_fragment$p(ctx) {
|
|
|
6708
6714
|
function select_block_type(ctx, dirty) {
|
|
6709
6715
|
if (
|
|
6710
6716
|
/*_native*/
|
|
6711
|
-
ctx[22]) return create_if_block$
|
|
6717
|
+
ctx[22]) return create_if_block$b;
|
|
6712
6718
|
return create_else_block$1;
|
|
6713
6719
|
}
|
|
6714
6720
|
|
|
@@ -6817,7 +6823,7 @@ function create_fragment$p(ctx) {
|
|
|
6817
6823
|
};
|
|
6818
6824
|
}
|
|
6819
6825
|
|
|
6820
|
-
function instance$
|
|
6826
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
6821
6827
|
let _disabled;
|
|
6822
6828
|
|
|
6823
6829
|
let _error;
|
|
@@ -7207,7 +7213,7 @@ class Dropdown extends SvelteElement {
|
|
|
7207
7213
|
target: this.shadowRoot,
|
|
7208
7214
|
props: attribute_to_object(this.attributes),
|
|
7209
7215
|
customElement: true
|
|
7210
|
-
}, instance$
|
|
7216
|
+
}, instance$n, create_fragment$q, safe_not_equal, {
|
|
7211
7217
|
name: 0,
|
|
7212
7218
|
arialabel: 1,
|
|
7213
7219
|
value: 28,
|
|
@@ -7411,7 +7417,7 @@ class Dropdown extends SvelteElement {
|
|
|
7411
7417
|
customElements.define("goa-dropdown", Dropdown);
|
|
7412
7418
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
7413
7419
|
|
|
7414
|
-
function create_fragment$
|
|
7420
|
+
function create_fragment$p(ctx) {
|
|
7415
7421
|
return {
|
|
7416
7422
|
c() {
|
|
7417
7423
|
this.c = noop;
|
|
@@ -7432,7 +7438,7 @@ class DropdownItem extends SvelteElement {
|
|
|
7432
7438
|
target: this.shadowRoot,
|
|
7433
7439
|
props: attribute_to_object(this.attributes),
|
|
7434
7440
|
customElement: true
|
|
7435
|
-
}, null, create_fragment$
|
|
7441
|
+
}, null, create_fragment$p, safe_not_equal, {}, null);
|
|
7436
7442
|
|
|
7437
7443
|
if (options) {
|
|
7438
7444
|
if (options.target) {
|
|
@@ -7446,7 +7452,7 @@ class DropdownItem extends SvelteElement {
|
|
|
7446
7452
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
7447
7453
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7448
7454
|
|
|
7449
|
-
function create_fragment$
|
|
7455
|
+
function create_fragment$o(ctx) {
|
|
7450
7456
|
let div;
|
|
7451
7457
|
return {
|
|
7452
7458
|
c() {
|
|
@@ -7507,7 +7513,7 @@ function isFocusable(element) {
|
|
|
7507
7513
|
}
|
|
7508
7514
|
}
|
|
7509
7515
|
|
|
7510
|
-
function instance$
|
|
7516
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
7511
7517
|
let isActive;
|
|
7512
7518
|
let {
|
|
7513
7519
|
active
|
|
@@ -7676,7 +7682,7 @@ class FocusTrap extends SvelteElement {
|
|
|
7676
7682
|
target: this.shadowRoot,
|
|
7677
7683
|
props: attribute_to_object(this.attributes),
|
|
7678
7684
|
customElement: true
|
|
7679
|
-
}, instance$
|
|
7685
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7680
7686
|
active: 1
|
|
7681
7687
|
}, null);
|
|
7682
7688
|
|
|
@@ -7712,7 +7718,7 @@ class FocusTrap extends SvelteElement {
|
|
|
7712
7718
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
7713
7719
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
7714
7720
|
|
|
7715
|
-
function create_if_block$
|
|
7721
|
+
function create_if_block$a(ctx) {
|
|
7716
7722
|
let goa_divider;
|
|
7717
7723
|
return {
|
|
7718
7724
|
c() {
|
|
@@ -7731,7 +7737,7 @@ function create_if_block$9(ctx) {
|
|
|
7731
7737
|
};
|
|
7732
7738
|
}
|
|
7733
7739
|
|
|
7734
|
-
function create_fragment$
|
|
7740
|
+
function create_fragment$n(ctx) {
|
|
7735
7741
|
var _ctx$;
|
|
7736
7742
|
|
|
7737
7743
|
let div5;
|
|
@@ -7749,7 +7755,7 @@ function create_fragment$m(ctx) {
|
|
|
7749
7755
|
let div5_style_value;
|
|
7750
7756
|
let if_block =
|
|
7751
7757
|
/*navLinks*/
|
|
7752
|
-
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$
|
|
7758
|
+
((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$a();
|
|
7753
7759
|
return {
|
|
7754
7760
|
c() {
|
|
7755
7761
|
var _ctx$2, _ctx$3;
|
|
@@ -7820,7 +7826,7 @@ function create_fragment$m(ctx) {
|
|
|
7820
7826
|
/*navLinks*/
|
|
7821
7827
|
(_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
|
|
7822
7828
|
if (if_block) ;else {
|
|
7823
|
-
if_block = create_if_block$
|
|
7829
|
+
if_block = create_if_block$a();
|
|
7824
7830
|
if_block.c();
|
|
7825
7831
|
if_block.m(div4, t1);
|
|
7826
7832
|
}
|
|
@@ -7872,7 +7878,7 @@ function create_fragment$m(ctx) {
|
|
|
7872
7878
|
};
|
|
7873
7879
|
}
|
|
7874
7880
|
|
|
7875
|
-
function instance$
|
|
7881
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
7876
7882
|
let {
|
|
7877
7883
|
maxcontentwidth = ""
|
|
7878
7884
|
} = $$props;
|
|
@@ -7910,7 +7916,7 @@ class Footer extends SvelteElement {
|
|
|
7910
7916
|
target: this.shadowRoot,
|
|
7911
7917
|
props: attribute_to_object(this.attributes),
|
|
7912
7918
|
customElement: true
|
|
7913
|
-
}, instance$
|
|
7919
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
7914
7920
|
maxcontentwidth: 0
|
|
7915
7921
|
}, null);
|
|
7916
7922
|
|
|
@@ -8000,7 +8006,7 @@ function create_each_block$3(ctx) {
|
|
|
8000
8006
|
};
|
|
8001
8007
|
}
|
|
8002
8008
|
|
|
8003
|
-
function create_fragment$
|
|
8009
|
+
function create_fragment$m(ctx) {
|
|
8004
8010
|
let section;
|
|
8005
8011
|
let div;
|
|
8006
8012
|
let t;
|
|
@@ -8088,7 +8094,7 @@ function create_fragment$l(ctx) {
|
|
|
8088
8094
|
};
|
|
8089
8095
|
}
|
|
8090
8096
|
|
|
8091
|
-
function instance$
|
|
8097
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
8092
8098
|
let rootEl;
|
|
8093
8099
|
let children = [];
|
|
8094
8100
|
onMount(async () => {
|
|
@@ -8123,7 +8129,7 @@ class FooterMetaSection extends SvelteElement {
|
|
|
8123
8129
|
target: this.shadowRoot,
|
|
8124
8130
|
props: attribute_to_object(this.attributes),
|
|
8125
8131
|
customElement: true
|
|
8126
|
-
}, instance$
|
|
8132
|
+
}, instance$k, create_fragment$m, safe_not_equal, {}, null);
|
|
8127
8133
|
|
|
8128
8134
|
if (options) {
|
|
8129
8135
|
if (options.target) {
|
|
@@ -8144,7 +8150,7 @@ function get_each_context$2(ctx, list, i) {
|
|
|
8144
8150
|
} // (31:2) {#if heading}
|
|
8145
8151
|
|
|
8146
8152
|
|
|
8147
|
-
function create_if_block$
|
|
8153
|
+
function create_if_block$9(ctx) {
|
|
8148
8154
|
let div;
|
|
8149
8155
|
let t0;
|
|
8150
8156
|
let t1;
|
|
@@ -8233,7 +8239,7 @@ function create_each_block$2(ctx) {
|
|
|
8233
8239
|
};
|
|
8234
8240
|
}
|
|
8235
8241
|
|
|
8236
|
-
function create_fragment$
|
|
8242
|
+
function create_fragment$l(ctx) {
|
|
8237
8243
|
let section;
|
|
8238
8244
|
let t0;
|
|
8239
8245
|
let div;
|
|
@@ -8242,7 +8248,7 @@ function create_fragment$k(ctx) {
|
|
|
8242
8248
|
let ul_style_value;
|
|
8243
8249
|
let if_block =
|
|
8244
8250
|
/*heading*/
|
|
8245
|
-
ctx[0] && create_if_block$
|
|
8251
|
+
ctx[0] && create_if_block$9(ctx);
|
|
8246
8252
|
let each_value =
|
|
8247
8253
|
/*children*/
|
|
8248
8254
|
ctx[3];
|
|
@@ -8309,7 +8315,7 @@ function create_fragment$k(ctx) {
|
|
|
8309
8315
|
if (if_block) {
|
|
8310
8316
|
if_block.p(ctx, dirty);
|
|
8311
8317
|
} else {
|
|
8312
|
-
if_block = create_if_block$
|
|
8318
|
+
if_block = create_if_block$9(ctx);
|
|
8313
8319
|
if_block.c();
|
|
8314
8320
|
if_block.m(section, t0);
|
|
8315
8321
|
}
|
|
@@ -8380,7 +8386,7 @@ function create_fragment$k(ctx) {
|
|
|
8380
8386
|
};
|
|
8381
8387
|
}
|
|
8382
8388
|
|
|
8383
|
-
function instance$
|
|
8389
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
8384
8390
|
let {
|
|
8385
8391
|
heading = ""
|
|
8386
8392
|
} = $$props;
|
|
@@ -8431,7 +8437,7 @@ class FooterNavSection extends SvelteElement {
|
|
|
8431
8437
|
target: this.shadowRoot,
|
|
8432
8438
|
props: attribute_to_object(this.attributes),
|
|
8433
8439
|
customElement: true
|
|
8434
|
-
}, instance$
|
|
8440
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
8435
8441
|
heading: 0,
|
|
8436
8442
|
maxcolumncount: 1
|
|
8437
8443
|
}, null);
|
|
@@ -8629,7 +8635,7 @@ function create_if_block_1$4(ctx) {
|
|
|
8629
8635
|
} // (48:2) {#if helptext}
|
|
8630
8636
|
|
|
8631
8637
|
|
|
8632
|
-
function create_if_block$
|
|
8638
|
+
function create_if_block$8(ctx) {
|
|
8633
8639
|
let div;
|
|
8634
8640
|
let t;
|
|
8635
8641
|
return {
|
|
@@ -8661,7 +8667,7 @@ function create_if_block$7(ctx) {
|
|
|
8661
8667
|
};
|
|
8662
8668
|
}
|
|
8663
8669
|
|
|
8664
|
-
function create_fragment$
|
|
8670
|
+
function create_fragment$k(ctx) {
|
|
8665
8671
|
let div1;
|
|
8666
8672
|
let t0;
|
|
8667
8673
|
let div0;
|
|
@@ -8676,7 +8682,7 @@ function create_fragment$j(ctx) {
|
|
|
8676
8682
|
ctx[7] && create_if_block_1$4(ctx);
|
|
8677
8683
|
let if_block2 =
|
|
8678
8684
|
/*helptext*/
|
|
8679
|
-
ctx[6] && create_if_block$
|
|
8685
|
+
ctx[6] && create_if_block$8(ctx);
|
|
8680
8686
|
return {
|
|
8681
8687
|
c() {
|
|
8682
8688
|
div1 = element("div");
|
|
@@ -8753,7 +8759,7 @@ function create_fragment$j(ctx) {
|
|
|
8753
8759
|
if (if_block2) {
|
|
8754
8760
|
if_block2.p(ctx, dirty);
|
|
8755
8761
|
} else {
|
|
8756
|
-
if_block2 = create_if_block$
|
|
8762
|
+
if_block2 = create_if_block$8(ctx);
|
|
8757
8763
|
if_block2.c();
|
|
8758
8764
|
if_block2.m(div1, null);
|
|
8759
8765
|
}
|
|
@@ -8798,7 +8804,7 @@ function create_fragment$j(ctx) {
|
|
|
8798
8804
|
};
|
|
8799
8805
|
}
|
|
8800
8806
|
|
|
8801
|
-
function instance$
|
|
8807
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
8802
8808
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
8803
8809
|
let {
|
|
8804
8810
|
testid = ""
|
|
@@ -8854,7 +8860,7 @@ class FormItem extends SvelteElement {
|
|
|
8854
8860
|
target: this.shadowRoot,
|
|
8855
8861
|
props: attribute_to_object(this.attributes),
|
|
8856
8862
|
customElement: true
|
|
8857
|
-
}, instance$
|
|
8863
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
8858
8864
|
testid: 0,
|
|
8859
8865
|
mt: 1,
|
|
8860
8866
|
mr: 2,
|
|
@@ -8986,7 +8992,7 @@ class FormItem extends SvelteElement {
|
|
|
8986
8992
|
customElements.define("goa-form-item", FormItem);
|
|
8987
8993
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
8988
8994
|
|
|
8989
|
-
function create_fragment$
|
|
8995
|
+
function create_fragment$j(ctx) {
|
|
8990
8996
|
let div;
|
|
8991
8997
|
let slot;
|
|
8992
8998
|
let div_style_value;
|
|
@@ -9054,7 +9060,7 @@ function create_fragment$i(ctx) {
|
|
|
9054
9060
|
};
|
|
9055
9061
|
}
|
|
9056
9062
|
|
|
9057
|
-
function instance$
|
|
9063
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
9058
9064
|
let {
|
|
9059
9065
|
gap = "m"
|
|
9060
9066
|
} = $$props;
|
|
@@ -9099,7 +9105,7 @@ class Grid extends SvelteElement {
|
|
|
9099
9105
|
target: this.shadowRoot,
|
|
9100
9106
|
props: attribute_to_object(this.attributes),
|
|
9101
9107
|
customElement: true
|
|
9102
|
-
}, instance$
|
|
9108
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
9103
9109
|
gap: 0,
|
|
9104
9110
|
minchildwidth: 1,
|
|
9105
9111
|
mt: 2,
|
|
@@ -9195,7 +9201,7 @@ class Grid extends SvelteElement {
|
|
|
9195
9201
|
customElements.define("goa-grid", Grid);
|
|
9196
9202
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9197
9203
|
|
|
9198
|
-
function create_fragment$
|
|
9204
|
+
function create_fragment$i(ctx) {
|
|
9199
9205
|
let div1;
|
|
9200
9206
|
let goa_page_block;
|
|
9201
9207
|
let h1;
|
|
@@ -9280,7 +9286,7 @@ function create_fragment$h(ctx) {
|
|
|
9280
9286
|
};
|
|
9281
9287
|
}
|
|
9282
9288
|
|
|
9283
|
-
function instance$
|
|
9289
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
9284
9290
|
let {
|
|
9285
9291
|
heading
|
|
9286
9292
|
} = $$props;
|
|
@@ -9308,7 +9314,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9308
9314
|
target: this.shadowRoot,
|
|
9309
9315
|
props: attribute_to_object(this.attributes),
|
|
9310
9316
|
customElement: true
|
|
9311
|
-
}, instance$
|
|
9317
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
9312
9318
|
heading: 0,
|
|
9313
9319
|
backgroundurl: 1,
|
|
9314
9320
|
minheight: 2
|
|
@@ -9368,7 +9374,7 @@ class HeroBanner extends SvelteElement {
|
|
|
9368
9374
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
9369
9375
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
9370
9376
|
|
|
9371
|
-
function create_fragment$
|
|
9377
|
+
function create_fragment$h(ctx) {
|
|
9372
9378
|
let button;
|
|
9373
9379
|
let goa_icon;
|
|
9374
9380
|
let button_style_value;
|
|
@@ -9540,7 +9546,7 @@ function handleClick(e) {
|
|
|
9540
9546
|
}));
|
|
9541
9547
|
}
|
|
9542
9548
|
|
|
9543
|
-
function instance$
|
|
9549
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
9544
9550
|
let css;
|
|
9545
9551
|
let isDisabled;
|
|
9546
9552
|
let isInverted;
|
|
@@ -9645,7 +9651,7 @@ class IconButton extends SvelteElement {
|
|
|
9645
9651
|
target: this.shadowRoot,
|
|
9646
9652
|
props: attribute_to_object(this.attributes),
|
|
9647
9653
|
customElement: true
|
|
9648
|
-
}, instance$
|
|
9654
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
9649
9655
|
icon: 0,
|
|
9650
9656
|
size: 1,
|
|
9651
9657
|
theme: 2,
|
|
@@ -9813,7 +9819,7 @@ class IconButton extends SvelteElement {
|
|
|
9813
9819
|
customElements.define("goa-icon-button", IconButton);
|
|
9814
9820
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
9815
9821
|
|
|
9816
|
-
function create_if_block$
|
|
9822
|
+
function create_if_block$7(ctx) {
|
|
9817
9823
|
let ion_icon;
|
|
9818
9824
|
let ion_icon_name_value;
|
|
9819
9825
|
return {
|
|
@@ -9861,12 +9867,12 @@ function create_if_block$6(ctx) {
|
|
|
9861
9867
|
};
|
|
9862
9868
|
}
|
|
9863
9869
|
|
|
9864
|
-
function create_fragment$
|
|
9870
|
+
function create_fragment$g(ctx) {
|
|
9865
9871
|
let div;
|
|
9866
9872
|
let div_style_value;
|
|
9867
9873
|
let if_block =
|
|
9868
9874
|
/*type*/
|
|
9869
|
-
ctx[4] && create_if_block$
|
|
9875
|
+
ctx[4] && create_if_block$7(ctx);
|
|
9870
9876
|
return {
|
|
9871
9877
|
c() {
|
|
9872
9878
|
div = element("div");
|
|
@@ -9919,7 +9925,7 @@ function create_fragment$f(ctx) {
|
|
|
9919
9925
|
if (if_block) {
|
|
9920
9926
|
if_block.p(ctx, dirty);
|
|
9921
9927
|
} else {
|
|
9922
|
-
if_block = create_if_block$
|
|
9928
|
+
if_block = create_if_block$7(ctx);
|
|
9923
9929
|
if_block.c();
|
|
9924
9930
|
if_block.m(div, null);
|
|
9925
9931
|
}
|
|
@@ -9992,7 +9998,7 @@ function create_fragment$f(ctx) {
|
|
|
9992
9998
|
};
|
|
9993
9999
|
}
|
|
9994
10000
|
|
|
9995
|
-
function instance$
|
|
10001
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
9996
10002
|
let isInverted;
|
|
9997
10003
|
|
|
9998
10004
|
let _size;
|
|
@@ -10082,7 +10088,7 @@ class Icon extends SvelteElement {
|
|
|
10082
10088
|
target: this.shadowRoot,
|
|
10083
10089
|
props: attribute_to_object(this.attributes),
|
|
10084
10090
|
customElement: true
|
|
10085
|
-
}, instance$
|
|
10091
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
10086
10092
|
mt: 0,
|
|
10087
10093
|
mr: 1,
|
|
10088
10094
|
mb: 2,
|
|
@@ -10292,7 +10298,7 @@ function create_if_block_4$1(ctx) {
|
|
|
10292
10298
|
}
|
|
10293
10299
|
|
|
10294
10300
|
};
|
|
10295
|
-
} // (
|
|
10301
|
+
} // (109:4) {#if leadingicon}
|
|
10296
10302
|
|
|
10297
10303
|
|
|
10298
10304
|
function create_if_block_3$2(ctx) {
|
|
@@ -10326,7 +10332,7 @@ function create_if_block_3$2(ctx) {
|
|
|
10326
10332
|
}
|
|
10327
10333
|
|
|
10328
10334
|
};
|
|
10329
|
-
} // (
|
|
10335
|
+
} // (139:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
10330
10336
|
|
|
10331
10337
|
|
|
10332
10338
|
function create_if_block_2$3(ctx) {
|
|
@@ -10361,7 +10367,7 @@ function create_if_block_2$3(ctx) {
|
|
|
10361
10367
|
}
|
|
10362
10368
|
|
|
10363
10369
|
};
|
|
10364
|
-
} // (
|
|
10370
|
+
} // (149:4) {#if trailingicon && handlesTrailingIconClick}
|
|
10365
10371
|
|
|
10366
10372
|
|
|
10367
10373
|
function create_if_block_1$3(ctx) {
|
|
@@ -10416,10 +10422,10 @@ function create_if_block_1$3(ctx) {
|
|
|
10416
10422
|
}
|
|
10417
10423
|
|
|
10418
10424
|
};
|
|
10419
|
-
} // (
|
|
10425
|
+
} // (161:4) {#if suffix}
|
|
10420
10426
|
|
|
10421
10427
|
|
|
10422
|
-
function create_if_block$
|
|
10428
|
+
function create_if_block$6(ctx) {
|
|
10423
10429
|
let span;
|
|
10424
10430
|
let t;
|
|
10425
10431
|
return {
|
|
@@ -10451,7 +10457,7 @@ function create_if_block$5(ctx) {
|
|
|
10451
10457
|
};
|
|
10452
10458
|
}
|
|
10453
10459
|
|
|
10454
|
-
function create_fragment$
|
|
10460
|
+
function create_fragment$f(ctx) {
|
|
10455
10461
|
let div3;
|
|
10456
10462
|
let div2;
|
|
10457
10463
|
let t0;
|
|
@@ -10489,7 +10495,7 @@ function create_fragment$e(ctx) {
|
|
|
10489
10495
|
ctx[24] && create_if_block_1$3(ctx);
|
|
10490
10496
|
let if_block4 =
|
|
10491
10497
|
/*suffix*/
|
|
10492
|
-
ctx[15] && create_if_block$
|
|
10498
|
+
ctx[15] && create_if_block$6(ctx);
|
|
10493
10499
|
return {
|
|
10494
10500
|
c() {
|
|
10495
10501
|
div3 = element("div");
|
|
@@ -10603,7 +10609,7 @@ function create_fragment$e(ctx) {
|
|
|
10603
10609
|
append(div2, input);
|
|
10604
10610
|
/*input_binding*/
|
|
10605
10611
|
|
|
10606
|
-
ctx[
|
|
10612
|
+
ctx[33](input);
|
|
10607
10613
|
append(div2, t3);
|
|
10608
10614
|
if (if_block2) if_block2.m(div2, null);
|
|
10609
10615
|
append(div2, t4);
|
|
@@ -10810,7 +10816,7 @@ function create_fragment$e(ctx) {
|
|
|
10810
10816
|
if (if_block4) {
|
|
10811
10817
|
if_block4.p(ctx, dirty);
|
|
10812
10818
|
} else {
|
|
10813
|
-
if_block4 = create_if_block$
|
|
10819
|
+
if_block4 = create_if_block$6(ctx);
|
|
10814
10820
|
if_block4.c();
|
|
10815
10821
|
if_block4.m(div2, t6);
|
|
10816
10822
|
}
|
|
@@ -10873,7 +10879,7 @@ function create_fragment$e(ctx) {
|
|
|
10873
10879
|
if (if_block1) if_block1.d();
|
|
10874
10880
|
/*input_binding*/
|
|
10875
10881
|
|
|
10876
|
-
ctx[
|
|
10882
|
+
ctx[33](null);
|
|
10877
10883
|
if (if_block2) if_block2.d();
|
|
10878
10884
|
if (if_block3) if_block3.d();
|
|
10879
10885
|
if (if_block4) if_block4.d();
|
|
@@ -10890,7 +10896,7 @@ function doClick() {
|
|
|
10890
10896
|
}));
|
|
10891
10897
|
}
|
|
10892
10898
|
|
|
10893
|
-
function instance$
|
|
10899
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
10894
10900
|
let handlesTrailingIconClick;
|
|
10895
10901
|
let isFocused;
|
|
10896
10902
|
let isReadonly;
|
|
@@ -10947,13 +10953,13 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
10947
10953
|
arialabel = null
|
|
10948
10954
|
} = $$props;
|
|
10949
10955
|
let {
|
|
10950
|
-
min =
|
|
10956
|
+
min = ""
|
|
10951
10957
|
} = $$props;
|
|
10952
10958
|
let {
|
|
10953
|
-
max =
|
|
10959
|
+
max = ""
|
|
10954
10960
|
} = $$props;
|
|
10955
10961
|
let {
|
|
10956
|
-
step =
|
|
10962
|
+
step = 1
|
|
10957
10963
|
} = $$props;
|
|
10958
10964
|
let {
|
|
10959
10965
|
prefix = ""
|
|
@@ -10961,6 +10967,9 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
10961
10967
|
let {
|
|
10962
10968
|
suffix = ""
|
|
10963
10969
|
} = $$props;
|
|
10970
|
+
let {
|
|
10971
|
+
debounce = 0
|
|
10972
|
+
} = $$props;
|
|
10964
10973
|
let {
|
|
10965
10974
|
mt = null
|
|
10966
10975
|
} = $$props;
|
|
@@ -10974,19 +10983,28 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
10974
10983
|
ml = null
|
|
10975
10984
|
} = $$props;
|
|
10976
10985
|
let inputEl;
|
|
10986
|
+
let _debounceId = null;
|
|
10977
10987
|
|
|
10978
10988
|
function onKeyUp(e) {
|
|
10979
|
-
const
|
|
10980
|
-
|
|
10981
|
-
|
|
10982
|
-
|
|
10983
|
-
|
|
10984
|
-
|
|
10985
|
-
|
|
10986
|
-
|
|
10987
|
-
|
|
10988
|
-
|
|
10989
|
-
|
|
10989
|
+
const input = e.target;
|
|
10990
|
+
if (!input) return;
|
|
10991
|
+
|
|
10992
|
+
if (_debounceId != null) {
|
|
10993
|
+
clearTimeout(_debounceId);
|
|
10994
|
+
}
|
|
10995
|
+
|
|
10996
|
+
_debounceId = setTimeout(() => {
|
|
10997
|
+
input.dispatchEvent(new CustomEvent("_change", {
|
|
10998
|
+
composed: true,
|
|
10999
|
+
bubbles: false,
|
|
11000
|
+
cancelable: true,
|
|
11001
|
+
detail: {
|
|
11002
|
+
name,
|
|
11003
|
+
value: input.value
|
|
11004
|
+
}
|
|
11005
|
+
}));
|
|
11006
|
+
}, debounce);
|
|
11007
|
+
$$invalidate(0, value = input.value);
|
|
10990
11008
|
}
|
|
10991
11009
|
|
|
10992
11010
|
onMount(() => {
|
|
@@ -11027,6 +11045,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11027
11045
|
if ('step' in $$props) $$invalidate(13, step = $$props.step);
|
|
11028
11046
|
if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
|
|
11029
11047
|
if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
|
|
11048
|
+
if ('debounce' in $$props) $$invalidate(31, debounce = $$props.debounce);
|
|
11030
11049
|
if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
|
|
11031
11050
|
if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
|
|
11032
11051
|
if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
|
|
@@ -11043,7 +11062,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11043
11062
|
if ($$self.$$.dirty[0] &
|
|
11044
11063
|
/*focused*/
|
|
11045
11064
|
268435456) {
|
|
11046
|
-
$$invalidate(
|
|
11065
|
+
$$invalidate(32, isFocused = toBoolean(focused));
|
|
11047
11066
|
}
|
|
11048
11067
|
|
|
11049
11068
|
if ($$self.$$.dirty[0] &
|
|
@@ -11068,7 +11087,7 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11068
11087
|
/*inputEl*/
|
|
11069
11088
|
1048576 | $$self.$$.dirty[1] &
|
|
11070
11089
|
/*isFocused*/
|
|
11071
|
-
|
|
11090
|
+
2) {
|
|
11072
11091
|
if (isFocused && inputEl) {
|
|
11073
11092
|
setTimeout(() => inputEl.focus(), 1);
|
|
11074
11093
|
}
|
|
@@ -11085,19 +11104,19 @@ function instance$c($$self, $$props, $$invalidate) {
|
|
|
11085
11104
|
}
|
|
11086
11105
|
};
|
|
11087
11106
|
|
|
11088
|
-
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, isFocused, input_binding];
|
|
11107
|
+
return [value, type, name, autocapitalize, placeholder, leadingicon, trailingicon, variant, testid, width, arialabel, min, max, step, prefix, suffix, mt, mr, mb, ml, inputEl, isDisabled, isError, isReadonly, handlesTrailingIconClick, onKeyUp, disabled, handletrailingiconclick, focused, readonly, error, debounce, isFocused, input_binding];
|
|
11089
11108
|
}
|
|
11090
11109
|
|
|
11091
11110
|
class Input extends SvelteElement {
|
|
11092
11111
|
constructor(options) {
|
|
11093
11112
|
super();
|
|
11094
|
-
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--color-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:
|
|
11113
|
+
this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--color-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
|
|
11095
11114
|
center center no-repeat}</style>`;
|
|
11096
11115
|
init(this, {
|
|
11097
11116
|
target: this.shadowRoot,
|
|
11098
11117
|
props: attribute_to_object(this.attributes),
|
|
11099
11118
|
customElement: true
|
|
11100
|
-
}, instance$
|
|
11119
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
11101
11120
|
type: 1,
|
|
11102
11121
|
name: 2,
|
|
11103
11122
|
value: 0,
|
|
@@ -11119,6 +11138,7 @@ class Input extends SvelteElement {
|
|
|
11119
11138
|
step: 13,
|
|
11120
11139
|
prefix: 14,
|
|
11121
11140
|
suffix: 15,
|
|
11141
|
+
debounce: 31,
|
|
11122
11142
|
mt: 16,
|
|
11123
11143
|
mr: 17,
|
|
11124
11144
|
mb: 18,
|
|
@@ -11138,7 +11158,7 @@ class Input extends SvelteElement {
|
|
|
11138
11158
|
}
|
|
11139
11159
|
|
|
11140
11160
|
static get observedAttributes() {
|
|
11141
|
-
return ["type", "name", "value", "autocapitalize", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "mt", "mr", "mb", "ml"];
|
|
11161
|
+
return ["type", "name", "value", "autocapitalize", "placeholder", "leadingicon", "trailingicon", "variant", "disabled", "handletrailingiconclick", "focused", "readonly", "error", "testid", "width", "arialabel", "min", "max", "step", "prefix", "suffix", "debounce", "mt", "mr", "mb", "ml"];
|
|
11142
11162
|
}
|
|
11143
11163
|
|
|
11144
11164
|
get type() {
|
|
@@ -11372,6 +11392,17 @@ class Input extends SvelteElement {
|
|
|
11372
11392
|
flush();
|
|
11373
11393
|
}
|
|
11374
11394
|
|
|
11395
|
+
get debounce() {
|
|
11396
|
+
return this.$$.ctx[31];
|
|
11397
|
+
}
|
|
11398
|
+
|
|
11399
|
+
set debounce(debounce) {
|
|
11400
|
+
this.$$set({
|
|
11401
|
+
debounce
|
|
11402
|
+
});
|
|
11403
|
+
flush();
|
|
11404
|
+
}
|
|
11405
|
+
|
|
11375
11406
|
get mt() {
|
|
11376
11407
|
return this.$$.ctx[16];
|
|
11377
11408
|
}
|
|
@@ -11583,7 +11614,7 @@ function create_if_block_2$2(ctx) {
|
|
|
11583
11614
|
} // (56:2) {#if version}
|
|
11584
11615
|
|
|
11585
11616
|
|
|
11586
|
-
function create_if_block$
|
|
11617
|
+
function create_if_block$5(ctx) {
|
|
11587
11618
|
let div;
|
|
11588
11619
|
let t;
|
|
11589
11620
|
return {
|
|
@@ -11616,7 +11647,7 @@ function create_if_block$4(ctx) {
|
|
|
11616
11647
|
};
|
|
11617
11648
|
}
|
|
11618
11649
|
|
|
11619
|
-
function create_fragment$
|
|
11650
|
+
function create_fragment$e(ctx) {
|
|
11620
11651
|
let header;
|
|
11621
11652
|
let t0;
|
|
11622
11653
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -11631,7 +11662,7 @@ function create_fragment$d(ctx) {
|
|
|
11631
11662
|
let if_block1 = show_if && create_if_block_1$2(ctx);
|
|
11632
11663
|
let if_block2 =
|
|
11633
11664
|
/*version*/
|
|
11634
|
-
ctx[1] && create_if_block$
|
|
11665
|
+
ctx[1] && create_if_block$5(ctx);
|
|
11635
11666
|
return {
|
|
11636
11667
|
c() {
|
|
11637
11668
|
header = element("header");
|
|
@@ -11697,7 +11728,7 @@ function create_fragment$d(ctx) {
|
|
|
11697
11728
|
if (if_block2) {
|
|
11698
11729
|
if_block2.p(ctx, dirty);
|
|
11699
11730
|
} else {
|
|
11700
|
-
if_block2 = create_if_block$
|
|
11731
|
+
if_block2 = create_if_block$5(ctx);
|
|
11701
11732
|
if_block2.c();
|
|
11702
11733
|
if_block2.m(header, null);
|
|
11703
11734
|
}
|
|
@@ -11725,7 +11756,7 @@ function capitalize(val) {
|
|
|
11725
11756
|
return val[0].toUpperCase() + val.slice(1);
|
|
11726
11757
|
}
|
|
11727
11758
|
|
|
11728
|
-
function instance$
|
|
11759
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
11729
11760
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
11730
11761
|
let {
|
|
11731
11762
|
type
|
|
@@ -11757,7 +11788,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
11757
11788
|
target: this.shadowRoot,
|
|
11758
11789
|
props: attribute_to_object(this.attributes),
|
|
11759
11790
|
customElement: true
|
|
11760
|
-
}, instance$
|
|
11791
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
11761
11792
|
type: 0,
|
|
11762
11793
|
version: 1,
|
|
11763
11794
|
feedbackurl: 2
|
|
@@ -11817,7 +11848,7 @@ class MicrositeHeader extends SvelteElement {
|
|
|
11817
11848
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
11818
11849
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
11819
11850
|
|
|
11820
|
-
function create_if_block$
|
|
11851
|
+
function create_if_block$4(ctx) {
|
|
11821
11852
|
let goa_focus_trap;
|
|
11822
11853
|
let div5;
|
|
11823
11854
|
let div0;
|
|
@@ -12222,12 +12253,12 @@ function create_if_block_1$1(ctx) {
|
|
|
12222
12253
|
};
|
|
12223
12254
|
}
|
|
12224
12255
|
|
|
12225
|
-
function create_fragment$
|
|
12256
|
+
function create_fragment$d(ctx) {
|
|
12226
12257
|
let if_block_anchor;
|
|
12227
12258
|
let current;
|
|
12228
12259
|
let if_block =
|
|
12229
12260
|
/*isOpen*/
|
|
12230
|
-
ctx[7] && create_if_block$
|
|
12261
|
+
ctx[7] && create_if_block$4(ctx);
|
|
12231
12262
|
return {
|
|
12232
12263
|
c() {
|
|
12233
12264
|
if (if_block) if_block.c();
|
|
@@ -12254,7 +12285,7 @@ function create_fragment$c(ctx) {
|
|
|
12254
12285
|
transition_in(if_block, 1);
|
|
12255
12286
|
}
|
|
12256
12287
|
} else {
|
|
12257
|
-
if_block = create_if_block$
|
|
12288
|
+
if_block = create_if_block$4(ctx);
|
|
12258
12289
|
if_block.c();
|
|
12259
12290
|
transition_in(if_block, 1);
|
|
12260
12291
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12287,7 +12318,7 @@ function create_fragment$c(ctx) {
|
|
|
12287
12318
|
};
|
|
12288
12319
|
}
|
|
12289
12320
|
|
|
12290
|
-
function instance$
|
|
12321
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
12291
12322
|
let isClosable;
|
|
12292
12323
|
let isOpen;
|
|
12293
12324
|
|
|
@@ -12377,7 +12408,7 @@ class Modal extends SvelteElement {
|
|
|
12377
12408
|
target: this.shadowRoot,
|
|
12378
12409
|
props: attribute_to_object(this.attributes),
|
|
12379
12410
|
customElement: true
|
|
12380
|
-
}, instance$
|
|
12411
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
12381
12412
|
heading: 0,
|
|
12382
12413
|
closable: 9,
|
|
12383
12414
|
open: 1,
|
|
@@ -12473,7 +12504,7 @@ class Modal extends SvelteElement {
|
|
|
12473
12504
|
customElements.define("goa-modal", Modal);
|
|
12474
12505
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
12475
12506
|
|
|
12476
|
-
function create_if_block$
|
|
12507
|
+
function create_if_block$3(ctx) {
|
|
12477
12508
|
let div3;
|
|
12478
12509
|
let div0;
|
|
12479
12510
|
let goa_icon;
|
|
@@ -12597,12 +12628,12 @@ function create_if_block$2(ctx) {
|
|
|
12597
12628
|
};
|
|
12598
12629
|
}
|
|
12599
12630
|
|
|
12600
|
-
function create_fragment$
|
|
12631
|
+
function create_fragment$c(ctx) {
|
|
12601
12632
|
let if_block_anchor;
|
|
12602
12633
|
let current;
|
|
12603
12634
|
let if_block =
|
|
12604
12635
|
/*show*/
|
|
12605
|
-
ctx[1] && create_if_block$
|
|
12636
|
+
ctx[1] && create_if_block$3(ctx);
|
|
12606
12637
|
return {
|
|
12607
12638
|
c() {
|
|
12608
12639
|
if (if_block) if_block.c();
|
|
@@ -12629,7 +12660,7 @@ function create_fragment$b(ctx) {
|
|
|
12629
12660
|
transition_in(if_block, 1);
|
|
12630
12661
|
}
|
|
12631
12662
|
} else {
|
|
12632
|
-
if_block = create_if_block$
|
|
12663
|
+
if_block = create_if_block$3(ctx);
|
|
12633
12664
|
if_block.c();
|
|
12634
12665
|
transition_in(if_block, 1);
|
|
12635
12666
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12662,7 +12693,7 @@ function create_fragment$b(ctx) {
|
|
|
12662
12693
|
};
|
|
12663
12694
|
}
|
|
12664
12695
|
|
|
12665
|
-
function instance$
|
|
12696
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
12666
12697
|
let iconType;
|
|
12667
12698
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
12668
12699
|
let {
|
|
@@ -12700,7 +12731,7 @@ class Notification extends SvelteElement {
|
|
|
12700
12731
|
target: this.shadowRoot,
|
|
12701
12732
|
props: attribute_to_object(this.attributes),
|
|
12702
12733
|
customElement: true
|
|
12703
|
-
}, instance$
|
|
12734
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
12704
12735
|
type: 0
|
|
12705
12736
|
}, null);
|
|
12706
12737
|
|
|
@@ -12742,7 +12773,7 @@ function isValidDimension(value) {
|
|
|
12742
12773
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
12743
12774
|
|
|
12744
12775
|
|
|
12745
|
-
function create_fragment$
|
|
12776
|
+
function create_fragment$b(ctx) {
|
|
12746
12777
|
let div;
|
|
12747
12778
|
let slot;
|
|
12748
12779
|
let div_style_value;
|
|
@@ -12782,7 +12813,7 @@ function create_fragment$a(ctx) {
|
|
|
12782
12813
|
};
|
|
12783
12814
|
}
|
|
12784
12815
|
|
|
12785
|
-
function instance$
|
|
12816
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
12786
12817
|
const Sizes = {
|
|
12787
12818
|
"full": "100%"
|
|
12788
12819
|
};
|
|
@@ -12823,7 +12854,7 @@ class PageBlock extends SvelteElement {
|
|
|
12823
12854
|
target: this.shadowRoot,
|
|
12824
12855
|
props: attribute_to_object(this.attributes),
|
|
12825
12856
|
customElement: true
|
|
12826
|
-
}, instance$
|
|
12857
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
12827
12858
|
width: 1,
|
|
12828
12859
|
_width: 0
|
|
12829
12860
|
}, null);
|
|
@@ -13061,7 +13092,7 @@ function create_each_block$1(key_1, ctx) {
|
|
|
13061
13092
|
};
|
|
13062
13093
|
}
|
|
13063
13094
|
|
|
13064
|
-
function create_fragment$
|
|
13095
|
+
function create_fragment$a(ctx) {
|
|
13065
13096
|
let div;
|
|
13066
13097
|
let slot;
|
|
13067
13098
|
let t;
|
|
@@ -13184,7 +13215,7 @@ function create_fragment$9(ctx) {
|
|
|
13184
13215
|
};
|
|
13185
13216
|
}
|
|
13186
13217
|
|
|
13187
|
-
function instance$
|
|
13218
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
13188
13219
|
let isDisabled;
|
|
13189
13220
|
let isError;
|
|
13190
13221
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -13328,7 +13359,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13328
13359
|
target: this.shadowRoot,
|
|
13329
13360
|
props: attribute_to_object(this.attributes),
|
|
13330
13361
|
customElement: true
|
|
13331
|
-
}, instance$
|
|
13362
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
13332
13363
|
name: 1,
|
|
13333
13364
|
value: 0,
|
|
13334
13365
|
orientation: 2,
|
|
@@ -13484,7 +13515,7 @@ class RadioGroup extends SvelteElement {
|
|
|
13484
13515
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13485
13516
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13486
13517
|
|
|
13487
|
-
function create_fragment$
|
|
13518
|
+
function create_fragment$9(ctx) {
|
|
13488
13519
|
let div;
|
|
13489
13520
|
let slot;
|
|
13490
13521
|
let div_style_value;
|
|
@@ -13552,7 +13583,7 @@ function create_fragment$8(ctx) {
|
|
|
13552
13583
|
};
|
|
13553
13584
|
}
|
|
13554
13585
|
|
|
13555
|
-
function instance$
|
|
13586
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
13556
13587
|
let {
|
|
13557
13588
|
direction = "vertical"
|
|
13558
13589
|
} = $$props;
|
|
@@ -13584,7 +13615,7 @@ class Scrollable extends SvelteElement {
|
|
|
13584
13615
|
target: this.shadowRoot,
|
|
13585
13616
|
props: attribute_to_object(this.attributes),
|
|
13586
13617
|
customElement: true
|
|
13587
|
-
}, instance$
|
|
13618
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
13588
13619
|
direction: 0,
|
|
13589
13620
|
hpadding: 1,
|
|
13590
13621
|
vpadding: 2,
|
|
@@ -13925,7 +13956,7 @@ function create_if_block_1(ctx) {
|
|
|
13925
13956
|
} // (30:2) {#if type === "card"}
|
|
13926
13957
|
|
|
13927
13958
|
|
|
13928
|
-
function create_if_block$
|
|
13959
|
+
function create_if_block$2(ctx) {
|
|
13929
13960
|
let div1;
|
|
13930
13961
|
let skeleton0;
|
|
13931
13962
|
let t0;
|
|
@@ -14119,13 +14150,13 @@ function create_each_block(ctx) {
|
|
|
14119
14150
|
};
|
|
14120
14151
|
}
|
|
14121
14152
|
|
|
14122
|
-
function create_fragment$
|
|
14153
|
+
function create_fragment$8(ctx) {
|
|
14123
14154
|
let div;
|
|
14124
14155
|
let current_block_type_index;
|
|
14125
14156
|
let if_block;
|
|
14126
14157
|
let div_style_value;
|
|
14127
14158
|
let current;
|
|
14128
|
-
const if_block_creators = [create_if_block$
|
|
14159
|
+
const if_block_creators = [create_if_block$2, create_if_block_1, create_if_block_2, create_else_block];
|
|
14129
14160
|
const if_blocks = [];
|
|
14130
14161
|
|
|
14131
14162
|
function select_block_type(ctx, dirty) {
|
|
@@ -14235,7 +14266,7 @@ function create_fragment$7(ctx) {
|
|
|
14235
14266
|
};
|
|
14236
14267
|
}
|
|
14237
14268
|
|
|
14238
|
-
function instance$
|
|
14269
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
14239
14270
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14240
14271
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14241
14272
|
let {
|
|
@@ -14293,7 +14324,7 @@ class Skeleton extends SvelteElement {
|
|
|
14293
14324
|
target: this.shadowRoot,
|
|
14294
14325
|
props: attribute_to_object(this.attributes),
|
|
14295
14326
|
customElement: true
|
|
14296
|
-
}, instance$
|
|
14327
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
14297
14328
|
maxwidth: 0,
|
|
14298
14329
|
size: 1,
|
|
14299
14330
|
linecount: 2,
|
|
@@ -14425,7 +14456,7 @@ class Skeleton extends SvelteElement {
|
|
|
14425
14456
|
customElements.define("goa-skeleton", Skeleton);
|
|
14426
14457
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14427
14458
|
|
|
14428
|
-
function create_fragment$
|
|
14459
|
+
function create_fragment$7(ctx) {
|
|
14429
14460
|
let div;
|
|
14430
14461
|
return {
|
|
14431
14462
|
c() {
|
|
@@ -14454,7 +14485,7 @@ function create_fragment$6(ctx) {
|
|
|
14454
14485
|
};
|
|
14455
14486
|
}
|
|
14456
14487
|
|
|
14457
|
-
function instance$
|
|
14488
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
14458
14489
|
let {
|
|
14459
14490
|
hspacing = "none"
|
|
14460
14491
|
} = $$props;
|
|
@@ -14491,7 +14522,7 @@ class Spacer extends SvelteElement {
|
|
|
14491
14522
|
target: this.shadowRoot,
|
|
14492
14523
|
props: attribute_to_object(this.attributes),
|
|
14493
14524
|
customElement: true
|
|
14494
|
-
}, instance$
|
|
14525
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
14495
14526
|
hspacing: 1,
|
|
14496
14527
|
vspacing: 2
|
|
14497
14528
|
}, null);
|
|
@@ -14723,7 +14754,7 @@ function tweened(value, defaults = {}) {
|
|
|
14723
14754
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
14724
14755
|
|
|
14725
14756
|
|
|
14726
|
-
function create_if_block(ctx) {
|
|
14757
|
+
function create_if_block$1(ctx) {
|
|
14727
14758
|
let svg;
|
|
14728
14759
|
let circle;
|
|
14729
14760
|
let circle_stroke_value;
|
|
@@ -14913,11 +14944,11 @@ function create_if_block(ctx) {
|
|
|
14913
14944
|
};
|
|
14914
14945
|
}
|
|
14915
14946
|
|
|
14916
|
-
function create_fragment$
|
|
14947
|
+
function create_fragment$6(ctx) {
|
|
14917
14948
|
let if_block_anchor;
|
|
14918
14949
|
let if_block =
|
|
14919
14950
|
/*ready*/
|
|
14920
|
-
ctx[6] && create_if_block(ctx);
|
|
14951
|
+
ctx[6] && create_if_block$1(ctx);
|
|
14921
14952
|
return {
|
|
14922
14953
|
c() {
|
|
14923
14954
|
if (if_block) if_block.c();
|
|
@@ -14937,7 +14968,7 @@ function create_fragment$5(ctx) {
|
|
|
14937
14968
|
if (if_block) {
|
|
14938
14969
|
if_block.p(ctx, dirty);
|
|
14939
14970
|
} else {
|
|
14940
|
-
if_block = create_if_block(ctx);
|
|
14971
|
+
if_block = create_if_block$1(ctx);
|
|
14941
14972
|
if_block.c();
|
|
14942
14973
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
14943
14974
|
}
|
|
@@ -14958,7 +14989,7 @@ function create_fragment$5(ctx) {
|
|
|
14958
14989
|
};
|
|
14959
14990
|
}
|
|
14960
14991
|
|
|
14961
|
-
function instance$
|
|
14992
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
14962
14993
|
let diameter;
|
|
14963
14994
|
let strokewidth;
|
|
14964
14995
|
let radius;
|
|
@@ -15089,7 +15120,7 @@ class Spinner extends SvelteElement {
|
|
|
15089
15120
|
target: this.shadowRoot,
|
|
15090
15121
|
props: attribute_to_object(this.attributes),
|
|
15091
15122
|
customElement: true
|
|
15092
|
-
}, instance$
|
|
15123
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
15093
15124
|
size: 10,
|
|
15094
15125
|
invert: 0,
|
|
15095
15126
|
progress: 11,
|
|
@@ -15161,7 +15192,7 @@ class Spinner extends SvelteElement {
|
|
|
15161
15192
|
customElements.define("goa-spinner", Spinner);
|
|
15162
15193
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15163
15194
|
|
|
15164
|
-
function create_fragment$
|
|
15195
|
+
function create_fragment$5(ctx) {
|
|
15165
15196
|
let table;
|
|
15166
15197
|
let slot;
|
|
15167
15198
|
let t0;
|
|
@@ -15263,7 +15294,7 @@ function create_fragment$4(ctx) {
|
|
|
15263
15294
|
};
|
|
15264
15295
|
}
|
|
15265
15296
|
|
|
15266
|
-
function instance$
|
|
15297
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
15267
15298
|
let _stickyHeader;
|
|
15268
15299
|
|
|
15269
15300
|
const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
|
|
@@ -15342,7 +15373,7 @@ class Table extends SvelteElement {
|
|
|
15342
15373
|
target: this.shadowRoot,
|
|
15343
15374
|
props: attribute_to_object(this.attributes),
|
|
15344
15375
|
customElement: true
|
|
15345
|
-
}, instance$
|
|
15376
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
15346
15377
|
width: 0,
|
|
15347
15378
|
stickyheader: 8,
|
|
15348
15379
|
variant: 1,
|
|
@@ -15450,7 +15481,7 @@ class Table extends SvelteElement {
|
|
|
15450
15481
|
customElements.define("goa-table", Table);
|
|
15451
15482
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15452
15483
|
|
|
15453
|
-
function create_fragment$
|
|
15484
|
+
function create_fragment$4(ctx) {
|
|
15454
15485
|
let div;
|
|
15455
15486
|
let textarea;
|
|
15456
15487
|
let textarea_aria_label_value;
|
|
@@ -15631,7 +15662,7 @@ function create_fragment$3(ctx) {
|
|
|
15631
15662
|
};
|
|
15632
15663
|
}
|
|
15633
15664
|
|
|
15634
|
-
function instance$
|
|
15665
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
15635
15666
|
let isError;
|
|
15636
15667
|
let isDisabled;
|
|
15637
15668
|
let isReadonly;
|
|
@@ -15748,7 +15779,7 @@ class TextArea extends SvelteElement {
|
|
|
15748
15779
|
target: this.shadowRoot,
|
|
15749
15780
|
props: attribute_to_object(this.attributes),
|
|
15750
15781
|
customElement: true
|
|
15751
|
-
}, instance$
|
|
15782
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
15752
15783
|
name: 0,
|
|
15753
15784
|
value: 1,
|
|
15754
15785
|
placeholder: 2,
|
|
@@ -15952,7 +15983,7 @@ class TextArea extends SvelteElement {
|
|
|
15952
15983
|
customElements.define("goa-textarea", TextArea);
|
|
15953
15984
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
|
|
15954
15985
|
|
|
15955
|
-
function create_fragment$
|
|
15986
|
+
function create_fragment$3(ctx) {
|
|
15956
15987
|
let div;
|
|
15957
15988
|
return {
|
|
15958
15989
|
c() {
|
|
@@ -15996,7 +16027,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
15996
16027
|
target: this.shadowRoot,
|
|
15997
16028
|
props: attribute_to_object(this.attributes),
|
|
15998
16029
|
customElement: true
|
|
15999
|
-
}, null, create_fragment$
|
|
16030
|
+
}, null, create_fragment$3, safe_not_equal, {}, null);
|
|
16000
16031
|
|
|
16001
16032
|
if (options) {
|
|
16002
16033
|
if (options.target) {
|
|
@@ -16010,7 +16041,7 @@ class FullScreenNavbarLayout extends SvelteElement {
|
|
|
16010
16041
|
customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
|
|
16011
16042
|
/* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
16012
16043
|
|
|
16013
|
-
function create_fragment$
|
|
16044
|
+
function create_fragment$2(ctx) {
|
|
16014
16045
|
let div;
|
|
16015
16046
|
return {
|
|
16016
16047
|
c() {
|
|
@@ -16047,7 +16078,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
16047
16078
|
target: this.shadowRoot,
|
|
16048
16079
|
props: attribute_to_object(this.attributes),
|
|
16049
16080
|
customElement: true
|
|
16050
|
-
}, null, create_fragment$
|
|
16081
|
+
}, null, create_fragment$2, safe_not_equal, {}, null);
|
|
16051
16082
|
|
|
16052
16083
|
if (options) {
|
|
16053
16084
|
if (options.target) {
|
|
@@ -16061,7 +16092,7 @@ class OneColumnLayout extends SvelteElement {
|
|
|
16061
16092
|
customElements.define("goa-one-column-layout", OneColumnLayout);
|
|
16062
16093
|
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
16063
16094
|
|
|
16064
|
-
function create_fragment(ctx) {
|
|
16095
|
+
function create_fragment$1(ctx) {
|
|
16065
16096
|
let div;
|
|
16066
16097
|
let header;
|
|
16067
16098
|
let t0;
|
|
@@ -16131,7 +16162,7 @@ function create_fragment(ctx) {
|
|
|
16131
16162
|
};
|
|
16132
16163
|
}
|
|
16133
16164
|
|
|
16134
|
-
function instance($$self, $$props, $$invalidate) {
|
|
16165
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
16135
16166
|
let {
|
|
16136
16167
|
navcolumnwidth = ""
|
|
16137
16168
|
} = $$props;
|
|
@@ -16155,7 +16186,7 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
16155
16186
|
target: this.shadowRoot,
|
|
16156
16187
|
props: attribute_to_object(this.attributes),
|
|
16157
16188
|
customElement: true
|
|
16158
|
-
}, instance, create_fragment, safe_not_equal, {
|
|
16189
|
+
}, instance$1, create_fragment$1, safe_not_equal, {
|
|
16159
16190
|
navcolumnwidth: 0,
|
|
16160
16191
|
maxcontentwidth: 1
|
|
16161
16192
|
}, null);
|
|
@@ -16201,6 +16232,512 @@ class TwoColumnLayout extends SvelteElement {
|
|
|
16201
16232
|
}
|
|
16202
16233
|
|
|
16203
16234
|
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
16235
|
+
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
16236
|
+
|
|
16237
|
+
function create_if_block(ctx) {
|
|
16238
|
+
let goa_block;
|
|
16239
|
+
let span0;
|
|
16240
|
+
let t1;
|
|
16241
|
+
let input;
|
|
16242
|
+
let t2;
|
|
16243
|
+
let goa_input;
|
|
16244
|
+
let t3;
|
|
16245
|
+
let span1;
|
|
16246
|
+
let t4;
|
|
16247
|
+
let t5;
|
|
16248
|
+
return {
|
|
16249
|
+
c() {
|
|
16250
|
+
goa_block = element("goa-block");
|
|
16251
|
+
span0 = element("span");
|
|
16252
|
+
span0.textContent = "Page";
|
|
16253
|
+
t1 = space();
|
|
16254
|
+
input = element("input");
|
|
16255
|
+
t2 = space();
|
|
16256
|
+
goa_input = element("goa-input");
|
|
16257
|
+
t3 = space();
|
|
16258
|
+
span1 = element("span");
|
|
16259
|
+
t4 = text("of ");
|
|
16260
|
+
t5 = text(
|
|
16261
|
+
/*_pageCount*/
|
|
16262
|
+
ctx[8]);
|
|
16263
|
+
attr(input, "type", "hidden");
|
|
16264
|
+
set_custom_element_data(goa_input, "type", "number");
|
|
16265
|
+
set_custom_element_data(goa_input, "value",
|
|
16266
|
+
/*pagenumber*/
|
|
16267
|
+
ctx[0]);
|
|
16268
|
+
set_custom_element_data(goa_input, "width", "8ch");
|
|
16269
|
+
set_custom_element_data(goa_input, "debounce", "500");
|
|
16270
|
+
set_custom_element_data(goa_input, "min", "1");
|
|
16271
|
+
set_custom_element_data(goa_input, "max",
|
|
16272
|
+
/*_pageCount*/
|
|
16273
|
+
ctx[8]);
|
|
16274
|
+
set_custom_element_data(goa_block, "data-testid", "page-selector");
|
|
16275
|
+
set_custom_element_data(goa_block, "alignment", "center");
|
|
16276
|
+
set_custom_element_data(goa_block, "gap", "s");
|
|
16277
|
+
},
|
|
16278
|
+
|
|
16279
|
+
m(target, anchor) {
|
|
16280
|
+
insert(target, goa_block, anchor);
|
|
16281
|
+
append(goa_block, span0);
|
|
16282
|
+
append(goa_block, t1);
|
|
16283
|
+
append(goa_block, input);
|
|
16284
|
+
/*input_binding*/
|
|
16285
|
+
|
|
16286
|
+
ctx[12](input);
|
|
16287
|
+
append(goa_block, t2);
|
|
16288
|
+
append(goa_block, goa_input);
|
|
16289
|
+
/*goa_input_binding*/
|
|
16290
|
+
|
|
16291
|
+
ctx[13](goa_input);
|
|
16292
|
+
append(goa_block, t3);
|
|
16293
|
+
append(goa_block, span1);
|
|
16294
|
+
append(span1, t4);
|
|
16295
|
+
append(span1, t5);
|
|
16296
|
+
},
|
|
16297
|
+
|
|
16298
|
+
p(ctx, dirty) {
|
|
16299
|
+
if (dirty &
|
|
16300
|
+
/*pagenumber*/
|
|
16301
|
+
1) {
|
|
16302
|
+
set_custom_element_data(goa_input, "value",
|
|
16303
|
+
/*pagenumber*/
|
|
16304
|
+
ctx[0]);
|
|
16305
|
+
}
|
|
16306
|
+
|
|
16307
|
+
if (dirty &
|
|
16308
|
+
/*_pageCount*/
|
|
16309
|
+
256) {
|
|
16310
|
+
set_custom_element_data(goa_input, "max",
|
|
16311
|
+
/*_pageCount*/
|
|
16312
|
+
ctx[8]);
|
|
16313
|
+
}
|
|
16314
|
+
|
|
16315
|
+
if (dirty &
|
|
16316
|
+
/*_pageCount*/
|
|
16317
|
+
256) set_data(t5,
|
|
16318
|
+
/*_pageCount*/
|
|
16319
|
+
ctx[8]);
|
|
16320
|
+
},
|
|
16321
|
+
|
|
16322
|
+
d(detaching) {
|
|
16323
|
+
if (detaching) detach(goa_block);
|
|
16324
|
+
/*input_binding*/
|
|
16325
|
+
|
|
16326
|
+
ctx[12](null);
|
|
16327
|
+
/*goa_input_binding*/
|
|
16328
|
+
|
|
16329
|
+
ctx[13](null);
|
|
16330
|
+
}
|
|
16331
|
+
|
|
16332
|
+
};
|
|
16333
|
+
}
|
|
16334
|
+
|
|
16335
|
+
function create_fragment(ctx) {
|
|
16336
|
+
let goa_block1;
|
|
16337
|
+
let div;
|
|
16338
|
+
let t0;
|
|
16339
|
+
let goa_block0;
|
|
16340
|
+
let goa_button0;
|
|
16341
|
+
let t1;
|
|
16342
|
+
let goa_button0_disabled_value;
|
|
16343
|
+
let t2;
|
|
16344
|
+
let goa_button1;
|
|
16345
|
+
let t3;
|
|
16346
|
+
let goa_button1_disabled_value;
|
|
16347
|
+
let mounted;
|
|
16348
|
+
let dispose;
|
|
16349
|
+
let if_block =
|
|
16350
|
+
/*variant*/
|
|
16351
|
+
ctx[1] === "all" && create_if_block(ctx);
|
|
16352
|
+
return {
|
|
16353
|
+
c() {
|
|
16354
|
+
goa_block1 = element("goa-block");
|
|
16355
|
+
div = element("div");
|
|
16356
|
+
if (if_block) if_block.c();
|
|
16357
|
+
t0 = space();
|
|
16358
|
+
goa_block0 = element("goa-block");
|
|
16359
|
+
goa_button0 = element("goa-button");
|
|
16360
|
+
t1 = text("Previous");
|
|
16361
|
+
t2 = space();
|
|
16362
|
+
goa_button1 = element("goa-button");
|
|
16363
|
+
t3 = text("Next");
|
|
16364
|
+
this.c = noop;
|
|
16365
|
+
set_custom_element_data(goa_button0, "type", "tertiary");
|
|
16366
|
+
set_custom_element_data(goa_button0, "leadingicon", "arrow-back");
|
|
16367
|
+
set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value =
|
|
16368
|
+
/*pagenumber*/
|
|
16369
|
+
ctx[0] == 1 ? "true" : "false");
|
|
16370
|
+
set_custom_element_data(goa_button1, "type", "tertiary");
|
|
16371
|
+
set_custom_element_data(goa_button1, "trailingicon", "arrow-forward");
|
|
16372
|
+
set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value =
|
|
16373
|
+
/*pagenumber*/
|
|
16374
|
+
ctx[0] ==
|
|
16375
|
+
/*_pageCount*/
|
|
16376
|
+
ctx[8] ? "true" : "false");
|
|
16377
|
+
set_custom_element_data(goa_block0, "alignment", "center");
|
|
16378
|
+
set_custom_element_data(goa_block0, "gap", "m");
|
|
16379
|
+
set_custom_element_data(goa_block0, "data-testid", "page-links");
|
|
16380
|
+
attr(div, "class", "controls");
|
|
16381
|
+
set_custom_element_data(goa_block1, "id", "root");
|
|
16382
|
+
set_custom_element_data(goa_block1, "ml",
|
|
16383
|
+
/*ml*/
|
|
16384
|
+
ctx[5]);
|
|
16385
|
+
set_custom_element_data(goa_block1, "mr",
|
|
16386
|
+
/*mr*/
|
|
16387
|
+
ctx[3]);
|
|
16388
|
+
set_custom_element_data(goa_block1, "mb",
|
|
16389
|
+
/*mb*/
|
|
16390
|
+
ctx[4]);
|
|
16391
|
+
set_custom_element_data(goa_block1, "mt",
|
|
16392
|
+
/*mt*/
|
|
16393
|
+
ctx[2]);
|
|
16394
|
+
},
|
|
16395
|
+
|
|
16396
|
+
m(target, anchor) {
|
|
16397
|
+
insert(target, goa_block1, anchor);
|
|
16398
|
+
append(goa_block1, div);
|
|
16399
|
+
if (if_block) if_block.m(div, null);
|
|
16400
|
+
append(div, t0);
|
|
16401
|
+
append(div, goa_block0);
|
|
16402
|
+
append(goa_block0, goa_button0);
|
|
16403
|
+
append(goa_button0, t1);
|
|
16404
|
+
append(goa_block0, t2);
|
|
16405
|
+
append(goa_block0, goa_button1);
|
|
16406
|
+
append(goa_button1, t3);
|
|
16407
|
+
|
|
16408
|
+
if (!mounted) {
|
|
16409
|
+
dispose = [listen(goa_button0, "click",
|
|
16410
|
+
/*click_handler*/
|
|
16411
|
+
ctx[14]), listen(goa_button1, "click",
|
|
16412
|
+
/*click_handler_1*/
|
|
16413
|
+
ctx[15])];
|
|
16414
|
+
mounted = true;
|
|
16415
|
+
}
|
|
16416
|
+
},
|
|
16417
|
+
|
|
16418
|
+
p(ctx, [dirty]) {
|
|
16419
|
+
if (
|
|
16420
|
+
/*variant*/
|
|
16421
|
+
ctx[1] === "all") {
|
|
16422
|
+
if (if_block) {
|
|
16423
|
+
if_block.p(ctx, dirty);
|
|
16424
|
+
} else {
|
|
16425
|
+
if_block = create_if_block(ctx);
|
|
16426
|
+
if_block.c();
|
|
16427
|
+
if_block.m(div, t0);
|
|
16428
|
+
}
|
|
16429
|
+
} else if (if_block) {
|
|
16430
|
+
if_block.d(1);
|
|
16431
|
+
if_block = null;
|
|
16432
|
+
}
|
|
16433
|
+
|
|
16434
|
+
if (dirty &
|
|
16435
|
+
/*pagenumber*/
|
|
16436
|
+
1 && goa_button0_disabled_value !== (goa_button0_disabled_value =
|
|
16437
|
+
/*pagenumber*/
|
|
16438
|
+
ctx[0] == 1 ? "true" : "false")) {
|
|
16439
|
+
set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value);
|
|
16440
|
+
}
|
|
16441
|
+
|
|
16442
|
+
if (dirty &
|
|
16443
|
+
/*pagenumber, _pageCount*/
|
|
16444
|
+
257 && goa_button1_disabled_value !== (goa_button1_disabled_value =
|
|
16445
|
+
/*pagenumber*/
|
|
16446
|
+
ctx[0] ==
|
|
16447
|
+
/*_pageCount*/
|
|
16448
|
+
ctx[8] ? "true" : "false")) {
|
|
16449
|
+
set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value);
|
|
16450
|
+
}
|
|
16451
|
+
|
|
16452
|
+
if (dirty &
|
|
16453
|
+
/*ml*/
|
|
16454
|
+
32) {
|
|
16455
|
+
set_custom_element_data(goa_block1, "ml",
|
|
16456
|
+
/*ml*/
|
|
16457
|
+
ctx[5]);
|
|
16458
|
+
}
|
|
16459
|
+
|
|
16460
|
+
if (dirty &
|
|
16461
|
+
/*mr*/
|
|
16462
|
+
8) {
|
|
16463
|
+
set_custom_element_data(goa_block1, "mr",
|
|
16464
|
+
/*mr*/
|
|
16465
|
+
ctx[3]);
|
|
16466
|
+
}
|
|
16467
|
+
|
|
16468
|
+
if (dirty &
|
|
16469
|
+
/*mb*/
|
|
16470
|
+
16) {
|
|
16471
|
+
set_custom_element_data(goa_block1, "mb",
|
|
16472
|
+
/*mb*/
|
|
16473
|
+
ctx[4]);
|
|
16474
|
+
}
|
|
16475
|
+
|
|
16476
|
+
if (dirty &
|
|
16477
|
+
/*mt*/
|
|
16478
|
+
4) {
|
|
16479
|
+
set_custom_element_data(goa_block1, "mt",
|
|
16480
|
+
/*mt*/
|
|
16481
|
+
ctx[2]);
|
|
16482
|
+
}
|
|
16483
|
+
},
|
|
16484
|
+
|
|
16485
|
+
i: noop,
|
|
16486
|
+
o: noop,
|
|
16487
|
+
|
|
16488
|
+
d(detaching) {
|
|
16489
|
+
if (detaching) detach(goa_block1);
|
|
16490
|
+
if (if_block) if_block.d();
|
|
16491
|
+
mounted = false;
|
|
16492
|
+
run_all(dispose);
|
|
16493
|
+
}
|
|
16494
|
+
|
|
16495
|
+
};
|
|
16496
|
+
}
|
|
16497
|
+
|
|
16498
|
+
function instance($$self, $$props, $$invalidate) {
|
|
16499
|
+
let _pageCount;
|
|
16500
|
+
|
|
16501
|
+
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
16502
|
+
let {
|
|
16503
|
+
pagenumber
|
|
16504
|
+
} = $$props;
|
|
16505
|
+
let {
|
|
16506
|
+
itemcount
|
|
16507
|
+
} = $$props;
|
|
16508
|
+
let {
|
|
16509
|
+
perpagecount = 10
|
|
16510
|
+
} = $$props;
|
|
16511
|
+
let {
|
|
16512
|
+
variant = "all"
|
|
16513
|
+
} = $$props;
|
|
16514
|
+
let {
|
|
16515
|
+
mt = null
|
|
16516
|
+
} = $$props;
|
|
16517
|
+
let {
|
|
16518
|
+
mr = null
|
|
16519
|
+
} = $$props;
|
|
16520
|
+
let {
|
|
16521
|
+
mb = "m"
|
|
16522
|
+
} = $$props;
|
|
16523
|
+
let {
|
|
16524
|
+
ml = null
|
|
16525
|
+
} = $$props; // private
|
|
16526
|
+
|
|
16527
|
+
let inputEl = null;
|
|
16528
|
+
let hiddenEl = null; // needed to allow the inputEl's event to be cancelled
|
|
16529
|
+
// hooks
|
|
16530
|
+
|
|
16531
|
+
onMount(async () => {
|
|
16532
|
+
await tick();
|
|
16533
|
+
validateRequired("GoAPagination", {
|
|
16534
|
+
itemcount,
|
|
16535
|
+
pagenumber
|
|
16536
|
+
});
|
|
16537
|
+
validateVariant(variant); // prevent event propagation if value is non-numeric
|
|
16538
|
+
// (input[type=number] returns blank for non-numeric numbers)
|
|
16539
|
+
|
|
16540
|
+
inputEl && inputEl.addEventListener("_change", e => {
|
|
16541
|
+
const page = Number.parseInt(e.detail.value);
|
|
16542
|
+
e.stopPropagation();
|
|
16543
|
+
|
|
16544
|
+
if (isNaN(page)) {
|
|
16545
|
+
return;
|
|
16546
|
+
}
|
|
16547
|
+
|
|
16548
|
+
hiddenEl.dispatchEvent(new CustomEvent("_change", {
|
|
16549
|
+
composed: true,
|
|
16550
|
+
bubbles: true,
|
|
16551
|
+
detail: {
|
|
16552
|
+
page
|
|
16553
|
+
}
|
|
16554
|
+
}));
|
|
16555
|
+
});
|
|
16556
|
+
}); // functions
|
|
16557
|
+
|
|
16558
|
+
function goto(e, offset) {
|
|
16559
|
+
const newPage = Number.parseInt(pagenumber + "") + offset;
|
|
16560
|
+
|
|
16561
|
+
if (newPage > 0 && newPage <= _pageCount) {
|
|
16562
|
+
e.target.dispatchEvent(new CustomEvent("_change", {
|
|
16563
|
+
composed: true,
|
|
16564
|
+
bubbles: true,
|
|
16565
|
+
detail: {
|
|
16566
|
+
page: newPage
|
|
16567
|
+
}
|
|
16568
|
+
}));
|
|
16569
|
+
}
|
|
16570
|
+
|
|
16571
|
+
e.preventDefault();
|
|
16572
|
+
}
|
|
16573
|
+
|
|
16574
|
+
function input_binding($$value) {
|
|
16575
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16576
|
+
hiddenEl = $$value;
|
|
16577
|
+
$$invalidate(7, hiddenEl);
|
|
16578
|
+
});
|
|
16579
|
+
}
|
|
16580
|
+
|
|
16581
|
+
function goa_input_binding($$value) {
|
|
16582
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16583
|
+
inputEl = $$value;
|
|
16584
|
+
$$invalidate(6, inputEl);
|
|
16585
|
+
});
|
|
16586
|
+
}
|
|
16587
|
+
|
|
16588
|
+
const click_handler = e => goto(e, -1);
|
|
16589
|
+
|
|
16590
|
+
const click_handler_1 = e => goto(e, 1);
|
|
16591
|
+
|
|
16592
|
+
$$self.$$set = $$props => {
|
|
16593
|
+
if ('pagenumber' in $$props) $$invalidate(0, pagenumber = $$props.pagenumber);
|
|
16594
|
+
if ('itemcount' in $$props) $$invalidate(10, itemcount = $$props.itemcount);
|
|
16595
|
+
if ('perpagecount' in $$props) $$invalidate(11, perpagecount = $$props.perpagecount);
|
|
16596
|
+
if ('variant' in $$props) $$invalidate(1, variant = $$props.variant);
|
|
16597
|
+
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
16598
|
+
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
16599
|
+
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
16600
|
+
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
16601
|
+
};
|
|
16602
|
+
|
|
16603
|
+
$$self.$$.update = () => {
|
|
16604
|
+
if ($$self.$$.dirty &
|
|
16605
|
+
/*itemcount, perpagecount*/
|
|
16606
|
+
3072) {
|
|
16607
|
+
// reactive
|
|
16608
|
+
$$invalidate(8, _pageCount = Math.ceil(itemcount / perpagecount));
|
|
16609
|
+
}
|
|
16610
|
+
};
|
|
16611
|
+
|
|
16612
|
+
return [pagenumber, variant, mt, mr, mb, ml, inputEl, hiddenEl, _pageCount, goto, itemcount, perpagecount, input_binding, goa_input_binding, click_handler, click_handler_1];
|
|
16613
|
+
}
|
|
16614
|
+
|
|
16615
|
+
class Pagination extends SvelteElement {
|
|
16616
|
+
constructor(options) {
|
|
16617
|
+
super();
|
|
16618
|
+
this.shadowRoot.innerHTML = `<style>span{white-space:nowrap}.controls{display:flex;gap:1rem;flex-direction:column;align-items:center;width:100%}@media(min-width: 480px){.controls{flex-direction:row;justify-content:space-between}}</style>`;
|
|
16619
|
+
init(this, {
|
|
16620
|
+
target: this.shadowRoot,
|
|
16621
|
+
props: attribute_to_object(this.attributes),
|
|
16622
|
+
customElement: true
|
|
16623
|
+
}, instance, create_fragment, safe_not_equal, {
|
|
16624
|
+
pagenumber: 0,
|
|
16625
|
+
itemcount: 10,
|
|
16626
|
+
perpagecount: 11,
|
|
16627
|
+
variant: 1,
|
|
16628
|
+
mt: 2,
|
|
16629
|
+
mr: 3,
|
|
16630
|
+
mb: 4,
|
|
16631
|
+
ml: 5
|
|
16632
|
+
}, null);
|
|
16633
|
+
|
|
16634
|
+
if (options) {
|
|
16635
|
+
if (options.target) {
|
|
16636
|
+
insert(options.target, this, options.anchor);
|
|
16637
|
+
}
|
|
16638
|
+
|
|
16639
|
+
if (options.props) {
|
|
16640
|
+
this.$set(options.props);
|
|
16641
|
+
flush();
|
|
16642
|
+
}
|
|
16643
|
+
}
|
|
16644
|
+
}
|
|
16645
|
+
|
|
16646
|
+
static get observedAttributes() {
|
|
16647
|
+
return ["pagenumber", "itemcount", "perpagecount", "variant", "mt", "mr", "mb", "ml"];
|
|
16648
|
+
}
|
|
16649
|
+
|
|
16650
|
+
get pagenumber() {
|
|
16651
|
+
return this.$$.ctx[0];
|
|
16652
|
+
}
|
|
16653
|
+
|
|
16654
|
+
set pagenumber(pagenumber) {
|
|
16655
|
+
this.$$set({
|
|
16656
|
+
pagenumber
|
|
16657
|
+
});
|
|
16658
|
+
flush();
|
|
16659
|
+
}
|
|
16660
|
+
|
|
16661
|
+
get itemcount() {
|
|
16662
|
+
return this.$$.ctx[10];
|
|
16663
|
+
}
|
|
16664
|
+
|
|
16665
|
+
set itemcount(itemcount) {
|
|
16666
|
+
this.$$set({
|
|
16667
|
+
itemcount
|
|
16668
|
+
});
|
|
16669
|
+
flush();
|
|
16670
|
+
}
|
|
16671
|
+
|
|
16672
|
+
get perpagecount() {
|
|
16673
|
+
return this.$$.ctx[11];
|
|
16674
|
+
}
|
|
16675
|
+
|
|
16676
|
+
set perpagecount(perpagecount) {
|
|
16677
|
+
this.$$set({
|
|
16678
|
+
perpagecount
|
|
16679
|
+
});
|
|
16680
|
+
flush();
|
|
16681
|
+
}
|
|
16682
|
+
|
|
16683
|
+
get variant() {
|
|
16684
|
+
return this.$$.ctx[1];
|
|
16685
|
+
}
|
|
16686
|
+
|
|
16687
|
+
set variant(variant) {
|
|
16688
|
+
this.$$set({
|
|
16689
|
+
variant
|
|
16690
|
+
});
|
|
16691
|
+
flush();
|
|
16692
|
+
}
|
|
16693
|
+
|
|
16694
|
+
get mt() {
|
|
16695
|
+
return this.$$.ctx[2];
|
|
16696
|
+
}
|
|
16697
|
+
|
|
16698
|
+
set mt(mt) {
|
|
16699
|
+
this.$$set({
|
|
16700
|
+
mt
|
|
16701
|
+
});
|
|
16702
|
+
flush();
|
|
16703
|
+
}
|
|
16704
|
+
|
|
16705
|
+
get mr() {
|
|
16706
|
+
return this.$$.ctx[3];
|
|
16707
|
+
}
|
|
16708
|
+
|
|
16709
|
+
set mr(mr) {
|
|
16710
|
+
this.$$set({
|
|
16711
|
+
mr
|
|
16712
|
+
});
|
|
16713
|
+
flush();
|
|
16714
|
+
}
|
|
16715
|
+
|
|
16716
|
+
get mb() {
|
|
16717
|
+
return this.$$.ctx[4];
|
|
16718
|
+
}
|
|
16719
|
+
|
|
16720
|
+
set mb(mb) {
|
|
16721
|
+
this.$$set({
|
|
16722
|
+
mb
|
|
16723
|
+
});
|
|
16724
|
+
flush();
|
|
16725
|
+
}
|
|
16726
|
+
|
|
16727
|
+
get ml() {
|
|
16728
|
+
return this.$$.ctx[5];
|
|
16729
|
+
}
|
|
16730
|
+
|
|
16731
|
+
set ml(ml) {
|
|
16732
|
+
this.$$set({
|
|
16733
|
+
ml
|
|
16734
|
+
});
|
|
16735
|
+
flush();
|
|
16736
|
+
}
|
|
16737
|
+
|
|
16738
|
+
}
|
|
16739
|
+
|
|
16740
|
+
customElements.define("goa-pagination", Pagination);
|
|
16204
16741
|
|
|
16205
16742
|
const GoAAppHeader = ({
|
|
16206
16743
|
heading,
|
|
@@ -16881,6 +17418,7 @@ function __rest(s, e) {
|
|
|
16881
17418
|
|
|
16882
17419
|
const GoAInput = ({
|
|
16883
17420
|
id,
|
|
17421
|
+
debounce,
|
|
16884
17422
|
name,
|
|
16885
17423
|
type,
|
|
16886
17424
|
autoCapitalize,
|
|
@@ -16939,6 +17477,7 @@ const GoAInput = ({
|
|
|
16939
17477
|
}, [ref, onChange, onTrailingIconClick]);
|
|
16940
17478
|
return jsxs("goa-input", Object.assign({
|
|
16941
17479
|
ref: ref,
|
|
17480
|
+
debounce: debounce,
|
|
16942
17481
|
focused: focused,
|
|
16943
17482
|
type: type,
|
|
16944
17483
|
name: name,
|
|
@@ -17298,6 +17837,40 @@ const GoARadioGroup = ({
|
|
|
17298
17837
|
}), void 0);
|
|
17299
17838
|
};
|
|
17300
17839
|
|
|
17840
|
+
function GoAPagination(props) {
|
|
17841
|
+
const ref = useRef();
|
|
17842
|
+
useEffect(() => {
|
|
17843
|
+
if (!ref.current) {
|
|
17844
|
+
return;
|
|
17845
|
+
}
|
|
17846
|
+
|
|
17847
|
+
const current = ref.current;
|
|
17848
|
+
|
|
17849
|
+
const changeListener = e => {
|
|
17850
|
+
const {
|
|
17851
|
+
page
|
|
17852
|
+
} = e.detail;
|
|
17853
|
+
props.onChange(page);
|
|
17854
|
+
};
|
|
17855
|
+
|
|
17856
|
+
current.addEventListener("_change", changeListener);
|
|
17857
|
+
return () => {
|
|
17858
|
+
current.removeEventListener("_change", changeListener);
|
|
17859
|
+
};
|
|
17860
|
+
}, [ref, props.onChange]);
|
|
17861
|
+
return jsx("goa-pagination", {
|
|
17862
|
+
ref: ref,
|
|
17863
|
+
itemcount: props.itemCount,
|
|
17864
|
+
perpagecount: props.perPageCount,
|
|
17865
|
+
pagenumber: props.pageNumber,
|
|
17866
|
+
variant: props.variant,
|
|
17867
|
+
mt: props.mt,
|
|
17868
|
+
mb: props.mb,
|
|
17869
|
+
ml: props.ml,
|
|
17870
|
+
mr: props.mr
|
|
17871
|
+
}, void 0);
|
|
17872
|
+
}
|
|
17873
|
+
|
|
17301
17874
|
const GoASkeleton = ({
|
|
17302
17875
|
maxWidth,
|
|
17303
17876
|
size,
|
|
@@ -17347,7 +17920,10 @@ function GoATable(props) {
|
|
|
17347
17920
|
return jsx("goa-table", Object.assign({
|
|
17348
17921
|
width: props.width,
|
|
17349
17922
|
stickyheader: false,
|
|
17350
|
-
|
|
17923
|
+
mt: props.mt,
|
|
17924
|
+
mb: props.mb,
|
|
17925
|
+
ml: props.ml,
|
|
17926
|
+
mr: props.mr
|
|
17351
17927
|
}, {
|
|
17352
17928
|
children: jsx("template", {
|
|
17353
17929
|
children: jsx("table", {
|
|
@@ -17437,4 +18013,4 @@ function GoATwoColumnLayout(props) {
|
|
|
17437
18013
|
}), void 0);
|
|
17438
18014
|
}
|
|
17439
18015
|
|
|
17440
|
-
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, 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, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|
|
18016
|
+
export { GoAAppFooter, GoAAppFooterMetaSection, GoAAppFooterNavSection, GoAAppHeader, GoABadge, GoABlock, GoAButton, GoAButtonGroup, GoACallout, GoACheckbox, GoAChip, GoACircularProgress, GoAContainer, GoADivider, GoADropdown, GoADropdownItem, GoADropdownOption, GoAEmergencyBadge, GoAFormItem, 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, GoAPagination, GoARadioGroup, GoARadioItem, GoASkeleton, GoASpacer, GoASpinner, GoASuccessBadge, GoATable, GoATextArea, GoATwoColumnLayout };
|