@abgov/react-components 4.0.0-alpha.105 → 4.0.0-alpha.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1124,7 +1124,7 @@
1124
1124
  } // (19:4) {#if url}
1125
1125
 
1126
1126
 
1127
- function create_if_block$h(ctx) {
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$F(ctx) {
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$h;
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$z($$self, $$props, $$invalidate) {
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$z, create_fragment$F, safe_not_equal, {
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$g(ctx) {
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$E(ctx) {
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$g(ctx);
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$g(ctx);
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$y($$self, $$props, $$invalidate) {
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$y, create_fragment$E, safe_not_equal, {
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$D(ctx) {
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$x($$self, $$props, $$invalidate) {
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$x, create_fragment$D, safe_not_equal, {
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
- } // (45:2) {#if type === "start"}
2163
+ } // (46:2) {#if type === "start"}
2164
2164
 
2165
2165
 
2166
- function create_if_block$f(ctx) {
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
- } // (51:4) {#if leadingicon}
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[10]);
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
- 1024) {
2229
+ 2048) {
2230
2230
  set_custom_element_data(goa_icon, "inverted",
2231
2231
  /*isButtonDark*/
2232
- ctx[10]);
2232
+ ctx[11]);
2233
2233
  }
2234
2234
  },
2235
2235
 
@@ -2238,7 +2238,7 @@
2238
2238
  }
2239
2239
 
2240
2240
  };
2241
- } // (57:4) {#if trailingicon}
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[10]);
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
- 1024) {
2273
+ 2048) {
2274
2274
  set_custom_element_data(goa_icon, "inverted",
2275
2275
  /*isButtonDark*/
2276
- ctx[10]);
2276
+ ctx[11]);
2277
2277
  }
2278
2278
  },
2279
2279
 
@@ -2284,7 +2284,7 @@
2284
2284
  };
2285
2285
  }
2286
2286
 
2287
- function create_fragment$C(ctx) {
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$f;
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[11];
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", clickHandler), listen(button, "click", clickHandler)];
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
- 2048) {
2395
+ 1024) {
2392
2396
  button.disabled =
2393
2397
  /*isDisabled*/
2394
- ctx[11];
2398
+ ctx[10];
2395
2399
  }
2396
2400
 
2397
2401
  if (dirty &
@@ -2434,15 +2438,7 @@
2434
2438
  };
2435
2439
  }
2436
2440
 
2437
- function clickHandler(e) {
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(12, disabled = $$props.disabled);
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
- 4096) {
2508
- $$invalidate(11, isDisabled = toBoolean(disabled));
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(10, isButtonDark = type === "primary" || type === "start");
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, isDisabled, disabled];
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$w, create_fragment$C, safe_not_equal, {
2536
+ }, instance$x, create_fragment$D, safe_not_equal, {
2531
2537
  type: 0,
2532
2538
  size: 1,
2533
2539
  variant: 2,
2534
- disabled: 12,
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[12];
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$B(ctx) {
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$v($$self, $$props, $$invalidate) {
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$v, create_fragment$B, safe_not_equal, {
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$e(ctx) {
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$A(ctx) {
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$e(ctx);
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$e(ctx);
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$u($$self, $$props, $$invalidate) {
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$u, create_fragment$A, safe_not_equal, {
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$z(ctx) {
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$z, safe_not_equal, {}, null);
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$y(ctx) {
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$t($$self, $$props, $$invalidate) {
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$t, create_fragment$y, safe_not_equal, {
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$x(ctx) {
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$x, safe_not_equal, {}, null);
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$w(ctx) {
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$w, safe_not_equal, {}, null);
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$v(ctx) {
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$s($$self, $$props, $$invalidate) {
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$s, create_fragment$v, safe_not_equal, {
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$d(ctx) {
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$u(ctx) {
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$d;
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$r($$self, $$props, $$invalidate) {
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$r, create_fragment$u, safe_not_equal, {
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$c(ctx) {
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$t(ctx) {
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$c(ctx);
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$c(ctx);
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$q($$self, $$props, $$invalidate) {
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$q, create_fragment$t, safe_not_equal, {
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$b(ctx) {
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$s(ctx) {
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$b(ctx);
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$b(ctx);
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$p($$self, $$props, $$invalidate) {
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$p, create_fragment$s, safe_not_equal, {
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$r(ctx) {
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$o($$self, $$props, $$invalidate) {
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$o, create_fragment$r, safe_not_equal, {
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$q(ctx) {
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$n($$self, $$props, $$invalidate) {
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$n, create_fragment$q, safe_not_equal, {
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$a(ctx) {
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$p(ctx) {
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$a;
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$m($$self, $$props, $$invalidate) {
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$m, create_fragment$p, safe_not_equal, {
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$o(ctx) {
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$o, safe_not_equal, {}, null);
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$n(ctx) {
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$l($$self, $$props, $$invalidate) {
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$l, create_fragment$n, safe_not_equal, {
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$9(ctx) {
7765
+ function create_if_block$a(ctx) {
7760
7766
  let goa_divider;
7761
7767
  return {
7762
7768
  c() {
@@ -7775,7 +7781,7 @@
7775
7781
  };
7776
7782
  }
7777
7783
 
7778
- function create_fragment$m(ctx) {
7784
+ function create_fragment$n(ctx) {
7779
7785
  var _ctx$;
7780
7786
 
7781
7787
  let div5;
@@ -7793,7 +7799,7 @@
7793
7799
  let div5_style_value;
7794
7800
  let if_block =
7795
7801
  /*navLinks*/
7796
- ((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$9();
7802
+ ((_ctx$ = ctx[2]) === null || _ctx$ === void 0 ? void 0 : _ctx$.length) && create_if_block$a();
7797
7803
  return {
7798
7804
  c() {
7799
7805
  var _ctx$2, _ctx$3;
@@ -7864,7 +7870,7 @@
7864
7870
  /*navLinks*/
7865
7871
  (_ctx$4 = ctx[2]) !== null && _ctx$4 !== void 0 && _ctx$4.length) {
7866
7872
  if (if_block) ;else {
7867
- if_block = create_if_block$9();
7873
+ if_block = create_if_block$a();
7868
7874
  if_block.c();
7869
7875
  if_block.m(div4, t1);
7870
7876
  }
@@ -7916,7 +7922,7 @@
7916
7922
  };
7917
7923
  }
7918
7924
 
7919
- function instance$k($$self, $$props, $$invalidate) {
7925
+ function instance$l($$self, $$props, $$invalidate) {
7920
7926
  let {
7921
7927
  maxcontentwidth = ""
7922
7928
  } = $$props;
@@ -7955,7 +7961,7 @@
7955
7961
  target: this.shadowRoot,
7956
7962
  props: attribute_to_object(this.attributes),
7957
7963
  customElement: true
7958
- }, instance$k, create_fragment$m, safe_not_equal, {
7964
+ }, instance$l, create_fragment$n, safe_not_equal, {
7959
7965
  maxcontentwidth: 0
7960
7966
  }, null);
7961
7967
 
@@ -8045,7 +8051,7 @@
8045
8051
  };
8046
8052
  }
8047
8053
 
8048
- function create_fragment$l(ctx) {
8054
+ function create_fragment$m(ctx) {
8049
8055
  let section;
8050
8056
  let div;
8051
8057
  let t;
@@ -8133,7 +8139,7 @@
8133
8139
  };
8134
8140
  }
8135
8141
 
8136
- function instance$j($$self, $$props, $$invalidate) {
8142
+ function instance$k($$self, $$props, $$invalidate) {
8137
8143
  let rootEl;
8138
8144
  let children = [];
8139
8145
  onMount(function () {
@@ -8168,7 +8174,7 @@
8168
8174
  target: this.shadowRoot,
8169
8175
  props: attribute_to_object(this.attributes),
8170
8176
  customElement: true
8171
- }, instance$j, create_fragment$l, safe_not_equal, {}, null);
8177
+ }, instance$k, create_fragment$m, safe_not_equal, {}, null);
8172
8178
 
8173
8179
  if (options) {
8174
8180
  if (options.target) {
@@ -8189,7 +8195,7 @@
8189
8195
  } // (31:2) {#if heading}
8190
8196
 
8191
8197
 
8192
- function create_if_block$8(ctx) {
8198
+ function create_if_block$9(ctx) {
8193
8199
  let div;
8194
8200
  let t0;
8195
8201
  let t1;
@@ -8278,7 +8284,7 @@
8278
8284
  };
8279
8285
  }
8280
8286
 
8281
- function create_fragment$k(ctx) {
8287
+ function create_fragment$l(ctx) {
8282
8288
  let section;
8283
8289
  let t0;
8284
8290
  let div;
@@ -8287,7 +8293,7 @@
8287
8293
  let ul_style_value;
8288
8294
  let if_block =
8289
8295
  /*heading*/
8290
- ctx[0] && create_if_block$8(ctx);
8296
+ ctx[0] && create_if_block$9(ctx);
8291
8297
  let each_value =
8292
8298
  /*children*/
8293
8299
  ctx[3];
@@ -8354,7 +8360,7 @@
8354
8360
  if (if_block) {
8355
8361
  if_block.p(ctx, dirty);
8356
8362
  } else {
8357
- if_block = create_if_block$8(ctx);
8363
+ if_block = create_if_block$9(ctx);
8358
8364
  if_block.c();
8359
8365
  if_block.m(section, t0);
8360
8366
  }
@@ -8425,7 +8431,7 @@
8425
8431
  };
8426
8432
  }
8427
8433
 
8428
- function instance$i($$self, $$props, $$invalidate) {
8434
+ function instance$j($$self, $$props, $$invalidate) {
8429
8435
  let {
8430
8436
  heading = ""
8431
8437
  } = $$props;
@@ -8477,7 +8483,7 @@
8477
8483
  target: this.shadowRoot,
8478
8484
  props: attribute_to_object(this.attributes),
8479
8485
  customElement: true
8480
- }, instance$i, create_fragment$k, safe_not_equal, {
8486
+ }, instance$j, create_fragment$l, safe_not_equal, {
8481
8487
  heading: 0,
8482
8488
  maxcolumncount: 1
8483
8489
  }, null);
@@ -8675,7 +8681,7 @@
8675
8681
  } // (48:2) {#if helptext}
8676
8682
 
8677
8683
 
8678
- function create_if_block$7(ctx) {
8684
+ function create_if_block$8(ctx) {
8679
8685
  let div;
8680
8686
  let t;
8681
8687
  return {
@@ -8707,7 +8713,7 @@
8707
8713
  };
8708
8714
  }
8709
8715
 
8710
- function create_fragment$j(ctx) {
8716
+ function create_fragment$k(ctx) {
8711
8717
  let div1;
8712
8718
  let t0;
8713
8719
  let div0;
@@ -8722,7 +8728,7 @@
8722
8728
  ctx[7] && create_if_block_1$4(ctx);
8723
8729
  let if_block2 =
8724
8730
  /*helptext*/
8725
- ctx[6] && create_if_block$7(ctx);
8731
+ ctx[6] && create_if_block$8(ctx);
8726
8732
  return {
8727
8733
  c() {
8728
8734
  div1 = element("div");
@@ -8799,7 +8805,7 @@
8799
8805
  if (if_block2) {
8800
8806
  if_block2.p(ctx, dirty);
8801
8807
  } else {
8802
- if_block2 = create_if_block$7(ctx);
8808
+ if_block2 = create_if_block$8(ctx);
8803
8809
  if_block2.c();
8804
8810
  if_block2.m(div1, null);
8805
8811
  }
@@ -8844,7 +8850,7 @@
8844
8850
  };
8845
8851
  }
8846
8852
 
8847
- function instance$h($$self, $$props, $$invalidate) {
8853
+ function instance$i($$self, $$props, $$invalidate) {
8848
8854
  const [REQUIREMENT_TYPES, validateRequirementType] = typeValidator("Requirement type", ["optional", "required"], false);
8849
8855
  let {
8850
8856
  testid = ""
@@ -8900,7 +8906,7 @@
8900
8906
  target: this.shadowRoot,
8901
8907
  props: attribute_to_object(this.attributes),
8902
8908
  customElement: true
8903
- }, instance$h, create_fragment$j, safe_not_equal, {
8909
+ }, instance$i, create_fragment$k, safe_not_equal, {
8904
8910
  testid: 0,
8905
8911
  mt: 1,
8906
8912
  mr: 2,
@@ -9032,7 +9038,7 @@
9032
9038
  customElements.define("goa-form-item", FormItem);
9033
9039
  /* libs/web-components/src/components/grid/Grid.svelte generated by Svelte v3.51.0 */
9034
9040
 
9035
- function create_fragment$i(ctx) {
9041
+ function create_fragment$j(ctx) {
9036
9042
  let div;
9037
9043
  let slot;
9038
9044
  let div_style_value;
@@ -9100,7 +9106,7 @@
9100
9106
  };
9101
9107
  }
9102
9108
 
9103
- function instance$g($$self, $$props, $$invalidate) {
9109
+ function instance$h($$self, $$props, $$invalidate) {
9104
9110
  let {
9105
9111
  gap = "m"
9106
9112
  } = $$props;
@@ -9145,7 +9151,7 @@
9145
9151
  target: this.shadowRoot,
9146
9152
  props: attribute_to_object(this.attributes),
9147
9153
  customElement: true
9148
- }, instance$g, create_fragment$i, safe_not_equal, {
9154
+ }, instance$h, create_fragment$j, safe_not_equal, {
9149
9155
  gap: 0,
9150
9156
  minchildwidth: 1,
9151
9157
  mt: 2,
@@ -9241,7 +9247,7 @@
9241
9247
  customElements.define("goa-grid", Grid);
9242
9248
  /* libs/web-components/src/components/hero-banner/HeroBanner.svelte generated by Svelte v3.51.0 */
9243
9249
 
9244
- function create_fragment$h(ctx) {
9250
+ function create_fragment$i(ctx) {
9245
9251
  let div1;
9246
9252
  let goa_page_block;
9247
9253
  let h1;
@@ -9326,7 +9332,7 @@
9326
9332
  };
9327
9333
  }
9328
9334
 
9329
- function instance$f($$self, $$props, $$invalidate) {
9335
+ function instance$g($$self, $$props, $$invalidate) {
9330
9336
  let {
9331
9337
  heading
9332
9338
  } = $$props;
@@ -9354,7 +9360,7 @@
9354
9360
  target: this.shadowRoot,
9355
9361
  props: attribute_to_object(this.attributes),
9356
9362
  customElement: true
9357
- }, instance$f, create_fragment$h, safe_not_equal, {
9363
+ }, instance$g, create_fragment$i, safe_not_equal, {
9358
9364
  heading: 0,
9359
9365
  backgroundurl: 1,
9360
9366
  minheight: 2
@@ -9414,7 +9420,7 @@
9414
9420
  customElements.define("goa-hero-banner", HeroBanner);
9415
9421
  /* libs/web-components/src/components/icon-button/IconButton.svelte generated by Svelte v3.51.0 */
9416
9422
 
9417
- function create_fragment$g(ctx) {
9423
+ function create_fragment$h(ctx) {
9418
9424
  let button;
9419
9425
  let goa_icon;
9420
9426
  let button_style_value;
@@ -9586,7 +9592,7 @@
9586
9592
  }));
9587
9593
  }
9588
9594
 
9589
- function instance$e($$self, $$props, $$invalidate) {
9595
+ function instance$f($$self, $$props, $$invalidate) {
9590
9596
  let css;
9591
9597
  let isDisabled;
9592
9598
  let isInverted;
@@ -9691,7 +9697,7 @@
9691
9697
  target: this.shadowRoot,
9692
9698
  props: attribute_to_object(this.attributes),
9693
9699
  customElement: true
9694
- }, instance$e, create_fragment$g, safe_not_equal, {
9700
+ }, instance$f, create_fragment$h, safe_not_equal, {
9695
9701
  icon: 0,
9696
9702
  size: 1,
9697
9703
  theme: 2,
@@ -9859,7 +9865,7 @@
9859
9865
  customElements.define("goa-icon-button", IconButton);
9860
9866
  /* libs/web-components/src/components/icon/Icon.svelte generated by Svelte v3.51.0 */
9861
9867
 
9862
- function create_if_block$6(ctx) {
9868
+ function create_if_block$7(ctx) {
9863
9869
  let ion_icon;
9864
9870
  let ion_icon_name_value;
9865
9871
  return {
@@ -9907,12 +9913,12 @@
9907
9913
  };
9908
9914
  }
9909
9915
 
9910
- function create_fragment$f(ctx) {
9916
+ function create_fragment$g(ctx) {
9911
9917
  let div;
9912
9918
  let div_style_value;
9913
9919
  let if_block =
9914
9920
  /*type*/
9915
- ctx[4] && create_if_block$6(ctx);
9921
+ ctx[4] && create_if_block$7(ctx);
9916
9922
  return {
9917
9923
  c() {
9918
9924
  div = element("div");
@@ -9965,7 +9971,7 @@
9965
9971
  if (if_block) {
9966
9972
  if_block.p(ctx, dirty);
9967
9973
  } else {
9968
- if_block = create_if_block$6(ctx);
9974
+ if_block = create_if_block$7(ctx);
9969
9975
  if_block.c();
9970
9976
  if_block.m(div, null);
9971
9977
  }
@@ -10038,7 +10044,7 @@
10038
10044
  };
10039
10045
  }
10040
10046
 
10041
- function instance$d($$self, $$props, $$invalidate) {
10047
+ function instance$e($$self, $$props, $$invalidate) {
10042
10048
  let isInverted;
10043
10049
 
10044
10050
  let _size;
@@ -10128,7 +10134,7 @@
10128
10134
  target: this.shadowRoot,
10129
10135
  props: attribute_to_object(this.attributes),
10130
10136
  customElement: true
10131
- }, instance$d, create_fragment$f, safe_not_equal, {
10137
+ }, instance$e, create_fragment$g, safe_not_equal, {
10132
10138
  mt: 0,
10133
10139
  mr: 1,
10134
10140
  mb: 2,
@@ -10338,7 +10344,7 @@
10338
10344
  }
10339
10345
 
10340
10346
  };
10341
- } // (100:4) {#if leadingicon}
10347
+ } // (109:4) {#if leadingicon}
10342
10348
 
10343
10349
 
10344
10350
  function create_if_block_3$2(ctx) {
@@ -10372,7 +10378,7 @@
10372
10378
  }
10373
10379
 
10374
10380
  };
10375
- } // (130:4) {#if trailingicon && !handlesTrailingIconClick}
10381
+ } // (139:4) {#if trailingicon && !handlesTrailingIconClick}
10376
10382
 
10377
10383
 
10378
10384
  function create_if_block_2$3(ctx) {
@@ -10407,7 +10413,7 @@
10407
10413
  }
10408
10414
 
10409
10415
  };
10410
- } // (140:4) {#if trailingicon && handlesTrailingIconClick}
10416
+ } // (149:4) {#if trailingicon && handlesTrailingIconClick}
10411
10417
 
10412
10418
 
10413
10419
  function create_if_block_1$3(ctx) {
@@ -10462,10 +10468,10 @@
10462
10468
  }
10463
10469
 
10464
10470
  };
10465
- } // (152:4) {#if suffix}
10471
+ } // (161:4) {#if suffix}
10466
10472
 
10467
10473
 
10468
- function create_if_block$5(ctx) {
10474
+ function create_if_block$6(ctx) {
10469
10475
  let span;
10470
10476
  let t;
10471
10477
  return {
@@ -10497,7 +10503,7 @@
10497
10503
  };
10498
10504
  }
10499
10505
 
10500
- function create_fragment$e(ctx) {
10506
+ function create_fragment$f(ctx) {
10501
10507
  let div3;
10502
10508
  let div2;
10503
10509
  let t0;
@@ -10535,7 +10541,7 @@
10535
10541
  ctx[24] && create_if_block_1$3(ctx);
10536
10542
  let if_block4 =
10537
10543
  /*suffix*/
10538
- ctx[15] && create_if_block$5(ctx);
10544
+ ctx[15] && create_if_block$6(ctx);
10539
10545
  return {
10540
10546
  c() {
10541
10547
  div3 = element("div");
@@ -10649,7 +10655,7 @@
10649
10655
  append(div2, input);
10650
10656
  /*input_binding*/
10651
10657
 
10652
- ctx[32](input);
10658
+ ctx[33](input);
10653
10659
  append(div2, t3);
10654
10660
  if (if_block2) if_block2.m(div2, null);
10655
10661
  append(div2, t4);
@@ -10856,7 +10862,7 @@
10856
10862
  if (if_block4) {
10857
10863
  if_block4.p(ctx, dirty);
10858
10864
  } else {
10859
- if_block4 = create_if_block$5(ctx);
10865
+ if_block4 = create_if_block$6(ctx);
10860
10866
  if_block4.c();
10861
10867
  if_block4.m(div2, t6);
10862
10868
  }
@@ -10919,7 +10925,7 @@
10919
10925
  if (if_block1) if_block1.d();
10920
10926
  /*input_binding*/
10921
10927
 
10922
- ctx[32](null);
10928
+ ctx[33](null);
10923
10929
  if (if_block2) if_block2.d();
10924
10930
  if (if_block3) if_block3.d();
10925
10931
  if (if_block4) if_block4.d();
@@ -10936,7 +10942,7 @@
10936
10942
  }));
10937
10943
  }
10938
10944
 
10939
- function instance$c($$self, $$props, $$invalidate) {
10945
+ function instance$d($$self, $$props, $$invalidate) {
10940
10946
  let handlesTrailingIconClick;
10941
10947
  let isFocused;
10942
10948
  let isReadonly;
@@ -10993,13 +10999,13 @@
10993
10999
  arialabel = null
10994
11000
  } = $$props;
10995
11001
  let {
10996
- min = null
11002
+ min = ""
10997
11003
  } = $$props;
10998
11004
  let {
10999
- max = null
11005
+ max = ""
11000
11006
  } = $$props;
11001
11007
  let {
11002
- step = null
11008
+ step = 1
11003
11009
  } = $$props;
11004
11010
  let {
11005
11011
  prefix = ""
@@ -11007,6 +11013,9 @@
11007
11013
  let {
11008
11014
  suffix = ""
11009
11015
  } = $$props;
11016
+ let {
11017
+ debounce = 0
11018
+ } = $$props;
11010
11019
  let {
11011
11020
  mt = null
11012
11021
  } = $$props;
@@ -11020,19 +11029,28 @@
11020
11029
  ml = null
11021
11030
  } = $$props;
11022
11031
  let inputEl;
11032
+ let _debounceId = null;
11023
11033
 
11024
11034
  function onKeyUp(e) {
11025
- const ee = e.target;
11026
- e.target.dispatchEvent(new CustomEvent("_change", {
11027
- composed: true,
11028
- bubbles: false,
11029
- cancelable: true,
11030
- detail: {
11031
- name,
11032
- value: ee.value
11033
- }
11034
- }));
11035
- $$invalidate(0, value = ee.value);
11035
+ const input = e.target;
11036
+ if (!input) return;
11037
+
11038
+ if (_debounceId != null) {
11039
+ clearTimeout(_debounceId);
11040
+ }
11041
+
11042
+ _debounceId = setTimeout(() => {
11043
+ input.dispatchEvent(new CustomEvent("_change", {
11044
+ composed: true,
11045
+ bubbles: false,
11046
+ cancelable: true,
11047
+ detail: {
11048
+ name,
11049
+ value: input.value
11050
+ }
11051
+ }));
11052
+ }, debounce);
11053
+ $$invalidate(0, value = input.value);
11036
11054
  }
11037
11055
 
11038
11056
  onMount(() => {
@@ -11073,6 +11091,7 @@
11073
11091
  if ('step' in $$props) $$invalidate(13, step = $$props.step);
11074
11092
  if ('prefix' in $$props) $$invalidate(14, prefix = $$props.prefix);
11075
11093
  if ('suffix' in $$props) $$invalidate(15, suffix = $$props.suffix);
11094
+ if ('debounce' in $$props) $$invalidate(31, debounce = $$props.debounce);
11076
11095
  if ('mt' in $$props) $$invalidate(16, mt = $$props.mt);
11077
11096
  if ('mr' in $$props) $$invalidate(17, mr = $$props.mr);
11078
11097
  if ('mb' in $$props) $$invalidate(18, mb = $$props.mb);
@@ -11089,7 +11108,7 @@
11089
11108
  if ($$self.$$.dirty[0] &
11090
11109
  /*focused*/
11091
11110
  268435456) {
11092
- $$invalidate(31, isFocused = toBoolean(focused));
11111
+ $$invalidate(32, isFocused = toBoolean(focused));
11093
11112
  }
11094
11113
 
11095
11114
  if ($$self.$$.dirty[0] &
@@ -11114,7 +11133,7 @@
11114
11133
  /*inputEl*/
11115
11134
  1048576 | $$self.$$.dirty[1] &
11116
11135
  /*isFocused*/
11117
- 1) {
11136
+ 2) {
11118
11137
  if (isFocused && inputEl) {
11119
11138
  setTimeout(() => inputEl.focus(), 1);
11120
11139
  }
@@ -11131,19 +11150,19 @@
11131
11150
  }
11132
11151
  };
11133
11152
 
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];
11153
+ 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
11154
  }
11136
11155
 
11137
11156
  class Input extends SvelteElement {
11138
11157
  constructor(options) {
11139
11158
  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:0;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>')
11159
+ this.shadowRoot.innerHTML = `<style>:host{box-sizing:border-box}.container{position:relative;width:100%;display:inline-block}@media(min-width: 640px){.container{width:var(--width)}}.goa-input,.goa-input *{box-sizing:border-box;line-height:normal}.goa-input{box-sizing:border-box;outline:none;transition:box-shadow 0.1s ease-in;border:1px solid var(--goa-color-greyscale-700);border-radius:var(--goa-border-radius-m);display:inline-flex;align-items:stretch;vertical-align:middle;min-width:100%;background-color:var(--color-white)}.goa-input:hover{border-color:var(--goa-color-interactive-hover)}.goa-input:active,.goa-input:focus,.goa-input:focus-within{box-shadow:0 0 0 3px var(--goa-color-interactive-focus)}.goa-input.type--range{border:none}.goa-input.type--range:active,.goa-input.type--range:focus,.goa-input.type--range:focus-within{box-shadow:none}.goa-input-leading-icon{margin-left:0.5rem}.goa-input-trailing-icon{margin-right:0.5rem}input{display:inline-block;color:var(--goa-color-text-default);font-size:var(--goa-font-size-4);padding:var(--goa-space-xs);line-height:calc(40px - calc(var(--goa-space-xs) * 2));background-color:transparent;width:100%;flex:1 1 auto;font-family:var(--goa-font-family-sans)}input[readonly]{cursor:pointer}.goa-input-leading-icon+input{padding-left:0.5rem}input,input:focus,input:hover,input:active{outline:none;border:none}.goa-input--disabled,.goa-input--disabled:hover,.goa-input--disabled:active,.goa-input--disabled:focus{background-color:var(--goa-color-greyscale-100);border-color:var(--goa-color-greyscale-200);cursor:default;box-shadow:none}.goa-input--disabled input,.goa-input--disabled input:hover,.goa-input--disabled input:active,.goa-input--disabled input:focus{color:var(--goa-color-text-secondary)}.goa-input--disabled input:hover{cursor:default !important}.prefix,.suffix,.leading-content ::slotted(div),.trailing-content ::slotted(div){background-color:var(--goa-color-greyscale-100);padding:0 0.75rem;display:flex;align-items:center}.leading-content ::slotted(div),.trailing-content ::slotted(div){padding:0.5rem 0.75rem}.prefix,.leading-content ::slotted(div){border-top-left-radius:var(--goa-border-radius-m);border-bottom-left-radius:var(--goa-border-radius-m);border-right:1px solid var(--goa-color-greyscale-700)}.suffix,.trailing-content ::slotted(div){border-top-right-radius:var(--goa-border-radius-m);border-bottom-right-radius:var(--goa-border-radius-m);border-left:1px solid var(--goa-color-greyscale-700)}.goa-input--disabled .prefix,.goa-input--disabled .leading-content ::slotted(div){border-right:1px solid var(--goa-color-greyscale-200)}.goa-input--disabled .suffix,.goa-input--disabled .trailing-content ::slotted(div){border-left:1px solid var(--goa-color-greyscale-200)}input.input--goa{display:block;border:none;flex:1 1 auto}.variant--bare{border:none}.variant--bare:focus,.variant--bare:active,.variant--bare:focus-within{box-shadow:none}.error:hover,.error:focus,.error{border:2px solid var(--goa-color-interactive-error)}input[type="search" i]:enabled:read-write:-webkit-any(:focus, :hover)::-webkit-search-cancel-button{position:relative;right:var(--search-icon-offset);cursor:pointer;-webkit-appearance:none;height:1.2rem;width:1.2rem;background:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path fill="%23333" d="M405 136.798L375.202 107 256 226.202 136.798 107 107 136.798 226.202 256 107 375.202 136.798 405 256 285.798 375.202 405 405 375.202 285.798 256z"/></svg>')
11141
11160
  center center no-repeat}</style>`;
11142
11161
  init(this, {
11143
11162
  target: this.shadowRoot,
11144
11163
  props: attribute_to_object(this.attributes),
11145
11164
  customElement: true
11146
- }, instance$c, create_fragment$e, safe_not_equal, {
11165
+ }, instance$d, create_fragment$f, safe_not_equal, {
11147
11166
  type: 1,
11148
11167
  name: 2,
11149
11168
  value: 0,
@@ -11165,6 +11184,7 @@
11165
11184
  step: 13,
11166
11185
  prefix: 14,
11167
11186
  suffix: 15,
11187
+ debounce: 31,
11168
11188
  mt: 16,
11169
11189
  mr: 17,
11170
11190
  mb: 18,
@@ -11184,7 +11204,7 @@
11184
11204
  }
11185
11205
 
11186
11206
  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"];
11207
+ 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
11208
  }
11189
11209
 
11190
11210
  get type() {
@@ -11418,6 +11438,17 @@
11418
11438
  flush();
11419
11439
  }
11420
11440
 
11441
+ get debounce() {
11442
+ return this.$$.ctx[31];
11443
+ }
11444
+
11445
+ set debounce(debounce) {
11446
+ this.$$set({
11447
+ debounce
11448
+ });
11449
+ flush();
11450
+ }
11451
+
11421
11452
  get mt() {
11422
11453
  return this.$$.ctx[16];
11423
11454
  }
@@ -11629,7 +11660,7 @@
11629
11660
  } // (56:2) {#if version}
11630
11661
 
11631
11662
 
11632
- function create_if_block$4(ctx) {
11663
+ function create_if_block$5(ctx) {
11633
11664
  let div;
11634
11665
  let t;
11635
11666
  return {
@@ -11662,7 +11693,7 @@
11662
11693
  };
11663
11694
  }
11664
11695
 
11665
- function create_fragment$d(ctx) {
11696
+ function create_fragment$e(ctx) {
11666
11697
  let header;
11667
11698
  let t0;
11668
11699
  let show_if = ["alpha", "beta"].includes(
@@ -11677,7 +11708,7 @@
11677
11708
  let if_block1 = show_if && create_if_block_1$2(ctx);
11678
11709
  let if_block2 =
11679
11710
  /*version*/
11680
- ctx[1] && create_if_block$4(ctx);
11711
+ ctx[1] && create_if_block$5(ctx);
11681
11712
  return {
11682
11713
  c() {
11683
11714
  header = element("header");
@@ -11743,7 +11774,7 @@
11743
11774
  if (if_block2) {
11744
11775
  if_block2.p(ctx, dirty);
11745
11776
  } else {
11746
- if_block2 = create_if_block$4(ctx);
11777
+ if_block2 = create_if_block$5(ctx);
11747
11778
  if_block2.c();
11748
11779
  if_block2.m(header, null);
11749
11780
  }
@@ -11771,7 +11802,7 @@
11771
11802
  return val[0].toUpperCase() + val.slice(1);
11772
11803
  }
11773
11804
 
11774
- function instance$b($$self, $$props, $$invalidate) {
11805
+ function instance$c($$self, $$props, $$invalidate) {
11775
11806
  const [Types, validateType] = typeValidator("Microsite header type", ["live", "alpha", "beta"], true);
11776
11807
  let {
11777
11808
  type
@@ -11803,7 +11834,7 @@
11803
11834
  target: this.shadowRoot,
11804
11835
  props: attribute_to_object(this.attributes),
11805
11836
  customElement: true
11806
- }, instance$b, create_fragment$d, safe_not_equal, {
11837
+ }, instance$c, create_fragment$e, safe_not_equal, {
11807
11838
  type: 0,
11808
11839
  version: 1,
11809
11840
  feedbackurl: 2
@@ -11863,7 +11894,7 @@
11863
11894
  customElements.define("goa-microsite-header", MicrositeHeader);
11864
11895
  /* libs/web-components/src/components/modal/Modal.svelte generated by Svelte v3.51.0 */
11865
11896
 
11866
- function create_if_block$3(ctx) {
11897
+ function create_if_block$4(ctx) {
11867
11898
  let goa_focus_trap;
11868
11899
  let div5;
11869
11900
  let div0;
@@ -12268,12 +12299,12 @@
12268
12299
  };
12269
12300
  }
12270
12301
 
12271
- function create_fragment$c(ctx) {
12302
+ function create_fragment$d(ctx) {
12272
12303
  let if_block_anchor;
12273
12304
  let current;
12274
12305
  let if_block =
12275
12306
  /*isOpen*/
12276
- ctx[7] && create_if_block$3(ctx);
12307
+ ctx[7] && create_if_block$4(ctx);
12277
12308
  return {
12278
12309
  c() {
12279
12310
  if (if_block) if_block.c();
@@ -12300,7 +12331,7 @@
12300
12331
  transition_in(if_block, 1);
12301
12332
  }
12302
12333
  } else {
12303
- if_block = create_if_block$3(ctx);
12334
+ if_block = create_if_block$4(ctx);
12304
12335
  if_block.c();
12305
12336
  transition_in(if_block, 1);
12306
12337
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -12333,7 +12364,7 @@
12333
12364
  };
12334
12365
  }
12335
12366
 
12336
- function instance$a($$self, $$props, $$invalidate) {
12367
+ function instance$b($$self, $$props, $$invalidate) {
12337
12368
  let isClosable;
12338
12369
  let isOpen;
12339
12370
 
@@ -12423,7 +12454,7 @@
12423
12454
  target: this.shadowRoot,
12424
12455
  props: attribute_to_object(this.attributes),
12425
12456
  customElement: true
12426
- }, instance$a, create_fragment$c, safe_not_equal, {
12457
+ }, instance$b, create_fragment$d, safe_not_equal, {
12427
12458
  heading: 0,
12428
12459
  closable: 9,
12429
12460
  open: 1,
@@ -12519,7 +12550,7 @@
12519
12550
  customElements.define("goa-modal", Modal);
12520
12551
  /* libs/web-components/src/components/notification/Notification.svelte generated by Svelte v3.51.0 */
12521
12552
 
12522
- function create_if_block$2(ctx) {
12553
+ function create_if_block$3(ctx) {
12523
12554
  let div3;
12524
12555
  let div0;
12525
12556
  let goa_icon;
@@ -12643,12 +12674,12 @@
12643
12674
  };
12644
12675
  }
12645
12676
 
12646
- function create_fragment$b(ctx) {
12677
+ function create_fragment$c(ctx) {
12647
12678
  let if_block_anchor;
12648
12679
  let current;
12649
12680
  let if_block =
12650
12681
  /*show*/
12651
- ctx[1] && create_if_block$2(ctx);
12682
+ ctx[1] && create_if_block$3(ctx);
12652
12683
  return {
12653
12684
  c() {
12654
12685
  if (if_block) if_block.c();
@@ -12675,7 +12706,7 @@
12675
12706
  transition_in(if_block, 1);
12676
12707
  }
12677
12708
  } else {
12678
- if_block = create_if_block$2(ctx);
12709
+ if_block = create_if_block$3(ctx);
12679
12710
  if_block.c();
12680
12711
  transition_in(if_block, 1);
12681
12712
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
@@ -12708,7 +12739,7 @@
12708
12739
  };
12709
12740
  }
12710
12741
 
12711
- function instance$9($$self, $$props, $$invalidate) {
12742
+ function instance$a($$self, $$props, $$invalidate) {
12712
12743
  let iconType;
12713
12744
  const [Types, validateType] = typeValidator("Notification type", ["emergency", "important", "information", "event"], true);
12714
12745
  let {
@@ -12746,7 +12777,7 @@
12746
12777
  target: this.shadowRoot,
12747
12778
  props: attribute_to_object(this.attributes),
12748
12779
  customElement: true
12749
- }, instance$9, create_fragment$b, safe_not_equal, {
12780
+ }, instance$a, create_fragment$c, safe_not_equal, {
12750
12781
  type: 0
12751
12782
  }, null);
12752
12783
 
@@ -12788,7 +12819,7 @@
12788
12819
  /* libs/web-components/src/components/page-block/PageBlock.svelte generated by Svelte v3.51.0 */
12789
12820
 
12790
12821
 
12791
- function create_fragment$a(ctx) {
12822
+ function create_fragment$b(ctx) {
12792
12823
  let div;
12793
12824
  let slot;
12794
12825
  let div_style_value;
@@ -12828,7 +12859,7 @@
12828
12859
  };
12829
12860
  }
12830
12861
 
12831
- function instance$8($$self, $$props, $$invalidate) {
12862
+ function instance$9($$self, $$props, $$invalidate) {
12832
12863
  const Sizes = {
12833
12864
  "full": "100%"
12834
12865
  };
@@ -12869,7 +12900,7 @@
12869
12900
  target: this.shadowRoot,
12870
12901
  props: attribute_to_object(this.attributes),
12871
12902
  customElement: true
12872
- }, instance$8, create_fragment$a, safe_not_equal, {
12903
+ }, instance$9, create_fragment$b, safe_not_equal, {
12873
12904
  width: 1,
12874
12905
  _width: 0
12875
12906
  }, null);
@@ -13107,7 +13138,7 @@
13107
13138
  };
13108
13139
  }
13109
13140
 
13110
- function create_fragment$9(ctx) {
13141
+ function create_fragment$a(ctx) {
13111
13142
  let div;
13112
13143
  let slot;
13113
13144
  let t;
@@ -13230,7 +13261,7 @@
13230
13261
  };
13231
13262
  }
13232
13263
 
13233
- function instance$7($$self, $$props, $$invalidate) {
13264
+ function instance$8($$self, $$props, $$invalidate) {
13234
13265
  let isDisabled;
13235
13266
  let isError;
13236
13267
  const [Orientations, validateOrientation] = typeValidator("Radio group orientation", ["vertical", "horizontal"]);
@@ -13375,7 +13406,7 @@
13375
13406
  target: this.shadowRoot,
13376
13407
  props: attribute_to_object(this.attributes),
13377
13408
  customElement: true
13378
- }, instance$7, create_fragment$9, safe_not_equal, {
13409
+ }, instance$8, create_fragment$a, safe_not_equal, {
13379
13410
  name: 1,
13380
13411
  value: 0,
13381
13412
  orientation: 2,
@@ -13531,7 +13562,7 @@
13531
13562
  customElements.define("goa-radio-group", RadioGroup);
13532
13563
  /* libs/web-components/src/components/scrollable/Scrollable.svelte generated by Svelte v3.51.0 */
13533
13564
 
13534
- function create_fragment$8(ctx) {
13565
+ function create_fragment$9(ctx) {
13535
13566
  let div;
13536
13567
  let slot;
13537
13568
  let div_style_value;
@@ -13599,7 +13630,7 @@
13599
13630
  };
13600
13631
  }
13601
13632
 
13602
- function instance$6($$self, $$props, $$invalidate) {
13633
+ function instance$7($$self, $$props, $$invalidate) {
13603
13634
  let {
13604
13635
  direction = "vertical"
13605
13636
  } = $$props;
@@ -13631,7 +13662,7 @@
13631
13662
  target: this.shadowRoot,
13632
13663
  props: attribute_to_object(this.attributes),
13633
13664
  customElement: true
13634
- }, instance$6, create_fragment$8, safe_not_equal, {
13665
+ }, instance$7, create_fragment$9, safe_not_equal, {
13635
13666
  direction: 0,
13636
13667
  hpadding: 1,
13637
13668
  vpadding: 2,
@@ -13972,7 +14003,7 @@
13972
14003
  } // (30:2) {#if type === "card"}
13973
14004
 
13974
14005
 
13975
- function create_if_block$1(ctx) {
14006
+ function create_if_block$2(ctx) {
13976
14007
  let div1;
13977
14008
  let skeleton0;
13978
14009
  let t0;
@@ -14166,13 +14197,13 @@
14166
14197
  };
14167
14198
  }
14168
14199
 
14169
- function create_fragment$7(ctx) {
14200
+ function create_fragment$8(ctx) {
14170
14201
  let div;
14171
14202
  let current_block_type_index;
14172
14203
  let if_block;
14173
14204
  let div_style_value;
14174
14205
  let current;
14175
- const if_block_creators = [create_if_block$1, create_if_block_1, create_if_block_2, create_else_block];
14206
+ const if_block_creators = [create_if_block$2, create_if_block_1, create_if_block_2, create_else_block];
14176
14207
  const if_blocks = [];
14177
14208
 
14178
14209
  function select_block_type(ctx, dirty) {
@@ -14282,7 +14313,7 @@
14282
14313
  };
14283
14314
  }
14284
14315
 
14285
- function instance$5($$self, $$props, $$invalidate) {
14316
+ function instance$6($$self, $$props, $$invalidate) {
14286
14317
  const [Types, validateType] = typeValidator("Skeleton type", ["image", "text", "title", "text-small", "avatar", "header", "paragraph", "thumbnail", "card", "profile", "lines"], true);
14287
14318
  const [Sizes, validateSize] = typeValidator("Skeleton size", ["1", "2", "3", "4"]);
14288
14319
  let {
@@ -14340,7 +14371,7 @@
14340
14371
  target: this.shadowRoot,
14341
14372
  props: attribute_to_object(this.attributes),
14342
14373
  customElement: true
14343
- }, instance$5, create_fragment$7, safe_not_equal, {
14374
+ }, instance$6, create_fragment$8, safe_not_equal, {
14344
14375
  maxwidth: 0,
14345
14376
  size: 1,
14346
14377
  linecount: 2,
@@ -14472,7 +14503,7 @@
14472
14503
  customElements.define("goa-skeleton", Skeleton);
14473
14504
  /* libs/web-components/src/components/spacer/Spacer.svelte generated by Svelte v3.51.0 */
14474
14505
 
14475
- function create_fragment$6(ctx) {
14506
+ function create_fragment$7(ctx) {
14476
14507
  let div;
14477
14508
  return {
14478
14509
  c() {
@@ -14501,7 +14532,7 @@
14501
14532
  };
14502
14533
  }
14503
14534
 
14504
- function instance$4($$self, $$props, $$invalidate) {
14535
+ function instance$5($$self, $$props, $$invalidate) {
14505
14536
  let {
14506
14537
  hspacing = "none"
14507
14538
  } = $$props;
@@ -14538,7 +14569,7 @@
14538
14569
  target: this.shadowRoot,
14539
14570
  props: attribute_to_object(this.attributes),
14540
14571
  customElement: true
14541
- }, instance$4, create_fragment$6, safe_not_equal, {
14572
+ }, instance$5, create_fragment$7, safe_not_equal, {
14542
14573
  hspacing: 1,
14543
14574
  vspacing: 2
14544
14575
  }, null);
@@ -14770,7 +14801,7 @@
14770
14801
  /* libs/web-components/src/components/spinner/Spinner.svelte generated by Svelte v3.51.0 */
14771
14802
 
14772
14803
 
14773
- function create_if_block(ctx) {
14804
+ function create_if_block$1(ctx) {
14774
14805
  let svg;
14775
14806
  let circle;
14776
14807
  let circle_stroke_value;
@@ -14960,11 +14991,11 @@
14960
14991
  };
14961
14992
  }
14962
14993
 
14963
- function create_fragment$5(ctx) {
14994
+ function create_fragment$6(ctx) {
14964
14995
  let if_block_anchor;
14965
14996
  let if_block =
14966
14997
  /*ready*/
14967
- ctx[6] && create_if_block(ctx);
14998
+ ctx[6] && create_if_block$1(ctx);
14968
14999
  return {
14969
15000
  c() {
14970
15001
  if (if_block) if_block.c();
@@ -14984,7 +15015,7 @@
14984
15015
  if (if_block) {
14985
15016
  if_block.p(ctx, dirty);
14986
15017
  } else {
14987
- if_block = create_if_block(ctx);
15018
+ if_block = create_if_block$1(ctx);
14988
15019
  if_block.c();
14989
15020
  if_block.m(if_block_anchor.parentNode, if_block_anchor);
14990
15021
  }
@@ -15005,7 +15036,7 @@
15005
15036
  };
15006
15037
  }
15007
15038
 
15008
- function instance$3($$self, $$props, $$invalidate) {
15039
+ function instance$4($$self, $$props, $$invalidate) {
15009
15040
  let diameter;
15010
15041
  let strokewidth;
15011
15042
  let radius;
@@ -15136,7 +15167,7 @@
15136
15167
  target: this.shadowRoot,
15137
15168
  props: attribute_to_object(this.attributes),
15138
15169
  customElement: true
15139
- }, instance$3, create_fragment$5, safe_not_equal, {
15170
+ }, instance$4, create_fragment$6, safe_not_equal, {
15140
15171
  size: 10,
15141
15172
  invert: 0,
15142
15173
  progress: 11,
@@ -15208,7 +15239,7 @@
15208
15239
  customElements.define("goa-spinner", Spinner);
15209
15240
  /* libs/web-components/src/components/table/Table.svelte generated by Svelte v3.51.0 */
15210
15241
 
15211
- function create_fragment$4(ctx) {
15242
+ function create_fragment$5(ctx) {
15212
15243
  let table;
15213
15244
  let slot;
15214
15245
  let t0;
@@ -15310,7 +15341,7 @@
15310
15341
  };
15311
15342
  }
15312
15343
 
15313
- function instance$2($$self, $$props, $$invalidate) {
15344
+ function instance$3($$self, $$props, $$invalidate) {
15314
15345
  let _stickyHeader;
15315
15346
 
15316
15347
  const [Variants, validateVariant] = typeValidator("Table variant", ["normal", "relaxed"], true);
@@ -15389,7 +15420,7 @@
15389
15420
  target: this.shadowRoot,
15390
15421
  props: attribute_to_object(this.attributes),
15391
15422
  customElement: true
15392
- }, instance$2, create_fragment$4, safe_not_equal, {
15423
+ }, instance$3, create_fragment$5, safe_not_equal, {
15393
15424
  width: 0,
15394
15425
  stickyheader: 8,
15395
15426
  variant: 1,
@@ -15497,7 +15528,7 @@
15497
15528
  customElements.define("goa-table", Table);
15498
15529
  /* libs/web-components/src/components/text-area/TextArea.svelte generated by Svelte v3.51.0 */
15499
15530
 
15500
- function create_fragment$3(ctx) {
15531
+ function create_fragment$4(ctx) {
15501
15532
  let div;
15502
15533
  let textarea;
15503
15534
  let textarea_aria_label_value;
@@ -15678,7 +15709,7 @@
15678
15709
  };
15679
15710
  }
15680
15711
 
15681
- function instance$1($$self, $$props, $$invalidate) {
15712
+ function instance$2($$self, $$props, $$invalidate) {
15682
15713
  let isError;
15683
15714
  let isDisabled;
15684
15715
  let isReadonly;
@@ -15795,7 +15826,7 @@
15795
15826
  target: this.shadowRoot,
15796
15827
  props: attribute_to_object(this.attributes),
15797
15828
  customElement: true
15798
- }, instance$1, create_fragment$3, safe_not_equal, {
15829
+ }, instance$2, create_fragment$4, safe_not_equal, {
15799
15830
  name: 0,
15800
15831
  value: 1,
15801
15832
  placeholder: 2,
@@ -15999,7 +16030,7 @@
15999
16030
  customElements.define("goa-textarea", TextArea);
16000
16031
  /* libs/web-components/src/layouts/FullScreenNavbarLayout.svelte generated by Svelte v3.51.0 */
16001
16032
 
16002
- function create_fragment$2(ctx) {
16033
+ function create_fragment$3(ctx) {
16003
16034
  let div;
16004
16035
  return {
16005
16036
  c() {
@@ -16043,7 +16074,7 @@
16043
16074
  target: this.shadowRoot,
16044
16075
  props: attribute_to_object(this.attributes),
16045
16076
  customElement: true
16046
- }, null, create_fragment$2, safe_not_equal, {}, null);
16077
+ }, null, create_fragment$3, safe_not_equal, {}, null);
16047
16078
 
16048
16079
  if (options) {
16049
16080
  if (options.target) {
@@ -16057,7 +16088,7 @@
16057
16088
  customElements.define("goa-layout-full-nav", FullScreenNavbarLayout);
16058
16089
  /* libs/web-components/src/layouts/one-column-layout/OneColumnLayout.svelte generated by Svelte v3.51.0 */
16059
16090
 
16060
- function create_fragment$1(ctx) {
16091
+ function create_fragment$2(ctx) {
16061
16092
  let div;
16062
16093
  return {
16063
16094
  c() {
@@ -16094,7 +16125,7 @@
16094
16125
  target: this.shadowRoot,
16095
16126
  props: attribute_to_object(this.attributes),
16096
16127
  customElement: true
16097
- }, null, create_fragment$1, safe_not_equal, {}, null);
16128
+ }, null, create_fragment$2, safe_not_equal, {}, null);
16098
16129
 
16099
16130
  if (options) {
16100
16131
  if (options.target) {
@@ -16108,7 +16139,7 @@
16108
16139
  customElements.define("goa-one-column-layout", OneColumnLayout);
16109
16140
  /* libs/web-components/src/layouts/two-column-layout/TwoColumnLayout.svelte generated by Svelte v3.51.0 */
16110
16141
 
16111
- function create_fragment(ctx) {
16142
+ function create_fragment$1(ctx) {
16112
16143
  let div;
16113
16144
  let header;
16114
16145
  let t0;
@@ -16178,7 +16209,7 @@
16178
16209
  };
16179
16210
  }
16180
16211
 
16181
- function instance($$self, $$props, $$invalidate) {
16212
+ function instance$1($$self, $$props, $$invalidate) {
16182
16213
  let {
16183
16214
  navcolumnwidth = ""
16184
16215
  } = $$props;
@@ -16202,7 +16233,7 @@
16202
16233
  target: this.shadowRoot,
16203
16234
  props: attribute_to_object(this.attributes),
16204
16235
  customElement: true
16205
- }, instance, create_fragment, safe_not_equal, {
16236
+ }, instance$1, create_fragment$1, safe_not_equal, {
16206
16237
  navcolumnwidth: 0,
16207
16238
  maxcontentwidth: 1
16208
16239
  }, null);
@@ -16248,6 +16279,513 @@
16248
16279
  }
16249
16280
 
16250
16281
  customElements.define("goa-two-column-layout", TwoColumnLayout);
16282
+ /* libs/web-components/src/components/pagination/Pagination.svelte generated by Svelte v3.51.0 */
16283
+
16284
+ function create_if_block(ctx) {
16285
+ let goa_block;
16286
+ let span0;
16287
+ let t1;
16288
+ let input;
16289
+ let t2;
16290
+ let goa_input;
16291
+ let t3;
16292
+ let span1;
16293
+ let t4;
16294
+ let t5;
16295
+ return {
16296
+ c() {
16297
+ goa_block = element("goa-block");
16298
+ span0 = element("span");
16299
+ span0.textContent = "Page";
16300
+ t1 = space();
16301
+ input = element("input");
16302
+ t2 = space();
16303
+ goa_input = element("goa-input");
16304
+ t3 = space();
16305
+ span1 = element("span");
16306
+ t4 = text("of ");
16307
+ t5 = text(
16308
+ /*_pageCount*/
16309
+ ctx[8]);
16310
+ attr(input, "type", "hidden");
16311
+ set_custom_element_data(goa_input, "type", "number");
16312
+ set_custom_element_data(goa_input, "value",
16313
+ /*pagenumber*/
16314
+ ctx[0]);
16315
+ set_custom_element_data(goa_input, "width", "8ch");
16316
+ set_custom_element_data(goa_input, "debounce", "500");
16317
+ set_custom_element_data(goa_input, "min", "1");
16318
+ set_custom_element_data(goa_input, "max",
16319
+ /*_pageCount*/
16320
+ ctx[8]);
16321
+ set_custom_element_data(goa_block, "data-testid", "page-selector");
16322
+ set_custom_element_data(goa_block, "alignment", "center");
16323
+ set_custom_element_data(goa_block, "gap", "s");
16324
+ },
16325
+
16326
+ m(target, anchor) {
16327
+ insert(target, goa_block, anchor);
16328
+ append(goa_block, span0);
16329
+ append(goa_block, t1);
16330
+ append(goa_block, input);
16331
+ /*input_binding*/
16332
+
16333
+ ctx[12](input);
16334
+ append(goa_block, t2);
16335
+ append(goa_block, goa_input);
16336
+ /*goa_input_binding*/
16337
+
16338
+ ctx[13](goa_input);
16339
+ append(goa_block, t3);
16340
+ append(goa_block, span1);
16341
+ append(span1, t4);
16342
+ append(span1, t5);
16343
+ },
16344
+
16345
+ p(ctx, dirty) {
16346
+ if (dirty &
16347
+ /*pagenumber*/
16348
+ 1) {
16349
+ set_custom_element_data(goa_input, "value",
16350
+ /*pagenumber*/
16351
+ ctx[0]);
16352
+ }
16353
+
16354
+ if (dirty &
16355
+ /*_pageCount*/
16356
+ 256) {
16357
+ set_custom_element_data(goa_input, "max",
16358
+ /*_pageCount*/
16359
+ ctx[8]);
16360
+ }
16361
+
16362
+ if (dirty &
16363
+ /*_pageCount*/
16364
+ 256) set_data(t5,
16365
+ /*_pageCount*/
16366
+ ctx[8]);
16367
+ },
16368
+
16369
+ d(detaching) {
16370
+ if (detaching) detach(goa_block);
16371
+ /*input_binding*/
16372
+
16373
+ ctx[12](null);
16374
+ /*goa_input_binding*/
16375
+
16376
+ ctx[13](null);
16377
+ }
16378
+
16379
+ };
16380
+ }
16381
+
16382
+ function create_fragment(ctx) {
16383
+ let goa_block1;
16384
+ let div;
16385
+ let t0;
16386
+ let goa_block0;
16387
+ let goa_button0;
16388
+ let t1;
16389
+ let goa_button0_disabled_value;
16390
+ let t2;
16391
+ let goa_button1;
16392
+ let t3;
16393
+ let goa_button1_disabled_value;
16394
+ let mounted;
16395
+ let dispose;
16396
+ let if_block =
16397
+ /*variant*/
16398
+ ctx[1] === "all" && create_if_block(ctx);
16399
+ return {
16400
+ c() {
16401
+ goa_block1 = element("goa-block");
16402
+ div = element("div");
16403
+ if (if_block) if_block.c();
16404
+ t0 = space();
16405
+ goa_block0 = element("goa-block");
16406
+ goa_button0 = element("goa-button");
16407
+ t1 = text("Previous");
16408
+ t2 = space();
16409
+ goa_button1 = element("goa-button");
16410
+ t3 = text("Next");
16411
+ this.c = noop;
16412
+ set_custom_element_data(goa_button0, "type", "tertiary");
16413
+ set_custom_element_data(goa_button0, "leadingicon", "arrow-back");
16414
+ set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value =
16415
+ /*pagenumber*/
16416
+ ctx[0] == 1 ? "true" : "false");
16417
+ set_custom_element_data(goa_button1, "type", "tertiary");
16418
+ set_custom_element_data(goa_button1, "trailingicon", "arrow-forward");
16419
+ set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value =
16420
+ /*pagenumber*/
16421
+ ctx[0] ==
16422
+ /*_pageCount*/
16423
+ ctx[8] ? "true" : "false");
16424
+ set_custom_element_data(goa_block0, "alignment", "center");
16425
+ set_custom_element_data(goa_block0, "gap", "m");
16426
+ set_custom_element_data(goa_block0, "data-testid", "page-links");
16427
+ attr(div, "class", "controls");
16428
+ set_custom_element_data(goa_block1, "id", "root");
16429
+ set_custom_element_data(goa_block1, "ml",
16430
+ /*ml*/
16431
+ ctx[5]);
16432
+ set_custom_element_data(goa_block1, "mr",
16433
+ /*mr*/
16434
+ ctx[3]);
16435
+ set_custom_element_data(goa_block1, "mb",
16436
+ /*mb*/
16437
+ ctx[4]);
16438
+ set_custom_element_data(goa_block1, "mt",
16439
+ /*mt*/
16440
+ ctx[2]);
16441
+ },
16442
+
16443
+ m(target, anchor) {
16444
+ insert(target, goa_block1, anchor);
16445
+ append(goa_block1, div);
16446
+ if (if_block) if_block.m(div, null);
16447
+ append(div, t0);
16448
+ append(div, goa_block0);
16449
+ append(goa_block0, goa_button0);
16450
+ append(goa_button0, t1);
16451
+ append(goa_block0, t2);
16452
+ append(goa_block0, goa_button1);
16453
+ append(goa_button1, t3);
16454
+
16455
+ if (!mounted) {
16456
+ dispose = [listen(goa_button0, "click",
16457
+ /*click_handler*/
16458
+ ctx[14]), listen(goa_button1, "click",
16459
+ /*click_handler_1*/
16460
+ ctx[15])];
16461
+ mounted = true;
16462
+ }
16463
+ },
16464
+
16465
+ p(ctx, [dirty]) {
16466
+ if (
16467
+ /*variant*/
16468
+ ctx[1] === "all") {
16469
+ if (if_block) {
16470
+ if_block.p(ctx, dirty);
16471
+ } else {
16472
+ if_block = create_if_block(ctx);
16473
+ if_block.c();
16474
+ if_block.m(div, t0);
16475
+ }
16476
+ } else if (if_block) {
16477
+ if_block.d(1);
16478
+ if_block = null;
16479
+ }
16480
+
16481
+ if (dirty &
16482
+ /*pagenumber*/
16483
+ 1 && goa_button0_disabled_value !== (goa_button0_disabled_value =
16484
+ /*pagenumber*/
16485
+ ctx[0] == 1 ? "true" : "false")) {
16486
+ set_custom_element_data(goa_button0, "disabled", goa_button0_disabled_value);
16487
+ }
16488
+
16489
+ if (dirty &
16490
+ /*pagenumber, _pageCount*/
16491
+ 257 && goa_button1_disabled_value !== (goa_button1_disabled_value =
16492
+ /*pagenumber*/
16493
+ ctx[0] ==
16494
+ /*_pageCount*/
16495
+ ctx[8] ? "true" : "false")) {
16496
+ set_custom_element_data(goa_button1, "disabled", goa_button1_disabled_value);
16497
+ }
16498
+
16499
+ if (dirty &
16500
+ /*ml*/
16501
+ 32) {
16502
+ set_custom_element_data(goa_block1, "ml",
16503
+ /*ml*/
16504
+ ctx[5]);
16505
+ }
16506
+
16507
+ if (dirty &
16508
+ /*mr*/
16509
+ 8) {
16510
+ set_custom_element_data(goa_block1, "mr",
16511
+ /*mr*/
16512
+ ctx[3]);
16513
+ }
16514
+
16515
+ if (dirty &
16516
+ /*mb*/
16517
+ 16) {
16518
+ set_custom_element_data(goa_block1, "mb",
16519
+ /*mb*/
16520
+ ctx[4]);
16521
+ }
16522
+
16523
+ if (dirty &
16524
+ /*mt*/
16525
+ 4) {
16526
+ set_custom_element_data(goa_block1, "mt",
16527
+ /*mt*/
16528
+ ctx[2]);
16529
+ }
16530
+ },
16531
+
16532
+ i: noop,
16533
+ o: noop,
16534
+
16535
+ d(detaching) {
16536
+ if (detaching) detach(goa_block1);
16537
+ if (if_block) if_block.d();
16538
+ mounted = false;
16539
+ run_all(dispose);
16540
+ }
16541
+
16542
+ };
16543
+ }
16544
+
16545
+ function instance($$self, $$props, $$invalidate) {
16546
+ let _pageCount;
16547
+
16548
+ const [Variants, validateVariant] = typeValidator("Pagination variant", ["all", "links-only"]);
16549
+ let {
16550
+ pagenumber
16551
+ } = $$props;
16552
+ let {
16553
+ itemcount
16554
+ } = $$props;
16555
+ let {
16556
+ perpagecount = 10
16557
+ } = $$props;
16558
+ let {
16559
+ variant = "all"
16560
+ } = $$props;
16561
+ let {
16562
+ mt = null
16563
+ } = $$props;
16564
+ let {
16565
+ mr = null
16566
+ } = $$props;
16567
+ let {
16568
+ mb = "m"
16569
+ } = $$props;
16570
+ let {
16571
+ ml = null
16572
+ } = $$props; // private
16573
+
16574
+ let inputEl = null;
16575
+ let hiddenEl = null; // needed to allow the inputEl's event to be cancelled
16576
+ // hooks
16577
+
16578
+ onMount(function () {
16579
+ return _call(tick, function () {
16580
+ validateRequired("GoAPagination", {
16581
+ itemcount,
16582
+ pagenumber
16583
+ });
16584
+ validateVariant(variant); // prevent event propagation if value is non-numeric
16585
+ // (input[type=number] returns blank for non-numeric numbers)
16586
+
16587
+ inputEl && inputEl.addEventListener("_change", e => {
16588
+ const page = Number.parseInt(e.detail.value);
16589
+ e.stopPropagation();
16590
+
16591
+ if (isNaN(page)) {
16592
+ return;
16593
+ }
16594
+
16595
+ hiddenEl.dispatchEvent(new CustomEvent("_change", {
16596
+ composed: true,
16597
+ bubbles: true,
16598
+ detail: {
16599
+ page
16600
+ }
16601
+ }));
16602
+ });
16603
+ });
16604
+ }); // functions
16605
+
16606
+ function goto(e, offset) {
16607
+ const newPage = Number.parseInt(pagenumber + "") + offset;
16608
+
16609
+ if (newPage > 0 && newPage <= _pageCount) {
16610
+ e.target.dispatchEvent(new CustomEvent("_change", {
16611
+ composed: true,
16612
+ bubbles: true,
16613
+ detail: {
16614
+ page: newPage
16615
+ }
16616
+ }));
16617
+ }
16618
+
16619
+ e.preventDefault();
16620
+ }
16621
+
16622
+ function input_binding($$value) {
16623
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16624
+ hiddenEl = $$value;
16625
+ $$invalidate(7, hiddenEl);
16626
+ });
16627
+ }
16628
+
16629
+ function goa_input_binding($$value) {
16630
+ binding_callbacks[$$value ? 'unshift' : 'push'](() => {
16631
+ inputEl = $$value;
16632
+ $$invalidate(6, inputEl);
16633
+ });
16634
+ }
16635
+
16636
+ const click_handler = e => goto(e, -1);
16637
+
16638
+ const click_handler_1 = e => goto(e, 1);
16639
+
16640
+ $$self.$$set = $$props => {
16641
+ if ('pagenumber' in $$props) $$invalidate(0, pagenumber = $$props.pagenumber);
16642
+ if ('itemcount' in $$props) $$invalidate(10, itemcount = $$props.itemcount);
16643
+ if ('perpagecount' in $$props) $$invalidate(11, perpagecount = $$props.perpagecount);
16644
+ if ('variant' in $$props) $$invalidate(1, variant = $$props.variant);
16645
+ if ('mt' in $$props) $$invalidate(2, mt = $$props.mt);
16646
+ if ('mr' in $$props) $$invalidate(3, mr = $$props.mr);
16647
+ if ('mb' in $$props) $$invalidate(4, mb = $$props.mb);
16648
+ if ('ml' in $$props) $$invalidate(5, ml = $$props.ml);
16649
+ };
16650
+
16651
+ $$self.$$.update = () => {
16652
+ if ($$self.$$.dirty &
16653
+ /*itemcount, perpagecount*/
16654
+ 3072) {
16655
+ // reactive
16656
+ $$invalidate(8, _pageCount = Math.ceil(itemcount / perpagecount));
16657
+ }
16658
+ };
16659
+
16660
+ return [pagenumber, variant, mt, mr, mb, ml, inputEl, hiddenEl, _pageCount, goto, itemcount, perpagecount, input_binding, goa_input_binding, click_handler, click_handler_1];
16661
+ }
16662
+
16663
+ class Pagination extends SvelteElement {
16664
+ constructor(options) {
16665
+ super();
16666
+ 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>`;
16667
+ init(this, {
16668
+ target: this.shadowRoot,
16669
+ props: attribute_to_object(this.attributes),
16670
+ customElement: true
16671
+ }, instance, create_fragment, safe_not_equal, {
16672
+ pagenumber: 0,
16673
+ itemcount: 10,
16674
+ perpagecount: 11,
16675
+ variant: 1,
16676
+ mt: 2,
16677
+ mr: 3,
16678
+ mb: 4,
16679
+ ml: 5
16680
+ }, null);
16681
+
16682
+ if (options) {
16683
+ if (options.target) {
16684
+ insert(options.target, this, options.anchor);
16685
+ }
16686
+
16687
+ if (options.props) {
16688
+ this.$set(options.props);
16689
+ flush();
16690
+ }
16691
+ }
16692
+ }
16693
+
16694
+ static get observedAttributes() {
16695
+ return ["pagenumber", "itemcount", "perpagecount", "variant", "mt", "mr", "mb", "ml"];
16696
+ }
16697
+
16698
+ get pagenumber() {
16699
+ return this.$$.ctx[0];
16700
+ }
16701
+
16702
+ set pagenumber(pagenumber) {
16703
+ this.$$set({
16704
+ pagenumber
16705
+ });
16706
+ flush();
16707
+ }
16708
+
16709
+ get itemcount() {
16710
+ return this.$$.ctx[10];
16711
+ }
16712
+
16713
+ set itemcount(itemcount) {
16714
+ this.$$set({
16715
+ itemcount
16716
+ });
16717
+ flush();
16718
+ }
16719
+
16720
+ get perpagecount() {
16721
+ return this.$$.ctx[11];
16722
+ }
16723
+
16724
+ set perpagecount(perpagecount) {
16725
+ this.$$set({
16726
+ perpagecount
16727
+ });
16728
+ flush();
16729
+ }
16730
+
16731
+ get variant() {
16732
+ return this.$$.ctx[1];
16733
+ }
16734
+
16735
+ set variant(variant) {
16736
+ this.$$set({
16737
+ variant
16738
+ });
16739
+ flush();
16740
+ }
16741
+
16742
+ get mt() {
16743
+ return this.$$.ctx[2];
16744
+ }
16745
+
16746
+ set mt(mt) {
16747
+ this.$$set({
16748
+ mt
16749
+ });
16750
+ flush();
16751
+ }
16752
+
16753
+ get mr() {
16754
+ return this.$$.ctx[3];
16755
+ }
16756
+
16757
+ set mr(mr) {
16758
+ this.$$set({
16759
+ mr
16760
+ });
16761
+ flush();
16762
+ }
16763
+
16764
+ get mb() {
16765
+ return this.$$.ctx[4];
16766
+ }
16767
+
16768
+ set mb(mb) {
16769
+ this.$$set({
16770
+ mb
16771
+ });
16772
+ flush();
16773
+ }
16774
+
16775
+ get ml() {
16776
+ return this.$$.ctx[5];
16777
+ }
16778
+
16779
+ set ml(ml) {
16780
+ this.$$set({
16781
+ ml
16782
+ });
16783
+ flush();
16784
+ }
16785
+
16786
+ }
16787
+
16788
+ customElements.define("goa-pagination", Pagination);
16251
16789
 
16252
16790
  /*! *****************************************************************************
16253
16791
  Copyright (c) Microsoft Corporation.
@@ -16924,6 +17462,7 @@
16924
17462
 
16925
17463
  var GoAInput = function GoAInput(_a) {
16926
17464
  var id = _a.id,
17465
+ debounce = _a.debounce,
16927
17466
  name = _a.name,
16928
17467
  type = _a.type,
16929
17468
  autoCapitalize = _a.autoCapitalize,
@@ -16981,6 +17520,7 @@
16981
17520
  }, [ref, onChange, onTrailingIconClick]);
16982
17521
  return jsxRuntime.jsxs("goa-input", __assign({
16983
17522
  ref: ref,
17523
+ debounce: debounce,
16984
17524
  focused: focused,
16985
17525
  type: type,
16986
17526
  name: name,
@@ -17341,6 +17881,38 @@
17341
17881
  }), void 0);
17342
17882
  };
17343
17883
 
17884
+ function GoAPagination(props) {
17885
+ var ref = react.useRef();
17886
+ react.useEffect(function () {
17887
+ if (!ref.current) {
17888
+ return;
17889
+ }
17890
+
17891
+ var current = ref.current;
17892
+
17893
+ var changeListener = function changeListener(e) {
17894
+ var page = e.detail.page;
17895
+ props.onChange(page);
17896
+ };
17897
+
17898
+ current.addEventListener("_change", changeListener);
17899
+ return function () {
17900
+ current.removeEventListener("_change", changeListener);
17901
+ };
17902
+ }, [ref, props.onChange]);
17903
+ return jsxRuntime.jsx("goa-pagination", {
17904
+ ref: ref,
17905
+ itemcount: props.itemCount,
17906
+ perpagecount: props.perPageCount,
17907
+ pagenumber: props.pageNumber,
17908
+ variant: props.variant,
17909
+ mt: props.mt,
17910
+ mb: props.mb,
17911
+ ml: props.ml,
17912
+ mr: props.mr
17913
+ }, void 0);
17914
+ }
17915
+
17344
17916
  var GoASkeleton = function GoASkeleton(_a) {
17345
17917
  var maxWidth = _a.maxWidth,
17346
17918
  size = _a.size,
@@ -17388,7 +17960,10 @@
17388
17960
  return jsxRuntime.jsx("goa-table", __assign({
17389
17961
  width: props.width,
17390
17962
  stickyheader: false,
17391
- variant: props.variant
17963
+ mt: props.mt,
17964
+ mb: props.mb,
17965
+ ml: props.ml,
17966
+ mr: props.mr
17392
17967
  }, {
17393
17968
  children: jsxRuntime.jsx("template", {
17394
17969
  children: jsxRuntime.jsx("table", {
@@ -17521,6 +18096,7 @@
17521
18096
  exports.GoANotification = GoANotification;
17522
18097
  exports.GoAOneColumnLayout = GoAOneColumnLayout;
17523
18098
  exports.GoAPageBlock = GoAPageBlock;
18099
+ exports.GoAPagination = GoAPagination;
17524
18100
  exports.GoARadioGroup = GoARadioGroup;
17525
18101
  exports.GoARadioItem = GoARadioItem;
17526
18102
  exports.GoASkeleton = GoASkeleton;