strapi-plugin-oidc 1.9.1 → 1.9.2
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/admin/{index-C5fI9GEC.js → index-2waQ9WnG.js} +3 -5
- package/dist/admin/{index-D0ORg9LL.mjs → index-BYXb1t00.mjs} +3 -5
- package/dist/admin/{index-YcZbHa90.mjs → index-Mxu0cp9m.mjs} +7 -7
- package/dist/admin/{index-BJjdJ_L0.js → index-Qa2oPzAm.js} +7 -7
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/server/index.js +54 -108
- package/dist/server/index.mjs +54 -108
- package/package.json +1 -1
|
@@ -117,8 +117,8 @@ const en = {
|
|
|
117
117
|
"login.sso": "Login via SSO",
|
|
118
118
|
"pagination.total": "{count, plural, one {# entry} other {# entries}}",
|
|
119
119
|
"whitelist.import": "Import",
|
|
120
|
-
"
|
|
121
|
-
"
|
|
120
|
+
"button.export": "Export",
|
|
121
|
+
"button.clear": "Clear",
|
|
122
122
|
"whitelist.delete.all.title": "Delete All Entries",
|
|
123
123
|
"whitelist.delete.all.description": "This will permanently remove all {count, plural, one {# entry} other {# entries}} from the whitelist. Unsaved changes will be lost.",
|
|
124
124
|
"whitelist.import.error": "Invalid file — expected a JSON array of objects with an email field.",
|
|
@@ -129,14 +129,12 @@ const en = {
|
|
|
129
129
|
"unsaved.confirm": "Leave",
|
|
130
130
|
"unsaved.cancel": "Stay",
|
|
131
131
|
"auditlog.title": "Audit Logs",
|
|
132
|
-
"auditlog.export": "Download",
|
|
133
132
|
"auditlog.table.timestamp": "Timestamp",
|
|
134
133
|
"auditlog.table.action": "Action",
|
|
135
134
|
"auditlog.table.email": "Email",
|
|
136
135
|
"auditlog.table.ip": "IP",
|
|
137
136
|
"auditlog.table.details": "Details",
|
|
138
137
|
"auditlog.table.empty": "No audit log entries",
|
|
139
|
-
"auditlog.clear": "Clear Logs",
|
|
140
138
|
"auditlog.clear.title": "Clear All Logs",
|
|
141
139
|
"auditlog.clear.description": "This will permanently delete all {count, plural, one {# audit log entry} other {# audit log entries}}. This action cannot be undone.",
|
|
142
140
|
"auditlog.clear.success": "Audit logs cleared",
|
|
@@ -213,7 +211,7 @@ const index = {
|
|
|
213
211
|
id: "settings.configuration",
|
|
214
212
|
defaultMessage: "Configuration"
|
|
215
213
|
},
|
|
216
|
-
Component: () => Promise.resolve().then(() => require("./index-
|
|
214
|
+
Component: () => Promise.resolve().then(() => require("./index-Qa2oPzAm.js")),
|
|
217
215
|
permissions: [{ action: PERMISSIONS.READ, subject: null }]
|
|
218
216
|
};
|
|
219
217
|
app.addSettingsLink(
|
|
@@ -114,8 +114,8 @@ const en = {
|
|
|
114
114
|
"login.sso": "Login via SSO",
|
|
115
115
|
"pagination.total": "{count, plural, one {# entry} other {# entries}}",
|
|
116
116
|
"whitelist.import": "Import",
|
|
117
|
-
"
|
|
118
|
-
"
|
|
117
|
+
"button.export": "Export",
|
|
118
|
+
"button.clear": "Clear",
|
|
119
119
|
"whitelist.delete.all.title": "Delete All Entries",
|
|
120
120
|
"whitelist.delete.all.description": "This will permanently remove all {count, plural, one {# entry} other {# entries}} from the whitelist. Unsaved changes will be lost.",
|
|
121
121
|
"whitelist.import.error": "Invalid file — expected a JSON array of objects with an email field.",
|
|
@@ -126,14 +126,12 @@ const en = {
|
|
|
126
126
|
"unsaved.confirm": "Leave",
|
|
127
127
|
"unsaved.cancel": "Stay",
|
|
128
128
|
"auditlog.title": "Audit Logs",
|
|
129
|
-
"auditlog.export": "Download",
|
|
130
129
|
"auditlog.table.timestamp": "Timestamp",
|
|
131
130
|
"auditlog.table.action": "Action",
|
|
132
131
|
"auditlog.table.email": "Email",
|
|
133
132
|
"auditlog.table.ip": "IP",
|
|
134
133
|
"auditlog.table.details": "Details",
|
|
135
134
|
"auditlog.table.empty": "No audit log entries",
|
|
136
|
-
"auditlog.clear": "Clear Logs",
|
|
137
135
|
"auditlog.clear.title": "Clear All Logs",
|
|
138
136
|
"auditlog.clear.description": "This will permanently delete all {count, plural, one {# audit log entry} other {# audit log entries}}. This action cannot be undone.",
|
|
139
137
|
"auditlog.clear.success": "Audit logs cleared",
|
|
@@ -210,7 +208,7 @@ const index = {
|
|
|
210
208
|
id: "settings.configuration",
|
|
211
209
|
defaultMessage: "Configuration"
|
|
212
210
|
},
|
|
213
|
-
Component: () => import("./index-
|
|
211
|
+
Component: () => import("./index-Mxu0cp9m.mjs"),
|
|
214
212
|
permissions: [{ action: PERMISSIONS.READ, subject: null }]
|
|
215
213
|
};
|
|
216
214
|
app.addSettingsLink(
|
|
@@ -5,7 +5,7 @@ import { useState, useRef, useId, useEffect, useCallback, useReducer, useMemo, m
|
|
|
5
5
|
import { Typography, Flex, Box, MultiSelect, MultiSelectOption, Button, Dialog, Table, Pagination, PreviousLink, NextLink, PageLink, Field, Divider, Thead, Tr, Th, Tbody, Td, IconButton, Loader, Tooltip, Alert } from "@strapi/design-system";
|
|
6
6
|
import { Cross, WarningCircle, Plus, Download, Upload, Trash, Calendar, Mail, Information } from "@strapi/icons";
|
|
7
7
|
import { useIntl } from "react-intl";
|
|
8
|
-
import { g as getTrad, E as EMAIL_REGEX, e as en, A as AUDIT_LOG_DEFAULTS, U as UI_DEFAULTS } from "./index-
|
|
8
|
+
import { g as getTrad, E as EMAIL_REGEX, e as en, A as AUDIT_LOG_DEFAULTS, U as UI_DEFAULTS } from "./index-BYXb1t00.mjs";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import { Filter, ClipboardList, Server } from "lucide-react";
|
|
11
11
|
function Role({ oidcRoles, roles, onChangeRole }) {
|
|
@@ -964,7 +964,7 @@ function Whitelist({
|
|
|
964
964
|
startIcon: /* @__PURE__ */ jsx(Download, {}),
|
|
965
965
|
onClick: onExport,
|
|
966
966
|
disabled: users.length === 0,
|
|
967
|
-
children: formatMessage(getTrad("
|
|
967
|
+
children: formatMessage(getTrad("button.export"))
|
|
968
968
|
}
|
|
969
969
|
),
|
|
970
970
|
/* @__PURE__ */ jsx(
|
|
@@ -997,14 +997,14 @@ function Whitelist({
|
|
|
997
997
|
variant: "danger-light",
|
|
998
998
|
startIcon: /* @__PURE__ */ jsx(Trash, {}),
|
|
999
999
|
disabled: users.length === 0,
|
|
1000
|
-
children: formatMessage(getTrad("
|
|
1000
|
+
children: formatMessage(getTrad("button.clear"))
|
|
1001
1001
|
}
|
|
1002
1002
|
),
|
|
1003
1003
|
title: formatMessage(getTrad("whitelist.delete.all.title")),
|
|
1004
1004
|
body: /* @__PURE__ */ jsx(Flex, { justifyContent: "center", children: /* @__PURE__ */ jsx(Typography, { textColor: "neutral800", textAlign: "center", children: formatMessage(getTrad("whitelist.delete.all.description"), {
|
|
1005
1005
|
count: users.length
|
|
1006
1006
|
}) }) }),
|
|
1007
|
-
confirmLabel: formatMessage(getTrad("
|
|
1007
|
+
confirmLabel: formatMessage(getTrad("button.clear")),
|
|
1008
1008
|
onConfirm: onDeleteAll
|
|
1009
1009
|
}
|
|
1010
1010
|
)
|
|
@@ -3908,7 +3908,7 @@ function AuditLog({ title } = {}) {
|
|
|
3908
3908
|
startIcon: /* @__PURE__ */ jsx(Download, {}),
|
|
3909
3909
|
onClick: handleExport,
|
|
3910
3910
|
disabled: pagination.total === 0,
|
|
3911
|
-
children: formatMessage(getTrad("
|
|
3911
|
+
children: formatMessage(getTrad("button.export"))
|
|
3912
3912
|
}
|
|
3913
3913
|
),
|
|
3914
3914
|
/* @__PURE__ */ jsx(
|
|
@@ -3921,14 +3921,14 @@ function AuditLog({ title } = {}) {
|
|
|
3921
3921
|
variant: "danger-light",
|
|
3922
3922
|
startIcon: /* @__PURE__ */ jsx(Trash, {}),
|
|
3923
3923
|
disabled: pagination.total === 0,
|
|
3924
|
-
children: formatMessage(getTrad("
|
|
3924
|
+
children: formatMessage(getTrad("button.clear"))
|
|
3925
3925
|
}
|
|
3926
3926
|
),
|
|
3927
3927
|
title: formatMessage(getTrad("auditlog.clear.title")),
|
|
3928
3928
|
body: /* @__PURE__ */ jsx(Flex, { justifyContent: "center", children: /* @__PURE__ */ jsx(Typography, { textColor: "neutral800", textAlign: "center", children: formatMessage(getTrad("auditlog.clear.description"), {
|
|
3929
3929
|
count: pagination.total
|
|
3930
3930
|
}) }) }),
|
|
3931
|
-
confirmLabel: formatMessage(getTrad("
|
|
3931
|
+
confirmLabel: formatMessage(getTrad("button.clear")),
|
|
3932
3932
|
onConfirm: handleClearAll
|
|
3933
3933
|
}
|
|
3934
3934
|
)
|
|
@@ -7,7 +7,7 @@ const React = require("react");
|
|
|
7
7
|
const designSystem = require("@strapi/design-system");
|
|
8
8
|
const icons = require("@strapi/icons");
|
|
9
9
|
const reactIntl = require("react-intl");
|
|
10
|
-
const index = require("./index-
|
|
10
|
+
const index = require("./index-2waQ9WnG.js");
|
|
11
11
|
const styled = require("styled-components");
|
|
12
12
|
const lucideReact = require("lucide-react");
|
|
13
13
|
const _interopDefault = (e) => e && e.__esModule ? e : { default: e };
|
|
@@ -968,7 +968,7 @@ function Whitelist({
|
|
|
968
968
|
startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.Download, {}),
|
|
969
969
|
onClick: onExport,
|
|
970
970
|
disabled: users.length === 0,
|
|
971
|
-
children: formatMessage(index.getTrad("
|
|
971
|
+
children: formatMessage(index.getTrad("button.export"))
|
|
972
972
|
}
|
|
973
973
|
),
|
|
974
974
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -1001,14 +1001,14 @@ function Whitelist({
|
|
|
1001
1001
|
variant: "danger-light",
|
|
1002
1002
|
startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.Trash, {}),
|
|
1003
1003
|
disabled: users.length === 0,
|
|
1004
|
-
children: formatMessage(index.getTrad("
|
|
1004
|
+
children: formatMessage(index.getTrad("button.clear"))
|
|
1005
1005
|
}
|
|
1006
1006
|
),
|
|
1007
1007
|
title: formatMessage(index.getTrad("whitelist.delete.all.title")),
|
|
1008
1008
|
body: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", textAlign: "center", children: formatMessage(index.getTrad("whitelist.delete.all.description"), {
|
|
1009
1009
|
count: users.length
|
|
1010
1010
|
}) }) }),
|
|
1011
|
-
confirmLabel: formatMessage(index.getTrad("
|
|
1011
|
+
confirmLabel: formatMessage(index.getTrad("button.clear")),
|
|
1012
1012
|
onConfirm: onDeleteAll
|
|
1013
1013
|
}
|
|
1014
1014
|
)
|
|
@@ -3912,7 +3912,7 @@ function AuditLog({ title } = {}) {
|
|
|
3912
3912
|
startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.Download, {}),
|
|
3913
3913
|
onClick: handleExport,
|
|
3914
3914
|
disabled: pagination.total === 0,
|
|
3915
|
-
children: formatMessage(index.getTrad("
|
|
3915
|
+
children: formatMessage(index.getTrad("button.export"))
|
|
3916
3916
|
}
|
|
3917
3917
|
),
|
|
3918
3918
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3925,14 +3925,14 @@ function AuditLog({ title } = {}) {
|
|
|
3925
3925
|
variant: "danger-light",
|
|
3926
3926
|
startIcon: /* @__PURE__ */ jsxRuntime.jsx(icons.Trash, {}),
|
|
3927
3927
|
disabled: pagination.total === 0,
|
|
3928
|
-
children: formatMessage(index.getTrad("
|
|
3928
|
+
children: formatMessage(index.getTrad("button.clear"))
|
|
3929
3929
|
}
|
|
3930
3930
|
),
|
|
3931
3931
|
title: formatMessage(index.getTrad("auditlog.clear.title")),
|
|
3932
3932
|
body: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Flex, { justifyContent: "center", children: /* @__PURE__ */ jsxRuntime.jsx(designSystem.Typography, { textColor: "neutral800", textAlign: "center", children: formatMessage(index.getTrad("auditlog.clear.description"), {
|
|
3933
3933
|
count: pagination.total
|
|
3934
3934
|
}) }) }),
|
|
3935
|
-
confirmLabel: formatMessage(index.getTrad("
|
|
3935
|
+
confirmLabel: formatMessage(index.getTrad("button.clear")),
|
|
3936
3936
|
onConfirm: handleClearAll
|
|
3937
3937
|
}
|
|
3938
3938
|
)
|
package/dist/admin/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const index = require("./index-
|
|
3
|
+
const index = require("./index-2waQ9WnG.js");
|
|
4
4
|
require("react");
|
|
5
5
|
require("react-dom/client");
|
|
6
6
|
exports.default = index.index;
|
package/dist/admin/index.mjs
CHANGED