@ansible/ansible-ui-framework 2.4.605 → 2.4.607
Sign up to get free protection for your applications and to get access to all the features.
- package/framework/publish/index.d.ts +2 -2
- package/index.js +196 -186
- package/index.umd.cjs +33 -33
- package/package.json +1 -1
package/index.js
CHANGED
@@ -18,12 +18,12 @@ var Hm = (e, t, n, r) => ({
|
|
18
18
|
}
|
19
19
|
});
|
20
20
|
import * as C from "react";
|
21
|
-
import E, { useState as pe, useCallback as me, useEffect as Oe, useMemo as _e, useRef as it, useContext as Pn, createElement as kC, useId as PC, createContext as pi, Fragment as
|
22
|
-
import { Tooltip as On, Switch as DC, ButtonVariant as $i, Button as Re, Split as gi, Flex as kn, FlexItem as yt, AlertGroup as I$, Alert as Ec, AlertActionCloseButton as R$, Popover as bh, Stack as _r, StackItem as Ya, FormGroup as L$, FormHelperText as N$, HelperText as F$, HelperTextItem as z$, Select as MC, MenuSearch as IC, MenuSearchInput as RC, SearchInput as LC, Divider as Ys, SelectOption as Cf, SelectList as NC, MenuFooter as FC, MenuToggle as zC, Modal as Al, ModalVariant as El, Form as WC, ClipboardCopy as W$, Truncate as ll, SplitItem as hn, LabelGroup as Av, Label as js, PageSection as
|
21
|
+
import E, { useState as pe, useCallback as me, useEffect as Oe, useMemo as _e, useRef as it, useContext as Pn, createElement as kC, useId as PC, createContext as pi, Fragment as Kn, Component as P$, Children as Tv, isValidElement as $C, cloneElement as $$, useLayoutEffect as jC, useReducer as j$, forwardRef as D$, useImperativeHandle as M$ } from "react";
|
22
|
+
import { Tooltip as On, Switch as DC, ButtonVariant as $i, Button as Re, Split as gi, Flex as kn, FlexItem as yt, AlertGroup as I$, Alert as Ec, AlertActionCloseButton as R$, Popover as bh, Stack as _r, StackItem as Ya, FormGroup as L$, FormHelperText as N$, HelperText as F$, HelperTextItem as z$, Select as MC, MenuSearch as IC, MenuSearchInput as RC, SearchInput as LC, Divider as Ys, SelectOption as Cf, SelectList as NC, MenuFooter as FC, MenuToggle as zC, Modal as Al, ModalVariant as El, Form as WC, ClipboardCopy as W$, Truncate as ll, SplitItem as hn, LabelGroup as Av, Label as js, PageSection as Xn, Card as BC, CardHeader as VC, Text as Fi, Title as ro, CardFooter as UC, CardBody as _h, Bullseye as HC, ProgressStepper as B$, ProgressStep as V$, Skeleton as Zn, DescriptionListGroup as Ho, DescriptionListTerm as ng, DescriptionListDescription as Go, DescriptionList as Of, Chip as rg, ChipGroup as GC, Spinner as Ev, ToolbarItem as qn, DatePicker as $1, isValidDate as j1, InputGroup as kv, InputGroupItem as Tf, TextInputGroup as U$, TextInputGroupMain as H$, TextInputGroupUtilities as G$, ToolbarToggleGroup as qC, ToolbarGroup as Ks, ToolbarFilter as q$, ToggleGroup as ig, ToggleGroupItem as rf, ToolbarContent as YC, Toolbar as ag, Pagination as KC, PaginationVariant as XC, EmptyState as xh, EmptyStateHeader as wh, EmptyStateIcon as Sh, EmptyStateBody as io, EmptyStateFooter as Ch, EmptyStateVariant as Y$, EmptyStateActions as Pv, ModalBoxBody as sl, Checkbox as $v, CardTitle as K$, DataList as X$, DataListItem as Z$, DataListItemRow as J$, DataListCheck as Q$, DataListItemCells as ej, DataListCell as D1, DataListAction as tj, Progress as nj, ProgressSize as rj, ProgressVariant as M1, Icon as ij, TextArea as aj, TextInput as oj, ActionGroup as lj, Grid as sj, PageSectionVariants as cj, Breadcrumb as uj, BreadcrumbItem as fj, Masthead as dj, MastheadMain as hj, MastheadBrand as mj, MastheadContent as pj, MastheadToggle as gj, PageToggleButton as vj, PageSidebar as yj, PageSidebarBody as bj, Nav as _j, NavList as xj, NavItem as wj, NavExpandable as Sj, Page as Cj, Tab as Oj, Tabs as Tj } from "@patternfly/react-core";
|
23
23
|
import { CircleIcon as Aj, ExternalLinkAltIcon as ZC, OutlinedQuestionCircleIcon as JC, HelpIcon as Ej, TimesIcon as QC, SyncAltIcon as jv, TimesCircleIcon as kj, ArrowRightIcon as Pj, FilterIcon as eO, SortAmountDownIcon as $j, SortAmountUpIcon as jj, SortNumericDownAltIcon as Dj, SortNumericUpIcon as Mj, SortAlphaDownAltIcon as Ij, SortAlphaUpIcon as Rj, ColumnsIcon as Lj, TableIcon as Nj, ListIcon as Fj, ThLargeIcon as zj, ExclamationCircleIcon as Oh, PlusCircleIcon as Wj, CubesIcon as Bj, SearchIcon as Dv, PendingIcon as Vj, CheckCircleIcon as Uj, ExclamationTriangleIcon as Hj, AngleRightIcon as Gj, CopyIcon as qj, UploadIcon as Yj, DownloadIcon as Kj, EyeIcon as tO, EyeSlashIcon as nO, BarsIcon as Xj, CaretDownIcon as Zj } from "@patternfly/react-icons";
|
24
24
|
import { Link as kl, useNavigate as Pl, Outlet as I1, createBrowserRouter as Jj, RouterProvider as Qj } from "react-router-dom";
|
25
25
|
import * as Mv from "react-dom";
|
26
|
-
import { Table as Iv, Thead as rO, Tr as cl, Th as ba, Tbody as Rv, Td as
|
26
|
+
import { Table as Iv, Thead as rO, Tr as cl, Th as ba, Tbody as Rv, Td as Hn, CollapseColumn as e7 } from "@patternfly/react-table";
|
27
27
|
import * as or from "monaco-editor";
|
28
28
|
var Jt = /* @__PURE__ */ ((e) => (e[e.Button = 0] = "Button", e[e.Link = 1] = "Link", e[e.Switch = 2] = "Switch", e[e.Dropdown = 3] = "Dropdown", e[e.Seperator = 4] = "Seperator", e))(Jt || {}), Tt = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multiple = 2] = "Multiple", e))(Tt || {}), _s = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
29
29
|
function De(e) {
|
@@ -697,7 +697,7 @@ function u7() {
|
|
697
697
|
return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
|
698
698
|
}, [n]), Oe(() => n(), [n]), e;
|
699
699
|
}
|
700
|
-
function
|
700
|
+
function Fn(e) {
|
701
701
|
const t = u7();
|
702
702
|
switch (e) {
|
703
703
|
case "xs":
|
@@ -5922,7 +5922,7 @@ function Ic() {
|
|
5922
5922
|
);
|
5923
5923
|
}
|
5924
5924
|
function HO(e) {
|
5925
|
-
const { action: t, wrapper: n, selectedItem: r, iconOnly: i } = e, o = Ic()(t, r), l = n ??
|
5925
|
+
const { action: t, wrapper: n, selectedItem: r, iconOnly: i } = e, o = Ic()(t, r), l = n ?? Kn, s = r ? t.isSwitchOn(r) : !1, c = o || (t.tooltip ? t.tooltip : i ? s ? t.label : t.labelOff ?? t.label : void 0), u = PC();
|
5926
5926
|
let f = t.label;
|
5927
5927
|
i && t.showPinnedLabel !== !0 && (f = void 0);
|
5928
5928
|
let d = t.labelOff;
|
@@ -6157,7 +6157,7 @@ const wI = Ke.span`
|
|
6157
6157
|
padding-right: 4px;
|
6158
6158
|
`;
|
6159
6159
|
function SI(e) {
|
6160
|
-
const { action: t, isSecondary: n, wrapper: r, iconOnly: i, selectedItem: a, selectedItems: o } = e, s = Ic()(t, a, o), c = r ??
|
6160
|
+
const { action: t, isSecondary: n, wrapper: r, iconOnly: i, selectedItem: a, selectedItems: o } = e, s = Ic()(t, a, o), c = r ?? Kn, u = t.icon, f = s || (t.tooltip ? t.tooltip : i ? t.label : void 0);
|
6161
6161
|
let d = t.variant ?? $i.secondary;
|
6162
6162
|
n && [$i.primary, $i.danger].includes(d) && (d = $i.secondary), d === $i.primary && t.isDanger && (d = $i.danger), i && (d = $i.plain);
|
6163
6163
|
const h = wo(t), m = i && u ? /* @__PURE__ */ v.jsx(u, {}) : t.label;
|
@@ -6193,7 +6193,7 @@ const CI = Ke.span`
|
|
6193
6193
|
padding-right: 4px;
|
6194
6194
|
`;
|
6195
6195
|
function OI(e) {
|
6196
|
-
const { action: t, wrapper: n, iconOnly: r, selectedItem: i, selectedItems: a } = e, l = Ic()(t, i, a), s = n ??
|
6196
|
+
const { action: t, wrapper: n, iconOnly: r, selectedItem: i, selectedItems: a } = e, l = Ic()(t, i, a), s = n ?? Kn, c = t.icon, u = l || (t.tooltip ? t.tooltip : r ? t.label : void 0), f = wo(t), d = r && c ? /* @__PURE__ */ v.jsx(c, {}) : t.label;
|
6197
6197
|
let h;
|
6198
6198
|
switch (t.selection) {
|
6199
6199
|
case Tt.None:
|
@@ -6295,7 +6295,7 @@ function AI(e) {
|
|
6295
6295
|
}
|
6296
6296
|
}
|
6297
6297
|
function Rc(e) {
|
6298
|
-
const { actions: t, selectedItem: n, iconOnly: r, onOpen: i } = e, a =
|
6298
|
+
const { actions: t, selectedItem: n, iconOnly: r, onOpen: i } = e, a = Fn(
|
6299
6299
|
e.collapse !== "never" && e.collapse !== "always" ? e.collapse ?? "lg" : "lg"
|
6300
6300
|
), o = e.collapse !== "never" && (e.collapse === "always" || !a), l = _e(
|
6301
6301
|
() => t.filter((h) => !UO(h, n)),
|
@@ -6403,7 +6403,7 @@ class YO extends P$ {
|
|
6403
6403
|
}
|
6404
6404
|
}
|
6405
6405
|
function BAe(e) {
|
6406
|
-
const t =
|
6406
|
+
const t = Fn("xxl") && e.disablePadding !== !0, [n] = Dt();
|
6407
6407
|
return /* @__PURE__ */ v.jsx(YO, { message: n.errorText, children: /* @__PURE__ */ v.jsx(
|
6408
6408
|
"div",
|
6409
6409
|
{
|
@@ -12676,7 +12676,7 @@ function ZAe(e) {
|
|
12676
12676
|
r(Math.max(1, Math.floor((((i = t.current) == null ? void 0 : i.clientWidth) ?? 0) / o5)));
|
12677
12677
|
}, []), zl(t, (i) => {
|
12678
12678
|
r(Math.max(1, Math.floor((i.contentRect.width ?? 0) / o5)));
|
12679
|
-
}), /* @__PURE__ */ v.jsx(sA.Provider, { value: { columns: n }, children: /* @__PURE__ */ v.jsx(Ga, { children: /* @__PURE__ */ v.jsx(
|
12679
|
+
}), /* @__PURE__ */ v.jsx(sA.Provider, { value: { columns: n }, children: /* @__PURE__ */ v.jsx(Ga, { children: /* @__PURE__ */ v.jsx(Xn, { isWidthLimited: !0, children: /* @__PURE__ */ v.jsx(
|
12680
12680
|
"div",
|
12681
12681
|
{
|
12682
12682
|
ref: t,
|
@@ -15132,7 +15132,7 @@ var pq = function(t, n) {
|
|
15132
15132
|
throw r;
|
15133
15133
|
}
|
15134
15134
|
};
|
15135
|
-
const
|
15135
|
+
const zn = /* @__PURE__ */ De(pq);
|
15136
15136
|
function gq(e) {
|
15137
15137
|
return _q(e) || bq(e) || yq(e) || vq();
|
15138
15138
|
}
|
@@ -15271,7 +15271,7 @@ var Jc = /* @__PURE__ */ function(e) {
|
|
15271
15271
|
}, {
|
15272
15272
|
key: "componentDidUpdate",
|
15273
15273
|
value: function(i) {
|
15274
|
-
var a =
|
15274
|
+
var a = zn(this.props, i);
|
15275
15275
|
if (!a)
|
15276
15276
|
if (this.interpolator && this.state.animationInfo && this.state.animationInfo.progress < 1)
|
15277
15277
|
this.setState({
|
@@ -15758,7 +15758,7 @@ function Cr(e) {
|
|
15758
15758
|
var i = e.concat(n);
|
15759
15759
|
return xr(i) ? new Date(Math.max.apply(Math, Gf(i))) : Math.max.apply(Math, Gf(i));
|
15760
15760
|
}
|
15761
|
-
function
|
15761
|
+
function Bn(e) {
|
15762
15762
|
for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++)
|
15763
15763
|
n[r - 1] = arguments[r];
|
15764
15764
|
var i = e.concat(n);
|
@@ -19466,7 +19466,7 @@ var pm = /* @__PURE__ */ function(e) {
|
|
19466
19466
|
key: "shouldComponentUpdate",
|
19467
19467
|
value: function(i) {
|
19468
19468
|
var a = this;
|
19469
|
-
return
|
19469
|
+
return zn(this.props, i) || (this.timer.bypassAnimation(), this.setState(this.getTransitionState(this.props, i), function() {
|
19470
19470
|
return a.timer.resumeAnimation();
|
19471
19471
|
})), !0;
|
19472
19472
|
}
|
@@ -19515,7 +19515,7 @@ var pm = /* @__PURE__ */ function(e) {
|
|
19515
19515
|
if (!s.children && c)
|
19516
19516
|
return c;
|
19517
19517
|
var u = o([l]);
|
19518
|
-
return u.length === 0 ? [0, 1] : [
|
19518
|
+
return u.length === 0 ? [0, 1] : [Bn(u), Cr(u)];
|
19519
19519
|
}
|
19520
19520
|
}, {
|
19521
19521
|
key: "pickProps",
|
@@ -19908,7 +19908,7 @@ ko.defaultProps = {
|
|
19908
19908
|
clipPathComponent: /* @__PURE__ */ E.createElement(m6, null),
|
19909
19909
|
groupComponent: /* @__PURE__ */ E.createElement("g", null)
|
19910
19910
|
};
|
19911
|
-
var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0f0f0"], bn = "#252525", Op = "#969696", nee = "'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif", ree = "normal", iee = 14,
|
19911
|
+
var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0f0f0"], bn = "#252525", Op = "#969696", nee = "'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif", ree = "normal", iee = 14, Vn = {
|
19912
19912
|
width: 450,
|
19913
19913
|
height: 300,
|
19914
19914
|
padding: 50,
|
@@ -19930,7 +19930,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
19930
19930
|
},
|
19931
19931
|
labels: Gt
|
19932
19932
|
}
|
19933
|
-
},
|
19933
|
+
}, Vn),
|
19934
19934
|
axis: z({
|
19935
19935
|
style: {
|
19936
19936
|
axis: {
|
@@ -19955,7 +19955,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
19955
19955
|
},
|
19956
19956
|
tickLabels: Gt
|
19957
19957
|
}
|
19958
|
-
},
|
19958
|
+
}, Vn),
|
19959
19959
|
bar: z({
|
19960
19960
|
style: {
|
19961
19961
|
data: {
|
@@ -19965,7 +19965,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
19965
19965
|
},
|
19966
19966
|
labels: Gt
|
19967
19967
|
}
|
19968
|
-
},
|
19968
|
+
}, Vn),
|
19969
19969
|
boxplot: z({
|
19970
19970
|
style: {
|
19971
19971
|
max: {
|
@@ -20008,7 +20008,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20008
20008
|
})
|
20009
20009
|
},
|
20010
20010
|
boxWidth: 20
|
20011
|
-
},
|
20011
|
+
}, Vn),
|
20012
20012
|
candlestick: z({
|
20013
20013
|
style: {
|
20014
20014
|
data: {
|
@@ -20023,8 +20023,8 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20023
20023
|
positive: "#ffffff",
|
20024
20024
|
negative: bn
|
20025
20025
|
}
|
20026
|
-
},
|
20027
|
-
chart:
|
20026
|
+
}, Vn),
|
20027
|
+
chart: Vn,
|
20028
20028
|
errorbar: z({
|
20029
20029
|
borderWidth: 8,
|
20030
20030
|
style: {
|
@@ -20035,10 +20035,10 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20035
20035
|
},
|
20036
20036
|
labels: Gt
|
20037
20037
|
}
|
20038
|
-
},
|
20038
|
+
}, Vn),
|
20039
20039
|
group: z({
|
20040
20040
|
colorScale: As
|
20041
|
-
},
|
20041
|
+
}, Vn),
|
20042
20042
|
histogram: z({
|
20043
20043
|
style: {
|
20044
20044
|
data: {
|
@@ -20048,7 +20048,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20048
20048
|
},
|
20049
20049
|
labels: Gt
|
20050
20050
|
}
|
20051
|
-
},
|
20051
|
+
}, Vn),
|
20052
20052
|
legend: {
|
20053
20053
|
colorScale: As,
|
20054
20054
|
gutter: 10,
|
@@ -20073,7 +20073,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20073
20073
|
},
|
20074
20074
|
labels: Gt
|
20075
20075
|
}
|
20076
|
-
},
|
20076
|
+
}, Vn),
|
20077
20077
|
pie: {
|
20078
20078
|
style: {
|
20079
20079
|
data: {
|
@@ -20099,10 +20099,10 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20099
20099
|
},
|
20100
20100
|
labels: Gt
|
20101
20101
|
}
|
20102
|
-
},
|
20102
|
+
}, Vn),
|
20103
20103
|
stack: z({
|
20104
20104
|
colorScale: As
|
20105
|
-
},
|
20105
|
+
}, Vn),
|
20106
20106
|
tooltip: {
|
20107
20107
|
style: z({}, Gt, {
|
20108
20108
|
padding: 0,
|
@@ -20136,7 +20136,7 @@ var As = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0
|
|
20136
20136
|
pointerEvents: "none"
|
20137
20137
|
}
|
20138
20138
|
}
|
20139
|
-
},
|
20139
|
+
}, Vn)
|
20140
20140
|
}, cee = "#FFF59D", uee = "#F4511E", fee = "#DCE775", dee = "#8BC34A", hee = "#00796B", mee = "#006064", Wu = [uee, cee, fee, dee, hee, mee], w2 = "#ECEFF1", S2 = "#90A4AE", Mn = "#455A64", Bu = "#212121", pee = "'Helvetica Neue', 'Helvetica', sans-serif", gee = "normal", vee = 12, Pi = 8, Dn = {
|
20141
20141
|
width: 350,
|
20142
20142
|
height: 350,
|
@@ -21525,11 +21525,11 @@ function Po(e) {
|
|
21525
21525
|
return Mne(a, [{
|
21526
21526
|
key: "shouldComponentUpdate",
|
21527
21527
|
value: function(l) {
|
21528
|
-
var s = this.getExternalMutations(l), c = this.props.animating || this.props.animate, u = !
|
21528
|
+
var s = this.getExternalMutations(l), c = this.props.animating || this.props.animate, u = !zn(s, this.externalMutations);
|
21529
21529
|
if (c || u)
|
21530
21530
|
return this.cacheValues(this.getCalculatedValues(l)), this.externalMutations = s, this.applyExternalMutations(l, s), !0;
|
21531
21531
|
var f = this.getStateChanges(l);
|
21532
|
-
return
|
21532
|
+
return zn(this.calculatedState, f) ? zn(this.props, l) ? !1 : (this.cacheValues(this.getCalculatedValues(l)), !0) : (this.cacheValues(this.getCalculatedValues(l)), !0);
|
21533
21533
|
}
|
21534
21534
|
}, {
|
21535
21535
|
key: "componentDidMount",
|
@@ -21890,7 +21890,7 @@ function Nre(e, t) {
|
|
21890
21890
|
function Fre(e, t, n) {
|
21891
21891
|
var r = function(m) {
|
21892
21892
|
return m !== void 0;
|
21893
|
-
}, i =
|
21893
|
+
}, i = Bn(t.x), a = Cr(t.x), o = Bn(t.y), l = Cr(t.y), s = function(m) {
|
21894
21894
|
return function(p) {
|
21895
21895
|
return r(p) && p < m;
|
21896
21896
|
};
|
@@ -22089,7 +22089,7 @@ function Xre(e, t, n) {
|
|
22089
22089
|
var r = jo(t, n), i = $o(t, n), a = Yre(t, n);
|
22090
22090
|
if (!a.left && !a.right)
|
22091
22091
|
return e;
|
22092
|
-
var o =
|
22092
|
+
var o = Bn(e), l = Cr(e), s = kK(n, t.horizontal), c = Bt(t, s), u = Math.abs(c[0] - c[1]), f = Math.max(u - a.left - a.right, 1), d = Math.abs(l.valueOf() - o.valueOf()) / f * u, h = {
|
22093
22093
|
left: d * a.left / u,
|
22094
22094
|
right: d * a.right / u
|
22095
22095
|
}, m = {
|
@@ -22146,7 +22146,7 @@ function Zre(e, t, n) {
|
|
22146
22146
|
return y[b] = _ + 1, y;
|
22147
22147
|
}, {}), d = f ? n.map(function(y) {
|
22148
22148
|
return f[y];
|
22149
|
-
}) : n, h = s !== void 0 ? s :
|
22149
|
+
}) : n, h = s !== void 0 ? s : Bn(d), m = c !== void 0 ? c : Cr(d), p = Ki(h, m);
|
22150
22150
|
return r && t === "x" && Math.abs(a - l) === 360 ? xb(p, d) : p;
|
22151
22151
|
}
|
22152
22152
|
}
|
@@ -22186,7 +22186,7 @@ function h0(e, t) {
|
|
22186
22186
|
}, 1 / 0), a = function(s) {
|
22187
22187
|
if (t === "x")
|
22188
22188
|
return s;
|
22189
|
-
var c = i !== 1 / 0 ? i : 0, u = $o(e, t), f = jo(e, t), d = u !== void 0 ? u : Cr(s, c), h = f !== void 0 ? f :
|
22189
|
+
var c = i !== 1 / 0 ? i : 0, u = $o(e, t), f = jo(e, t), d = u !== void 0 ? u : Cr(s, c), h = f !== void 0 ? f : Bn(s, c);
|
22190
22190
|
return Ki(h, d);
|
22191
22191
|
}, o = function() {
|
22192
22192
|
return bb(e, t, r);
|
@@ -22351,7 +22351,7 @@ function wb(e) {
|
|
22351
22351
|
var u = [], f = e.domain && e.domain[r] || e.domain;
|
22352
22352
|
if (c)
|
22353
22353
|
return c.forEach(function(d, h) {
|
22354
|
-
Array.isArray(f) ? d >=
|
22354
|
+
Array.isArray(f) ? d >= Bn(f) && d <= Cr(f) && u.push({
|
22355
22355
|
value: d,
|
22356
22356
|
index: h
|
22357
22357
|
}) : u.push({
|
@@ -22424,7 +22424,7 @@ function iie(e, t) {
|
|
22424
22424
|
if (Array.isArray(s)) {
|
22425
22425
|
var c = jo(e, t), u = $o(e, t), f = ym(e), d = s.map(function(x) {
|
22426
22426
|
return Number(x);
|
22427
|
-
}), h = f ? 1 :
|
22427
|
+
}), h = f ? 1 : Bn(d), m = f ? s.length : Cr(d), p = c !== void 0 ? c : h, y = u !== void 0 ? u : m, b = Ki(p, y), _ = n && t === "x" && Math.abs(i - o) === 360 ? xb(b, d) : b;
|
22428
22428
|
return vm(e) && !n && _.reverse(), _;
|
22429
22429
|
}
|
22430
22430
|
}
|
@@ -24268,7 +24268,7 @@ function Ad(e, t, n, r) {
|
|
24268
24268
|
}
|
24269
24269
|
function hf(e) {
|
24270
24270
|
var t = e.x1, n = e.x2, r = e.y1, i = e.y2, a = e.scale, o = Ad(e, a, t, r), l = Ad(e, a, n, i), s = function(c, u) {
|
24271
|
-
return [
|
24271
|
+
return [Bn([c, u]), Cr([c, u])];
|
24272
24272
|
};
|
24273
24273
|
return {
|
24274
24274
|
x: s(o.x, l.x),
|
@@ -24476,7 +24476,7 @@ function mf(e, t, n) {
|
|
24476
24476
|
} else
|
24477
24477
|
return null;
|
24478
24478
|
return xo(x, t);
|
24479
|
-
}, p = Pa(r, m, e), y = p.length === 0 ? 0 :
|
24479
|
+
}, p = Pa(r, m, e), y = p.length === 0 ? 0 : Bn(p), b = p.length === 0 ? 1 : Cr(p);
|
24480
24480
|
return [y, b];
|
24481
24481
|
}
|
24482
24482
|
function w0(e, t, n) {
|
@@ -24485,7 +24485,7 @@ function w0(e, t, n) {
|
|
24485
24485
|
if (r)
|
24486
24486
|
a = r;
|
24487
24487
|
else {
|
24488
|
-
var o = jo(e, t), l = $o(e, t), s = (e.data || e.y) && pn(e), c = s ? bb(e, t, s) : [], u = mf(e, t, n), f = o ||
|
24488
|
+
var o = jo(e, t), l = $o(e, t), s = (e.data || e.y) && pn(e), c = s ? bb(e, t, s) : [], u = mf(e, t, n), f = o || Bn([].concat(Nr(c), Nr(u))), d = l || Cr([].concat(Nr(c), Nr(u)));
|
24489
24489
|
a = Ki(f, d);
|
24490
24490
|
}
|
24491
24491
|
return yb(a, z({
|
@@ -24766,7 +24766,7 @@ var Do = /* @__PURE__ */ function(e) {
|
|
24766
24766
|
return Toe(n, [{
|
24767
24767
|
key: "shouldComponentUpdate",
|
24768
24768
|
value: function(i) {
|
24769
|
-
if (!
|
24769
|
+
if (!zn(this.props, i)) {
|
24770
24770
|
this.baseProps = this.getBaseProps(i);
|
24771
24771
|
var a = this.getExternalMutations(i, this.baseProps);
|
24772
24772
|
this.applyExternalMutations(i, a);
|
@@ -24849,7 +24849,7 @@ var Do = /* @__PURE__ */ function(e) {
|
|
24849
24849
|
key: "getCachedSharedEvents",
|
24850
24850
|
value: function(i, a) {
|
24851
24851
|
var o = this.sharedEventsCache[i] || [], l = voe(o, 2), s = l[0], c = l[1];
|
24852
|
-
if (s &&
|
24852
|
+
if (s && zn(a, c))
|
24853
24853
|
return s;
|
24854
24854
|
}
|
24855
24855
|
}, {
|
@@ -26459,7 +26459,7 @@ Mb.defaultProps = {
|
|
26459
26459
|
standalone: !0,
|
26460
26460
|
theme: _i.grayscale
|
26461
26461
|
};
|
26462
|
-
var Em = /* @__PURE__ */ E.memo(Mb,
|
26462
|
+
var Em = /* @__PURE__ */ E.memo(Mb, zn);
|
26463
26463
|
Em.displayName = "VictoryChart";
|
26464
26464
|
Em.expectedComponents = ["groupComponent", "containerComponent"];
|
26465
26465
|
var tse = qc, nse = Oo;
|
@@ -28435,7 +28435,7 @@ const lu = Po(Ma), A0e = {
|
|
28435
28435
|
};
|
28436
28436
|
mn.displayName = "ChartLabel";
|
28437
28437
|
en(mn, Vt);
|
28438
|
-
const
|
28438
|
+
const Un = {
|
28439
28439
|
circle: (e, t, n) => `M ${e}, ${t}
|
28440
28440
|
m ${-n}, 0
|
28441
28441
|
a ${n}, ${n} 0 1,0 ${n * 2},0
|
@@ -28560,19 +28560,19 @@ const Vn = {
|
|
28560
28560
|
if (e.getPath)
|
28561
28561
|
return e.getPath(t, n, r);
|
28562
28562
|
const i = {
|
28563
|
-
circle:
|
28564
|
-
square:
|
28565
|
-
diamond:
|
28566
|
-
eyeSlash:
|
28567
|
-
triangleDown:
|
28568
|
-
triangleLeft:
|
28569
|
-
triangleRight:
|
28570
|
-
triangleUp:
|
28571
|
-
plus:
|
28572
|
-
minus:
|
28573
|
-
star:
|
28574
|
-
dash:
|
28575
|
-
threshold:
|
28563
|
+
circle: Un.circle,
|
28564
|
+
square: Un.square,
|
28565
|
+
diamond: Un.diamond,
|
28566
|
+
eyeSlash: Un.eyeSlash,
|
28567
|
+
triangleDown: Un.triangleDown,
|
28568
|
+
triangleLeft: Un.triangleLeft,
|
28569
|
+
triangleRight: Un.triangleRight,
|
28570
|
+
triangleUp: Un.triangleUp,
|
28571
|
+
plus: Un.plus,
|
28572
|
+
minus: Un.minus,
|
28573
|
+
star: Un.star,
|
28574
|
+
dash: Un.dash,
|
28575
|
+
threshold: Un.threshold
|
28576
28576
|
}, o = se(e.symbol, e);
|
28577
28577
|
return (typeof i[o] == "function" ? i[o] : i.square)(t, n, r);
|
28578
28578
|
}, km = (e) => {
|
@@ -28915,7 +28915,7 @@ const Pm = ({ height: e, padding: t, width: n }) => {
|
|
28915
28915
|
default:
|
28916
28916
|
return e;
|
28917
28917
|
}
|
28918
|
-
},
|
28918
|
+
}, Yn = (e, t, n) => typeof t == "number" ? t : typeof t == "object" && Object.keys(t).length > 0 ? t[e] || 0 : Yn(e, n, 0), hve = [
|
28919
28919
|
// Set 1
|
28920
28920
|
{
|
28921
28921
|
// Left diagonal lines
|
@@ -29196,10 +29196,10 @@ const _ve = (e) => Nb(e, Jde), xve = (e, t) => {
|
|
29196
29196
|
width: S = y.chart.width
|
29197
29197
|
} = e, w = $e(e, ["ariaDesc", "ariaTitle", "children", "colorScale", "hasPatterns", "legendAllowWrap", "legendComponent", "legendData", "legendPosition", "legendDirection", "name", "padding", "patternScale", "showAxis", "themeColor", "theme", "containerComponent", "legendOrientation", "height", "width"]);
|
29198
29198
|
const O = {
|
29199
|
-
bottom:
|
29200
|
-
left:
|
29201
|
-
right:
|
29202
|
-
top:
|
29199
|
+
bottom: Yn("bottom", d, y.chart.padding),
|
29200
|
+
left: Yn("left", d, y.chart.padding),
|
29201
|
+
right: Yn("right", d, y.chart.padding),
|
29202
|
+
top: Yn("top", d, y.chart.padding)
|
29203
29203
|
}, { defaultColorScale: T, defaultPatternScale: A, isPatternDefs: j, patternId: I } = Wb({
|
29204
29204
|
colorScale: i,
|
29205
29205
|
patternScale: h,
|
@@ -29277,7 +29277,7 @@ var Cve = function(e, t) {
|
|
29277
29277
|
var n = pn(e);
|
29278
29278
|
n.length < 2 && (n = []);
|
29279
29279
|
var r = function(i) {
|
29280
|
-
var a = QE(t[i]) === "log" ? 1 / Number.MAX_SAFE_INTEGER : 0, o = t[i].domain(), l =
|
29280
|
+
var a = QE(t[i]) === "log" ? 1 / Number.MAX_SAFE_INTEGER : 0, o = t[i].domain(), l = Bn(o), s = Cr(o), c = a;
|
29281
29281
|
return l < 0 && s <= 0 ? c = s : l >= 0 && s > 0 && (c = l), xr(o) ? new Date(c) : c;
|
29282
29282
|
};
|
29283
29283
|
return n.map(function(i) {
|
@@ -31570,10 +31570,10 @@ const jm = Po(wi), Yb = (e) => {
|
|
31570
31570
|
width: j = w.pie.width
|
31571
31571
|
} = e, I = $e(e, ["allowTooltip", "ariaDesc", "ariaTitle", "colorScale", "constrainToVisibleArea", "containerComponent", "hasPatterns", "legendAllowWrap", "legendComponent", "legendData", "legendPosition", "legendDirection", "name", "patternScale", "patternUnshiftIndex", "padding", "radius", "standalone", "style", "themeColor", "theme", "labelComponent", "legendOrientation", "height", "width"]);
|
31572
31572
|
const k = {
|
31573
|
-
bottom:
|
31574
|
-
left:
|
31575
|
-
right:
|
31576
|
-
top:
|
31573
|
+
bottom: Yn("bottom", y, w.pie.padding),
|
31574
|
+
left: Yn("left", y, w.pie.padding),
|
31575
|
+
right: Yn("right", y, w.pie.padding),
|
31576
|
+
top: Yn("top", y, w.pie.padding)
|
31577
31577
|
}, { defaultColorScale: M, defaultPatternScale: $, isPatternDefs: P, patternId: F } = Wb({
|
31578
31578
|
colorScale: i,
|
31579
31579
|
hasPatterns: l,
|
@@ -31668,10 +31668,10 @@ const Dm = (e) => {
|
|
31668
31668
|
width: O = S.pie.width
|
31669
31669
|
} = e, T = $e(e, ["allowTooltip", "ariaDesc", "ariaTitle", "capHeight", "containerComponent", "innerRadius", "legendPosition", "legendDirection", "name", "padAngle", "padding", "radius", "standalone", "subTitle", "subTitleComponent", "subTitlePosition", "themeColor", "title", "titleComponent", "theme", "height", "width"]);
|
31670
31670
|
const A = {
|
31671
|
-
bottom:
|
31672
|
-
left:
|
31673
|
-
right:
|
31674
|
-
top:
|
31671
|
+
bottom: Yn("bottom", f, S.pie.padding),
|
31672
|
+
left: Yn("left", f, S.pie.padding),
|
31673
|
+
right: Yn("right", f, S.pie.padding),
|
31674
|
+
top: Yn("top", f, S.pie.padding)
|
31675
31675
|
}, j = d || hi({
|
31676
31676
|
height: w,
|
31677
31677
|
width: O,
|
@@ -32469,7 +32469,7 @@ var l1e = function(e) {
|
|
32469
32469
|
function s1e(e) {
|
32470
32470
|
var t = l1e(e), n = E.useState(t), r = Zbe(n, 2), i = r[0], a = r[1];
|
32471
32471
|
return E.useEffect(function() {
|
32472
|
-
|
32472
|
+
zn(t, i) || a(t);
|
32473
32473
|
}, [i, a, t]), E.useMemo(function() {
|
32474
32474
|
return kP(i, i.children);
|
32475
32475
|
}, [i]);
|
@@ -32619,7 +32619,7 @@ var m1e = {
|
|
32619
32619
|
role: "stack",
|
32620
32620
|
expectedComponents: ["groupComponent", "containerComponent", "labelComponent"],
|
32621
32621
|
getChildren: PP
|
32622
|
-
}, Mm = Object.assign(/* @__PURE__ */ E.memo(t1,
|
32622
|
+
}, Mm = Object.assign(/* @__PURE__ */ E.memo(t1, zn), m1e);
|
32623
32623
|
Mm.displayName = "VictoryStack";
|
32624
32624
|
const Gd = (e) => {
|
32625
32625
|
var {
|
@@ -33007,8 +33007,8 @@ var Xu = {
|
|
33007
33007
|
},
|
33008
33008
|
getDatasets: function(e) {
|
33009
33009
|
var t = {
|
33010
|
-
x:
|
33011
|
-
y:
|
33010
|
+
x: Bn(e.domain.x),
|
33011
|
+
y: Bn(e.domain.y)
|
33012
33012
|
}, n = E.Children.toArray(e.children), r = function(o, l, s) {
|
33013
33013
|
var c = s && s.type && s.type.continuous, u = s ? s.props && s.props.style : e.style;
|
33014
33014
|
return o.map(function(f, d) {
|
@@ -33138,7 +33138,7 @@ var Xu = {
|
|
33138
33138
|
return (o = this.getParentMutation([], a, i)).concat.apply(o, ys(l));
|
33139
33139
|
}
|
33140
33140
|
var s = this.getVoronoiPoints(t, a), c = s.points, u = c === void 0 ? [] : c, f = s.index, d = this.getParentMutation(u, a, i, f);
|
33141
|
-
if (r.length &&
|
33141
|
+
if (r.length && zn(u, r))
|
33142
33142
|
return d;
|
33143
33143
|
this.onActivated(t, u), this.onDeactivated(t, r);
|
33144
33144
|
var h = u.length ? u.map(function(p) {
|
@@ -34764,7 +34764,7 @@ var Fa = {
|
|
34764
34764
|
y: p
|
34765
34765
|
}, f, r))
|
34766
34766
|
return {};
|
34767
|
-
var y = ae({}, t.brushDomain, a), b =
|
34767
|
+
var y = ae({}, t.brushDomain, a), b = zn(y, i) ? t.currentDomain || y || a : y || a, _ = this.getDomainBox(t, a, b), x = o && this.getActiveHandles({
|
34768
34768
|
x: m,
|
34769
34769
|
y: p
|
34770
34770
|
}, t, _);
|
@@ -34783,7 +34783,7 @@ var Fa = {
|
|
34783
34783
|
}] : this.withinBounds({
|
34784
34784
|
x: m,
|
34785
34785
|
y: p
|
34786
|
-
}, _) && !
|
34786
|
+
}, _) && !zn(a, b) ? [{
|
34787
34787
|
target: "parent",
|
34788
34788
|
mutation: function() {
|
34789
34789
|
return _n({
|
@@ -35092,7 +35092,7 @@ var FP = function(e) {
|
|
35092
35092
|
}, {
|
35093
35093
|
key: "getRect",
|
35094
35094
|
value: function(o) {
|
35095
|
-
var l = o.currentDomain, s = o.cachedBrushDomain, c = ae({}, o.brushDomain, o.domain), u =
|
35095
|
+
var l = o.currentDomain, s = o.cachedBrushDomain, c = ae({}, o.brushDomain, o.domain), u = zn(c, s) ? ae({}, l, c) : c, f = Di(o, u), d = this.getSelectBox(o, f);
|
35096
35096
|
return d ? [d, this.getHandles(o, u)] : [];
|
35097
35097
|
}
|
35098
35098
|
// Overrides method in VictoryContainer
|
@@ -35406,7 +35406,7 @@ const Dxe = (e, t) => {
|
|
35406
35406
|
} })), i && (n.defaultProps.labelComponent = C.createElement($m, null)), n;
|
35407
35407
|
};
|
35408
35408
|
function Mxe(e) {
|
35409
|
-
return e.horizontal ? /* @__PURE__ */ v.jsx(Ixe, { children: e.legend.map((t, n) => t.count === 0 && e.allowZero != !0 ? /* @__PURE__ */ v.jsx(
|
35409
|
+
return e.horizontal ? /* @__PURE__ */ v.jsx(Ixe, { children: e.legend.map((t, n) => t.count === 0 && e.allowZero != !0 ? /* @__PURE__ */ v.jsx(Kn, {}, n) : /* @__PURE__ */ v.jsxs(Rxe, { children: [
|
35410
35410
|
/* @__PURE__ */ v.jsx(
|
35411
35411
|
AS,
|
35412
35412
|
{
|
@@ -35416,7 +35416,7 @@ function Mxe(e) {
|
|
35416
35416
|
),
|
35417
35417
|
e.showLegendCount == !1 ? null : /* @__PURE__ */ v.jsx(ES, { count: t.count }),
|
35418
35418
|
/* @__PURE__ */ v.jsx(kS, { label: t.label, link: t.link })
|
35419
|
-
] }, n)) }) : /* @__PURE__ */ v.jsx(Lxe, { children: e.legend.map((t, n) => t.count === 0 && e.allowZero != !0 ? /* @__PURE__ */ v.jsx(
|
35419
|
+
] }, n)) }) : /* @__PURE__ */ v.jsx(Lxe, { children: e.legend.map((t, n) => t.count === 0 && e.allowZero != !0 ? /* @__PURE__ */ v.jsx(Kn, {}, n) : /* @__PURE__ */ v.jsxs(Kn, { children: [
|
35420
35420
|
/* @__PURE__ */ v.jsx(AS, { color: t.color }),
|
35421
35421
|
e.showLegendCount == !1 ? null : /* @__PURE__ */ v.jsx(
|
35422
35422
|
ES,
|
@@ -35721,10 +35721,10 @@ function Hxe(e) {
|
|
35721
35721
|
function tEe(e) {
|
35722
35722
|
const { t } = St(), { title: n, items: r, loading: i } = e, a = r.reduce((o, l) => o + l.count, 0);
|
35723
35723
|
return /* @__PURE__ */ v.jsx(sy, { title: n, width: "sm", height: "xs", linkText: e.linkText, to: e.to, children: /* @__PURE__ */ v.jsx(_h, { children: i === !0 ? /* @__PURE__ */ v.jsxs(gi, { hasGutter: !0, children: [
|
35724
|
-
/* @__PURE__ */ v.jsx(hn, { children: /* @__PURE__ */ v.jsx(
|
35724
|
+
/* @__PURE__ */ v.jsx(hn, { children: /* @__PURE__ */ v.jsx(Zn, { shape: "circle", width: "100px" }) }),
|
35725
35725
|
/* @__PURE__ */ v.jsx(hn, { style: { marginTop: "auto", marginBottom: "auto" }, children: /* @__PURE__ */ v.jsx(kn, { direction: { default: "column" }, spaceItems: { default: "spaceItemsMd" }, children: r.map((o) => /* @__PURE__ */ v.jsx(yt, { children: /* @__PURE__ */ v.jsxs(kn, { spaceItems: { default: "spaceItemsSm" }, children: [
|
35726
|
-
/* @__PURE__ */ v.jsx(yt, { children: /* @__PURE__ */ v.jsx(Uxe, { children: /* @__PURE__ */ v.jsx(
|
35727
|
-
/* @__PURE__ */ v.jsx(yt, { grow: { default: "grow" }, children: /* @__PURE__ */ v.jsx(
|
35726
|
+
/* @__PURE__ */ v.jsx(yt, { children: /* @__PURE__ */ v.jsx(Uxe, { children: /* @__PURE__ */ v.jsx(Zn, { shape: "square", width: "12", height: "12" }) }) }),
|
35727
|
+
/* @__PURE__ */ v.jsx(yt, { grow: { default: "grow" }, children: /* @__PURE__ */ v.jsx(Zn, { shape: "square", width: "70px", height: "14px" }) })
|
35728
35728
|
] }) }, o.label)) }) })
|
35729
35729
|
] }) : /* @__PURE__ */ v.jsx(
|
35730
35730
|
Hxe,
|
@@ -35787,7 +35787,7 @@ function gf(e) {
|
|
35787
35787
|
}
|
35788
35788
|
function Yxe(e) {
|
35789
35789
|
const { disablePadding: t, alertPrompts: n } = e, r = Nc(), i = r.formLayout, a = e.numberOfColumns ? e.numberOfColumns : r.formColumns, o = !1;
|
35790
|
-
return /* @__PURE__ */ v.jsxs(
|
35790
|
+
return /* @__PURE__ */ v.jsxs(Xn, { variant: "light", padding: { default: "noPadding" }, children: [
|
35791
35791
|
n && n.length > 0 && n.map((l, s) => /* @__PURE__ */ v.jsx(
|
35792
35792
|
Ec,
|
35793
35793
|
{
|
@@ -35914,7 +35914,7 @@ function iEe(e) {
|
|
35914
35914
|
}
|
35915
35915
|
function n2e(e) {
|
35916
35916
|
const { item: t, columns: n, disablePadding: r, numberOfColumns: i } = e;
|
35917
|
-
return t ? /* @__PURE__ */ v.jsx(Yxe, { disablePadding: r, numberOfColumns: i, children: n.map((a) => "value" in a && a.value && !a.value(t) ? /* @__PURE__ */ v.jsx(
|
35917
|
+
return t ? /* @__PURE__ */ v.jsx(Yxe, { disablePadding: r, numberOfColumns: i, children: n.map((a) => "value" in a && a.value && !a.value(t) ? /* @__PURE__ */ v.jsx(Kn, {}, a.id ?? a.header) : /* @__PURE__ */ v.jsx(gf, { label: a.header, children: /* @__PURE__ */ v.jsx(fn, { column: a, item: t }) }, a.id ?? a.header)) }) : /* @__PURE__ */ v.jsx(v.Fragment, {});
|
35918
35918
|
}
|
35919
35919
|
class r2e {
|
35920
35920
|
constructor(t) {
|
@@ -35996,7 +35996,7 @@ function o2e() {
|
|
35996
35996
|
}, []), e.current;
|
35997
35997
|
}
|
35998
35998
|
function l2e(e) {
|
35999
|
-
const [t, n] = pe(!1), r =
|
35999
|
+
const [t, n] = pe(!1), r = Fn("sm"), [i] = Dt(), { pageItems: a, selectedItems: o, selectItems: l, unselectAll: s, maxSelections: c } = e, u = e.itemCount !== void 0 && e.itemCount > 0 && a && a.length > 0 && (a ?? []).every((x) => o == null ? void 0 : o.includes(x)), f = me(() => {
|
36000
36000
|
u ? s == null || s() : l == null || l(a ?? []);
|
36001
36001
|
}, [u, s, l, a]), d = _e(() => r ? o && o.length > 0 ? `${o.length} selected` : "" : o && o.length > 0 ? `${o.length}` : "", [r, o]), h = _e(
|
36002
36002
|
() => a == null ? void 0 : a.filter((x) => !(o != null && o.includes(x))),
|
@@ -36356,7 +36356,7 @@ function u2e(e) {
|
|
36356
36356
|
const h = [l.value];
|
36357
36357
|
c && (h.push(c), f && h.push(f)), n(() => h);
|
36358
36358
|
}
|
36359
|
-
}, [l, c, f, n]), /* @__PURE__ */ v.jsxs(
|
36359
|
+
}, [l, c, f, n]), /* @__PURE__ */ v.jsxs(qn, { children: [
|
36360
36360
|
/* @__PURE__ */ v.jsx(
|
36361
36361
|
vr,
|
36362
36362
|
{
|
@@ -36486,7 +36486,7 @@ function PS(e) {
|
|
36486
36486
|
if (t.length === 0)
|
36487
36487
|
return /* @__PURE__ */ v.jsx(v.Fragment, {});
|
36488
36488
|
let l = t.length === 1;
|
36489
|
-
return t.length >= 1 && (t[0].type === 2 && t[0].isPinned || t[0].type === 1 && t[0].isPinned && (n[t[0].key] == null || ((s = n[t[0].key]) == null ? void 0 : s.length) === 0)) && (l = !1), /* @__PURE__ */ v.jsx(v.Fragment, { children: t.length === 1 ? /* @__PURE__ */ v.jsxs(
|
36489
|
+
return t.length >= 1 && (t[0].type === 2 && t[0].isPinned || t[0].type === 1 && t[0].isPinned && (n[t[0].key] == null || ((s = n[t[0].key]) == null ? void 0 : s.length) === 0)) && (l = !1), /* @__PURE__ */ v.jsx(v.Fragment, { children: t.length === 1 ? /* @__PURE__ */ v.jsxs(qn, { children: [
|
36490
36490
|
l && /* @__PURE__ */ v.jsx("div", { style: { marginTop: 6, marginRight: 6, whiteSpace: "nowrap" }, children: t[0].label }),
|
36491
36491
|
/* @__PURE__ */ v.jsx(
|
36492
36492
|
$S,
|
@@ -36498,7 +36498,7 @@ function PS(e) {
|
|
36498
36498
|
"data-cy": o
|
36499
36499
|
}
|
36500
36500
|
)
|
36501
|
-
] }) : /* @__PURE__ */ v.jsxs(
|
36501
|
+
] }) : /* @__PURE__ */ v.jsxs(qn, { children: [
|
36502
36502
|
/* @__PURE__ */ v.jsx(
|
36503
36503
|
vr,
|
36504
36504
|
{
|
@@ -36527,14 +36527,14 @@ function PS(e) {
|
|
36527
36527
|
] }) });
|
36528
36528
|
}
|
36529
36529
|
function m2e(e) {
|
36530
|
-
const { toolbarFilters: t, setFilterState: n, filterState: r } = e, [i] = Dt(), a = !
|
36530
|
+
const { toolbarFilters: t, setFilterState: n, filterState: r } = e, [i] = Dt(), a = !Fn("md");
|
36531
36531
|
if (!t)
|
36532
36532
|
return /* @__PURE__ */ v.jsx(v.Fragment, {});
|
36533
36533
|
if (t.length === 0)
|
36534
36534
|
return /* @__PURE__ */ v.jsx(v.Fragment, {});
|
36535
36535
|
const o = t.filter((s) => !s.isPinned), l = t.filter((s) => !!s.isPinned);
|
36536
36536
|
return /* @__PURE__ */ v.jsx(qC, { toggleIcon: /* @__PURE__ */ v.jsx(eO, {}), breakpoint: "md", children: /* @__PURE__ */ v.jsxs(Ks, { variant: "filter-group", style: { flexWrap: "wrap", gap: 16 }, children: [
|
36537
|
-
a && /* @__PURE__ */ v.jsx(
|
36537
|
+
a && /* @__PURE__ */ v.jsx(qn, { variant: "label", children: i.filter }),
|
36538
36538
|
/* @__PURE__ */ v.jsx(
|
36539
36539
|
PS,
|
36540
36540
|
{
|
@@ -36754,8 +36754,8 @@ function p2e(e) {
|
|
36754
36754
|
return /* @__PURE__ */ v.jsx(v.Fragment, {});
|
36755
36755
|
}, [r, l]);
|
36756
36756
|
return !a || a.length <= 0 ? /* @__PURE__ */ v.jsx(v.Fragment, {}) : /* @__PURE__ */ v.jsx(qC, { breakpoint: "md", toggleIcon: void 0, children: /* @__PURE__ */ v.jsxs(Ks, { variant: "filter-group", children: [
|
36757
|
-
/* @__PURE__ */ v.jsx(
|
36758
|
-
/* @__PURE__ */ v.jsx(
|
36757
|
+
/* @__PURE__ */ v.jsx(qn, { variant: "label", children: s.sort }),
|
36758
|
+
/* @__PURE__ */ v.jsx(qn, { children: /* @__PURE__ */ v.jsxs(gi, { children: [
|
36759
36759
|
/* @__PURE__ */ v.jsx(
|
36760
36760
|
g2e,
|
36761
36761
|
{
|
@@ -36848,8 +36848,8 @@ function y2e(e) {
|
|
36848
36848
|
const { viewType: t, setViewType: n, openColumnModal: r } = e, [i] = Dt();
|
36849
36849
|
let a = 0;
|
36850
36850
|
return e.disableTableView || a++, e.disableCardView || a++, e.disableListView || a++, /* @__PURE__ */ v.jsxs(Ks, { variant: "button-group", style: { justifyContent: "end", marginRight: 0 }, children: [
|
36851
|
-
r && /* @__PURE__ */ v.jsx(
|
36852
|
-
a > 1 && /* @__PURE__ */ v.jsx(
|
36851
|
+
r && /* @__PURE__ */ v.jsx(qn, { children: /* @__PURE__ */ v.jsx(On, { content: i.manageColumns, children: /* @__PURE__ */ v.jsx(Re, { variant: "plain", icon: /* @__PURE__ */ v.jsx(Lj, {}), onClick: r }) }) }),
|
36852
|
+
a > 1 && /* @__PURE__ */ v.jsx(qn, { children: /* @__PURE__ */ v.jsx(ig, { "data-cy": "table-view-toggle", "aria-label": "table view toggle", children: [
|
36853
36853
|
!e.disableTableView && pt.Table,
|
36854
36854
|
!e.disableListView && pt.List,
|
36855
36855
|
!e.disableCardView && pt.Cards
|
@@ -36951,7 +36951,7 @@ function _2e(e) {
|
|
36951
36951
|
perPageOptions: b
|
36952
36952
|
} = e, _ = me(() => {
|
36953
36953
|
y ? y() : c && c({});
|
36954
|
-
}, [c, y]), x =
|
36954
|
+
}, [c, y]), x = Fn("md"), { viewType: S, setViewType: w } = e;
|
36955
36955
|
let { toolbarActions: O } = e;
|
36956
36956
|
O = O ?? [];
|
36957
36957
|
const T = me(
|
@@ -36968,7 +36968,7 @@ function _2e(e) {
|
|
36968
36968
|
{
|
36969
36969
|
className: "page-table-toolbar border-bottom",
|
36970
36970
|
style: { paddingBottom: x ? void 0 : 8, paddingTop: x ? void 0 : 8 },
|
36971
|
-
children: /* @__PURE__ */ v.jsx(jS, { children: /* @__PURE__ */ v.jsx(
|
36971
|
+
children: /* @__PURE__ */ v.jsx(jS, { children: /* @__PURE__ */ v.jsx(qn, { style: { width: "100%" }, children: /* @__PURE__ */ v.jsx(Zn, { height: "36px" }) }) })
|
36972
36972
|
}
|
36973
36973
|
) : /* @__PURE__ */ v.jsx(
|
36974
36974
|
ag,
|
@@ -36985,7 +36985,7 @@ function _2e(e) {
|
|
36985
36985
|
"2xl": "insetLg"
|
36986
36986
|
},
|
36987
36987
|
children: /* @__PURE__ */ v.jsxs(jS, { children: [
|
36988
|
-
k && /* @__PURE__ */ v.jsx(Ks, { children: /* @__PURE__ */ v.jsx(
|
36988
|
+
k && /* @__PURE__ */ v.jsx(Ks, { children: /* @__PURE__ */ v.jsx(qn, { variant: "bulk-select", children: /* @__PURE__ */ v.jsx(l2e, { ...e }) }) }),
|
36989
36989
|
s && c && /* @__PURE__ */ v.jsx(
|
36990
36990
|
m2e,
|
36991
36991
|
{
|
@@ -37000,7 +37000,7 @@ function _2e(e) {
|
|
37000
37000
|
{
|
37001
37001
|
actions: O,
|
37002
37002
|
selectedItems: l,
|
37003
|
-
wrapper:
|
37003
|
+
wrapper: qn
|
37004
37004
|
}
|
37005
37005
|
) }),
|
37006
37006
|
/* @__PURE__ */ v.jsxs(b2e, { children: [
|
@@ -37026,7 +37026,7 @@ function _2e(e) {
|
|
37026
37026
|
}
|
37027
37027
|
),
|
37028
37028
|
!e.disablePagination && /* @__PURE__ */ v.jsx(
|
37029
|
-
|
37029
|
+
qn,
|
37030
37030
|
{
|
37031
37031
|
visibility: { default: "hidden", "2xl": "visible" },
|
37032
37032
|
style: { marginLeft: 24, alignSelf: "center" },
|
@@ -37049,7 +37049,7 @@ function _2e(e) {
|
|
37049
37049
|
] })
|
37050
37050
|
] })
|
37051
37051
|
}
|
37052
|
-
) : /* @__PURE__ */ v.jsx(
|
37052
|
+
) : /* @__PURE__ */ v.jsx(Kn, {});
|
37053
37053
|
}
|
37054
37054
|
function x2e(e) {
|
37055
37055
|
const { t } = St(), n = t("Something went wrong"), r = t("Please refresh the page by using the button below."), i = t("Refresh"), { titleProp: a, message: o } = e;
|
@@ -37643,9 +37643,9 @@ function E2e(e) {
|
|
37643
37643
|
onDragEnd: k,
|
37644
37644
|
onDragStart: M,
|
37645
37645
|
children: [
|
37646
|
-
/* @__PURE__ */ v.jsx(
|
37646
|
+
/* @__PURE__ */ v.jsx(Hn, { draggableRow: { id: `draggable-row-${Q.toString()}` } }),
|
37647
37647
|
h && /* @__PURE__ */ v.jsx(
|
37648
|
-
|
37648
|
+
Hn,
|
37649
37649
|
{
|
37650
37650
|
select: {
|
37651
37651
|
rowIndex: F,
|
@@ -37657,7 +37657,7 @@ function E2e(e) {
|
|
37657
37657
|
}
|
37658
37658
|
}
|
37659
37659
|
),
|
37660
|
-
n.map((Z) => /* @__PURE__ */ v.jsx(
|
37660
|
+
n.map((Z) => /* @__PURE__ */ v.jsx(Hn, { children: Z.cell(P, $) }, Z.header))
|
37661
37661
|
]
|
37662
37662
|
},
|
37663
37663
|
Q
|
@@ -37946,13 +37946,13 @@ function $2e(e, t, n, r, i) {
|
|
37946
37946
|
};
|
37947
37947
|
}
|
37948
37948
|
function j2e() {
|
37949
|
-
return /* @__PURE__ */ v.jsx(Iv, { gridBreakPoint: "", className: "page-table", children: /* @__PURE__ */ v.jsx(Rv, { children: new Array(10).fill(0).map((e, t) => /* @__PURE__ */ v.jsx(cl, { children: /* @__PURE__ */ v.jsx(
|
37949
|
+
return /* @__PURE__ */ v.jsx(Iv, { gridBreakPoint: "", className: "page-table", children: /* @__PURE__ */ v.jsx(Rv, { children: new Array(10).fill(0).map((e, t) => /* @__PURE__ */ v.jsx(cl, { children: /* @__PURE__ */ v.jsx(Hn, { children: /* @__PURE__ */ v.jsx(Zn, { height: "27px" }) }) }, t)) }) });
|
37950
37950
|
}
|
37951
37951
|
function D2e(e) {
|
37952
37952
|
const { setPage: t, setPerPage: n } = e, r = me((o, l) => t(l), [t]), i = me(
|
37953
37953
|
(o, l) => n(l),
|
37954
37954
|
[n]
|
37955
|
-
), a = !
|
37955
|
+
), a = !Fn("md");
|
37956
37956
|
return /* @__PURE__ */ v.jsx(
|
37957
37957
|
KC,
|
37958
37958
|
{
|
@@ -38226,7 +38226,7 @@ function DS(e) {
|
|
38226
38226
|
s,
|
38227
38227
|
c
|
38228
38228
|
]);
|
38229
|
-
return /* @__PURE__ */ v.jsx(
|
38229
|
+
return /* @__PURE__ */ v.jsx(Xn, { style: { flexGrow: 1 }, children: f });
|
38230
38230
|
}
|
38231
38231
|
function MS(e) {
|
38232
38232
|
const {
|
@@ -38463,7 +38463,7 @@ function Rm(e) {
|
|
38463
38463
|
);
|
38464
38464
|
let p = e.topContent;
|
38465
38465
|
return p && (p = /* @__PURE__ */ v.jsx(
|
38466
|
-
|
38466
|
+
Xn,
|
38467
38467
|
{
|
38468
38468
|
variant: "light",
|
38469
38469
|
padding: { default: "noPadding" },
|
@@ -38493,10 +38493,10 @@ function Rm(e) {
|
|
38493
38493
|
] }) }),
|
38494
38494
|
f === pt.List && /* @__PURE__ */ v.jsx(v.Fragment, { children: e.scrollTopContent ? /* @__PURE__ */ v.jsxs(Ga, { children: [
|
38495
38495
|
p,
|
38496
|
-
/* @__PURE__ */ v.jsx(
|
38496
|
+
/* @__PURE__ */ v.jsx(Xn, { padding: { default: "noPadding" }, children: !e.hideTable && /* @__PURE__ */ v.jsx(MS, { ...e, showSelect: s, tableColumns: l }) })
|
38497
38497
|
] }) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
38498
38498
|
p,
|
38499
|
-
/* @__PURE__ */ v.jsx(Ga, { children: /* @__PURE__ */ v.jsx(
|
38499
|
+
/* @__PURE__ */ v.jsx(Ga, { children: /* @__PURE__ */ v.jsx(Xn, { padding: { default: "noPadding" }, children: !e.hideTable && /* @__PURE__ */ v.jsx(
|
38500
38500
|
MS,
|
38501
38501
|
{
|
38502
38502
|
...e,
|
@@ -38710,7 +38710,7 @@ function Y2e(e) {
|
|
38710
38710
|
f.header
|
38711
38711
|
)),
|
38712
38712
|
n !== void 0 && /* @__PURE__ */ v.jsx(
|
38713
|
-
|
38713
|
+
Hn,
|
38714
38714
|
{
|
38715
38715
|
isActionCell: !0,
|
38716
38716
|
isStickyColumn: !0,
|
@@ -38762,7 +38762,7 @@ function K2e(e) {
|
|
38762
38762
|
"data-cy": "id" in l && (typeof l.id == "string" || typeof l.id == "number") ? `row-id-${l.id.toString()}` : `row-${c}`,
|
38763
38763
|
children: [
|
38764
38764
|
d && /* @__PURE__ */ v.jsx(
|
38765
|
-
|
38765
|
+
Hn,
|
38766
38766
|
{
|
38767
38767
|
expand: x ? {
|
38768
38768
|
rowIndex: c,
|
@@ -38790,7 +38790,7 @@ function K2e(e) {
|
|
38790
38790
|
}
|
38791
38791
|
),
|
38792
38792
|
f && /* @__PURE__ */ v.jsx(
|
38793
|
-
|
38793
|
+
Hn,
|
38794
38794
|
{
|
38795
38795
|
select: {
|
38796
38796
|
rowIndex: c,
|
@@ -38821,11 +38821,11 @@ function K2e(e) {
|
|
38821
38821
|
}
|
38822
38822
|
),
|
38823
38823
|
d && y && x && /* @__PURE__ */ v.jsxs(cl, { isExpanded: y, style: { boxShadow: "unset" }, children: [
|
38824
|
-
/* @__PURE__ */ v.jsx(
|
38824
|
+
/* @__PURE__ */ v.jsx(Hn, {}),
|
38825
38825
|
u && /* @__PURE__ */ v.jsx(ba, { isStickyColumn: !0, stickyMinWidth: "0px", hasRightBorder: e.scrollLeft }),
|
38826
|
-
f && /* @__PURE__ */ v.jsx(
|
38826
|
+
f && /* @__PURE__ */ v.jsx(Hn, { isStickyColumn: !0, stickyMinWidth: "0px", hasRightBorder: e.scrollLeft }),
|
38827
38827
|
/* @__PURE__ */ v.jsx(
|
38828
|
-
|
38828
|
+
Hn,
|
38829
38829
|
{
|
38830
38830
|
colSpan: t.length,
|
38831
38831
|
style: { paddingBottom: _.tableLayout === "compact" ? 12 : 24, paddingTop: 0 },
|
@@ -38833,7 +38833,7 @@ function K2e(e) {
|
|
38833
38833
|
}
|
38834
38834
|
),
|
38835
38835
|
s !== void 0 && s.length > 0 && /* @__PURE__ */ v.jsx(
|
38836
|
-
|
38836
|
+
Hn,
|
38837
38837
|
{
|
38838
38838
|
isActionCell: !0,
|
38839
38839
|
isStickyColumn: !0,
|
@@ -38852,9 +38852,9 @@ function K2e(e) {
|
|
38852
38852
|
}
|
38853
38853
|
function X2e(e) {
|
38854
38854
|
const { columns: t, item: n, rowActions: r } = e, [i, a] = pe(!1);
|
38855
|
-
return /* @__PURE__ */ v.jsxs(
|
38855
|
+
return /* @__PURE__ */ v.jsxs(Kn, { children: [
|
38856
38856
|
t.map((o) => /* @__PURE__ */ v.jsx(
|
38857
|
-
|
38857
|
+
Hn,
|
38858
38858
|
{
|
38859
38859
|
dataLabel: o.header,
|
38860
38860
|
modifier: "nowrap",
|
@@ -38865,7 +38865,7 @@ function X2e(e) {
|
|
38865
38865
|
o.header
|
38866
38866
|
)),
|
38867
38867
|
r !== void 0 && r.length > 0 && /* @__PURE__ */ v.jsx(
|
38868
|
-
|
38868
|
+
Hn,
|
38869
38869
|
{
|
38870
38870
|
isActionCell: !0,
|
38871
38871
|
isStickyColumn: !0,
|
@@ -39266,7 +39266,7 @@ function lEe(e) {
|
|
39266
39266
|
}
|
39267
39267
|
) }, b) : /* @__PURE__ */ v.jsx(v.Fragment, {})) }) : /* @__PURE__ */ v.jsx(hn, { style: { fontStyle: "italic" }, children: p.noneSelectedText })
|
39268
39268
|
] }) }),
|
39269
|
-
/* @__PURE__ */ v.jsx(nh, { open: r.itemCount === void 0, children: /* @__PURE__ */ v.jsx(
|
39269
|
+
/* @__PURE__ */ v.jsx(nh, { open: r.itemCount === void 0, children: /* @__PURE__ */ v.jsx(Zn, { height: "80px" }) }),
|
39270
39270
|
/* @__PURE__ */ v.jsx(nh, { open: r.itemCount !== void 0, children: /* @__PURE__ */ v.jsx(
|
39271
39271
|
"div",
|
39272
39272
|
{
|
@@ -39395,7 +39395,7 @@ function awe(e) {
|
|
39395
39395
|
}
|
39396
39396
|
)
|
39397
39397
|
] }) }),
|
39398
|
-
/* @__PURE__ */ v.jsx(nh, { open: o.itemCount === void 0, children: /* @__PURE__ */ v.jsx(
|
39398
|
+
/* @__PURE__ */ v.jsx(nh, { open: o.itemCount === void 0, children: /* @__PURE__ */ v.jsx(Zn, { height: "80px" }) }),
|
39399
39399
|
/* @__PURE__ */ v.jsx(nh, { open: o.itemCount !== void 0, children: /* @__PURE__ */ v.jsx(
|
39400
39400
|
"div",
|
39401
39401
|
{
|
@@ -41042,7 +41042,7 @@ var f1 = /* @__PURE__ */ D$(function(e, t) {
|
|
41042
41042
|
return {
|
41043
41043
|
open: a
|
41044
41044
|
};
|
41045
|
-
}, [a]), /* @__PURE__ */ E.createElement(
|
41045
|
+
}, [a]), /* @__PURE__ */ E.createElement(Kn, null, n(Ot(Ot({}, o), {}, {
|
41046
41046
|
open: a
|
41047
41047
|
})));
|
41048
41048
|
});
|
@@ -44190,7 +44190,7 @@ function STe({ error: e, isMd: t, onCancel: n }) {
|
|
44190
44190
|
return /* @__PURE__ */ v.jsx(Ec, { variant: "danger", title: s, isInline: !0, style: o, isExpandable: a, children: /* @__PURE__ */ v.jsx(wTe, { error: e }) });
|
44191
44191
|
}
|
44192
44192
|
const _1 = Symbol.for("yaml.alias"), CTe = Symbol.for("yaml.document"), ho = Symbol.for("yaml.map"), d$ = Symbol.for("yaml.pair"), x1 = Symbol.for("yaml.scalar"), du = Symbol.for("yaml.seq"), Si = Symbol.for("yaml.node.type"), ts = (e) => !!e && typeof e == "object" && e[Si] === _1, Nm = (e) => !!e && typeof e == "object" && e[Si] === CTe, h$ = (e) => !!e && typeof e == "object" && e[Si] === ho, ln = (e) => !!e && typeof e == "object" && e[Si] === d$, Xt = (e) => !!e && typeof e == "object" && e[Si] === x1, w1 = (e) => !!e && typeof e == "object" && e[Si] === du;
|
44193
|
-
function
|
44193
|
+
function Gn(e) {
|
44194
44194
|
if (e && typeof e == "object")
|
44195
44195
|
switch (e[Si]) {
|
44196
44196
|
case ho:
|
@@ -44199,7 +44199,7 @@ function Hn(e) {
|
|
44199
44199
|
}
|
44200
44200
|
return !1;
|
44201
44201
|
}
|
44202
|
-
function
|
44202
|
+
function Wn(e) {
|
44203
44203
|
if (e && typeof e == "object")
|
44204
44204
|
switch (e[Si]) {
|
44205
44205
|
case _1:
|
@@ -44210,7 +44210,7 @@ function zn(e) {
|
|
44210
44210
|
}
|
44211
44211
|
return !1;
|
44212
44212
|
}
|
44213
|
-
const OTe = (e) => (Xt(e) ||
|
44213
|
+
const OTe = (e) => (Xt(e) || Gn(e)) && !!e.anchor, Va = Symbol("break visit"), TTe = Symbol("skip children"), Gs = Symbol("remove node");
|
44214
44214
|
function Tc(e, t) {
|
44215
44215
|
const n = ATe(t);
|
44216
44216
|
Nm(e) ? tl(null, e.contents, n, Object.freeze([e])) === Gs && (e.contents = null) : tl(null, e, n, Object.freeze([]));
|
@@ -44220,10 +44220,10 @@ Tc.SKIP = TTe;
|
|
44220
44220
|
Tc.REMOVE = Gs;
|
44221
44221
|
function tl(e, t, n, r) {
|
44222
44222
|
const i = ETe(e, t, n, r);
|
44223
|
-
if (
|
44223
|
+
if (Wn(i) || ln(i))
|
44224
44224
|
return kTe(e, r, i), tl(e, i, n, r);
|
44225
44225
|
if (typeof i != "symbol") {
|
44226
|
-
if (
|
44226
|
+
if (Gn(t)) {
|
44227
44227
|
r = Object.freeze(r.concat(t));
|
44228
44228
|
for (let a = 0; a < t.items.length; ++a) {
|
44229
44229
|
const o = tl(a, t.items[a], n, r);
|
@@ -44281,7 +44281,7 @@ function ETe(e, t, n, r) {
|
|
44281
44281
|
}
|
44282
44282
|
function kTe(e, t, n) {
|
44283
44283
|
const r = t[t.length - 1];
|
44284
|
-
if (
|
44284
|
+
if (Gn(r))
|
44285
44285
|
r.items[e] = n;
|
44286
44286
|
else if (ln(r))
|
44287
44287
|
e === "key" ? r.key = n : r.value = n;
|
@@ -44423,7 +44423,7 @@ function _f(e, t, n) {
|
|
44423
44423
|
if (ts(t)) {
|
44424
44424
|
const r = t.resolve(e), i = n && r && n.get(r);
|
44425
44425
|
return i ? i.count * i.aliasCount : 0;
|
44426
|
-
} else if (
|
44426
|
+
} else if (Gn(t)) {
|
44427
44427
|
let r = 0;
|
44428
44428
|
for (const i of t.items) {
|
44429
44429
|
const a = _f(e, i, n);
|
@@ -44468,7 +44468,7 @@ function jTe(e, t, n) {
|
|
44468
44468
|
}
|
44469
44469
|
function gh(e, t, n) {
|
44470
44470
|
var f, d, h;
|
44471
|
-
if (Nm(e) && (e = e.contents),
|
44471
|
+
if (Nm(e) && (e = e.contents), Wn(e))
|
44472
44472
|
return e;
|
44473
44473
|
if (ln(e)) {
|
44474
44474
|
const m = (d = (f = n.schema[ho]).createNode) == null ? void 0 : d.call(f, n.schema, null, n);
|
@@ -44532,7 +44532,7 @@ class Fm extends S1 {
|
|
44532
44532
|
*/
|
44533
44533
|
clone(t) {
|
44534
44534
|
const n = Object.create(Object.getPrototypeOf(this), Object.getOwnPropertyDescriptors(this));
|
44535
|
-
return t && (n.schema = t), n.items = n.items.map((r) =>
|
44535
|
+
return t && (n.schema = t), n.items = n.items.map((r) => Wn(r) || ln(r) ? r.clone(t) : r), this.range && (n.range = this.range.slice()), n;
|
44536
44536
|
}
|
44537
44537
|
/**
|
44538
44538
|
* Adds a value to the collection. For `!!map` and `!!omap` the value must
|
@@ -44544,7 +44544,7 @@ class Fm extends S1 {
|
|
44544
44544
|
this.add(n);
|
44545
44545
|
else {
|
44546
44546
|
const [r, ...i] = t, a = this.get(r, !0);
|
44547
|
-
if (
|
44547
|
+
if (Gn(a))
|
44548
44548
|
a.addIn(i, n);
|
44549
44549
|
else if (a === void 0 && this.schema)
|
44550
44550
|
this.set(r, xC(this.schema, i, n));
|
@@ -44561,7 +44561,7 @@ class Fm extends S1 {
|
|
44561
44561
|
if (r.length === 0)
|
44562
44562
|
return this.delete(n);
|
44563
44563
|
const i = this.get(n, !0);
|
44564
|
-
if (
|
44564
|
+
if (Gn(i))
|
44565
44565
|
return i.deleteIn(r);
|
44566
44566
|
throw new Error(`Expected YAML collection at ${n}. Remaining path: ${r}`);
|
44567
44567
|
}
|
@@ -44572,7 +44572,7 @@ class Fm extends S1 {
|
|
44572
44572
|
*/
|
44573
44573
|
getIn(t, n) {
|
44574
44574
|
const [r, ...i] = t, a = this.get(r, !0);
|
44575
|
-
return i.length === 0 ? !n && Xt(a) ? a.value : a :
|
44575
|
+
return i.length === 0 ? !n && Xt(a) ? a.value : a : Gn(a) ? a.getIn(i, n) : void 0;
|
44576
44576
|
}
|
44577
44577
|
hasAllNullValues(t) {
|
44578
44578
|
return this.items.every((n) => {
|
@@ -44590,7 +44590,7 @@ class Fm extends S1 {
|
|
44590
44590
|
if (r.length === 0)
|
44591
44591
|
return this.has(n);
|
44592
44592
|
const i = this.get(n, !0);
|
44593
|
-
return
|
44593
|
+
return Gn(i) ? i.hasIn(r) : !1;
|
44594
44594
|
}
|
44595
44595
|
/**
|
44596
44596
|
* Sets a value in this collection. For `!!set`, `value` needs to be a
|
@@ -44602,7 +44602,7 @@ class Fm extends S1 {
|
|
44602
44602
|
this.set(r, n);
|
44603
44603
|
else {
|
44604
44604
|
const a = this.get(r, !0);
|
44605
|
-
if (
|
44605
|
+
if (Gn(a))
|
44606
44606
|
a.setIn(i, n);
|
44607
44607
|
else if (a === void 0 && this.schema)
|
44608
44608
|
this.set(r, xC(this.schema, i, n));
|
@@ -44973,7 +44973,7 @@ function FTe(e, t) {
|
|
44973
44973
|
function zTe(e, t, { anchors: n, doc: r }) {
|
44974
44974
|
if (!r.directives)
|
44975
44975
|
return "";
|
44976
|
-
const i = [], a = (Xt(e) ||
|
44976
|
+
const i = [], a = (Xt(e) || Gn(e)) && e.anchor;
|
44977
44977
|
a && m$(a) && (n.add(a), i.push(`&${a}`));
|
44978
44978
|
const o = e.tag ? e.tag : t.default ? null : t.tag;
|
44979
44979
|
return o && i.push(r.directives.tagString(o)), i.join(" ");
|
@@ -44990,7 +44990,7 @@ function vh(e, t, n, r) {
|
|
44990
44990
|
t.resolvedAliases ? t.resolvedAliases.add(e) : t.resolvedAliases = /* @__PURE__ */ new Set([e]), e = e.resolve(t.doc);
|
44991
44991
|
}
|
44992
44992
|
let i;
|
44993
|
-
const a =
|
44993
|
+
const a = Wn(e) ? e : t.doc.createNode(e, { onTagObj: (c) => i = c });
|
44994
44994
|
i || (i = FTe(t.doc.schema.tags, a));
|
44995
44995
|
const o = zTe(a, i, t);
|
44996
44996
|
o.length > 0 && (t.indentAtStart = (t.indentAtStart ?? 0) + o.length + 1);
|
@@ -45000,16 +45000,16 @@ ${t.indent}${l}` : l;
|
|
45000
45000
|
}
|
45001
45001
|
function WTe({ key: e, value: t }, n, r, i) {
|
45002
45002
|
const { allNullValues: a, doc: o, indent: l, indentStep: s, options: { commentString: c, indentSeq: u, simpleKeys: f } } = n;
|
45003
|
-
let d =
|
45003
|
+
let d = Wn(e) && e.comment || null;
|
45004
45004
|
if (f) {
|
45005
45005
|
if (d)
|
45006
45006
|
throw new Error("With simple keys, key nodes cannot have comments");
|
45007
|
-
if (
|
45007
|
+
if (Gn(e)) {
|
45008
45008
|
const T = "With simple keys, collection cannot be used as a key value";
|
45009
45009
|
throw new Error(T);
|
45010
45010
|
}
|
45011
45011
|
}
|
45012
|
-
let h = !f && (!e || d && t == null && !n.inFlow ||
|
45012
|
+
let h = !f && (!e || d && t == null && !n.inFlow || Gn(e) || (Xt(e) ? e.type === Ft.BLOCK_FOLDED || e.type === Ft.BLOCK_LITERAL : typeof e == "object"));
|
45013
45013
|
n = Object.assign({}, n, {
|
45014
45014
|
allNullValues: !1,
|
45015
45015
|
implicitKey: !h && (f || !a),
|
@@ -45029,7 +45029,7 @@ function WTe({ key: e, value: t }, n, r, i) {
|
|
45029
45029
|
m && (d = null), h ? (d && (y += Qa(y, n.indent, c(d))), y = `? ${y}
|
45030
45030
|
${l}:`) : (y = `${y}:`, d && (y += Qa(y, n.indent, c(d))));
|
45031
45031
|
let b, _, x;
|
45032
|
-
|
45032
|
+
Wn(t) ? (b = !!t.spaceBefore, _ = t.commentBefore, x = t.comment) : (b = !1, _ = null, x = null, t && typeof t == "object" && (t = o.createNode(t))), n.implicitKey = !1, !h && !d && Xt(t) && (n.indentAtStart = y.length + 1), p = !1, !u && s.length >= 2 && !n.inFlow && !h && w1(t) && !t.flow && !t.tag && !t.anchor && (n.indent = n.indent.substring(2));
|
45033
45033
|
let S = !1;
|
45034
45034
|
const w = vh(t, n, () => S = !0, () => p = !0);
|
45035
45035
|
let O = " ";
|
@@ -45045,7 +45045,7 @@ ${Ac(T, n.indent)}`;
|
|
45045
45045
|
|
45046
45046
|
`) : O += `
|
45047
45047
|
${n.indent}`;
|
45048
|
-
} else if (!h &&
|
45048
|
+
} else if (!h && Gn(t)) {
|
45049
45049
|
const T = w[0], A = w.indexOf(`
|
45050
45050
|
`), j = A !== -1, I = n.inFlow ?? t.flow ?? t.items.length === 0;
|
45051
45051
|
if (j || !I) {
|
@@ -45114,7 +45114,7 @@ function UTe(e, t, n) {
|
|
45114
45114
|
return "";
|
45115
45115
|
if (typeof t != "object")
|
45116
45116
|
return String(t);
|
45117
|
-
if (
|
45117
|
+
if (Wn(e) && (n != null && n.doc)) {
|
45118
45118
|
const r = NTe(n.doc, {});
|
45119
45119
|
r.anchors = /* @__PURE__ */ new Set();
|
45120
45120
|
for (const a of n.anchors.keys())
|
@@ -45139,7 +45139,7 @@ class Vi {
|
|
45139
45139
|
}
|
45140
45140
|
clone(t) {
|
45141
45141
|
let { key: n, value: r } = this;
|
45142
|
-
return
|
45142
|
+
return Wn(n) && (n = n.clone(t)), Wn(r) && (r = r.clone(t)), new Vi(n, r);
|
45143
45143
|
}
|
45144
45144
|
toJSON(t, n) {
|
45145
45145
|
const r = n != null && n.mapAsMap ? /* @__PURE__ */ new Map() : {};
|
@@ -45159,10 +45159,10 @@ function HTe({ comment: e, items: t }, n, { blockItemPrefix: r, flowChars: i, it
|
|
45159
45159
|
for (let m = 0; m < t.length; ++m) {
|
45160
45160
|
const p = t[m];
|
45161
45161
|
let y = null;
|
45162
|
-
if (
|
45162
|
+
if (Wn(p))
|
45163
45163
|
!f && p.spaceBefore && d.push(""), yh(n, d, p.commentBefore, f), p.comment && (y = p.comment);
|
45164
45164
|
else if (ln(p)) {
|
45165
|
-
const _ =
|
45165
|
+
const _ = Wn(p.key) ? p.key : null;
|
45166
45166
|
_ && (!f && _.spaceBefore && d.push(""), yh(n, d, _.commentBefore, f));
|
45167
45167
|
}
|
45168
45168
|
f = !1;
|
@@ -45197,12 +45197,12 @@ function GTe({ comment: e, items: t }, n, { flowChars: r, itemIndent: i, onComme
|
|
45197
45197
|
for (let b = 0; b < t.length; ++b) {
|
45198
45198
|
const _ = t[b];
|
45199
45199
|
let x = null;
|
45200
|
-
if (
|
45200
|
+
if (Wn(_))
|
45201
45201
|
_.spaceBefore && h.push(""), yh(n, h, _.commentBefore, !1), _.comment && (x = _.comment);
|
45202
45202
|
else if (ln(_)) {
|
45203
|
-
const w =
|
45203
|
+
const w = Wn(_.key) ? _.key : null;
|
45204
45204
|
w && (w.spaceBefore && h.push(""), yh(n, h, w.commentBefore, !1), w.comment && (f = !0));
|
45205
|
-
const O =
|
45205
|
+
const O = Wn(_.value) ? _.value : null;
|
45206
45206
|
O ? (O.comment && (x = O.comment), O.commentBefore && (f = !0)) : _.value == null && (w != null && w.comment) && (x = w.comment);
|
45207
45207
|
}
|
45208
45208
|
x && (f = !0);
|
@@ -45539,7 +45539,7 @@ const KTe = (e) => {
|
|
45539
45539
|
function XTe(e) {
|
45540
45540
|
const { errorAdapter: t = KTe } = e, n = s3({
|
45541
45541
|
defaultValues: e.defaultValue ?? {}
|
45542
|
-
}), [r] = Dt(), { handleSubmit: i, setError: a } = n, [o, l] = pe(null), s =
|
45542
|
+
}), [r] = Dt(), { handleSubmit: i, setError: a } = n, [o, l] = pe(null), s = Fn("md"), [c] = Pn(Lc), u = e.isVertical ? !1 : c.formLayout === "horizontal", f = (m) => {
|
45543
45543
|
const { genericErrors: p, fieldErrors: y } = t(m);
|
45544
45544
|
p.length > 0 ? l(p.map((b) => b.message)) : l(null), y.length > 0 && y.forEach((b) => {
|
45545
45545
|
a(b.name, {
|
@@ -45583,7 +45583,7 @@ function XTe(e) {
|
|
45583
45583
|
children: [
|
45584
45584
|
o && /* @__PURE__ */ v.jsx(STe, { error: o, isMd: s, onCancel: e.onCancel }),
|
45585
45585
|
/* @__PURE__ */ v.jsx(Ga, { children: /* @__PURE__ */ v.jsx(
|
45586
|
-
|
45586
|
+
Xn,
|
45587
45587
|
{
|
45588
45588
|
variant: "light",
|
45589
45589
|
isFilled: !0,
|
@@ -45592,7 +45592,7 @@ function XTe(e) {
|
|
45592
45592
|
children: d
|
45593
45593
|
}
|
45594
45594
|
) }),
|
45595
|
-
e.footer ? e.footer : /* @__PURE__ */ v.jsx(
|
45595
|
+
e.footer ? e.footer : /* @__PURE__ */ v.jsx(Xn, { variant: "light", isFilled: !1, children: /* @__PURE__ */ v.jsxs(lj, { children: [
|
45596
45596
|
/* @__PURE__ */ v.jsx(_$, { children: e.submitText }),
|
45597
45597
|
e.additionalActionText ? /* @__PURE__ */ v.jsx(Re, { "aria-label": e.additionalActionText, type: "submit", variant: "secondary", children: e.additionalActionText }) : null,
|
45598
45598
|
e.onCancel && /* @__PURE__ */ v.jsx(JTe, { onCancel: e.onCancel, children: e.cancelText ?? r.cancelText })
|
@@ -45635,13 +45635,13 @@ function E1() {
|
|
45635
45635
|
return Pn(x$);
|
45636
45636
|
}
|
45637
45637
|
function QTe(e) {
|
45638
|
-
const t =
|
45638
|
+
const t = Fn("xl"), [n, r] = pe(() => t), i = me((a) => {
|
45639
45639
|
a.isOpen !== void 0 && r(a.isOpen);
|
45640
45640
|
}, []);
|
45641
45641
|
return Oe(() => i({ isOpen: t }), [t, i]), /* @__PURE__ */ v.jsx(x$.Provider, { value: { isOpen: n, setState: i }, children: e.children });
|
45642
45642
|
}
|
45643
45643
|
function eAe() {
|
45644
|
-
const e = Pl(), t =
|
45644
|
+
const e = Pl(), t = Fn("xl"), n = E1();
|
45645
45645
|
return me(
|
45646
45646
|
(i) => {
|
45647
45647
|
e(i), t || n.setState({ isOpen: !n.isOpen });
|
@@ -45674,12 +45674,12 @@ function nAe(e) {
|
|
45674
45674
|
) : n.label
|
45675
45675
|
},
|
45676
45676
|
n.id ?? n.label ?? r
|
45677
|
-
) : /* @__PURE__ */ v.jsx(
|
45677
|
+
) : /* @__PURE__ */ v.jsx(Kn, {}, r)) }) : /* @__PURE__ */ v.jsx(Kn, {});
|
45678
45678
|
}
|
45679
45679
|
function rAe(e) {
|
45680
|
-
const { breadcrumbs: t, title: n, description: r, controls: i, headerActions: a, footer: o } = e, l =
|
45680
|
+
const { breadcrumbs: t, title: n, description: r, controls: i, headerActions: a, footer: o } = e, l = Fn("lg"), s = Fn("xl"), c = Fn("md"), [u] = Dt();
|
45681
45681
|
return /* @__PURE__ */ v.jsx(
|
45682
|
-
|
45682
|
+
Xn,
|
45683
45683
|
{
|
45684
45684
|
variant: cj.light,
|
45685
45685
|
className: "bg-lighten border-bottom",
|
@@ -45726,7 +45726,7 @@ function rAe(e) {
|
|
45726
45726
|
)
|
45727
45727
|
] })
|
45728
45728
|
}
|
45729
|
-
) : /* @__PURE__ */ v.jsx(ro, { "data-cy": "page-title", headingLevel: "h1", children: n }) : /* @__PURE__ */ v.jsx(ro, { headingLevel: "h1", children: /* @__PURE__ */ v.jsx(
|
45729
|
+
) : /* @__PURE__ */ v.jsx(ro, { "data-cy": "page-title", headingLevel: "h1", children: n }) : /* @__PURE__ */ v.jsx(ro, { headingLevel: "h1", children: /* @__PURE__ */ v.jsx(Zn, { width: "160px" }) }),
|
45730
45730
|
c && r && /* @__PURE__ */ v.jsx(
|
45731
45731
|
Fi,
|
45732
45732
|
{
|
@@ -45773,30 +45773,40 @@ function iAe(e) {
|
|
45773
45773
|
) });
|
45774
45774
|
}
|
45775
45775
|
function pEe(e) {
|
45776
|
-
const t =
|
45776
|
+
const t = Fn("sm"), n = Fn("md");
|
45777
45777
|
return /* @__PURE__ */ v.jsxs(
|
45778
45778
|
dj,
|
45779
45779
|
{
|
45780
45780
|
display: { default: "inline" },
|
45781
45781
|
style: {
|
45782
|
-
borderBottom: "1px solid #fff4"
|
45782
|
+
borderBottom: "1px solid #fff4",
|
45783
|
+
paddingRight: 0
|
45783
45784
|
},
|
45784
45785
|
children: [
|
45785
45786
|
/* @__PURE__ */ v.jsx(aAe, {}),
|
45786
|
-
/* @__PURE__ */ v.jsx(hj, { children: /* @__PURE__ */ v.jsx(mj, { component: "a", children: e.icon }) }),
|
45787
|
-
/* @__PURE__ */ v.jsx(pj, { style: { marginLeft: 0
|
45788
|
-
|
45789
|
-
|
45790
|
-
|
45791
|
-
|
45792
|
-
|
45793
|
-
|
45794
|
-
|
45795
|
-
|
45796
|
-
|
45797
|
-
|
45798
|
-
|
45799
|
-
|
45787
|
+
t && /* @__PURE__ */ v.jsx(hj, { children: /* @__PURE__ */ v.jsx(mj, { component: "a", children: e.icon }) }),
|
45788
|
+
/* @__PURE__ */ v.jsx(pj, { style: { marginLeft: 0, minHeight: 0 }, children: /* @__PURE__ */ v.jsx(
|
45789
|
+
ag,
|
45790
|
+
{
|
45791
|
+
id: "toolbar",
|
45792
|
+
"data-cy": "toolbar",
|
45793
|
+
inset: { default: "insetNone" },
|
45794
|
+
style: { padding: 0 },
|
45795
|
+
children: /* @__PURE__ */ v.jsxs(YC, { children: [
|
45796
|
+
n && /* @__PURE__ */ v.jsx(qn, { children: /* @__PURE__ */ v.jsxs(
|
45797
|
+
_r,
|
45798
|
+
{
|
45799
|
+
style: { color: "white", cursor: "default", marginTop: -2, marginBottom: -2 },
|
45800
|
+
children: [
|
45801
|
+
e.brand && /* @__PURE__ */ v.jsx(Fi, { style: { marginTop: -6 }, children: /* @__PURE__ */ v.jsx(ll, { content: e.brand, style: { minWidth: 0 } }) }),
|
45802
|
+
/* @__PURE__ */ v.jsx(ro, { headingLevel: "h1", style: { lineHeight: 1 }, children: /* @__PURE__ */ v.jsx(ll, { content: e.title, style: { minWidth: 0 } }) })
|
45803
|
+
]
|
45804
|
+
}
|
45805
|
+
) }),
|
45806
|
+
e.children
|
45807
|
+
] })
|
45808
|
+
}
|
45809
|
+
) })
|
45800
45810
|
]
|
45801
45811
|
}
|
45802
45812
|
);
|
@@ -45999,7 +46009,7 @@ function vAe(e) {
|
|
45999
46009
|
return /* @__PURE__ */ v.jsx(
|
46000
46010
|
Oj,
|
46001
46011
|
{
|
46002
|
-
title: u || /* @__PURE__ */ v.jsx(
|
46012
|
+
title: u || /* @__PURE__ */ v.jsx(Zn, { width: "60px" }),
|
46003
46013
|
eventKey: c
|
46004
46014
|
},
|
46005
46015
|
u ?? c
|
@@ -46007,7 +46017,7 @@ function vAe(e) {
|
|
46007
46017
|
}
|
46008
46018
|
return s;
|
46009
46019
|
}), l = a[n];
|
46010
|
-
return t ? /* @__PURE__ */ v.jsx(vAe, { children: /* @__PURE__ */ v.jsx(CC, { children: /* @__PURE__ */ v.jsx(
|
46020
|
+
return t ? /* @__PURE__ */ v.jsx(vAe, { children: /* @__PURE__ */ v.jsx(CC, { children: /* @__PURE__ */ v.jsx(Xn, { variant: "light", children: /* @__PURE__ */ v.jsx(Zn, {}) }) }) }) : /* @__PURE__ */ v.jsxs(v.Fragment, { children: [
|
46011
46021
|
/* @__PURE__ */ v.jsx(
|
46012
46022
|
Tj,
|
46013
46023
|
{
|
@@ -46123,7 +46133,7 @@ function bAe(e) {
|
|
46123
46133
|
"data-cy": `wizard-section-${a.id}`,
|
46124
46134
|
style: { display: "flex", flexDirection: "column", height: "100%" },
|
46125
46135
|
children: [
|
46126
|
-
/* @__PURE__ */ v.jsx(
|
46136
|
+
/* @__PURE__ */ v.jsx(Xn, { variant: "light", isFilled: !0, hasOverflowScroll: !0, children: a == null ? void 0 : a.element }),
|
46127
46137
|
/* @__PURE__ */ v.jsx(OC, { onNext: () => void h({}), onBack: m, onCancel: d })
|
46128
46138
|
]
|
46129
46139
|
}
|
@@ -46235,18 +46245,18 @@ function bEe(e) {
|
|
46235
46245
|
) });
|
46236
46246
|
}
|
46237
46247
|
function SAe() {
|
46238
|
-
return /* @__PURE__ */ v.jsx(
|
46248
|
+
return /* @__PURE__ */ v.jsx(Xn, { isFilled: !0, variant: "light", children: /* @__PURE__ */ v.jsx(HC, { children: /* @__PURE__ */ v.jsx(Ev, {}) }) });
|
46239
46249
|
}
|
46240
46250
|
function _Ee(e) {
|
46241
|
-
return /* @__PURE__ */ v.jsxs(
|
46251
|
+
return /* @__PURE__ */ v.jsxs(Kn, { children: [
|
46242
46252
|
/* @__PURE__ */ v.jsx(
|
46243
46253
|
rAe,
|
46244
46254
|
{
|
46245
|
-
breadcrumbs: e.breadcrumbs ? [{ label: /* @__PURE__ */ v.jsx(
|
46246
|
-
title: /* @__PURE__ */ v.jsx(
|
46255
|
+
breadcrumbs: e.breadcrumbs ? [{ label: /* @__PURE__ */ v.jsx(Zn, { width: "150px" }) }] : void 0,
|
46256
|
+
title: /* @__PURE__ */ v.jsx(Zn, { width: "200px" })
|
46247
46257
|
}
|
46248
46258
|
),
|
46249
|
-
e.tabs && /* @__PURE__ */ v.jsx(
|
46259
|
+
e.tabs && /* @__PURE__ */ v.jsx(Xn, { variant: "light", style: { paddingTop: 8, paddingBottom: 8 }, children: /* @__PURE__ */ v.jsx(Zn, { width: "150px" }) }),
|
46250
46260
|
/* @__PURE__ */ v.jsx(Ys, {}),
|
46251
46261
|
/* @__PURE__ */ v.jsx(SAe, {})
|
46252
46262
|
] });
|
@@ -46626,7 +46636,7 @@ export {
|
|
46626
46636
|
rL as pfWarning,
|
46627
46637
|
vEe as removeLeadingSlash,
|
46628
46638
|
dAe as removeNavigationItemById,
|
46629
|
-
|
46639
|
+
Fn as useBreakpoint,
|
46630
46640
|
J2e as useBulkActionDialog,
|
46631
46641
|
oEe as useBulkConfirmation,
|
46632
46642
|
iEe as useColumnsWithoutExpandedRow,
|