strapi-plugin-magic-link-v5 5.3.16 → 5.3.17
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/dist/_chunks/{index-DRrOQmHI.js → index-B2xZYpX4.js} +1 -1
- package/dist/_chunks/{index-uwUKk17V.mjs → index-BgpjdW58.mjs} +3 -3
- package/dist/_chunks/{index-B5ocEHHM.mjs → index-CElXiYhz.mjs} +110 -120
- package/dist/_chunks/{index-uEW37Cq7.js → index-CKTfFcY_.js} +3 -3
- package/dist/_chunks/{index-CoPzo3AB.js → index-D4H9YZpN.js} +1 -1
- package/dist/_chunks/{index-DdtbtuBN.mjs → index-DE3ezoyh.mjs} +1 -1
- package/dist/_chunks/{index-B_W1UPwO.js → index-DvhGDDc6.js} +110 -120
- package/dist/_chunks/{index-Ci-1p8MA.mjs → index-JV5Cw7Sp.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -5,7 +5,7 @@ import { useIntl } from "react-intl";
|
|
|
5
5
|
import { Box, Typography, Flex, Button, Accordion, SingleSelect, SingleSelectOption, Grid, Switch, NumberInput, TextInput, Divider, Textarea, Badge } from "@strapi/design-system";
|
|
6
6
|
import { Check, Cog, Lightning, Shield, Mail, CheckCircle, Code, Link, Lock, Key } from "@strapi/icons";
|
|
7
7
|
import { useNotification, useFetchClient } from "@strapi/strapi/admin";
|
|
8
|
-
import { g as getTrad } from "./index-
|
|
8
|
+
import { g as getTrad } from "./index-BgpjdW58.mjs";
|
|
9
9
|
import { u as usePluginLanguage, L as LicenseGuard, a as LanguageProvider } from "./LicenseGuard-B_r3b1Vh.mjs";
|
|
10
10
|
const EMAIL_TEMPLATES = {
|
|
11
11
|
modern: {
|
|
@@ -436,13 +436,6 @@ const getTemplate = (key) => {
|
|
|
436
436
|
return EMAIL_TEMPLATES[key] || EMAIL_TEMPLATES.modern;
|
|
437
437
|
};
|
|
438
438
|
const theme = {
|
|
439
|
-
colors: {
|
|
440
|
-
primary: { 600: "#0284C7", 700: "#075985", 100: "#E0F2FE" },
|
|
441
|
-
success: { 600: "#16A34A", 700: "#15803D" },
|
|
442
|
-
danger: { 600: "#DC2626", 700: "#B91C1C" },
|
|
443
|
-
warning: { 600: "#D97706", 700: "#A16207" },
|
|
444
|
-
neutral: { 400: "#9CA3AF", 700: "#374151", 800: "#1F2937" }
|
|
445
|
-
},
|
|
446
439
|
shadows: { sm: "0 1px 3px rgba(0,0,0,0.1)" },
|
|
447
440
|
borderRadius: { md: "8px", lg: "12px" }
|
|
448
441
|
};
|
|
@@ -469,7 +462,7 @@ const PlaceholderTile = styled(Box)`
|
|
|
469
462
|
&:hover {
|
|
470
463
|
transform: translateY(-2px);
|
|
471
464
|
box-shadow: 0 6px 16px rgba(2, 132, 199, 0.15);
|
|
472
|
-
border-color:
|
|
465
|
+
border-color: rgba(14, 165, 233, 0.6);
|
|
473
466
|
}
|
|
474
467
|
|
|
475
468
|
&:active {
|
|
@@ -513,7 +506,7 @@ const ToggleCard = styled(Box)`
|
|
|
513
506
|
position: absolute;
|
|
514
507
|
top: 8px;
|
|
515
508
|
right: 8px;
|
|
516
|
-
background:
|
|
509
|
+
background: #16A34A;
|
|
517
510
|
color: white;
|
|
518
511
|
padding: 2px 8px;
|
|
519
512
|
border-radius: 4px;
|
|
@@ -575,7 +568,6 @@ const StickySaveBar = styled(Box)`
|
|
|
575
568
|
position: sticky;
|
|
576
569
|
top: 0;
|
|
577
570
|
z-index: 10;
|
|
578
|
-
background: var(--colors-neutral0, white);
|
|
579
571
|
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
580
572
|
box-shadow: ${theme.shadows.sm};
|
|
581
573
|
`;
|
|
@@ -592,7 +584,7 @@ const IconWrapper = styled.div`
|
|
|
592
584
|
svg {
|
|
593
585
|
width: 24px;
|
|
594
586
|
height: 24px;
|
|
595
|
-
color: ${(props) => props.$iconColor ||
|
|
587
|
+
color: ${(props) => props.$iconColor || "var(--colors-primary600, #0284C7)"};
|
|
596
588
|
}
|
|
597
589
|
`;
|
|
598
590
|
const SettingsModern = () => {
|
|
@@ -941,10 +933,10 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
941
933
|
const statusActive = formatMessage({ id: getTrad("status.active") });
|
|
942
934
|
const statusInactive = formatMessage({ id: getTrad("status.inactive") });
|
|
943
935
|
return /* @__PURE__ */ jsxs(Container, { as: "form", onSubmit: handleSave, children: [
|
|
944
|
-
/* @__PURE__ */ jsx(StickySaveBar, { paddingTop: 5, paddingBottom: 5, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", children: [
|
|
936
|
+
/* @__PURE__ */ jsx(StickySaveBar, { background: "neutral0", paddingTop: 5, paddingBottom: 5, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", children: [
|
|
945
937
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 1, alignItems: "flex-start", children: [
|
|
946
|
-
/* @__PURE__ */ jsx(Typography, { variant: "alpha", fontWeight: "bold", style: { fontSize: "24px" }, children: formatMessage({ id: getTrad("settings.page.title") }) }),
|
|
947
|
-
/* @__PURE__ */ jsx(Typography, { variant: "epsilon", textColor: "neutral600", children: formatMessage({ id: getTrad("settings.page.subtitle") }) })
|
|
938
|
+
/* @__PURE__ */ jsx(Typography, { variant: "alpha", fontWeight: "bold", textColor: "neutral800", tag: "h1", style: { fontSize: "24px" }, children: formatMessage({ id: getTrad("settings.page.title") }) }),
|
|
939
|
+
/* @__PURE__ */ jsx(Typography, { variant: "epsilon", textColor: "neutral600", tag: "p", children: formatMessage({ id: getTrad("settings.page.subtitle") }) })
|
|
948
940
|
] }),
|
|
949
941
|
/* @__PURE__ */ jsx(
|
|
950
942
|
Button,
|
|
@@ -981,9 +973,8 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
981
973
|
/* @__PURE__ */ jsx(
|
|
982
974
|
Box,
|
|
983
975
|
{
|
|
984
|
-
background: "primary50",
|
|
985
976
|
padding: 5,
|
|
986
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
977
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(2, 132, 199, 0.3)", marginBottom: "24px", background: "rgba(2, 132, 199, 0.06)" },
|
|
987
978
|
children: /* @__PURE__ */ jsxs(Flex, { gap: 3, alignItems: "flex-start", children: [
|
|
988
979
|
/* @__PURE__ */ jsx(
|
|
989
980
|
Box,
|
|
@@ -992,7 +983,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
992
983
|
width: "40px",
|
|
993
984
|
height: "40px",
|
|
994
985
|
borderRadius: "50%",
|
|
995
|
-
background:
|
|
986
|
+
background: "var(--colors-primary600, #0284C7)",
|
|
996
987
|
display: "flex",
|
|
997
988
|
alignItems: "center",
|
|
998
989
|
justifyContent: "center",
|
|
@@ -1002,8 +993,8 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1002
993
|
}
|
|
1003
994
|
),
|
|
1004
995
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1005
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { fontSize: "14px", marginBottom: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.info.header") }) }),
|
|
1006
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { lineHeight: "1.6", fontSize: "13px" }, children: [
|
|
996
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", textColor: "neutral800", style: { fontSize: "14px", marginBottom: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.info.header") }) }),
|
|
997
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", textColor: "neutral600", style: { lineHeight: "1.6", fontSize: "13px" }, children: [
|
|
1007
998
|
"• ",
|
|
1008
999
|
formatMessage({ id: getTrad("settings.info.line1") }),
|
|
1009
1000
|
/* @__PURE__ */ jsx("br", {}),
|
|
@@ -1051,7 +1042,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1051
1042
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "11px", flex: 1 }, children: formatMessage({ id: getTrad("settings.language.hint") }) })
|
|
1052
1043
|
] }) }),
|
|
1053
1044
|
/* @__PURE__ */ jsxs(Box, { background: "neutral100", padding: 5, style: { borderRadius: theme.borderRadius.md, marginBottom: "24px" }, children: [
|
|
1054
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color:
|
|
1045
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.features.title") }) }),
|
|
1055
1046
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", textAlign: "center", fontSize: "12px" }, children: formatMessage({ id: getTrad("settings.features.subtitle") }) }),
|
|
1056
1047
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 4, children: [
|
|
1057
1048
|
/* @__PURE__ */ jsx(Grid.Item, { col: 4, s: 6, xs: 12, children: /* @__PURE__ */ jsx(ToggleCard, { $active: settings.enabled, $statusLabel: settings.enabled ? statusActive : statusInactive, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, children: [
|
|
@@ -1095,7 +1086,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1095
1086
|
] }) }) })
|
|
1096
1087
|
] })
|
|
1097
1088
|
] }),
|
|
1098
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
1089
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.time.title") }) }),
|
|
1099
1090
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, style: { marginBottom: "32px" }, children: [
|
|
1100
1091
|
/* @__PURE__ */ jsx(Grid.Item, { col: 6, s: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
1101
1092
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.expire.label") }) }),
|
|
@@ -1124,7 +1115,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1124
1115
|
/* @__PURE__ */ jsx(Box, { padding: 2, background: "success50", style: { borderRadius: "4px", marginTop: "8px" }, children: /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "success700", style: { fontSize: "11px" }, children: formatMessage({ id: getTrad("settings.tokenLength.recommendation") }, { length: settings.token_length }) }) })
|
|
1125
1116
|
] }) })
|
|
1126
1117
|
] }),
|
|
1127
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
1118
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.security.title") }) }),
|
|
1128
1119
|
/* @__PURE__ */ jsx(Grid.Root, { gap: 6, style: { marginBottom: "32px" }, children: /* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
1129
1120
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.maxAttempts.label") }) }),
|
|
1130
1121
|
/* @__PURE__ */ jsx(
|
|
@@ -1138,7 +1129,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1138
1129
|
),
|
|
1139
1130
|
/* @__PURE__ */ jsx(Box, { padding: 2, background: "warning50", style: { borderRadius: "4px", marginTop: "8px" }, children: /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "warning700", style: { fontSize: "11px" }, children: formatMessage({ id: getTrad("settings.maxAttempts.warning") }) }) })
|
|
1140
1131
|
] }) }) }),
|
|
1141
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
1132
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.context.title") }) }),
|
|
1142
1133
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, style: { marginBottom: "32px" }, children: [
|
|
1143
1134
|
/* @__PURE__ */ jsx(Grid.Item, { col: 6, s: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
1144
1135
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.context.whitelist.label") }) }),
|
|
@@ -1181,7 +1172,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1181
1172
|
/* @__PURE__ */ jsx(Box, { padding: 2, background: "danger50", style: { borderRadius: "4px", marginTop: "8px" }, children: /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "danger700", style: { fontSize: "11px" }, children: formatMessage({ id: getTrad("settings.context.blacklist.info") }) }) })
|
|
1182
1173
|
] }) })
|
|
1183
1174
|
] }),
|
|
1184
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
1175
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.api.title") }) }),
|
|
1185
1176
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, children: [
|
|
1186
1177
|
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
1187
1178
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.loginPath.label") }) }),
|
|
@@ -1267,7 +1258,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1267
1258
|
}
|
|
1268
1259
|
) }),
|
|
1269
1260
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsx(Box, { padding: 6, children: /* @__PURE__ */ jsxs(Grid.Root, { gap: 4, children: [
|
|
1270
|
-
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsx(Box, { background: "success50", padding: 4, style: { borderRadius: "8px", border: "2px solid
|
|
1261
|
+
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsx(Box, { background: "success50", padding: 4, style: { borderRadius: "8px", border: "2px solid rgba(34, 197, 94, 0.4)", marginBottom: "16px" }, children: /* @__PURE__ */ jsxs(Flex, { gap: 3, alignItems: "flex-start", children: [
|
|
1271
1262
|
/* @__PURE__ */ jsx(Lightning, { style: { color: "#22C55E", width: "24px", height: "24px", flexShrink: 0, marginTop: "2px" } }),
|
|
1272
1263
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
1273
1264
|
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { display: "block", marginBottom: "4px" }, children: "WhatsApp Magic Link Delivery" }),
|
|
@@ -1330,7 +1321,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1330
1321
|
) }),
|
|
1331
1322
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsxs(Box, { padding: 6, children: [
|
|
1332
1323
|
/* @__PURE__ */ jsxs(Box, { background: "neutral100", padding: 5, style: { borderRadius: theme.borderRadius.md, marginBottom: "24px" }, children: [
|
|
1333
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color:
|
|
1324
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.auth.options.title") }) }),
|
|
1334
1325
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", textAlign: "center", fontSize: "12px" }, children: formatMessage({ id: getTrad("settings.auth.options.subtitle") }) }),
|
|
1335
1326
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 4, children: [
|
|
1336
1327
|
/* @__PURE__ */ jsx(Grid.Item, { col: 3, s: 6, xs: 12, children: /* @__PURE__ */ jsx(ToggleCard, { $active: settings.verify_email, $statusLabel: settings.verify_email ? statusActive : statusInactive, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, children: [
|
|
@@ -1391,7 +1382,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1391
1382
|
] }) }) })
|
|
1392
1383
|
] })
|
|
1393
1384
|
] }),
|
|
1394
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
1385
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.auth.management.title") }) }),
|
|
1395
1386
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, children: [
|
|
1396
1387
|
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
1397
1388
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.auth.strategy.label") }) }),
|
|
@@ -1445,22 +1436,22 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1445
1436
|
style: {
|
|
1446
1437
|
borderRadius: theme.borderRadius.md,
|
|
1447
1438
|
marginBottom: "32px",
|
|
1448
|
-
border: "2px solid
|
|
1439
|
+
border: "2px solid rgba(239, 68, 68, 0.4)",
|
|
1449
1440
|
boxShadow: "0 4px 12px rgba(220, 38, 38, 0.15)"
|
|
1450
1441
|
},
|
|
1451
1442
|
children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, children: [
|
|
1452
1443
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
|
|
1453
|
-
/* @__PURE__ */ jsx(Mail, { style: { color:
|
|
1454
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { color:
|
|
1444
|
+
/* @__PURE__ */ jsx(Mail, { style: { color: "var(--colors-danger600, #DC2626)", width: "24px", height: "24px" } }),
|
|
1445
|
+
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { color: "var(--colors-danger600, #B91C1C)" }, children: "⚠️ No Email Provider Configured" })
|
|
1455
1446
|
] }),
|
|
1456
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "13px", color:
|
|
1447
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "13px", color: "var(--colors-danger600, #B91C1C)", lineHeight: "1.6" }, children: [
|
|
1457
1448
|
/* @__PURE__ */ jsx("strong", { children: "Magic Link cannot send emails!" }),
|
|
1458
1449
|
" You need to configure an email provider for the plugin to work."
|
|
1459
1450
|
] }),
|
|
1460
|
-
/* @__PURE__ */ jsx(Divider, { style: { backgroundColor:
|
|
1461
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "semiBold", style: { fontSize: "13px", color:
|
|
1451
|
+
/* @__PURE__ */ jsx(Divider, { style: { backgroundColor: "rgba(220, 38, 38, 0.3)" } }),
|
|
1452
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "semiBold", style: { fontSize: "13px", color: "var(--colors-danger600, #991B1B)", marginBottom: "8px" }, children: "📋 Choose one of these options:" }),
|
|
1462
1453
|
/* @__PURE__ */ jsxs(Box, { paddingLeft: 3, children: [
|
|
1463
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1454
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-danger600, #B91C1C)", lineHeight: "1.8" }, children: [
|
|
1464
1455
|
/* @__PURE__ */ jsx("strong", { children: "1. Install Nodemailer (Recommended)" }),
|
|
1465
1456
|
/* @__PURE__ */ jsx("br", {}),
|
|
1466
1457
|
/* @__PURE__ */ jsx("code", { style: {
|
|
@@ -1474,12 +1465,12 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1474
1465
|
"Then configure in ",
|
|
1475
1466
|
/* @__PURE__ */ jsx("code", { children: "config/plugins.js" })
|
|
1476
1467
|
] }),
|
|
1477
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1468
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-danger600, #B91C1C)", lineHeight: "1.8", marginTop: "12px", display: "block" }, children: [
|
|
1478
1469
|
/* @__PURE__ */ jsx("strong", { children: "2. Install MagicMail Plugin" }),
|
|
1479
1470
|
/* @__PURE__ */ jsx("br", {}),
|
|
1480
1471
|
"Advanced email routing with OAuth2, multi-account support, and analytics"
|
|
1481
1472
|
] }),
|
|
1482
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1473
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-danger600, #B91C1C)", lineHeight: "1.8", marginTop: "12px", display: "block" }, children: [
|
|
1483
1474
|
/* @__PURE__ */ jsx("strong", { children: "3. Use other providers" }),
|
|
1484
1475
|
/* @__PURE__ */ jsx("br", {}),
|
|
1485
1476
|
"SendGrid, Mailgun, Amazon SES, or any Strapi email provider"
|
|
@@ -1493,14 +1484,14 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1493
1484
|
{
|
|
1494
1485
|
background: "success100",
|
|
1495
1486
|
padding: 4,
|
|
1496
|
-
style: { borderRadius: theme.borderRadius.md, marginBottom: "24px", border: "2px solid
|
|
1487
|
+
style: { borderRadius: theme.borderRadius.md, marginBottom: "24px", border: "2px solid rgba(34, 197, 94, 0.4)" },
|
|
1497
1488
|
children: /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
|
|
1498
|
-
/* @__PURE__ */ jsx(Check, { style: { color:
|
|
1499
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "semiBold", style: { color:
|
|
1489
|
+
/* @__PURE__ */ jsx(Check, { style: { color: "var(--colors-success600, #16A34A)" } }),
|
|
1490
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "semiBold", style: { color: "var(--colors-success600, #15803D)" }, children: magicMailInstalled ? "✅ Email Provider: MagicMail (Advanced Routing)" : `✅ Email Provider: ${emailProviderName || "Configured"}` })
|
|
1500
1491
|
] })
|
|
1501
1492
|
}
|
|
1502
1493
|
),
|
|
1503
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color:
|
|
1494
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.email.sender.title") }) }),
|
|
1504
1495
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", fontSize: "12px" }, children: formatMessage({ id: getTrad("settings.email.sender.subtitle") }) }),
|
|
1505
1496
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, style: { marginBottom: "32px" }, children: [
|
|
1506
1497
|
/* @__PURE__ */ jsx(Grid.Item, { col: 4, s: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
@@ -1563,28 +1554,27 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1563
1554
|
/* @__PURE__ */ jsxs(
|
|
1564
1555
|
Box,
|
|
1565
1556
|
{
|
|
1566
|
-
background: "neutral0",
|
|
1567
1557
|
padding: 5,
|
|
1568
1558
|
style: {
|
|
1569
1559
|
borderRadius: theme.borderRadius.lg,
|
|
1570
|
-
border: "2px solid
|
|
1560
|
+
border: "2px solid rgba(16, 185, 129, 0.4)",
|
|
1571
1561
|
marginBottom: "24px",
|
|
1572
|
-
background: "
|
|
1562
|
+
background: "rgba(16, 185, 129, 0.06)"
|
|
1573
1563
|
},
|
|
1574
1564
|
children: [
|
|
1575
1565
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 3, style: { marginBottom: "12px" }, children: [
|
|
1576
|
-
/* @__PURE__ */ jsx(Check, { width: "24px", height: "24px", style: { color: "#
|
|
1577
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold",
|
|
1566
|
+
/* @__PURE__ */ jsx(Check, { width: "24px", height: "24px", style: { color: "#10b981" } }),
|
|
1567
|
+
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", textColor: "success600", children: "Email Designer Integration" }),
|
|
1578
1568
|
/* @__PURE__ */ jsx(Badge, { style: { backgroundColor: "#10b981", color: "white" }, children: "Active" })
|
|
1579
1569
|
] }),
|
|
1580
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi",
|
|
1570
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "success600", style: { fontSize: "13px" }, children: "Use your beautiful Email Designer 5 templates for Magic Link emails!" })
|
|
1581
1571
|
]
|
|
1582
1572
|
}
|
|
1583
1573
|
),
|
|
1584
1574
|
/* @__PURE__ */ jsx(
|
|
1585
1575
|
Box,
|
|
1586
1576
|
{
|
|
1587
|
-
background: "
|
|
1577
|
+
background: "neutral0",
|
|
1588
1578
|
padding: 5,
|
|
1589
1579
|
style: {
|
|
1590
1580
|
borderRadius: theme.borderRadius.lg,
|
|
@@ -1615,7 +1605,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1615
1605
|
background: "primary50",
|
|
1616
1606
|
style: {
|
|
1617
1607
|
borderRadius: "8px",
|
|
1618
|
-
border: "2px solid
|
|
1608
|
+
border: "2px solid rgba(14, 165, 233, 0.3)",
|
|
1619
1609
|
marginBottom: "16px"
|
|
1620
1610
|
},
|
|
1621
1611
|
children: /* @__PURE__ */ jsx(
|
|
@@ -1644,8 +1634,8 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1644
1634
|
{
|
|
1645
1635
|
background: "success100",
|
|
1646
1636
|
padding: 3,
|
|
1647
|
-
style: { borderRadius: "6px", border: "1px solid
|
|
1648
|
-
children: /* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1637
|
+
style: { borderRadius: "6px", border: "1px solid rgba(34, 197, 94, 0.4)" },
|
|
1638
|
+
children: /* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-success600, #15803D)" }, children: [
|
|
1649
1639
|
"✨ ",
|
|
1650
1640
|
emailTemplates.length,
|
|
1651
1641
|
" template",
|
|
@@ -1658,8 +1648,8 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1658
1648
|
{
|
|
1659
1649
|
background: "warning100",
|
|
1660
1650
|
padding: 3,
|
|
1661
|
-
style: { borderRadius: "6px", border: "1px solid
|
|
1662
|
-
children: /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1651
|
+
style: { borderRadius: "6px", border: "1px solid rgba(234, 179, 8, 0.4)" },
|
|
1652
|
+
children: /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-warning600, #A16207)" }, children: "⚠️ No templates found. Create one in Email Designer 5 first!" })
|
|
1663
1653
|
}
|
|
1664
1654
|
)
|
|
1665
1655
|
] })
|
|
@@ -1671,8 +1661,8 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1671
1661
|
{
|
|
1672
1662
|
background: "warning100",
|
|
1673
1663
|
padding: 3,
|
|
1674
|
-
style: { borderRadius: theme.borderRadius.md, marginBottom: "24px", border: "1px solid
|
|
1675
|
-
children: /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1664
|
+
style: { borderRadius: theme.borderRadius.md, marginBottom: "24px", border: "1px solid rgba(234, 179, 8, 0.4)" },
|
|
1665
|
+
children: /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-warning600, #A16207)" }, children: formatMessage({ id: getTrad("settings.email.designer.variables") }) })
|
|
1676
1666
|
}
|
|
1677
1667
|
)
|
|
1678
1668
|
] }),
|
|
@@ -1725,7 +1715,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1725
1715
|
/* @__PURE__ */ jsx(
|
|
1726
1716
|
Box,
|
|
1727
1717
|
{
|
|
1728
|
-
background: "
|
|
1718
|
+
background: "neutral0",
|
|
1729
1719
|
padding: 5,
|
|
1730
1720
|
style: {
|
|
1731
1721
|
borderRadius: theme.borderRadius.lg,
|
|
@@ -1752,7 +1742,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1752
1742
|
style: {
|
|
1753
1743
|
borderRadius: "12px",
|
|
1754
1744
|
border: "2px solid rgba(139, 92, 246, 0.3)",
|
|
1755
|
-
background: "
|
|
1745
|
+
background: "rgba(124, 58, 237, 0.06)",
|
|
1756
1746
|
marginBottom: "16px"
|
|
1757
1747
|
},
|
|
1758
1748
|
children: [
|
|
@@ -1765,7 +1755,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1765
1755
|
alignItems: "center",
|
|
1766
1756
|
justifyContent: "center"
|
|
1767
1757
|
}, children: /* @__PURE__ */ jsx(Mail, { width: "16px", height: "16px", style: { color: "white" } }) }),
|
|
1768
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { fontSize: "15px", color: "#5B21B6" }, children: "Select Email Template" })
|
|
1758
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { fontSize: "15px", color: "var(--colors-neutral800, #5B21B6)" }, children: "Select Email Template" })
|
|
1769
1759
|
] }),
|
|
1770
1760
|
/* @__PURE__ */ jsx(
|
|
1771
1761
|
SingleSelect,
|
|
@@ -1787,7 +1777,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1787
1777
|
] }, template.id))
|
|
1788
1778
|
}
|
|
1789
1779
|
),
|
|
1790
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", style: { fontSize: "12px",
|
|
1780
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "12px", marginTop: "12px", display: "block" }, children: "💡 Templates are managed in your MagicMail settings" })
|
|
1791
1781
|
]
|
|
1792
1782
|
}
|
|
1793
1783
|
)
|
|
@@ -1800,10 +1790,10 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1800
1790
|
{
|
|
1801
1791
|
background: "warning100",
|
|
1802
1792
|
padding: 3,
|
|
1803
|
-
style: { borderRadius: theme.borderRadius.md, marginBottom: "24px", border: "1px solid
|
|
1793
|
+
style: { borderRadius: theme.borderRadius.md, marginBottom: "24px", border: "1px solid rgba(234, 179, 8, 0.4)" },
|
|
1804
1794
|
children: /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", children: [
|
|
1805
|
-
/* @__PURE__ */ jsx(CheckCircle, { width: "14px", height: "14px", style: { color:
|
|
1806
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
1795
|
+
/* @__PURE__ */ jsx(CheckCircle, { width: "14px", height: "14px", style: { color: "var(--colors-warning600, #A16207)", flexShrink: 0, marginTop: "2px" } }),
|
|
1796
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-warning600, #A16207)" }, children: [
|
|
1807
1797
|
/* @__PURE__ */ jsx("strong", { children: "Tip:" }),
|
|
1808
1798
|
" MagicMail will use your configured email accounts and routing rules. Make sure you have at least one active account configured in MagicMail settings."
|
|
1809
1799
|
] })
|
|
@@ -1812,9 +1802,9 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1812
1802
|
)
|
|
1813
1803
|
] }),
|
|
1814
1804
|
/* @__PURE__ */ jsx(Divider, { style: { marginBottom: "24px" } }),
|
|
1815
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color:
|
|
1805
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color: "var(--colors-neutral700)" }, children: [
|
|
1816
1806
|
formatMessage({ id: getTrad("settings.email.templates.title") }),
|
|
1817
|
-
emailDesignerInstalled && settings.use_email_designer && /* @__PURE__ */ jsx(Badge, { style: { marginLeft: "8px", backgroundColor:
|
|
1807
|
+
emailDesignerInstalled && settings.use_email_designer && /* @__PURE__ */ jsx(Badge, { style: { marginLeft: "8px", backgroundColor: "rgba(128, 128, 128, 0.3)" }, children: formatMessage({ id: getTrad("settings.email.designer.fallbackBadge") }) })
|
|
1818
1808
|
] }),
|
|
1819
1809
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", fontSize: "12px" }, children: emailDesignerInstalled && settings.use_email_designer ? formatMessage({ id: getTrad("settings.email.designer.fallbackDescription") }) : formatMessage({ id: getTrad("settings.email.templates.subtitle") }) }),
|
|
1820
1810
|
/* @__PURE__ */ jsxs(
|
|
@@ -1822,10 +1812,10 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1822
1812
|
{
|
|
1823
1813
|
background: "primary100",
|
|
1824
1814
|
padding: 3,
|
|
1825
|
-
style: { borderRadius: theme.borderRadius.md, marginBottom: "16px", border: "2px solid
|
|
1815
|
+
style: { borderRadius: theme.borderRadius.md, marginBottom: "16px", border: "2px solid rgba(14, 165, 233, 0.3)" },
|
|
1826
1816
|
children: [
|
|
1827
1817
|
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "12px" }, children: [
|
|
1828
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", fontWeight: "bold", style: { color:
|
|
1818
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", fontWeight: "bold", style: { color: "var(--colors-primary600, #075985)", fontSize: "13px" }, children: [
|
|
1829
1819
|
"📋 ",
|
|
1830
1820
|
formatMessage({ id: getTrad("settings.email.placeholders.title") })
|
|
1831
1821
|
] }),
|
|
@@ -1846,7 +1836,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1846
1836
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: {
|
|
1847
1837
|
fontFamily: "monospace",
|
|
1848
1838
|
fontSize: "13px",
|
|
1849
|
-
color:
|
|
1839
|
+
color: "var(--colors-primary600, #075985)",
|
|
1850
1840
|
fontWeight: "bold",
|
|
1851
1841
|
wordBreak: "break-all"
|
|
1852
1842
|
}, children: placeholder.code }),
|
|
@@ -1867,11 +1857,11 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1867
1857
|
{
|
|
1868
1858
|
background: "neutral0",
|
|
1869
1859
|
padding: 5,
|
|
1870
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
1860
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(14, 165, 233, 0.4)", marginBottom: "24px", background: "rgba(14, 165, 233, 0.06)" },
|
|
1871
1861
|
children: [
|
|
1872
1862
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, style: { marginBottom: "12px" }, children: [
|
|
1873
1863
|
/* @__PURE__ */ jsx(Mail, { width: "20px", height: "20px", style: { color: "#0EA5E9" } }),
|
|
1874
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { color: "#0369A1" }, children: "
|
|
1864
|
+
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { color: "var(--colors-primary600, #0369A1)" }, children: "Email Template Gallery" }),
|
|
1875
1865
|
/* @__PURE__ */ jsx(Badge, { style: { backgroundColor: "#0EA5E9", color: "white" }, children: "New" })
|
|
1876
1866
|
] }),
|
|
1877
1867
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "16px", fontSize: "13px" }, children: "Choose from our professionally designed templates. Click to instantly load a beautiful template!" }),
|
|
@@ -1890,7 +1880,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1890
1880
|
{
|
|
1891
1881
|
role: "button",
|
|
1892
1882
|
tabIndex: 0,
|
|
1893
|
-
background: "
|
|
1883
|
+
background: "neutral0",
|
|
1894
1884
|
style: {
|
|
1895
1885
|
borderRadius: "10px",
|
|
1896
1886
|
border: `2px solid ${isActive ? "rgba(2, 132, 199, 0.6)" : "rgba(128, 128, 128, 0.2)"}`,
|
|
@@ -2130,7 +2120,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2130
2120
|
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
2131
2121
|
borderRadius: "6px",
|
|
2132
2122
|
overflow: "hidden",
|
|
2133
|
-
background: "#f5f5f5",
|
|
2123
|
+
background: "var(--colors-neutral100, #f5f5f5)",
|
|
2134
2124
|
height: "500px",
|
|
2135
2125
|
display: "flex",
|
|
2136
2126
|
flexDirection: "column"
|
|
@@ -2155,8 +2145,8 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2155
2145
|
height: "100%",
|
|
2156
2146
|
fontSize: "14px",
|
|
2157
2147
|
lineHeight: "1.8",
|
|
2158
|
-
background: "#f5f5f5",
|
|
2159
|
-
color: "#1f2937",
|
|
2148
|
+
background: "var(--colors-neutral100, #f5f5f5)",
|
|
2149
|
+
color: "var(--colors-neutral800, #1f2937)",
|
|
2160
2150
|
border: "none",
|
|
2161
2151
|
padding: "20px",
|
|
2162
2152
|
resize: "none",
|
|
@@ -2202,7 +2192,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2202
2192
|
}
|
|
2203
2193
|
) }),
|
|
2204
2194
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsxs(Box, { padding: 6, children: [
|
|
2205
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color:
|
|
2195
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.advanced.title") }) }),
|
|
2206
2196
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", fontSize: "12px" }, children: formatMessage({ id: getTrad("settings.advanced.subtitle") }) }),
|
|
2207
2197
|
/* @__PURE__ */ jsx(Grid.Root, { gap: 6, children: /* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsx(ToggleCard, { $active: settings.allow_magic_links_on_public_registration, $statusLabel: settings.allow_magic_links_on_public_registration ? statusActive : statusInactive, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, children: [
|
|
2208
2198
|
/* @__PURE__ */ jsx(Flex, { justifyContent: "center", alignItems: "center", style: { marginBottom: "8px" }, children: /* @__PURE__ */ jsx(
|
|
@@ -2265,7 +2255,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2265
2255
|
]
|
|
2266
2256
|
}
|
|
2267
2257
|
),
|
|
2268
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
2258
|
+
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral800)" }, children: "Choose Authentication Mode" }),
|
|
2269
2259
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 4, style: { marginBottom: "24px" }, children: [
|
|
2270
2260
|
/* @__PURE__ */ jsx(Grid.Item, { col: 4, s: 12, style: { display: "flex" }, children: /* @__PURE__ */ jsxs(
|
|
2271
2261
|
ToggleCard,
|
|
@@ -2279,11 +2269,11 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2279
2269
|
},
|
|
2280
2270
|
style: { cursor: "pointer", minHeight: "160px", width: "100%", display: "flex", flexDirection: "column", justifyContent: "space-between" },
|
|
2281
2271
|
children: [
|
|
2282
|
-
/* @__PURE__ */ jsx(IconWrapper, { $bgColor:
|
|
2272
|
+
/* @__PURE__ */ jsx(IconWrapper, { $bgColor: "rgba(2, 132, 199, 0.12)", $iconColor: "var(--colors-primary600, #0284C7)", children: /* @__PURE__ */ jsx(Link, {}) }),
|
|
2283
2273
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2284
2274
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: "Magic Link Only" }),
|
|
2285
2275
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "11px", marginBottom: "12px" }, children: "Ein-Klick-Login per E-Mail. Schnell und benutzerfreundlich." }),
|
|
2286
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "10px", color:
|
|
2276
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "10px", color: "var(--colors-primary600, #0284C7)", display: "block", marginBottom: "8px" }, children: [
|
|
2287
2277
|
"✓ Keine Passwörter",
|
|
2288
2278
|
/* @__PURE__ */ jsx("br", {}),
|
|
2289
2279
|
"✓ Schneller Login",
|
|
@@ -2293,7 +2283,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2293
2283
|
] }),
|
|
2294
2284
|
/* @__PURE__ */ jsx(Badge, { style: {
|
|
2295
2285
|
marginTop: "8px",
|
|
2296
|
-
backgroundColor:
|
|
2286
|
+
backgroundColor: "var(--colors-primary600, #0284C7)",
|
|
2297
2287
|
color: "white",
|
|
2298
2288
|
fontWeight: "600",
|
|
2299
2289
|
fontSize: "11px",
|
|
@@ -2547,18 +2537,18 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2547
2537
|
style: {
|
|
2548
2538
|
borderRadius: theme.borderRadius.md,
|
|
2549
2539
|
marginBottom: "24px",
|
|
2550
|
-
border: "1px solid
|
|
2540
|
+
border: "1px solid rgba(14, 165, 233, 0.3)"
|
|
2551
2541
|
},
|
|
2552
2542
|
children: [
|
|
2553
2543
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, style: { marginBottom: "8px" }, children: [
|
|
2554
|
-
/* @__PURE__ */ jsx(Mail, { width: "18px", height: "18px", style: { color:
|
|
2555
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { color:
|
|
2544
|
+
/* @__PURE__ */ jsx(Mail, { width: "18px", height: "18px", style: { color: "var(--colors-primary600, #075985)" } }),
|
|
2545
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { color: "var(--colors-primary600, #075985)" }, children: "Email OTP Einstellungen" })
|
|
2556
2546
|
] }),
|
|
2557
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2547
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-primary600, #075985)", lineHeight: "1.6" }, children: "Konfiguriere hier, wie der OTP-Code per E-Mail verschickt wird. Benutzer erhalten nach dem Klick auf den Magic Link einen zusätzlichen Verifikationscode per E-Mail." })
|
|
2558
2548
|
]
|
|
2559
2549
|
}
|
|
2560
2550
|
),
|
|
2561
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
2551
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: "Code-Einstellungen" }),
|
|
2562
2552
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, style: { marginBottom: "24px" }, children: [
|
|
2563
2553
|
/* @__PURE__ */ jsx(Grid.Item, { col: 6, s: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
2564
2554
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: "📧 Versandmethode" }),
|
|
@@ -2635,12 +2625,12 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2635
2625
|
{
|
|
2636
2626
|
background: "success100",
|
|
2637
2627
|
padding: 4,
|
|
2638
|
-
style: { borderRadius: theme.borderRadius.md, border: "1px solid
|
|
2628
|
+
style: { borderRadius: theme.borderRadius.md, border: "1px solid rgba(34, 197, 94, 0.3)", marginBottom: "24px" },
|
|
2639
2629
|
children: /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", style: { marginBottom: "12px" }, children: [
|
|
2640
|
-
/* @__PURE__ */ jsx(CheckCircle, { width: "16px", height: "16px", style: { color:
|
|
2630
|
+
/* @__PURE__ */ jsx(CheckCircle, { width: "16px", height: "16px", style: { color: "var(--colors-success600, #15803D)", flexShrink: 0, marginTop: "2px" } }),
|
|
2641
2631
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2642
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { fontSize: "13px", color:
|
|
2643
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2632
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { fontSize: "13px", color: "var(--colors-success600, #15803D)", marginBottom: "6px", display: "block" }, children: "So funktioniert's:" }),
|
|
2633
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-success600, #15803D)", lineHeight: "1.6" }, children: [
|
|
2644
2634
|
"1. Benutzer klickt auf Magic Link in der E-Mail",
|
|
2645
2635
|
/* @__PURE__ */ jsx("br", {}),
|
|
2646
2636
|
"2. Wird zu OTP-Verifikationsseite weitergeleitet",
|
|
@@ -2675,8 +2665,8 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2675
2665
|
] }),
|
|
2676
2666
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "11px", marginBottom: "12px" }, children: "Allow users to login with Email + TOTP code directly, without waiting for magic link email." }),
|
|
2677
2667
|
/* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", children: [
|
|
2678
|
-
/* @__PURE__ */ jsx(Lightning, { width: "14px", height: "14px", style: { color:
|
|
2679
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "11px", color:
|
|
2668
|
+
/* @__PURE__ */ jsx(Lightning, { width: "14px", height: "14px", style: { color: "var(--colors-warning600, #A16207)", flexShrink: 0, marginTop: "2px" } }),
|
|
2669
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "11px", color: "var(--colors-warning600, #A16207)" }, children: [
|
|
2680
2670
|
/* @__PURE__ */ jsx("strong", { children: "Fast login:" }),
|
|
2681
2671
|
" Users open authenticator app, enter code → instant login (no email needed)"
|
|
2682
2672
|
] })
|
|
@@ -2697,7 +2687,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2697
2687
|
] }) }),
|
|
2698
2688
|
(settings.mfa_require_totp || settings.totp_as_primary_auth) && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2699
2689
|
/* @__PURE__ */ jsx(Divider, { style: { marginBottom: "24px" } }),
|
|
2700
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
2690
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: "TOTP Configuration" }),
|
|
2701
2691
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, children: [
|
|
2702
2692
|
/* @__PURE__ */ jsx(Grid.Item, { col: 6, s: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
2703
2693
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: "Issuer Name" }),
|
|
@@ -2743,10 +2733,10 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2743
2733
|
{
|
|
2744
2734
|
background: "success100",
|
|
2745
2735
|
padding: 4,
|
|
2746
|
-
style: { borderRadius: theme.borderRadius.md, border: "1px solid
|
|
2736
|
+
style: { borderRadius: theme.borderRadius.md, border: "1px solid rgba(34, 197, 94, 0.3)", marginTop: "16px" },
|
|
2747
2737
|
children: /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", children: [
|
|
2748
|
-
/* @__PURE__ */ jsx(Key, { width: "14px", height: "14px", style: { color:
|
|
2749
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2738
|
+
/* @__PURE__ */ jsx(Key, { width: "14px", height: "14px", style: { color: "var(--colors-success600, #15803D)", flexShrink: 0, marginTop: "2px" } }),
|
|
2739
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-success600, #15803D)" }, children: [
|
|
2750
2740
|
/* @__PURE__ */ jsx("strong", { children: "How it works:" }),
|
|
2751
2741
|
" Users scan QR code with Google Authenticator, Authy, or any TOTP app. They'll get a new 6-digit code every 30 seconds."
|
|
2752
2742
|
] })
|
|
@@ -2760,27 +2750,27 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2760
2750
|
{
|
|
2761
2751
|
background: "primary100",
|
|
2762
2752
|
padding: 4,
|
|
2763
|
-
style: { borderRadius: theme.borderRadius.md, border: "2px solid
|
|
2753
|
+
style: { borderRadius: theme.borderRadius.md, border: "2px solid rgba(14, 165, 233, 0.3)" },
|
|
2764
2754
|
children: [
|
|
2765
2755
|
/* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "center", style: { marginBottom: "8px" }, children: [
|
|
2766
|
-
/* @__PURE__ */ jsx(CheckCircle, { width: "16px", height: "16px", style: { color:
|
|
2767
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { color:
|
|
2756
|
+
/* @__PURE__ */ jsx(CheckCircle, { width: "16px", height: "16px", style: { color: "var(--colors-primary600, #075985)" } }),
|
|
2757
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { color: "var(--colors-primary600, #075985)" }, children: "Current Configuration:" })
|
|
2768
2758
|
] }),
|
|
2769
2759
|
!settings.otp_enabled && !settings.mfa_require_totp && !settings.totp_as_primary_auth && /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", children: [
|
|
2770
|
-
/* @__PURE__ */ jsx(Link, { width: "14px", height: "14px", style: { color:
|
|
2771
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2760
|
+
/* @__PURE__ */ jsx(Link, { width: "14px", height: "14px", style: { color: "var(--colors-neutral700)", flexShrink: 0, marginTop: "2px" } }),
|
|
2761
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-neutral700)" }, children: "Users login with Magic Link only (one-click email login)" })
|
|
2772
2762
|
] }),
|
|
2773
2763
|
settings.otp_enabled && !settings.mfa_require_totp && /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", children: [
|
|
2774
|
-
/* @__PURE__ */ jsx(Mail, { width: "14px", height: "14px", style: { color:
|
|
2775
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2764
|
+
/* @__PURE__ */ jsx(Mail, { width: "14px", height: "14px", style: { color: "var(--colors-neutral700)", flexShrink: 0, marginTop: "2px" } }),
|
|
2765
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-neutral700)" }, children: "Users click Magic Link → Enter 6-digit code from email" })
|
|
2776
2766
|
] }),
|
|
2777
2767
|
settings.mfa_require_totp && /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", children: [
|
|
2778
|
-
/* @__PURE__ */ jsx(Lock, { width: "14px", height: "14px", style: { color:
|
|
2779
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2768
|
+
/* @__PURE__ */ jsx(Lock, { width: "14px", height: "14px", style: { color: "var(--colors-neutral700)", flexShrink: 0, marginTop: "2px" } }),
|
|
2769
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-neutral700)" }, children: "Users click Magic Link → Enter code from authenticator app (MFA)" })
|
|
2780
2770
|
] }),
|
|
2781
2771
|
settings.totp_as_primary_auth && /* @__PURE__ */ jsxs(Flex, { gap: 2, alignItems: "flex-start", style: { marginTop: settings.mfa_require_totp ? "8px" : "0" }, children: [
|
|
2782
|
-
/* @__PURE__ */ jsx(Lightning, { width: "14px", height: "14px", style: { color:
|
|
2783
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color:
|
|
2772
|
+
/* @__PURE__ */ jsx(Lightning, { width: "14px", height: "14px", style: { color: "var(--colors-neutral700)", flexShrink: 0, marginTop: "2px" } }),
|
|
2773
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "12px", color: "var(--colors-neutral700)" }, children: "+ TOTP-only login enabled (users can skip email and login with code directly)" })
|
|
2784
2774
|
] })
|
|
2785
2775
|
]
|
|
2786
2776
|
}
|
|
@@ -2798,7 +2788,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2798
2788
|
) }),
|
|
2799
2789
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsxs(Box, { padding: 6, children: [
|
|
2800
2790
|
/* @__PURE__ */ jsxs(Box, { background: "neutral100", padding: 5, style: { borderRadius: theme.borderRadius.md, marginBottom: "24px" }, children: [
|
|
2801
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color:
|
|
2791
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", textAlign: "center", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.rateLimit.title") }) }),
|
|
2802
2792
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", textAlign: "center", fontSize: "12px" }, children: formatMessage({ id: getTrad("settings.rateLimit.subtitle") }) }),
|
|
2803
2793
|
/* @__PURE__ */ jsx(Grid.Root, { gap: 4, children: /* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsx(ToggleCard, { $active: settings.rate_limit_enabled, $statusLabel: settings.rate_limit_enabled ? statusActive : statusInactive, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 3, children: [
|
|
2804
2794
|
/* @__PURE__ */ jsx(Flex, { justifyContent: "center", alignItems: "center", style: { marginBottom: "8px" }, children: /* @__PURE__ */ jsx(
|
|
@@ -2815,7 +2805,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2815
2805
|
] })
|
|
2816
2806
|
] }) }) }) })
|
|
2817
2807
|
] }),
|
|
2818
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
2808
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.rateLimit.config.title") }) }),
|
|
2819
2809
|
/* @__PURE__ */ jsxs(Grid.Root, { gap: 6, style: { marginBottom: "32px" }, children: [
|
|
2820
2810
|
/* @__PURE__ */ jsx(Grid.Item, { col: 6, s: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
2821
2811
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.rateLimit.maxAttempts.label") }) }),
|
|
@@ -2848,22 +2838,22 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2848
2838
|
] }),
|
|
2849
2839
|
rateLimitStats && /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
2850
2840
|
/* @__PURE__ */ jsx(Divider, { style: { marginBottom: "24px" } }),
|
|
2851
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color:
|
|
2841
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "16px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.rateLimit.stats.title") }) }),
|
|
2852
2842
|
/* @__PURE__ */ jsxs(Flex, { gap: 4, wrap: "wrap", justifyContent: "center", style: { marginBottom: "24px" }, children: [
|
|
2853
2843
|
/* @__PURE__ */ jsxs(Box, { padding: 4, background: "neutral100", style: { borderRadius: "8px", textAlign: "center", minWidth: "140px", flex: "1" }, children: [
|
|
2854
|
-
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color:
|
|
2844
|
+
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color: "var(--colors-primary600, #0284C7)", fontWeight: "700" }, children: rateLimitStats.totalEntries || 0 }),
|
|
2855
2845
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral600", style: { fontSize: "11px", marginTop: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.rateLimit.stats.total") }) })
|
|
2856
2846
|
] }),
|
|
2857
2847
|
/* @__PURE__ */ jsxs(Box, { padding: 4, background: "danger100", style: { borderRadius: "8px", textAlign: "center", minWidth: "140px", flex: "1" }, children: [
|
|
2858
|
-
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color:
|
|
2848
|
+
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color: "var(--colors-danger600, #DC2626)", fontWeight: "700" }, children: rateLimitStats.blocked || 0 }),
|
|
2859
2849
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral600", style: { fontSize: "11px", marginTop: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.rateLimit.stats.blocked") }) })
|
|
2860
2850
|
] }),
|
|
2861
2851
|
/* @__PURE__ */ jsxs(Box, { padding: 4, background: "primary100", style: { borderRadius: "8px", textAlign: "center", minWidth: "140px", flex: "1" }, children: [
|
|
2862
|
-
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color:
|
|
2852
|
+
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color: "var(--colors-primary600, #0284C7)", fontWeight: "700" }, children: rateLimitStats.ipLimits || 0 }),
|
|
2863
2853
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral600", style: { fontSize: "11px", marginTop: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.rateLimit.stats.ipLimits") }) })
|
|
2864
2854
|
] }),
|
|
2865
2855
|
/* @__PURE__ */ jsxs(Box, { padding: 4, background: "success100", style: { borderRadius: "8px", textAlign: "center", minWidth: "140px", flex: "1" }, children: [
|
|
2866
|
-
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color:
|
|
2856
|
+
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { color: "var(--colors-success600, #16A34A)", fontWeight: "700" }, children: rateLimitStats.emailLimits || 0 }),
|
|
2867
2857
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral600", style: { fontSize: "11px", marginTop: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.rateLimit.stats.emailLimits") }) })
|
|
2868
2858
|
] })
|
|
2869
2859
|
] }),
|
|
@@ -2900,7 +2890,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2900
2890
|
}
|
|
2901
2891
|
) }),
|
|
2902
2892
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsxs(Box, { padding: 6, children: [
|
|
2903
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color:
|
|
2893
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "bold", style: { marginBottom: "8px", display: "block", color: "var(--colors-neutral700)" }, children: formatMessage({ id: getTrad("settings.compatibility.title") }) }),
|
|
2904
2894
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { marginBottom: "20px", display: "block", fontSize: "12px" }, children: formatMessage({ id: getTrad("settings.compatibility.subtitle") }) }),
|
|
2905
2895
|
/* @__PURE__ */ jsx(
|
|
2906
2896
|
Box,
|
|
@@ -2910,10 +2900,10 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2910
2900
|
style: {
|
|
2911
2901
|
borderRadius: theme.borderRadius.md,
|
|
2912
2902
|
marginBottom: "24px",
|
|
2913
|
-
border: "2px solid
|
|
2903
|
+
border: "2px solid rgba(14, 165, 233, 0.3)"
|
|
2914
2904
|
},
|
|
2915
2905
|
children: /* @__PURE__ */ jsxs(Flex, { alignItems: "flex-start", gap: 3, children: [
|
|
2916
|
-
/* @__PURE__ */ jsx(Link, { width: "20px", height: "20px", style: { color:
|
|
2906
|
+
/* @__PURE__ */ jsx(Link, { width: "20px", height: "20px", style: { color: "var(--colors-primary600, #0284C7)", flexShrink: 0, marginTop: "2px" } }),
|
|
2917
2907
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
2918
2908
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "6px", display: "block" }, children: formatMessage({ id: getTrad("settings.compatibility.info.title") }) }),
|
|
2919
2909
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px", lineHeight: "1.5" }, children: formatMessage({ id: getTrad("settings.compatibility.info.description") }) })
|
|
@@ -2943,7 +2933,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2943
2933
|
style: {
|
|
2944
2934
|
borderRadius: theme.borderRadius.md,
|
|
2945
2935
|
marginTop: "8px",
|
|
2946
|
-
border: "1px solid
|
|
2936
|
+
border: "1px solid rgba(34, 197, 94, 0.3)"
|
|
2947
2937
|
},
|
|
2948
2938
|
children: /* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "11px", fontFamily: "monospace" }, children: [
|
|
2949
2939
|
"POST /api/passwordless/send-link",
|
|
@@ -2974,7 +2964,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2974
2964
|
style: {
|
|
2975
2965
|
borderRadius: theme.borderRadius.md,
|
|
2976
2966
|
marginTop: "8px",
|
|
2977
|
-
border: "1px solid
|
|
2967
|
+
border: "1px solid rgba(34, 197, 94, 0.3)"
|
|
2978
2968
|
},
|
|
2979
2969
|
children: /* @__PURE__ */ jsxs(Typography, { variant: "pi", style: { fontSize: "11px" }, children: [
|
|
2980
2970
|
"✓ Email Designer 5 Integration",
|
|
@@ -2993,10 +2983,10 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2993
2983
|
style: {
|
|
2994
2984
|
borderRadius: theme.borderRadius.md,
|
|
2995
2985
|
marginTop: "24px",
|
|
2996
|
-
border: "2px solid
|
|
2986
|
+
border: "2px solid rgba(234, 179, 8, 0.4)"
|
|
2997
2987
|
},
|
|
2998
2988
|
children: /* @__PURE__ */ jsxs(Flex, { alignItems: "flex-start", gap: 3, children: [
|
|
2999
|
-
/* @__PURE__ */ jsx(Code, { width: "20px", height: "20px", style: { color:
|
|
2989
|
+
/* @__PURE__ */ jsx(Code, { width: "20px", height: "20px", style: { color: "var(--colors-warning600, #D97706)", flexShrink: 0, marginTop: "2px" } }),
|
|
3000
2990
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
3001
2991
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "6px", display: "block" }, children: formatMessage({ id: getTrad("settings.compatibility.migration.title") }) }),
|
|
3002
2992
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "12px", lineHeight: "1.5" }, children: formatMessage({ id: getTrad("settings.compatibility.migration.description") }) })
|
|
@@ -3012,9 +3002,9 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
3012
3002
|
{
|
|
3013
3003
|
background: "success50",
|
|
3014
3004
|
padding: 5,
|
|
3015
|
-
style: { borderRadius: theme.borderRadius.lg, marginTop: "32px", border: "2px solid
|
|
3005
|
+
style: { borderRadius: theme.borderRadius.lg, marginTop: "32px", border: "2px solid rgba(34, 197, 94, 0.3)" },
|
|
3016
3006
|
children: /* @__PURE__ */ jsxs(Flex, { gap: 3, alignItems: "center", justifyContent: "center", children: [
|
|
3017
|
-
/* @__PURE__ */ jsx(Check, { style: { width: "24px", height: "24px", color:
|
|
3007
|
+
/* @__PURE__ */ jsx(Check, { style: { width: "24px", height: "24px", color: "var(--colors-success600, #16A34A)" } }),
|
|
3018
3008
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
3019
3009
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "4px", display: "block" }, children: formatMessage({ id: getTrad("settings.footer.quickhelp") }) }),
|
|
3020
3010
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral700", style: { fontSize: "13px" }, children: /* @__PURE__ */ jsx("strong", { children: formatMessage({ id: getTrad("settings.footer.reminder") }) }) })
|