fds-vue-core 8.2.4 → 8.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components.d.ts +44 -42
- package/dist/components/Form/FdsSsn/FdsSsn.vue.d.ts +33 -0
- package/dist/components/Form/FdsSsn/ssnMask.d.ts +19 -0
- package/dist/components/Form/FdsSsn/types.d.ts +24 -0
- package/dist/fds-vue-core.cjs.js +784 -305
- package/dist/fds-vue-core.cjs.js.map +1 -1
- package/dist/fds-vue-core.css +1 -1
- package/dist/fds-vue-core.es.js +785 -306
- package/dist/fds-vue-core.es.js.map +1 -1
- package/dist/helpers/validateSsn.d.ts +16 -0
- package/dist/index.d.ts +5 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +17 -16
- package/src/components/FdsDevMode/FdsDevModeStorage.vue +1 -1
- package/src/components/Form/FdsCheckbox/FdsCheckbox.vue +3 -6
- package/src/components/Form/FdsInput/FdsInput.vue +3 -3
- package/src/components/Form/FdsRadio/FdsRadio.vue +1 -1
- package/src/components/Form/FdsSelect/FdsSelect.vue +2 -2
- package/src/components/Form/FdsSsn/FdsSsn.stories.ts +131 -0
- package/src/components/Form/FdsSsn/FdsSsn.vue +133 -0
- package/src/components/Form/FdsSsn/ssnMask.ts +20 -0
- package/src/components/Form/FdsSsn/types.ts +36 -0
- package/src/components/Form/FdsTextarea/FdsTextarea.vue +2 -2
- package/src/helpers/validateSsn.ts +63 -0
- package/src/index.ts +16 -0
- package/src/lang/en.json +2 -0
- package/src/lang/sv.json +2 -0
package/dist/fds-vue-core.es.js
CHANGED
|
@@ -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$
|
|
752
|
-
const _sfc_main$
|
|
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$
|
|
789
|
+
}, rootAttrs.value, { innerHTML: svgHtml.value }), null, 16, _hoisted_1$B);
|
|
786
790
|
};
|
|
787
791
|
}
|
|
788
792
|
});
|
|
789
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
917
|
+
createElementVNode("div", _hoisted_1$A, [
|
|
914
918
|
createElementVNode("div", _hoisted_2$q, [
|
|
915
|
-
createVNode(_sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1022
|
+
], 16, _hoisted_1$z);
|
|
1019
1023
|
};
|
|
1020
1024
|
}
|
|
1021
1025
|
});
|
|
1022
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1309
|
+
], 16, _hoisted_1$x);
|
|
1306
1310
|
};
|
|
1307
1311
|
}
|
|
1308
1312
|
});
|
|
1309
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1468
|
-
const _sfc_main$
|
|
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$
|
|
1552
|
+
], 16, _hoisted_1$v);
|
|
1549
1553
|
};
|
|
1550
1554
|
}
|
|
1551
1555
|
});
|
|
1552
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
1663
|
+
], 10, _hoisted_1$u);
|
|
1660
1664
|
};
|
|
1661
1665
|
}
|
|
1662
1666
|
});
|
|
1663
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
1730
|
-
createVNode(_sfc_main$
|
|
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$
|
|
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$
|
|
5024
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
5136
|
+
], 16, _hoisted_1$s);
|
|
5133
5137
|
};
|
|
5134
5138
|
}
|
|
5135
5139
|
});
|
|
5136
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
5247
|
+
], 10, _hoisted_1$r);
|
|
5244
5248
|
};
|
|
5245
5249
|
}
|
|
5246
5250
|
});
|
|
5247
|
-
const _hoisted_1$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
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$
|
|
5678
|
-
const _sfc_main$
|
|
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$
|
|
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$
|
|
5801
|
+
const _hoisted_1$o = ["for"];
|
|
5798
5802
|
const _hoisted_2$j = ["value", "disabled", "required"];
|
|
5799
|
-
const _sfc_main$
|
|
5803
|
+
const _sfc_main$y = /* @__PURE__ */ defineComponent({
|
|
5800
5804
|
...{
|
|
5801
5805
|
inheritAttrs: false
|
|
5802
5806
|
},
|
|
@@ -5826,10 +5830,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
5826
5830
|
onKeydown: {},
|
|
5827
5831
|
onKeyup: {}
|
|
5828
5832
|
}, {
|
|
5829
|
-
"modelValue": { type: [Boolean, Array],
|
|
5830
|
-
default: void 0,
|
|
5831
|
-
required: false
|
|
5832
|
-
} },
|
|
5833
|
+
"modelValue": { type: [Boolean, Array] },
|
|
5833
5834
|
"modelModifiers": {}
|
|
5834
5835
|
}),
|
|
5835
5836
|
emits: /* @__PURE__ */ mergeModels(["change", "input", "update:checked"], ["update:modelValue"]),
|
|
@@ -5963,18 +5964,18 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
|
5963
5964
|
key: 0,
|
|
5964
5965
|
class: normalizeClass(["relative inline-block leading-6 pl-1 select-none", { "cursor-not-allowed": props.disabled }])
|
|
5965
5966
|
}, [
|
|
5966
|
-
unref(hasLabelSlot) ? renderSlot(_ctx.$slots, "default", {
|
|
5967
|
+
unref(hasLabelSlot) ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : props.label ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
5967
5968
|
createTextVNode(toDisplayString(props.label), 1)
|
|
5968
5969
|
], 64)) : createCommentVNode("", true)
|
|
5969
5970
|
], 2)) : createCommentVNode("", true)
|
|
5970
|
-
], 16, _hoisted_1$
|
|
5971
|
+
], 16, _hoisted_1$o)
|
|
5971
5972
|
], 2);
|
|
5972
5973
|
};
|
|
5973
5974
|
}
|
|
5974
5975
|
});
|
|
5975
|
-
const _hoisted_1$
|
|
5976
|
+
const _hoisted_1$n = ["for"];
|
|
5976
5977
|
const _hoisted_2$i = ["value", "checked", "disabled", "required"];
|
|
5977
|
-
const _sfc_main$
|
|
5978
|
+
const _sfc_main$x = /* @__PURE__ */ defineComponent({
|
|
5978
5979
|
...{
|
|
5979
5980
|
inheritAttrs: false
|
|
5980
5981
|
},
|
|
@@ -6003,7 +6004,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
6003
6004
|
onKeydown: {},
|
|
6004
6005
|
onKeyup: {}
|
|
6005
6006
|
}, {
|
|
6006
|
-
"modelValue": { type: [String, Number, Boolean, null]
|
|
6007
|
+
"modelValue": { type: [String, Number, Boolean, null] },
|
|
6007
6008
|
"modelModifiers": {}
|
|
6008
6009
|
}),
|
|
6009
6010
|
emits: /* @__PURE__ */ mergeModels(["update:modelValue", "update:checked", "change", "input"], ["update:modelValue"]),
|
|
@@ -6101,11 +6102,11 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
|
6101
6102
|
key: 0,
|
|
6102
6103
|
class: normalizeClass(["relative inline-block leading-6 pl-1 select-none", { "cursor-not-allowed": props.disabled }])
|
|
6103
6104
|
}, [
|
|
6104
|
-
unref(hasLabelSlot) ? renderSlot(_ctx.$slots, "default", {
|
|
6105
|
+
unref(hasLabelSlot) ? renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 0) : props.label ? (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
6105
6106
|
createTextVNode(toDisplayString(props.label), 1)
|
|
6106
6107
|
], 64)) : createCommentVNode("", true)
|
|
6107
6108
|
], 2)) : createCommentVNode("", true)
|
|
6108
|
-
], 16, _hoisted_1$
|
|
6109
|
+
], 16, _hoisted_1$n)
|
|
6109
6110
|
], 2);
|
|
6110
6111
|
};
|
|
6111
6112
|
}
|
|
@@ -6122,7 +6123,7 @@ function classValueToString(value) {
|
|
|
6122
6123
|
}
|
|
6123
6124
|
return String(value);
|
|
6124
6125
|
}
|
|
6125
|
-
const _sfc_main$
|
|
6126
|
+
const _sfc_main$w = /* @__PURE__ */ defineComponent({
|
|
6126
6127
|
...{
|
|
6127
6128
|
inheritAttrs: false
|
|
6128
6129
|
},
|
|
@@ -6153,7 +6154,7 @@ const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
|
6153
6154
|
};
|
|
6154
6155
|
}
|
|
6155
6156
|
});
|
|
6156
|
-
const _hoisted_1$
|
|
6157
|
+
const _hoisted_1$m = {
|
|
6157
6158
|
key: 0,
|
|
6158
6159
|
class: "absolute bottom-full right-0 mb-3 z-60 flex min-w-54 flex-col font-normal"
|
|
6159
6160
|
};
|
|
@@ -6169,7 +6170,7 @@ const _hoisted_5$d = {
|
|
|
6169
6170
|
};
|
|
6170
6171
|
const _hoisted_6$9 = { key: 2 };
|
|
6171
6172
|
const OVERLAY_OPEN_KEY = "devModeOverlayOpen";
|
|
6172
|
-
const _sfc_main$
|
|
6173
|
+
const _sfc_main$v = /* @__PURE__ */ defineComponent({
|
|
6173
6174
|
__name: "FdsDevModeOverlay",
|
|
6174
6175
|
props: {
|
|
6175
6176
|
environment: { default: null },
|
|
@@ -6236,11 +6237,11 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6236
6237
|
() => checkToggles.value.length > 0 || radioToggles.value.length > 0 || buttonToggles.value.length > 0 || canToggleI18nKeys.value || showLocaleSwitcher.value
|
|
6237
6238
|
);
|
|
6238
6239
|
return (_ctx, _cache) => {
|
|
6239
|
-
return hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
6240
|
+
return hasContent.value ? (openBlock(), createElementBlock("div", _hoisted_1$m, [
|
|
6240
6241
|
isOpen.value ? (openBlock(), createElementBlock("div", _hoisted_2$h, [
|
|
6241
6242
|
createElementVNode("div", _hoisted_3$h, [
|
|
6242
6243
|
createElementVNode("div", null, [
|
|
6243
|
-
unref(canToggleI18nKeys) ? (openBlock(), createBlock(_sfc_main$
|
|
6244
|
+
unref(canToggleI18nKeys) ? (openBlock(), createBlock(_sfc_main$y, {
|
|
6244
6245
|
key: 0,
|
|
6245
6246
|
checked: unref(showingTranslationKeys),
|
|
6246
6247
|
onChange: unref(setI18nKeysVisibility),
|
|
@@ -6252,7 +6253,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6252
6253
|
_: 1
|
|
6253
6254
|
}, 8, ["checked", "onChange"])) : createCommentVNode("", true),
|
|
6254
6255
|
(openBlock(true), createElementBlock(Fragment, null, renderList(checkToggles.value, (toggle) => {
|
|
6255
|
-
return openBlock(), createBlock(_sfc_main$
|
|
6256
|
+
return openBlock(), createBlock(_sfc_main$y, {
|
|
6256
6257
|
key: `${toggle.key}-${toggle.checked}`,
|
|
6257
6258
|
checked: toggle.checked,
|
|
6258
6259
|
class: "mb-0!",
|
|
@@ -6267,7 +6268,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6267
6268
|
]),
|
|
6268
6269
|
radioToggles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_4$f, [
|
|
6269
6270
|
(openBlock(true), createElementBlock(Fragment, null, renderList(radioToggles.value, (toggle) => {
|
|
6270
|
-
return openBlock(), createBlock(_sfc_main$
|
|
6271
|
+
return openBlock(), createBlock(_sfc_main$x, {
|
|
6271
6272
|
key: `${toggle.key}-${toggle.checked}`,
|
|
6272
6273
|
name: toggle.group,
|
|
6273
6274
|
value: toggle.value,
|
|
@@ -6284,7 +6285,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6284
6285
|
])) : createCommentVNode("", true),
|
|
6285
6286
|
buttonToggles.value.length > 0 ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
|
|
6286
6287
|
(openBlock(true), createElementBlock(Fragment, null, renderList(buttonToggles.value, (toggle) => {
|
|
6287
|
-
return openBlock(), createBlock(_sfc_main$
|
|
6288
|
+
return openBlock(), createBlock(_sfc_main$E, {
|
|
6288
6289
|
key: toggle.key,
|
|
6289
6290
|
size: "sm",
|
|
6290
6291
|
block: "",
|
|
@@ -6295,7 +6296,7 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6295
6296
|
])) : createCommentVNode("", true),
|
|
6296
6297
|
showLocaleSwitcher.value ? (openBlock(), createElementBlock("div", _hoisted_6$9, [
|
|
6297
6298
|
(openBlock(true), createElementBlock(Fragment, null, renderList(localeOptions.value, (localeCode) => {
|
|
6298
|
-
return openBlock(), createBlock(_sfc_main$
|
|
6299
|
+
return openBlock(), createBlock(_sfc_main$x, {
|
|
6299
6300
|
key: localeCode,
|
|
6300
6301
|
name: "fds-dev-mode-locale",
|
|
6301
6302
|
value: localeCode,
|
|
@@ -6319,13 +6320,13 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6319
6320
|
onClick: _cache[0] || (_cache[0] = ($event) => isOpen.value = !isOpen.value),
|
|
6320
6321
|
class: "flex w-full cursor-pointer justify-between gap-2 px-3 py-2 active:bg-gray-100"
|
|
6321
6322
|
}, [
|
|
6322
|
-
createVNode(_sfc_main$
|
|
6323
|
+
createVNode(_sfc_main$w, { class: "mb-0!" }, {
|
|
6323
6324
|
default: withCtx(() => [
|
|
6324
6325
|
createTextVNode(toDisplayString(unref(t)("FdsDevMode.overlay.quickSettings")), 1)
|
|
6325
6326
|
]),
|
|
6326
6327
|
_: 1
|
|
6327
6328
|
}),
|
|
6328
|
-
createVNode(_sfc_main$
|
|
6329
|
+
createVNode(_sfc_main$N, {
|
|
6329
6330
|
name: isOpen.value ? "arrowUp" : "arrowDown",
|
|
6330
6331
|
size: 20,
|
|
6331
6332
|
class: "fill-gray-700"
|
|
@@ -6336,10 +6337,10 @@ const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
|
6336
6337
|
};
|
|
6337
6338
|
}
|
|
6338
6339
|
});
|
|
6339
|
-
const _hoisted_1$
|
|
6340
|
+
const _hoisted_1$l = { class: "flex justify-between mb-4" };
|
|
6340
6341
|
const _hoisted_2$g = { class: "flex items-center gap-2" };
|
|
6341
6342
|
const _hoisted_3$g = { class: "mb-0-last-child" };
|
|
6342
|
-
const _sfc_main$
|
|
6343
|
+
const _sfc_main$u = /* @__PURE__ */ defineComponent({
|
|
6343
6344
|
__name: "FdsModal",
|
|
6344
6345
|
props: {
|
|
6345
6346
|
open: { type: Boolean, default: false },
|
|
@@ -6568,9 +6569,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
6568
6569
|
createElementVNode("div", {
|
|
6569
6570
|
class: normalizeClass(__props.resizable ? "overflow-auto flex-1 min-h-0" : "")
|
|
6570
6571
|
}, [
|
|
6571
|
-
createElementVNode("div", _hoisted_1$
|
|
6572
|
+
createElementVNode("div", _hoisted_1$l, [
|
|
6572
6573
|
createElementVNode("div", _hoisted_2$g, [
|
|
6573
|
-
iconName.value ? (openBlock(), createBlock(_sfc_main$
|
|
6574
|
+
iconName.value ? (openBlock(), createBlock(_sfc_main$N, {
|
|
6574
6575
|
key: 0,
|
|
6575
6576
|
name: iconName.value,
|
|
6576
6577
|
size: 24,
|
|
@@ -6581,7 +6582,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
|
6581
6582
|
class: normalizeClass(headerTitleClasses.value)
|
|
6582
6583
|
}, toDisplayString(__props.heading), 3)
|
|
6583
6584
|
]),
|
|
6584
|
-
!__props.strict ? (openBlock(), createBlock(_sfc_main$
|
|
6585
|
+
!__props.strict ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
|
|
6585
6586
|
key: 0,
|
|
6586
6587
|
icon: "cross",
|
|
6587
6588
|
size: 28,
|
|
@@ -9843,7 +9844,7 @@ try {
|
|
|
9843
9844
|
globalThis.IMask = IMask;
|
|
9844
9845
|
} catch {
|
|
9845
9846
|
}
|
|
9846
|
-
const _sfc_main$
|
|
9847
|
+
const _sfc_main$t = /* @__PURE__ */ defineComponent({
|
|
9847
9848
|
...{
|
|
9848
9849
|
inheritAttrs: false
|
|
9849
9850
|
},
|
|
@@ -9874,7 +9875,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
|
9874
9875
|
};
|
|
9875
9876
|
}
|
|
9876
9877
|
});
|
|
9877
|
-
const _hoisted_1$
|
|
9878
|
+
const _hoisted_1$k = ["for", "id"];
|
|
9878
9879
|
const _hoisted_2$f = { class: "relative" };
|
|
9879
9880
|
const _hoisted_3$f = ["type", "required", "disabled", "tabindex", "aria-invalid", "aria-label", "aria-labelledby", "aria-describedby", "autocomplete", "placeholder", "pattern", "searchIcon"];
|
|
9880
9881
|
const _hoisted_4$e = {
|
|
@@ -9882,7 +9883,7 @@ const _hoisted_4$e = {
|
|
|
9882
9883
|
class: "text-red-700 font-bold mt-1"
|
|
9883
9884
|
};
|
|
9884
9885
|
const inputPaddingClasses = "px-3 py-[calc(0.75rem-1px)]";
|
|
9885
|
-
const _sfc_main$
|
|
9886
|
+
const _sfc_main$s = /* @__PURE__ */ defineComponent({
|
|
9886
9887
|
...{
|
|
9887
9888
|
inheritAttrs: false
|
|
9888
9889
|
},
|
|
@@ -9929,7 +9930,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
9929
9930
|
onKeydown: {},
|
|
9930
9931
|
onKeyup: {}
|
|
9931
9932
|
}, {
|
|
9932
|
-
"modelValue": { default:
|
|
9933
|
+
"modelValue": { default: "" },
|
|
9933
9934
|
"modelModifiers": {}
|
|
9934
9935
|
}),
|
|
9935
9936
|
emits: /* @__PURE__ */ mergeModels(["input", "autocomplete", "clearInput", "update:value", "keyup", "keyup.enter", "blur"], ["update:modelValue"]),
|
|
@@ -10182,8 +10183,8 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10182
10183
|
for: inputId.value,
|
|
10183
10184
|
id: labelId.value,
|
|
10184
10185
|
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$
|
|
10186
|
-
props.meta ? (openBlock(), createBlock(_sfc_main$
|
|
10186
|
+
}, labelAttrs.value), toDisplayString(props.label), 17, _hoisted_1$k)) : createCommentVNode("", true),
|
|
10187
|
+
props.meta ? (openBlock(), createBlock(_sfc_main$t, {
|
|
10187
10188
|
key: 1,
|
|
10188
10189
|
id: metaId.value,
|
|
10189
10190
|
class: normalizeClass({ "mb-1": !props.labelLeft })
|
|
@@ -10228,7 +10229,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10228
10229
|
createElementVNode("div", {
|
|
10229
10230
|
class: normalizeClass(rightIconsContainerClasses.value)
|
|
10230
10231
|
}, [
|
|
10231
|
-
showDateIcon.value ? (openBlock(), createBlock(_sfc_main$
|
|
10232
|
+
showDateIcon.value ? (openBlock(), createBlock(_sfc_main$M, {
|
|
10232
10233
|
key: 0,
|
|
10233
10234
|
"aria-label": dateButtonLabel.value,
|
|
10234
10235
|
onClick: onDateIconClick,
|
|
@@ -10236,29 +10237,29 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10236
10237
|
size: 28,
|
|
10237
10238
|
class: "fill-blue-500"
|
|
10238
10239
|
}, null, 8, ["aria-label"])) : createCommentVNode("", true),
|
|
10239
|
-
isInvalid.value ? (openBlock(), createBlock(_sfc_main$
|
|
10240
|
+
isInvalid.value ? (openBlock(), createBlock(_sfc_main$N, {
|
|
10240
10241
|
key: 1,
|
|
10241
10242
|
name: "alert",
|
|
10242
10243
|
class: "fill-red-700"
|
|
10243
10244
|
})) : createCommentVNode("", true),
|
|
10244
|
-
isValid2.value ? (openBlock(), createBlock(_sfc_main$
|
|
10245
|
+
isValid2.value ? (openBlock(), createBlock(_sfc_main$N, {
|
|
10245
10246
|
key: 2,
|
|
10246
10247
|
name: "bigSuccess"
|
|
10247
10248
|
})) : createCommentVNode("", true),
|
|
10248
|
-
props.searchIcon ? (openBlock(), createBlock(_sfc_main$
|
|
10249
|
+
props.searchIcon ? (openBlock(), createBlock(_sfc_main$N, {
|
|
10249
10250
|
key: 3,
|
|
10250
10251
|
name: "search",
|
|
10251
10252
|
size: 24,
|
|
10252
10253
|
class: "fill-blue-500"
|
|
10253
10254
|
})) : createCommentVNode("", true),
|
|
10254
|
-
showClearButton.value ? (openBlock(), createBlock(_sfc_main$
|
|
10255
|
+
showClearButton.value ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
|
|
10255
10256
|
key: 4,
|
|
10256
10257
|
icon: "cross"
|
|
10257
10258
|
}, { "aria-label": clearButtonLabel.value }, {
|
|
10258
10259
|
onClick: onClear,
|
|
10259
10260
|
size: 30
|
|
10260
10261
|
}), null, 16)) : createCommentVNode("", true),
|
|
10261
|
-
showPasswordToggle.value ? (openBlock(), createBlock(_sfc_main$
|
|
10262
|
+
showPasswordToggle.value ? (openBlock(), createBlock(_sfc_main$E, {
|
|
10262
10263
|
key: 5,
|
|
10263
10264
|
icon: showPassword.value ? "viewOff" : "viewOn",
|
|
10264
10265
|
text: showPassword.value ? passwordButtonHideLabel.value : passwordButtonShowLabel.value,
|
|
@@ -10278,7 +10279,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
|
10278
10279
|
};
|
|
10279
10280
|
}
|
|
10280
10281
|
});
|
|
10281
|
-
const _sfc_main$
|
|
10282
|
+
const _sfc_main$r = /* @__PURE__ */ defineComponent({
|
|
10282
10283
|
__name: "FdsTabs",
|
|
10283
10284
|
props: {
|
|
10284
10285
|
block: { type: Boolean, default: false },
|
|
@@ -10311,7 +10312,7 @@ const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
|
10311
10312
|
};
|
|
10312
10313
|
}
|
|
10313
10314
|
});
|
|
10314
|
-
const _sfc_main$
|
|
10315
|
+
const _sfc_main$q = /* @__PURE__ */ defineComponent({
|
|
10315
10316
|
...{
|
|
10316
10317
|
inheritAttrs: false
|
|
10317
10318
|
},
|
|
@@ -10426,7 +10427,7 @@ const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
|
10426
10427
|
};
|
|
10427
10428
|
}
|
|
10428
10429
|
});
|
|
10429
|
-
const _hoisted_1$
|
|
10430
|
+
const _hoisted_1$j = { class: "space-y-6" };
|
|
10430
10431
|
const _hoisted_2$e = {
|
|
10431
10432
|
key: 0,
|
|
10432
10433
|
class: "text-sm text-gray-600"
|
|
@@ -10525,7 +10526,7 @@ const _hoisted_59 = {
|
|
|
10525
10526
|
class: "mt-2"
|
|
10526
10527
|
};
|
|
10527
10528
|
const _hoisted_60 = { class: "mt-4 flex justify-end gap-3" };
|
|
10528
|
-
const _sfc_main$
|
|
10529
|
+
const _sfc_main$p = /* @__PURE__ */ defineComponent({
|
|
10529
10530
|
__name: "FdsDevModeStorage",
|
|
10530
10531
|
props: {
|
|
10531
10532
|
open: { type: Boolean, default: false },
|
|
@@ -10698,7 +10699,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10698
10699
|
loadStorageEntries();
|
|
10699
10700
|
};
|
|
10700
10701
|
return (_ctx, _cache) => {
|
|
10701
|
-
return openBlock(), createBlock(_sfc_main$
|
|
10702
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
10702
10703
|
open: isOpen.value,
|
|
10703
10704
|
heading: "DevTools",
|
|
10704
10705
|
size: "xl",
|
|
@@ -10708,31 +10709,31 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10708
10709
|
onClose: _cache[11] || (_cache[11] = () => handleOpenChange(false))
|
|
10709
10710
|
}, {
|
|
10710
10711
|
default: withCtx(() => [
|
|
10711
|
-
createElementVNode("div", _hoisted_1$
|
|
10712
|
-
createVNode(_sfc_main$
|
|
10712
|
+
createElementVNode("div", _hoisted_1$j, [
|
|
10713
|
+
createVNode(_sfc_main$r, {
|
|
10713
10714
|
variant: "secondary",
|
|
10714
10715
|
class: "flex-wrap overflow-visible! *:w-auto!"
|
|
10715
10716
|
}, {
|
|
10716
10717
|
default: withCtx(() => [
|
|
10717
|
-
createVNode(_sfc_main$
|
|
10718
|
+
createVNode(_sfc_main$q, {
|
|
10718
10719
|
label: unref(t)("FdsDevModeStorage.tabs.localStorage"),
|
|
10719
10720
|
active: activeTab.value === "local",
|
|
10720
10721
|
as: "button",
|
|
10721
10722
|
onClick: _cache[0] || (_cache[0] = ($event) => activeTab.value = "local")
|
|
10722
10723
|
}, null, 8, ["label", "active"]),
|
|
10723
|
-
createVNode(_sfc_main$
|
|
10724
|
+
createVNode(_sfc_main$q, {
|
|
10724
10725
|
label: unref(t)("FdsDevModeStorage.tabs.sessionStorage"),
|
|
10725
10726
|
active: activeTab.value === "session",
|
|
10726
10727
|
as: "button",
|
|
10727
10728
|
onClick: _cache[1] || (_cache[1] = ($event) => activeTab.value = "session")
|
|
10728
10729
|
}, null, 8, ["label", "active"]),
|
|
10729
|
-
createVNode(_sfc_main$
|
|
10730
|
+
createVNode(_sfc_main$q, {
|
|
10730
10731
|
label: unref(t)("FdsDevModeStorage.tabs.cookies"),
|
|
10731
10732
|
active: activeTab.value === "cookies",
|
|
10732
10733
|
as: "button",
|
|
10733
10734
|
onClick: _cache[2] || (_cache[2] = ($event) => activeTab.value = "cookies")
|
|
10734
10735
|
}, null, 8, ["label", "active"]),
|
|
10735
|
-
createVNode(_sfc_main$
|
|
10736
|
+
createVNode(_sfc_main$q, {
|
|
10736
10737
|
label: unref(t)("FdsDevModeStorage.tabs.actions"),
|
|
10737
10738
|
active: activeTab.value === "actions",
|
|
10738
10739
|
as: "button",
|
|
@@ -10741,7 +10742,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10741
10742
|
]),
|
|
10742
10743
|
_: 1
|
|
10743
10744
|
}),
|
|
10744
|
-
activeTab.value === "local" ? (openBlock(), createBlock(_sfc_main$
|
|
10745
|
+
activeTab.value === "local" ? (openBlock(), createBlock(_sfc_main$H, {
|
|
10745
10746
|
key: 0,
|
|
10746
10747
|
heading: unref(t)("FdsDevModeStorage.tabs.localStorage"),
|
|
10747
10748
|
icon: "information",
|
|
@@ -10795,12 +10796,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10795
10796
|
])
|
|
10796
10797
|
]),
|
|
10797
10798
|
localEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_18, [
|
|
10798
|
-
createVNode(_sfc_main$
|
|
10799
|
+
createVNode(_sfc_main$A, {
|
|
10799
10800
|
text: unref(t)("FdsDevModeStorage.actions.delete"),
|
|
10800
10801
|
size: "sm",
|
|
10801
10802
|
onClick: deleteLocalEntry
|
|
10802
10803
|
}, null, 8, ["text"]),
|
|
10803
|
-
createVNode(_sfc_main$
|
|
10804
|
+
createVNode(_sfc_main$B, {
|
|
10804
10805
|
text: unref(t)("FdsDevModeStorage.actions.save"),
|
|
10805
10806
|
size: "sm",
|
|
10806
10807
|
onClick: saveLocalEntry
|
|
@@ -10809,7 +10810,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10809
10810
|
])
|
|
10810
10811
|
]),
|
|
10811
10812
|
_: 1
|
|
10812
|
-
}, 8, ["heading"])) : activeTab.value === "session" ? (openBlock(), createBlock(_sfc_main$
|
|
10813
|
+
}, 8, ["heading"])) : activeTab.value === "session" ? (openBlock(), createBlock(_sfc_main$H, {
|
|
10813
10814
|
key: 1,
|
|
10814
10815
|
heading: unref(t)("FdsDevModeStorage.tabs.sessionStorage"),
|
|
10815
10816
|
icon: "information",
|
|
@@ -10863,12 +10864,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10863
10864
|
])
|
|
10864
10865
|
]),
|
|
10865
10866
|
sessionEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_35, [
|
|
10866
|
-
createVNode(_sfc_main$
|
|
10867
|
+
createVNode(_sfc_main$A, {
|
|
10867
10868
|
text: unref(t)("FdsDevModeStorage.actions.delete"),
|
|
10868
10869
|
size: "sm",
|
|
10869
10870
|
onClick: deleteSessionEntry
|
|
10870
10871
|
}, null, 8, ["text"]),
|
|
10871
|
-
createVNode(_sfc_main$
|
|
10872
|
+
createVNode(_sfc_main$B, {
|
|
10872
10873
|
text: unref(t)("FdsDevModeStorage.actions.save"),
|
|
10873
10874
|
size: "sm",
|
|
10874
10875
|
onClick: saveSessionEntry
|
|
@@ -10877,7 +10878,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10877
10878
|
])
|
|
10878
10879
|
]),
|
|
10879
10880
|
_: 1
|
|
10880
|
-
}, 8, ["heading"])) : activeTab.value === "cookies" ? (openBlock(), createBlock(_sfc_main$
|
|
10881
|
+
}, 8, ["heading"])) : activeTab.value === "cookies" ? (openBlock(), createBlock(_sfc_main$H, {
|
|
10881
10882
|
key: 2,
|
|
10882
10883
|
heading: unref(t)("FdsDevModeStorage.tabs.cookies"),
|
|
10883
10884
|
icon: "information",
|
|
@@ -10931,12 +10932,12 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10931
10932
|
])
|
|
10932
10933
|
]),
|
|
10933
10934
|
cookieEditKey.value ? (openBlock(), createElementBlock("div", _hoisted_52, [
|
|
10934
|
-
createVNode(_sfc_main$
|
|
10935
|
+
createVNode(_sfc_main$A, {
|
|
10935
10936
|
text: unref(t)("FdsDevModeStorage.actions.delete"),
|
|
10936
10937
|
size: "sm",
|
|
10937
10938
|
onClick: deleteCookieEntry
|
|
10938
10939
|
}, null, 8, ["text"]),
|
|
10939
|
-
createVNode(_sfc_main$
|
|
10940
|
+
createVNode(_sfc_main$B, {
|
|
10940
10941
|
text: unref(t)("FdsDevModeStorage.actions.save"),
|
|
10941
10942
|
size: "sm",
|
|
10942
10943
|
onClick: saveCookieEntry
|
|
@@ -10945,7 +10946,7 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10945
10946
|
])
|
|
10946
10947
|
]),
|
|
10947
10948
|
_: 1
|
|
10948
|
-
}, 8, ["heading"])) : activeTab.value === "actions" ? (openBlock(), createBlock(_sfc_main$
|
|
10949
|
+
}, 8, ["heading"])) : activeTab.value === "actions" ? (openBlock(), createBlock(_sfc_main$H, {
|
|
10949
10950
|
key: 3,
|
|
10950
10951
|
heading: unref(t)("FdsDevModeStorage.tabs.actions"),
|
|
10951
10952
|
icon: "information",
|
|
@@ -10963,18 +10964,18 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10963
10964
|
createElementVNode("div", _hoisted_57, toDisplayString(action.label), 1),
|
|
10964
10965
|
action.description ? (openBlock(), createElementBlock("div", _hoisted_58, toDisplayString(action.description), 1)) : createCommentVNode("", true)
|
|
10965
10966
|
]),
|
|
10966
|
-
createVNode(_sfc_main$
|
|
10967
|
+
createVNode(_sfc_main$A, {
|
|
10967
10968
|
text: action.label,
|
|
10968
10969
|
size: "sm",
|
|
10969
10970
|
onClick: ($event) => runAction(index, action)
|
|
10970
10971
|
}, null, 8, ["text", "onClick"])
|
|
10971
10972
|
]),
|
|
10972
10973
|
action.input ? (openBlock(), createElementBlock("div", _hoisted_59, [
|
|
10973
|
-
createVNode(_sfc_main$
|
|
10974
|
+
createVNode(_sfc_main$s, {
|
|
10974
10975
|
type: action.input.type ?? "text",
|
|
10975
10976
|
modelValue: getActionInputValue(index, action.input.defaultValue),
|
|
10976
10977
|
placeholder: action.input.placeholder,
|
|
10977
|
-
"onUpdate:modelValue": ($event) => setActionInputValue(index, $event)
|
|
10978
|
+
"onUpdate:modelValue": ($event) => setActionInputValue(index, $event ?? "")
|
|
10978
10979
|
}, null, 8, ["type", "modelValue", "placeholder", "onUpdate:modelValue"])
|
|
10979
10980
|
])) : createCommentVNode("", true)
|
|
10980
10981
|
]);
|
|
@@ -10984,11 +10985,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
10984
10985
|
_: 1
|
|
10985
10986
|
}, 8, ["heading"])) : createCommentVNode("", true),
|
|
10986
10987
|
createElementVNode("div", _hoisted_60, [
|
|
10987
|
-
createVNode(_sfc_main$
|
|
10988
|
+
createVNode(_sfc_main$A, {
|
|
10988
10989
|
text: unref(t)("FdsDevModeStorage.actions.refresh"),
|
|
10989
10990
|
onClick: refreshStorageEntries
|
|
10990
10991
|
}, null, 8, ["text"]),
|
|
10991
|
-
createVNode(_sfc_main$
|
|
10992
|
+
createVNode(_sfc_main$B, {
|
|
10992
10993
|
text: unref(t)("FdsDevModeStorage.actions.close"),
|
|
10993
10994
|
onClick: _cache[10] || (_cache[10] = ($event) => handleOpenChange(false))
|
|
10994
10995
|
}, null, 8, ["text"])
|
|
@@ -11000,11 +11001,11 @@ const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
|
11000
11001
|
};
|
|
11001
11002
|
}
|
|
11002
11003
|
});
|
|
11003
|
-
const _hoisted_1$
|
|
11004
|
+
const _hoisted_1$i = { class: "relative px-2 py-1" };
|
|
11004
11005
|
const _hoisted_2$d = { class: "flex flex-col sm:flex-row items-center gap-2 sm:gap-1" };
|
|
11005
11006
|
const _hoisted_3$d = { class: "flex items-center gap-1" };
|
|
11006
11007
|
const _hoisted_4$c = { class: "flex items-center gap-1" };
|
|
11007
|
-
const _sfc_main$
|
|
11008
|
+
const _sfc_main$o = /* @__PURE__ */ defineComponent({
|
|
11008
11009
|
__name: "FdsDevMode",
|
|
11009
11010
|
props: /* @__PURE__ */ mergeModels({
|
|
11010
11011
|
environment: { default: null },
|
|
@@ -11166,8 +11167,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11166
11167
|
onMousedown: _cache[1] || (_cache[1] = //@ts-ignore
|
|
11167
11168
|
(...args) => unref(onDragStart) && unref(onDragStart)(...args))
|
|
11168
11169
|
}, [
|
|
11169
|
-
createElementVNode("div", _hoisted_1$
|
|
11170
|
-
unref(isDevMode) ? (openBlock(), createBlock(_sfc_main$
|
|
11170
|
+
createElementVNode("div", _hoisted_1$i, [
|
|
11171
|
+
unref(isDevMode) ? (openBlock(), createBlock(_sfc_main$v, {
|
|
11171
11172
|
key: 0,
|
|
11172
11173
|
environment: __props.environment,
|
|
11173
11174
|
toggles: overlayToggles.value,
|
|
@@ -11177,7 +11178,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11177
11178
|
}, null, 8, ["environment", "toggles"])) : createCommentVNode("", true),
|
|
11178
11179
|
createElementVNode("div", _hoisted_2$d, [
|
|
11179
11180
|
createElementVNode("div", _hoisted_3$d, [
|
|
11180
|
-
createVNode(_sfc_main$
|
|
11181
|
+
createVNode(_sfc_main$z, { "popover-class": envBannerClasses.value }, null, 8, ["popover-class"]),
|
|
11181
11182
|
createElementVNode("span", null, toDisplayString(unref(environmentText)), 1)
|
|
11182
11183
|
]),
|
|
11183
11184
|
createElementVNode("div", _hoisted_4$c, [
|
|
@@ -11186,13 +11187,13 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11186
11187
|
(...args) => unref(toggleDevMode) && unref(toggleDevMode)(...args)),
|
|
11187
11188
|
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
11189
|
}, toDisplayString(devModeButtonText.value), 1),
|
|
11189
|
-
createVNode(_sfc_main$
|
|
11190
|
+
createVNode(_sfc_main$M, {
|
|
11190
11191
|
icon: "settings",
|
|
11191
11192
|
size: 24,
|
|
11192
11193
|
class: normalizeClass(envBannerFillColor.value),
|
|
11193
11194
|
onClick: openStorageModal
|
|
11194
11195
|
}, null, 8, ["class"]),
|
|
11195
|
-
createVNode(_sfc_main$
|
|
11196
|
+
createVNode(_sfc_main$M, {
|
|
11196
11197
|
onClick: handleEnvBanner,
|
|
11197
11198
|
icon: "cross",
|
|
11198
11199
|
size: 24,
|
|
@@ -11202,7 +11203,7 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11202
11203
|
])
|
|
11203
11204
|
])
|
|
11204
11205
|
], 38)) : createCommentVNode("", true),
|
|
11205
|
-
createVNode(_sfc_main$
|
|
11206
|
+
createVNode(_sfc_main$p, {
|
|
11206
11207
|
open: isStorageModalOpen.value,
|
|
11207
11208
|
"onUpdate:open": _cache[2] || (_cache[2] = ($event) => isStorageModalOpen.value = $event),
|
|
11208
11209
|
customActions: __props.customActions
|
|
@@ -11211,8 +11212,8 @@ const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
|
11211
11212
|
};
|
|
11212
11213
|
}
|
|
11213
11214
|
});
|
|
11214
|
-
const _hoisted_1$
|
|
11215
|
-
const _sfc_main$
|
|
11215
|
+
const _hoisted_1$h = { class: "flex justify-between gap-6 w-full" };
|
|
11216
|
+
const _sfc_main$n = /* @__PURE__ */ defineComponent({
|
|
11216
11217
|
__name: "FdsExitModal",
|
|
11217
11218
|
props: {
|
|
11218
11219
|
showExitConfirmModal: {},
|
|
@@ -11227,7 +11228,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11227
11228
|
const props = __props;
|
|
11228
11229
|
const isOpen = computed(() => props.showExitConfirmModal.value);
|
|
11229
11230
|
return (_ctx, _cache) => {
|
|
11230
|
-
return openBlock(), createBlock(_sfc_main$
|
|
11231
|
+
return openBlock(), createBlock(_sfc_main$u, {
|
|
11231
11232
|
heading: props.heading,
|
|
11232
11233
|
size: "sm",
|
|
11233
11234
|
open: isOpen.value,
|
|
@@ -11235,13 +11236,13 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
|
11235
11236
|
onClose: props.cancelExit
|
|
11236
11237
|
}, {
|
|
11237
11238
|
"modal-footer": withCtx(() => [
|
|
11238
|
-
createElementVNode("div", _hoisted_1$
|
|
11239
|
-
createVNode(_sfc_main$
|
|
11239
|
+
createElementVNode("div", _hoisted_1$h, [
|
|
11240
|
+
createVNode(_sfc_main$A, {
|
|
11240
11241
|
text: props.stayText,
|
|
11241
11242
|
onClick: props.cancelExit,
|
|
11242
11243
|
block: ""
|
|
11243
11244
|
}, null, 8, ["text", "onClick"]),
|
|
11244
|
-
createVNode(_sfc_main$
|
|
11245
|
+
createVNode(_sfc_main$A, {
|
|
11245
11246
|
text: props.leaveText,
|
|
11246
11247
|
onClick: props.confirmExit,
|
|
11247
11248
|
block: ""
|
|
@@ -11276,12 +11277,12 @@ function debounce(fn, delayMs) {
|
|
|
11276
11277
|
};
|
|
11277
11278
|
return debounced;
|
|
11278
11279
|
}
|
|
11279
|
-
const _hoisted_1$
|
|
11280
|
+
const _hoisted_1$g = ["id"];
|
|
11280
11281
|
const _hoisted_2$c = { class: "flex items-center justify-start gap-1 w-[100px]" };
|
|
11281
11282
|
const _hoisted_3$c = { class: "flex items-center justify-center w-auto gap-2 order-0 sm:order-0" };
|
|
11282
11283
|
const _hoisted_4$b = { class: "whitespace-nowrap" };
|
|
11283
11284
|
const _hoisted_5$b = { class: "flex items-center justify-end gap-1 order-2 sm:order-0 w-[100px]" };
|
|
11284
|
-
const _sfc_main$
|
|
11285
|
+
const _sfc_main$m = /* @__PURE__ */ defineComponent({
|
|
11285
11286
|
__name: "FdsPagination",
|
|
11286
11287
|
props: {
|
|
11287
11288
|
current: {},
|
|
@@ -11371,11 +11372,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11371
11372
|
id: inputId.value
|
|
11372
11373
|
}, rootAttrs.value), [
|
|
11373
11374
|
createElementVNode("div", _hoisted_2$c, [
|
|
11374
|
-
__props.loading && loadingIndicator.value === "start" ? (openBlock(), createBlock(_sfc_main$
|
|
11375
|
+
__props.loading && loadingIndicator.value === "start" ? (openBlock(), createBlock(_sfc_main$F, {
|
|
11375
11376
|
key: 0,
|
|
11376
11377
|
size: "32px",
|
|
11377
11378
|
color: "blue"
|
|
11378
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
11379
|
+
})) : (openBlock(), createBlock(_sfc_main$M, mergeProps({ key: 1 }, { "aria-disabled": __props.current === 1 }, {
|
|
11379
11380
|
type: "button",
|
|
11380
11381
|
"aria-label": firstPageLabel.value,
|
|
11381
11382
|
icon: "first",
|
|
@@ -11384,11 +11385,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11384
11385
|
class: [{ "hidden!": __props.current === 1 }, "w-8 h-8 sm:w-12 sm:h-12"],
|
|
11385
11386
|
onClick: _cache[0] || (_cache[0] = ($event) => handlePagination("start"))
|
|
11386
11387
|
}), null, 16, ["aria-label", "disabled", "class"])),
|
|
11387
|
-
__props.loading && loadingIndicator.value === "prev" ? (openBlock(), createBlock(_sfc_main$
|
|
11388
|
+
__props.loading && loadingIndicator.value === "prev" ? (openBlock(), createBlock(_sfc_main$F, {
|
|
11388
11389
|
key: 2,
|
|
11389
11390
|
size: "24px",
|
|
11390
11391
|
color: "blue"
|
|
11391
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
11392
|
+
})) : (openBlock(), createBlock(_sfc_main$M, mergeProps({ key: 3 }, { "aria-disabled": __props.current === 1 }, {
|
|
11392
11393
|
type: "button",
|
|
11393
11394
|
"aria-label": prevPageLabel.value,
|
|
11394
11395
|
icon: "arrowLeft",
|
|
@@ -11399,14 +11400,14 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11399
11400
|
}), null, 16, ["aria-label", "disabled", "class"]))
|
|
11400
11401
|
]),
|
|
11401
11402
|
createElementVNode("div", _hoisted_3$c, [
|
|
11402
|
-
__props.loading && loadingIndicator.value === "input" ? (openBlock(), createBlock(_sfc_main$
|
|
11403
|
+
__props.loading && loadingIndicator.value === "input" ? (openBlock(), createBlock(_sfc_main$F, {
|
|
11403
11404
|
key: 0,
|
|
11404
11405
|
size: "24px",
|
|
11405
11406
|
color: "blue",
|
|
11406
11407
|
label: loadingLabel.value,
|
|
11407
11408
|
"label-position": "right"
|
|
11408
11409
|
}, null, 8, ["label"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [
|
|
11409
|
-
createVNode(_sfc_main$
|
|
11410
|
+
createVNode(_sfc_main$s, {
|
|
11410
11411
|
style: { "text-align": "center" },
|
|
11411
11412
|
value: inputValue.value,
|
|
11412
11413
|
type: "text",
|
|
@@ -11420,11 +11421,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11420
11421
|
], 64))
|
|
11421
11422
|
]),
|
|
11422
11423
|
createElementVNode("div", _hoisted_5$b, [
|
|
11423
|
-
__props.loading && loadingIndicator.value === "next" ? (openBlock(), createBlock(_sfc_main$
|
|
11424
|
+
__props.loading && loadingIndicator.value === "next" ? (openBlock(), createBlock(_sfc_main$F, {
|
|
11424
11425
|
key: 0,
|
|
11425
11426
|
size: "24px",
|
|
11426
11427
|
color: "blue"
|
|
11427
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
11428
|
+
})) : (openBlock(), createBlock(_sfc_main$M, mergeProps({
|
|
11428
11429
|
key: 1,
|
|
11429
11430
|
type: "button",
|
|
11430
11431
|
"aria-label": nextPageLabel.value,
|
|
@@ -11435,11 +11436,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11435
11436
|
class: [{ "hidden!": __props.current === __props.max }, "w-8 h-8 sm:w-12 sm:h-12"],
|
|
11436
11437
|
onClick: _cache[2] || (_cache[2] = ($event) => handlePagination("next"))
|
|
11437
11438
|
}), null, 16, ["aria-label", "disabled", "class"])),
|
|
11438
|
-
__props.loading && loadingIndicator.value === "end" ? (openBlock(), createBlock(_sfc_main$
|
|
11439
|
+
__props.loading && loadingIndicator.value === "end" ? (openBlock(), createBlock(_sfc_main$F, {
|
|
11439
11440
|
key: 2,
|
|
11440
11441
|
size: "24px",
|
|
11441
11442
|
color: "blue"
|
|
11442
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
11443
|
+
})) : (openBlock(), createBlock(_sfc_main$M, mergeProps({
|
|
11443
11444
|
key: 3,
|
|
11444
11445
|
type: "button",
|
|
11445
11446
|
"aria-label": lastPageLabel.value,
|
|
@@ -11451,11 +11452,11 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
|
11451
11452
|
onClick: _cache[3] || (_cache[3] = ($event) => handlePagination("end"))
|
|
11452
11453
|
}), null, 16, ["aria-label", "disabled", "class"]))
|
|
11453
11454
|
])
|
|
11454
|
-
], 16, _hoisted_1$
|
|
11455
|
+
], 16, _hoisted_1$g);
|
|
11455
11456
|
};
|
|
11456
11457
|
}
|
|
11457
11458
|
});
|
|
11458
|
-
const _hoisted_1$
|
|
11459
|
+
const _hoisted_1$f = { class: "inline-flex" };
|
|
11459
11460
|
const _hoisted_2$b = ["onKeydown"];
|
|
11460
11461
|
const _hoisted_3$b = ["aria-label"];
|
|
11461
11462
|
const _hoisted_4$a = { class: "mb-1 flex items-start justify-between gap-2" };
|
|
@@ -11465,7 +11466,7 @@ const _hoisted_6$7 = {
|
|
|
11465
11466
|
class: "flex items-center gap-2"
|
|
11466
11467
|
};
|
|
11467
11468
|
const _hoisted_7$7 = { class: "mb-0! min-w-0 grow whitespace-normal wrap-break-word" };
|
|
11468
|
-
const _sfc_main$
|
|
11469
|
+
const _sfc_main$l = /* @__PURE__ */ defineComponent({
|
|
11469
11470
|
__name: "FdsPopover",
|
|
11470
11471
|
props: {
|
|
11471
11472
|
open: { type: Boolean, default: false },
|
|
@@ -11573,7 +11574,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
11573
11574
|
return attrs;
|
|
11574
11575
|
});
|
|
11575
11576
|
return (_ctx, _cache) => {
|
|
11576
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
11577
|
+
return openBlock(), createElementBlock("div", _hoisted_1$f, [
|
|
11577
11578
|
createElementVNode("span", {
|
|
11578
11579
|
class: normalizeClass(triggerClasses.value),
|
|
11579
11580
|
style: normalizeStyle(triggerStyle.value)
|
|
@@ -11601,13 +11602,13 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
11601
11602
|
}, { ...popoverAttrs.value, popover: "auto" }), [
|
|
11602
11603
|
__props.label ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
11603
11604
|
createElementVNode("div", _hoisted_4$a, [
|
|
11604
|
-
createVNode(_sfc_main$
|
|
11605
|
+
createVNode(_sfc_main$w, { class: "mb-0! min-w-0 grow balance-text whitespace-normal" }, {
|
|
11605
11606
|
default: withCtx(() => [
|
|
11606
11607
|
createTextVNode(toDisplayString(__props.label), 1)
|
|
11607
11608
|
]),
|
|
11608
11609
|
_: 1
|
|
11609
11610
|
}),
|
|
11610
|
-
createVNode(_sfc_main$
|
|
11611
|
+
createVNode(_sfc_main$M, {
|
|
11611
11612
|
icon: "cross",
|
|
11612
11613
|
size: 28,
|
|
11613
11614
|
"aria-label": __props.closeAriaLabel,
|
|
@@ -11625,7 +11626,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
|
11625
11626
|
createTextVNode(toDisplayString(__props.body), 1)
|
|
11626
11627
|
])
|
|
11627
11628
|
]),
|
|
11628
|
-
createVNode(_sfc_main$
|
|
11629
|
+
createVNode(_sfc_main$M, {
|
|
11629
11630
|
icon: "cross",
|
|
11630
11631
|
size: 28,
|
|
11631
11632
|
"aria-label": __props.closeAriaLabel,
|
|
@@ -11710,7 +11711,7 @@ function useIsPid(value) {
|
|
|
11710
11711
|
isPid
|
|
11711
11712
|
};
|
|
11712
11713
|
}
|
|
11713
|
-
const _hoisted_1$
|
|
11714
|
+
const _hoisted_1$e = { class: "relative block" };
|
|
11714
11715
|
const _hoisted_2$a = {
|
|
11715
11716
|
key: 0,
|
|
11716
11717
|
class: "relative"
|
|
@@ -11730,7 +11731,7 @@ const _hoisted_10$2 = {
|
|
|
11730
11731
|
class: "block m-0 list-none p-0"
|
|
11731
11732
|
};
|
|
11732
11733
|
const _hoisted_11$2 = { class: "p-4" };
|
|
11733
|
-
const _sfc_main$
|
|
11734
|
+
const _sfc_main$k = /* @__PURE__ */ defineComponent({
|
|
11734
11735
|
__name: "FdsSearchSelect",
|
|
11735
11736
|
props: {
|
|
11736
11737
|
items: { default: () => [] },
|
|
@@ -12120,10 +12121,10 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12120
12121
|
ref: componentRef,
|
|
12121
12122
|
class: "fds-search-select block mb-6"
|
|
12122
12123
|
}, rootAttrs.value), [
|
|
12123
|
-
createElementVNode("div", _hoisted_1$
|
|
12124
|
+
createElementVNode("div", _hoisted_1$e, [
|
|
12124
12125
|
!singleItemName.value.length ? (openBlock(), createElementBlock("div", _hoisted_2$a, [
|
|
12125
12126
|
createElementVNode("div", _hoisted_3$a, [
|
|
12126
|
-
createVNode(_sfc_main$
|
|
12127
|
+
createVNode(_sfc_main$s, mergeProps({
|
|
12127
12128
|
ref_key: "inputComponentRef",
|
|
12128
12129
|
ref: inputComponentRef,
|
|
12129
12130
|
label: __props.label,
|
|
@@ -12157,7 +12158,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12157
12158
|
style: normalizeStyle(listWrapperStyle.value)
|
|
12158
12159
|
}, [
|
|
12159
12160
|
__props.loading ? (openBlock(), createElementBlock("div", _hoisted_6$6, [
|
|
12160
|
-
createVNode(_sfc_main$
|
|
12161
|
+
createVNode(_sfc_main$F, {
|
|
12161
12162
|
color: "blue",
|
|
12162
12163
|
size: "48px"
|
|
12163
12164
|
})
|
|
@@ -12201,7 +12202,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
12201
12202
|
], 42, _hoisted_7$6);
|
|
12202
12203
|
}), 128))
|
|
12203
12204
|
], 32),
|
|
12204
|
-
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (openBlock(), createBlock(_sfc_main$
|
|
12205
|
+
__props.page !== void 0 && totalPages.value !== null && totalPages.value > 1 ? (openBlock(), createBlock(_sfc_main$m, {
|
|
12205
12206
|
key: 2,
|
|
12206
12207
|
current: __props.page,
|
|
12207
12208
|
max: totalPages.value,
|
|
@@ -12549,7 +12550,7 @@ const useSearchSelectProItems = ({
|
|
|
12549
12550
|
syncSelectedItemsWithItems
|
|
12550
12551
|
};
|
|
12551
12552
|
};
|
|
12552
|
-
const _hoisted_1$
|
|
12553
|
+
const _hoisted_1$d = { class: "relative block" };
|
|
12553
12554
|
const _hoisted_2$9 = { class: "relative" };
|
|
12554
12555
|
const _hoisted_3$9 = { class: "relative" };
|
|
12555
12556
|
const _hoisted_4$8 = { class: "flex items-center gap-2" };
|
|
@@ -12569,7 +12570,7 @@ const _hoisted_12 = {
|
|
|
12569
12570
|
};
|
|
12570
12571
|
const _hoisted_13 = { class: "p-3 flex items-center gap-2" };
|
|
12571
12572
|
const _hoisted_14 = { key: 0 };
|
|
12572
|
-
const _sfc_main$
|
|
12573
|
+
const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
12573
12574
|
__name: "FdsSearchSelectPro",
|
|
12574
12575
|
props: {
|
|
12575
12576
|
items: { default: () => [] },
|
|
@@ -13229,10 +13230,10 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13229
13230
|
ref: componentRef,
|
|
13230
13231
|
class: "fds-search-select block mb-6"
|
|
13231
13232
|
}, rootAttrs.value), [
|
|
13232
|
-
createElementVNode("div", _hoisted_1$
|
|
13233
|
+
createElementVNode("div", _hoisted_1$d, [
|
|
13233
13234
|
createElementVNode("div", _hoisted_2$9, [
|
|
13234
13235
|
createElementVNode("div", _hoisted_3$9, [
|
|
13235
|
-
createVNode(_sfc_main$
|
|
13236
|
+
createVNode(_sfc_main$s, mergeProps({
|
|
13236
13237
|
ref_key: "inputComponentRef",
|
|
13237
13238
|
ref: inputComponentRef,
|
|
13238
13239
|
label: __props.label,
|
|
@@ -13268,19 +13269,19 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13268
13269
|
class: normalizeClass([headerClasses.value, "flex items-center justify-between gap-3 min-h-[53px]"])
|
|
13269
13270
|
}, [
|
|
13270
13271
|
createElementVNode("div", _hoisted_4$8, [
|
|
13271
|
-
createVNode(_sfc_main$
|
|
13272
|
+
createVNode(_sfc_main$t, null, {
|
|
13272
13273
|
default: withCtx(() => [
|
|
13273
13274
|
createTextVNode(toDisplayString(searchTerm.value && searchTerm.value.length ? `${totalMatchingItems.value} ${__props.searchContext.linkWord} ${totalCount.value} ${__props.searchContext.context}` : `${totalCount.value} ${__props.searchContext.context}`), 1)
|
|
13274
13275
|
]),
|
|
13275
13276
|
_: 1
|
|
13276
13277
|
}),
|
|
13277
|
-
isSearching.value ? (openBlock(), createBlock(_sfc_main$
|
|
13278
|
+
isSearching.value ? (openBlock(), createBlock(_sfc_main$F, {
|
|
13278
13279
|
key: 0,
|
|
13279
13280
|
color: "blue",
|
|
13280
13281
|
size: "20px"
|
|
13281
13282
|
})) : createCommentVNode("", true)
|
|
13282
13283
|
]),
|
|
13283
|
-
__props.multiple && __props.showSelectedToggle && selectedItems.value.length > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
13284
|
+
__props.multiple && __props.showSelectedToggle && selectedItems.value.length > 0 ? (openBlock(), createBlock(_sfc_main$y, {
|
|
13284
13285
|
key: 0,
|
|
13285
13286
|
label: `${__props.selectedToggleLabel} (${selectedItems.value.length})`,
|
|
13286
13287
|
checked: showSelectedOnly.value,
|
|
@@ -13315,7 +13316,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13315
13316
|
class: normalizeClass([labelClasses.value, listItemClasses.value]),
|
|
13316
13317
|
style: normalizeStyle(unref(optionPaddingStyle)(item))
|
|
13317
13318
|
}, [
|
|
13318
|
-
__props.multiple ? (openBlock(), createBlock(_sfc_main$
|
|
13319
|
+
__props.multiple ? (openBlock(), createBlock(_sfc_main$y, {
|
|
13319
13320
|
key: 0,
|
|
13320
13321
|
id: `search-select-radio-${index}`,
|
|
13321
13322
|
name: `search-select-checkbox-group-${inputId}`,
|
|
@@ -13332,7 +13333,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13332
13333
|
}, null, 8, _hoisted_8$3)
|
|
13333
13334
|
]),
|
|
13334
13335
|
_: 2
|
|
13335
|
-
}, 1032, ["id", "name", "checked", "onChange"])) : (openBlock(), createBlock(_sfc_main$
|
|
13336
|
+
}, 1032, ["id", "name", "checked", "onChange"])) : (openBlock(), createBlock(_sfc_main$x, {
|
|
13336
13337
|
key: 1,
|
|
13337
13338
|
id: `search-select-radio-${index}`,
|
|
13338
13339
|
name: "search-select-radio-group",
|
|
@@ -13367,7 +13368,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13367
13368
|
_cache[2] || (_cache[2] = withKeys(withModifiers(($event) => !__props.loadingMore && handleLoadMore(), ["prevent"]), ["space"]))
|
|
13368
13369
|
]
|
|
13369
13370
|
}, [
|
|
13370
|
-
createVNode(_sfc_main$
|
|
13371
|
+
createVNode(_sfc_main$M, {
|
|
13371
13372
|
icon: "sync",
|
|
13372
13373
|
loading: __props.loadingMore,
|
|
13373
13374
|
"aria-label": __props.loadingMore ? resolvedLoadingMoreLabel.value : resolvedLoadMoreLabel.value,
|
|
@@ -13381,7 +13382,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
13381
13382
|
], 64)) : (openBlock(), createElementBlock("ul", _hoisted_12, [
|
|
13382
13383
|
createElementVNode("li", _hoisted_13, [
|
|
13383
13384
|
!isSearching.value ? (openBlock(), createElementBlock("span", _hoisted_14, toDisplayString(__props.noResultPrompt), 1)) : createCommentVNode("", true),
|
|
13384
|
-
isSearching.value ? (openBlock(), createBlock(_sfc_main$
|
|
13385
|
+
isSearching.value ? (openBlock(), createBlock(_sfc_main$F, {
|
|
13385
13386
|
key: 1,
|
|
13386
13387
|
color: "blue",
|
|
13387
13388
|
size: "20px"
|
|
@@ -13894,7 +13895,7 @@ const useTreeState = (options = {}) => {
|
|
|
13894
13895
|
isEmptySearchResult
|
|
13895
13896
|
};
|
|
13896
13897
|
};
|
|
13897
|
-
const _hoisted_1$
|
|
13898
|
+
const _hoisted_1$c = { class: "flex items-start" };
|
|
13898
13899
|
const _hoisted_2$8 = { class: "flex-1 flex" };
|
|
13899
13900
|
const _hoisted_3$8 = ["innerHTML"];
|
|
13900
13901
|
const _hoisted_4$7 = { key: 1 };
|
|
@@ -13908,7 +13909,7 @@ const _hoisted_8$2 = ["onClick"];
|
|
|
13908
13909
|
const _hoisted_9$1 = { key: 0 };
|
|
13909
13910
|
const popoverWidth = 327;
|
|
13910
13911
|
const popoverHeight = 80;
|
|
13911
|
-
const _sfc_main$
|
|
13912
|
+
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
13912
13913
|
...{
|
|
13913
13914
|
name: "TreeNode"
|
|
13914
13915
|
},
|
|
@@ -14126,8 +14127,8 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14126
14127
|
style: normalizeStyle(indent.value),
|
|
14127
14128
|
class: normalizeClass("pt-2 pb-2")
|
|
14128
14129
|
}, [
|
|
14129
|
-
createElementVNode("div", _hoisted_1$
|
|
14130
|
-
hasChildrenNodes.value ? (openBlock(), createBlock(_sfc_main$
|
|
14130
|
+
createElementVNode("div", _hoisted_1$c, [
|
|
14131
|
+
hasChildrenNodes.value ? (openBlock(), createBlock(_sfc_main$M, mergeProps({
|
|
14131
14132
|
key: 0,
|
|
14132
14133
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(treeState)?.toggleExpandNode(props.nodeId))
|
|
14133
14134
|
}, { "aria-label": props.title ? childrenToggleAriaLabel(props.title) : void 0 }, {
|
|
@@ -14140,7 +14141,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14140
14141
|
style: normalizeStyle({ minWidth: `${__props.indentation}px` })
|
|
14141
14142
|
}, null, 4)) : createCommentVNode("", true),
|
|
14142
14143
|
createElementVNode("div", _hoisted_2$8, [
|
|
14143
|
-
createVNode(_sfc_main$
|
|
14144
|
+
createVNode(_sfc_main$y, {
|
|
14144
14145
|
id: `checkbox-${props.nodeId}`,
|
|
14145
14146
|
checked: nodeIsSelected.value,
|
|
14146
14147
|
indeterminate: nodeIsIndeterminate.value,
|
|
@@ -14159,7 +14160,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14159
14160
|
}, 8, ["id", "checked", "indeterminate"])
|
|
14160
14161
|
]),
|
|
14161
14162
|
shouldShowPopoverActions.value ? (openBlock(), createElementBlock("div", _hoisted_6$4, [
|
|
14162
|
-
createVNode(_sfc_main$
|
|
14163
|
+
createVNode(_sfc_main$M, mergeProps({
|
|
14163
14164
|
ref_key: "triggerRef",
|
|
14164
14165
|
ref: triggerRef,
|
|
14165
14166
|
icon: "more",
|
|
@@ -14207,7 +14208,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14207
14208
|
},
|
|
14208
14209
|
class: "cursor-pointer"
|
|
14209
14210
|
}, [
|
|
14210
|
-
createVNode(_sfc_main$
|
|
14211
|
+
createVNode(_sfc_main$x, {
|
|
14211
14212
|
modelValue: selectedOption.value,
|
|
14212
14213
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedOption.value = $event),
|
|
14213
14214
|
id: `tree-popover-${props.nodeId}-${option.value}`,
|
|
@@ -14219,7 +14220,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14219
14220
|
], 8, _hoisted_8$2);
|
|
14220
14221
|
}), 64))
|
|
14221
14222
|
]),
|
|
14222
|
-
createVNode(_sfc_main$
|
|
14223
|
+
createVNode(_sfc_main$M, mergeProps({
|
|
14223
14224
|
icon: "cross",
|
|
14224
14225
|
id: "tree-popover-close-button",
|
|
14225
14226
|
size: 24,
|
|
@@ -14266,7 +14267,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
|
14266
14267
|
};
|
|
14267
14268
|
}
|
|
14268
14269
|
});
|
|
14269
|
-
const _hoisted_1$
|
|
14270
|
+
const _hoisted_1$b = { key: 0 };
|
|
14270
14271
|
const _hoisted_2$7 = {
|
|
14271
14272
|
key: 0,
|
|
14272
14273
|
class: "text-xl"
|
|
@@ -14275,7 +14276,7 @@ const _hoisted_3$7 = {
|
|
|
14275
14276
|
key: 1,
|
|
14276
14277
|
class: "text-xl"
|
|
14277
14278
|
};
|
|
14278
|
-
const _sfc_main$
|
|
14279
|
+
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
14279
14280
|
__name: "FdsTreeView",
|
|
14280
14281
|
props: {
|
|
14281
14282
|
nodeExpandIcon: {},
|
|
@@ -14369,7 +14370,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14369
14370
|
ref: searchContainerRef,
|
|
14370
14371
|
class: "pb-4"
|
|
14371
14372
|
}, [
|
|
14372
|
-
createVNode(_sfc_main$
|
|
14373
|
+
createVNode(_sfc_main$s, {
|
|
14373
14374
|
value: unref(treeState)?.searchTerm?.value ?? "",
|
|
14374
14375
|
onInput: _cache[0] || (_cache[0] = ($event) => unref(treeState)?.setSearchTerm($event.target.value)),
|
|
14375
14376
|
class: "w-full",
|
|
@@ -14382,11 +14383,11 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14382
14383
|
])]),
|
|
14383
14384
|
_: 1
|
|
14384
14385
|
}, 8, ["value", "label"]),
|
|
14385
|
-
props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14386
|
+
props.searchCountTemplate || props.searchCountTemplateUnfiltered ? (openBlock(), createElementBlock("div", _hoisted_1$b, [
|
|
14386
14387
|
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
14388
|
])) : createCommentVNode("", true)
|
|
14388
14389
|
], 512)) : createCommentVNode("", true),
|
|
14389
|
-
unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$
|
|
14390
|
+
unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$K, {
|
|
14390
14391
|
key: 1,
|
|
14391
14392
|
class: "mt-4"
|
|
14392
14393
|
}, {
|
|
@@ -14394,7 +14395,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14394
14395
|
createTextVNode(toDisplayString(props.searchResultNoMatchesTitle), 1)
|
|
14395
14396
|
]),
|
|
14396
14397
|
default: withCtx(() => [
|
|
14397
|
-
createVNode(_sfc_main$
|
|
14398
|
+
createVNode(_sfc_main$t, null, {
|
|
14398
14399
|
default: withCtx(() => [
|
|
14399
14400
|
createTextVNode(toDisplayString(props.searchResultNoMatchesBody), 1)
|
|
14400
14401
|
]),
|
|
@@ -14406,7 +14407,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14406
14407
|
createElementVNode("div", {
|
|
14407
14408
|
class: normalizeClass(["rounded-md", { "overflow-x-auto bg-white-solid": props.horizontalScroll }])
|
|
14408
14409
|
}, [
|
|
14409
|
-
props.data && !unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$
|
|
14410
|
+
props.data && !unref(treeState)?.isEmptySearchResult?.value ? (openBlock(), createBlock(_sfc_main$i, {
|
|
14410
14411
|
key: 0,
|
|
14411
14412
|
style: { container: "bg-white-solid px-3 py-2" },
|
|
14412
14413
|
nodes: props.data.children || [],
|
|
@@ -14437,8 +14438,8 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
|
14437
14438
|
};
|
|
14438
14439
|
}
|
|
14439
14440
|
});
|
|
14440
|
-
const _hoisted_1$
|
|
14441
|
-
const _sfc_main$
|
|
14441
|
+
const _hoisted_1$a = { key: 1 };
|
|
14442
|
+
const _sfc_main$g = /* @__PURE__ */ defineComponent({
|
|
14442
14443
|
__name: "FdsTruncatedText",
|
|
14443
14444
|
props: {
|
|
14444
14445
|
open: { type: Boolean, default: false },
|
|
@@ -14486,7 +14487,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
14486
14487
|
return openBlock(), createElementBlock("div", mergeProps({ class: "block mb-4" }, rootAttrs.value), [
|
|
14487
14488
|
hasContent.value ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
14488
14489
|
createElementVNode("span", null, toDisplayString(truncatedText.value), 1),
|
|
14489
|
-
isTruncated.value ? (openBlock(), createBlock(_sfc_main$
|
|
14490
|
+
isTruncated.value ? (openBlock(), createBlock(_sfc_main$E, {
|
|
14490
14491
|
key: 0,
|
|
14491
14492
|
icon: isOpen.value ? "arrowUp" : "arrowDown",
|
|
14492
14493
|
iconPos: "right",
|
|
@@ -14494,7 +14495,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
14494
14495
|
onClick: toggleComponent,
|
|
14495
14496
|
class: "inline! ml-2"
|
|
14496
14497
|
}, null, 8, ["icon", "text"])) : createCommentVNode("", true)
|
|
14497
|
-
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$
|
|
14498
|
+
], 64)) : (openBlock(), createElementBlock("div", _hoisted_1$a, [
|
|
14498
14499
|
renderSlot(_ctx.$slots, "default")
|
|
14499
14500
|
]))
|
|
14500
14501
|
], 16);
|
|
@@ -16077,8 +16078,8 @@ const checkIfDateIsBeforeToday = (date) => {
|
|
|
16077
16078
|
return isAfter(startOfToday, startOfDate);
|
|
16078
16079
|
};
|
|
16079
16080
|
const checkIfDateIsEnabled = (date, enabledDates) => enabledDates.some((enabledDate) => isSameDay(enabledDate, date));
|
|
16080
|
-
const _hoisted_1$
|
|
16081
|
-
const _sfc_main$
|
|
16081
|
+
const _hoisted_1$9 = ["disabled", "aria-label"];
|
|
16082
|
+
const _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
16082
16083
|
__name: "WeekDay",
|
|
16083
16084
|
props: {
|
|
16084
16085
|
date: {},
|
|
@@ -16141,23 +16142,23 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
|
16141
16142
|
createElementVNode("span", {
|
|
16142
16143
|
class: normalizeClass(weekdayLabelClasses.value)
|
|
16143
16144
|
}, [
|
|
16144
|
-
__props.isToday ? (openBlock(), createBlock(_sfc_main$
|
|
16145
|
+
__props.isToday ? (openBlock(), createBlock(_sfc_main$t, { key: 0 }, {
|
|
16145
16146
|
default: withCtx(() => [
|
|
16146
16147
|
createTextVNode(toDisplayString(unref(t)("FdsWeekCalendar.today")), 1)
|
|
16147
16148
|
]),
|
|
16148
16149
|
_: 1
|
|
16149
|
-
})) : (openBlock(), createBlock(_sfc_main$
|
|
16150
|
+
})) : (openBlock(), createBlock(_sfc_main$t, { key: 1 }, {
|
|
16150
16151
|
default: withCtx(() => [
|
|
16151
16152
|
createTextVNode(toDisplayString(weekdayLabel.value), 1)
|
|
16152
16153
|
]),
|
|
16153
16154
|
_: 1
|
|
16154
16155
|
}))
|
|
16155
16156
|
], 2)
|
|
16156
|
-
], 10, _hoisted_1$
|
|
16157
|
+
], 10, _hoisted_1$9);
|
|
16157
16158
|
};
|
|
16158
16159
|
}
|
|
16159
16160
|
});
|
|
16160
|
-
const _hoisted_1$
|
|
16161
|
+
const _hoisted_1$8 = { class: "mb-6" };
|
|
16161
16162
|
const _hoisted_2$6 = { class: "max-w-[487px]" };
|
|
16162
16163
|
const _hoisted_3$6 = { class: "mb-3 flex w-full flex-row items-center" };
|
|
16163
16164
|
const _hoisted_4$6 = { class: "m-0 font-bold text-gray-800" };
|
|
@@ -16168,7 +16169,7 @@ const _hoisted_7$3 = {
|
|
|
16168
16169
|
class: "mt-6 flex w-full flex-row items-center gap-2"
|
|
16169
16170
|
};
|
|
16170
16171
|
const _hoisted_8$1 = { class: "m-0 font-bold text-blue-700" };
|
|
16171
|
-
const _sfc_main$
|
|
16172
|
+
const _sfc_main$e = /* @__PURE__ */ defineComponent({
|
|
16172
16173
|
__name: "FdsWeekCalendar",
|
|
16173
16174
|
props: {
|
|
16174
16175
|
loading: { default: void 0 },
|
|
@@ -16301,18 +16302,18 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16301
16302
|
const isWeekDayDisabled = (weekDay) => checkIfDateIsBeforeToday(weekDay) || !checkIfDateIsEnabled(weekDay, props.enabledDates);
|
|
16302
16303
|
const isTodayDate = (weekDay) => isSameDay(weekDay, /* @__PURE__ */ new Date());
|
|
16303
16304
|
return (_ctx, _cache) => {
|
|
16304
|
-
return openBlock(), createElementBlock("section", _hoisted_1$
|
|
16305
|
+
return openBlock(), createElementBlock("section", _hoisted_1$8, [
|
|
16305
16306
|
createElementVNode("div", _hoisted_2$6, [
|
|
16306
16307
|
createElementVNode("div", _hoisted_3$6, [
|
|
16307
16308
|
createElementVNode("p", _hoisted_4$6, toDisplayString(weekText.value), 1),
|
|
16308
16309
|
createElementVNode("div", _hoisted_5$6, [
|
|
16309
|
-
createVNode(_sfc_main$
|
|
16310
|
+
createVNode(_sfc_main$M, {
|
|
16310
16311
|
icon: "arrowLeft",
|
|
16311
16312
|
disabled: disableLastWeekInteraction.value,
|
|
16312
16313
|
"aria-label": unref(t)("FdsWeekCalendar.previousWeek"),
|
|
16313
16314
|
onClick: decrementWeek
|
|
16314
16315
|
}, null, 8, ["disabled", "aria-label"]),
|
|
16315
|
-
createVNode(_sfc_main$
|
|
16316
|
+
createVNode(_sfc_main$M, {
|
|
16316
16317
|
icon: "arrowRight",
|
|
16317
16318
|
disabled: disableNextWeekInteraction.value,
|
|
16318
16319
|
"aria-label": unref(t)("FdsWeekCalendar.nextWeek"),
|
|
@@ -16333,7 +16334,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16333
16334
|
class: "flex flex-row flex-nowrap items-center justify-start gap-x-px"
|
|
16334
16335
|
}, [
|
|
16335
16336
|
(openBlock(true), createElementBlock(Fragment, null, renderList(visibleWeekDays.value, (weekDay, _index) => {
|
|
16336
|
-
return openBlock(), createBlock(_sfc_main$
|
|
16337
|
+
return openBlock(), createBlock(_sfc_main$f, {
|
|
16337
16338
|
key: `current-${weekDay.toISOString()}-${_index}`,
|
|
16338
16339
|
date: weekDay,
|
|
16339
16340
|
disabled: isWeekDayDisabled(weekDay),
|
|
@@ -16348,7 +16349,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16348
16349
|
}, 8, ["enter-active-class", "leave-active-class", "enter-from-class", "leave-to-class"])
|
|
16349
16350
|
]),
|
|
16350
16351
|
__props.loading?.loading ? (openBlock(), createElementBlock("div", _hoisted_7$3, [
|
|
16351
|
-
createVNode(_sfc_main$
|
|
16352
|
+
createVNode(_sfc_main$F),
|
|
16352
16353
|
createElementVNode("p", _hoisted_8$1, toDisplayString(__props.loading.label), 1)
|
|
16353
16354
|
])) : createCommentVNode("", true)
|
|
16354
16355
|
])
|
|
@@ -16356,7 +16357,7 @@ const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
|
16356
16357
|
};
|
|
16357
16358
|
}
|
|
16358
16359
|
});
|
|
16359
|
-
const _sfc_main$
|
|
16360
|
+
const _sfc_main$d = /* @__PURE__ */ defineComponent({
|
|
16360
16361
|
...{
|
|
16361
16362
|
inheritAttrs: false
|
|
16362
16363
|
},
|
|
@@ -16402,7 +16403,7 @@ const hasStepLabelOverlap = (labels, minGapBeforeHidePx = STEP_LABEL_MIN_GAP_BEF
|
|
|
16402
16403
|
}
|
|
16403
16404
|
return false;
|
|
16404
16405
|
};
|
|
16405
|
-
const _hoisted_1$
|
|
16406
|
+
const _hoisted_1$7 = { class: "mb-6" };
|
|
16406
16407
|
const _hoisted_2$5 = {
|
|
16407
16408
|
key: 0,
|
|
16408
16409
|
class: "mb-0"
|
|
@@ -16415,7 +16416,7 @@ const _hoisted_4$5 = { class: "h-[2px] absolute top-[22px] left-[50%] bg-white-s
|
|
|
16415
16416
|
const _hoisted_5$5 = { class: "flex justify-between list-none mb-8 p-0" };
|
|
16416
16417
|
const _hoisted_6$2 = ["onClick", "disabled"];
|
|
16417
16418
|
const _hoisted_7$2 = { key: 0 };
|
|
16418
|
-
const _sfc_main$
|
|
16419
|
+
const _sfc_main$c = /* @__PURE__ */ defineComponent({
|
|
16419
16420
|
__name: "FdsWizard",
|
|
16420
16421
|
props: {
|
|
16421
16422
|
routes: {},
|
|
@@ -16771,12 +16772,12 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16771
16772
|
createElementVNode("nav", {
|
|
16772
16773
|
class: normalizeClass([__props.wizardClass, "mx-auto"])
|
|
16773
16774
|
}, [
|
|
16774
|
-
createElementVNode("header", _hoisted_1$
|
|
16775
|
+
createElementVNode("header", _hoisted_1$7, [
|
|
16775
16776
|
createElementVNode("h1", {
|
|
16776
16777
|
ref: "mainHeader",
|
|
16777
16778
|
tabindex: "-1"
|
|
16778
16779
|
}, toDisplayString(mainHeading.value), 513),
|
|
16779
|
-
mainLead.value || subCategories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$
|
|
16780
|
+
mainLead.value || subCategories.value.length > 0 ? (openBlock(), createBlock(_sfc_main$d, { key: 0 }, {
|
|
16780
16781
|
default: withCtx(() => [
|
|
16781
16782
|
mainLead.value ? (openBlock(), createElementBlock("p", _hoisted_2$5, toDisplayString(mainLead.value), 1)) : createCommentVNode("", true),
|
|
16782
16783
|
subCategories.value.length > 0 ? (openBlock(), createElementBlock("ul", _hoisted_3$5, [
|
|
@@ -16785,7 +16786,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16785
16786
|
key: subCat.id,
|
|
16786
16787
|
class: "list-inside list-disc mb-2"
|
|
16787
16788
|
}, [
|
|
16788
|
-
createVNode(_sfc_main$
|
|
16789
|
+
createVNode(_sfc_main$d, { class: "inline!" }, {
|
|
16789
16790
|
default: withCtx(() => [
|
|
16790
16791
|
createTextVNode(toDisplayString(subCat.name), 1)
|
|
16791
16792
|
]),
|
|
@@ -16829,7 +16830,7 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
|
16829
16830
|
createElementVNode("span", {
|
|
16830
16831
|
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
16832
|
}, [
|
|
16832
|
-
entry.index >= internalCompletedTo.value + 1 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(entry.index + 1), 1)) : (openBlock(), createBlock(_sfc_main$
|
|
16833
|
+
entry.index >= internalCompletedTo.value + 1 ? (openBlock(), createElementBlock("span", _hoisted_7$2, toDisplayString(entry.index + 1), 1)) : (openBlock(), createBlock(_sfc_main$N, {
|
|
16833
16834
|
key: 1,
|
|
16834
16835
|
name: "checkmark",
|
|
16835
16836
|
size: 24
|
|
@@ -18692,7 +18693,7 @@ const normalizeNationalPhoneInput = (value, countryIso2) => {
|
|
|
18692
18693
|
}
|
|
18693
18694
|
return trimmed;
|
|
18694
18695
|
};
|
|
18695
|
-
const _hoisted_1$
|
|
18696
|
+
const _hoisted_1$6 = { class: "relative w-full" };
|
|
18696
18697
|
const _hoisted_2$4 = { class: "absolute left-3 top-1/2 -translate-y-1/2 text-xl leading-none" };
|
|
18697
18698
|
const _hoisted_3$4 = ["aria-expanded", "aria-label", "aria-controls", "aria-activedescendant", "value", "disabled"];
|
|
18698
18699
|
const _hoisted_4$4 = ["disabled"];
|
|
@@ -18706,7 +18707,7 @@ const _hoisted_9 = {
|
|
|
18706
18707
|
};
|
|
18707
18708
|
const _hoisted_10 = { class: "text-gray-600" };
|
|
18708
18709
|
const _hoisted_11 = { "aria-hidden": "true" };
|
|
18709
|
-
const _sfc_main$
|
|
18710
|
+
const _sfc_main$b = /* @__PURE__ */ defineComponent({
|
|
18710
18711
|
__name: "FdsPhonenumberCountryPicker",
|
|
18711
18712
|
props: /* @__PURE__ */ mergeModels({
|
|
18712
18713
|
items: {},
|
|
@@ -18979,7 +18980,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
18979
18980
|
ref: rootRef,
|
|
18980
18981
|
class: normalizeClass(["relative w-32", props.class])
|
|
18981
18982
|
}, [
|
|
18982
|
-
createElementVNode("div", _hoisted_1$
|
|
18983
|
+
createElementVNode("div", _hoisted_1$6, [
|
|
18983
18984
|
!dropdownOpen.value ? (openBlock(), createElementBlock("div", {
|
|
18984
18985
|
key: 0,
|
|
18985
18986
|
class: normalizeClass(dialPreviewClasses.value),
|
|
@@ -19017,7 +19018,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19017
19018
|
"aria-hidden": "true",
|
|
19018
19019
|
onMousedown: withModifiers(onArrowPointerDown, ["prevent"])
|
|
19019
19020
|
}, [
|
|
19020
|
-
createVNode(_sfc_main$
|
|
19021
|
+
createVNode(_sfc_main$N, {
|
|
19021
19022
|
name: "arrowDown",
|
|
19022
19023
|
size: 24,
|
|
19023
19024
|
class: normalizeClass(arrowClasses.value)
|
|
@@ -19059,7 +19060,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19059
19060
|
createElementVNode("span", _hoisted_10, "(" + toDisplayString(unref(t)("common.plus")) + toDisplayString(option.countryCode) + ")", 1)
|
|
19060
19061
|
]),
|
|
19061
19062
|
createElementVNode("span", _hoisted_11, [
|
|
19062
|
-
option.value === country.value ? (openBlock(), createBlock(_sfc_main$
|
|
19063
|
+
option.value === country.value ? (openBlock(), createBlock(_sfc_main$N, {
|
|
19063
19064
|
key: 0,
|
|
19064
19065
|
name: "check",
|
|
19065
19066
|
size: 24,
|
|
@@ -19074,7 +19075,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
19074
19075
|
};
|
|
19075
19076
|
}
|
|
19076
19077
|
});
|
|
19077
|
-
const INVALID_RESULT = {
|
|
19078
|
+
const INVALID_RESULT$1 = {
|
|
19078
19079
|
isValid: false,
|
|
19079
19080
|
phoneNumber: null,
|
|
19080
19081
|
countryIso2: null,
|
|
@@ -19117,12 +19118,12 @@ function runPhoneValidation(value, countryIso2) {
|
|
|
19117
19118
|
return toValidationResult(parsed);
|
|
19118
19119
|
}
|
|
19119
19120
|
}
|
|
19120
|
-
return INVALID_RESULT;
|
|
19121
|
+
return INVALID_RESULT$1;
|
|
19121
19122
|
}
|
|
19122
19123
|
function validatePhoneNumber(nationalNumber, countryIso2) {
|
|
19123
19124
|
const trimmed = nationalNumber.trim();
|
|
19124
19125
|
if (!trimmed) {
|
|
19125
|
-
return INVALID_RESULT;
|
|
19126
|
+
return INVALID_RESULT$1;
|
|
19126
19127
|
}
|
|
19127
19128
|
return runPhoneValidation(trimmed, countryIso2);
|
|
19128
19129
|
}
|
|
@@ -19132,7 +19133,7 @@ function getPhoneValidationState(nationalNumber, countryIso2) {
|
|
|
19132
19133
|
}
|
|
19133
19134
|
return validatePhoneNumber(nationalNumber, countryIso2).isValid;
|
|
19134
19135
|
}
|
|
19135
|
-
const _hoisted_1$
|
|
19136
|
+
const _hoisted_1$5 = { class: "w-full mb-6" };
|
|
19136
19137
|
const _hoisted_2$3 = {
|
|
19137
19138
|
key: 1,
|
|
19138
19139
|
class: "font-thin mb-1"
|
|
@@ -19146,7 +19147,7 @@ const _hoisted_5$3 = {
|
|
|
19146
19147
|
key: 3,
|
|
19147
19148
|
class: "text-red-700 font-bold mt-1"
|
|
19148
19149
|
};
|
|
19149
|
-
const _sfc_main$
|
|
19150
|
+
const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
19150
19151
|
...{
|
|
19151
19152
|
inheritAttrs: false
|
|
19152
19153
|
},
|
|
@@ -19278,14 +19279,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19278
19279
|
emit("noCountryResults", value);
|
|
19279
19280
|
}
|
|
19280
19281
|
return (_ctx, _cache) => {
|
|
19281
|
-
return openBlock(), createElementBlock("div", _hoisted_1$
|
|
19282
|
+
return openBlock(), createElementBlock("div", _hoisted_1$5, [
|
|
19282
19283
|
resolvedLabel.value ? (openBlock(), createElementBlock("label", {
|
|
19283
19284
|
key: 0,
|
|
19284
19285
|
class: normalizeClass(["block font-bold text-gray-900 cursor-pointer", { "mb-0": __props.meta, "mb-1": !__props.meta }])
|
|
19285
19286
|
}, toDisplayString(resolvedLabel.value), 3)) : createCommentVNode("", true),
|
|
19286
19287
|
__props.meta ? (openBlock(), createElementBlock("div", _hoisted_2$3, toDisplayString(__props.meta), 1)) : createCommentVNode("", true),
|
|
19287
19288
|
createElementVNode("div", _hoisted_3$3, [
|
|
19288
|
-
createVNode(_sfc_main$
|
|
19289
|
+
createVNode(_sfc_main$b, {
|
|
19289
19290
|
modelValue: country.value,
|
|
19290
19291
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => country.value = $event),
|
|
19291
19292
|
items: countryItems.value,
|
|
@@ -19296,7 +19297,7 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19296
19297
|
class: normalizeClass(["mb-0! shrink-0", __props.selectClass ?? ""]),
|
|
19297
19298
|
onNoCountryResults
|
|
19298
19299
|
}, null, 8, ["modelValue", "items", "valid", "disabled", "ariaLabel", "data-testid", "class"]),
|
|
19299
|
-
createVNode(_sfc_main$
|
|
19300
|
+
createVNode(_sfc_main$s, mergeProps({
|
|
19300
19301
|
modelValue: unref(nationalNumber),
|
|
19301
19302
|
"onUpdate:modelValue": _cache[1] || (_cache[1] = ($event) => isRef(nationalNumber) ? nationalNumber.value = $event : null),
|
|
19302
19303
|
mask: phoneMask.value,
|
|
@@ -19315,6 +19316,474 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
|
19315
19316
|
};
|
|
19316
19317
|
}
|
|
19317
19318
|
});
|
|
19319
|
+
const SSN_MASK = "000000000000";
|
|
19320
|
+
const SSN_INTERIM_MASK = "XXXXXXXXXXXX";
|
|
19321
|
+
const SSN_INTERIM_MASK_OPTIONS = {
|
|
19322
|
+
lazy: true,
|
|
19323
|
+
definitions: {
|
|
19324
|
+
X: /[0-9A-Za-z]/
|
|
19325
|
+
}
|
|
19326
|
+
};
|
|
19327
|
+
function getSsnMask(allowInterimNumber) {
|
|
19328
|
+
return allowInterimNumber ? SSN_INTERIM_MASK : SSN_MASK;
|
|
19329
|
+
}
|
|
19330
|
+
function getSsnMaskOptions(allowInterimNumber) {
|
|
19331
|
+
return allowInterimNumber ? SSN_INTERIM_MASK_OPTIONS : { lazy: true };
|
|
19332
|
+
}
|
|
19333
|
+
var PersonnummerError = class extends Error {
|
|
19334
|
+
constructor() {
|
|
19335
|
+
super("Invalid swedish personal identity number");
|
|
19336
|
+
}
|
|
19337
|
+
};
|
|
19338
|
+
var compareAsc = (dateLeft, dateRight) => {
|
|
19339
|
+
const diff = dateLeft.getTime() - dateRight.getTime();
|
|
19340
|
+
return diff < 0 ? -1 : diff > 0 ? 1 : diff;
|
|
19341
|
+
};
|
|
19342
|
+
var diffInYears = (dateLeft, dateRight) => {
|
|
19343
|
+
const sign = compareAsc(dateLeft, dateRight);
|
|
19344
|
+
const yearDiff = Math.abs(dateLeft.getFullYear() - dateRight.getFullYear());
|
|
19345
|
+
dateLeft.setFullYear(dateLeft.getFullYear() - sign * yearDiff);
|
|
19346
|
+
const isLastYearNotFull = compareAsc(dateLeft, dateRight) === -sign;
|
|
19347
|
+
const result2 = sign * (yearDiff - +isLastYearNotFull);
|
|
19348
|
+
return result2 === 0 ? 0 : result2;
|
|
19349
|
+
};
|
|
19350
|
+
var luhn = (str) => {
|
|
19351
|
+
let sum = 0;
|
|
19352
|
+
str += "";
|
|
19353
|
+
for (let i = 0, l = str.length; i < l; i++) {
|
|
19354
|
+
let v = parseInt(str[i]);
|
|
19355
|
+
v *= 2 - i % 2;
|
|
19356
|
+
if (v > 9) {
|
|
19357
|
+
v -= 9;
|
|
19358
|
+
}
|
|
19359
|
+
sum += v;
|
|
19360
|
+
}
|
|
19361
|
+
return Math.ceil(sum / 10) * 10 - sum;
|
|
19362
|
+
};
|
|
19363
|
+
var testDate = (year, month, day) => {
|
|
19364
|
+
month -= 1;
|
|
19365
|
+
const date = new Date(year, month, day);
|
|
19366
|
+
return !(date.getFullYear() !== year || date.getMonth() !== month || date.getDate() !== day);
|
|
19367
|
+
};
|
|
19368
|
+
var Personnummer = class {
|
|
19369
|
+
/**
|
|
19370
|
+
* Personnummer constructor.
|
|
19371
|
+
*
|
|
19372
|
+
* @param {string} pin
|
|
19373
|
+
* @param {object} options
|
|
19374
|
+
*/
|
|
19375
|
+
constructor(pin, options) {
|
|
19376
|
+
this._century = "";
|
|
19377
|
+
this._fullYear = "";
|
|
19378
|
+
this._year = "";
|
|
19379
|
+
this._month = "";
|
|
19380
|
+
this._day = "";
|
|
19381
|
+
this._sep = "";
|
|
19382
|
+
this._num = "";
|
|
19383
|
+
this._check = "";
|
|
19384
|
+
this.parse(pin, {
|
|
19385
|
+
allowCoordinationNumber: true,
|
|
19386
|
+
allowInterimNumber: false,
|
|
19387
|
+
...options
|
|
19388
|
+
});
|
|
19389
|
+
}
|
|
19390
|
+
/**
|
|
19391
|
+
* Get century.
|
|
19392
|
+
*
|
|
19393
|
+
* @return {string}
|
|
19394
|
+
*/
|
|
19395
|
+
get century() {
|
|
19396
|
+
return this._century;
|
|
19397
|
+
}
|
|
19398
|
+
/**
|
|
19399
|
+
* Get age.
|
|
19400
|
+
*
|
|
19401
|
+
* @return {string}
|
|
19402
|
+
*/
|
|
19403
|
+
get fullYear() {
|
|
19404
|
+
return this._fullYear;
|
|
19405
|
+
}
|
|
19406
|
+
/**
|
|
19407
|
+
* Get age.
|
|
19408
|
+
*
|
|
19409
|
+
* @return {string}
|
|
19410
|
+
*/
|
|
19411
|
+
get year() {
|
|
19412
|
+
return this._year;
|
|
19413
|
+
}
|
|
19414
|
+
/**
|
|
19415
|
+
* Get month.
|
|
19416
|
+
*
|
|
19417
|
+
* @return {string}
|
|
19418
|
+
*/
|
|
19419
|
+
get month() {
|
|
19420
|
+
return this._month;
|
|
19421
|
+
}
|
|
19422
|
+
/**
|
|
19423
|
+
* Get day.
|
|
19424
|
+
*
|
|
19425
|
+
* @return {string}
|
|
19426
|
+
*/
|
|
19427
|
+
get day() {
|
|
19428
|
+
return this._day;
|
|
19429
|
+
}
|
|
19430
|
+
/**
|
|
19431
|
+
* Get sep.
|
|
19432
|
+
*
|
|
19433
|
+
* @return {string}
|
|
19434
|
+
*/
|
|
19435
|
+
get sep() {
|
|
19436
|
+
return this._sep;
|
|
19437
|
+
}
|
|
19438
|
+
/**
|
|
19439
|
+
* Get num.
|
|
19440
|
+
*
|
|
19441
|
+
* @return {string}
|
|
19442
|
+
*/
|
|
19443
|
+
get num() {
|
|
19444
|
+
return this._num;
|
|
19445
|
+
}
|
|
19446
|
+
/**
|
|
19447
|
+
* Get check.
|
|
19448
|
+
*
|
|
19449
|
+
* @return {string}
|
|
19450
|
+
*/
|
|
19451
|
+
get check() {
|
|
19452
|
+
return this._check;
|
|
19453
|
+
}
|
|
19454
|
+
/**
|
|
19455
|
+
* Parse personnummer.
|
|
19456
|
+
*
|
|
19457
|
+
* @param {string} pin
|
|
19458
|
+
* @param {object} options
|
|
19459
|
+
*
|
|
19460
|
+
* @return {Personnummer}
|
|
19461
|
+
*/
|
|
19462
|
+
static parse(pin, options) {
|
|
19463
|
+
return new Personnummer(pin, options);
|
|
19464
|
+
}
|
|
19465
|
+
/**
|
|
19466
|
+
* Validate a Swedish personal identity number.
|
|
19467
|
+
*
|
|
19468
|
+
* @param {string} str
|
|
19469
|
+
* @param {object} options
|
|
19470
|
+
*
|
|
19471
|
+
* @return {boolean}
|
|
19472
|
+
*/
|
|
19473
|
+
static valid(pin, options) {
|
|
19474
|
+
try {
|
|
19475
|
+
Personnummer.parse(pin, options);
|
|
19476
|
+
return true;
|
|
19477
|
+
} catch (e) {
|
|
19478
|
+
return false;
|
|
19479
|
+
}
|
|
19480
|
+
}
|
|
19481
|
+
/**
|
|
19482
|
+
* Parse personnummer and set class properties.
|
|
19483
|
+
*
|
|
19484
|
+
* @param {string} pin
|
|
19485
|
+
* @param {object} options
|
|
19486
|
+
*/
|
|
19487
|
+
parse(pin, options) {
|
|
19488
|
+
if (pin.length < 10 || pin.length > 13) {
|
|
19489
|
+
throw new PersonnummerError();
|
|
19490
|
+
}
|
|
19491
|
+
const reg = /^(\d{2}){0,1}(\d{2})(\d{2})(\d{2})([+-]?)((?!000)\d{3}|[TRSUWXJKLMN]\d{2})(\d)$/;
|
|
19492
|
+
const match2 = reg.exec(pin);
|
|
19493
|
+
if (!match2) {
|
|
19494
|
+
throw new PersonnummerError();
|
|
19495
|
+
}
|
|
19496
|
+
const century = match2[1];
|
|
19497
|
+
const year = match2[2];
|
|
19498
|
+
const month = match2[3];
|
|
19499
|
+
const day = match2[4];
|
|
19500
|
+
const sep = match2[5];
|
|
19501
|
+
const num = match2[6];
|
|
19502
|
+
const check = match2[7];
|
|
19503
|
+
if (typeof century === "undefined" || !century.length) {
|
|
19504
|
+
const d = /* @__PURE__ */ new Date();
|
|
19505
|
+
let baseYear = 0;
|
|
19506
|
+
if (sep === "+") {
|
|
19507
|
+
this._sep = "+";
|
|
19508
|
+
baseYear = d.getFullYear() - 100;
|
|
19509
|
+
} else {
|
|
19510
|
+
this._sep = "-";
|
|
19511
|
+
baseYear = d.getFullYear();
|
|
19512
|
+
}
|
|
19513
|
+
this._century = ("" + (baseYear - (baseYear - parseInt(year)) % 100)).substr(0, 2);
|
|
19514
|
+
} else {
|
|
19515
|
+
this._century = century;
|
|
19516
|
+
if ((/* @__PURE__ */ new Date()).getFullYear() - parseInt(century + year, 10) < 100) {
|
|
19517
|
+
this._sep = "-";
|
|
19518
|
+
} else {
|
|
19519
|
+
this._sep = "+";
|
|
19520
|
+
}
|
|
19521
|
+
}
|
|
19522
|
+
this._year = year;
|
|
19523
|
+
this._fullYear = this._century + year;
|
|
19524
|
+
this._month = month;
|
|
19525
|
+
this._day = day;
|
|
19526
|
+
this._num = num;
|
|
19527
|
+
this._check = check;
|
|
19528
|
+
if (!this.valid()) {
|
|
19529
|
+
throw new PersonnummerError();
|
|
19530
|
+
}
|
|
19531
|
+
if (!(options == null ? void 0 : options.allowCoordinationNumber) && this.isCoordinationNumber()) {
|
|
19532
|
+
throw new PersonnummerError();
|
|
19533
|
+
}
|
|
19534
|
+
if (!(options == null ? void 0 : options.allowInterimNumber) && this.isInterimNumber()) {
|
|
19535
|
+
throw new PersonnummerError();
|
|
19536
|
+
}
|
|
19537
|
+
}
|
|
19538
|
+
/**
|
|
19539
|
+
* Validate a Swedish personal identity number.
|
|
19540
|
+
*
|
|
19541
|
+
* @return {boolean}
|
|
19542
|
+
*/
|
|
19543
|
+
valid() {
|
|
19544
|
+
const valid = luhn(
|
|
19545
|
+
this.year + this.month + this.day + this.num.replace(/[TRSUWXJKLMN]/, "1")
|
|
19546
|
+
) === +this.check && !!this.check;
|
|
19547
|
+
if (valid && testDate(parseInt(this.century + this.year), +this.month, +this.day)) {
|
|
19548
|
+
return valid;
|
|
19549
|
+
}
|
|
19550
|
+
return valid && testDate(parseInt(this.century + this.year), +this.month, +this.day - 60);
|
|
19551
|
+
}
|
|
19552
|
+
/**
|
|
19553
|
+
* Format a Swedish personal identity number as one of the official formats,
|
|
19554
|
+
* A long format or a short format.
|
|
19555
|
+
*
|
|
19556
|
+
* If the input number could not be parsed a empty string will be returned.
|
|
19557
|
+
*
|
|
19558
|
+
* @param {boolean} longFormat
|
|
19559
|
+
*
|
|
19560
|
+
* @return {string}
|
|
19561
|
+
*/
|
|
19562
|
+
format(longFormat = false) {
|
|
19563
|
+
if (longFormat) {
|
|
19564
|
+
return `${this.century}${this.year}${this.month}${this.day}${this.num}${this.check}`;
|
|
19565
|
+
}
|
|
19566
|
+
return `${this.year}${this.month}${this.day}${this.sep}${this.num}${this.check}`;
|
|
19567
|
+
}
|
|
19568
|
+
/**
|
|
19569
|
+
* Get age from a Swedish personal identity number.
|
|
19570
|
+
*
|
|
19571
|
+
* @return {number}
|
|
19572
|
+
*/
|
|
19573
|
+
getAge() {
|
|
19574
|
+
const date = this.getDate();
|
|
19575
|
+
return diffInYears(new Date(Date.now()), date);
|
|
19576
|
+
}
|
|
19577
|
+
/**
|
|
19578
|
+
* Get date from a Swedish personal identity number.
|
|
19579
|
+
*
|
|
19580
|
+
* @return {Date}
|
|
19581
|
+
*/
|
|
19582
|
+
getDate() {
|
|
19583
|
+
let ageDay = +this.day;
|
|
19584
|
+
if (this.isCoordinationNumber()) {
|
|
19585
|
+
ageDay -= 60;
|
|
19586
|
+
}
|
|
19587
|
+
const ageDate = this.century + this.year + "-" + this.month + "-" + (ageDay < 10 ? "0" + ageDay : ageDay);
|
|
19588
|
+
return new Date(ageDate);
|
|
19589
|
+
}
|
|
19590
|
+
/**
|
|
19591
|
+
* Check if a Swedish personal identity number is a interim number or not.
|
|
19592
|
+
*
|
|
19593
|
+
* @return {boolean}
|
|
19594
|
+
*/
|
|
19595
|
+
isInterimNumber() {
|
|
19596
|
+
return /[TRSUWXJKLMN]/.test(this.num[0]);
|
|
19597
|
+
}
|
|
19598
|
+
/**
|
|
19599
|
+
* Check if a Swedish personal identity number is a coordination number or not.
|
|
19600
|
+
*
|
|
19601
|
+
* @return {boolean}
|
|
19602
|
+
*/
|
|
19603
|
+
isCoordinationNumber() {
|
|
19604
|
+
return testDate(
|
|
19605
|
+
parseInt(this.century + this.year),
|
|
19606
|
+
+this.month,
|
|
19607
|
+
+this.day - 60
|
|
19608
|
+
);
|
|
19609
|
+
}
|
|
19610
|
+
/**
|
|
19611
|
+
* Check if a Swedish personal identity number is for a female.
|
|
19612
|
+
*
|
|
19613
|
+
* @return {boolean}
|
|
19614
|
+
*/
|
|
19615
|
+
isFemale() {
|
|
19616
|
+
return !this.isMale();
|
|
19617
|
+
}
|
|
19618
|
+
/**
|
|
19619
|
+
* Check if a Swedish personal identity number is for a male.
|
|
19620
|
+
*
|
|
19621
|
+
* @return {boolean}
|
|
19622
|
+
*/
|
|
19623
|
+
isMale() {
|
|
19624
|
+
const sexDigit = parseInt(this.num.substr(-1));
|
|
19625
|
+
return sexDigit % 2 === 1;
|
|
19626
|
+
}
|
|
19627
|
+
};
|
|
19628
|
+
var src_default = Personnummer;
|
|
19629
|
+
const INVALID_RESULT = {
|
|
19630
|
+
isValid: false,
|
|
19631
|
+
digits: null
|
|
19632
|
+
};
|
|
19633
|
+
const DEFAULT_SSN_VALIDATION_OPTIONS = {
|
|
19634
|
+
allowCoordinationNumber: true,
|
|
19635
|
+
allowInterimNumber: true
|
|
19636
|
+
};
|
|
19637
|
+
function resolveSsnValidationOptions(options) {
|
|
19638
|
+
return {
|
|
19639
|
+
...DEFAULT_SSN_VALIDATION_OPTIONS,
|
|
19640
|
+
...options
|
|
19641
|
+
};
|
|
19642
|
+
}
|
|
19643
|
+
function stripSsnSeparators(value) {
|
|
19644
|
+
return normalizePidSearchValue(value);
|
|
19645
|
+
}
|
|
19646
|
+
function validateSsnNumber(value, options) {
|
|
19647
|
+
const trimmed = value.trim();
|
|
19648
|
+
if (!trimmed) {
|
|
19649
|
+
return INVALID_RESULT;
|
|
19650
|
+
}
|
|
19651
|
+
const resolvedOptions = resolveSsnValidationOptions(options);
|
|
19652
|
+
const isValid2 = src_default.valid(trimmed, resolvedOptions);
|
|
19653
|
+
return {
|
|
19654
|
+
isValid: isValid2,
|
|
19655
|
+
digits: isValid2 ? stripSsnSeparators(trimmed) : null
|
|
19656
|
+
};
|
|
19657
|
+
}
|
|
19658
|
+
function validateSsn(value, options) {
|
|
19659
|
+
return validateSsnNumber(value, options).isValid;
|
|
19660
|
+
}
|
|
19661
|
+
function getSsnValidationState(value, options) {
|
|
19662
|
+
if (!value.trim()) {
|
|
19663
|
+
return null;
|
|
19664
|
+
}
|
|
19665
|
+
return validateSsn(value, options);
|
|
19666
|
+
}
|
|
19667
|
+
const _hoisted_1$4 = { class: "w-full" };
|
|
19668
|
+
const _sfc_main$9 = /* @__PURE__ */ defineComponent({
|
|
19669
|
+
...{
|
|
19670
|
+
inheritAttrs: false
|
|
19671
|
+
},
|
|
19672
|
+
__name: "FdsSsn",
|
|
19673
|
+
props: /* @__PURE__ */ mergeModels({
|
|
19674
|
+
label: { default: void 0 },
|
|
19675
|
+
meta: { default: void 0 },
|
|
19676
|
+
optional: { type: Boolean, default: false },
|
|
19677
|
+
valid: { type: [Boolean, null], default: void 0 },
|
|
19678
|
+
invalidMessage: { default: void 0 },
|
|
19679
|
+
modelValue: {},
|
|
19680
|
+
allowCoordinationNumber: { type: Boolean, default: true },
|
|
19681
|
+
allowInterimNumber: { type: Boolean, default: true },
|
|
19682
|
+
disabled: { type: Boolean, default: false },
|
|
19683
|
+
dataTestid: { default: void 0 },
|
|
19684
|
+
onValid: {},
|
|
19685
|
+
onBlur: {},
|
|
19686
|
+
"onUpdate:modelValue": {},
|
|
19687
|
+
id: { default: void 0 },
|
|
19688
|
+
autocomplete: { default: "off" },
|
|
19689
|
+
required: { type: Boolean, default: false },
|
|
19690
|
+
placeholder: { default: void 0 },
|
|
19691
|
+
name: { default: void 0 },
|
|
19692
|
+
autofocus: { type: Boolean, default: false },
|
|
19693
|
+
readonly: { type: Boolean, default: false },
|
|
19694
|
+
inputClass: { default: void 0 }
|
|
19695
|
+
}, {
|
|
19696
|
+
"modelValue": { default: "" },
|
|
19697
|
+
"modelModifiers": {}
|
|
19698
|
+
}),
|
|
19699
|
+
emits: /* @__PURE__ */ mergeModels(["update:modelValue", "valid", "blur"], ["update:modelValue"]),
|
|
19700
|
+
setup(__props, { emit: __emit }) {
|
|
19701
|
+
const modelValue = useModel(__props, "modelValue");
|
|
19702
|
+
const attrs = useAttrs();
|
|
19703
|
+
const props = __props;
|
|
19704
|
+
const emit = __emit;
|
|
19705
|
+
const { t } = useFdsI18n();
|
|
19706
|
+
const inputAttrs = computed(() => {
|
|
19707
|
+
const { class: _class, style, ...rest } = attrs;
|
|
19708
|
+
return {
|
|
19709
|
+
...rest,
|
|
19710
|
+
...style == null ? {} : { style }
|
|
19711
|
+
};
|
|
19712
|
+
});
|
|
19713
|
+
const forwardedInputProps = computed(() => ({
|
|
19714
|
+
id: props.id,
|
|
19715
|
+
autocomplete: props.autocomplete,
|
|
19716
|
+
required: props.required,
|
|
19717
|
+
placeholder: props.placeholder,
|
|
19718
|
+
name: props.name,
|
|
19719
|
+
autofocus: props.autofocus,
|
|
19720
|
+
readonly: props.readonly,
|
|
19721
|
+
inputmode: props.allowInterimNumber ? "text" : "numeric",
|
|
19722
|
+
...inputAttrs.value
|
|
19723
|
+
}));
|
|
19724
|
+
const validationOptions = computed(
|
|
19725
|
+
() => ({
|
|
19726
|
+
allowCoordinationNumber: props.allowCoordinationNumber,
|
|
19727
|
+
allowInterimNumber: props.allowInterimNumber
|
|
19728
|
+
})
|
|
19729
|
+
);
|
|
19730
|
+
const ssnMask = computed(() => getSsnMask(props.allowInterimNumber));
|
|
19731
|
+
const ssnMaskOptions = computed(() => getSsnMaskOptions(props.allowInterimNumber));
|
|
19732
|
+
const committedValid = ref(null);
|
|
19733
|
+
const resolvedLabel = computed(() => props.label === void 0 ? t("FdsSsn.label") : props.label);
|
|
19734
|
+
const resolvedInvalidMessage = computed(
|
|
19735
|
+
() => props.invalidMessage === void 0 ? t("FdsSsn.invalidSsn") : props.invalidMessage
|
|
19736
|
+
);
|
|
19737
|
+
const displayValid = computed(() => {
|
|
19738
|
+
if (props.valid === false) return false;
|
|
19739
|
+
if (props.valid === true) return true;
|
|
19740
|
+
if (committedValid.value === false) return false;
|
|
19741
|
+
if (committedValid.value === true) return true;
|
|
19742
|
+
return props.valid;
|
|
19743
|
+
});
|
|
19744
|
+
function normalizeValue2() {
|
|
19745
|
+
const normalized = stripSsnSeparators(modelValue.value ?? "");
|
|
19746
|
+
if (normalized !== (modelValue.value ?? "")) {
|
|
19747
|
+
modelValue.value = normalized;
|
|
19748
|
+
}
|
|
19749
|
+
}
|
|
19750
|
+
function runValidation() {
|
|
19751
|
+
const validationState = getSsnValidationState(modelValue.value ?? "", validationOptions.value);
|
|
19752
|
+
committedValid.value = validationState;
|
|
19753
|
+
emit("valid", validationState);
|
|
19754
|
+
}
|
|
19755
|
+
watch([() => props.allowCoordinationNumber, () => props.allowInterimNumber], () => {
|
|
19756
|
+
if (committedValid.value === null) {
|
|
19757
|
+
return;
|
|
19758
|
+
}
|
|
19759
|
+
runValidation();
|
|
19760
|
+
});
|
|
19761
|
+
function handleBlur(ev) {
|
|
19762
|
+
normalizeValue2();
|
|
19763
|
+
runValidation();
|
|
19764
|
+
emit("blur", ev);
|
|
19765
|
+
}
|
|
19766
|
+
return (_ctx, _cache) => {
|
|
19767
|
+
return openBlock(), createElementBlock("div", _hoisted_1$4, [
|
|
19768
|
+
createVNode(_sfc_main$s, mergeProps({
|
|
19769
|
+
modelValue: modelValue.value,
|
|
19770
|
+
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => modelValue.value = $event),
|
|
19771
|
+
mask: ssnMask.value,
|
|
19772
|
+
"mask-options": ssnMaskOptions.value,
|
|
19773
|
+
label: resolvedLabel.value,
|
|
19774
|
+
meta: __props.meta,
|
|
19775
|
+
valid: displayValid.value,
|
|
19776
|
+
disabled: __props.disabled,
|
|
19777
|
+
optional: __props.optional,
|
|
19778
|
+
"invalid-message": resolvedInvalidMessage.value,
|
|
19779
|
+
ariaLabel: resolvedLabel.value,
|
|
19780
|
+
"data-testid": __props.dataTestid,
|
|
19781
|
+
class: __props.inputClass
|
|
19782
|
+
}, forwardedInputProps.value, { onBlur: handleBlur }), null, 16, ["modelValue", "mask", "mask-options", "label", "meta", "valid", "disabled", "optional", "invalid-message", "ariaLabel", "data-testid", "class"])
|
|
19783
|
+
]);
|
|
19784
|
+
};
|
|
19785
|
+
}
|
|
19786
|
+
});
|
|
19318
19787
|
const _hoisted_1$3 = ["for"];
|
|
19319
19788
|
const _hoisted_2$2 = {
|
|
19320
19789
|
key: 1,
|
|
@@ -19349,7 +19818,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
19349
19818
|
inputClass: { default: void 0 },
|
|
19350
19819
|
value: { default: void 0 }
|
|
19351
19820
|
}, {
|
|
19352
|
-
"modelValue": {
|
|
19821
|
+
"modelValue": {},
|
|
19353
19822
|
"modelModifiers": {}
|
|
19354
19823
|
}),
|
|
19355
19824
|
emits: /* @__PURE__ */ mergeModels(["input", "change", "update:value"], ["update:modelValue"]),
|
|
@@ -19438,12 +19907,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
|
|
|
19438
19907
|
value: option.value,
|
|
19439
19908
|
disabled: option.disabled
|
|
19440
19909
|
}, toDisplayString(option.label), 9, _hoisted_5$2);
|
|
19441
|
-
}), 128)) : renderSlot(_ctx.$slots, "default", {
|
|
19910
|
+
}), 128)) : renderSlot(_ctx.$slots, "default", {}, void 0, void 0, 2)
|
|
19442
19911
|
], 16), [
|
|
19443
19912
|
[vModelSelect, internalValue.value]
|
|
19444
19913
|
]),
|
|
19445
19914
|
createElementVNode("div", _hoisted_6, [
|
|
19446
|
-
createVNode(_sfc_main$
|
|
19915
|
+
createVNode(_sfc_main$N, {
|
|
19447
19916
|
name: "arrowDown",
|
|
19448
19917
|
size: 24,
|
|
19449
19918
|
class: normalizeClass({
|
|
@@ -19488,7 +19957,7 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19488
19957
|
maxlength: { default: void 0 },
|
|
19489
19958
|
value: { default: void 0 }
|
|
19490
19959
|
}, {
|
|
19491
|
-
"modelValue": {
|
|
19960
|
+
"modelValue": {},
|
|
19492
19961
|
"modelModifiers": {}
|
|
19493
19962
|
}),
|
|
19494
19963
|
emits: /* @__PURE__ */ mergeModels(["input", "change", "update:value", "blur", "valid"], ["update:modelValue"]),
|
|
@@ -19610,12 +20079,12 @@ const _sfc_main$7 = /* @__PURE__ */ defineComponent({
|
|
|
19610
20079
|
createElementVNode("div", {
|
|
19611
20080
|
class: normalizeClass(validationIconClasses.value)
|
|
19612
20081
|
}, [
|
|
19613
|
-
isInvalid.value ? (openBlock(), createBlock(_sfc_main$
|
|
20082
|
+
isInvalid.value ? (openBlock(), createBlock(_sfc_main$N, {
|
|
19614
20083
|
key: 0,
|
|
19615
20084
|
name: "alert",
|
|
19616
20085
|
class: "fill-red-600"
|
|
19617
20086
|
})) : createCommentVNode("", true),
|
|
19618
|
-
isValid2.value ? (openBlock(), createBlock(_sfc_main$
|
|
20087
|
+
isValid2.value ? (openBlock(), createBlock(_sfc_main$N, {
|
|
19619
20088
|
key: 1,
|
|
19620
20089
|
name: "bigSuccess"
|
|
19621
20090
|
})) : createCommentVNode("", true)
|
|
@@ -19706,7 +20175,7 @@ const _sfc_main$5 = /* @__PURE__ */ defineComponent({
|
|
|
19706
20175
|
unref(hasSlot) ? (openBlock(), createElementBlock("span", _hoisted_2, [
|
|
19707
20176
|
renderSlot(_ctx.$slots, "default")
|
|
19708
20177
|
])) : (openBlock(), createElementBlock("span", _hoisted_3, toDisplayString(__props.heading), 1)),
|
|
19709
|
-
createVNode(_sfc_main$
|
|
20178
|
+
createVNode(_sfc_main$N, {
|
|
19710
20179
|
name: iconName.value,
|
|
19711
20180
|
size: "24px",
|
|
19712
20181
|
class: "fill-blue-500 ml-1"
|
|
@@ -19938,7 +20407,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
19938
20407
|
});
|
|
19939
20408
|
return (_ctx, _cache) => {
|
|
19940
20409
|
return openBlock(), createElementBlock("div", mergeProps({ class: wrapperClasses.value }, rootAttrs.value), [
|
|
19941
|
-
__props.loading ? (openBlock(), createBlock(_sfc_main$
|
|
20410
|
+
__props.loading ? (openBlock(), createBlock(_sfc_main$F, {
|
|
19942
20411
|
key: 0,
|
|
19943
20412
|
size: "24px",
|
|
19944
20413
|
color: "blue",
|
|
@@ -20227,97 +20696,101 @@ const FdsVueCorePlugin = {
|
|
|
20227
20696
|
if (options?.i18n) {
|
|
20228
20697
|
app.provide(FDS_VUE_CORE_I18N_KEY, options.i18n);
|
|
20229
20698
|
}
|
|
20230
|
-
app.component("FdsTreeView", _sfc_main$
|
|
20231
|
-
app.component("FdsButtonPrimary", _sfc_main$
|
|
20232
|
-
app.component("FdsButtonSecondary", _sfc_main$
|
|
20233
|
-
app.component("FdsButtonMinor", _sfc_main$
|
|
20234
|
-
app.component("FdsButtonIcon", _sfc_main$
|
|
20235
|
-
app.component("FdsButtonCopy", _sfc_main$
|
|
20236
|
-
app.component("FdsButtonDownload", _sfc_main$
|
|
20237
|
-
app.component("FdsDevMode", _sfc_main$
|
|
20238
|
-
app.component("FdsIcon", _sfc_main$
|
|
20239
|
-
app.component("FdsSpinner", _sfc_main$
|
|
20240
|
-
app.component("FdsRadio", _sfc_main$
|
|
20241
|
-
app.component("FdsCheckbox", _sfc_main$
|
|
20699
|
+
app.component("FdsTreeView", _sfc_main$h);
|
|
20700
|
+
app.component("FdsButtonPrimary", _sfc_main$B);
|
|
20701
|
+
app.component("FdsButtonSecondary", _sfc_main$A);
|
|
20702
|
+
app.component("FdsButtonMinor", _sfc_main$E);
|
|
20703
|
+
app.component("FdsButtonIcon", _sfc_main$M);
|
|
20704
|
+
app.component("FdsButtonCopy", _sfc_main$D);
|
|
20705
|
+
app.component("FdsButtonDownload", _sfc_main$C);
|
|
20706
|
+
app.component("FdsDevMode", _sfc_main$o);
|
|
20707
|
+
app.component("FdsIcon", _sfc_main$N);
|
|
20708
|
+
app.component("FdsSpinner", _sfc_main$F);
|
|
20709
|
+
app.component("FdsRadio", _sfc_main$x);
|
|
20710
|
+
app.component("FdsCheckbox", _sfc_main$y);
|
|
20242
20711
|
app.component("FdsTextarea", _sfc_main$7);
|
|
20243
|
-
app.component("FdsPhonenumber", _sfc_main$
|
|
20712
|
+
app.component("FdsPhonenumber", _sfc_main$a);
|
|
20713
|
+
app.component("FdsSsn", _sfc_main$9);
|
|
20244
20714
|
app.component("FdsSelect", _sfc_main$8);
|
|
20245
20715
|
app.component("FdsTable", _sfc_main$6);
|
|
20246
20716
|
app.component("FdsTableHead", _sfc_main$5);
|
|
20247
|
-
app.component("FdsInput", _sfc_main$
|
|
20248
|
-
app.component("FdsBlockContent", _sfc_main$
|
|
20249
|
-
app.component("FdsBlockInfo", _sfc_main$
|
|
20250
|
-
app.component("FdsBlockAlert", _sfc_main$
|
|
20251
|
-
app.component("FdsBlockExpander", _sfc_main$
|
|
20252
|
-
app.component("FdsBlockLink", _sfc_main$
|
|
20253
|
-
app.component("FdsSticker", _sfc_main$
|
|
20254
|
-
app.component("FdsTabs", _sfc_main$
|
|
20255
|
-
app.component("FdsTabsItem", _sfc_main$
|
|
20256
|
-
app.component("FdsModal", _sfc_main$
|
|
20257
|
-
app.component("FdsPagination", _sfc_main$
|
|
20258
|
-
app.component("FdsPopover", _sfc_main$
|
|
20259
|
-
app.component("FdsSearchSelect", _sfc_main$
|
|
20260
|
-
app.component("FdsSearchSelectPro", _sfc_main$
|
|
20261
|
-
app.component("FdsTruncatedText", _sfc_main$
|
|
20262
|
-
app.component("FdsWizard", _sfc_main$
|
|
20263
|
-
app.component("FdsWeekCalendar", _sfc_main$
|
|
20717
|
+
app.component("FdsInput", _sfc_main$s);
|
|
20718
|
+
app.component("FdsBlockContent", _sfc_main$K);
|
|
20719
|
+
app.component("FdsBlockInfo", _sfc_main$H);
|
|
20720
|
+
app.component("FdsBlockAlert", _sfc_main$L);
|
|
20721
|
+
app.component("FdsBlockExpander", _sfc_main$I);
|
|
20722
|
+
app.component("FdsBlockLink", _sfc_main$G);
|
|
20723
|
+
app.component("FdsSticker", _sfc_main$J);
|
|
20724
|
+
app.component("FdsTabs", _sfc_main$r);
|
|
20725
|
+
app.component("FdsTabsItem", _sfc_main$q);
|
|
20726
|
+
app.component("FdsModal", _sfc_main$u);
|
|
20727
|
+
app.component("FdsPagination", _sfc_main$m);
|
|
20728
|
+
app.component("FdsPopover", _sfc_main$l);
|
|
20729
|
+
app.component("FdsSearchSelect", _sfc_main$k);
|
|
20730
|
+
app.component("FdsSearchSelectPro", _sfc_main$j);
|
|
20731
|
+
app.component("FdsTruncatedText", _sfc_main$g);
|
|
20732
|
+
app.component("FdsWizard", _sfc_main$c);
|
|
20733
|
+
app.component("FdsWeekCalendar", _sfc_main$e);
|
|
20264
20734
|
app.component("FdsH1", _sfc_main$4);
|
|
20265
20735
|
app.component("FdsH2", _sfc_main$3);
|
|
20266
20736
|
app.component("FdsH3", _sfc_main$2);
|
|
20267
20737
|
app.component("FdsHr", _sfc_main$1);
|
|
20268
|
-
app.component("FdsLabel", _sfc_main$
|
|
20269
|
-
app.component("FdsLead", _sfc_main$
|
|
20270
|
-
app.component("FdsMeta", _sfc_main$
|
|
20738
|
+
app.component("FdsLabel", _sfc_main$w);
|
|
20739
|
+
app.component("FdsLead", _sfc_main$d);
|
|
20740
|
+
app.component("FdsMeta", _sfc_main$t);
|
|
20271
20741
|
app.component("FdsListHeading", _sfc_main);
|
|
20272
20742
|
}
|
|
20273
20743
|
};
|
|
20274
20744
|
export {
|
|
20275
20745
|
FDS_VUE_CORE_I18N_KEY,
|
|
20276
|
-
_sfc_main$
|
|
20277
|
-
_sfc_main$
|
|
20278
|
-
_sfc_main$
|
|
20279
|
-
_sfc_main$
|
|
20280
|
-
_sfc_main$
|
|
20281
|
-
_sfc_main$
|
|
20282
|
-
_sfc_main$
|
|
20283
|
-
_sfc_main$
|
|
20284
|
-
_sfc_main$
|
|
20285
|
-
_sfc_main$
|
|
20286
|
-
_sfc_main$
|
|
20287
|
-
_sfc_main$
|
|
20288
|
-
_sfc_main$
|
|
20289
|
-
_sfc_main$
|
|
20746
|
+
_sfc_main$L as FdsBlockAlert,
|
|
20747
|
+
_sfc_main$K as FdsBlockContent,
|
|
20748
|
+
_sfc_main$I as FdsBlockExpander,
|
|
20749
|
+
_sfc_main$H as FdsBlockInfo,
|
|
20750
|
+
_sfc_main$G as FdsBlockLink,
|
|
20751
|
+
_sfc_main$D as FdsButtonCopy,
|
|
20752
|
+
_sfc_main$C as FdsButtonDownload,
|
|
20753
|
+
_sfc_main$M as FdsButtonIcon,
|
|
20754
|
+
_sfc_main$E as FdsButtonMinor,
|
|
20755
|
+
_sfc_main$B as FdsButtonPrimary,
|
|
20756
|
+
_sfc_main$A as FdsButtonSecondary,
|
|
20757
|
+
_sfc_main$y as FdsCheckbox,
|
|
20758
|
+
_sfc_main$o as FdsDevMode,
|
|
20759
|
+
_sfc_main$n as FdsExitModal,
|
|
20290
20760
|
_sfc_main$4 as FdsH1,
|
|
20291
20761
|
_sfc_main$3 as FdsH2,
|
|
20292
20762
|
_sfc_main$2 as FdsH3,
|
|
20293
20763
|
_sfc_main$1 as FdsHr,
|
|
20294
|
-
_sfc_main$
|
|
20295
|
-
_sfc_main$
|
|
20296
|
-
_sfc_main$
|
|
20297
|
-
_sfc_main$
|
|
20764
|
+
_sfc_main$N as FdsIcon,
|
|
20765
|
+
_sfc_main$s as FdsInput,
|
|
20766
|
+
_sfc_main$w as FdsLabel,
|
|
20767
|
+
_sfc_main$d as FdsLead,
|
|
20298
20768
|
_sfc_main as FdsListHeading,
|
|
20299
|
-
_sfc_main$
|
|
20300
|
-
_sfc_main$
|
|
20301
|
-
_sfc_main$
|
|
20302
|
-
_sfc_main$
|
|
20303
|
-
_sfc_main$
|
|
20304
|
-
_sfc_main$
|
|
20305
|
-
_sfc_main$
|
|
20306
|
-
_sfc_main$
|
|
20769
|
+
_sfc_main$t as FdsMeta,
|
|
20770
|
+
_sfc_main$u as FdsModal,
|
|
20771
|
+
_sfc_main$m as FdsPagination,
|
|
20772
|
+
_sfc_main$a as FdsPhonenumber,
|
|
20773
|
+
_sfc_main$l as FdsPopover,
|
|
20774
|
+
_sfc_main$x as FdsRadio,
|
|
20775
|
+
_sfc_main$k as FdsSearchSelect,
|
|
20776
|
+
_sfc_main$j as FdsSearchSelectPro,
|
|
20307
20777
|
_sfc_main$8 as FdsSelect,
|
|
20308
|
-
_sfc_main$
|
|
20309
|
-
_sfc_main$
|
|
20778
|
+
_sfc_main$F as FdsSpinner,
|
|
20779
|
+
_sfc_main$9 as FdsSsn,
|
|
20780
|
+
_sfc_main$J as FdsSticker,
|
|
20310
20781
|
_sfc_main$6 as FdsTable,
|
|
20311
20782
|
_sfc_main$5 as FdsTableHead,
|
|
20312
|
-
_sfc_main$
|
|
20313
|
-
_sfc_main$
|
|
20783
|
+
_sfc_main$r as FdsTabs,
|
|
20784
|
+
_sfc_main$q as FdsTabsItem,
|
|
20314
20785
|
_sfc_main$7 as FdsTextarea,
|
|
20315
|
-
_sfc_main$
|
|
20316
|
-
_sfc_main$
|
|
20317
|
-
_sfc_main$
|
|
20318
|
-
_sfc_main$
|
|
20786
|
+
_sfc_main$h as FdsTreeView,
|
|
20787
|
+
_sfc_main$g as FdsTruncatedText,
|
|
20788
|
+
_sfc_main$e as FdsWeekCalendar,
|
|
20789
|
+
_sfc_main$c as FdsWizard,
|
|
20319
20790
|
PID_MASK,
|
|
20320
20791
|
PID_MASK_OPTIONS,
|
|
20792
|
+
SSN_INTERIM_MASK,
|
|
20793
|
+
SSN_MASK,
|
|
20321
20794
|
bankid,
|
|
20322
20795
|
buildCountryOptions,
|
|
20323
20796
|
capitalizeFirstLetter,
|
|
@@ -20329,6 +20802,9 @@ export {
|
|
|
20329
20802
|
formatPidWithDash,
|
|
20330
20803
|
getExitGuardWizardId,
|
|
20331
20804
|
getPhoneValidationState,
|
|
20805
|
+
getSsnMask,
|
|
20806
|
+
getSsnMaskOptions,
|
|
20807
|
+
getSsnValidationState,
|
|
20332
20808
|
isPidString,
|
|
20333
20809
|
isRelativeHref,
|
|
20334
20810
|
logoFeelgoodColored,
|
|
@@ -20340,6 +20816,7 @@ export {
|
|
|
20340
20816
|
shouldBlockNavigation,
|
|
20341
20817
|
shouldBlockWizardExit,
|
|
20342
20818
|
sortCountryOptionsByName,
|
|
20819
|
+
stripSsnSeparators,
|
|
20343
20820
|
teardownRouterLinkInterceptor,
|
|
20344
20821
|
useBoldQuery,
|
|
20345
20822
|
useDevMode,
|
|
@@ -20354,6 +20831,8 @@ export {
|
|
|
20354
20831
|
useRouteScrollPositions,
|
|
20355
20832
|
useTreeState,
|
|
20356
20833
|
useViewportBreakpoint,
|
|
20357
|
-
validatePhoneNumber
|
|
20834
|
+
validatePhoneNumber,
|
|
20835
|
+
validateSsn,
|
|
20836
|
+
validateSsnNumber
|
|
20358
20837
|
};
|
|
20359
20838
|
//# sourceMappingURL=fds-vue-core.es.js.map
|