@abgov/react-components 4.0.0-alpha.105 → 4.0.0-alpha.107
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 +819 -241
- package/react-components.umd.js +818 -240
package/react-components.umd.js
CHANGED
|
@@ -1124,7 +1124,7 @@
|
|
|
1124
1124
|
} // (19:4) {#if url}
|
|
1125
1125
|
|
|
1126
1126
|
|
|
1127
|
-
function create_if_block$
|
|
1127
|
+
function create_if_block$i(ctx) {
|
|
1128
1128
|
let a;
|
|
1129
1129
|
let img0;
|
|
1130
1130
|
let img0_src_value;
|
|
@@ -1191,7 +1191,7 @@
|
|
|
1191
1191
|
};
|
|
1192
1192
|
}
|
|
1193
1193
|
|
|
1194
|
-
function create_fragment$
|
|
1194
|
+
function create_fragment$G(ctx) {
|
|
1195
1195
|
let div2;
|
|
1196
1196
|
let div1;
|
|
1197
1197
|
let t;
|
|
@@ -1201,7 +1201,7 @@
|
|
|
1201
1201
|
function select_block_type(ctx, dirty) {
|
|
1202
1202
|
if (
|
|
1203
1203
|
/*url*/
|
|
1204
|
-
ctx[1]) return create_if_block$
|
|
1204
|
+
ctx[1]) return create_if_block$i;
|
|
1205
1205
|
return create_else_block$4;
|
|
1206
1206
|
}
|
|
1207
1207
|
|
|
@@ -1275,7 +1275,7 @@
|
|
|
1275
1275
|
};
|
|
1276
1276
|
}
|
|
1277
1277
|
|
|
1278
|
-
function instance$
|
|
1278
|
+
function instance$A($$self, $$props, $$invalidate) {
|
|
1279
1279
|
let {
|
|
1280
1280
|
heading = ""
|
|
1281
1281
|
} = $$props;
|
|
@@ -1307,7 +1307,7 @@
|
|
|
1307
1307
|
target: this.shadowRoot,
|
|
1308
1308
|
props: attribute_to_object(this.attributes),
|
|
1309
1309
|
customElement: true
|
|
1310
|
-
}, instance$
|
|
1310
|
+
}, instance$A, create_fragment$G, safe_not_equal, {
|
|
1311
1311
|
heading: 0,
|
|
1312
1312
|
url: 1,
|
|
1313
1313
|
testid: 2,
|
|
@@ -1492,7 +1492,7 @@
|
|
|
1492
1492
|
} // (50:2) {#if content}
|
|
1493
1493
|
|
|
1494
1494
|
|
|
1495
|
-
function create_if_block$
|
|
1495
|
+
function create_if_block$h(ctx) {
|
|
1496
1496
|
let div;
|
|
1497
1497
|
let t;
|
|
1498
1498
|
return {
|
|
@@ -1524,7 +1524,7 @@
|
|
|
1524
1524
|
};
|
|
1525
1525
|
}
|
|
1526
1526
|
|
|
1527
|
-
function create_fragment$
|
|
1527
|
+
function create_fragment$F(ctx) {
|
|
1528
1528
|
let div;
|
|
1529
1529
|
let t;
|
|
1530
1530
|
let div_style_value;
|
|
@@ -1541,7 +1541,7 @@
|
|
|
1541
1541
|
let if_block0 = current_block_type(ctx);
|
|
1542
1542
|
let if_block1 =
|
|
1543
1543
|
/*content*/
|
|
1544
|
-
ctx[2] && create_if_block$
|
|
1544
|
+
ctx[2] && create_if_block$h(ctx);
|
|
1545
1545
|
return {
|
|
1546
1546
|
c() {
|
|
1547
1547
|
div = element("div");
|
|
@@ -1598,7 +1598,7 @@
|
|
|
1598
1598
|
if (if_block1) {
|
|
1599
1599
|
if_block1.p(ctx, dirty);
|
|
1600
1600
|
} else {
|
|
1601
|
-
if_block1 = create_if_block$
|
|
1601
|
+
if_block1 = create_if_block$h(ctx);
|
|
1602
1602
|
if_block1.c();
|
|
1603
1603
|
if_block1.m(div, null);
|
|
1604
1604
|
}
|
|
@@ -1660,7 +1660,7 @@
|
|
|
1660
1660
|
};
|
|
1661
1661
|
}
|
|
1662
1662
|
|
|
1663
|
-
function instance$
|
|
1663
|
+
function instance$z($$self, $$props, $$invalidate) {
|
|
1664
1664
|
let showIcon;
|
|
1665
1665
|
let iconType;
|
|
1666
1666
|
const [Types, validateType] = typeValidator("Badge type", ["success", "important", "information", "emergency", "dark", "midtone", "light"], true);
|
|
@@ -1740,7 +1740,7 @@
|
|
|
1740
1740
|
target: this.shadowRoot,
|
|
1741
1741
|
props: attribute_to_object(this.attributes),
|
|
1742
1742
|
customElement: true
|
|
1743
|
-
}, instance$
|
|
1743
|
+
}, instance$z, create_fragment$F, safe_not_equal, {
|
|
1744
1744
|
type: 0,
|
|
1745
1745
|
testid: 1,
|
|
1746
1746
|
content: 2,
|
|
@@ -1860,7 +1860,7 @@
|
|
|
1860
1860
|
customElements.define("goa-badge", Badge);
|
|
1861
1861
|
/* libs/web-components/src/components/block/Block.svelte generated by Svelte v3.51.0 */
|
|
1862
1862
|
|
|
1863
|
-
function create_fragment$
|
|
1863
|
+
function create_fragment$E(ctx) {
|
|
1864
1864
|
let div;
|
|
1865
1865
|
let slot;
|
|
1866
1866
|
let div_style_value;
|
|
@@ -1879,7 +1879,7 @@
|
|
|
1879
1879
|
/*mb*/
|
|
1880
1880
|
ctx[5],
|
|
1881
1881
|
/*ml*/
|
|
1882
|
-
ctx[6])}
|
|
1882
|
+
ctx[6])};
|
|
1883
1883
|
--gap: var(--goa-space-${
|
|
1884
1884
|
/*gap*/
|
|
1885
1885
|
ctx[0]});
|
|
@@ -1909,7 +1909,7 @@
|
|
|
1909
1909
|
/*mb*/
|
|
1910
1910
|
ctx[5],
|
|
1911
1911
|
/*ml*/
|
|
1912
|
-
ctx[6])}
|
|
1912
|
+
ctx[6])};
|
|
1913
1913
|
--gap: var(--goa-space-${
|
|
1914
1914
|
/*gap*/
|
|
1915
1915
|
ctx[0]});
|
|
@@ -1934,7 +1934,7 @@
|
|
|
1934
1934
|
};
|
|
1935
1935
|
}
|
|
1936
1936
|
|
|
1937
|
-
function instance$
|
|
1937
|
+
function instance$y($$self, $$props, $$invalidate) {
|
|
1938
1938
|
let {
|
|
1939
1939
|
gap = "m"
|
|
1940
1940
|
} = $$props;
|
|
@@ -1978,7 +1978,7 @@
|
|
|
1978
1978
|
target: this.shadowRoot,
|
|
1979
1979
|
props: attribute_to_object(this.attributes),
|
|
1980
1980
|
customElement: true
|
|
1981
|
-
}, instance$
|
|
1981
|
+
}, instance$y, create_fragment$E, safe_not_equal, {
|
|
1982
1982
|
gap: 0,
|
|
1983
1983
|
direction: 1,
|
|
1984
1984
|
alignment: 2,
|
|
@@ -2160,10 +2160,10 @@
|
|
|
2160
2160
|
}
|
|
2161
2161
|
|
|
2162
2162
|
};
|
|
2163
|
-
} // (
|
|
2163
|
+
} // (46:2) {#if type === "start"}
|
|
2164
2164
|
|
|
2165
2165
|
|
|
2166
|
-
function create_if_block$
|
|
2166
|
+
function create_if_block$g(ctx) {
|
|
2167
2167
|
let span;
|
|
2168
2168
|
let t;
|
|
2169
2169
|
let goa_icon;
|
|
@@ -2194,7 +2194,7 @@
|
|
|
2194
2194
|
}
|
|
2195
2195
|
|
|
2196
2196
|
};
|
|
2197
|
-
} // (
|
|
2197
|
+
} // (52:4) {#if leadingicon}
|
|
2198
2198
|
|
|
2199
2199
|
|
|
2200
2200
|
function create_if_block_2$6(ctx) {
|
|
@@ -2208,7 +2208,7 @@
|
|
|
2208
2208
|
ctx[3]);
|
|
2209
2209
|
set_custom_element_data(goa_icon, "inverted",
|
|
2210
2210
|
/*isButtonDark*/
|
|
2211
|
-
ctx[
|
|
2211
|
+
ctx[11]);
|
|
2212
2212
|
},
|
|
2213
2213
|
|
|
2214
2214
|
m(target, anchor) {
|
|
@@ -2226,10 +2226,10 @@
|
|
|
2226
2226
|
|
|
2227
2227
|
if (dirty &
|
|
2228
2228
|
/*isButtonDark*/
|
|
2229
|
-
|
|
2229
|
+
2048) {
|
|
2230
2230
|
set_custom_element_data(goa_icon, "inverted",
|
|
2231
2231
|
/*isButtonDark*/
|
|
2232
|
-
ctx[
|
|
2232
|
+
ctx[11]);
|
|
2233
2233
|
}
|
|
2234
2234
|
},
|
|
2235
2235
|
|
|
@@ -2238,7 +2238,7 @@
|
|
|
2238
2238
|
}
|
|
2239
2239
|
|
|
2240
2240
|
};
|
|
2241
|
-
} // (
|
|
2241
|
+
} // (58:4) {#if trailingicon}
|
|
2242
2242
|
|
|
2243
2243
|
|
|
2244
2244
|
function create_if_block_1$9(ctx) {
|
|
@@ -2252,7 +2252,7 @@
|
|
|
2252
2252
|
ctx[4]);
|
|
2253
2253
|
set_custom_element_data(goa_icon, "inverted",
|
|
2254
2254
|
/*isButtonDark*/
|
|
2255
|
-
ctx[
|
|
2255
|
+
ctx[11]);
|
|
2256
2256
|
},
|
|
2257
2257
|
|
|
2258
2258
|
m(target, anchor) {
|
|
@@ -2270,10 +2270,10 @@
|
|
|
2270
2270
|
|
|
2271
2271
|
if (dirty &
|
|
2272
2272
|
/*isButtonDark*/
|
|
2273
|
-
|
|
2273
|
+
2048) {
|
|
2274
2274
|
set_custom_element_data(goa_icon, "inverted",
|
|
2275
2275
|
/*isButtonDark*/
|
|
2276
|
-
ctx[
|
|
2276
|
+
ctx[11]);
|
|
2277
2277
|
}
|
|
2278
2278
|
},
|
|
2279
2279
|
|
|
@@ -2284,7 +2284,7 @@
|
|
|
2284
2284
|
};
|
|
2285
2285
|
}
|
|
2286
2286
|
|
|
2287
|
-
function create_fragment$
|
|
2287
|
+
function create_fragment$D(ctx) {
|
|
2288
2288
|
let button;
|
|
2289
2289
|
let button_class_value;
|
|
2290
2290
|
let button_style_value;
|
|
@@ -2294,7 +2294,7 @@
|
|
|
2294
2294
|
function select_block_type(ctx, dirty) {
|
|
2295
2295
|
if (
|
|
2296
2296
|
/*type*/
|
|
2297
|
-
ctx[0] === "start") return create_if_block$
|
|
2297
|
+
ctx[0] === "start") return create_if_block$g;
|
|
2298
2298
|
return create_else_block$2;
|
|
2299
2299
|
}
|
|
2300
2300
|
|
|
@@ -2323,7 +2323,7 @@
|
|
|
2323
2323
|
ctx[9]));
|
|
2324
2324
|
button.disabled =
|
|
2325
2325
|
/*isDisabled*/
|
|
2326
|
-
ctx[
|
|
2326
|
+
ctx[10];
|
|
2327
2327
|
attr(button, "data-testid",
|
|
2328
2328
|
/*testid*/
|
|
2329
2329
|
ctx[5]);
|
|
@@ -2342,7 +2342,11 @@
|
|
|
2342
2342
|
if_block.m(button, null);
|
|
2343
2343
|
|
|
2344
2344
|
if (!mounted) {
|
|
2345
|
-
dispose = [listen(button, "click",
|
|
2345
|
+
dispose = [listen(button, "click",
|
|
2346
|
+
/*clickHandler*/
|
|
2347
|
+
ctx[12]), listen(button, "click",
|
|
2348
|
+
/*clickHandler*/
|
|
2349
|
+
ctx[12])];
|
|
2346
2350
|
mounted = true;
|
|
2347
2351
|
}
|
|
2348
2352
|
},
|
|
@@ -2388,10 +2392,10 @@
|
|
|
2388
2392
|
|
|
2389
2393
|
if (dirty &
|
|
2390
2394
|
/*isDisabled*/
|
|
2391
|
-
|
|
2395
|
+
1024) {
|
|
2392
2396
|
button.disabled =
|
|
2393
2397
|
/*isDisabled*/
|
|
2394
|
-
ctx[
|
|
2398
|
+
ctx[10];
|
|
2395
2399
|
}
|
|
2396
2400
|
|
|
2397
2401
|
if (dirty &
|
|
@@ -2434,15 +2438,7 @@
|
|
|
2434
2438
|
};
|
|
2435
2439
|
}
|
|
2436
2440
|
|
|
2437
|
-
function
|
|
2438
|
-
this.dispatchEvent(new CustomEvent("_click", {
|
|
2439
|
-
composed: true,
|
|
2440
|
-
bubbles: true
|
|
2441
|
-
}));
|
|
2442
|
-
e.stopPropagation();
|
|
2443
|
-
}
|
|
2444
|
-
|
|
2445
|
-
function instance$w($$self, $$props, $$invalidate) {
|
|
2441
|
+
function instance$x($$self, $$props, $$invalidate) {
|
|
2446
2442
|
let isDisabled;
|
|
2447
2443
|
let isButtonDark;
|
|
2448
2444
|
const [Types, validateType] = typeValidator("Button type", ["primary", "submit", "secondary", "tertiary", "start"], true);
|
|
@@ -2481,6 +2477,16 @@
|
|
|
2481
2477
|
let {
|
|
2482
2478
|
ml = null
|
|
2483
2479
|
} = $$props;
|
|
2480
|
+
|
|
2481
|
+
function clickHandler(e) {
|
|
2482
|
+
if (!isDisabled) {
|
|
2483
|
+
this.dispatchEvent(new CustomEvent("_click", {
|
|
2484
|
+
composed: true,
|
|
2485
|
+
bubbles: true
|
|
2486
|
+
}));
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2484
2490
|
onMount(() => {
|
|
2485
2491
|
validateType(type);
|
|
2486
2492
|
validateSize(size);
|
|
@@ -2491,7 +2497,7 @@
|
|
|
2491
2497
|
if ('type' in $$props) $$invalidate(0, type = $$props.type);
|
|
2492
2498
|
if ('size' in $$props) $$invalidate(1, size = $$props.size);
|
|
2493
2499
|
if ('variant' in $$props) $$invalidate(2, variant = $$props.variant);
|
|
2494
|
-
if ('disabled' in $$props) $$invalidate(
|
|
2500
|
+
if ('disabled' in $$props) $$invalidate(13, disabled = $$props.disabled);
|
|
2495
2501
|
if ('leadingicon' in $$props) $$invalidate(3, leadingicon = $$props.leadingicon);
|
|
2496
2502
|
if ('trailingicon' in $$props) $$invalidate(4, trailingicon = $$props.trailingicon);
|
|
2497
2503
|
if ('testid' in $$props) $$invalidate(5, testid = $$props.testid);
|
|
@@ -2504,18 +2510,18 @@
|
|
|
2504
2510
|
$$self.$$.update = () => {
|
|
2505
2511
|
if ($$self.$$.dirty &
|
|
2506
2512
|
/*disabled*/
|
|
2507
|
-
|
|
2508
|
-
$$invalidate(
|
|
2513
|
+
8192) {
|
|
2514
|
+
$$invalidate(10, isDisabled = toBoolean(disabled));
|
|
2509
2515
|
}
|
|
2510
2516
|
|
|
2511
2517
|
if ($$self.$$.dirty &
|
|
2512
2518
|
/*type*/
|
|
2513
2519
|
1) {
|
|
2514
|
-
$$invalidate(
|
|
2520
|
+
$$invalidate(11, isButtonDark = type === "primary" || type === "start");
|
|
2515
2521
|
}
|
|
2516
2522
|
};
|
|
2517
2523
|
|
|
2518
|
-
return [type, size, variant, leadingicon, trailingicon, testid, mt, mr, mb, ml, isButtonDark,
|
|
2524
|
+
return [type, size, variant, leadingicon, trailingicon, testid, mt, mr, mb, ml, isDisabled, isButtonDark, clickHandler, disabled];
|
|
2519
2525
|
}
|
|
2520
2526
|
|
|
2521
2527
|
class Button extends SvelteElement {
|
|
@@ -2527,11 +2533,11 @@
|
|
|
2527
2533
|
target: this.shadowRoot,
|
|
2528
2534
|
props: attribute_to_object(this.attributes),
|
|
2529
2535
|
customElement: true
|
|
2530
|
-
}, instance$
|
|
2536
|
+
}, instance$x, create_fragment$D, safe_not_equal, {
|
|
2531
2537
|
type: 0,
|
|
2532
2538
|
size: 1,
|
|
2533
2539
|
variant: 2,
|
|
2534
|
-
disabled:
|
|
2540
|
+
disabled: 13,
|
|
2535
2541
|
leadingicon: 3,
|
|
2536
2542
|
trailingicon: 4,
|
|
2537
2543
|
testid: 5,
|
|
@@ -2591,7 +2597,7 @@
|
|
|
2591
2597
|
}
|
|
2592
2598
|
|
|
2593
2599
|
get disabled() {
|
|
2594
|
-
return this.$$.ctx[
|
|
2600
|
+
return this.$$.ctx[13];
|
|
2595
2601
|
}
|
|
2596
2602
|
|
|
2597
2603
|
set disabled(disabled) {
|
|
@@ -2683,7 +2689,7 @@
|
|
|
2683
2689
|
customElements.define("goa-button", Button);
|
|
2684
2690
|
/* libs/web-components/src/components/button-group/ButtonGroup.svelte generated by Svelte v3.51.0 */
|
|
2685
2691
|
|
|
2686
|
-
function create_fragment$
|
|
2692
|
+
function create_fragment$C(ctx) {
|
|
2687
2693
|
let div;
|
|
2688
2694
|
let slot;
|
|
2689
2695
|
let div_style_value;
|
|
@@ -2753,7 +2759,7 @@
|
|
|
2753
2759
|
};
|
|
2754
2760
|
}
|
|
2755
2761
|
|
|
2756
|
-
function instance$
|
|
2762
|
+
function instance$w($$self, $$props, $$invalidate) {
|
|
2757
2763
|
let _alignment;
|
|
2758
2764
|
|
|
2759
2765
|
let {
|
|
@@ -2817,7 +2823,7 @@
|
|
|
2817
2823
|
target: this.shadowRoot,
|
|
2818
2824
|
props: attribute_to_object(this.attributes),
|
|
2819
2825
|
customElement: true
|
|
2820
|
-
}, instance$
|
|
2826
|
+
}, instance$w, create_fragment$C, safe_not_equal, {
|
|
2821
2827
|
alignment: 7,
|
|
2822
2828
|
gap: 0,
|
|
2823
2829
|
testid: 1,
|
|
@@ -2925,7 +2931,7 @@
|
|
|
2925
2931
|
customElements.define("goa-button-group", ButtonGroup);
|
|
2926
2932
|
/* libs/web-components/src/components/callout/Callout.svelte generated by Svelte v3.51.0 */
|
|
2927
2933
|
|
|
2928
|
-
function create_if_block$
|
|
2934
|
+
function create_if_block$f(ctx) {
|
|
2929
2935
|
let h3;
|
|
2930
2936
|
let t;
|
|
2931
2937
|
return {
|
|
@@ -2956,7 +2962,7 @@
|
|
|
2956
2962
|
};
|
|
2957
2963
|
}
|
|
2958
2964
|
|
|
2959
|
-
function create_fragment$
|
|
2965
|
+
function create_fragment$B(ctx) {
|
|
2960
2966
|
let div;
|
|
2961
2967
|
let span0;
|
|
2962
2968
|
let goa_icon;
|
|
@@ -2969,7 +2975,7 @@
|
|
|
2969
2975
|
let div_style_value;
|
|
2970
2976
|
let if_block =
|
|
2971
2977
|
/*heading*/
|
|
2972
|
-
ctx[5] && create_if_block$
|
|
2978
|
+
ctx[5] && create_if_block$f(ctx);
|
|
2973
2979
|
return {
|
|
2974
2980
|
c() {
|
|
2975
2981
|
div = element("div");
|
|
@@ -3048,7 +3054,7 @@
|
|
|
3048
3054
|
if (if_block) {
|
|
3049
3055
|
if_block.p(ctx, dirty);
|
|
3050
3056
|
} else {
|
|
3051
|
-
if_block = create_if_block$
|
|
3057
|
+
if_block = create_if_block$f(ctx);
|
|
3052
3058
|
if_block.c();
|
|
3053
3059
|
if_block.m(span1, t1);
|
|
3054
3060
|
}
|
|
@@ -3091,7 +3097,7 @@
|
|
|
3091
3097
|
};
|
|
3092
3098
|
}
|
|
3093
3099
|
|
|
3094
|
-
function instance$
|
|
3100
|
+
function instance$v($$self, $$props, $$invalidate) {
|
|
3095
3101
|
let iconType;
|
|
3096
3102
|
const [Types, validateType] = typeValidator("Callout type", ["emergency", "important", "information", "event", "success"], true);
|
|
3097
3103
|
let {
|
|
@@ -3148,7 +3154,7 @@
|
|
|
3148
3154
|
target: this.shadowRoot,
|
|
3149
3155
|
props: attribute_to_object(this.attributes),
|
|
3150
3156
|
customElement: true
|
|
3151
|
-
}, instance$
|
|
3157
|
+
}, instance$v, create_fragment$B, safe_not_equal, {
|
|
3152
3158
|
mt: 0,
|
|
3153
3159
|
mr: 1,
|
|
3154
3160
|
mb: 2,
|
|
@@ -3256,7 +3262,7 @@
|
|
|
3256
3262
|
customElements.define("goa-callout", Callout);
|
|
3257
3263
|
/* libs/web-components/src/components/card-actions/CardActions.svelte generated by Svelte v3.51.0 */
|
|
3258
3264
|
|
|
3259
|
-
function create_fragment$
|
|
3265
|
+
function create_fragment$A(ctx) {
|
|
3260
3266
|
let goa_card_content;
|
|
3261
3267
|
return {
|
|
3262
3268
|
c() {
|
|
@@ -3287,7 +3293,7 @@
|
|
|
3287
3293
|
target: this.shadowRoot,
|
|
3288
3294
|
props: attribute_to_object(this.attributes),
|
|
3289
3295
|
customElement: true
|
|
3290
|
-
}, null, create_fragment$
|
|
3296
|
+
}, null, create_fragment$A, safe_not_equal, {}, null);
|
|
3291
3297
|
|
|
3292
3298
|
if (options) {
|
|
3293
3299
|
if (options.target) {
|
|
@@ -3301,7 +3307,7 @@
|
|
|
3301
3307
|
customElements.define("goa-card-actions", CardActions);
|
|
3302
3308
|
/* libs/web-components/src/components/card/Card.svelte generated by Svelte v3.51.0 */
|
|
3303
3309
|
|
|
3304
|
-
function create_fragment$
|
|
3310
|
+
function create_fragment$z(ctx) {
|
|
3305
3311
|
let div;
|
|
3306
3312
|
let slot;
|
|
3307
3313
|
let div_style_value;
|
|
@@ -3380,7 +3386,7 @@
|
|
|
3380
3386
|
};
|
|
3381
3387
|
}
|
|
3382
3388
|
|
|
3383
|
-
function instance$
|
|
3389
|
+
function instance$u($$self, $$props, $$invalidate) {
|
|
3384
3390
|
let {
|
|
3385
3391
|
elevation = 0
|
|
3386
3392
|
} = $$props;
|
|
@@ -3428,7 +3434,7 @@
|
|
|
3428
3434
|
target: this.shadowRoot,
|
|
3429
3435
|
props: attribute_to_object(this.attributes),
|
|
3430
3436
|
customElement: true
|
|
3431
|
-
}, instance$
|
|
3437
|
+
}, instance$u, create_fragment$z, safe_not_equal, {
|
|
3432
3438
|
elevation: 0,
|
|
3433
3439
|
width: 1,
|
|
3434
3440
|
height: 2,
|
|
@@ -3548,7 +3554,7 @@
|
|
|
3548
3554
|
customElements.define("goa-card", Card);
|
|
3549
3555
|
/* libs/web-components/src/components/card-content/CardContent.svelte generated by Svelte v3.51.0 */
|
|
3550
3556
|
|
|
3551
|
-
function create_fragment$
|
|
3557
|
+
function create_fragment$y(ctx) {
|
|
3552
3558
|
let div;
|
|
3553
3559
|
return {
|
|
3554
3560
|
c() {
|
|
@@ -3581,7 +3587,7 @@
|
|
|
3581
3587
|
target: this.shadowRoot,
|
|
3582
3588
|
props: attribute_to_object(this.attributes),
|
|
3583
3589
|
customElement: true
|
|
3584
|
-
}, null, create_fragment$
|
|
3590
|
+
}, null, create_fragment$y, safe_not_equal, {}, null);
|
|
3585
3591
|
|
|
3586
3592
|
if (options) {
|
|
3587
3593
|
if (options.target) {
|
|
@@ -3595,7 +3601,7 @@
|
|
|
3595
3601
|
customElements.define("goa-card-content", CardContent);
|
|
3596
3602
|
/* libs/web-components/src/components/card-group/CardGroup.svelte generated by Svelte v3.51.0 */
|
|
3597
3603
|
|
|
3598
|
-
function create_fragment$
|
|
3604
|
+
function create_fragment$x(ctx) {
|
|
3599
3605
|
let div;
|
|
3600
3606
|
return {
|
|
3601
3607
|
c() {
|
|
@@ -3628,7 +3634,7 @@
|
|
|
3628
3634
|
target: this.shadowRoot,
|
|
3629
3635
|
props: attribute_to_object(this.attributes),
|
|
3630
3636
|
customElement: true
|
|
3631
|
-
}, null, create_fragment$
|
|
3637
|
+
}, null, create_fragment$x, safe_not_equal, {}, null);
|
|
3632
3638
|
|
|
3633
3639
|
if (options) {
|
|
3634
3640
|
if (options.target) {
|
|
@@ -3642,7 +3648,7 @@
|
|
|
3642
3648
|
customElements.define("goa-card-group", CardGroup);
|
|
3643
3649
|
/* libs/web-components/src/components/card-image/CardImage.svelte generated by Svelte v3.51.0 */
|
|
3644
3650
|
|
|
3645
|
-
function create_fragment$
|
|
3651
|
+
function create_fragment$w(ctx) {
|
|
3646
3652
|
let div;
|
|
3647
3653
|
return {
|
|
3648
3654
|
c() {
|
|
@@ -3690,7 +3696,7 @@
|
|
|
3690
3696
|
};
|
|
3691
3697
|
}
|
|
3692
3698
|
|
|
3693
|
-
function instance$
|
|
3699
|
+
function instance$t($$self, $$props, $$invalidate) {
|
|
3694
3700
|
let {
|
|
3695
3701
|
src
|
|
3696
3702
|
} = $$props;
|
|
@@ -3714,7 +3720,7 @@
|
|
|
3714
3720
|
target: this.shadowRoot,
|
|
3715
3721
|
props: attribute_to_object(this.attributes),
|
|
3716
3722
|
customElement: true
|
|
3717
|
-
}, instance$
|
|
3723
|
+
}, instance$t, create_fragment$w, safe_not_equal, {
|
|
3718
3724
|
src: 0,
|
|
3719
3725
|
height: 1
|
|
3720
3726
|
}, null);
|
|
@@ -3789,7 +3795,7 @@
|
|
|
3789
3795
|
} // (68:4) {#if isIndeterminate}
|
|
3790
3796
|
|
|
3791
3797
|
|
|
3792
|
-
function create_if_block$
|
|
3798
|
+
function create_if_block$e(ctx) {
|
|
3793
3799
|
let svg;
|
|
3794
3800
|
let rect;
|
|
3795
3801
|
return {
|
|
@@ -3816,7 +3822,7 @@
|
|
|
3816
3822
|
};
|
|
3817
3823
|
}
|
|
3818
3824
|
|
|
3819
|
-
function create_fragment$
|
|
3825
|
+
function create_fragment$v(ctx) {
|
|
3820
3826
|
let label;
|
|
3821
3827
|
let div0;
|
|
3822
3828
|
let input;
|
|
@@ -3834,7 +3840,7 @@
|
|
|
3834
3840
|
function select_block_type(ctx, dirty) {
|
|
3835
3841
|
if (
|
|
3836
3842
|
/*isIndeterminate*/
|
|
3837
|
-
ctx[10]) return create_if_block$
|
|
3843
|
+
ctx[10]) return create_if_block$e;
|
|
3838
3844
|
if (
|
|
3839
3845
|
/*isChecked*/
|
|
3840
3846
|
ctx[9]) return create_if_block_1$8;
|
|
@@ -4065,7 +4071,7 @@
|
|
|
4065
4071
|
};
|
|
4066
4072
|
}
|
|
4067
4073
|
|
|
4068
|
-
function instance$
|
|
4074
|
+
function instance$s($$self, $$props, $$invalidate) {
|
|
4069
4075
|
let isDisabled;
|
|
4070
4076
|
let isError;
|
|
4071
4077
|
let isChecked;
|
|
@@ -4180,7 +4186,7 @@
|
|
|
4180
4186
|
target: this.shadowRoot,
|
|
4181
4187
|
props: attribute_to_object(this.attributes),
|
|
4182
4188
|
customElement: true
|
|
4183
|
-
}, instance$
|
|
4189
|
+
}, instance$s, create_fragment$v, safe_not_equal, {
|
|
4184
4190
|
name: 0,
|
|
4185
4191
|
checked: 14,
|
|
4186
4192
|
text: 1,
|
|
@@ -4382,7 +4388,7 @@
|
|
|
4382
4388
|
} // (54:2) {#if _deletable}
|
|
4383
4389
|
|
|
4384
4390
|
|
|
4385
|
-
function create_if_block$
|
|
4391
|
+
function create_if_block$d(ctx) {
|
|
4386
4392
|
let goa_icon;
|
|
4387
4393
|
let goa_icon_fillcolor_value;
|
|
4388
4394
|
let goa_icon_opacity_value;
|
|
@@ -4438,7 +4444,7 @@
|
|
|
4438
4444
|
};
|
|
4439
4445
|
}
|
|
4440
4446
|
|
|
4441
|
-
function create_fragment$
|
|
4447
|
+
function create_fragment$u(ctx) {
|
|
4442
4448
|
let div1;
|
|
4443
4449
|
let t0;
|
|
4444
4450
|
let div0;
|
|
@@ -4452,7 +4458,7 @@
|
|
|
4452
4458
|
ctx[4] && create_if_block_1$7(ctx);
|
|
4453
4459
|
let if_block1 =
|
|
4454
4460
|
/*_deletable*/
|
|
4455
|
-
ctx[11] && create_if_block$
|
|
4461
|
+
ctx[11] && create_if_block$d(ctx);
|
|
4456
4462
|
return {
|
|
4457
4463
|
c() {
|
|
4458
4464
|
div1 = element("div");
|
|
@@ -4547,7 +4553,7 @@
|
|
|
4547
4553
|
if (if_block1) {
|
|
4548
4554
|
if_block1.p(ctx, dirty);
|
|
4549
4555
|
} else {
|
|
4550
|
-
if_block1 = create_if_block$
|
|
4556
|
+
if_block1 = create_if_block$d(ctx);
|
|
4551
4557
|
if_block1.c();
|
|
4552
4558
|
if_block1.m(div1, null);
|
|
4553
4559
|
}
|
|
@@ -4620,7 +4626,7 @@
|
|
|
4620
4626
|
};
|
|
4621
4627
|
}
|
|
4622
4628
|
|
|
4623
|
-
function instance$
|
|
4629
|
+
function instance$r($$self, $$props, $$invalidate) {
|
|
4624
4630
|
let {
|
|
4625
4631
|
mt = null
|
|
4626
4632
|
} = $$props;
|
|
@@ -4721,7 +4727,7 @@
|
|
|
4721
4727
|
target: this.shadowRoot,
|
|
4722
4728
|
props: attribute_to_object(this.attributes),
|
|
4723
4729
|
customElement: true
|
|
4724
|
-
}, instance$
|
|
4730
|
+
}, instance$r, create_fragment$u, safe_not_equal, {
|
|
4725
4731
|
mt: 0,
|
|
4726
4732
|
mr: 1,
|
|
4727
4733
|
mb: 2,
|
|
@@ -4978,7 +4984,7 @@
|
|
|
4978
4984
|
/* libs/web-components/src/components/circular-progress/CircularProgress.svelte generated by Svelte v3.51.0 */
|
|
4979
4985
|
|
|
4980
4986
|
|
|
4981
|
-
function create_if_block$
|
|
4987
|
+
function create_if_block$c(ctx) {
|
|
4982
4988
|
let current_block_type_index;
|
|
4983
4989
|
let if_block;
|
|
4984
4990
|
let if_block_anchor;
|
|
@@ -5349,12 +5355,12 @@
|
|
|
5349
5355
|
};
|
|
5350
5356
|
}
|
|
5351
5357
|
|
|
5352
|
-
function create_fragment$
|
|
5358
|
+
function create_fragment$t(ctx) {
|
|
5353
5359
|
let if_block_anchor;
|
|
5354
5360
|
let current;
|
|
5355
5361
|
let if_block =
|
|
5356
5362
|
/*isVisible*/
|
|
5357
|
-
ctx[5] && create_if_block$
|
|
5363
|
+
ctx[5] && create_if_block$c(ctx);
|
|
5358
5364
|
return {
|
|
5359
5365
|
c() {
|
|
5360
5366
|
if (if_block) if_block.c();
|
|
@@ -5381,7 +5387,7 @@
|
|
|
5381
5387
|
transition_in(if_block, 1);
|
|
5382
5388
|
}
|
|
5383
5389
|
} else {
|
|
5384
|
-
if_block = create_if_block$
|
|
5390
|
+
if_block = create_if_block$c(ctx);
|
|
5385
5391
|
if_block.c();
|
|
5386
5392
|
transition_in(if_block, 1);
|
|
5387
5393
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -5414,7 +5420,7 @@
|
|
|
5414
5420
|
};
|
|
5415
5421
|
}
|
|
5416
5422
|
|
|
5417
|
-
function instance$
|
|
5423
|
+
function instance$q($$self, $$props, $$invalidate) {
|
|
5418
5424
|
let isVisible;
|
|
5419
5425
|
const [Variants, validateVariant] = typeValidator("Circular progress variant", ["fullscreen", "inline"]);
|
|
5420
5426
|
const [Sizes, validateSize] = typeValidator("Button size", ["small", "large"]);
|
|
@@ -5472,7 +5478,7 @@
|
|
|
5472
5478
|
target: this.shadowRoot,
|
|
5473
5479
|
props: attribute_to_object(this.attributes),
|
|
5474
5480
|
customElement: true
|
|
5475
|
-
}, instance$
|
|
5481
|
+
}, instance$q, create_fragment$t, safe_not_equal, {
|
|
5476
5482
|
variant: 6,
|
|
5477
5483
|
size: 7,
|
|
5478
5484
|
message: 0,
|
|
@@ -5556,7 +5562,7 @@
|
|
|
5556
5562
|
customElements.define("goa-circular-progress", CircularProgress);
|
|
5557
5563
|
/* libs/web-components/src/components/container/Container.svelte generated by Svelte v3.51.0 */
|
|
5558
5564
|
|
|
5559
|
-
function create_fragment$
|
|
5565
|
+
function create_fragment$s(ctx) {
|
|
5560
5566
|
let div3;
|
|
5561
5567
|
let header;
|
|
5562
5568
|
let div0;
|
|
@@ -5681,7 +5687,7 @@
|
|
|
5681
5687
|
};
|
|
5682
5688
|
}
|
|
5683
5689
|
|
|
5684
|
-
function instance$
|
|
5690
|
+
function instance$p($$self, $$props, $$invalidate) {
|
|
5685
5691
|
const [Types, validateType] = typeValidator("Container type", ["interactive", "info", "error", "success", "important", "non-interactive"]);
|
|
5686
5692
|
const [Accents, validateAccent] = typeValidator("Container accent", ["thick", "thin", "filled"]);
|
|
5687
5693
|
const [Paddings, validatePadding] = typeValidator("Container padding", ["relaxed", "compact"]);
|
|
@@ -5737,7 +5743,7 @@
|
|
|
5737
5743
|
target: this.shadowRoot,
|
|
5738
5744
|
props: attribute_to_object(this.attributes),
|
|
5739
5745
|
customElement: true
|
|
5740
|
-
}, instance$
|
|
5746
|
+
}, instance$p, create_fragment$s, safe_not_equal, {
|
|
5741
5747
|
type: 0,
|
|
5742
5748
|
accent: 1,
|
|
5743
5749
|
padding: 2,
|
|
@@ -5857,7 +5863,7 @@
|
|
|
5857
5863
|
customElements.define("goa-container", Container);
|
|
5858
5864
|
/* libs/web-components/src/components/divider/Divider.svelte generated by Svelte v3.51.0 */
|
|
5859
5865
|
|
|
5860
|
-
function create_fragment$
|
|
5866
|
+
function create_fragment$r(ctx) {
|
|
5861
5867
|
let hr;
|
|
5862
5868
|
let hr_style_value;
|
|
5863
5869
|
return {
|
|
@@ -5916,7 +5922,7 @@
|
|
|
5916
5922
|
};
|
|
5917
5923
|
}
|
|
5918
5924
|
|
|
5919
|
-
function instance$
|
|
5925
|
+
function instance$o($$self, $$props, $$invalidate) {
|
|
5920
5926
|
let {
|
|
5921
5927
|
testid = ""
|
|
5922
5928
|
} = $$props;
|
|
@@ -5952,7 +5958,7 @@
|
|
|
5952
5958
|
target: this.shadowRoot,
|
|
5953
5959
|
props: attribute_to_object(this.attributes),
|
|
5954
5960
|
customElement: true
|
|
5955
|
-
}, instance$
|
|
5961
|
+
}, instance$o, create_fragment$r, safe_not_equal, {
|
|
5956
5962
|
testid: 0,
|
|
5957
5963
|
mt: 1,
|
|
5958
5964
|
mr: 2,
|
|
@@ -6319,7 +6325,7 @@
|
|
|
6319
6325
|
} // (237:2) {#if _native}
|
|
6320
6326
|
|
|
6321
6327
|
|
|
6322
|
-
function create_if_block$
|
|
6328
|
+
function create_if_block$b(ctx) {
|
|
6323
6329
|
let select;
|
|
6324
6330
|
let slot;
|
|
6325
6331
|
let select_aria_label_value;
|
|
@@ -6742,7 +6748,7 @@
|
|
|
6742
6748
|
};
|
|
6743
6749
|
}
|
|
6744
6750
|
|
|
6745
|
-
function create_fragment$
|
|
6751
|
+
function create_fragment$q(ctx) {
|
|
6746
6752
|
let div;
|
|
6747
6753
|
let div_data_testid_value;
|
|
6748
6754
|
let div_style_value;
|
|
@@ -6750,7 +6756,7 @@
|
|
|
6750
6756
|
function select_block_type(ctx, dirty) {
|
|
6751
6757
|
if (
|
|
6752
6758
|
/*_native*/
|
|
6753
|
-
ctx[22]) return create_if_block$
|
|
6759
|
+
ctx[22]) return create_if_block$b;
|
|
6754
6760
|
return create_else_block$1;
|
|
6755
6761
|
}
|
|
6756
6762
|
|
|
@@ -6859,7 +6865,7 @@
|
|
|
6859
6865
|
};
|
|
6860
6866
|
}
|
|
6861
6867
|
|
|
6862
|
-
function instance$
|
|
6868
|
+
function instance$n($$self, $$props, $$invalidate) {
|
|
6863
6869
|
const showMenu = _async(function () {
|
|
6864
6870
|
if (_disabled || _isMenuVisible) {
|
|
6865
6871
|
return;
|
|
@@ -7251,7 +7257,7 @@
|
|
|
7251
7257
|
target: this.shadowRoot,
|
|
7252
7258
|
props: attribute_to_object(this.attributes),
|
|
7253
7259
|
customElement: true
|
|
7254
|
-
}, instance$
|
|
7260
|
+
}, instance$n, create_fragment$q, safe_not_equal, {
|
|
7255
7261
|
name: 0,
|
|
7256
7262
|
arialabel: 1,
|
|
7257
7263
|
value: 28,
|
|
@@ -7455,7 +7461,7 @@
|
|
|
7455
7461
|
customElements.define("goa-dropdown", Dropdown);
|
|
7456
7462
|
/* libs/web-components/src/components/dropdown/DropdownItem.svelte generated by Svelte v3.51.0 */
|
|
7457
7463
|
|
|
7458
|
-
function create_fragment$
|
|
7464
|
+
function create_fragment$p(ctx) {
|
|
7459
7465
|
return {
|
|
7460
7466
|
c() {
|
|
7461
7467
|
this.c = noop;
|
|
@@ -7476,7 +7482,7 @@
|
|
|
7476
7482
|
target: this.shadowRoot,
|
|
7477
7483
|
props: attribute_to_object(this.attributes),
|
|
7478
7484
|
customElement: true
|
|
7479
|
-
}, null, create_fragment$
|
|
7485
|
+
}, null, create_fragment$p, safe_not_equal, {}, null);
|
|
7480
7486
|
|
|
7481
7487
|
if (options) {
|
|
7482
7488
|
if (options.target) {
|
|
@@ -7490,7 +7496,7 @@
|
|
|
7490
7496
|
customElements.define("goa-dropdown-item", DropdownItem);
|
|
7491
7497
|
/* libs/web-components/src/components/focus-trap/FocusTrap.svelte generated by Svelte v3.51.0 */
|
|
7492
7498
|
|
|
7493
|
-
function create_fragment$
|
|
7499
|
+
function create_fragment$o(ctx) {
|
|
7494
7500
|
let div;
|
|
7495
7501
|
return {
|
|
7496
7502
|
c() {
|
|
@@ -7551,7 +7557,7 @@
|
|
|
7551
7557
|
}
|
|
7552
7558
|
}
|
|
7553
7559
|
|
|
7554
|
-
function instance$
|
|
7560
|
+
function instance$m($$self, $$props, $$invalidate) {
|
|
7555
7561
|
let isActive;
|
|
7556
7562
|
let {
|
|
7557
7563
|
active
|
|
@@ -7720,7 +7726,7 @@
|
|
|
7720
7726
|
target: this.shadowRoot,
|
|
7721
7727
|
props: attribute_to_object(this.attributes),
|
|
7722
7728
|
customElement: true
|
|
7723
|
-
}, instance$
|
|
7729
|
+
}, instance$m, create_fragment$o, safe_not_equal, {
|
|
7724
7730
|
active: 1
|
|
7725
7731
|
}, null);
|
|
7726
7732
|
|
|
@@ -7756,7 +7762,7 @@
|
|
|
7756
7762
|
customElements.define("goa-focus-trap", FocusTrap);
|
|
7757
7763
|
/* libs/web-components/src/components/footer/Footer.svelte generated by Svelte v3.51.0 */
|
|
7758
7764
|
|
|
7759
|
-
function create_if_block$
|
|
7765
|
+
function create_if_block$a(ctx) {
|
|
7760
7766
|
let goa_divider;
|
|
7761
7767
|
return {
|
|
7762
7768
|
c() {
|
|
@@ -7775,9 +7781,7 @@
|
|
|
7775
7781
|
};
|
|
7776
7782
|
}
|
|
7777
7783
|
|
|
7778
|
-
function create_fragment$
|
|
7779
|
-
var _ctx$;
|
|
7780
|
-
|
|
7784
|
+
function create_fragment$n(ctx) {
|
|
7781
7785
|
let div5;
|
|
7782
7786
|
let div4;
|
|
7783
7787
|
let div0;
|
|
@@ -7793,11 +7797,11 @@
|
|
|
7793
7797
|
let div5_style_value;
|
|
7794
7798
|
let if_block =
|
|
7795
7799
|
/*navLinks*/
|
|
7796
|
-
|
|
7800
|
+
ctx[2] &&
|
|
7801
|
+
/*navLinks*/
|
|
7802
|
+
ctx[2].length > 0 && create_if_block$a();
|
|
7797
7803
|
return {
|
|
7798
7804
|
c() {
|
|
7799
|
-
var _ctx$2, _ctx$3;
|
|
7800
|
-
|
|
7801
7805
|
div5 = element("div");
|
|
7802
7806
|
div4 = element("div");
|
|
7803
7807
|
div0 = element("div");
|
|
@@ -7826,11 +7830,15 @@
|
|
|
7826
7830
|
attr(div2, "class", "abgov");
|
|
7827
7831
|
toggle_class(div2, "with-meta-links",
|
|
7828
7832
|
/*metaLinks*/
|
|
7829
|
-
|
|
7833
|
+
ctx[3] &&
|
|
7834
|
+
/*metaLinks*/
|
|
7835
|
+
ctx[3].length > 0);
|
|
7830
7836
|
attr(div3, "class", "meta-section");
|
|
7831
7837
|
toggle_class(div3, "with-meta-links",
|
|
7832
7838
|
/*metaLinks*/
|
|
7833
|
-
|
|
7839
|
+
ctx[3] &&
|
|
7840
|
+
/*metaLinks*/
|
|
7841
|
+
ctx[3].length > 0);
|
|
7834
7842
|
attr(div4, "class", "content");
|
|
7835
7843
|
attr(div5, "class", "app-footer");
|
|
7836
7844
|
attr(div5, "style", div5_style_value = `--max-content-width: ${
|
|
@@ -7858,13 +7866,13 @@
|
|
|
7858
7866
|
},
|
|
7859
7867
|
|
|
7860
7868
|
p(ctx, [dirty]) {
|
|
7861
|
-
var _ctx$4;
|
|
7862
|
-
|
|
7863
7869
|
if (
|
|
7864
7870
|
/*navLinks*/
|
|
7865
|
-
|
|
7871
|
+
ctx[2] &&
|
|
7872
|
+
/*navLinks*/
|
|
7873
|
+
ctx[2].length > 0) {
|
|
7866
7874
|
if (if_block) ;else {
|
|
7867
|
-
if_block = create_if_block$
|
|
7875
|
+
if_block = create_if_block$a();
|
|
7868
7876
|
if_block.c();
|
|
7869
7877
|
if_block.m(div4, t1);
|
|
7870
7878
|
}
|
|
@@ -7876,21 +7884,21 @@
|
|
|
7876
7884
|
if (dirty &
|
|
7877
7885
|
/*metaLinks*/
|
|
7878
7886
|
8) {
|
|
7879
|
-
var _ctx$5;
|
|
7880
|
-
|
|
7881
7887
|
toggle_class(div2, "with-meta-links",
|
|
7882
7888
|
/*metaLinks*/
|
|
7883
|
-
|
|
7889
|
+
ctx[3] &&
|
|
7890
|
+
/*metaLinks*/
|
|
7891
|
+
ctx[3].length > 0);
|
|
7884
7892
|
}
|
|
7885
7893
|
|
|
7886
7894
|
if (dirty &
|
|
7887
7895
|
/*metaLinks*/
|
|
7888
7896
|
8) {
|
|
7889
|
-
var _ctx$6;
|
|
7890
|
-
|
|
7891
7897
|
toggle_class(div3, "with-meta-links",
|
|
7892
7898
|
/*metaLinks*/
|
|
7893
|
-
|
|
7899
|
+
ctx[3] &&
|
|
7900
|
+
/*metaLinks*/
|
|
7901
|
+
ctx[3].length > 0);
|
|
7894
7902
|
}
|
|
7895
7903
|
|
|
7896
7904
|
if (dirty &
|
|
@@ -7916,7 +7924,7 @@
|
|
|
7916
7924
|
};
|
|
7917
7925
|
}
|
|
7918
7926
|
|
|
7919
|
-
function instance$
|
|
7927
|
+
function instance$l($$self, $$props, $$invalidate) {
|
|
7920
7928
|
let {
|
|
7921
7929
|
maxcontentwidth = ""
|
|
7922
7930
|
} = $$props;
|
|
@@ -7955,7 +7963,7 @@
|
|
|
7955
7963
|
target: this.shadowRoot,
|
|
7956
7964
|
props: attribute_to_object(this.attributes),
|
|
7957
7965
|
customElement: true
|
|
7958
|
-
}, instance$
|
|
7966
|
+
}, instance$l, create_fragment$n, safe_not_equal, {
|
|
7959
7967
|
maxcontentwidth: 0
|
|
7960
7968
|
}, null);
|
|
7961
7969
|
|
|
@@ -8045,7 +8053,7 @@
|
|
|
8045
8053
|
};
|
|
8046
8054
|
}
|
|
8047
8055
|
|
|
8048
|
-
function create_fragment$
|
|
8056
|
+
function create_fragment$m(ctx) {
|
|
8049
8057
|
let section;
|
|
8050
8058
|
let div;
|
|
8051
8059
|
let t;
|
|
@@ -8133,7 +8141,7 @@
|
|
|
8133
8141
|
};
|
|
8134
8142
|
}
|
|
8135
8143
|
|
|
8136
|
-
function instance$
|
|
8144
|
+
function instance$k($$self, $$props, $$invalidate) {
|
|
8137
8145
|
let rootEl;
|
|
8138
8146
|
let children = [];
|
|
8139
8147
|
onMount(function () {
|
|
@@ -8168,7 +8176,7 @@
|
|
|
8168
8176
|
target: this.shadowRoot,
|
|
8169
8177
|
props: attribute_to_object(this.attributes),
|
|
8170
8178
|
customElement: true
|
|
8171
|
-
}, instance$
|
|
8179
|
+
}, instance$k, create_fragment$m, safe_not_equal, {}, null);
|
|
8172
8180
|
|
|
8173
8181
|
if (options) {
|
|
8174
8182
|
if (options.target) {
|
|
@@ -8189,7 +8197,7 @@
|
|
|
8189
8197
|
} // (31:2) {#if heading}
|
|
8190
8198
|
|
|
8191
8199
|
|
|
8192
|
-
function create_if_block$
|
|
8200
|
+
function create_if_block$9(ctx) {
|
|
8193
8201
|
let div;
|
|
8194
8202
|
let t0;
|
|
8195
8203
|
let t1;
|
|
@@ -8278,7 +8286,7 @@
|
|
|
8278
8286
|
};
|
|
8279
8287
|
}
|
|
8280
8288
|
|
|
8281
|
-
function create_fragment$
|
|
8289
|
+
function create_fragment$l(ctx) {
|
|
8282
8290
|
let section;
|
|
8283
8291
|
let t0;
|
|
8284
8292
|
let div;
|
|
@@ -8287,7 +8295,7 @@
|
|
|
8287
8295
|
let ul_style_value;
|
|
8288
8296
|
let if_block =
|
|
8289
8297
|
/*heading*/
|
|
8290
|
-
ctx[0] && create_if_block$
|
|
8298
|
+
ctx[0] && create_if_block$9(ctx);
|
|
8291
8299
|
let each_value =
|
|
8292
8300
|
/*children*/
|
|
8293
8301
|
ctx[3];
|
|
@@ -8354,7 +8362,7 @@
|
|
|
8354
8362
|
if (if_block) {
|
|
8355
8363
|
if_block.p(ctx, dirty);
|
|
8356
8364
|
} else {
|
|
8357
|
-
if_block = create_if_block$
|
|
8365
|
+
if_block = create_if_block$9(ctx);
|
|
8358
8366
|
if_block.c();
|
|
8359
8367
|
if_block.m(section, t0);
|
|
8360
8368
|
}
|
|
@@ -8425,7 +8433,7 @@
|
|
|
8425
8433
|
};
|
|
8426
8434
|
}
|
|
8427
8435
|
|
|
8428
|
-
function instance$
|
|
8436
|
+
function instance$j($$self, $$props, $$invalidate) {
|
|
8429
8437
|
let {
|
|
8430
8438
|
heading = ""
|
|
8431
8439
|
} = $$props;
|
|
@@ -8477,7 +8485,7 @@
|
|
|
8477
8485
|
target: this.shadowRoot,
|
|
8478
8486
|
props: attribute_to_object(this.attributes),
|
|
8479
8487
|
customElement: true
|
|
8480
|
-
}, instance$
|
|
8488
|
+
}, instance$j, create_fragment$l, safe_not_equal, {
|
|
8481
8489
|
heading: 0,
|
|
8482
8490
|
maxcolumncount: 1
|
|
8483
8491
|
}, null);
|
|
@@ -8675,7 +8683,7 @@
|
|
|
8675
8683
|
} // (48:2) {#if helptext}
|
|
8676
8684
|
|
|
8677
8685
|
|
|
8678
|
-
function create_if_block$
|
|
8686
|
+
function create_if_block$8(ctx) {
|
|
8679
8687
|
let div;
|
|
8680
8688
|
let t;
|
|
8681
8689
|
return {
|
|
@@ -8707,7 +8715,7 @@
|
|
|
8707
8715
|
};
|
|
8708
8716
|
}
|
|
8709
8717
|
|
|
8710
|
-
function create_fragment$
|
|
8718
|
+
function create_fragment$k(ctx) {
|
|
8711
8719
|
let div1;
|
|
8712
8720
|
let t0;
|
|
8713
8721
|
let div0;
|
|
@@ -8722,7 +8730,7 @@
|
|
|
8722
8730
|
ctx[7] && create_if_block_1$4(ctx);
|
|
8723
8731
|
let if_block2 =
|
|
8724
8732
|
/*helptext*/
|
|
8725
|
-
ctx[6] && create_if_block$
|
|
8733
|
+
ctx[6] && create_if_block$8(ctx);
|
|
8726
8734
|
return {
|
|
8727
8735
|
c() {
|
|
8728
8736
|
div1 = element("div");
|
|
@@ -8799,7 +8807,7 @@
|
|
|
8799
8807
|
if (if_block2) {
|
|
8800
8808
|
if_block2.p(ctx, dirty);
|
|
8801
8809
|
} else {
|
|
8802
|
-
if_block2 = create_if_block$
|
|
8810
|
+
if_block2 = create_if_block$8(ctx);
|
|
8803
8811
|
if_block2.c();
|
|
8804
8812
|
if_block2.m(div1, null);
|
|
8805
8813
|
}
|
|
@@ -8844,7 +8852,7 @@
|
|
|
8844
8852
|
};
|
|
8845
8853
|
}
|
|
8846
8854
|
|
|
8847
|
-
function instance$
|
|
8855
|
+
function instance$i($$self, $$props, $$invalidate) {
|
|
8848
8856
|
const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
|
|
8849
8857
|
let {
|
|
8850
8858
|
testid = ""
|
|
@@ -8900,7 +8908,7 @@
|
|
|
8900
8908
|
target: this.shadowRoot,
|
|
8901
8909
|
props: attribute_to_object(this.attributes),
|
|
8902
8910
|
customElement: true
|
|
8903
|
-
}, instance$
|
|
8911
|
+
}, instance$i, create_fragment$k, safe_not_equal, {
|
|
8904
8912
|
testid: 0,
|
|
8905
8913
|
mt: 1,
|
|
8906
8914
|
mr: 2,
|
|
@@ -9032,7 +9040,7 @@
|
|
|
9032
9040
|
customElements.define("goa-form-item", FormItem);
|
|
9033
9041
|
/* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
|
|
9034
9042
|
|
|
9035
|
-
function create_fragment$
|
|
9043
|
+
function create_fragment$j(ctx) {
|
|
9036
9044
|
let div;
|
|
9037
9045
|
let slot;
|
|
9038
9046
|
let div_style_value;
|
|
@@ -9100,7 +9108,7 @@
|
|
|
9100
9108
|
};
|
|
9101
9109
|
}
|
|
9102
9110
|
|
|
9103
|
-
function instance$
|
|
9111
|
+
function instance$h($$self, $$props, $$invalidate) {
|
|
9104
9112
|
let {
|
|
9105
9113
|
gap = "m"
|
|
9106
9114
|
} = $$props;
|
|
@@ -9145,7 +9153,7 @@
|
|
|
9145
9153
|
target: this.shadowRoot,
|
|
9146
9154
|
props: attribute_to_object(this.attributes),
|
|
9147
9155
|
customElement: true
|
|
9148
|
-
}, instance$
|
|
9156
|
+
}, instance$h, create_fragment$j, safe_not_equal, {
|
|
9149
9157
|
gap: 0,
|
|
9150
9158
|
minchildwidth: 1,
|
|
9151
9159
|
mt: 2,
|
|
@@ -9241,7 +9249,7 @@
|
|
|
9241
9249
|
customElements.define("goa-grid", Grid);
|
|
9242
9250
|
/* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
|
|
9243
9251
|
|
|
9244
|
-
function create_fragment$
|
|
9252
|
+
function create_fragment$i(ctx) {
|
|
9245
9253
|
let div1;
|
|
9246
9254
|
let goa_page_block;
|
|
9247
9255
|
let h1;
|
|
@@ -9326,7 +9334,7 @@
|
|
|
9326
9334
|
};
|
|
9327
9335
|
}
|
|
9328
9336
|
|
|
9329
|
-
function instance$
|
|
9337
|
+
function instance$g($$self, $$props, $$invalidate) {
|
|
9330
9338
|
let {
|
|
9331
9339
|
heading
|
|
9332
9340
|
} = $$props;
|
|
@@ -9354,7 +9362,7 @@
|
|
|
9354
9362
|
target: this.shadowRoot,
|
|
9355
9363
|
props: attribute_to_object(this.attributes),
|
|
9356
9364
|
customElement: true
|
|
9357
|
-
}, instance$
|
|
9365
|
+
}, instance$g, create_fragment$i, safe_not_equal, {
|
|
9358
9366
|
heading: 0,
|
|
9359
9367
|
backgroundurl: 1,
|
|
9360
9368
|
minheight: 2
|
|
@@ -9414,7 +9422,7 @@
|
|
|
9414
9422
|
customElements.define("goa-hero-banner", HeroBanner);
|
|
9415
9423
|
/* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
|
|
9416
9424
|
|
|
9417
|
-
function create_fragment$
|
|
9425
|
+
function create_fragment$h(ctx) {
|
|
9418
9426
|
let button;
|
|
9419
9427
|
let goa_icon;
|
|
9420
9428
|
let button_style_value;
|
|
@@ -9586,7 +9594,7 @@
|
|
|
9586
9594
|
}));
|
|
9587
9595
|
}
|
|
9588
9596
|
|
|
9589
|
-
function instance$
|
|
9597
|
+
function instance$f($$self, $$props, $$invalidate) {
|
|
9590
9598
|
let css;
|
|
9591
9599
|
let isDisabled;
|
|
9592
9600
|
let isInverted;
|
|
@@ -9691,7 +9699,7 @@
|
|
|
9691
9699
|
target: this.shadowRoot,
|
|
9692
9700
|
props: attribute_to_object(this.attributes),
|
|
9693
9701
|
customElement: true
|
|
9694
|
-
}, instance$
|
|
9702
|
+
}, instance$f, create_fragment$h, safe_not_equal, {
|
|
9695
9703
|
icon: 0,
|
|
9696
9704
|
size: 1,
|
|
9697
9705
|
theme: 2,
|
|
@@ -9859,7 +9867,7 @@
|
|
|
9859
9867
|
customElements.define("goa-icon-button", IconButton);
|
|
9860
9868
|
/* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
|
|
9861
9869
|
|
|
9862
|
-
function create_if_block$
|
|
9870
|
+
function create_if_block$7(ctx) {
|
|
9863
9871
|
let ion_icon;
|
|
9864
9872
|
let ion_icon_name_value;
|
|
9865
9873
|
return {
|
|
@@ -9907,12 +9915,12 @@
|
|
|
9907
9915
|
};
|
|
9908
9916
|
}
|
|
9909
9917
|
|
|
9910
|
-
function create_fragment$
|
|
9918
|
+
function create_fragment$g(ctx) {
|
|
9911
9919
|
let div;
|
|
9912
9920
|
let div_style_value;
|
|
9913
9921
|
let if_block =
|
|
9914
9922
|
/*type*/
|
|
9915
|
-
ctx[4] && create_if_block$
|
|
9923
|
+
ctx[4] && create_if_block$7(ctx);
|
|
9916
9924
|
return {
|
|
9917
9925
|
c() {
|
|
9918
9926
|
div = element("div");
|
|
@@ -9965,7 +9973,7 @@
|
|
|
9965
9973
|
if (if_block) {
|
|
9966
9974
|
if_block.p(ctx, dirty);
|
|
9967
9975
|
} else {
|
|
9968
|
-
if_block = create_if_block$
|
|
9976
|
+
if_block = create_if_block$7(ctx);
|
|
9969
9977
|
if_block.c();
|
|
9970
9978
|
if_block.m(div, null);
|
|
9971
9979
|
}
|
|
@@ -10038,7 +10046,7 @@
|
|
|
10038
10046
|
};
|
|
10039
10047
|
}
|
|
10040
10048
|
|
|
10041
|
-
function instance$
|
|
10049
|
+
function instance$e($$self, $$props, $$invalidate) {
|
|
10042
10050
|
let isInverted;
|
|
10043
10051
|
|
|
10044
10052
|
let _size;
|
|
@@ -10128,7 +10136,7 @@
|
|
|
10128
10136
|
target: this.shadowRoot,
|
|
10129
10137
|
props: attribute_to_object(this.attributes),
|
|
10130
10138
|
customElement: true
|
|
10131
|
-
}, instance$
|
|
10139
|
+
}, instance$e, create_fragment$g, safe_not_equal, {
|
|
10132
10140
|
mt: 0,
|
|
10133
10141
|
mr: 1,
|
|
10134
10142
|
mb: 2,
|
|
@@ -10338,7 +10346,7 @@
|
|
|
10338
10346
|
}
|
|
10339
10347
|
|
|
10340
10348
|
};
|
|
10341
|
-
} // (
|
|
10349
|
+
} // (109:4) {#if leadingicon}
|
|
10342
10350
|
|
|
10343
10351
|
|
|
10344
10352
|
function create_if_block_3$2(ctx) {
|
|
@@ -10372,7 +10380,7 @@
|
|
|
10372
10380
|
}
|
|
10373
10381
|
|
|
10374
10382
|
};
|
|
10375
|
-
} // (
|
|
10383
|
+
} // (139:4) {#if trailingicon && !handlesTrailingIconClick}
|
|
10376
10384
|
|
|
10377
10385
|
|
|
10378
10386
|
function create_if_block_2$3(ctx) {
|
|
@@ -10407,7 +10415,7 @@
|
|
|
10407
10415
|
}
|
|
10408
10416
|
|
|
10409
10417
|
};
|
|
10410
|
-
} // (
|
|
10418
|
+
} // (149:4) {#if trailingicon && handlesTrailingIconClick}
|
|
10411
10419
|
|
|
10412
10420
|
|
|
10413
10421
|
function create_if_block_1$3(ctx) {
|
|
@@ -10462,10 +10470,10 @@
|
|
|
10462
10470
|
}
|
|
10463
10471
|
|
|
10464
10472
|
};
|
|
10465
|
-
} // (
|
|
10473
|
+
} // (161:4) {#if suffix}
|
|
10466
10474
|
|
|
10467
10475
|
|
|
10468
|
-
function create_if_block$
|
|
10476
|
+
function create_if_block$6(ctx) {
|
|
10469
10477
|
let span;
|
|
10470
10478
|
let t;
|
|
10471
10479
|
return {
|
|
@@ -10497,7 +10505,7 @@
|
|
|
10497
10505
|
};
|
|
10498
10506
|
}
|
|
10499
10507
|
|
|
10500
|
-
function create_fragment$
|
|
10508
|
+
function create_fragment$f(ctx) {
|
|
10501
10509
|
let div3;
|
|
10502
10510
|
let div2;
|
|
10503
10511
|
let t0;
|
|
@@ -10535,7 +10543,7 @@
|
|
|
10535
10543
|
ctx[24] && create_if_block_1$3(ctx);
|
|
10536
10544
|
let if_block4 =
|
|
10537
10545
|
/*suffix*/
|
|
10538
|
-
ctx[15] && create_if_block$
|
|
10546
|
+
ctx[15] && create_if_block$6(ctx);
|
|
10539
10547
|
return {
|
|
10540
10548
|
c() {
|
|
10541
10549
|
div3 = element("div");
|
|
@@ -10649,7 +10657,7 @@
|
|
|
10649
10657
|
append(div2, input);
|
|
10650
10658
|
/*input_binding*/
|
|
10651
10659
|
|
|
10652
|
-
ctx[
|
|
10660
|
+
ctx[33](input);
|
|
10653
10661
|
append(div2, t3);
|
|
10654
10662
|
if (if_block2) if_block2.m(div2, null);
|
|
10655
10663
|
append(div2, t4);
|
|
@@ -10856,7 +10864,7 @@
|
|
|
10856
10864
|
if (if_block4) {
|
|
10857
10865
|
if_block4.p(ctx, dirty);
|
|
10858
10866
|
} else {
|
|
10859
|
-
if_block4 = create_if_block$
|
|
10867
|
+
if_block4 = create_if_block$6(ctx);
|
|
10860
10868
|
if_block4.c();
|
|
10861
10869
|
if_block4.m(div2, t6);
|
|
10862
10870
|
}
|
|
@@ -10919,7 +10927,7 @@
|
|
|
10919
10927
|
if (if_block1) if_block1.d();
|
|
10920
10928
|
/*input_binding*/
|
|
10921
10929
|
|
|
10922
|
-
ctx[
|
|
10930
|
+
ctx[33](null);
|
|
10923
10931
|
if (if_block2) if_block2.d();
|
|
10924
10932
|
if (if_block3) if_block3.d();
|
|
10925
10933
|
if (if_block4) if_block4.d();
|
|
@@ -10936,7 +10944,7 @@
|
|
|
10936
10944
|
}));
|
|
10937
10945
|
}
|
|
10938
10946
|
|
|
10939
|
-
function instance$
|
|
10947
|
+
function instance$d($$self, $$props, $$invalidate) {
|
|
10940
10948
|
let handlesTrailingIconClick;
|
|
10941
10949
|
let isFocused;
|
|
10942
10950
|
let isReadonly;
|
|
@@ -10993,13 +11001,13 @@
|
|
|
10993
11001
|
arialabel = null
|
|
10994
11002
|
} = $$props;
|
|
10995
11003
|
let {
|
|
10996
|
-
min =
|
|
11004
|
+
min = ""
|
|
10997
11005
|
} = $$props;
|
|
10998
11006
|
let {
|
|
10999
|
-
max =
|
|
11007
|
+
max = ""
|
|
11000
11008
|
} = $$props;
|
|
11001
11009
|
let {
|
|
11002
|
-
step =
|
|
11010
|
+
step = 1
|
|
11003
11011
|
} = $$props;
|
|
11004
11012
|
let {
|
|
11005
11013
|
prefix = ""
|
|
@@ -11007,6 +11015,9 @@
|
|
|
11007
11015
|
let {
|
|
11008
11016
|
suffix = ""
|
|
11009
11017
|
} = $$props;
|
|
11018
|
+
let {
|
|
11019
|
+
debounce = 0
|
|
11020
|
+
} = $$props;
|
|
11010
11021
|
let {
|
|
11011
11022
|
mt = null
|
|
11012
11023
|
} = $$props;
|
|
@@ -11020,19 +11031,28 @@
|
|
|
11020
11031
|
ml = null
|
|
11021
11032
|
} = $$props;
|
|
11022
11033
|
let inputEl;
|
|
11034
|
+
let _debounceId = null;
|
|
11023
11035
|
|
|
11024
11036
|
function onKeyUp(e) {
|
|
11025
|
-
const
|
|
11026
|
-
|
|
11027
|
-
|
|
11028
|
-
|
|
11029
|
-
|
|
11030
|
-
|
|
11031
|
-
|
|
11032
|
-
|
|
11033
|
-
|
|
11034
|
-
|
|
11035
|
-
|
|
11037
|
+
const input = e.target;
|
|
11038
|
+
if (!input) return;
|
|
11039
|
+
|
|
11040
|
+
if (_debounceId != null) {
|
|
11041
|
+
clearTimeout(_debounceId);
|
|
11042
|
+
}
|
|
11043
|
+
|
|
11044
|
+
_debounceId = setTimeout(() => {
|
|
11045
|
+
input.dispatchEvent(new CustomEvent("_change", {
|
|
11046
|
+
composed: true,
|
|
11047
|
+
bubbles: false,
|
|
11048
|
+
cancelable: true,
|
|
11049
|
+
detail: {
|
|
11050
|
+
name,
|
|
11051
|
+
value: input.value
|
|
11052
|
+
}
|
|
11053
|
+
}));
|
|
11054
|
+
}, debounce);
|
|
11055
|
+
$$invalidate(0, value = input.value);
|
|
11036
11056
|
}
|
|
11037
11057
|
|
|
11038
11058
|
onMount(() => {
|
|
@@ -11073,6 +11093,7 @@
|
|
|
11073
11093
|
if ('step' in $$props) $$invalidate(13, step = $$props.step);
|
|
11074
11094
|
if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
|
|
11075
11095
|
if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
|
|
11096
|
+
if ('debounce' in $$props) $$invalidate(31, debounce = $$props.debounce);
|
|
11076
11097
|
if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
|
|
11077
11098
|
if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
|
|
11078
11099
|
if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
|
|
@@ -11089,7 +11110,7 @@
|
|
|
11089
11110
|
if ($$self.$$.dirty[0] &
|
|
11090
11111
|
/*focused*/
|
|
11091
11112
|
268435456) {
|
|
11092
|
-
$$invalidate(
|
|
11113
|
+
$$invalidate(32, isFocused = toBoolean(focused));
|
|
11093
11114
|
}
|
|
11094
11115
|
|
|
11095
11116
|
if ($$self.$$.dirty[0] &
|
|
@@ -11114,7 +11135,7 @@
|
|
|
11114
11135
|
/*inputEl*/
|
|
11115
11136
|
1048576 | $$self.$$.dirty[1] &
|
|
11116
11137
|
/*isFocused*/
|
|
11117
|
-
|
|
11138
|
+
2) {
|
|
11118
11139
|
if (isFocused && inputEl) {
|
|
11119
11140
|
setTimeout(() => inputEl.focus(), 1);
|
|
11120
11141
|
}
|
|
@@ -11131,19 +11152,19 @@
|
|
|
11131
11152
|
}
|
|
11132
11153
|
};
|
|
11133
11154
|
|
|
11134
|
-
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];
|
|
11155
|
+
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];
|
|
11135
11156
|
}
|
|
11136
11157
|
|
|
11137
11158
|
class Input extends SvelteElement {
|
|
11138
11159
|
constructor(options) {
|
|
11139
11160
|
super();
|
|
11140
|
-
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:
|
|
11161
|
+
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(--goa-color-greyscale-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>')
|
|
11141
11162
|
center center no-repeat}</style>`;
|
|
11142
11163
|
init(this, {
|
|
11143
11164
|
target: this.shadowRoot,
|
|
11144
11165
|
props: attribute_to_object(this.attributes),
|
|
11145
11166
|
customElement: true
|
|
11146
|
-
}, instance$
|
|
11167
|
+
}, instance$d, create_fragment$f, safe_not_equal, {
|
|
11147
11168
|
type: 1,
|
|
11148
11169
|
name: 2,
|
|
11149
11170
|
value: 0,
|
|
@@ -11165,6 +11186,7 @@
|
|
|
11165
11186
|
step: 13,
|
|
11166
11187
|
prefix: 14,
|
|
11167
11188
|
suffix: 15,
|
|
11189
|
+
debounce: 31,
|
|
11168
11190
|
mt: 16,
|
|
11169
11191
|
mr: 17,
|
|
11170
11192
|
mb: 18,
|
|
@@ -11184,7 +11206,7 @@
|
|
|
11184
11206
|
}
|
|
11185
11207
|
|
|
11186
11208
|
static get observedAttributes() {
|
|
11187
|
-
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"];
|
|
11209
|
+
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"];
|
|
11188
11210
|
}
|
|
11189
11211
|
|
|
11190
11212
|
get type() {
|
|
@@ -11418,6 +11440,17 @@
|
|
|
11418
11440
|
flush();
|
|
11419
11441
|
}
|
|
11420
11442
|
|
|
11443
|
+
get debounce() {
|
|
11444
|
+
return this.$$.ctx[31];
|
|
11445
|
+
}
|
|
11446
|
+
|
|
11447
|
+
set debounce(debounce) {
|
|
11448
|
+
this.$$set({
|
|
11449
|
+
debounce
|
|
11450
|
+
});
|
|
11451
|
+
flush();
|
|
11452
|
+
}
|
|
11453
|
+
|
|
11421
11454
|
get mt() {
|
|
11422
11455
|
return this.$$.ctx[16];
|
|
11423
11456
|
}
|
|
@@ -11629,7 +11662,7 @@
|
|
|
11629
11662
|
} // (56:2) {#if version}
|
|
11630
11663
|
|
|
11631
11664
|
|
|
11632
|
-
function create_if_block$
|
|
11665
|
+
function create_if_block$5(ctx) {
|
|
11633
11666
|
let div;
|
|
11634
11667
|
let t;
|
|
11635
11668
|
return {
|
|
@@ -11662,7 +11695,7 @@
|
|
|
11662
11695
|
};
|
|
11663
11696
|
}
|
|
11664
11697
|
|
|
11665
|
-
function create_fragment$
|
|
11698
|
+
function create_fragment$e(ctx) {
|
|
11666
11699
|
let header;
|
|
11667
11700
|
let t0;
|
|
11668
11701
|
let show_if = ["alpha", "beta"].includes(
|
|
@@ -11677,7 +11710,7 @@
|
|
|
11677
11710
|
let if_block1 = show_if && create_if_block_1$2(ctx);
|
|
11678
11711
|
let if_block2 =
|
|
11679
11712
|
/*version*/
|
|
11680
|
-
ctx[1] && create_if_block$
|
|
11713
|
+
ctx[1] && create_if_block$5(ctx);
|
|
11681
11714
|
return {
|
|
11682
11715
|
c() {
|
|
11683
11716
|
header = element("header");
|
|
@@ -11743,7 +11776,7 @@
|
|
|
11743
11776
|
if (if_block2) {
|
|
11744
11777
|
if_block2.p(ctx, dirty);
|
|
11745
11778
|
} else {
|
|
11746
|
-
if_block2 = create_if_block$
|
|
11779
|
+
if_block2 = create_if_block$5(ctx);
|
|
11747
11780
|
if_block2.c();
|
|
11748
11781
|
if_block2.m(header, null);
|
|
11749
11782
|
}
|
|
@@ -11771,7 +11804,7 @@
|
|
|
11771
11804
|
return val[0].toUpperCase() + val.slice(1);
|
|
11772
11805
|
}
|
|
11773
11806
|
|
|
11774
|
-
function instance$
|
|
11807
|
+
function instance$c($$self, $$props, $$invalidate) {
|
|
11775
11808
|
const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
|
|
11776
11809
|
let {
|
|
11777
11810
|
type
|
|
@@ -11803,7 +11836,7 @@
|
|
|
11803
11836
|
target: this.shadowRoot,
|
|
11804
11837
|
props: attribute_to_object(this.attributes),
|
|
11805
11838
|
customElement: true
|
|
11806
|
-
}, instance$
|
|
11839
|
+
}, instance$c, create_fragment$e, safe_not_equal, {
|
|
11807
11840
|
type: 0,
|
|
11808
11841
|
version: 1,
|
|
11809
11842
|
feedbackurl: 2
|
|
@@ -11863,7 +11896,7 @@
|
|
|
11863
11896
|
customElements.define("goa-microsite-header", MicrositeHeader);
|
|
11864
11897
|
/* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
|
|
11865
11898
|
|
|
11866
|
-
function create_if_block$
|
|
11899
|
+
function create_if_block$4(ctx) {
|
|
11867
11900
|
let goa_focus_trap;
|
|
11868
11901
|
let div5;
|
|
11869
11902
|
let div0;
|
|
@@ -12268,12 +12301,12 @@
|
|
|
12268
12301
|
};
|
|
12269
12302
|
}
|
|
12270
12303
|
|
|
12271
|
-
function create_fragment$
|
|
12304
|
+
function create_fragment$d(ctx) {
|
|
12272
12305
|
let if_block_anchor;
|
|
12273
12306
|
let current;
|
|
12274
12307
|
let if_block =
|
|
12275
12308
|
/*isOpen*/
|
|
12276
|
-
ctx[7] && create_if_block$
|
|
12309
|
+
ctx[7] && create_if_block$4(ctx);
|
|
12277
12310
|
return {
|
|
12278
12311
|
c() {
|
|
12279
12312
|
if (if_block) if_block.c();
|
|
@@ -12300,7 +12333,7 @@
|
|
|
12300
12333
|
transition_in(if_block, 1);
|
|
12301
12334
|
}
|
|
12302
12335
|
} else {
|
|
12303
|
-
if_block = create_if_block$
|
|
12336
|
+
if_block = create_if_block$4(ctx);
|
|
12304
12337
|
if_block.c();
|
|
12305
12338
|
transition_in(if_block, 1);
|
|
12306
12339
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12333,7 +12366,7 @@
|
|
|
12333
12366
|
};
|
|
12334
12367
|
}
|
|
12335
12368
|
|
|
12336
|
-
function instance$
|
|
12369
|
+
function instance$b($$self, $$props, $$invalidate) {
|
|
12337
12370
|
let isClosable;
|
|
12338
12371
|
let isOpen;
|
|
12339
12372
|
|
|
@@ -12423,7 +12456,7 @@
|
|
|
12423
12456
|
target: this.shadowRoot,
|
|
12424
12457
|
props: attribute_to_object(this.attributes),
|
|
12425
12458
|
customElement: true
|
|
12426
|
-
}, instance$
|
|
12459
|
+
}, instance$b, create_fragment$d, safe_not_equal, {
|
|
12427
12460
|
heading: 0,
|
|
12428
12461
|
closable: 9,
|
|
12429
12462
|
open: 1,
|
|
@@ -12519,7 +12552,7 @@
|
|
|
12519
12552
|
customElements.define("goa-modal", Modal);
|
|
12520
12553
|
/* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
|
|
12521
12554
|
|
|
12522
|
-
function create_if_block$
|
|
12555
|
+
function create_if_block$3(ctx) {
|
|
12523
12556
|
let div3;
|
|
12524
12557
|
let div0;
|
|
12525
12558
|
let goa_icon;
|
|
@@ -12643,12 +12676,12 @@
|
|
|
12643
12676
|
};
|
|
12644
12677
|
}
|
|
12645
12678
|
|
|
12646
|
-
function create_fragment$
|
|
12679
|
+
function create_fragment$c(ctx) {
|
|
12647
12680
|
let if_block_anchor;
|
|
12648
12681
|
let current;
|
|
12649
12682
|
let if_block =
|
|
12650
12683
|
/*show*/
|
|
12651
|
-
ctx[1] && create_if_block$
|
|
12684
|
+
ctx[1] && create_if_block$3(ctx);
|
|
12652
12685
|
return {
|
|
12653
12686
|
c() {
|
|
12654
12687
|
if (if_block) if_block.c();
|
|
@@ -12675,7 +12708,7 @@
|
|
|
12675
12708
|
transition_in(if_block, 1);
|
|
12676
12709
|
}
|
|
12677
12710
|
} else {
|
|
12678
|
-
if_block = create_if_block$
|
|
12711
|
+
if_block = create_if_block$3(ctx);
|
|
12679
12712
|
if_block.c();
|
|
12680
12713
|
transition_in(if_block, 1);
|
|
12681
12714
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
@@ -12708,7 +12741,7 @@
|
|
|
12708
12741
|
};
|
|
12709
12742
|
}
|
|
12710
12743
|
|
|
12711
|
-
function instance$
|
|
12744
|
+
function instance$a($$self, $$props, $$invalidate) {
|
|
12712
12745
|
let iconType;
|
|
12713
12746
|
const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
|
|
12714
12747
|
let {
|
|
@@ -12746,7 +12779,7 @@
|
|
|
12746
12779
|
target: this.shadowRoot,
|
|
12747
12780
|
props: attribute_to_object(this.attributes),
|
|
12748
12781
|
customElement: true
|
|
12749
|
-
}, instance$
|
|
12782
|
+
}, instance$a, create_fragment$c, safe_not_equal, {
|
|
12750
12783
|
type: 0
|
|
12751
12784
|
}, null);
|
|
12752
12785
|
|
|
@@ -12788,7 +12821,7 @@
|
|
|
12788
12821
|
/* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
|
|
12789
12822
|
|
|
12790
12823
|
|
|
12791
|
-
function create_fragment$
|
|
12824
|
+
function create_fragment$b(ctx) {
|
|
12792
12825
|
let div;
|
|
12793
12826
|
let slot;
|
|
12794
12827
|
let div_style_value;
|
|
@@ -12828,7 +12861,7 @@
|
|
|
12828
12861
|
};
|
|
12829
12862
|
}
|
|
12830
12863
|
|
|
12831
|
-
function instance$
|
|
12864
|
+
function instance$9($$self, $$props, $$invalidate) {
|
|
12832
12865
|
const Sizes = {
|
|
12833
12866
|
"full": "100%"
|
|
12834
12867
|
};
|
|
@@ -12869,7 +12902,7 @@
|
|
|
12869
12902
|
target: this.shadowRoot,
|
|
12870
12903
|
props: attribute_to_object(this.attributes),
|
|
12871
12904
|
customElement: true
|
|
12872
|
-
}, instance$
|
|
12905
|
+
}, instance$9, create_fragment$b, safe_not_equal, {
|
|
12873
12906
|
width: 1,
|
|
12874
12907
|
_width: 0
|
|
12875
12908
|
}, null);
|
|
@@ -13107,7 +13140,7 @@
|
|
|
13107
13140
|
};
|
|
13108
13141
|
}
|
|
13109
13142
|
|
|
13110
|
-
function create_fragment$
|
|
13143
|
+
function create_fragment$a(ctx) {
|
|
13111
13144
|
let div;
|
|
13112
13145
|
let slot;
|
|
13113
13146
|
let t;
|
|
@@ -13230,7 +13263,7 @@
|
|
|
13230
13263
|
};
|
|
13231
13264
|
}
|
|
13232
13265
|
|
|
13233
|
-
function instance$
|
|
13266
|
+
function instance$8($$self, $$props, $$invalidate) {
|
|
13234
13267
|
let isDisabled;
|
|
13235
13268
|
let isError;
|
|
13236
13269
|
const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
|
|
@@ -13375,7 +13408,7 @@
|
|
|
13375
13408
|
target: this.shadowRoot,
|
|
13376
13409
|
props: attribute_to_object(this.attributes),
|
|
13377
13410
|
customElement: true
|
|
13378
|
-
}, instance$
|
|
13411
|
+
}, instance$8, create_fragment$a, safe_not_equal, {
|
|
13379
13412
|
name: 1,
|
|
13380
13413
|
value: 0,
|
|
13381
13414
|
orientation: 2,
|
|
@@ -13531,7 +13564,7 @@
|
|
|
13531
13564
|
customElements.define("goa-radio-group", RadioGroup);
|
|
13532
13565
|
/* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
|
|
13533
13566
|
|
|
13534
|
-
function create_fragment$
|
|
13567
|
+
function create_fragment$9(ctx) {
|
|
13535
13568
|
let div;
|
|
13536
13569
|
let slot;
|
|
13537
13570
|
let div_style_value;
|
|
@@ -13599,7 +13632,7 @@
|
|
|
13599
13632
|
};
|
|
13600
13633
|
}
|
|
13601
13634
|
|
|
13602
|
-
function instance$
|
|
13635
|
+
function instance$7($$self, $$props, $$invalidate) {
|
|
13603
13636
|
let {
|
|
13604
13637
|
direction = "vertical"
|
|
13605
13638
|
} = $$props;
|
|
@@ -13631,7 +13664,7 @@
|
|
|
13631
13664
|
target: this.shadowRoot,
|
|
13632
13665
|
props: attribute_to_object(this.attributes),
|
|
13633
13666
|
customElement: true
|
|
13634
|
-
}, instance$
|
|
13667
|
+
}, instance$7, create_fragment$9, safe_not_equal, {
|
|
13635
13668
|
direction: 0,
|
|
13636
13669
|
hpadding: 1,
|
|
13637
13670
|
vpadding: 2,
|
|
@@ -13972,7 +14005,7 @@
|
|
|
13972
14005
|
} // (30:2) {#if type === "card"}
|
|
13973
14006
|
|
|
13974
14007
|
|
|
13975
|
-
function create_if_block$
|
|
14008
|
+
function create_if_block$2(ctx) {
|
|
13976
14009
|
let div1;
|
|
13977
14010
|
let skeleton0;
|
|
13978
14011
|
let t0;
|
|
@@ -14166,13 +14199,13 @@
|
|
|
14166
14199
|
};
|
|
14167
14200
|
}
|
|
14168
14201
|
|
|
14169
|
-
function create_fragment$
|
|
14202
|
+
function create_fragment$8(ctx) {
|
|
14170
14203
|
let div;
|
|
14171
14204
|
let current_block_type_index;
|
|
14172
14205
|
let if_block;
|
|
14173
14206
|
let div_style_value;
|
|
14174
14207
|
let current;
|
|
14175
|
-
const if_block_creators = [create_if_block$
|
|
14208
|
+
const if_block_creators = [create_if_block$2, create_if_block_1, create_if_block_2, create_else_block];
|
|
14176
14209
|
const if_blocks = [];
|
|
14177
14210
|
|
|
14178
14211
|
function select_block_type(ctx, dirty) {
|
|
@@ -14282,7 +14315,7 @@
|
|
|
14282
14315
|
};
|
|
14283
14316
|
}
|
|
14284
14317
|
|
|
14285
|
-
function instance$
|
|
14318
|
+
function instance$6($$self, $$props, $$invalidate) {
|
|
14286
14319
|
const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
|
|
14287
14320
|
const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
|
|
14288
14321
|
let {
|
|
@@ -14340,7 +14373,7 @@
|
|
|
14340
14373
|
target: this.shadowRoot,
|
|
14341
14374
|
props: attribute_to_object(this.attributes),
|
|
14342
14375
|
customElement: true
|
|
14343
|
-
}, instance$
|
|
14376
|
+
}, instance$6, create_fragment$8, safe_not_equal, {
|
|
14344
14377
|
maxwidth: 0,
|
|
14345
14378
|
size: 1,
|
|
14346
14379
|
linecount: 2,
|
|
@@ -14472,7 +14505,7 @@
|
|
|
14472
14505
|
customElements.define("goa-skeleton", Skeleton);
|
|
14473
14506
|
/* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
|
|
14474
14507
|
|
|
14475
|
-
function create_fragment$
|
|
14508
|
+
function create_fragment$7(ctx) {
|
|
14476
14509
|
let div;
|
|
14477
14510
|
return {
|
|
14478
14511
|
c() {
|
|
@@ -14501,7 +14534,7 @@
|
|
|
14501
14534
|
};
|
|
14502
14535
|
}
|
|
14503
14536
|
|
|
14504
|
-
function instance$
|
|
14537
|
+
function instance$5($$self, $$props, $$invalidate) {
|
|
14505
14538
|
let {
|
|
14506
14539
|
hspacing = "none"
|
|
14507
14540
|
} = $$props;
|
|
@@ -14538,7 +14571,7 @@
|
|
|
14538
14571
|
target: this.shadowRoot,
|
|
14539
14572
|
props: attribute_to_object(this.attributes),
|
|
14540
14573
|
customElement: true
|
|
14541
|
-
}, instance$
|
|
14574
|
+
}, instance$5, create_fragment$7, safe_not_equal, {
|
|
14542
14575
|
hspacing: 1,
|
|
14543
14576
|
vspacing: 2
|
|
14544
14577
|
}, null);
|
|
@@ -14770,7 +14803,7 @@
|
|
|
14770
14803
|
/* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
|
|
14771
14804
|
|
|
14772
14805
|
|
|
14773
|
-
function create_if_block(ctx) {
|
|
14806
|
+
function create_if_block$1(ctx) {
|
|
14774
14807
|
let svg;
|
|
14775
14808
|
let circle;
|
|
14776
14809
|
let circle_stroke_value;
|
|
@@ -14960,11 +14993,11 @@
|
|
|
14960
14993
|
};
|
|
14961
14994
|
}
|
|
14962
14995
|
|
|
14963
|
-
function create_fragment$
|
|
14996
|
+
function create_fragment$6(ctx) {
|
|
14964
14997
|
let if_block_anchor;
|
|
14965
14998
|
let if_block =
|
|
14966
14999
|
/*ready*/
|
|
14967
|
-
ctx[6] && create_if_block(ctx);
|
|
15000
|
+
ctx[6] && create_if_block$1(ctx);
|
|
14968
15001
|
return {
|
|
14969
15002
|
c() {
|
|
14970
15003
|
if (if_block) if_block.c();
|
|
@@ -14984,7 +15017,7 @@
|
|
|
14984
15017
|
if (if_block) {
|
|
14985
15018
|
if_block.p(ctx, dirty);
|
|
14986
15019
|
} else {
|
|
14987
|
-
if_block = create_if_block(ctx);
|
|
15020
|
+
if_block = create_if_block$1(ctx);
|
|
14988
15021
|
if_block.c();
|
|
14989
15022
|
if_block.m(if_block_anchor.parentNode, if_block_anchor);
|
|
14990
15023
|
}
|
|
@@ -15005,7 +15038,7 @@
|
|
|
15005
15038
|
};
|
|
15006
15039
|
}
|
|
15007
15040
|
|
|
15008
|
-
function instance$
|
|
15041
|
+
function instance$4($$self, $$props, $$invalidate) {
|
|
15009
15042
|
let diameter;
|
|
15010
15043
|
let strokewidth;
|
|
15011
15044
|
let radius;
|
|
@@ -15136,7 +15169,7 @@
|
|
|
15136
15169
|
target: this.shadowRoot,
|
|
15137
15170
|
props: attribute_to_object(this.attributes),
|
|
15138
15171
|
customElement: true
|
|
15139
|
-
}, instance$
|
|
15172
|
+
}, instance$4, create_fragment$6, safe_not_equal, {
|
|
15140
15173
|
size: 10,
|
|
15141
15174
|
invert: 0,
|
|
15142
15175
|
progress: 11,
|
|
@@ -15208,7 +15241,7 @@
|
|
|
15208
15241
|
customElements.define("goa-spinner", Spinner);
|
|
15209
15242
|
/* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
|
|
15210
15243
|
|
|
15211
|
-
function create_fragment$
|
|
15244
|
+
function create_fragment$5(ctx) {
|
|
15212
15245
|
let table;
|
|
15213
15246
|
let slot;
|
|
15214
15247
|
let t0;
|
|
@@ -15310,7 +15343,7 @@
|
|
|
15310
15343
|
};
|
|
15311
15344
|
}
|
|
15312
15345
|
|
|
15313
|
-
function instance$
|
|
15346
|
+
function instance$3($$self, $$props, $$invalidate) {
|
|
15314
15347
|
let _stickyHeader;
|
|
15315
15348
|
|
|
15316
15349
|
const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
|
|
@@ -15389,7 +15422,7 @@
|
|
|
15389
15422
|
target: this.shadowRoot,
|
|
15390
15423
|
props: attribute_to_object(this.attributes),
|
|
15391
15424
|
customElement: true
|
|
15392
|
-
}, instance$
|
|
15425
|
+
}, instance$3, create_fragment$5, safe_not_equal, {
|
|
15393
15426
|
width: 0,
|
|
15394
15427
|
stickyheader: 8,
|
|
15395
15428
|
variant: 1,
|
|
@@ -15497,7 +15530,7 @@
|
|
|
15497
15530
|
customElements.define("goa-table", Table);
|
|
15498
15531
|
/* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
|
|
15499
15532
|
|
|
15500
|
-
function create_fragment$
|
|
15533
|
+
function create_fragment$4(ctx) {
|
|
15501
15534
|
let div;
|
|
15502
15535
|
let textarea;
|
|
15503
15536
|
let textarea_aria_label_value;
|
|
@@ -15678,7 +15711,7 @@
|
|
|
15678
15711
|
};
|
|
15679
15712
|
}
|
|
15680
15713
|
|
|
15681
|
-
function instance$
|
|
15714
|
+
function instance$2($$self, $$props, $$invalidate) {
|
|
15682
15715
|
let isError;
|
|
15683
15716
|
let isDisabled;
|
|
15684
15717
|
let isReadonly;
|
|
@@ -15795,7 +15828,7 @@
|
|
|
15795
15828
|
target: this.shadowRoot,
|
|
15796
15829
|
props: attribute_to_object(this.attributes),
|
|
15797
15830
|
customElement: true
|
|
15798
|
-
}, instance$
|
|
15831
|
+
}, instance$2, create_fragment$4, safe_not_equal, {
|
|
15799
15832
|
name: 0,
|
|
15800
15833
|
value: 1,
|
|
15801
15834
|
placeholder: 2,
|
|
@@ -15999,7 +16032,7 @@
|
|
|
15999
16032
|
customElements.define("goa-textarea", TextArea);
|
|
16000
16033
|
/* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
|
|
16001
16034
|
|
|
16002
|
-
function create_fragment$
|
|
16035
|
+
function create_fragment$3(ctx) {
|
|
16003
16036
|
let div;
|
|
16004
16037
|
return {
|
|
16005
16038
|
c() {
|
|
@@ -16043,7 +16076,7 @@
|
|
|
16043
16076
|
target: this.shadowRoot,
|
|
16044
16077
|
props: attribute_to_object(this.attributes),
|
|
16045
16078
|
customElement: true
|
|
16046
|
-
}, null, create_fragment$
|
|
16079
|
+
}, null, create_fragment$3, safe_not_equal, {}, null);
|
|
16047
16080
|
|
|
16048
16081
|
if (options) {
|
|
16049
16082
|
if (options.target) {
|
|
@@ -16057,7 +16090,7 @@
|
|
|
16057
16090
|
customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
|
|
16058
16091
|
/* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
16059
16092
|
|
|
16060
|
-
function create_fragment$
|
|
16093
|
+
function create_fragment$2(ctx) {
|
|
16061
16094
|
let div;
|
|
16062
16095
|
return {
|
|
16063
16096
|
c() {
|
|
@@ -16094,7 +16127,7 @@
|
|
|
16094
16127
|
target: this.shadowRoot,
|
|
16095
16128
|
props: attribute_to_object(this.attributes),
|
|
16096
16129
|
customElement: true
|
|
16097
|
-
}, null, create_fragment$
|
|
16130
|
+
}, null, create_fragment$2, safe_not_equal, {}, null);
|
|
16098
16131
|
|
|
16099
16132
|
if (options) {
|
|
16100
16133
|
if (options.target) {
|
|
@@ -16108,7 +16141,7 @@
|
|
|
16108
16141
|
customElements.define("goa-one-column-layout", OneColumnLayout);
|
|
16109
16142
|
/* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
|
|
16110
16143
|
|
|
16111
|
-
function create_fragment(ctx) {
|
|
16144
|
+
function create_fragment$1(ctx) {
|
|
16112
16145
|
let div;
|
|
16113
16146
|
let header;
|
|
16114
16147
|
let t0;
|
|
@@ -16178,7 +16211,7 @@
|
|
|
16178
16211
|
};
|
|
16179
16212
|
}
|
|
16180
16213
|
|
|
16181
|
-
function instance($$self, $$props, $$invalidate) {
|
|
16214
|
+
function instance$1($$self, $$props, $$invalidate) {
|
|
16182
16215
|
let {
|
|
16183
16216
|
navcolumnwidth = ""
|
|
16184
16217
|
} = $$props;
|
|
@@ -16202,7 +16235,7 @@
|
|
|
16202
16235
|
target: this.shadowRoot,
|
|
16203
16236
|
props: attribute_to_object(this.attributes),
|
|
16204
16237
|
customElement: true
|
|
16205
|
-
}, instance, create_fragment, safe_not_equal, {
|
|
16238
|
+
}, instance$1, create_fragment$1, safe_not_equal, {
|
|
16206
16239
|
navcolumnwidth: 0,
|
|
16207
16240
|
maxcontentwidth: 1
|
|
16208
16241
|
}, null);
|
|
@@ -16248,6 +16281,513 @@
|
|
|
16248
16281
|
}
|
|
16249
16282
|
|
|
16250
16283
|
customElements.define("goa-two-column-layout", TwoColumnLayout);
|
|
16284
|
+
/* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
|
|
16285
|
+
|
|
16286
|
+
function create_if_block(ctx) {
|
|
16287
|
+
let goa_block;
|
|
16288
|
+
let span0;
|
|
16289
|
+
let t1;
|
|
16290
|
+
let input;
|
|
16291
|
+
let t2;
|
|
16292
|
+
let goa_input;
|
|
16293
|
+
let t3;
|
|
16294
|
+
let span1;
|
|
16295
|
+
let t4;
|
|
16296
|
+
let t5;
|
|
16297
|
+
return {
|
|
16298
|
+
c() {
|
|
16299
|
+
goa_block = element("goa-block");
|
|
16300
|
+
span0 = element("span");
|
|
16301
|
+
span0.textContent = "Page";
|
|
16302
|
+
t1 = space();
|
|
16303
|
+
input = element("input");
|
|
16304
|
+
t2 = space();
|
|
16305
|
+
goa_input = element("goa-input");
|
|
16306
|
+
t3 = space();
|
|
16307
|
+
span1 = element("span");
|
|
16308
|
+
t4 = text("of ");
|
|
16309
|
+
t5 = text(
|
|
16310
|
+
/*_pageCount*/
|
|
16311
|
+
ctx[8]);
|
|
16312
|
+
attr(input, "type", "hidden");
|
|
16313
|
+
set_custom_element_data(goa_input, "type", "number");
|
|
16314
|
+
set_custom_element_data(goa_input, "value",
|
|
16315
|
+
/*pagenumber*/
|
|
16316
|
+
ctx[0]);
|
|
16317
|
+
set_custom_element_data(goa_input, "width", "8ch");
|
|
16318
|
+
set_custom_element_data(goa_input, "debounce", "500");
|
|
16319
|
+
set_custom_element_data(goa_input, "min", "1");
|
|
16320
|
+
set_custom_element_data(goa_input, "max",
|
|
16321
|
+
/*_pageCount*/
|
|
16322
|
+
ctx[8]);
|
|
16323
|
+
set_custom_element_data(goa_block, "data-testid", "page-selector");
|
|
16324
|
+
set_custom_element_data(goa_block, "alignment", "center");
|
|
16325
|
+
set_custom_element_data(goa_block, "gap", "s");
|
|
16326
|
+
},
|
|
16327
|
+
|
|
16328
|
+
m(target, anchor) {
|
|
16329
|
+
insert(target, goa_block, anchor);
|
|
16330
|
+
append(goa_block, span0);
|
|
16331
|
+
append(goa_block, t1);
|
|
16332
|
+
append(goa_block, input);
|
|
16333
|
+
/*input_binding*/
|
|
16334
|
+
|
|
16335
|
+
ctx[12](input);
|
|
16336
|
+
append(goa_block, t2);
|
|
16337
|
+
append(goa_block, goa_input);
|
|
16338
|
+
/*goa_input_binding*/
|
|
16339
|
+
|
|
16340
|
+
ctx[13](goa_input);
|
|
16341
|
+
append(goa_block, t3);
|
|
16342
|
+
append(goa_block, span1);
|
|
16343
|
+
append(span1, t4);
|
|
16344
|
+
append(span1, t5);
|
|
16345
|
+
},
|
|
16346
|
+
|
|
16347
|
+
p(ctx, dirty) {
|
|
16348
|
+
if (dirty &
|
|
16349
|
+
/*pagenumber*/
|
|
16350
|
+
1) {
|
|
16351
|
+
set_custom_element_data(goa_input, "value",
|
|
16352
|
+
/*pagenumber*/
|
|
16353
|
+
ctx[0]);
|
|
16354
|
+
}
|
|
16355
|
+
|
|
16356
|
+
if (dirty &
|
|
16357
|
+
/*_pageCount*/
|
|
16358
|
+
256) {
|
|
16359
|
+
set_custom_element_data(goa_input, "max",
|
|
16360
|
+
/*_pageCount*/
|
|
16361
|
+
ctx[8]);
|
|
16362
|
+
}
|
|
16363
|
+
|
|
16364
|
+
if (dirty &
|
|
16365
|
+
/*_pageCount*/
|
|
16366
|
+
256) set_data(t5,
|
|
16367
|
+
/*_pageCount*/
|
|
16368
|
+
ctx[8]);
|
|
16369
|
+
},
|
|
16370
|
+
|
|
16371
|
+
d(detaching) {
|
|
16372
|
+
if (detaching) detach(goa_block);
|
|
16373
|
+
/*input_binding*/
|
|
16374
|
+
|
|
16375
|
+
ctx[12](null);
|
|
16376
|
+
/*goa_input_binding*/
|
|
16377
|
+
|
|
16378
|
+
ctx[13](null);
|
|
16379
|
+
}
|
|
16380
|
+
|
|
16381
|
+
};
|
|
16382
|
+
}
|
|
16383
|
+
|
|
16384
|
+
function create_fragment(ctx) {
|
|
16385
|
+
let goa_block1;
|
|
16386
|
+
let div;
|
|
16387
|
+
let t0;
|
|
16388
|
+
let goa_block0;
|
|
16389
|
+
let goa_button0;
|
|
16390
|
+
let t1;
|
|
16391
|
+
let goa_button0_disabled_value;
|
|
16392
|
+
let t2;
|
|
16393
|
+
let goa_button1;
|
|
16394
|
+
let t3;
|
|
16395
|
+
let goa_button1_disabled_value;
|
|
16396
|
+
let mounted;
|
|
16397
|
+
let dispose;
|
|
16398
|
+
let if_block =
|
|
16399
|
+
/*variant*/
|
|
16400
|
+
ctx[1] === "all" && create_if_block(ctx);
|
|
16401
|
+
return {
|
|
16402
|
+
c() {
|
|
16403
|
+
goa_block1 = element("goa-block");
|
|
16404
|
+
div = element("div");
|
|
16405
|
+
if (if_block) if_block.c();
|
|
16406
|
+
t0 = space();
|
|
16407
|
+
goa_block0 = element("goa-block");
|
|
16408
|
+
goa_button0 = element("goa-button");
|
|
16409
|
+
t1 = text("Previous");
|
|
16410
|
+
t2 = space();
|
|
16411
|
+
goa_button1 = element("goa-button");
|
|
16412
|
+
t3 = text("Next");
|
|
16413
|
+
this.c = noop;
|
|
16414
|
+
set_custom_element_data(goa_button0, "type", "tertiary");
|
|
16415
|
+
set_custom_element_data(goa_button0, "leadingicon", "arrow-back");
|
|
16416
|
+
set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value =
|
|
16417
|
+
/*pagenumber*/
|
|
16418
|
+
ctx[0] == 1 ? "true" : "false");
|
|
16419
|
+
set_custom_element_data(goa_button1, "type", "tertiary");
|
|
16420
|
+
set_custom_element_data(goa_button1, "trailingicon", "arrow-forward");
|
|
16421
|
+
set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value =
|
|
16422
|
+
/*pagenumber*/
|
|
16423
|
+
ctx[0] ==
|
|
16424
|
+
/*_pageCount*/
|
|
16425
|
+
ctx[8] ? "true" : "false");
|
|
16426
|
+
set_custom_element_data(goa_block0, "alignment", "center");
|
|
16427
|
+
set_custom_element_data(goa_block0, "gap", "m");
|
|
16428
|
+
set_custom_element_data(goa_block0, "data-testid", "page-links");
|
|
16429
|
+
attr(div, "class", "controls");
|
|
16430
|
+
set_custom_element_data(goa_block1, "id", "root");
|
|
16431
|
+
set_custom_element_data(goa_block1, "ml",
|
|
16432
|
+
/*ml*/
|
|
16433
|
+
ctx[5]);
|
|
16434
|
+
set_custom_element_data(goa_block1, "mr",
|
|
16435
|
+
/*mr*/
|
|
16436
|
+
ctx[3]);
|
|
16437
|
+
set_custom_element_data(goa_block1, "mb",
|
|
16438
|
+
/*mb*/
|
|
16439
|
+
ctx[4]);
|
|
16440
|
+
set_custom_element_data(goa_block1, "mt",
|
|
16441
|
+
/*mt*/
|
|
16442
|
+
ctx[2]);
|
|
16443
|
+
},
|
|
16444
|
+
|
|
16445
|
+
m(target, anchor) {
|
|
16446
|
+
insert(target, goa_block1, anchor);
|
|
16447
|
+
append(goa_block1, div);
|
|
16448
|
+
if (if_block) if_block.m(div, null);
|
|
16449
|
+
append(div, t0);
|
|
16450
|
+
append(div, goa_block0);
|
|
16451
|
+
append(goa_block0, goa_button0);
|
|
16452
|
+
append(goa_button0, t1);
|
|
16453
|
+
append(goa_block0, t2);
|
|
16454
|
+
append(goa_block0, goa_button1);
|
|
16455
|
+
append(goa_button1, t3);
|
|
16456
|
+
|
|
16457
|
+
if (!mounted) {
|
|
16458
|
+
dispose = [listen(goa_button0, "click",
|
|
16459
|
+
/*click_handler*/
|
|
16460
|
+
ctx[14]), listen(goa_button1, "click",
|
|
16461
|
+
/*click_handler_1*/
|
|
16462
|
+
ctx[15])];
|
|
16463
|
+
mounted = true;
|
|
16464
|
+
}
|
|
16465
|
+
},
|
|
16466
|
+
|
|
16467
|
+
p(ctx, [dirty]) {
|
|
16468
|
+
if (
|
|
16469
|
+
/*variant*/
|
|
16470
|
+
ctx[1] === "all") {
|
|
16471
|
+
if (if_block) {
|
|
16472
|
+
if_block.p(ctx, dirty);
|
|
16473
|
+
} else {
|
|
16474
|
+
if_block = create_if_block(ctx);
|
|
16475
|
+
if_block.c();
|
|
16476
|
+
if_block.m(div, t0);
|
|
16477
|
+
}
|
|
16478
|
+
} else if (if_block) {
|
|
16479
|
+
if_block.d(1);
|
|
16480
|
+
if_block = null;
|
|
16481
|
+
}
|
|
16482
|
+
|
|
16483
|
+
if (dirty &
|
|
16484
|
+
/*pagenumber*/
|
|
16485
|
+
1 && goa_button0_disabled_value !== (goa_button0_disabled_value =
|
|
16486
|
+
/*pagenumber*/
|
|
16487
|
+
ctx[0] == 1 ? "true" : "false")) {
|
|
16488
|
+
set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value);
|
|
16489
|
+
}
|
|
16490
|
+
|
|
16491
|
+
if (dirty &
|
|
16492
|
+
/*pagenumber, _pageCount*/
|
|
16493
|
+
257 && goa_button1_disabled_value !== (goa_button1_disabled_value =
|
|
16494
|
+
/*pagenumber*/
|
|
16495
|
+
ctx[0] ==
|
|
16496
|
+
/*_pageCount*/
|
|
16497
|
+
ctx[8] ? "true" : "false")) {
|
|
16498
|
+
set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value);
|
|
16499
|
+
}
|
|
16500
|
+
|
|
16501
|
+
if (dirty &
|
|
16502
|
+
/*ml*/
|
|
16503
|
+
32) {
|
|
16504
|
+
set_custom_element_data(goa_block1, "ml",
|
|
16505
|
+
/*ml*/
|
|
16506
|
+
ctx[5]);
|
|
16507
|
+
}
|
|
16508
|
+
|
|
16509
|
+
if (dirty &
|
|
16510
|
+
/*mr*/
|
|
16511
|
+
8) {
|
|
16512
|
+
set_custom_element_data(goa_block1, "mr",
|
|
16513
|
+
/*mr*/
|
|
16514
|
+
ctx[3]);
|
|
16515
|
+
}
|
|
16516
|
+
|
|
16517
|
+
if (dirty &
|
|
16518
|
+
/*mb*/
|
|
16519
|
+
16) {
|
|
16520
|
+
set_custom_element_data(goa_block1, "mb",
|
|
16521
|
+
/*mb*/
|
|
16522
|
+
ctx[4]);
|
|
16523
|
+
}
|
|
16524
|
+
|
|
16525
|
+
if (dirty &
|
|
16526
|
+
/*mt*/
|
|
16527
|
+
4) {
|
|
16528
|
+
set_custom_element_data(goa_block1, "mt",
|
|
16529
|
+
/*mt*/
|
|
16530
|
+
ctx[2]);
|
|
16531
|
+
}
|
|
16532
|
+
},
|
|
16533
|
+
|
|
16534
|
+
i: noop,
|
|
16535
|
+
o: noop,
|
|
16536
|
+
|
|
16537
|
+
d(detaching) {
|
|
16538
|
+
if (detaching) detach(goa_block1);
|
|
16539
|
+
if (if_block) if_block.d();
|
|
16540
|
+
mounted = false;
|
|
16541
|
+
run_all(dispose);
|
|
16542
|
+
}
|
|
16543
|
+
|
|
16544
|
+
};
|
|
16545
|
+
}
|
|
16546
|
+
|
|
16547
|
+
function instance($$self, $$props, $$invalidate) {
|
|
16548
|
+
let _pageCount;
|
|
16549
|
+
|
|
16550
|
+
const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
|
|
16551
|
+
let {
|
|
16552
|
+
pagenumber
|
|
16553
|
+
} = $$props;
|
|
16554
|
+
let {
|
|
16555
|
+
itemcount
|
|
16556
|
+
} = $$props;
|
|
16557
|
+
let {
|
|
16558
|
+
perpagecount = 10
|
|
16559
|
+
} = $$props;
|
|
16560
|
+
let {
|
|
16561
|
+
variant = "all"
|
|
16562
|
+
} = $$props;
|
|
16563
|
+
let {
|
|
16564
|
+
mt = null
|
|
16565
|
+
} = $$props;
|
|
16566
|
+
let {
|
|
16567
|
+
mr = null
|
|
16568
|
+
} = $$props;
|
|
16569
|
+
let {
|
|
16570
|
+
mb = "m"
|
|
16571
|
+
} = $$props;
|
|
16572
|
+
let {
|
|
16573
|
+
ml = null
|
|
16574
|
+
} = $$props; // private
|
|
16575
|
+
|
|
16576
|
+
let inputEl = null;
|
|
16577
|
+
let hiddenEl = null; // needed to allow the inputEl's event to be cancelled
|
|
16578
|
+
// hooks
|
|
16579
|
+
|
|
16580
|
+
onMount(function () {
|
|
16581
|
+
return _call(tick, function () {
|
|
16582
|
+
validateRequired("GoAPagination", {
|
|
16583
|
+
itemcount,
|
|
16584
|
+
pagenumber
|
|
16585
|
+
});
|
|
16586
|
+
validateVariant(variant); // prevent event propagation if value is non-numeric
|
|
16587
|
+
// (input[type=number] returns blank for non-numeric numbers)
|
|
16588
|
+
|
|
16589
|
+
inputEl && inputEl.addEventListener("_change", e => {
|
|
16590
|
+
const page = Number.parseInt(e.detail.value);
|
|
16591
|
+
e.stopPropagation();
|
|
16592
|
+
|
|
16593
|
+
if (isNaN(page)) {
|
|
16594
|
+
return;
|
|
16595
|
+
}
|
|
16596
|
+
|
|
16597
|
+
hiddenEl.dispatchEvent(new CustomEvent("_change", {
|
|
16598
|
+
composed: true,
|
|
16599
|
+
bubbles: true,
|
|
16600
|
+
detail: {
|
|
16601
|
+
page
|
|
16602
|
+
}
|
|
16603
|
+
}));
|
|
16604
|
+
});
|
|
16605
|
+
});
|
|
16606
|
+
}); // functions
|
|
16607
|
+
|
|
16608
|
+
function goto(e, offset) {
|
|
16609
|
+
const newPage = Number.parseInt(pagenumber + "") + offset;
|
|
16610
|
+
|
|
16611
|
+
if (newPage > 0 && newPage <= _pageCount) {
|
|
16612
|
+
e.target.dispatchEvent(new CustomEvent("_change", {
|
|
16613
|
+
composed: true,
|
|
16614
|
+
bubbles: true,
|
|
16615
|
+
detail: {
|
|
16616
|
+
page: newPage
|
|
16617
|
+
}
|
|
16618
|
+
}));
|
|
16619
|
+
}
|
|
16620
|
+
|
|
16621
|
+
e.preventDefault();
|
|
16622
|
+
}
|
|
16623
|
+
|
|
16624
|
+
function input_binding($$value) {
|
|
16625
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16626
|
+
hiddenEl = $$value;
|
|
16627
|
+
$$invalidate(7, hiddenEl);
|
|
16628
|
+
});
|
|
16629
|
+
}
|
|
16630
|
+
|
|
16631
|
+
function goa_input_binding($$value) {
|
|
16632
|
+
binding_callbacks[$$value ? 'unshift' : 'push'](() => {
|
|
16633
|
+
inputEl = $$value;
|
|
16634
|
+
$$invalidate(6, inputEl);
|
|
16635
|
+
});
|
|
16636
|
+
}
|
|
16637
|
+
|
|
16638
|
+
const click_handler = e => goto(e, -1);
|
|
16639
|
+
|
|
16640
|
+
const click_handler_1 = e => goto(e, 1);
|
|
16641
|
+
|
|
16642
|
+
$$self.$$set = $$props => {
|
|
16643
|
+
if ('pagenumber' in $$props) $$invalidate(0, pagenumber = $$props.pagenumber);
|
|
16644
|
+
if ('itemcount' in $$props) $$invalidate(10, itemcount = $$props.itemcount);
|
|
16645
|
+
if ('perpagecount' in $$props) $$invalidate(11, perpagecount = $$props.perpagecount);
|
|
16646
|
+
if ('variant' in $$props) $$invalidate(1, variant = $$props.variant);
|
|
16647
|
+
if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
|
|
16648
|
+
if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
|
|
16649
|
+
if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
|
|
16650
|
+
if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
|
|
16651
|
+
};
|
|
16652
|
+
|
|
16653
|
+
$$self.$$.update = () => {
|
|
16654
|
+
if ($$self.$$.dirty &
|
|
16655
|
+
/*itemcount, perpagecount*/
|
|
16656
|
+
3072) {
|
|
16657
|
+
// reactive
|
|
16658
|
+
$$invalidate(8, _pageCount = Math.ceil(itemcount / perpagecount));
|
|
16659
|
+
}
|
|
16660
|
+
};
|
|
16661
|
+
|
|
16662
|
+
return [pagenumber, variant, mt, mr, mb, ml, inputEl, hiddenEl, _pageCount, goto, itemcount, perpagecount, input_binding, goa_input_binding, click_handler, click_handler_1];
|
|
16663
|
+
}
|
|
16664
|
+
|
|
16665
|
+
class Pagination extends SvelteElement {
|
|
16666
|
+
constructor(options) {
|
|
16667
|
+
super();
|
|
16668
|
+
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>`;
|
|
16669
|
+
init(this, {
|
|
16670
|
+
target: this.shadowRoot,
|
|
16671
|
+
props: attribute_to_object(this.attributes),
|
|
16672
|
+
customElement: true
|
|
16673
|
+
}, instance, create_fragment, safe_not_equal, {
|
|
16674
|
+
pagenumber: 0,
|
|
16675
|
+
itemcount: 10,
|
|
16676
|
+
perpagecount: 11,
|
|
16677
|
+
variant: 1,
|
|
16678
|
+
mt: 2,
|
|
16679
|
+
mr: 3,
|
|
16680
|
+
mb: 4,
|
|
16681
|
+
ml: 5
|
|
16682
|
+
}, null);
|
|
16683
|
+
|
|
16684
|
+
if (options) {
|
|
16685
|
+
if (options.target) {
|
|
16686
|
+
insert(options.target, this, options.anchor);
|
|
16687
|
+
}
|
|
16688
|
+
|
|
16689
|
+
if (options.props) {
|
|
16690
|
+
this.$set(options.props);
|
|
16691
|
+
flush();
|
|
16692
|
+
}
|
|
16693
|
+
}
|
|
16694
|
+
}
|
|
16695
|
+
|
|
16696
|
+
static get observedAttributes() {
|
|
16697
|
+
return ["pagenumber", "itemcount", "perpagecount", "variant", "mt", "mr", "mb", "ml"];
|
|
16698
|
+
}
|
|
16699
|
+
|
|
16700
|
+
get pagenumber() {
|
|
16701
|
+
return this.$$.ctx[0];
|
|
16702
|
+
}
|
|
16703
|
+
|
|
16704
|
+
set pagenumber(pagenumber) {
|
|
16705
|
+
this.$$set({
|
|
16706
|
+
pagenumber
|
|
16707
|
+
});
|
|
16708
|
+
flush();
|
|
16709
|
+
}
|
|
16710
|
+
|
|
16711
|
+
get itemcount() {
|
|
16712
|
+
return this.$$.ctx[10];
|
|
16713
|
+
}
|
|
16714
|
+
|
|
16715
|
+
set itemcount(itemcount) {
|
|
16716
|
+
this.$$set({
|
|
16717
|
+
itemcount
|
|
16718
|
+
});
|
|
16719
|
+
flush();
|
|
16720
|
+
}
|
|
16721
|
+
|
|
16722
|
+
get perpagecount() {
|
|
16723
|
+
return this.$$.ctx[11];
|
|
16724
|
+
}
|
|
16725
|
+
|
|
16726
|
+
set perpagecount(perpagecount) {
|
|
16727
|
+
this.$$set({
|
|
16728
|
+
perpagecount
|
|
16729
|
+
});
|
|
16730
|
+
flush();
|
|
16731
|
+
}
|
|
16732
|
+
|
|
16733
|
+
get variant() {
|
|
16734
|
+
return this.$$.ctx[1];
|
|
16735
|
+
}
|
|
16736
|
+
|
|
16737
|
+
set variant(variant) {
|
|
16738
|
+
this.$$set({
|
|
16739
|
+
variant
|
|
16740
|
+
});
|
|
16741
|
+
flush();
|
|
16742
|
+
}
|
|
16743
|
+
|
|
16744
|
+
get mt() {
|
|
16745
|
+
return this.$$.ctx[2];
|
|
16746
|
+
}
|
|
16747
|
+
|
|
16748
|
+
set mt(mt) {
|
|
16749
|
+
this.$$set({
|
|
16750
|
+
mt
|
|
16751
|
+
});
|
|
16752
|
+
flush();
|
|
16753
|
+
}
|
|
16754
|
+
|
|
16755
|
+
get mr() {
|
|
16756
|
+
return this.$$.ctx[3];
|
|
16757
|
+
}
|
|
16758
|
+
|
|
16759
|
+
set mr(mr) {
|
|
16760
|
+
this.$$set({
|
|
16761
|
+
mr
|
|
16762
|
+
});
|
|
16763
|
+
flush();
|
|
16764
|
+
}
|
|
16765
|
+
|
|
16766
|
+
get mb() {
|
|
16767
|
+
return this.$$.ctx[4];
|
|
16768
|
+
}
|
|
16769
|
+
|
|
16770
|
+
set mb(mb) {
|
|
16771
|
+
this.$$set({
|
|
16772
|
+
mb
|
|
16773
|
+
});
|
|
16774
|
+
flush();
|
|
16775
|
+
}
|
|
16776
|
+
|
|
16777
|
+
get ml() {
|
|
16778
|
+
return this.$$.ctx[5];
|
|
16779
|
+
}
|
|
16780
|
+
|
|
16781
|
+
set ml(ml) {
|
|
16782
|
+
this.$$set({
|
|
16783
|
+
ml
|
|
16784
|
+
});
|
|
16785
|
+
flush();
|
|
16786
|
+
}
|
|
16787
|
+
|
|
16788
|
+
}
|
|
16789
|
+
|
|
16790
|
+
customElements.define("goa-pagination", Pagination);
|
|
16251
16791
|
|
|
16252
16792
|
/*! *****************************************************************************
|
|
16253
16793
|
Copyright (c) Microsoft Corporation.
|
|
@@ -16924,6 +17464,7 @@
|
|
|
16924
17464
|
|
|
16925
17465
|
var GoAInput = function GoAInput(_a) {
|
|
16926
17466
|
var id = _a.id,
|
|
17467
|
+
debounce = _a.debounce,
|
|
16927
17468
|
name = _a.name,
|
|
16928
17469
|
type = _a.type,
|
|
16929
17470
|
autoCapitalize = _a.autoCapitalize,
|
|
@@ -16981,6 +17522,7 @@
|
|
|
16981
17522
|
}, [ref, onChange, onTrailingIconClick]);
|
|
16982
17523
|
return jsxRuntime.jsxs("goa-input", __assign({
|
|
16983
17524
|
ref: ref,
|
|
17525
|
+
debounce: debounce,
|
|
16984
17526
|
focused: focused,
|
|
16985
17527
|
type: type,
|
|
16986
17528
|
name: name,
|
|
@@ -17341,6 +17883,38 @@
|
|
|
17341
17883
|
}), void 0);
|
|
17342
17884
|
};
|
|
17343
17885
|
|
|
17886
|
+
function GoAPagination(props) {
|
|
17887
|
+
var ref = react.useRef();
|
|
17888
|
+
react.useEffect(function () {
|
|
17889
|
+
if (!ref.current) {
|
|
17890
|
+
return;
|
|
17891
|
+
}
|
|
17892
|
+
|
|
17893
|
+
var current = ref.current;
|
|
17894
|
+
|
|
17895
|
+
var changeListener = function changeListener(e) {
|
|
17896
|
+
var page = e.detail.page;
|
|
17897
|
+
props.onChange(page);
|
|
17898
|
+
};
|
|
17899
|
+
|
|
17900
|
+
current.addEventListener("_change", changeListener);
|
|
17901
|
+
return function () {
|
|
17902
|
+
current.removeEventListener("_change", changeListener);
|
|
17903
|
+
};
|
|
17904
|
+
}, [ref, props.onChange]);
|
|
17905
|
+
return jsxRuntime.jsx("goa-pagination", {
|
|
17906
|
+
ref: ref,
|
|
17907
|
+
itemcount: props.itemCount,
|
|
17908
|
+
perpagecount: props.perPageCount,
|
|
17909
|
+
pagenumber: props.pageNumber,
|
|
17910
|
+
variant: props.variant,
|
|
17911
|
+
mt: props.mt,
|
|
17912
|
+
mb: props.mb,
|
|
17913
|
+
ml: props.ml,
|
|
17914
|
+
mr: props.mr
|
|
17915
|
+
}, void 0);
|
|
17916
|
+
}
|
|
17917
|
+
|
|
17344
17918
|
var GoASkeleton = function GoASkeleton(_a) {
|
|
17345
17919
|
var maxWidth = _a.maxWidth,
|
|
17346
17920
|
size = _a.size,
|
|
@@ -17388,7 +17962,10 @@
|
|
|
17388
17962
|
return jsxRuntime.jsx("goa-table", __assign({
|
|
17389
17963
|
width: props.width,
|
|
17390
17964
|
stickyheader: false,
|
|
17391
|
-
|
|
17965
|
+
mt: props.mt,
|
|
17966
|
+
mb: props.mb,
|
|
17967
|
+
ml: props.ml,
|
|
17968
|
+
mr: props.mr
|
|
17392
17969
|
}, {
|
|
17393
17970
|
children: jsxRuntime.jsx("template", {
|
|
17394
17971
|
children: jsxRuntime.jsx("table", {
|
|
@@ -17521,6 +18098,7 @@
|
|
|
17521
18098
|
exports.GoANotification = GoANotification;
|
|
17522
18099
|
exports.GoAOneColumnLayout = GoAOneColumnLayout;
|
|
17523
18100
|
exports.GoAPageBlock = GoAPageBlock;
|
|
18101
|
+
exports.GoAPagination = GoAPagination;
|
|
17524
18102
|
exports.GoARadioGroup = GoARadioGroup;
|
|
17525
18103
|
exports.GoARadioItem = GoARadioItem;
|
|
17526
18104
|
exports.GoASkeleton = GoASkeleton;
|