strapi-plugin-magic-sessionmanager 4.7.1 → 4.8.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 (52) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +17 -38
  3. package/dist/admin/Analytics-CaRlu5ad.js +332 -0
  4. package/dist/admin/Analytics-THqDbNX0.mjs +330 -0
  5. package/dist/admin/App-AbZwLHtF.js +1263 -0
  6. package/dist/admin/App-hSh7guii.mjs +1261 -0
  7. package/dist/admin/FormField-C8kIT2NE.mjs +59 -0
  8. package/dist/admin/FormField-b5KBvkrj.js +60 -0
  9. package/dist/admin/License-BXBVwUVu.mjs +299 -0
  10. package/dist/admin/License-CABdPwnd.js +301 -0
  11. package/dist/admin/OnlineUsersWidget-BnWFj9IM.mjs +230 -0
  12. package/dist/admin/OnlineUsersWidget-CPFAACSb.js +230 -0
  13. package/dist/admin/PluginPageLayout-BPFMcgrx.mjs +42 -0
  14. package/dist/admin/PluginPageLayout-DmNzMdqu.js +43 -0
  15. package/dist/admin/Settings-B4DNdeKx.js +2152 -0
  16. package/dist/admin/Settings-C4RsJosh.mjs +2150 -0
  17. package/dist/admin/{de-JBE-iylO.mjs → de-AwIFTd9i.mjs} +154 -20
  18. package/dist/admin/{de-BnqGCokx.js → de-D23nmqnl.js} +154 -20
  19. package/dist/admin/{en-BRmVwd8-.js → en-C5iYQ0mC.js} +155 -21
  20. package/dist/admin/{en-kQWtdEai.mjs → en-D6QEGeRh.mjs} +155 -21
  21. package/dist/admin/{es-CH691xcL.js → es-CIXnsG-p.js} +154 -20
  22. package/dist/admin/{es-DOQvBxih.mjs → es-CnFfVdKw.mjs} +154 -20
  23. package/dist/admin/{fr-CLExO0w_.js → fr-BglXE-W4.js} +154 -20
  24. package/dist/admin/{fr-CmfCpepX.mjs → fr-DefoR7uH.mjs} +154 -20
  25. package/dist/admin/index-BFVITQ-o.mjs +624 -0
  26. package/dist/admin/{index-Duc7cR_d.js → index-DlMm-NyK.js} +261 -188
  27. package/dist/admin/index.js +1 -1
  28. package/dist/admin/index.mjs +1 -1
  29. package/dist/admin/maskSensitiveValue-1uGWmrfG.mjs +20 -0
  30. package/dist/admin/maskSensitiveValue-B9vhxPad.js +19 -0
  31. package/dist/admin/{pt-BJ_F0yNi.js → pt-J5sf7jiY.js} +154 -20
  32. package/dist/admin/{pt-BSzZdyAH.mjs → pt-TODwvNQA.mjs} +154 -20
  33. package/dist/server/index.js +2812 -6159
  34. package/dist/server/index.mjs +2812 -6159
  35. package/package.json +21 -19
  36. package/scripts/geoip-updater.cjs +234 -15
  37. package/scripts/update-geoip-db.mjs +3 -0
  38. package/dist/admin/Analytics-CsrpxJwQ.mjs +0 -497
  39. package/dist/admin/Analytics-D03ZNNMR.js +0 -499
  40. package/dist/admin/App-B2VCS3cz.js +0 -1481
  41. package/dist/admin/App-qxKnK7G2.mjs +0 -1479
  42. package/dist/admin/License-ClW7sZLR.mjs +0 -318
  43. package/dist/admin/License-fixnQ7wF.js +0 -320
  44. package/dist/admin/OnlineUsersWidget-mR_OMiwi.mjs +0 -185
  45. package/dist/admin/OnlineUsersWidget-qb9utPBy.js +0 -185
  46. package/dist/admin/Settings-U3V4eGMo.mjs +0 -2038
  47. package/dist/admin/Settings-gv2BF54w.js +0 -2040
  48. package/dist/admin/StyledButtons-Cz8oYhmc.mjs +0 -418
  49. package/dist/admin/StyledButtons-DDuxnYz8.js +0 -419
  50. package/dist/admin/index-B_lFjUAg.mjs +0 -551
  51. package/dist/admin/sessionStatus-D_fWEzgj.js +0 -11
  52. package/dist/admin/sessionStatus-kwggjEMw.mjs +0 -12
@@ -1,419 +0,0 @@
1
- "use strict";
2
- const styled = require("styled-components");
3
- const designSystem = require("@strapi/design-system");
4
- const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
5
- const styled__default = /* @__PURE__ */ _interopDefault(styled);
6
- const GradientButton = styled__default.default(designSystem.Button)`
7
- && {
8
- background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
9
- color: white;
10
- font-weight: 600;
11
- border: none;
12
- padding: 10px 20px;
13
- min-height: 40px;
14
- transition: all 0.2s ease;
15
-
16
- &:hover:not(:disabled) {
17
- background: linear-gradient(135deg, #0284C7 0%, #9333EA 100%);
18
- transform: translateY(-1px);
19
- box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
20
- }
21
-
22
- &:active:not(:disabled) {
23
- transform: translateY(0);
24
- }
25
-
26
- &:disabled {
27
- opacity: 0.6;
28
- cursor: not-allowed;
29
- }
30
- }
31
- `;
32
- const SecondaryButton = styled__default.default(designSystem.Button)`
33
- && {
34
- background: ${(p) => p.theme.colors.neutral0};
35
- color: var(--colors-secondary600, #7C3AED);
36
- font-weight: 600;
37
- border: 2px solid transparent;
38
- background-image: linear-gradient(${(p) => p.theme.colors.neutral0}, ${(p) => p.theme.colors.neutral0}), linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
39
- background-origin: border-box;
40
- background-clip: padding-box, border-box;
41
- padding: 10px 20px;
42
- min-height: 40px;
43
- transition: all 0.2s ease;
44
-
45
- &:hover:not(:disabled) {
46
- background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
47
- background-clip: padding-box;
48
- color: white;
49
- transform: translateY(-1px);
50
- box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3);
51
- }
52
-
53
- &:active:not(:disabled) {
54
- transform: translateY(0);
55
- }
56
-
57
- &:disabled {
58
- opacity: 0.6;
59
- cursor: not-allowed;
60
- }
61
- }
62
- `;
63
- const TertiaryButton = styled__default.default(designSystem.Button)`
64
- && {
65
- background: transparent;
66
- color: var(--colors-neutral600);
67
- font-weight: 500;
68
- border: 1px solid rgba(128, 128, 128, 0.2);
69
- padding: 10px 20px;
70
- min-height: 40px;
71
- transition: all 0.2s ease;
72
-
73
- &:hover:not(:disabled) {
74
- background: rgba(128, 128, 128, 0.08);
75
- border-color: rgba(128, 128, 128, 0.3);
76
- color: var(--colors-neutral800);
77
- }
78
-
79
- &:disabled {
80
- opacity: 0.6;
81
- cursor: not-allowed;
82
- }
83
- }
84
- `;
85
- const DangerButton = styled__default.default(designSystem.Button)`
86
- && {
87
- background: rgba(220, 38, 38, 0.12);
88
- color: var(--colors-danger600, #DC2626);
89
- font-weight: 600;
90
- border: 1px solid rgba(239, 68, 68, 0.4);
91
- padding: 10px 20px;
92
- min-height: 40px;
93
- transition: all 0.2s ease;
94
-
95
- &:hover:not(:disabled) {
96
- background: var(--colors-danger600, #DC2626);
97
- color: white;
98
- border-color: var(--colors-danger600, #DC2626);
99
- }
100
-
101
- &:disabled {
102
- opacity: 0.6;
103
- cursor: not-allowed;
104
- }
105
- }
106
- `;
107
- styled__default.default(designSystem.Button)`
108
- && {
109
- background: linear-gradient(135deg, #10B981 0%, #059669 100%);
110
- color: white;
111
- font-weight: 600;
112
- border: none;
113
- padding: 10px 20px;
114
- min-height: 40px;
115
- transition: all 0.2s ease;
116
-
117
- &:hover:not(:disabled) {
118
- background: linear-gradient(135deg, #059669 0%, #047857 100%);
119
- transform: translateY(-1px);
120
- box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
121
- }
122
-
123
- &:disabled {
124
- opacity: 0.6;
125
- cursor: not-allowed;
126
- }
127
- }
128
- `;
129
- styled__default.default(designSystem.Button)`
130
- && {
131
- background: linear-gradient(135deg, rgba(128, 128, 128, 0.04) 0%, rgba(128, 128, 128, 0.08) 100%);
132
- color: var(--colors-neutral600);
133
- border: 1px solid rgba(128, 128, 128, 0.2);
134
- padding: 8px;
135
- min-width: 38px;
136
- min-height: 38px;
137
- width: 38px;
138
- height: 38px;
139
- border-radius: 10px;
140
- display: flex;
141
- align-items: center;
142
- justify-content: center;
143
- transition: all 0.2s ease;
144
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
145
-
146
- svg {
147
- width: 18px;
148
- height: 18px;
149
- }
150
-
151
- &:hover:not(:disabled) {
152
- background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
153
- border-color: var(--colors-primary600, #0EA5E9);
154
- color: white;
155
- transform: translateY(-1px);
156
- box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
157
- }
158
-
159
- &:disabled {
160
- opacity: 0.6;
161
- cursor: not-allowed;
162
- }
163
- }
164
- `;
165
- const IconButtonDanger = styled__default.default(designSystem.Button)`
166
- && {
167
- background: linear-gradient(135deg, rgba(220, 38, 38, 0.06) 0%, rgba(220, 38, 38, 0.12) 100%);
168
- color: var(--colors-danger600, #EF4444);
169
- border: 1px solid rgba(239, 68, 68, 0.4);
170
- padding: 8px;
171
- min-width: 38px;
172
- min-height: 38px;
173
- width: 38px;
174
- height: 38px;
175
- border-radius: 10px;
176
- display: flex;
177
- align-items: center;
178
- justify-content: center;
179
- transition: all 0.2s ease;
180
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
181
-
182
- svg {
183
- width: 18px;
184
- height: 18px;
185
- }
186
-
187
- &:hover:not(:disabled) {
188
- background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
189
- border-color: var(--colors-danger600, #EF4444);
190
- color: white;
191
- transform: translateY(-1px);
192
- box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
193
- }
194
-
195
- &:disabled {
196
- opacity: 0.6;
197
- cursor: not-allowed;
198
- }
199
- }
200
- `;
201
- const IconButtonPrimary = styled__default.default(designSystem.Button)`
202
- && {
203
- background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(2, 132, 199, 0.12) 100%);
204
- color: var(--colors-primary600, #0EA5E9);
205
- border: 1px solid rgba(14, 165, 233, 0.3);
206
- padding: 8px;
207
- min-width: 38px;
208
- min-height: 38px;
209
- width: 38px;
210
- height: 38px;
211
- border-radius: 10px;
212
- display: flex;
213
- align-items: center;
214
- justify-content: center;
215
- transition: all 0.2s ease;
216
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
217
-
218
- svg {
219
- width: 18px;
220
- height: 18px;
221
- }
222
-
223
- &:hover:not(:disabled) {
224
- background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
225
- border-color: var(--colors-primary600, #0EA5E9);
226
- color: white;
227
- transform: translateY(-1px);
228
- box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
229
- }
230
-
231
- &:disabled {
232
- opacity: 0.6;
233
- cursor: not-allowed;
234
- }
235
- }
236
- `;
237
- styled__default.default(designSystem.Button)`
238
- && {
239
- background: linear-gradient(135deg, rgba(22, 163, 74, 0.06) 0%, rgba(22, 163, 74, 0.12) 100%);
240
- color: var(--colors-success600, #22C55E);
241
- border: 1px solid rgba(34, 197, 94, 0.3);
242
- padding: 8px;
243
- min-width: 38px;
244
- min-height: 38px;
245
- width: 38px;
246
- height: 38px;
247
- border-radius: 10px;
248
- display: flex;
249
- align-items: center;
250
- justify-content: center;
251
- transition: all 0.2s ease;
252
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
253
-
254
- svg {
255
- width: 18px;
256
- height: 18px;
257
- }
258
-
259
- &:hover:not(:disabled) {
260
- background: linear-gradient(135deg, #22C55E 0%, #16A34A 100%);
261
- border-color: var(--colors-success600, #22C55E);
262
- color: white;
263
- transform: translateY(-1px);
264
- box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
265
- }
266
-
267
- &:disabled {
268
- opacity: 0.6;
269
- cursor: not-allowed;
270
- }
271
- }
272
- `;
273
- const IconButtonWarning = styled__default.default(designSystem.Button)`
274
- && {
275
- background: linear-gradient(135deg, rgba(234, 179, 8, 0.06) 0%, rgba(234, 179, 8, 0.12) 100%);
276
- color: var(--colors-warning600, #D97706);
277
- border: 1px solid rgba(234, 179, 8, 0.4);
278
- padding: 8px;
279
- min-width: 38px;
280
- min-height: 38px;
281
- width: 38px;
282
- height: 38px;
283
- border-radius: 10px;
284
- display: flex;
285
- align-items: center;
286
- justify-content: center;
287
- transition: all 0.2s ease;
288
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
289
-
290
- svg {
291
- width: 18px;
292
- height: 18px;
293
- }
294
-
295
- &:hover:not(:disabled) {
296
- background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
297
- border-color: var(--colors-warning600, #F59E0B);
298
- color: white;
299
- transform: translateY(-1px);
300
- box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
301
- }
302
-
303
- &:disabled {
304
- opacity: 0.5;
305
- cursor: not-allowed;
306
- background: var(--colors-neutral100);
307
- border-color: rgba(128, 128, 128, 0.2);
308
- color: var(--colors-neutral500);
309
- }
310
- }
311
- `;
312
- styled__default.default(designSystem.Button)`
313
- && {
314
- background: linear-gradient(135deg, #0EA5E9 0%, #A855F7 100%);
315
- color: white;
316
- font-weight: 700;
317
- font-size: 1rem;
318
- border: none;
319
- padding: 14px 28px;
320
- min-height: 52px;
321
- border-radius: 12px;
322
- transition: all 0.2s ease;
323
- box-shadow: 0 4px 14px rgba(14, 165, 233, 0.25);
324
-
325
- &:hover:not(:disabled) {
326
- background: linear-gradient(135deg, #0284C7 0%, #9333EA 100%);
327
- transform: translateY(-2px);
328
- box-shadow: 0 6px 20px rgba(14, 165, 233, 0.35);
329
- }
330
-
331
- &:active:not(:disabled) {
332
- transform: translateY(0);
333
- }
334
-
335
- &:disabled {
336
- opacity: 0.6;
337
- cursor: not-allowed;
338
- }
339
- }
340
- `;
341
- styled__default.default(designSystem.Button)`
342
- && {
343
- background: transparent;
344
- color: var(--colors-primary600, #0EA5E9);
345
- font-weight: 500;
346
- border: none;
347
- padding: 4px 8px;
348
- min-height: auto;
349
- text-decoration: underline;
350
- transition: all 0.2s ease;
351
-
352
- &:hover:not(:disabled) {
353
- color: var(--colors-primary600, #0284C7);
354
- text-decoration: none;
355
- }
356
-
357
- &:disabled {
358
- opacity: 0.6;
359
- cursor: not-allowed;
360
- }
361
- }
362
- `;
363
- const ShowHideButton = styled__default.default(designSystem.Button)`
364
- && {
365
- background: linear-gradient(135deg, rgba(128, 128, 128, 0.04) 0%, rgba(128, 128, 128, 0.08) 100%);
366
- color: var(--colors-neutral600);
367
- font-weight: 600;
368
- border: 1px solid rgba(128, 128, 128, 0.2);
369
- padding: 10px 16px;
370
- min-height: 40px;
371
- border-radius: 8px;
372
- transition: all 0.2s ease;
373
-
374
- &:hover:not(:disabled) {
375
- background: linear-gradient(135deg, rgba(128, 128, 128, 0.15) 0%, rgba(128, 128, 128, 0.25) 100%);
376
- color: var(--colors-neutral800);
377
- transform: translateY(-1px);
378
- }
379
-
380
- &:disabled {
381
- opacity: 0.6;
382
- cursor: not-allowed;
383
- }
384
- }
385
- `;
386
- const CopyButton = styled__default.default(designSystem.Button)`
387
- && {
388
- background: linear-gradient(135deg, rgba(2, 132, 199, 0.06) 0%, rgba(2, 132, 199, 0.12) 100%);
389
- color: var(--colors-primary600, #0284C7);
390
- font-weight: 600;
391
- border: 1px solid rgba(14, 165, 233, 0.3);
392
- padding: 10px 16px;
393
- min-height: 40px;
394
- border-radius: 8px;
395
- transition: all 0.2s ease;
396
-
397
- &:hover:not(:disabled) {
398
- background: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);
399
- color: white;
400
- border-color: var(--colors-primary600, #0EA5E9);
401
- transform: translateY(-1px);
402
- box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
403
- }
404
-
405
- &:disabled {
406
- opacity: 0.6;
407
- cursor: not-allowed;
408
- }
409
- }
410
- `;
411
- exports.CopyButton = CopyButton;
412
- exports.DangerButton = DangerButton;
413
- exports.GradientButton = GradientButton;
414
- exports.IconButtonDanger = IconButtonDanger;
415
- exports.IconButtonPrimary = IconButtonPrimary;
416
- exports.IconButtonWarning = IconButtonWarning;
417
- exports.SecondaryButton = SecondaryButton;
418
- exports.ShowHideButton = ShowHideButton;
419
- exports.TertiaryButton = TertiaryButton;