@ansible/ansible-ui-framework 2.4.2736 → 2.4.2738
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{ChatbotPortal-DyttZBM9.js → ChatbotPortal-CO8sibSm.js} +1 -1
- package/{ChatbotSideBarHeader-CV3_EVqw.js → ChatbotSideBarHeader-kVNw2YVW.js} +1 -1
- package/{index-xXhndXHh.js → index-D7uOYPHC.js} +313 -218
- package/index.js +1 -1
- package/index.umd.cjs +187 -187
- package/package.json +1 -1
- package/publish/{index-xXhndXHh.d.ts → index-D7uOYPHC.d.ts} +2 -2
- package/publish/index.d.ts +154 -154
- /package/publish/{ChatbotPortal-DyttZBM9.d.ts → ChatbotPortal-CO8sibSm.d.ts} +0 -0
- /package/publish/{ChatbotSideBarHeader-CV3_EVqw.d.ts → ChatbotSideBarHeader-kVNw2YVW.d.ts} +0 -0
|
@@ -15,7 +15,7 @@ var eh = (e, t, n, r) => ({
|
|
|
15
15
|
});
|
|
16
16
|
import * as vy from "react";
|
|
17
17
|
import k, { createContext as tn, useContext as mt, useCallback as Z, useState as K, useRef as Le, useEffect as ge, useMemo as ue, useDebugValue as $1, createElement as Uv, Fragment as Ct, useId as Wk, lazy as Bk, Suspense as Vk, Component as jM, useLayoutEffect as Ld, Children as Ro, isValidElement as Rl, cloneElement as Ie, forwardRef as os, useReducer as DM, useImperativeHandle as PM } from "react";
|
|
18
|
-
import { MenuToggle as Ha, MenuToggleCheckbox as MM, DropdownItem as Xi, Dropdown as Rd, DropdownList as Fd, Popover as Hv, Icon as ui, Stack as Sr, StackItem as Ao, Button as we, Bullseye as Fl, Spinner as Nd, PageSection as ra, Skeleton as qr, Divider as Ji, Tooltip as Gr, Switch as Uk, ButtonVariant as pr, Split as Ga, Flex as Gt, FlexItem as Je, AlertGroup as Hk, Alert as si, AlertActionCloseButton as IM, DrawerPanelContent as LM, DrawerHead as RM, DrawerActions as FM, DrawerCloseButton as NM, DrawerPanelBody as $M, Drawer as qM, DrawerContent as zM, DrawerContentBody as WM, EmptyState as Ya, EmptyStateBody as di, EmptyStateFooter as ss, EmptyStateActions as Nl, PageSidebar as BM, PageSidebarBody as VM, Nav as UM, NavList as HM, NavItem as GM, Label as fi, NavExpandable as YM, NotificationDrawerListItem as KM, NotificationDrawerListItemHeader as ZM, NotificationDrawerListItemBody as XM, NotificationDrawerGroup as JM, NotificationDrawerList as QM, EmptyStateVariant as Gk, NotificationDrawer as eI, NotificationDrawerHeader as tI, NotificationDrawerBody as nI, NotificationDrawerGroupList as rI, Page as iI, ClipboardCopy as aI, SplitItem as
|
|
18
|
+
import { MenuToggle as Ha, MenuToggleCheckbox as MM, DropdownItem as Xi, Dropdown as Rd, DropdownList as Fd, Popover as Hv, Icon as ui, Stack as Sr, StackItem as Ao, Button as we, Bullseye as Fl, Spinner as Nd, PageSection as ra, Skeleton as qr, Divider as Ji, Tooltip as Gr, Switch as Uk, ButtonVariant as pr, Split as Ga, Flex as Gt, FlexItem as Je, AlertGroup as Hk, Alert as si, AlertActionCloseButton as IM, DrawerPanelContent as LM, DrawerHead as RM, DrawerActions as FM, DrawerCloseButton as NM, DrawerPanelBody as $M, Drawer as qM, DrawerContent as zM, DrawerContentBody as WM, EmptyState as Ya, EmptyStateBody as di, EmptyStateFooter as ss, EmptyStateActions as Nl, PageSidebar as BM, PageSidebarBody as VM, Nav as UM, NavList as HM, NavItem as GM, Label as fi, NavExpandable as YM, NotificationDrawerListItem as KM, NotificationDrawerListItemHeader as ZM, NotificationDrawerListItemBody as XM, NotificationDrawerGroup as JM, NotificationDrawerList as QM, EmptyStateVariant as Gk, NotificationDrawer as eI, NotificationDrawerHeader as tI, NotificationDrawerBody as nI, NotificationDrawerGroupList as rI, Page as iI, ClipboardCopy as aI, SplitItem as Fn, LabelGroup as $l, Card as Yk, CardHeader as Kk, Content as Ea, Title as pl, CardBody as Gv, CardFooter as Zk, ProgressStepper as oI, ProgressStep as sI, DescriptionListTerm as xy, DescriptionListGroup as xo, DescriptionListDescription as bo, DescriptionList as Ou, Select as Yv, MenuSearch as Xk, MenuSearchInput as Jk, SearchInput as Qk, SelectOption as ql, SelectGroup as eT, MenuFooter as Kv, SelectList as Zv, Badge as lI, debounce as cI, ActionList as Xv, ActionListItem as ja, ToolbarItem as nr, DatePicker as q1, isValidDate as z1, InputGroup as $d, InputGroupItem as gl, TextInputGroup as tT, TextInputGroupMain as nT, TextInputGroupUtilities as rT, ToolbarToggleGroup as uI, ToolbarFilter as dI, ToolbarGroup as Eo, ToggleGroup as iT, ToggleGroupItem as ol, Toolbar as by, ToolbarContent as _y, Modal as zl, ModalVariant as Wl, ModalHeader as Bl, ModalBody as Fo, ModalFooter as ls, Pagination as fI, PaginationVariant as hI, CardTitle as pI, Truncate as gI, DataList as mI, DataListItem as yI, DataListItemRow as vI, DataListCheck as xI, DataListItemCells as bI, DataListCell as W1, DataListAction as _I, ProgressVariant as B1, Progress as SI, ProgressSize as wI, Checkbox as aT, Form as oT, Grid as CI, ActionGroup as OI, FormGroup as kI, FormHelperText as TI, HelperText as AI, HelperTextItem as EI, TextArea as jI, TextInput as DI, Breadcrumb as PI, BreadcrumbItem as MI, Masthead as II, MastheadMain as LI, MastheadBrand as RI, MastheadLogo as FI, MastheadContent as NI, MastheadToggle as $I, PageToggleButton as qI, NotificationBadge as zI, Tab as WI, Tabs as V1, ActionListGroup as BI } from "@patternfly/react-core";
|
|
19
19
|
import { OutlinedQuestionCircleIcon as sT, ExternalLinkAltIcon as Jv, SyncAltIcon as Qv, EllipsisVIcon as ex, CaretDownIcon as lT, CircleIcon as VI, ExclamationCircleIcon as Vl, AngleRightIcon as UI, TimesIcon as Ul, TimesCircleIcon as HI, ArrowRightIcon as GI, FilterIcon as cT, SearchIcon as cs, SortAmountDownIcon as YI, SortAmountUpIcon as KI, SortNumericDownAltIcon as ZI, SortNumericUpIcon as XI, SortAlphaDownAltIcon as JI, SortAlphaUpIcon as QI, ColumnsIcon as eL, TableIcon as U1, ListIcon as H1, ThLargeIcon as G1, PlusCircleIcon as uT, CubesIcon as tL, PendingIcon as nL, CheckCircleIcon as rL, ExclamationTriangleIcon as iL, WrenchIcon as aL, AngleDownIcon as oL, CopyIcon as sL, UploadIcon as lL, DownloadIcon as cL, EyeIcon as dT, EyeSlashIcon as fT, MoonIcon as uL, SunIcon as dL } from "@patternfly/react-icons";
|
|
20
20
|
import { TableContext as hT, Table as tx, Thead as pT, Tr as No, Th as ba, Td as Sn, Tbody as nx, CollapseColumn as fL } from "@patternfly/react-table";
|
|
21
21
|
import { Link as Yr, useNavigate as ia, useMatch as hL, Outlet as pL, Routes as gL, Route as mL } from "react-router";
|
|
@@ -466,7 +466,7 @@ function xL() {
|
|
|
466
466
|
value: He
|
|
467
467
|
}), Object.freeze && (Object.freeze(Fe.props), Object.freeze(Fe)), Fe;
|
|
468
468
|
};
|
|
469
|
-
function
|
|
469
|
+
function Dn(I, se, me, Ae, He) {
|
|
470
470
|
{
|
|
471
471
|
var nt, $e = {}, Fe = null, rn = null;
|
|
472
472
|
me !== void 0 && (Ce(me), Fe = "" + me), Tt(se) && (Ce(se.key), Fe = "" + se.key), Mt(se) && (rn = se.ref, St(se, He));
|
|
@@ -606,7 +606,7 @@ Check the top-level render call using <` + me + ">.");
|
|
|
606
606
|
var wt;
|
|
607
607
|
I === null ? wt = "null" : oe(I) ? wt = "array" : I !== void 0 && I.$$typeof === t ? (wt = "<" + (A(I.type) || "Unknown") + " />", Fe = " Did you accidentally export a JSX literal instead of a component?") : wt = typeof I, v("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", wt, Fe);
|
|
608
608
|
}
|
|
609
|
-
var At =
|
|
609
|
+
var At = Dn(I, se, me, He, nt);
|
|
610
610
|
if (At == null)
|
|
611
611
|
return At;
|
|
612
612
|
if ($e) {
|
|
@@ -856,7 +856,7 @@ function FL() {
|
|
|
856
856
|
return window.addEventListener("resize", r), () => window.removeEventListener("resize", r);
|
|
857
857
|
}, [n]), ge(() => n(), [n]), e;
|
|
858
858
|
}
|
|
859
|
-
function
|
|
859
|
+
function $n(e) {
|
|
860
860
|
const t = FL();
|
|
861
861
|
switch (e) {
|
|
862
862
|
case "xs":
|
|
@@ -920,7 +920,7 @@ function Hce() {
|
|
|
920
920
|
}, [n]), ge(() => n(), [n]), e;
|
|
921
921
|
}
|
|
922
922
|
function NL(e) {
|
|
923
|
-
const { t } = Pe(), [n, r] = K(!1), i =
|
|
923
|
+
const { t } = Pe(), [n, r] = K(!1), i = $n("sm"), [a] = kt(), { pageItems: o, selectedItems: s, selectItems: l, unselectAll: c, maxSelections: u } = e, d = e.itemCount !== void 0 && e.itemCount > 0 && o && o.length > 0 && (o ?? []).every((_) => s == null ? void 0 : s.includes(_)), f = Z(() => {
|
|
924
924
|
d ? c == null || c() : l == null || l(o ?? []);
|
|
925
925
|
}, [d, c, l, o]), h = ue(() => i ? s && s.length > 0 ? t("{{count}} selected", { count: s.length }) : "" : s && s.length > 0 ? `${s.length}` : "", [i, s, t]), g = ue(
|
|
926
926
|
() => o == null ? void 0 : o.filter((_) => !(s != null && s.includes(_))),
|
|
@@ -940,6 +940,7 @@ function NL(e) {
|
|
|
940
940
|
{
|
|
941
941
|
id: "select-all",
|
|
942
942
|
"data-cy": "select-all",
|
|
943
|
+
"data-testid": "select-all",
|
|
943
944
|
ouiaId: "select-all",
|
|
944
945
|
"aria-label": t("Select all"),
|
|
945
946
|
isChecked: d ? !0 : S > 0 ? null : !1,
|
|
@@ -2460,9 +2461,9 @@ const r4 = ke.div`
|
|
|
2460
2461
|
var et = /* @__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))(et || {}), Ue = /* @__PURE__ */ ((e) => (e[e.None = 0] = "None", e[e.Single = 1] = "Single", e[e.Multiple = 2] = "Multiple", e))(Ue || {});
|
|
2461
2462
|
function Oi(e) {
|
|
2462
2463
|
const t = Wk();
|
|
2463
|
-
return
|
|
2464
|
+
return Tn(e) || t;
|
|
2464
2465
|
}
|
|
2465
|
-
function
|
|
2466
|
+
function Tn(e) {
|
|
2466
2467
|
if (typeof e == "string")
|
|
2467
2468
|
return e.toLowerCase().replace(/ /g, "-").replace(/_/g, "-").replace(/\./g, "-");
|
|
2468
2469
|
if (e.id)
|
|
@@ -2525,6 +2526,7 @@ function XT(e) {
|
|
|
2525
2526
|
"div",
|
|
2526
2527
|
{
|
|
2527
2528
|
"data-cy": "toggle-switch",
|
|
2529
|
+
"data-testid": "toggle-switch",
|
|
2528
2530
|
style: { marginLeft: i ? 16 : void 0, marginRight: i ? 16 : void 0 },
|
|
2529
2531
|
children: /* @__PURE__ */ p.jsx(Gr, { content: c, trigger: c ? void 0 : "manual", children: /* @__PURE__ */ p.jsx(
|
|
2530
2532
|
Uk,
|
|
@@ -2595,7 +2597,7 @@ function lx(e) {
|
|
|
2595
2597
|
ge(() => {
|
|
2596
2598
|
a == null || a(i ?? "default", h);
|
|
2597
2599
|
}, [h, i, a, e]);
|
|
2598
|
-
const v =
|
|
2600
|
+
const v = Tn(e.label ?? "actions-dropdown");
|
|
2599
2601
|
if (d.length === 0) return /* @__PURE__ */ p.jsx(p.Fragment, {});
|
|
2600
2602
|
const b = !e.iconOnly && (u === pr.primary || m && !!(l != null && l.length)), _ = u === pr.primary && !m && !!(l != null && l.length), S = !i && !t, w = t, O = r || c || (n ? i : void 0), j = n ? void 0 : i, D = /* @__PURE__ */ p.jsxs(
|
|
2601
2603
|
we,
|
|
@@ -2671,9 +2673,9 @@ function f4(e) {
|
|
|
2671
2673
|
return /* @__PURE__ */ p.jsx(Gr, { content: n, trigger: n ? void 0 : "manual", children: /* @__PURE__ */ p.jsx(u4, { $hasSwitches: a, $isDanger: !!t.isDanger, children: /* @__PURE__ */ p.jsx(
|
|
2672
2674
|
Xi,
|
|
2673
2675
|
{
|
|
2674
|
-
id:
|
|
2675
|
-
"data-cy": (c =
|
|
2676
|
-
"data-testid": (u =
|
|
2676
|
+
id: Tn(t),
|
|
2677
|
+
"data-cy": (c = Tn(t)) == null ? void 0 : c.split(".").join("-"),
|
|
2678
|
+
"data-testid": (u = Tn(t)) == null ? void 0 : u.split(".").join("-"),
|
|
2677
2679
|
isAriaDisabled: i,
|
|
2678
2680
|
onClick: () => {
|
|
2679
2681
|
switch (t.selection) {
|
|
@@ -2715,8 +2717,8 @@ function h4(e) {
|
|
|
2715
2717
|
{
|
|
2716
2718
|
isAriaDisabled: !!a,
|
|
2717
2719
|
component: (l) => /* @__PURE__ */ p.jsx(Yr, { ...l, to: r }),
|
|
2718
|
-
"data-cy": (o =
|
|
2719
|
-
"data-testid": (s =
|
|
2720
|
+
"data-cy": (o = Tn(t)) == null ? void 0 : o.split(".").join("-"),
|
|
2721
|
+
"data-testid": (s = Tn(t)) == null ? void 0 : s.split(".").join("-"),
|
|
2720
2722
|
style: {
|
|
2721
2723
|
color: t.isDanger && !a ? Yd(Gd.Danger) : void 0
|
|
2722
2724
|
},
|
|
@@ -2846,6 +2848,7 @@ function y5(e) {
|
|
|
2846
2848
|
{
|
|
2847
2849
|
id: _,
|
|
2848
2850
|
"data-cy": _,
|
|
2851
|
+
"data-testid": _,
|
|
2849
2852
|
variant: x,
|
|
2850
2853
|
isDanger: t.isDanger,
|
|
2851
2854
|
icon: u ? /* @__PURE__ */ p.jsx(u, {}) : void 0,
|
|
@@ -2948,7 +2951,7 @@ function v4(e) {
|
|
|
2948
2951
|
}
|
|
2949
2952
|
}
|
|
2950
2953
|
function ki(e) {
|
|
2951
|
-
const { actions: t, selectedItem: n, iconOnly: r, onOpen: i } = e, a =
|
|
2954
|
+
const { actions: t, selectedItem: n, iconOnly: r, onOpen: i } = e, a = $n(
|
|
2952
2955
|
e.collapse !== "never" && e.collapse !== "always" ? e.collapse ?? "lg" : "lg"
|
|
2953
2956
|
), o = e.collapse !== "never" && (e.collapse === "always" || !a), s = ue(
|
|
2954
2957
|
() => t.filter((h) => !ZT(h, n)),
|
|
@@ -3064,7 +3067,7 @@ const b4 = tn({
|
|
|
3064
3067
|
chatbotState: "disabled",
|
|
3065
3068
|
setChatbotState: () => {
|
|
3066
3069
|
}
|
|
3067
|
-
}), _4 = () => mt(b4), S4 = Bk(() => import("./ChatbotPortal-
|
|
3070
|
+
}), _4 = () => mt(b4), S4 = Bk(() => import("./ChatbotPortal-CO8sibSm.js")), w4 = () => /* @__PURE__ */ p.jsx(Vk, { fallback: /* @__PURE__ */ p.jsx("div", { children: "Loading..." }), children: /* @__PURE__ */ p.jsx(S4, {}) }), C4 = Bk(() => import("./ChatbotSideBarHeader-kVNw2YVW.js")), O4 = () => {
|
|
3068
3071
|
const { t: e } = Pe();
|
|
3069
3072
|
return /* @__PURE__ */ p.jsx(Vk, { fallback: /* @__PURE__ */ p.jsx("span", { children: e("Loading...") }), children: /* @__PURE__ */ p.jsx(C4, {}) });
|
|
3070
3073
|
}, k4 = ke(WM)`
|
|
@@ -3110,13 +3113,13 @@ function ux() {
|
|
|
3110
3113
|
return mt(QT);
|
|
3111
3114
|
}
|
|
3112
3115
|
function E4(e) {
|
|
3113
|
-
const t =
|
|
3116
|
+
const t = $n("xl"), [n, r] = K(() => t), i = Z((a) => {
|
|
3114
3117
|
a.isOpen !== void 0 && r(a.isOpen);
|
|
3115
3118
|
}, []);
|
|
3116
3119
|
return ge(() => i({ isOpen: t }), [t, i]), /* @__PURE__ */ p.jsx(QT.Provider, { value: { isOpen: n, setState: i }, children: e.children });
|
|
3117
3120
|
}
|
|
3118
3121
|
function j4() {
|
|
3119
|
-
const e = ia(), t =
|
|
3122
|
+
const e = ia(), t = $n("xl"), n = ux();
|
|
3120
3123
|
return Z(
|
|
3121
3124
|
(i) => {
|
|
3122
3125
|
e(i), t || n.setState({ isOpen: !n.isOpen });
|
|
@@ -3128,7 +3131,7 @@ function D4(e) {
|
|
|
3128
3131
|
const { navigation: t } = e, n = ux();
|
|
3129
3132
|
return /* @__PURE__ */ p.jsx(BM, { isSidebarOpen: n.isOpen, children: /* @__PURE__ */ p.jsxs(VM, { children: [
|
|
3130
3133
|
e.contextSwitcher,
|
|
3131
|
-
/* @__PURE__ */ p.jsx(UM, { "data-cy": "page-navigation", className: "side-nav", children: /* @__PURE__ */ p.jsx(HM, { children: /* @__PURE__ */ p.jsx(du, { baseRoute: e.basename ?? "", items: t }) }) })
|
|
3134
|
+
/* @__PURE__ */ p.jsx(UM, { "data-cy": "page-navigation", "data-testid": "page-navigation", className: "side-nav", children: /* @__PURE__ */ p.jsx(HM, { children: /* @__PURE__ */ p.jsx(du, { baseRoute: e.basename ?? "", items: t }) }) })
|
|
3132
3135
|
] }) });
|
|
3133
3136
|
}
|
|
3134
3137
|
function du(e) {
|
|
@@ -3172,6 +3175,7 @@ function P4(e) {
|
|
|
3172
3175
|
onClick: () => t.href ? window.open(t.href, "_blank") : o(s),
|
|
3173
3176
|
target: t.href ? "_blank" : "",
|
|
3174
3177
|
"data-cy": a,
|
|
3178
|
+
"data-testid": a,
|
|
3175
3179
|
style: { display: "flex", alignItems: "stretch", flexDirection: "column" },
|
|
3176
3180
|
children: [
|
|
3177
3181
|
/* @__PURE__ */ p.jsxs(Gt, { flexWrap: { default: "nowrap" }, children: [
|
|
@@ -3533,7 +3537,7 @@ function U4() {
|
|
|
3533
3537
|
t(() => !1), (c = n.current) == null || c.focus();
|
|
3534
3538
|
}
|
|
3535
3539
|
const { notificationGroups: i } = Vo(), { markAllNotificationsUnread: a, markAllNotificationsRead: o } = Zd(), [s, l] = K(!1);
|
|
3536
|
-
return /* @__PURE__ */ p.jsxs(eI, { "data-cy": "notifications-drawer", children: [
|
|
3540
|
+
return /* @__PURE__ */ p.jsxs(eI, { "data-cy": "notifications-drawer", "data-testid": "notifications-drawer", children: [
|
|
3537
3541
|
/* @__PURE__ */ p.jsx(tI, { title: e("Notifications"), onClose: r, children: /* @__PURE__ */ p.jsx(
|
|
3538
3542
|
Rd,
|
|
3539
3543
|
{
|
|
@@ -3638,7 +3642,7 @@ class rA extends jM {
|
|
|
3638
3642
|
}
|
|
3639
3643
|
}
|
|
3640
3644
|
function Qce(e) {
|
|
3641
|
-
const t =
|
|
3645
|
+
const t = $n("xxl") && e.disablePadding !== !0, [n] = kt();
|
|
3642
3646
|
return /* @__PURE__ */ p.jsx(rA, { message: n.errorText, children: /* @__PURE__ */ p.jsx(
|
|
3643
3647
|
"div",
|
|
3644
3648
|
{
|
|
@@ -9258,10 +9262,10 @@ function zy(e, t) {
|
|
|
9258
9262
|
return e !== e && t !== t;
|
|
9259
9263
|
}
|
|
9260
9264
|
const $i = /* @__PURE__ */ new WeakMap(), Bi = () => {
|
|
9261
|
-
},
|
|
9265
|
+
}, Rn = (
|
|
9262
9266
|
/*#__NOINLINE__*/
|
|
9263
9267
|
Bi()
|
|
9264
|
-
), Mu = Object, br = (e) => e ===
|
|
9268
|
+
), Mu = Object, br = (e) => e === Rn, qi = (e) => typeof e == "function", $a = (e, t) => ({
|
|
9265
9269
|
...e,
|
|
9266
9270
|
...t
|
|
9267
9271
|
}), ZF = (e) => qi(e.then), mh = {}, Fc = {}, aE = "undefined", bx = typeof window != aE, Wy = typeof document != aE, XF = (e, t) => {
|
|
@@ -9403,25 +9407,25 @@ async function uN(...e) {
|
|
|
9403
9407
|
return S;
|
|
9404
9408
|
} else w && O && c(w) && (o = !0, m({
|
|
9405
9409
|
data: E,
|
|
9406
|
-
_c:
|
|
9410
|
+
_c: Rn
|
|
9407
9411
|
}));
|
|
9408
9412
|
if (o && !w)
|
|
9409
9413
|
if (qi(o)) {
|
|
9410
9414
|
const A = o(S, E);
|
|
9411
9415
|
m({
|
|
9412
9416
|
data: A,
|
|
9413
|
-
error:
|
|
9414
|
-
_c:
|
|
9417
|
+
error: Rn,
|
|
9418
|
+
_c: Rn
|
|
9415
9419
|
});
|
|
9416
9420
|
} else
|
|
9417
9421
|
m({
|
|
9418
9422
|
data: S,
|
|
9419
|
-
error:
|
|
9420
|
-
_c:
|
|
9423
|
+
error: Rn,
|
|
9424
|
+
_c: Rn
|
|
9421
9425
|
});
|
|
9422
9426
|
if (x[h][1] = t_(), Promise.resolve(_()).then(() => {
|
|
9423
9427
|
m({
|
|
9424
|
-
_c:
|
|
9428
|
+
_c: Rn
|
|
9425
9429
|
});
|
|
9426
9430
|
}), w) {
|
|
9427
9431
|
if (u) throw w;
|
|
@@ -9435,7 +9439,7 @@ const n_ = (e, t) => {
|
|
|
9435
9439
|
e[n][0] && e[n][0](t);
|
|
9436
9440
|
}, sE = (e, t) => {
|
|
9437
9441
|
if (!$i.has(e)) {
|
|
9438
|
-
const n = $a(rN, t), r = {}, i = uN.bind(
|
|
9442
|
+
const n = $a(rN, t), r = {}, i = uN.bind(Rn, e);
|
|
9439
9443
|
let a = Bi;
|
|
9440
9444
|
const o = {}, s = (u, d) => {
|
|
9441
9445
|
const f = o[u] || [];
|
|
@@ -9456,7 +9460,7 @@ const n_ = (e, t) => {
|
|
|
9456
9460
|
l,
|
|
9457
9461
|
s
|
|
9458
9462
|
]), !_x)) {
|
|
9459
|
-
const u = n.initFocus(setTimeout.bind(
|
|
9463
|
+
const u = n.initFocus(setTimeout.bind(Rn, n_.bind(Rn, r, sN))), d = n.initReconnect(setTimeout.bind(Rn, n_.bind(Rn, r, lN)));
|
|
9460
9464
|
a = () => {
|
|
9461
9465
|
u && u(), d && d(), $i.delete(e);
|
|
9462
9466
|
};
|
|
@@ -9519,7 +9523,7 @@ const n_ = (e, t) => {
|
|
|
9519
9523
|
r,
|
|
9520
9524
|
n,
|
|
9521
9525
|
i
|
|
9522
|
-
]), o = i && i.provider, s = Le(
|
|
9526
|
+
]), o = i && i.provider, s = Le(Rn);
|
|
9523
9527
|
o && !s.current && (s.current = sE(o(a.cache || Sx), i));
|
|
9524
9528
|
const l = s.current;
|
|
9525
9529
|
return l && (a.cache = l[0], a.mutate = l[1]), iN(() => {
|
|
@@ -9585,8 +9589,8 @@ function wN(e) {
|
|
|
9585
9589
|
function nue(e) {
|
|
9586
9590
|
const t = new Date(e.value);
|
|
9587
9591
|
return /* @__PURE__ */ p.jsxs(Ga, { hasGutter: !0, children: [
|
|
9588
|
-
/* @__PURE__ */ p.jsx(
|
|
9589
|
-
/* @__PURE__ */ p.jsx(
|
|
9592
|
+
/* @__PURE__ */ p.jsx(Fn, { children: t.toLocaleDateString() }),
|
|
9593
|
+
/* @__PURE__ */ p.jsx(Fn, { children: t.toLocaleTimeString() })
|
|
9590
9594
|
] });
|
|
9591
9595
|
}
|
|
9592
9596
|
const CN = ke.span`
|
|
@@ -9633,22 +9637,22 @@ function rue(e) {
|
|
|
9633
9637
|
}, [t, n, e.finish]);
|
|
9634
9638
|
const a = Math.floor(r / 1e3), o = Math.floor(a % 60), s = Math.floor(a / 60 % 60), l = Math.floor(a / 60 / 60 % 24), c = Math.floor(a / 60 / 60 / 24);
|
|
9635
9639
|
return t ? /* @__PURE__ */ p.jsxs(Ga, { children: [
|
|
9636
|
-
c !== 0 && /* @__PURE__ */ p.jsxs(
|
|
9640
|
+
c !== 0 && /* @__PURE__ */ p.jsxs(Fn, { children: [
|
|
9637
9641
|
c,
|
|
9638
9642
|
"d",
|
|
9639
9643
|
" "
|
|
9640
9644
|
] }),
|
|
9641
|
-
l !== 0 && /* @__PURE__ */ p.jsxs(
|
|
9645
|
+
l !== 0 && /* @__PURE__ */ p.jsxs(Fn, { children: [
|
|
9642
9646
|
l,
|
|
9643
9647
|
"h",
|
|
9644
9648
|
" "
|
|
9645
9649
|
] }),
|
|
9646
|
-
s !== 0 && /* @__PURE__ */ p.jsxs(
|
|
9650
|
+
s !== 0 && /* @__PURE__ */ p.jsxs(Fn, { children: [
|
|
9647
9651
|
s,
|
|
9648
9652
|
"m",
|
|
9649
9653
|
" "
|
|
9650
9654
|
] }),
|
|
9651
|
-
/* @__PURE__ */ p.jsxs(
|
|
9655
|
+
/* @__PURE__ */ p.jsxs(Fn, { children: [
|
|
9652
9656
|
o,
|
|
9653
9657
|
"s"
|
|
9654
9658
|
] })
|
|
@@ -9884,6 +9888,7 @@ function wx(e) {
|
|
|
9884
9888
|
isCompact: e.isCompact,
|
|
9885
9889
|
className: "page-dashboard-card",
|
|
9886
9890
|
"data-cy": t,
|
|
9891
|
+
"data-testid": t,
|
|
9887
9892
|
children: [
|
|
9888
9893
|
(e.title || e.linkText) && /* @__PURE__ */ p.jsxs(Kk, { children: [
|
|
9889
9894
|
/* @__PURE__ */ p.jsxs(
|
|
@@ -9894,12 +9899,22 @@ function wx(e) {
|
|
|
9894
9899
|
justifyContent: { default: "justifyContentFlexEnd" },
|
|
9895
9900
|
children: [
|
|
9896
9901
|
/* @__PURE__ */ p.jsxs(Je, { grow: { default: "grow" }, children: [
|
|
9897
|
-
e.supertitle && /* @__PURE__ */ p.jsx(
|
|
9902
|
+
e.supertitle && /* @__PURE__ */ p.jsx(
|
|
9903
|
+
Ea,
|
|
9904
|
+
{
|
|
9905
|
+
"data-cy": "card-main",
|
|
9906
|
+
"data-testid": "card-main",
|
|
9907
|
+
component: "small",
|
|
9908
|
+
style: { opacity: 0.8 },
|
|
9909
|
+
children: e.supertitle
|
|
9910
|
+
}
|
|
9911
|
+
),
|
|
9898
9912
|
/* @__PURE__ */ p.jsxs("div", { children: [
|
|
9899
9913
|
/* @__PURE__ */ p.jsx(
|
|
9900
9914
|
pl,
|
|
9901
9915
|
{
|
|
9902
9916
|
"data-cy": "card-title",
|
|
9917
|
+
"data-testid": "card-title",
|
|
9903
9918
|
headingLevel: "h3",
|
|
9904
9919
|
size: "xl",
|
|
9905
9920
|
style: { display: "inline-block", verticalAlign: "-0.15em", lineHeight: "1.2" },
|
|
@@ -9908,10 +9923,19 @@ function wx(e) {
|
|
|
9908
9923
|
),
|
|
9909
9924
|
/* @__PURE__ */ p.jsx(Hd, { help: e.help, title: e.helpTitle, docLink: e.helpDocLink })
|
|
9910
9925
|
] }),
|
|
9911
|
-
e.subtitle && /* @__PURE__ */ p.jsx(
|
|
9926
|
+
e.subtitle && /* @__PURE__ */ p.jsx(
|
|
9927
|
+
Ea,
|
|
9928
|
+
{
|
|
9929
|
+
"data-cy": "card-subtitle",
|
|
9930
|
+
"data-testid": "card-subtitle",
|
|
9931
|
+
component: "small",
|
|
9932
|
+
style: { opacity: 0.8 },
|
|
9933
|
+
children: e.subtitle
|
|
9934
|
+
}
|
|
9935
|
+
)
|
|
9912
9936
|
] }),
|
|
9913
9937
|
e.headerControls && /* @__PURE__ */ p.jsx(Je, { children: e.headerControls }),
|
|
9914
|
-
/* @__PURE__ */ p.jsx(Je, { children: /* @__PURE__ */ p.jsx(Ea, { "data-cy": "card-link-text", component: "small", children: e.linkText && /* @__PURE__ */ p.jsx(Yr, { to: e.to, children: e.linkText }) }) }),
|
|
9938
|
+
/* @__PURE__ */ p.jsx(Je, { children: /* @__PURE__ */ p.jsx(Ea, { "data-cy": "card-link-text", "data-testid": "card-link-text", component: "small", children: e.linkText && /* @__PURE__ */ p.jsx(Yr, { to: e.to, children: e.linkText }) }) }),
|
|
9915
9939
|
e.canCollapse && /* @__PURE__ */ p.jsx(Je, { children: /* @__PURE__ */ p.jsx(
|
|
9916
9940
|
UI,
|
|
9917
9941
|
{
|
|
@@ -10335,7 +10359,7 @@ function aa() {
|
|
|
10335
10359
|
return Eh = o, Eh;
|
|
10336
10360
|
}
|
|
10337
10361
|
var jh, b_;
|
|
10338
|
-
function
|
|
10362
|
+
function En() {
|
|
10339
10363
|
if (b_) return jh;
|
|
10340
10364
|
b_ = 1;
|
|
10341
10365
|
function e(t) {
|
|
@@ -10348,7 +10372,7 @@ var Dh, __;
|
|
|
10348
10372
|
function Ox() {
|
|
10349
10373
|
if (__) return Dh;
|
|
10350
10374
|
__ = 1;
|
|
10351
|
-
var e = aa(), t =
|
|
10375
|
+
var e = aa(), t = En(), n = "[object AsyncFunction]", r = "[object Function]", i = "[object GeneratorFunction]", a = "[object Proxy]";
|
|
10352
10376
|
function o(s) {
|
|
10353
10377
|
if (!t(s))
|
|
10354
10378
|
return !1;
|
|
@@ -10401,7 +10425,7 @@ var Lh, O_;
|
|
|
10401
10425
|
function qN() {
|
|
10402
10426
|
if (O_) return Lh;
|
|
10403
10427
|
O_ = 1;
|
|
10404
|
-
var e = Ox(), t = $N(), n =
|
|
10428
|
+
var e = Ox(), t = $N(), n = En(), r = hE(), i = /[\\^$.*+?()[\]{}|]/g, a = /^\[object .+?Constructor\]$/, o = Function.prototype, s = Object.prototype, l = o.toString, c = s.hasOwnProperty, u = RegExp(
|
|
10405
10429
|
"^" + l.call(c).replace(i, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
10406
10430
|
);
|
|
10407
10431
|
function d(f) {
|
|
@@ -10539,7 +10563,7 @@ var Gh, F_;
|
|
|
10539
10563
|
function Ax() {
|
|
10540
10564
|
if (F_) return Gh;
|
|
10541
10565
|
F_ = 1;
|
|
10542
|
-
var e = Ja(), t = Qa(), n = nf(), r =
|
|
10566
|
+
var e = Ja(), t = Qa(), n = nf(), r = En();
|
|
10543
10567
|
function i(a, o, s) {
|
|
10544
10568
|
if (!r(s))
|
|
10545
10569
|
return !1;
|
|
@@ -10702,7 +10726,7 @@ var op, J_;
|
|
|
10702
10726
|
function KN() {
|
|
10703
10727
|
if (J_) return op;
|
|
10704
10728
|
J_ = 1;
|
|
10705
|
-
var e =
|
|
10729
|
+
var e = En(), t = af(), n = YN(), r = Object.prototype, i = r.hasOwnProperty;
|
|
10706
10730
|
function a(o) {
|
|
10707
10731
|
if (!e(o))
|
|
10708
10732
|
return n(o);
|
|
@@ -11856,7 +11880,7 @@ var Tg, TS;
|
|
|
11856
11880
|
function ME() {
|
|
11857
11881
|
if (TS) return Tg;
|
|
11858
11882
|
TS = 1;
|
|
11859
|
-
var e =
|
|
11883
|
+
var e = En();
|
|
11860
11884
|
function t(n) {
|
|
11861
11885
|
return n === n && !e(n);
|
|
11862
11886
|
}
|
|
@@ -12824,7 +12848,7 @@ var nm, dw;
|
|
|
12824
12848
|
function f9() {
|
|
12825
12849
|
if (dw) return nm;
|
|
12826
12850
|
dw = 1;
|
|
12827
|
-
var e = Vx(), t = df(), n = nf(), r =
|
|
12851
|
+
var e = Vx(), t = df(), n = nf(), r = En(), i = tc();
|
|
12828
12852
|
function a(o, s, l, c) {
|
|
12829
12853
|
if (!r(o))
|
|
12830
12854
|
return o;
|
|
@@ -14111,7 +14135,7 @@ function tz(e) {
|
|
|
14111
14135
|
});
|
|
14112
14136
|
};
|
|
14113
14137
|
}
|
|
14114
|
-
var nz =
|
|
14138
|
+
var nz = En();
|
|
14115
14139
|
const Uu = /* @__PURE__ */ Re(nz);
|
|
14116
14140
|
var km, $w;
|
|
14117
14141
|
function rz() {
|
|
@@ -15904,7 +15928,7 @@ function Ol(e) {
|
|
|
15904
15928
|
}
|
|
15905
15929
|
return tb();
|
|
15906
15930
|
}
|
|
15907
|
-
function
|
|
15931
|
+
function An(e, t) {
|
|
15908
15932
|
const n = Wa(e, t);
|
|
15909
15933
|
if (n)
|
|
15910
15934
|
return typeof n == "string" ? Ol(n) : n;
|
|
@@ -15974,7 +15998,7 @@ function J3(e) {
|
|
|
15974
15998
|
return uc(e) ? e.size : e.length;
|
|
15975
15999
|
}
|
|
15976
16000
|
function xC(e, t) {
|
|
15977
|
-
const r = (_t(e.domain) ? e.domain[t] : e.domain) ||
|
|
16001
|
+
const r = (_t(e.domain) ? e.domain[t] : e.domain) || An(e, t).domain(), i = e.samples || 1, a = Math.max(...r), o = Math.min(...r), s = (a - o) / i, l = Hx(o, a, s);
|
|
15978
16002
|
return l[l.length - 1] === a ? l : l.concat(a);
|
|
15979
16003
|
}
|
|
15980
16004
|
function Q3(e, t, n) {
|
|
@@ -18407,7 +18431,7 @@ const SU = {
|
|
|
18407
18431
|
cyan: "#006064",
|
|
18408
18432
|
red: "#DF5A49",
|
|
18409
18433
|
yellow: "#FFF59D"
|
|
18410
|
-
}, So = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0f0f0"], an = "#252525", zm = "#969696", wU = ["#334D5C", "#45B29D", "#EFC94C", "#E27A3F", "#DF5A49", "#4F7DA1", "#55DBC1", "#EFDA97", "#E2A37F", "#DF948A"], CU = ["#428517", "#77D200", "#D6D305", "#EC8E19", "#C92B05"], OU = ["#940031", "#C43343", "#DC5429", "#FF821D", "#FFAF55"], kU = ["#2746B9", "#0B69D4", "#2794DB", "#31BB76", "#60E83B"], TU = ["#FCAE91", "#FB6A4A", "#DE2D26", "#A50F15", "#750B0E"], AU = ["#354722", "#466631", "#649146", "#8AB25C", "#A9C97E"], EU = ["#002C61", "#004B8F", "#006BC9", "#3795E5", "#65B4F4"], jU = "'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif", DU = "normal", PU = 14,
|
|
18434
|
+
}, So = ["#252525", "#525252", "#737373", "#969696", "#bdbdbd", "#d9d9d9", "#f0f0f0"], an = "#252525", zm = "#969696", wU = ["#334D5C", "#45B29D", "#EFC94C", "#E27A3F", "#DF5A49", "#4F7DA1", "#55DBC1", "#EFDA97", "#E2A37F", "#DF948A"], CU = ["#428517", "#77D200", "#D6D305", "#EC8E19", "#C92B05"], OU = ["#940031", "#C43343", "#DC5429", "#FF821D", "#FFAF55"], kU = ["#2746B9", "#0B69D4", "#2794DB", "#31BB76", "#60E83B"], TU = ["#FCAE91", "#FB6A4A", "#DE2D26", "#A50F15", "#750B0E"], AU = ["#354722", "#466631", "#649146", "#8AB25C", "#A9C97E"], EU = ["#002C61", "#004B8F", "#006BC9", "#3795E5", "#65B4F4"], jU = "'Gill Sans', 'Seravek', 'Trebuchet MS', sans-serif", DU = "normal", PU = 14, Pn = {
|
|
18411
18435
|
width: 450,
|
|
18412
18436
|
height: 300,
|
|
18413
18437
|
padding: 50,
|
|
@@ -18440,7 +18464,7 @@ const SU = {
|
|
|
18440
18464
|
},
|
|
18441
18465
|
labels: It
|
|
18442
18466
|
}
|
|
18443
|
-
},
|
|
18467
|
+
}, Pn),
|
|
18444
18468
|
axis: Object.assign({
|
|
18445
18469
|
style: {
|
|
18446
18470
|
axis: {
|
|
@@ -18465,7 +18489,7 @@ const SU = {
|
|
|
18465
18489
|
},
|
|
18466
18490
|
tickLabels: It
|
|
18467
18491
|
}
|
|
18468
|
-
},
|
|
18492
|
+
}, Pn),
|
|
18469
18493
|
bar: Object.assign({
|
|
18470
18494
|
style: {
|
|
18471
18495
|
data: {
|
|
@@ -18475,7 +18499,7 @@ const SU = {
|
|
|
18475
18499
|
},
|
|
18476
18500
|
labels: It
|
|
18477
18501
|
}
|
|
18478
|
-
},
|
|
18502
|
+
}, Pn),
|
|
18479
18503
|
boxplot: Object.assign({
|
|
18480
18504
|
style: {
|
|
18481
18505
|
max: {
|
|
@@ -18518,7 +18542,7 @@ const SU = {
|
|
|
18518
18542
|
})
|
|
18519
18543
|
},
|
|
18520
18544
|
boxWidth: 20
|
|
18521
|
-
},
|
|
18545
|
+
}, Pn),
|
|
18522
18546
|
candlestick: Object.assign({
|
|
18523
18547
|
style: {
|
|
18524
18548
|
data: {
|
|
@@ -18533,8 +18557,8 @@ const SU = {
|
|
|
18533
18557
|
positive: "#ffffff",
|
|
18534
18558
|
negative: an
|
|
18535
18559
|
}
|
|
18536
|
-
},
|
|
18537
|
-
chart:
|
|
18560
|
+
}, Pn),
|
|
18561
|
+
chart: Pn,
|
|
18538
18562
|
errorbar: Object.assign({
|
|
18539
18563
|
borderWidth: 8,
|
|
18540
18564
|
style: {
|
|
@@ -18545,10 +18569,10 @@ const SU = {
|
|
|
18545
18569
|
},
|
|
18546
18570
|
labels: It
|
|
18547
18571
|
}
|
|
18548
|
-
},
|
|
18572
|
+
}, Pn),
|
|
18549
18573
|
group: Object.assign({
|
|
18550
18574
|
colorScale: So
|
|
18551
|
-
},
|
|
18575
|
+
}, Pn),
|
|
18552
18576
|
histogram: Object.assign({
|
|
18553
18577
|
style: {
|
|
18554
18578
|
data: {
|
|
@@ -18558,7 +18582,7 @@ const SU = {
|
|
|
18558
18582
|
},
|
|
18559
18583
|
labels: It
|
|
18560
18584
|
}
|
|
18561
|
-
},
|
|
18585
|
+
}, Pn),
|
|
18562
18586
|
legend: {
|
|
18563
18587
|
colorScale: So,
|
|
18564
18588
|
gutter: 10,
|
|
@@ -18583,7 +18607,7 @@ const SU = {
|
|
|
18583
18607
|
},
|
|
18584
18608
|
labels: It
|
|
18585
18609
|
}
|
|
18586
|
-
},
|
|
18610
|
+
}, Pn),
|
|
18587
18611
|
pie: {
|
|
18588
18612
|
style: {
|
|
18589
18613
|
data: {
|
|
@@ -18609,10 +18633,10 @@ const SU = {
|
|
|
18609
18633
|
},
|
|
18610
18634
|
labels: It
|
|
18611
18635
|
}
|
|
18612
|
-
},
|
|
18636
|
+
}, Pn),
|
|
18613
18637
|
stack: Object.assign({
|
|
18614
18638
|
colorScale: So
|
|
18615
|
-
},
|
|
18639
|
+
}, Pn),
|
|
18616
18640
|
tooltip: {
|
|
18617
18641
|
style: Object.assign({}, It, {
|
|
18618
18642
|
padding: 0,
|
|
@@ -18646,7 +18670,7 @@ const SU = {
|
|
|
18646
18670
|
pointerEvents: "none"
|
|
18647
18671
|
}
|
|
18648
18672
|
}
|
|
18649
|
-
},
|
|
18673
|
+
}, Pn)
|
|
18650
18674
|
}, Kj = "#FFF59D", Zj = "#F4511E", FU = "#DCE775", Xj = "#8BC34A", Jj = "#00796B", Qj = "#006064", Hc = [Zj, Kj, FU, Xj, Jj, Qj], mv = "#ECEFF1", yv = "#90A4AE", on = "#455A64", tl = "#212121", NU = {
|
|
18651
18675
|
blue: "#4F7DA1",
|
|
18652
18676
|
pink: "#E2A37F",
|
|
@@ -19368,7 +19392,7 @@ function Tl(e, t, n) {
|
|
|
19368
19392
|
}
|
|
19369
19393
|
function ns(e, t, n) {
|
|
19370
19394
|
if (e.data)
|
|
19371
|
-
return
|
|
19395
|
+
return An(e, t);
|
|
19372
19396
|
const r = k.Children.toArray(e.children), a = za(oa(r, (o) => {
|
|
19373
19397
|
const s = Object.assign({}, o.props, {
|
|
19374
19398
|
horizontal: e.horizontal
|
|
@@ -20646,7 +20670,7 @@ const Bb = {
|
|
|
20646
20670
|
right: "y"
|
|
20647
20671
|
}[n] : r ? t === "x" ? "y" : "x" : t;
|
|
20648
20672
|
}, fG = (e) => {
|
|
20649
|
-
const t = lr(e), n = dG(e, t), r =
|
|
20673
|
+
const t = lr(e), n = dG(e, t), r = An(e, t), a = e.domain && e.domain[t] || Ts(e) || r.domain();
|
|
20650
20674
|
return r.range(ht(e, n)), r.domain(a), r;
|
|
20651
20675
|
}, hG = (e) => {
|
|
20652
20676
|
const {
|
|
@@ -20957,8 +20981,8 @@ const Bb = {
|
|
|
20957
20981
|
x: e.domain && e.domain.x ? e.domain.x : c,
|
|
20958
20982
|
y: e.domain && e.domain.y ? e.domain.y : u
|
|
20959
20983
|
}, v = {
|
|
20960
|
-
x: e.domain && e.domain.x ?
|
|
20961
|
-
y: e.domain && e.domain.y ?
|
|
20984
|
+
x: e.domain && e.domain.x ? An(e, "x").domain(e.domain.x).range(e.horizontal ? y.y : y.x) : d,
|
|
20985
|
+
y: e.domain && e.domain.y ? An(e, "y").domain(e.domain.y).range(e.horizontal ? y.x : y.y) : f
|
|
20962
20986
|
}, b = x.x && x.y ? aj(x) : void 0, _ = b ? {
|
|
20963
20987
|
x: SC(b.x, x.x),
|
|
20964
20988
|
y: SC(b.y, x.y)
|
|
@@ -21228,7 +21252,7 @@ const Al = sa(Qr, IG), On = (e, t, n) => n === "x" ? e * Math.cos(t) : -e * Math
|
|
|
21228
21252
|
const r = y7(e);
|
|
21229
21253
|
return [e.innerRadius || 0, r];
|
|
21230
21254
|
}, x7 = (e) => {
|
|
21231
|
-
const t = lr(e), n =
|
|
21255
|
+
const t = lr(e), n = An(e, t), r = Ts(e, t) || n.domain(), i = v7(e, t);
|
|
21232
21256
|
return n.range(i), n.domain(r), n;
|
|
21233
21257
|
}, b7 = function(e, t) {
|
|
21234
21258
|
if (t === void 0 && (t = {}), e.disableInlineStyles)
|
|
@@ -22045,7 +22069,7 @@ var f0, h6;
|
|
|
22045
22069
|
function dY() {
|
|
22046
22070
|
if (h6) return f0;
|
|
22047
22071
|
h6 = 1;
|
|
22048
|
-
var e =
|
|
22072
|
+
var e = En(), t = Object.create, n = /* @__PURE__ */ function() {
|
|
22049
22073
|
function r() {
|
|
22050
22074
|
}
|
|
22051
22075
|
return function(i) {
|
|
@@ -22108,7 +22132,7 @@ var v0, x6;
|
|
|
22108
22132
|
function mY() {
|
|
22109
22133
|
if (x6) return v0;
|
|
22110
22134
|
x6 = 1;
|
|
22111
|
-
var e = hf(), t = tY(), n = Vx(), r = nY(), i = rY(), a = w7(), o = C7(), s = iY(), l = aY(), c = PE(), u = a3(), d = _s(), f = oY(), h = uY(), g = k7(), m = pn(), y = Jl(), x = hY(), v =
|
|
22135
|
+
var e = hf(), t = tY(), n = Vx(), r = nY(), i = rY(), a = w7(), o = C7(), s = iY(), l = aY(), c = PE(), u = a3(), d = _s(), f = oY(), h = uY(), g = k7(), m = pn(), y = Jl(), x = hY(), v = En(), b = gY(), _ = Ss(), S = bs(), w = 1, C = 2, O = 4, j = "[object Arguments]", D = "[object Array]", T = "[object Boolean]", E = "[object Date]", A = "[object Error]", P = "[object Function]", L = "[object GeneratorFunction]", B = "[object Map]", G = "[object Number]", W = "[object Object]", $ = "[object RegExp]", F = "[object Set]", q = "[object String]", ee = "[object Symbol]", ce = "[object WeakMap]", re = "[object ArrayBuffer]", te = "[object DataView]", X = "[object Float32Array]", ae = "[object Float64Array]", le = "[object Int8Array]", z = "[object Int16Array]", J = "[object Int32Array]", de = "[object Uint8Array]", R = "[object Uint8ClampedArray]", ye = "[object Uint16Array]", _e = "[object Uint32Array]", ve = {};
|
|
22112
22136
|
ve[j] = ve[D] = ve[re] = ve[te] = ve[T] = ve[E] = ve[X] = ve[ae] = ve[le] = ve[z] = ve[J] = ve[B] = ve[G] = ve[W] = ve[$] = ve[F] = ve[q] = ve[ee] = ve[de] = ve[R] = ve[ye] = ve[_e] = !0, ve[A] = ve[P] = ve[ce] = !1;
|
|
22113
22137
|
function qe(be, M, N, U, fe, oe) {
|
|
22114
22138
|
var Q, V = M & w, ne = M & C, Ce = M & O;
|
|
@@ -22205,7 +22229,7 @@ var C0, O6;
|
|
|
22205
22229
|
function _Y() {
|
|
22206
22230
|
if (O6) return C0;
|
|
22207
22231
|
O6 = 1;
|
|
22208
|
-
var e = T7(), t = w7(), n = O7(), r = C7(), i = k7(), a = Xl(), o = pn(), s = xY(), l = Jl(), c = Ox(), u =
|
|
22232
|
+
var e = T7(), t = w7(), n = O7(), r = C7(), i = k7(), a = Xl(), o = pn(), s = xY(), l = Jl(), c = Ox(), u = En(), d = SE(), f = rf(), h = A7(), g = bY();
|
|
22209
22233
|
function m(y, x, v, b, _, S, w) {
|
|
22210
22234
|
var C = h(y, v), O = h(x, v), j = w.get(O);
|
|
22211
22235
|
if (j) {
|
|
@@ -22225,7 +22249,7 @@ var O0, k6;
|
|
|
22225
22249
|
function SY() {
|
|
22226
22250
|
if (k6) return O0;
|
|
22227
22251
|
k6 = 1;
|
|
22228
|
-
var e = hf(), t = T7(), n = FE(), r = _Y(), i =
|
|
22252
|
+
var e = hf(), t = T7(), n = FE(), r = _Y(), i = En(), a = bs(), o = A7();
|
|
22229
22253
|
function s(l, c, u, d, f) {
|
|
22230
22254
|
l !== c && n(c, function(h, g) {
|
|
22231
22255
|
if (f || (f = new e()), i(h))
|
|
@@ -23756,7 +23780,7 @@ const As = /* @__PURE__ */ Re(OY), gt = {
|
|
|
23756
23780
|
}, $f = ({ className: e }) => {
|
|
23757
23781
|
let t;
|
|
23758
23782
|
return e && (t = e.replace(/VictoryContainer/g, "").replace(/pf-v6-c-chart/g, "").replace(/pf-c-chart/g, "").replace(/\s+/g, " ").trim()), t && t.length ? `pf-v6-c-chart ${t}` : "pf-v6-c-chart";
|
|
23759
|
-
},
|
|
23783
|
+
}, jn = (e) => {
|
|
23760
23784
|
var {
|
|
23761
23785
|
className: t,
|
|
23762
23786
|
themeColor: n,
|
|
@@ -23766,8 +23790,8 @@ const As = /* @__PURE__ */ Re(OY), gt = {
|
|
|
23766
23790
|
const a = $f({ className: t });
|
|
23767
23791
|
return p.jsx(Pt, Object.assign({ className: a, theme: r }, i));
|
|
23768
23792
|
};
|
|
23769
|
-
|
|
23770
|
-
$t(
|
|
23793
|
+
jn.displayName = "ChartContainer";
|
|
23794
|
+
$t(jn, Pt);
|
|
23771
23795
|
var j0, D6;
|
|
23772
23796
|
function iQ() {
|
|
23773
23797
|
if (D6) return j0;
|
|
@@ -23806,7 +23830,7 @@ var M0, I6;
|
|
|
23806
23830
|
function Yb() {
|
|
23807
23831
|
if (I6) return M0;
|
|
23808
23832
|
I6 = 1;
|
|
23809
|
-
var e = oQ(), t =
|
|
23833
|
+
var e = oQ(), t = En(), n = ec(), r = NaN, i = /^[-+]0x[0-9a-f]+$/i, a = /^0b[01]+$/i, o = /^0o[0-7]+$/i, s = parseInt;
|
|
23810
23834
|
function l(c) {
|
|
23811
23835
|
if (typeof c == "number")
|
|
23812
23836
|
return c;
|
|
@@ -24256,7 +24280,7 @@ const gc = sa(rl), SQ = {
|
|
|
24256
24280
|
};
|
|
24257
24281
|
Zt.displayName = "ChartLabel";
|
|
24258
24282
|
$t(Zt, Nt);
|
|
24259
|
-
const
|
|
24283
|
+
const Mn = {
|
|
24260
24284
|
circle: (e, t, n) => `M ${e}, ${t}
|
|
24261
24285
|
m ${-n}, 0
|
|
24262
24286
|
a ${n}, ${n} 0 1,0 ${n * 2},0
|
|
@@ -24381,19 +24405,19 @@ const Pn = {
|
|
|
24381
24405
|
if (e.getPath)
|
|
24382
24406
|
return e.getPath(t, n, r);
|
|
24383
24407
|
const i = {
|
|
24384
|
-
circle:
|
|
24385
|
-
square:
|
|
24386
|
-
diamond:
|
|
24387
|
-
eyeSlash:
|
|
24388
|
-
triangleDown:
|
|
24389
|
-
triangleLeft:
|
|
24390
|
-
triangleRight:
|
|
24391
|
-
triangleUp:
|
|
24392
|
-
plus:
|
|
24393
|
-
minus:
|
|
24394
|
-
star:
|
|
24395
|
-
dash:
|
|
24396
|
-
threshold:
|
|
24408
|
+
circle: Mn.circle,
|
|
24409
|
+
square: Mn.square,
|
|
24410
|
+
diamond: Mn.diamond,
|
|
24411
|
+
eyeSlash: Mn.eyeSlash,
|
|
24412
|
+
triangleDown: Mn.triangleDown,
|
|
24413
|
+
triangleLeft: Mn.triangleLeft,
|
|
24414
|
+
triangleRight: Mn.triangleRight,
|
|
24415
|
+
triangleUp: Mn.triangleUp,
|
|
24416
|
+
plus: Mn.plus,
|
|
24417
|
+
minus: Mn.minus,
|
|
24418
|
+
star: Mn.star,
|
|
24419
|
+
dash: Mn.dash,
|
|
24420
|
+
threshold: Mn.threshold
|
|
24397
24421
|
}, o = Y(e.symbol, e);
|
|
24398
24422
|
return (typeof i[o] == "function" ? i[o] : i.square)(t, n, r);
|
|
24399
24423
|
}, qf = (e) => {
|
|
@@ -24427,7 +24451,7 @@ qf.displayName = "ChartPoint";
|
|
|
24427
24451
|
const js = (e) => {
|
|
24428
24452
|
var {
|
|
24429
24453
|
colorScale: t,
|
|
24430
|
-
containerComponent: n = p.jsx(
|
|
24454
|
+
containerComponent: n = p.jsx(jn, {}),
|
|
24431
24455
|
dataComponent: r = p.jsx(qf, {}),
|
|
24432
24456
|
labelComponent: i = p.jsx(Zt, {}),
|
|
24433
24457
|
name: a,
|
|
@@ -24742,7 +24766,7 @@ const zf = ({ height: e, padding: t, width: n }) => {
|
|
|
24742
24766
|
default:
|
|
24743
24767
|
return e;
|
|
24744
24768
|
}
|
|
24745
|
-
},
|
|
24769
|
+
}, Nn = (e, t, n) => typeof t == "number" ? t : typeof t == "object" && Object.keys(t).length > 0 ? t[e] || 0 : Nn(e, n, 0), XQ = [
|
|
24746
24770
|
// Set 1
|
|
24747
24771
|
{
|
|
24748
24772
|
// Left diagonal lines
|
|
@@ -25007,16 +25031,16 @@ const zf = ({ height: e, padding: t, width: n }) => {
|
|
|
25007
25031
|
themeColor: m,
|
|
25008
25032
|
// destructure last
|
|
25009
25033
|
theme: y = iee(m, g),
|
|
25010
|
-
containerComponent: x = p.jsx(
|
|
25034
|
+
containerComponent: x = p.jsx(jn, {}),
|
|
25011
25035
|
legendOrientation: v = y.legend.orientation,
|
|
25012
25036
|
height: b = y.chart.height,
|
|
25013
25037
|
width: _ = y.chart.width
|
|
25014
25038
|
} = e, S = ut(e, ["ariaDesc", "ariaTitle", "children", "colorScale", "hasPatterns", "legendAllowWrap", "legendComponent", "legendData", "legendPosition", "legendDirection", "name", "padding", "patternScale", "showAxis", "themeColor", "theme", "containerComponent", "legendOrientation", "height", "width"]);
|
|
25015
25039
|
const w = {
|
|
25016
|
-
bottom:
|
|
25017
|
-
left:
|
|
25018
|
-
right:
|
|
25019
|
-
top:
|
|
25040
|
+
bottom: Nn("bottom", f, y.chart.padding),
|
|
25041
|
+
left: Nn("left", f, y.chart.padding),
|
|
25042
|
+
right: Nn("right", f, y.chart.padding),
|
|
25043
|
+
top: Nn("top", f, y.chart.padding)
|
|
25020
25044
|
}, { defaultColorScale: C, defaultPatternScale: O, isPatternDefs: j, patternId: D } = Wf({
|
|
25021
25045
|
colorScale: i,
|
|
25022
25046
|
patternScale: h,
|
|
@@ -25119,8 +25143,8 @@ const see = (e, t) => {
|
|
|
25119
25143
|
x: Qo(e, "x"),
|
|
25120
25144
|
y: Qo(e, "y")
|
|
25121
25145
|
}, o = {
|
|
25122
|
-
x:
|
|
25123
|
-
y:
|
|
25146
|
+
x: An(e, "x").domain(a.x).range(e.horizontal ? i.y : i.x),
|
|
25147
|
+
y: An(e, "y").domain(a.y).range(e.horizontal ? i.x : i.y)
|
|
25124
25148
|
}, s = t ? e.origin || to(e) : void 0, l = see(e, o);
|
|
25125
25149
|
return {
|
|
25126
25150
|
style: r,
|
|
@@ -25278,7 +25302,7 @@ const see = (e, t) => {
|
|
|
25278
25302
|
}, {
|
|
25279
25303
|
name: "labels"
|
|
25280
25304
|
}]
|
|
25281
|
-
},
|
|
25305
|
+
}, In = class In extends k.Component {
|
|
25282
25306
|
static getBaseProps(t) {
|
|
25283
25307
|
return cee(t, V6);
|
|
25284
25308
|
}
|
|
@@ -25290,14 +25314,14 @@ const see = (e, t) => {
|
|
|
25290
25314
|
const {
|
|
25291
25315
|
animationWhitelist: t,
|
|
25292
25316
|
role: n
|
|
25293
|
-
} =
|
|
25317
|
+
} = In, r = ct(this.props, V6, n);
|
|
25294
25318
|
if (this.shouldAnimate())
|
|
25295
25319
|
return this.animateComponent(r, t);
|
|
25296
25320
|
const i = this.renderContinuousData(r), a = r.standalone ? this.renderContainer(r.containerComponent, i) : i;
|
|
25297
25321
|
return oc(a, r);
|
|
25298
25322
|
}
|
|
25299
25323
|
};
|
|
25300
|
-
ie(
|
|
25324
|
+
ie(In, "animationWhitelist", ["data", "domain", "height", "padding", "style", "width"]), ie(In, "defaultProps", {
|
|
25301
25325
|
containerComponent: /* @__PURE__ */ k.createElement(Pt, null),
|
|
25302
25326
|
dataComponent: /* @__PURE__ */ k.createElement(gee, null),
|
|
25303
25327
|
groupComponent: /* @__PURE__ */ k.createElement(Yi, null),
|
|
@@ -25309,11 +25333,11 @@ ie(Mn, "animationWhitelist", ["data", "domain", "height", "padding", "style", "w
|
|
|
25309
25333
|
sortOrder: "ascending",
|
|
25310
25334
|
standalone: !0,
|
|
25311
25335
|
theme: Wn.grayscale
|
|
25312
|
-
}), ie(
|
|
25313
|
-
let Ov =
|
|
25336
|
+
}), ie(In, "displayName", "VictoryArea"), ie(In, "role", "area"), ie(In, "continuous", !0), ie(In, "defaultTransitions", cj()), ie(In, "defaultPolarTransitions", uj()), ie(In, "getDomain", Qo), ie(In, "getData", zt), ie(In, "expectedComponents", ["dataComponent", "labelComponent", "groupComponent", "containerComponent"]);
|
|
25337
|
+
let Ov = In;
|
|
25314
25338
|
const uD = sa(Ov, mee), Zb = (e) => {
|
|
25315
25339
|
var {
|
|
25316
|
-
containerComponent: t = p.jsx(
|
|
25340
|
+
containerComponent: t = p.jsx(jn, {}),
|
|
25317
25341
|
themeColor: n,
|
|
25318
25342
|
// destructure last
|
|
25319
25343
|
theme: r = Wt(n)
|
|
@@ -25326,7 +25350,7 @@ $t(Zb, uD);
|
|
|
25326
25350
|
const pd = (e) => {
|
|
25327
25351
|
var {
|
|
25328
25352
|
axisLabelComponent: t = p.jsx(Zt, {}),
|
|
25329
|
-
containerComponent: n = p.jsx(
|
|
25353
|
+
containerComponent: n = p.jsx(jn, {}),
|
|
25330
25354
|
name: r,
|
|
25331
25355
|
showGrid: i = !1,
|
|
25332
25356
|
themeColor: a,
|
|
@@ -25372,8 +25396,8 @@ const yee = (e, t) => {
|
|
|
25372
25396
|
x: Qo(e, "x"),
|
|
25373
25397
|
y: Qo(e, "y")
|
|
25374
25398
|
}, o = {
|
|
25375
|
-
x:
|
|
25376
|
-
y:
|
|
25399
|
+
x: An(e, "x").domain(a.x).range(e.horizontal ? i.y : i.x),
|
|
25400
|
+
y: An(e, "y").domain(a.y).range(e.horizontal ? i.x : i.y)
|
|
25377
25401
|
}, s = t ? e.origin || to(e) : void 0;
|
|
25378
25402
|
let l = zt(e);
|
|
25379
25403
|
return l = ej(l, a, 0), ((c = e.groupComponent) == null ? void 0 : c.type) === Yi && (l = l.map((u) => ({
|
|
@@ -25986,7 +26010,7 @@ ie(Zn, "shouldRenderDatum", () => !0);
|
|
|
25986
26010
|
let kv = Zn;
|
|
25987
26011
|
const Jb = sa(kv), md = (e) => {
|
|
25988
26012
|
var {
|
|
25989
|
-
containerComponent: t = p.jsx(
|
|
26013
|
+
containerComponent: t = p.jsx(jn, {}),
|
|
25990
26014
|
themeColor: n,
|
|
25991
26015
|
// destructure last
|
|
25992
26016
|
theme: r = Wt(n)
|
|
@@ -26522,8 +26546,8 @@ const Yee = (e, t) => t.bubbleProperty ? "circle" : e.symbol || t.symbol, Kee =
|
|
|
26522
26546
|
x: Ba(e, "x"),
|
|
26523
26547
|
y: Ba(e, "y")
|
|
26524
26548
|
}, a = {
|
|
26525
|
-
x:
|
|
26526
|
-
y:
|
|
26549
|
+
x: An(e, "x").domain(i.x).range(e.horizontal ? r.y : r.x),
|
|
26550
|
+
y: An(e, "y").domain(i.y).range(e.horizontal ? r.x : r.y)
|
|
26527
26551
|
}, o = e.polar ? e.origin || to(e) : void 0, s = e.bubbleProperty || "z";
|
|
26528
26552
|
let l = zt(e);
|
|
26529
26553
|
return l = ej(l, i), {
|
|
@@ -26633,7 +26657,7 @@ ie(ti, "animationWhitelist", ["data", "domain", "height", "maxBubbleSize", "padd
|
|
|
26633
26657
|
}), ie(ti, "getDomain", Ba), ie(ti, "getData", zt), ie(ti, "expectedComponents", ["dataComponent", "labelComponent", "groupComponent", "containerComponent"]);
|
|
26634
26658
|
const Qb = sa(ti), yd = (e) => {
|
|
26635
26659
|
var {
|
|
26636
|
-
containerComponent: t = p.jsx(
|
|
26660
|
+
containerComponent: t = p.jsx(jn, {}),
|
|
26637
26661
|
themeColor: n,
|
|
26638
26662
|
// destructure last
|
|
26639
26663
|
theme: r = Wt(n)
|
|
@@ -26656,7 +26680,7 @@ var $0, K6;
|
|
|
26656
26680
|
function ete() {
|
|
26657
26681
|
if (K6) return $0;
|
|
26658
26682
|
K6 = 1;
|
|
26659
|
-
var e =
|
|
26683
|
+
var e = En(), t = Qee(), n = Yb(), r = "Expected a function", i = Math.max, a = Math.min;
|
|
26660
26684
|
function o(s, l, c) {
|
|
26661
26685
|
var u, d, f, h, g, m, y = 0, x = !1, v = !1, b = !0;
|
|
26662
26686
|
if (typeof s != "function")
|
|
@@ -26710,7 +26734,7 @@ var q0, Z6;
|
|
|
26710
26734
|
function tte() {
|
|
26711
26735
|
if (Z6) return q0;
|
|
26712
26736
|
Z6 = 1;
|
|
26713
|
-
var e = ete(), t =
|
|
26737
|
+
var e = ete(), t = En(), n = "Expected a function";
|
|
26714
26738
|
function r(i, a, o) {
|
|
26715
26739
|
var s = !0, l = !0;
|
|
26716
26740
|
if (typeof i != "function")
|
|
@@ -27456,7 +27480,7 @@ const yc = sa(Ri), t1 = (e) => {
|
|
|
27456
27480
|
ariaTitle: r,
|
|
27457
27481
|
colorScale: i,
|
|
27458
27482
|
constrainToVisibleArea: a = !1,
|
|
27459
|
-
containerComponent: o = p.jsx(
|
|
27483
|
+
containerComponent: o = p.jsx(jn, {}),
|
|
27460
27484
|
hasPatterns: s,
|
|
27461
27485
|
legendAllowWrap: l = !1,
|
|
27462
27486
|
legendComponent: c = p.jsx(js, {}),
|
|
@@ -27479,10 +27503,10 @@ const yc = sa(Ri), t1 = (e) => {
|
|
|
27479
27503
|
width: j = S.pie.width
|
|
27480
27504
|
} = e, D = ut(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"]);
|
|
27481
27505
|
const T = {
|
|
27482
|
-
bottom:
|
|
27483
|
-
left:
|
|
27484
|
-
right:
|
|
27485
|
-
top:
|
|
27506
|
+
bottom: Nn("bottom", y, S.pie.padding),
|
|
27507
|
+
left: Nn("left", y, S.pie.padding),
|
|
27508
|
+
right: Nn("right", y, S.pie.padding),
|
|
27509
|
+
top: Nn("top", y, S.pie.padding)
|
|
27486
27510
|
}, { defaultColorScale: E, defaultPatternScale: A, isPatternDefs: P, patternId: L } = Wf({
|
|
27487
27511
|
colorScale: i,
|
|
27488
27512
|
hasPatterns: s,
|
|
@@ -27555,7 +27579,7 @@ const Vf = (e) => {
|
|
|
27555
27579
|
ariaDesc: n,
|
|
27556
27580
|
ariaTitle: r,
|
|
27557
27581
|
capHeight: i = 1.1,
|
|
27558
|
-
containerComponent: a = p.jsx(
|
|
27582
|
+
containerComponent: a = p.jsx(jn, {}),
|
|
27559
27583
|
innerRadius: o,
|
|
27560
27584
|
legendPosition: s = Ht.legend.position,
|
|
27561
27585
|
legendDirection: l = "ltr",
|
|
@@ -27576,10 +27600,10 @@ const Vf = (e) => {
|
|
|
27576
27600
|
width: w = _.pie.width
|
|
27577
27601
|
} = e, C = ut(e, ["allowTooltip", "ariaDesc", "ariaTitle", "capHeight", "containerComponent", "innerRadius", "legendPosition", "legendDirection", "name", "padAngle", "padding", "radius", "standalone", "subTitle", "subTitleComponent", "subTitlePosition", "themeColor", "title", "titleComponent", "theme", "height", "width"]);
|
|
27578
27602
|
const O = Es(x), j = {
|
|
27579
|
-
bottom:
|
|
27580
|
-
left:
|
|
27581
|
-
right:
|
|
27582
|
-
top:
|
|
27603
|
+
bottom: Nn("bottom", d, _.pie.padding),
|
|
27604
|
+
left: Nn("left", d, _.pie.padding),
|
|
27605
|
+
right: Nn("right", d, _.pie.padding),
|
|
27606
|
+
top: Nn("top", d, _.pie.padding)
|
|
27583
27607
|
}, D = f ? Y(f, void 0) : Vr({
|
|
27584
27608
|
height: S,
|
|
27585
27609
|
width: w,
|
|
@@ -27646,7 +27670,7 @@ const n1 = (e) => {
|
|
|
27646
27670
|
ariaDesc: n,
|
|
27647
27671
|
ariaTitle: r,
|
|
27648
27672
|
colorScale: i,
|
|
27649
|
-
containerComponent: a = p.jsx(
|
|
27673
|
+
containerComponent: a = p.jsx(jn, {}),
|
|
27650
27674
|
data: o,
|
|
27651
27675
|
invert: s = !1,
|
|
27652
27676
|
isStatic: l = !0,
|
|
@@ -27929,7 +27953,7 @@ const r1 = (e) => {
|
|
|
27929
27953
|
ariaTitle: n,
|
|
27930
27954
|
children: r,
|
|
27931
27955
|
colorScale: i,
|
|
27932
|
-
containerComponent: a = p.jsx(
|
|
27956
|
+
containerComponent: a = p.jsx(jn, {}),
|
|
27933
27957
|
hasPatterns: o,
|
|
27934
27958
|
patternScale: s,
|
|
27935
27959
|
themeColor: l,
|
|
@@ -28135,8 +28159,8 @@ const ene = (e) => {
|
|
|
28135
28159
|
x: Ba(e, "x"),
|
|
28136
28160
|
y: Ba(e, "y")
|
|
28137
28161
|
}, i = {
|
|
28138
|
-
x:
|
|
28139
|
-
y:
|
|
28162
|
+
x: An(e, "x").domain(r.x).range(e.horizontal ? n.y : n.x),
|
|
28163
|
+
y: An(e, "y").domain(r.y).range(e.horizontal ? n.x : n.y)
|
|
28140
28164
|
}, a = e.polar ? e.origin || to(e) : void 0, o = ac(e, "line"), s = Os(e.style, o);
|
|
28141
28165
|
return {
|
|
28142
28166
|
domain: r,
|
|
@@ -28255,7 +28279,7 @@ const ene = (e) => {
|
|
|
28255
28279
|
}, {
|
|
28256
28280
|
name: "labels"
|
|
28257
28281
|
}]
|
|
28258
|
-
},
|
|
28282
|
+
}, Ln = class Ln extends k.Component {
|
|
28259
28283
|
constructor(t) {
|
|
28260
28284
|
super(t);
|
|
28261
28285
|
}
|
|
@@ -28270,14 +28294,14 @@ const ene = (e) => {
|
|
|
28270
28294
|
const {
|
|
28271
28295
|
animationWhitelist: t,
|
|
28272
28296
|
role: n
|
|
28273
|
-
} =
|
|
28297
|
+
} = Ln, r = ct(this.props, tO, n);
|
|
28274
28298
|
if (this.shouldAnimate())
|
|
28275
28299
|
return this.animateComponent(r, t);
|
|
28276
28300
|
const i = this.renderContinuousData(r), a = r.standalone ? this.renderContainer(r.containerComponent, i) : i;
|
|
28277
28301
|
return oc(a, r);
|
|
28278
28302
|
}
|
|
28279
28303
|
};
|
|
28280
|
-
ie(
|
|
28304
|
+
ie(Ln, "animationWhitelist", ["data", "domain", "height", "padding", "samples", "style", "width"]), ie(Ln, "displayName", "VictoryLine"), ie(Ln, "role", "line"), ie(Ln, "defaultTransitions", cj()), ie(Ln, "defaultPolarTransitions", uj()), ie(Ln, "continuous", !0), ie(Ln, "defaultProps", {
|
|
28281
28305
|
containerComponent: /* @__PURE__ */ k.createElement(Pt, null),
|
|
28282
28306
|
dataComponent: /* @__PURE__ */ k.createElement(ine, null),
|
|
28283
28307
|
labelComponent: /* @__PURE__ */ k.createElement(Nt, {
|
|
@@ -28289,11 +28313,11 @@ ie(In, "animationWhitelist", ["data", "domain", "height", "padding", "samples",
|
|
|
28289
28313
|
sortOrder: "ascending",
|
|
28290
28314
|
standalone: !0,
|
|
28291
28315
|
theme: Wn.grayscale
|
|
28292
|
-
}), ie(
|
|
28293
|
-
let Ev =
|
|
28316
|
+
}), ie(Ln, "getDomain", Ba), ie(Ln, "getData", zt), ie(Ln, "expectedComponents", ["dataComponent", "labelComponent", "groupComponent", "containerComponent"]);
|
|
28317
|
+
let Ev = Ln;
|
|
28294
28318
|
const bD = sa(Ev, ane), s1 = (e) => {
|
|
28295
28319
|
var {
|
|
28296
|
-
containerComponent: t = p.jsx(
|
|
28320
|
+
containerComponent: t = p.jsx(jn, {}),
|
|
28297
28321
|
themeColor: n,
|
|
28298
28322
|
// destructure last
|
|
28299
28323
|
theme: r = Wt(n)
|
|
@@ -28544,7 +28568,7 @@ const cl = (e) => {
|
|
|
28544
28568
|
ariaTitle: n,
|
|
28545
28569
|
children: r,
|
|
28546
28570
|
colorScale: i,
|
|
28547
|
-
containerComponent: a = p.jsx(
|
|
28571
|
+
containerComponent: a = p.jsx(jn, {}),
|
|
28548
28572
|
hasPatterns: o,
|
|
28549
28573
|
patternScale: s,
|
|
28550
28574
|
themeColor: l,
|
|
@@ -28663,13 +28687,13 @@ function Cne() {
|
|
|
28663
28687
|
break;
|
|
28664
28688
|
}
|
|
28665
28689
|
if (Ne !== -1) {
|
|
28666
|
-
var
|
|
28667
|
-
S[Qe] = this._legalize(
|
|
28690
|
+
var Dn = this._addTriangle(Ne, Qe, _[Ne], -1, -1, S[Ne]);
|
|
28691
|
+
S[Qe] = this._legalize(Dn + 2), S[Ne] = Dn, ne++;
|
|
28668
28692
|
for (var Vt = _[Ne]; yt = _[Vt], l(ft, Mt, v[2 * Vt], v[2 * Vt + 1], v[2 * yt], v[2 * yt + 1]); )
|
|
28669
|
-
|
|
28693
|
+
Dn = this._addTriangle(Vt, Qe, yt, S[Qe], -1, S[Vt]), S[Qe] = this._legalize(Dn + 2), _[Vt] = Vt, ne--, Vt = yt;
|
|
28670
28694
|
if (Ne === Tt)
|
|
28671
28695
|
for (; yt = b[Ne], l(ft, Mt, v[2 * yt], v[2 * yt + 1], v[2 * Ne], v[2 * Ne + 1]); )
|
|
28672
|
-
|
|
28696
|
+
Dn = this._addTriangle(yt, Qe, Ne, -1, S[Ne], S[yt]), this._legalize(Dn + 2), S[yt] = Dn, _[Ne] = Ne, ne--, Ne = yt;
|
|
28673
28697
|
this._hullStart = b[Qe] = Ne, _[Ne] = b[Vt] = Qe, _[Qe] = Vt, w[this._hashKey(ft, Mt)] = Qe, w[this._hashKey(v[2 * Ne], v[2 * Ne + 1])] = Ne;
|
|
28674
28698
|
}
|
|
28675
28699
|
}
|
|
@@ -30854,8 +30878,8 @@ function fre(e) {
|
|
|
30854
30878
|
function cue(e) {
|
|
30855
30879
|
const { t } = Pe(), { title: n, items: r, loading: i } = e, a = r.reduce((o, s) => o + s.count, 0);
|
|
30856
30880
|
return /* @__PURE__ */ p.jsx(wx, { title: n, width: "sm", height: "xs", linkText: e.linkText, to: e.to, children: /* @__PURE__ */ p.jsx(Gv, { children: i === !0 ? /* @__PURE__ */ p.jsxs(Ga, { hasGutter: !0, children: [
|
|
30857
|
-
/* @__PURE__ */ p.jsx(
|
|
30858
|
-
/* @__PURE__ */ p.jsx(
|
|
30881
|
+
/* @__PURE__ */ p.jsx(Fn, { children: /* @__PURE__ */ p.jsx(qr, { shape: "circle", width: "100px" }) }),
|
|
30882
|
+
/* @__PURE__ */ p.jsx(Fn, { style: { marginTop: "auto", marginBottom: "auto" }, children: /* @__PURE__ */ p.jsx(Gt, { direction: { default: "column" }, spaceItems: { default: "spaceItemsMd" }, children: r.map((o) => /* @__PURE__ */ p.jsx(Je, { children: /* @__PURE__ */ p.jsxs(Gt, { spaceItems: { default: "spaceItemsSm" }, children: [
|
|
30859
30883
|
/* @__PURE__ */ p.jsx(Je, { children: /* @__PURE__ */ p.jsx(dre, { children: /* @__PURE__ */ p.jsx(qr, { shape: "square", width: "12", height: "12" }) }) }),
|
|
30860
30884
|
/* @__PURE__ */ p.jsx(Je, { grow: { default: "grow" }, children: /* @__PURE__ */ p.jsx(qr, { shape: "square", width: "70px", height: "14px" }) })
|
|
30861
30885
|
] }) }, o.label)) }) })
|
|
@@ -30920,7 +30944,8 @@ function gre(e) {
|
|
|
30920
30944
|
isInline: !0,
|
|
30921
30945
|
title: f,
|
|
30922
30946
|
variant: "warning",
|
|
30923
|
-
"data-cy": f
|
|
30947
|
+
"data-cy": f,
|
|
30948
|
+
"data-testid": f
|
|
30924
30949
|
},
|
|
30925
30950
|
h
|
|
30926
30951
|
)),
|
|
@@ -31285,6 +31310,7 @@ function MD(e) {
|
|
|
31285
31310
|
}
|
|
31286
31311
|
},
|
|
31287
31312
|
"data-cy": n,
|
|
31313
|
+
"data-testid": n,
|
|
31288
31314
|
icon: r,
|
|
31289
31315
|
isDisabled: !!e.isDisabled,
|
|
31290
31316
|
isFullWidth: !0,
|
|
@@ -31401,7 +31427,7 @@ function _O(e) {
|
|
|
31401
31427
|
}
|
|
31402
31428
|
},
|
|
31403
31429
|
children: e.options.map((t) => {
|
|
31404
|
-
const n =
|
|
31430
|
+
const n = Tn(t);
|
|
31405
31431
|
return /* @__PURE__ */ p.jsx(
|
|
31406
31432
|
ql,
|
|
31407
31433
|
{
|
|
@@ -31412,6 +31438,7 @@ function _O(e) {
|
|
|
31412
31438
|
hasCheckbox: !0,
|
|
31413
31439
|
isSelected: e.selectedOptions.includes(t),
|
|
31414
31440
|
"data-cy": n,
|
|
31441
|
+
"data-testid": n,
|
|
31415
31442
|
children: t.label
|
|
31416
31443
|
},
|
|
31417
31444
|
t.key !== void 0 ? t.key : t.label
|
|
@@ -31638,6 +31665,7 @@ function gi(e) {
|
|
|
31638
31665
|
icon: /* @__PURE__ */ p.jsx(ui, { size: "md", style: { opacity: 0.7 }, children: /* @__PURE__ */ p.jsx(Ul, { "aria-hidden": !0, style: { padding: 0, margin: 0 } }) }),
|
|
31639
31666
|
variant: "control",
|
|
31640
31667
|
"data-cy": "reset",
|
|
31668
|
+
"data-testid": "reset",
|
|
31641
31669
|
onClick: () => {
|
|
31642
31670
|
var w;
|
|
31643
31671
|
u(!1), a(null), S !== null && "current" in S && ((w = S.current) == null || w.focus());
|
|
@@ -31740,7 +31768,7 @@ function wO(e) {
|
|
|
31740
31768
|
}
|
|
31741
31769
|
},
|
|
31742
31770
|
children: e.options.map((t) => {
|
|
31743
|
-
const n =
|
|
31771
|
+
const n = Tn(t);
|
|
31744
31772
|
return /* @__PURE__ */ p.jsx(
|
|
31745
31773
|
ql,
|
|
31746
31774
|
{
|
|
@@ -31931,7 +31959,8 @@ function $re(e) {
|
|
|
31931
31959
|
onChange: o,
|
|
31932
31960
|
"aria-label": "Start date",
|
|
31933
31961
|
placeholder: "YYYY-MM-DD",
|
|
31934
|
-
"data-cy": "toolbar-date-picker"
|
|
31962
|
+
"data-cy": "toolbar-date-picker",
|
|
31963
|
+
"data-testid": "toolbar-date-picker"
|
|
31935
31964
|
}
|
|
31936
31965
|
),
|
|
31937
31966
|
/* @__PURE__ */ p.jsx("div", { style: { alignSelf: "baseline", padding: 6 }, children: a("to") }),
|
|
@@ -32014,6 +32043,7 @@ function qre(e) {
|
|
|
32014
32043
|
icon: /* @__PURE__ */ p.jsx(GI, {}),
|
|
32015
32044
|
variant: n ? "primary" : "control",
|
|
32016
32045
|
"data-cy": "apply-filter",
|
|
32046
|
+
"data-testid": "apply-filter",
|
|
32017
32047
|
"aria-label": "apply filter",
|
|
32018
32048
|
onClick: () => {
|
|
32019
32049
|
e.addFilter(n), r("");
|
|
@@ -32113,6 +32143,7 @@ function OO(e) {
|
|
|
32113
32143
|
filterState: n,
|
|
32114
32144
|
setFilterState: r,
|
|
32115
32145
|
"data-cy": o,
|
|
32146
|
+
"data-testid": o,
|
|
32116
32147
|
limitFiltersToOneOrOperation: e.limitFiltersToOneOrOperation
|
|
32117
32148
|
}
|
|
32118
32149
|
)
|
|
@@ -32144,13 +32175,14 @@ function OO(e) {
|
|
|
32144
32175
|
filterState: n,
|
|
32145
32176
|
setFilterState: r,
|
|
32146
32177
|
"data-cy": o,
|
|
32178
|
+
"data-testid": o,
|
|
32147
32179
|
limitFiltersToOneOrOperation: e.limitFiltersToOneOrOperation
|
|
32148
32180
|
}
|
|
32149
32181
|
) })
|
|
32150
32182
|
] }) });
|
|
32151
32183
|
}
|
|
32152
32184
|
function zre(e) {
|
|
32153
|
-
const { toolbarFilters: t, setFilterState: n, filterState: r } = e, [i] = kt(), a =
|
|
32185
|
+
const { toolbarFilters: t, setFilterState: n, filterState: r } = e, [i] = kt(), a = !$n("md");
|
|
32154
32186
|
if (!t) return /* @__PURE__ */ p.jsx(p.Fragment, {});
|
|
32155
32187
|
if (t.length === 0) return /* @__PURE__ */ p.jsx(p.Fragment, {});
|
|
32156
32188
|
const o = t.filter((l) => !l.isPinned), s = t.filter((l) => !!l.isPinned);
|
|
@@ -32592,50 +32624,61 @@ function Ure(e) {
|
|
|
32592
32624
|
let o = /* @__PURE__ */ p.jsx(U1, {});
|
|
32593
32625
|
return t === Ze.Cards && (o = /* @__PURE__ */ p.jsx(G1, {})), t === Ze.List && (o = /* @__PURE__ */ p.jsx(H1, {})), /* @__PURE__ */ p.jsx(p1, { breakpoint: "md", toggleIcon: o, id: "view", children: /* @__PURE__ */ p.jsx(Eo, { variant: "action-group", style: { justifyContent: "end", marginRight: 0 }, children: /* @__PURE__ */ p.jsx(nr, { children: /* @__PURE__ */ p.jsxs(Ga, { hasGutter: !0, children: [
|
|
32594
32626
|
r && /* @__PURE__ */ p.jsx(Gr, { content: i.manageColumns, children: /* @__PURE__ */ p.jsx(we, { variant: "plain", icon: /* @__PURE__ */ p.jsx(eL, {}), onClick: r }) }),
|
|
32595
|
-
a > 1 && /* @__PURE__ */ p.jsx(
|
|
32596
|
-
|
|
32597
|
-
|
|
32598
|
-
|
|
32599
|
-
|
|
32600
|
-
|
|
32601
|
-
|
|
32602
|
-
|
|
32603
|
-
|
|
32604
|
-
|
|
32605
|
-
|
|
32606
|
-
|
|
32607
|
-
|
|
32608
|
-
|
|
32609
|
-
|
|
32610
|
-
|
|
32611
|
-
|
|
32612
|
-
|
|
32613
|
-
|
|
32614
|
-
|
|
32615
|
-
|
|
32616
|
-
|
|
32617
|
-
|
|
32618
|
-
|
|
32619
|
-
|
|
32620
|
-
|
|
32621
|
-
|
|
32622
|
-
|
|
32623
|
-
|
|
32624
|
-
|
|
32625
|
-
|
|
32626
|
-
|
|
32627
|
-
|
|
32628
|
-
|
|
32629
|
-
|
|
32630
|
-
|
|
32631
|
-
|
|
32632
|
-
|
|
32633
|
-
|
|
32634
|
-
|
|
32635
|
-
|
|
32636
|
-
|
|
32627
|
+
a > 1 && /* @__PURE__ */ p.jsx(
|
|
32628
|
+
iT,
|
|
32629
|
+
{
|
|
32630
|
+
"data-cy": "table-view-toggle",
|
|
32631
|
+
"data-testid": "table-view-toggle",
|
|
32632
|
+
"aria-label": "table view toggle",
|
|
32633
|
+
children: [
|
|
32634
|
+
!e.disableTableView && Ze.Table,
|
|
32635
|
+
!e.disableListView && Ze.List,
|
|
32636
|
+
!e.disableCardView && Ze.Cards
|
|
32637
|
+
].filter((s) => s).map((s) => {
|
|
32638
|
+
switch (s) {
|
|
32639
|
+
case Ze.Cards:
|
|
32640
|
+
return /* @__PURE__ */ p.jsx(
|
|
32641
|
+
ol,
|
|
32642
|
+
{
|
|
32643
|
+
icon: /* @__PURE__ */ p.jsx(G1, {}),
|
|
32644
|
+
isSelected: t === Ze.Cards,
|
|
32645
|
+
onClick: () => n == null ? void 0 : n(Ze.Cards),
|
|
32646
|
+
"aria-label": "card view",
|
|
32647
|
+
"data-cy": "card-view",
|
|
32648
|
+
"data-testid": "card-view"
|
|
32649
|
+
},
|
|
32650
|
+
"card-view"
|
|
32651
|
+
);
|
|
32652
|
+
case Ze.List:
|
|
32653
|
+
return /* @__PURE__ */ p.jsx(
|
|
32654
|
+
ol,
|
|
32655
|
+
{
|
|
32656
|
+
icon: /* @__PURE__ */ p.jsx(H1, {}),
|
|
32657
|
+
isSelected: t === Ze.List,
|
|
32658
|
+
onClick: () => n == null ? void 0 : n(Ze.List),
|
|
32659
|
+
"aria-label": "list view",
|
|
32660
|
+
"data-cy": "list-view",
|
|
32661
|
+
"data-testid": "list-view"
|
|
32662
|
+
},
|
|
32663
|
+
"list-view"
|
|
32664
|
+
);
|
|
32665
|
+
case Ze.Table:
|
|
32666
|
+
return /* @__PURE__ */ p.jsx(
|
|
32667
|
+
ol,
|
|
32668
|
+
{
|
|
32669
|
+
icon: /* @__PURE__ */ p.jsx(U1, {}),
|
|
32670
|
+
isSelected: t === Ze.Table,
|
|
32671
|
+
onClick: () => n == null ? void 0 : n(Ze.Table),
|
|
32672
|
+
"aria-label": "table view",
|
|
32673
|
+
"data-cy": "table-view",
|
|
32674
|
+
"data-testid": "table-view"
|
|
32675
|
+
},
|
|
32676
|
+
"table-view"
|
|
32677
|
+
);
|
|
32678
|
+
}
|
|
32679
|
+
})
|
|
32637
32680
|
}
|
|
32638
|
-
|
|
32681
|
+
)
|
|
32639
32682
|
] }) }) }) });
|
|
32640
32683
|
}
|
|
32641
32684
|
function Hre(e) {
|
|
@@ -32654,7 +32697,7 @@ function Hre(e) {
|
|
|
32654
32697
|
clearAllFilters: f
|
|
32655
32698
|
} = e, h = Z(() => {
|
|
32656
32699
|
f ? f() : a && a({});
|
|
32657
|
-
}, [a, f]), g =
|
|
32700
|
+
}, [a, f]), g = $n("md"), { viewType: m, setViewType: y } = e;
|
|
32658
32701
|
let { toolbarActions: x } = e;
|
|
32659
32702
|
x = x ?? [];
|
|
32660
32703
|
const [v, b] = K(""), _ = n !== void 0, S = x !== void 0 && x.length > 0, w = e.showSelect === !0 || r !== void 0 && x && x.find(
|
|
@@ -32769,7 +32812,7 @@ function Yre(e) {
|
|
|
32769
32812
|
style: l,
|
|
32770
32813
|
isFullHeight: !0,
|
|
32771
32814
|
children: [
|
|
32772
|
-
/* @__PURE__ */ p.jsx(di, { "data-cy": e.description, children: n }),
|
|
32815
|
+
/* @__PURE__ */ p.jsx(di, { "data-cy": e.description, "data-testid": e.description, children: n }),
|
|
32773
32816
|
/* @__PURE__ */ p.jsxs(ss, { children: [
|
|
32774
32817
|
i && /* @__PURE__ */ p.jsx(Nl, { children: i }),
|
|
32775
32818
|
o && /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
@@ -33591,11 +33634,12 @@ function sie(e) {
|
|
|
33591
33634
|
const { setPage: t, setPerPage: n } = e, r = Z((o, s) => t(s), [t]), i = Z(
|
|
33592
33635
|
(o, s) => n(s),
|
|
33593
33636
|
[n]
|
|
33594
|
-
), a =
|
|
33637
|
+
), a = !$n("md");
|
|
33595
33638
|
return /* @__PURE__ */ p.jsx(
|
|
33596
33639
|
fI,
|
|
33597
33640
|
{
|
|
33598
33641
|
"data-cy": "pagination",
|
|
33642
|
+
"data-testid": "pagination",
|
|
33599
33643
|
variant: hI.bottom,
|
|
33600
33644
|
itemCount: e.itemCount,
|
|
33601
33645
|
page: e.page,
|
|
@@ -33997,7 +34041,8 @@ function Sie(e, t, n, r, i, a, o, s) {
|
|
|
33997
34041
|
name: `data-list-check-${v}`,
|
|
33998
34042
|
isChecked: n == null ? void 0 : n(x),
|
|
33999
34043
|
onClick: () => c(x),
|
|
34000
|
-
"data-cy": "data-list-check"
|
|
34044
|
+
"data-cy": "data-list-check",
|
|
34045
|
+
"data-testid": "data-list-check"
|
|
34001
34046
|
}
|
|
34002
34047
|
),
|
|
34003
34048
|
/* @__PURE__ */ p.jsx(
|
|
@@ -34014,6 +34059,7 @@ function Sie(e, t, n, r, i, a, o, s) {
|
|
|
34014
34059
|
headingLevel: "h2",
|
|
34015
34060
|
style: { marginTop: -4, fontWeight: "bold" },
|
|
34016
34061
|
"data-cy": "data-list-name",
|
|
34062
|
+
"data-testid": "data-list-name",
|
|
34017
34063
|
children: /* @__PURE__ */ p.jsx("span", { id: `data-list-${v}`, children: /* @__PURE__ */ p.jsx(en, { column: u, item: x }) })
|
|
34018
34064
|
}
|
|
34019
34065
|
),
|
|
@@ -34069,6 +34115,7 @@ function Sie(e, t, n, r, i, a, o, s) {
|
|
|
34069
34115
|
"aria-label": "Actions",
|
|
34070
34116
|
style: { whiteSpace: "nowrap" },
|
|
34071
34117
|
"data-cy": "data-list-action",
|
|
34118
|
+
"data-testid": "data-list-action",
|
|
34072
34119
|
children: /* @__PURE__ */ p.jsx(
|
|
34073
34120
|
ki,
|
|
34074
34121
|
{
|
|
@@ -34350,6 +34397,7 @@ function Cie(e) {
|
|
|
34350
34397
|
isStickyColumn: !0,
|
|
34351
34398
|
stickyMinWidth: "1px",
|
|
34352
34399
|
"data-cy": "selections-column-header",
|
|
34400
|
+
"data-testid": "selections-column-header",
|
|
34353
34401
|
style: { left: v },
|
|
34354
34402
|
ref: O,
|
|
34355
34403
|
select: {
|
|
@@ -34371,7 +34419,8 @@ function Cie(e) {
|
|
|
34371
34419
|
maxWidth: A.maxWidth !== void 0 ? A.maxWidth : void 0,
|
|
34372
34420
|
width: A.fullWidth ? "100%" : void 0
|
|
34373
34421
|
},
|
|
34374
|
-
"data-cy":
|
|
34422
|
+
"data-cy": Tn(A.header + "-column-header"),
|
|
34423
|
+
"data-testid": Tn(A.header + "-column-header"),
|
|
34375
34424
|
children: A.header
|
|
34376
34425
|
},
|
|
34377
34426
|
A.header
|
|
@@ -34383,6 +34432,7 @@ function Cie(e) {
|
|
|
34383
34432
|
isStickyColumn: !0,
|
|
34384
34433
|
stickyMinWidth: "1px",
|
|
34385
34434
|
"data-cy": "action-column-header",
|
|
34435
|
+
"data-testid": "action-column-header",
|
|
34386
34436
|
ref: D
|
|
34387
34437
|
}
|
|
34388
34438
|
)
|
|
@@ -34433,6 +34483,7 @@ function Oie(e) {
|
|
|
34433
34483
|
onToggle: () => b((w) => !w)
|
|
34434
34484
|
} : void 0,
|
|
34435
34485
|
"data-cy": "expand-column-cell",
|
|
34486
|
+
"data-testid": "expand-column-cell",
|
|
34436
34487
|
isStickyColumn: !0,
|
|
34437
34488
|
stickyMinWidth: "1px",
|
|
34438
34489
|
className: v && y ? "expanded" : void 0
|
|
@@ -34452,6 +34503,7 @@ function Oie(e) {
|
|
|
34452
34503
|
isStickyColumn: !0,
|
|
34453
34504
|
stickyMinWidth: "1px",
|
|
34454
34505
|
"data-cy": "checkbox-column-cell",
|
|
34506
|
+
"data-testid": "checkbox-column-cell",
|
|
34455
34507
|
style: { left: x },
|
|
34456
34508
|
className: f && v && y ? "expanded" : void 0
|
|
34457
34509
|
}
|
|
@@ -34468,7 +34520,8 @@ function Oie(e) {
|
|
|
34468
34520
|
},
|
|
34469
34521
|
isStickyColumn: !0,
|
|
34470
34522
|
stickyMinWidth: "1px",
|
|
34471
|
-
"data-cy": "checkbox-column-cell"
|
|
34523
|
+
"data-cy": "checkbox-column-cell",
|
|
34524
|
+
"data-testid": "checkbox-column-cell"
|
|
34472
34525
|
}
|
|
34473
34526
|
),
|
|
34474
34527
|
/* @__PURE__ */ p.jsx(
|
|
@@ -34509,8 +34562,8 @@ function kie(e) {
|
|
|
34509
34562
|
dataLabel: o.header,
|
|
34510
34563
|
modifier: "nowrap",
|
|
34511
34564
|
style: { width: o.minWidth === 0 ? "0%" : void 0 },
|
|
34512
|
-
"data-cy":
|
|
34513
|
-
"data-testid":
|
|
34565
|
+
"data-cy": Tn(o.header + "-column-cell"),
|
|
34566
|
+
"data-testid": Tn(o.header + "-column-cell"),
|
|
34514
34567
|
className: e.expanded ? "expanded" : void 0,
|
|
34515
34568
|
children: /* @__PURE__ */ p.jsx(en, { item: n, column: o })
|
|
34516
34569
|
},
|
|
@@ -34527,6 +34580,7 @@ function kie(e) {
|
|
|
34527
34580
|
// ZIndex 400 is needed for PF table stick headers
|
|
34528
34581
|
},
|
|
34529
34582
|
"data-cy": "actions-column-cell",
|
|
34583
|
+
"data-testid": "actions-column-cell",
|
|
34530
34584
|
className: e.expanded ? "expanded" : void 0,
|
|
34531
34585
|
children: /* @__PURE__ */ p.jsx(
|
|
34532
34586
|
ki,
|
|
@@ -34864,6 +34918,7 @@ function Iie(e) {
|
|
|
34864
34918
|
si,
|
|
34865
34919
|
{
|
|
34866
34920
|
"data-cy": "alert-toaster",
|
|
34921
|
+
"data-testid": "alert-toaster",
|
|
34867
34922
|
isInline: !0,
|
|
34868
34923
|
title: j,
|
|
34869
34924
|
variant: "warning"
|
|
@@ -34954,8 +35009,8 @@ function Rie(e) {
|
|
|
34954
35009
|
const { view: t, tableColumns: n, toolbarFilters: r, maxSelections: i, labelForSelectedItems: a, isCompact: o } = e, [s] = kt();
|
|
34955
35010
|
return t.itemCount === void 0 && t.error === void 0 ? /* @__PURE__ */ p.jsx(qr, { height: "80px" }) : /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
34956
35011
|
/* @__PURE__ */ p.jsxs(Ga, { hasGutter: !0, children: [
|
|
34957
|
-
/* @__PURE__ */ p.jsx(
|
|
34958
|
-
t.selectedItems.length > 0 ? /* @__PURE__ */ p.jsx(
|
|
35012
|
+
/* @__PURE__ */ p.jsx(Fn, { style: { fontWeight: "bold", whiteSpace: "nowrap", marginBottom: "1rem" }, children: a ?? s.selectedText }),
|
|
35013
|
+
t.selectedItems.length > 0 ? /* @__PURE__ */ p.jsx(Fn, { children: /* @__PURE__ */ p.jsx($l, { children: t.selectedItems.map((l, c) => n && n.length > 0 ? /* @__PURE__ */ p.jsx(fi, { onClose: () => t.unselectItem(l), children: /* @__PURE__ */ p.jsx(
|
|
34959
35014
|
en,
|
|
34960
35015
|
{
|
|
34961
35016
|
item: l,
|
|
@@ -34963,7 +35018,7 @@ function Rie(e) {
|
|
|
34963
35018
|
(u) => u.card === "name" || u.list === "name"
|
|
34964
35019
|
) ?? n[0]
|
|
34965
35020
|
}
|
|
34966
|
-
) }, c) : /* @__PURE__ */ p.jsx(p.Fragment, {})) }) }) : /* @__PURE__ */ p.jsx(
|
|
35021
|
+
) }, c) : /* @__PURE__ */ p.jsx(p.Fragment, {})) }) }) : /* @__PURE__ */ p.jsx(Fn, { style: { fontStyle: "italic" }, children: s.noneSelectedText })
|
|
34967
35022
|
] }),
|
|
34968
35023
|
/* @__PURE__ */ p.jsx(
|
|
34969
35024
|
Gf,
|
|
@@ -35107,7 +35162,7 @@ function Fie(e) {
|
|
|
35107
35162
|
children: [
|
|
35108
35163
|
/* @__PURE__ */ p.jsx(Bl, { title: t }),
|
|
35109
35164
|
/* @__PURE__ */ p.jsx(Fo, { style: { overflow: "hidden" }, children: /* @__PURE__ */ p.jsxs(Ga, { hasGutter: !0, children: [
|
|
35110
|
-
/* @__PURE__ */ p.jsx(
|
|
35165
|
+
/* @__PURE__ */ p.jsx(Fn, { style: { fontWeight: "bold" }, children: d }),
|
|
35111
35166
|
o.selectedItems.length > 0 ? /* @__PURE__ */ p.jsx($l, { children: o.selectedItems.map((g, m) => s && s.length > 0 ? /* @__PURE__ */ p.jsx(fi, { variant: "outline", onClose: () => o.unselectItem(g), children: /* @__PURE__ */ p.jsx(
|
|
35112
35167
|
en,
|
|
35113
35168
|
{
|
|
@@ -35117,7 +35172,7 @@ function Fie(e) {
|
|
|
35117
35172
|
) ?? s[0]
|
|
35118
35173
|
}
|
|
35119
35174
|
) }, m) : /* @__PURE__ */ p.jsx(p.Fragment, {})) }) : /* @__PURE__ */ p.jsx(
|
|
35120
|
-
|
|
35175
|
+
Fn,
|
|
35121
35176
|
{
|
|
35122
35177
|
style: { fontStyle: "italic" },
|
|
35123
35178
|
children: h`None - Please make a selection below.`
|
|
@@ -36304,7 +36359,7 @@ function eae(e) {
|
|
|
36304
36359
|
we,
|
|
36305
36360
|
{
|
|
36306
36361
|
"data-cy": "Cancel",
|
|
36307
|
-
"data-testid": "
|
|
36362
|
+
"data-testid": "Cancel",
|
|
36308
36363
|
type: "button",
|
|
36309
36364
|
variant: "link",
|
|
36310
36365
|
onClick: r,
|
|
@@ -36342,7 +36397,7 @@ function cP(e, t, n = !1) {
|
|
|
36342
36397
|
}, setFieldError: a };
|
|
36343
36398
|
}
|
|
36344
36399
|
function iae(e) {
|
|
36345
|
-
const { errorAdapter: t = vc, isWizard: n = !1 } = e, { form: r, handleSubmit: i, error: a, setError: o, handleSubmitError: s, setFieldError: l } = cP(e.defaultValue, t, n), [c] = mt(ms), [u] = kt(), d =
|
|
36400
|
+
const { errorAdapter: t = vc, isWizard: n = !1 } = e, { form: r, handleSubmit: i, error: a, setError: o, handleSubmitError: s, setFieldError: l } = cP(e.defaultValue, t, n), [c] = mt(ms), [u] = kt(), d = $n("md"), f = e.isVertical ? !1 : c.formLayout === "horizontal", h = e.singleColumn ? !1 : c.formColumns === "multiple";
|
|
36346
36401
|
let g = e.children;
|
|
36347
36402
|
e.disableGrid !== !0 && (g = /* @__PURE__ */ p.jsx(aae, { isVertical: e.isVertical, singleColumn: e.singleColumn, children: e.children }));
|
|
36348
36403
|
const m = Zre(), y = m ? rae : ra, x = m ? {
|
|
@@ -36400,7 +36455,7 @@ function aae(e) {
|
|
|
36400
36455
|
return /* @__PURE__ */ p.jsx(CI, { hasGutter: !0, span: 12, sm: i, md: a, lg: o, xl: s, xl2: l, className: e.className, children: e.children });
|
|
36401
36456
|
}
|
|
36402
36457
|
function yue(e) {
|
|
36403
|
-
const { errorAdapter: t = vc } = e, { form: n, handleSubmit: r, error: i, setError: a, handleSubmitError: o, setFieldError: s } = cP(e.defaultValue, t), [l] = mt(ms), c =
|
|
36458
|
+
const { errorAdapter: t = vc } = e, { form: n, handleSubmit: r, error: i, setError: a, handleSubmitError: o, setFieldError: s } = cP(e.defaultValue, t), [l] = mt(ms), c = $n("md"), u = e.isVertical ? !1 : l.formLayout === "horizontal";
|
|
36404
36459
|
return /* @__PURE__ */ p.jsx(YD, { ...n, children: /* @__PURE__ */ p.jsxs(
|
|
36405
36460
|
oT,
|
|
36406
36461
|
{
|
|
@@ -39473,6 +39528,7 @@ function rle(e) {
|
|
|
39473
39528
|
{
|
|
39474
39529
|
id: t,
|
|
39475
39530
|
"data-cy": t,
|
|
39531
|
+
"data-testid": t,
|
|
39476
39532
|
ref: f,
|
|
39477
39533
|
className: "data-editor",
|
|
39478
39534
|
"aria-disabled": c ? "false" : "true"
|
|
@@ -41983,12 +42039,12 @@ function fM() {
|
|
|
41983
42039
|
}, [P, u, C]), J = Z(function(V, ne) {
|
|
41984
42040
|
var Ce = [], Te = [];
|
|
41985
42041
|
V.forEach(function(ze) {
|
|
41986
|
-
var Qe = oM(ze, D), ft = yy(Qe, 2), Mt = ft[0], Tt = ft[1], St = sM(ze, o, a), Bt = yy(St, 2), Ne = Bt[0], yt = Bt[1],
|
|
41987
|
-
if (Mt && Ne && !
|
|
42042
|
+
var Qe = oM(ze, D), ft = yy(Qe, 2), Mt = ft[0], Tt = ft[1], St = sM(ze, o, a), Bt = yy(St, 2), Ne = Bt[0], yt = Bt[1], Dn = j ? j(ze) : null;
|
|
42043
|
+
if (Mt && Ne && !Dn)
|
|
41988
42044
|
Ce.push(ze);
|
|
41989
42045
|
else {
|
|
41990
42046
|
var Vt = [Tt, yt];
|
|
41991
|
-
|
|
42047
|
+
Dn && (Vt = Vt.concat(Dn)), Te.push({
|
|
41992
42048
|
file: ze,
|
|
41993
42049
|
errors: Vt.filter(function(Di) {
|
|
41994
42050
|
return Di;
|
|
@@ -42201,6 +42257,7 @@ function lce(e) {
|
|
|
42201
42257
|
oL,
|
|
42202
42258
|
{
|
|
42203
42259
|
"data-cy": "expandable",
|
|
42260
|
+
"data-testid": "expandable",
|
|
42204
42261
|
style: {
|
|
42205
42262
|
transform: e.isExpanded ? "rotate(0deg)" : e.direction === "left" ? "rotate(90deg)" : "rotate(-90deg)",
|
|
42206
42263
|
transition: "transform 0.2s",
|
|
@@ -42389,6 +42446,7 @@ function xue(e) {
|
|
|
42389
42446
|
rle,
|
|
42390
42447
|
{
|
|
42391
42448
|
"data-cy": u,
|
|
42449
|
+
"data-testid": u,
|
|
42392
42450
|
id: u,
|
|
42393
42451
|
name: ae,
|
|
42394
42452
|
language: b,
|
|
@@ -42463,6 +42521,7 @@ function uce(e) {
|
|
|
42463
42521
|
{
|
|
42464
42522
|
id: "copy-button",
|
|
42465
42523
|
"data-cy": "copy-button",
|
|
42524
|
+
"data-testid": "copy-button",
|
|
42466
42525
|
"aria-label": t("Copy to clipboard"),
|
|
42467
42526
|
type: "button",
|
|
42468
42527
|
onClick: n,
|
|
@@ -42474,6 +42533,7 @@ function uce(e) {
|
|
|
42474
42533
|
{
|
|
42475
42534
|
id: "upload-button",
|
|
42476
42535
|
"data-cy": "upload-button",
|
|
42536
|
+
"data-testid": "upload-button",
|
|
42477
42537
|
"aria-label": t("Upload from file"),
|
|
42478
42538
|
type: "button",
|
|
42479
42539
|
onClick: i,
|
|
@@ -42485,6 +42545,7 @@ function uce(e) {
|
|
|
42485
42545
|
{
|
|
42486
42546
|
id: "download-button",
|
|
42487
42547
|
"data-cy": "download-button",
|
|
42548
|
+
"data-testid": "download-button",
|
|
42488
42549
|
"aria-label": t("Download file"),
|
|
42489
42550
|
type: "button",
|
|
42490
42551
|
onClick: r,
|
|
@@ -42511,6 +42572,7 @@ function dce(e) {
|
|
|
42511
42572
|
{
|
|
42512
42573
|
id: "toggle-yaml",
|
|
42513
42574
|
"data-cy": "toggle-yaml",
|
|
42575
|
+
"data-testid": "toggle-yaml",
|
|
42514
42576
|
"aria-label": t("Toggle to YAML"),
|
|
42515
42577
|
isSelected: a === "yaml",
|
|
42516
42578
|
text: "YAML",
|
|
@@ -42523,6 +42585,7 @@ function dce(e) {
|
|
|
42523
42585
|
{
|
|
42524
42586
|
id: "toggle-json",
|
|
42525
42587
|
"data-cy": "toggle-json",
|
|
42588
|
+
"data-testid": "toggle-json",
|
|
42526
42589
|
"aria-label": t("Toggle to JSON"),
|
|
42527
42590
|
isSelected: a === "json",
|
|
42528
42591
|
text: "JSON",
|
|
@@ -42630,6 +42693,7 @@ function bue(e) {
|
|
|
42630
42693
|
Ha,
|
|
42631
42694
|
{
|
|
42632
42695
|
"data-cy": `${g}-form-group`,
|
|
42696
|
+
"data-testid": `${g}-form-group`,
|
|
42633
42697
|
id: `${g}-form-group-toggle`,
|
|
42634
42698
|
isDisabled: i || a || b,
|
|
42635
42699
|
ref: A,
|
|
@@ -42684,7 +42748,7 @@ function bue(e) {
|
|
|
42684
42748
|
},
|
|
42685
42749
|
children: /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
|
|
42686
42750
|
/* @__PURE__ */ p.jsx(Zv, { children: d.map(($) => {
|
|
42687
|
-
const F =
|
|
42751
|
+
const F = Tn($);
|
|
42688
42752
|
return /* @__PURE__ */ p.jsx(
|
|
42689
42753
|
ql,
|
|
42690
42754
|
{
|
|
@@ -42774,6 +42838,7 @@ function _ue(e) {
|
|
|
42774
42838
|
{
|
|
42775
42839
|
fieldId: f,
|
|
42776
42840
|
"data-cy": f + "-form-group",
|
|
42841
|
+
"data-testid": f + "-form-group",
|
|
42777
42842
|
label: a,
|
|
42778
42843
|
labelHelpTitle: s ?? a,
|
|
42779
42844
|
labelHelp: o,
|
|
@@ -42926,13 +42991,13 @@ function Sue(e) {
|
|
|
42926
42991
|
message: `${$r(
|
|
42927
42992
|
r.toLocaleLowerCase()
|
|
42928
42993
|
)} must be less than ${y}.`
|
|
42929
|
-
} :
|
|
42994
|
+
} : y,
|
|
42930
42995
|
max: typeof r == "string" && (typeof x == "number" || typeof x == "string") ? {
|
|
42931
42996
|
value: x,
|
|
42932
42997
|
message: `${$r(
|
|
42933
42998
|
r.toLocaleLowerCase()
|
|
42934
42999
|
)} cannot be greater than ${x}.`
|
|
42935
|
-
} :
|
|
43000
|
+
} : x,
|
|
42936
43001
|
pattern: v
|
|
42937
43002
|
}
|
|
42938
43003
|
}
|
|
@@ -43049,7 +43114,7 @@ function wue(e) {
|
|
|
43049
43114
|
b && /* @__PURE__ */ p.jsx(
|
|
43050
43115
|
we,
|
|
43051
43116
|
{
|
|
43052
|
-
icon: /* @__PURE__ */ p.jsx(cs, { "data-cy": "lookup-button" }),
|
|
43117
|
+
icon: /* @__PURE__ */ p.jsx(cs, { "data-cy": "lookup-button", "data-testid": "lookup-button" }),
|
|
43053
43118
|
ouiaId: `lookup-${ce}-button`,
|
|
43054
43119
|
variant: "control",
|
|
43055
43120
|
onClick: () => _ == null ? void 0 : _((le) => {
|
|
@@ -43122,7 +43187,7 @@ function wue(e) {
|
|
|
43122
43187
|
message: `${$r(
|
|
43123
43188
|
r.toLocaleLowerCase()
|
|
43124
43189
|
)} must be greater or equal to ${y}.`
|
|
43125
|
-
} :
|
|
43190
|
+
} : y,
|
|
43126
43191
|
max: typeof r == "string" && (typeof x == "number" || typeof x == "string") ? {
|
|
43127
43192
|
value: x,
|
|
43128
43193
|
message: `${$r(
|
|
@@ -43153,6 +43218,7 @@ function pce(e) {
|
|
|
43153
43218
|
MI,
|
|
43154
43219
|
{
|
|
43155
43220
|
"data-cy": n.label,
|
|
43221
|
+
"data-testid": n.label,
|
|
43156
43222
|
id: n.id,
|
|
43157
43223
|
component: n.component,
|
|
43158
43224
|
isActive: n.to === void 0,
|
|
@@ -43161,6 +43227,7 @@ function pce(e) {
|
|
|
43161
43227
|
{
|
|
43162
43228
|
href: n.to,
|
|
43163
43229
|
"data-cy": n.label,
|
|
43230
|
+
"data-testid": n.label,
|
|
43164
43231
|
onClick: (i) => {
|
|
43165
43232
|
i.preventDefault(), n.to && t(n.to);
|
|
43166
43233
|
},
|
|
@@ -43172,7 +43239,7 @@ function pce(e) {
|
|
|
43172
43239
|
) : /* @__PURE__ */ p.jsx(Ct, {}, r)) }) : /* @__PURE__ */ p.jsx(Ct, {});
|
|
43173
43240
|
}
|
|
43174
43241
|
function Oue(e) {
|
|
43175
|
-
const { title: t, description: n, controls: r, headerActions: i, footer: a } = e, o =
|
|
43242
|
+
const { title: t, description: n, controls: r, headerActions: i, footer: a } = e, o = $n("lg"), s = $n("xl"), l = $n("md"), [c] = kt(), { tabBreadcrumb: u } = hce(), d = ue(() => {
|
|
43176
43243
|
const f = [];
|
|
43177
43244
|
return e.breadcrumbs && (f.push(...e.breadcrumbs), u && f.push(u)), f;
|
|
43178
43245
|
}, [e.breadcrumbs, u]);
|
|
@@ -43223,12 +43290,21 @@ function Oue(e) {
|
|
|
43223
43290
|
] })
|
|
43224
43291
|
}
|
|
43225
43292
|
) : /* @__PURE__ */ p.jsx(pl, { "data-cy": "page-title", "data-testid": "page-title", headingLevel: "h1", children: t }) : null,
|
|
43226
|
-
l && n && /* @__PURE__ */ p.jsx(
|
|
43293
|
+
l && n && /* @__PURE__ */ p.jsx(
|
|
43294
|
+
"div",
|
|
43295
|
+
{
|
|
43296
|
+
"data-cy": "app-description",
|
|
43297
|
+
"data-testid": "app-description",
|
|
43298
|
+
style: { paddingTop: s ? 4 : 2, opacity: 0.8 },
|
|
43299
|
+
children: n
|
|
43300
|
+
}
|
|
43301
|
+
)
|
|
43227
43302
|
] }),
|
|
43228
43303
|
t && (i || r) && /* @__PURE__ */ p.jsxs(
|
|
43229
43304
|
Gt,
|
|
43230
43305
|
{
|
|
43231
43306
|
"data-cy": "manage-view",
|
|
43307
|
+
"data-testid": "manage-view",
|
|
43232
43308
|
direction: { default: "column" },
|
|
43233
43309
|
spaceItems: { default: "spaceItemsSm", xl: "spaceItemsMd" },
|
|
43234
43310
|
justifyContent: { default: "justifyContentCenter" },
|
|
@@ -43270,6 +43346,7 @@ function kue(e) {
|
|
|
43270
43346
|
{
|
|
43271
43347
|
id: "toolbar",
|
|
43272
43348
|
"data-cy": "toolbar",
|
|
43349
|
+
"data-testid": "toolbar",
|
|
43273
43350
|
inset: { default: "insetNone" },
|
|
43274
43351
|
style: { padding: 0 },
|
|
43275
43352
|
children: /* @__PURE__ */ p.jsx(_y, { children: e.children })
|
|
@@ -43284,6 +43361,7 @@ function mce() {
|
|
|
43284
43361
|
{
|
|
43285
43362
|
isHamburgerButton: !0,
|
|
43286
43363
|
"data-cy": "nav-toggle",
|
|
43364
|
+
"data-testid": "nav-toggle",
|
|
43287
43365
|
variant: "plain",
|
|
43288
43366
|
"aria-label": "Global navigation"
|
|
43289
43367
|
}
|
|
@@ -43298,6 +43376,7 @@ function Tue() {
|
|
|
43298
43376
|
zI,
|
|
43299
43377
|
{
|
|
43300
43378
|
"data-cy": "notification-badge",
|
|
43379
|
+
"data-testid": "notification-badge",
|
|
43301
43380
|
variant: r === 0 ? "read" : "unread",
|
|
43302
43381
|
count: r,
|
|
43303
43382
|
onClick: () => e((i) => !i)
|
|
@@ -43311,6 +43390,7 @@ function Aue() {
|
|
|
43311
43390
|
{
|
|
43312
43391
|
icon: /* @__PURE__ */ p.jsx(uL, {}),
|
|
43313
43392
|
"data-cy": "settings-icon",
|
|
43393
|
+
"data-testid": "settings-icon",
|
|
43314
43394
|
variant: "plain",
|
|
43315
43395
|
onClick: () => t({ ...e, theme: "light" })
|
|
43316
43396
|
}
|
|
@@ -43319,6 +43399,7 @@ function Aue() {
|
|
|
43319
43399
|
{
|
|
43320
43400
|
icon: /* @__PURE__ */ p.jsx(dL, {}),
|
|
43321
43401
|
"data-cy": "theme-icon",
|
|
43402
|
+
"data-testid": "theme-icon",
|
|
43322
43403
|
variant: "plain",
|
|
43323
43404
|
onClick: () => t({ ...e, theme: "dark" })
|
|
43324
43405
|
}
|
|
@@ -43620,6 +43701,7 @@ function Nk(e) {
|
|
|
43620
43701
|
"button",
|
|
43621
43702
|
{
|
|
43622
43703
|
"data-cy": "wizard-next",
|
|
43704
|
+
"data-testid": "wizard-next",
|
|
43623
43705
|
className: "pf-v6-c-button pf-m-primary",
|
|
43624
43706
|
type: "submit",
|
|
43625
43707
|
onClick: () => {
|
|
@@ -43689,6 +43771,7 @@ function Tce({
|
|
|
43689
43771
|
"div",
|
|
43690
43772
|
{
|
|
43691
43773
|
"data-cy": `wizard-section-${o.id}`,
|
|
43774
|
+
"data-testid": `wizard-section-${o.id}`,
|
|
43692
43775
|
style: { display: "flex", flexDirection: "column", flexGrow: 1, overflow: "hidden" },
|
|
43693
43776
|
children: [
|
|
43694
43777
|
/* @__PURE__ */ p.jsx(
|
|
@@ -43758,12 +43841,21 @@ const oi = {
|
|
|
43758
43841
|
function Dce(e) {
|
|
43759
43842
|
const { t } = Pe();
|
|
43760
43843
|
return /* @__PURE__ */ p.jsxs(jce, { className: Lr([oi.wizardHeader]), children: [
|
|
43761
|
-
/* @__PURE__ */ p.jsx("div", { className: Lr(oi.wizardTitle), children: /* @__PURE__ */ p.jsx(
|
|
43844
|
+
/* @__PURE__ */ p.jsx("div", { className: Lr(oi.wizardTitle), children: /* @__PURE__ */ p.jsx(
|
|
43845
|
+
"h2",
|
|
43846
|
+
{
|
|
43847
|
+
"data-cy": "wizard-title",
|
|
43848
|
+
"data-testid": "wizard-title",
|
|
43849
|
+
className: Lr(oi.wizardTitleText),
|
|
43850
|
+
children: e.title
|
|
43851
|
+
}
|
|
43852
|
+
) }),
|
|
43762
43853
|
e.onClose && /* @__PURE__ */ p.jsx("div", { className: Lr(oi.wizardClose), children: /* @__PURE__ */ p.jsx(
|
|
43763
43854
|
we,
|
|
43764
43855
|
{
|
|
43765
43856
|
icon: /* @__PURE__ */ p.jsx(Ul, { "aria-hidden": "true" }),
|
|
43766
43857
|
"data-cy": "wizard-close",
|
|
43858
|
+
"data-testid": "wizard-close",
|
|
43767
43859
|
variant: "plain",
|
|
43768
43860
|
"aria-label": t("Close wizard"),
|
|
43769
43861
|
onClick: e.onClose
|
|
@@ -43799,6 +43891,7 @@ function Pce() {
|
|
|
43799
43891
|
{
|
|
43800
43892
|
className: "pf-v6-c-wizard__nav-item",
|
|
43801
43893
|
"data-cy": `wizard-nav-item-${s.id}`,
|
|
43894
|
+
"data-testid": `wizard-nav-item-${s.id}`,
|
|
43802
43895
|
children: [
|
|
43803
43896
|
/* @__PURE__ */ p.jsx(
|
|
43804
43897
|
"button",
|
|
@@ -43841,6 +43934,7 @@ function Mce(e) {
|
|
|
43841
43934
|
{
|
|
43842
43935
|
className: "pf-v6-c-wizard__nav-item",
|
|
43843
43936
|
"data-cy": `wizard-nav-item-${s.id}`,
|
|
43937
|
+
"data-testid": `wizard-nav-item-${s.id}`,
|
|
43844
43938
|
children: /* @__PURE__ */ p.jsxs(
|
|
43845
43939
|
"button",
|
|
43846
43940
|
{
|
|
@@ -43882,6 +43976,7 @@ function Ice() {
|
|
|
43882
43976
|
"aria-label": e("Wizard toggle"),
|
|
43883
43977
|
"aria-expanded": n,
|
|
43884
43978
|
"data-cy": "wizard-toggle",
|
|
43979
|
+
"data-testid": "wizard-toggle",
|
|
43885
43980
|
children: [
|
|
43886
43981
|
/* @__PURE__ */ p.jsx("span", { className: Lr(oi.wizardToggleList), children: /* @__PURE__ */ p.jsxs("span", { className: Lr(oi.wizardToggleListItem), children: [
|
|
43887
43982
|
/* @__PURE__ */ p.jsx("span", { className: Lr(oi.wizardToggleNum), children: 1 }),
|
|
@@ -44291,7 +44386,7 @@ export {
|
|
|
44291
44386
|
ZR as k,
|
|
44292
44387
|
n4 as l,
|
|
44293
44388
|
FL as m,
|
|
44294
|
-
|
|
44389
|
+
$n as n,
|
|
44295
44390
|
Hce as o,
|
|
44296
44391
|
UT as p,
|
|
44297
44392
|
et as q,
|