fds-vue-core 8.2.4 → 8.3.0

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.
@@ -86,6 +86,8 @@ const en = {
86
86
  "FdsPhonenumber.invalidPhone": "Enter a valid phone number",
87
87
  "FdsPhonenumber.noCountryResults": "No country matches your search",
88
88
  "FdsPhonenumber.phoneNumber": "Phone number",
89
+ "FdsSsn.invalidSsn": "Enter a valid personal identity number",
90
+ "FdsSsn.label": "Personal identity number",
89
91
  "FdsSearchSelectPro.loadingMore": "Loading more...",
90
92
  "FdsSearchSelectPro.showMore": "Show more",
91
93
  "FdsSearchSelectPro.unspecified": "Unspecified",
@@ -159,6 +161,8 @@ const sv = {
159
161
  "FdsPhonenumber.invalidPhone": "Ange ett giltigt telefonnummer",
160
162
  "FdsPhonenumber.noCountryResults": "Inget land matchar sökningen",
161
163
  "FdsPhonenumber.phoneNumber": "Telefonnummer",
164
+ "FdsSsn.invalidSsn": "Ange ett giltigt personnummer",
165
+ "FdsSsn.label": "Personnummer",
162
166
  "FdsSearchSelectPro.loadingMore": "Hämtar fler...",
163
167
  "FdsSearchSelectPro.showMore": "Visa fler",
164
168
  "FdsSearchSelectPro.unspecified": "Ospecificerat",
@@ -748,8 +752,8 @@ const icons = {
748
752
  </defs>
749
753
  </svg>`
750
754
  };
751
- const _hoisted_1$A = ["innerHTML"];
752
- const _sfc_main$M = /* @__PURE__ */ defineComponent({
755
+ const _hoisted_1$B = ["innerHTML"];
756
+ const _sfc_main$N = /* @__PURE__ */ defineComponent({
753
757
  __name: "FdsIcon",
754
758
  props: {
755
759
  name: {},
@@ -782,11 +786,11 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
782
786
  return openBlock(), createElementBlock("span", mergeProps({
783
787
  class: "flex items-center justify-center align-middle",
784
788
  style: { width: pixelSize.value, height: pixelSize.value }
785
- }, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$A);
789
+ }, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$B);
786
790
  };
787
791
  }
788
792
  });
789
- const _sfc_main$L = /* @__PURE__ */ defineComponent({
793
+ const _sfc_main$M = /* @__PURE__ */ defineComponent({
790
794
  __name: "FdsButtonIcon",
791
795
  props: {
792
796
  icon: {},
@@ -830,12 +834,12 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
830
834
  class: buttonClasses.value,
831
835
  onClick
832
836
  }), [
833
- !__props.loading ? (openBlock(), createBlock(_sfc_main$M, {
837
+ !__props.loading ? (openBlock(), createBlock(_sfc_main$N, {
834
838
  key: 0,
835
839
  size: iconSize.value,
836
840
  name: __props.icon,
837
841
  "aria-hidden": "true"
838
- }, null, 8, ["size", "name"])) : (openBlock(), createBlock(_sfc_main$M, {
842
+ }, null, 8, ["size", "name"])) : (openBlock(), createBlock(_sfc_main$N, {
839
843
  key: 1,
840
844
  size: iconSize.value,
841
845
  name: "spinner",
@@ -846,7 +850,7 @@ const _sfc_main$L = /* @__PURE__ */ defineComponent({
846
850
  };
847
851
  }
848
852
  });
849
- const _hoisted_1$z = { class: "flex items-start gap-2" };
853
+ const _hoisted_1$A = { class: "flex items-start gap-2" };
850
854
  const _hoisted_2$q = { class: "h-7 flex items-center" };
851
855
  const _hoisted_3$l = { class: "leading-7" };
852
856
  const _hoisted_4$j = { class: "relative h-7" };
@@ -854,7 +858,7 @@ const _hoisted_5$h = {
854
858
  key: 1,
855
859
  class: "fds-block-alert-slot mb-0-last-child"
856
860
  };
857
- const _sfc_main$K = /* @__PURE__ */ defineComponent({
861
+ const _sfc_main$L = /* @__PURE__ */ defineComponent({
858
862
  __name: "FdsBlockAlert",
859
863
  props: {
860
864
  visible: { type: Boolean, default: true },
@@ -910,9 +914,9 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
910
914
  key: 0,
911
915
  class: normalizeClass(["font-bold w-full justify-between items-start flex gap-2", { "mb-2": (isExpanded.value || !__props.collapsable) && unref(hasSlot) }])
912
916
  }, [
913
- createElementVNode("div", _hoisted_1$z, [
917
+ createElementVNode("div", _hoisted_1$A, [
914
918
  createElementVNode("div", _hoisted_2$q, [
915
- createVNode(_sfc_main$M, {
919
+ createVNode(_sfc_main$N, {
916
920
  name: "alert",
917
921
  size: 24,
918
922
  class: "fill-yellow-700"
@@ -921,13 +925,13 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
921
925
  createElementVNode("span", _hoisted_3$l, toDisplayString(__props.heading), 1)
922
926
  ]),
923
927
  createElementVNode("div", _hoisted_4$j, [
924
- __props.closeable ? (openBlock(), createBlock(_sfc_main$L, mergeProps({
928
+ __props.closeable ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
925
929
  key: 0,
926
930
  icon: "cross",
927
931
  size: 28,
928
932
  onClick: handleClose
929
933
  }, { "aria-label": closeLabel.value }, { class: ["fill-gray-900! hover:bg-gray-100 active:bg-gray-200"] }), null, 16)) : createCommentVNode("", true),
930
- __props.collapsable ? (openBlock(), createBlock(_sfc_main$L, mergeProps({
934
+ __props.collapsable ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
931
935
  key: 1,
932
936
  icon: "arrowDown",
933
937
  size: 28,
@@ -950,7 +954,7 @@ const _sfc_main$K = /* @__PURE__ */ defineComponent({
950
954
  };
951
955
  }
952
956
  });
953
- const _hoisted_1$y = ["id"];
957
+ const _hoisted_1$z = ["id"];
954
958
  const _hoisted_2$p = {
955
959
  key: 0,
956
960
  class: "flex items-start justify-between gap-4 mb-4"
@@ -958,7 +962,7 @@ const _hoisted_2$p = {
958
962
  const _hoisted_3$k = { class: "flex items-center gap-3" };
959
963
  const _hoisted_4$i = { class: "flex items-start gap-3 leading-8" };
960
964
  const _hoisted_5$g = { class: "mb-0-last-child" };
961
- const _sfc_main$J = /* @__PURE__ */ defineComponent({
965
+ const _sfc_main$K = /* @__PURE__ */ defineComponent({
962
966
  __name: "FdsBlockContent",
963
967
  props: {
964
968
  heading: { default: void 0 },
@@ -1015,11 +1019,11 @@ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1015
1019
  createElementVNode("div", _hoisted_5$g, [
1016
1020
  renderSlot(_ctx.$slots, "default")
1017
1021
  ])
1018
- ], 16, _hoisted_1$y);
1022
+ ], 16, _hoisted_1$z);
1019
1023
  };
1020
1024
  }
1021
1025
  });
1022
- const _sfc_main$I = /* @__PURE__ */ defineComponent({
1026
+ const _sfc_main$J = /* @__PURE__ */ defineComponent({
1023
1027
  __name: "FdsSticker",
1024
1028
  props: {
1025
1029
  variant: { default: "blue" },
@@ -1067,7 +1071,7 @@ const _sfc_main$I = /* @__PURE__ */ defineComponent({
1067
1071
  };
1068
1072
  }
1069
1073
  });
1070
- const _hoisted_1$x = { class: "leading-6 w-full flex justify-between gap-4" };
1074
+ const _hoisted_1$y = { class: "leading-6 w-full flex justify-between gap-4" };
1071
1075
  const _hoisted_2$o = {
1072
1076
  key: 0,
1073
1077
  class: "flex items-center mr-4"
@@ -1079,7 +1083,7 @@ const _hoisted_5$f = {
1079
1083
  class: "w-full flex mt-2"
1080
1084
  };
1081
1085
  const _hoisted_6$b = ["aria-hidden"];
1082
- const _sfc_main$H = /* @__PURE__ */ defineComponent({
1086
+ const _sfc_main$I = /* @__PURE__ */ defineComponent({
1083
1087
  ...{
1084
1088
  inheritAttrs: false
1085
1089
  },
@@ -1151,12 +1155,12 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1151
1155
  createElementVNode("span", {
1152
1156
  class: normalizeClass(buttonRowClasses.value)
1153
1157
  }, [
1154
- createElementVNode("span", _hoisted_1$x, [
1158
+ createElementVNode("span", _hoisted_1$y, [
1155
1159
  createElementVNode("span", {
1156
1160
  class: normalizeClass(["flex items-center", { "inline-flex items-start": __props.icon }])
1157
1161
  }, [
1158
1162
  __props.icon ? (openBlock(), createElementBlock("span", _hoisted_2$o, [
1159
- createVNode(_sfc_main$M, {
1163
+ createVNode(_sfc_main$N, {
1160
1164
  name: __props.icon,
1161
1165
  size: 24,
1162
1166
  class: normalizeClass(["fill-blue-500", [{ "fill-gray-500": __props.disabled }, __props.iconClass]])
@@ -1169,7 +1173,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1169
1173
  ])
1170
1174
  ], 2),
1171
1175
  createElementVNode("span", _hoisted_4$h, [
1172
- __props.stickerText && __props.stickerColor ? (openBlock(), createBlock(_sfc_main$I, {
1176
+ __props.stickerText && __props.stickerColor ? (openBlock(), createBlock(_sfc_main$J, {
1173
1177
  key: 0,
1174
1178
  variant: __props.stickerColor
1175
1179
  }, {
@@ -1178,7 +1182,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1178
1182
  ]),
1179
1183
  _: 1
1180
1184
  }, 8, ["variant"])) : createCommentVNode("", true),
1181
- createVNode(_sfc_main$M, {
1185
+ createVNode(_sfc_main$N, {
1182
1186
  name: "arrowDown",
1183
1187
  size: 24,
1184
1188
  class: normalizeClass(["transition-transform duration-200 fill-blue-500 min-w-6 min-h-6", { "rotate-180": isOpen.value, "fill-gray-500": __props.disabled }])
@@ -1202,7 +1206,7 @@ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1202
1206
  };
1203
1207
  }
1204
1208
  });
1205
- const _hoisted_1$w = ["id"];
1209
+ const _hoisted_1$x = ["id"];
1206
1210
  const _hoisted_2$n = {
1207
1211
  key: 0,
1208
1212
  class: "flex items-start gap-4"
@@ -1227,7 +1231,7 @@ const _hoisted_13$2 = { class: "flex items-start gap-3" };
1227
1231
  const _hoisted_14$2 = { class: "mb-0-last-child" };
1228
1232
  const smallIconSize = 24;
1229
1233
  const largeIconSize = 48;
1230
- const _sfc_main$G = /* @__PURE__ */ defineComponent({
1234
+ const _sfc_main$H = /* @__PURE__ */ defineComponent({
1231
1235
  __name: "FdsBlockInfo",
1232
1236
  props: {
1233
1237
  heading: { default: void 0 },
@@ -1260,7 +1264,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1260
1264
  class: contentClasses.value
1261
1265
  }, rootAttrs.value), [
1262
1266
  __props.iconSize === "large" && __props.icon ? (openBlock(), createElementBlock("div", _hoisted_2$n, [
1263
- createVNode(_sfc_main$M, {
1267
+ createVNode(_sfc_main$N, {
1264
1268
  name: __props.icon,
1265
1269
  size: largeIconSize,
1266
1270
  class: "fill-blue-500"
@@ -1285,7 +1289,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1285
1289
  }, [
1286
1290
  createElementVNode("header", _hoisted_10$4, [
1287
1291
  createElementVNode("div", _hoisted_11$4, [
1288
- __props.icon && __props.iconSize === "small" ? (openBlock(), createBlock(_sfc_main$M, {
1292
+ __props.icon && __props.iconSize === "small" ? (openBlock(), createBlock(_sfc_main$N, {
1289
1293
  key: 0,
1290
1294
  name: __props.icon,
1291
1295
  size: smallIconSize,
@@ -1302,16 +1306,16 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1302
1306
  renderSlot(_ctx.$slots, "default")
1303
1307
  ])
1304
1308
  ]))
1305
- ], 16, _hoisted_1$w);
1309
+ ], 16, _hoisted_1$x);
1306
1310
  };
1307
1311
  }
1308
1312
  });
1309
- const _hoisted_1$v = { class: "mb-0-last-child" };
1313
+ const _hoisted_1$w = { class: "mb-0-last-child" };
1310
1314
  const _hoisted_2$m = {
1311
1315
  key: 0,
1312
1316
  class: "flex items-end"
1313
1317
  };
1314
- const _sfc_main$F = /* @__PURE__ */ defineComponent({
1318
+ const _sfc_main$G = /* @__PURE__ */ defineComponent({
1315
1319
  ...{
1316
1320
  inheritAttrs: false
1317
1321
  },
@@ -1424,7 +1428,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1424
1428
  createElementVNode("div", {
1425
1429
  class: normalizeClass(["flex w-full flex-1", contentClasses.value])
1426
1430
  }, [
1427
- __props.icon ? (openBlock(), createBlock(_sfc_main$M, {
1431
+ __props.icon ? (openBlock(), createBlock(_sfc_main$N, {
1428
1432
  key: 0,
1429
1433
  name: __props.icon,
1430
1434
  size: 24,
@@ -1443,7 +1447,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1443
1447
  createElementVNode("div", {
1444
1448
  class: normalizeClass(slotWrapperClasses.value)
1445
1449
  }, [
1446
- createElementVNode("div", _hoisted_1$v, [
1450
+ createElementVNode("div", _hoisted_1$w, [
1447
1451
  renderSlot(_ctx.$slots, "default")
1448
1452
  ]),
1449
1453
  unref(hasStickerSlot) ? (openBlock(), createElementBlock("div", _hoisted_2$m, [
@@ -1452,7 +1456,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1452
1456
  ], 2)
1453
1457
  ], 2)
1454
1458
  ], 2),
1455
- __props.variant === "link" ? (openBlock(), createBlock(_sfc_main$M, {
1459
+ __props.variant === "link" ? (openBlock(), createBlock(_sfc_main$N, {
1456
1460
  key: 0,
1457
1461
  name: "arrowRight",
1458
1462
  size: 24,
@@ -1464,8 +1468,8 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1464
1468
  };
1465
1469
  }
1466
1470
  });
1467
- const _hoisted_1$u = ["aria-label"];
1468
- const _sfc_main$E = /* @__PURE__ */ defineComponent({
1471
+ const _hoisted_1$v = ["aria-label"];
1472
+ const _sfc_main$F = /* @__PURE__ */ defineComponent({
1469
1473
  __name: "FdsSpinner",
1470
1474
  props: {
1471
1475
  size: { default: "48px" },
@@ -1545,13 +1549,13 @@ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1545
1549
  key: 0,
1546
1550
  class: normalizeClass(__props.labelPosition === "bottom" ? "font-bold" : "")
1547
1551
  }, toDisplayString(__props.label), 3)) : createCommentVNode("", true)
1548
- ], 16, _hoisted_1$u);
1552
+ ], 16, _hoisted_1$v);
1549
1553
  };
1550
1554
  }
1551
1555
  });
1552
- const _hoisted_1$t = ["aria-disabled"];
1556
+ const _hoisted_1$u = ["aria-disabled"];
1553
1557
  const elBase$2 = "box-border appearance-none inline-flex items-center justify-center w-fit min-h-0 shadow-none p-0.5 text-base select-none m-0 rounded-md text-left align-middle no-underline transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
1554
- const _sfc_main$D = /* @__PURE__ */ defineComponent({
1558
+ const _sfc_main$E = /* @__PURE__ */ defineComponent({
1555
1559
  ...{
1556
1560
  inheritAttrs: false
1557
1561
  },
@@ -1636,7 +1640,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
1636
1640
  onClick
1637
1641
  }), {
1638
1642
  default: withCtx(() => [
1639
- __props.loading ? (openBlock(), createBlock(_sfc_main$E, {
1643
+ __props.loading ? (openBlock(), createBlock(_sfc_main$F, {
1640
1644
  key: 0,
1641
1645
  class: "mr-2",
1642
1646
  size: "24px",
@@ -1646,7 +1650,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
1646
1650
  class: normalizeClass(iconOrderClasses.value),
1647
1651
  "aria-hidden": "true"
1648
1652
  }, [
1649
- createVNode(_sfc_main$M, {
1653
+ createVNode(_sfc_main$N, {
1650
1654
  class: normalizeClass(iconFillClass2.value),
1651
1655
  name: __props.icon,
1652
1656
  size: __props.iconSize
@@ -1656,15 +1660,15 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
1656
1660
  ]),
1657
1661
  _: 1
1658
1662
  }, 16, ["type", "disabled", "data-testid", "class"]))
1659
- ], 10, _hoisted_1$t);
1663
+ ], 10, _hoisted_1$u);
1660
1664
  };
1661
1665
  }
1662
1666
  });
1663
- const _hoisted_1$s = {
1667
+ const _hoisted_1$t = {
1664
1668
  key: 0,
1665
1669
  class: "flex items-center gap-2 h-7"
1666
1670
  };
1667
- const _sfc_main$C = /* @__PURE__ */ defineComponent({
1671
+ const _sfc_main$D = /* @__PURE__ */ defineComponent({
1668
1672
  __name: "FdsButtonCopy",
1669
1673
  props: {
1670
1674
  value: { default: "" },
@@ -1726,10 +1730,10 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
1726
1730
  }
1727
1731
  });
1728
1732
  return (_ctx, _cache) => {
1729
- return isCopied.value ? (openBlock(), createElementBlock("div", _hoisted_1$s, [
1730
- createVNode(_sfc_main$M, { name: "bigSuccess" }),
1733
+ return isCopied.value ? (openBlock(), createElementBlock("div", _hoisted_1$t, [
1734
+ createVNode(_sfc_main$N, { name: "bigSuccess" }),
1731
1735
  createElementVNode("span", null, toDisplayString(props.copiedText), 1)
1732
- ])) : (openBlock(), createBlock(_sfc_main$D, {
1736
+ ])) : (openBlock(), createBlock(_sfc_main$E, {
1733
1737
  key: 1,
1734
1738
  type: "button",
1735
1739
  disabled: props.disabled,
@@ -5020,8 +5024,8 @@ function useDownload() {
5020
5024
  isDownloading
5021
5025
  };
5022
5026
  }
5023
- const _hoisted_1$r = ["disabled", "aria-disabled"];
5024
- const _sfc_main$B = /* @__PURE__ */ defineComponent({
5027
+ const _hoisted_1$s = ["disabled", "aria-disabled"];
5028
+ const _sfc_main$C = /* @__PURE__ */ defineComponent({
5025
5029
  __name: "FdsButtonDownload",
5026
5030
  props: {
5027
5031
  loading: { type: Boolean, default: false },
@@ -5122,23 +5126,23 @@ const _sfc_main$B = /* @__PURE__ */ defineComponent({
5122
5126
  class: normalizeClass(iconOrderClasses.value),
5123
5127
  "aria-hidden": "true"
5124
5128
  }, [
5125
- createVNode(_sfc_main$M, {
5129
+ createVNode(_sfc_main$N, {
5126
5130
  class: normalizeClass(iconFillClass2.value),
5127
5131
  name: "download",
5128
5132
  size: 24
5129
5133
  }, null, 8, ["class"])
5130
5134
  ], 2),
5131
5135
  createTextVNode(" " + toDisplayString(__props.text), 1)
5132
- ], 16, _hoisted_1$r);
5136
+ ], 16, _hoisted_1$s);
5133
5137
  };
5134
5138
  }
5135
5139
  });
5136
- const _hoisted_1$q = ["aria-disabled"];
5140
+ const _hoisted_1$r = ["aria-disabled"];
5137
5141
  const _hoisted_2$l = { key: 2 };
5138
5142
  const elBase$1 = "fds-button-primary box-border appearance-none inline-flex items-center justify-center select-none w-full min-h-0 min-w-12 m-0 rounded-lg text-center align-middle whitespace-nowrap no-underline shadow-[0_2px_4px_rgba(12,72,153,0.12)] transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
5139
5143
  const variantClasses$1 = "bg-blue-600 border border-blue-600 text-white hover:bg-blue-700";
5140
5144
  const iconFillClass$1 = "fill-white";
5141
- const _sfc_main$A = /* @__PURE__ */ defineComponent({
5145
+ const _sfc_main$B = /* @__PURE__ */ defineComponent({
5142
5146
  ...{
5143
5147
  inheritAttrs: false
5144
5148
  },
@@ -5221,7 +5225,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5221
5225
  onClick
5222
5226
  }), {
5223
5227
  default: withCtx(() => [
5224
- __props.loading ? (openBlock(), createBlock(_sfc_main$E, {
5228
+ __props.loading ? (openBlock(), createBlock(_sfc_main$F, {
5225
5229
  key: 0,
5226
5230
  size: __props.size === "sm" ? "18px" : "24px",
5227
5231
  color: "inherit"
@@ -5230,7 +5234,7 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5230
5234
  class: normalizeClass(iconOrderClasses.value),
5231
5235
  "aria-hidden": "true"
5232
5236
  }, [
5233
- createVNode(_sfc_main$M, {
5237
+ createVNode(_sfc_main$N, {
5234
5238
  class: normalizeClass(iconFillClass$1),
5235
5239
  name: __props.icon,
5236
5240
  size: __props.iconSize
@@ -5240,16 +5244,16 @@ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5240
5244
  ]),
5241
5245
  _: 1
5242
5246
  }, 16, ["type", "disabled", "data-testid", "class"]))
5243
- ], 10, _hoisted_1$q);
5247
+ ], 10, _hoisted_1$r);
5244
5248
  };
5245
5249
  }
5246
5250
  });
5247
- const _hoisted_1$p = ["aria-disabled"];
5251
+ const _hoisted_1$q = ["aria-disabled"];
5248
5252
  const _hoisted_2$k = { key: 2 };
5249
5253
  const elBase = "fds-button-secondary box-border appearance-none inline-flex items-center justify-center select-none w-full min-h-0 min-w-12 m-0 rounded-lg text-center align-middle whitespace-nowrap no-underline shadow-[0_2px_4px_rgba(12,72,153,0.12)] transition-[box-shadow,border-color,background-color] duration-200 font-main font-bold text-base leading-5 tracking-normal focus-visible:outline-dashed focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-blue-500";
5250
5254
  const variantClasses = "bg-white border-2 border-blue-500 text-blue-600 hover:bg-blue_t-100 hover:border-blue-500 hover:text-blue-600 active:bg-blue_t-200 active:border-blue-500 active:text-blue-600";
5251
5255
  const iconFillClass = "fill-blue-500";
5252
- const _sfc_main$z = /* @__PURE__ */ defineComponent({
5256
+ const _sfc_main$A = /* @__PURE__ */ defineComponent({
5253
5257
  ...{
5254
5258
  inheritAttrs: false
5255
5259
  },
@@ -5333,7 +5337,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5333
5337
  onClick
5334
5338
  }), {
5335
5339
  default: withCtx(() => [
5336
- __props.loading ? (openBlock(), createBlock(_sfc_main$E, {
5340
+ __props.loading ? (openBlock(), createBlock(_sfc_main$F, {
5337
5341
  key: 0,
5338
5342
  size: __props.size === "sm" ? "18px" : "24px",
5339
5343
  color: "inherit"
@@ -5342,7 +5346,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5342
5346
  class: normalizeClass(iconOrderClasses.value),
5343
5347
  "aria-hidden": "true"
5344
5348
  }, [
5345
- createVNode(_sfc_main$M, {
5349
+ createVNode(_sfc_main$N, {
5346
5350
  class: normalizeClass(iconFillClass),
5347
5351
  name: __props.icon,
5348
5352
  size: __props.iconSize
@@ -5352,7 +5356,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5352
5356
  ]),
5353
5357
  _: 1
5354
5358
  }, 16, ["type", "disabled", "data-testid", "class"]))
5355
- ], 10, _hoisted_1$p);
5359
+ ], 10, _hoisted_1$q);
5356
5360
  };
5357
5361
  }
5358
5362
  });
@@ -5674,8 +5678,8 @@ function useViewportBreakpoint() {
5674
5678
  breakpoints
5675
5679
  };
5676
5680
  }
5677
- const _hoisted_1$o = ["title"];
5678
- const _sfc_main$y = /* @__PURE__ */ defineComponent({
5681
+ const _hoisted_1$p = ["title"];
5682
+ const _sfc_main$z = /* @__PURE__ */ defineComponent({
5679
5683
  __name: "FdsBreakpointIndicator",
5680
5684
  props: {
5681
5685
  popoverClass: {}
@@ -5714,7 +5718,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
5714
5718
  class: "px-2 py-1 rounded text-xs bg-white bg-opacity-20 text-black hover:bg-opacity-30 cursor-pointer",
5715
5719
  title: `${unref(windowWidth)}px`,
5716
5720
  onClick: toggleBreakpointList
5717
- }, toDisplayString(unref(currentBreakpoint)), 9, _hoisted_1$o),
5721
+ }, toDisplayString(unref(currentBreakpoint)), 9, _hoisted_1$p),
5718
5722
  showBreakpointList.value ? (openBlock(), createElementBlock("div", {
5719
5723
  key: 0,
5720
5724
  class: normalizeClass(["absolute bottom-full left-0 mb-2 rounded-lg shadow-lg p-2 text-xs font-mono whitespace-nowrap z-10", __props.popoverClass])
@@ -5794,9 +5798,9 @@ function useDevModePoEditor() {
5794
5798
  setI18nKeysVisibility
5795
5799
  };
5796
5800
  }
5797
- const _hoisted_1$n = ["for"];
5801
+ const _hoisted_1$o = ["for"];
5798
5802
  const _hoisted_2$j = ["value", "disabled", "required"];
5799
- const _sfc_main$x = /* @__PURE__ */ defineComponent({
5803
+ const _sfc_main$y = /* @__PURE__ */ defineComponent({
5800
5804
  ...{
5801
5805
  inheritAttrs: false
5802
5806
  },
@@ -5967,14 +5971,14 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5967
5971
  createTextVNode(toDisplayString(props.label), 1)
5968
5972
  ], 64)) : createCommentVNode("", true)
5969
5973
  ], 2)) : createCommentVNode("", true)
5970
- ], 16, _hoisted_1$n)
5974
+ ], 16, _hoisted_1$o)
5971
5975
  ], 2);
5972
5976
  };
5973
5977
  }
5974
5978
  });
5975
- const _hoisted_1$m = ["for"];
5979
+ const _hoisted_1$n = ["for"];
5976
5980
  const _hoisted_2$i = ["value", "checked", "disabled", "required"];
5977
- const _sfc_main$w = /* @__PURE__ */ defineComponent({
5981
+ const _sfc_main$x = /* @__PURE__ */ defineComponent({
5978
5982
  ...{
5979
5983
  inheritAttrs: false
5980
5984
  },
@@ -6105,7 +6109,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
6105
6109
  createTextVNode(toDisplayString(props.label), 1)
6106
6110
  ], 64)) : createCommentVNode("", true)
6107
6111
  ], 2)) : createCommentVNode("", true)
6108
- ], 16, _hoisted_1$m)
6112
+ ], 16, _hoisted_1$n)
6109
6113
  ], 2);
6110
6114
  };
6111
6115
  }
@@ -6122,7 +6126,7 @@ function classValueToString(value) {
6122
6126
  }
6123
6127
  return String(value);
6124
6128
  }
6125
- const _sfc_main$v = /* @__PURE__ */ defineComponent({
6129
+ const _sfc_main$w = /* @__PURE__ */ defineComponent({
6126
6130
  ...{
6127
6131
  inheritAttrs: false
6128
6132
  },
@@ -6153,7 +6157,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
6153
6157
  };
6154
6158
  }
6155
6159
  });
6156
- const _hoisted_1$l = {
6160
+ const _hoisted_1$m = {
6157
6161
  key: 0,
6158
6162
  class: "absolute bottom-full right-0 mb-3 z-60 flex min-w-54 flex-col font-normal"
6159
6163
  };
@@ -6169,7 +6173,7 @@ const _hoisted_5$d = {
6169
6173
  };
6170
6174
  const _hoisted_6$9 = { key: 2 };
6171
6175
  const OVERLAY_OPEN_KEY = "devModeOverlayOpen";
6172
- const _sfc_main$u = /* @__PURE__ */ defineComponent({
6176
+ const _sfc_main$v = /* @__PURE__ */ defineComponent({
6173
6177
  __name: "FdsDevModeOverlay",
6174
6178
  props: {
6175
6179
  environment: { default: null },
@@ -6236,11 +6240,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6236
6240
  () => checkToggles.value.length > 0 || radioToggles.value.length > 0 || buttonToggles.value.length > 0 || canToggleI18nKeys.value || showLocaleSwitcher.value
6237
6241
  );
6238
6242
  return (_ctx, _cache) => {
6239
- return hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$l, [
6243
+ return hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
6240
6244
  isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
6241
6245
  createElementVNode("div", _hoisted_3$h, [
6242
6246
  createElementVNode("div", null, [
6243
- unref(canToggleI18nKeys) ? (openBlock(), createBlock(_sfc_main$x, {
6247
+ unref(canToggleI18nKeys) ? (openBlock(), createBlock(_sfc_main$y, {
6244
6248
  key: 0,
6245
6249
  checked: unref(showingTranslationKeys),
6246
6250
  onChange: unref(setI18nKeysVisibility),
@@ -6252,7 +6256,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6252
6256
  _: 1
6253
6257
  }, 8, ["checked", "onChange"])) : createCommentVNode("", true),
6254
6258
  (openBlock(true), createElementBlock(Fragment, null, renderList(checkToggles.value, (toggle) => {
6255
- return openBlock(), createBlock(_sfc_main$x, {
6259
+ return openBlock(), createBlock(_sfc_main$y, {
6256
6260
  key: `${toggle.key}-${toggle.checked}`,
6257
6261
  checked: toggle.checked,
6258
6262
  class: "mb-0!",
@@ -6267,7 +6271,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6267
6271
  ]),
6268
6272
  radioToggles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
6269
6273
  (openBlock(true), createElementBlock(Fragment, null, renderList(radioToggles.value, (toggle) => {
6270
- return openBlock(), createBlock(_sfc_main$w, {
6274
+ return openBlock(), createBlock(_sfc_main$x, {
6271
6275
  key: `${toggle.key}-${toggle.checked}`,
6272
6276
  name: toggle.group,
6273
6277
  value: toggle.value,
@@ -6284,7 +6288,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6284
6288
  ])) : createCommentVNode("", true),
6285
6289
  buttonToggles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
6286
6290
  (openBlock(true), createElementBlock(Fragment, null, renderList(buttonToggles.value, (toggle) => {
6287
- return openBlock(), createBlock(_sfc_main$D, {
6291
+ return openBlock(), createBlock(_sfc_main$E, {
6288
6292
  key: toggle.key,
6289
6293
  size: "sm",
6290
6294
  block: "",
@@ -6295,7 +6299,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6295
6299
  ])) : createCommentVNode("", true),
6296
6300
  showLocaleSwitcher.value ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
6297
6301
  (openBlock(true), createElementBlock(Fragment, null, renderList(localeOptions.value, (localeCode) => {
6298
- return openBlock(), createBlock(_sfc_main$w, {
6302
+ return openBlock(), createBlock(_sfc_main$x, {
6299
6303
  key: localeCode,
6300
6304
  name: "fds-dev-mode-locale",
6301
6305
  value: localeCode,
@@ -6319,13 +6323,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6319
6323
  onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
6320
6324
  class: "flex w-full cursor-pointer justify-between gap-2 px-3 py-2 active:bg-gray-100"
6321
6325
  }, [
6322
- createVNode(_sfc_main$v, { class: "mb-0!" }, {
6326
+ createVNode(_sfc_main$w, { class: "mb-0!" }, {
6323
6327
  default: withCtx(() => [
6324
6328
  createTextVNode(toDisplayString(unref(t)("FdsDevMode.overlay.quickSettings")), 1)
6325
6329
  ]),
6326
6330
  _: 1
6327
6331
  }),
6328
- createVNode(_sfc_main$M, {
6332
+ createVNode(_sfc_main$N, {
6329
6333
  name: isOpen.value ? "arrowUp" : "arrowDown",
6330
6334
  size: 20,
6331
6335
  class: "fill-gray-700"
@@ -6336,10 +6340,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6336
6340
  };
6337
6341
  }
6338
6342
  });
6339
- const _hoisted_1$k = { class: "flex justify-between mb-4" };
6343
+ const _hoisted_1$l = { class: "flex justify-between mb-4" };
6340
6344
  const _hoisted_2$g = { class: "flex items-center gap-2" };
6341
6345
  const _hoisted_3$g = { class: "mb-0-last-child" };
6342
- const _sfc_main$t = /* @__PURE__ */ defineComponent({
6346
+ const _sfc_main$u = /* @__PURE__ */ defineComponent({
6343
6347
  __name: "FdsModal",
6344
6348
  props: {
6345
6349
  open: { type: Boolean, default: false },
@@ -6568,9 +6572,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
6568
6572
  createElementVNode("div", {
6569
6573
  class: normalizeClass(__props.resizable ? "overflow-auto flex-1 min-h-0" : "")
6570
6574
  }, [
6571
- createElementVNode("div", _hoisted_1$k, [
6575
+ createElementVNode("div", _hoisted_1$l, [
6572
6576
  createElementVNode("div", _hoisted_2$g, [
6573
- iconName.value ? (openBlock(), createBlock(_sfc_main$M, {
6577
+ iconName.value ? (openBlock(), createBlock(_sfc_main$N, {
6574
6578
  key: 0,
6575
6579
  name: iconName.value,
6576
6580
  size: 24,
@@ -6581,7 +6585,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
6581
6585
  class: normalizeClass(headerTitleClasses.value)
6582
6586
  }, toDisplayString(__props.heading), 3)
6583
6587
  ]),
6584
- !__props.strict ? (openBlock(), createBlock(_sfc_main$L, mergeProps({
6588
+ !__props.strict ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
6585
6589
  key: 0,
6586
6590
  icon: "cross",
6587
6591
  size: 28,
@@ -9843,7 +9847,7 @@ try {
9843
9847
  globalThis.IMask = IMask;
9844
9848
  } catch {
9845
9849
  }
9846
- const _sfc_main$s = /* @__PURE__ */ defineComponent({
9850
+ const _sfc_main$t = /* @__PURE__ */ defineComponent({
9847
9851
  ...{
9848
9852
  inheritAttrs: false
9849
9853
  },
@@ -9874,7 +9878,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9874
9878
  };
9875
9879
  }
9876
9880
  });
9877
- const _hoisted_1$j = ["for", "id"];
9881
+ const _hoisted_1$k = ["for", "id"];
9878
9882
  const _hoisted_2$f = { class: "relative" };
9879
9883
  const _hoisted_3$f = ["type", "required", "disabled", "tabindex", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "autocomplete", "placeholder", "pattern", "searchIcon"];
9880
9884
  const _hoisted_4$e = {
@@ -9882,7 +9886,7 @@ const _hoisted_4$e = {
9882
9886
  class: "text-red-700 font-bold mt-1"
9883
9887
  };
9884
9888
  const inputPaddingClasses = "px-3 py-[calc(0.75rem-1px)]";
9885
- const _sfc_main$r = /* @__PURE__ */ defineComponent({
9889
+ const _sfc_main$s = /* @__PURE__ */ defineComponent({
9886
9890
  ...{
9887
9891
  inheritAttrs: false
9888
9892
  },
@@ -10182,8 +10186,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10182
10186
  for: inputId.value,
10183
10187
  id: labelId.value,
10184
10188
  class: ["block font-bold text-gray-900 cursor-pointer", { "mb-0": props.meta, "mb-1": !props.meta }]
10185
- }, labelAttrs.value), toDisplayString(props.label), 17, _hoisted_1$j)) : createCommentVNode("", true),
10186
- props.meta ? (openBlock(), createBlock(_sfc_main$s, {
10189
+ }, labelAttrs.value), toDisplayString(props.label), 17, _hoisted_1$k)) : createCommentVNode("", true),
10190
+ props.meta ? (openBlock(), createBlock(_sfc_main$t, {
10187
10191
  key: 1,
10188
10192
  id: metaId.value,
10189
10193
  class: normalizeClass({ "mb-1": !props.labelLeft })
@@ -10228,7 +10232,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10228
10232
  createElementVNode("div", {
10229
10233
  class: normalizeClass(rightIconsContainerClasses.value)
10230
10234
  }, [
10231
- showDateIcon.value ? (openBlock(), createBlock(_sfc_main$L, {
10235
+ showDateIcon.value ? (openBlock(), createBlock(_sfc_main$M, {
10232
10236
  key: 0,
10233
10237
  "aria-label": dateButtonLabel.value,
10234
10238
  onClick: onDateIconClick,
@@ -10236,29 +10240,29 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10236
10240
  size: 28,
10237
10241
  class: "fill-blue-500"
10238
10242
  }, null, 8, ["aria-label"])) : createCommentVNode("", true),
10239
- isInvalid.value ? (openBlock(), createBlock(_sfc_main$M, {
10243
+ isInvalid.value ? (openBlock(), createBlock(_sfc_main$N, {
10240
10244
  key: 1,
10241
10245
  name: "alert",
10242
10246
  class: "fill-red-700"
10243
10247
  })) : createCommentVNode("", true),
10244
- isValid2.value ? (openBlock(), createBlock(_sfc_main$M, {
10248
+ isValid2.value ? (openBlock(), createBlock(_sfc_main$N, {
10245
10249
  key: 2,
10246
10250
  name: "bigSuccess"
10247
10251
  })) : createCommentVNode("", true),
10248
- props.searchIcon ? (openBlock(), createBlock(_sfc_main$M, {
10252
+ props.searchIcon ? (openBlock(), createBlock(_sfc_main$N, {
10249
10253
  key: 3,
10250
10254
  name: "search",
10251
10255
  size: 24,
10252
10256
  class: "fill-blue-500"
10253
10257
  })) : createCommentVNode("", true),
10254
- showClearButton.value ? (openBlock(), createBlock(_sfc_main$L, mergeProps({
10258
+ showClearButton.value ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
10255
10259
  key: 4,
10256
10260
  icon: "cross"
10257
10261
  }, { "aria-label": clearButtonLabel.value }, {
10258
10262
  onClick: onClear,
10259
10263
  size: 30
10260
10264
  }), null, 16)) : createCommentVNode("", true),
10261
- showPasswordToggle.value ? (openBlock(), createBlock(_sfc_main$D, {
10265
+ showPasswordToggle.value ? (openBlock(), createBlock(_sfc_main$E, {
10262
10266
  key: 5,
10263
10267
  icon: showPassword.value ? "viewOff" : "viewOn",
10264
10268
  text: showPassword.value ? passwordButtonHideLabel.value : passwordButtonShowLabel.value,
@@ -10278,7 +10282,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10278
10282
  };
10279
10283
  }
10280
10284
  });
10281
- const _sfc_main$q = /* @__PURE__ */ defineComponent({
10285
+ const _sfc_main$r = /* @__PURE__ */ defineComponent({
10282
10286
  __name: "FdsTabs",
10283
10287
  props: {
10284
10288
  block: { type: Boolean, default: false },
@@ -10311,7 +10315,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
10311
10315
  };
10312
10316
  }
10313
10317
  });
10314
- const _sfc_main$p = /* @__PURE__ */ defineComponent({
10318
+ const _sfc_main$q = /* @__PURE__ */ defineComponent({
10315
10319
  ...{
10316
10320
  inheritAttrs: false
10317
10321
  },
@@ -10426,7 +10430,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10426
10430
  };
10427
10431
  }
10428
10432
  });
10429
- const _hoisted_1$i = { class: "space-y-6" };
10433
+ const _hoisted_1$j = { class: "space-y-6" };
10430
10434
  const _hoisted_2$e = {
10431
10435
  key: 0,
10432
10436
  class: "text-sm text-gray-600"
@@ -10525,7 +10529,7 @@ const _hoisted_59 = {
10525
10529
  class: "mt-2"
10526
10530
  };
10527
10531
  const _hoisted_60 = { class: "mt-4 flex justify-end gap-3" };
10528
- const _sfc_main$o = /* @__PURE__ */ defineComponent({
10532
+ const _sfc_main$p = /* @__PURE__ */ defineComponent({
10529
10533
  __name: "FdsDevModeStorage",
10530
10534
  props: {
10531
10535
  open: { type: Boolean, default: false },
@@ -10698,7 +10702,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10698
10702
  loadStorageEntries();
10699
10703
  };
10700
10704
  return (_ctx, _cache) => {
10701
- return openBlock(), createBlock(_sfc_main$t, {
10705
+ return openBlock(), createBlock(_sfc_main$u, {
10702
10706
  open: isOpen.value,
10703
10707
  heading: "DevTools",
10704
10708
  size: "xl",
@@ -10708,31 +10712,31 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10708
10712
  onClose: _cache[11] || (_cache[11] = () => handleOpenChange(false))
10709
10713
  }, {
10710
10714
  default: withCtx(() => [
10711
- createElementVNode("div", _hoisted_1$i, [
10712
- createVNode(_sfc_main$q, {
10715
+ createElementVNode("div", _hoisted_1$j, [
10716
+ createVNode(_sfc_main$r, {
10713
10717
  variant: "secondary",
10714
10718
  class: "flex-wrap overflow-visible! *:w-auto!"
10715
10719
  }, {
10716
10720
  default: withCtx(() => [
10717
- createVNode(_sfc_main$p, {
10721
+ createVNode(_sfc_main$q, {
10718
10722
  label: unref(t)("FdsDevModeStorage.tabs.localStorage"),
10719
10723
  active: activeTab.value === "local",
10720
10724
  as: "button",
10721
10725
  onClick: _cache[0] || (_cache[0] = ($event) => activeTab.value = "local")
10722
10726
  }, null, 8, ["label", "active"]),
10723
- createVNode(_sfc_main$p, {
10727
+ createVNode(_sfc_main$q, {
10724
10728
  label: unref(t)("FdsDevModeStorage.tabs.sessionStorage"),
10725
10729
  active: activeTab.value === "session",
10726
10730
  as: "button",
10727
10731
  onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "session")
10728
10732
  }, null, 8, ["label", "active"]),
10729
- createVNode(_sfc_main$p, {
10733
+ createVNode(_sfc_main$q, {
10730
10734
  label: unref(t)("FdsDevModeStorage.tabs.cookies"),
10731
10735
  active: activeTab.value === "cookies",
10732
10736
  as: "button",
10733
10737
  onClick: _cache[2] || (_cache[2] = ($event) => activeTab.value = "cookies")
10734
10738
  }, null, 8, ["label", "active"]),
10735
- createVNode(_sfc_main$p, {
10739
+ createVNode(_sfc_main$q, {
10736
10740
  label: unref(t)("FdsDevModeStorage.tabs.actions"),
10737
10741
  active: activeTab.value === "actions",
10738
10742
  as: "button",
@@ -10741,7 +10745,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10741
10745
  ]),
10742
10746
  _: 1
10743
10747
  }),
10744
- activeTab.value === "local" ? (openBlock(), createBlock(_sfc_main$G, {
10748
+ activeTab.value === "local" ? (openBlock(), createBlock(_sfc_main$H, {
10745
10749
  key: 0,
10746
10750
  heading: unref(t)("FdsDevModeStorage.tabs.localStorage"),
10747
10751
  icon: "information",
@@ -10795,12 +10799,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10795
10799
  ])
10796
10800
  ]),
10797
10801
  localEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
10798
- createVNode(_sfc_main$z, {
10802
+ createVNode(_sfc_main$A, {
10799
10803
  text: unref(t)("FdsDevModeStorage.actions.delete"),
10800
10804
  size: "sm",
10801
10805
  onClick: deleteLocalEntry
10802
10806
  }, null, 8, ["text"]),
10803
- createVNode(_sfc_main$A, {
10807
+ createVNode(_sfc_main$B, {
10804
10808
  text: unref(t)("FdsDevModeStorage.actions.save"),
10805
10809
  size: "sm",
10806
10810
  onClick: saveLocalEntry
@@ -10809,7 +10813,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10809
10813
  ])
10810
10814
  ]),
10811
10815
  _: 1
10812
- }, 8, ["heading"])) : activeTab.value === "session" ? (openBlock(), createBlock(_sfc_main$G, {
10816
+ }, 8, ["heading"])) : activeTab.value === "session" ? (openBlock(), createBlock(_sfc_main$H, {
10813
10817
  key: 1,
10814
10818
  heading: unref(t)("FdsDevModeStorage.tabs.sessionStorage"),
10815
10819
  icon: "information",
@@ -10863,12 +10867,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10863
10867
  ])
10864
10868
  ]),
10865
10869
  sessionEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_35, [
10866
- createVNode(_sfc_main$z, {
10870
+ createVNode(_sfc_main$A, {
10867
10871
  text: unref(t)("FdsDevModeStorage.actions.delete"),
10868
10872
  size: "sm",
10869
10873
  onClick: deleteSessionEntry
10870
10874
  }, null, 8, ["text"]),
10871
- createVNode(_sfc_main$A, {
10875
+ createVNode(_sfc_main$B, {
10872
10876
  text: unref(t)("FdsDevModeStorage.actions.save"),
10873
10877
  size: "sm",
10874
10878
  onClick: saveSessionEntry
@@ -10877,7 +10881,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10877
10881
  ])
10878
10882
  ]),
10879
10883
  _: 1
10880
- }, 8, ["heading"])) : activeTab.value === "cookies" ? (openBlock(), createBlock(_sfc_main$G, {
10884
+ }, 8, ["heading"])) : activeTab.value === "cookies" ? (openBlock(), createBlock(_sfc_main$H, {
10881
10885
  key: 2,
10882
10886
  heading: unref(t)("FdsDevModeStorage.tabs.cookies"),
10883
10887
  icon: "information",
@@ -10931,12 +10935,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10931
10935
  ])
10932
10936
  ]),
10933
10937
  cookieEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_52, [
10934
- createVNode(_sfc_main$z, {
10938
+ createVNode(_sfc_main$A, {
10935
10939
  text: unref(t)("FdsDevModeStorage.actions.delete"),
10936
10940
  size: "sm",
10937
10941
  onClick: deleteCookieEntry
10938
10942
  }, null, 8, ["text"]),
10939
- createVNode(_sfc_main$A, {
10943
+ createVNode(_sfc_main$B, {
10940
10944
  text: unref(t)("FdsDevModeStorage.actions.save"),
10941
10945
  size: "sm",
10942
10946
  onClick: saveCookieEntry
@@ -10945,7 +10949,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10945
10949
  ])
10946
10950
  ]),
10947
10951
  _: 1
10948
- }, 8, ["heading"])) : activeTab.value === "actions" ? (openBlock(), createBlock(_sfc_main$G, {
10952
+ }, 8, ["heading"])) : activeTab.value === "actions" ? (openBlock(), createBlock(_sfc_main$H, {
10949
10953
  key: 3,
10950
10954
  heading: unref(t)("FdsDevModeStorage.tabs.actions"),
10951
10955
  icon: "information",
@@ -10963,14 +10967,14 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10963
10967
  createElementVNode("div", _hoisted_57, toDisplayString(action.label), 1),
10964
10968
  action.description ? (openBlock(), createElementBlock("div", _hoisted_58, toDisplayString(action.description), 1)) : createCommentVNode("", true)
10965
10969
  ]),
10966
- createVNode(_sfc_main$z, {
10970
+ createVNode(_sfc_main$A, {
10967
10971
  text: action.label,
10968
10972
  size: "sm",
10969
10973
  onClick: ($event) => runAction(index, action)
10970
10974
  }, null, 8, ["text", "onClick"])
10971
10975
  ]),
10972
10976
  action.input ? (openBlock(), createElementBlock("div", _hoisted_59, [
10973
- createVNode(_sfc_main$r, {
10977
+ createVNode(_sfc_main$s, {
10974
10978
  type: action.input.type ?? "text",
10975
10979
  modelValue: getActionInputValue(index, action.input.defaultValue),
10976
10980
  placeholder: action.input.placeholder,
@@ -10984,11 +10988,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
10984
10988
  _: 1
10985
10989
  }, 8, ["heading"])) : createCommentVNode("", true),
10986
10990
  createElementVNode("div", _hoisted_60, [
10987
- createVNode(_sfc_main$z, {
10991
+ createVNode(_sfc_main$A, {
10988
10992
  text: unref(t)("FdsDevModeStorage.actions.refresh"),
10989
10993
  onClick: refreshStorageEntries
10990
10994
  }, null, 8, ["text"]),
10991
- createVNode(_sfc_main$A, {
10995
+ createVNode(_sfc_main$B, {
10992
10996
  text: unref(t)("FdsDevModeStorage.actions.close"),
10993
10997
  onClick: _cache[10] || (_cache[10] = ($event) => handleOpenChange(false))
10994
10998
  }, null, 8, ["text"])
@@ -11000,11 +11004,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
11000
11004
  };
11001
11005
  }
11002
11006
  });
11003
- const _hoisted_1$h = { class: "relative px-2 py-1" };
11007
+ const _hoisted_1$i = { class: "relative px-2 py-1" };
11004
11008
  const _hoisted_2$d = { class: "flex flex-col sm:flex-row items-center gap-2 sm:gap-1" };
11005
11009
  const _hoisted_3$d = { class: "flex items-center gap-1" };
11006
11010
  const _hoisted_4$c = { class: "flex items-center gap-1" };
11007
- const _sfc_main$n = /* @__PURE__ */ defineComponent({
11011
+ const _sfc_main$o = /* @__PURE__ */ defineComponent({
11008
11012
  __name: "FdsDevMode",
11009
11013
  props: /* @__PURE__ */ mergeModels({
11010
11014
  environment: { default: null },
@@ -11166,8 +11170,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11166
11170
  onMousedown: _cache[1] || (_cache[1] = //@ts-ignore
11167
11171
  (...args) => unref(onDragStart) && unref(onDragStart)(...args))
11168
11172
  }, [
11169
- createElementVNode("div", _hoisted_1$h, [
11170
- unref(isDevMode) ? (openBlock(), createBlock(_sfc_main$u, {
11173
+ createElementVNode("div", _hoisted_1$i, [
11174
+ unref(isDevMode) ? (openBlock(), createBlock(_sfc_main$v, {
11171
11175
  key: 0,
11172
11176
  environment: __props.environment,
11173
11177
  toggles: overlayToggles.value,
@@ -11177,7 +11181,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11177
11181
  }, null, 8, ["environment", "toggles"])) : createCommentVNode("", true),
11178
11182
  createElementVNode("div", _hoisted_2$d, [
11179
11183
  createElementVNode("div", _hoisted_3$d, [
11180
- createVNode(_sfc_main$y, { "popover-class": envBannerClasses.value }, null, 8, ["popover-class"]),
11184
+ createVNode(_sfc_main$z, { "popover-class": envBannerClasses.value }, null, 8, ["popover-class"]),
11181
11185
  createElementVNode("span", null, toDisplayString(unref(environmentText)), 1)
11182
11186
  ]),
11183
11187
  createElementVNode("div", _hoisted_4$c, [
@@ -11186,13 +11190,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11186
11190
  (...args) => unref(toggleDevMode) && unref(toggleDevMode)(...args)),
11187
11191
  class: "py-1 px-2 rounded text-xs font-bold bg-white bg-opacity-20 text-black hover:bg-opacity-30 min-w-[120px] cursor-pointer"
11188
11192
  }, toDisplayString(devModeButtonText.value), 1),
11189
- createVNode(_sfc_main$L, {
11193
+ createVNode(_sfc_main$M, {
11190
11194
  icon: "settings",
11191
11195
  size: 24,
11192
11196
  class: normalizeClass(envBannerFillColor.value),
11193
11197
  onClick: openStorageModal
11194
11198
  }, null, 8, ["class"]),
11195
- createVNode(_sfc_main$L, {
11199
+ createVNode(_sfc_main$M, {
11196
11200
  onClick: handleEnvBanner,
11197
11201
  icon: "cross",
11198
11202
  size: 24,
@@ -11202,7 +11206,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11202
11206
  ])
11203
11207
  ])
11204
11208
  ], 38)) : createCommentVNode("", true),
11205
- createVNode(_sfc_main$o, {
11209
+ createVNode(_sfc_main$p, {
11206
11210
  open: isStorageModalOpen.value,
11207
11211
  "onUpdate:open": _cache[2] || (_cache[2] = ($event) => isStorageModalOpen.value = $event),
11208
11212
  customActions: __props.customActions
@@ -11211,8 +11215,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11211
11215
  };
11212
11216
  }
11213
11217
  });
11214
- const _hoisted_1$g = { class: "flex justify-between gap-6 w-full" };
11215
- const _sfc_main$m = /* @__PURE__ */ defineComponent({
11218
+ const _hoisted_1$h = { class: "flex justify-between gap-6 w-full" };
11219
+ const _sfc_main$n = /* @__PURE__ */ defineComponent({
11216
11220
  __name: "FdsExitModal",
11217
11221
  props: {
11218
11222
  showExitConfirmModal: {},
@@ -11227,7 +11231,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11227
11231
  const props = __props;
11228
11232
  const isOpen = computed(() => props.showExitConfirmModal.value);
11229
11233
  return (_ctx, _cache) => {
11230
- return openBlock(), createBlock(_sfc_main$t, {
11234
+ return openBlock(), createBlock(_sfc_main$u, {
11231
11235
  heading: props.heading,
11232
11236
  size: "sm",
11233
11237
  open: isOpen.value,
@@ -11235,13 +11239,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11235
11239
  onClose: props.cancelExit
11236
11240
  }, {
11237
11241
  "modal-footer": withCtx(() => [
11238
- createElementVNode("div", _hoisted_1$g, [
11239
- createVNode(_sfc_main$z, {
11242
+ createElementVNode("div", _hoisted_1$h, [
11243
+ createVNode(_sfc_main$A, {
11240
11244
  text: props.stayText,
11241
11245
  onClick: props.cancelExit,
11242
11246
  block: ""
11243
11247
  }, null, 8, ["text", "onClick"]),
11244
- createVNode(_sfc_main$z, {
11248
+ createVNode(_sfc_main$A, {
11245
11249
  text: props.leaveText,
11246
11250
  onClick: props.confirmExit,
11247
11251
  block: ""
@@ -11276,12 +11280,12 @@ function debounce(fn, delayMs) {
11276
11280
  };
11277
11281
  return debounced;
11278
11282
  }
11279
- const _hoisted_1$f = ["id"];
11283
+ const _hoisted_1$g = ["id"];
11280
11284
  const _hoisted_2$c = { class: "flex items-center justify-start gap-1 w-[100px]" };
11281
11285
  const _hoisted_3$c = { class: "flex items-center justify-center w-auto gap-2 order-0 sm:order-0" };
11282
11286
  const _hoisted_4$b = { class: "whitespace-nowrap" };
11283
11287
  const _hoisted_5$b = { class: "flex items-center justify-end gap-1 order-2 sm:order-0 w-[100px]" };
11284
- const _sfc_main$l = /* @__PURE__ */ defineComponent({
11288
+ const _sfc_main$m = /* @__PURE__ */ defineComponent({
11285
11289
  __name: "FdsPagination",
11286
11290
  props: {
11287
11291
  current: {},
@@ -11371,11 +11375,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11371
11375
  id: inputId.value
11372
11376
  }, rootAttrs.value), [
11373
11377
  createElementVNode("div", _hoisted_2$c, [
11374
- __props.loading && loadingIndicator.value === "start" ? (openBlock(), createBlock(_sfc_main$E, {
11378
+ __props.loading && loadingIndicator.value === "start" ? (openBlock(), createBlock(_sfc_main$F, {
11375
11379
  key: 0,
11376
11380
  size: "32px",
11377
11381
  color: "blue"
11378
- })) : (openBlock(), createBlock(_sfc_main$L, mergeProps({ key: 1 }, { "aria-disabled": __props.current === 1 }, {
11382
+ })) : (openBlock(), createBlock(_sfc_main$M, mergeProps({ key: 1 }, { "aria-disabled": __props.current === 1 }, {
11379
11383
  type: "button",
11380
11384
  "aria-label": firstPageLabel.value,
11381
11385
  icon: "first",
@@ -11384,11 +11388,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11384
11388
  class: [{ "hidden!": __props.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"],
11385
11389
  onClick: _cache[0] || (_cache[0] = ($event) => handlePagination("start"))
11386
11390
  }), null, 16, ["aria-label", "disabled", "class"])),
11387
- __props.loading && loadingIndicator.value === "prev" ? (openBlock(), createBlock(_sfc_main$E, {
11391
+ __props.loading && loadingIndicator.value === "prev" ? (openBlock(), createBlock(_sfc_main$F, {
11388
11392
  key: 2,
11389
11393
  size: "24px",
11390
11394
  color: "blue"
11391
- })) : (openBlock(), createBlock(_sfc_main$L, mergeProps({ key: 3 }, { "aria-disabled": __props.current === 1 }, {
11395
+ })) : (openBlock(), createBlock(_sfc_main$M, mergeProps({ key: 3 }, { "aria-disabled": __props.current === 1 }, {
11392
11396
  type: "button",
11393
11397
  "aria-label": prevPageLabel.value,
11394
11398
  icon: "arrowLeft",
@@ -11399,14 +11403,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11399
11403
  }), null, 16, ["aria-label", "disabled", "class"]))
11400
11404
  ]),
11401
11405
  createElementVNode("div", _hoisted_3$c, [
11402
- __props.loading && loadingIndicator.value === "input" ? (openBlock(), createBlock(_sfc_main$E, {
11406
+ __props.loading && loadingIndicator.value === "input" ? (openBlock(), createBlock(_sfc_main$F, {
11403
11407
  key: 0,
11404
11408
  size: "24px",
11405
11409
  color: "blue",
11406
11410
  label: loadingLabel.value,
11407
11411
  "label-position": "right"
11408
11412
  }, null, 8, ["label"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
11409
- createVNode(_sfc_main$r, {
11413
+ createVNode(_sfc_main$s, {
11410
11414
  style: { "text-align": "center" },
11411
11415
  value: inputValue.value,
11412
11416
  type: "text",
@@ -11420,11 +11424,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11420
11424
  ], 64))
11421
11425
  ]),
11422
11426
  createElementVNode("div", _hoisted_5$b, [
11423
- __props.loading && loadingIndicator.value === "next" ? (openBlock(), createBlock(_sfc_main$E, {
11427
+ __props.loading && loadingIndicator.value === "next" ? (openBlock(), createBlock(_sfc_main$F, {
11424
11428
  key: 0,
11425
11429
  size: "24px",
11426
11430
  color: "blue"
11427
- })) : (openBlock(), createBlock(_sfc_main$L, mergeProps({
11431
+ })) : (openBlock(), createBlock(_sfc_main$M, mergeProps({
11428
11432
  key: 1,
11429
11433
  type: "button",
11430
11434
  "aria-label": nextPageLabel.value,
@@ -11435,11 +11439,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11435
11439
  class: [{ "hidden!": __props.current === __props.max }, "w-8 h-8 sm:w-12 sm:h-12"],
11436
11440
  onClick: _cache[2] || (_cache[2] = ($event) => handlePagination("next"))
11437
11441
  }), null, 16, ["aria-label", "disabled", "class"])),
11438
- __props.loading && loadingIndicator.value === "end" ? (openBlock(), createBlock(_sfc_main$E, {
11442
+ __props.loading && loadingIndicator.value === "end" ? (openBlock(), createBlock(_sfc_main$F, {
11439
11443
  key: 2,
11440
11444
  size: "24px",
11441
11445
  color: "blue"
11442
- })) : (openBlock(), createBlock(_sfc_main$L, mergeProps({
11446
+ })) : (openBlock(), createBlock(_sfc_main$M, mergeProps({
11443
11447
  key: 3,
11444
11448
  type: "button",
11445
11449
  "aria-label": lastPageLabel.value,
@@ -11451,11 +11455,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11451
11455
  onClick: _cache[3] || (_cache[3] = ($event) => handlePagination("end"))
11452
11456
  }), null, 16, ["aria-label", "disabled", "class"]))
11453
11457
  ])
11454
- ], 16, _hoisted_1$f);
11458
+ ], 16, _hoisted_1$g);
11455
11459
  };
11456
11460
  }
11457
11461
  });
11458
- const _hoisted_1$e = { class: "inline-flex" };
11462
+ const _hoisted_1$f = { class: "inline-flex" };
11459
11463
  const _hoisted_2$b = ["onKeydown"];
11460
11464
  const _hoisted_3$b = ["aria-label"];
11461
11465
  const _hoisted_4$a = { class: "mb-1 flex items-start justify-between gap-2" };
@@ -11465,7 +11469,7 @@ const _hoisted_6$7 = {
11465
11469
  class: "flex items-center gap-2"
11466
11470
  };
11467
11471
  const _hoisted_7$7 = { class: "mb-0! min-w-0 grow whitespace-normal wrap-break-word" };
11468
- const _sfc_main$k = /* @__PURE__ */ defineComponent({
11472
+ const _sfc_main$l = /* @__PURE__ */ defineComponent({
11469
11473
  __name: "FdsPopover",
11470
11474
  props: {
11471
11475
  open: { type: Boolean, default: false },
@@ -11573,7 +11577,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
11573
11577
  return attrs;
11574
11578
  });
11575
11579
  return (_ctx, _cache) => {
11576
- return openBlock(), createElementBlock("div", _hoisted_1$e, [
11580
+ return openBlock(), createElementBlock("div", _hoisted_1$f, [
11577
11581
  createElementVNode("span", {
11578
11582
  class: normalizeClass(triggerClasses.value),
11579
11583
  style: normalizeStyle(triggerStyle.value)
@@ -11601,13 +11605,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
11601
11605
  }, { ...popoverAttrs.value, popover: "auto" }), [
11602
11606
  __props.label ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
11603
11607
  createElementVNode("div", _hoisted_4$a, [
11604
- createVNode(_sfc_main$v, { class: "mb-0! min-w-0 grow balance-text whitespace-normal" }, {
11608
+ createVNode(_sfc_main$w, { class: "mb-0! min-w-0 grow balance-text whitespace-normal" }, {
11605
11609
  default: withCtx(() => [
11606
11610
  createTextVNode(toDisplayString(__props.label), 1)
11607
11611
  ]),
11608
11612
  _: 1
11609
11613
  }),
11610
- createVNode(_sfc_main$L, {
11614
+ createVNode(_sfc_main$M, {
11611
11615
  icon: "cross",
11612
11616
  size: 28,
11613
11617
  "aria-label": __props.closeAriaLabel,
@@ -11625,7 +11629,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
11625
11629
  createTextVNode(toDisplayString(__props.body), 1)
11626
11630
  ])
11627
11631
  ]),
11628
- createVNode(_sfc_main$L, {
11632
+ createVNode(_sfc_main$M, {
11629
11633
  icon: "cross",
11630
11634
  size: 28,
11631
11635
  "aria-label": __props.closeAriaLabel,
@@ -11710,7 +11714,7 @@ function useIsPid(value) {
11710
11714
  isPid
11711
11715
  };
11712
11716
  }
11713
- const _hoisted_1$d = { class: "relative block" };
11717
+ const _hoisted_1$e = { class: "relative block" };
11714
11718
  const _hoisted_2$a = {
11715
11719
  key: 0,
11716
11720
  class: "relative"
@@ -11730,7 +11734,7 @@ const _hoisted_10$2 = {
11730
11734
  class: "block m-0 list-none p-0"
11731
11735
  };
11732
11736
  const _hoisted_11$2 = { class: "p-4" };
11733
- const _sfc_main$j = /* @__PURE__ */ defineComponent({
11737
+ const _sfc_main$k = /* @__PURE__ */ defineComponent({
11734
11738
  __name: "FdsSearchSelect",
11735
11739
  props: {
11736
11740
  items: { default: () => [] },
@@ -12120,10 +12124,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12120
12124
  ref: componentRef,
12121
12125
  class: "fds-search-select block mb-6"
12122
12126
  }, rootAttrs.value), [
12123
- createElementVNode("div", _hoisted_1$d, [
12127
+ createElementVNode("div", _hoisted_1$e, [
12124
12128
  !singleItemName.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
12125
12129
  createElementVNode("div", _hoisted_3$a, [
12126
- createVNode(_sfc_main$r, mergeProps({
12130
+ createVNode(_sfc_main$s, mergeProps({
12127
12131
  ref_key: "inputComponentRef",
12128
12132
  ref: inputComponentRef,
12129
12133
  label: __props.label,
@@ -12157,7 +12161,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12157
12161
  style: normalizeStyle(listWrapperStyle.value)
12158
12162
  }, [
12159
12163
  __props.loading ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
12160
- createVNode(_sfc_main$E, {
12164
+ createVNode(_sfc_main$F, {
12161
12165
  color: "blue",
12162
12166
  size: "48px"
12163
12167
  })
@@ -12201,7 +12205,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12201
12205
  ], 42, _hoisted_7$6);
12202
12206
  }), 128))
12203
12207
  ], 32),
12204
- __props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (openBlock(), createBlock(_sfc_main$l, {
12208
+ __props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (openBlock(), createBlock(_sfc_main$m, {
12205
12209
  key: 2,
12206
12210
  current: __props.page,
12207
12211
  max: totalPages.value,
@@ -12549,7 +12553,7 @@ const useSearchSelectProItems = ({
12549
12553
  syncSelectedItemsWithItems
12550
12554
  };
12551
12555
  };
12552
- const _hoisted_1$c = { class: "relative block" };
12556
+ const _hoisted_1$d = { class: "relative block" };
12553
12557
  const _hoisted_2$9 = { class: "relative" };
12554
12558
  const _hoisted_3$9 = { class: "relative" };
12555
12559
  const _hoisted_4$8 = { class: "flex items-center gap-2" };
@@ -12569,7 +12573,7 @@ const _hoisted_12 = {
12569
12573
  };
12570
12574
  const _hoisted_13 = { class: "p-3 flex items-center gap-2" };
12571
12575
  const _hoisted_14 = { key: 0 };
12572
- const _sfc_main$i = /* @__PURE__ */ defineComponent({
12576
+ const _sfc_main$j = /* @__PURE__ */ defineComponent({
12573
12577
  __name: "FdsSearchSelectPro",
12574
12578
  props: {
12575
12579
  items: { default: () => [] },
@@ -13229,10 +13233,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13229
13233
  ref: componentRef,
13230
13234
  class: "fds-search-select block mb-6"
13231
13235
  }, rootAttrs.value), [
13232
- createElementVNode("div", _hoisted_1$c, [
13236
+ createElementVNode("div", _hoisted_1$d, [
13233
13237
  createElementVNode("div", _hoisted_2$9, [
13234
13238
  createElementVNode("div", _hoisted_3$9, [
13235
- createVNode(_sfc_main$r, mergeProps({
13239
+ createVNode(_sfc_main$s, mergeProps({
13236
13240
  ref_key: "inputComponentRef",
13237
13241
  ref: inputComponentRef,
13238
13242
  label: __props.label,
@@ -13268,19 +13272,19 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13268
13272
  class: normalizeClass([headerClasses.value, "flex items-center justify-between gap-3 min-h-[53px]"])
13269
13273
  }, [
13270
13274
  createElementVNode("div", _hoisted_4$8, [
13271
- createVNode(_sfc_main$s, null, {
13275
+ createVNode(_sfc_main$t, null, {
13272
13276
  default: withCtx(() => [
13273
13277
  createTextVNode(toDisplayString(searchTerm.value && searchTerm.value.length ? `${totalMatchingItems.value} ${__props.searchContext.linkWord} ${totalCount.value} ${__props.searchContext.context}` : `${totalCount.value} ${__props.searchContext.context}`), 1)
13274
13278
  ]),
13275
13279
  _: 1
13276
13280
  }),
13277
- isSearching.value ? (openBlock(), createBlock(_sfc_main$E, {
13281
+ isSearching.value ? (openBlock(), createBlock(_sfc_main$F, {
13278
13282
  key: 0,
13279
13283
  color: "blue",
13280
13284
  size: "20px"
13281
13285
  })) : createCommentVNode("", true)
13282
13286
  ]),
13283
- __props.multiple && __props.showSelectedToggle && selectedItems.value.length > 0 ? (openBlock(), createBlock(_sfc_main$x, {
13287
+ __props.multiple && __props.showSelectedToggle && selectedItems.value.length > 0 ? (openBlock(), createBlock(_sfc_main$y, {
13284
13288
  key: 0,
13285
13289
  label: `${__props.selectedToggleLabel} (${selectedItems.value.length})`,
13286
13290
  checked: showSelectedOnly.value,
@@ -13315,7 +13319,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13315
13319
  class: normalizeClass([labelClasses.value, listItemClasses.value]),
13316
13320
  style: normalizeStyle(unref(optionPaddingStyle)(item))
13317
13321
  }, [
13318
- __props.multiple ? (openBlock(), createBlock(_sfc_main$x, {
13322
+ __props.multiple ? (openBlock(), createBlock(_sfc_main$y, {
13319
13323
  key: 0,
13320
13324
  id: `search-select-radio-${index}`,
13321
13325
  name: `search-select-checkbox-group-${inputId}`,
@@ -13332,7 +13336,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13332
13336
  }, null, 8, _hoisted_8$3)
13333
13337
  ]),
13334
13338
  _: 2
13335
- }, 1032, ["id", "name", "checked", "onChange"])) : (openBlock(), createBlock(_sfc_main$w, {
13339
+ }, 1032, ["id", "name", "checked", "onChange"])) : (openBlock(), createBlock(_sfc_main$x, {
13336
13340
  key: 1,
13337
13341
  id: `search-select-radio-${index}`,
13338
13342
  name: "search-select-radio-group",
@@ -13367,7 +13371,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13367
13371
  _cache[2] || (_cache[2] = withKeys(withModifiers(($event) => !__props.loadingMore && handleLoadMore(), ["prevent"]), ["space"]))
13368
13372
  ]
13369
13373
  }, [
13370
- createVNode(_sfc_main$L, {
13374
+ createVNode(_sfc_main$M, {
13371
13375
  icon: "sync",
13372
13376
  loading: __props.loadingMore,
13373
13377
  "aria-label": __props.loadingMore ? resolvedLoadingMoreLabel.value : resolvedLoadMoreLabel.value,
@@ -13381,7 +13385,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13381
13385
  ], 64)) : (openBlock(), createElementBlock("ul", _hoisted_12, [
13382
13386
  createElementVNode("li", _hoisted_13, [
13383
13387
  !isSearching.value ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(__props.noResultPrompt), 1)) : createCommentVNode("", true),
13384
- isSearching.value ? (openBlock(), createBlock(_sfc_main$E, {
13388
+ isSearching.value ? (openBlock(), createBlock(_sfc_main$F, {
13385
13389
  key: 1,
13386
13390
  color: "blue",
13387
13391
  size: "20px"
@@ -13894,7 +13898,7 @@ const useTreeState = (options = {}) => {
13894
13898
  isEmptySearchResult
13895
13899
  };
13896
13900
  };
13897
- const _hoisted_1$b = { class: "flex items-start" };
13901
+ const _hoisted_1$c = { class: "flex items-start" };
13898
13902
  const _hoisted_2$8 = { class: "flex-1 flex" };
13899
13903
  const _hoisted_3$8 = ["innerHTML"];
13900
13904
  const _hoisted_4$7 = { key: 1 };
@@ -13908,7 +13912,7 @@ const _hoisted_8$2 = ["onClick"];
13908
13912
  const _hoisted_9$1 = { key: 0 };
13909
13913
  const popoverWidth = 327;
13910
13914
  const popoverHeight = 80;
13911
- const _sfc_main$h = /* @__PURE__ */ defineComponent({
13915
+ const _sfc_main$i = /* @__PURE__ */ defineComponent({
13912
13916
  ...{
13913
13917
  name: "TreeNode"
13914
13918
  },
@@ -14126,8 +14130,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14126
14130
  style: normalizeStyle(indent.value),
14127
14131
  class: normalizeClass("pt-2 pb-2")
14128
14132
  }, [
14129
- createElementVNode("div", _hoisted_1$b, [
14130
- hasChildrenNodes.value ? (openBlock(), createBlock(_sfc_main$L, mergeProps({
14133
+ createElementVNode("div", _hoisted_1$c, [
14134
+ hasChildrenNodes.value ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
14131
14135
  key: 0,
14132
14136
  onClick: _cache[0] || (_cache[0] = ($event) => unref(treeState)?.toggleExpandNode(props.nodeId))
14133
14137
  }, { "aria-label": props.title ? childrenToggleAriaLabel(props.title) : void 0 }, {
@@ -14140,7 +14144,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14140
14144
  style: normalizeStyle({ minWidth: `${__props.indentation}px` })
14141
14145
  }, null, 4)) : createCommentVNode("", true),
14142
14146
  createElementVNode("div", _hoisted_2$8, [
14143
- createVNode(_sfc_main$x, {
14147
+ createVNode(_sfc_main$y, {
14144
14148
  id: `checkbox-${props.nodeId}`,
14145
14149
  checked: nodeIsSelected.value,
14146
14150
  indeterminate: nodeIsIndeterminate.value,
@@ -14159,7 +14163,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14159
14163
  }, 8, ["id", "checked", "indeterminate"])
14160
14164
  ]),
14161
14165
  shouldShowPopoverActions.value ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
14162
- createVNode(_sfc_main$L, mergeProps({
14166
+ createVNode(_sfc_main$M, mergeProps({
14163
14167
  ref_key: "triggerRef",
14164
14168
  ref: triggerRef,
14165
14169
  icon: "more",
@@ -14207,7 +14211,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14207
14211
  },
14208
14212
  class: "cursor-pointer"
14209
14213
  }, [
14210
- createVNode(_sfc_main$w, {
14214
+ createVNode(_sfc_main$x, {
14211
14215
  modelValue: selectedOption.value,
14212
14216
  "onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedOption.value = $event),
14213
14217
  id: `tree-popover-${props.nodeId}-${option.value}`,
@@ -14219,7 +14223,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14219
14223
  ], 8, _hoisted_8$2);
14220
14224
  }), 64))
14221
14225
  ]),
14222
- createVNode(_sfc_main$L, mergeProps({
14226
+ createVNode(_sfc_main$M, mergeProps({
14223
14227
  icon: "cross",
14224
14228
  id: "tree-popover-close-button",
14225
14229
  size: 24,
@@ -14266,7 +14270,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14266
14270
  };
14267
14271
  }
14268
14272
  });
14269
- const _hoisted_1$a = { key: 0 };
14273
+ const _hoisted_1$b = { key: 0 };
14270
14274
  const _hoisted_2$7 = {
14271
14275
  key: 0,
14272
14276
  class: "text-xl"
@@ -14275,7 +14279,7 @@ const _hoisted_3$7 = {
14275
14279
  key: 1,
14276
14280
  class: "text-xl"
14277
14281
  };
14278
- const _sfc_main$g = /* @__PURE__ */ defineComponent({
14282
+ const _sfc_main$h = /* @__PURE__ */ defineComponent({
14279
14283
  __name: "FdsTreeView",
14280
14284
  props: {
14281
14285
  nodeExpandIcon: {},
@@ -14369,7 +14373,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14369
14373
  ref: searchContainerRef,
14370
14374
  class: "pb-4"
14371
14375
  }, [
14372
- createVNode(_sfc_main$r, {
14376
+ createVNode(_sfc_main$s, {
14373
14377
  value: unref(treeState)?.searchTerm?.value ?? "",
14374
14378
  onInput: _cache[0] || (_cache[0] = ($event) => unref(treeState)?.setSearchTerm($event.target.value)),
14375
14379
  class: "w-full",
@@ -14382,11 +14386,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14382
14386
  ])]),
14383
14387
  _: 1
14384
14388
  }, 8, ["value", "label"]),
14385
- props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (openBlock(), createElementBlock("div", _hoisted_1$a, [
14389
+ props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
14386
14390
  props.searchCountTemplate && unref(treeState)?.searchTerm?.value && String(unref(treeState)?.searchTerm?.value || "").trim().length >= (unref(treeState)?.triggerLength ?? 1) ? (openBlock(), createElementBlock("h2", _hoisted_2$7, toDisplayString(props.searchCountTemplate.replace("[[filteredNodes]]", unref(treeState)?.filteredMatchCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1)) : (openBlock(), createElementBlock("h2", _hoisted_3$7, toDisplayString(props.searchCountTemplateUnfiltered?.replace("[[totalNodes]]", totalNodeCount.value.toString()).replace("[[totalNodes]]", totalNodeCount.value.toString())), 1))
14387
14391
  ])) : createCommentVNode("", true)
14388
14392
  ], 512)) : createCommentVNode("", true),
14389
- unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$J, {
14393
+ unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$K, {
14390
14394
  key: 1,
14391
14395
  class: "mt-4"
14392
14396
  }, {
@@ -14394,7 +14398,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14394
14398
  createTextVNode(toDisplayString(props.searchResultNoMatchesTitle), 1)
14395
14399
  ]),
14396
14400
  default: withCtx(() => [
14397
- createVNode(_sfc_main$s, null, {
14401
+ createVNode(_sfc_main$t, null, {
14398
14402
  default: withCtx(() => [
14399
14403
  createTextVNode(toDisplayString(props.searchResultNoMatchesBody), 1)
14400
14404
  ]),
@@ -14406,7 +14410,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14406
14410
  createElementVNode("div", {
14407
14411
  class: normalizeClass(["rounded-md", { "overflow-x-auto bg-white-solid": props.horizontalScroll }])
14408
14412
  }, [
14409
- props.data && !unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$h, {
14413
+ props.data && !unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$i, {
14410
14414
  key: 0,
14411
14415
  style: { container: "bg-white-solid px-3 py-2" },
14412
14416
  nodes: props.data.children || [],
@@ -14437,8 +14441,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14437
14441
  };
14438
14442
  }
14439
14443
  });
14440
- const _hoisted_1$9 = { key: 1 };
14441
- const _sfc_main$f = /* @__PURE__ */ defineComponent({
14444
+ const _hoisted_1$a = { key: 1 };
14445
+ const _sfc_main$g = /* @__PURE__ */ defineComponent({
14442
14446
  __name: "FdsTruncatedText",
14443
14447
  props: {
14444
14448
  open: { type: Boolean, default: false },
@@ -14486,7 +14490,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
14486
14490
  return openBlock(), createElementBlock("div", mergeProps({ class: "block mb-4" }, rootAttrs.value), [
14487
14491
  hasContent.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
14488
14492
  createElementVNode("span", null, toDisplayString(truncatedText.value), 1),
14489
- isTruncated.value ? (openBlock(), createBlock(_sfc_main$D, {
14493
+ isTruncated.value ? (openBlock(), createBlock(_sfc_main$E, {
14490
14494
  key: 0,
14491
14495
  icon: isOpen.value ? "arrowUp" : "arrowDown",
14492
14496
  iconPos: "right",
@@ -14494,7 +14498,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
14494
14498
  onClick: toggleComponent,
14495
14499
  class: "inline! ml-2"
14496
14500
  }, null, 8, ["icon", "text"])) : createCommentVNode("", true)
14497
- ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$9, [
14501
+ ], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$a, [
14498
14502
  renderSlot(_ctx.$slots, "default")
14499
14503
  ]))
14500
14504
  ], 16);
@@ -16077,8 +16081,8 @@ const checkIfDateIsBeforeToday = (date) => {
16077
16081
  return isAfter(startOfToday, startOfDate);
16078
16082
  };
16079
16083
  const checkIfDateIsEnabled = (date, enabledDates) => enabledDates.some((enabledDate) => isSameDay(enabledDate, date));
16080
- const _hoisted_1$8 = ["disabled", "aria-label"];
16081
- const _sfc_main$e = /* @__PURE__ */ defineComponent({
16084
+ const _hoisted_1$9 = ["disabled", "aria-label"];
16085
+ const _sfc_main$f = /* @__PURE__ */ defineComponent({
16082
16086
  __name: "WeekDay",
16083
16087
  props: {
16084
16088
  date: {},
@@ -16141,23 +16145,23 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
16141
16145
  createElementVNode("span", {
16142
16146
  class: normalizeClass(weekdayLabelClasses.value)
16143
16147
  }, [
16144
- __props.isToday ? (openBlock(), createBlock(_sfc_main$s, { key: 0 }, {
16148
+ __props.isToday ? (openBlock(), createBlock(_sfc_main$t, { key: 0 }, {
16145
16149
  default: withCtx(() => [
16146
16150
  createTextVNode(toDisplayString(unref(t)("FdsWeekCalendar.today")), 1)
16147
16151
  ]),
16148
16152
  _: 1
16149
- })) : (openBlock(), createBlock(_sfc_main$s, { key: 1 }, {
16153
+ })) : (openBlock(), createBlock(_sfc_main$t, { key: 1 }, {
16150
16154
  default: withCtx(() => [
16151
16155
  createTextVNode(toDisplayString(weekdayLabel.value), 1)
16152
16156
  ]),
16153
16157
  _: 1
16154
16158
  }))
16155
16159
  ], 2)
16156
- ], 10, _hoisted_1$8);
16160
+ ], 10, _hoisted_1$9);
16157
16161
  };
16158
16162
  }
16159
16163
  });
16160
- const _hoisted_1$7 = { class: "mb-6" };
16164
+ const _hoisted_1$8 = { class: "mb-6" };
16161
16165
  const _hoisted_2$6 = { class: "max-w-[487px]" };
16162
16166
  const _hoisted_3$6 = { class: "mb-3 flex w-full flex-row items-center" };
16163
16167
  const _hoisted_4$6 = { class: "m-0 font-bold text-gray-800" };
@@ -16168,7 +16172,7 @@ const _hoisted_7$3 = {
16168
16172
  class: "mt-6 flex w-full flex-row items-center gap-2"
16169
16173
  };
16170
16174
  const _hoisted_8$1 = { class: "m-0 font-bold text-blue-700" };
16171
- const _sfc_main$d = /* @__PURE__ */ defineComponent({
16175
+ const _sfc_main$e = /* @__PURE__ */ defineComponent({
16172
16176
  __name: "FdsWeekCalendar",
16173
16177
  props: {
16174
16178
  loading: { default: void 0 },
@@ -16301,18 +16305,18 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16301
16305
  const isWeekDayDisabled = (weekDay) => checkIfDateIsBeforeToday(weekDay) || !checkIfDateIsEnabled(weekDay, props.enabledDates);
16302
16306
  const isTodayDate = (weekDay) => isSameDay(weekDay, /* @__PURE__ */ new Date());
16303
16307
  return (_ctx, _cache) => {
16304
- return openBlock(), createElementBlock("section", _hoisted_1$7, [
16308
+ return openBlock(), createElementBlock("section", _hoisted_1$8, [
16305
16309
  createElementVNode("div", _hoisted_2$6, [
16306
16310
  createElementVNode("div", _hoisted_3$6, [
16307
16311
  createElementVNode("p", _hoisted_4$6, toDisplayString(weekText.value), 1),
16308
16312
  createElementVNode("div", _hoisted_5$6, [
16309
- createVNode(_sfc_main$L, {
16313
+ createVNode(_sfc_main$M, {
16310
16314
  icon: "arrowLeft",
16311
16315
  disabled: disableLastWeekInteraction.value,
16312
16316
  "aria-label": unref(t)("FdsWeekCalendar.previousWeek"),
16313
16317
  onClick: decrementWeek
16314
16318
  }, null, 8, ["disabled", "aria-label"]),
16315
- createVNode(_sfc_main$L, {
16319
+ createVNode(_sfc_main$M, {
16316
16320
  icon: "arrowRight",
16317
16321
  disabled: disableNextWeekInteraction.value,
16318
16322
  "aria-label": unref(t)("FdsWeekCalendar.nextWeek"),
@@ -16333,7 +16337,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16333
16337
  class: "flex flex-row flex-nowrap items-center justify-start gap-x-px"
16334
16338
  }, [
16335
16339
  (openBlock(true), createElementBlock(Fragment, null, renderList(visibleWeekDays.value, (weekDay, _index) => {
16336
- return openBlock(), createBlock(_sfc_main$e, {
16340
+ return openBlock(), createBlock(_sfc_main$f, {
16337
16341
  key: `current-${weekDay.toISOString()}-${_index}`,
16338
16342
  date: weekDay,
16339
16343
  disabled: isWeekDayDisabled(weekDay),
@@ -16348,7 +16352,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16348
16352
  }, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
16349
16353
  ]),
16350
16354
  __props.loading?.loading ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
16351
- createVNode(_sfc_main$E),
16355
+ createVNode(_sfc_main$F),
16352
16356
  createElementVNode("p", _hoisted_8$1, toDisplayString(__props.loading.label), 1)
16353
16357
  ])) : createCommentVNode("", true)
16354
16358
  ])
@@ -16356,7 +16360,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16356
16360
  };
16357
16361
  }
16358
16362
  });
16359
- const _sfc_main$c = /* @__PURE__ */ defineComponent({
16363
+ const _sfc_main$d = /* @__PURE__ */ defineComponent({
16360
16364
  ...{
16361
16365
  inheritAttrs: false
16362
16366
  },
@@ -16402,7 +16406,7 @@ const hasStepLabelOverlap = (labels, minGapBeforeHidePx = STEP_LABEL_MIN_GAP_BEF
16402
16406
  }
16403
16407
  return false;
16404
16408
  };
16405
- const _hoisted_1$6 = { class: "mb-6" };
16409
+ const _hoisted_1$7 = { class: "mb-6" };
16406
16410
  const _hoisted_2$5 = {
16407
16411
  key: 0,
16408
16412
  class: "mb-0"
@@ -16415,7 +16419,7 @@ const _hoisted_4$5 = { class: "h-[2px] absolute top-[22px] left-[50%] bg-white-s
16415
16419
  const _hoisted_5$5 = { class: "flex justify-between list-none mb-8 p-0" };
16416
16420
  const _hoisted_6$2 = ["onClick", "disabled"];
16417
16421
  const _hoisted_7$2 = { key: 0 };
16418
- const _sfc_main$b = /* @__PURE__ */ defineComponent({
16422
+ const _sfc_main$c = /* @__PURE__ */ defineComponent({
16419
16423
  __name: "FdsWizard",
16420
16424
  props: {
16421
16425
  routes: {},
@@ -16771,12 +16775,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16771
16775
  createElementVNode("nav", {
16772
16776
  class: normalizeClass([__props.wizardClass, "mx-auto"])
16773
16777
  }, [
16774
- createElementVNode("header", _hoisted_1$6, [
16778
+ createElementVNode("header", _hoisted_1$7, [
16775
16779
  createElementVNode("h1", {
16776
16780
  ref: "mainHeader",
16777
16781
  tabindex: "-1"
16778
16782
  }, toDisplayString(mainHeading.value), 513),
16779
- mainLead.value || subCategories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$c, { key: 0 }, {
16783
+ mainLead.value || subCategories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$d, { key: 0 }, {
16780
16784
  default: withCtx(() => [
16781
16785
  mainLead.value ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(mainLead.value), 1)) : createCommentVNode("", true),
16782
16786
  subCategories.value.length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_3$5, [
@@ -16785,7 +16789,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16785
16789
  key: subCat.id,
16786
16790
  class: "list-inside list-disc mb-2"
16787
16791
  }, [
16788
- createVNode(_sfc_main$c, { class: "inline!" }, {
16792
+ createVNode(_sfc_main$d, { class: "inline!" }, {
16789
16793
  default: withCtx(() => [
16790
16794
  createTextVNode(toDisplayString(subCat.name), 1)
16791
16795
  ]),
@@ -16829,7 +16833,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
16829
16833
  createElementVNode("span", {
16830
16834
  class: normalizeClass(["relative mb-6 flex flex-col items-center text-blue-600 font-bold justify-center transition-all duration-200 ease-in-out rounded-full w-[44px] h-[44px] bg-white-solid", setStepClasses(entry.index)])
16831
16835
  }, [
16832
- entry.index >= internalCompletedTo.value + 1 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(entry.index + 1), 1)) : (openBlock(), createBlock(_sfc_main$M, {
16836
+ entry.index >= internalCompletedTo.value + 1 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(entry.index + 1), 1)) : (openBlock(), createBlock(_sfc_main$N, {
16833
16837
  key: 1,
16834
16838
  name: "checkmark",
16835
16839
  size: 24
@@ -18692,7 +18696,7 @@ const normalizeNationalPhoneInput = (value, countryIso2) => {
18692
18696
  }
18693
18697
  return trimmed;
18694
18698
  };
18695
- const _hoisted_1$5 = { class: "relative w-full" };
18699
+ const _hoisted_1$6 = { class: "relative w-full" };
18696
18700
  const _hoisted_2$4 = { class: "absolute left-3 top-1/2 -translate-y-1/2 text-xl leading-none" };
18697
18701
  const _hoisted_3$4 = ["aria-expanded", "aria-label", "aria-controls", "aria-activedescendant", "value", "disabled"];
18698
18702
  const _hoisted_4$4 = ["disabled"];
@@ -18706,7 +18710,7 @@ const _hoisted_9 = {
18706
18710
  };
18707
18711
  const _hoisted_10 = { class: "text-gray-600" };
18708
18712
  const _hoisted_11 = { "aria-hidden": "true" };
18709
- const _sfc_main$a = /* @__PURE__ */ defineComponent({
18713
+ const _sfc_main$b = /* @__PURE__ */ defineComponent({
18710
18714
  __name: "FdsPhonenumberCountryPicker",
18711
18715
  props: /* @__PURE__ */ mergeModels({
18712
18716
  items: {},
@@ -18979,7 +18983,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
18979
18983
  ref: rootRef,
18980
18984
  class: normalizeClass(["relative w-32", props.class])
18981
18985
  }, [
18982
- createElementVNode("div", _hoisted_1$5, [
18986
+ createElementVNode("div", _hoisted_1$6, [
18983
18987
  !dropdownOpen.value ? (openBlock(), createElementBlock("div", {
18984
18988
  key: 0,
18985
18989
  class: normalizeClass(dialPreviewClasses.value),
@@ -19017,7 +19021,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19017
19021
  "aria-hidden": "true",
19018
19022
  onMousedown: withModifiers(onArrowPointerDown, ["prevent"])
19019
19023
  }, [
19020
- createVNode(_sfc_main$M, {
19024
+ createVNode(_sfc_main$N, {
19021
19025
  name: "arrowDown",
19022
19026
  size: 24,
19023
19027
  class: normalizeClass(arrowClasses.value)
@@ -19059,7 +19063,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19059
19063
  createElementVNode("span", _hoisted_10, "(" + toDisplayString(unref(t)("common.plus")) + toDisplayString(option.countryCode) + ")", 1)
19060
19064
  ]),
19061
19065
  createElementVNode("span", _hoisted_11, [
19062
- option.value === country.value ? (openBlock(), createBlock(_sfc_main$M, {
19066
+ option.value === country.value ? (openBlock(), createBlock(_sfc_main$N, {
19063
19067
  key: 0,
19064
19068
  name: "check",
19065
19069
  size: 24,
@@ -19074,7 +19078,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19074
19078
  };
19075
19079
  }
19076
19080
  });
19077
- const INVALID_RESULT = {
19081
+ const INVALID_RESULT$1 = {
19078
19082
  isValid: false,
19079
19083
  phoneNumber: null,
19080
19084
  countryIso2: null,
@@ -19117,12 +19121,12 @@ function runPhoneValidation(value, countryIso2) {
19117
19121
  return toValidationResult(parsed);
19118
19122
  }
19119
19123
  }
19120
- return INVALID_RESULT;
19124
+ return INVALID_RESULT$1;
19121
19125
  }
19122
19126
  function validatePhoneNumber(nationalNumber, countryIso2) {
19123
19127
  const trimmed = nationalNumber.trim();
19124
19128
  if (!trimmed) {
19125
- return INVALID_RESULT;
19129
+ return INVALID_RESULT$1;
19126
19130
  }
19127
19131
  return runPhoneValidation(trimmed, countryIso2);
19128
19132
  }
@@ -19132,7 +19136,7 @@ function getPhoneValidationState(nationalNumber, countryIso2) {
19132
19136
  }
19133
19137
  return validatePhoneNumber(nationalNumber, countryIso2).isValid;
19134
19138
  }
19135
- const _hoisted_1$4 = { class: "w-full mb-6" };
19139
+ const _hoisted_1$5 = { class: "w-full mb-6" };
19136
19140
  const _hoisted_2$3 = {
19137
19141
  key: 1,
19138
19142
  class: "font-thin mb-1"
@@ -19146,7 +19150,7 @@ const _hoisted_5$3 = {
19146
19150
  key: 3,
19147
19151
  class: "text-red-700 font-bold mt-1"
19148
19152
  };
19149
- const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19153
+ const _sfc_main$a = /* @__PURE__ */ defineComponent({
19150
19154
  ...{
19151
19155
  inheritAttrs: false
19152
19156
  },
@@ -19278,14 +19282,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19278
19282
  emit("noCountryResults", value);
19279
19283
  }
19280
19284
  return (_ctx, _cache) => {
19281
- return openBlock(), createElementBlock("div", _hoisted_1$4, [
19285
+ return openBlock(), createElementBlock("div", _hoisted_1$5, [
19282
19286
  resolvedLabel.value ? (openBlock(), createElementBlock("label", {
19283
19287
  key: 0,
19284
19288
  class: normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": __props.meta, "mb-1": !__props.meta }])
19285
19289
  }, toDisplayString(resolvedLabel.value), 3)) : createCommentVNode("", true),
19286
19290
  __props.meta ? (openBlock(), createElementBlock("div", _hoisted_2$3, toDisplayString(__props.meta), 1)) : createCommentVNode("", true),
19287
19291
  createElementVNode("div", _hoisted_3$3, [
19288
- createVNode(_sfc_main$a, {
19292
+ createVNode(_sfc_main$b, {
19289
19293
  modelValue: country.value,
19290
19294
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => country.value = $event),
19291
19295
  items: countryItems.value,
@@ -19296,7 +19300,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19296
19300
  class: normalizeClass(["mb-0! shrink-0", __props.selectClass ?? ""]),
19297
19301
  onNoCountryResults
19298
19302
  }, null, 8, ["modelValue", "items", "valid", "disabled", "ariaLabel", "data-testid", "class"]),
19299
- createVNode(_sfc_main$r, mergeProps({
19303
+ createVNode(_sfc_main$s, mergeProps({
19300
19304
  modelValue: unref(nationalNumber),
19301
19305
  "onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(nationalNumber) ? nationalNumber.value = $event : null),
19302
19306
  mask: phoneMask.value,
@@ -19315,6 +19319,474 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19315
19319
  };
19316
19320
  }
19317
19321
  });
19322
+ const SSN_MASK = "000000000000";
19323
+ const SSN_INTERIM_MASK = "XXXXXXXXXXXX";
19324
+ const SSN_INTERIM_MASK_OPTIONS = {
19325
+ lazy: true,
19326
+ definitions: {
19327
+ X: /[0-9A-Za-z]/
19328
+ }
19329
+ };
19330
+ function getSsnMask(allowInterimNumber) {
19331
+ return allowInterimNumber ? SSN_INTERIM_MASK : SSN_MASK;
19332
+ }
19333
+ function getSsnMaskOptions(allowInterimNumber) {
19334
+ return allowInterimNumber ? SSN_INTERIM_MASK_OPTIONS : { lazy: true };
19335
+ }
19336
+ var PersonnummerError = class extends Error {
19337
+ constructor() {
19338
+ super("Invalid swedish personal identity number");
19339
+ }
19340
+ };
19341
+ var compareAsc = (dateLeft, dateRight) => {
19342
+ const diff = dateLeft.getTime() - dateRight.getTime();
19343
+ return diff < 0 ? -1 : diff > 0 ? 1 : diff;
19344
+ };
19345
+ var diffInYears = (dateLeft, dateRight) => {
19346
+ const sign = compareAsc(dateLeft, dateRight);
19347
+ const yearDiff = Math.abs(dateLeft.getFullYear() - dateRight.getFullYear());
19348
+ dateLeft.setFullYear(dateLeft.getFullYear() - sign * yearDiff);
19349
+ const isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign;
19350
+ const result2 = sign * (yearDiff - +isLastYearNotFull);
19351
+ return result2 === 0 ? 0 : result2;
19352
+ };
19353
+ var luhn = (str) => {
19354
+ let sum = 0;
19355
+ str += "";
19356
+ for (let i = 0, l = str.length; i < l; i++) {
19357
+ let v = parseInt(str[i]);
19358
+ v *= 2 - i % 2;
19359
+ if (v > 9) {
19360
+ v -= 9;
19361
+ }
19362
+ sum += v;
19363
+ }
19364
+ return Math.ceil(sum / 10) * 10 - sum;
19365
+ };
19366
+ var testDate = (year, month, day) => {
19367
+ month -= 1;
19368
+ const date = new Date(year, month, day);
19369
+ return !(date.getFullYear() !== year || date.getMonth() !== month || date.getDate() !== day);
19370
+ };
19371
+ var Personnummer = class {
19372
+ /**
19373
+ * Personnummer constructor.
19374
+ *
19375
+ * @param {string} pin
19376
+ * @param {object} options
19377
+ */
19378
+ constructor(pin, options) {
19379
+ this._century = "";
19380
+ this._fullYear = "";
19381
+ this._year = "";
19382
+ this._month = "";
19383
+ this._day = "";
19384
+ this._sep = "";
19385
+ this._num = "";
19386
+ this._check = "";
19387
+ this.parse(pin, {
19388
+ allowCoordinationNumber: true,
19389
+ allowInterimNumber: false,
19390
+ ...options
19391
+ });
19392
+ }
19393
+ /**
19394
+ * Get century.
19395
+ *
19396
+ * @return {string}
19397
+ */
19398
+ get century() {
19399
+ return this._century;
19400
+ }
19401
+ /**
19402
+ * Get age.
19403
+ *
19404
+ * @return {string}
19405
+ */
19406
+ get fullYear() {
19407
+ return this._fullYear;
19408
+ }
19409
+ /**
19410
+ * Get age.
19411
+ *
19412
+ * @return {string}
19413
+ */
19414
+ get year() {
19415
+ return this._year;
19416
+ }
19417
+ /**
19418
+ * Get month.
19419
+ *
19420
+ * @return {string}
19421
+ */
19422
+ get month() {
19423
+ return this._month;
19424
+ }
19425
+ /**
19426
+ * Get day.
19427
+ *
19428
+ * @return {string}
19429
+ */
19430
+ get day() {
19431
+ return this._day;
19432
+ }
19433
+ /**
19434
+ * Get sep.
19435
+ *
19436
+ * @return {string}
19437
+ */
19438
+ get sep() {
19439
+ return this._sep;
19440
+ }
19441
+ /**
19442
+ * Get num.
19443
+ *
19444
+ * @return {string}
19445
+ */
19446
+ get num() {
19447
+ return this._num;
19448
+ }
19449
+ /**
19450
+ * Get check.
19451
+ *
19452
+ * @return {string}
19453
+ */
19454
+ get check() {
19455
+ return this._check;
19456
+ }
19457
+ /**
19458
+ * Parse personnummer.
19459
+ *
19460
+ * @param {string} pin
19461
+ * @param {object} options
19462
+ *
19463
+ * @return {Personnummer}
19464
+ */
19465
+ static parse(pin, options) {
19466
+ return new Personnummer(pin, options);
19467
+ }
19468
+ /**
19469
+ * Validate a Swedish personal identity number.
19470
+ *
19471
+ * @param {string} str
19472
+ * @param {object} options
19473
+ *
19474
+ * @return {boolean}
19475
+ */
19476
+ static valid(pin, options) {
19477
+ try {
19478
+ Personnummer.parse(pin, options);
19479
+ return true;
19480
+ } catch (e) {
19481
+ return false;
19482
+ }
19483
+ }
19484
+ /**
19485
+ * Parse personnummer and set class properties.
19486
+ *
19487
+ * @param {string} pin
19488
+ * @param {object} options
19489
+ */
19490
+ parse(pin, options) {
19491
+ if (pin.length < 10 || pin.length > 13) {
19492
+ throw new PersonnummerError();
19493
+ }
19494
+ const reg = /^(\d{2}){0,1}(\d{2})(\d{2})(\d{2})([+-]?)((?!000)\d{3}|[TRSUWXJKLMN]\d{2})(\d)$/;
19495
+ const match2 = reg.exec(pin);
19496
+ if (!match2) {
19497
+ throw new PersonnummerError();
19498
+ }
19499
+ const century = match2[1];
19500
+ const year = match2[2];
19501
+ const month = match2[3];
19502
+ const day = match2[4];
19503
+ const sep = match2[5];
19504
+ const num = match2[6];
19505
+ const check = match2[7];
19506
+ if (typeof century === "undefined" || !century.length) {
19507
+ const d = /* @__PURE__ */ new Date();
19508
+ let baseYear = 0;
19509
+ if (sep === "+") {
19510
+ this._sep = "+";
19511
+ baseYear = d.getFullYear() - 100;
19512
+ } else {
19513
+ this._sep = "-";
19514
+ baseYear = d.getFullYear();
19515
+ }
19516
+ this._century = ("" + (baseYear - (baseYear - parseInt(year)) % 100)).substr(0, 2);
19517
+ } else {
19518
+ this._century = century;
19519
+ if ((/* @__PURE__ */ new Date()).getFullYear() - parseInt(century + year, 10) < 100) {
19520
+ this._sep = "-";
19521
+ } else {
19522
+ this._sep = "+";
19523
+ }
19524
+ }
19525
+ this._year = year;
19526
+ this._fullYear = this._century + year;
19527
+ this._month = month;
19528
+ this._day = day;
19529
+ this._num = num;
19530
+ this._check = check;
19531
+ if (!this.valid()) {
19532
+ throw new PersonnummerError();
19533
+ }
19534
+ if (!(options == null ? void 0 : options.allowCoordinationNumber) && this.isCoordinationNumber()) {
19535
+ throw new PersonnummerError();
19536
+ }
19537
+ if (!(options == null ? void 0 : options.allowInterimNumber) && this.isInterimNumber()) {
19538
+ throw new PersonnummerError();
19539
+ }
19540
+ }
19541
+ /**
19542
+ * Validate a Swedish personal identity number.
19543
+ *
19544
+ * @return {boolean}
19545
+ */
19546
+ valid() {
19547
+ const valid = luhn(
19548
+ this.year + this.month + this.day + this.num.replace(/[TRSUWXJKLMN]/, "1")
19549
+ ) === +this.check && !!this.check;
19550
+ if (valid && testDate(parseInt(this.century + this.year), +this.month, +this.day)) {
19551
+ return valid;
19552
+ }
19553
+ return valid && testDate(parseInt(this.century + this.year), +this.month, +this.day - 60);
19554
+ }
19555
+ /**
19556
+ * Format a Swedish personal identity number as one of the official formats,
19557
+ * A long format or a short format.
19558
+ *
19559
+ * If the input number could not be parsed a empty string will be returned.
19560
+ *
19561
+ * @param {boolean} longFormat
19562
+ *
19563
+ * @return {string}
19564
+ */
19565
+ format(longFormat = false) {
19566
+ if (longFormat) {
19567
+ return `${this.century}${this.year}${this.month}${this.day}${this.num}${this.check}`;
19568
+ }
19569
+ return `${this.year}${this.month}${this.day}${this.sep}${this.num}${this.check}`;
19570
+ }
19571
+ /**
19572
+ * Get age from a Swedish personal identity number.
19573
+ *
19574
+ * @return {number}
19575
+ */
19576
+ getAge() {
19577
+ const date = this.getDate();
19578
+ return diffInYears(new Date(Date.now()), date);
19579
+ }
19580
+ /**
19581
+ * Get date from a Swedish personal identity number.
19582
+ *
19583
+ * @return {Date}
19584
+ */
19585
+ getDate() {
19586
+ let ageDay = +this.day;
19587
+ if (this.isCoordinationNumber()) {
19588
+ ageDay -= 60;
19589
+ }
19590
+ const ageDate = this.century + this.year + "-" + this.month + "-" + (ageDay < 10 ? "0" + ageDay : ageDay);
19591
+ return new Date(ageDate);
19592
+ }
19593
+ /**
19594
+ * Check if a Swedish personal identity number is a interim number or not.
19595
+ *
19596
+ * @return {boolean}
19597
+ */
19598
+ isInterimNumber() {
19599
+ return /[TRSUWXJKLMN]/.test(this.num[0]);
19600
+ }
19601
+ /**
19602
+ * Check if a Swedish personal identity number is a coordination number or not.
19603
+ *
19604
+ * @return {boolean}
19605
+ */
19606
+ isCoordinationNumber() {
19607
+ return testDate(
19608
+ parseInt(this.century + this.year),
19609
+ +this.month,
19610
+ +this.day - 60
19611
+ );
19612
+ }
19613
+ /**
19614
+ * Check if a Swedish personal identity number is for a female.
19615
+ *
19616
+ * @return {boolean}
19617
+ */
19618
+ isFemale() {
19619
+ return !this.isMale();
19620
+ }
19621
+ /**
19622
+ * Check if a Swedish personal identity number is for a male.
19623
+ *
19624
+ * @return {boolean}
19625
+ */
19626
+ isMale() {
19627
+ const sexDigit = parseInt(this.num.substr(-1));
19628
+ return sexDigit % 2 === 1;
19629
+ }
19630
+ };
19631
+ var src_default = Personnummer;
19632
+ const INVALID_RESULT = {
19633
+ isValid: false,
19634
+ digits: null
19635
+ };
19636
+ const DEFAULT_SSN_VALIDATION_OPTIONS = {
19637
+ allowCoordinationNumber: true,
19638
+ allowInterimNumber: true
19639
+ };
19640
+ function resolveSsnValidationOptions(options) {
19641
+ return {
19642
+ ...DEFAULT_SSN_VALIDATION_OPTIONS,
19643
+ ...options
19644
+ };
19645
+ }
19646
+ function stripSsnSeparators(value) {
19647
+ return normalizePidSearchValue(value);
19648
+ }
19649
+ function validateSsnNumber(value, options) {
19650
+ const trimmed = value.trim();
19651
+ if (!trimmed) {
19652
+ return INVALID_RESULT;
19653
+ }
19654
+ const resolvedOptions = resolveSsnValidationOptions(options);
19655
+ const isValid2 = src_default.valid(trimmed, resolvedOptions);
19656
+ return {
19657
+ isValid: isValid2,
19658
+ digits: isValid2 ? stripSsnSeparators(trimmed) : null
19659
+ };
19660
+ }
19661
+ function validateSsn(value, options) {
19662
+ return validateSsnNumber(value, options).isValid;
19663
+ }
19664
+ function getSsnValidationState(value, options) {
19665
+ if (!value.trim()) {
19666
+ return null;
19667
+ }
19668
+ return validateSsn(value, options);
19669
+ }
19670
+ const _hoisted_1$4 = { class: "w-full" };
19671
+ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
19672
+ ...{
19673
+ inheritAttrs: false
19674
+ },
19675
+ __name: "FdsSsn",
19676
+ props: /* @__PURE__ */ mergeModels({
19677
+ label: { default: void 0 },
19678
+ meta: { default: void 0 },
19679
+ optional: { type: Boolean, default: false },
19680
+ valid: { type: [Boolean, null], default: void 0 },
19681
+ invalidMessage: { default: void 0 },
19682
+ modelValue: {},
19683
+ allowCoordinationNumber: { type: Boolean, default: true },
19684
+ allowInterimNumber: { type: Boolean, default: true },
19685
+ disabled: { type: Boolean, default: false },
19686
+ dataTestid: { default: void 0 },
19687
+ onValid: {},
19688
+ onBlur: {},
19689
+ "onUpdate:modelValue": {},
19690
+ id: { default: void 0 },
19691
+ autocomplete: { default: "off" },
19692
+ required: { type: Boolean, default: false },
19693
+ placeholder: { default: void 0 },
19694
+ name: { default: void 0 },
19695
+ autofocus: { type: Boolean, default: false },
19696
+ readonly: { type: Boolean, default: false },
19697
+ inputClass: { default: void 0 }
19698
+ }, {
19699
+ "modelValue": { default: "" },
19700
+ "modelModifiers": {}
19701
+ }),
19702
+ emits: /* @__PURE__ */ mergeModels(["update:modelValue", "valid", "blur"], ["update:modelValue"]),
19703
+ setup(__props, { emit: __emit }) {
19704
+ const modelValue = useModel(__props, "modelValue");
19705
+ const attrs = useAttrs();
19706
+ const props = __props;
19707
+ const emit = __emit;
19708
+ const { t } = useFdsI18n();
19709
+ const inputAttrs = computed(() => {
19710
+ const { class: _class, style, ...rest } = attrs;
19711
+ return {
19712
+ ...rest,
19713
+ ...style == null ? {} : { style }
19714
+ };
19715
+ });
19716
+ const forwardedInputProps = computed(() => ({
19717
+ id: props.id,
19718
+ autocomplete: props.autocomplete,
19719
+ required: props.required,
19720
+ placeholder: props.placeholder,
19721
+ name: props.name,
19722
+ autofocus: props.autofocus,
19723
+ readonly: props.readonly,
19724
+ inputmode: props.allowInterimNumber ? "text" : "numeric",
19725
+ ...inputAttrs.value
19726
+ }));
19727
+ const validationOptions = computed(
19728
+ () => ({
19729
+ allowCoordinationNumber: props.allowCoordinationNumber,
19730
+ allowInterimNumber: props.allowInterimNumber
19731
+ })
19732
+ );
19733
+ const ssnMask = computed(() => getSsnMask(props.allowInterimNumber));
19734
+ const ssnMaskOptions = computed(() => getSsnMaskOptions(props.allowInterimNumber));
19735
+ const committedValid = ref(null);
19736
+ const resolvedLabel = computed(() => props.label === void 0 ? t("FdsSsn.label") : props.label);
19737
+ const resolvedInvalidMessage = computed(
19738
+ () => props.invalidMessage === void 0 ? t("FdsSsn.invalidSsn") : props.invalidMessage
19739
+ );
19740
+ const displayValid = computed(() => {
19741
+ if (props.valid === false) return false;
19742
+ if (props.valid === true) return true;
19743
+ if (committedValid.value === false) return false;
19744
+ if (committedValid.value === true) return true;
19745
+ return props.valid;
19746
+ });
19747
+ function normalizeValue2() {
19748
+ const normalized = stripSsnSeparators(modelValue.value ?? "");
19749
+ if (normalized !== (modelValue.value ?? "")) {
19750
+ modelValue.value = normalized;
19751
+ }
19752
+ }
19753
+ function runValidation() {
19754
+ const validationState = getSsnValidationState(modelValue.value ?? "", validationOptions.value);
19755
+ committedValid.value = validationState;
19756
+ emit("valid", validationState);
19757
+ }
19758
+ watch([() => props.allowCoordinationNumber, () => props.allowInterimNumber], () => {
19759
+ if (committedValid.value === null) {
19760
+ return;
19761
+ }
19762
+ runValidation();
19763
+ });
19764
+ function handleBlur(ev) {
19765
+ normalizeValue2();
19766
+ runValidation();
19767
+ emit("blur", ev);
19768
+ }
19769
+ return (_ctx, _cache) => {
19770
+ return openBlock(), createElementBlock("div", _hoisted_1$4, [
19771
+ createVNode(_sfc_main$s, mergeProps({
19772
+ modelValue: modelValue.value,
19773
+ "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
19774
+ mask: ssnMask.value,
19775
+ "mask-options": ssnMaskOptions.value,
19776
+ label: resolvedLabel.value,
19777
+ meta: __props.meta,
19778
+ valid: displayValid.value,
19779
+ disabled: __props.disabled,
19780
+ optional: __props.optional,
19781
+ "invalid-message": resolvedInvalidMessage.value,
19782
+ ariaLabel: resolvedLabel.value,
19783
+ "data-testid": __props.dataTestid,
19784
+ class: __props.inputClass
19785
+ }, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["modelValue", "mask", "mask-options", "label", "meta", "valid", "disabled", "optional", "invalid-message", "ariaLabel", "data-testid", "class"])
19786
+ ]);
19787
+ };
19788
+ }
19789
+ });
19318
19790
  const _hoisted_1$3 = ["for"];
19319
19791
  const _hoisted_2$2 = {
19320
19792
  key: 1,
@@ -19443,7 +19915,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
19443
19915
  [vModelSelect, internalValue.value]
19444
19916
  ]),
19445
19917
  createElementVNode("div", _hoisted_6, [
19446
- createVNode(_sfc_main$M, {
19918
+ createVNode(_sfc_main$N, {
19447
19919
  name: "arrowDown",
19448
19920
  size: 24,
19449
19921
  class: normalizeClass({
@@ -19610,12 +20082,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
19610
20082
  createElementVNode("div", {
19611
20083
  class: normalizeClass(validationIconClasses.value)
19612
20084
  }, [
19613
- isInvalid.value ? (openBlock(), createBlock(_sfc_main$M, {
20085
+ isInvalid.value ? (openBlock(), createBlock(_sfc_main$N, {
19614
20086
  key: 0,
19615
20087
  name: "alert",
19616
20088
  class: "fill-red-600"
19617
20089
  })) : createCommentVNode("", true),
19618
- isValid2.value ? (openBlock(), createBlock(_sfc_main$M, {
20090
+ isValid2.value ? (openBlock(), createBlock(_sfc_main$N, {
19619
20091
  key: 1,
19620
20092
  name: "bigSuccess"
19621
20093
  })) : createCommentVNode("", true)
@@ -19706,7 +20178,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
19706
20178
  unref(hasSlot) ? (openBlock(), createElementBlock("span", _hoisted_2, [
19707
20179
  renderSlot(_ctx.$slots, "default")
19708
20180
  ])) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.heading), 1)),
19709
- createVNode(_sfc_main$M, {
20181
+ createVNode(_sfc_main$N, {
19710
20182
  name: iconName.value,
19711
20183
  size: "24px",
19712
20184
  class: "fill-blue-500 ml-1"
@@ -19938,7 +20410,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
19938
20410
  });
19939
20411
  return (_ctx, _cache) => {
19940
20412
  return openBlock(), createElementBlock("div", mergeProps({ class: wrapperClasses.value }, rootAttrs.value), [
19941
- __props.loading ? (openBlock(), createBlock(_sfc_main$E, {
20413
+ __props.loading ? (openBlock(), createBlock(_sfc_main$F, {
19942
20414
  key: 0,
19943
20415
  size: "24px",
19944
20416
  color: "blue",
@@ -20227,97 +20699,101 @@ const FdsVueCorePlugin = {
20227
20699
  if (options?.i18n) {
20228
20700
  app.provide(FDS_VUE_CORE_I18N_KEY, options.i18n);
20229
20701
  }
20230
- app.component("FdsTreeView", _sfc_main$g);
20231
- app.component("FdsButtonPrimary", _sfc_main$A);
20232
- app.component("FdsButtonSecondary", _sfc_main$z);
20233
- app.component("FdsButtonMinor", _sfc_main$D);
20234
- app.component("FdsButtonIcon", _sfc_main$L);
20235
- app.component("FdsButtonCopy", _sfc_main$C);
20236
- app.component("FdsButtonDownload", _sfc_main$B);
20237
- app.component("FdsDevMode", _sfc_main$n);
20238
- app.component("FdsIcon", _sfc_main$M);
20239
- app.component("FdsSpinner", _sfc_main$E);
20240
- app.component("FdsRadio", _sfc_main$w);
20241
- app.component("FdsCheckbox", _sfc_main$x);
20702
+ app.component("FdsTreeView", _sfc_main$h);
20703
+ app.component("FdsButtonPrimary", _sfc_main$B);
20704
+ app.component("FdsButtonSecondary", _sfc_main$A);
20705
+ app.component("FdsButtonMinor", _sfc_main$E);
20706
+ app.component("FdsButtonIcon", _sfc_main$M);
20707
+ app.component("FdsButtonCopy", _sfc_main$D);
20708
+ app.component("FdsButtonDownload", _sfc_main$C);
20709
+ app.component("FdsDevMode", _sfc_main$o);
20710
+ app.component("FdsIcon", _sfc_main$N);
20711
+ app.component("FdsSpinner", _sfc_main$F);
20712
+ app.component("FdsRadio", _sfc_main$x);
20713
+ app.component("FdsCheckbox", _sfc_main$y);
20242
20714
  app.component("FdsTextarea", _sfc_main$7);
20243
- app.component("FdsPhonenumber", _sfc_main$9);
20715
+ app.component("FdsPhonenumber", _sfc_main$a);
20716
+ app.component("FdsSsn", _sfc_main$9);
20244
20717
  app.component("FdsSelect", _sfc_main$8);
20245
20718
  app.component("FdsTable", _sfc_main$6);
20246
20719
  app.component("FdsTableHead", _sfc_main$5);
20247
- app.component("FdsInput", _sfc_main$r);
20248
- app.component("FdsBlockContent", _sfc_main$J);
20249
- app.component("FdsBlockInfo", _sfc_main$G);
20250
- app.component("FdsBlockAlert", _sfc_main$K);
20251
- app.component("FdsBlockExpander", _sfc_main$H);
20252
- app.component("FdsBlockLink", _sfc_main$F);
20253
- app.component("FdsSticker", _sfc_main$I);
20254
- app.component("FdsTabs", _sfc_main$q);
20255
- app.component("FdsTabsItem", _sfc_main$p);
20256
- app.component("FdsModal", _sfc_main$t);
20257
- app.component("FdsPagination", _sfc_main$l);
20258
- app.component("FdsPopover", _sfc_main$k);
20259
- app.component("FdsSearchSelect", _sfc_main$j);
20260
- app.component("FdsSearchSelectPro", _sfc_main$i);
20261
- app.component("FdsTruncatedText", _sfc_main$f);
20262
- app.component("FdsWizard", _sfc_main$b);
20263
- app.component("FdsWeekCalendar", _sfc_main$d);
20720
+ app.component("FdsInput", _sfc_main$s);
20721
+ app.component("FdsBlockContent", _sfc_main$K);
20722
+ app.component("FdsBlockInfo", _sfc_main$H);
20723
+ app.component("FdsBlockAlert", _sfc_main$L);
20724
+ app.component("FdsBlockExpander", _sfc_main$I);
20725
+ app.component("FdsBlockLink", _sfc_main$G);
20726
+ app.component("FdsSticker", _sfc_main$J);
20727
+ app.component("FdsTabs", _sfc_main$r);
20728
+ app.component("FdsTabsItem", _sfc_main$q);
20729
+ app.component("FdsModal", _sfc_main$u);
20730
+ app.component("FdsPagination", _sfc_main$m);
20731
+ app.component("FdsPopover", _sfc_main$l);
20732
+ app.component("FdsSearchSelect", _sfc_main$k);
20733
+ app.component("FdsSearchSelectPro", _sfc_main$j);
20734
+ app.component("FdsTruncatedText", _sfc_main$g);
20735
+ app.component("FdsWizard", _sfc_main$c);
20736
+ app.component("FdsWeekCalendar", _sfc_main$e);
20264
20737
  app.component("FdsH1", _sfc_main$4);
20265
20738
  app.component("FdsH2", _sfc_main$3);
20266
20739
  app.component("FdsH3", _sfc_main$2);
20267
20740
  app.component("FdsHr", _sfc_main$1);
20268
- app.component("FdsLabel", _sfc_main$v);
20269
- app.component("FdsLead", _sfc_main$c);
20270
- app.component("FdsMeta", _sfc_main$s);
20741
+ app.component("FdsLabel", _sfc_main$w);
20742
+ app.component("FdsLead", _sfc_main$d);
20743
+ app.component("FdsMeta", _sfc_main$t);
20271
20744
  app.component("FdsListHeading", _sfc_main);
20272
20745
  }
20273
20746
  };
20274
20747
  export {
20275
20748
  FDS_VUE_CORE_I18N_KEY,
20276
- _sfc_main$K as FdsBlockAlert,
20277
- _sfc_main$J as FdsBlockContent,
20278
- _sfc_main$H as FdsBlockExpander,
20279
- _sfc_main$G as FdsBlockInfo,
20280
- _sfc_main$F as FdsBlockLink,
20281
- _sfc_main$C as FdsButtonCopy,
20282
- _sfc_main$B as FdsButtonDownload,
20283
- _sfc_main$L as FdsButtonIcon,
20284
- _sfc_main$D as FdsButtonMinor,
20285
- _sfc_main$A as FdsButtonPrimary,
20286
- _sfc_main$z as FdsButtonSecondary,
20287
- _sfc_main$x as FdsCheckbox,
20288
- _sfc_main$n as FdsDevMode,
20289
- _sfc_main$m as FdsExitModal,
20749
+ _sfc_main$L as FdsBlockAlert,
20750
+ _sfc_main$K as FdsBlockContent,
20751
+ _sfc_main$I as FdsBlockExpander,
20752
+ _sfc_main$H as FdsBlockInfo,
20753
+ _sfc_main$G as FdsBlockLink,
20754
+ _sfc_main$D as FdsButtonCopy,
20755
+ _sfc_main$C as FdsButtonDownload,
20756
+ _sfc_main$M as FdsButtonIcon,
20757
+ _sfc_main$E as FdsButtonMinor,
20758
+ _sfc_main$B as FdsButtonPrimary,
20759
+ _sfc_main$A as FdsButtonSecondary,
20760
+ _sfc_main$y as FdsCheckbox,
20761
+ _sfc_main$o as FdsDevMode,
20762
+ _sfc_main$n as FdsExitModal,
20290
20763
  _sfc_main$4 as FdsH1,
20291
20764
  _sfc_main$3 as FdsH2,
20292
20765
  _sfc_main$2 as FdsH3,
20293
20766
  _sfc_main$1 as FdsHr,
20294
- _sfc_main$M as FdsIcon,
20295
- _sfc_main$r as FdsInput,
20296
- _sfc_main$v as FdsLabel,
20297
- _sfc_main$c as FdsLead,
20767
+ _sfc_main$N as FdsIcon,
20768
+ _sfc_main$s as FdsInput,
20769
+ _sfc_main$w as FdsLabel,
20770
+ _sfc_main$d as FdsLead,
20298
20771
  _sfc_main as FdsListHeading,
20299
- _sfc_main$s as FdsMeta,
20300
- _sfc_main$t as FdsModal,
20301
- _sfc_main$l as FdsPagination,
20302
- _sfc_main$9 as FdsPhonenumber,
20303
- _sfc_main$k as FdsPopover,
20304
- _sfc_main$w as FdsRadio,
20305
- _sfc_main$j as FdsSearchSelect,
20306
- _sfc_main$i as FdsSearchSelectPro,
20772
+ _sfc_main$t as FdsMeta,
20773
+ _sfc_main$u as FdsModal,
20774
+ _sfc_main$m as FdsPagination,
20775
+ _sfc_main$a as FdsPhonenumber,
20776
+ _sfc_main$l as FdsPopover,
20777
+ _sfc_main$x as FdsRadio,
20778
+ _sfc_main$k as FdsSearchSelect,
20779
+ _sfc_main$j as FdsSearchSelectPro,
20307
20780
  _sfc_main$8 as FdsSelect,
20308
- _sfc_main$E as FdsSpinner,
20309
- _sfc_main$I as FdsSticker,
20781
+ _sfc_main$F as FdsSpinner,
20782
+ _sfc_main$9 as FdsSsn,
20783
+ _sfc_main$J as FdsSticker,
20310
20784
  _sfc_main$6 as FdsTable,
20311
20785
  _sfc_main$5 as FdsTableHead,
20312
- _sfc_main$q as FdsTabs,
20313
- _sfc_main$p as FdsTabsItem,
20786
+ _sfc_main$r as FdsTabs,
20787
+ _sfc_main$q as FdsTabsItem,
20314
20788
  _sfc_main$7 as FdsTextarea,
20315
- _sfc_main$g as FdsTreeView,
20316
- _sfc_main$f as FdsTruncatedText,
20317
- _sfc_main$d as FdsWeekCalendar,
20318
- _sfc_main$b as FdsWizard,
20789
+ _sfc_main$h as FdsTreeView,
20790
+ _sfc_main$g as FdsTruncatedText,
20791
+ _sfc_main$e as FdsWeekCalendar,
20792
+ _sfc_main$c as FdsWizard,
20319
20793
  PID_MASK,
20320
20794
  PID_MASK_OPTIONS,
20795
+ SSN_INTERIM_MASK,
20796
+ SSN_MASK,
20321
20797
  bankid,
20322
20798
  buildCountryOptions,
20323
20799
  capitalizeFirstLetter,
@@ -20329,6 +20805,9 @@ export {
20329
20805
  formatPidWithDash,
20330
20806
  getExitGuardWizardId,
20331
20807
  getPhoneValidationState,
20808
+ getSsnMask,
20809
+ getSsnMaskOptions,
20810
+ getSsnValidationState,
20332
20811
  isPidString,
20333
20812
  isRelativeHref,
20334
20813
  logoFeelgoodColored,
@@ -20340,6 +20819,7 @@ export {
20340
20819
  shouldBlockNavigation,
20341
20820
  shouldBlockWizardExit,
20342
20821
  sortCountryOptionsByName,
20822
+ stripSsnSeparators,
20343
20823
  teardownRouterLinkInterceptor,
20344
20824
  useBoldQuery,
20345
20825
  useDevMode,
@@ -20354,6 +20834,8 @@ export {
20354
20834
  useRouteScrollPositions,
20355
20835
  useTreeState,
20356
20836
  useViewportBreakpoint,
20357
- validatePhoneNumber
20837
+ validatePhoneNumber,
20838
+ validateSsn,
20839
+ validateSsnNumber
20358
20840
  };
20359
20841
  //# sourceMappingURL=fds-vue-core.es.js.map