@keycloak/keycloak-admin-ui 26.3.1 → 26.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/.vite/manifest.json +30 -30
- package/lib/{AddOAuth2-Dp7xZXck.js → AddOAuth2-BFM6R4m8.js} +2 -2
- package/lib/{AddOAuth2-Dp7xZXck.js.map → AddOAuth2-BFM6R4m8.js.map} +1 -1
- package/lib/{CreateFlow-DT9GA2KA.js → CreateFlow-rSDkm00q.js} +2 -2
- package/lib/{CreateFlow-DT9GA2KA.js.map → CreateFlow-rSDkm00q.js.map} +1 -1
- package/lib/{DetailOrganization-eJc5QSWd.js → DetailOrganization-Bt0Xs9it.js} +2 -2
- package/lib/{DetailOrganization-eJc5QSWd.js.map → DetailOrganization-Bt0Xs9it.js.map} +1 -1
- package/lib/{ExecutorForm-CS2GUPzw.js → ExecutorForm-Ds54rdyT.js} +2 -2
- package/lib/{ExecutorForm-CS2GUPzw.js.map → ExecutorForm-Ds54rdyT.js.map} +1 -1
- package/lib/{FlowDetails-BfBqe2qh.js → FlowDetails-CVLvvfi9.js} +2 -2
- package/lib/{FlowDetails-BfBqe2qh.js.map → FlowDetails-CVLvvfi9.js.map} +1 -1
- package/lib/{NewOrganization-eAFJqcV7.js → NewOrganization-Hxxn4-k4.js} +2 -2
- package/lib/{NewOrganization-eAFJqcV7.js.map → NewOrganization-Hxxn4-k4.js.map} +1 -1
- package/lib/{PermissionConfigurationDetails-NLncm72q.js → PermissionConfigurationDetails-CJcSss28.js} +3 -3
- package/lib/{PermissionConfigurationDetails-NLncm72q.js.map → PermissionConfigurationDetails-CJcSss28.js.map} +1 -1
- package/lib/{PermissionDetails-jXYUQx9h.js → PermissionDetails-BOJRAjh9.js} +2 -2
- package/lib/{PermissionDetails-jXYUQx9h.js.map → PermissionDetails-BOJRAjh9.js.map} +1 -1
- package/lib/{RealmSection-DapWaHXV.js → RealmSection-BO0NbM4t.js} +2 -2
- package/lib/{RealmSection-DapWaHXV.js.map → RealmSection-BO0NbM4t.js.map} +1 -1
- package/lib/{ResourceDetails-Rw_lyxQA.js → ResourceDetails-CdDFx-eb.js} +3 -3
- package/lib/{ResourceDetails-Rw_lyxQA.js.map → ResourceDetails-CdDFx-eb.js.map} +1 -1
- package/lib/{ScopeDetails-AqQr7pSf.js → ScopeDetails-BSj8UT-y.js} +2 -2
- package/lib/{ScopeDetails-AqQr7pSf.js.map → ScopeDetails-BSj8UT-y.js.map} +1 -1
- package/lib/{ScopePicker-B-NlVPQJ.js → ScopePicker-CI3R7QiH.js} +2 -2
- package/lib/{ScopePicker-B-NlVPQJ.js.map → ScopePicker-CI3R7QiH.js.map} +1 -1
- package/lib/{index-BB_cYBCp.js → index-CjhFLbaH.js} +211 -197
- package/lib/{index-BB_cYBCp.js.map → index-CjhFLbaH.js.map} +1 -1
- package/lib/keycloak-admin-ui.js +1 -1
- package/package.json +3 -3
@@ -1,6 +1,6 @@
|
|
1
1
|
import { jsx as r, jsxs as _, Fragment as oe } from "react/jsx-runtime";
|
2
2
|
import * as E from "react";
|
3
|
-
import fe, { useRef as fn, useEffect as ft, forwardRef as Dv, useImperativeHandle as Am, useMemo as ct, useState as F, useReducer as v6, useCallback as
|
3
|
+
import fe, { useRef as fn, useEffect as ft, forwardRef as Dv, useImperativeHandle as Am, useMemo as ct, useState as F, useReducer as v6, useCallback as ta, Fragment as $r, createContext as SR, useContext as Pv, useId as km, isValidElement as _o, Children as Om, Component as E6, lazy as Ze, cloneElement as Nc, createElement as S6, Suspense as T6 } from "react";
|
4
4
|
import { useTranslation as K, initReactI18next as C6, Trans as Di } from "react-i18next";
|
5
5
|
import * as Mv from "react-dom";
|
6
6
|
import { useParams as Ea, generatePath as oc, Link as We, useHref as Fv, useLocation as to, matchPath as Lp, useNavigate as mt, useMatch as Dp, NavLink as _6, useMatches as I6, Outlet as x6, Form as w6 } from "react-router-dom";
|
@@ -2600,10 +2600,10 @@ const Pp = {
|
|
2600
2600
|
}, dF = {
|
2601
2601
|
value: "80rem"
|
2602
2602
|
};
|
2603
|
-
var
|
2603
|
+
var Yn;
|
2604
2604
|
(function(e) {
|
2605
2605
|
e.success = "success", e.error = "error", e.warning = "warning", e.default = "default";
|
2606
|
-
})(
|
2606
|
+
})(Yn || (Yn = {}));
|
2607
2607
|
const Ln = {
|
2608
2608
|
Tab: "Tab",
|
2609
2609
|
Space: " ",
|
@@ -3338,7 +3338,7 @@ const $l = (e, t) => Object.entries(e || {}).reduce((n, [a, i]) => a === "defaul
|
|
3338
3338
|
return "";
|
3339
3339
|
}
|
3340
3340
|
return Object.entries(e || {}).map(([s, o]) => `${n}${o}${s !== "default" ? `-on-${s}` : ""}${i && s !== "default" ? "-height" : ""}`).map(sd).map((s) => s.replace(/-?(\dxl)/gi, (o, l) => `_${l}`)).map((s) => t.modifiers[s]).filter(Boolean).join(" ");
|
3341
|
-
}, FR = (e) => e === null ? null : e >= Pc["2xl"] ? "2xl" : e >= Pc.xl ? "xl" : e >= Pc.lg ? "lg" : e >= Pc.md ? "md" : e >= Pc.sm ? "sm" : "default", UR = (e) => e === null ? null : e >= Dc["2xl"] ? "2xl" : e >= Dc.xl ? "xl" : e >= Dc.lg ? "lg" : e >= Dc.md ? "md" : e >= Dc.sm ? "sm" : "default", jF = (e) => e.toUpperCase().replace("-", "").replace("_", ""), sd = (e) => e.replace(/([-_][a-z])/gi, jF),
|
3341
|
+
}, FR = (e) => e === null ? null : e >= Pc["2xl"] ? "2xl" : e >= Pc.xl ? "xl" : e >= Pc.lg ? "lg" : e >= Pc.md ? "md" : e >= Pc.sm ? "sm" : "default", UR = (e) => e === null ? null : e >= Dc["2xl"] ? "2xl" : e >= Dc.xl ? "xl" : e >= Dc.lg ? "lg" : e >= Dc.md ? "md" : e >= Dc.sm ? "sm" : "default", jF = (e) => e.toUpperCase().replace("-", "").replace("_", ""), sd = (e) => e.replace(/([-_][a-z])/gi, jF), Zn = !!(typeof window < "u" && window.document && window.document.createElement), ex = (e, t) => {
|
3342
3342
|
const n = getComputedStyle(t), a = () => {
|
3343
3343
|
let o = "";
|
3344
3344
|
const l = {
|
@@ -4142,7 +4142,7 @@ const X5 = {
|
|
4142
4142
|
V5,
|
4143
4143
|
W5,
|
4144
4144
|
X5
|
4145
|
-
], Q5 = WR({ defaultModifiers: Z5 }), Od =
|
4145
|
+
], Q5 = WR({ defaultModifiers: Z5 }), Od = Zn ? E.useLayoutEffect : E.useEffect, J5 = (e, t) => JSON.stringify(e) === JSON.stringify(t), ux = (e) => e.reduce((t, [n, a]) => (t[n] = a, t), {}), eU = [], tU = (e, t, n = {}) => {
|
4146
4146
|
const a = E.useRef(null), i = {
|
4147
4147
|
onFirstUpdate: n.onFirstUpdate,
|
4148
4148
|
placement: n.placement || "bottom",
|
@@ -4438,10 +4438,10 @@ class Kv extends E.Component {
|
|
4438
4438
|
};
|
4439
4439
|
}
|
4440
4440
|
componentDidMount() {
|
4441
|
-
|
4441
|
+
Zn && window.addEventListener("keydown", this.keyHandler);
|
4442
4442
|
}
|
4443
4443
|
componentWillUnmount() {
|
4444
|
-
|
4444
|
+
Zn && window.removeEventListener("keydown", this.keyHandler);
|
4445
4445
|
}
|
4446
4446
|
render() {
|
4447
4447
|
return null;
|
@@ -4463,7 +4463,7 @@ Kv.defaultProps = {
|
|
4463
4463
|
};
|
4464
4464
|
const Dm = (e, t, n) => {
|
4465
4465
|
let a;
|
4466
|
-
if (
|
4466
|
+
if (Zn) {
|
4467
4467
|
const { ResizeObserver: i } = window;
|
4468
4468
|
if (e && i) {
|
4469
4469
|
const s = new i((o) => {
|
@@ -4493,7 +4493,7 @@ const dr = (e) => {
|
|
4493
4493
|
return E.createElement(a, Object.assign({}, c, l, { className: q(WI.title, i && WI.modifiers[i], t) }), n);
|
4494
4494
|
};
|
4495
4495
|
dr.displayName = "Title";
|
4496
|
-
const
|
4496
|
+
const Qn = {
|
4497
4497
|
button: "pf-v5-c-button",
|
4498
4498
|
buttonCount: "pf-v5-c-button__count",
|
4499
4499
|
buttonIcon: "pf-v5-c-button__icon",
|
@@ -4590,19 +4590,19 @@ const oU = (e) => {
|
|
4590
4590
|
};
|
4591
4591
|
return E.createElement(
|
4592
4592
|
w,
|
4593
|
-
Object.assign({}, L, l ? M : null, { "aria-disabled": o || l, "aria-label": S, className: q(
|
4593
|
+
Object.assign({}, L, l ? M : null, { "aria-disabled": o || l, "aria-label": S, className: q(Qn.button, Qn.modifiers[y], s && Qn.modifiers.block, o && Qn.modifiers.disabled, l && Qn.modifiers.ariaDisabled, i && Qn.modifiers.active, g && y === Ne.link && Qn.modifiers.inline, d && (y === Ne.secondary || y === Ne.link) && Qn.modifiers.danger, c !== null && y !== Ne.plain && Qn.modifiers.progress, c && Qn.modifiers.inProgress, m === ld.sm && Qn.modifiers.small, m === ld.lg && Qn.modifiers.displayLg, n), disabled: R ? o : null, tabIndex: k !== null ? k : V(), type: R || C ? b : null, role: C ? "button" : null, ref: O }, D),
|
4594
4594
|
c && E.createElement(
|
4595
4595
|
"span",
|
4596
|
-
{ className: q(
|
4596
|
+
{ className: q(Qn.buttonProgress) },
|
4597
4597
|
E.createElement(Ts, { size: $p.md, isInline: g, "aria-valuetext": u, "aria-label": f, "aria-labelledby": p })
|
4598
4598
|
),
|
4599
4599
|
y === Ne.plain && t === null && I ? I : null,
|
4600
|
-
y !== Ne.plain && I && (v === "start" || v === "left") && E.createElement("span", { className: q(
|
4600
|
+
y !== Ne.plain && I && (v === "start" || v === "left") && E.createElement("span", { className: q(Qn.buttonIcon, Qn.modifiers.start) }, I),
|
4601
4601
|
t,
|
4602
|
-
y !== Ne.plain && I && (v === "end" || v === "right") && E.createElement("span", { className: q(
|
4602
|
+
y !== Ne.plain && I && (v === "end" || v === "right") && E.createElement("span", { className: q(Qn.buttonIcon, Qn.modifiers.end) }, I),
|
4603
4603
|
x && E.createElement(
|
4604
4604
|
"span",
|
4605
|
-
{ className: q(
|
4605
|
+
{ className: q(Qn.buttonCount, x.className) },
|
4606
4606
|
E.createElement(di, { isRead: x.isRead }, x.count)
|
4607
4607
|
)
|
4608
4608
|
);
|
@@ -4965,7 +4965,7 @@ class xt extends E.Component {
|
|
4965
4965
|
position: h,
|
4966
4966
|
elementToFocus: g
|
4967
4967
|
} = t, b = ve(t, ["appendTo", "onEscapePress", "aria-labelledby", "aria-label", "aria-describedby", "bodyAriaLabel", "bodyAriaRole", "title", "titleIconVariant", "titleLabel", "ouiaId", "ouiaSafe", "position", "elementToFocus"]);
|
4968
|
-
return !
|
4968
|
+
return !Zn || !this.getElement(n) ? null : Mv.createPortal(E.createElement(Yv, Object.assign({}, b, { boxId: this.boxId, labelId: this.labelId, descriptorId: this.descriptorId, backdropId: this.backdropId, title: d, titleIconVariant: u, titleLabel: p, "aria-label": s, "aria-describedby": o, "aria-labelledby": i, bodyAriaLabel: l, bodyAriaRole: c, ouiaId: f !== void 0 ? f : this.state.ouiaStateId, ouiaSafe: m, position: h, elementToFocus: g })), this.getElement(n));
|
4969
4969
|
}
|
4970
4970
|
}
|
4971
4971
|
xt.displayName = "Modal";
|
@@ -5209,7 +5209,7 @@ class sN extends E.Component {
|
|
5209
5209
|
if (!this.props.isToast)
|
5210
5210
|
return p;
|
5211
5211
|
const f = this.state.container;
|
5212
|
-
return !
|
5212
|
+
return !Zn || !f ? null : Mv.createPortal(p, f);
|
5213
5213
|
}
|
5214
5214
|
}
|
5215
5215
|
sN.displayName = "AlertGroup";
|
@@ -5412,7 +5412,7 @@ class ou extends E.Component {
|
|
5412
5412
|
return E.createElement(
|
5413
5413
|
"span",
|
5414
5414
|
{ className: q(Ca.formControl, b && Ca.modifiers.readonly, b === "plain" && Ca.modifiers.plain, v && Ca.modifiers.disabled, (m || h?.isExpanded) && Ca.modifiers.expanded, S && Ca.modifiers.icon, k && Ca.modifiers[l], a) },
|
5415
|
-
E.createElement("input", Object.assign({}, A, { onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange, type: i, value: this.sanitizeInputValue(s), "aria-invalid": A["aria-invalid"] ? A["aria-invalid"] : l ===
|
5415
|
+
E.createElement("input", Object.assign({}, A, { onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.handleChange, type: i, value: this.sanitizeInputValue(s), "aria-invalid": A["aria-invalid"] ? A["aria-invalid"] : l === Yn.error }, O, { required: y, disabled: v, readOnly: !!b || g, ref: n || this.inputRef, placeholder: o }, va(Lt.displayName, I !== void 0 ? I : this.state.ouiaStateId, T))),
|
5416
5416
|
(S || k) && E.createElement(
|
5417
5417
|
"span",
|
5418
5418
|
{ className: q(Ca.formControlUtilities) },
|
@@ -5551,10 +5551,10 @@ class Um extends E.Component {
|
|
5551
5551
|
}
|
5552
5552
|
}
|
5553
5553
|
componentDidMount() {
|
5554
|
-
this.context && this.setState({ disableHover: this.context.disableHover }),
|
5554
|
+
this.context && this.setState({ disableHover: this.context.disableHover }), Zn && window.addEventListener("transitionend", this.props.isRootMenu ? this.handleDrilldownTransition : null), this.allowTabFirstItem();
|
5555
5555
|
}
|
5556
5556
|
componentWillUnmount() {
|
5557
|
-
|
5557
|
+
Zn && window.removeEventListener("transitionend", this.handleDrilldownTransition);
|
5558
5558
|
}
|
5559
5559
|
componentDidUpdate(t) {
|
5560
5560
|
t.children !== this.props.children && this.allowTabFirstItem();
|
@@ -5794,7 +5794,7 @@ const gx = E.createContext({
|
|
5794
5794
|
!Y && et ? me(ee) : Y && !et && me(null), k && et && k();
|
5795
5795
|
};
|
5796
5796
|
Od(() => {
|
5797
|
-
if (re && ee.current &&
|
5797
|
+
if (re && ee.current && Zn) {
|
5798
5798
|
const et = ee.current.lastElementChild;
|
5799
5799
|
if (et && et.classList.contains(_t.menu)) {
|
5800
5800
|
const Dt = ee.current.getClientRects()[0], Ct = et.getClientRects()[0];
|
@@ -7548,7 +7548,7 @@ const tB = {
|
|
7548
7548
|
{
|
7549
7549
|
ref: me,
|
7550
7550
|
// TODO: Removed style follow up work with issue #8457
|
7551
|
-
className: q(
|
7551
|
+
className: q(Qn.button, Qn.modifiers.control),
|
7552
7552
|
"aria-label": u,
|
7553
7553
|
type: "button",
|
7554
7554
|
onClick: () => W(!Z),
|
@@ -8838,12 +8838,12 @@ class fE extends E.Component {
|
|
8838
8838
|
a.style.setProperty("height", `${s}px`);
|
8839
8839
|
}, this.handleChange = (n) => {
|
8840
8840
|
const a = n.currentTarget;
|
8841
|
-
this.props.autoResize &&
|
8841
|
+
this.props.autoResize && Zn && this.setAutoHeight(a), this.props.onChange && this.props.onChange(n, a.value);
|
8842
8842
|
}, !t.id && !t["aria-label"] && console.error("TextArea: TextArea requires either an id or aria-label to be specified");
|
8843
8843
|
}
|
8844
8844
|
componentDidMount() {
|
8845
8845
|
const t = this.props.innerRef || this.inputRef;
|
8846
|
-
if (this.props.autoResize &&
|
8846
|
+
if (this.props.autoResize && Zn) {
|
8847
8847
|
const n = t.current;
|
8848
8848
|
this.setAutoHeight(n);
|
8849
8849
|
}
|
@@ -8869,7 +8869,7 @@ class fE extends E.Component {
|
|
8869
8869
|
return E.createElement(
|
8870
8870
|
"span",
|
8871
8871
|
{ className: q(Ca.formControl, l && Ca.modifiers.readonly, l === "plain" && Ca.modifiers.plain, c && Ca.modifiers[b], o && Ca.modifiers.disabled, y && Ca.modifiers[i], n) },
|
8872
|
-
E.createElement("textarea", Object.assign({ onChange: this.handleChange, onFocus: h, onBlur: m }, typeof this.props.defaultValue != "string" && { value: a }, { "aria-invalid": i ===
|
8872
|
+
E.createElement("textarea", Object.assign({ onChange: this.handleChange, onFocus: h, onBlur: m }, typeof this.props.defaultValue != "string" && { value: a }, { "aria-invalid": i === Yn.error, required: s, disabled: o || u, readOnly: !!l, ref: d || this.inputRef }, g)),
|
8873
8873
|
y && E.createElement(
|
8874
8874
|
"span",
|
8875
8875
|
{ className: q(Ca.formControlUtilities) },
|
@@ -11528,9 +11528,9 @@ function p2() {
|
|
11528
11528
|
return !a && v && C.current && C.current.focus(), function() {
|
11529
11529
|
};
|
11530
11530
|
}, [C, v, a]);
|
11531
|
-
var te =
|
11531
|
+
var te = ta(function(pe) {
|
11532
11532
|
O ? O(pe) : console.error(pe);
|
11533
|
-
}, [O]), ce =
|
11533
|
+
}, [O]), ce = ta(function(pe) {
|
11534
11534
|
pe.preventDefault(), pe.persist(), $(pe), j.current = [].concat(C8(j.current), [pe.target]), tp(pe) && Promise.resolve(i(pe)).then(function(ie) {
|
11535
11535
|
if (!(qp(pe) && !k)) {
|
11536
11536
|
var we = ie.length, He = we > 0 && d8({
|
@@ -11552,7 +11552,7 @@ function p2() {
|
|
11552
11552
|
}).catch(function(ie) {
|
11553
11553
|
return te(ie);
|
11554
11554
|
});
|
11555
|
-
}, [i, d, te, k, L, o, s, l, c, x]), me =
|
11555
|
+
}, [i, d, te, k, L, o, s, l, c, x]), me = ta(function(pe) {
|
11556
11556
|
pe.preventDefault(), pe.persist(), $(pe);
|
11557
11557
|
var ie = tp(pe);
|
11558
11558
|
if (ie && pe.dataTransfer)
|
@@ -11561,7 +11561,7 @@ function p2() {
|
|
11561
11561
|
} catch {
|
11562
11562
|
}
|
11563
11563
|
return ie && p && p(pe), !1;
|
11564
|
-
}, [p, k]), Te =
|
11564
|
+
}, [p, k]), Te = ta(function(pe) {
|
11565
11565
|
pe.preventDefault(), pe.persist(), $(pe);
|
11566
11566
|
var ie = j.current.filter(function(He) {
|
11567
11567
|
return C.current && C.current.contains(He);
|
@@ -11572,7 +11572,7 @@ function p2() {
|
|
11572
11572
|
isDragAccept: !1,
|
11573
11573
|
isDragReject: !1
|
11574
11574
|
}), tp(pe) && u && u(pe));
|
11575
|
-
}, [C, u, k]), de =
|
11575
|
+
}, [C, u, k]), de = ta(function(pe, ie) {
|
11576
11576
|
var we = [], He = [];
|
11577
11577
|
pe.forEach(function(Ue) {
|
11578
11578
|
var pt = s2(Ue, L), Kt = Ih(pt, 2), et = Kt[0], Dt = Kt[1], Ct = o2(Ue, o, s), zn = Ih(Ct, 2), Oa = zn[0], Fn = zn[1], Za = x ? x(Ue) : null;
|
@@ -11598,7 +11598,7 @@ function p2() {
|
|
11598
11598
|
isDragReject: He.length > 0,
|
11599
11599
|
type: "setFiles"
|
11600
11600
|
}), f && f(we, He, ie), He.length > 0 && h && h(He, ie), we.length > 0 && m && m(we, ie);
|
11601
|
-
}, [W, l, L, o, s, c, f, m, h, x]), Ae =
|
11601
|
+
}, [W, l, L, o, s, c, f, m, h, x]), Ae = ta(function(pe) {
|
11602
11602
|
pe.preventDefault(), pe.persist(), $(pe), j.current = [], tp(pe) && Promise.resolve(i(pe)).then(function(ie) {
|
11603
11603
|
qp(pe) && !k || de(ie, pe);
|
11604
11604
|
}).catch(function(ie) {
|
@@ -11606,7 +11606,7 @@ function p2() {
|
|
11606
11606
|
}), W({
|
11607
11607
|
type: "reset"
|
11608
11608
|
});
|
11609
|
-
}, [i, de, te, k]), be =
|
11609
|
+
}, [i, de, te, k]), be = ta(function() {
|
11610
11610
|
if (H.current) {
|
11611
11611
|
W({
|
11612
11612
|
type: "openDialog"
|
@@ -11631,17 +11631,17 @@ function p2() {
|
|
11631
11631
|
M.current && (W({
|
11632
11632
|
type: "openDialog"
|
11633
11633
|
}), w(), M.current.value = null, M.current.click());
|
11634
|
-
}, [W, w, R, y, de, te, D, l]), Oe =
|
11634
|
+
}, [W, w, R, y, de, te, D, l]), Oe = ta(function(pe) {
|
11635
11635
|
!C.current || !C.current.isEqualNode(pe.target) || (pe.key === " " || pe.key === "Enter" || pe.keyCode === 32 || pe.keyCode === 13) && (pe.preventDefault(), be());
|
11636
|
-
}, [C, be]), B =
|
11636
|
+
}, [C, be]), B = ta(function() {
|
11637
11637
|
W({
|
11638
11638
|
type: "focus"
|
11639
11639
|
});
|
11640
|
-
}, []), Se =
|
11640
|
+
}, []), Se = ta(function() {
|
11641
11641
|
W({
|
11642
11642
|
type: "blur"
|
11643
11643
|
});
|
11644
|
-
}, []), le =
|
11644
|
+
}, []), le = ta(function() {
|
11645
11645
|
I || (m8() ? setTimeout(be, 0) : be());
|
11646
11646
|
}, [I, be]), ee = function(ie) {
|
11647
11647
|
return a ? null : ie;
|
@@ -11668,7 +11668,7 @@ function p2() {
|
|
11668
11668
|
tabIndex: 0
|
11669
11669
|
} : {}), Fn);
|
11670
11670
|
};
|
11671
|
-
}, [C, Oe, B, Se, le, ce, me, Te, Ae, T, A, a]), ne =
|
11671
|
+
}, [C, Oe, B, Se, le, ce, me, Te, Ae, T, A, a]), ne = ta(function(pe) {
|
11672
11672
|
pe.stopPropagation();
|
11673
11673
|
}, []), he = ct(function() {
|
11674
11674
|
return function() {
|
@@ -11858,7 +11858,7 @@ Dd.displayName = "JumpLinksItem";
|
|
11858
11858
|
const L8 = {
|
11859
11859
|
name: "--pf-v5-c-jump-links__toggle--Display"
|
11860
11860
|
}, _p = (e, t) => (E.Children.forEach(e, (n) => {
|
11861
|
-
if (
|
11861
|
+
if (Zn && document.getElementById && document.querySelector && n.type === Dd) {
|
11862
11862
|
const a = n.props.node || n.props.href;
|
11863
11863
|
typeof a == "string" ? a.startsWith("#") ? t.push(document.getElementById(a.substr(1))) : t.push(document.querySelector(a)) : a instanceof HTMLElement && t.push(a);
|
11864
11864
|
}
|
@@ -11877,7 +11877,7 @@ const m2 = (e) => {
|
|
11877
11877
|
if (l)
|
11878
11878
|
return document.querySelector(l);
|
11879
11879
|
}, D = E.useCallback(() => {
|
11880
|
-
if (!
|
11880
|
+
if (!Zn || !b || !(x instanceof HTMLElement))
|
11881
11881
|
return;
|
11882
11882
|
if (k.current) {
|
11883
11883
|
k.current = !1;
|
@@ -12565,7 +12565,7 @@ var qx;
|
|
12565
12565
|
let du = class extends E.Component {
|
12566
12566
|
constructor(t) {
|
12567
12567
|
super(t), this.mainRef = E.createRef(), this.pageRef = E.createRef(), this.observer = () => {
|
12568
|
-
}, this.getWindowWidth = () =>
|
12568
|
+
}, this.getWindowWidth = () => Zn ? this.pageRef.current ? this.pageRef.current.clientWidth : window.innerWidth : 1200, this.isMobile = () => (
|
12569
12569
|
// eslint-disable-next-line radix
|
12570
12570
|
this.getWindowWidth() < Number.parseInt(Uv.value, 10)
|
12571
12571
|
), this.resize = (s) => {
|
@@ -13551,11 +13551,11 @@ class xa extends E.Component {
|
|
13551
13551
|
});
|
13552
13552
|
}
|
13553
13553
|
componentDidMount() {
|
13554
|
-
this.props.isVertical || (
|
13554
|
+
this.props.isVertical || (Zn && window.addEventListener("resize", this.handleScrollButtons, !1), this.direction = wl(this.tabList.current), this.handleScrollButtons());
|
13555
13555
|
}
|
13556
13556
|
componentWillUnmount() {
|
13557
13557
|
var t;
|
13558
|
-
this.props.isVertical ||
|
13558
|
+
this.props.isVertical || Zn && window.removeEventListener("resize", this.handleScrollButtons, !1), clearTimeout(this.scrollTimeout), (t = this.leftScrollButtonRef.current) === null || t === void 0 || t.removeEventListener("transitionend", this.hideScrollButtons);
|
13559
13559
|
}
|
13560
13560
|
componentDidUpdate(t, n) {
|
13561
13561
|
const { activeKey: a, mountOnEnter: i, isOverflowHorizontal: s, children: o } = this.props, { shownKeys: l, overflowingTabCount: c, enableScrollButtons: d } = this.state;
|
@@ -13613,7 +13613,7 @@ class xa extends E.Component {
|
|
13613
13613
|
)),
|
13614
13614
|
U && E.createElement(
|
13615
13615
|
"button",
|
13616
|
-
{ type: "button", className: q(Yt.tabsScrollButton, c &&
|
13616
|
+
{ type: "button", className: q(Yt.tabsScrollButton, c && Qn.modifiers.secondary), "aria-label": h || f, onClick: this.scrollBack, disabled: H, "aria-hidden": H, ref: this.leftScrollButtonRef },
|
13617
13617
|
E.createElement(lu, null)
|
13618
13618
|
),
|
13619
13619
|
E.createElement(
|
@@ -13624,7 +13624,7 @@ class xa extends E.Component {
|
|
13624
13624
|
),
|
13625
13625
|
U && E.createElement(
|
13626
13626
|
"button",
|
13627
|
-
{ type: "button", className: q(Yt.tabsScrollButton, c &&
|
13627
|
+
{ type: "button", className: q(Yt.tabsScrollButton, c && Qn.modifiers.secondary), "aria-label": g || m, onClick: this.scrollForward, disabled: z, "aria-hidden": z },
|
13628
13628
|
E.createElement(Ia, null)
|
13629
13629
|
),
|
13630
13630
|
G !== void 0 && E.createElement(
|
@@ -14172,7 +14172,7 @@ class _E extends E.Component {
|
|
14172
14172
|
s();
|
14173
14173
|
};
|
14174
14174
|
let h = !1;
|
14175
|
-
c === "all" ? h = !0 :
|
14175
|
+
c === "all" ? h = !0 : Zn && (h = (Zn ? window.innerWidth : 1200) < l9[c]);
|
14176
14176
|
const g = d === 0 || a;
|
14177
14177
|
return E.createElement(
|
14178
14178
|
"div",
|
@@ -14203,7 +14203,7 @@ class sr extends E.Component {
|
|
14203
14203
|
super(...arguments), this.chipGroupContentRef = E.createRef(), this.staticFilterInfo = {}, this.state = {
|
14204
14204
|
isManagedToggleExpanded: !1,
|
14205
14205
|
filterInfo: {},
|
14206
|
-
windowWidth:
|
14206
|
+
windowWidth: Zn ? window.innerWidth : 1200,
|
14207
14207
|
ouiaStateId: kr(sr.displayName)
|
14208
14208
|
}, this.isToggleManaged = () => !(this.props.isExpanded || this.props.toggleIsExpanded), this.toggleIsExpanded = () => {
|
14209
14209
|
this.setState((t) => ({
|
@@ -14243,10 +14243,10 @@ class sr extends E.Component {
|
|
14243
14243
|
};
|
14244
14244
|
}
|
14245
14245
|
componentDidMount() {
|
14246
|
-
this.isToggleManaged() &&
|
14246
|
+
this.isToggleManaged() && Zn && window.addEventListener("resize", this.closeExpandableContent);
|
14247
14247
|
}
|
14248
14248
|
componentWillUnmount() {
|
14249
|
-
this.isToggleManaged() &&
|
14249
|
+
this.isToggleManaged() && Zn && window.removeEventListener("resize", this.closeExpandableContent);
|
14250
14250
|
}
|
14251
14251
|
render() {
|
14252
14252
|
return this.props.id ? this.renderToolbar(this.props.id) : E.createElement(cr, null, (t) => this.renderToolbar(t));
|
@@ -14299,7 +14299,7 @@ const Hc = {
|
|
14299
14299
|
}, p9 = (e) => (t) => {
|
14300
14300
|
Ln.ArrowUp === t.key && e.onPlus && (t.preventDefault(), e.onPlus(null, e.inputName)), Ln.ArrowDown === t.key && e.onMinus && (t.preventDefault(), e.onMinus(null, e.inputName));
|
14301
14301
|
}, wh = 0, ko = (e) => {
|
14302
|
-
var { value: t = wh, className: n, widthChars: a, isDisabled: i = !1, validated: s =
|
14302
|
+
var { value: t = wh, className: n, widthChars: a, isDisabled: i = !1, validated: s = Yn.default, onMinus: o = () => {
|
14303
14303
|
}, onChange: l, onBlur: c, onPlus: d = () => {
|
14304
14304
|
}, unit: u, unitPosition: p = "after", min: f, max: m, inputName: h, inputAriaLabel: g = "Input", minusBtnAriaLabel: b = "Minus", plusBtnAriaLabel: y = "Plus", inputProps: v, minusBtnProps: S, plusBtnProps: I } = e, T = ve(e, ["value", "className", "widthChars", "isDisabled", "validated", "onMinus", "onChange", "onBlur", "onPlus", "unit", "unitPosition", "min", "max", "inputName", "inputAriaLabel", "minusBtnAriaLabel", "plusBtnAriaLabel", "inputProps", "minusBtnProps", "plusBtnProps"]);
|
14305
14305
|
const A = E.createElement("div", { className: q(Hc.numberInputUnit) }, u), k = v && v.onKeyDown ? v.onKeyDown : p9({ inputName: h, onMinus: o, onPlus: d }), O = (x) => {
|
@@ -14539,7 +14539,7 @@ class f9 extends E.Component {
|
|
14539
14539
|
}
|
14540
14540
|
componentDidMount() {
|
14541
14541
|
var t;
|
14542
|
-
if (
|
14542
|
+
if (Zn && window.addEventListener("keydown", this.props.hasCheckboxes || this.props.hasSelectableNodes ? this.handleKeysCheckbox : this.handleKeys), this.props.hasCheckboxes || this.props.hasSelectableNodes) {
|
14543
14543
|
const n = this.treeRef.current.getElementsByClassName(on.treeViewNodeToggle)[0];
|
14544
14544
|
if (n && (n.tabIndex = 0), this.props.hasCheckboxes) {
|
14545
14545
|
const a = this.treeRef.current.getElementsByTagName("INPUT")[0];
|
@@ -14553,7 +14553,7 @@ class f9 extends E.Component {
|
|
14553
14553
|
((t = this.treeRef.current) === null || t === void 0 ? void 0 : t.getElementsByClassName(on.treeViewNode)[0]).tabIndex = 0;
|
14554
14554
|
}
|
14555
14555
|
componentWillUnmount() {
|
14556
|
-
|
14556
|
+
Zn && window.removeEventListener("keydown", this.props.hasCheckboxes || this.props.hasSelectableNodes ? this.handleKeysCheckbox : this.handleKeys);
|
14557
14557
|
}
|
14558
14558
|
render() {
|
14559
14559
|
const t = this.props, { children: n, hasCheckboxes: a, hasGuides: i, variant: s, className: o, hasSelectableNodes: l } = t, c = ve(t, ["children", "hasCheckboxes", "hasGuides", "variant", "className", "hasSelectableNodes"]);
|
@@ -15525,12 +15525,12 @@ const Un = {
|
|
15525
15525
|
}
|
15526
15526
|
}, M2 = {
|
15527
15527
|
name: "--pf-v5-l-flex--item--Order"
|
15528
|
-
},
|
15528
|
+
}, Xn = (e) => {
|
15529
15529
|
var { children: t = null, className: n = "", component: a = "div", spacer: i, spaceItems: s, gap: o, rowGap: l, columnGap: c, grow: d, shrink: u, flex: p, direction: f, alignItems: m, alignContent: h, alignSelf: g, align: b, justifyContent: y, display: v, fullWidth: S, flexWrap: I, order: T, style: A } = e, k = ve(e, ["children", "className", "component", "spacer", "spaceItems", "gap", "rowGap", "columnGap", "grow", "shrink", "flex", "direction", "alignItems", "alignContent", "alignSelf", "align", "justifyContent", "display", "fullWidth", "flexWrap", "order", "style"]);
|
15530
15530
|
const O = a;
|
15531
15531
|
return E.createElement(O, Object.assign({ className: q(Un.flex, kt(i, Un), kt(s, Un), kt(d, Un), kt(u, Un), kt(p, Un), kt(f, Un), kt(m, Un), kt(h, Un), kt(g, Un), kt(b, Un), kt(y, Un), kt(v, Un), kt(S, Un), kt(I, Un), kt(o, Un), kt(l, Un), kt(c, Un), n), style: A || T ? Object.assign(Object.assign({}, A), $l(T, M2.name)) : void 0 }, k), t);
|
15532
15532
|
};
|
15533
|
-
|
15533
|
+
Xn.displayName = "Flex";
|
15534
15534
|
const Rt = (e) => {
|
15535
15535
|
var { children: t = null, className: n = "", component: a = "div", spacer: i, grow: s, shrink: o, flex: l, alignSelf: c, align: d, fullWidth: u, order: p, style: f } = e, m = ve(e, ["children", "className", "component", "spacer", "grow", "shrink", "flex", "alignSelf", "align", "fullWidth", "order", "style"]);
|
15536
15536
|
const h = a;
|
@@ -17293,9 +17293,9 @@ function HH(e) {
|
|
17293
17293
|
return !1;
|
17294
17294
|
return !0;
|
17295
17295
|
}
|
17296
|
-
function
|
17296
|
+
function ea(e, t) {
|
17297
17297
|
const n = Array.isArray(t) ? t : Vm(t) ? [t] : AE(t), a = n.length === 1 ? e : BH(e, n), i = n.length - 1, s = n[i];
|
17298
|
-
return a && delete a[s], i !== 0 && (na(a) && za(a) || Array.isArray(a) && HH(a)) &&
|
17298
|
+
return a && delete a[s], i !== 0 && (na(a) && za(a) || Array.isArray(a) && HH(a)) && ea(e, n.slice(0, -1)), e;
|
17299
17299
|
}
|
17300
17300
|
var W2 = (e) => {
|
17301
17301
|
for (const t in e)
|
@@ -17417,7 +17417,7 @@ var jH = (e, t, n, a) => {
|
|
17417
17417
|
n(e);
|
17418
17418
|
const { name: i, ...s } = e;
|
17419
17419
|
return za(s) || Object.keys(s).length >= Object.keys(t).length || Object.keys(s).find((o) => t[o] === (!a || Ur.all));
|
17420
|
-
}, VH = (e, t, n) => !e || !t || e === t || rr(e).some((a) => a && (n ? a === t : a.startsWith(t) || t.startsWith(a))), qH = (e, t, n, a, i) => i.isOnAll ? !1 : !n && i.isOnTouch ? !(t || e) : (n ? a.isOnBlur : i.isOnBlur) ? !e : (n ? a.isOnChange : i.isOnChange) ? e : !0, KH = (e, t) => !qm(tt(e, t)).length &&
|
17420
|
+
}, VH = (e, t, n) => !e || !t || e === t || rr(e).some((a) => a && (n ? a === t : a.startsWith(t) || t.startsWith(a))), qH = (e, t, n, a, i) => i.isOnAll ? !1 : !n && i.isOnTouch ? !(t || e) : (n ? a.isOnBlur : i.isOnBlur) ? !e : (n ? a.isOnChange : i.isOnChange) ? e : !0, KH = (e, t) => !qm(tt(e, t)).length && ea(e, t), J2 = (e, t, n) => {
|
17421
17421
|
const a = rr(tt(e, n));
|
17422
17422
|
return bn(a, "root", t[n]), bn(e, n, a), e;
|
17423
17423
|
}, xp = (e) => ki(e);
|
@@ -17576,7 +17576,7 @@ function YH(e = {}) {
|
|
17576
17576
|
}
|
17577
17577
|
}, b = ($, X) => {
|
17578
17578
|
!t.disabled && (u.isValidating || u.validatingFields || p.isValidating || p.validatingFields) && (($ || Array.from(l.mount)).forEach((ne) => {
|
17579
|
-
ne && (X ? bn(n.validatingFields, ne, X) :
|
17579
|
+
ne && (X ? bn(n.validatingFields, ne, X) : ea(n.validatingFields, ne));
|
17580
17580
|
}), f.state.next({
|
17581
17581
|
validatingFields: n.validatingFields,
|
17582
17582
|
isValidating: !za(n.validatingFields)
|
@@ -17628,7 +17628,7 @@ function YH(e = {}) {
|
|
17628
17628
|
if (!ne || he) {
|
17629
17629
|
(u.isDirty || p.isDirty) && (we = n.isDirty, n.isDirty = He.isDirty = D(), ie = we !== He.isDirty);
|
17630
17630
|
const Ue = Bs(tt(i, $), X);
|
17631
|
-
we = !!tt(n.dirtyFields, $), Ue ?
|
17631
|
+
we = !!tt(n.dirtyFields, $), Ue ? ea(n.dirtyFields, $) : bn(n.dirtyFields, $, !0), He.dirtyFields = n.dirtyFields, ie = ie || (u.dirtyFields || p.dirtyFields) && we !== !Ue;
|
17632
17632
|
}
|
17633
17633
|
if (ne) {
|
17634
17634
|
const Ue = tt(n.touchedFields, $);
|
@@ -17639,7 +17639,7 @@ function YH(e = {}) {
|
|
17639
17639
|
return ie ? He : {};
|
17640
17640
|
}, A = ($, X, ne, he) => {
|
17641
17641
|
const pe = tt(n.errors, $), ie = (u.isValid || p.isValid) && Er(X) && n.isValid !== X;
|
17642
|
-
if (t.delayError && ne ? (c = h(() => v($, ne)), c(t.delayError)) : (clearTimeout(d), c = null, ne ? bn(n.errors, $, ne) :
|
17642
|
+
if (t.delayError && ne ? (c = h(() => v($, ne)), c(t.delayError)) : (clearTimeout(d), c = null, ne ? bn(n.errors, $, ne) : ea(n.errors, $)), (ne ? !Bs(pe, ne) : pe) || !za(he) || ie) {
|
17643
17643
|
const we = {
|
17644
17644
|
...he,
|
17645
17645
|
...ie && Er(X) ? { isValid: X } : {},
|
@@ -17660,7 +17660,7 @@ function YH(e = {}) {
|
|
17660
17660
|
if ($)
|
17661
17661
|
for (const ne of $) {
|
17662
17662
|
const he = tt(X, ne);
|
17663
|
-
he ? bn(n.errors, ne, he) :
|
17663
|
+
he ? bn(n.errors, ne, he) : ea(n.errors, ne);
|
17664
17664
|
}
|
17665
17665
|
else
|
17666
17666
|
n.errors = X;
|
@@ -17678,7 +17678,7 @@ function YH(e = {}) {
|
|
17678
17678
|
const pt = await zy(pe, l.disabled, s, m, t.shouldUseNativeValidation && !X, He);
|
17679
17679
|
if (Ue && u.validatingFields && b([he]), pt[ie.name] && (ne.valid = !1, X))
|
17680
17680
|
break;
|
17681
|
-
!X && (tt(pt, ie.name) ? He ? J2(n.errors, pt, ie.name) : bn(n.errors, ie.name, pt[ie.name]) :
|
17681
|
+
!X && (tt(pt, ie.name) ? He ? J2(n.errors, pt, ie.name) : bn(n.errors, ie.name, pt[ie.name]) : ea(n.errors, ie.name));
|
17682
17682
|
}
|
17683
17683
|
!za(we) && await x(we, X, ne);
|
17684
17684
|
}
|
@@ -17783,7 +17783,7 @@ function YH(e = {}) {
|
|
17783
17783
|
isValidating: !!tt(n.validatingFields, $),
|
17784
17784
|
isTouched: !!tt((X || n).touchedFields, $)
|
17785
17785
|
}), H = ($) => {
|
17786
|
-
$ && rr($).forEach((X) =>
|
17786
|
+
$ && rr($).forEach((X) => ea(n.errors, X)), f.state.next({
|
17787
17787
|
errors: $ ? n.errors : {}
|
17788
17788
|
});
|
17789
17789
|
}, z = ($, X, ne) => {
|
@@ -17815,7 +17815,7 @@ function YH(e = {}) {
|
|
17815
17815
|
formState: p
|
17816
17816
|
})), ce = ($, X = {}) => {
|
17817
17817
|
for (const ne of $ ? rr($) : l.mount)
|
17818
|
-
l.mount.delete(ne), l.array.delete(ne), X.keepValue || (
|
17818
|
+
l.mount.delete(ne), l.array.delete(ne), X.keepValue || (ea(a, ne), ea(s, ne)), !X.keepError && ea(n.errors, ne), !X.keepDirty && ea(n.dirtyFields, ne), !X.keepTouched && ea(n.touchedFields, ne), !X.keepIsValidating && ea(n.validatingFields, ne), !t.shouldUnregister && !X.keepDefaultValue && ea(i, ne);
|
17819
17819
|
f.state.next({
|
17820
17820
|
values: jn(s)
|
17821
17821
|
}), f.state.next({
|
@@ -17894,8 +17894,8 @@ function YH(e = {}) {
|
|
17894
17894
|
await x(a);
|
17895
17895
|
if (l.disabled.size)
|
17896
17896
|
for (const ie of l.disabled)
|
17897
|
-
|
17898
|
-
if (
|
17897
|
+
ea(pe, ie);
|
17898
|
+
if (ea(n.errors, "root"), za(n.errors)) {
|
17899
17899
|
f.state.next({
|
17900
17900
|
errors: {}
|
17901
17901
|
});
|
@@ -17915,7 +17915,7 @@ function YH(e = {}) {
|
|
17915
17915
|
}), he)
|
17916
17916
|
throw he;
|
17917
17917
|
}, Oe = ($, X = {}) => {
|
17918
|
-
tt(a, $) && (Dn(X.defaultValue) ? V($, jn(tt(i, $))) : (V($, X.defaultValue), bn(i, $, jn(X.defaultValue))), X.keepTouched ||
|
17918
|
+
tt(a, $) && (Dn(X.defaultValue) ? V($, jn(tt(i, $))) : (V($, X.defaultValue), bn(i, $, jn(X.defaultValue))), X.keepTouched || ea(n.touchedFields, $), X.keepDirty || (ea(n.dirtyFields, $), n.isDirty = X.defaultValue ? D($, jn(tt(i, $))) : D()), X.keepError || (ea(n.errors, $), u.isValid && g()), f.state.next({ ...n }));
|
17919
17919
|
}, B = ($, X = {}) => {
|
17920
17920
|
const ne = $ ? jn($) : i, he = jn(ne), pe = za($), ie = pe ? i : he;
|
17921
17921
|
if (X.keepDefaultValues || (i = ne), !X.keepValues) {
|
@@ -18158,7 +18158,7 @@ function NE(e) {
|
|
18158
18158
|
if (n._options.resolver)
|
18159
18159
|
n._runSchema([a]).then((A) => {
|
18160
18160
|
const k = tt(A.errors, a), O = tt(n._formState.errors, a);
|
18161
|
-
(O ? !k && O.type || k && (O.type !== k.type || O.message !== k.message) : k && k.type) && (k ? bn(n._formState.errors, a, k) :
|
18161
|
+
(O ? !k && O.type || k && (O.type !== k.type || O.message !== k.message) : k && k.type) && (k ? bn(n._formState.errors, a, k) : ea(n._formState.errors, a), n._subjects.state.next({
|
18162
18162
|
errors: n._formState.errors
|
18163
18163
|
}));
|
18164
18164
|
});
|
@@ -18787,7 +18787,7 @@ function bu(e, t) {
|
|
18787
18787
|
e = e[bc(t[n++])];
|
18788
18788
|
return n && n == a ? e : void 0;
|
18789
18789
|
}
|
18790
|
-
function
|
18790
|
+
function Wn(e, t, n) {
|
18791
18791
|
var a = e == null ? void 0 : bu(e, t);
|
18792
18792
|
return a === void 0 ? n : a;
|
18793
18793
|
}
|
@@ -19542,7 +19542,7 @@ function eq(e, t) {
|
|
19542
19542
|
var tq = 1, nq = 2;
|
19543
19543
|
function aq(e, t) {
|
19544
19544
|
return BE(e) && zL(t) ? GL(bc(e), t) : function(n) {
|
19545
|
-
var a =
|
19545
|
+
var a = Wn(n, e);
|
19546
19546
|
return a === void 0 && a === t ? eq(n, e) : af(t, a, tq | nq);
|
19547
19547
|
};
|
19548
19548
|
}
|
@@ -21873,7 +21873,7 @@ function wD() {
|
|
21873
21873
|
function n() {
|
21874
21874
|
t.current.forEach((a) => clearTimeout(a)), t.current.clear();
|
21875
21875
|
}
|
21876
|
-
return
|
21876
|
+
return ta((a, i) => {
|
21877
21877
|
if (e.current)
|
21878
21878
|
throw new Error("Can't schedule a timeout on an unmounted component.");
|
21879
21879
|
const s = Number(setTimeout(o, i));
|
@@ -21920,7 +21920,7 @@ const LW = 8e3, AD = Yr(
|
|
21920
21920
|
"AlertContext",
|
21921
21921
|
void 0
|
21922
21922
|
), Pe = () => bi(AD), DW = ({ children: e }) => {
|
21923
|
-
const { t } = K(), n = wD(), [a, i] = F([]), s = (d) => i((u) => u.filter((p) => p.id !== d)), o =
|
21923
|
+
const { t } = K(), n = wD(), [a, i] = F([]), s = (d) => i((u) => u.filter((p) => p.id !== d)), o = ta(
|
21924
21924
|
(d, u = _e.success, p) => {
|
21925
21925
|
const f = {
|
21926
21926
|
id: Jy(),
|
@@ -21931,7 +21931,7 @@ const LW = 8e3, AD = Yr(
|
|
21931
21931
|
i((m) => [f, ...m]), n(() => s(f.id), LW);
|
21932
21932
|
},
|
21933
21933
|
[n]
|
21934
|
-
), l =
|
21934
|
+
), l = ta(
|
21935
21935
|
(d, u) => {
|
21936
21936
|
const p = t(d, { error: AW(u) }), f = kW(u);
|
21937
21937
|
o(p, _e.danger, f);
|
@@ -21969,7 +21969,7 @@ function MW(e) {
|
|
21969
21969
|
function FW(e, t, n) {
|
21970
21970
|
const [a, i] = F(
|
21971
21971
|
() => e.getItem(t) ?? n
|
21972
|
-
), s =
|
21972
|
+
), s = ta((o) => {
|
21973
21973
|
i(o), e.setItem(t, o);
|
21974
21974
|
}, []);
|
21975
21975
|
return ft(() => {
|
@@ -21988,7 +21988,7 @@ function JE(e, t, n) {
|
|
21988
21988
|
e,
|
21989
21989
|
t,
|
21990
21990
|
a
|
21991
|
-
), o = ct(() => JSON.parse(i), [i]), l =
|
21991
|
+
), o = ct(() => JSON.parse(i), [i]), l = ta(
|
21992
21992
|
(c) => s(JSON.stringify(c)),
|
21993
21993
|
[]
|
21994
21994
|
);
|
@@ -22051,7 +22051,7 @@ function HW() {
|
|
22051
22051
|
throw new Error("Unable to parse environment variables as JSON.");
|
22052
22052
|
}
|
22053
22053
|
}
|
22054
|
-
const
|
22054
|
+
const Jn = ({ message: e, ...t }) => /* @__PURE__ */ r(Ho, { ...t, children: /* @__PURE__ */ r(Mi, { children: /* @__PURE__ */ r(Fi, { icon: /* @__PURE__ */ r(ao, {}), variant: "error", children: e }) }) }), Ee = ({
|
22055
22055
|
helpText: e,
|
22056
22056
|
fieldLabelId: t,
|
22057
22057
|
noVerticalAlign: n = !0,
|
@@ -22093,7 +22093,7 @@ const so = ({
|
|
22093
22093
|
...o,
|
22094
22094
|
children: [
|
22095
22095
|
s,
|
22096
|
-
i && /* @__PURE__ */ r(
|
22096
|
+
i && /* @__PURE__ */ r(Jn, { "data-testid": `${t}-helper`, message: i.message })
|
22097
22097
|
]
|
22098
22098
|
}
|
22099
22099
|
), si = ({
|
@@ -22131,7 +22131,7 @@ const so = ({
|
|
22131
22131
|
...i,
|
22132
22132
|
id: e,
|
22133
22133
|
value: u,
|
22134
|
-
validated: o[e] ?
|
22134
|
+
validated: o[e] ? Yn.error : Yn.default,
|
22135
22135
|
required: c,
|
22136
22136
|
min: Number(d),
|
22137
22137
|
max: Number(n.rules?.max),
|
@@ -22197,7 +22197,7 @@ const Lo = (e) => {
|
|
22197
22197
|
isRequired: a,
|
22198
22198
|
id: e.name,
|
22199
22199
|
"data-testid": e.name,
|
22200
|
-
validated: o.error ?
|
22200
|
+
validated: o.error ? Yn.error : Yn.default,
|
22201
22201
|
isDisabled: e.isDisabled,
|
22202
22202
|
...n,
|
22203
22203
|
...s
|
@@ -22230,7 +22230,7 @@ const Lo = (e) => {
|
|
22230
22230
|
name: t,
|
22231
22231
|
label: n,
|
22232
22232
|
isRequired: h,
|
22233
|
-
error:
|
22233
|
+
error: Wn(p, t),
|
22234
22234
|
labelIcon: o,
|
22235
22235
|
children: /* @__PURE__ */ r(
|
22236
22236
|
Re,
|
@@ -22256,7 +22256,7 @@ const Lo = (e) => {
|
|
22256
22256
|
onClick: () => m(!f),
|
22257
22257
|
isExpanded: f,
|
22258
22258
|
isFullWidth: !0,
|
22259
|
-
status:
|
22259
|
+
status: Wn(p, t) ? Ks.danger : void 0,
|
22260
22260
|
"aria-label": n,
|
22261
22261
|
isDisabled: l,
|
22262
22262
|
children: vo(a) ? a.find(
|
@@ -22341,7 +22341,7 @@ const Lo = (e) => {
|
|
22341
22341
|
name: t,
|
22342
22342
|
label: n,
|
22343
22343
|
isRequired: A,
|
22344
|
-
error:
|
22344
|
+
error: Wn(f, t),
|
22345
22345
|
labelIcon: o,
|
22346
22346
|
children: /* @__PURE__ */ r(
|
22347
22347
|
Re,
|
@@ -22369,7 +22369,7 @@ const Lo = (e) => {
|
|
22369
22369
|
},
|
22370
22370
|
isExpanded: m,
|
22371
22371
|
isFullWidth: !0,
|
22372
|
-
status:
|
22372
|
+
status: Wn(f, t) ? Ks.danger : void 0,
|
22373
22373
|
children: /* @__PURE__ */ _($o, { isPlain: !0, children: [
|
22374
22374
|
/* @__PURE__ */ r(
|
22375
22375
|
zo,
|
@@ -22549,7 +22549,7 @@ const Js = ({
|
|
22549
22549
|
isRequired: t,
|
22550
22550
|
id: e.name,
|
22551
22551
|
"data-testid": e.name,
|
22552
|
-
validated: i.error ?
|
22552
|
+
validated: i.error ? Yn.error : Yn.default,
|
22553
22553
|
isDisabled: e.isDisabled,
|
22554
22554
|
...e,
|
22555
22555
|
...a
|
@@ -22577,7 +22577,7 @@ const Js = ({
|
|
22577
22577
|
isRequired: i,
|
22578
22578
|
id: e.name,
|
22579
22579
|
"data-testid": e["data-testid"] || e.name,
|
22580
|
-
validated: l.error ?
|
22580
|
+
validated: l.error ? Yn.error : Yn.default,
|
22581
22581
|
isDisabled: e.isDisabled,
|
22582
22582
|
...a,
|
22583
22583
|
...o
|
@@ -22607,7 +22607,7 @@ const Js = ({
|
|
22607
22607
|
"data-testid": e["data-testid"] || e.name,
|
22608
22608
|
filename: o,
|
22609
22609
|
browseButtonText: s("browse"),
|
22610
|
-
validated: d.error ?
|
22610
|
+
validated: d.error ? Yn.error : Yn.default,
|
22611
22611
|
hideDefaultPreview: !0,
|
22612
22612
|
isDisabled: e.isDisabled,
|
22613
22613
|
type: "text",
|
@@ -22806,7 +22806,7 @@ const WW = "_title_180i0_2", YW = {
|
|
22806
22806
|
n.annotations?.inputHelperTextBefore
|
22807
22807
|
), {
|
22808
22808
|
formState: { errors: o }
|
22809
|
-
} = t, l = a?.(n), c =
|
22809
|
+
} = t, l = a?.(n), c = Wn(o, oo(n.name));
|
22810
22810
|
return /* @__PURE__ */ _(
|
22811
22811
|
ye,
|
22812
22812
|
{
|
@@ -22820,7 +22820,7 @@ const WW = "_title_180i0_2", YW = {
|
|
22820
22820
|
l
|
22821
22821
|
] }) : i,
|
22822
22822
|
c && /* @__PURE__ */ r(
|
22823
|
-
|
22823
|
+
Jn,
|
22824
22824
|
{
|
22825
22825
|
"data-testid": `${n.name}-helper`,
|
22826
22826
|
message: c.message
|
@@ -23786,16 +23786,16 @@ function vY({
|
|
23786
23786
|
S(k);
|
23787
23787
|
} else if (T === -1) {
|
23788
23788
|
const k = v.map(
|
23789
|
-
(O) =>
|
23789
|
+
(O) => Wn(O, "id")
|
23790
23790
|
);
|
23791
23791
|
S(
|
23792
23792
|
A ? [...h, ...t.map((O) => O.data)] : h.filter(
|
23793
|
-
(O) => !k.includes(
|
23793
|
+
(O) => !k.includes(Wn(O, "id"))
|
23794
23794
|
)
|
23795
23795
|
);
|
23796
23796
|
} else
|
23797
23797
|
S(A ? [...h, t[T].data] : h.filter(
|
23798
|
-
(k) =>
|
23798
|
+
(k) => Wn(k, "id") !== t[T].data.id
|
23799
23799
|
));
|
23800
23800
|
};
|
23801
23801
|
return /* @__PURE__ */ _(
|
@@ -23867,7 +23867,7 @@ function vY({
|
|
23867
23867
|
I(x, O);
|
23868
23868
|
},
|
23869
23869
|
isSelected: !!h.find(
|
23870
|
-
(k) =>
|
23870
|
+
(k) => Wn(k, "id") === T.data.id
|
23871
23871
|
),
|
23872
23872
|
variant: p ? "radio" : "checkbox",
|
23873
23873
|
isDisabled: T.disableSelection
|
@@ -23916,14 +23916,14 @@ function Ft({
|
|
23916
23916
|
10
|
23917
23917
|
), [M, V] = F(R), [G, Z] = F(0), [W, P] = F(""), U = fn(), [H, z] = F(0), j = fn(), Q = () => z(H + 1), te = km(), ce = (Y, re) => Y.map(($) => {
|
23918
23918
|
if ("cellFormatters" in $) {
|
23919
|
-
const X =
|
23919
|
+
const X = Wn(re, $.name);
|
23920
23920
|
return $.cellFormatters?.reduce((ne, he) => he(ne), X);
|
23921
23921
|
}
|
23922
23922
|
if ($.cellRenderer) {
|
23923
23923
|
const X = $.cellRenderer;
|
23924
23924
|
return { title: /* @__PURE__ */ r(X, { ...re }) };
|
23925
23925
|
}
|
23926
|
-
return
|
23926
|
+
return Wn(re, $.name);
|
23927
23927
|
}), me = (Y) => {
|
23928
23928
|
const re = ($) => l?.[0]?.enabled?.($);
|
23929
23929
|
return Y.map(($, X) => {
|
@@ -23932,7 +23932,7 @@ function Ft({
|
|
23932
23932
|
data: $,
|
23933
23933
|
disableSelection: ne,
|
23934
23934
|
disableActions: ne,
|
23935
|
-
selected: !!T.find((pe) =>
|
23935
|
+
selected: !!T.find((pe) => Wn(pe, "id") === Wn($, "id")),
|
23936
23936
|
isOpen: re($) ? !1 : void 0,
|
23937
23937
|
cells: ce(u, $)
|
23938
23938
|
}
|
@@ -24393,7 +24393,7 @@ const Pn = () => (e) => e || "—", Su = () => (e) => {
|
|
24393
24393
|
return e;
|
24394
24394
|
}
|
24395
24395
|
}, GD = Yr("ServerInfoContext", void 0), $t = () => bi(GD), jD = () => pf($t().providers["login-protocol"].providers), NY = ({ children: e }) => {
|
24396
|
-
const { adminClient: t } = Ce(), [n, a] = F(), i =
|
24396
|
+
const { adminClient: t } = Ce(), [n, a] = F(), i = ta(async () => {
|
24397
24397
|
try {
|
24398
24398
|
return await t.serverInfo.find();
|
24399
24399
|
} catch (s) {
|
@@ -24962,8 +24962,8 @@ const ek = ({
|
|
24962
24962
|
fieldId: e,
|
24963
24963
|
isRequired: a,
|
24964
24964
|
children: [
|
24965
|
-
/* @__PURE__ */ _(
|
24966
|
-
/* @__PURE__ */ _(
|
24965
|
+
/* @__PURE__ */ _(Xn, { direction: { default: "column" }, children: [
|
24966
|
+
/* @__PURE__ */ _(Xn, { children: [
|
24967
24967
|
/* @__PURE__ */ r(
|
24968
24968
|
Rt,
|
24969
24969
|
{
|
@@ -24974,7 +24974,7 @@ const ek = ({
|
|
24974
24974
|
),
|
24975
24975
|
/* @__PURE__ */ r(Rt, { grow: { default: "grow" }, children: /* @__PURE__ */ r("strong", { children: l("value") }) })
|
24976
24976
|
] }),
|
24977
|
-
p.map((I, T) => /* @__PURE__ */ _(
|
24977
|
+
p.map((I, T) => /* @__PURE__ */ _(Xn, { "data-testid": "row", children: [
|
24978
24978
|
/* @__PURE__ */ r(Rt, { grow: { default: "grow" }, children: /* @__PURE__ */ r(
|
24979
24979
|
Lt,
|
24980
24980
|
{
|
@@ -25267,7 +25267,7 @@ const zY = ({
|
|
25267
25267
|
);
|
25268
25268
|
};
|
25269
25269
|
function vt(e = !1) {
|
25270
|
-
const [t, n] = F(e), a =
|
25270
|
+
const [t, n] = F(e), a = ta(() => n((i) => !i), []);
|
25271
25271
|
return [t, a, n];
|
25272
25272
|
}
|
25273
25273
|
const Mt = (e) => typeof e == "string", jc = () => {
|
@@ -27344,7 +27344,7 @@ const r0 = async (e, { id: t, type: n, first: a, max: i, search: s, endpoint: o
|
|
27344
27344
|
] })
|
27345
27345
|
}
|
27346
27346
|
),
|
27347
|
-
m[h] && /* @__PURE__ */ r(
|
27347
|
+
m[h] && /* @__PURE__ */ r(Jn, { message: l("required") })
|
27348
27348
|
]
|
27349
27349
|
}
|
27350
27350
|
);
|
@@ -59616,7 +59616,7 @@ const r3 = /* @__PURE__ */ fe.forwardRef((e, t) => {
|
|
59616
59616
|
selectItems: p(c)
|
59617
59617
|
}
|
59618
59618
|
),
|
59619
|
-
f() && /* @__PURE__ */ r(
|
59619
|
+
f() && /* @__PURE__ */ r(Jn, { message: o("required") })
|
59620
59620
|
]
|
59621
59621
|
}
|
59622
59622
|
);
|
@@ -60092,7 +60092,7 @@ function ot(e, t) {
|
|
60092
60092
|
}
|
60093
60093
|
return oc(e, n);
|
60094
60094
|
}
|
60095
|
-
const Gne = Ze(() => import("./FlowDetails-
|
60095
|
+
const Gne = Ze(() => import("./FlowDetails-CVLvvfi9.js")), nI = {
|
60096
60096
|
path: "/:realm/authentication/:id/:usedBy",
|
60097
60097
|
element: /* @__PURE__ */ r(Gne, {}),
|
60098
60098
|
breadcrumb: (e) => e("flowDetails"),
|
@@ -60196,7 +60196,7 @@ function rI({
|
|
60196
60196
|
dragging: !1,
|
60197
60197
|
tempItemOrder: [""]
|
60198
60198
|
}), u = ct(
|
60199
|
-
() => n.map((T) =>
|
60199
|
+
() => n.map((T) => Wn(T, e)),
|
60200
60200
|
[n]
|
60201
60201
|
), p = (T) => {
|
60202
60202
|
T.dataTransfer.effectAllowed = "move", T.dataTransfer.setData("text/plain", T.currentTarget.id);
|
@@ -60301,7 +60301,7 @@ function rI({
|
|
60301
60301
|
children: n.map((T) => /* @__PURE__ */ _(
|
60302
60302
|
ut,
|
60303
60303
|
{
|
60304
|
-
id:
|
60304
|
+
id: Wn(T, e),
|
60305
60305
|
draggable: !0,
|
60306
60306
|
onDrop: y,
|
60307
60307
|
onDragEnd: S,
|
@@ -60311,7 +60311,7 @@ function rI({
|
|
60311
60311
|
De,
|
60312
60312
|
{
|
60313
60313
|
draggableRow: {
|
60314
|
-
id: `draggable-row-${
|
60314
|
+
id: `draggable-row-${Wn(T, e)}`
|
60315
60315
|
}
|
60316
60316
|
}
|
60317
60317
|
),
|
@@ -60319,9 +60319,9 @@ function rI({
|
|
60319
60319
|
De,
|
60320
60320
|
{
|
60321
60321
|
dataLabel: A.name,
|
60322
|
-
children: A.cellRenderer ? A.cellRenderer(T) :
|
60322
|
+
children: A.cellRenderer ? A.cellRenderer(T) : Wn(T, A.name)
|
60323
60323
|
},
|
60324
|
-
`${
|
60324
|
+
`${Wn(T, e)}_${A.name}`
|
60325
60325
|
)),
|
60326
60326
|
a && /* @__PURE__ */ r(De, { isActionCell: !0, children: /* @__PURE__ */ r(
|
60327
60327
|
yc,
|
@@ -60334,7 +60334,7 @@ function rI({
|
|
60334
60334
|
) })
|
60335
60335
|
]
|
60336
60336
|
},
|
60337
|
-
|
60337
|
+
Wn(T, e)
|
60338
60338
|
))
|
60339
60339
|
}
|
60340
60340
|
)
|
@@ -60988,13 +60988,13 @@ const Vne = ({
|
|
60988
60988
|
"data-testid": e,
|
60989
60989
|
value: c.value,
|
60990
60990
|
onChange: c.onChange,
|
60991
|
-
validated: l ?
|
60991
|
+
validated: l ? Yn.error : Yn.default
|
60992
60992
|
}
|
60993
60993
|
)
|
60994
60994
|
}
|
60995
60995
|
),
|
60996
60996
|
l && /* @__PURE__ */ r(
|
60997
|
-
|
60997
|
+
Jn,
|
60998
60998
|
{
|
60999
60999
|
"data-testid": `${e}-helper`,
|
61000
61000
|
message: l.message
|
@@ -61240,7 +61240,7 @@ const Vne = ({
|
|
61240
61240
|
"data-testid": e,
|
61241
61241
|
...l(e, { required: !0 }),
|
61242
61242
|
defaultValue: n,
|
61243
|
-
validated: d ?
|
61243
|
+
validated: d ? Yn.error : Yn.default
|
61244
61244
|
}
|
61245
61245
|
),
|
61246
61246
|
t === "int" && /* @__PURE__ */ r(
|
@@ -61293,7 +61293,7 @@ const Vne = ({
|
|
61293
61293
|
}
|
61294
61294
|
) })
|
61295
61295
|
] }),
|
61296
|
-
d && /* @__PURE__ */ r(
|
61296
|
+
d && /* @__PURE__ */ r(Jn, { message: s("required") })
|
61297
61297
|
]
|
61298
61298
|
}
|
61299
61299
|
);
|
@@ -61765,7 +61765,7 @@ const mO = ({ onSelect: e, selectedPolicies: t }) => {
|
|
61765
61765
|
return {
|
61766
61766
|
pathname: ot(t, e)
|
61767
61767
|
};
|
61768
|
-
}, fae = Ze(() => import("./CreateFlow-
|
61768
|
+
}, fae = Ze(() => import("./CreateFlow-rSDkm00q.js")), b3 = {
|
61769
61769
|
path: "/:realm/authentication/flows/create",
|
61770
61770
|
element: /* @__PURE__ */ r(fae, {}),
|
61771
61771
|
breadcrumb: (e) => e("createFlow"),
|
@@ -63134,7 +63134,7 @@ const Fae = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
63134
63134
|
variant: "gold",
|
63135
63135
|
className: t || Bae.banner,
|
63136
63136
|
children: /* @__PURE__ */ r(
|
63137
|
-
|
63137
|
+
Xn,
|
63138
63138
|
{
|
63139
63139
|
spaceItems: { default: "spaceItemsSm" },
|
63140
63140
|
flexWrap: { default: "wrap" },
|
@@ -63239,7 +63239,7 @@ const $ae = Ze(() => Promise.resolve().then(() => PI)), U3 = {
|
|
63239
63239
|
}
|
63240
63240
|
}, jf = (e) => ({
|
63241
63241
|
pathname: ot(pI.path, e)
|
63242
|
-
}), Vae = Ze(() => import("./DetailOrganization-
|
63242
|
+
}), Vae = Ze(() => import("./DetailOrganization-Bt0Xs9it.js")), H3 = {
|
63243
63243
|
path: "/:realm/organizations/:id/:tab",
|
63244
63244
|
element: /* @__PURE__ */ r(Vae, {}),
|
63245
63245
|
breadcrumb: (e) => e("organizationDetails"),
|
@@ -63423,7 +63423,7 @@ const $ae = Ze(() => Promise.resolve().then(() => PI)), U3 = {
|
|
63423
63423
|
isPaginated: !0,
|
63424
63424
|
ariaLabelKey: "adminEvents",
|
63425
63425
|
toolbarItem: /* @__PURE__ */ r(Je, { ...L, children: /* @__PURE__ */ _(
|
63426
|
-
|
63426
|
+
Xn,
|
63427
63427
|
{
|
63428
63428
|
direction: { default: "column" },
|
63429
63429
|
spaceItems: { default: "spaceItemsNone" },
|
@@ -66991,7 +66991,7 @@ const dre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
66991
66991
|
] })
|
66992
66992
|
] });
|
66993
66993
|
}, Cre = Ze(
|
66994
|
-
() => import("./PermissionDetails-
|
66994
|
+
() => import("./PermissionDetails-BOJRAjh9.js")
|
66995
66995
|
), bI = {
|
66996
66996
|
path: "/:realm/clients/:id/authorization/permission/new/:permissionType",
|
66997
66997
|
element: /* @__PURE__ */ r(Cre, {}),
|
@@ -67007,7 +67007,7 @@ const dre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
67007
67007
|
return {
|
67008
67008
|
pathname: ot(t, e)
|
67009
67009
|
};
|
67010
|
-
}, _re = Ze(() => import("./ResourceDetails-
|
67010
|
+
}, _re = Ze(() => import("./ResourceDetails-CdDFx-eb.js")), q3 = {
|
67011
67011
|
path: "/:realm/clients/:id/authorization/resource/new",
|
67012
67012
|
element: /* @__PURE__ */ r(_re, {}),
|
67013
67013
|
breadcrumb: (e) => e("createResource"),
|
@@ -67016,7 +67016,7 @@ const dre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
67016
67016
|
}
|
67017
67017
|
}, CO = (e) => ({
|
67018
67018
|
pathname: ot(q3.path, e)
|
67019
|
-
}), Ire = Ze(() => import("./ResourceDetails-
|
67019
|
+
}), Ire = Ze(() => import("./ResourceDetails-CdDFx-eb.js")), yI = {
|
67020
67020
|
path: "/:realm/clients/:id/authorization/resource",
|
67021
67021
|
element: /* @__PURE__ */ r(Ire, {}),
|
67022
67022
|
breadcrumb: (e) => e("resourceDetails"),
|
@@ -67036,7 +67036,7 @@ const dre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
67036
67036
|
pathname: ot(t, e)
|
67037
67037
|
};
|
67038
67038
|
}, xre = Ze(
|
67039
|
-
() => import("./PermissionDetails-
|
67039
|
+
() => import("./PermissionDetails-BOJRAjh9.js")
|
67040
67040
|
), W3 = {
|
67041
67041
|
path: "/:realm/clients/:id/authorization/permission/:permissionType/:permissionId",
|
67042
67042
|
element: /* @__PURE__ */ r(xre, {}),
|
@@ -67050,7 +67050,7 @@ const dre = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
67050
67050
|
}
|
67051
67051
|
}, Po = (e) => ({
|
67052
67052
|
pathname: ot(W3.path, e)
|
67053
|
-
}), wre = Ze(() => import("./ScopeDetails-
|
67053
|
+
}), wre = Ze(() => import("./ScopeDetails-BSj8UT-y.js")), EI = {
|
67054
67054
|
path: "/:realm/clients/:id/authorization/scope",
|
67055
67055
|
element: /* @__PURE__ */ r(wre, {}),
|
67056
67056
|
breadcrumb: (e) => e("authorizationScopeDetails"),
|
@@ -67450,7 +67450,7 @@ const kre = ({ id: e, clientId: t, uris: n }) => {
|
|
67450
67450
|
}
|
67451
67451
|
)
|
67452
67452
|
] });
|
67453
|
-
}, Nre = Ze(() => import("./ScopeDetails-
|
67453
|
+
}, Nre = Ze(() => import("./ScopeDetails-BSj8UT-y.js")), Z3 = {
|
67454
67454
|
path: "/:realm/clients/:id/authorization/scope/new",
|
67455
67455
|
element: /* @__PURE__ */ r(Nre, {}),
|
67456
67456
|
breadcrumb: (e) => e("createAuthorizationScope"),
|
@@ -68831,7 +68831,7 @@ const Ure = Ze(
|
|
68831
68831
|
label: e("repeat"),
|
68832
68832
|
fieldId: "repeat",
|
68833
68833
|
labelIcon: /* @__PURE__ */ r(Ee, { helpText: e("repeatHelp"), fieldLabelId: "repeat" }),
|
68834
|
-
children: /* @__PURE__ */ _(
|
68834
|
+
children: /* @__PURE__ */ _(Xn, { children: [
|
68835
68835
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(
|
68836
68836
|
dn,
|
68837
68837
|
{
|
@@ -68874,7 +68874,7 @@ const Ure = Ze(
|
|
68874
68874
|
isRequired: !0,
|
68875
68875
|
children: [
|
68876
68876
|
/* @__PURE__ */ r(wO, { name: "notBefore" }),
|
68877
|
-
n.notBefore && /* @__PURE__ */ r(
|
68877
|
+
n.notBefore && /* @__PURE__ */ r(Jn, { message: e("required") })
|
68878
68878
|
]
|
68879
68879
|
}
|
68880
68880
|
),
|
@@ -68887,7 +68887,7 @@ const Ure = Ze(
|
|
68887
68887
|
isRequired: !0,
|
68888
68888
|
children: [
|
68889
68889
|
/* @__PURE__ */ r(wO, { name: "notOnOrAfter" }),
|
68890
|
-
n.notOnOrAfter && /* @__PURE__ */ r(
|
68890
|
+
n.notOnOrAfter && /* @__PURE__ */ r(Jn, { message: e("required") })
|
68891
68891
|
]
|
68892
68892
|
}
|
68893
68893
|
)
|
@@ -68904,7 +68904,7 @@ const Ure = Ze(
|
|
68904
68904
|
control: c,
|
68905
68905
|
getValues: d,
|
68906
68906
|
formState: { errors: u }
|
68907
|
-
} = je(), p = d(e), [f, m, h] = vt(), [g, b] = F([]), [y, v] = F([]), [S, I] = F(""), [T, A] = F(""), k = fn(), O =
|
68907
|
+
} = je(), p = d(e), [f, m, h] = vt(), [g, b] = F([]), [y, v] = F([]), [S, I] = F(""), [T, A] = F(""), k = fn(), O = ta(VL(A, 500), []);
|
68908
68908
|
$e(
|
68909
68909
|
async () => p ? (await Promise.all(
|
68910
68910
|
p.map((w) => o.users.findOne({ id: w }))
|
@@ -69037,7 +69037,7 @@ const Ure = Ze(
|
|
69037
69037
|
)
|
69038
69038
|
}
|
69039
69039
|
),
|
69040
|
-
u[e] && /* @__PURE__ */ r(
|
69040
|
+
u[e] && /* @__PURE__ */ r(Jn, { message: l("required") })
|
69041
69041
|
]
|
69042
69042
|
}
|
69043
69043
|
);
|
@@ -72007,7 +72007,7 @@ const _ie = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
72007
72007
|
label: s("selectMethod"),
|
72008
72008
|
fieldId: "selectMethod",
|
72009
72009
|
hasNoPaddingTop: !0,
|
72010
|
-
children: /* @__PURE__ */ _(
|
72010
|
+
children: /* @__PURE__ */ _(Xn, { children: [
|
72011
72011
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(
|
72012
72012
|
dn,
|
72013
72013
|
{
|
@@ -74396,7 +74396,7 @@ const zpe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
74396
74396
|
isPaginated: !0,
|
74397
74397
|
ariaLabelKey: "titleEvents",
|
74398
74398
|
toolbarItem: /* @__PURE__ */ r(Je, { ...T, children: /* @__PURE__ */ _(
|
74399
|
-
|
74399
|
+
Xn,
|
74400
74400
|
{
|
74401
74401
|
direction: { default: "column" },
|
74402
74402
|
spaceItems: { default: "spaceItemsNone" },
|
@@ -75606,7 +75606,7 @@ const jse = () => /* @__PURE__ */ r(oe, { children: "Page Not Found" }), Vse = (
|
|
75606
75606
|
onClose: e,
|
75607
75607
|
onClick: (p) => p.stopPropagation(),
|
75608
75608
|
children: /* @__PURE__ */ _(Ys, { isPlain: !0, isBordered: !0, children: [
|
75609
|
-
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(
|
75609
|
+
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(Xn, { justifyContent: { default: "justifyContentSpaceBetween" }, children: [
|
75610
75610
|
/* @__PURE__ */ _(Rt, { children: [
|
75611
75611
|
n("realmCache"),
|
75612
75612
|
" ",
|
@@ -75620,7 +75620,7 @@ const jse = () => /* @__PURE__ */ r(oe, { children: "Page Not Found" }), Vse = (
|
|
75620
75620
|
] }),
|
75621
75621
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(J, { onClick: () => l(t), children: n("clearButtonTitle") }) })
|
75622
75622
|
] }) }),
|
75623
|
-
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(
|
75623
|
+
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(Xn, { justifyContent: { default: "justifyContentSpaceBetween" }, children: [
|
75624
75624
|
/* @__PURE__ */ _(Rt, { children: [
|
75625
75625
|
n("userCache"),
|
75626
75626
|
" ",
|
@@ -75634,7 +75634,7 @@ const jse = () => /* @__PURE__ */ r(oe, { children: "Page Not Found" }), Vse = (
|
|
75634
75634
|
] }),
|
75635
75635
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(J, { onClick: () => c(t), children: n("clearButtonTitle") }) })
|
75636
75636
|
] }) }),
|
75637
|
-
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(
|
75637
|
+
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(Xn, { justifyContent: { default: "justifyContentSpaceBetween" }, children: [
|
75638
75638
|
/* @__PURE__ */ _(Rt, { children: [
|
75639
75639
|
n("keysCache"),
|
75640
75640
|
" ",
|
@@ -75648,7 +75648,7 @@ const jse = () => /* @__PURE__ */ r(oe, { children: "Page Not Found" }), Vse = (
|
|
75648
75648
|
] }),
|
75649
75649
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(J, { onClick: () => d(t), children: n("clearButtonTitle") }) })
|
75650
75650
|
] }) }),
|
75651
|
-
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(
|
75651
|
+
/* @__PURE__ */ r(Ai, { children: /* @__PURE__ */ _(Xn, { justifyContent: { default: "justifyContentSpaceBetween" }, children: [
|
75652
75652
|
/* @__PURE__ */ _(Rt, { children: [
|
75653
75653
|
n("crlCache"),
|
75654
75654
|
" ",
|
@@ -75952,7 +75952,7 @@ const aoe = ({ children: e }) => {
|
|
75952
75952
|
a(s);
|
75953
75953
|
})().catch(console.error);
|
75954
75954
|
}, []), n ? /* @__PURE__ */ r(HD.Provider, { value: { keycloak: e, adminClient: n }, children: /* @__PURE__ */ r(roe, { children: /* @__PURE__ */ _(
|
75955
|
-
|
75955
|
+
Xn,
|
75956
75956
|
{
|
75957
75957
|
direction: { default: "column" },
|
75958
75958
|
flexWrap: { default: "nowrap" },
|
@@ -76100,7 +76100,7 @@ const aoe = ({ children: e }) => {
|
|
76100
76100
|
}
|
76101
76101
|
}, qO = (e) => ({
|
76102
76102
|
pathname: ot(zM.path, e)
|
76103
|
-
}), Coe = Ze(() => import("./AddOAuth2-
|
76103
|
+
}), Coe = Ze(() => import("./AddOAuth2-BFM6R4m8.js")), _oe = {
|
76104
76104
|
path: "/:realm/identity-providers/oauth2/add",
|
76105
76105
|
element: /* @__PURE__ */ r(Coe, {}),
|
76106
76106
|
breadcrumb: (e) => e("addOAuth2Provider"),
|
@@ -76117,7 +76117,7 @@ const aoe = ({ children: e }) => {
|
|
76117
76117
|
zM,
|
76118
76118
|
FM,
|
76119
76119
|
_oe
|
76120
|
-
], xoe = Ze(() => import("./NewOrganization-
|
76120
|
+
], xoe = Ze(() => import("./NewOrganization-Hxxn4-k4.js")), GM = {
|
76121
76121
|
path: "/:realm/organizations/new",
|
76122
76122
|
element: /* @__PURE__ */ r(xoe, {}),
|
76123
76123
|
breadcrumb: (e) => e("createOrganization"),
|
@@ -76143,7 +76143,7 @@ const aoe = ({ children: e }) => {
|
|
76143
76143
|
GM,
|
76144
76144
|
H3
|
76145
76145
|
], Ooe = Ze(
|
76146
|
-
() => import("./PermissionConfigurationDetails-
|
76146
|
+
() => import("./PermissionConfigurationDetails-CJcSss28.js")
|
76147
76147
|
), VM = {
|
76148
76148
|
path: "/:realm/permissions/:permissionClientId/permission/new/:resourceType",
|
76149
76149
|
element: /* @__PURE__ */ r(Ooe, {}),
|
@@ -76154,7 +76154,7 @@ const aoe = ({ children: e }) => {
|
|
76154
76154
|
}, oy = (e) => ({
|
76155
76155
|
pathname: ot(VM.path, e)
|
76156
76156
|
}), Roe = Ze(
|
76157
|
-
() => import("./PermissionConfigurationDetails-
|
76157
|
+
() => import("./PermissionConfigurationDetails-CJcSss28.js")
|
76158
76158
|
), qM = {
|
76159
76159
|
path: "/:realm/permissions/:permissionClientId/permission/:permissionId/:resourceType",
|
76160
76160
|
element: /* @__PURE__ */ r(Roe, {}),
|
@@ -76257,7 +76257,7 @@ const aoe = ({ children: e }) => {
|
|
76257
76257
|
}
|
76258
76258
|
}, Woe = (e) => ({
|
76259
76259
|
pathname: ot(QM.path, e)
|
76260
|
-
}), Yoe = Ze(() => import("./ExecutorForm-
|
76260
|
+
}), Yoe = Ze(() => import("./ExecutorForm-Ds54rdyT.js")), JM = {
|
76261
76261
|
path: "/:realm/realm-settings/client-policies/:profileName/add-executor",
|
76262
76262
|
element: /* @__PURE__ */ r(Yoe, {}),
|
76263
76263
|
breadcrumb: (e) => e("addExecutor"),
|
@@ -76324,7 +76324,7 @@ const aoe = ({ children: e }) => {
|
|
76324
76324
|
}
|
76325
76325
|
}, rle = (e) => ({
|
76326
76326
|
pathname: ot(i4.path, e)
|
76327
|
-
}), ile = Ze(() => import("./ExecutorForm-
|
76327
|
+
}), ile = Ze(() => import("./ExecutorForm-Ds54rdyT.js")), s4 = {
|
76328
76328
|
path: "/:realm/realm-settings/client-policies/:profileName/edit-profile/:executorName",
|
76329
76329
|
element: /* @__PURE__ */ r(ile, {}),
|
76330
76330
|
breadcrumb: (e) => e("executorDetails"),
|
@@ -76402,7 +76402,7 @@ const aoe = ({ children: e }) => {
|
|
76402
76402
|
c4,
|
76403
76403
|
a4,
|
76404
76404
|
d4
|
76405
|
-
], fle = Ze(() => import("./RealmSection-
|
76405
|
+
], fle = Ze(() => import("./RealmSection-BO0NbM4t.js")), p4 = {
|
76406
76406
|
path: "/:realm/realms",
|
76407
76407
|
element: /* @__PURE__ */ r(fle, {}),
|
76408
76408
|
breadcrumb: (e) => e("realms"),
|
@@ -76679,7 +76679,7 @@ const aoe = ({ children: e }) => {
|
|
76679
76679
|
}
|
76680
76680
|
),
|
76681
76681
|
/* @__PURE__ */ r(Da, {}),
|
76682
|
-
/* @__PURE__ */ r(yN, { children: /* @__PURE__ */ _(
|
76682
|
+
/* @__PURE__ */ r(yN, { children: /* @__PURE__ */ _(Xn, { children: [
|
76683
76683
|
/* @__PURE__ */ r(Rt, { className: "keycloak--keycloak-card__footer", children: i && i }),
|
76684
76684
|
/* @__PURE__ */ r(Rt, { children: n && /* @__PURE__ */ r(cn, { color: a || "gray", children: n }) })
|
76685
76685
|
] }) })
|
@@ -77101,7 +77101,7 @@ const Vle = (e) => {
|
|
77101
77101
|
};
|
77102
77102
|
function Wle() {
|
77103
77103
|
const { adminClient: e } = Ce(), { t } = K(), { addAlert: n, addError: a } = Pe(), { realm: i, realmRepresentation: s } = ke(), o = mt(), [l, c] = F({}), [d, u] = F(""), [p, f] = F([]), [m, h] = F("default"), [g, b] = F(!1), [y, v] = F({
|
77104
|
-
exact: !
|
77104
|
+
exact: !1,
|
77105
77105
|
userAttribute: []
|
77106
77106
|
}), [S, I] = F({}), [T, A] = F(""), [k, O] = F(0), x = () => O(k + 1);
|
77107
77107
|
$e(
|
@@ -77128,7 +77128,7 @@ function Wle() {
|
|
77128
77128
|
max: j,
|
77129
77129
|
q: T
|
77130
77130
|
}, ce = Q || d || "";
|
77131
|
-
if (ce && (te.search = ce), te.exact =
|
77131
|
+
if (ce && (te.search = ce), y.exact && (te.exact = !0), !V && !(te.search || te.q))
|
77132
77132
|
return [];
|
77133
77133
|
try {
|
77134
77134
|
return await kX(e, {
|
@@ -77170,7 +77170,7 @@ function Wle() {
|
|
77170
77170
|
if (!l || !s)
|
77171
77171
|
return /* @__PURE__ */ r(It, {});
|
77172
77172
|
const V = !l.userProfileProvidersEnabled, G = () => {
|
77173
|
-
v({ exact: !
|
77173
|
+
v({ exact: !1, userAttribute: [] }), u(""), A(""), x();
|
77174
77174
|
}, Z = (z) => z.userAttribute.map((j) => `${j.name}:${j.value}`).join(" "), W = () => {
|
77175
77175
|
const z = Z(y);
|
77176
77176
|
A(z), x();
|
@@ -79506,7 +79506,7 @@ const O4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79506
79506
|
children: t
|
79507
79507
|
}
|
79508
79508
|
);
|
79509
|
-
},
|
79509
|
+
}, Kn = ({
|
79510
79510
|
label: e,
|
79511
79511
|
field: t,
|
79512
79512
|
fieldType: n = "string",
|
@@ -79601,7 +79601,7 @@ const O4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
79601
79601
|
}
|
79602
79602
|
),
|
79603
79603
|
i === "private_key_jwt" && /* @__PURE__ */ r(
|
79604
|
-
|
79604
|
+
Kn,
|
79605
79605
|
{
|
79606
79606
|
field: "config.jwtX509HeadersEnabled",
|
79607
79607
|
label: "jwtX509HeadersEnabled"
|
@@ -79950,7 +79950,7 @@ const L4 = ({
|
|
79950
79950
|
}
|
79951
79951
|
),
|
79952
79952
|
l.discoveryError && /* @__PURE__ */ r(
|
79953
|
-
|
79953
|
+
Jn,
|
79954
79954
|
{
|
79955
79955
|
message: l.discoveryError.message
|
79956
79956
|
}
|
@@ -80517,7 +80517,7 @@ const D4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
80517
80517
|
}
|
80518
80518
|
),
|
80519
80519
|
c.discoveryError && /* @__PURE__ */ r(
|
80520
|
-
|
80520
|
+
Jn,
|
80521
80521
|
{
|
80522
80522
|
message: c.discoveryError.message
|
80523
80523
|
}
|
@@ -80709,9 +80709,9 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80709
80709
|
}) === "false";
|
80710
80710
|
return /* @__PURE__ */ _(oe, { children: [
|
80711
80711
|
!e && !t && !n && /* @__PURE__ */ r(sc, { field: "config.defaultScope", label: "scopes" }),
|
80712
|
-
/* @__PURE__ */ r(
|
80712
|
+
/* @__PURE__ */ r(Kn, { field: "storeToken", label: "storeTokens", fieldType: "boolean" }),
|
80713
80713
|
(t || e || n) && /* @__PURE__ */ r(
|
80714
|
-
|
80714
|
+
Kn,
|
80715
80715
|
{
|
80716
80716
|
field: "addReadTokenRoleOnCreate",
|
80717
80717
|
label: "storedTokensReadable",
|
@@ -80720,18 +80720,18 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80720
80720
|
),
|
80721
80721
|
!e && !t && !n && /* @__PURE__ */ _(oe, { children: [
|
80722
80722
|
/* @__PURE__ */ r(
|
80723
|
-
|
80723
|
+
Kn,
|
80724
80724
|
{
|
80725
80725
|
field: "config.acceptsPromptNoneForwardFromClient",
|
80726
80726
|
label: "acceptsPromptNone"
|
80727
80727
|
}
|
80728
80728
|
),
|
80729
|
-
/* @__PURE__ */ r(
|
80729
|
+
/* @__PURE__ */ r(Kn, { field: "config.disableUserInfo", label: "disableUserInfo" })
|
80730
80730
|
] }),
|
80731
|
-
e && /* @__PURE__ */ r(
|
80732
|
-
/* @__PURE__ */ r(
|
80731
|
+
e && /* @__PURE__ */ r(Kn, { field: "config.isAccessTokenJWT", label: "isAccessTokenJWT" }),
|
80732
|
+
/* @__PURE__ */ r(Kn, { field: "trustEmail", label: "trustEmail", fieldType: "boolean" }),
|
80733
80733
|
/* @__PURE__ */ r(
|
80734
|
-
|
80734
|
+
Kn,
|
80735
80735
|
{
|
80736
80736
|
field: "linkOnly",
|
80737
80737
|
label: "accountLinkingOnly",
|
@@ -80739,7 +80739,7 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80739
80739
|
}
|
80740
80740
|
),
|
80741
80741
|
/* @__PURE__ */ r(
|
80742
|
-
|
80742
|
+
Kn,
|
80743
80743
|
{
|
80744
80744
|
field: "hideOnLogin",
|
80745
80745
|
label: "hideOnLoginPage",
|
@@ -80787,11 +80787,11 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80787
80787
|
isRequired: !0,
|
80788
80788
|
id: "kc-claim-filter-name",
|
80789
80789
|
"data-testid": "claimFilterName",
|
80790
|
-
validated: l.config?.claimFilterName ?
|
80790
|
+
validated: l.config?.claimFilterName ? Yn.error : Yn.default,
|
80791
80791
|
...s("config.claimFilterName", { required: !0 })
|
80792
80792
|
}
|
80793
80793
|
),
|
80794
|
-
l.config?.claimFilterName && /* @__PURE__ */ r(
|
80794
|
+
l.config?.claimFilterName && /* @__PURE__ */ r(Jn, { message: a("required") })
|
80795
80795
|
]
|
80796
80796
|
}
|
80797
80797
|
),
|
@@ -80815,11 +80815,11 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80815
80815
|
isRequired: !0,
|
80816
80816
|
id: "kc-claim-filter-value",
|
80817
80817
|
"data-testid": "claimFilterValue",
|
80818
|
-
validated: l.config?.claimFilterValue ?
|
80818
|
+
validated: l.config?.claimFilterValue ? Yn.error : Yn.default,
|
80819
80819
|
...s("config.claimFilterValue", { required: !0 })
|
80820
80820
|
}
|
80821
80821
|
),
|
80822
|
-
l.config?.claimFilterValue && /* @__PURE__ */ r(
|
80822
|
+
l.config?.claimFilterValue && /* @__PURE__ */ r(Jn, { message: a("required") })
|
80823
80823
|
]
|
80824
80824
|
}
|
80825
80825
|
)
|
@@ -80878,7 +80878,7 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80878
80878
|
}
|
80879
80879
|
),
|
80880
80880
|
/* @__PURE__ */ r(
|
80881
|
-
|
80881
|
+
Kn,
|
80882
80882
|
{
|
80883
80883
|
field: "config.caseSensitiveOriginalUsername",
|
80884
80884
|
label: "caseSensitiveOriginalUsername"
|
@@ -80900,18 +80900,18 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80900
80900
|
onToggle: () => a(!n),
|
80901
80901
|
isExpanded: n,
|
80902
80902
|
children: /* @__PURE__ */ _(wt, { isHorizontal: !0, children: [
|
80903
|
-
/* @__PURE__ */ r(
|
80904
|
-
/* @__PURE__ */ r(
|
80905
|
-
/* @__PURE__ */ r(
|
80903
|
+
/* @__PURE__ */ r(Kn, { label: "passLoginHint", field: "config.loginHint" }),
|
80904
|
+
/* @__PURE__ */ r(Kn, { label: "passMaxAge", field: "config.passMaxAge" }),
|
80905
|
+
/* @__PURE__ */ r(Kn, { label: "passCurrentLocale", field: "config.uiLocales" }),
|
80906
80906
|
/* @__PURE__ */ r(
|
80907
|
-
|
80907
|
+
Kn,
|
80908
80908
|
{
|
80909
80909
|
field: "config.backchannelSupported",
|
80910
80910
|
label: "backchannelLogout"
|
80911
80911
|
}
|
80912
80912
|
),
|
80913
80913
|
/* @__PURE__ */ r(
|
80914
|
-
|
80914
|
+
Kn,
|
80915
80915
|
{
|
80916
80916
|
field: "config.sendIdTokenOnLogout",
|
80917
80917
|
label: "sendIdTokenOnLogout",
|
@@ -80919,16 +80919,16 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80919
80919
|
}
|
80920
80920
|
),
|
80921
80921
|
/* @__PURE__ */ r(
|
80922
|
-
|
80922
|
+
Kn,
|
80923
80923
|
{
|
80924
80924
|
field: "config.sendClientIdOnLogout",
|
80925
80925
|
label: "sendClientIdOnLogout"
|
80926
80926
|
}
|
80927
80927
|
),
|
80928
|
-
/* @__PURE__ */ r(
|
80929
|
-
/* @__PURE__ */ r(
|
80928
|
+
/* @__PURE__ */ r(Kn, { field: "config.disableUserInfo", label: "disableUserInfo" }),
|
80929
|
+
/* @__PURE__ */ r(Kn, { field: "config.disableNonce", label: "disableNonce" }),
|
80930
80930
|
/* @__PURE__ */ r(
|
80931
|
-
|
80931
|
+
Kn,
|
80932
80932
|
{
|
80933
80933
|
field: "config.disableTypeClaimCheck",
|
80934
80934
|
label: "disableTypeClaimCheck"
|
@@ -80967,12 +80967,19 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
80967
80967
|
}
|
80968
80968
|
) }),
|
80969
80969
|
/* @__PURE__ */ r(
|
80970
|
-
|
80970
|
+
Kn,
|
80971
80971
|
{
|
80972
80972
|
field: "config.acceptsPromptNoneForwardFromClient",
|
80973
80973
|
label: "acceptsPromptNone"
|
80974
80974
|
}
|
80975
80975
|
),
|
80976
|
+
/* @__PURE__ */ r(
|
80977
|
+
Kn,
|
80978
|
+
{
|
80979
|
+
field: "config.requiresShortStateParameter",
|
80980
|
+
label: "requiresShortStateParameter"
|
80981
|
+
}
|
80982
|
+
),
|
80976
80983
|
/* @__PURE__ */ r(
|
80977
80984
|
ye,
|
80978
80985
|
{
|
@@ -81047,12 +81054,19 @@ const Ice = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
81047
81054
|
}
|
81048
81055
|
),
|
81049
81056
|
/* @__PURE__ */ r(
|
81050
|
-
|
81057
|
+
Kn,
|
81051
81058
|
{
|
81052
81059
|
field: "config.acceptsPromptNoneForwardFromClient",
|
81053
81060
|
label: "acceptsPromptNone"
|
81054
81061
|
}
|
81055
81062
|
),
|
81063
|
+
/* @__PURE__ */ r(
|
81064
|
+
Kn,
|
81065
|
+
{
|
81066
|
+
field: "config.requiresShortStateParameter",
|
81067
|
+
label: "requiresShortStateParameter"
|
81068
|
+
}
|
81069
|
+
),
|
81056
81070
|
/* @__PURE__ */ r(
|
81057
81071
|
si,
|
81058
81072
|
{
|
@@ -82070,7 +82084,7 @@ const Bce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
82070
82084
|
control: d,
|
82071
82085
|
getValues: u,
|
82072
82086
|
formState: { errors: p }
|
82073
|
-
} = je(), f = u(e), [m, h, g] = vt(), [b, y] = F(""), v = fn(), [S, I] = F([]), [T, A] = F(""), k =
|
82087
|
+
} = je(), f = u(e), [m, h, g] = vt(), [b, y] = F(""), v = fn(), [S, I] = F([]), [T, A] = F(""), k = ta(VL(A, 1e3), []);
|
82074
82088
|
$e(
|
82075
82089
|
async () => {
|
82076
82090
|
const x = {
|
@@ -82197,7 +82211,7 @@ const Bce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
82197
82211
|
)
|
82198
82212
|
}
|
82199
82213
|
),
|
82200
|
-
p[e] && /* @__PURE__ */ r(
|
82214
|
+
p[e] && /* @__PURE__ */ r(Jn, { message: c("required") })
|
82201
82215
|
]
|
82202
82216
|
}
|
82203
82217
|
) : /* @__PURE__ */ r(It, {});
|
@@ -82895,7 +82909,7 @@ const Bce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
82895
82909
|
isRequired: !0
|
82896
82910
|
}
|
82897
82911
|
),
|
82898
|
-
a?.domains?.message && /* @__PURE__ */ r(
|
82912
|
+
a?.domains?.message && /* @__PURE__ */ r(Jn, { message: a.domains.message.toString() })
|
82899
82913
|
]
|
82900
82914
|
}
|
82901
82915
|
),
|
@@ -83018,7 +83032,7 @@ function Kce() {
|
|
83018
83032
|
/* @__PURE__ */ r(
|
83019
83033
|
Bt,
|
83020
83034
|
{
|
83021
|
-
titleKey:
|
83035
|
+
titleKey: Wn(
|
83022
83036
|
u,
|
83023
83037
|
`config.${f.metadata.displayFields?.[0] || f.properties[0].name}`
|
83024
83038
|
)?.[0] || t("createItem"),
|
@@ -83042,7 +83056,7 @@ const Wce = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
83042
83056
|
__proto__: null,
|
83043
83057
|
default: Kce
|
83044
83058
|
}, Symbol.toStringTag, { value: "Module" })), Yce = ({ obj: e, field: t }) => {
|
83045
|
-
const { realm: n } = ke(), a =
|
83059
|
+
const { realm: n } = ke(), a = Wn(e, t);
|
83046
83060
|
return /* @__PURE__ */ r(
|
83047
83061
|
We,
|
83048
83062
|
{
|
@@ -84681,7 +84695,7 @@ const cde = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
84681
84695
|
S(z), T(I + 1);
|
84682
84696
|
}
|
84683
84697
|
const H = () => /* @__PURE__ */ _(
|
84684
|
-
|
84698
|
+
Xn,
|
84685
84699
|
{
|
84686
84700
|
direction: { default: "column" },
|
84687
84701
|
spaceItems: { default: "spaceItemsNone" },
|
@@ -86037,7 +86051,7 @@ const xde = ({
|
|
86037
86051
|
)
|
86038
86052
|
],
|
86039
86053
|
children: /* @__PURE__ */ _(
|
86040
|
-
|
86054
|
+
Xn,
|
86041
86055
|
{
|
86042
86056
|
direction: { default: "column" },
|
86043
86057
|
spaceItems: { default: "spaceItemsNone" },
|
@@ -86454,7 +86468,7 @@ const Lv = ({
|
|
86454
86468
|
)
|
86455
86469
|
}
|
86456
86470
|
),
|
86457
|
-
c(g).error && /* @__PURE__ */ r(
|
86471
|
+
c(g).error && /* @__PURE__ */ r(Jn, { message: i("required") })
|
86458
86472
|
] })
|
86459
86473
|
] });
|
86460
86474
|
}, dR = ({ name: e }) => {
|
@@ -87889,7 +87903,7 @@ function Wde() {
|
|
87889
87903
|
)
|
87890
87904
|
] }),
|
87891
87905
|
k && /* @__PURE__ */ _(oe, { children: [
|
87892
|
-
/* @__PURE__ */ _(
|
87906
|
+
/* @__PURE__ */ _(Xn, { children: [
|
87893
87907
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ _(dt, { className: "kc-executors", component: Sn.h1, children: [
|
87894
87908
|
t("executors"),
|
87895
87909
|
/* @__PURE__ */ r(
|
@@ -88701,7 +88715,7 @@ function Jde({
|
|
88701
88715
|
}
|
88702
88716
|
),
|
88703
88717
|
u.realm && /* @__PURE__ */ r(
|
88704
|
-
|
88718
|
+
Jn,
|
88705
88719
|
{
|
88706
88720
|
"data-testid": "realm-id-error",
|
88707
88721
|
message: u.realm.message
|
@@ -89481,7 +89495,7 @@ function nue() {
|
|
89481
89495
|
)
|
89482
89496
|
] }),
|
89483
89497
|
(y || D.formState.isSubmitted) && /* @__PURE__ */ _(oe, { children: [
|
89484
|
-
/* @__PURE__ */ _(
|
89498
|
+
/* @__PURE__ */ _(Xn, { children: [
|
89485
89499
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ _(dt, { className: "kc-conditions", component: Sn.h1, children: [
|
89486
89500
|
t("conditions"),
|
89487
89501
|
/* @__PURE__ */ r(
|
@@ -89598,7 +89612,7 @@ function nue() {
|
|
89598
89612
|
] })
|
89599
89613
|
] }),
|
89600
89614
|
(y || D.formState.isSubmitted) && /* @__PURE__ */ _(oe, { children: [
|
89601
|
-
/* @__PURE__ */ _(
|
89615
|
+
/* @__PURE__ */ _(Xn, { children: [
|
89602
89616
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ _(
|
89603
89617
|
dt,
|
89604
89618
|
{
|
@@ -90398,7 +90412,7 @@ const Z4 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
90398
90412
|
});
|
90399
90413
|
return c ? /* @__PURE__ */ _(oe, { children: [
|
90400
90414
|
/* @__PURE__ */ r(x, {}),
|
90401
|
-
/* @__PURE__ */ r(Be, { children: /* @__PURE__ */ _(
|
90415
|
+
/* @__PURE__ */ r(Be, { children: /* @__PURE__ */ _(Xn, { className: "kc-policies-config-section", children: [
|
90402
90416
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(dr, { headingLevel: "h1", size: "md", children: t("policiesConfigType") }) }),
|
90403
90417
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(
|
90404
90418
|
dn,
|
@@ -90637,7 +90651,7 @@ function lue() {
|
|
90637
90651
|
};
|
90638
90652
|
return /* @__PURE__ */ _(oe, { children: [
|
90639
90653
|
/* @__PURE__ */ r(I, {}),
|
90640
|
-
/* @__PURE__ */ r(Be, { children: /* @__PURE__ */ _(
|
90654
|
+
/* @__PURE__ */ r(Be, { children: /* @__PURE__ */ _(Xn, { className: "kc-profiles-config-section", children: [
|
90641
90655
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(dr, { headingLevel: "h1", size: "md", children: t("profilesConfigType") }) }),
|
90642
90656
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(
|
90643
90657
|
dn,
|
@@ -93807,7 +93821,7 @@ const Q4 = /* @__PURE__ */ mc(uue), pue = ({ onSave: e, onClose: t }) => {
|
|
93807
93821
|
/* @__PURE__ */ _(Be, { variant: "light", children: [
|
93808
93822
|
/* @__PURE__ */ r(jt, { className: "pf-v5-u-mb-lg", children: /* @__PURE__ */ r(dt, { children: a("themeColorInfo") }) }),
|
93809
93823
|
f.matches && n === "light" && /* @__PURE__ */ r(Mn, { variant: "info", isInline: !0, title: a("themePreviewInfo") }),
|
93810
|
-
/* @__PURE__ */ _(
|
93824
|
+
/* @__PURE__ */ _(Xn, { className: "pf-v5-u-pt-lg", children: [
|
93811
93825
|
/* @__PURE__ */ r(Rt, { children: /* @__PURE__ */ r(Qe, { isHorizontal: !0, role: "manage-realm", children: /* @__PURE__ */ _(Je, { ...i, children: [
|
93812
93826
|
/* @__PURE__ */ r(ye, { label: a("favicon"), children: /* @__PURE__ */ r(dy, { name: "favicon" }) }),
|
93813
93827
|
/* @__PURE__ */ r(ye, { label: a("logo"), children: /* @__PURE__ */ r(
|
@@ -95827,7 +95841,7 @@ const xue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
95827
95841
|
...x
|
95828
95842
|
}
|
95829
95843
|
),
|
95830
|
-
u.password && /* @__PURE__ */ r(
|
95844
|
+
u.password && /* @__PURE__ */ r(Jn, { message: o("required") })
|
95831
95845
|
]
|
95832
95846
|
}
|
95833
95847
|
),
|
@@ -95851,7 +95865,7 @@ const xue = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
95851
95865
|
}
|
95852
95866
|
),
|
95853
95867
|
u.passwordConfirmation && /* @__PURE__ */ r(
|
95854
|
-
|
95868
|
+
Jn,
|
95855
95869
|
{
|
95856
95870
|
message: u.passwordConfirmation.message
|
95857
95871
|
}
|
@@ -96191,7 +96205,7 @@ const r6 = ({
|
|
96191
96205
|
] })
|
96192
96206
|
}
|
96193
96207
|
),
|
96194
|
-
O.requiredActions && /* @__PURE__ */ r(
|
96208
|
+
O.requiredActions && /* @__PURE__ */ r(Jn, { message: u("required") })
|
96195
96209
|
]
|
96196
96210
|
}
|
96197
96211
|
)
|
@@ -98946,7 +98960,7 @@ const epe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty(
|
|
98946
98960
|
], l6 = (e) => {
|
98947
98961
|
const t = {};
|
98948
98962
|
return ape.forEach((n) => {
|
98949
|
-
const a =
|
98963
|
+
const a = Wn(e.getValues(), `config.${n}`);
|
98950
98964
|
t[n] = Array.isArray(a) ? a[0] : "";
|
98951
98965
|
}), t;
|
98952
98966
|
}, c6 = ({
|
@@ -100884,7 +100898,7 @@ const fpe = ({
|
|
100884
100898
|
) })
|
100885
100899
|
] }, S.id)) })
|
100886
100900
|
] }),
|
100887
|
-
f[e] && /* @__PURE__ */ r(
|
100901
|
+
f[e] && /* @__PURE__ */ r(Jn, { message: c("requiredGroups") })
|
100888
100902
|
]
|
100889
100903
|
}
|
100890
100904
|
);
|
@@ -100979,7 +100993,7 @@ const fpe = ({
|
|
100979
100993
|
) })
|
100980
100994
|
] }, h.role.id)) })
|
100981
100995
|
] }),
|
100982
|
-
o[e] && /* @__PURE__ */ r(
|
100996
|
+
o[e] && /* @__PURE__ */ r(Jn, { message: a("requiredRoles") })
|
100983
100997
|
]
|
100984
100998
|
}
|
100985
100999
|
);
|
@@ -101921,7 +101935,7 @@ export {
|
|
101921
101935
|
ye as au,
|
101922
101936
|
lt as av,
|
101923
101937
|
$re as aw,
|
101924
|
-
|
101938
|
+
Jn as ax,
|
101925
101939
|
LO as ay,
|
101926
101940
|
Po as az,
|
101927
101941
|
rt as b,
|
@@ -102128,7 +102142,7 @@ export {
|
|
102128
102142
|
HI as e5,
|
102129
102143
|
au as e6,
|
102130
102144
|
$I as e7,
|
102131
|
-
|
102145
|
+
Kn as e8,
|
102132
102146
|
sc as e9,
|
102133
102147
|
Sde as eA,
|
102134
102148
|
Cde as eB,
|
@@ -102265,7 +102279,7 @@ export {
|
|
102265
102279
|
wa as n,
|
102266
102280
|
Ar as o,
|
102267
102281
|
zi as p,
|
102268
|
-
|
102282
|
+
Xn as q,
|
102269
102283
|
Rt as r,
|
102270
102284
|
ht as s,
|
102271
102285
|
hO as t,
|
@@ -102276,4 +102290,4 @@ export {
|
|
102276
102290
|
$e as y,
|
102277
102291
|
mc as z
|
102278
102292
|
};
|
102279
|
-
//# sourceMappingURL=index-
|
102293
|
+
//# sourceMappingURL=index-CjhFLbaH.js.map
|