strapi-plugin-magic-sessionmanager 4.5.13 → 4.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +14 -0
- package/README.md +90 -34
- package/dist/{_chunks/Analytics-DM4_UffY.js → admin/Analytics-BMkhiuRX.js} +3 -121
- package/dist/{_chunks/Analytics--qB2cKuD.mjs → admin/Analytics-CwNJ3TNI.mjs} +5 -123
- package/dist/{_chunks/App-DF-VsbDW.js → admin/App-DazHh7Zi.js} +67 -646
- package/dist/{_chunks/App-CL5q29Mi.mjs → admin/App-Sk0F9UEN.mjs} +69 -648
- package/dist/{_chunks/License-D9piCp34.mjs → admin/License-6SIpR7Rk.mjs} +34 -113
- package/dist/{_chunks/License-Dmm1d3fQ.js → admin/License-BwbmzbP_.js} +34 -113
- package/dist/{_chunks/OnlineUsersWidget-KchZ_ScS.js → admin/OnlineUsersWidget-BIfnbFcZ.js} +44 -36
- package/dist/{_chunks/OnlineUsersWidget-DHsthkt0.mjs → admin/OnlineUsersWidget-Qq_uCTi1.mjs} +44 -36
- package/dist/{_chunks/Settings-D6ILgR9X.mjs → admin/Settings-BA7S_8DF.mjs} +286 -112
- package/dist/{_chunks/Settings-CUNaxDWk.js → admin/Settings-CCYScjxv.js} +284 -110
- package/dist/{_chunks/de-CDA1V0rF.mjs → admin/de-6rIvkYOp.mjs} +37 -14
- package/dist/{_chunks/de-I-Q-pWqu.js → admin/de-DjP2WJ_V.js} +37 -14
- package/dist/{_chunks/en-Bd7_h-4e.js → admin/en-0pesBbOT.js} +37 -14
- package/dist/{_chunks/en-DzmOCyzQ.mjs → admin/en-8hiv31Dv.mjs} +37 -14
- package/dist/{_chunks/es-BcAx18XG.js → admin/es-DdBRpF7F.js} +37 -14
- package/dist/{_chunks/es-Cx-SN6qV.mjs → admin/es-LRQ148f5.mjs} +37 -14
- package/dist/{_chunks/fr-DXlXE5Eo.mjs → admin/fr-CKhx_qil.mjs} +37 -14
- package/dist/{_chunks/fr-DCzYMuJ-.js → admin/fr-DJ6DbeDy.js} +37 -14
- package/dist/{_chunks/index-CTxGMDHr.js → admin/index-DTskQVDl.js} +12 -25
- package/dist/{_chunks/index-CwxKazpc.mjs → admin/index-UTLA1r40.mjs} +12 -25
- package/dist/admin/index.js +3 -2
- package/dist/admin/index.mjs +1 -1
- package/dist/{_chunks/pt-21-MAb72.js → admin/pt-D0SMoAmo.js} +37 -14
- package/dist/{_chunks/pt-zsdTSjba.mjs → admin/pt-DXizUvcj.mjs} +37 -14
- package/dist/server/index.js +9680 -8914
- package/dist/server/index.mjs +9701 -8918
- package/package.json +25 -14
- package/scripts/geoip-updater.cjs +220 -0
- package/scripts/update-geoip-db.mjs +38 -0
- package/strapi-admin.js +2 -1
- package/strapi-server.js +2 -1
- package/dist/_chunks/UpgradePage-D697BVWo.mjs +0 -352
- package/dist/_chunks/UpgradePage-Dwrv7g8L.js +0 -354
- package/dist/_chunks/useLicense-B9WW9s_d.mjs +0 -86
- package/dist/_chunks/useLicense-BEbtA_Zo.js +0 -85
- /package/dist/{_chunks → admin}/StyledButtons-Cz8oYhmc.mjs +0 -0
- /package/dist/{_chunks → admin}/StyledButtons-DDuxnYz8.js +0 -0
|
@@ -4,7 +4,7 @@ import { Loader, Box, Alert, Flex, Typography, Button, Badge, Accordion } from "
|
|
|
4
4
|
import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
5
5
|
import { ArrowClockwise, Duplicate, Download, User, Shield, Sparkle, ChartBubble } from "@strapi/icons";
|
|
6
6
|
import styled, { css, keyframes } from "styled-components";
|
|
7
|
-
import { a as pluginId } from "./index-
|
|
7
|
+
import { a as pluginId } from "./index-UTLA1r40.mjs";
|
|
8
8
|
const theme = {
|
|
9
9
|
borderRadius: { lg: "12px" }
|
|
10
10
|
};
|
|
@@ -83,7 +83,7 @@ const LicensePage = () => {
|
|
|
83
83
|
setLicenseData(response.data);
|
|
84
84
|
} catch (err) {
|
|
85
85
|
console.error("[magic-sessionmanager/License] Error fetching license:", err);
|
|
86
|
-
setError("Failed to load
|
|
86
|
+
setError("Failed to load activation information");
|
|
87
87
|
} finally {
|
|
88
88
|
setLoading(false);
|
|
89
89
|
}
|
|
@@ -93,12 +93,12 @@ const LicensePage = () => {
|
|
|
93
93
|
await navigator.clipboard.writeText(licenseData?.data?.licenseKey || "");
|
|
94
94
|
toggleNotification({
|
|
95
95
|
type: "success",
|
|
96
|
-
message: "
|
|
96
|
+
message: "Activation key copied to clipboard!"
|
|
97
97
|
});
|
|
98
98
|
} catch (err) {
|
|
99
99
|
toggleNotification({
|
|
100
100
|
type: "danger",
|
|
101
|
-
message: "Failed to copy
|
|
101
|
+
message: "Failed to copy activation key"
|
|
102
102
|
});
|
|
103
103
|
}
|
|
104
104
|
};
|
|
@@ -110,47 +110,45 @@ const LicensePage = () => {
|
|
|
110
110
|
const firstName = data2.firstName || "";
|
|
111
111
|
const lastName = data2.lastName || "";
|
|
112
112
|
const fullName = `${firstName} ${lastName}`.trim() || "N/A";
|
|
113
|
-
const content = `Magic Session Manager -
|
|
114
|
-
|
|
113
|
+
const content = `Magic Session Manager - Optional Activation Key
|
|
114
|
+
=======================================
|
|
115
115
|
|
|
116
|
-
|
|
116
|
+
Activation Key: ${licenseKey}
|
|
117
117
|
|
|
118
|
-
|
|
119
|
-
|
|
118
|
+
Activation Holder Information:
|
|
119
|
+
---------------------------------------
|
|
120
120
|
Name: ${fullName}
|
|
121
121
|
Email: ${email}
|
|
122
122
|
|
|
123
|
-
|
|
124
|
-
|
|
123
|
+
Activation Status:
|
|
124
|
+
---------------------------------------
|
|
125
125
|
Status: ${data2.isActive ? "ACTIVE" : "INACTIVE"}
|
|
126
126
|
Expires: ${data2.expiresAt ? new Date(data2.expiresAt).toLocaleDateString() : "Never"}
|
|
127
127
|
|
|
128
128
|
Features:
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
Advanced: ${data2.features?.advanced ? "Enabled" : "Disabled"}
|
|
132
|
-
Enterprise: ${data2.features?.enterprise ? "Enabled" : "Disabled"}
|
|
129
|
+
---------------------------------------
|
|
130
|
+
All Session Manager features are included without a paid key.
|
|
133
131
|
|
|
134
|
-
|
|
132
|
+
=======================================
|
|
135
133
|
Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
136
134
|
`;
|
|
137
135
|
const blob = new Blob([content], { type: "text/plain" });
|
|
138
136
|
const url = window.URL.createObjectURL(blob);
|
|
139
137
|
const link = document.createElement("a");
|
|
140
138
|
link.href = url;
|
|
141
|
-
link.download = `session-manager-
|
|
139
|
+
link.download = `session-manager-activation-${licenseKey.substring(0, 8)}.txt`;
|
|
142
140
|
document.body.appendChild(link);
|
|
143
141
|
link.click();
|
|
144
142
|
document.body.removeChild(link);
|
|
145
143
|
window.URL.revokeObjectURL(url);
|
|
146
144
|
toggleNotification({
|
|
147
145
|
type: "success",
|
|
148
|
-
message: "
|
|
146
|
+
message: "Activation key downloaded successfully!"
|
|
149
147
|
});
|
|
150
148
|
} catch (err) {
|
|
151
149
|
toggleNotification({
|
|
152
150
|
type: "danger",
|
|
153
|
-
message: "Failed to download
|
|
151
|
+
message: "Failed to download activation key"
|
|
154
152
|
});
|
|
155
153
|
}
|
|
156
154
|
};
|
|
@@ -158,19 +156,19 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
158
156
|
fetchLicenseStatus();
|
|
159
157
|
}, []);
|
|
160
158
|
if (loading) {
|
|
161
|
-
return /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(LoaderContainer, { children: /* @__PURE__ */ jsx(Loader, { children: "Loading
|
|
159
|
+
return /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(LoaderContainer, { children: /* @__PURE__ */ jsx(Loader, { children: "Loading activation information..." }) }) });
|
|
162
160
|
}
|
|
163
161
|
if (error) {
|
|
164
162
|
return /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsx(Box, { padding: 8, children: /* @__PURE__ */ jsx(Alert, { variant: "danger", title: "Error", closeLabel: "Close", children: error }) }) });
|
|
165
163
|
}
|
|
166
164
|
const isValid = licenseData?.valid;
|
|
167
|
-
const isDemo = licenseData?.demo;
|
|
168
165
|
const data = licenseData?.data || {};
|
|
166
|
+
const hasKey = licenseData?.hasKey ?? Boolean(data.licenseKey);
|
|
169
167
|
return /* @__PURE__ */ jsxs(Container, { children: [
|
|
170
168
|
/* @__PURE__ */ jsx(StickySaveBar, { paddingTop: 5, paddingBottom: 5, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "center", children: [
|
|
171
169
|
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 1, children: [
|
|
172
|
-
/* @__PURE__ */ jsx(Typography, { variant: "alpha", fontWeight: "bold", children: "
|
|
173
|
-
/* @__PURE__ */ jsx(Typography, { variant: "epsilon", textColor: "neutral600", children: "
|
|
170
|
+
/* @__PURE__ */ jsx(Typography, { variant: "alpha", fontWeight: "bold", children: "Optional Activation" }),
|
|
171
|
+
/* @__PURE__ */ jsx(Typography, { variant: "epsilon", textColor: "neutral600", children: "Store and inspect an optional activation key. All features work without one." })
|
|
174
172
|
] }),
|
|
175
173
|
/* @__PURE__ */ jsx(
|
|
176
174
|
Button,
|
|
@@ -189,10 +187,10 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
189
187
|
)
|
|
190
188
|
] }) }),
|
|
191
189
|
/* @__PURE__ */ jsxs(Box, { paddingTop: 6, paddingLeft: 6, paddingRight: 6, paddingBottom: 10, children: [
|
|
192
|
-
|
|
190
|
+
!hasKey ? /* @__PURE__ */ jsx(Alert, { variant: "default", title: "No Activation Key Stored", closeLabel: "Close", children: "All Session Manager features are available. An activation key is optional and only used for install tracking or display." }) : isValid ? /* @__PURE__ */ jsx(Alert, { variant: "success", title: "Activation Key Stored", closeLabel: "Close", children: "Your optional activation key is stored. All features remain available with or without this key." }) : /* @__PURE__ */ jsx(Alert, { variant: "warning", title: "Activation Check Failed", closeLabel: "Close", children: "The activation server could not verify this key. The plugin still keeps all features available." }),
|
|
193
191
|
data.licenseKey && /* @__PURE__ */ jsx(Box, { marginTop: 6, children: /* @__PURE__ */ jsx(LicenseKeyBanner, { children: /* @__PURE__ */ jsxs(Flex, { justifyContent: "space-between", alignItems: "flex-start", children: [
|
|
194
192
|
/* @__PURE__ */ jsxs(Box, { style: { flex: 1 }, children: [
|
|
195
|
-
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { color: "rgba(255,255,255,0.8)", marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px", display: "block" }, children: "
|
|
193
|
+
/* @__PURE__ */ jsx(Typography, { variant: "pi", style: { color: "rgba(255,255,255,0.8)", marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px", display: "block" }, children: "Activation Key" }),
|
|
196
194
|
/* @__PURE__ */ jsx(Typography, { style: { color: "white", fontFamily: "monospace", fontSize: "28px", fontWeight: "bold", wordBreak: "break-all", marginBottom: "16px" }, children: data.licenseKey }),
|
|
197
195
|
/* @__PURE__ */ jsxs(Flex, { gap: 2, children: [
|
|
198
196
|
/* @__PURE__ */ jsx(
|
|
@@ -248,13 +246,13 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
248
246
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "semiBold", children: data.email || "Not provided" })
|
|
249
247
|
] }),
|
|
250
248
|
/* @__PURE__ */ jsxs(Box, { style: { flex: "1", minWidth: "200px" }, children: [
|
|
251
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "
|
|
249
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Activation Holder" }),
|
|
252
250
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "semiBold", children: data.firstName && data.lastName ? `${data.firstName} ${data.lastName}` : "Not specified" })
|
|
253
251
|
] })
|
|
254
252
|
] }) }) })
|
|
255
253
|
] }),
|
|
256
254
|
/* @__PURE__ */ jsxs(Accordion.Item, { value: "details", children: [
|
|
257
|
-
/* @__PURE__ */ jsx(Accordion.Header, { children: /* @__PURE__ */ jsx(Accordion.Trigger, { icon: Shield, children: "
|
|
255
|
+
/* @__PURE__ */ jsx(Accordion.Header, { children: /* @__PURE__ */ jsx(Accordion.Trigger, { icon: Shield, children: "Activation Details" }) }),
|
|
258
256
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsx(Box, { padding: 6, children: /* @__PURE__ */ jsxs(Flex, { gap: 8, wrap: "wrap", children: [
|
|
259
257
|
/* @__PURE__ */ jsxs(Box, { style: { flex: "1", minWidth: "180px" }, children: [
|
|
260
258
|
/* @__PURE__ */ jsx(Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: data.isExpired ? "Expired On" : "Expires On" }),
|
|
@@ -276,98 +274,21 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
276
274
|
] }),
|
|
277
275
|
/* @__PURE__ */ jsxs(Accordion.Item, { value: "features", children: [
|
|
278
276
|
/* @__PURE__ */ jsx(Accordion.Header, { children: /* @__PURE__ */ jsx(Accordion.Trigger, { icon: Sparkle, children: "Features & Capabilities" }) }),
|
|
279
|
-
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */
|
|
280
|
-
/* @__PURE__ */
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
style: {
|
|
287
|
-
fontSize: "13px",
|
|
288
|
-
fontWeight: "700",
|
|
289
|
-
padding: "8px 16px",
|
|
290
|
-
border: data.features?.premium ? "2px solid rgba(34, 197, 94, 0.3)" : "2px solid rgba(128, 128, 128, 0.2)"
|
|
291
|
-
},
|
|
292
|
-
children: [
|
|
293
|
-
data.features?.premium ? "✓" : "✗",
|
|
294
|
-
" PREMIUM FEATURES"
|
|
295
|
-
]
|
|
296
|
-
}
|
|
297
|
-
),
|
|
298
|
-
/* @__PURE__ */ jsxs(
|
|
299
|
-
Badge,
|
|
300
|
-
{
|
|
301
|
-
backgroundColor: data.features?.advanced ? "primary100" : "neutral100",
|
|
302
|
-
textColor: data.features?.advanced ? "primary700" : "neutral600",
|
|
303
|
-
style: {
|
|
304
|
-
fontSize: "13px",
|
|
305
|
-
fontWeight: "700",
|
|
306
|
-
padding: "8px 16px",
|
|
307
|
-
border: data.features?.advanced ? "2px solid rgba(14, 165, 233, 0.3)" : "2px solid rgba(128, 128, 128, 0.2)"
|
|
308
|
-
},
|
|
309
|
-
children: [
|
|
310
|
-
data.features?.advanced ? "✓" : "✗",
|
|
311
|
-
" ADVANCED FEATURES"
|
|
312
|
-
]
|
|
313
|
-
}
|
|
314
|
-
),
|
|
315
|
-
/* @__PURE__ */ jsxs(
|
|
316
|
-
Badge,
|
|
317
|
-
{
|
|
318
|
-
backgroundColor: data.features?.enterprise ? "secondary100" : "neutral100",
|
|
319
|
-
textColor: data.features?.enterprise ? "secondary700" : "neutral600",
|
|
320
|
-
style: {
|
|
321
|
-
fontSize: "13px",
|
|
322
|
-
fontWeight: "700",
|
|
323
|
-
padding: "8px 16px",
|
|
324
|
-
border: data.features?.enterprise ? "2px solid rgba(139, 92, 246, 0.3)" : "2px solid rgba(128, 128, 128, 0.2)"
|
|
325
|
-
},
|
|
326
|
-
children: [
|
|
327
|
-
data.features?.enterprise ? "✓" : "✗",
|
|
328
|
-
" ENTERPRISE FEATURES"
|
|
329
|
-
]
|
|
330
|
-
}
|
|
331
|
-
)
|
|
332
|
-
] }),
|
|
333
|
-
data.features?.premium && /* @__PURE__ */ jsxs(Box, { marginBottom: 5, padding: 5, background: "success50", hasRadius: true, style: { border: "2px solid rgba(34, 197, 94, 0.3)" }, children: [
|
|
334
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", textColor: "success700", style: { marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }, children: "Premium Features Active" }),
|
|
335
|
-
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, children: [
|
|
336
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ IP Geolocation Tracking (Country, City, Timezone)" }),
|
|
337
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Security Risk Scoring (0-100)" }),
|
|
338
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ VPN Detection" }),
|
|
339
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Proxy Detection" }),
|
|
340
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Threat Analysis" }),
|
|
341
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Advanced Session Analytics" })
|
|
342
|
-
] })
|
|
343
|
-
] }),
|
|
344
|
-
data.features?.advanced && /* @__PURE__ */ jsxs(Box, { marginBottom: 5, padding: 5, background: "primary50", hasRadius: true, style: { border: "2px solid rgba(14, 165, 233, 0.3)" }, children: [
|
|
345
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", textColor: "primary700", style: { marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }, children: "Advanced Features Active" }),
|
|
346
|
-
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, children: [
|
|
347
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Email Notifications & Alerts" }),
|
|
348
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Webhook Integration (Discord/Slack)" }),
|
|
349
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Auto-blocking Suspicious Sessions" }),
|
|
350
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Geo-fencing (Country-based Access Control)" }),
|
|
351
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Enhanced Analytics Dashboard" })
|
|
352
|
-
] })
|
|
353
|
-
] }),
|
|
354
|
-
data.features?.enterprise && /* @__PURE__ */ jsxs(Box, { padding: 5, background: "secondary50", hasRadius: true, style: { border: "2px solid rgba(139, 92, 246, 0.3)" }, children: [
|
|
355
|
-
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", textColor: "secondary700", style: { marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }, children: "🏢 Enterprise Features Active" }),
|
|
356
|
-
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, children: [
|
|
357
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Multi-tenant Support" }),
|
|
358
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Compliance Reports (GDPR, SOC2)" }),
|
|
359
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Custom Security Rules Engine" }),
|
|
360
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ ML-based Anomaly Detection" }),
|
|
361
|
-
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Priority Support" })
|
|
362
|
-
] })
|
|
277
|
+
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsx(Box, { padding: 6, children: /* @__PURE__ */ jsxs(Box, { padding: 5, background: "success50", hasRadius: true, style: { border: "2px solid rgba(34, 197, 94, 0.3)" }, children: [
|
|
278
|
+
/* @__PURE__ */ jsx(Typography, { variant: "delta", fontWeight: "bold", textColor: "success700", style: { marginBottom: "16px", display: "block" }, children: "All Features Included" }),
|
|
279
|
+
/* @__PURE__ */ jsxs(Flex, { direction: "column", gap: 2, children: [
|
|
280
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "IP geolocation tracking with country, city, and timezone" }),
|
|
281
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "Security scoring, VPN/proxy detection, and threat analysis" }),
|
|
282
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "Session analytics, CSV/JSON export, and real-time monitoring" }),
|
|
283
|
+
/* @__PURE__ */ jsx(Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "Email alerts, Discord/Slack webhooks, and geofencing" })
|
|
363
284
|
] })
|
|
364
|
-
] }) })
|
|
285
|
+
] }) }) })
|
|
365
286
|
] }),
|
|
366
287
|
/* @__PURE__ */ jsxs(Accordion.Item, { value: "status", children: [
|
|
367
288
|
/* @__PURE__ */ jsx(Accordion.Header, { children: /* @__PURE__ */ jsx(Accordion.Trigger, { icon: ChartBubble, children: "System Status" }) }),
|
|
368
289
|
/* @__PURE__ */ jsx(Accordion.Content, { children: /* @__PURE__ */ jsx(Box, { padding: 6, children: /* @__PURE__ */ jsxs(Flex, { gap: 8, wrap: "wrap", children: [
|
|
369
290
|
/* @__PURE__ */ jsxs(Box, { style: { flex: "1", minWidth: "150px" }, children: [
|
|
370
|
-
/* @__PURE__ */ jsx(Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "
|
|
291
|
+
/* @__PURE__ */ jsx(Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Activation Status" }),
|
|
371
292
|
/* @__PURE__ */ jsx(Typography, { variant: "omega", fontWeight: "semiBold", children: data.isActive ? "Active" : "Inactive" })
|
|
372
293
|
] }),
|
|
373
294
|
/* @__PURE__ */ jsxs(Box, { style: { flex: "1", minWidth: "150px" }, children: [
|
|
@@ -6,7 +6,7 @@ const designSystem = require("@strapi/design-system");
|
|
|
6
6
|
const admin = require("@strapi/strapi/admin");
|
|
7
7
|
const icons = require("@strapi/icons");
|
|
8
8
|
const styled = require("styled-components");
|
|
9
|
-
const index = require("./index-
|
|
9
|
+
const index = require("./index-DTskQVDl.js");
|
|
10
10
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
11
11
|
const styled__default = /* @__PURE__ */ _interopDefault(styled);
|
|
12
12
|
const theme = {
|
|
@@ -87,7 +87,7 @@ const LicensePage = () => {
|
|
|
87
87
|
setLicenseData(response.data);
|
|
88
88
|
} catch (err) {
|
|
89
89
|
console.error("[magic-sessionmanager/License] Error fetching license:", err);
|
|
90
|
-
setError("Failed to load
|
|
90
|
+
setError("Failed to load activation information");
|
|
91
91
|
} finally {
|
|
92
92
|
setLoading(false);
|
|
93
93
|
}
|
|
@@ -97,12 +97,12 @@ const LicensePage = () => {
|
|
|
97
97
|
await navigator.clipboard.writeText(licenseData?.data?.licenseKey || "");
|
|
98
98
|
toggleNotification({
|
|
99
99
|
type: "success",
|
|
100
|
-
message: "
|
|
100
|
+
message: "Activation key copied to clipboard!"
|
|
101
101
|
});
|
|
102
102
|
} catch (err) {
|
|
103
103
|
toggleNotification({
|
|
104
104
|
type: "danger",
|
|
105
|
-
message: "Failed to copy
|
|
105
|
+
message: "Failed to copy activation key"
|
|
106
106
|
});
|
|
107
107
|
}
|
|
108
108
|
};
|
|
@@ -114,47 +114,45 @@ const LicensePage = () => {
|
|
|
114
114
|
const firstName = data2.firstName || "";
|
|
115
115
|
const lastName = data2.lastName || "";
|
|
116
116
|
const fullName = `${firstName} ${lastName}`.trim() || "N/A";
|
|
117
|
-
const content = `Magic Session Manager -
|
|
118
|
-
|
|
117
|
+
const content = `Magic Session Manager - Optional Activation Key
|
|
118
|
+
=======================================
|
|
119
119
|
|
|
120
|
-
|
|
120
|
+
Activation Key: ${licenseKey}
|
|
121
121
|
|
|
122
|
-
|
|
123
|
-
|
|
122
|
+
Activation Holder Information:
|
|
123
|
+
---------------------------------------
|
|
124
124
|
Name: ${fullName}
|
|
125
125
|
Email: ${email}
|
|
126
126
|
|
|
127
|
-
|
|
128
|
-
|
|
127
|
+
Activation Status:
|
|
128
|
+
---------------------------------------
|
|
129
129
|
Status: ${data2.isActive ? "ACTIVE" : "INACTIVE"}
|
|
130
130
|
Expires: ${data2.expiresAt ? new Date(data2.expiresAt).toLocaleDateString() : "Never"}
|
|
131
131
|
|
|
132
132
|
Features:
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
Advanced: ${data2.features?.advanced ? "Enabled" : "Disabled"}
|
|
136
|
-
Enterprise: ${data2.features?.enterprise ? "Enabled" : "Disabled"}
|
|
133
|
+
---------------------------------------
|
|
134
|
+
All Session Manager features are included without a paid key.
|
|
137
135
|
|
|
138
|
-
|
|
136
|
+
=======================================
|
|
139
137
|
Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
140
138
|
`;
|
|
141
139
|
const blob = new Blob([content], { type: "text/plain" });
|
|
142
140
|
const url = window.URL.createObjectURL(blob);
|
|
143
141
|
const link = document.createElement("a");
|
|
144
142
|
link.href = url;
|
|
145
|
-
link.download = `session-manager-
|
|
143
|
+
link.download = `session-manager-activation-${licenseKey.substring(0, 8)}.txt`;
|
|
146
144
|
document.body.appendChild(link);
|
|
147
145
|
link.click();
|
|
148
146
|
document.body.removeChild(link);
|
|
149
147
|
window.URL.revokeObjectURL(url);
|
|
150
148
|
toggleNotification({
|
|
151
149
|
type: "success",
|
|
152
|
-
message: "
|
|
150
|
+
message: "Activation key downloaded successfully!"
|
|
153
151
|
});
|
|
154
152
|
} catch (err) {
|
|
155
153
|
toggleNotification({
|
|
156
154
|
type: "danger",
|
|
157
|
-
message: "Failed to download
|
|
155
|
+
message: "Failed to download activation key"
|
|
158
156
|
});
|
|
159
157
|
}
|
|
160
158
|
};
|
|
@@ -162,19 +160,19 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
162
160
|
fetchLicenseStatus();
|
|
163
161
|
}, []);
|
|
164
162
|
if (loading) {
|
|
165
|
-
return /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsx(LoaderContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Loader, { children: "Loading
|
|
163
|
+
return /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsx(LoaderContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Loader, { children: "Loading activation information..." }) }) });
|
|
166
164
|
}
|
|
167
165
|
if (error) {
|
|
168
166
|
return /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 8, children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "danger", title: "Error", closeLabel: "Close", children: error }) }) });
|
|
169
167
|
}
|
|
170
168
|
const isValid = licenseData?.valid;
|
|
171
|
-
const isDemo = licenseData?.demo;
|
|
172
169
|
const data = licenseData?.data || {};
|
|
170
|
+
const hasKey = licenseData?.hasKey ?? Boolean(data.licenseKey);
|
|
173
171
|
return /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
|
|
174
172
|
/* @__PURE__ */ jsxRuntime.jsx(StickySaveBar, { paddingTop: 5, paddingBottom: 5, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", children: [
|
|
175
173
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 1, children: [
|
|
176
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "alpha", fontWeight: "bold", children: "
|
|
177
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "epsilon", textColor: "neutral600", children: "
|
|
174
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "alpha", fontWeight: "bold", children: "Optional Activation" }),
|
|
175
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "epsilon", textColor: "neutral600", children: "Store and inspect an optional activation key. All features work without one." })
|
|
178
176
|
] }),
|
|
179
177
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
180
178
|
designSystem.Button,
|
|
@@ -193,10 +191,10 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
193
191
|
)
|
|
194
192
|
] }) }),
|
|
195
193
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { paddingTop: 6, paddingLeft: 6, paddingRight: 6, paddingBottom: 10, children: [
|
|
196
|
-
|
|
194
|
+
!hasKey ? /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "default", title: "No Activation Key Stored", closeLabel: "Close", children: "All Session Manager features are available. An activation key is optional and only used for install tracking or display." }) : isValid ? /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "success", title: "Activation Key Stored", closeLabel: "Close", children: "Your optional activation key is stored. All features remain available with or without this key." }) : /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "warning", title: "Activation Check Failed", closeLabel: "Close", children: "The activation server could not verify this key. The plugin still keeps all features available." }),
|
|
197
195
|
data.licenseKey && /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { marginTop: 6, children: /* @__PURE__ */ jsxRuntime.jsx(LicenseKeyBanner, { children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "flex-start", children: [
|
|
198
196
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
|
|
199
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color: "rgba(255,255,255,0.8)", marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px", display: "block" }, children: "
|
|
197
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "pi", style: { color: "rgba(255,255,255,0.8)", marginBottom: "12px", textTransform: "uppercase", fontSize: "11px", letterSpacing: "0.5px", display: "block" }, children: "Activation Key" }),
|
|
200
198
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { style: { color: "white", fontFamily: "monospace", fontSize: "28px", fontWeight: "bold", wordBreak: "break-all", marginBottom: "16px" }, children: data.licenseKey }),
|
|
201
199
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, children: [
|
|
202
200
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -252,13 +250,13 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
252
250
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.email || "Not provided" })
|
|
253
251
|
] }),
|
|
254
252
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "200px" }, children: [
|
|
255
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "
|
|
253
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Activation Holder" }),
|
|
256
254
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.firstName && data.lastName ? `${data.firstName} ${data.lastName}` : "Not specified" })
|
|
257
255
|
] })
|
|
258
256
|
] }) }) })
|
|
259
257
|
] }),
|
|
260
258
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "details", children: [
|
|
261
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.Shield, children: "
|
|
259
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.Shield, children: "Activation Details" }) }),
|
|
262
260
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 8, wrap: "wrap", children: [
|
|
263
261
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
|
|
264
262
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: data.isExpired ? "Expired On" : "Expires On" }),
|
|
@@ -280,98 +278,21 @@ Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
|
|
|
280
278
|
] }),
|
|
281
279
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "features", children: [
|
|
282
280
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.Sparkle, children: "Features & Capabilities" }) }),
|
|
283
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.
|
|
284
|
-
/* @__PURE__ */ jsxRuntime.
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
style: {
|
|
291
|
-
fontSize: "13px",
|
|
292
|
-
fontWeight: "700",
|
|
293
|
-
padding: "8px 16px",
|
|
294
|
-
border: data.features?.premium ? "2px solid rgba(34, 197, 94, 0.3)" : "2px solid rgba(128, 128, 128, 0.2)"
|
|
295
|
-
},
|
|
296
|
-
children: [
|
|
297
|
-
data.features?.premium ? "✓" : "✗",
|
|
298
|
-
" PREMIUM FEATURES"
|
|
299
|
-
]
|
|
300
|
-
}
|
|
301
|
-
),
|
|
302
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
303
|
-
designSystem.Badge,
|
|
304
|
-
{
|
|
305
|
-
backgroundColor: data.features?.advanced ? "primary100" : "neutral100",
|
|
306
|
-
textColor: data.features?.advanced ? "primary700" : "neutral600",
|
|
307
|
-
style: {
|
|
308
|
-
fontSize: "13px",
|
|
309
|
-
fontWeight: "700",
|
|
310
|
-
padding: "8px 16px",
|
|
311
|
-
border: data.features?.advanced ? "2px solid rgba(14, 165, 233, 0.3)" : "2px solid rgba(128, 128, 128, 0.2)"
|
|
312
|
-
},
|
|
313
|
-
children: [
|
|
314
|
-
data.features?.advanced ? "✓" : "✗",
|
|
315
|
-
" ADVANCED FEATURES"
|
|
316
|
-
]
|
|
317
|
-
}
|
|
318
|
-
),
|
|
319
|
-
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
320
|
-
designSystem.Badge,
|
|
321
|
-
{
|
|
322
|
-
backgroundColor: data.features?.enterprise ? "secondary100" : "neutral100",
|
|
323
|
-
textColor: data.features?.enterprise ? "secondary700" : "neutral600",
|
|
324
|
-
style: {
|
|
325
|
-
fontSize: "13px",
|
|
326
|
-
fontWeight: "700",
|
|
327
|
-
padding: "8px 16px",
|
|
328
|
-
border: data.features?.enterprise ? "2px solid rgba(139, 92, 246, 0.3)" : "2px solid rgba(128, 128, 128, 0.2)"
|
|
329
|
-
},
|
|
330
|
-
children: [
|
|
331
|
-
data.features?.enterprise ? "✓" : "✗",
|
|
332
|
-
" ENTERPRISE FEATURES"
|
|
333
|
-
]
|
|
334
|
-
}
|
|
335
|
-
)
|
|
336
|
-
] }),
|
|
337
|
-
data.features?.premium && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { marginBottom: 5, padding: 5, background: "success50", hasRadius: true, style: { border: "2px solid rgba(34, 197, 94, 0.3)" }, children: [
|
|
338
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", textColor: "success700", style: { marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }, children: "Premium Features Active" }),
|
|
339
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
340
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ IP Geolocation Tracking (Country, City, Timezone)" }),
|
|
341
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Security Risk Scoring (0-100)" }),
|
|
342
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ VPN Detection" }),
|
|
343
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Proxy Detection" }),
|
|
344
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Threat Analysis" }),
|
|
345
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Advanced Session Analytics" })
|
|
346
|
-
] })
|
|
347
|
-
] }),
|
|
348
|
-
data.features?.advanced && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { marginBottom: 5, padding: 5, background: "primary50", hasRadius: true, style: { border: "2px solid rgba(14, 165, 233, 0.3)" }, children: [
|
|
349
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", textColor: "primary700", style: { marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }, children: "Advanced Features Active" }),
|
|
350
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
351
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Email Notifications & Alerts" }),
|
|
352
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Webhook Integration (Discord/Slack)" }),
|
|
353
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Auto-blocking Suspicious Sessions" }),
|
|
354
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Geo-fencing (Country-based Access Control)" }),
|
|
355
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "primary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Enhanced Analytics Dashboard" })
|
|
356
|
-
] })
|
|
357
|
-
] }),
|
|
358
|
-
data.features?.enterprise && /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 5, background: "secondary50", hasRadius: true, style: { border: "2px solid rgba(139, 92, 246, 0.3)" }, children: [
|
|
359
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", textColor: "secondary700", style: { marginBottom: "16px", display: "flex", alignItems: "center", gap: "8px" }, children: "🏢 Enterprise Features Active" }),
|
|
360
|
-
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
361
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Multi-tenant Support" }),
|
|
362
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Compliance Reports (GDPR, SOC2)" }),
|
|
363
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Custom Security Rules Engine" }),
|
|
364
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ ML-based Anomaly Detection" }),
|
|
365
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "secondary700", style: { fontSize: "14px", display: "flex", alignItems: "center", gap: "8px" }, children: "✓ Priority Support" })
|
|
366
|
-
] })
|
|
281
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { padding: 5, background: "success50", hasRadius: true, style: { border: "2px solid rgba(34, 197, 94, 0.3)" }, children: [
|
|
282
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "delta", fontWeight: "bold", textColor: "success700", style: { marginBottom: "16px", display: "block" }, children: "All Features Included" }),
|
|
283
|
+
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 2, children: [
|
|
284
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "IP geolocation tracking with country, city, and timezone" }),
|
|
285
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "Security scoring, VPN/proxy detection, and threat analysis" }),
|
|
286
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "Session analytics, CSV/JSON export, and real-time monitoring" }),
|
|
287
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", textColor: "success700", style: { fontSize: "14px" }, children: "Email alerts, Discord/Slack webhooks, and geofencing" })
|
|
367
288
|
] })
|
|
368
|
-
] }) })
|
|
289
|
+
] }) }) })
|
|
369
290
|
] }),
|
|
370
291
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "status", children: [
|
|
371
292
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.ChartBubble, children: "System Status" }) }),
|
|
372
293
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Content, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { padding: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 8, wrap: "wrap", children: [
|
|
373
294
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "150px" }, children: [
|
|
374
|
-
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "
|
|
295
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Activation Status" }),
|
|
375
296
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.isActive ? "Active" : "Inactive" })
|
|
376
297
|
] }),
|
|
377
298
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "150px" }, children: [
|