strapi-plugin-magic-mark 3.4.0 → 4.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/CHANGELOG.md +366 -0
  2. package/README.md +390 -619
  3. package/dist/admin/App-C9PsvW9C.mjs +580 -0
  4. package/dist/admin/App-KJvUCwN1.js +580 -0
  5. package/dist/admin/PinnedBookmarksWidget-ClskVR1i.mjs +55 -0
  6. package/dist/admin/PinnedBookmarksWidget-DlD8lDhq.js +55 -0
  7. package/dist/admin/de-BF0nCjGF.mjs +183 -0
  8. package/dist/admin/de-Cn90CcnC.js +183 -0
  9. package/dist/admin/en-D-EGHodf.mjs +183 -0
  10. package/dist/admin/en-GDfO_EfL.js +183 -0
  11. package/dist/admin/es-6o-_RABX.js +183 -0
  12. package/dist/admin/es-C33BufuB.mjs +183 -0
  13. package/dist/admin/fr-BOZS5mJT.js +183 -0
  14. package/dist/admin/fr-DJHTjkmb.mjs +183 -0
  15. package/dist/admin/index-CLjQOzqv.js +1770 -0
  16. package/dist/admin/index-X8I03cOT.mjs +1769 -0
  17. package/dist/admin/index.js +4 -2
  18. package/dist/admin/index.mjs +2 -1
  19. package/dist/admin/pt-D13SxuK2.js +183 -0
  20. package/dist/admin/pt-yoB1jrsq.mjs +183 -0
  21. package/dist/server/index.js +1129 -1542
  22. package/dist/server/index.mjs +1126 -1539
  23. package/package.json +90 -54
  24. package/strapi-admin.js +5 -0
  25. package/strapi-server.js +2 -1
  26. package/COPYRIGHT_NOTICE.txt +0 -20
  27. package/dist/_chunks/App-DNyxeldt.js +0 -1451
  28. package/dist/_chunks/App-D_Vllkur.mjs +0 -1449
  29. package/dist/_chunks/UpgradePage-DuyIskve.mjs +0 -351
  30. package/dist/_chunks/UpgradePage-SzlmS6po.js +0 -353
  31. package/dist/_chunks/de-Cs9dd3Mr.js +0 -138
  32. package/dist/_chunks/de-DOVki5VS.mjs +0 -138
  33. package/dist/_chunks/en-CE3r46Y2.js +0 -138
  34. package/dist/_chunks/en-Cf5-O03L.mjs +0 -138
  35. package/dist/_chunks/es-Ba6JcPIm.mjs +0 -138
  36. package/dist/_chunks/es-D4AOyJYJ.js +0 -138
  37. package/dist/_chunks/fr-CWSfoA8i.js +0 -138
  38. package/dist/_chunks/fr-CrMBXR3c.mjs +0 -138
  39. package/dist/_chunks/index-CBwb0AEf.js +0 -3618
  40. package/dist/_chunks/index-JirQF8zE.mjs +0 -328
  41. package/dist/_chunks/index-QkINaIgJ.mjs +0 -3614
  42. package/dist/_chunks/index-uUErgmi9.js +0 -330
  43. package/dist/_chunks/pt-BXxZ1Zym.mjs +0 -138
  44. package/dist/_chunks/pt-DW_6r_mP.js +0 -138
  45. package/pics/advancedFilters.png +0 -0
  46. package/pics/dashboard.png +0 -0
  47. package/pics/quickaccesinContentmanager.png +0 -0
  48. package/pics/saveAsMagicMark.png +0 -0
@@ -1,330 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const jsxRuntime = require("react/jsx-runtime");
4
- const React = require("react");
5
- const designSystem = require("@strapi/design-system");
6
- const admin = require("@strapi/strapi/admin");
7
- const icons = require("@strapi/icons");
8
- const styled = require("styled-components");
9
- const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
10
- const styled__default = /* @__PURE__ */ _interopDefault(styled);
11
- const theme = {
12
- shadows: { sm: "0 1px 3px rgba(0,0,0,0.1)" },
13
- borderRadius: { lg: "12px" }
14
- };
15
- const fadeIn = styled.keyframes`
16
- from { opacity: 0; transform: translateY(10px); }
17
- to { opacity: 1; transform: translateY(0); }
18
- `;
19
- const shimmer = styled.keyframes`
20
- 0% { background-position: -200% 0; }
21
- 100% { background-position: 200% 0; }
22
- `;
23
- const Container = styled__default.default(designSystem.Box)`
24
- animation: ${fadeIn} 0.5s;
25
- max-width: 1400px;
26
- margin: 0 auto;
27
- `;
28
- const StickySaveBar = styled__default.default(designSystem.Box)`
29
- position: sticky;
30
- top: 0;
31
- z-index: 10;
32
- background: ${(p) => p.theme.colors.neutral0};
33
- border-bottom: 1px solid rgba(128, 128, 128, 0.2);
34
- box-shadow: ${theme.shadows.sm};
35
- `;
36
- const LicenseKeyBanner = styled__default.default(designSystem.Box)`
37
- background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
38
- border-radius: ${theme.borderRadius.lg};
39
- padding: 28px 32px;
40
- color: white;
41
- position: relative;
42
- overflow: hidden;
43
- box-shadow: 0 4px 20px rgba(102, 126, 234, 0.25);
44
- margin-bottom: 24px;
45
-
46
- &::after {
47
- content: '';
48
- position: absolute;
49
- top: -50%;
50
- right: -50%;
51
- width: 200%;
52
- height: 200%;
53
- background: linear-gradient(
54
- 45deg,
55
- transparent,
56
- rgba(255, 255, 255, 0.08),
57
- transparent
58
- );
59
- animation: ${shimmer} 3s infinite;
60
- pointer-events: none;
61
- z-index: 0;
62
- }
63
-
64
- & > * {
65
- position: relative;
66
- z-index: 1;
67
- }
68
- `;
69
- const LoaderContainer = styled__default.default(designSystem.Flex)`
70
- min-height: 400px;
71
- align-items: center;
72
- justify-content: center;
73
- flex-direction: column;
74
- gap: 16px;
75
- `;
76
- const LicensePage = () => {
77
- const { get } = admin.useFetchClient();
78
- const { toggleNotification } = admin.useNotification();
79
- const [loading, setLoading] = React.useState(true);
80
- const [licenseData, setLicenseData] = React.useState(null);
81
- const [error, setError] = React.useState(null);
82
- const fetchLicenseStatus = async () => {
83
- setLoading(true);
84
- setError(null);
85
- try {
86
- const response = await get("/magic-mark/license/status");
87
- setLicenseData(response.data);
88
- } catch (err) {
89
- console.error("Error fetching license:", err);
90
- setError("Failed to load license information");
91
- } finally {
92
- setLoading(false);
93
- }
94
- };
95
- const handleCopyLicenseKey = async () => {
96
- try {
97
- await navigator.clipboard.writeText(licenseData?.data?.licenseKey || "");
98
- toggleNotification({
99
- type: "success",
100
- message: "License key copied to clipboard!"
101
- });
102
- } catch (err) {
103
- toggleNotification({
104
- type: "danger",
105
- message: "Failed to copy license key"
106
- });
107
- }
108
- };
109
- const handleDownloadLicenseKey = () => {
110
- try {
111
- const data2 = licenseData?.data || {};
112
- const licenseKey = data2.licenseKey || "";
113
- const email = data2.email || "N/A";
114
- const firstName = data2.firstName || "";
115
- const lastName = data2.lastName || "";
116
- const fullName = `${firstName} ${lastName}`.trim() || "N/A";
117
- const content = `MagicMark Plugin License Key
118
- ═══════════════════════════════════════
119
-
120
- License Key: ${licenseKey}
121
-
122
- License Holder Information:
123
- ──────────────────────────────────────
124
- Name: ${fullName}
125
- Email: ${email}
126
-
127
- License Status:
128
- ──────────────────────────────────────
129
- Status: ${data2.isActive ? "ACTIVE" : "INACTIVE"}
130
- Expires: ${data2.expiresAt ? new Date(data2.expiresAt).toLocaleDateString() : "Never"}
131
-
132
- ═══════════════════════════════════════
133
- Generated: ${(/* @__PURE__ */ new Date()).toLocaleString()}
134
- `;
135
- const blob = new Blob([content], { type: "text/plain" });
136
- const url = window.URL.createObjectURL(blob);
137
- const link = document.createElement("a");
138
- link.href = url;
139
- link.download = `magicmark-license-${licenseKey.substring(0, 8)}.txt`;
140
- document.body.appendChild(link);
141
- link.click();
142
- document.body.removeChild(link);
143
- window.URL.revokeObjectURL(url);
144
- toggleNotification({
145
- type: "success",
146
- message: "License key downloaded successfully!"
147
- });
148
- } catch (err) {
149
- toggleNotification({
150
- type: "danger",
151
- message: "Failed to download license key"
152
- });
153
- }
154
- };
155
- React.useEffect(() => {
156
- fetchLicenseStatus();
157
- }, []);
158
- if (loading) {
159
- return /* @__PURE__ */ jsxRuntime.jsx(Container, { children: /* @__PURE__ */ jsxRuntime.jsx(LoaderContainer, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Loader, { children: "Loading license information..." }) }) });
160
- }
161
- if (error) {
162
- 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 }) }) });
163
- }
164
- const isValid = licenseData?.valid;
165
- const isDemo = licenseData?.demo;
166
- const data = licenseData?.data || {};
167
- return /* @__PURE__ */ jsxRuntime.jsxs(Container, { children: [
168
- /* @__PURE__ */ jsxRuntime.jsx(StickySaveBar, { paddingTop: 5, paddingBottom: 5, paddingLeft: 6, paddingRight: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { justifyContent: "space-between", alignItems: "center", children: [
169
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { direction: "column", gap: 1, children: [
170
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "alpha", fontWeight: "bold", children: "License Management" }),
171
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "epsilon", textColor: "neutral600", children: "View your MagicMark plugin license" })
172
- ] }),
173
- /* @__PURE__ */ jsxRuntime.jsx(
174
- designSystem.Button,
175
- {
176
- startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.ArrowClockwise, {}),
177
- onClick: fetchLicenseStatus,
178
- size: "L",
179
- style: {
180
- background: "linear-gradient(135deg, #667eea 0%, #764ba2 100%)",
181
- color: "white",
182
- fontWeight: "600",
183
- border: "none"
184
- },
185
- children: "Refresh Status"
186
- }
187
- )
188
- ] }) }),
189
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { paddingTop: 6, paddingLeft: 6, paddingRight: 6, paddingBottom: 10, children: [
190
- isDemo ? /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "warning", title: "Demo Mode", closeLabel: "Close", children: "You're using the demo version. Create a license to unlock all features." }) : isValid ? /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "success", title: "License Active", closeLabel: "Close", children: "Your license is active and all features are unlocked." }) : /* @__PURE__ */ jsxRuntime.jsx(designSystem.Alert, { variant: "danger", title: "License Issue", closeLabel: "Close", children: "There's an issue with your license. Please check your license status." }),
191
- 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: [
192
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: 1 }, children: [
193
- /* @__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: "License Key" }),
194
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { style: { color: "white", fontFamily: "monospace", fontSize: "28px", fontWeight: "bold", wordBreak: "break-all", marginBottom: "16px" }, children: data.licenseKey }),
195
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, children: [
196
- /* @__PURE__ */ jsxRuntime.jsx(
197
- designSystem.Button,
198
- {
199
- onClick: handleCopyLicenseKey,
200
- startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.Duplicate, {}),
201
- size: "S",
202
- variant: "secondary",
203
- style: {
204
- backgroundColor: "rgba(255,255,255,0.2)",
205
- color: "white",
206
- border: "1px solid rgba(255,255,255,0.3)",
207
- fontWeight: "600"
208
- },
209
- children: "Copy Key"
210
- }
211
- ),
212
- /* @__PURE__ */ jsxRuntime.jsx(
213
- designSystem.Button,
214
- {
215
- onClick: handleDownloadLicenseKey,
216
- startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.Download, {}),
217
- size: "S",
218
- variant: "secondary",
219
- style: {
220
- backgroundColor: "rgba(255,255,255,0.2)",
221
- color: "white",
222
- border: "1px solid rgba(255,255,255,0.3)",
223
- fontWeight: "600"
224
- },
225
- children: "Download as TXT"
226
- }
227
- )
228
- ] })
229
- ] }),
230
- /* @__PURE__ */ jsxRuntime.jsx(
231
- designSystem.Badge,
232
- {
233
- backgroundColor: data.isActive ? "success100" : "danger100",
234
- textColor: data.isActive ? "success700" : "danger700",
235
- style: { fontSize: "11px", fontWeight: "700", padding: "6px 12px", marginLeft: "16px", flexShrink: 0 },
236
- children: data.isActive ? "ACTIVE" : "INACTIVE"
237
- }
238
- )
239
- ] }) }) }),
240
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Box, { marginTop: 6, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Root, { defaultValue: "account", collapsible: true, children: [
241
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "account", children: [
242
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.User, children: "Account Information" }) }),
243
- /* @__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: [
244
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "200px" }, children: [
245
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Email Address" }),
246
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.email || "Not provided" })
247
- ] }),
248
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "200px" }, children: [
249
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "License Holder" }),
250
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.firstName && data.lastName ? `${data.firstName} ${data.lastName}` : "Not specified" })
251
- ] })
252
- ] }) }) })
253
- ] }),
254
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "details", children: [
255
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.Shield, children: "License Details" }) }),
256
- /* @__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: [
257
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
258
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: data.isExpired ? "Expired On" : "Expires On" }),
259
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.expiresAt ? new Date(data.expiresAt).toLocaleDateString("en-US", {
260
- year: "numeric",
261
- month: "long",
262
- day: "numeric"
263
- }) : "Never" })
264
- ] }),
265
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
266
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Device Name" }),
267
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.deviceName || "Unknown" })
268
- ] }),
269
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
270
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "IP Address" }),
271
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.ipAddress || "Not detected" })
272
- ] })
273
- ] }) }) })
274
- ] }),
275
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "features", children: [
276
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.Sparkle, children: "Features & Capabilities" }) }),
277
- /* @__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: [
278
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
279
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Premium Features" }),
280
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
281
- data.features?.premium ? /* @__PURE__ */ jsxRuntime.jsx(icons.Check, { fill: "success600" }) : /* @__PURE__ */ jsxRuntime.jsx(icons.Cross, { fill: "danger600" }),
282
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.features?.premium ? "Enabled" : "Disabled" })
283
- ] })
284
- ] }),
285
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
286
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Advanced Features" }),
287
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
288
- data.features?.advanced ? /* @__PURE__ */ jsxRuntime.jsx(icons.Check, { fill: "success600" }) : /* @__PURE__ */ jsxRuntime.jsx(icons.Cross, { fill: "danger600" }),
289
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.features?.advanced ? "Enabled" : "Disabled" })
290
- ] })
291
- ] }),
292
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "180px" }, children: [
293
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Enterprise Features" }),
294
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { alignItems: "center", gap: 1, children: [
295
- data.features?.enterprise ? /* @__PURE__ */ jsxRuntime.jsx(icons.Check, { fill: "success600" }) : /* @__PURE__ */ jsxRuntime.jsx(icons.Cross, { fill: "danger600" }),
296
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.features?.enterprise ? "Enabled" : "Disabled" })
297
- ] })
298
- ] })
299
- ] }) }) })
300
- ] }),
301
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Accordion.Item, { value: "status", children: [
302
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Header, { children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Accordion.Trigger, { icon: icons.ChartBubble, children: "System Status" }) }),
303
- /* @__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: [
304
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "150px" }, children: [
305
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "License Status" }),
306
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.isActive ? "Active" : "Inactive" })
307
- ] }),
308
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "150px" }, children: [
309
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Connection" }),
310
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.isOnline ? "Online" : "Offline" })
311
- ] }),
312
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "150px" }, children: [
313
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Last Sync" }),
314
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: data.lastPingAt ? new Date(data.lastPingAt).toLocaleTimeString() : "Never" })
315
- ] }),
316
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Box, { style: { flex: "1", minWidth: "150px" }, children: [
317
- /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { variant: "sigma", textColor: "neutral600", textTransform: "uppercase", style: { marginBottom: "8px", display: "block" }, children: "Device Limit" }),
318
- /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Typography, { variant: "omega", fontWeight: "semiBold", children: [
319
- data.currentDevices || 0,
320
- " / ",
321
- data.maxDevices || 1
322
- ] })
323
- ] })
324
- ] }) }) })
325
- ] })
326
- ] }) })
327
- ] })
328
- ] });
329
- };
330
- exports.default = LicensePage;
@@ -1,138 +0,0 @@
1
- const title = "🔖 MagicMark";
2
- const subtitle = "Salvar visualizações filtradas para acesso rápido";
3
- const loading = "Carregando marcadores...";
4
- const pt = {
5
- "plugin.name": "MagicMark",
6
- title,
7
- subtitle,
8
- loading,
9
- "empty.title": "Ainda não há marcadores",
10
- "empty.description": 'Navegue para qualquer visualização do Content Manager, aplique filtros e clique em "Salvar Marcador" para criar atalhos de acesso rápido',
11
- "stats.pinned": "Fixados",
12
- "stats.total": "Total",
13
- "stats.shared": "Compartilhados comigo",
14
- "stats.limit": "Limite de marcadores",
15
- "stats.limitReached": "Limite atingido - Atualizar",
16
- "button.create": "+ Salvar marcador",
17
- "button.save": "Salvar marcador",
18
- "button.cancel": "Cancelar",
19
- "button.update": "Atualizar",
20
- "button.edit": "Editar",
21
- "button.delete": "Excluir",
22
- "button.pin": "Fixar",
23
- "button.unpin": "Desfixar",
24
- "confirm.delete": "Tem certeza de que deseja excluir este marcador?",
25
- "modal.create": "Salvar como marcador",
26
- "modal.edit": "Editar marcador",
27
- "form.emoji": "Escolher ícone",
28
- "form.selectEmoji": "Clique para selecionar",
29
- "form.name": "Nome do marcador",
30
- "form.namePlaceholder": "ex., Artigos publicados",
31
- "form.path": "Caminho do Content Manager",
32
- "form.pathHelp": "Capturado automaticamente do Content Manager",
33
- "form.query": "Filtros e ordenação",
34
- "form.queryHelp": "Estes filtros serão restaurados quando você clicar neste marcador",
35
- "form.filterPreview": "Filtros e configurações capturados",
36
- "form.description": "Descrição (Opcional)",
37
- "form.descriptionPlaceholder": "Adicionar uma descrição...",
38
- "form.sharing": "Opções de compartilhamento",
39
- "form.publicAccess": "Público (Todos os usuários admin podem ver este marcador)",
40
- "form.shareWithRoles": "Compartilhar com papéis específicos:",
41
- "form.shareWithUsers": "Compartilhar com usuários específicos:",
42
- "form.selected": "{count} selecionados",
43
- "form.loadingRoles": "Carregando papéis...",
44
- "form.loadingUsers": "Carregando usuários...",
45
- "form.noRoles": "Nenhum papel disponível",
46
- "form.noUsers": "Nenhum outro usuário disponível",
47
- "form.roleDisabled": "Seleção de papéis desabilitada quando o marcador é público",
48
- "form.userDisabled": "Seleção de usuários desabilitada quando o marcador é público",
49
- "form.customRole": "(Personalizado)",
50
- "form.roleUsers": "({count} usuário)",
51
- "form.roleUsersPlural": "({count} usuários)",
52
- "error.nameRequired": "Nome é obrigatório",
53
- "error.pathRequired": "Caminho é obrigatório",
54
- "error.save": "Falha ao salvar o marcador",
55
- "table.emoji": "Emoji",
56
- "table.name": "Nome",
57
- "table.filters": "Filtros",
58
- "table.description": "Descrição",
59
- "table.status": "Status",
60
- "table.actions": "Ações",
61
- "bookmark.myBookmark": "Meu marcador",
62
- "bookmark.sharedBy": "Compartilhado por {name}",
63
- "bookmark.public": "Público",
64
- "bookmark.roles": "Papéis: {list}",
65
- "bookmark.users": "Usuários: {list}",
66
- "bookmark.unknown": "Desconhecido",
67
- "shared.title": "🤝 Compartilhados com você",
68
- "shared.count": "{count} marcador foi compartilhado com você",
69
- "shared.countPlural": "{count} marcadores foram compartilhados com você",
70
- "shared.byCreator": "{count} marcador",
71
- "shared.byCreatorPlural": "{count} marcadores",
72
- "allBookmarks.title": "🔖 Todos os marcadores disponíveis",
73
- "search.placeholder": "Pesquisar por nome, descrição...",
74
- "filter.all": "Mostrar todos",
75
- "filter.pinned": "Apenas fixados",
76
- "filter.unpinned": "Apenas não fixados",
77
- "filter.placeholder": "Filtro",
78
- "entries.placeholder": "Entradas",
79
- "entries.10": "10 entradas",
80
- "entries.25": "25 entradas",
81
- "entries.50": "50 entradas",
82
- "entries.100": "100 entradas",
83
- "upgrade.premiumFeature": "Recurso Premium",
84
- "upgrade.advancedFeature": "Recurso Avançado",
85
- "upgrade.description": "{feature} é um recurso {tier}. Atualize para desbloquear este e mais.",
86
- "upgrade.button": "Atualizar",
87
- "upgrade.unlockTitle": "Desbloquear {feature}",
88
- "upgrade.upgradeNow": "Atualizar agora",
89
- "upgrade.tierFeature": "Recurso {tier}",
90
- "upgrade.locked": "{feature} está bloqueado",
91
- "upgrade.upgradeTo": "Atualizar para {tier}",
92
- "upgradePage.title": "Escolha seu plano",
93
- "upgradePage.subtitle": "Desbloqueie recursos poderosos de marcadores para sua aplicação Strapi",
94
- "upgradePage.mostPopular": "MAIS POPULAR",
95
- "upgradePage.loading": "Carregando informações de licença...",
96
- "upgradePage.currentPlan": "PLANO ATUAL",
97
- "upgradePage.downgrade": "Rebaixar",
98
- "upgradePage.bookmarks": "Marcadores:",
99
- "upgradePage.support": "Suporte:",
100
- "upgradePage.free.name": "GRATUITO",
101
- "upgradePage.free.description": "Perfeito para projetos pequenos e testes",
102
- "upgradePage.premium.name": "PREMIUM",
103
- "upgradePage.premium.description": "Recursos aprimorados para equipes em crescimento",
104
- "upgradePage.advanced.name": "AVANÇADO",
105
- "upgradePage.advanced.description": "Recursos máximos para usuários avançados",
106
- "upgradePage.forever": "para sempre",
107
- "upgradePage.perMonth": "/mês",
108
- "upgradePage.features.bookmarks10": "10 marcadores",
109
- "upgradePage.features.bookmarks50": "50 marcadores",
110
- "upgradePage.features.bookmarksUnlimited": "Marcadores ilimitados",
111
- "upgradePage.features.advancedFilters": "Filtros avançados",
112
- "upgradePage.features.roleSharing": "Compartilhamento por papéis",
113
- "upgradePage.features.dragDrop": "Arrastar e soltar",
114
- "upgradePage.features.quickAccess": "Acesso rápido",
115
- "upgradePage.features.queryHistory": "Histórico de consultas",
116
- "upgradePage.features.export": "Exportar marcadores",
117
- "upgradePage.features.analytics": "Análises",
118
- "upgradePage.features.analyticsDashboard": "Painel de análises",
119
- "upgradePage.features.bulkOperations": "Operações em massa",
120
- "upgradePage.features.customIntegrations": "Integrações personalizadas",
121
- "upgradePage.features.prioritySupport": "Suporte prioritário",
122
- "upgradePage.features.priorityPhoneSupport": "Suporte prioritário + telefônico",
123
- "upgradePage.support.community": "Comunidade",
124
- "upgradePage.support.priority": "Prioritário",
125
- "upgradePage.support.priorityPhone": "Prioritário + Telefone",
126
- "upgradePage.limits.unlimited": "Ilimitado",
127
- "ViewsWidget.actions.create": "Salvar marcador",
128
- "ViewsWidget.actions.showList": "Magicmark",
129
- "Admin.MainMenu.PluginName": "MagicMark",
130
- "settings.title": "MagicMark",
131
- "settings.license": "Licença"
132
- };
133
- export {
134
- pt as default,
135
- loading,
136
- subtitle,
137
- title
138
- };
@@ -1,138 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const title = "🔖 MagicMark";
4
- const subtitle = "Salvar visualizações filtradas para acesso rápido";
5
- const loading = "Carregando marcadores...";
6
- const pt = {
7
- "plugin.name": "MagicMark",
8
- title,
9
- subtitle,
10
- loading,
11
- "empty.title": "Ainda não há marcadores",
12
- "empty.description": 'Navegue para qualquer visualização do Content Manager, aplique filtros e clique em "Salvar Marcador" para criar atalhos de acesso rápido',
13
- "stats.pinned": "Fixados",
14
- "stats.total": "Total",
15
- "stats.shared": "Compartilhados comigo",
16
- "stats.limit": "Limite de marcadores",
17
- "stats.limitReached": "Limite atingido - Atualizar",
18
- "button.create": "+ Salvar marcador",
19
- "button.save": "Salvar marcador",
20
- "button.cancel": "Cancelar",
21
- "button.update": "Atualizar",
22
- "button.edit": "Editar",
23
- "button.delete": "Excluir",
24
- "button.pin": "Fixar",
25
- "button.unpin": "Desfixar",
26
- "confirm.delete": "Tem certeza de que deseja excluir este marcador?",
27
- "modal.create": "Salvar como marcador",
28
- "modal.edit": "Editar marcador",
29
- "form.emoji": "Escolher ícone",
30
- "form.selectEmoji": "Clique para selecionar",
31
- "form.name": "Nome do marcador",
32
- "form.namePlaceholder": "ex., Artigos publicados",
33
- "form.path": "Caminho do Content Manager",
34
- "form.pathHelp": "Capturado automaticamente do Content Manager",
35
- "form.query": "Filtros e ordenação",
36
- "form.queryHelp": "Estes filtros serão restaurados quando você clicar neste marcador",
37
- "form.filterPreview": "Filtros e configurações capturados",
38
- "form.description": "Descrição (Opcional)",
39
- "form.descriptionPlaceholder": "Adicionar uma descrição...",
40
- "form.sharing": "Opções de compartilhamento",
41
- "form.publicAccess": "Público (Todos os usuários admin podem ver este marcador)",
42
- "form.shareWithRoles": "Compartilhar com papéis específicos:",
43
- "form.shareWithUsers": "Compartilhar com usuários específicos:",
44
- "form.selected": "{count} selecionados",
45
- "form.loadingRoles": "Carregando papéis...",
46
- "form.loadingUsers": "Carregando usuários...",
47
- "form.noRoles": "Nenhum papel disponível",
48
- "form.noUsers": "Nenhum outro usuário disponível",
49
- "form.roleDisabled": "Seleção de papéis desabilitada quando o marcador é público",
50
- "form.userDisabled": "Seleção de usuários desabilitada quando o marcador é público",
51
- "form.customRole": "(Personalizado)",
52
- "form.roleUsers": "({count} usuário)",
53
- "form.roleUsersPlural": "({count} usuários)",
54
- "error.nameRequired": "Nome é obrigatório",
55
- "error.pathRequired": "Caminho é obrigatório",
56
- "error.save": "Falha ao salvar o marcador",
57
- "table.emoji": "Emoji",
58
- "table.name": "Nome",
59
- "table.filters": "Filtros",
60
- "table.description": "Descrição",
61
- "table.status": "Status",
62
- "table.actions": "Ações",
63
- "bookmark.myBookmark": "Meu marcador",
64
- "bookmark.sharedBy": "Compartilhado por {name}",
65
- "bookmark.public": "Público",
66
- "bookmark.roles": "Papéis: {list}",
67
- "bookmark.users": "Usuários: {list}",
68
- "bookmark.unknown": "Desconhecido",
69
- "shared.title": "🤝 Compartilhados com você",
70
- "shared.count": "{count} marcador foi compartilhado com você",
71
- "shared.countPlural": "{count} marcadores foram compartilhados com você",
72
- "shared.byCreator": "{count} marcador",
73
- "shared.byCreatorPlural": "{count} marcadores",
74
- "allBookmarks.title": "🔖 Todos os marcadores disponíveis",
75
- "search.placeholder": "Pesquisar por nome, descrição...",
76
- "filter.all": "Mostrar todos",
77
- "filter.pinned": "Apenas fixados",
78
- "filter.unpinned": "Apenas não fixados",
79
- "filter.placeholder": "Filtro",
80
- "entries.placeholder": "Entradas",
81
- "entries.10": "10 entradas",
82
- "entries.25": "25 entradas",
83
- "entries.50": "50 entradas",
84
- "entries.100": "100 entradas",
85
- "upgrade.premiumFeature": "Recurso Premium",
86
- "upgrade.advancedFeature": "Recurso Avançado",
87
- "upgrade.description": "{feature} é um recurso {tier}. Atualize para desbloquear este e mais.",
88
- "upgrade.button": "Atualizar",
89
- "upgrade.unlockTitle": "Desbloquear {feature}",
90
- "upgrade.upgradeNow": "Atualizar agora",
91
- "upgrade.tierFeature": "Recurso {tier}",
92
- "upgrade.locked": "{feature} está bloqueado",
93
- "upgrade.upgradeTo": "Atualizar para {tier}",
94
- "upgradePage.title": "Escolha seu plano",
95
- "upgradePage.subtitle": "Desbloqueie recursos poderosos de marcadores para sua aplicação Strapi",
96
- "upgradePage.mostPopular": "MAIS POPULAR",
97
- "upgradePage.loading": "Carregando informações de licença...",
98
- "upgradePage.currentPlan": "PLANO ATUAL",
99
- "upgradePage.downgrade": "Rebaixar",
100
- "upgradePage.bookmarks": "Marcadores:",
101
- "upgradePage.support": "Suporte:",
102
- "upgradePage.free.name": "GRATUITO",
103
- "upgradePage.free.description": "Perfeito para projetos pequenos e testes",
104
- "upgradePage.premium.name": "PREMIUM",
105
- "upgradePage.premium.description": "Recursos aprimorados para equipes em crescimento",
106
- "upgradePage.advanced.name": "AVANÇADO",
107
- "upgradePage.advanced.description": "Recursos máximos para usuários avançados",
108
- "upgradePage.forever": "para sempre",
109
- "upgradePage.perMonth": "/mês",
110
- "upgradePage.features.bookmarks10": "10 marcadores",
111
- "upgradePage.features.bookmarks50": "50 marcadores",
112
- "upgradePage.features.bookmarksUnlimited": "Marcadores ilimitados",
113
- "upgradePage.features.advancedFilters": "Filtros avançados",
114
- "upgradePage.features.roleSharing": "Compartilhamento por papéis",
115
- "upgradePage.features.dragDrop": "Arrastar e soltar",
116
- "upgradePage.features.quickAccess": "Acesso rápido",
117
- "upgradePage.features.queryHistory": "Histórico de consultas",
118
- "upgradePage.features.export": "Exportar marcadores",
119
- "upgradePage.features.analytics": "Análises",
120
- "upgradePage.features.analyticsDashboard": "Painel de análises",
121
- "upgradePage.features.bulkOperations": "Operações em massa",
122
- "upgradePage.features.customIntegrations": "Integrações personalizadas",
123
- "upgradePage.features.prioritySupport": "Suporte prioritário",
124
- "upgradePage.features.priorityPhoneSupport": "Suporte prioritário + telefônico",
125
- "upgradePage.support.community": "Comunidade",
126
- "upgradePage.support.priority": "Prioritário",
127
- "upgradePage.support.priorityPhone": "Prioritário + Telefone",
128
- "upgradePage.limits.unlimited": "Ilimitado",
129
- "ViewsWidget.actions.create": "Salvar marcador",
130
- "ViewsWidget.actions.showList": "Magicmark",
131
- "Admin.MainMenu.PluginName": "MagicMark",
132
- "settings.title": "MagicMark",
133
- "settings.license": "Licença"
134
- };
135
- exports.default = pt;
136
- exports.loading = loading;
137
- exports.subtitle = subtitle;
138
- exports.title = title;
Binary file
Binary file
Binary file
Binary file