strapi-plugin-oidc 1.7.4 → 1.7.5
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-5ifX6lA1.mjs → index-BfX_taLq.mjs} +1 -1
- package/dist/admin/{index-BO4eHxAw.mjs → index-BjmTHbr9.mjs} +11 -3
- package/dist/admin/{index-BxbFHOUO.js → index-CLUIKIK3.js} +1 -1
- package/dist/admin/{index-Bkm_yRhZ.js → index-CacQfQ3a.js} +11 -3
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -165,7 +165,7 @@ const index = {
|
|
|
165
165
|
defaultMessage: "Configuration"
|
|
166
166
|
},
|
|
167
167
|
Component: async () => {
|
|
168
|
-
return await import("./index-
|
|
168
|
+
return await import("./index-BjmTHbr9.mjs");
|
|
169
169
|
},
|
|
170
170
|
permissions: [{ action: "plugin::strapi-plugin-oidc.read", subject: null }]
|
|
171
171
|
}
|
|
@@ -5,7 +5,7 @@ import { useState, useRef, useId, useEffect, useCallback, useReducer, useMemo, m
|
|
|
5
5
|
import { Typography, Flex, Box, MultiSelect, MultiSelectOption, Dialog, Button, Table, Pagination, PreviousLink, NextLink, PageLink, Field, Divider, Thead, Tr, Th, Tbody, Td, IconButton, 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 } from "./index-
|
|
8
|
+
import { g as getTrad } from "./index-BfX_taLq.mjs";
|
|
9
9
|
import styled from "styled-components";
|
|
10
10
|
import { Filter, ClipboardList, Server } from "lucide-react";
|
|
11
11
|
function Role({ oidcRoles, roles, onChangeRole }) {
|
|
@@ -139,6 +139,7 @@ function TagInputShell({
|
|
|
139
139
|
inputProps,
|
|
140
140
|
children
|
|
141
141
|
}) {
|
|
142
|
+
const inputId = useId();
|
|
142
143
|
return /* @__PURE__ */ jsxs(TagInputWrapper, { ref: wrapperRef, onClick: () => inputRef.current?.focus(), children: [
|
|
143
144
|
/* @__PURE__ */ jsxs(Flex, { gap: 2, wrap: "wrap", alignItems: "center", style: { flex: 1, minWidth: 0 }, children: [
|
|
144
145
|
startIcon && /* @__PURE__ */ jsx(StartIconSlot, { children: startIcon }),
|
|
@@ -150,6 +151,14 @@ function TagInputShell({
|
|
|
150
151
|
type: "text",
|
|
151
152
|
placeholder: value.length === 0 ? placeholder : "",
|
|
152
153
|
"aria-label": placeholder,
|
|
154
|
+
autoComplete: "off",
|
|
155
|
+
autoCorrect: "off",
|
|
156
|
+
autoCapitalize: "off",
|
|
157
|
+
spellCheck: false,
|
|
158
|
+
name: `tag-input-${inputId}`,
|
|
159
|
+
"data-form-type": "other",
|
|
160
|
+
"data-lpignore": "true",
|
|
161
|
+
"data-1p-ignore": "true",
|
|
153
162
|
...inputProps
|
|
154
163
|
}
|
|
155
164
|
)
|
|
@@ -352,8 +361,7 @@ function ComboboxTagInput({ value, onChange, placeholder, startIcon, options })
|
|
|
352
361
|
"aria-autocomplete": "list",
|
|
353
362
|
"aria-expanded": dropdownOpen,
|
|
354
363
|
"aria-controls": listboxId,
|
|
355
|
-
"aria-activedescendant": activeDescendant
|
|
356
|
-
autoComplete: "off"
|
|
364
|
+
"aria-activedescendant": activeDescendant
|
|
357
365
|
},
|
|
358
366
|
children: dropdownOpen && /* @__PURE__ */ jsx(Dropdown, { id: listboxId, role: "listbox", children: filteredOptions.map((opt, i) => /* @__PURE__ */ jsx(
|
|
359
367
|
DropdownItem,
|
|
@@ -166,7 +166,7 @@ const index = {
|
|
|
166
166
|
defaultMessage: "Configuration"
|
|
167
167
|
},
|
|
168
168
|
Component: async () => {
|
|
169
|
-
return await Promise.resolve().then(() => require("./index-
|
|
169
|
+
return await Promise.resolve().then(() => require("./index-CacQfQ3a.js"));
|
|
170
170
|
},
|
|
171
171
|
permissions: [{ action: "plugin::strapi-plugin-oidc.read", subject: null }]
|
|
172
172
|
}
|
|
@@ -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-CLUIKIK3.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 };
|
|
@@ -143,6 +143,7 @@ function TagInputShell({
|
|
|
143
143
|
inputProps,
|
|
144
144
|
children
|
|
145
145
|
}) {
|
|
146
|
+
const inputId = react.useId();
|
|
146
147
|
return /* @__PURE__ */ jsxRuntime.jsxs(TagInputWrapper, { ref: wrapperRef, onClick: () => inputRef.current?.focus(), children: [
|
|
147
148
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 2, wrap: "wrap", alignItems: "center", style: { flex: 1, minWidth: 0 }, children: [
|
|
148
149
|
startIcon && /* @__PURE__ */ jsxRuntime.jsx(StartIconSlot, { children: startIcon }),
|
|
@@ -154,6 +155,14 @@ function TagInputShell({
|
|
|
154
155
|
type: "text",
|
|
155
156
|
placeholder: value.length === 0 ? placeholder : "",
|
|
156
157
|
"aria-label": placeholder,
|
|
158
|
+
autoComplete: "off",
|
|
159
|
+
autoCorrect: "off",
|
|
160
|
+
autoCapitalize: "off",
|
|
161
|
+
spellCheck: false,
|
|
162
|
+
name: `tag-input-${inputId}`,
|
|
163
|
+
"data-form-type": "other",
|
|
164
|
+
"data-lpignore": "true",
|
|
165
|
+
"data-1p-ignore": "true",
|
|
157
166
|
...inputProps
|
|
158
167
|
}
|
|
159
168
|
)
|
|
@@ -356,8 +365,7 @@ function ComboboxTagInput({ value, onChange, placeholder, startIcon, options })
|
|
|
356
365
|
"aria-autocomplete": "list",
|
|
357
366
|
"aria-expanded": dropdownOpen,
|
|
358
367
|
"aria-controls": listboxId,
|
|
359
|
-
"aria-activedescendant": activeDescendant
|
|
360
|
-
autoComplete: "off"
|
|
368
|
+
"aria-activedescendant": activeDescendant
|
|
361
369
|
},
|
|
362
370
|
children: dropdownOpen && /* @__PURE__ */ jsxRuntime.jsx(Dropdown, { id: listboxId, role: "listbox", children: filteredOptions.map((opt, i) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
363
371
|
DropdownItem,
|
package/dist/admin/index.js
CHANGED
package/dist/admin/index.mjs
CHANGED
package/package.json
CHANGED