strapi-plugin-magic-sessionmanager 4.4.7 → 4.5.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/dist/_chunks/{Analytics-mFarhu5A.js → Analytics-Cp-WjeV3.js} +2 -2
- package/dist/_chunks/{Analytics-CFlATYIp.mjs → Analytics-DQyamHg6.mjs} +2 -2
- package/dist/_chunks/{App-CrdNlRlL.js → App-BvYLeEbF.js} +7 -3
- package/dist/_chunks/{App-BkFz8R3I.mjs → App-CN4bKWV9.mjs} +17 -13
- package/dist/_chunks/{License-BnbIePhc.mjs → License-Bgcm630d.mjs} +1 -1
- package/dist/_chunks/{License-BI04KWfw.js → License-DPyeZQWz.js} +1 -1
- package/dist/_chunks/{OnlineUsersWidget-D1B_2ge5.js → OnlineUsersWidget-BYnqhN3O.js} +1 -1
- package/dist/_chunks/{OnlineUsersWidget-eBwttUiU.mjs → OnlineUsersWidget-E2FA7rGi.mjs} +1 -1
- package/dist/_chunks/{Settings-Cy-6vah_.js → Settings-Bt6wy131.js} +166 -3
- package/dist/_chunks/{Settings-BfKDErt5.mjs → Settings-D9N7m11p.mjs} +167 -4
- package/dist/_chunks/{UpgradePage-B8kz6Cyz.js → UpgradePage-Bh21Lg-G.js} +1 -1
- package/dist/_chunks/{UpgradePage-2mV2iqDM.mjs → UpgradePage-DM23ZYVa.mjs} +1 -1
- package/dist/_chunks/{index-BEh2DizI.js → index-BRESWp1b.js} +12 -6
- package/dist/_chunks/{index-B0wQeSSu.mjs → index-BbbrBv3t.mjs} +12 -6
- package/dist/_chunks/{useLicense-RxDUbCoU.mjs → useLicense-Bszkymz3.mjs} +1 -1
- package/dist/_chunks/{useLicense-DFdVp_qI.js → useLicense-D_wQcoMn.js} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +13290 -8951
- package/dist/server/index.mjs +13288 -8949
- package/package.json +17 -10
|
@@ -4,7 +4,7 @@ import { useFetchClient, useNotification } from "@strapi/strapi/admin";
|
|
|
4
4
|
import styled from "styled-components";
|
|
5
5
|
import { Flex, Typography, Box, Badge, Button } from "@strapi/design-system";
|
|
6
6
|
import { Check, Cross, Sparkle, Lightning, Rocket } from "@strapi/icons";
|
|
7
|
-
import { a as pluginId } from "./index-
|
|
7
|
+
import { a as pluginId } from "./index-BbbrBv3t.mjs";
|
|
8
8
|
const Container = styled(Box)`
|
|
9
9
|
padding: 32px;
|
|
10
10
|
max-width: 1400px;
|
|
@@ -436,6 +436,7 @@ const prefixPluginTranslations = (data, pluginId2) => {
|
|
|
436
436
|
const name = pluginPkg.strapi.name;
|
|
437
437
|
const index = {
|
|
438
438
|
register(app) {
|
|
439
|
+
const pluginPermissions = [{ action: `plugin::${pluginId}.access`, subject: null }];
|
|
439
440
|
app.addMenuLink({
|
|
440
441
|
to: `plugins/${pluginId}`,
|
|
441
442
|
icon: PluginIcon,
|
|
@@ -443,7 +444,8 @@ const index = {
|
|
|
443
444
|
id: `${pluginId}.plugin.name`,
|
|
444
445
|
defaultMessage: pluginPkg.strapi.displayName
|
|
445
446
|
},
|
|
446
|
-
Component: () => Promise.resolve().then(() => require("./App-
|
|
447
|
+
Component: () => Promise.resolve().then(() => require("./App-BvYLeEbF.js")),
|
|
448
|
+
permissions: pluginPermissions
|
|
447
449
|
});
|
|
448
450
|
app.createSettingSection(
|
|
449
451
|
{
|
|
@@ -459,7 +461,8 @@ const index = {
|
|
|
459
461
|
},
|
|
460
462
|
id: "upgrade",
|
|
461
463
|
to: `${pluginId}/upgrade`,
|
|
462
|
-
Component: () => Promise.resolve().then(() => require("./UpgradePage-
|
|
464
|
+
Component: () => Promise.resolve().then(() => require("./UpgradePage-Bh21Lg-G.js")),
|
|
465
|
+
permissions: pluginPermissions
|
|
463
466
|
},
|
|
464
467
|
{
|
|
465
468
|
intlLabel: {
|
|
@@ -468,7 +471,8 @@ const index = {
|
|
|
468
471
|
},
|
|
469
472
|
id: "general",
|
|
470
473
|
to: `${pluginId}/general`,
|
|
471
|
-
Component: () => Promise.resolve().then(() => require("./Settings-
|
|
474
|
+
Component: () => Promise.resolve().then(() => require("./Settings-Bt6wy131.js")),
|
|
475
|
+
permissions: pluginPermissions
|
|
472
476
|
},
|
|
473
477
|
{
|
|
474
478
|
intlLabel: {
|
|
@@ -477,7 +481,8 @@ const index = {
|
|
|
477
481
|
},
|
|
478
482
|
id: "analytics",
|
|
479
483
|
to: `${pluginId}/analytics`,
|
|
480
|
-
Component: () => Promise.resolve().then(() => require("./Analytics-
|
|
484
|
+
Component: () => Promise.resolve().then(() => require("./Analytics-Cp-WjeV3.js")),
|
|
485
|
+
permissions: pluginPermissions
|
|
481
486
|
},
|
|
482
487
|
{
|
|
483
488
|
intlLabel: {
|
|
@@ -486,7 +491,8 @@ const index = {
|
|
|
486
491
|
},
|
|
487
492
|
id: "license",
|
|
488
493
|
to: `${pluginId}/license`,
|
|
489
|
-
Component: () => Promise.resolve().then(() => require("./License-
|
|
494
|
+
Component: () => Promise.resolve().then(() => require("./License-DPyeZQWz.js")),
|
|
495
|
+
permissions: pluginPermissions
|
|
490
496
|
}
|
|
491
497
|
]
|
|
492
498
|
);
|
|
@@ -504,7 +510,7 @@ const index = {
|
|
|
504
510
|
defaultMessage: "Online Users"
|
|
505
511
|
},
|
|
506
512
|
component: async () => {
|
|
507
|
-
const component = await Promise.resolve().then(() => require("./OnlineUsersWidget-
|
|
513
|
+
const component = await Promise.resolve().then(() => require("./OnlineUsersWidget-BYnqhN3O.js"));
|
|
508
514
|
return component.default;
|
|
509
515
|
},
|
|
510
516
|
id: "online-users-widget",
|
|
@@ -433,6 +433,7 @@ const prefixPluginTranslations = (data, pluginId2) => {
|
|
|
433
433
|
const name = pluginPkg.strapi.name;
|
|
434
434
|
const index = {
|
|
435
435
|
register(app) {
|
|
436
|
+
const pluginPermissions = [{ action: `plugin::${pluginId}.access`, subject: null }];
|
|
436
437
|
app.addMenuLink({
|
|
437
438
|
to: `plugins/${pluginId}`,
|
|
438
439
|
icon: PluginIcon,
|
|
@@ -440,7 +441,8 @@ const index = {
|
|
|
440
441
|
id: `${pluginId}.plugin.name`,
|
|
441
442
|
defaultMessage: pluginPkg.strapi.displayName
|
|
442
443
|
},
|
|
443
|
-
Component: () => import("./App-
|
|
444
|
+
Component: () => import("./App-CN4bKWV9.mjs"),
|
|
445
|
+
permissions: pluginPermissions
|
|
444
446
|
});
|
|
445
447
|
app.createSettingSection(
|
|
446
448
|
{
|
|
@@ -456,7 +458,8 @@ const index = {
|
|
|
456
458
|
},
|
|
457
459
|
id: "upgrade",
|
|
458
460
|
to: `${pluginId}/upgrade`,
|
|
459
|
-
Component: () => import("./UpgradePage-
|
|
461
|
+
Component: () => import("./UpgradePage-DM23ZYVa.mjs"),
|
|
462
|
+
permissions: pluginPermissions
|
|
460
463
|
},
|
|
461
464
|
{
|
|
462
465
|
intlLabel: {
|
|
@@ -465,7 +468,8 @@ const index = {
|
|
|
465
468
|
},
|
|
466
469
|
id: "general",
|
|
467
470
|
to: `${pluginId}/general`,
|
|
468
|
-
Component: () => import("./Settings-
|
|
471
|
+
Component: () => import("./Settings-D9N7m11p.mjs"),
|
|
472
|
+
permissions: pluginPermissions
|
|
469
473
|
},
|
|
470
474
|
{
|
|
471
475
|
intlLabel: {
|
|
@@ -474,7 +478,8 @@ const index = {
|
|
|
474
478
|
},
|
|
475
479
|
id: "analytics",
|
|
476
480
|
to: `${pluginId}/analytics`,
|
|
477
|
-
Component: () => import("./Analytics-
|
|
481
|
+
Component: () => import("./Analytics-DQyamHg6.mjs"),
|
|
482
|
+
permissions: pluginPermissions
|
|
478
483
|
},
|
|
479
484
|
{
|
|
480
485
|
intlLabel: {
|
|
@@ -483,7 +488,8 @@ const index = {
|
|
|
483
488
|
},
|
|
484
489
|
id: "license",
|
|
485
490
|
to: `${pluginId}/license`,
|
|
486
|
-
Component: () => import("./License-
|
|
491
|
+
Component: () => import("./License-Bgcm630d.mjs"),
|
|
492
|
+
permissions: pluginPermissions
|
|
487
493
|
}
|
|
488
494
|
]
|
|
489
495
|
);
|
|
@@ -501,7 +507,7 @@ const index = {
|
|
|
501
507
|
defaultMessage: "Online Users"
|
|
502
508
|
},
|
|
503
509
|
component: async () => {
|
|
504
|
-
const component = await import("./OnlineUsersWidget-
|
|
510
|
+
const component = await import("./OnlineUsersWidget-E2FA7rGi.mjs");
|
|
505
511
|
return component.default;
|
|
506
512
|
},
|
|
507
513
|
id: "online-users-widget",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useState, useEffect } from "react";
|
|
2
2
|
import { useFetchClient } from "@strapi/strapi/admin";
|
|
3
|
-
import { a as pluginId } from "./index-
|
|
3
|
+
import { a as pluginId } from "./index-BbbrBv3t.mjs";
|
|
4
4
|
const useLicense = () => {
|
|
5
5
|
const { get } = useFetchClient();
|
|
6
6
|
const [isPremium, setIsPremium] = useState(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const react = require("react");
|
|
3
3
|
const admin = require("@strapi/strapi/admin");
|
|
4
|
-
const index = require("./index-
|
|
4
|
+
const index = require("./index-BRESWp1b.js");
|
|
5
5
|
const useLicense = () => {
|
|
6
6
|
const { get } = admin.useFetchClient();
|
|
7
7
|
const [isPremium, setIsPremium] = react.useState(false);
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED