strapi-plugin-magic-link-v5 5.3.14 → 5.3.16
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-BhsVkgwY.mjs → index-B5ocEHHM.mjs} +34 -34
- package/dist/_chunks/{index-UgRqR2Sy.js → index-B_W1UPwO.js} +34 -34
- package/dist/_chunks/{index-G2HxcZAT.mjs → index-Ci-1p8MA.mjs} +53 -59
- package/dist/_chunks/{index-B9dPEzcE.js → index-CoPzo3AB.js} +1 -1
- package/dist/_chunks/{index-CFD6nqxQ.js → index-DRrOQmHI.js} +53 -59
- package/dist/_chunks/{index-D4wMyF--.mjs → index-DdtbtuBN.mjs} +1 -1
- package/dist/_chunks/{index-DLe8DIR5.js → index-uEW37Cq7.js} +3 -3
- package/dist/_chunks/{index-Uan8VrmD.mjs → index-uwUKk17V.mjs} +3 -3
- 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-uwUKk17V.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: {
|
|
@@ -438,10 +438,10 @@ const getTemplate = (key) => {
|
|
|
438
438
|
const theme = {
|
|
439
439
|
colors: {
|
|
440
440
|
primary: { 600: "#0284C7", 700: "#075985", 100: "#E0F2FE" },
|
|
441
|
-
success: { 600: "#16A34A", 700: "#15803D"
|
|
441
|
+
success: { 600: "#16A34A", 700: "#15803D" },
|
|
442
442
|
danger: { 600: "#DC2626", 700: "#B91C1C" },
|
|
443
443
|
warning: { 600: "#D97706", 700: "#A16207" },
|
|
444
|
-
neutral: {
|
|
444
|
+
neutral: { 400: "#9CA3AF", 700: "#374151", 800: "#1F2937" }
|
|
445
445
|
},
|
|
446
446
|
shadows: { sm: "0 1px 3px rgba(0,0,0,0.1)" },
|
|
447
447
|
borderRadius: { md: "8px", lg: "12px" }
|
|
@@ -457,8 +457,8 @@ const PlaceholderGrid = styled(Box)`
|
|
|
457
457
|
`;
|
|
458
458
|
const PlaceholderTile = styled(Box)`
|
|
459
459
|
border-radius: 8px;
|
|
460
|
-
border: 1px solid
|
|
461
|
-
background:
|
|
460
|
+
border: 1px solid rgba(14, 165, 233, 0.3);
|
|
461
|
+
background: rgba(14, 165, 233, 0.04);
|
|
462
462
|
padding: 14px;
|
|
463
463
|
cursor: pointer;
|
|
464
464
|
display: flex;
|
|
@@ -486,25 +486,25 @@ const Container = styled(Box)`
|
|
|
486
486
|
margin: 0 auto;
|
|
487
487
|
`;
|
|
488
488
|
const ToggleCard = styled(Box)`
|
|
489
|
-
background: ${(props) => props.$active ?
|
|
489
|
+
background: ${(props) => props.$active ? "rgba(22, 163, 74, 0.08)" : "rgba(128, 128, 128, 0.06)"};
|
|
490
490
|
border-radius: ${theme.borderRadius.md};
|
|
491
491
|
padding: 20px;
|
|
492
492
|
transition: all 0.2s ease;
|
|
493
|
-
border: 2px solid ${(props) => props.$active ?
|
|
494
|
-
box-shadow: ${(props) => props.$active ? "0 4px 12px rgba(34, 197, 94, 0.
|
|
493
|
+
border: 2px solid ${(props) => props.$active ? "rgba(22, 163, 74, 0.4)" : "rgba(128, 128, 128, 0.2)"};
|
|
494
|
+
box-shadow: ${(props) => props.$active ? "0 4px 12px rgba(34, 197, 94, 0.15)" : "0 1px 3px rgba(0, 0, 0, 0.1)"};
|
|
495
495
|
position: relative;
|
|
496
496
|
user-select: none;
|
|
497
497
|
cursor: pointer;
|
|
498
498
|
|
|
499
499
|
&:hover {
|
|
500
500
|
transform: translateY(-2px);
|
|
501
|
-
box-shadow: ${(props) => props.$active ? "0 6px 16px rgba(34, 197, 94, 0.
|
|
502
|
-
border-color: ${(props) => props.$active ?
|
|
501
|
+
box-shadow: ${(props) => props.$active ? "0 6px 16px rgba(34, 197, 94, 0.25)" : "0 3px 8px rgba(128, 128, 128, 0.2)"};
|
|
502
|
+
border-color: ${(props) => props.$active ? "rgba(22, 163, 74, 0.6)" : "rgba(128, 128, 128, 0.4)"};
|
|
503
503
|
}
|
|
504
504
|
|
|
505
505
|
&:active {
|
|
506
506
|
transform: translateY(0px);
|
|
507
|
-
box-shadow: ${(props) => props.$active ? "0 2px 6px rgba(34, 197, 94, 0.
|
|
507
|
+
box-shadow: ${(props) => props.$active ? "0 2px 6px rgba(34, 197, 94, 0.15)" : "0 1px 2px rgba(0, 0, 0, 0.1)"};
|
|
508
508
|
}
|
|
509
509
|
|
|
510
510
|
${(props) => props.$active && `
|
|
@@ -528,7 +528,7 @@ const ToggleCard = styled(Box)`
|
|
|
528
528
|
position: absolute;
|
|
529
529
|
top: 8px;
|
|
530
530
|
right: 8px;
|
|
531
|
-
background:
|
|
531
|
+
background: rgba(128, 128, 128, 0.5);
|
|
532
532
|
color: white;
|
|
533
533
|
padding: 2px 8px;
|
|
534
534
|
border-radius: 4px;
|
|
@@ -563,10 +563,10 @@ const GreenToggle = styled.div`
|
|
|
563
563
|
|
|
564
564
|
${(props) => !props.$isActive && `
|
|
565
565
|
button[role="switch"] {
|
|
566
|
-
background-color:
|
|
566
|
+
background-color: rgba(128, 128, 128, 0.3);
|
|
567
567
|
|
|
568
568
|
&:hover {
|
|
569
|
-
background-color:
|
|
569
|
+
background-color: rgba(128, 128, 128, 0.4);
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
572
|
`}
|
|
@@ -575,8 +575,8 @@ const StickySaveBar = styled(Box)`
|
|
|
575
575
|
position: sticky;
|
|
576
576
|
top: 0;
|
|
577
577
|
z-index: 10;
|
|
578
|
-
background: white;
|
|
579
|
-
border-bottom: 1px solid
|
|
578
|
+
background: var(--colors-neutral0, white);
|
|
579
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
580
580
|
box-shadow: ${theme.shadows.sm};
|
|
581
581
|
`;
|
|
582
582
|
const IconWrapper = styled.div`
|
|
@@ -587,7 +587,7 @@ const IconWrapper = styled.div`
|
|
|
587
587
|
align-items: center;
|
|
588
588
|
justify-content: center;
|
|
589
589
|
margin-bottom: 12px;
|
|
590
|
-
background: ${(props) => props.$bgColor ||
|
|
590
|
+
background: ${(props) => props.$bgColor || "rgba(2, 132, 199, 0.12)"};
|
|
591
591
|
|
|
592
592
|
svg {
|
|
593
593
|
width: 24px;
|
|
@@ -1031,7 +1031,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1031
1031
|
}
|
|
1032
1032
|
) }),
|
|
1033
1033
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsxs(Box, { padding: 6, children: [
|
|
1034
|
-
/* @__PURE__ */ jsx(Box, { background: "neutral50", padding: 4, style: { borderRadius: theme.borderRadius.md, border: "2px solid
|
|
1034
|
+
/* @__PURE__ */ jsx(Box, { background: "neutral50", padding: 4, style: { borderRadius: theme.borderRadius.md, border: "2px solid rgba(128, 128, 128, 0.2)", marginBottom: "24px" }, children: /* @__PURE__ */ jsxs(Flex, { gap: 4, alignItems: "center", children: [
|
|
1035
1035
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { minWidth: "150px" }, children: formatMessage({ id: getTrad("settings.language.label") }) }),
|
|
1036
1036
|
/* @__PURE__ */ jsx(Box, { style: { width: "200px" }, children: /* @__PURE__ */ jsxs(
|
|
1037
1037
|
SingleSelect,
|
|
@@ -1194,7 +1194,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1194
1194
|
placeholder: formatMessage({ id: getTrad("settings.loginPath.placeholder") })
|
|
1195
1195
|
}
|
|
1196
1196
|
),
|
|
1197
|
-
/* @__PURE__ */ jsx(Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid
|
|
1197
|
+
/* @__PURE__ */ jsx(Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral700", style: { fontSize: "11px", fontFamily: "monospace" }, children: formatMessage({ id: getTrad("settings.loginPath.fullPath") }, { path: settings.login_path }) }) })
|
|
1198
1198
|
] }) }),
|
|
1199
1199
|
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsxs(Box, { children: [
|
|
1200
1200
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: getTrad("settings.confirmationUrl.label") }) }),
|
|
@@ -1313,9 +1313,9 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1313
1313
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "11px", marginTop: "8px", display: "block" }, children: "*text* = Fett, _text_ = Kursiv (WhatsApp Formatierung)" })
|
|
1314
1314
|
] })
|
|
1315
1315
|
] }) }),
|
|
1316
|
-
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsxs(Box, { padding: 4, background: "neutral50", style: { borderRadius: "8px", border: "1px solid
|
|
1316
|
+
/* @__PURE__ */ jsx(Grid.Item, { col: 12, children: /* @__PURE__ */ jsxs(Box, { padding: 4, background: "neutral50", style: { borderRadius: "8px", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: [
|
|
1317
1317
|
/* @__PURE__ */ jsx(Typography, { variant: "pi", fontWeight: "bold", style: { display: "block", marginBottom: "8px" }, children: "Vorschau:" }),
|
|
1318
|
-
/* @__PURE__ */ jsx(Box, { padding: 3, background: "neutral0", style: { borderRadius: "8px", whiteSpace: "pre-wrap", fontFamily: "system-ui", fontSize: "14px", lineHeight: "1.5", border: "1px solid
|
|
1318
|
+
/* @__PURE__ */ jsx(Box, { padding: 3, background: "neutral0", style: { borderRadius: "8px", whiteSpace: "pre-wrap", fontFamily: "system-ui", fontSize: "14px", lineHeight: "1.5", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: (settings.whatsapp_message_template || "").replace(/\{\{appName\}\}/g, settings.whatsapp_app_name || "Magic Link").replace(/\{\{link\}\}/g, settings.frontend_url ? `${settings.frontend_url.replace(/\/$/, "")}${settings.frontend_login_path || "/auth/magic-link"}?loginToken=ABC123` : `${settings.confirmationUrl || "http://localhost:1337"}?loginToken=ABC123`).replace(/\{\{expiry\}\}/g, "1 Stunde") })
|
|
1319
1319
|
] }) })
|
|
1320
1320
|
] }) }) })
|
|
1321
1321
|
] }),
|
|
@@ -1407,7 +1407,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1407
1407
|
]
|
|
1408
1408
|
}
|
|
1409
1409
|
),
|
|
1410
|
-
/* @__PURE__ */ jsx(Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid
|
|
1410
|
+
/* @__PURE__ */ jsx(Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral700", style: { fontSize: "11px" }, children: formatMessage({ id: getTrad("settings.auth.strategy.current") }, {
|
|
1411
1411
|
strategy: settings.user_creation_strategy === "email" ? formatMessage({ id: getTrad("settings.auth.strategy.email") }) : settings.user_creation_strategy === "emailUsername" ? formatMessage({ id: getTrad("settings.auth.strategy.emailUsername") }) : formatMessage({ id: getTrad("settings.auth.strategy.manual") })
|
|
1412
1412
|
}) }) })
|
|
1413
1413
|
] }) }),
|
|
@@ -1588,7 +1588,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1588
1588
|
padding: 5,
|
|
1589
1589
|
style: {
|
|
1590
1590
|
borderRadius: theme.borderRadius.lg,
|
|
1591
|
-
border: "2px solid
|
|
1591
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1592
1592
|
marginBottom: "24px"
|
|
1593
1593
|
},
|
|
1594
1594
|
children: /* @__PURE__ */ jsxs(Grid.Root, { gap: 6, children: [
|
|
@@ -1729,7 +1729,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1729
1729
|
padding: 5,
|
|
1730
1730
|
style: {
|
|
1731
1731
|
borderRadius: theme.borderRadius.lg,
|
|
1732
|
-
border: "2px solid
|
|
1732
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1733
1733
|
marginBottom: "24px"
|
|
1734
1734
|
},
|
|
1735
1735
|
children: /* @__PURE__ */ jsxs(Grid.Root, { gap: 6, children: [
|
|
@@ -1751,7 +1751,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1751
1751
|
padding: 5,
|
|
1752
1752
|
style: {
|
|
1753
1753
|
borderRadius: "12px",
|
|
1754
|
-
border: "2px solid
|
|
1754
|
+
border: "2px solid rgba(139, 92, 246, 0.3)",
|
|
1755
1755
|
background: "linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%)",
|
|
1756
1756
|
marginBottom: "16px"
|
|
1757
1757
|
},
|
|
@@ -1867,7 +1867,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1867
1867
|
{
|
|
1868
1868
|
background: "neutral0",
|
|
1869
1869
|
padding: 5,
|
|
1870
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid #0EA5E9", marginBottom: "24px", background: "
|
|
1870
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid #0EA5E9", marginBottom: "24px", background: "rgba(14, 165, 233, 0.06)" },
|
|
1871
1871
|
children: [
|
|
1872
1872
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, style: { marginBottom: "12px" }, children: [
|
|
1873
1873
|
/* @__PURE__ */ jsx(Mail, { width: "20px", height: "20px", style: { color: "#0EA5E9" } }),
|
|
@@ -1893,13 +1893,13 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1893
1893
|
background: "white",
|
|
1894
1894
|
style: {
|
|
1895
1895
|
borderRadius: "10px",
|
|
1896
|
-
border: `2px solid ${isActive ? "
|
|
1896
|
+
border: `2px solid ${isActive ? "rgba(2, 132, 199, 0.6)" : "rgba(128, 128, 128, 0.2)"}`,
|
|
1897
1897
|
cursor: "pointer",
|
|
1898
1898
|
transition: "all 0.2s",
|
|
1899
1899
|
padding: "16px",
|
|
1900
1900
|
minHeight: "110px",
|
|
1901
1901
|
boxShadow: isActive ? "0 8px 20px rgba(2, 132, 199, 0.25)" : "0 2px 6px rgba(15, 23, 42, 0.08)",
|
|
1902
|
-
background: isActive ? "
|
|
1902
|
+
background: isActive ? "rgba(14, 165, 233, 0.08)" : "rgba(128, 128, 128, 0.04)",
|
|
1903
1903
|
outline: "none",
|
|
1904
1904
|
display: "flex",
|
|
1905
1905
|
flexDirection: "column",
|
|
@@ -1974,7 +1974,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1974
1974
|
{
|
|
1975
1975
|
background: "neutral0",
|
|
1976
1976
|
padding: 6,
|
|
1977
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
1977
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(128, 128, 128, 0.2)", width: "100%" },
|
|
1978
1978
|
children: [
|
|
1979
1979
|
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "16px" }, children: [
|
|
1980
1980
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
|
|
@@ -2011,7 +2011,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
2011
2011
|
Box,
|
|
2012
2012
|
{
|
|
2013
2013
|
style: {
|
|
2014
|
-
border: "2px solid
|
|
2014
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
2015
2015
|
borderRadius: "6px",
|
|
2016
2016
|
overflow: "hidden",
|
|
2017
2017
|
background: "#1e1e1e",
|
|
@@ -2095,7 +2095,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
2095
2095
|
{
|
|
2096
2096
|
background: "neutral0",
|
|
2097
2097
|
padding: 6,
|
|
2098
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
2098
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(128, 128, 128, 0.2)", width: "100%" },
|
|
2099
2099
|
children: [
|
|
2100
2100
|
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "16px" }, children: [
|
|
2101
2101
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
|
|
@@ -2127,7 +2127,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2127
2127
|
Box,
|
|
2128
2128
|
{
|
|
2129
2129
|
style: {
|
|
2130
|
-
border: "2px solid
|
|
2130
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
2131
2131
|
borderRadius: "6px",
|
|
2132
2132
|
overflow: "hidden",
|
|
2133
2133
|
background: "#f5f5f5",
|
|
@@ -2141,7 +2141,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2141
2141
|
{
|
|
2142
2142
|
padding: 2,
|
|
2143
2143
|
background: "neutral200",
|
|
2144
|
-
style: { borderBottom: "1px solid
|
|
2144
|
+
style: { borderBottom: "1px solid rgba(128, 128, 128, 0.2)", flexShrink: 0 },
|
|
2145
2145
|
children: /* @__PURE__ */ jsx(Typography, { variant: "omega", style: { color: "#666", fontSize: "11px", fontFamily: "monospace" }, children: formatMessage({ id: getTrad("settings.email.text.filename") }) })
|
|
2146
2146
|
}
|
|
2147
2147
|
),
|
|
@@ -2238,7 +2238,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2238
2238
|
style: {
|
|
2239
2239
|
borderRadius: theme.borderRadius.md,
|
|
2240
2240
|
marginBottom: "24px",
|
|
2241
|
-
border: "2px solid
|
|
2241
|
+
border: "2px solid rgba(128, 128, 128, 0.2)"
|
|
2242
2242
|
},
|
|
2243
2243
|
children: [
|
|
2244
2244
|
/* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "12px" }, children: [
|
|
@@ -7,7 +7,7 @@ const reactIntl = require("react-intl");
|
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const admin = require("@strapi/strapi/admin");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-uEW37Cq7.js");
|
|
11
11
|
const LicenseGuard = require("./LicenseGuard-BEEd9IpN.js");
|
|
12
12
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
13
13
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
@@ -442,10 +442,10 @@ const getTemplate = (key) => {
|
|
|
442
442
|
const theme = {
|
|
443
443
|
colors: {
|
|
444
444
|
primary: { 600: "#0284C7", 700: "#075985", 100: "#E0F2FE" },
|
|
445
|
-
success: { 600: "#16A34A", 700: "#15803D"
|
|
445
|
+
success: { 600: "#16A34A", 700: "#15803D" },
|
|
446
446
|
danger: { 600: "#DC2626", 700: "#B91C1C" },
|
|
447
447
|
warning: { 600: "#D97706", 700: "#A16207" },
|
|
448
|
-
neutral: {
|
|
448
|
+
neutral: { 400: "#9CA3AF", 700: "#374151", 800: "#1F2937" }
|
|
449
449
|
},
|
|
450
450
|
shadows: { sm: "0 1px 3px rgba(0,0,0,0.1)" },
|
|
451
451
|
borderRadius: { md: "8px", lg: "12px" }
|
|
@@ -461,8 +461,8 @@ const PlaceholderGrid = styled__default.default(designSystem.Box)`
|
|
|
461
461
|
`;
|
|
462
462
|
const PlaceholderTile = styled__default.default(designSystem.Box)`
|
|
463
463
|
border-radius: 8px;
|
|
464
|
-
border: 1px solid
|
|
465
|
-
background:
|
|
464
|
+
border: 1px solid rgba(14, 165, 233, 0.3);
|
|
465
|
+
background: rgba(14, 165, 233, 0.04);
|
|
466
466
|
padding: 14px;
|
|
467
467
|
cursor: pointer;
|
|
468
468
|
display: flex;
|
|
@@ -490,25 +490,25 @@ const Container = styled__default.default(designSystem.Box)`
|
|
|
490
490
|
margin: 0 auto;
|
|
491
491
|
`;
|
|
492
492
|
const ToggleCard = styled__default.default(designSystem.Box)`
|
|
493
|
-
background: ${(props) => props.$active ?
|
|
493
|
+
background: ${(props) => props.$active ? "rgba(22, 163, 74, 0.08)" : "rgba(128, 128, 128, 0.06)"};
|
|
494
494
|
border-radius: ${theme.borderRadius.md};
|
|
495
495
|
padding: 20px;
|
|
496
496
|
transition: all 0.2s ease;
|
|
497
|
-
border: 2px solid ${(props) => props.$active ?
|
|
498
|
-
box-shadow: ${(props) => props.$active ? "0 4px 12px rgba(34, 197, 94, 0.
|
|
497
|
+
border: 2px solid ${(props) => props.$active ? "rgba(22, 163, 74, 0.4)" : "rgba(128, 128, 128, 0.2)"};
|
|
498
|
+
box-shadow: ${(props) => props.$active ? "0 4px 12px rgba(34, 197, 94, 0.15)" : "0 1px 3px rgba(0, 0, 0, 0.1)"};
|
|
499
499
|
position: relative;
|
|
500
500
|
user-select: none;
|
|
501
501
|
cursor: pointer;
|
|
502
502
|
|
|
503
503
|
&:hover {
|
|
504
504
|
transform: translateY(-2px);
|
|
505
|
-
box-shadow: ${(props) => props.$active ? "0 6px 16px rgba(34, 197, 94, 0.
|
|
506
|
-
border-color: ${(props) => props.$active ?
|
|
505
|
+
box-shadow: ${(props) => props.$active ? "0 6px 16px rgba(34, 197, 94, 0.25)" : "0 3px 8px rgba(128, 128, 128, 0.2)"};
|
|
506
|
+
border-color: ${(props) => props.$active ? "rgba(22, 163, 74, 0.6)" : "rgba(128, 128, 128, 0.4)"};
|
|
507
507
|
}
|
|
508
508
|
|
|
509
509
|
&:active {
|
|
510
510
|
transform: translateY(0px);
|
|
511
|
-
box-shadow: ${(props) => props.$active ? "0 2px 6px rgba(34, 197, 94, 0.
|
|
511
|
+
box-shadow: ${(props) => props.$active ? "0 2px 6px rgba(34, 197, 94, 0.15)" : "0 1px 2px rgba(0, 0, 0, 0.1)"};
|
|
512
512
|
}
|
|
513
513
|
|
|
514
514
|
${(props) => props.$active && `
|
|
@@ -532,7 +532,7 @@ const ToggleCard = styled__default.default(designSystem.Box)`
|
|
|
532
532
|
position: absolute;
|
|
533
533
|
top: 8px;
|
|
534
534
|
right: 8px;
|
|
535
|
-
background:
|
|
535
|
+
background: rgba(128, 128, 128, 0.5);
|
|
536
536
|
color: white;
|
|
537
537
|
padding: 2px 8px;
|
|
538
538
|
border-radius: 4px;
|
|
@@ -567,10 +567,10 @@ const GreenToggle = styled__default.default.div`
|
|
|
567
567
|
|
|
568
568
|
${(props) => !props.$isActive && `
|
|
569
569
|
button[role="switch"] {
|
|
570
|
-
background-color:
|
|
570
|
+
background-color: rgba(128, 128, 128, 0.3);
|
|
571
571
|
|
|
572
572
|
&:hover {
|
|
573
|
-
background-color:
|
|
573
|
+
background-color: rgba(128, 128, 128, 0.4);
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
`}
|
|
@@ -579,8 +579,8 @@ const StickySaveBar = styled__default.default(designSystem.Box)`
|
|
|
579
579
|
position: sticky;
|
|
580
580
|
top: 0;
|
|
581
581
|
z-index: 10;
|
|
582
|
-
background: white;
|
|
583
|
-
border-bottom: 1px solid
|
|
582
|
+
background: var(--colors-neutral0, white);
|
|
583
|
+
border-bottom: 1px solid rgba(128, 128, 128, 0.2);
|
|
584
584
|
box-shadow: ${theme.shadows.sm};
|
|
585
585
|
`;
|
|
586
586
|
const IconWrapper = styled__default.default.div`
|
|
@@ -591,7 +591,7 @@ const IconWrapper = styled__default.default.div`
|
|
|
591
591
|
align-items: center;
|
|
592
592
|
justify-content: center;
|
|
593
593
|
margin-bottom: 12px;
|
|
594
|
-
background: ${(props) => props.$bgColor ||
|
|
594
|
+
background: ${(props) => props.$bgColor || "rgba(2, 132, 199, 0.12)"};
|
|
595
595
|
|
|
596
596
|
svg {
|
|
597
597
|
width: 24px;
|
|
@@ -1035,7 +1035,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1035
1035
|
}
|
|
1036
1036
|
) }),
|
|
1037
1037
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 6, children: [
|
|
1038
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral50", padding: 4, style: { borderRadius: theme.borderRadius.md, border: "2px solid
|
|
1038
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { background: "neutral50", padding: 4, style: { borderRadius: theme.borderRadius.md, border: "2px solid rgba(128, 128, 128, 0.2)", marginBottom: "24px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 4, alignItems: "center", children: [
|
|
1039
1039
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", fontWeight: "bold", style: { minWidth: "150px" }, children: formatMessage({ id: index.getTrad("settings.language.label") }) }),
|
|
1040
1040
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: { width: "200px" }, children: /* @__PURE__ */ jsxRuntime.jsxs(
|
|
1041
1041
|
designSystem.SingleSelect,
|
|
@@ -1198,7 +1198,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1198
1198
|
placeholder: formatMessage({ id: index.getTrad("settings.loginPath.placeholder") })
|
|
1199
1199
|
}
|
|
1200
1200
|
),
|
|
1201
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid
|
|
1201
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral700", style: { fontSize: "11px", fontFamily: "monospace" }, children: formatMessage({ id: index.getTrad("settings.loginPath.fullPath") }, { path: settings.login_path }) }) })
|
|
1202
1202
|
] }) }),
|
|
1203
1203
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
1204
1204
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", fontWeight: "bold", style: { marginBottom: "8px", display: "block" }, children: formatMessage({ id: index.getTrad("settings.confirmationUrl.label") }) }),
|
|
@@ -1317,9 +1317,9 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1317
1317
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral600", style: { fontSize: "11px", marginTop: "8px", display: "block" }, children: "*text* = Fett, _text_ = Kursiv (WhatsApp Formatierung)" })
|
|
1318
1318
|
] })
|
|
1319
1319
|
] }) }),
|
|
1320
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 4, background: "neutral50", style: { borderRadius: "8px", border: "1px solid
|
|
1320
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Grid.Item, { col: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 4, background: "neutral50", style: { borderRadius: "8px", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: [
|
|
1321
1321
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", fontWeight: "bold", style: { display: "block", marginBottom: "8px" }, children: "Vorschau:" }),
|
|
1322
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 3, background: "neutral0", style: { borderRadius: "8px", whiteSpace: "pre-wrap", fontFamily: "system-ui", fontSize: "14px", lineHeight: "1.5", border: "1px solid
|
|
1322
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 3, background: "neutral0", style: { borderRadius: "8px", whiteSpace: "pre-wrap", fontFamily: "system-ui", fontSize: "14px", lineHeight: "1.5", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: (settings.whatsapp_message_template || "").replace(/\{\{appName\}\}/g, settings.whatsapp_app_name || "Magic Link").replace(/\{\{link\}\}/g, settings.frontend_url ? `${settings.frontend_url.replace(/\/$/, "")}${settings.frontend_login_path || "/auth/magic-link"}?loginToken=ABC123` : `${settings.confirmationUrl || "http://localhost:1337"}?loginToken=ABC123`).replace(/\{\{expiry\}\}/g, "1 Stunde") })
|
|
1323
1323
|
] }) })
|
|
1324
1324
|
] }) }) })
|
|
1325
1325
|
] }),
|
|
@@ -1411,7 +1411,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1411
1411
|
]
|
|
1412
1412
|
}
|
|
1413
1413
|
),
|
|
1414
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid
|
|
1414
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 2, background: "neutral100", style: { borderRadius: "4px", marginTop: "8px", border: "1px solid rgba(128, 128, 128, 0.2)" }, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral700", style: { fontSize: "11px" }, children: formatMessage({ id: index.getTrad("settings.auth.strategy.current") }, {
|
|
1415
1415
|
strategy: settings.user_creation_strategy === "email" ? formatMessage({ id: index.getTrad("settings.auth.strategy.email") }) : settings.user_creation_strategy === "emailUsername" ? formatMessage({ id: index.getTrad("settings.auth.strategy.emailUsername") }) : formatMessage({ id: index.getTrad("settings.auth.strategy.manual") })
|
|
1416
1416
|
}) }) })
|
|
1417
1417
|
] }) }),
|
|
@@ -1592,7 +1592,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1592
1592
|
padding: 5,
|
|
1593
1593
|
style: {
|
|
1594
1594
|
borderRadius: theme.borderRadius.lg,
|
|
1595
|
-
border: "2px solid
|
|
1595
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1596
1596
|
marginBottom: "24px"
|
|
1597
1597
|
},
|
|
1598
1598
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Grid.Root, { gap: 6, children: [
|
|
@@ -1733,7 +1733,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1733
1733
|
padding: 5,
|
|
1734
1734
|
style: {
|
|
1735
1735
|
borderRadius: theme.borderRadius.lg,
|
|
1736
|
-
border: "2px solid
|
|
1736
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
1737
1737
|
marginBottom: "24px"
|
|
1738
1738
|
},
|
|
1739
1739
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Grid.Root, { gap: 6, children: [
|
|
@@ -1755,7 +1755,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1755
1755
|
padding: 5,
|
|
1756
1756
|
style: {
|
|
1757
1757
|
borderRadius: "12px",
|
|
1758
|
-
border: "2px solid
|
|
1758
|
+
border: "2px solid rgba(139, 92, 246, 0.3)",
|
|
1759
1759
|
background: "linear-gradient(135deg, #FAF5FF 0%, #F3E8FF 100%)",
|
|
1760
1760
|
marginBottom: "16px"
|
|
1761
1761
|
},
|
|
@@ -1871,7 +1871,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1871
1871
|
{
|
|
1872
1872
|
background: "neutral0",
|
|
1873
1873
|
padding: 5,
|
|
1874
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid #0EA5E9", marginBottom: "24px", background: "
|
|
1874
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid #0EA5E9", marginBottom: "24px", background: "rgba(14, 165, 233, 0.06)" },
|
|
1875
1875
|
children: [
|
|
1876
1876
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, style: { marginBottom: "12px" }, children: [
|
|
1877
1877
|
/* @__PURE__ */ jsxRuntime.jsx(icons.Mail, { width: "20px", height: "20px", style: { color: "#0EA5E9" } }),
|
|
@@ -1897,13 +1897,13 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1897
1897
|
background: "white",
|
|
1898
1898
|
style: {
|
|
1899
1899
|
borderRadius: "10px",
|
|
1900
|
-
border: `2px solid ${isActive ? "
|
|
1900
|
+
border: `2px solid ${isActive ? "rgba(2, 132, 199, 0.6)" : "rgba(128, 128, 128, 0.2)"}`,
|
|
1901
1901
|
cursor: "pointer",
|
|
1902
1902
|
transition: "all 0.2s",
|
|
1903
1903
|
padding: "16px",
|
|
1904
1904
|
minHeight: "110px",
|
|
1905
1905
|
boxShadow: isActive ? "0 8px 20px rgba(2, 132, 199, 0.25)" : "0 2px 6px rgba(15, 23, 42, 0.08)",
|
|
1906
|
-
background: isActive ? "
|
|
1906
|
+
background: isActive ? "rgba(14, 165, 233, 0.08)" : "rgba(128, 128, 128, 0.04)",
|
|
1907
1907
|
outline: "none",
|
|
1908
1908
|
display: "flex",
|
|
1909
1909
|
flexDirection: "column",
|
|
@@ -1978,7 +1978,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
1978
1978
|
{
|
|
1979
1979
|
background: "neutral0",
|
|
1980
1980
|
padding: 6,
|
|
1981
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
1981
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(128, 128, 128, 0.2)", width: "100%" },
|
|
1982
1982
|
children: [
|
|
1983
1983
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "16px" }, children: [
|
|
1984
1984
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
@@ -2015,7 +2015,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
2015
2015
|
designSystem.Box,
|
|
2016
2016
|
{
|
|
2017
2017
|
style: {
|
|
2018
|
-
border: "2px solid
|
|
2018
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
2019
2019
|
borderRadius: "6px",
|
|
2020
2020
|
overflow: "hidden",
|
|
2021
2021
|
background: "#1e1e1e",
|
|
@@ -2099,7 +2099,7 @@ _Falls du diesen Link nicht angefordert hast, ignoriere diese Nachricht._`,
|
|
|
2099
2099
|
{
|
|
2100
2100
|
background: "neutral0",
|
|
2101
2101
|
padding: 6,
|
|
2102
|
-
style: { borderRadius: theme.borderRadius.lg, border: "2px solid
|
|
2102
|
+
style: { borderRadius: theme.borderRadius.lg, border: "2px solid rgba(128, 128, 128, 0.2)", width: "100%" },
|
|
2103
2103
|
children: [
|
|
2104
2104
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "16px" }, children: [
|
|
2105
2105
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
@@ -2131,7 +2131,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2131
2131
|
designSystem.Box,
|
|
2132
2132
|
{
|
|
2133
2133
|
style: {
|
|
2134
|
-
border: "2px solid
|
|
2134
|
+
border: "2px solid rgba(128, 128, 128, 0.2)",
|
|
2135
2135
|
borderRadius: "6px",
|
|
2136
2136
|
overflow: "hidden",
|
|
2137
2137
|
background: "#f5f5f5",
|
|
@@ -2145,7 +2145,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2145
2145
|
{
|
|
2146
2146
|
padding: 2,
|
|
2147
2147
|
background: "neutral200",
|
|
2148
|
-
style: { borderBottom: "1px solid
|
|
2148
|
+
style: { borderBottom: "1px solid rgba(128, 128, 128, 0.2)", flexShrink: 0 },
|
|
2149
2149
|
children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { color: "#666", fontSize: "11px", fontFamily: "monospace" }, children: formatMessage({ id: index.getTrad("settings.email.text.filename") }) })
|
|
2150
2150
|
}
|
|
2151
2151
|
),
|
|
@@ -2242,7 +2242,7 @@ ${language === "de" ? "Der Link läuft in 1 Stunde ab." : "The link expires in 1
|
|
|
2242
2242
|
style: {
|
|
2243
2243
|
borderRadius: theme.borderRadius.md,
|
|
2244
2244
|
marginBottom: "24px",
|
|
2245
|
-
border: "2px solid
|
|
2245
|
+
border: "2px solid rgba(128, 128, 128, 0.2)"
|
|
2246
2246
|
},
|
|
2247
2247
|
children: [
|
|
2248
2248
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", style: { marginBottom: "12px" }, children: [
|
|
@@ -5,7 +5,7 @@ import styled, { keyframes, css } from "styled-components";
|
|
|
5
5
|
import { useIntl } from "react-intl";
|
|
6
6
|
import { Box, Flex, Typography, Button, TextInput, Textarea, Checkbox, IconButton, Loader, Searchbar, SingleSelect, SingleSelectOption, Thead, Tr, Th, Tbody, Td, Pagination, PreviousLink, PageLink, NextLink, Table, Badge, VisuallyHidden, Main } from "@strapi/design-system";
|
|
7
7
|
import { Cross, Sparkle, Check, Shield, Clock, Lock, Trash, ArrowClockwise, CaretDown, User, Monitor, Calendar, Plus, Earth, WarningCircle, Server, Eye, Mail, Cog, Key, Link } from "@strapi/icons";
|
|
8
|
-
import { g as getTrad, P as PLUGIN_ID } from "./index-
|
|
8
|
+
import { g as getTrad, P as PLUGIN_ID } from "./index-uwUKk17V.mjs";
|
|
9
9
|
import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
10
10
|
import { L as LicenseGuard, a as LanguageProvider } from "./LicenseGuard-B_r3b1Vh.mjs";
|
|
11
11
|
const CreateTokenModal = ({ isOpen, onClose, onSubmit, formData, setFormData }) => {
|
|
@@ -421,12 +421,12 @@ const ExtendTokenModal = ({
|
|
|
421
421
|
paddingLeft: 6,
|
|
422
422
|
paddingRight: 5,
|
|
423
423
|
style: {
|
|
424
|
-
borderBottom: "1px solid rgba(
|
|
424
|
+
borderBottom: "1px solid rgba(128, 128, 128, 0.15)"
|
|
425
425
|
},
|
|
426
426
|
children: [
|
|
427
427
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 1, alignItems: "flex-start", children: [
|
|
428
|
-
/* @__PURE__ */ jsx(Typography, { variant: "beta", style: { fontSize: "16px", fontWeight: "600"
|
|
429
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "13px"
|
|
428
|
+
/* @__PURE__ */ jsx(Typography, { variant: "beta", textColor: "neutral800", style: { fontSize: "16px", fontWeight: "600" }, children: formatMessage({ id: getTrad("tokens.extend.title") }) }),
|
|
429
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "13px" }, children: selectedToken.email })
|
|
430
430
|
] }),
|
|
431
431
|
/* @__PURE__ */ jsx(
|
|
432
432
|
IconButton,
|
|
@@ -445,22 +445,23 @@ const ExtendTokenModal = ({
|
|
|
445
445
|
Box,
|
|
446
446
|
{
|
|
447
447
|
padding: 3,
|
|
448
|
+
background: "neutral100",
|
|
448
449
|
style: {
|
|
449
450
|
borderRadius: "6px",
|
|
450
451
|
textAlign: "center",
|
|
451
|
-
|
|
452
|
-
border: "1px solid rgba(255,255,255,0.1)"
|
|
452
|
+
border: "1px solid rgba(128, 128, 128, 0.15)"
|
|
453
453
|
},
|
|
454
454
|
children: [
|
|
455
455
|
/* @__PURE__ */ jsx(
|
|
456
456
|
Typography,
|
|
457
457
|
{
|
|
458
458
|
variant: "omega",
|
|
459
|
-
|
|
459
|
+
textColor: "neutral500",
|
|
460
|
+
style: { fontSize: "11px", display: "block", marginBottom: "4px" },
|
|
460
461
|
children: formatMessage({ id: getTrad("tokens.extend.currentExpiry") })
|
|
461
462
|
}
|
|
462
463
|
),
|
|
463
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "15px", fontWeight: "600"
|
|
464
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral800", style: { fontSize: "15px", fontWeight: "600" }, children: formatDate2(selectedToken.expires_at) || formatMessage({ id: getTrad("tokens.details.unlimited") }) })
|
|
464
465
|
]
|
|
465
466
|
}
|
|
466
467
|
),
|
|
@@ -469,7 +470,8 @@ const ExtendTokenModal = ({
|
|
|
469
470
|
Typography,
|
|
470
471
|
{
|
|
471
472
|
variant: "omega",
|
|
472
|
-
|
|
473
|
+
textColor: "neutral600",
|
|
474
|
+
style: { fontSize: "12px", marginBottom: "12px", display: "block" },
|
|
473
475
|
children: formatMessage({ id: getTrad("tokens.extend.selectExtension") })
|
|
474
476
|
}
|
|
475
477
|
),
|
|
@@ -547,8 +549,8 @@ const ExtendTokenModal = ({
|
|
|
547
549
|
] }),
|
|
548
550
|
/* @__PURE__ */ jsxs(Box, { children: [
|
|
549
551
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 1, style: { marginBottom: "8px" }, children: [
|
|
550
|
-
/* @__PURE__ */ jsx(Check, { style: { width: "14px", height: "14px", color: "#
|
|
551
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", style: { fontSize: "12px"
|
|
552
|
+
/* @__PURE__ */ jsx(Check, { style: { width: "14px", height: "14px", color: "#16a34a" } }),
|
|
553
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success600", style: { fontSize: "12px" }, children: formatMessage({ id: getTrad("tokens.extend.newExpiry") }) })
|
|
552
554
|
] }),
|
|
553
555
|
/* @__PURE__ */ jsx(
|
|
554
556
|
Box,
|
|
@@ -556,11 +558,11 @@ const ExtendTokenModal = ({
|
|
|
556
558
|
padding: 3,
|
|
557
559
|
style: {
|
|
558
560
|
borderRadius: "6px",
|
|
559
|
-
border: "1px solid rgba(
|
|
560
|
-
background: "rgba(
|
|
561
|
+
border: "1px solid rgba(22, 163, 74, 0.3)",
|
|
562
|
+
background: "rgba(22, 163, 74, 0.06)",
|
|
561
563
|
textAlign: "center"
|
|
562
564
|
},
|
|
563
|
-
children: /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "15px",
|
|
565
|
+
children: /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "success600", style: { fontSize: "15px", fontWeight: "600" }, children: calculateNewExpiryDate() })
|
|
564
566
|
}
|
|
565
567
|
)
|
|
566
568
|
] })
|
|
@@ -572,9 +574,9 @@ const ExtendTokenModal = ({
|
|
|
572
574
|
paddingBottom: 5,
|
|
573
575
|
paddingLeft: 6,
|
|
574
576
|
paddingRight: 6,
|
|
577
|
+
background: "neutral100",
|
|
575
578
|
style: {
|
|
576
|
-
borderTop: "1px solid rgba(
|
|
577
|
-
background: "rgba(255,255,255,0.03)",
|
|
579
|
+
borderTop: "1px solid rgba(128, 128, 128, 0.12)",
|
|
578
580
|
borderBottomLeftRadius: "8px",
|
|
579
581
|
borderBottomRightRadius: "8px"
|
|
580
582
|
},
|
|
@@ -4267,13 +4269,13 @@ const TokensProfessional = () => {
|
|
|
4267
4269
|
{
|
|
4268
4270
|
variant: "pi",
|
|
4269
4271
|
fontWeight: "semiBold",
|
|
4272
|
+
textColor: "neutral800",
|
|
4270
4273
|
style: {
|
|
4271
4274
|
fontFamily: "monospace",
|
|
4272
4275
|
fontSize: "12px",
|
|
4273
|
-
background: "rgba(
|
|
4276
|
+
background: "rgba(128, 128, 128, 0.1)",
|
|
4274
4277
|
padding: "2px 8px",
|
|
4275
4278
|
borderRadius: "4px",
|
|
4276
|
-
color: "#ffffff",
|
|
4277
4279
|
letterSpacing: "0.5px"
|
|
4278
4280
|
},
|
|
4279
4281
|
children: [
|
|
@@ -4452,7 +4454,7 @@ const TokensProfessional = () => {
|
|
|
4452
4454
|
),
|
|
4453
4455
|
/* @__PURE__ */ jsx(Box, { padding: 7, children: /* @__PURE__ */ jsxs(Flex, { direction: "column", alignItems: "stretch", gap: 5, children: [
|
|
4454
4456
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 3, children: [
|
|
4455
|
-
/* @__PURE__ */ jsxs(Typography, { variant: "sigma", fontWeight: "semiBold", style: { fontSize: "12px"
|
|
4457
|
+
/* @__PURE__ */ jsxs(Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { fontSize: "12px" }, children: [
|
|
4456
4458
|
formatMessage({ id: getTrad("tokens.details.reference") }),
|
|
4457
4459
|
":"
|
|
4458
4460
|
] }),
|
|
@@ -4461,13 +4463,13 @@ const TokensProfessional = () => {
|
|
|
4461
4463
|
{
|
|
4462
4464
|
variant: "pi",
|
|
4463
4465
|
fontWeight: "bold",
|
|
4466
|
+
textColor: "neutral800",
|
|
4464
4467
|
style: {
|
|
4465
4468
|
fontFamily: "monospace",
|
|
4466
4469
|
fontSize: "14px",
|
|
4467
|
-
background: "rgba(
|
|
4470
|
+
background: "rgba(128, 128, 128, 0.1)",
|
|
4468
4471
|
padding: "4px 12px",
|
|
4469
|
-
borderRadius: "6px"
|
|
4470
|
-
color: "#ffffff"
|
|
4472
|
+
borderRadius: "6px"
|
|
4471
4473
|
},
|
|
4472
4474
|
children: [
|
|
4473
4475
|
"#",
|
|
@@ -4481,7 +4483,7 @@ const TokensProfessional = () => {
|
|
|
4481
4483
|
{
|
|
4482
4484
|
style: {
|
|
4483
4485
|
borderRadius: "12px",
|
|
4484
|
-
border: "1px solid rgba(
|
|
4486
|
+
border: "1px solid rgba(128, 128, 128, 0.15)",
|
|
4485
4487
|
overflow: "hidden"
|
|
4486
4488
|
},
|
|
4487
4489
|
children: [
|
|
@@ -4492,11 +4494,11 @@ const TokensProfessional = () => {
|
|
|
4492
4494
|
justifyContent: "space-between",
|
|
4493
4495
|
style: {
|
|
4494
4496
|
padding: "14px 20px",
|
|
4495
|
-
background: "rgba(
|
|
4496
|
-
borderBottom: "1px solid rgba(
|
|
4497
|
+
background: "rgba(128, 128, 128, 0.06)",
|
|
4498
|
+
borderBottom: "1px solid rgba(128, 128, 128, 0.15)"
|
|
4497
4499
|
},
|
|
4498
4500
|
children: [
|
|
4499
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "semiBold", style: { fontSize: "13px"
|
|
4501
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "semiBold", textColor: "neutral600", style: { fontSize: "13px" }, children: formatMessage({ id: getTrad("tokens.details.status") }) }),
|
|
4500
4502
|
getStatusBadge(selectedTokenDetails)
|
|
4501
4503
|
]
|
|
4502
4504
|
}
|
|
@@ -4508,12 +4510,11 @@ const TokensProfessional = () => {
|
|
|
4508
4510
|
justifyContent: "space-between",
|
|
4509
4511
|
style: {
|
|
4510
4512
|
padding: "12px 20px",
|
|
4511
|
-
|
|
4512
|
-
borderBottom: "1px solid rgba(255,255,255,0.06)"
|
|
4513
|
+
borderBottom: "1px solid rgba(128, 128, 128, 0.08)"
|
|
4513
4514
|
},
|
|
4514
4515
|
children: [
|
|
4515
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4516
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "13px", fontWeight: "600"
|
|
4516
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: getTrad("tokens.details.created") }) }),
|
|
4517
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral800", style: { fontSize: "13px", fontWeight: "600" }, children: formatDate(selectedTokenDetails.createdAt) })
|
|
4517
4518
|
]
|
|
4518
4519
|
}
|
|
4519
4520
|
),
|
|
@@ -4524,20 +4525,16 @@ const TokensProfessional = () => {
|
|
|
4524
4525
|
justifyContent: "space-between",
|
|
4525
4526
|
style: {
|
|
4526
4527
|
padding: "12px 20px",
|
|
4527
|
-
|
|
4528
|
-
borderBottom: selectedTokenDetails.used_at || selectedTokenDetails.last_used_at ? "1px solid rgba(255,255,255,0.06)" : "none"
|
|
4528
|
+
borderBottom: selectedTokenDetails.used_at || selectedTokenDetails.last_used_at ? "1px solid rgba(128, 128, 128, 0.08)" : "none"
|
|
4529
4529
|
},
|
|
4530
4530
|
children: [
|
|
4531
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4531
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: getTrad("tokens.details.expiresAt") }) }),
|
|
4532
4532
|
/* @__PURE__ */ jsx(
|
|
4533
4533
|
Typography,
|
|
4534
4534
|
{
|
|
4535
4535
|
variant: "pi",
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
fontWeight: "600",
|
|
4539
|
-
color: isDateExpired(selectedTokenDetails.expires_at) ? "#f87171" : "#ffffff"
|
|
4540
|
-
},
|
|
4536
|
+
textColor: isDateExpired(selectedTokenDetails.expires_at) ? "danger600" : "neutral800",
|
|
4537
|
+
style: { fontSize: "13px", fontWeight: "600" },
|
|
4541
4538
|
children: formatDate(selectedTokenDetails.expires_at) || formatMessage({ id: getTrad("tokens.details.unlimited") })
|
|
4542
4539
|
}
|
|
4543
4540
|
)
|
|
@@ -4551,19 +4548,19 @@ const TokensProfessional = () => {
|
|
|
4551
4548
|
justifyContent: "space-between",
|
|
4552
4549
|
style: {
|
|
4553
4550
|
padding: "12px 20px",
|
|
4554
|
-
background: "rgba(34, 197, 94, 0.
|
|
4555
|
-
borderBottom: selectedTokenDetails.last_used_at && selectedTokenDetails.last_used_at !== selectedTokenDetails.used_at ? "1px solid rgba(34, 197, 94, 0.
|
|
4551
|
+
background: "rgba(34, 197, 94, 0.06)",
|
|
4552
|
+
borderBottom: selectedTokenDetails.last_used_at && selectedTokenDetails.last_used_at !== selectedTokenDetails.used_at ? "1px solid rgba(34, 197, 94, 0.12)" : "none"
|
|
4556
4553
|
},
|
|
4557
4554
|
children: [
|
|
4558
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4555
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: getTrad("tokens.details.usedAt") }) }),
|
|
4559
4556
|
/* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
|
|
4560
4557
|
/* @__PURE__ */ jsx(Box, { style: {
|
|
4561
4558
|
width: "8px",
|
|
4562
4559
|
height: "8px",
|
|
4563
4560
|
borderRadius: "50%",
|
|
4564
|
-
background: "#
|
|
4561
|
+
background: "#22c55e"
|
|
4565
4562
|
} }),
|
|
4566
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "13px", fontWeight: "600"
|
|
4563
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "success600", style: { fontSize: "13px", fontWeight: "600" }, children: formatDate(selectedTokenDetails.used_at) })
|
|
4567
4564
|
] })
|
|
4568
4565
|
]
|
|
4569
4566
|
}
|
|
@@ -4573,13 +4570,10 @@ const TokensProfessional = () => {
|
|
|
4573
4570
|
{
|
|
4574
4571
|
alignItems: "center",
|
|
4575
4572
|
justifyContent: "space-between",
|
|
4576
|
-
style: {
|
|
4577
|
-
padding: "12px 20px",
|
|
4578
|
-
background: "rgba(255,255,255,0.03)"
|
|
4579
|
-
},
|
|
4573
|
+
style: { padding: "12px 20px" },
|
|
4580
4574
|
children: [
|
|
4581
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4582
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "13px", fontWeight: "600"
|
|
4575
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: getTrad("tokens.details.lastUsedAt") }) }),
|
|
4576
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral800", style: { fontSize: "13px", fontWeight: "600" }, children: formatDate(selectedTokenDetails.last_used_at) })
|
|
4583
4577
|
]
|
|
4584
4578
|
}
|
|
4585
4579
|
)
|
|
@@ -4587,28 +4581,28 @@ const TokensProfessional = () => {
|
|
|
4587
4581
|
}
|
|
4588
4582
|
),
|
|
4589
4583
|
(selectedTokenDetails.ip_address || selectedTokenDetails.user_agent) && /* @__PURE__ */ jsxs(Box, { children: [
|
|
4590
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "semiBold", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px"
|
|
4584
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px" }, children: formatMessage({ id: getTrad("tokens.details.technicalInfo") }) }),
|
|
4591
4585
|
/* @__PURE__ */ jsx(
|
|
4592
4586
|
Box,
|
|
4593
4587
|
{
|
|
4594
4588
|
padding: 4,
|
|
4589
|
+
background: "neutral100",
|
|
4595
4590
|
style: {
|
|
4596
4591
|
borderRadius: "8px",
|
|
4597
|
-
border: "1px solid rgba(
|
|
4598
|
-
background: "rgba(255,255,255,0.04)"
|
|
4592
|
+
border: "1px solid rgba(128, 128, 128, 0.15)"
|
|
4599
4593
|
},
|
|
4600
4594
|
children: /* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, children: [
|
|
4601
4595
|
selectedTokenDetails.ip_address && /* @__PURE__ */ jsxs(Flex, { alignItems: "center", gap: 2, children: [
|
|
4602
|
-
/* @__PURE__ */ jsx(Earth, { style: { width: "14px", height: "14px", color: "
|
|
4603
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontFamily: "monospace", fontSize: "12px"
|
|
4596
|
+
/* @__PURE__ */ jsx(Earth, { style: { width: "14px", height: "14px", color: "var(--colors-neutral500)" } }),
|
|
4597
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral700", style: { fontFamily: "monospace", fontSize: "12px" }, children: selectedTokenDetails.ip_address })
|
|
4604
4598
|
] }),
|
|
4605
|
-
selectedTokenDetails.user_agent && /* @__PURE__ */ jsx(Typography, { variant: "pi", style: { fontSize: "11px", wordBreak: "break-all"
|
|
4599
|
+
selectedTokenDetails.user_agent && /* @__PURE__ */ jsx(Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "11px", wordBreak: "break-all" }, children: selectedTokenDetails.user_agent })
|
|
4606
4600
|
] })
|
|
4607
4601
|
}
|
|
4608
4602
|
)
|
|
4609
4603
|
] }),
|
|
4610
4604
|
selectedTokenDetails.context && Object.keys(selectedTokenDetails.context).length > 0 && /* @__PURE__ */ jsxs(Box, { children: [
|
|
4611
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "semiBold", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px"
|
|
4605
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px" }, children: formatMessage({ id: getTrad("tokens.details.context") }) }),
|
|
4612
4606
|
/* @__PURE__ */ jsx(
|
|
4613
4607
|
Box,
|
|
4614
4608
|
{
|
|
@@ -4631,7 +4625,7 @@ const TokensProfessional = () => {
|
|
|
4631
4625
|
)
|
|
4632
4626
|
] }),
|
|
4633
4627
|
/* @__PURE__ */ jsxs(Box, { style: { marginTop: "8px" }, children: [
|
|
4634
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "semiBold", style: { marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px"
|
|
4628
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px" }, children: formatMessage({ id: getTrad("tokens.details.actions") }) }),
|
|
4635
4629
|
/* @__PURE__ */ jsxs(Flex, { gap: 2, wrap: "wrap", children: [
|
|
4636
4630
|
(selectedTokenDetails.is_used || selectedTokenDetails.expires_at && new Date(selectedTokenDetails.expires_at) < /* @__PURE__ */ new Date() || selectedTokenDetails.status === "blocked") && /* @__PURE__ */ jsx(
|
|
4637
4631
|
Button,
|
|
@@ -4755,9 +4749,9 @@ const TokensProfessional = () => {
|
|
|
4755
4749
|
paddingBottom: 5,
|
|
4756
4750
|
paddingLeft: 7,
|
|
4757
4751
|
paddingRight: 7,
|
|
4752
|
+
background: "neutral100",
|
|
4758
4753
|
style: {
|
|
4759
|
-
borderTop: "1px solid rgba(
|
|
4760
|
-
background: "rgba(255,255,255,0.03)",
|
|
4754
|
+
borderTop: "1px solid rgba(128, 128, 128, 0.12)",
|
|
4761
4755
|
borderBottomLeftRadius: "8px",
|
|
4762
4756
|
borderBottomRightRadius: "8px"
|
|
4763
4757
|
},
|
|
@@ -7,7 +7,7 @@ const reactIntl = require("react-intl");
|
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const admin = require("@strapi/strapi/admin");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-uEW37Cq7.js");
|
|
11
11
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
12
12
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
13
13
|
const theme = {
|
|
@@ -7,7 +7,7 @@ const styled = require("styled-components");
|
|
|
7
7
|
const reactIntl = require("react-intl");
|
|
8
8
|
const designSystem = require("@strapi/design-system");
|
|
9
9
|
const icons = require("@strapi/icons");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-uEW37Cq7.js");
|
|
11
11
|
const admin = require("@strapi/strapi/admin");
|
|
12
12
|
const LicenseGuard = require("./LicenseGuard-BEEd9IpN.js");
|
|
13
13
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
@@ -425,12 +425,12 @@ const ExtendTokenModal = ({
|
|
|
425
425
|
paddingLeft: 6,
|
|
426
426
|
paddingRight: 5,
|
|
427
427
|
style: {
|
|
428
|
-
borderBottom: "1px solid rgba(
|
|
428
|
+
borderBottom: "1px solid rgba(128, 128, 128, 0.15)"
|
|
429
429
|
},
|
|
430
430
|
children: [
|
|
431
431
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 1, alignItems: "flex-start", children: [
|
|
432
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", style: { fontSize: "16px", fontWeight: "600"
|
|
433
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "13px"
|
|
432
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "beta", textColor: "neutral800", style: { fontSize: "16px", fontWeight: "600" }, children: formatMessage({ id: index.getTrad("tokens.extend.title") }) }),
|
|
433
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "13px" }, children: selectedToken.email })
|
|
434
434
|
] }),
|
|
435
435
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
436
436
|
designSystem.IconButton,
|
|
@@ -449,22 +449,23 @@ const ExtendTokenModal = ({
|
|
|
449
449
|
designSystem.Box,
|
|
450
450
|
{
|
|
451
451
|
padding: 3,
|
|
452
|
+
background: "neutral100",
|
|
452
453
|
style: {
|
|
453
454
|
borderRadius: "6px",
|
|
454
455
|
textAlign: "center",
|
|
455
|
-
|
|
456
|
-
border: "1px solid rgba(255,255,255,0.1)"
|
|
456
|
+
border: "1px solid rgba(128, 128, 128, 0.15)"
|
|
457
457
|
},
|
|
458
458
|
children: [
|
|
459
459
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
460
460
|
designSystem.Typography,
|
|
461
461
|
{
|
|
462
462
|
variant: "omega",
|
|
463
|
-
|
|
463
|
+
textColor: "neutral500",
|
|
464
|
+
style: { fontSize: "11px", display: "block", marginBottom: "4px" },
|
|
464
465
|
children: formatMessage({ id: index.getTrad("tokens.extend.currentExpiry") })
|
|
465
466
|
}
|
|
466
467
|
),
|
|
467
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "15px", fontWeight: "600"
|
|
468
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral800", style: { fontSize: "15px", fontWeight: "600" }, children: formatDate2(selectedToken.expires_at) || formatMessage({ id: index.getTrad("tokens.details.unlimited") }) })
|
|
468
469
|
]
|
|
469
470
|
}
|
|
470
471
|
),
|
|
@@ -473,7 +474,8 @@ const ExtendTokenModal = ({
|
|
|
473
474
|
designSystem.Typography,
|
|
474
475
|
{
|
|
475
476
|
variant: "omega",
|
|
476
|
-
|
|
477
|
+
textColor: "neutral600",
|
|
478
|
+
style: { fontSize: "12px", marginBottom: "12px", display: "block" },
|
|
477
479
|
children: formatMessage({ id: index.getTrad("tokens.extend.selectExtension") })
|
|
478
480
|
}
|
|
479
481
|
),
|
|
@@ -551,8 +553,8 @@ const ExtendTokenModal = ({
|
|
|
551
553
|
] }),
|
|
552
554
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
553
555
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, style: { marginBottom: "8px" }, children: [
|
|
554
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Check, { style: { width: "14px", height: "14px", color: "#
|
|
555
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { fontSize: "12px"
|
|
556
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Check, { style: { width: "14px", height: "14px", color: "#16a34a" } }),
|
|
557
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success600", style: { fontSize: "12px" }, children: formatMessage({ id: index.getTrad("tokens.extend.newExpiry") }) })
|
|
556
558
|
] }),
|
|
557
559
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
558
560
|
designSystem.Box,
|
|
@@ -560,11 +562,11 @@ const ExtendTokenModal = ({
|
|
|
560
562
|
padding: 3,
|
|
561
563
|
style: {
|
|
562
564
|
borderRadius: "6px",
|
|
563
|
-
border: "1px solid rgba(
|
|
564
|
-
background: "rgba(
|
|
565
|
+
border: "1px solid rgba(22, 163, 74, 0.3)",
|
|
566
|
+
background: "rgba(22, 163, 74, 0.06)",
|
|
565
567
|
textAlign: "center"
|
|
566
568
|
},
|
|
567
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "15px",
|
|
569
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "success600", style: { fontSize: "15px", fontWeight: "600" }, children: calculateNewExpiryDate() })
|
|
568
570
|
}
|
|
569
571
|
)
|
|
570
572
|
] })
|
|
@@ -576,9 +578,9 @@ const ExtendTokenModal = ({
|
|
|
576
578
|
paddingBottom: 5,
|
|
577
579
|
paddingLeft: 6,
|
|
578
580
|
paddingRight: 6,
|
|
581
|
+
background: "neutral100",
|
|
579
582
|
style: {
|
|
580
|
-
borderTop: "1px solid rgba(
|
|
581
|
-
background: "rgba(255,255,255,0.03)",
|
|
583
|
+
borderTop: "1px solid rgba(128, 128, 128, 0.12)",
|
|
582
584
|
borderBottomLeftRadius: "8px",
|
|
583
585
|
borderBottomRightRadius: "8px"
|
|
584
586
|
},
|
|
@@ -4271,13 +4273,13 @@ const TokensProfessional = () => {
|
|
|
4271
4273
|
{
|
|
4272
4274
|
variant: "pi",
|
|
4273
4275
|
fontWeight: "semiBold",
|
|
4276
|
+
textColor: "neutral800",
|
|
4274
4277
|
style: {
|
|
4275
4278
|
fontFamily: "monospace",
|
|
4276
4279
|
fontSize: "12px",
|
|
4277
|
-
background: "rgba(
|
|
4280
|
+
background: "rgba(128, 128, 128, 0.1)",
|
|
4278
4281
|
padding: "2px 8px",
|
|
4279
4282
|
borderRadius: "4px",
|
|
4280
|
-
color: "#ffffff",
|
|
4281
4283
|
letterSpacing: "0.5px"
|
|
4282
4284
|
},
|
|
4283
4285
|
children: [
|
|
@@ -4456,7 +4458,7 @@ const TokensProfessional = () => {
|
|
|
4456
4458
|
),
|
|
4457
4459
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 7, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", alignItems: "stretch", gap: 5, children: [
|
|
4458
4460
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 3, children: [
|
|
4459
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", style: { fontSize: "12px"
|
|
4461
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { fontSize: "12px" }, children: [
|
|
4460
4462
|
formatMessage({ id: index.getTrad("tokens.details.reference") }),
|
|
4461
4463
|
":"
|
|
4462
4464
|
] }),
|
|
@@ -4465,13 +4467,13 @@ const TokensProfessional = () => {
|
|
|
4465
4467
|
{
|
|
4466
4468
|
variant: "pi",
|
|
4467
4469
|
fontWeight: "bold",
|
|
4470
|
+
textColor: "neutral800",
|
|
4468
4471
|
style: {
|
|
4469
4472
|
fontFamily: "monospace",
|
|
4470
4473
|
fontSize: "14px",
|
|
4471
|
-
background: "rgba(
|
|
4474
|
+
background: "rgba(128, 128, 128, 0.1)",
|
|
4472
4475
|
padding: "4px 12px",
|
|
4473
|
-
borderRadius: "6px"
|
|
4474
|
-
color: "#ffffff"
|
|
4476
|
+
borderRadius: "6px"
|
|
4475
4477
|
},
|
|
4476
4478
|
children: [
|
|
4477
4479
|
"#",
|
|
@@ -4485,7 +4487,7 @@ const TokensProfessional = () => {
|
|
|
4485
4487
|
{
|
|
4486
4488
|
style: {
|
|
4487
4489
|
borderRadius: "12px",
|
|
4488
|
-
border: "1px solid rgba(
|
|
4490
|
+
border: "1px solid rgba(128, 128, 128, 0.15)",
|
|
4489
4491
|
overflow: "hidden"
|
|
4490
4492
|
},
|
|
4491
4493
|
children: [
|
|
@@ -4496,11 +4498,11 @@ const TokensProfessional = () => {
|
|
|
4496
4498
|
justifyContent: "space-between",
|
|
4497
4499
|
style: {
|
|
4498
4500
|
padding: "14px 20px",
|
|
4499
|
-
background: "rgba(
|
|
4500
|
-
borderBottom: "1px solid rgba(
|
|
4501
|
+
background: "rgba(128, 128, 128, 0.06)",
|
|
4502
|
+
borderBottom: "1px solid rgba(128, 128, 128, 0.15)"
|
|
4501
4503
|
},
|
|
4502
4504
|
children: [
|
|
4503
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", style: { fontSize: "13px"
|
|
4505
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", textColor: "neutral600", style: { fontSize: "13px" }, children: formatMessage({ id: index.getTrad("tokens.details.status") }) }),
|
|
4504
4506
|
getStatusBadge(selectedTokenDetails)
|
|
4505
4507
|
]
|
|
4506
4508
|
}
|
|
@@ -4512,12 +4514,11 @@ const TokensProfessional = () => {
|
|
|
4512
4514
|
justifyContent: "space-between",
|
|
4513
4515
|
style: {
|
|
4514
4516
|
padding: "12px 20px",
|
|
4515
|
-
|
|
4516
|
-
borderBottom: "1px solid rgba(255,255,255,0.06)"
|
|
4517
|
+
borderBottom: "1px solid rgba(128, 128, 128, 0.08)"
|
|
4517
4518
|
},
|
|
4518
4519
|
children: [
|
|
4519
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4520
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "13px", fontWeight: "600"
|
|
4520
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: index.getTrad("tokens.details.created") }) }),
|
|
4521
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral800", style: { fontSize: "13px", fontWeight: "600" }, children: formatDate(selectedTokenDetails.createdAt) })
|
|
4521
4522
|
]
|
|
4522
4523
|
}
|
|
4523
4524
|
),
|
|
@@ -4528,20 +4529,16 @@ const TokensProfessional = () => {
|
|
|
4528
4529
|
justifyContent: "space-between",
|
|
4529
4530
|
style: {
|
|
4530
4531
|
padding: "12px 20px",
|
|
4531
|
-
|
|
4532
|
-
borderBottom: selectedTokenDetails.used_at || selectedTokenDetails.last_used_at ? "1px solid rgba(255,255,255,0.06)" : "none"
|
|
4532
|
+
borderBottom: selectedTokenDetails.used_at || selectedTokenDetails.last_used_at ? "1px solid rgba(128, 128, 128, 0.08)" : "none"
|
|
4533
4533
|
},
|
|
4534
4534
|
children: [
|
|
4535
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4535
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: index.getTrad("tokens.details.expiresAt") }) }),
|
|
4536
4536
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4537
4537
|
designSystem.Typography,
|
|
4538
4538
|
{
|
|
4539
4539
|
variant: "pi",
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
fontWeight: "600",
|
|
4543
|
-
color: isDateExpired(selectedTokenDetails.expires_at) ? "#f87171" : "#ffffff"
|
|
4544
|
-
},
|
|
4540
|
+
textColor: isDateExpired(selectedTokenDetails.expires_at) ? "danger600" : "neutral800",
|
|
4541
|
+
style: { fontSize: "13px", fontWeight: "600" },
|
|
4545
4542
|
children: formatDate(selectedTokenDetails.expires_at) || formatMessage({ id: index.getTrad("tokens.details.unlimited") })
|
|
4546
4543
|
}
|
|
4547
4544
|
)
|
|
@@ -4555,19 +4552,19 @@ const TokensProfessional = () => {
|
|
|
4555
4552
|
justifyContent: "space-between",
|
|
4556
4553
|
style: {
|
|
4557
4554
|
padding: "12px 20px",
|
|
4558
|
-
background: "rgba(34, 197, 94, 0.
|
|
4559
|
-
borderBottom: selectedTokenDetails.last_used_at && selectedTokenDetails.last_used_at !== selectedTokenDetails.used_at ? "1px solid rgba(34, 197, 94, 0.
|
|
4555
|
+
background: "rgba(34, 197, 94, 0.06)",
|
|
4556
|
+
borderBottom: selectedTokenDetails.last_used_at && selectedTokenDetails.last_used_at !== selectedTokenDetails.used_at ? "1px solid rgba(34, 197, 94, 0.12)" : "none"
|
|
4560
4557
|
},
|
|
4561
4558
|
children: [
|
|
4562
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4559
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: index.getTrad("tokens.details.usedAt") }) }),
|
|
4563
4560
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
4564
4561
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { style: {
|
|
4565
4562
|
width: "8px",
|
|
4566
4563
|
height: "8px",
|
|
4567
4564
|
borderRadius: "50%",
|
|
4568
|
-
background: "#
|
|
4565
|
+
background: "#22c55e"
|
|
4569
4566
|
} }),
|
|
4570
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "13px", fontWeight: "600"
|
|
4567
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "success600", style: { fontSize: "13px", fontWeight: "600" }, children: formatDate(selectedTokenDetails.used_at) })
|
|
4571
4568
|
] })
|
|
4572
4569
|
]
|
|
4573
4570
|
}
|
|
@@ -4577,13 +4574,10 @@ const TokensProfessional = () => {
|
|
|
4577
4574
|
{
|
|
4578
4575
|
alignItems: "center",
|
|
4579
4576
|
justifyContent: "space-between",
|
|
4580
|
-
style: {
|
|
4581
|
-
padding: "12px 20px",
|
|
4582
|
-
background: "rgba(255,255,255,0.03)"
|
|
4583
|
-
},
|
|
4577
|
+
style: { padding: "12px 20px" },
|
|
4584
4578
|
children: [
|
|
4585
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", style: { fontSize: "13px"
|
|
4586
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "13px", fontWeight: "600"
|
|
4579
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "neutral500", style: { fontSize: "13px" }, children: formatMessage({ id: index.getTrad("tokens.details.lastUsedAt") }) }),
|
|
4580
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral800", style: { fontSize: "13px", fontWeight: "600" }, children: formatDate(selectedTokenDetails.last_used_at) })
|
|
4587
4581
|
]
|
|
4588
4582
|
}
|
|
4589
4583
|
)
|
|
@@ -4591,28 +4585,28 @@ const TokensProfessional = () => {
|
|
|
4591
4585
|
}
|
|
4592
4586
|
),
|
|
4593
4587
|
(selectedTokenDetails.ip_address || selectedTokenDetails.user_agent) && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
4594
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px"
|
|
4588
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px" }, children: formatMessage({ id: index.getTrad("tokens.details.technicalInfo") }) }),
|
|
4595
4589
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4596
4590
|
designSystem.Box,
|
|
4597
4591
|
{
|
|
4598
4592
|
padding: 4,
|
|
4593
|
+
background: "neutral100",
|
|
4599
4594
|
style: {
|
|
4600
4595
|
borderRadius: "8px",
|
|
4601
|
-
border: "1px solid rgba(
|
|
4602
|
-
background: "rgba(255,255,255,0.04)"
|
|
4596
|
+
border: "1px solid rgba(128, 128, 128, 0.15)"
|
|
4603
4597
|
},
|
|
4604
4598
|
children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
4605
4599
|
selectedTokenDetails.ip_address && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 2, children: [
|
|
4606
|
-
/* @__PURE__ */ jsxRuntime.jsx(icons.Earth, { style: { width: "14px", height: "14px", color: "
|
|
4607
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontFamily: "monospace", fontSize: "12px"
|
|
4600
|
+
/* @__PURE__ */ jsxRuntime.jsx(icons.Earth, { style: { width: "14px", height: "14px", color: "var(--colors-neutral500)" } }),
|
|
4601
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral700", style: { fontFamily: "monospace", fontSize: "12px" }, children: selectedTokenDetails.ip_address })
|
|
4608
4602
|
] }),
|
|
4609
|
-
selectedTokenDetails.user_agent && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { fontSize: "11px", wordBreak: "break-all"
|
|
4603
|
+
selectedTokenDetails.user_agent && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", textColor: "neutral500", style: { fontSize: "11px", wordBreak: "break-all" }, children: selectedTokenDetails.user_agent })
|
|
4610
4604
|
] })
|
|
4611
4605
|
}
|
|
4612
4606
|
)
|
|
4613
4607
|
] }),
|
|
4614
4608
|
selectedTokenDetails.context && Object.keys(selectedTokenDetails.context).length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { children: [
|
|
4615
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px"
|
|
4609
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { marginBottom: "8px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px" }, children: formatMessage({ id: index.getTrad("tokens.details.context") }) }),
|
|
4616
4610
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
4617
4611
|
designSystem.Box,
|
|
4618
4612
|
{
|
|
@@ -4635,7 +4629,7 @@ const TokensProfessional = () => {
|
|
|
4635
4629
|
)
|
|
4636
4630
|
] }),
|
|
4637
4631
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { marginTop: "8px" }, children: [
|
|
4638
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", style: { marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px"
|
|
4632
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", fontWeight: "semiBold", textColor: "neutral500", style: { marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px" }, children: formatMessage({ id: index.getTrad("tokens.details.actions") }) }),
|
|
4639
4633
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, wrap: "wrap", children: [
|
|
4640
4634
|
(selectedTokenDetails.is_used || selectedTokenDetails.expires_at && new Date(selectedTokenDetails.expires_at) < /* @__PURE__ */ new Date() || selectedTokenDetails.status === "blocked") && /* @__PURE__ */ jsxRuntime.jsx(
|
|
4641
4635
|
designSystem.Button,
|
|
@@ -4759,9 +4753,9 @@ const TokensProfessional = () => {
|
|
|
4759
4753
|
paddingBottom: 5,
|
|
4760
4754
|
paddingLeft: 7,
|
|
4761
4755
|
paddingRight: 7,
|
|
4756
|
+
background: "neutral100",
|
|
4762
4757
|
style: {
|
|
4763
|
-
borderTop: "1px solid rgba(
|
|
4764
|
-
background: "rgba(255,255,255,0.03)",
|
|
4758
|
+
borderTop: "1px solid rgba(128, 128, 128, 0.12)",
|
|
4765
4759
|
borderBottomLeftRadius: "8px",
|
|
4766
4760
|
borderBottomRightRadius: "8px"
|
|
4767
4761
|
},
|
|
@@ -5,7 +5,7 @@ import { useIntl } from "react-intl";
|
|
|
5
5
|
import { Flex, Loader, Box, Typography, Button, TextInput, Badge } from "@strapi/design-system";
|
|
6
6
|
import { Phone, Check, Message, ArrowClockwise } 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-uwUKk17V.mjs";
|
|
9
9
|
const theme = {
|
|
10
10
|
colors: {
|
|
11
11
|
primary: { 700: "#075985", 100: "#E0F2FE", 50: "#F0F9FF" },
|
|
@@ -60,7 +60,7 @@ const index = {
|
|
|
60
60
|
},
|
|
61
61
|
Component: () => Promise.resolve().then(() => require(
|
|
62
62
|
/* webpackChunkName: "magic-link-tokens" */
|
|
63
|
-
"./index-
|
|
63
|
+
"./index-DRrOQmHI.js"
|
|
64
64
|
)),
|
|
65
65
|
permissions: []
|
|
66
66
|
// Leeres Array = keine Permission-Prüfung nötig
|
|
@@ -83,7 +83,7 @@ const index = {
|
|
|
83
83
|
to: `${PLUGIN_ID}/config`,
|
|
84
84
|
Component: () => Promise.resolve().then(() => require(
|
|
85
85
|
/* webpackChunkName: "magic-link-settings" */
|
|
86
|
-
"./index-
|
|
86
|
+
"./index-B_W1UPwO.js"
|
|
87
87
|
)),
|
|
88
88
|
permissions: pluginPermissions.readSettings
|
|
89
89
|
},
|
|
@@ -122,7 +122,7 @@ const index = {
|
|
|
122
122
|
to: `${PLUGIN_ID}/whatsapp`,
|
|
123
123
|
Component: () => Promise.resolve().then(() => require(
|
|
124
124
|
/* webpackChunkName: "magic-link-whatsapp" */
|
|
125
|
-
"./index-
|
|
125
|
+
"./index-CoPzo3AB.js"
|
|
126
126
|
)),
|
|
127
127
|
permissions: []
|
|
128
128
|
}
|
|
@@ -59,7 +59,7 @@ const index = {
|
|
|
59
59
|
},
|
|
60
60
|
Component: () => import(
|
|
61
61
|
/* webpackChunkName: "magic-link-tokens" */
|
|
62
|
-
"./index-
|
|
62
|
+
"./index-Ci-1p8MA.mjs"
|
|
63
63
|
),
|
|
64
64
|
permissions: []
|
|
65
65
|
// Leeres Array = keine Permission-Prüfung nötig
|
|
@@ -82,7 +82,7 @@ const index = {
|
|
|
82
82
|
to: `${PLUGIN_ID}/config`,
|
|
83
83
|
Component: () => import(
|
|
84
84
|
/* webpackChunkName: "magic-link-settings" */
|
|
85
|
-
"./index-
|
|
85
|
+
"./index-B5ocEHHM.mjs"
|
|
86
86
|
),
|
|
87
87
|
permissions: pluginPermissions.readSettings
|
|
88
88
|
},
|
|
@@ -121,7 +121,7 @@ const index = {
|
|
|
121
121
|
to: `${PLUGIN_ID}/whatsapp`,
|
|
122
122
|
Component: () => import(
|
|
123
123
|
/* webpackChunkName: "magic-link-whatsapp" */
|
|
124
|
-
"./index-
|
|
124
|
+
"./index-DdtbtuBN.mjs"
|
|
125
125
|
),
|
|
126
126
|
permissions: []
|
|
127
127
|
}
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/package.json
CHANGED