@keycloak/keycloak-admin-ui 26.7.4 → 26.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/lib/.vite/manifest.json +42 -42
- package/lib/{AddDefaultTrust-DbbiiG4i.js → AddDefaultTrust-BvsWwMDh.js} +2 -2
- package/lib/{AddDefaultTrust-DbbiiG4i.js.map → AddDefaultTrust-BvsWwMDh.js.map} +1 -1
- package/lib/{AddJWTAuthorizationGrant-C-dtbDTh.js → AddJWTAuthorizationGrant-ByBPPwyK.js} +2 -2
- package/lib/{AddJWTAuthorizationGrant-C-dtbDTh.js.map → AddJWTAuthorizationGrant-ByBPPwyK.js.map} +1 -1
- package/lib/{AddKubernetesConnect-DcdkNZw-.js → AddKubernetesConnect-D4xTogVo.js} +2 -2
- package/lib/{AddKubernetesConnect-DcdkNZw-.js.map → AddKubernetesConnect-D4xTogVo.js.map} +1 -1
- package/lib/{AddOAuth2-D5paCYlN.js → AddOAuth2-BDmTZ-YA.js} +2 -2
- package/lib/{AddOAuth2-D5paCYlN.js.map → AddOAuth2-BDmTZ-YA.js.map} +1 -1
- package/lib/{AddSpiffeConnect-BA5o5iWQ.js → AddSpiffeConnect-B6_E1i6Z.js} +2 -2
- package/lib/{AddSpiffeConnect-BA5o5iWQ.js.map → AddSpiffeConnect-B6_E1i6Z.js.map} +1 -1
- package/lib/{CreateFlow-CsrOkWJK.js → CreateFlow-C5QWzOsy.js} +2 -2
- package/lib/{CreateFlow-CsrOkWJK.js.map → CreateFlow-C5QWzOsy.js.map} +1 -1
- package/lib/{DetailOrganization-DzPHda7g.js → DetailOrganization-amJJPyq-.js} +2 -2
- package/lib/{DetailOrganization-DzPHda7g.js.map → DetailOrganization-amJJPyq-.js.map} +1 -1
- package/lib/{ExecutorForm-Dhf61xr_.js → ExecutorForm-n3e9Qvrl.js} +2 -2
- package/lib/{ExecutorForm-Dhf61xr_.js.map → ExecutorForm-n3e9Qvrl.js.map} +1 -1
- package/lib/{FlowDetails-D66-ow3L.js → FlowDetails-CnVZXaRP.js} +2 -2
- package/lib/{FlowDetails-D66-ow3L.js.map → FlowDetails-CnVZXaRP.js.map} +1 -1
- package/lib/{NewOrganization-CstM2Q0Y.js → NewOrganization-D4X_bhyD.js} +2 -2
- package/lib/{NewOrganization-CstM2Q0Y.js.map → NewOrganization-D4X_bhyD.js.map} +1 -1
- package/lib/{PermissionConfigurationDetails-DH5b34p8.js → PermissionConfigurationDetails-UjUwrvYu.js} +3 -3
- package/lib/{PermissionConfigurationDetails-DH5b34p8.js.map → PermissionConfigurationDetails-UjUwrvYu.js.map} +1 -1
- package/lib/{PermissionDetails-DltsWJl5.js → PermissionDetails-gUH5Lf-7.js} +2 -2
- package/lib/{PermissionDetails-DltsWJl5.js.map → PermissionDetails-gUH5Lf-7.js.map} +1 -1
- package/lib/{RealmSection-DcQUYY0v.js → RealmSection-BTCX9rHA.js} +2 -2
- package/lib/{RealmSection-DcQUYY0v.js.map → RealmSection-BTCX9rHA.js.map} +1 -1
- package/lib/{ResourceDetails-DpRkk4_g.js → ResourceDetails-C3cyeLL5.js} +3 -3
- package/lib/{ResourceDetails-DpRkk4_g.js.map → ResourceDetails-C3cyeLL5.js.map} +1 -1
- package/lib/{ScopeDetails-BbT6mJGv.js → ScopeDetails-C16qMBw-.js} +2 -2
- package/lib/{ScopeDetails-BbT6mJGv.js.map → ScopeDetails-C16qMBw-.js.map} +1 -1
- package/lib/{ScopePicker-CPAN5Qis.js → ScopePicker-DbxK9g9R.js} +2 -2
- package/lib/{ScopePicker-CPAN5Qis.js.map → ScopePicker-DbxK9g9R.js.map} +1 -1
- package/lib/{WorkflowDetailForm-Cr5DYK4G.js → WorkflowDetailForm-d5rClboG.js} +2 -2
- package/lib/{WorkflowDetailForm-Cr5DYK4G.js.map → WorkflowDetailForm-d5rClboG.js.map} +1 -1
- package/lib/{WorkflowsSection-CyUnAYVa.js → WorkflowsSection-DRU3QF93.js} +2 -2
- package/lib/{WorkflowsSection-CyUnAYVa.js.map → WorkflowsSection-DRU3QF93.js.map} +1 -1
- package/lib/{index-BEI4c3WS.js → index-C-D-m0EP.js} +224 -222
- package/lib/{index-BEI4c3WS.js.map → index-C-D-m0EP.js.map} +1 -1
- package/lib/keycloak-admin-ui.js +1 -1
- package/package.json +3 -3
|
@@ -16837,7 +16837,7 @@ const ya = {
|
|
|
16837
16837
|
red: ya.modifiers.red,
|
|
16838
16838
|
gold: ya.modifiers.gold,
|
|
16839
16839
|
grey: ""
|
|
16840
|
-
},
|
|
16840
|
+
}, Kt = (e) => {
|
|
16841
16841
|
var { children: t, className: n = "", color: a = "grey", variant: i = "filled", isCompact: s = !1, isDisabled: o = !1, isEditable: l = !1, editableProps: c, textMaxWidth: d, tooltipPosition: u, icon: p, onClose: m, onClick: f, onEditCancel: g, onEditComplete: h, closeBtn: b, closeBtnAriaLabel: y, closeBtnProps: v, href: w, isOverflowLabel: T, render: S } = e, I = Ee(e, ["children", "className", "color", "variant", "isCompact", "isDisabled", "isEditable", "editableProps", "textMaxWidth", "tooltipPosition", "icon", "onClose", "onClick", "onEditCancel", "onEditComplete", "closeBtn", "closeBtnAriaLabel", "closeBtnProps", "href", "isOverflowLabel", "render"]);
|
|
16842
16842
|
const [k, O] = P(!1), [_, x] = P(t), D = E.useRef(), R = E.useRef();
|
|
16843
16843
|
E.useEffect(() => (document.addEventListener("mousedown", N), document.addEventListener("keydown", A), () => {
|
|
@@ -16908,7 +16908,7 @@ const ya = {
|
|
|
16908
16908
|
k && E.createElement("input", Object.assign({ className: z(ya.labelContent), type: "text", id: "editable-input", ref: R, value: _, onChange: G }, c))
|
|
16909
16909
|
);
|
|
16910
16910
|
};
|
|
16911
|
-
|
|
16911
|
+
Kt.displayName = "Label";
|
|
16912
16912
|
class aw extends E.Component {
|
|
16913
16913
|
constructor(t) {
|
|
16914
16914
|
super(t), this.headingRef = E.createRef(), this.toggleCollapse = () => {
|
|
@@ -16973,7 +16973,7 @@ class aw extends E.Component {
|
|
|
16973
16973
|
k > u && E.createElement(
|
|
16974
16974
|
"li",
|
|
16975
16975
|
{ className: z(sr.labelGroupListItem) },
|
|
16976
|
-
E.createElement(
|
|
16976
|
+
E.createElement(Kt, { isOverflowLabel: !0, onClick: this.toggleCollapse, className: z(o && ya.modifiers.compact) }, S ? p : O)
|
|
16977
16977
|
),
|
|
16978
16978
|
w && E.createElement("li", { className: z(sr.labelGroupListItem) }, w),
|
|
16979
16979
|
b && y && E.createElement(
|
|
@@ -25643,7 +25643,7 @@ const Jee = (e) => () => t4(E.createElement(UT, { "aria-hidden": !0 }), {
|
|
|
25643
25643
|
function nte(e) {
|
|
25644
25644
|
return e[0].toUpperCase() + e.substring(1);
|
|
25645
25645
|
}
|
|
25646
|
-
const
|
|
25646
|
+
const qt = (e) => () => ({
|
|
25647
25647
|
className: z(St.modifiers[typeof e == "number" ? `width_${e}` : `width${nte(e)}`])
|
|
25648
25648
|
}), ate = () => ({
|
|
25649
25649
|
className: St.modifiers.wrap
|
|
@@ -27085,7 +27085,7 @@ const C4 = {
|
|
|
27085
27085
|
collapseAllAriaLabel: ""
|
|
27086
27086
|
}
|
|
27087
27087
|
}
|
|
27088
|
-
}) : null, $ = g ?
|
|
27088
|
+
}) : null, $ = g ? qt(g)() : null, V = h ? r4(...h.map((F) => a4[F]))() : null;
|
|
27089
27089
|
let G = j?.children || K?.children || B?.children || t, X = null;
|
|
27090
27090
|
y && (X = ste(y)(G), G = X.children);
|
|
27091
27091
|
const ne = w4(j, K, B, $, V, X), {
|
|
@@ -27190,7 +27190,7 @@ const kne = (e, { rowData: t }) => {
|
|
|
27190
27190
|
expandId: m?.expandId
|
|
27191
27191
|
}
|
|
27192
27192
|
}
|
|
27193
|
-
}) : null, ne = g ?
|
|
27193
|
+
}) : null, ne = g ? qt(g)() : null, ce = h ? r4(...h.map((J) => a4[J]))() : null, Ie = p !== null ? lte(p.onCollapse, p.onCheckChange, p.onToggleRowDetails)({
|
|
27194
27194
|
title: t
|
|
27195
27195
|
}, {
|
|
27196
27196
|
rowIndex: p.rowIndex,
|
|
@@ -31140,7 +31140,7 @@ const Kae = () => {
|
|
|
31140
31140
|
}, J4 = $r(
|
|
31141
31141
|
"AccessContext",
|
|
31142
31142
|
void 0
|
|
31143
|
-
),
|
|
31143
|
+
), Gt = () => Pi(J4), Zae = ({ children: e }) => {
|
|
31144
31144
|
const { whoAmI: t } = oi(), { realm: n } = Ne(), a = t.realm_access[n] ?? [], i = (...o) => o.every(
|
|
31145
31145
|
(l) => l === "anyone" || typeof l == "function" && l({ hasAll: i, hasAny: s }) || a.includes(l)
|
|
31146
31146
|
), s = (...o) => o.some(
|
|
@@ -31299,7 +31299,7 @@ const zw = async (e, { id: t, type: n, first: a, max: i, search: s, endpoint: o
|
|
|
31299
31299
|
onFilerTypeChange: a,
|
|
31300
31300
|
...i
|
|
31301
31301
|
}) => {
|
|
31302
|
-
const { t: s } = Y(), [o, l] = Tt(), { hasAccess: c } =
|
|
31302
|
+
const { t: s } = Y(), [o, l] = Tt(), { hasAccess: c } = Gt(), d = c("view-realm") || c("query-users");
|
|
31303
31303
|
return /* @__PURE__ */ r(
|
|
31304
31304
|
wn,
|
|
31305
31305
|
{
|
|
@@ -31391,7 +31391,7 @@ const zw = async (e, { id: t, type: n, first: a, max: i, search: s, endpoint: o
|
|
|
31391
31391
|
{
|
|
31392
31392
|
name: "role.name",
|
|
31393
31393
|
displayKey: "name",
|
|
31394
|
-
transforms: [
|
|
31394
|
+
transforms: [qt(30)]
|
|
31395
31395
|
},
|
|
31396
31396
|
{
|
|
31397
31397
|
name: "client.clientId",
|
|
@@ -31595,7 +31595,7 @@ const zw = async (e, { id: t, type: n, first: a, max: i, search: s, endpoint: o
|
|
|
31595
31595
|
{
|
|
31596
31596
|
name: "role.name",
|
|
31597
31597
|
displayKey: "name",
|
|
31598
|
-
transforms: [
|
|
31598
|
+
transforms: [qt(30)],
|
|
31599
31599
|
cellRenderer: Rd
|
|
31600
31600
|
},
|
|
31601
31601
|
{
|
|
@@ -64190,7 +64190,7 @@ const o5 = /* @__PURE__ */ be.forwardRef((e, t) => {
|
|
|
64190
64190
|
var Ot = /* @__PURE__ */ ((e) => (e.AccountV3 = "ACCOUNT_V3", e.AdminFineGrainedAuthz = "ADMIN_FINE_GRAINED_AUTHZ", e.AdminFineGrainedAuthzV2 = "ADMIN_FINE_GRAINED_AUTHZ_V2", e.ClientPolicies = "CLIENT_POLICIES", e.Kerberos = "KERBEROS", e.ParameterizedScopes = "PARAMETERIZED_SCOPES", e.DPoP = "DPOP", e.DeviceFlow = "DEVICE_FLOW", e.TransientUsers = "TRANSIENT_USERS", e.ClientTypes = "CLIENT_TYPES", e.DeclarativeUI = "DECLARATIVE_UI", e.Organizations = "ORGANIZATION", e.OpenId4VCI = "OID4VC_VCI", e.QuickTheme = "QUICK_THEME", e.StandardTokenExchangeV2 = "TOKEN_EXCHANGE_STANDARD_V2", e.JWTAuthorizationGrant = "JWT_AUTHORIZATION_GRANT", e.Passkeys = "PASSKEYS", e.ClientAuthFederated = "CLIENT_AUTH_FEDERATED", e.Workflows = "WORKFLOWS", e.StepUpAuthenticationSaml = "STEP_UP_AUTHENTICATION_SAML", e.Ssf = "SSF", e.ScimApi = "SCIM_API", e.IdentityBrokeringAPIV1 = "IDENTITY_BROKERING_API_V1", e.IdentityBrokeringAPIV2 = "IDENTITY_BROKERING_API_V2", e))(Ot || {});
|
|
64191
64191
|
const vL = (e) => e.replace(/_V\d+$/, "");
|
|
64192
64192
|
function Wn() {
|
|
64193
|
-
const { features: e } = Vt(), { hasAccess: t } =
|
|
64193
|
+
const { features: e } = Vt(), { hasAccess: t } = Gt(), n = (a) => a === "ORGANIZATION" ? t(
|
|
64194
64194
|
({ hasAny: i }) => i("manage-realm", "query-organizations")
|
|
64195
64195
|
) : !0;
|
|
64196
64196
|
return function(i) {
|
|
@@ -64497,7 +64497,7 @@ function ut(e, t) {
|
|
|
64497
64497
|
t
|
|
64498
64498
|
);
|
|
64499
64499
|
}
|
|
64500
|
-
const Tde = Qe(() => import("./FlowDetails-
|
|
64500
|
+
const Tde = Qe(() => import("./FlowDetails-CnVZXaRP.js")), Vk = {
|
|
64501
64501
|
path: "/:realm/authentication/:id/:usedBy",
|
|
64502
64502
|
element: /* @__PURE__ */ r(Tde, {}),
|
|
64503
64503
|
handle: {
|
|
@@ -65120,7 +65120,7 @@ const Cde = ({
|
|
|
65120
65120
|
unWrap: i = !1,
|
|
65121
65121
|
...s
|
|
65122
65122
|
}) => {
|
|
65123
|
-
const { hasAccess: o } =
|
|
65123
|
+
const { hasAccess: o } = Gt(), l = (d, u) => tg.map(d, (p) => {
|
|
65124
65124
|
if (!Fl(p))
|
|
65125
65125
|
return p;
|
|
65126
65126
|
if (p.props) {
|
|
@@ -66240,7 +66240,7 @@ const TL = ({ onSelect: e, selectedPolicies: t }) => {
|
|
|
66240
66240
|
return {
|
|
66241
66241
|
pathname: ut(t, e)
|
|
66242
66242
|
};
|
|
66243
|
-
}, Yde = Qe(() => import("./CreateFlow-
|
|
66243
|
+
}, Yde = Qe(() => import("./CreateFlow-C5QWzOsy.js")), E5 = {
|
|
66244
66244
|
path: "/:realm/authentication/flows/create",
|
|
66245
66245
|
element: /* @__PURE__ */ r(Yde, {}),
|
|
66246
66246
|
handle: {
|
|
@@ -66266,7 +66266,7 @@ const TL = ({ onSelect: e, selectedPolicies: t }) => {
|
|
|
66266
66266
|
`link-${e}`
|
|
66267
66267
|
),
|
|
66268
66268
|
" ",
|
|
66269
|
-
a && /* @__PURE__ */ r(
|
|
66269
|
+
a && /* @__PURE__ */ r(Kt, { children: i("buildIn") }, `label-${e}`)
|
|
66270
66270
|
] });
|
|
66271
66271
|
};
|
|
66272
66272
|
function Qde() {
|
|
@@ -66939,7 +66939,7 @@ var es = /* @__PURE__ */ ((e) => (e.default = "default", e.optional = "optional"
|
|
|
66939
66939
|
const Wk = Object.keys(es), lp = Object.keys({
|
|
66940
66940
|
...Jr,
|
|
66941
66941
|
...es
|
|
66942
|
-
}), fb = (e) => e.attributes?.["is.parameterized.scope"] === "true", Yk = () => /* @__PURE__ */ r(
|
|
66942
|
+
}), fb = (e) => e.attributes?.["is.parameterized.scope"] === "true", Yk = () => /* @__PURE__ */ r(Kt, { color: "gold", isCompact: !0, children: "parameterized" }), Xk = (e, t) => t.some(fb) ? e.filter(
|
|
66943
66943
|
(n) => n !== "default"
|
|
66944
66944
|
/* default */
|
|
66945
66945
|
) : e, Zk = (e, t = Wk, n = []) => Xk(t, n).map((a) => /* @__PURE__ */ r(et, { value: a, children: e(`clientScopeType.${a}`) }, a)), sue = (e, t, n = []) => Xk(Wk, n).map((a) => /* @__PURE__ */ r(mt, { onClick: () => t(a), children: e(`clientScopeType.${a}`) }, a)), I5 = ({
|
|
@@ -68065,13 +68065,13 @@ function Tue() {
|
|
|
68065
68065
|
name: "protocol",
|
|
68066
68066
|
displayKey: "protocol",
|
|
68067
68067
|
cellRenderer: (I) => tu(n, I.protocol ?? "openid-connect"),
|
|
68068
|
-
transforms: [
|
|
68068
|
+
transforms: [qt(15)]
|
|
68069
68069
|
},
|
|
68070
68070
|
{
|
|
68071
68071
|
name: "attributes['gui.order']",
|
|
68072
68072
|
displayKey: "displayOrder",
|
|
68073
68073
|
cellFormatters: [Ln()],
|
|
68074
|
-
transforms: [
|
|
68074
|
+
transforms: [qt(15)]
|
|
68075
68075
|
},
|
|
68076
68076
|
{ name: "description", cellFormatters: [Ln()] }
|
|
68077
68077
|
]
|
|
@@ -68235,7 +68235,7 @@ const xue = Qe(() => Promise.resolve().then(() => Sb)), $5 = {
|
|
|
68235
68235
|
}
|
|
68236
68236
|
}, gb = (e) => ({
|
|
68237
68237
|
pathname: ut(Jk.path, e)
|
|
68238
|
-
}), Due = Qe(() => import("./DetailOrganization-
|
|
68238
|
+
}), Due = Qe(() => import("./DetailOrganization-amJJPyq-.js")), j5 = {
|
|
68239
68239
|
path: "/:realm/organizations/:id/:tab/*",
|
|
68240
68240
|
element: /* @__PURE__ */ r(Due, {}),
|
|
68241
68241
|
handle: {
|
|
@@ -68689,7 +68689,7 @@ const xue = Qe(() => Promise.resolve().then(() => Sb)), $5 = {
|
|
|
68689
68689
|
{
|
|
68690
68690
|
name: "operationType",
|
|
68691
68691
|
displayKey: "operationType",
|
|
68692
|
-
transforms: [
|
|
68692
|
+
transforms: [qt(10)]
|
|
68693
68693
|
},
|
|
68694
68694
|
{
|
|
68695
68695
|
name: "",
|
|
@@ -68713,7 +68713,7 @@ const xue = Qe(() => Promise.resolve().then(() => Sb)), $5 = {
|
|
|
68713
68713
|
] });
|
|
68714
68714
|
};
|
|
68715
68715
|
function Vue() {
|
|
68716
|
-
const { adminClient: e } = _e(), { t } = Y(), n = vt(), { realm: a, realmRepresentation: i } = Ne(), { id: s } = un(), { addAlert: o, addError: l } = De(), { enabled: c } = Mi(), [d, u] = P(), [p, m] = P(0), f = () => m(p + 1), { hasAccess: g } =
|
|
68716
|
+
const { adminClient: e } = _e(), { t } = Y(), n = vt(), { realm: a, realmRepresentation: i } = Ne(), { id: s } = un(), { addAlert: o, addError: l } = De(), { enabled: c } = Mi(), [d, u] = P(), [p, m] = P(0), f = () => m(p + 1), { hasAccess: g } = Gt();
|
|
68717
68717
|
Ve(
|
|
68718
68718
|
async () => {
|
|
68719
68719
|
const x = await e.clientScopes.findOne({ id: s });
|
|
@@ -69236,7 +69236,7 @@ const jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
69236
69236
|
"PERMISSIVE",
|
|
69237
69237
|
"DISABLED"
|
|
69238
69238
|
], Gue = ({ clientId: e }) => {
|
|
69239
|
-
const { adminClient: t } = _e(), { t: n } = Y(), [a, i] = P(), [s, o] = Tt(), l = ot({}), { control: c, reset: d, handleSubmit: u } = l, { addAlert: p, addError: m } = De(), { hasAccess: f } =
|
|
69239
|
+
const { adminClient: t } = _e(), { t: n } = Y(), [a, i] = P(), [s, o] = Tt(), l = ot({}), { control: c, reset: d, handleSubmit: u } = l, { addAlert: p, addError: m } = De(), { hasAccess: f } = Gt(), g = !f("manage-authorization");
|
|
69240
69240
|
Ve(
|
|
69241
69241
|
() => t.clients.getResourceServer({ id: e }),
|
|
69242
69242
|
(y) => {
|
|
@@ -69476,7 +69476,7 @@ const jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
69476
69476
|
save: t,
|
|
69477
69477
|
reset: n
|
|
69478
69478
|
}) => {
|
|
69479
|
-
const { t: a } = Y(), { watch: i } = je(), { hasAccess: s } =
|
|
69479
|
+
const { t: a } = Y(), { watch: i } = je(), { hasAccess: s } = Gt(), o = s("manage-clients") || e.access?.configure, l = i("protocol");
|
|
69480
69480
|
return /* @__PURE__ */ C(
|
|
69481
69481
|
Je,
|
|
69482
69482
|
{
|
|
@@ -69520,7 +69520,7 @@ const jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
69520
69520
|
), m = i(
|
|
69521
69521
|
Te("attributes.external.token.enabled"),
|
|
69522
69522
|
!1
|
|
69523
|
-
), f = Wn(), { hasSomeAccess: g } =
|
|
69523
|
+
), f = Wn(), { hasSomeAccess: g } = Gt(), { realmRepresentation: h } = Ne(), b = g("view-identity-providers"), y = f(Ot.Ssf) && h.attributes?.["ssf.transmitterEnabled"] === "true";
|
|
69524
69524
|
return /* @__PURE__ */ C(
|
|
69525
69525
|
Je,
|
|
69526
69526
|
{
|
|
@@ -70128,7 +70128,7 @@ const jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
70128
70128
|
reset: t,
|
|
70129
70129
|
client: { access: n }
|
|
70130
70130
|
}) => {
|
|
70131
|
-
const { t: a } = Y(), { control: i, watch: s } = je(), { hasAccess: o } =
|
|
70131
|
+
const { t: a } = Y(), { control: i, watch: s } = je(), { hasAccess: o } = Gt(), l = o("manage-clients") || n?.configure, c = s("protocol"), d = s("frontchannelLogout"), u = c === "openid-connect" ? "frontchannelLogoutOIDCHelp" : "frontchannelLogoutHelp";
|
|
70132
70132
|
return /* @__PURE__ */ C(
|
|
70133
70133
|
Je,
|
|
70134
70134
|
{
|
|
@@ -72611,7 +72611,7 @@ const Jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
72611
72611
|
] })
|
|
72612
72612
|
] });
|
|
72613
72613
|
}, fpe = Qe(
|
|
72614
|
-
() => import("./PermissionDetails-
|
|
72614
|
+
() => import("./PermissionDetails-gUH5Lf-7.js")
|
|
72615
72615
|
), r1 = {
|
|
72616
72616
|
path: "/:realm/clients/:id/authorization/permission/new/:permissionType",
|
|
72617
72617
|
element: /* @__PURE__ */ r(fpe, {}),
|
|
@@ -72627,7 +72627,7 @@ const Jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
72627
72627
|
return {
|
|
72628
72628
|
pathname: ut(t, e)
|
|
72629
72629
|
};
|
|
72630
|
-
}, hpe = Qe(() => import("./ResourceDetails-
|
|
72630
|
+
}, hpe = Qe(() => import("./ResourceDetails-C3cyeLL5.js")), X5 = {
|
|
72631
72631
|
path: "/:realm/clients/:id/authorization/resource/new",
|
|
72632
72632
|
element: /* @__PURE__ */ r(hpe, {}),
|
|
72633
72633
|
handle: {
|
|
@@ -72636,7 +72636,7 @@ const Jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
72636
72636
|
}
|
|
72637
72637
|
}, NL = (e) => ({
|
|
72638
72638
|
pathname: ut(X5.path, e)
|
|
72639
|
-
}), gpe = Qe(() => import("./ResourceDetails-
|
|
72639
|
+
}), gpe = Qe(() => import("./ResourceDetails-C3cyeLL5.js")), i1 = {
|
|
72640
72640
|
path: "/:realm/clients/:id/authorization/resource",
|
|
72641
72641
|
element: /* @__PURE__ */ r(gpe, {}),
|
|
72642
72642
|
handle: {
|
|
@@ -72656,7 +72656,7 @@ const Jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
72656
72656
|
pathname: ut(t, e)
|
|
72657
72657
|
};
|
|
72658
72658
|
}, bpe = Qe(
|
|
72659
|
-
() => import("./PermissionDetails-
|
|
72659
|
+
() => import("./PermissionDetails-gUH5Lf-7.js")
|
|
72660
72660
|
), Q5 = {
|
|
72661
72661
|
path: "/:realm/clients/:id/authorization/permission/:permissionType/:permissionId",
|
|
72662
72662
|
element: /* @__PURE__ */ r(bpe, {}),
|
|
@@ -72670,7 +72670,7 @@ const Jue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
72670
72670
|
}
|
|
72671
72671
|
}, Ql = (e) => ({
|
|
72672
72672
|
pathname: ut(Q5.path, e)
|
|
72673
|
-
}), ype = Qe(() => import("./ScopeDetails-
|
|
72673
|
+
}), ype = Qe(() => import("./ScopeDetails-C16qMBw-.js")), o1 = {
|
|
72674
72674
|
path: "/:realm/clients/:id/authorization/scope",
|
|
72675
72675
|
element: /* @__PURE__ */ r(ype, {}),
|
|
72676
72676
|
handle: {
|
|
@@ -72752,7 +72752,7 @@ const Epe = ({ id: e, clientId: t, uris: n }) => {
|
|
|
72752
72752
|
] });
|
|
72753
72753
|
}, l1 = ({ array: e }) => {
|
|
72754
72754
|
const { t } = Y();
|
|
72755
|
-
return !e || e.length <= 1 ? null : /* @__PURE__ */ r(
|
|
72755
|
+
return !e || e.length <= 1 ? null : /* @__PURE__ */ r(Kt, { color: "blue", children: t("more", { count: e.length - 1 }) });
|
|
72756
72756
|
}, LL = {
|
|
72757
72757
|
name: "",
|
|
72758
72758
|
type: "",
|
|
@@ -73081,7 +73081,7 @@ const Epe = ({ id: e, clientId: t, uris: n }) => {
|
|
|
73081
73081
|
}
|
|
73082
73082
|
)
|
|
73083
73083
|
] });
|
|
73084
|
-
}, wpe = Qe(() => import("./ScopeDetails-
|
|
73084
|
+
}, wpe = Qe(() => import("./ScopeDetails-C16qMBw-.js")), tU = {
|
|
73085
73085
|
path: "/:realm/clients/:id/authorization/scope/new",
|
|
73086
73086
|
element: /* @__PURE__ */ r(wpe, {}),
|
|
73087
73087
|
handle: {
|
|
@@ -76125,7 +76125,7 @@ const tme = ({ evaluateResult: e, refresh: t, back: n }) => {
|
|
|
76125
76125
|
] }) })
|
|
76126
76126
|
] });
|
|
76127
76127
|
}, nme = (e) => {
|
|
76128
|
-
const { hasAccess: t } =
|
|
76128
|
+
const { hasAccess: t } = Gt();
|
|
76129
76129
|
return t("view-users") ? /* @__PURE__ */ r(ame, { ...e }) : /* @__PURE__ */ r(d1, { permissionNeeded: "view-users" });
|
|
76130
76130
|
}, ame = ({ client: e }) => {
|
|
76131
76131
|
const { adminClient: t } = _e(), n = ot({ mode: "onChange" }), {
|
|
@@ -76521,7 +76521,7 @@ const Ll = ({
|
|
|
76521
76521
|
toggle: i,
|
|
76522
76522
|
isReadOnly: s = !1
|
|
76523
76523
|
}) => {
|
|
76524
|
-
const { t: o } = Y(), l = je(), { hasAccess: c } =
|
|
76524
|
+
const { t: o } = Y(), l = je(), { hasAccess: c } = Gt(), d = c("manage-clients") || n.access?.configure;
|
|
76525
76525
|
return /* @__PURE__ */ C(ja, { hasGutter: !0, children: [
|
|
76526
76526
|
/* @__PURE__ */ r(dn, { isFilled: !0, children: /* @__PURE__ */ C(tn, { children: [
|
|
76527
76527
|
/* @__PURE__ */ r(bt, { isFill: !0, children: s ? /* @__PURE__ */ r(Zo, { id: e, value: a, isDisabled: !0 }) : /* @__PURE__ */ r(
|
|
@@ -78635,7 +78635,7 @@ const Pme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78635
78635
|
fineGrainedAccess: n,
|
|
78636
78636
|
...a
|
|
78637
78637
|
}) => {
|
|
78638
|
-
const { adminClient: i } = _e(), { t: s } = Y(), { addAlert: o, addError: l } = De(), { hasAccess: c } =
|
|
78638
|
+
const { adminClient: i } = _e(), { t: s } = Y(), { addAlert: o, addError: l } = De(), { hasAccess: c } = Gt(), d = (p) => p.id === zf, u = c("manage-clients") || n;
|
|
78639
78639
|
return /* @__PURE__ */ r(
|
|
78640
78640
|
I5,
|
|
78641
78641
|
{
|
|
@@ -78665,7 +78665,7 @@ const Pme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78665
78665
|
}) => {
|
|
78666
78666
|
const { adminClient: i } = _e(), s = Wn(), { t: o } = Y(), { addAlert: l, addError: c } = De(), { realm: d } = Ne(), u = tr(), [p, m] = P("name"), [f, g] = P(
|
|
78667
78667
|
Jr.none
|
|
78668
|
-
), [h, b] = P(!1), [y, v] = P(), [w, T] = P([]), S = (j) => T(j.filter(({ id: K }) => K !== zf)), [I, k] = P(!1), [O, _] = P(0), x = () => _(O + 1), D = (j) => j.id === zf, { hasAccess: R } =
|
|
78668
|
+
), [h, b] = P(!1), [y, v] = P(), [w, T] = P([]), S = (j) => T(j.filter(({ id: K }) => K !== zf)), [I, k] = P(!1), [O, _] = P(0), x = () => _(O + 1), D = (j) => j.id === zf, { hasAccess: R } = Gt(), N = R("manage-clients") || a, A = R("view-clients") || a, M = async (j, K, B) => {
|
|
78669
78669
|
const $ = await i.clients.listDefaultClientScopes({ id: e }), V = await i.clients.listOptionalClientScopes({ id: e }), G = await i.clientScopes.find(), X = (ge) => G.find((He) => ge === He.id), ne = V.map((ge) => {
|
|
78670
78670
|
const He = X(ge.id);
|
|
78671
78671
|
return {
|
|
@@ -78866,7 +78866,7 @@ const Pme = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
78866
78866
|
)
|
|
78867
78867
|
] });
|
|
78868
78868
|
}, Ume = ({ client: e, onChange: t }) => {
|
|
78869
|
-
const { adminClient: n } = _e(), { t: a } = Y(), { addAlert: i, addError: s } = De(), { hasAccess: o } =
|
|
78869
|
+
const { adminClient: n } = _e(), { t: a } = Y(), { addAlert: i, addError: s } = De(), { hasAccess: o } = Gt(), l = o("manage-clients") || e.access?.manage, c = async (u) => {
|
|
78870
78870
|
try {
|
|
78871
78871
|
const p = u.filter((m) => m.client === void 0).map((m) => m.role).flat();
|
|
78872
78872
|
await Promise.all([
|
|
@@ -79145,7 +79145,7 @@ const $me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79145
79145
|
d() ? [a] : []
|
|
79146
79146
|
), [y, v] = P(0), [w, T] = P(""), S = () => T(`${(/* @__PURE__ */ new Date()).getTime()}`), [I, k] = P(
|
|
79147
79147
|
[]
|
|
79148
|
-
), [O, _] = P([]), [x, D] = P(""), [R, N] = P(""), [A, M] = P(""), [H, U] = P(""), j = cn(null), K = cn(null), B = cn(null), $ = cn(null), V = cn(null), G = cn(null), X = ot(), { watch: ne } = X, ce = ne("targetAudience"), { hasAccess: Ie } =
|
|
79148
|
+
), [O, _] = P([]), [x, D] = P(""), [R, N] = P(""), [A, M] = P(""), [H, U] = P(""), j = cn(null), K = cn(null), B = cn(null), $ = cn(null), V = cn(null), G = cn(null), X = ot(), { watch: ne } = X, ce = ne("targetAudience"), { hasAccess: Ie } = Gt(), we = Ie("view-users");
|
|
79149
79149
|
return Ve(
|
|
79150
79150
|
() => n.clients.listOptionalClientScopes({ id: e }),
|
|
79151
79151
|
(Se) => m(Se),
|
|
@@ -79533,7 +79533,7 @@ const $me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79533
79533
|
] })
|
|
79534
79534
|
] });
|
|
79535
79535
|
}, Gme = ({ client: e }) => {
|
|
79536
|
-
const { adminClient: t } = _e(), { t: n } = Y(), { addAlert: a, addError: i } = De(), { realm: s } = Ne(), [o, l] = P(), { hasAccess: c } =
|
|
79536
|
+
const { adminClient: t } = _e(), { t: n } = Y(), { addAlert: a, addError: i } = De(), { realm: s } = Ne(), [o, l] = P(), { hasAccess: c } = Gt(), d = c("manage-clients");
|
|
79537
79537
|
Ve(
|
|
79538
79538
|
() => t.clients.getServiceAccountUser({
|
|
79539
79539
|
id: e.id
|
|
@@ -79896,7 +79896,7 @@ const $me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
79896
79896
|
toDetail: t,
|
|
79897
79897
|
...n
|
|
79898
79898
|
}) => {
|
|
79899
|
-
const { t: a } = Y(), { realm: i } = Ne(), { hasAccess: s, hasSomeAccess: o } =
|
|
79899
|
+
const { t: a } = Y(), { realm: i } = Ne(), { hasAccess: s, hasSomeAccess: o } = Gt(), l = s("view-realm") && o("view-clients", "manage-clients");
|
|
79900
79900
|
return n.name !== e ? /* @__PURE__ */ r(Xe, { to: t(n.id), children: n.name }) : /* @__PURE__ */ C(re, { children: [
|
|
79901
79901
|
l ? /* @__PURE__ */ r(Xe, { to: cp({ realm: i, tab: "user-registration" }), children: n.name }) : /* @__PURE__ */ r("span", { children: n.name }),
|
|
79902
79902
|
" ",
|
|
@@ -80020,7 +80020,7 @@ const $me = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
80020
80020
|
e.transientUser && /* @__PURE__ */ C(re, { children: [
|
|
80021
80021
|
" ",
|
|
80022
80022
|
/* @__PURE__ */ r(bn, { content: n("transientUserTooltip"), children: /* @__PURE__ */ r(
|
|
80023
|
-
|
|
80023
|
+
Kt,
|
|
80024
80024
|
{
|
|
80025
80025
|
"data-testid": "user-details-label-transient-user",
|
|
80026
80026
|
icon: /* @__PURE__ */ r(Ni, {}),
|
|
@@ -80457,7 +80457,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
80457
80457
|
).map((N) => /* @__PURE__ */ C(et, { value: N, children: [
|
|
80458
80458
|
N,
|
|
80459
80459
|
n.includes(N) && /* @__PURE__ */ r(
|
|
80460
|
-
|
|
80460
|
+
Kt,
|
|
80461
80461
|
{
|
|
80462
80462
|
color: "blue",
|
|
80463
80463
|
isCompact: !0,
|
|
@@ -80904,7 +80904,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
80904
80904
|
fieldId: "ssfStreamStatusIndicator",
|
|
80905
80905
|
children: [
|
|
80906
80906
|
!t && /* @__PURE__ */ r(
|
|
80907
|
-
|
|
80907
|
+
Kt,
|
|
80908
80908
|
{
|
|
80909
80909
|
color: "grey",
|
|
80910
80910
|
icon: /* @__PURE__ */ r(Hr, {}),
|
|
@@ -80913,7 +80913,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
80913
80913
|
}
|
|
80914
80914
|
),
|
|
80915
80915
|
t?.status === "enabled" && /* @__PURE__ */ r(
|
|
80916
|
-
|
|
80916
|
+
Kt,
|
|
80917
80917
|
{
|
|
80918
80918
|
color: "green",
|
|
80919
80919
|
icon: /* @__PURE__ */ r(Bs, {}),
|
|
@@ -80922,7 +80922,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
80922
80922
|
}
|
|
80923
80923
|
),
|
|
80924
80924
|
t?.status === "paused" && /* @__PURE__ */ r(
|
|
80925
|
-
|
|
80925
|
+
Kt,
|
|
80926
80926
|
{
|
|
80927
80927
|
color: "orange",
|
|
80928
80928
|
icon: /* @__PURE__ */ r(V3, {}),
|
|
@@ -80931,7 +80931,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
80931
80931
|
}
|
|
80932
80932
|
),
|
|
80933
80933
|
t?.status === "disabled" && /* @__PURE__ */ r(
|
|
80934
|
-
|
|
80934
|
+
Kt,
|
|
80935
80935
|
{
|
|
80936
80936
|
color: "red",
|
|
80937
80937
|
icon: /* @__PURE__ */ r(nm, {}),
|
|
@@ -80940,7 +80940,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
80940
80940
|
}
|
|
80941
80941
|
),
|
|
80942
80942
|
t && !t.status && /* @__PURE__ */ r(
|
|
80943
|
-
|
|
80943
|
+
Kt,
|
|
80944
80944
|
{
|
|
80945
80945
|
color: "blue",
|
|
80946
80946
|
icon: /* @__PURE__ */ r(Ni, {}),
|
|
@@ -81492,7 +81492,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
81492
81492
|
).map((Se) => /* @__PURE__ */ C(et, { value: Se, children: [
|
|
81493
81493
|
Se,
|
|
81494
81494
|
i.includes(Se) && /* @__PURE__ */ r(
|
|
81495
|
-
|
|
81495
|
+
Kt,
|
|
81496
81496
|
{
|
|
81497
81497
|
color: "blue",
|
|
81498
81498
|
isCompact: !0,
|
|
@@ -81966,7 +81966,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
81966
81966
|
}
|
|
81967
81967
|
),
|
|
81968
81968
|
children: /* @__PURE__ */ r(
|
|
81969
|
-
|
|
81969
|
+
Kt,
|
|
81970
81970
|
{
|
|
81971
81971
|
"data-testid": "ssfStreamManagedBy",
|
|
81972
81972
|
color: t.managedBy === "KEYCLOAK" ? "blue" : "grey",
|
|
@@ -82196,7 +82196,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
82196
82196
|
),
|
|
82197
82197
|
children: [
|
|
82198
82198
|
t.status === "enabled" && /* @__PURE__ */ r(
|
|
82199
|
-
|
|
82199
|
+
Kt,
|
|
82200
82200
|
{
|
|
82201
82201
|
color: "green",
|
|
82202
82202
|
icon: /* @__PURE__ */ r(Bs, {}),
|
|
@@ -82205,7 +82205,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
82205
82205
|
}
|
|
82206
82206
|
),
|
|
82207
82207
|
t.status === "paused" && /* @__PURE__ */ r(
|
|
82208
|
-
|
|
82208
|
+
Kt,
|
|
82209
82209
|
{
|
|
82210
82210
|
color: "orange",
|
|
82211
82211
|
icon: /* @__PURE__ */ r(V3, {}),
|
|
@@ -82214,7 +82214,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
82214
82214
|
}
|
|
82215
82215
|
),
|
|
82216
82216
|
t.status === "disabled" && /* @__PURE__ */ r(
|
|
82217
|
-
|
|
82217
|
+
Kt,
|
|
82218
82218
|
{
|
|
82219
82219
|
color: "red",
|
|
82220
82220
|
icon: /* @__PURE__ */ r(nm, {}),
|
|
@@ -82223,7 +82223,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
82223
82223
|
}
|
|
82224
82224
|
),
|
|
82225
82225
|
!t.status && /* @__PURE__ */ r(
|
|
82226
|
-
|
|
82226
|
+
Kt,
|
|
82227
82227
|
{
|
|
82228
82228
|
color: "blue",
|
|
82229
82229
|
icon: /* @__PURE__ */ r(Ni, {}),
|
|
@@ -82612,7 +82612,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
82612
82612
|
).map((fe) => /* @__PURE__ */ C(et, { value: fe, children: [
|
|
82613
82613
|
fe,
|
|
82614
82614
|
i.includes(fe) && /* @__PURE__ */ r(
|
|
82615
|
-
|
|
82615
|
+
Kt,
|
|
82616
82616
|
{
|
|
82617
82617
|
color: "blue",
|
|
82618
82618
|
isCompact: !0,
|
|
@@ -82834,7 +82834,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
82834
82834
|
label: t("ssfSubjectStatusLabel"),
|
|
82835
82835
|
fieldId: "ssfSubjectStatus",
|
|
82836
82836
|
children: /* @__PURE__ */ r(
|
|
82837
|
-
|
|
82837
|
+
Kt,
|
|
82838
82838
|
{
|
|
82839
82839
|
color: u.variant === "success" ? "green" : u.variant === "danger" ? "red" : "grey",
|
|
82840
82840
|
icon: u.variant === "success" ? /* @__PURE__ */ r(Bs, {}) : u.variant === "danger" ? /* @__PURE__ */ r(nm, {}) : /* @__PURE__ */ r(Ni, {}),
|
|
@@ -83409,7 +83409,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
83409
83409
|
{
|
|
83410
83410
|
name: "ipAddress",
|
|
83411
83411
|
displayKey: "ipAddress",
|
|
83412
|
-
transforms: [
|
|
83412
|
+
transforms: [qt(10)]
|
|
83413
83413
|
},
|
|
83414
83414
|
...t ? [] : [
|
|
83415
83415
|
{
|
|
@@ -83458,7 +83458,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
83458
83458
|
"data-testid": "bearer-only-explainer-tooltip",
|
|
83459
83459
|
content: o("explainBearerOnly"),
|
|
83460
83460
|
children: /* @__PURE__ */ r(
|
|
83461
|
-
|
|
83461
|
+
Kt,
|
|
83462
83462
|
{
|
|
83463
83463
|
"data-testid": "bearer-only-explainer-label",
|
|
83464
83464
|
icon: /* @__PURE__ */ r(Ni, {}),
|
|
@@ -83466,8 +83466,8 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
83466
83466
|
}
|
|
83467
83467
|
)
|
|
83468
83468
|
}
|
|
83469
|
-
) : /* @__PURE__ */ r(
|
|
83470
|
-
}, [a, o]), { hasAccess: u } =
|
|
83469
|
+
) : /* @__PURE__ */ r(Kt, { children: f }) }];
|
|
83470
|
+
}, [a, o]), { hasAccess: u } = Gt(), p = u("manage-clients") || a.access?.configure, m = [
|
|
83471
83471
|
/* @__PURE__ */ r(mt, { onClick: i, children: o("downloadAdapterConfig") }, "download"),
|
|
83472
83472
|
/* @__PURE__ */ r(mt, { onClick: () => z4(a), children: o("export") }, "export"),
|
|
83473
83473
|
...!op(a) && p ? [
|
|
@@ -83504,7 +83504,7 @@ const efe = Qe(() => Promise.resolve().then(() => Sb)), wU = {
|
|
|
83504
83504
|
] });
|
|
83505
83505
|
};
|
|
83506
83506
|
function Sfe() {
|
|
83507
|
-
const { adminClient: e } = _e(), { t } = Y(), { addAlert: n, addError: a } = De(), { realm: i, realmRepresentation: s } = Ne(), { hasAccess: o } =
|
|
83507
|
+
const { adminClient: e } = _e(), { t } = Y(), { addAlert: n, addError: a } = De(), { realm: i, realmRepresentation: s } = Ne(), { hasAccess: o } = Gt(), l = Wn(), c = o("manage-authorization"), d = o("view-authorization"), u = o("manage-clients"), p = o("view-clients"), m = o("view-users"), f = l(Ot.AdminFineGrainedAuthz) && (c || d), g = vt(), [h, b] = Tt(), [y, v] = Tt(), w = ot(), { clientId: T } = un(), [S, I] = P(0), k = () => I(S + 1), O = Lm(T), _ = at({
|
|
83508
83508
|
control: w.control,
|
|
83509
83509
|
name: "clientAuthenticatorType",
|
|
83510
83510
|
defaultValue: "client-secret"
|
|
@@ -84152,7 +84152,7 @@ const Sb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84152
84152
|
}
|
|
84153
84153
|
) : "—";
|
|
84154
84154
|
}, Rfe = () => {
|
|
84155
|
-
const { t: e } = Y(), { realm: t } = Ne(), { hasAccess: n } =
|
|
84155
|
+
const { t: e } = Y(), { realm: t } = Ne(), { hasAccess: n } = Gt();
|
|
84156
84156
|
return n("manage-clients") ? /* @__PURE__ */ C(re, { children: [
|
|
84157
84157
|
/* @__PURE__ */ r(Ye, { children: /* @__PURE__ */ r(
|
|
84158
84158
|
Z,
|
|
@@ -84174,7 +84174,7 @@ const Sb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84174
84174
|
] }) : /* @__PURE__ */ r("span", {});
|
|
84175
84175
|
};
|
|
84176
84176
|
function Nfe() {
|
|
84177
|
-
const { adminClient: e } = _e(), { t } = Y(), { addAlert: n, addError: a } = De(), { realm: i } = Ne(), [s, o] = P(0), l = () => o((/* @__PURE__ */ new Date()).getTime()), [c, d] = P(), { hasAccess: u } =
|
|
84177
|
+
const { adminClient: e } = _e(), { t } = Y(), { addAlert: n, addError: a } = De(), { realm: i } = Ne(), [s, o] = P(0), l = () => o((/* @__PURE__ */ new Date()).getTime()), [c, d] = P(), { hasAccess: u } = Gt(), p = u("manage-clients"), m = async (w, T, S) => {
|
|
84178
84178
|
const I = {
|
|
84179
84179
|
first: w,
|
|
84180
84180
|
max: T
|
|
@@ -84252,31 +84252,31 @@ function Nfe() {
|
|
|
84252
84252
|
{
|
|
84253
84253
|
name: "clientId",
|
|
84254
84254
|
displayKey: "clientId",
|
|
84255
|
-
transforms: [
|
|
84255
|
+
transforms: [qt(20)],
|
|
84256
84256
|
cellRenderer: Afe
|
|
84257
84257
|
},
|
|
84258
84258
|
{
|
|
84259
84259
|
name: "clientName",
|
|
84260
84260
|
displayKey: "clientName",
|
|
84261
|
-
transforms: [
|
|
84261
|
+
transforms: [qt(20)],
|
|
84262
84262
|
cellRenderer: kfe
|
|
84263
84263
|
},
|
|
84264
84264
|
{
|
|
84265
84265
|
name: "protocol",
|
|
84266
84266
|
displayKey: "type",
|
|
84267
|
-
transforms: [
|
|
84267
|
+
transforms: [qt(10)],
|
|
84268
84268
|
cellRenderer: (w) => tu(t, w.protocol ?? "openid-connect")
|
|
84269
84269
|
},
|
|
84270
84270
|
{
|
|
84271
84271
|
name: "description",
|
|
84272
84272
|
displayKey: "description",
|
|
84273
|
-
transforms: [
|
|
84273
|
+
transforms: [qt(30)],
|
|
84274
84274
|
cellRenderer: xfe
|
|
84275
84275
|
},
|
|
84276
84276
|
{
|
|
84277
84277
|
name: "baseUrl",
|
|
84278
84278
|
displayKey: "homeURL",
|
|
84279
|
-
transforms: [
|
|
84279
|
+
transforms: [qt(20)],
|
|
84280
84280
|
cellRenderer: Ofe
|
|
84281
84281
|
}
|
|
84282
84282
|
]
|
|
@@ -84327,7 +84327,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84327
84327
|
}
|
|
84328
84328
|
);
|
|
84329
84329
|
}, nu = () => Pi(RU), Dfe = () => {
|
|
84330
|
-
const { t: e } = Y(), { clear: t, remove: n, subGroups: a } = nu(), { realm: i } = Ne(), { hasAccess: s } =
|
|
84330
|
+
const { t: e } = Y(), { clear: t, remove: n, subGroups: a } = nu(), { realm: i } = Ne(), { hasAccess: s } = Gt(), o = tl(), l = s("query-groups", "view-users") || s("manage-users", "query-groups"), c = Br().isOrgGroups(), d = Br().getOrgId(), u = c ? `/${i}/organizations/${d}/groups` : `/${i}/groups`;
|
|
84331
84331
|
return dt(() => {
|
|
84332
84332
|
const { pathname: p } = o;
|
|
84333
84333
|
(!p.includes("/groups") || p.endsWith("/groups")) && t();
|
|
@@ -84459,21 +84459,21 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84459
84459
|
access: "manage-identity-providers",
|
|
84460
84460
|
breadcrumb: (e) => e("addSamlProvider")
|
|
84461
84461
|
}
|
|
84462
|
-
}, Zfe = Qe(() => import("./AddSpiffeConnect-
|
|
84462
|
+
}, Zfe = Qe(() => import("./AddSpiffeConnect-B6_E1i6Z.js")), Qfe = {
|
|
84463
84463
|
path: "/:realm/identity-providers/spiffe/add",
|
|
84464
84464
|
element: /* @__PURE__ */ r(Zfe, {}),
|
|
84465
84465
|
handle: {
|
|
84466
84466
|
access: "manage-identity-providers",
|
|
84467
84467
|
breadcrumb: (e) => e("addSpiffeProvider")
|
|
84468
84468
|
}
|
|
84469
|
-
}, Jfe = Qe(() => import("./AddKubernetesConnect-
|
|
84469
|
+
}, Jfe = Qe(() => import("./AddKubernetesConnect-D4xTogVo.js")), ehe = {
|
|
84470
84470
|
path: "/:realm/identity-providers/kubernetes/add",
|
|
84471
84471
|
element: /* @__PURE__ */ r(Jfe, {}),
|
|
84472
84472
|
handle: {
|
|
84473
84473
|
access: "manage-identity-providers",
|
|
84474
84474
|
breadcrumb: (e) => e("addKubernetesProvider")
|
|
84475
84475
|
}
|
|
84476
|
-
}, the = Qe(() => import("./AddDefaultTrust-
|
|
84476
|
+
}, the = Qe(() => import("./AddDefaultTrust-BvsWwMDh.js")), nhe = {
|
|
84477
84477
|
path: "/:realm/identity-providers/default-trust/add",
|
|
84478
84478
|
element: /* @__PURE__ */ r(the, {}),
|
|
84479
84479
|
handle: {
|
|
@@ -84518,7 +84518,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84518
84518
|
}
|
|
84519
84519
|
}, nD = (e) => ({
|
|
84520
84520
|
pathname: ut(HU.path, e)
|
|
84521
|
-
}), ohe = Qe(() => import("./AddOAuth2-
|
|
84521
|
+
}), ohe = Qe(() => import("./AddOAuth2-BDmTZ-YA.js")), lhe = {
|
|
84522
84522
|
path: "/:realm/identity-providers/oauth2/add",
|
|
84523
84523
|
element: /* @__PURE__ */ r(ohe, {}),
|
|
84524
84524
|
handle: {
|
|
@@ -84526,7 +84526,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84526
84526
|
breadcrumb: (e) => e("addOAuth2Provider")
|
|
84527
84527
|
}
|
|
84528
84528
|
}, che = Qe(
|
|
84529
|
-
() => import("./AddJWTAuthorizationGrant-
|
|
84529
|
+
() => import("./AddJWTAuthorizationGrant-ByBPPwyK.js")
|
|
84530
84530
|
), dhe = {
|
|
84531
84531
|
path: "/:realm/identity-providers/jwt-authorization-grant/add",
|
|
84532
84532
|
element: /* @__PURE__ */ r(che, {}),
|
|
@@ -84548,7 +84548,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84548
84548
|
HU,
|
|
84549
84549
|
PU,
|
|
84550
84550
|
lhe
|
|
84551
|
-
], phe = Qe(() => import("./NewOrganization-
|
|
84551
|
+
], phe = Qe(() => import("./NewOrganization-D4X_bhyD.js")), $U = {
|
|
84552
84552
|
path: "/:realm/organizations/new",
|
|
84553
84553
|
element: /* @__PURE__ */ r(phe, {}),
|
|
84554
84554
|
handle: {
|
|
@@ -84574,7 +84574,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84574
84574
|
$U,
|
|
84575
84575
|
j5
|
|
84576
84576
|
], ghe = Qe(
|
|
84577
|
-
() => import("./PermissionConfigurationDetails-
|
|
84577
|
+
() => import("./PermissionConfigurationDetails-UjUwrvYu.js")
|
|
84578
84578
|
), jU = {
|
|
84579
84579
|
path: "/:realm/permissions/:permissionClientId/permission/new/:resourceType",
|
|
84580
84580
|
element: /* @__PURE__ */ r(ghe, {}),
|
|
@@ -84585,7 +84585,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84585
84585
|
}, e0 = (e) => ({
|
|
84586
84586
|
pathname: ut(jU.path, e)
|
|
84587
84587
|
}), bhe = Qe(
|
|
84588
|
-
() => import("./PermissionConfigurationDetails-
|
|
84588
|
+
() => import("./PermissionConfigurationDetails-UjUwrvYu.js")
|
|
84589
84589
|
), zU = {
|
|
84590
84590
|
path: "/:realm/permissions/:permissionClientId/permission/:permissionId/:resourceType",
|
|
84591
84591
|
element: /* @__PURE__ */ r(bhe, {}),
|
|
@@ -84688,7 +84688,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84688
84688
|
}
|
|
84689
84689
|
}, Dhe = (e) => ({
|
|
84690
84690
|
pathname: ut(XU.path, e)
|
|
84691
|
-
}), Phe = Qe(() => import("./ExecutorForm-
|
|
84691
|
+
}), Phe = Qe(() => import("./ExecutorForm-n3e9Qvrl.js")), ZU = {
|
|
84692
84692
|
path: "/:realm/realm-settings/client-policies/:profileName/add-executor",
|
|
84693
84693
|
element: /* @__PURE__ */ r(Phe, {}),
|
|
84694
84694
|
handle: {
|
|
@@ -84755,7 +84755,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84755
84755
|
}
|
|
84756
84756
|
}, zhe = (e) => ({
|
|
84757
84757
|
pathname: ut(aB.path, e)
|
|
84758
|
-
}), Ghe = Qe(() => import("./ExecutorForm-
|
|
84758
|
+
}), Ghe = Qe(() => import("./ExecutorForm-n3e9Qvrl.js")), rB = {
|
|
84759
84759
|
path: "/:realm/realm-settings/client-policies/:profileName/edit-profile/:executorName",
|
|
84760
84760
|
element: /* @__PURE__ */ r(Ghe, {}),
|
|
84761
84761
|
handle: {
|
|
@@ -84833,7 +84833,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84833
84833
|
oB,
|
|
84834
84834
|
tB,
|
|
84835
84835
|
lB
|
|
84836
|
-
], ege = Qe(() => import("./RealmSection-
|
|
84836
|
+
], ege = Qe(() => import("./RealmSection-BTCX9rHA.js")), dB = {
|
|
84837
84837
|
path: "/:realm/realms",
|
|
84838
84838
|
element: /* @__PURE__ */ r(ege, {}),
|
|
84839
84839
|
handle: {
|
|
@@ -84975,7 +84975,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84975
84975
|
y1,
|
|
84976
84976
|
TU,
|
|
84977
84977
|
Qk
|
|
84978
|
-
], _ge = Qe(() => import("./WorkflowsSection-
|
|
84978
|
+
], _ge = Qe(() => import("./WorkflowsSection-DRU3QF93.js")), vB = {
|
|
84979
84979
|
path: "/:realm/workflows",
|
|
84980
84980
|
element: /* @__PURE__ */ r(_ge, {}),
|
|
84981
84981
|
handle: {
|
|
@@ -84984,7 +84984,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
84984
84984
|
}
|
|
84985
84985
|
}, NSe = (e) => ({
|
|
84986
84986
|
pathname: ut(vB.path, e)
|
|
84987
|
-
}), Ige = Qe(() => import("./WorkflowDetailForm-
|
|
84987
|
+
}), Ige = Qe(() => import("./WorkflowDetailForm-d5rClboG.js")), EB = {
|
|
84988
84988
|
path: "/:realm/workflows/:mode/:id",
|
|
84989
84989
|
element: /* @__PURE__ */ r(Ige, {}),
|
|
84990
84990
|
handle: {
|
|
@@ -85205,7 +85205,7 @@ const OU = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
85205
85205
|
/* @__PURE__ */ r(Qn, {}),
|
|
85206
85206
|
/* @__PURE__ */ r(lM, { children: /* @__PURE__ */ C(Kn, { children: [
|
|
85207
85207
|
/* @__PURE__ */ r(Rt, { className: "keycloak--keycloak-card__footer", children: i && i }),
|
|
85208
|
-
/* @__PURE__ */ r(Rt, { children: n && /* @__PURE__ */ r(
|
|
85208
|
+
/* @__PURE__ */ r(Rt, { children: n && /* @__PURE__ */ r(Kt, { color: a || "gray", children: n }) })
|
|
85209
85209
|
] }) })
|
|
85210
85210
|
] });
|
|
85211
85211
|
}, CB = ({
|
|
@@ -85469,7 +85469,7 @@ function Pge({
|
|
|
85469
85469
|
createAttributeSearchChips: b,
|
|
85470
85470
|
searchUserWithAttributes: y
|
|
85471
85471
|
}) {
|
|
85472
|
-
const { t: v } = Y(), [w, T] = P(!1), { hasAccess: S } =
|
|
85472
|
+
const { t: v } = Y(), [w, T] = P(!1), { hasAccess: S } = Gt(), I = S("query-users"), k = () => /* @__PURE__ */ r(Ye, { children: /* @__PURE__ */ C(tn, { children: [
|
|
85473
85473
|
/* @__PURE__ */ r(bt, { children: /* @__PURE__ */ r(
|
|
85474
85474
|
CB,
|
|
85475
85475
|
{
|
|
@@ -85614,8 +85614,8 @@ const Mge = (e) => {
|
|
|
85614
85614
|
}, Fge = ({ user: e }) => {
|
|
85615
85615
|
const { t } = Y();
|
|
85616
85616
|
return /* @__PURE__ */ C(re, { children: [
|
|
85617
|
-
!e.enabled && /* @__PURE__ */ r(
|
|
85618
|
-
e.bruteForceStatus?.disabled && /* @__PURE__ */ r(
|
|
85617
|
+
!e.enabled && /* @__PURE__ */ r(Kt, { color: "red", icon: /* @__PURE__ */ r(Ni, {}), children: t("disabled") }),
|
|
85618
|
+
e.bruteForceStatus?.disabled && /* @__PURE__ */ r(Kt, { color: "orange", icon: /* @__PURE__ */ r(yg, {}), children: t("temporaryLocked") })
|
|
85619
85619
|
] });
|
|
85620
85620
|
}, Uge = (e) => {
|
|
85621
85621
|
const { t } = Y();
|
|
@@ -85944,10 +85944,10 @@ const jge = () => {
|
|
|
85944
85944
|
return /* @__PURE__ */ C(Ss, { className: "pf-v5-u-mb-sm", children: [
|
|
85945
85945
|
e.name,
|
|
85946
85946
|
" ",
|
|
85947
|
-
/* @__PURE__ */ r(
|
|
85947
|
+
/* @__PURE__ */ r(Kt, { color: n, children: t(e.type.toLowerCase()) }),
|
|
85948
85948
|
e.deprecated && e.type !== Oo.Deprecated && /* @__PURE__ */ C(re, { children: [
|
|
85949
85949
|
" ",
|
|
85950
|
-
/* @__PURE__ */ r(
|
|
85950
|
+
/* @__PURE__ */ r(Kt, { color: "grey", children: t("deprecated") })
|
|
85951
85951
|
] })
|
|
85952
85952
|
] });
|
|
85953
85953
|
}, Gge = () => {
|
|
@@ -86268,7 +86268,7 @@ const Yge = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
86268
86268
|
toggleDelete: t,
|
|
86269
86269
|
kebabDisabled: n
|
|
86270
86270
|
}) => {
|
|
86271
|
-
const { t: a } = Y(), { currentGroup: i } = nu(), { hasAccess: s } =
|
|
86271
|
+
const { t: a } = Y(), { currentGroup: i } = nu(), { hasAccess: s } = Gt(), o = s("manage-users") || i()?.access?.manage, [l, c] = Tt();
|
|
86272
86272
|
return o ? /* @__PURE__ */ C(re, { children: [
|
|
86273
86273
|
/* @__PURE__ */ r(Ye, { children: /* @__PURE__ */ r(
|
|
86274
86274
|
Z,
|
|
@@ -86605,7 +86605,7 @@ const Jge = ({
|
|
|
86605
86605
|
refresh: e,
|
|
86606
86606
|
canViewDetails: t
|
|
86607
86607
|
}) => {
|
|
86608
|
-
const { adminClient: n } = _e(), a = Br().isOrgGroups(), i = Br().getOrgId(), { t: s } = Y(), { realm: o } = Ne(), l = vt(), { hasAccess: c } =
|
|
86608
|
+
const { adminClient: n } = _e(), a = Br().isOrgGroups(), i = Br().getOrgId(), { t: s } = Y(), { realm: o } = Ne(), l = vt(), { hasAccess: c } = Gt(), [d, u] = P(), { subGroups: p, setSubGroups: m, clear: f } = nu(), [g, h] = P(""), [b, y] = P(20), [v, w] = P(0), T = cn(0), S = cn(20), I = cn(""), [k, O] = P(0), [_, x] = P(!1), [D, R] = P(), [N, A] = P(0), [M, H] = P(0), U = () => {
|
|
86609
86609
|
H(M + 1), e();
|
|
86610
86610
|
}, j = ($, V) => {
|
|
86611
86611
|
const G = $.subGroupCount;
|
|
@@ -86832,7 +86832,7 @@ const Jge = ({
|
|
|
86832
86832
|
}
|
|
86833
86833
|
);
|
|
86834
86834
|
}, dD = ({ refresh: e }) => {
|
|
86835
|
-
const t = Br(), { t: n } = Y(), [a, i] = P([]), [s, o] = P(), [l, c] = Tt(), [d, u] = P(), [p, m] = Tt(), [f, g] = P(), { currentGroup: h } = nu(), [b, y] = P(0), v = () => y(b + 1), [w, T] = P(), S = tl(), I = Cb(S.pathname), { hasAccess: k } =
|
|
86835
|
+
const t = Br(), { t: n } = Y(), [a, i] = P([]), [s, o] = P(), [l, c] = Tt(), [d, u] = P(), [p, m] = Tt(), [f, g] = P(), { currentGroup: h } = nu(), [b, y] = P(0), v = () => y(b + 1), [w, T] = P(), S = tl(), I = Cb(S.pathname), { hasAccess: k } = Gt(), O = k("manage-users") || h()?.access?.manage, _ = async (x, D) => {
|
|
86836
86836
|
let R;
|
|
86837
86837
|
if (I) {
|
|
86838
86838
|
const N = {
|
|
@@ -87000,7 +87000,7 @@ const Jge = ({
|
|
|
87000
87000
|
return /* @__PURE__ */ C(re, { children: [
|
|
87001
87001
|
e.username,
|
|
87002
87002
|
" ",
|
|
87003
|
-
!e.enabled && /* @__PURE__ */ r(
|
|
87003
|
+
!e.enabled && /* @__PURE__ */ r(Kt, { color: "red", icon: /* @__PURE__ */ r(Ni, {}), children: t("disabled") })
|
|
87004
87004
|
] });
|
|
87005
87005
|
}, _1 = ({
|
|
87006
87006
|
membersQuery: e,
|
|
@@ -87195,13 +87195,13 @@ const Jge = ({
|
|
|
87195
87195
|
name: "groupMembership",
|
|
87196
87196
|
displayKey: "groupMembership",
|
|
87197
87197
|
cellRenderer: (g) => g.name || "-",
|
|
87198
|
-
transforms: [
|
|
87198
|
+
transforms: [qt(40)]
|
|
87199
87199
|
},
|
|
87200
87200
|
{
|
|
87201
87201
|
name: "path",
|
|
87202
87202
|
displayKey: "path",
|
|
87203
87203
|
cellRenderer: (g) => /* @__PURE__ */ r(jw, { group: g }),
|
|
87204
|
-
transforms: [
|
|
87204
|
+
transforms: [qt(45)]
|
|
87205
87205
|
}
|
|
87206
87206
|
],
|
|
87207
87207
|
emptyState: /* @__PURE__ */ r(
|
|
@@ -87222,10 +87222,10 @@ const Jge = ({
|
|
|
87222
87222
|
return /* @__PURE__ */ C(Xe, { to: zs({ realm: t, id: e.id, tab: "settings" }), children: [
|
|
87223
87223
|
e.username,
|
|
87224
87224
|
" ",
|
|
87225
|
-
!e.enabled && /* @__PURE__ */ r(
|
|
87225
|
+
!e.enabled && /* @__PURE__ */ r(Kt, { color: "red", icon: /* @__PURE__ */ r(Ni, {}), children: n("disabled") })
|
|
87226
87226
|
] }, e.id);
|
|
87227
87227
|
}, obe = () => {
|
|
87228
|
-
const { adminClient: e } = _e(), t = Br(), { t: n } = Y(), { addAlert: a, addError: i } = De(), s = tl(), o = Cb(s.pathname), [l, c] = P(!1), { currentGroup: d } = nu(), [u, p] = P(), [m, f] = P(!1), [g, h] = P(!1), [b, y] = P([]), [v, w] = P(), [T, S] = Tt(), { hasAccess: I } =
|
|
87228
|
+
const { adminClient: e } = _e(), t = Br(), { t: n } = Y(), { addAlert: a, addError: i } = De(), s = tl(), o = Cb(s.pathname), [l, c] = P(!1), { currentGroup: d } = nu(), [u, p] = P(), [m, f] = P(!1), [g, h] = P(!1), [b, y] = P([]), [v, w] = P(), [T, S] = Tt(), { hasAccess: I } = Gt();
|
|
87229
87229
|
Ve(() => t.findOne({ id: d().id }), p, []);
|
|
87230
87230
|
const k = I("manage-users") || u?.access?.manageMembership, [O, _] = P(0), x = () => _((/* @__PURE__ */ new Date()).getTime()), D = async (N, A = 0) => {
|
|
87231
87231
|
let M = [];
|
|
@@ -87455,7 +87455,7 @@ const Jge = ({
|
|
|
87455
87455
|
] }) : /* @__PURE__ */ r(Mt, {});
|
|
87456
87456
|
};
|
|
87457
87457
|
function lbe({ orgId: e } = {}) {
|
|
87458
|
-
const { adminClient: t } = _e(), { t: n } = Y(), [a, i] = P(0), { subGroups: s, setSubGroups: o, currentGroup: l } = nu(), { realm: c } = Ne(), [d, u] = P(), [p, m] = Tt(), f = vt(), g = tl(), h = Cb(g.pathname), [b, y] = Tt(!0), [v, w] = P(0), T = () => w(v + 1), { hasAccess: S, hasSomeAccess: I } =
|
|
87458
|
+
const { adminClient: t } = _e(), { t: n } = Y(), [a, i] = P(0), { subGroups: s, setSubGroups: o, currentGroup: l } = nu(), { realm: c } = Ne(), [d, u] = P(), [p, m] = Tt(), f = vt(), g = tl(), h = Cb(g.pathname), [b, y] = Tt(!0), [v, w] = P(0), T = () => w(v + 1), { hasAccess: S, hasSomeAccess: I } = Gt(), k = Wn(), O = e ? t.organizations.groups(e) : t.groups, _ = O.isOrgGroups(), x = k(Ot.AdminFineGrainedAuthz) && S("manage-authorization", "manage-users", "manage-clients"), D = S("manage-users") || l()?.access?.manage || !1, R = I("view-users", "manage-users"), N = S("query-groups", "view-users") || S("manage-users", "query-groups"), A = S("view-users") || l()?.access?.viewMembers || l()?.access?.manageMembers, [M, H] = P("adminEvents");
|
|
87459
87459
|
return Ve(
|
|
87460
87460
|
async () => {
|
|
87461
87461
|
const U = kB(g.pathname);
|
|
@@ -89409,47 +89409,49 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89409
89409
|
isSAML: t,
|
|
89410
89410
|
isOAuth2: n
|
|
89411
89411
|
}) => {
|
|
89412
|
-
const { adminClient: a } = _e(), { t: i } = Y(), {
|
|
89413
|
-
control:
|
|
89414
|
-
register:
|
|
89415
|
-
setValue:
|
|
89416
|
-
formState: { errors:
|
|
89417
|
-
} = je(),
|
|
89418
|
-
control:
|
|
89412
|
+
const { adminClient: a } = _e(), { t: i } = Y(), { hasAccess: s } = Gt(), {
|
|
89413
|
+
control: o,
|
|
89414
|
+
register: l,
|
|
89415
|
+
setValue: c,
|
|
89416
|
+
formState: { errors: d }
|
|
89417
|
+
} = je(), p = at({
|
|
89418
|
+
control: o,
|
|
89419
89419
|
name: "config.filteredByClaim",
|
|
89420
89420
|
defaultValue: "false"
|
|
89421
|
-
}) === "true",
|
|
89421
|
+
}) === "true", m = Wn(), f = m(Ot.TransientUsers), g = m(
|
|
89422
89422
|
Ot.ClientAuthFederated
|
|
89423
|
-
),
|
|
89423
|
+
), h = m(Ot.JWTAuthorizationGrant), b = m(
|
|
89424
89424
|
Ot.IdentityBrokeringAPIV1
|
|
89425
|
-
),
|
|
89426
|
-
control:
|
|
89425
|
+
), v = at({
|
|
89426
|
+
control: o,
|
|
89427
89427
|
name: "config.doNotStoreUsers",
|
|
89428
89428
|
defaultValue: "false"
|
|
89429
|
-
}) === "false",
|
|
89430
|
-
control:
|
|
89429
|
+
}) === "false", w = at({
|
|
89430
|
+
control: o,
|
|
89431
89431
|
name: "config.jwtAuthorizationGrantEnabled"
|
|
89432
|
-
}),
|
|
89433
|
-
control:
|
|
89432
|
+
}), T = at({
|
|
89433
|
+
control: o,
|
|
89434
89434
|
name: "config.supportsClientAssertions"
|
|
89435
|
-
}), [
|
|
89435
|
+
}), [S, I] = P(!1), k = (e || t || n) && b;
|
|
89436
89436
|
return Ve(
|
|
89437
89437
|
async () => {
|
|
89438
|
-
|
|
89439
|
-
|
|
89440
|
-
)
|
|
89441
|
-
|
|
89442
|
-
|
|
89438
|
+
if (!k)
|
|
89439
|
+
return !1;
|
|
89440
|
+
if (!s("view-clients"))
|
|
89441
|
+
return !0;
|
|
89442
|
+
const O = (await a.clients.find({ clientId: "broker" })).find((x) => x.clientId === "broker");
|
|
89443
|
+
return O?.id ? !!await a.clients.findRole({
|
|
89444
|
+
id: O.id,
|
|
89443
89445
|
roleName: "read-token"
|
|
89444
89446
|
}) : !1;
|
|
89445
89447
|
},
|
|
89446
|
-
(
|
|
89447
|
-
|
|
89448
|
+
(O) => {
|
|
89449
|
+
I(O);
|
|
89448
89450
|
},
|
|
89449
|
-
[]
|
|
89451
|
+
[k]
|
|
89450
89452
|
), /* @__PURE__ */ C(re, { children: [
|
|
89451
89453
|
!e && !t && !n && /* @__PURE__ */ r(Dd, { field: "config.defaultScope", label: "scopes" }),
|
|
89452
|
-
|
|
89454
|
+
m(Ot.IdentityBrokeringAPIV2) && /* @__PURE__ */ r(
|
|
89453
89455
|
Mn,
|
|
89454
89456
|
{
|
|
89455
89457
|
field: "config.storeTokenInSession",
|
|
@@ -89459,7 +89461,7 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89459
89461
|
}
|
|
89460
89462
|
),
|
|
89461
89463
|
/* @__PURE__ */ r(Mn, { field: "storeToken", label: "storeTokens", fieldType: "boolean" }),
|
|
89462
|
-
|
|
89464
|
+
k && S && /* @__PURE__ */ r(
|
|
89463
89465
|
Mn,
|
|
89464
89466
|
{
|
|
89465
89467
|
field: "addReadTokenRoleOnCreate",
|
|
@@ -89501,10 +89503,10 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89501
89503
|
name: "config.showInAccountConsole",
|
|
89502
89504
|
label: i("showInAccountConsole"),
|
|
89503
89505
|
labelIcon: i("showInAccountConsoleHelp"),
|
|
89504
|
-
options: bD.map((
|
|
89505
|
-
key:
|
|
89506
|
+
options: bD.map((O) => ({
|
|
89507
|
+
key: O,
|
|
89506
89508
|
value: i(
|
|
89507
|
-
`showInAccountConsole.${
|
|
89509
|
+
`showInAccountConsole.${O.toLocaleLowerCase()}`
|
|
89508
89510
|
)
|
|
89509
89511
|
})),
|
|
89510
89512
|
controller: {
|
|
@@ -89518,22 +89520,22 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89518
89520
|
{
|
|
89519
89521
|
name: "config.filteredByClaim",
|
|
89520
89522
|
defaultValue: "false",
|
|
89521
|
-
control:
|
|
89522
|
-
render: ({ field:
|
|
89523
|
+
control: o,
|
|
89524
|
+
render: ({ field: O }) => /* @__PURE__ */ r(
|
|
89523
89525
|
pt,
|
|
89524
89526
|
{
|
|
89525
89527
|
id: "filteredByClaim",
|
|
89526
89528
|
label: i("on"),
|
|
89527
89529
|
labelOff: i("off"),
|
|
89528
|
-
isChecked:
|
|
89529
|
-
onChange: (
|
|
89530
|
-
|
|
89530
|
+
isChecked: O.value === "true",
|
|
89531
|
+
onChange: (_, x) => {
|
|
89532
|
+
O.onChange(x.toString());
|
|
89531
89533
|
}
|
|
89532
89534
|
}
|
|
89533
89535
|
)
|
|
89534
89536
|
}
|
|
89535
89537
|
) }),
|
|
89536
|
-
(!t || e) &&
|
|
89538
|
+
(!t || e) && p && /* @__PURE__ */ C(re, { children: [
|
|
89537
89539
|
/* @__PURE__ */ C(
|
|
89538
89540
|
de,
|
|
89539
89541
|
{
|
|
@@ -89554,11 +89556,11 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89554
89556
|
isRequired: !0,
|
|
89555
89557
|
id: "kc-claim-filter-name",
|
|
89556
89558
|
"data-testid": "claimFilterName",
|
|
89557
|
-
validated:
|
|
89558
|
-
...
|
|
89559
|
+
validated: d.config?.claimFilterName ? Un.error : Un.default,
|
|
89560
|
+
...l("config.claimFilterName", { required: !0 })
|
|
89559
89561
|
}
|
|
89560
89562
|
),
|
|
89561
|
-
|
|
89563
|
+
d.config?.claimFilterName && /* @__PURE__ */ r(ta, { message: i("required") })
|
|
89562
89564
|
]
|
|
89563
89565
|
}
|
|
89564
89566
|
),
|
|
@@ -89582,11 +89584,11 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89582
89584
|
isRequired: !0,
|
|
89583
89585
|
id: "kc-claim-filter-value",
|
|
89584
89586
|
"data-testid": "claimFilterValue",
|
|
89585
|
-
validated:
|
|
89586
|
-
...
|
|
89587
|
+
validated: d.config?.claimFilterValue ? Un.error : Un.default,
|
|
89588
|
+
...l("config.claimFilterValue", { required: !0 })
|
|
89587
89589
|
}
|
|
89588
89590
|
),
|
|
89589
|
-
|
|
89591
|
+
d.config?.claimFilterValue && /* @__PURE__ */ r(ta, { message: i("required") })
|
|
89590
89592
|
]
|
|
89591
89593
|
}
|
|
89592
89594
|
)
|
|
@@ -89608,21 +89610,21 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89608
89610
|
defaultValue: ""
|
|
89609
89611
|
}
|
|
89610
89612
|
),
|
|
89611
|
-
|
|
89613
|
+
f && /* @__PURE__ */ r(Ko, { label: "doNotStoreUsers", children: /* @__PURE__ */ r(
|
|
89612
89614
|
xe,
|
|
89613
89615
|
{
|
|
89614
89616
|
name: "config.doNotStoreUsers",
|
|
89615
89617
|
defaultValue: "false",
|
|
89616
|
-
control:
|
|
89617
|
-
render: ({ field:
|
|
89618
|
+
control: o,
|
|
89619
|
+
render: ({ field: O }) => /* @__PURE__ */ r(
|
|
89618
89620
|
pt,
|
|
89619
89621
|
{
|
|
89620
89622
|
id: "doNotStoreUsers",
|
|
89621
89623
|
label: i("on"),
|
|
89622
89624
|
labelOff: i("off"),
|
|
89623
|
-
isChecked:
|
|
89624
|
-
onChange: (
|
|
89625
|
-
|
|
89625
|
+
isChecked: O.value === "true",
|
|
89626
|
+
onChange: (_, x) => {
|
|
89627
|
+
O.onChange(x.toString()), x && c("config.syncMode", "IMPORT", {
|
|
89626
89628
|
shouldDirty: !0
|
|
89627
89629
|
});
|
|
89628
89630
|
}
|
|
@@ -89630,15 +89632,15 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89630
89632
|
)
|
|
89631
89633
|
}
|
|
89632
89634
|
) }),
|
|
89633
|
-
|
|
89635
|
+
v && /* @__PURE__ */ r(
|
|
89634
89636
|
qe,
|
|
89635
89637
|
{
|
|
89636
89638
|
name: "config.syncMode",
|
|
89637
89639
|
label: i("syncMode"),
|
|
89638
89640
|
labelIcon: i("syncModeHelp"),
|
|
89639
|
-
options: gD.map((
|
|
89640
|
-
key:
|
|
89641
|
-
value: i(`syncModes.${
|
|
89641
|
+
options: gD.map((O) => ({
|
|
89642
|
+
key: O,
|
|
89643
|
+
value: i(`syncModes.${O.toLocaleLowerCase()}`)
|
|
89642
89644
|
})),
|
|
89643
89645
|
controller: {
|
|
89644
89646
|
defaultValue: gD[0],
|
|
@@ -89653,40 +89655,40 @@ const ybe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
89653
89655
|
label: "caseSensitiveOriginalUsername"
|
|
89654
89656
|
}
|
|
89655
89657
|
),
|
|
89656
|
-
|
|
89658
|
+
g && e && /* @__PURE__ */ r(
|
|
89657
89659
|
Mn,
|
|
89658
89660
|
{
|
|
89659
89661
|
field: "config.supportsClientAssertions",
|
|
89660
89662
|
label: "supportsClientAssertions"
|
|
89661
89663
|
}
|
|
89662
89664
|
),
|
|
89663
|
-
|
|
89665
|
+
g && e && T === "true" && /* @__PURE__ */ r(
|
|
89664
89666
|
Mn,
|
|
89665
89667
|
{
|
|
89666
89668
|
field: "config.supportsClientAssertionReuse",
|
|
89667
89669
|
label: "supportsClientAssertionReuse"
|
|
89668
89670
|
}
|
|
89669
89671
|
),
|
|
89670
|
-
e && (
|
|
89672
|
+
e && (g && T === "true" || h && w === "true") && /* @__PURE__ */ r(
|
|
89671
89673
|
Mn,
|
|
89672
89674
|
{
|
|
89673
89675
|
field: "config.allowClientIdAsAudience",
|
|
89674
89676
|
label: "allowClientIdAsAudience"
|
|
89675
89677
|
}
|
|
89676
89678
|
),
|
|
89677
|
-
e && (
|
|
89679
|
+
e && (g && T === "true" || h && w === "true") && /* @__PURE__ */ r(Ko, { label: "fedClientAssertionMaxExp", children: /* @__PURE__ */ r(
|
|
89678
89680
|
xe,
|
|
89679
89681
|
{
|
|
89680
89682
|
name: "config.fedClientAssertionMaxExp",
|
|
89681
89683
|
defaultValue: "",
|
|
89682
|
-
control:
|
|
89683
|
-
render: ({ field:
|
|
89684
|
+
control: o,
|
|
89685
|
+
render: ({ field: O }) => /* @__PURE__ */ r(
|
|
89684
89686
|
on,
|
|
89685
89687
|
{
|
|
89686
89688
|
className: "kc-fed-client-assertion-max-expiration-time",
|
|
89687
89689
|
"data-testid": "fed-client-assertion-max-expiration-time-input",
|
|
89688
|
-
value:
|
|
89689
|
-
onChange:
|
|
89690
|
+
value: O.value,
|
|
89691
|
+
onChange: O.onChange,
|
|
89690
89692
|
units: ["minute", "hour", "day"]
|
|
89691
89693
|
}
|
|
89692
89694
|
)
|
|
@@ -90397,7 +90399,7 @@ function Rbe() {
|
|
|
90397
90399
|
if (ae)
|
|
90398
90400
|
return ae;
|
|
90399
90401
|
}
|
|
90400
|
-
}, [h, a]), { addAlert: y, addError: v } = De(), w = vt(), { realm: T, realmRepresentation: S } = Ne(), [I, k] = P(0), O = () => k(I + 1), { hasAccess: _ } =
|
|
90402
|
+
}, [h, a]), { addAlert: y, addError: v } = De(), w = vt(), { realm: T, realmRepresentation: S } = Ne(), [I, k] = P(0), O = () => k(I + 1), { hasAccess: _ } = Gt();
|
|
90401
90403
|
Ve(
|
|
90402
90404
|
() => e.identityProviders.findOne({ alias: n }),
|
|
90403
90405
|
(F) => {
|
|
@@ -92751,7 +92753,7 @@ const Qbe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
92751
92753
|
default: Zbe
|
|
92752
92754
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
92753
92755
|
function Jbe() {
|
|
92754
|
-
const { adminClient: e } = _e(), { realm: t } = Ne(), { hasAccess: n } =
|
|
92756
|
+
const { adminClient: e } = _e(), { realm: t } = Ne(), { hasAccess: n } = Gt(), a = n("manage-realm"), i = (s, o, l) => {
|
|
92755
92757
|
const c = {
|
|
92756
92758
|
first: s,
|
|
92757
92759
|
max: o
|
|
@@ -92916,7 +92918,7 @@ const eye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
92916
92918
|
function nye() {
|
|
92917
92919
|
const { adminClient: e } = _e(), t = Wn(), { t: n } = Y(), a = ot({
|
|
92918
92920
|
mode: "onChange"
|
|
92919
|
-
}), { control: i, reset: s, setValue: o } = a, l = vt(), { id: c, clientId: d } = un(), { realm: u, realmRepresentation: p } = Ne(), [m, f] = P(0), [g, h] = P(), b = () => f(m + 1), { addAlert: y, addError: v } = De(), { hasAccess: w } =
|
|
92921
|
+
}), { control: i, reset: s, setValue: o } = a, l = vt(), { id: c, clientId: d } = un(), { realm: u, realmRepresentation: p } = Ne(), [m, f] = P(0), [g, h] = P(), b = () => f(m + 1), { addAlert: y, addError: v } = De(), { hasAccess: w } = Gt(), T = w(
|
|
92920
92922
|
"query-clients",
|
|
92921
92923
|
"manage-authorization"
|
|
92922
92924
|
), [S, I] = P(!1), k = (ne) => {
|
|
@@ -93809,37 +93811,37 @@ const oye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
93809
93811
|
name: "algorithm",
|
|
93810
93812
|
displayKey: "algorithm",
|
|
93811
93813
|
cellFormatters: [Ln()],
|
|
93812
|
-
transforms: [
|
|
93814
|
+
transforms: [qt(15)]
|
|
93813
93815
|
},
|
|
93814
93816
|
{
|
|
93815
93817
|
name: "type",
|
|
93816
93818
|
displayKey: "type",
|
|
93817
93819
|
cellFormatters: [Ln()],
|
|
93818
|
-
transforms: [
|
|
93820
|
+
transforms: [qt(10)]
|
|
93819
93821
|
},
|
|
93820
93822
|
{
|
|
93821
93823
|
name: "kid",
|
|
93822
93824
|
displayKey: "kid",
|
|
93823
93825
|
cellFormatters: [Ln()],
|
|
93824
|
-
transforms: [
|
|
93826
|
+
transforms: [qt(10)]
|
|
93825
93827
|
},
|
|
93826
93828
|
{
|
|
93827
93829
|
name: "use",
|
|
93828
93830
|
displayKey: "use",
|
|
93829
93831
|
cellFormatters: [Ln()],
|
|
93830
|
-
transforms: [
|
|
93832
|
+
transforms: [qt(10)]
|
|
93831
93833
|
},
|
|
93832
93834
|
{
|
|
93833
93835
|
name: "provider",
|
|
93834
93836
|
displayKey: "provider",
|
|
93835
93837
|
cellRenderer: ({ provider: w }) => w || "-",
|
|
93836
|
-
transforms: [
|
|
93838
|
+
transforms: [qt(10)]
|
|
93837
93839
|
},
|
|
93838
93840
|
{
|
|
93839
93841
|
name: "validTo",
|
|
93840
93842
|
displayKey: "validTo",
|
|
93841
93843
|
cellRenderer: ({ validTo: w }) => w ? i(new Date(w)) : "-",
|
|
93842
|
-
transforms: [
|
|
93844
|
+
transforms: [qt(10)]
|
|
93843
93845
|
},
|
|
93844
93846
|
{
|
|
93845
93847
|
name: "publicKeys",
|
|
@@ -93879,7 +93881,7 @@ const oye = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
93879
93881
|
children: n("publicKey")
|
|
93880
93882
|
}
|
|
93881
93883
|
) : "",
|
|
93882
|
-
transforms: [
|
|
93884
|
+
transforms: [qt(20)]
|
|
93883
93885
|
}
|
|
93884
93886
|
],
|
|
93885
93887
|
isSearching: !!g,
|
|
@@ -95637,7 +95639,7 @@ const Cye = ({
|
|
|
95637
95639
|
_.locale,
|
|
95638
95640
|
u.locale
|
|
95639
95641
|
),
|
|
95640
|
-
_.locale === c.defaultLocale && /* @__PURE__ */ r(
|
|
95642
|
+
_.locale === c.defaultLocale && /* @__PURE__ */ r(Kt, { className: "pf-v5-u-ml-xs", color: "blue", children: o("defaultLanguage") })
|
|
95641
95643
|
] }),
|
|
95642
95644
|
/* @__PURE__ */ r(Me, { children: /* @__PURE__ */ r(
|
|
95643
95645
|
ht,
|
|
@@ -97237,7 +97239,7 @@ const zSe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
97237
97239
|
return /* @__PURE__ */ C(re, { children: [
|
|
97238
97240
|
e,
|
|
97239
97241
|
" ",
|
|
97240
|
-
t && /* @__PURE__ */ r(
|
|
97242
|
+
t && /* @__PURE__ */ r(Kt, { color: "blue", children: n("global") })
|
|
97241
97243
|
] });
|
|
97242
97244
|
}, Kye = (e) => {
|
|
97243
97245
|
const { adminClient: t } = _e(), { t: n } = Y(), [a, i] = P([]), [s, o] = P();
|
|
@@ -97423,7 +97425,7 @@ function Yye() {
|
|
|
97423
97425
|
badges: [
|
|
97424
97426
|
{
|
|
97425
97427
|
id: "global-client-profile-badge",
|
|
97426
|
-
text: h ? /* @__PURE__ */ r(
|
|
97428
|
+
text: h ? /* @__PURE__ */ r(Kt, { color: "blue", children: t("global") }) : ""
|
|
97427
97429
|
}
|
|
97428
97430
|
],
|
|
97429
97431
|
divider: !0,
|
|
@@ -97650,7 +97652,7 @@ const qB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
97650
97652
|
__proto__: null,
|
|
97651
97653
|
default: Yye
|
|
97652
97654
|
}, Symbol.toStringTag, { value: "Module" })), KB = () => {
|
|
97653
|
-
const { adminClient: e } = _e(), { t } = Y(), [n, a] = Tt(), [i, s] = Tt(), [o, l] = P(), [c, d] = P([]), [u, p] = P(0), [m, f] = P(0), g = () => f(m + 1), { realm: h } = Ne(), { addAlert: b, addError: y } = De(), { enabled: v } = Mi(), { hasAccess: w } =
|
|
97655
|
+
const { adminClient: e } = _e(), { t } = Y(), [n, a] = Tt(), [i, s] = Tt(), [o, l] = P(), [c, d] = P([]), [u, p] = P(0), [m, f] = P(0), g = () => f(m + 1), { realm: h } = Ne(), { addAlert: b, addError: y } = De(), { enabled: v } = Mi(), { hasAccess: w } = Gt(), T = w("view-users", "manage-realm");
|
|
97654
97656
|
Ve(
|
|
97655
97657
|
() => e.realms.getDefaultGroups({ realm: h }),
|
|
97656
97658
|
(x) => {
|
|
@@ -99340,7 +99342,7 @@ function lve() {
|
|
|
99340
99342
|
badges: [
|
|
99341
99343
|
{
|
|
99342
99344
|
id: "global-client-policy-badge",
|
|
99343
|
-
text: s ? /* @__PURE__ */ r(
|
|
99345
|
+
text: s ? /* @__PURE__ */ r(Kt, { color: "blue", children: t("global") }) : ""
|
|
99344
99346
|
}
|
|
99345
99347
|
],
|
|
99346
99348
|
divider: !0,
|
|
@@ -100195,11 +100197,11 @@ const YB = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
100195
100197
|
}, Ie = (me) => {
|
|
100196
100198
|
switch (me.action) {
|
|
100197
100199
|
case "ADDED":
|
|
100198
|
-
return /* @__PURE__ */ r(
|
|
100200
|
+
return /* @__PURE__ */ r(Kt, { color: "green", children: n("added") }, me.id);
|
|
100199
100201
|
case "SKIPPED":
|
|
100200
|
-
return /* @__PURE__ */ r(
|
|
100202
|
+
return /* @__PURE__ */ r(Kt, { color: "orange", children: n("skipped") }, me.id);
|
|
100201
100203
|
case "OVERWRITTEN":
|
|
100202
|
-
return /* @__PURE__ */ r(
|
|
100204
|
+
return /* @__PURE__ */ r(Kt, { color: "purple", children: n("overwritten") }, me.id);
|
|
100203
100205
|
default:
|
|
100204
100206
|
return "";
|
|
100205
100207
|
}
|
|
@@ -100566,7 +100568,7 @@ function fve() {
|
|
|
100566
100568
|
children: [
|
|
100567
100569
|
k.name,
|
|
100568
100570
|
" ",
|
|
100569
|
-
k.global && /* @__PURE__ */ r(
|
|
100571
|
+
k.global && /* @__PURE__ */ r(Kt, { color: "blue", children: t("global") })
|
|
100570
100572
|
]
|
|
100571
100573
|
},
|
|
100572
100574
|
k.name
|
|
@@ -103938,7 +103940,7 @@ const wve = ({
|
|
|
103938
103940
|
/* @__PURE__ */ r(n8, {}, "Server info"),
|
|
103939
103941
|
...e && t ? [/* @__PURE__ */ r(a8, {}, "Clear Caches")] : []
|
|
103940
103942
|
], r8 = () => {
|
|
103941
|
-
const { environment: e, keycloak: t } = Sa(), { t: n } = Y(), { realm: a } = Ne(), { hasAccess: i } =
|
|
103943
|
+
const { environment: e, keycloak: t } = Sa(), { t: n } = Y(), { realm: a } = Ne(), { hasAccess: i } = Gt(), o = L1()?.logo, l = a === e.masterRealm, c = i("manage-realm"), d = e.logo || "/logo.svg", u = lT(qp({ realm: a })), p = e.logoUrl ? e.logoUrl : u;
|
|
103942
103944
|
return /* @__PURE__ */ r(
|
|
103943
103945
|
yae,
|
|
103944
103946
|
{
|
|
@@ -105506,7 +105508,7 @@ const qSe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
105506
105508
|
realmName: a,
|
|
105507
105509
|
refresh: i
|
|
105508
105510
|
}) => {
|
|
105509
|
-
const { adminClient: s } = _e(), { environment: o } = Sa(), { t: l } = Y(), { addAlert: c, addError: d } = De(), u = vt(), [p, m] = P(!1), [f, g] = P(!1), { hasAccess: h } =
|
|
105511
|
+
const { adminClient: s } = _e(), { environment: o } = Sa(), { t: l } = Y(), { addAlert: c, addError: d } = De(), u = vt(), [p, m] = P(!1), [f, g] = P(!1), { hasAccess: h } = Gt(), b = h("manage-realm"), [y, v] = it({
|
|
105510
105512
|
titleKey: "disableConfirmTitle",
|
|
105511
105513
|
messageKey: "disableConfirmRealm",
|
|
105512
105514
|
continueButtonLabel: "disable",
|
|
@@ -105656,7 +105658,7 @@ const qSe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
105656
105658
|
a("realmSaveError", we);
|
|
105657
105659
|
}
|
|
105658
105660
|
i !== (ce.realm || s.realm) && c(cp({ realm: ce.realm, tab: "general" })), o();
|
|
105659
|
-
}, S = (ce) => yt(cp({ realm: i, tab: ce })), I = S("general"), k = S("login"), O = S("email"), _ = S("themes"), x = S("keys"), D = S("events"), R = S("localization"), N = S("security-defenses"), A = S("sessions"), M = S("tokens"), H = S("client-policies"), U = S("user-profile"), j = S("user-registration"), { hasAccess: K, hasSomeAccess: B } =
|
|
105661
|
+
}, S = (ce) => yt(cp({ realm: i, tab: ce })), I = S("general"), k = S("login"), O = S("email"), _ = S("themes"), x = S("keys"), D = S("events"), R = S("localization"), N = S("security-defenses"), A = S("sessions"), M = S("tokens"), H = S("client-policies"), U = S("user-profile"), j = S("user-registration"), { hasAccess: K, hasSomeAccess: B } = Gt(), $ = K("view-realm") && B("view-events", "manage-events"), V = K("view-realm") && B("view-clients", "manage-clients"), G = (ce) => yt(
|
|
105660
105662
|
_s({
|
|
105661
105663
|
realm: i,
|
|
105662
105664
|
tab: ce
|
|
@@ -106573,7 +106575,7 @@ const Hve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
106573
106575
|
)
|
|
106574
106576
|
] });
|
|
106575
106577
|
}, l8 = ({ user: e }) => {
|
|
106576
|
-
const { adminClient: t } = _e(), n =
|
|
106578
|
+
const { adminClient: t } = _e(), n = Gt(), { realm: a } = Ne(), [i, s] = P();
|
|
106577
106579
|
return Ve(
|
|
106578
106580
|
() => n.hasAccess("view-realm") ? t.components.findOne({
|
|
106579
106581
|
id: e.federationLink
|
|
@@ -106648,7 +106650,7 @@ const Iu = "terms_and_conditions", d8 = ({
|
|
|
106648
106650
|
refresh: l,
|
|
106649
106651
|
onGroupsUpdate: c
|
|
106650
106652
|
}) => {
|
|
106651
|
-
const { adminClient: d } = _e(), { t: u } = Y(), p = rr(), { addAlert: m, addError: f } = De(), { hasAccess: g } =
|
|
106653
|
+
const { adminClient: d } = _e(), { t: u } = Y(), p = rr(), { addAlert: m, addError: f } = De(), { hasAccess: g } = Gt(), h = g("manage-users"), b = g("view-realm"), { whoAmI: y } = oi(), v = Yve(
|
|
106652
106654
|
n?.attributes?.[Iu]
|
|
106653
106655
|
), { handleSubmit: w, setValue: T, control: S, reset: I, formState: k } = e, { errors: O } = k, [_, x] = P(
|
|
106654
106656
|
[]
|
|
@@ -107390,24 +107392,24 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
107390
107392
|
name: "clientId",
|
|
107391
107393
|
displayKey: "Client",
|
|
107392
107394
|
cellFormatters: [Ln()],
|
|
107393
|
-
transforms: [
|
|
107395
|
+
transforms: [qt(20)]
|
|
107394
107396
|
},
|
|
107395
107397
|
{
|
|
107396
107398
|
name: "grantedClientScopes",
|
|
107397
107399
|
displayKey: "grantedClientScopes",
|
|
107398
107400
|
cellRenderer: f,
|
|
107399
|
-
transforms: [
|
|
107401
|
+
transforms: [qt(30)]
|
|
107400
107402
|
},
|
|
107401
107403
|
{
|
|
107402
107404
|
name: "createdDate",
|
|
107403
107405
|
displayKey: "created",
|
|
107404
|
-
transforms: [
|
|
107406
|
+
transforms: [qt(20)],
|
|
107405
107407
|
cellRenderer: ({ createdDate: b }) => b ? o(new Date(b)) : "—"
|
|
107406
107408
|
},
|
|
107407
107409
|
{
|
|
107408
107410
|
name: "lastUpdatedDate",
|
|
107409
107411
|
displayKey: "lastUpdated",
|
|
107410
|
-
transforms: [
|
|
107412
|
+
transforms: [qt(10)],
|
|
107411
107413
|
cellRenderer: ({ lastUpdatedDate: b }) => b ? o(new Date(b)) : "—"
|
|
107412
107414
|
}
|
|
107413
107415
|
],
|
|
@@ -107828,7 +107830,7 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
107828
107830
|
}, aEe = ({ user: e }) => {
|
|
107829
107831
|
const { adminClient: t } = _e(), { t: n } = Y(), { addAlert: a, addError: i } = De(), [s, o] = P(0), l = () => o(s + 1), [c, d] = P(
|
|
107830
107832
|
[]
|
|
107831
|
-
), [u, p] = P(!0), [m, f] = P([]), [g, h] = P(!1), { enabled: b } = Mi(), { hasAccess: y } =
|
|
107833
|
+
), [u, p] = P(!0), [m, f] = P([]), [g, h] = P(!1), { enabled: b } = Mi(), { hasAccess: y } = Gt(), v = y("manage-users"), w = (x) => mr(x, (D) => D.path?.toUpperCase()), T = async (x, D, R) => {
|
|
107832
107834
|
const N = {
|
|
107833
107835
|
first: x,
|
|
107834
107836
|
max: D
|
|
@@ -107983,13 +107985,13 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
107983
107985
|
name: "groupMembership",
|
|
107984
107986
|
displayKey: "groupMembership",
|
|
107985
107987
|
cellRenderer: (x) => x.name || "-",
|
|
107986
|
-
transforms: [
|
|
107988
|
+
transforms: [qt(40)]
|
|
107987
107989
|
},
|
|
107988
107990
|
{
|
|
107989
107991
|
name: "path",
|
|
107990
107992
|
displayKey: "path",
|
|
107991
107993
|
cellRenderer: (x) => /* @__PURE__ */ r(jw, { group: x }),
|
|
107992
|
-
transforms: [
|
|
107994
|
+
transforms: [qt(45)]
|
|
107993
107995
|
},
|
|
107994
107996
|
{
|
|
107995
107997
|
name: "",
|
|
@@ -108003,7 +108005,7 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108003
108005
|
children: n("leave")
|
|
108004
108006
|
}
|
|
108005
108007
|
) : "-",
|
|
108006
|
-
transforms: [
|
|
108008
|
+
transforms: [qt(20)]
|
|
108007
108009
|
}
|
|
108008
108010
|
],
|
|
108009
108011
|
emptyState: /* @__PURE__ */ r(
|
|
@@ -108114,7 +108116,7 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108114
108116
|
}, iEe = ({
|
|
108115
108117
|
userId: e
|
|
108116
108118
|
}) => {
|
|
108117
|
-
const { adminClient: t } = _e(), [n, a] = P(0), [i, s] = P([]), [o, l] = P(!0), [c, d] = P(""), [u, p] = P(!1), { realm: m } = Ne(), { addAlert: f, addError: g } = De(), { t: h } = Y(), { hasAccess: b, hasSomeAccess: y } =
|
|
108119
|
+
const { adminClient: t } = _e(), [n, a] = P(0), [i, s] = P([]), [o, l] = P(!0), [c, d] = P(""), [u, p] = P(!1), { realm: m } = Ne(), { addAlert: f, addError: g } = De(), { t: h } = Y(), { hasAccess: b, hasSomeAccess: y } = Gt(), v = y(
|
|
108118
108120
|
"manage-identity-providers",
|
|
108119
108121
|
"view-identity-providers"
|
|
108120
108122
|
);
|
|
@@ -108183,12 +108185,12 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108183
108185
|
const U = T?.find(
|
|
108184
108186
|
(j) => j.id === H.identityProvider
|
|
108185
108187
|
)?.groupName;
|
|
108186
|
-
return /* @__PURE__ */ r(
|
|
108188
|
+
return /* @__PURE__ */ r(Kt, { color: U === "Social" ? "blue" : "orange", children: h(U === "Social" ? "idpType.social" : "idpType.custom") });
|
|
108187
108189
|
}, R = (H) => {
|
|
108188
108190
|
const U = T?.find(
|
|
108189
108191
|
(j) => j.id === H.providerId
|
|
108190
108192
|
)?.groupName;
|
|
108191
|
-
return /* @__PURE__ */ r(
|
|
108193
|
+
return /* @__PURE__ */ r(Kt, { color: U === "User-defined" ? "orange" : "blue", children: U === "User-defined" ? "Custom" : U === "Social" ? h("idpType.social") : U });
|
|
108192
108194
|
}, N = (H) => b("manage-users") ? /* @__PURE__ */ r(
|
|
108193
108195
|
Z,
|
|
108194
108196
|
{
|
|
@@ -108213,31 +108215,31 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108213
108215
|
name: "identityProvider",
|
|
108214
108216
|
displayKey: "name",
|
|
108215
108217
|
cellRenderer: x,
|
|
108216
|
-
transforms: [
|
|
108218
|
+
transforms: [qt(20)]
|
|
108217
108219
|
},
|
|
108218
108220
|
{
|
|
108219
108221
|
name: "userId",
|
|
108220
108222
|
displayKey: "userID",
|
|
108221
108223
|
cellFormatters: [Ln()],
|
|
108222
|
-
transforms: [
|
|
108224
|
+
transforms: [qt(30)]
|
|
108223
108225
|
},
|
|
108224
108226
|
{
|
|
108225
108227
|
name: "userName",
|
|
108226
108228
|
displayKey: "username",
|
|
108227
108229
|
cellFormatters: [Ln()],
|
|
108228
|
-
transforms: [
|
|
108230
|
+
transforms: [qt(20)]
|
|
108229
108231
|
},
|
|
108230
108232
|
{
|
|
108231
108233
|
name: "",
|
|
108232
108234
|
cellRenderer: N,
|
|
108233
|
-
transforms: [
|
|
108235
|
+
transforms: [qt(20)]
|
|
108234
108236
|
}
|
|
108235
108237
|
];
|
|
108236
108238
|
return v && H.splice(1, 0, {
|
|
108237
108239
|
name: "type",
|
|
108238
108240
|
displayKey: "type",
|
|
108239
108241
|
cellRenderer: D,
|
|
108240
|
-
transforms: [
|
|
108242
|
+
transforms: [qt(10)]
|
|
108241
108243
|
}), H;
|
|
108242
108244
|
};
|
|
108243
108245
|
return /* @__PURE__ */ C(re, { children: [
|
|
@@ -108282,13 +108284,13 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108282
108284
|
name: "alias",
|
|
108283
108285
|
displayKey: "name",
|
|
108284
108286
|
cellFormatters: [Ln(), hm()],
|
|
108285
|
-
transforms: [
|
|
108287
|
+
transforms: [qt(20)]
|
|
108286
108288
|
},
|
|
108287
108289
|
{
|
|
108288
108290
|
name: "type",
|
|
108289
108291
|
displayKey: "type",
|
|
108290
108292
|
cellRenderer: R,
|
|
108291
|
-
transforms: [
|
|
108293
|
+
transforms: [qt(60)]
|
|
108292
108294
|
},
|
|
108293
108295
|
{
|
|
108294
108296
|
name: "",
|
|
@@ -108493,19 +108495,19 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108493
108495
|
name: "id",
|
|
108494
108496
|
displayKey: "issuedCredentialId",
|
|
108495
108497
|
cellRenderer: ({ id: y }) => /* @__PURE__ */ r("code", { className: "pf-v5-u-font-size-sm", children: y }),
|
|
108496
|
-
transforms: [
|
|
108498
|
+
transforms: [qt(30)]
|
|
108497
108499
|
},
|
|
108498
108500
|
{
|
|
108499
108501
|
name: "issuedAt",
|
|
108500
108502
|
displayKey: "issuedAt",
|
|
108501
108503
|
cellRenderer: ({ issuedAt: y }) => y ? l(new Date(y)) : "—",
|
|
108502
|
-
transforms: [
|
|
108504
|
+
transforms: [qt(15)]
|
|
108503
108505
|
},
|
|
108504
108506
|
{
|
|
108505
108507
|
name: "expiresAt",
|
|
108506
108508
|
displayKey: "expiresAt",
|
|
108507
108509
|
cellRenderer: ({ expiresAt: y }) => y ? l(new Date(y)) : "—",
|
|
108508
|
-
transforms: [
|
|
108510
|
+
transforms: [qt(15)]
|
|
108509
108511
|
},
|
|
108510
108512
|
{
|
|
108511
108513
|
name: "clientId",
|
|
@@ -108521,7 +108523,7 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108521
108523
|
children: y.clientId
|
|
108522
108524
|
}
|
|
108523
108525
|
),
|
|
108524
|
-
transforms: [
|
|
108526
|
+
transforms: [qt(20)]
|
|
108525
108527
|
},
|
|
108526
108528
|
{
|
|
108527
108529
|
name: "revision",
|
|
@@ -108529,9 +108531,9 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108529
108531
|
cellRenderer: ({ revision: y }) => /* @__PURE__ */ C(re, { children: [
|
|
108530
108532
|
y,
|
|
108531
108533
|
" ",
|
|
108532
|
-
n && y !== n && /* @__PURE__ */ r(
|
|
108534
|
+
n && y !== n && /* @__PURE__ */ r(Kt, { color: "orange", icon: /* @__PURE__ */ r(rl, {}), children: i("outdated") })
|
|
108533
108535
|
] }),
|
|
108534
|
-
transforms: [
|
|
108536
|
+
transforms: [qt(20)]
|
|
108535
108537
|
}
|
|
108536
108538
|
],
|
|
108537
108539
|
actions: [
|
|
@@ -108736,24 +108738,24 @@ const Zve = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
108736
108738
|
name: "credentialScopeName",
|
|
108737
108739
|
displayKey: "credentialScopeName",
|
|
108738
108740
|
cellFormatters: [Ln()],
|
|
108739
|
-
transforms: [
|
|
108741
|
+
transforms: [qt(30)]
|
|
108740
108742
|
},
|
|
108741
108743
|
{
|
|
108742
108744
|
name: "revision",
|
|
108743
108745
|
displayKey: "revision",
|
|
108744
108746
|
cellFormatters: [Ln()],
|
|
108745
|
-
transforms: [
|
|
108747
|
+
transforms: [qt(15)]
|
|
108746
108748
|
},
|
|
108747
108749
|
{
|
|
108748
108750
|
name: "createdDate",
|
|
108749
108751
|
displayKey: "created",
|
|
108750
|
-
transforms: [
|
|
108752
|
+
transforms: [qt(15)],
|
|
108751
108753
|
cellRenderer: ({ createdDate: x }) => x ? o(new Date(x)) : "—"
|
|
108752
108754
|
},
|
|
108753
108755
|
{
|
|
108754
108756
|
name: "updatedDate",
|
|
108755
108757
|
displayKey: "updatedAt",
|
|
108756
|
-
transforms: [
|
|
108758
|
+
transforms: [qt(15)],
|
|
108757
108759
|
cellRenderer: ({ updatedDate: x }) => x ? o(new Date(x)) : "—"
|
|
108758
108760
|
}
|
|
108759
108761
|
],
|
|
@@ -113616,7 +113618,7 @@ const S0e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
113616
113618
|
/* @__PURE__ */ r(En, { children: e.steps?.map((a, i) => /* @__PURE__ */ C(gt, { children: [
|
|
113617
113619
|
/* @__PURE__ */ r(Me, { children: a.uses }),
|
|
113618
113620
|
/* @__PURE__ */ r(Me, { children: a["scheduled-at"] ? t(new Date(a["scheduled-at"])) : "" }),
|
|
113619
|
-
/* @__PURE__ */ r(Me, { children: a.status === "COMPLETED" ? /* @__PURE__ */ r(
|
|
113621
|
+
/* @__PURE__ */ r(Me, { children: a.status === "COMPLETED" ? /* @__PURE__ */ r(Kt, { color: "green", children: n("completed") }) : /* @__PURE__ */ r(Kt, { color: "orange", children: n("pending") }) })
|
|
113620
113622
|
] }, i)) })
|
|
113621
113623
|
] }),
|
|
113622
113624
|
/* @__PURE__ */ r(T0e, { id: e.id, name: e.name })
|
|
@@ -113703,7 +113705,7 @@ function _0e(e, t) {
|
|
|
113703
113705
|
return i.length > 0 ? i.join("; ") : "";
|
|
113704
113706
|
}
|
|
113705
113707
|
function I0e() {
|
|
113706
|
-
const { adminClient: e } = _e(), { t } = Y(), { addAlert: n, addError: a } = De(), i = vt(), { hasAccess: s } =
|
|
113708
|
+
const { adminClient: e } = _e(), { t } = Y(), { addAlert: n, addError: a } = De(), i = vt(), { hasAccess: s } = Gt(), { id: o } = un(), { realm: l, realmRepresentation: c } = Ne(), u = ot({
|
|
113707
113709
|
mode: "onChange",
|
|
113708
113710
|
resolver: async (ae) => ({
|
|
113709
113711
|
values: ae,
|
|
@@ -113836,7 +113838,7 @@ function I0e() {
|
|
|
113836
113838
|
badges: I ? [
|
|
113837
113839
|
{
|
|
113838
113840
|
text: /* @__PURE__ */ r(bn, { content: t("transientUserTooltip"), children: /* @__PURE__ */ r(
|
|
113839
|
-
|
|
113841
|
+
Kt,
|
|
113840
113842
|
{
|
|
113841
113843
|
"data-testid": "user-details-label-transient-user",
|
|
113842
113844
|
icon: /* @__PURE__ */ r(Ni, {}),
|
|
@@ -114036,7 +114038,7 @@ const A0e = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
|
114036
114038
|
default: I0e
|
|
114037
114039
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
114038
114040
|
function k0e() {
|
|
114039
|
-
const { t: e } = Y(), { realm: t } = Ne(), { hasAccess: n } =
|
|
114041
|
+
const { t: e } = Y(), { realm: t } = Ne(), { hasAccess: n } = Gt(), i = Wn()(Ot.AdminFineGrainedAuthz) && n("manage-authorization", "manage-users", "manage-clients"), s = (c) => yt(
|
|
114040
114042
|
ec({
|
|
114041
114043
|
realm: t,
|
|
114042
114044
|
tab: c
|
|
@@ -116971,7 +116973,7 @@ const X1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
116971
116973
|
__proto__: null,
|
|
116972
116974
|
default: K0e
|
|
116973
116975
|
}, Symbol.toStringTag, { value: "Module" })), W0e = (e) => e.replace(/\/:.+?(\?|(?:(?!\/).)*|$)/g, "").replace(/\/\*$/, ""), ir = ({ title: e, path: t, id: n }) => {
|
|
116974
|
-
const { t: a } = Y(), { hasAccess: i } =
|
|
116976
|
+
const { t: a } = Y(), { hasAccess: i } = Gt(), { realm: s } = Ne(), o = encodeURIComponent(s), l = n || t, c = SB.find(
|
|
116975
116977
|
(p) => W0e(p.path) === l
|
|
116976
116978
|
);
|
|
116977
116979
|
if (!(c && (c.handle.access instanceof Array ? i(...c.handle.access) : i(c.handle.access))))
|
|
@@ -116988,7 +116990,7 @@ const X1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
116988
116990
|
}
|
|
116989
116991
|
) });
|
|
116990
116992
|
}, Y0e = () => {
|
|
116991
|
-
const { t: e } = Y(), { environment: t } = Sa(), { hasSomeAccess: n } =
|
|
116993
|
+
const { t: e } = Y(), { environment: t } = Sa(), { hasSomeAccess: n } = Gt(), { componentTypes: a } = Vt(), i = Wn(), s = a?.["org.keycloak.services.ui.extend.UiPageProvider"], o = vt(), { realm: l, realmRepresentation: c } = Ne(), d = (g) => {
|
|
116992
116994
|
o(g.to), g.event.preventDefault();
|
|
116993
116995
|
}, u = n(
|
|
116994
116996
|
"view-realm",
|
|
@@ -117011,7 +117013,7 @@ const X1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
117011
117013
|
children: [
|
|
117012
117014
|
/* @__PURE__ */ r("span", { "data-testid": "currentRealm", children: $g(e, c.displayName, l) }),
|
|
117013
117015
|
" ",
|
|
117014
|
-
/* @__PURE__ */ r(
|
|
117016
|
+
/* @__PURE__ */ r(Kt, { color: "blue", children: e("currentRealm") })
|
|
117015
117017
|
]
|
|
117016
117018
|
}
|
|
117017
117019
|
),
|
|
@@ -117049,7 +117051,7 @@ function X0e(e, t) {
|
|
|
117049
117051
|
return t in e;
|
|
117050
117052
|
}
|
|
117051
117053
|
const Z0e = ({ children: e }) => {
|
|
117052
|
-
const t = _H(), { hasAccess: n } =
|
|
117054
|
+
const t = _H(), { hasAccess: n } = Gt(), a = t.flatMap(({ handle: i }) => typeof i != "object" || i === null || !X0e(i, "access") ? [] : Array.isArray(i.access) ? i.access : [i.access]);
|
|
117053
117055
|
return n(...a) ? e : /* @__PURE__ */ r(d1, { permissionNeeded: a });
|
|
117054
117056
|
}, Q0e = ({ children: e }) => /* @__PURE__ */ r(vae, { children: /* @__PURE__ */ r(U4, { fallback: TB, children: /* @__PURE__ */ r(Pae, { children: /* @__PURE__ */ r(Wae, { children: /* @__PURE__ */ r(Xae, { children: /* @__PURE__ */ r(Vge, { children: /* @__PURE__ */ r(Zae, { children: /* @__PURE__ */ r(Lfe, { children: e }) }) }) }) }) }) }) }), YSe = () => {
|
|
117055
117057
|
const e = location.href.endsWith("#/");
|
|
@@ -117124,7 +117126,7 @@ const J0e = ({
|
|
|
117124
117126
|
}
|
|
117125
117127
|
)
|
|
117126
117128
|
] }),
|
|
117127
|
-
children: /* @__PURE__ */ r(
|
|
117129
|
+
children: /* @__PURE__ */ r(Kt, { color: "blue", children: ao(a.name) })
|
|
117128
117130
|
},
|
|
117129
117131
|
i
|
|
117130
117132
|
)) });
|
|
@@ -117871,7 +117873,7 @@ const J0e = ({
|
|
|
117871
117873
|
d("deniedPermissions", "DENY")
|
|
117872
117874
|
] });
|
|
117873
117875
|
}, lSe = (e) => {
|
|
117874
|
-
const { hasAccess: t } =
|
|
117876
|
+
const { hasAccess: t } = Gt();
|
|
117875
117877
|
return t("view-users") ? /* @__PURE__ */ r(cSe, { ...e }) : /* @__PURE__ */ r(d1, { permissionNeeded: "view-users" });
|
|
117876
117878
|
}, cSe = ({ client: e }) => {
|
|
117877
117879
|
const { t } = Y(), { adminClient: n } = _e(), a = Ne(), { addError: i } = De(), s = ot({
|
|
@@ -118034,7 +118036,7 @@ const J0e = ({
|
|
|
118034
118036
|
] }) });
|
|
118035
118037
|
};
|
|
118036
118038
|
function dSe() {
|
|
118037
|
-
const { adminClient: e } = _e(), { t } = Y(), { realm: n } = Ne(), { hasAccess: a } =
|
|
118039
|
+
const { adminClient: e } = _e(), { t } = Y(), { realm: n } = Ne(), { hasAccess: a } = Gt(), { addAlert: i, addError: s } = De(), [o, l] = P(), [c, d] = Tt(), u = ot(), { realmRepresentation: p } = Ne(), m = at({
|
|
118038
118040
|
control: u.control,
|
|
118039
118041
|
name: "clientAuthenticatorType",
|
|
118040
118042
|
defaultValue: "client-secret"
|
|
@@ -118198,7 +118200,7 @@ export {
|
|
|
118198
118200
|
js as I,
|
|
118199
118201
|
bn as J,
|
|
118200
118202
|
qe as K,
|
|
118201
|
-
|
|
118203
|
+
Kt as L,
|
|
118202
118204
|
At as M,
|
|
118203
118205
|
Sde as N,
|
|
118204
118206
|
wn as O,
|
|
@@ -118270,7 +118272,7 @@ export {
|
|
|
118270
118272
|
$t as ao,
|
|
118271
118273
|
Lt as ap,
|
|
118272
118274
|
un as aq,
|
|
118273
|
-
|
|
118275
|
+
Gt as ar,
|
|
118274
118276
|
Vh as as,
|
|
118275
118277
|
at,
|
|
118276
118278
|
Mt as au,
|
|
@@ -118287,7 +118289,7 @@ export {
|
|
|
118287
118289
|
qp as b3,
|
|
118288
118290
|
Li as b4,
|
|
118289
118291
|
Zi as b5,
|
|
118290
|
-
|
|
118292
|
+
qt as b6,
|
|
118291
118293
|
$g as b7,
|
|
118292
118294
|
Ns as b8,
|
|
118293
118295
|
Fs as b9,
|
|
@@ -118650,4 +118652,4 @@ export {
|
|
|
118650
118652
|
$r as y,
|
|
118651
118653
|
Pi as z
|
|
118652
118654
|
};
|
|
118653
|
-
//# sourceMappingURL=index-
|
|
118655
|
+
//# sourceMappingURL=index-C-D-m0EP.js.map
|