@ansible/ansible-ui-framework 0.0.656 → 0.0.657
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +120 -120
- package/index.umd.cjs +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -17,8 +17,8 @@ var vr = (t, e, r) => (Oa(t, e, "read from private field"), r ? r.call(t) : e.ge
|
|
17
17
|
}
|
18
18
|
});
|
19
19
|
import * as ke from "react";
|
20
|
-
import Ke, { createContext as
|
21
|
-
import { ButtonVariant as mt, Dropdown as xl, Tooltip as zt, DropdownSeparator as ud, DropdownItem as Ss, DropdownToggle as Sl, KebabToggle as dd, Button as Je, Split as An, DropdownPosition as Ms, Flex as gr, FlexItem as Tt, SplitItem as tr, LabelGroup as $l, Label as ds, Modal as un, ModalVariant as dn, DataList as El, DataListItem as _l, DataListItemRow as Cl, DataListControl as fd, DataListDragButton as hd, DataListCheck as Tl, DataListItemCells as kl, DataListCell as ji, Popover as Vs, FormGroup as ra, Select as jl, SelectVariant as Ol, Form as Pl, SelectOption as Pt, Pagination as Nl, PaginationVariant as Il, DescriptionListGroup as Kr, DescriptionListTerm as Oi, DescriptionListDescription as Jr, Card as md, CardHeader as pd, CardTitle as gd, Truncate as $s, Text as Nn, CardActions as yd, Checkbox as na, CardFooter as vd, Alert as Ls, CardBody as bd, DescriptionList as Es, PageSection as sr, Stack as Tn, Title as
|
20
|
+
import Ke, { createContext as Or, useState as pe, useContext as Bt, useRef as Zt, useCallback as me, useEffect as je, useMemo as De, useDebugValue as Pa, createElement as vl, Fragment as jr, Component as od, Children as bl, isValidElement as wl, cloneElement as ld, useLayoutEffect as cd } from "react";
|
21
|
+
import { ButtonVariant as mt, Dropdown as xl, Tooltip as zt, DropdownSeparator as ud, DropdownItem as Ss, DropdownToggle as Sl, KebabToggle as dd, Button as Je, Split as An, DropdownPosition as Ms, Flex as gr, FlexItem as Tt, SplitItem as tr, LabelGroup as $l, Label as ds, Modal as un, ModalVariant as dn, DataList as El, DataListItem as _l, DataListItemRow as Cl, DataListControl as fd, DataListDragButton as hd, DataListCheck as Tl, DataListItemCells as kl, DataListCell as ji, Popover as Vs, FormGroup as ra, Select as jl, SelectVariant as Ol, Form as Pl, SelectOption as Pt, Pagination as Nl, PaginationVariant as Il, DescriptionListGroup as Kr, DescriptionListTerm as Oi, DescriptionListDescription as Jr, Card as md, CardHeader as pd, CardTitle as gd, Truncate as $s, Text as Nn, CardActions as yd, Checkbox as na, CardFooter as vd, Alert as Ls, CardBody as bd, DescriptionList as Es, PageSection as sr, Stack as Tn, Title as Lr, DataListAction as wd, DropdownToggleCheckbox as xd, Toolbar as Na, ToolbarContent as Ia, ToolbarItem as br, Skeleton as Cr, ToolbarGroup as Jn, ToolbarToggleGroup as Sd, ToolbarFilter as $d, ToggleGroup as Ed, ToggleGroupItem as ri, InputGroup as zs, TextInputGroup as _d, TextInputGroupMain as Cd, TextInputGroupUtilities as Td, EmptyState as Pi, EmptyStateVariant as Da, EmptyStateIcon as Ni, EmptyStateBody as Ii, Bullseye as kd, Spinner as jd, EmptyStateSecondaryActions as Od, ModalBoxBody as _s, Progress as Pd, ProgressSize as Nd, ProgressVariant as Ra, Icon as Id, AlertGroup as Dd, AlertActionCloseButton as Rd, ClipboardCopy as Ad, SelectGroup as Fd, TextArea as Md, TextInput as Dl, Switch as Vd, ActionGroup as Ld, Grid as zd, PageSectionVariants as Aa, PageNavigation as Ud, StackItem as Xn, Breadcrumb as Bd, BreadcrumbItem as Wd, Tab as qd, PageSectionTypes as Rl, Divider as Fa, Tabs as Al, ChipGroup as Hd, Chip as Gd } from "@patternfly/react-core";
|
22
22
|
import { CircleIcon as Yd, OutlinedQuestionCircleIcon as Fl, HelpIcon as Zd, FilterIcon as Ma, ColumnsIcon as Kd, TableIcon as Jd, ListIcon as Xd, ThLargeIcon as Qd, TimesIcon as ef, ArrowRightIcon as tf, ExclamationCircleIcon as Ml, PlusCircleIcon as rf, SearchIcon as sa, PendingIcon as nf, CheckCircleIcon as sf, ExclamationTriangleIcon as af, SyncAltIcon as of, EyeIcon as Vl, EyeSlashIcon as Ll, ExternalLinkAltIcon as lf } from "@patternfly/react-icons";
|
23
23
|
import { TableComposable as cf, Thead as zl, Tr as Qr, Th as en, Tbody as uf, Td as Vt, CollapseColumn as df } from "@patternfly/react-table";
|
24
24
|
import * as ni from "monaco-editor";
|
@@ -664,28 +664,28 @@ class pf {
|
|
664
664
|
this.value = e;
|
665
665
|
}
|
666
666
|
}
|
667
|
-
var er,
|
667
|
+
var er, Mr, Vr;
|
668
668
|
class gf {
|
669
669
|
constructor() {
|
670
670
|
Kn(this, er, void 0);
|
671
|
-
Kn(this, Fr, void 0);
|
672
671
|
Kn(this, Mr, void 0);
|
672
|
+
Kn(this, Vr, void 0);
|
673
673
|
this.clear();
|
674
674
|
}
|
675
675
|
enqueue(e) {
|
676
676
|
const r = new pf(e);
|
677
|
-
vr(this, er) ? (vr(this,
|
677
|
+
vr(this, er) ? (vr(this, Mr).next = r, ur(this, Mr, r)) : (ur(this, er, r), ur(this, Mr, r)), ti(this, Vr)._++;
|
678
678
|
}
|
679
679
|
dequeue() {
|
680
680
|
const e = vr(this, er);
|
681
681
|
if (e)
|
682
|
-
return ur(this, er, vr(this, er).next), ti(this,
|
682
|
+
return ur(this, er, vr(this, er).next), ti(this, Vr)._--, e.value;
|
683
683
|
}
|
684
684
|
clear() {
|
685
|
-
ur(this, er, void 0), ur(this,
|
685
|
+
ur(this, er, void 0), ur(this, Mr, void 0), ur(this, Vr, 0);
|
686
686
|
}
|
687
687
|
get size() {
|
688
|
-
return vr(this,
|
688
|
+
return vr(this, Vr);
|
689
689
|
}
|
690
690
|
*[Symbol.iterator]() {
|
691
691
|
let e = vr(this, er);
|
@@ -693,7 +693,7 @@ class gf {
|
|
693
693
|
yield e.value, e = e.next;
|
694
694
|
}
|
695
695
|
}
|
696
|
-
er = new WeakMap(),
|
696
|
+
er = new WeakMap(), Mr = new WeakMap(), Vr = new WeakMap();
|
697
697
|
function yf(t) {
|
698
698
|
if (!((Number.isInteger(t) || t === Number.POSITIVE_INFINITY) && t > 0))
|
699
699
|
throw new TypeError("Expected `concurrency` to be a number from 1 and up");
|
@@ -753,7 +753,7 @@ function Ul(t) {
|
|
753
753
|
}
|
754
754
|
const Bl = "var(--pf-global--success-color--100)", Wl = "var(--pf-global--danger-color--100)", bf = "var(--pf-global--warning-color--100)", ql = "var(--pf-global--info-color--100)", wf = "var(--pf-global--disabled-color--100)";
|
755
755
|
var xf = /* @__PURE__ */ ((t) => (t.blue = "blue", t.cyan = "cyan", t.green = "green", t.orange = "orange", t.purple = "purple", t.red = "red", t.grey = "grey", t))(xf || {});
|
756
|
-
const z0 =
|
756
|
+
const z0 = Or(void 0), U0 = Or(() => null), Hl = Or([void 0, () => alert("Use PageDialogProvider")]);
|
757
757
|
function Sf(t) {
|
758
758
|
const e = pe();
|
759
759
|
return /* @__PURE__ */ f.jsxs(Hl.Provider, { value: e, children: [
|
@@ -761,15 +761,15 @@ function Sf(t) {
|
|
761
761
|
t.children
|
762
762
|
] });
|
763
763
|
}
|
764
|
-
function
|
764
|
+
function Pr() {
|
765
765
|
return Bt(Hl);
|
766
766
|
}
|
767
|
-
var
|
768
|
-
return
|
767
|
+
var zr = [], $f = function() {
|
768
|
+
return zr.some(function(t) {
|
769
769
|
return t.activeTargets.length > 0;
|
770
770
|
});
|
771
771
|
}, Ef = function() {
|
772
|
-
return
|
772
|
+
return zr.some(function(t) {
|
773
773
|
return t.skippedTargets.length > 0;
|
774
774
|
});
|
775
775
|
}, za = "ResizeObserver loop completed with undelivered notifications.", _f = function() {
|
@@ -781,16 +781,16 @@ var Lr = [], $f = function() {
|
|
781
781
|
(function(t) {
|
782
782
|
t.BORDER_BOX = "border-box", t.CONTENT_BOX = "content-box", t.DEVICE_PIXEL_CONTENT_BOX = "device-pixel-content-box";
|
783
783
|
})(In || (In = {}));
|
784
|
-
var
|
784
|
+
var Ur = function(t) {
|
785
785
|
return Object.freeze(t);
|
786
786
|
}, Cf = function() {
|
787
787
|
function t(e, r) {
|
788
|
-
this.inlineSize = e, this.blockSize = r,
|
788
|
+
this.inlineSize = e, this.blockSize = r, Ur(this);
|
789
789
|
}
|
790
790
|
return t;
|
791
791
|
}(), Gl = function() {
|
792
792
|
function t(e, r, n, s) {
|
793
|
-
return this.x = e, this.y = r, this.width = n, this.height = s, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width,
|
793
|
+
return this.x = e, this.y = r, this.width = n, this.height = s, this.top = this.y, this.left = this.x, this.bottom = this.top + this.height, this.right = this.left + this.width, Ur(this);
|
794
794
|
}
|
795
795
|
return t.prototype.toJSON = function() {
|
796
796
|
var e = this, r = e.x, n = e.y, s = e.top, i = e.right, a = e.bottom, o = e.left, l = e.width, c = e.height;
|
@@ -832,7 +832,7 @@ var zr = function(t) {
|
|
832
832
|
return parseFloat(t || "0");
|
833
833
|
}, tn = function(t, e, r) {
|
834
834
|
return t === void 0 && (t = 0), e === void 0 && (e = 0), r === void 0 && (r = !1), new Cf((r ? e : t) || 0, (r ? t : e) || 0);
|
835
|
-
}, Wa =
|
835
|
+
}, Wa = Ur({
|
836
836
|
devicePixelContentBoxSize: tn(),
|
837
837
|
borderBoxSize: tn(),
|
838
838
|
contentBoxSize: tn(),
|
@@ -842,7 +842,7 @@ var zr = function(t) {
|
|
842
842
|
return Qn.get(t);
|
843
843
|
if (Yl(t))
|
844
844
|
return Qn.set(t, Wa), Wa;
|
845
|
-
var r = getComputedStyle(t), n = ia(t) && t.ownerSVGElement && t.getBBox(), s = !jf && r.boxSizing === "border-box", i = kf.test(r.writingMode || ""), a = !n && Ba.test(r.overflowY || ""), o = !n && Ba.test(r.overflowX || ""), l = n ? 0 : Xt(r.paddingTop), c = n ? 0 : Xt(r.paddingRight), d = n ? 0 : Xt(r.paddingBottom), h = n ? 0 : Xt(r.paddingLeft), u = n ? 0 : Xt(r.borderTopWidth), m = n ? 0 : Xt(r.borderRightWidth), p = n ? 0 : Xt(r.borderBottomWidth), y = n ? 0 : Xt(r.borderLeftWidth), v = h + c, E = l + d, T = y + m, S = u + p, w = o ? t.offsetHeight - S - t.clientHeight : 0, b = a ? t.offsetWidth - T - t.clientWidth : 0, V = s ? v + T : 0, M = s ? E + S : 0, _ = n ? n.width : Xt(r.width) - V - b, x = n ? n.height : Xt(r.height) - M - w, k = _ + v + b + T, P = x + E + w + S, R =
|
845
|
+
var r = getComputedStyle(t), n = ia(t) && t.ownerSVGElement && t.getBBox(), s = !jf && r.boxSizing === "border-box", i = kf.test(r.writingMode || ""), a = !n && Ba.test(r.overflowY || ""), o = !n && Ba.test(r.overflowX || ""), l = n ? 0 : Xt(r.paddingTop), c = n ? 0 : Xt(r.paddingRight), d = n ? 0 : Xt(r.paddingBottom), h = n ? 0 : Xt(r.paddingLeft), u = n ? 0 : Xt(r.borderTopWidth), m = n ? 0 : Xt(r.borderRightWidth), p = n ? 0 : Xt(r.borderBottomWidth), y = n ? 0 : Xt(r.borderLeftWidth), v = h + c, E = l + d, T = y + m, S = u + p, w = o ? t.offsetHeight - S - t.clientHeight : 0, b = a ? t.offsetWidth - T - t.clientWidth : 0, V = s ? v + T : 0, M = s ? E + S : 0, _ = n ? n.width : Xt(r.width) - V - b, x = n ? n.height : Xt(r.height) - M - w, k = _ + v + b + T, P = x + E + w + S, R = Ur({
|
846
846
|
devicePixelContentBoxSize: tn(Math.round(_ * devicePixelRatio), Math.round(x * devicePixelRatio), i),
|
847
847
|
borderBoxSize: tn(k, P, i),
|
848
848
|
contentBoxSize: tn(_, x, i),
|
@@ -862,7 +862,7 @@ var zr = function(t) {
|
|
862
862
|
}, Of = function() {
|
863
863
|
function t(e) {
|
864
864
|
var r = Zl(e);
|
865
|
-
this.target = e, this.contentRect = r.contentRect, this.borderBoxSize =
|
865
|
+
this.target = e, this.contentRect = r.contentRect, this.borderBoxSize = Ur([r.borderBoxSize]), this.contentBoxSize = Ur([r.contentBoxSize]), this.devicePixelContentBoxSize = Ur([r.devicePixelContentBoxSize]);
|
866
866
|
}
|
867
867
|
return t;
|
868
868
|
}(), Jl = function(t) {
|
@@ -873,7 +873,7 @@ var zr = function(t) {
|
|
873
873
|
return e;
|
874
874
|
}, Pf = function() {
|
875
875
|
var t = 1 / 0, e = [];
|
876
|
-
|
876
|
+
zr.forEach(function(a) {
|
877
877
|
if (a.activeTargets.length !== 0) {
|
878
878
|
var o = [];
|
879
879
|
a.activeTargets.forEach(function(c) {
|
@@ -890,7 +890,7 @@ var zr = function(t) {
|
|
890
890
|
}
|
891
891
|
return t;
|
892
892
|
}, qa = function(t) {
|
893
|
-
|
893
|
+
zr.forEach(function(r) {
|
894
894
|
r.activeTargets.splice(0, r.activeTargets.length), r.skippedTargets.splice(0, r.skippedTargets.length), r.observationTargets.forEach(function(s) {
|
895
895
|
s.isActive() && (Jl(s.target) > t ? r.activeTargets.push(s) : r.skippedTargets.push(s));
|
896
896
|
});
|
@@ -1011,10 +1011,10 @@ var zr = function(t) {
|
|
1011
1011
|
es.set(e, n);
|
1012
1012
|
}, t.observe = function(e, r, n) {
|
1013
1013
|
var s = es.get(e), i = s.observationTargets.length === 0;
|
1014
|
-
Za(s.observationTargets, r) < 0 && (i &&
|
1014
|
+
Za(s.observationTargets, r) < 0 && (i && zr.push(s), s.observationTargets.push(new zf(r, n && n.box)), Ya(1), Di.schedule());
|
1015
1015
|
}, t.unobserve = function(e, r) {
|
1016
1016
|
var n = es.get(e), s = Za(n.observationTargets, r), i = n.observationTargets.length === 1;
|
1017
|
-
s >= 0 && (i &&
|
1017
|
+
s >= 0 && (i && zr.splice(zr.indexOf(n), 1), n.observationTargets.splice(s, 1), Ya(-1));
|
1018
1018
|
}, t.disconnect = function(e) {
|
1019
1019
|
var r = this, n = es.get(e);
|
1020
1020
|
n.observationTargets.slice().forEach(function(s) {
|
@@ -1577,15 +1577,15 @@ new Promise(() => {
|
|
1577
1577
|
*
|
1578
1578
|
* @license MIT
|
1579
1579
|
*/
|
1580
|
-
function
|
1581
|
-
return
|
1580
|
+
function Wr() {
|
1581
|
+
return Wr = Object.assign ? Object.assign.bind() : function(t) {
|
1582
1582
|
for (var e = 1; e < arguments.length; e++) {
|
1583
1583
|
var r = arguments[e];
|
1584
1584
|
for (var n in r)
|
1585
1585
|
Object.prototype.hasOwnProperty.call(r, n) && (t[n] = r[n]);
|
1586
1586
|
}
|
1587
1587
|
return t;
|
1588
|
-
},
|
1588
|
+
}, Wr.apply(this, arguments);
|
1589
1589
|
}
|
1590
1590
|
function ca(t, e) {
|
1591
1591
|
if (t == null)
|
@@ -1682,7 +1682,7 @@ const Lh = typeof window < "u" && typeof window.document < "u" && typeof window.
|
|
1682
1682
|
}
|
1683
1683
|
return (
|
1684
1684
|
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
1685
|
-
/* @__PURE__ */ ke.createElement("a",
|
1685
|
+
/* @__PURE__ */ ke.createElement("a", Wr({}, h, {
|
1686
1686
|
href: m || y,
|
1687
1687
|
onClick: p || i ? n : E,
|
1688
1688
|
ref: r,
|
@@ -1715,7 +1715,7 @@ const Uh = /* @__PURE__ */ ke.forwardRef(function(e, r) {
|
|
1715
1715
|
isActive: T,
|
1716
1716
|
isPending: S
|
1717
1717
|
}) : o;
|
1718
|
-
return /* @__PURE__ */ ke.createElement(sn,
|
1718
|
+
return /* @__PURE__ */ ke.createElement(sn, Wr({}, d, {
|
1719
1719
|
"aria-current": w,
|
1720
1720
|
className: b,
|
1721
1721
|
ref: r,
|
@@ -1727,7 +1727,7 @@ const Uh = /* @__PURE__ */ ke.forwardRef(function(e, r) {
|
|
1727
1727
|
}) : c);
|
1728
1728
|
});
|
1729
1729
|
process.env.NODE_ENV !== "production" && (Uh.displayName = "NavLink");
|
1730
|
-
const Bh = /* @__PURE__ */ ke.forwardRef((t, e) => /* @__PURE__ */ ke.createElement(ic,
|
1730
|
+
const Bh = /* @__PURE__ */ ke.forwardRef((t, e) => /* @__PURE__ */ ke.createElement(ic, Wr({}, t, {
|
1731
1731
|
ref: e
|
1732
1732
|
})));
|
1733
1733
|
process.env.NODE_ENV !== "production" && (Bh.displayName = "Form");
|
@@ -1756,7 +1756,7 @@ const ic = /* @__PURE__ */ ke.forwardRef((t, e) => {
|
|
1756
1756
|
preventScrollReset: d
|
1757
1757
|
});
|
1758
1758
|
};
|
1759
|
-
return /* @__PURE__ */ ke.createElement("form",
|
1759
|
+
return /* @__PURE__ */ ke.createElement("form", Wr({
|
1760
1760
|
ref: e,
|
1761
1761
|
method: m,
|
1762
1762
|
action: p,
|
@@ -1832,7 +1832,7 @@ function ac(t, e) {
|
|
1832
1832
|
basename: n
|
1833
1833
|
} = ke.useContext(fn), s = ke.useContext(Bs);
|
1834
1834
|
s || (process.env.NODE_ENV !== "production" ? kt(!1, "useFormAction must be used inside a RouteContext") : kt(!1));
|
1835
|
-
let [i] = s.matches.slice(-1), a =
|
1835
|
+
let [i] = s.matches.slice(-1), a = Wr({}, Ws(t || ".", {
|
1836
1836
|
relative: r
|
1837
1837
|
})), o = Fn();
|
1838
1838
|
if (t == null && (a.search = o.search, a.hash = o.hash, i.route.index)) {
|
@@ -2979,12 +2979,12 @@ function zi(t) {
|
|
2979
2979
|
r = mo(e % 52) + r;
|
2980
2980
|
return (mo(e % 52) + r).replace(Cm, "$1-$2");
|
2981
2981
|
}
|
2982
|
-
var
|
2982
|
+
var Rr = function(t, e) {
|
2983
2983
|
for (var r = e.length; r; )
|
2984
2984
|
t = 33 * t ^ e.charCodeAt(--r);
|
2985
2985
|
return t;
|
2986
2986
|
}, dc = function(t) {
|
2987
|
-
return
|
2987
|
+
return Rr(5381, t);
|
2988
2988
|
};
|
2989
2989
|
function Tm(t) {
|
2990
2990
|
for (var e = 0; e < t.length; e += 1) {
|
@@ -2996,7 +2996,7 @@ function Tm(t) {
|
|
2996
2996
|
}
|
2997
2997
|
var km = dc("5.3.9"), jm = function() {
|
2998
2998
|
function t(e, r, n) {
|
2999
|
-
this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && Tm(e), this.componentId = r, this.baseHash =
|
2999
|
+
this.rules = e, this.staticRulesId = "", this.isStatic = process.env.NODE_ENV === "production" && (n === void 0 || n.isStatic) && Tm(e), this.componentId = r, this.baseHash = Rr(km, r), this.baseStyle = n, uc.registerId(r);
|
3000
3000
|
}
|
3001
3001
|
return t.prototype.generateAndInjectStyles = function(e, r, n) {
|
3002
3002
|
var s = this.componentId, i = [];
|
@@ -3004,7 +3004,7 @@ var km = dc("5.3.9"), jm = function() {
|
|
3004
3004
|
if (this.staticRulesId && r.hasNameForId(s, this.staticRulesId))
|
3005
3005
|
i.push(this.staticRulesId);
|
3006
3006
|
else {
|
3007
|
-
var a = ln(this.rules, e, r, n).join(""), o = zi(
|
3007
|
+
var a = ln(this.rules, e, r, n).join(""), o = zi(Rr(this.baseHash, a) >>> 0);
|
3008
3008
|
if (!r.hasNameForId(s, o)) {
|
3009
3009
|
var l = n(a, "." + o, void 0, s);
|
3010
3010
|
r.insertRules(s, o, l);
|
@@ -3012,13 +3012,13 @@ var km = dc("5.3.9"), jm = function() {
|
|
3012
3012
|
i.push(o), this.staticRulesId = o;
|
3013
3013
|
}
|
3014
3014
|
else {
|
3015
|
-
for (var c = this.rules.length, d =
|
3015
|
+
for (var c = this.rules.length, d = Rr(this.baseHash, n.hash), h = "", u = 0; u < c; u++) {
|
3016
3016
|
var m = this.rules[u];
|
3017
3017
|
if (typeof m == "string")
|
3018
|
-
h += m, process.env.NODE_ENV !== "production" && (d =
|
3018
|
+
h += m, process.env.NODE_ENV !== "production" && (d = Rr(d, m + u));
|
3019
3019
|
else if (m) {
|
3020
3020
|
var p = ln(m, e, r, n), y = Array.isArray(p) ? p.join("") : p;
|
3021
|
-
d =
|
3021
|
+
d = Rr(d, y + u), h += y;
|
3022
3022
|
}
|
3023
3023
|
}
|
3024
3024
|
if (h) {
|
@@ -3082,7 +3082,7 @@ function Nm(t) {
|
|
3082
3082
|
return h = [], v;
|
3083
3083
|
}
|
3084
3084
|
}])), p.hash = c.length ? c.reduce(function(y, v) {
|
3085
|
-
return v.name || hn(15),
|
3085
|
+
return v.name || hn(15), Rr(y, v.name);
|
3086
3086
|
}, 5381).toString() : "", p;
|
3087
3087
|
}
|
3088
3088
|
var fc = Ke.createContext();
|
@@ -3303,11 +3303,11 @@ Perhaps you're looking to import 'styled-components/native'?
|
|
3303
3303
|
Read more about this at https://www.styled-components.com/docs/basics#react-native`), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && typeof window < "u" && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, window["__styled-components-init__"] === 1 && console.warn(`It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.
|
3304
3304
|
|
3305
3305
|
See https://s-c.sh/2BAXzed for more info.`), window["__styled-components-init__"] += 1);
|
3306
|
-
const
|
3306
|
+
const Nr = Wi, Gm = Nr.span`
|
3307
3307
|
padding-right: 4px;
|
3308
3308
|
`;
|
3309
3309
|
function Ym(t) {
|
3310
|
-
const { action: e, selectedItems: r, wrapper: n } = t, s = n ??
|
3310
|
+
const { action: e, selectedItems: r, wrapper: n } = t, s = n ?? jr, i = e.icon;
|
3311
3311
|
let a = e.tooltip, o = !1, l = e.variant ?? mt.secondary;
|
3312
3312
|
return l === mt.primary && e.isDanger && (l = mt.danger), (!r || !r.length) && (a = "No selections", o = !0), /* @__PURE__ */ f.jsx(s, { children: /* @__PURE__ */ f.jsx(zt, { content: a, trigger: a ? void 0 : "manual", children: /* @__PURE__ */ f.jsx(
|
3313
3313
|
Je,
|
@@ -3321,11 +3321,11 @@ function Ym(t) {
|
|
3321
3321
|
}
|
3322
3322
|
) }) });
|
3323
3323
|
}
|
3324
|
-
const Zm =
|
3324
|
+
const Zm = Nr.span`
|
3325
3325
|
padding-right: 4px;
|
3326
3326
|
`;
|
3327
3327
|
function Km(t) {
|
3328
|
-
const { action: e, isSecondary: r, wrapper: n } = t, s = n ??
|
3328
|
+
const { action: e, isSecondary: r, wrapper: n } = t, s = n ?? jr, i = e.icon;
|
3329
3329
|
let a = e.tooltip ?? t.iconOnly ? t.action.label : void 0;
|
3330
3330
|
const o = e.isDisabled !== void 0 ? e.isDisabled : !1;
|
3331
3331
|
a = o || a;
|
@@ -3347,7 +3347,7 @@ function Km(t) {
|
|
3347
3347
|
) }) });
|
3348
3348
|
}
|
3349
3349
|
function Jm(t) {
|
3350
|
-
const { action: e, selectedItem: r, wrapper: n } = t, s = n ??
|
3350
|
+
const { action: e, selectedItem: r, wrapper: n } = t, s = n ?? jr, i = e.icon;
|
3351
3351
|
let a = e.tooltip ?? t.iconOnly ? t.action.label : void 0;
|
3352
3352
|
const o = e.isDisabled !== void 0 && r ? e.isDisabled(r) : !1;
|
3353
3353
|
a = o || a;
|
@@ -3526,7 +3526,7 @@ const Sc = {
|
|
3526
3526
|
selectNone: "Select none",
|
3527
3527
|
pleaseFixValidationErrors: "Please fix validation errors.",
|
3528
3528
|
validating: "Validating..."
|
3529
|
-
}, $c =
|
3529
|
+
}, $c = Or([Sc, () => alert("Use FrameworkTranslationsProvider")]);
|
3530
3530
|
function ep(t) {
|
3531
3531
|
const e = pe(Sc);
|
3532
3532
|
return /* @__PURE__ */ f.jsx($c.Provider, { value: e, children: t.children });
|
@@ -4334,7 +4334,7 @@ function Er(t, e) {
|
|
4334
4334
|
const r = t.toLowerCase();
|
4335
4335
|
return r === "default" ? e : r === "local" || r === "system" ? Gs.instance : r === "utc" || r === "gmt" ? Ct.utcInstance : Ct.parseSpecifier(r) || yr.create(t);
|
4336
4336
|
} else
|
4337
|
-
return
|
4337
|
+
return Br(t) ? Ct.instance(t) : typeof t == "object" && t.offset && typeof t.offset == "number" ? t : new Sp(t);
|
4338
4338
|
}
|
4339
4339
|
let xo = () => Date.now(), So = "system", $o = null, Eo = null, _o = null, Co = 60, To;
|
4340
4340
|
class dt {
|
@@ -4456,7 +4456,7 @@ class dt {
|
|
4456
4456
|
function Ae(t) {
|
4457
4457
|
return typeof t > "u";
|
4458
4458
|
}
|
4459
|
-
function
|
4459
|
+
function Br(t) {
|
4460
4460
|
return typeof t == "number";
|
4461
4461
|
}
|
4462
4462
|
function Ys(t) {
|
@@ -4506,7 +4506,7 @@ function $r(t) {
|
|
4506
4506
|
if (!(Ae(t) || t === null || t === ""))
|
4507
4507
|
return parseInt(t, 10);
|
4508
4508
|
}
|
4509
|
-
function
|
4509
|
+
function Ir(t) {
|
4510
4510
|
if (!(Ae(t) || t === null || t === ""))
|
4511
4511
|
return parseFloat(t);
|
4512
4512
|
}
|
@@ -5021,13 +5021,13 @@ function Jp(t) {
|
|
5021
5021
|
const [e, r, n, s, i, a, o, l, c] = t, d = e[0] === "-", h = l && l[0] === "-", u = (m, p = !1) => m !== void 0 && (p || m && d) ? -m : m;
|
5022
5022
|
return [
|
5023
5023
|
{
|
5024
|
-
years: u(
|
5025
|
-
months: u(
|
5026
|
-
weeks: u(
|
5027
|
-
days: u(
|
5028
|
-
hours: u(
|
5029
|
-
minutes: u(
|
5030
|
-
seconds: u(
|
5024
|
+
years: u(Ir(r)),
|
5025
|
+
months: u(Ir(n)),
|
5026
|
+
weeks: u(Ir(s)),
|
5027
|
+
days: u(Ir(i)),
|
5028
|
+
hours: u(Ir(a)),
|
5029
|
+
minutes: u(Ir(o)),
|
5030
|
+
seconds: u(Ir(l), l === "-0"),
|
5031
5031
|
milliseconds: u(pa(c), h)
|
5032
5032
|
}
|
5033
5033
|
];
|
@@ -5218,7 +5218,7 @@ const $g = "Invalid Duration", ou = {
|
|
5218
5218
|
milliseconds: Gr * 24 * 60 * 60 * 1e3
|
5219
5219
|
},
|
5220
5220
|
...ou
|
5221
|
-
},
|
5221
|
+
}, Dr = [
|
5222
5222
|
"years",
|
5223
5223
|
"quarters",
|
5224
5224
|
"months",
|
@@ -5228,7 +5228,7 @@ const $g = "Invalid Duration", ou = {
|
|
5228
5228
|
"minutes",
|
5229
5229
|
"seconds",
|
5230
5230
|
"milliseconds"
|
5231
|
-
], Cg =
|
5231
|
+
], Cg = Dr.slice(0).reverse();
|
5232
5232
|
function xr(t, e, r = !1) {
|
5233
5233
|
const n = {
|
5234
5234
|
values: r ? e.values : { ...t.values, ...e.values || {} },
|
@@ -5318,7 +5318,7 @@ class Fe {
|
|
5318
5318
|
* @return {Duration}
|
5319
5319
|
*/
|
5320
5320
|
static fromDurationLike(e) {
|
5321
|
-
if (
|
5321
|
+
if (Br(e))
|
5322
5322
|
return Fe.fromMillis(e);
|
5323
5323
|
if (Fe.isDuration(e))
|
5324
5324
|
return e;
|
@@ -5474,7 +5474,7 @@ class Fe {
|
|
5474
5474
|
* ```
|
5475
5475
|
*/
|
5476
5476
|
toHuman(e = {}) {
|
5477
|
-
const r =
|
5477
|
+
const r = Dr.map((n) => {
|
5478
5478
|
const s = this.values[n];
|
5479
5479
|
return Ae(s) ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...e, unit: n.slice(0, -1) }).format(s);
|
5480
5480
|
}).filter((n) => n);
|
@@ -5576,7 +5576,7 @@ class Fe {
|
|
5576
5576
|
if (!this.isValid)
|
5577
5577
|
return this;
|
5578
5578
|
const r = Fe.fromDurationLike(e), n = {};
|
5579
|
-
for (const s of
|
5579
|
+
for (const s of Dr)
|
5580
5580
|
(cn(r.values, s) || cn(this.values, s)) && (n[s] = r.get(s) + this.get(s));
|
5581
5581
|
return xr(this, { values: n }, !0);
|
5582
5582
|
}
|
@@ -5686,19 +5686,19 @@ class Fe {
|
|
5686
5686
|
e = e.map((a) => Fe.normalizeUnit(a));
|
5687
5687
|
const r = {}, n = {}, s = this.toObject();
|
5688
5688
|
let i;
|
5689
|
-
for (const a of
|
5689
|
+
for (const a of Dr)
|
5690
5690
|
if (e.indexOf(a) >= 0) {
|
5691
5691
|
i = a;
|
5692
5692
|
let o = 0;
|
5693
5693
|
for (const c in n)
|
5694
5694
|
o += this.matrix[c][a] * n[c], n[c] = 0;
|
5695
|
-
|
5695
|
+
Br(s[a]) && (o += s[a]);
|
5696
5696
|
const l = Math.trunc(o);
|
5697
5697
|
r[a] = l, n[a] = (o * 1e3 - l * 1e3) / 1e3;
|
5698
5698
|
for (const c in s)
|
5699
|
-
|
5699
|
+
Dr.indexOf(c) > Dr.indexOf(a) && lu(this.matrix, s, c, r, a);
|
5700
5700
|
} else
|
5701
|
-
|
5701
|
+
Br(s[a]) && (n[a] = s[a]);
|
5702
5702
|
for (const a in n)
|
5703
5703
|
n[a] !== 0 && (r[i] += a === i ? n[a] : n[a] / this.matrix[i][a]);
|
5704
5704
|
return xr(this, { values: r }, !0).normalize();
|
@@ -5830,7 +5830,7 @@ class Fe {
|
|
5830
5830
|
function r(n, s) {
|
5831
5831
|
return n === void 0 || n === 0 ? s === void 0 || s === 0 : n === s;
|
5832
5832
|
}
|
5833
|
-
for (const n of
|
5833
|
+
for (const n of Dr)
|
5834
5834
|
if (!r(this.values[n], e.values[n]))
|
5835
5835
|
return !1;
|
5836
5836
|
return !0;
|
@@ -7153,7 +7153,7 @@ class _e {
|
|
7153
7153
|
* @return {DateTime}
|
7154
7154
|
*/
|
7155
7155
|
static fromMillis(e, r = {}) {
|
7156
|
-
if (
|
7156
|
+
if (Br(e))
|
7157
7157
|
return e < -Fo || e > Fo ? _e.invalid("Timestamp out of range") : new _e({
|
7158
7158
|
ts: e,
|
7159
7159
|
zone: Er(r.zone, dt.defaultZone),
|
@@ -7174,7 +7174,7 @@ class _e {
|
|
7174
7174
|
* @return {DateTime}
|
7175
7175
|
*/
|
7176
7176
|
static fromSeconds(e, r = {}) {
|
7177
|
-
if (
|
7177
|
+
if (Br(e))
|
7178
7178
|
return new _e({
|
7179
7179
|
ts: e * 1e3,
|
7180
7180
|
zone: Er(r.zone, dt.defaultZone),
|
@@ -8445,7 +8445,7 @@ class _e {
|
|
8445
8445
|
function Sn(t) {
|
8446
8446
|
if (_e.isDateTime(t))
|
8447
8447
|
return t;
|
8448
|
-
if (t && t.valueOf &&
|
8448
|
+
if (t && t.valueOf && Br(t.valueOf()))
|
8449
8449
|
return _e.fromJSDate(t);
|
8450
8450
|
if (t && typeof t == "object")
|
8451
8451
|
return _e.fromObject(t);
|
@@ -8503,7 +8503,7 @@ function Sa(t) {
|
|
8503
8503
|
const n = bl.toArray(t.children).map((s) => wl(s) ? ld(s, e) : s);
|
8504
8504
|
return /* @__PURE__ */ f.jsx("div", { style: { paddingRight: r }, children: n });
|
8505
8505
|
}
|
8506
|
-
const Eu =
|
8506
|
+
const Eu = Or(void 0);
|
8507
8507
|
function ry() {
|
8508
8508
|
return Bt(Eu);
|
8509
8509
|
}
|
@@ -8671,7 +8671,7 @@ function Js(t) {
|
|
8671
8671
|
}
|
8672
8672
|
);
|
8673
8673
|
}
|
8674
|
-
function
|
8674
|
+
function Ar(t) {
|
8675
8675
|
const {
|
8676
8676
|
value: e,
|
8677
8677
|
onSelect: r,
|
@@ -8711,7 +8711,7 @@ function Rr(t) {
|
|
8711
8711
|
}
|
8712
8712
|
) });
|
8713
8713
|
}
|
8714
|
-
const Un =
|
8714
|
+
const Un = Or([
|
8715
8715
|
{},
|
8716
8716
|
() => null
|
8717
8717
|
]);
|
@@ -8737,7 +8737,7 @@ function iy(t) {
|
|
8737
8737
|
return /* @__PURE__ */ f.jsx(Un.Provider, { value: [e, n], children: t.children });
|
8738
8738
|
}
|
8739
8739
|
function q0(t) {
|
8740
|
-
const [e, r] = pe(!1), n = me(() => r(!0), []), [s, i] =
|
8740
|
+
const [e, r] = pe(!1), n = me(() => r(!0), []), [s, i] = Pr();
|
8741
8741
|
return je(() => {
|
8742
8742
|
i(e ? /* @__PURE__ */ f.jsx(ay, { open: e, setOpen: r }) : void 0);
|
8743
8743
|
}, [e, i, t]), n;
|
@@ -8758,7 +8758,7 @@ function ay(t) {
|
|
8758
8758
|
hasNoBodyWrapper: !0,
|
8759
8759
|
children: /* @__PURE__ */ f.jsx("div", { style: { padding: "var(--pf-global--spacer--lg)" }, children: /* @__PURE__ */ f.jsxs(Pl, { isHorizontal: r.formLayout === "horizontal", children: [
|
8760
8760
|
/* @__PURE__ */ f.jsxs(
|
8761
|
-
|
8761
|
+
Ar,
|
8762
8762
|
{
|
8763
8763
|
id: "theme",
|
8764
8764
|
label: "Theme",
|
@@ -8773,7 +8773,7 @@ function ay(t) {
|
|
8773
8773
|
}
|
8774
8774
|
),
|
8775
8775
|
/* @__PURE__ */ f.jsxs(
|
8776
|
-
|
8776
|
+
Ar,
|
8777
8777
|
{
|
8778
8778
|
id: "table-layout",
|
8779
8779
|
label: "Table Layout",
|
@@ -8790,7 +8790,7 @@ function ay(t) {
|
|
8790
8790
|
}
|
8791
8791
|
),
|
8792
8792
|
/* @__PURE__ */ f.jsxs(
|
8793
|
-
|
8793
|
+
Ar,
|
8794
8794
|
{
|
8795
8795
|
id: "form-columns",
|
8796
8796
|
label: "Form Columns",
|
@@ -8807,7 +8807,7 @@ function ay(t) {
|
|
8807
8807
|
}
|
8808
8808
|
),
|
8809
8809
|
/* @__PURE__ */ f.jsxs(
|
8810
|
-
|
8810
|
+
Ar,
|
8811
8811
|
{
|
8812
8812
|
id: "form-layout",
|
8813
8813
|
label: "Form Layout",
|
@@ -8870,7 +8870,7 @@ function ly(t) {
|
|
8870
8870
|
const a = 16;
|
8871
8871
|
return /* @__PURE__ */ f.jsx("div", { ref: r, style: { display: "grid", gridAutoRows: "1fr", gridTemplateColumns: n, gap: a }, children: t.children });
|
8872
8872
|
}
|
8873
|
-
const cy =
|
8873
|
+
const cy = Nr.button`
|
8874
8874
|
padding: var(--pf-global--spacer--xs);
|
8875
8875
|
margin: -(var(--pf-global--spacer--xs));
|
8876
8876
|
font-size: var(--pf-global--FontSize--sm);
|
@@ -9229,7 +9229,7 @@ function py(t, e, r, n, s, i, a, o) {
|
|
9229
9229
|
/* @__PURE__ */ f.jsxs(gr, { alignItems: { default: "alignItemsCenter" }, children: [
|
9230
9230
|
(d == null ? void 0 : d.icon) && /* @__PURE__ */ f.jsx(Sa, { size: "xl", children: d == null ? void 0 : d.icon(E) }),
|
9231
9231
|
/* @__PURE__ */ f.jsxs(Tn, { children: [
|
9232
|
-
/* @__PURE__ */ f.jsx(
|
9232
|
+
/* @__PURE__ */ f.jsx(Lr, { headingLevel: "h2", style: { marginTop: -4, fontWeight: "bold" }, children: /* @__PURE__ */ f.jsx("span", { id: `data-list-${T}`, children: /* @__PURE__ */ f.jsx(_t, { column: d, item: E }) }) }),
|
9233
9233
|
h ? /* @__PURE__ */ f.jsx(Nn, { component: "small", style: { opacity: 0.7 }, children: /* @__PURE__ */ f.jsx(_t, { column: h, item: E }) }) : a && /* @__PURE__ */ f.jsx(Nn, { component: "small", style: { opacity: 0.7 }, children: a })
|
9234
9234
|
] })
|
9235
9235
|
] }),
|
@@ -9368,9 +9368,9 @@ function gy(t) {
|
|
9368
9368
|
}
|
9369
9369
|
);
|
9370
9370
|
}
|
9371
|
-
const yy =
|
9371
|
+
const yy = Nr.div`
|
9372
9372
|
flex-grow: 1;
|
9373
|
-
`, vy =
|
9373
|
+
`, vy = Nr.span`
|
9374
9374
|
opacity: 0.7;
|
9375
9375
|
`;
|
9376
9376
|
function H0(t) {
|
@@ -9426,7 +9426,7 @@ function by(t) {
|
|
9426
9426
|
b && /* @__PURE__ */ f.jsx(Jn, { children: /* @__PURE__ */ f.jsx(br, { variant: "bulk-select", children: /* @__PURE__ */ f.jsx(gy, { ...t }) }) }),
|
9427
9427
|
a && a.length > 0 && /* @__PURE__ */ f.jsx(Sd, { toggleIcon: /* @__PURE__ */ f.jsx(Ma, {}), breakpoint: "md", children: /* @__PURE__ */ f.jsxs(Jn, { variant: "filter-group", children: [
|
9428
9428
|
/* @__PURE__ */ f.jsx(br, { children: /* @__PURE__ */ f.jsx(
|
9429
|
-
|
9429
|
+
Ar,
|
9430
9430
|
{
|
9431
9431
|
id: "filter",
|
9432
9432
|
onSelect: (k, P) => _(P.toString()),
|
@@ -9585,7 +9585,7 @@ function by(t) {
|
|
9585
9585
|
) })
|
9586
9586
|
] })
|
9587
9587
|
}
|
9588
|
-
) : /* @__PURE__ */ f.jsx(
|
9588
|
+
) : /* @__PURE__ */ f.jsx(jr, {});
|
9589
9589
|
}
|
9590
9590
|
function wy(t) {
|
9591
9591
|
const { filter: e } = t;
|
@@ -9675,11 +9675,11 @@ function Xs(t) {
|
|
9675
9675
|
color: "var(--pf-global--danger-color--100)"
|
9676
9676
|
}
|
9677
9677
|
),
|
9678
|
-
/* @__PURE__ */ f.jsx(
|
9678
|
+
/* @__PURE__ */ f.jsx(Lr, { headingLevel: "h2", size: "lg", children: t.errorStateTitle }),
|
9679
9679
|
/* @__PURE__ */ f.jsx(Ii, { children: n.message })
|
9680
9680
|
] }) }) : s === 0 && Object.keys(r ?? {}).length === 0 ? /* @__PURE__ */ f.jsx(sr, { variant: t.emptyStateVariant || "default", children: /* @__PURE__ */ f.jsxs(Pi, { variant: Da.large, style: { paddingTop: 48 }, children: [
|
9681
9681
|
/* @__PURE__ */ f.jsx(Ni, { icon: t.emptyStateIcon ?? rf }),
|
9682
|
-
/* @__PURE__ */ f.jsx(
|
9682
|
+
/* @__PURE__ */ f.jsx(Lr, { headingLevel: "h4", size: "lg", children: t.emptyStateTitle }),
|
9683
9683
|
t.emptyStateDescription && /* @__PURE__ */ f.jsx(Ii, { children: t.emptyStateDescription }),
|
9684
9684
|
t.emptyStateButtonClick && /* @__PURE__ */ f.jsx(
|
9685
9685
|
Je,
|
@@ -9808,7 +9808,7 @@ function $y(t) {
|
|
9808
9808
|
),
|
9809
9809
|
d === 0 && /* @__PURE__ */ f.jsxs(Pi, { style: { paddingTop: 48 }, children: [
|
9810
9810
|
/* @__PURE__ */ f.jsx(Ni, { icon: sa }),
|
9811
|
-
/* @__PURE__ */ f.jsx(
|
9811
|
+
/* @__PURE__ */ f.jsx(Lr, { headingLevel: "h2", size: "lg", children: v.noResultsFound }),
|
9812
9812
|
/* @__PURE__ */ f.jsx(Ii, { children: v.noResultsMatchCriteria }),
|
9813
9813
|
u && /* @__PURE__ */ f.jsx(Od, { children: /* @__PURE__ */ f.jsx(Je, { variant: "primary", onClick: u, children: v.clearAllFilters }) })
|
9814
9814
|
] })
|
@@ -10008,7 +10008,7 @@ function _y(t) {
|
|
10008
10008
|
}
|
10009
10009
|
function Cy(t) {
|
10010
10010
|
const { columns: e, item: r, rowActions: n } = t, [s, i] = pe(!1);
|
10011
|
-
return /* @__PURE__ */ f.jsxs(
|
10011
|
+
return /* @__PURE__ */ f.jsxs(jr, { children: [
|
10012
10012
|
e.filter((a) => a.enabled !== !1).map((a) => /* @__PURE__ */ f.jsx(
|
10013
10013
|
Vt,
|
10014
10014
|
{
|
@@ -10422,7 +10422,7 @@ function Ny(t) {
|
|
10422
10422
|
onClose: o,
|
10423
10423
|
processingText: l,
|
10424
10424
|
isDanger: c
|
10425
|
-
} = t, [d] = xt(), [h, u] = pe(!0), [m, p] = pe(!1), [y, v] = pe(0), [E, T] = pe(""), [S, w] = pe(), [b] = pe(() => new AbortController()), [V, M] =
|
10425
|
+
} = t, [d] = xt(), [h, u] = pe(!0), [m, p] = pe(!1), [y, v] = pe(0), [E, T] = pe(""), [S, w] = pe(), [b] = pe(() => new AbortController()), [V, M] = Pr(), _ = me(() => {
|
10426
10426
|
p(!0), b.abort(), u(!1), w((G) => {
|
10427
10427
|
const Y = { ...G };
|
10428
10428
|
for (const Q of r) {
|
@@ -10555,7 +10555,7 @@ function Ny(t) {
|
|
10555
10555
|
);
|
10556
10556
|
}
|
10557
10557
|
function Iy() {
|
10558
|
-
const [t, e] =
|
10558
|
+
const [t, e] = Pr(), [r, n] = pe();
|
10559
10559
|
return je(() => {
|
10560
10560
|
if (r) {
|
10561
10561
|
const s = () => {
|
@@ -10593,13 +10593,13 @@ function vs(t, e) {
|
|
10593
10593
|
function Ry(t, e) {
|
10594
10594
|
return t == null && e == null ? 0 : t == null ? 1 : e == null || t < e ? -1 : t > e ? 1 : 0;
|
10595
10595
|
}
|
10596
|
-
const Ay =
|
10596
|
+
const Ay = Nr.div`
|
10597
10597
|
display: flex;
|
10598
10598
|
flex-direction: column;
|
10599
10599
|
max-height: 560px;
|
10600
10600
|
overflow: hidden;
|
10601
10601
|
border-top: thin solid var(--pf-global--BorderColor--100);
|
10602
|
-
`, Fy =
|
10602
|
+
`, Fy = Nr.div`
|
10603
10603
|
margin-left: 32px;
|
10604
10604
|
height: 64px;
|
10605
10605
|
display: flex;
|
@@ -10619,7 +10619,7 @@ function My(t) {
|
|
10619
10619
|
confirmText: d,
|
10620
10620
|
actionButtonText: h,
|
10621
10621
|
isDanger: u
|
10622
|
-
} = t, [m, p] =
|
10622
|
+
} = t, [m, p] = Pr(), [y] = xt(), v = me(() => {
|
10623
10623
|
p(void 0), c == null || c();
|
10624
10624
|
}, [c, p]), E = De(() => o && r.some(o) ? r.sort((P, R) => vs(o(P), o(R))) : r, [r, o]), { paged: T, page: S, perPage: w, setPage: b, setPerPage: V } = Qs(E), [M, _] = pe(!d), x = De(() => o && r.some(o) ? [
|
10625
10625
|
{
|
@@ -10698,7 +10698,7 @@ function My(t) {
|
|
10698
10698
|
);
|
10699
10699
|
}
|
10700
10700
|
function Vy() {
|
10701
|
-
const [t, e] =
|
10701
|
+
const [t, e] = Pr(), [r, n] = pe();
|
10702
10702
|
return je(() => {
|
10703
10703
|
if (r) {
|
10704
10704
|
const s = () => {
|
@@ -10736,11 +10736,11 @@ const Ly = Hm`
|
|
10736
10736
|
to {
|
10737
10737
|
transform: rotate(1turn);
|
10738
10738
|
}
|
10739
|
-
`, zy =
|
10739
|
+
`, zy = Nr(of)`
|
10740
10740
|
animation: ${Ly} 1.75s linear infinite;
|
10741
10741
|
`;
|
10742
10742
|
zy.displayName = "RunningIcon";
|
10743
|
-
const ju =
|
10743
|
+
const ju = Or({
|
10744
10744
|
addAlert: () => null,
|
10745
10745
|
removeAlert: () => null,
|
10746
10746
|
replaceAlert: () => null,
|
@@ -10914,7 +10914,7 @@ function By(t) {
|
|
10914
10914
|
}
|
10915
10915
|
function eb(t) {
|
10916
10916
|
const { item: e, columns: r } = t;
|
10917
|
-
return e ? /* @__PURE__ */ f.jsx(By, { children: r.map((n) => /* @__PURE__ */ f.jsx(ys, { label: n.header, children: /* @__PURE__ */ f.jsx(_t, { column: n, item: e }) }, n.id)) }) : /* @__PURE__ */ f.jsx(f.Fragment, {});
|
10917
|
+
return e ? /* @__PURE__ */ f.jsx(By, { children: r.map((n) => /* @__PURE__ */ f.jsx(ys, { label: n.header, children: /* @__PURE__ */ f.jsx(_t, { column: n, item: e }) }, n.id ?? n.header)) }) : /* @__PURE__ */ f.jsx(f.Fragment, {});
|
10918
10918
|
}
|
10919
10919
|
function Wy(t) {
|
10920
10920
|
const { onSelect: e, value: r } = t, n = me(
|
@@ -10931,7 +10931,7 @@ function Wy(t) {
|
|
10931
10931
|
return h || (h = [], l[d] = h), h.push(c), l;
|
10932
10932
|
}, {}), a = Object.keys(i).length > 1 || Object.keys(i).length === 1 && Object.keys(i)[0] !== "", o = t.options.find((l) => l.value === r);
|
10933
10933
|
return /* @__PURE__ */ f.jsx(
|
10934
|
-
|
10934
|
+
Ar,
|
10935
10935
|
{
|
10936
10936
|
...t,
|
10937
10937
|
value: o == null ? void 0 : o.label,
|
@@ -11417,7 +11417,7 @@ function bi() {
|
|
11417
11417
|
};
|
11418
11418
|
}
|
11419
11419
|
var Rs = (t) => Et(t) || !Ou(t);
|
11420
|
-
function
|
11420
|
+
function Fr(t, e) {
|
11421
11421
|
if (Rs(t) || Rs(e))
|
11422
11422
|
return t === e;
|
11423
11423
|
if (Xr(t) && Xr(e))
|
@@ -11431,7 +11431,7 @@ function Ar(t, e) {
|
|
11431
11431
|
return !1;
|
11432
11432
|
if (s !== "ref") {
|
11433
11433
|
const a = e[s];
|
11434
|
-
if (Xr(i) && Xr(a) || pt(i) && pt(a) || Array.isArray(i) && Array.isArray(a) ? !
|
11434
|
+
if (Xr(i) && Xr(a) || pt(i) && pt(a) || Array.isArray(i) && Array.isArray(a) ? !Fr(i, a) : i !== a)
|
11435
11435
|
return !1;
|
11436
11436
|
}
|
11437
11437
|
}
|
@@ -11454,7 +11454,7 @@ function Hu(t, e, r) {
|
|
11454
11454
|
const n = Array.isArray(t);
|
11455
11455
|
if (pt(t) || n)
|
11456
11456
|
for (const s in t)
|
11457
|
-
Array.isArray(t[s]) || pt(t[s]) && !qu(t[s]) ? at(e) || Rs(r[s]) ? r[s] = Array.isArray(t[s]) ? As(t[s], []) : { ...As(t[s]) } : Hu(t[s], Et(e) ? {} : e[s], r[s]) : r[s] = !
|
11457
|
+
Array.isArray(t[s]) || pt(t[s]) && !qu(t[s]) ? at(e) || Rs(r[s]) ? r[s] = Array.isArray(t[s]) ? As(t[s], []) : { ...As(t[s]) } : Hu(t[s], Et(e) ? {} : e[s], r[s]) : r[s] = !Fr(t[s], e[s]);
|
11458
11458
|
return r;
|
11459
11459
|
}
|
11460
11460
|
var xi = (t, e) => Hu(t, e, As(e)), Gu = (t, { valueAsNumber: e, valueAsDate: r, setValueAs: n }) => at(t) ? t : e ? t === "" ? NaN : t && +t : r && rr(t) ? new Date(t) : n ? n(t) : t;
|
@@ -11593,7 +11593,7 @@ function av(t = {}, e) {
|
|
11593
11593
|
};
|
11594
11594
|
if (!U || ie) {
|
11595
11595
|
h.isDirty && (he = n.isDirty, n.isDirty = Re.isDirty = A(), K = he !== Re.isDirty);
|
11596
|
-
const Te =
|
11596
|
+
const Te = Fr(ue(i, j), z);
|
11597
11597
|
he = ue(n.dirtyFields, j), Te ? vt(n.dirtyFields, j) : Qe(n.dirtyFields, j, !0), Re.dirtyFields = n.dirtyFields, K = K || h.dirtyFields && he !== !Te;
|
11598
11598
|
}
|
11599
11599
|
if (U) {
|
@@ -11603,7 +11603,7 @@ function av(t = {}, e) {
|
|
11603
11603
|
return K && se && u.state.next(Re), K ? Re : {};
|
11604
11604
|
}, _ = (j, z, U, ie) => {
|
11605
11605
|
const se = ue(n.errors, j), K = h.isValid && nn(z) && n.isValid !== z;
|
11606
|
-
if (t.delayError && U ? (c = E(() => b(j, U)), c(t.delayError)) : (clearTimeout(d), c = null, U ? Qe(n.errors, j, U) : vt(n.errors, j)), (U ? !
|
11606
|
+
if (t.delayError && U ? (c = E(() => b(j, U)), c(t.delayError)) : (clearTimeout(d), c = null, U ? Qe(n.errors, j, U) : vt(n.errors, j)), (U ? !Fr(se, U) : se) || !Mt(ie) || K) {
|
11607
11607
|
const he = {
|
11608
11608
|
...ie,
|
11609
11609
|
...K && nn(z) ? { isValid: z } : {},
|
@@ -11649,7 +11649,7 @@ function av(t = {}, e) {
|
|
11649
11649
|
z && (z._f.refs ? z._f.refs.every((U) => !wi(U)) : !wi(z._f.ref)) && L(j);
|
11650
11650
|
}
|
11651
11651
|
l.unMount = /* @__PURE__ */ new Set();
|
11652
|
-
}, A = (j, z) => (j && z && Qe(a, j, z), !
|
11652
|
+
}, A = (j, z) => (j && z && Qe(a, j, z), !Fr(F(), i)), q = (j, z, U) => Mu(j, l, {
|
11653
11653
|
...o.mount ? a : at(z) ? i : rr(j) ? { [j]: z } : z
|
11654
11654
|
}, U, z), G = (j) => qn(ue(o.mount ? a : i, j, t.shouldUnregister ? ue(i, j, []) : [])), Y = (j, z, U = {}) => {
|
11655
11655
|
const ie = ue(s, j);
|
@@ -11861,7 +11861,7 @@ function av(t = {}, e) {
|
|
11861
11861
|
focus: ""
|
11862
11862
|
}, !o.mount && e(), o.mount = !h.isValid || !!z.keepIsValid, o.watch = !!t.shouldUnregister, u.state.next({
|
11863
11863
|
submitCount: z.keepSubmitCount ? n.submitCount : 0,
|
11864
|
-
isDirty: z.keepDirty ? n.isDirty : !!(z.keepDefaultValues && !
|
11864
|
+
isDirty: z.keepDirty ? n.isDirty : !!(z.keepDefaultValues && !Fr(j, i)),
|
11865
11865
|
isSubmitted: z.keepIsSubmitted ? n.isSubmitted : !1,
|
11866
11866
|
dirtyFields: z.keepDirtyValues ? n.dirtyFields : z.keepDefaultValues && j ? xi(i, j) : {},
|
11867
11867
|
touchedFields: z.keepTouched ? n.touchedFields : {},
|
@@ -11979,7 +11979,7 @@ function ov(t = {}) {
|
|
11979
11979
|
Ru(i, s._proxyFormState, s._updateFormState, !0) && n({ ...s._formState });
|
11980
11980
|
}
|
11981
11981
|
}), Ke.useEffect(() => {
|
11982
|
-
t.values && !
|
11982
|
+
t.values && !Fr(t.values, s._defaultValues) && s._reset(t.values, s._options.resetOptions);
|
11983
11983
|
}, [t.values, s]), Ke.useEffect(() => {
|
11984
11984
|
s._state.mount || (s._updateValid(), s._state.mount = !0), s._state.watch && (s._state.watch = !1, s._subjects.state.next({ ...s._formState })), s._removeUnmounted();
|
11985
11985
|
}), e.current.formState = Du(r, s), e.current;
|
@@ -12132,7 +12132,7 @@ function nb(t) {
|
|
12132
12132
|
control: e,
|
12133
12133
|
shouldUnregister: !0,
|
12134
12134
|
render: ({ field: { onChange: n, value: s }, fieldState: { error: i } }) => /* @__PURE__ */ f.jsx(
|
12135
|
-
|
12135
|
+
Ar,
|
12136
12136
|
{
|
12137
12137
|
...t,
|
12138
12138
|
value: s,
|
@@ -12358,7 +12358,7 @@ function lb(t) {
|
|
12358
12358
|
formState: { isSubmitting: n }
|
12359
12359
|
} = Jt(), s = e(t.name), { fieldState: i } = Lu({ name: t.name }), a = i.error;
|
12360
12360
|
let o = t.id ?? t.name;
|
12361
|
-
return o = o.split(".").join("-"), /* @__PURE__ */ f.jsx(
|
12361
|
+
return o = o.split(".").join("-"), /* @__PURE__ */ f.jsx(jr, { children: /* @__PURE__ */ f.jsx(
|
12362
12362
|
ra,
|
12363
12363
|
{
|
12364
12364
|
id: `${o}-form-group`,
|
@@ -15736,7 +15736,7 @@ function ub(t) {
|
|
15736
15736
|
}
|
15737
15737
|
function r0(t) {
|
15738
15738
|
const e = _u();
|
15739
|
-
return t.breadcrumbs ? /* @__PURE__ */ f.jsx(Bd, { style: t.style, children: t.breadcrumbs.map((r) => r.label ? /* @__PURE__ */ f.jsx(
|
15739
|
+
return t.breadcrumbs ? /* @__PURE__ */ f.jsx(Bd, { style: t.style, children: t.breadcrumbs.map((r, n) => r.label ? /* @__PURE__ */ f.jsx(
|
15740
15740
|
Wd,
|
15741
15741
|
{
|
15742
15742
|
id: r.id,
|
@@ -15746,15 +15746,15 @@ function r0(t) {
|
|
15746
15746
|
"a",
|
15747
15747
|
{
|
15748
15748
|
href: r.to,
|
15749
|
-
onClick: (
|
15750
|
-
|
15749
|
+
onClick: (s) => {
|
15750
|
+
s.preventDefault(), e(r.to);
|
15751
15751
|
},
|
15752
15752
|
children: r.label
|
15753
15753
|
}
|
15754
15754
|
) : r.label
|
15755
15755
|
},
|
15756
|
-
r.id ?? r.label
|
15757
|
-
) :
|
15756
|
+
r.id ?? r.label ?? n
|
15757
|
+
) : /* @__PURE__ */ f.jsx(jr, {}, n)) }) : /* @__PURE__ */ f.jsx(jr, {});
|
15758
15758
|
}
|
15759
15759
|
function db(t) {
|
15760
15760
|
const { navigation: e, breadcrumbs: r, title: n, description: s, controls: i, headerActions: a, footer: o } = t, l = ir("lg"), c = ir("xl"), d = ir("md"), [h] = xt();
|
@@ -15808,7 +15808,7 @@ function db(t) {
|
|
15808
15808
|
] }),
|
15809
15809
|
position: "bottom-start",
|
15810
15810
|
removeFindDomNode: !0,
|
15811
|
-
children: /* @__PURE__ */ f.jsxs(
|
15811
|
+
children: /* @__PURE__ */ f.jsxs(Lr, { headingLevel: "h1", children: [
|
15812
15812
|
n,
|
15813
15813
|
/* @__PURE__ */ f.jsx(
|
15814
15814
|
Je,
|
@@ -15825,7 +15825,7 @@ function db(t) {
|
|
15825
15825
|
)
|
15826
15826
|
] })
|
15827
15827
|
}
|
15828
|
-
) : /* @__PURE__ */ f.jsx(
|
15828
|
+
) : /* @__PURE__ */ f.jsx(Lr, { headingLevel: "h1", children: n }) : /* @__PURE__ */ f.jsx(Lr, { headingLevel: "h1", children: /* @__PURE__ */ f.jsx(Cr, { width: "160px" }) }),
|
15829
15829
|
d && s && /* @__PURE__ */ f.jsx(Nn, { component: "p", style: { paddingTop: c ? 4 : 2, opacity: 0.8 }, children: typeof s == "string" ? /* @__PURE__ */ f.jsx($s, { content: s }) : /* @__PURE__ */ f.jsx(Tn, { children: s.map((u) => /* @__PURE__ */ f.jsx(Xn, { children: u }, u)) }) })
|
15830
15830
|
] }),
|
15831
15831
|
n && (a || i) && /* @__PURE__ */ f.jsxs(
|
@@ -16263,7 +16263,7 @@ var m0 = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#1
|
|
16263
16263
|
transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
|
16264
16264
|
useSuspense: !0,
|
16265
16265
|
unescape: y0
|
16266
|
-
}, b0, w0 =
|
16266
|
+
}, b0, w0 = Or();
|
16267
16267
|
function x0() {
|
16268
16268
|
return v0;
|
16269
16269
|
}
|
@@ -16470,7 +16470,7 @@ function I0(t) {
|
|
16470
16470
|
function pb(t) {
|
16471
16471
|
const { view: e, tableColumns: r, toolbarFilters: n, confirm: s, cancel: i, selected: a, isMultiple: o } = t, [l, c] = pe(""), [d, h] = pe(), u = me((y, v) => {
|
16472
16472
|
c(v ?? ""), h(() => y);
|
16473
|
-
}, []), [m, p] =
|
16473
|
+
}, []), [m, p] = Pr();
|
16474
16474
|
return je(() => {
|
16475
16475
|
d !== void 0 ? p(
|
16476
16476
|
/* @__PURE__ */ f.jsx(
|
@@ -16596,7 +16596,7 @@ function D0(t) {
|
|
16596
16596
|
);
|
16597
16597
|
}
|
16598
16598
|
function R0(t) {
|
16599
|
-
const { title: e, view: r, tableColumns: n, toolbarFilters: s, confirmText: i, cancelText: a, onSelect: o } = t, [l, c] =
|
16599
|
+
const { title: e, view: r, tableColumns: n, toolbarFilters: s, confirmText: i, cancelText: a, onSelect: o } = t, [l, c] = Pr(), d = me(() => c(void 0), [c]), [h] = xt();
|
16600
16600
|
return /* @__PURE__ */ f.jsx(
|
16601
16601
|
un,
|
16602
16602
|
{
|
@@ -16653,7 +16653,7 @@ function R0(t) {
|
|
16653
16653
|
);
|
16654
16654
|
}
|
16655
16655
|
function gb() {
|
16656
|
-
const [t, e] =
|
16656
|
+
const [t, e] = Pr();
|
16657
16657
|
return me(
|
16658
16658
|
(n) => e(/* @__PURE__ */ f.jsx(R0, { ...n })),
|
16659
16659
|
[e]
|
@@ -16668,7 +16668,7 @@ export {
|
|
16668
16668
|
W0 as DateCell,
|
16669
16669
|
z0 as DialogContext,
|
16670
16670
|
Q0 as ElapsedTimeCell,
|
16671
|
-
|
16671
|
+
Ar as FormGroupSelect,
|
16672
16672
|
Wy as FormGroupSelectOption,
|
16673
16673
|
qy as FormGroupTextArea,
|
16674
16674
|
Hy as FormGroupTextInput,
|
@@ -16739,7 +16739,7 @@ export {
|
|
16739
16739
|
mb as useInMemoryView,
|
16740
16740
|
B0 as useOrientation,
|
16741
16741
|
Z0 as usePageAlertToaster,
|
16742
|
-
|
16742
|
+
Pr as usePageDialog,
|
16743
16743
|
Qs as usePaged,
|
16744
16744
|
pb as useSelectDialog,
|
16745
16745
|
gb as useSelectMultipleDialog,
|