@pantheon-systems/pds-toolkit-react 1.0.0-dev.229 → 1.0.0-dev.230
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/_dist/css/component-css/pds-file-upload.css +1 -1
- package/_dist/css/component-css/pds-index.css +1 -1
- package/_dist/css/pds-components.css +1 -1
- package/_dist/css/pds-core.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.js +1009 -1007
- package/_dist/index.js.map +1 -1
- package/package.json +2 -1
package/_dist/index.js
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import './index.css';var
|
|
2
|
-
var
|
|
1
|
+
import './index.css';var I1 = Object.defineProperty, A1 = Object.defineProperties;
|
|
2
|
+
var T1 = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var gt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var t1 = Object.prototype.hasOwnProperty, s1 = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var e1 = (t, s, n) => s in t ? I1(t, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[s] = n, H = (t, s) => {
|
|
6
6
|
for (var n in s || (s = {}))
|
|
7
|
-
|
|
7
|
+
t1.call(s, n) && e1(t, n, s[n]);
|
|
8
8
|
if (gt)
|
|
9
9
|
for (var n of gt(s))
|
|
10
|
-
|
|
10
|
+
s1.call(s, n) && e1(t, n, s[n]);
|
|
11
11
|
return t;
|
|
12
|
-
}, he = (t, s) =>
|
|
12
|
+
}, he = (t, s) => A1(t, T1(s));
|
|
13
13
|
var T = (t, s) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var l in t)
|
|
16
|
-
|
|
16
|
+
t1.call(t, l) && s.indexOf(l) < 0 && (n[l] = t[l]);
|
|
17
17
|
if (t != null && gt)
|
|
18
18
|
for (var l of gt(t))
|
|
19
|
-
s.indexOf(l) < 0 &&
|
|
19
|
+
s.indexOf(l) < 0 && s1.call(t, l) && (n[l] = t[l]);
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Nt = (t, s, n) => new Promise((l, r) => {
|
|
23
23
|
var d = (o) => {
|
|
24
24
|
try {
|
|
25
25
|
c(n.next(o));
|
|
@@ -35,25 +35,26 @@ var kt = (t, s, n) => new Promise((l, r) => {
|
|
|
35
35
|
}, c = (o) => o.done ? l(o.value) : Promise.resolve(o.value).then(d, a);
|
|
36
36
|
c((n = n.apply(t, s)).next());
|
|
37
37
|
});
|
|
38
|
-
import e, { Children as
|
|
39
|
-
import
|
|
40
|
-
import { useFloating as Se, offset as
|
|
41
|
-
import { useHotkeys as
|
|
42
|
-
import { useFloating as
|
|
38
|
+
import e, { Children as u1, isValidElement as $e, cloneElement as Ve, useState as G, createElement as D1, forwardRef as Ge, useEffect as oe, useRef as de, createContext as p1, useContext as we, useLayoutEffect as O1, useCallback as R1, createRef as F1, useMemo as P1, Fragment as B1 } from "react";
|
|
39
|
+
import h1 from "hash-sum";
|
|
40
|
+
import { useFloating as Se, offset as yt, flip as Lt, shift as Ht, autoUpdate as Re, useHover as vt, useFocus as f1, useDismiss as Ie, useRole as Ae, useInteractions as Te, FloatingPortal as g1, useId as W1, useClick as Ye, useListNavigation as ot, useTransitionStyles as Qe, FloatingOverlay as G1, FloatingFocusManager as _1, safePolygon as E1, arrow as U1, FloatingArrow as Z1 } from "@floating-ui/react";
|
|
41
|
+
import { useHotkeys as q1 } from "react-hotkeys-hook";
|
|
42
|
+
import { useFloating as j1, flip as K1 } from "@floating-ui/react-dom";
|
|
43
43
|
import { CodeBlock as it } from "react-code-block";
|
|
44
|
-
import {
|
|
45
|
-
import
|
|
46
|
-
import
|
|
47
|
-
|
|
44
|
+
import { isSafari as _t } from "react-device-detect";
|
|
45
|
+
import { useMeasure as Mt } from "@reactuses/core";
|
|
46
|
+
import X1 from "focus-trap-react";
|
|
47
|
+
import { ToastContainer as Y1, Slide as Q1, cssTransition as J1, toast as n1 } from "react-toastify";
|
|
48
|
+
const nt = () => Math.random().toString(32).substring(2, 13), v1 = (t, s) => {
|
|
48
49
|
if (!(t != null && t.childNodes))
|
|
49
50
|
return;
|
|
50
51
|
let n;
|
|
51
52
|
for (s = s || [], n = 0; n < t.childNodes.length; n++)
|
|
52
|
-
s.push(t.childNodes[n]),
|
|
53
|
+
s.push(t.childNodes[n]), v1(t.childNodes[n], s);
|
|
53
54
|
return s;
|
|
54
55
|
}, Ue = (t) => {
|
|
55
56
|
const s = {};
|
|
56
|
-
return
|
|
57
|
+
return u1.forEach(t, (n) => {
|
|
57
58
|
if ($e(n)) {
|
|
58
59
|
const l = n.props.slot;
|
|
59
60
|
l && (s[l] ? s[l].push(n) : s[l] = [n]);
|
|
@@ -69,7 +70,7 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
69
70
|
"iconSize",
|
|
70
71
|
"className"
|
|
71
72
|
]);
|
|
72
|
-
const a = `pds-icon pds-icon--${s} pds-icon--${t}`, c = `0 0 ${
|
|
73
|
+
const a = `pds-icon pds-icon--${s} pds-icon--${t}`, c = `0 0 ${Wt[t].width} 512`, o = {
|
|
73
74
|
sm: "0.8rem",
|
|
74
75
|
md: "1rem",
|
|
75
76
|
lg: "1.2rem",
|
|
@@ -91,9 +92,9 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
91
92
|
focusable: "false",
|
|
92
93
|
className: [a, n != null ? n : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
93
94
|
}, l),
|
|
94
|
-
/* @__PURE__ */ e.createElement("path", { d:
|
|
95
|
+
/* @__PURE__ */ e.createElement("path", { d: Wt[t].path, fill: "currentColor" })
|
|
95
96
|
);
|
|
96
|
-
},
|
|
97
|
+
}, Wt = {
|
|
97
98
|
angleDown: {
|
|
98
99
|
path: "M201.4 342.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 274.7 86.6 137.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z",
|
|
99
100
|
width: "440"
|
|
@@ -750,7 +751,7 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
750
751
|
path: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z",
|
|
751
752
|
width: "576"
|
|
752
753
|
}
|
|
753
|
-
},
|
|
754
|
+
}, ns = Object.keys(Wt), a1 = [
|
|
754
755
|
"dawn",
|
|
755
756
|
"dragonfruit",
|
|
756
757
|
"dusk",
|
|
@@ -767,10 +768,10 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
767
768
|
"sunrise",
|
|
768
769
|
"twilight",
|
|
769
770
|
"winter"
|
|
770
|
-
],
|
|
771
|
-
const s = parseInt(
|
|
772
|
-
return
|
|
773
|
-
},
|
|
771
|
+
], e2 = (t) => {
|
|
772
|
+
const s = parseInt(h1(t), 16);
|
|
773
|
+
return a1[s % a1.length];
|
|
774
|
+
}, Gt = (o) => {
|
|
774
775
|
var i = o, {
|
|
775
776
|
ariaLabel: t,
|
|
776
777
|
hasUserFallback: s = !1,
|
|
@@ -789,7 +790,7 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
789
790
|
"className"
|
|
790
791
|
]);
|
|
791
792
|
const f = "pds-avatar", p = `${f}--${r}`, m = n ? `${f}--image` : null, E = {
|
|
792
|
-
backgroundImage: d ? `var(--pds-color-gradient-avatar-${
|
|
793
|
+
backgroundImage: d ? `var(--pds-color-gradient-avatar-${e2(d)})` : null,
|
|
793
794
|
borderRadius: "100%",
|
|
794
795
|
height: "100%",
|
|
795
796
|
width: "100%",
|
|
@@ -831,7 +832,7 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
831
832
|
}, r),
|
|
832
833
|
/* @__PURE__ */ e.createElement("span", { className: `${c}__label` }, t)
|
|
833
834
|
);
|
|
834
|
-
},
|
|
835
|
+
}, qt = (c) => {
|
|
835
836
|
var o = c, {
|
|
836
837
|
color: t = "transparent",
|
|
837
838
|
hasStatusIndicator: s = !1,
|
|
@@ -856,7 +857,7 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
856
857
|
s === !0 && /* @__PURE__ */ e.createElement("span", { className: [p, m].join(" ").trim() }, r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, l, " ", r)),
|
|
857
858
|
/* @__PURE__ */ e.createElement("span", { className: `${i}__label` }, n)
|
|
858
859
|
);
|
|
859
|
-
},
|
|
860
|
+
}, bt = (d) => {
|
|
860
861
|
var a = d, {
|
|
861
862
|
label: t,
|
|
862
863
|
type: s = "neutral",
|
|
@@ -883,8 +884,8 @@ const nt = () => Math.random().toString(32).substring(2, 13), E1 = (t, s) => {
|
|
|
883
884
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, i), t)
|
|
884
885
|
);
|
|
885
886
|
};
|
|
886
|
-
|
|
887
|
-
const
|
|
887
|
+
bt.displayName = "Tally";
|
|
888
|
+
const xt = 300, t2 = 400, xe = (p) => {
|
|
888
889
|
var m = p, {
|
|
889
890
|
content: t,
|
|
890
891
|
customTrigger: s = null,
|
|
@@ -894,7 +895,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
894
895
|
triggerIcon: d = "circleInfo",
|
|
895
896
|
triggerIconColor: a = "default",
|
|
896
897
|
triggerIconSize: c = "sm",
|
|
897
|
-
zIndex: o =
|
|
898
|
+
zIndex: o = t2,
|
|
898
899
|
className: i
|
|
899
900
|
} = m, f = T(m, [
|
|
900
901
|
"content",
|
|
@@ -908,7 +909,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
908
909
|
"zIndex",
|
|
909
910
|
"className"
|
|
910
911
|
]);
|
|
911
|
-
const [b, E] =
|
|
912
|
+
const [b, E] = G(!1), y = typeof s, v = "pds-tooltip", C = x([
|
|
912
913
|
`${v}__trigger-custom`,
|
|
913
914
|
y === "string" ? `${v}__trigger-text` : null
|
|
914
915
|
]), h = x([
|
|
@@ -918,13 +919,13 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
918
919
|
placement: l,
|
|
919
920
|
open: b,
|
|
920
921
|
onOpenChange: E,
|
|
921
|
-
middleware: [
|
|
922
|
+
middleware: [yt(n), Lt(), Ht()],
|
|
922
923
|
whileElementsMounted: Re
|
|
923
|
-
}), w =
|
|
924
|
+
}), w = vt(_, {
|
|
924
925
|
restMs: 300,
|
|
925
926
|
delay: { open: 500, close: 0 },
|
|
926
927
|
move: !1
|
|
927
|
-
}), M =
|
|
928
|
+
}), M = f1(_), k = Ie(_), $ = Ae(_, { role: "tooltip" }), { getReferenceProps: L, getFloatingProps: z } = Te([
|
|
928
929
|
w,
|
|
929
930
|
M,
|
|
930
931
|
k,
|
|
@@ -953,7 +954,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
953
954
|
iconSize: c
|
|
954
955
|
}
|
|
955
956
|
)
|
|
956
|
-
), b && /* @__PURE__ */ e.createElement(
|
|
957
|
+
), b && /* @__PURE__ */ e.createElement(g1, null, /* @__PURE__ */ e.createElement(
|
|
957
958
|
"div",
|
|
958
959
|
H({
|
|
959
960
|
className: `${v}__container`,
|
|
@@ -962,7 +963,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
962
963
|
}, z()),
|
|
963
964
|
t
|
|
964
965
|
)));
|
|
965
|
-
},
|
|
966
|
+
}, as = (c) => {
|
|
966
967
|
var o = c, {
|
|
967
968
|
numberAhead: t,
|
|
968
969
|
numberAheadDescription: s = "commits ahead of main",
|
|
@@ -1035,19 +1036,19 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1035
1036
|
"className"
|
|
1036
1037
|
]);
|
|
1037
1038
|
const o = t ? `${t}__heading` : null;
|
|
1038
|
-
return
|
|
1039
|
+
return D1(
|
|
1039
1040
|
l,
|
|
1040
1041
|
H({ className: x([o, r]), id: n }, d),
|
|
1041
1042
|
s
|
|
1042
1043
|
);
|
|
1043
|
-
},
|
|
1044
|
+
}, jt = (t) => typeof t == "string" || typeof t == "number" ? String(t) : e.isValidElement(t) ? e.Children.toArray(t.props.children).map(jt).join("") : "", Q = {
|
|
1044
1045
|
base: "pds-input",
|
|
1045
1046
|
disabled: "pds-is-disabled",
|
|
1046
1047
|
required: "pds-is-required",
|
|
1047
1048
|
error: "pds-has-error",
|
|
1048
1049
|
success: "pds-has-success",
|
|
1049
1050
|
readonly: "pds-is-readonly"
|
|
1050
|
-
}, at = (t) => t ? { width: `${t / 16}rem` } : null,
|
|
1051
|
+
}, at = (t) => t ? { width: `${t / 16}rem` } : null, b1 = () => /* @__PURE__ */ e.createElement(
|
|
1051
1052
|
F,
|
|
1052
1053
|
{
|
|
1053
1054
|
iconName: "asterisk",
|
|
@@ -1069,7 +1070,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1069
1070
|
"pds-input-label",
|
|
1070
1071
|
n ? null : "visually-hidden",
|
|
1071
1072
|
o != null ? o : ""
|
|
1072
|
-
]), f = /* @__PURE__ */ e.createElement(e.Fragment, null, s, l && !r && /* @__PURE__ */ e.createElement(
|
|
1073
|
+
]), f = /* @__PURE__ */ e.createElement(e.Fragment, null, s, l && !r && /* @__PURE__ */ e.createElement(b1, null), c && /* @__PURE__ */ e.createElement(xe, { content: c }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(F, { iconName: "circleInfo", iconSize: "sm" }))));
|
|
1073
1074
|
return d ? /* @__PURE__ */ e.createElement("legend", { className: i, id: `${t}-legend` }, f) : a ? /* @__PURE__ */ e.createElement("span", { className: i, id: `${t}-field-label` }, f) : /* @__PURE__ */ e.createElement("label", { htmlFor: t, className: i, id: `${t}-label` }, f);
|
|
1074
1075
|
}, De = ({
|
|
1075
1076
|
id: t,
|
|
@@ -1090,7 +1091,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1090
1091
|
l && r && /* @__PURE__ */ e.createElement(ft, { variant: r }),
|
|
1091
1092
|
/* @__PURE__ */ e.createElement("div", { className: `${a}__text` }, s)
|
|
1092
1093
|
);
|
|
1093
|
-
},
|
|
1094
|
+
}, s2 = {
|
|
1094
1095
|
search: "magnifyingGlass",
|
|
1095
1096
|
error: "triangleExclamation",
|
|
1096
1097
|
success: "check",
|
|
@@ -1100,18 +1101,18 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1100
1101
|
return /* @__PURE__ */ e.createElement("div", { className: x([s, `${s}--${t}`]) }, /* @__PURE__ */ e.createElement(
|
|
1101
1102
|
F,
|
|
1102
1103
|
{
|
|
1103
|
-
iconName:
|
|
1104
|
+
iconName: s2[t],
|
|
1104
1105
|
iconSize: "md",
|
|
1105
1106
|
className: `${s}__icon`
|
|
1106
1107
|
}
|
|
1107
1108
|
));
|
|
1108
|
-
},
|
|
1109
|
+
}, C1 = ({
|
|
1109
1110
|
inputId: t,
|
|
1110
1111
|
shortcutLabel: s
|
|
1111
|
-
}) => (
|
|
1112
|
+
}) => (q1("/", (l) => {
|
|
1112
1113
|
const r = document.getElementById(t);
|
|
1113
1114
|
r && r.focus(), l.preventDefault();
|
|
1114
|
-
}), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s), /* @__PURE__ */ e.createElement(F, { iconName: "slashForward", iconSize: "md" }))),
|
|
1115
|
+
}), /* @__PURE__ */ e.createElement("div", { className: "pds-input-search-shortcut" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s), /* @__PURE__ */ e.createElement(F, { iconName: "slashForward", iconSize: "md" }))), Kt = ({
|
|
1115
1116
|
id: t,
|
|
1116
1117
|
clearLabel: s,
|
|
1117
1118
|
handleClearInput: n
|
|
@@ -1125,7 +1126,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1125
1126
|
onClick: n
|
|
1126
1127
|
},
|
|
1127
1128
|
/* @__PURE__ */ e.createElement(F, { iconName: "xmark", iconSize: "md" })
|
|
1128
|
-
),
|
|
1129
|
+
), $1 = ({
|
|
1129
1130
|
id: t,
|
|
1130
1131
|
currentLength: s,
|
|
1131
1132
|
maxLength: n,
|
|
@@ -1143,13 +1144,13 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1143
1144
|
n,
|
|
1144
1145
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden", "aria-live": "polite" }, r && `${l} ${d}`)
|
|
1145
1146
|
);
|
|
1146
|
-
},
|
|
1147
|
+
}, Xt = (n) => {
|
|
1147
1148
|
var l = n, { label: t } = l, s = T(l, ["label"]);
|
|
1148
1149
|
return /* @__PURE__ */ e.createElement("span", H({ className: "visually-hidden" }, s), t);
|
|
1149
|
-
},
|
|
1150
|
+
}, l1 = (t) => "options" in t, Ut = Ge(
|
|
1150
1151
|
(d, r) => {
|
|
1151
1152
|
var a = d, { children: t, isActive: s, className: n } = a, l = T(a, ["children", "isActive", "className"]);
|
|
1152
|
-
const c =
|
|
1153
|
+
const c = W1(), o = "pds-input__select-option", i = s ? `${o}--active` : null;
|
|
1153
1154
|
return /* @__PURE__ */ e.createElement(
|
|
1154
1155
|
"li",
|
|
1155
1156
|
H({
|
|
@@ -1162,7 +1163,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1162
1163
|
t
|
|
1163
1164
|
);
|
|
1164
1165
|
}
|
|
1165
|
-
),
|
|
1166
|
+
), zt = (c) => {
|
|
1166
1167
|
var o = c, {
|
|
1167
1168
|
colorType: t = "full-color",
|
|
1168
1169
|
isInline: s = !1,
|
|
@@ -1187,7 +1188,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1187
1188
|
"aria-hidden": "true"
|
|
1188
1189
|
}, a),
|
|
1189
1190
|
/* @__PURE__ */ e.createElement("span", { className: `${i}__icon` }),
|
|
1190
|
-
l && !s ? /* @__PURE__ */ e.createElement("span", { className: `${i}__label` }, n) : /* @__PURE__ */ e.createElement(
|
|
1191
|
+
l && !s ? /* @__PURE__ */ e.createElement("span", { className: `${i}__label` }, n) : /* @__PURE__ */ e.createElement(Xt, { label: n })
|
|
1191
1192
|
);
|
|
1192
1193
|
}, pt = Ge(
|
|
1193
1194
|
(y, E) => {
|
|
@@ -1242,7 +1243,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1242
1243
|
}
|
|
1243
1244
|
);
|
|
1244
1245
|
let w = [o];
|
|
1245
|
-
return l == "icon-start" && r && w.unshift(_), l == "icon-end" && r && w.push(_), c && (w = [_], t =
|
|
1246
|
+
return l == "icon-start" && r && w.unshift(_), l == "icon-end" && r && w.push(_), c && (w = [_], t = jt(o)), /* @__PURE__ */ e.createElement(
|
|
1246
1247
|
"button",
|
|
1247
1248
|
H({
|
|
1248
1249
|
type: s,
|
|
@@ -1258,11 +1259,11 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1258
1259
|
onClick: i,
|
|
1259
1260
|
ref: E
|
|
1260
1261
|
}, b),
|
|
1261
|
-
a && /* @__PURE__ */ e.createElement(
|
|
1262
|
+
a && /* @__PURE__ */ e.createElement(zt, { className: `${C}__loading-indicator`, size: "md" }),
|
|
1262
1263
|
w
|
|
1263
1264
|
);
|
|
1264
1265
|
}
|
|
1265
|
-
),
|
|
1266
|
+
), Ct = (o) => {
|
|
1266
1267
|
var i = o, {
|
|
1267
1268
|
disabled: t = !1,
|
|
1268
1269
|
displayType: s = "label-only",
|
|
@@ -1309,8 +1310,8 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1309
1310
|
variant: d
|
|
1310
1311
|
}
|
|
1311
1312
|
) : /* @__PURE__ */ e.createElement("span", H({ className: x([f, a != null ? a : ""]) }, c), h);
|
|
1312
|
-
},
|
|
1313
|
-
const [n, l] =
|
|
1313
|
+
}, n2 = (t, s) => {
|
|
1314
|
+
const [n, l] = G(!1), r = s == null ? void 0 : s.duration;
|
|
1314
1315
|
return oe(() => {
|
|
1315
1316
|
let a;
|
|
1316
1317
|
return n && r && (a = setTimeout(() => {
|
|
@@ -1318,14 +1319,14 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1318
1319
|
}, r)), () => {
|
|
1319
1320
|
a && clearTimeout(a);
|
|
1320
1321
|
};
|
|
1321
|
-
}, [n, r]), [n, () =>
|
|
1322
|
+
}, [n, r]), [n, () => Nt(void 0, null, function* () {
|
|
1322
1323
|
if (navigator.clipboard)
|
|
1323
1324
|
try {
|
|
1324
1325
|
yield navigator.clipboard.writeText(t), l(!0);
|
|
1325
1326
|
} catch (a) {
|
|
1326
1327
|
}
|
|
1327
1328
|
})];
|
|
1328
|
-
},
|
|
1329
|
+
}, $t = Ge(
|
|
1329
1330
|
(m, p) => {
|
|
1330
1331
|
var b = m, {
|
|
1331
1332
|
ariaLabel: t,
|
|
@@ -1431,7 +1432,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1431
1432
|
) : $
|
|
1432
1433
|
);
|
|
1433
1434
|
}
|
|
1434
|
-
),
|
|
1435
|
+
), a2 = (a) => {
|
|
1435
1436
|
var c = a, {
|
|
1436
1437
|
ariaLabel: t = "Copy to clipboard",
|
|
1437
1438
|
clipboardText: s = "",
|
|
@@ -1445,9 +1446,9 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1445
1446
|
"variant",
|
|
1446
1447
|
"className"
|
|
1447
1448
|
]);
|
|
1448
|
-
const o = "pds-clipboard-button", [i, f] =
|
|
1449
|
+
const o = "pds-clipboard-button", [i, f] = n2(s);
|
|
1449
1450
|
return /* @__PURE__ */ e.createElement(
|
|
1450
|
-
|
|
1451
|
+
$t,
|
|
1451
1452
|
H({
|
|
1452
1453
|
className: x([o, r != null ? r : ""]),
|
|
1453
1454
|
ariaLabel: t,
|
|
@@ -1460,8 +1461,8 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1460
1461
|
variant: l
|
|
1461
1462
|
}, d)
|
|
1462
1463
|
);
|
|
1463
|
-
},
|
|
1464
|
-
const t = typeof window != "undefined", [s, n] =
|
|
1464
|
+
}, w1 = () => {
|
|
1465
|
+
const t = typeof window != "undefined", [s, n] = G(
|
|
1465
1466
|
t && window.innerWidth !== void 0 ? window.innerWidth : 1024
|
|
1466
1467
|
);
|
|
1467
1468
|
return oe(() => {
|
|
@@ -1474,11 +1475,11 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1474
1475
|
window.removeEventListener("resize", l);
|
|
1475
1476
|
};
|
|
1476
1477
|
}, []), s;
|
|
1477
|
-
}, ze =
|
|
1478
|
+
}, ze = p1(null), l2 = ({
|
|
1478
1479
|
children: t,
|
|
1479
1480
|
mobileMenuMaxWidth: s = 640
|
|
1480
1481
|
}) => {
|
|
1481
|
-
const n =
|
|
1482
|
+
const n = w1(), l = n <= s, r = {
|
|
1482
1483
|
isMobile: l,
|
|
1483
1484
|
mobileMenuMaxWidth: s,
|
|
1484
1485
|
windowWidth: n
|
|
@@ -1486,7 +1487,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1486
1487
|
return oe(() => {
|
|
1487
1488
|
l ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
|
|
1488
1489
|
}, [l]), /* @__PURE__ */ e.createElement(ze.Provider, { value: r }, t);
|
|
1489
|
-
},
|
|
1490
|
+
}, Vt = (t) => t.isSeparator, St = (t) => t.isHeading, It = (t) => t.isLink, c2 = (t) => t.isNode, r2 = (v) => {
|
|
1490
1491
|
var C = v, {
|
|
1491
1492
|
disabled: t,
|
|
1492
1493
|
displayType: s = "icon-end",
|
|
@@ -1529,150 +1530,150 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1529
1530
|
update: M,
|
|
1530
1531
|
placement: k,
|
|
1531
1532
|
refs: $
|
|
1532
|
-
} =
|
|
1533
|
+
} = j1({
|
|
1533
1534
|
placement: "bottom-start",
|
|
1534
|
-
middleware: [
|
|
1535
|
+
middleware: [K1()]
|
|
1535
1536
|
});
|
|
1536
1537
|
let L = !1;
|
|
1537
1538
|
const z = we(ze);
|
|
1538
1539
|
z && (L = z.isMobile);
|
|
1539
|
-
const N = m === "navbar" && L, S = "pds-menu-button", V = N ? `${S}--isMobile` : null,
|
|
1540
|
-
|
|
1540
|
+
const N = m === "navbar" && L, S = "pds-menu-button", V = N ? `${S}--isMobile` : null, O = b ? `${S}--navbar` : null, I = l, [A] = G(`menu-button-${l}`), P = $.floating, W = de(null), [j, ee] = G(!1), [K, U] = G(!1), [Z, D] = G(""), [Y, X] = G(0), J = de([]), q = de([]), ae = de([]);
|
|
1541
|
+
O1(() => {
|
|
1541
1542
|
window.addEventListener("mousedown", ke, !0), M();
|
|
1542
|
-
const R =
|
|
1543
|
+
const R = P.current;
|
|
1543
1544
|
return R && (R.dataset.fuiPlacement = k), K && (setTimeout(() => {
|
|
1544
1545
|
R.focus();
|
|
1545
1546
|
}, 0), U(!1)), () => {
|
|
1546
1547
|
window.removeEventListener("mousedown", ke, !0);
|
|
1547
1548
|
};
|
|
1548
|
-
}, [
|
|
1549
|
-
const
|
|
1550
|
-
|
|
1549
|
+
}, [j, k]);
|
|
1550
|
+
const te = (R, se) => {
|
|
1551
|
+
D(R), X(se);
|
|
1551
1552
|
}, fe = () => {
|
|
1552
|
-
|
|
1553
|
+
ee(!0), U(!0);
|
|
1553
1554
|
}, ie = () => {
|
|
1554
|
-
|
|
1555
|
+
ee(!1), te(void 0, -1), W.current.querySelector(`#${I}`).focus();
|
|
1555
1556
|
}, Ee = (R) => {
|
|
1556
1557
|
R = R.toLowerCase();
|
|
1557
|
-
let
|
|
1558
|
-
for (let
|
|
1559
|
-
if (
|
|
1560
|
-
|
|
1558
|
+
let se = !1;
|
|
1559
|
+
for (let B = Y + 1; B < ae.current.length; B++)
|
|
1560
|
+
if (ae.current[B].label.toLowerCase().startsWith(R)) {
|
|
1561
|
+
te(q.current[B], B), se = !0;
|
|
1561
1562
|
break;
|
|
1562
1563
|
}
|
|
1563
|
-
if (
|
|
1564
|
-
for (let
|
|
1565
|
-
if (
|
|
1566
|
-
|
|
1564
|
+
if (se === !1) {
|
|
1565
|
+
for (let B = 0; B < Y; B++)
|
|
1566
|
+
if (ae.current[B].label.toLowerCase().startsWith(R)) {
|
|
1567
|
+
te(q.current[B], B);
|
|
1567
1568
|
break;
|
|
1568
1569
|
}
|
|
1569
1570
|
}
|
|
1570
1571
|
}, be = (R) => {
|
|
1571
|
-
const
|
|
1572
|
-
if (
|
|
1573
|
-
const
|
|
1574
|
-
|
|
1572
|
+
const se = q.current.indexOf(R), B = ae.current[se];
|
|
1573
|
+
if (B.callback && !B.disabled && B.callback(B), B.linkContent && !B.disabled) {
|
|
1574
|
+
const ne = W.current.querySelector(`#${R} a`);
|
|
1575
|
+
ne && ne.click();
|
|
1575
1576
|
}
|
|
1576
1577
|
}, ce = () => {
|
|
1577
|
-
const R =
|
|
1578
|
+
const R = q.current[Y];
|
|
1578
1579
|
be(R);
|
|
1579
1580
|
}, le = (R) => {
|
|
1580
|
-
|
|
1581
|
+
j ? ie() : fe(), o && o(), U((se) => !se), R.stopPropagation(), R.preventDefault();
|
|
1581
1582
|
}, ge = (R) => {
|
|
1582
1583
|
be(R.currentTarget.id), N || ie();
|
|
1583
1584
|
}, Oe = (R) => {
|
|
1584
|
-
const
|
|
1585
|
-
let
|
|
1586
|
-
switch (
|
|
1585
|
+
const se = R.key;
|
|
1586
|
+
let B = !1;
|
|
1587
|
+
switch (se) {
|
|
1587
1588
|
case " ":
|
|
1588
1589
|
case "Enter":
|
|
1589
1590
|
case "ArrowDown":
|
|
1590
1591
|
case "Down":
|
|
1591
|
-
fe(),
|
|
1592
|
+
fe(), te(q.current[0], 0), B = !0, o && o();
|
|
1592
1593
|
break;
|
|
1593
1594
|
case "Esc":
|
|
1594
1595
|
case "Escape":
|
|
1595
|
-
ie(),
|
|
1596
|
+
ie(), B = !0;
|
|
1596
1597
|
break;
|
|
1597
1598
|
case "Up":
|
|
1598
1599
|
case "ArrowUp": {
|
|
1599
|
-
const
|
|
1600
|
-
fe(),
|
|
1600
|
+
const ne = q.current.length - 1;
|
|
1601
|
+
fe(), te(q.current[ne], ne), B = !0;
|
|
1601
1602
|
break;
|
|
1602
1603
|
}
|
|
1603
1604
|
}
|
|
1604
|
-
|
|
1605
|
+
B && (R.stopPropagation(), R.preventDefault());
|
|
1605
1606
|
}, qe = (R) => {
|
|
1606
|
-
const
|
|
1607
|
-
let
|
|
1607
|
+
const se = R.key;
|
|
1608
|
+
let B = !1, ne = "", re = 0;
|
|
1608
1609
|
function me(ue) {
|
|
1609
1610
|
return ue.length === 1 && ue.match(/\S/);
|
|
1610
1611
|
}
|
|
1611
1612
|
if (!(R.ctrlKey || R.altKey || R.metaKey)) {
|
|
1612
1613
|
if (R.shiftKey)
|
|
1613
|
-
me(
|
|
1614
|
+
me(se) && (Ee(se), B = !0), R.key === "Tab" && (ie(), B = !0);
|
|
1614
1615
|
else
|
|
1615
|
-
switch (
|
|
1616
|
+
switch (se) {
|
|
1616
1617
|
case " ":
|
|
1617
1618
|
case "Enter":
|
|
1618
|
-
ie(), ce(),
|
|
1619
|
+
ie(), ce(), B = !0;
|
|
1619
1620
|
break;
|
|
1620
1621
|
case "Esc":
|
|
1621
1622
|
case "Escape":
|
|
1622
|
-
ie(),
|
|
1623
|
+
ie(), B = !0;
|
|
1623
1624
|
break;
|
|
1624
1625
|
case "Up":
|
|
1625
1626
|
case "ArrowUp":
|
|
1626
|
-
re =
|
|
1627
|
+
re = Y - 1, re < 0 && (re = q.current.length - 1), ne = q.current[re], te(ne, re), B = !0;
|
|
1627
1628
|
break;
|
|
1628
1629
|
case "ArrowDown":
|
|
1629
1630
|
case "Down":
|
|
1630
|
-
re =
|
|
1631
|
+
re = Y + 1, re > q.current.length - 1 && (re = 0), ne = q.current[re], te(ne, re), B = !0;
|
|
1631
1632
|
break;
|
|
1632
1633
|
case "Home":
|
|
1633
1634
|
case "PageUp":
|
|
1634
|
-
|
|
1635
|
+
te(q.current[0], 0), B = !0;
|
|
1635
1636
|
break;
|
|
1636
1637
|
case "End":
|
|
1637
1638
|
case "PageDown": {
|
|
1638
|
-
const ue =
|
|
1639
|
-
|
|
1639
|
+
const ue = q.current.length - 1;
|
|
1640
|
+
te(q.current[ue], ue), B = !0;
|
|
1640
1641
|
break;
|
|
1641
1642
|
}
|
|
1642
1643
|
case "Tab":
|
|
1643
1644
|
ie();
|
|
1644
1645
|
break;
|
|
1645
1646
|
default:
|
|
1646
|
-
me(
|
|
1647
|
+
me(se) && (Ee(se), B = !0);
|
|
1647
1648
|
break;
|
|
1648
1649
|
}
|
|
1649
|
-
|
|
1650
|
+
B && (R.stopPropagation(), R.preventDefault());
|
|
1650
1651
|
}
|
|
1651
1652
|
}, ke = (R) => {
|
|
1652
|
-
|
|
1653
|
-
}, Ne = (R,
|
|
1654
|
-
const me =
|
|
1655
|
-
if (xt(R))
|
|
1656
|
-
return /* @__PURE__ */ e.createElement("li", { role: "separator", key: pe });
|
|
1653
|
+
W.current && !W.current.contains(R.target) && j && ie();
|
|
1654
|
+
}, Ne = (R, se, B = "", ne = "", ...re) => {
|
|
1655
|
+
const me = B ? `-group-${B}` : "", ue = I + me + "-item-" + (se + 1), pe = R.id ? R.id : ue;
|
|
1657
1656
|
if (Vt(R))
|
|
1657
|
+
return /* @__PURE__ */ e.createElement("li", { role: "separator", key: pe });
|
|
1658
|
+
if (St(R))
|
|
1658
1659
|
return /* @__PURE__ */ e.createElement(
|
|
1659
1660
|
"li",
|
|
1660
1661
|
{
|
|
1661
1662
|
role: "presentation",
|
|
1662
|
-
id:
|
|
1663
|
-
key:
|
|
1663
|
+
id: ne || null,
|
|
1664
|
+
key: ne,
|
|
1664
1665
|
className: `${S}__listbox-heading`
|
|
1665
1666
|
},
|
|
1666
1667
|
R.label
|
|
1667
1668
|
);
|
|
1668
|
-
if (
|
|
1669
|
+
if (c2(R))
|
|
1669
1670
|
return /* @__PURE__ */ e.createElement("li", { role: "presentation", key: pe }, R.nodeContent);
|
|
1670
|
-
if (
|
|
1671
|
-
|
|
1671
|
+
if (It(R) || R.label) {
|
|
1672
|
+
q.current.push(pe), ae.current.push(R);
|
|
1672
1673
|
let tt = !1;
|
|
1673
|
-
|
|
1674
|
+
Z !== "" && !R.disabled && (tt = Z === pe);
|
|
1674
1675
|
let He;
|
|
1675
|
-
if (R.label && (He = [R.label]),
|
|
1676
|
+
if (R.label && (He = [R.label]), It(R) && (He = [R.linkContent.props.children]), R.iconName) {
|
|
1676
1677
|
const Be = /* @__PURE__ */ e.createElement(
|
|
1677
1678
|
F,
|
|
1678
1679
|
{
|
|
@@ -1686,7 +1687,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1686
1687
|
let je;
|
|
1687
1688
|
R.description && (je = /* @__PURE__ */ e.createElement("span", { className: `${S}__item-description` }, R.description));
|
|
1688
1689
|
let Pe;
|
|
1689
|
-
if (
|
|
1690
|
+
if (It(R)) {
|
|
1690
1691
|
const Be = R.linkContent.type;
|
|
1691
1692
|
Pe = /* @__PURE__ */ e.createElement(Be, H({ tabIndex: -1 }, R.linkContent.props), /* @__PURE__ */ e.createElement("span", { className: `${S}__item-label` }, He), je);
|
|
1692
1693
|
} else
|
|
@@ -1706,26 +1707,26 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1706
1707
|
Pe
|
|
1707
1708
|
);
|
|
1708
1709
|
}
|
|
1709
|
-
}, Je = (R,
|
|
1710
|
-
const
|
|
1711
|
-
let
|
|
1710
|
+
}, Je = (R, se) => {
|
|
1711
|
+
const B = [];
|
|
1712
|
+
let ne = se.shift(), re = [];
|
|
1712
1713
|
return R.map((me, ue) => {
|
|
1713
|
-
me !==
|
|
1714
|
-
}),
|
|
1714
|
+
me !== ne ? (re.push(me), ue + 1 === R.length && B.push(re)) : (B.push(re), re = [], re.push(me), ne = se.shift());
|
|
1715
|
+
}), B.filter((me) => me.length > 0);
|
|
1715
1716
|
}, et = (R) => {
|
|
1716
|
-
|
|
1717
|
-
const
|
|
1718
|
-
|
|
1719
|
-
),
|
|
1717
|
+
q.current = [], ae.current = [];
|
|
1718
|
+
const se = R, B = R.filter(
|
|
1719
|
+
St || Vt
|
|
1720
|
+
), ne = B.length > 0;
|
|
1720
1721
|
let re = [`${S}__listbox`];
|
|
1721
|
-
if (b && re.push(`${S}__listbox--navbar`), c === "end" && re.push(`${S}__listbox--end`), s === "icon-only" && re.push(`${S}__listbox--icon-only`), re = x(re),
|
|
1722
|
-
const me = Je(R,
|
|
1722
|
+
if (b && re.push(`${S}__listbox--navbar`), c === "end" && re.push(`${S}__listbox--end`), s === "icon-only" && re.push(`${S}__listbox--icon-only`), re = x(re), ne) {
|
|
1723
|
+
const me = Je(R, B);
|
|
1723
1724
|
me.forEach(() => {
|
|
1724
|
-
|
|
1725
|
+
J.current.push(nt());
|
|
1725
1726
|
});
|
|
1726
|
-
let ue =
|
|
1727
|
+
let ue = J.current[0];
|
|
1727
1728
|
const pe = me[0].findIndex(
|
|
1728
|
-
(He) => !
|
|
1729
|
+
(He) => !Vt(He) && !St(He)
|
|
1729
1730
|
), tt = `${I}-group-${ue}-item-${pe + 1}`;
|
|
1730
1731
|
return /* @__PURE__ */ e.createElement(
|
|
1731
1732
|
"div",
|
|
@@ -1735,10 +1736,10 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1735
1736
|
role: "menu",
|
|
1736
1737
|
tabIndex: -1,
|
|
1737
1738
|
"aria-labelledby": I,
|
|
1738
|
-
"aria-activedescendant":
|
|
1739
|
+
"aria-activedescendant": Z !== "" ? Z : tt,
|
|
1739
1740
|
style: {
|
|
1740
|
-
visibility:
|
|
1741
|
-
opacity:
|
|
1741
|
+
visibility: j ? "visible" : "hidden",
|
|
1742
|
+
opacity: j ? "1" : "0",
|
|
1742
1743
|
transition: "opacity 300ms ease-in-out 0s",
|
|
1743
1744
|
position: w,
|
|
1744
1745
|
transform: `translate(${Math.round(h)}px,${Math.round(u)}px)`,
|
|
@@ -1748,19 +1749,19 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1748
1749
|
ref: _
|
|
1749
1750
|
},
|
|
1750
1751
|
me.map((He, je) => {
|
|
1751
|
-
ue =
|
|
1752
|
-
const Pe = He[0].isHeading, Be = Pe ? `${I}-group-${ue}-heading` : "",
|
|
1752
|
+
ue = J.current[je];
|
|
1753
|
+
const Pe = He[0].isHeading, Be = Pe ? `${I}-group-${ue}-heading` : "", N1 = `${I}-group-${ue}`, x1 = Pe ? null : `${p} ${je + 1}`;
|
|
1753
1754
|
return /* @__PURE__ */ e.createElement(
|
|
1754
1755
|
"ul",
|
|
1755
1756
|
{
|
|
1756
1757
|
role: "group",
|
|
1757
1758
|
"aria-labelledby": Be,
|
|
1758
|
-
"aria-label":
|
|
1759
|
-
key:
|
|
1759
|
+
"aria-label": x1,
|
|
1760
|
+
key: N1
|
|
1760
1761
|
},
|
|
1761
|
-
He.map((
|
|
1762
|
-
x1,
|
|
1762
|
+
He.map((V1, S1) => Ne(
|
|
1763
1763
|
V1,
|
|
1764
|
+
S1,
|
|
1764
1765
|
ue,
|
|
1765
1766
|
Be
|
|
1766
1767
|
))
|
|
@@ -1777,10 +1778,10 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1777
1778
|
role: "menu",
|
|
1778
1779
|
tabIndex: -1,
|
|
1779
1780
|
"aria-labelledby": I,
|
|
1780
|
-
"aria-activedescendant":
|
|
1781
|
+
"aria-activedescendant": Z !== "" ? Z : me,
|
|
1781
1782
|
style: {
|
|
1782
|
-
visibility:
|
|
1783
|
-
opacity:
|
|
1783
|
+
visibility: j ? "visible" : "hidden",
|
|
1784
|
+
opacity: j ? "1" : "0",
|
|
1784
1785
|
transition: "opacity 300ms ease-in-out 0s",
|
|
1785
1786
|
position: w,
|
|
1786
1787
|
transform: `translate(${Math.round(h)}px,${Math.round(u)}px)`
|
|
@@ -1788,7 +1789,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1788
1789
|
onKeyDown: qe,
|
|
1789
1790
|
ref: _
|
|
1790
1791
|
},
|
|
1791
|
-
|
|
1792
|
+
se.map((ue, pe) => Ne(ue, pe))
|
|
1792
1793
|
));
|
|
1793
1794
|
}
|
|
1794
1795
|
};
|
|
@@ -1808,15 +1809,15 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1808
1809
|
className: `${S}__trigger`,
|
|
1809
1810
|
"aria-haspopup": "true",
|
|
1810
1811
|
"aria-controls": A,
|
|
1811
|
-
"aria-expanded":
|
|
1812
|
+
"aria-expanded": j,
|
|
1812
1813
|
onClick: le,
|
|
1813
1814
|
onKeyDown: Oe,
|
|
1814
1815
|
ref: g
|
|
1815
1816
|
}
|
|
1816
1817
|
)), s === "icon-only") {
|
|
1817
|
-
const R =
|
|
1818
|
+
const R = jt(d);
|
|
1818
1819
|
Fe = /* @__PURE__ */ e.createElement(
|
|
1819
|
-
|
|
1820
|
+
$t,
|
|
1820
1821
|
{
|
|
1821
1822
|
id: I,
|
|
1822
1823
|
ariaLabel: R,
|
|
@@ -1828,7 +1829,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1828
1829
|
className: `${S}__trigger ${S}__trigger--icon-only`,
|
|
1829
1830
|
"aria-haspopup": "true",
|
|
1830
1831
|
"aria-controls": A,
|
|
1831
|
-
"aria-expanded":
|
|
1832
|
+
"aria-expanded": j,
|
|
1832
1833
|
onClick: le,
|
|
1833
1834
|
onKeyDown: Oe,
|
|
1834
1835
|
ref: g,
|
|
@@ -1837,12 +1838,12 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1837
1838
|
);
|
|
1838
1839
|
}
|
|
1839
1840
|
const lt = (R) => {
|
|
1840
|
-
const
|
|
1841
|
-
|
|
1841
|
+
const se = R.target;
|
|
1842
|
+
se.classList.toggle(`${S}__toggle--expanded`), se.setAttribute(
|
|
1842
1843
|
"aria-expanded",
|
|
1843
|
-
|
|
1844
|
-
),
|
|
1845
|
-
}, ct = () => /* @__PURE__ */ e.createElement("ul", { className: `${S}__mobile-menu`, role: "menu" }, a.map((R,
|
|
1844
|
+
se.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
1845
|
+
), se.nextElementSibling.classList.toggle(`${S}__mobile-menu--expanded`);
|
|
1846
|
+
}, ct = () => /* @__PURE__ */ e.createElement("ul", { className: `${S}__mobile-menu`, role: "menu" }, a.map((R, se) => Ne(R, se)));
|
|
1846
1847
|
let ve;
|
|
1847
1848
|
const ye = s === "icon-end" ? "pds-button pds-button--navbar" : null, _e = x([
|
|
1848
1849
|
`${S}__toggle`,
|
|
@@ -1868,23 +1869,23 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1868
1869
|
}
|
|
1869
1870
|
)
|
|
1870
1871
|
));
|
|
1871
|
-
const Me = ve, Le =
|
|
1872
|
+
const Me = ve, Le = j ? `${S}--expanded` : null;
|
|
1872
1873
|
return /* @__PURE__ */ e.createElement(
|
|
1873
1874
|
"span",
|
|
1874
1875
|
H({
|
|
1875
1876
|
className: x([
|
|
1876
1877
|
S,
|
|
1877
|
-
|
|
1878
|
+
O,
|
|
1878
1879
|
V,
|
|
1879
1880
|
Le,
|
|
1880
1881
|
E
|
|
1881
1882
|
]),
|
|
1882
1883
|
"data-testid": f,
|
|
1883
|
-
ref:
|
|
1884
|
+
ref: W
|
|
1884
1885
|
}, y),
|
|
1885
1886
|
N ? /* @__PURE__ */ e.createElement(e.Fragment, null, Me, /* @__PURE__ */ e.createElement(ct, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, Fe, et(a))
|
|
1886
1887
|
);
|
|
1887
|
-
},
|
|
1888
|
+
}, ls = (f) => {
|
|
1888
1889
|
var p = f, {
|
|
1889
1890
|
disabled: t = !1,
|
|
1890
1891
|
id: s,
|
|
@@ -1906,7 +1907,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1906
1907
|
"value",
|
|
1907
1908
|
"className"
|
|
1908
1909
|
]);
|
|
1909
|
-
const m = "pds-segmented-button", b = t ? "pds-is-disabled" : null, E = a !== "md" ? `${m}--${a}` : null, y = typeof c != "undefined", v = typeof n != "undefined", [C, h] =
|
|
1910
|
+
const m = "pds-segmented-button", b = t ? "pds-is-disabled" : null, E = a !== "md" ? `${m}--${a}` : null, y = typeof c != "undefined", v = typeof n != "undefined", [C, h] = G(
|
|
1910
1911
|
v ? n : ""
|
|
1911
1912
|
), u = (g) => {
|
|
1912
1913
|
h(g.target.value), r && r(g.target.value);
|
|
@@ -1943,7 +1944,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1943
1944
|
}
|
|
1944
1945
|
),
|
|
1945
1946
|
/* @__PURE__ */ e.createElement("label", { htmlFor: g.id ? g.id : `${s}-option-${_}` }, g.tally ? /* @__PURE__ */ e.createElement(
|
|
1946
|
-
|
|
1947
|
+
bt,
|
|
1947
1948
|
{
|
|
1948
1949
|
label: g.tally.label,
|
|
1949
1950
|
type: g.tally.type,
|
|
@@ -1959,7 +1960,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1959
1960
|
), /* @__PURE__ */ e.createElement("span", { className: `${m}__label-text` }, g.label))
|
|
1960
1961
|
)))
|
|
1961
1962
|
);
|
|
1962
|
-
},
|
|
1963
|
+
}, cs = (c) => {
|
|
1963
1964
|
var o = c, {
|
|
1964
1965
|
actionItems: t,
|
|
1965
1966
|
disabled: s,
|
|
@@ -1978,7 +1979,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
1978
1979
|
const i = "pds-split-button", f = `${i}--${r}`, p = t[0], m = t.slice(1);
|
|
1979
1980
|
let b = null;
|
|
1980
1981
|
return "isLink" in p && p.isLink === !0 ? b = /* @__PURE__ */ e.createElement(
|
|
1981
|
-
|
|
1982
|
+
Ct,
|
|
1982
1983
|
{
|
|
1983
1984
|
className: `${i}__primary-action`,
|
|
1984
1985
|
size: l,
|
|
@@ -2004,7 +2005,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2004
2005
|
}, a),
|
|
2005
2006
|
b,
|
|
2006
2007
|
/* @__PURE__ */ e.createElement(
|
|
2007
|
-
|
|
2008
|
+
r2,
|
|
2008
2009
|
{
|
|
2009
2010
|
className: `${i}__menu-button`,
|
|
2010
2011
|
label: n,
|
|
@@ -2020,7 +2021,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2020
2021
|
}
|
|
2021
2022
|
)
|
|
2022
2023
|
);
|
|
2023
|
-
},
|
|
2024
|
+
}, rs = (f) => {
|
|
2024
2025
|
var p = f, {
|
|
2025
2026
|
buttonProps: t,
|
|
2026
2027
|
disabled: s = !1,
|
|
@@ -2066,7 +2067,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2066
2067
|
}, i),
|
|
2067
2068
|
c ? /* @__PURE__ */ e.createElement(xe, { content: c, customTrigger: v }) : v
|
|
2068
2069
|
);
|
|
2069
|
-
},
|
|
2070
|
+
}, At = {
|
|
2070
2071
|
info: "circleInfo",
|
|
2071
2072
|
warning: "triangleExclamation",
|
|
2072
2073
|
success: "circleCheck",
|
|
@@ -2074,7 +2075,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2074
2075
|
discovery: "squareQuestion",
|
|
2075
2076
|
code: "squareTerminal",
|
|
2076
2077
|
earlyAccess: "leaf"
|
|
2077
|
-
},
|
|
2078
|
+
}, os = (a) => {
|
|
2078
2079
|
var c = a, {
|
|
2079
2080
|
children: t,
|
|
2080
2081
|
title: s,
|
|
@@ -2105,12 +2106,12 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2105
2106
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon--${n}` }, /* @__PURE__ */ e.createElement(
|
|
2106
2107
|
F,
|
|
2107
2108
|
{
|
|
2108
|
-
iconName: `${n}` in
|
|
2109
|
+
iconName: `${n}` in At ? At[n] : At.info,
|
|
2109
2110
|
iconSize: "xl"
|
|
2110
2111
|
}
|
|
2111
2112
|
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, f), s && /* @__PURE__ */ e.createElement("div", { className: `${o}__title` }, s), t && /* @__PURE__ */ e.createElement("div", { className: `${o}__main-content` }, t)))
|
|
2112
2113
|
);
|
|
2113
|
-
},
|
|
2114
|
+
}, Yt = (d) => {
|
|
2114
2115
|
var a = d, {
|
|
2115
2116
|
background: t = "default",
|
|
2116
2117
|
children: s,
|
|
@@ -2136,7 +2137,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2136
2137
|
p && /* @__PURE__ */ e.createElement("div", { className: `${c}__image` }, p[0]),
|
|
2137
2138
|
m && /* @__PURE__ */ e.createElement("div", { className: `${c}__main` }, m)
|
|
2138
2139
|
);
|
|
2139
|
-
},
|
|
2140
|
+
}, y1 = (a) => {
|
|
2140
2141
|
var c = a, {
|
|
2141
2142
|
fontSize: t = "XL",
|
|
2142
2143
|
fontWeight: s = "bold",
|
|
@@ -2164,7 +2165,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2164
2165
|
}, d),
|
|
2165
2166
|
l
|
|
2166
2167
|
);
|
|
2167
|
-
},
|
|
2168
|
+
}, is = (i) => {
|
|
2168
2169
|
var f = i, {
|
|
2169
2170
|
id: t,
|
|
2170
2171
|
defaultValue: s,
|
|
@@ -2187,7 +2188,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2187
2188
|
const p = "pds-card-select-group";
|
|
2188
2189
|
let m = `${p}__legend`;
|
|
2189
2190
|
l === "center" && (m = `${p}__legend ${p}__legend--center`), l === "hidden" && (m = `${p}__legend visually-hidden`);
|
|
2190
|
-
const [b, E] =
|
|
2191
|
+
const [b, E] = G(s), y = (_) => {
|
|
2191
2192
|
E(_.currentTarget.value), d && d(_.currentTarget.value);
|
|
2192
2193
|
}, v = a.length, C = "pds-grid-item", h = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", u = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
2193
2194
|
let g = "";
|
|
@@ -2233,7 +2234,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2233
2234
|
)
|
|
2234
2235
|
)))
|
|
2235
2236
|
);
|
|
2236
|
-
},
|
|
2237
|
+
}, ds = (d) => {
|
|
2237
2238
|
var a = d, {
|
|
2238
2239
|
linkItems: t,
|
|
2239
2240
|
headingLevel: s = "h3",
|
|
@@ -2245,8 +2246,8 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2245
2246
|
"headingText",
|
|
2246
2247
|
"className"
|
|
2247
2248
|
]);
|
|
2248
|
-
const c = "pds-links-card", o = /* @__PURE__ */ e.createElement(
|
|
2249
|
-
|
|
2249
|
+
const c = "pds-links-card", o = /* @__PURE__ */ e.createElement(Yt, null, /* @__PURE__ */ e.createElement("div", { slot: "main" }, n && /* @__PURE__ */ e.createElement(
|
|
2250
|
+
y1,
|
|
2250
2251
|
{
|
|
2251
2252
|
className: `${c}__heading`,
|
|
2252
2253
|
fontSize: "XL",
|
|
@@ -2256,7 +2257,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2256
2257
|
}
|
|
2257
2258
|
), t && /* @__PURE__ */ e.createElement("ul", { className: `${c}__list`, role: "list" }, t.map((i, f) => /* @__PURE__ */ e.createElement("li", { key: f, className: "pds-cta-links-card__item" }, i)))));
|
|
2258
2259
|
return /* @__PURE__ */ e.createElement("div", H({ className: x([c, l != null ? l : ""]) }, r), o);
|
|
2259
|
-
},
|
|
2260
|
+
}, o2 = (l) => {
|
|
2260
2261
|
var r = l, {
|
|
2261
2262
|
platformType: t,
|
|
2262
2263
|
className: s
|
|
@@ -2282,9 +2283,9 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2282
2283
|
i = ["next", "wordpress"];
|
|
2283
2284
|
break;
|
|
2284
2285
|
}
|
|
2285
|
-
c = /* @__PURE__ */ e.createElement("span", { className: `${d}__group` },
|
|
2286
|
+
c = /* @__PURE__ */ e.createElement("span", { className: `${d}__group` }, Tt[i[0]], Tt[i[1]]);
|
|
2286
2287
|
} else
|
|
2287
|
-
c =
|
|
2288
|
+
c = Tt[t];
|
|
2288
2289
|
return /* @__PURE__ */ e.createElement(
|
|
2289
2290
|
"div",
|
|
2290
2291
|
H({
|
|
@@ -2292,7 +2293,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2292
2293
|
}, n),
|
|
2293
2294
|
c
|
|
2294
2295
|
);
|
|
2295
|
-
},
|
|
2296
|
+
}, Tt = {
|
|
2296
2297
|
drupal: /* @__PURE__ */ e.createElement(
|
|
2297
2298
|
"svg",
|
|
2298
2299
|
{
|
|
@@ -2536,9 +2537,9 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2536
2537
|
}
|
|
2537
2538
|
)
|
|
2538
2539
|
)
|
|
2539
|
-
},
|
|
2540
|
+
}, c1 = {
|
|
2540
2541
|
"early-access": { label: "Early Access", color: "success" }
|
|
2541
|
-
},
|
|
2542
|
+
}, ms = (f) => {
|
|
2542
2543
|
var p = f, {
|
|
2543
2544
|
badge: t,
|
|
2544
2545
|
icon: s,
|
|
@@ -2560,19 +2561,19 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2560
2561
|
"supplementalLinks",
|
|
2561
2562
|
"className"
|
|
2562
2563
|
]);
|
|
2563
|
-
const m = "pds-new-site-card", b = a.type, E = /* @__PURE__ */ e.createElement(
|
|
2564
|
+
const m = "pds-new-site-card", b = a.type, E = /* @__PURE__ */ e.createElement(Yt, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${m}__main` }, /* @__PURE__ */ e.createElement(
|
|
2564
2565
|
b,
|
|
2565
2566
|
H({
|
|
2566
2567
|
"aria-label": a.props.children,
|
|
2567
2568
|
className: `${m}__selection-link`
|
|
2568
2569
|
}, a.props),
|
|
2569
|
-
/* @__PURE__ */ e.createElement("div", { className: `${m}__header` }, s && /* @__PURE__ */ e.createElement("div", { className: `${m}__icon` }, /* @__PURE__ */ e.createElement(
|
|
2570
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__header` }, s && /* @__PURE__ */ e.createElement("div", { className: `${m}__icon` }, /* @__PURE__ */ e.createElement(o2, { platformType: s })), /* @__PURE__ */ e.createElement("div", { className: `${m}__title` }, l, r && /* @__PURE__ */ e.createElement("div", { className: `${m}__subtitle` }, r))),
|
|
2570
2571
|
t && /* @__PURE__ */ e.createElement(
|
|
2571
2572
|
ut,
|
|
2572
2573
|
{
|
|
2573
|
-
label:
|
|
2574
|
+
label: c1[t].label,
|
|
2574
2575
|
size: "sm",
|
|
2575
|
-
color:
|
|
2576
|
+
color: c1[t].color,
|
|
2576
2577
|
className: `${m}__badge`
|
|
2577
2578
|
}
|
|
2578
2579
|
),
|
|
@@ -2597,11 +2598,11 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2597
2598
|
);
|
|
2598
2599
|
}))));
|
|
2599
2600
|
return /* @__PURE__ */ e.createElement("div", H({ className: x([m, o != null ? o : ""]) }, i), E);
|
|
2600
|
-
},
|
|
2601
|
+
}, i2 = {
|
|
2601
2602
|
included: "circleCheck",
|
|
2602
2603
|
notIncluded: "xmark",
|
|
2603
2604
|
addon: "circlePlusOutline"
|
|
2604
|
-
},
|
|
2605
|
+
}, r1 = (c) => {
|
|
2605
2606
|
var o = c, {
|
|
2606
2607
|
listItems: t,
|
|
2607
2608
|
listLabel: s,
|
|
@@ -2631,7 +2632,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2631
2632
|
/* @__PURE__ */ e.createElement("div", { className: `${i}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
2632
2633
|
F,
|
|
2633
2634
|
{
|
|
2634
|
-
iconName:
|
|
2635
|
+
iconName: i2[f.type],
|
|
2635
2636
|
iconSize: "md",
|
|
2636
2637
|
className: `${i}__item-icon`
|
|
2637
2638
|
}
|
|
@@ -2639,13 +2640,13 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2639
2640
|
l && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r[f.type], ":", " "),
|
|
2640
2641
|
f.text
|
|
2641
2642
|
))), n && /* @__PURE__ */ e.createElement("div", { className: `${i}__more-link` }, n));
|
|
2642
|
-
},
|
|
2643
|
+
}, d2 = ({
|
|
2643
2644
|
label: t,
|
|
2644
2645
|
children: s
|
|
2645
2646
|
}) => {
|
|
2646
2647
|
const n = "pds-select";
|
|
2647
2648
|
return /* @__PURE__ */ e.createElement("li", { role: "presentation", className: `${n}__group` }, /* @__PURE__ */ e.createElement("span", { className: `${n}__group-label` }, t), /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${n}__group-options` }, s));
|
|
2648
|
-
},
|
|
2649
|
+
}, m2 = (u) => {
|
|
2649
2650
|
var g = u, {
|
|
2650
2651
|
defaultValue: t,
|
|
2651
2652
|
disabled: s,
|
|
@@ -2689,27 +2690,27 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2689
2690
|
"className"
|
|
2690
2691
|
]);
|
|
2691
2692
|
var lt, ct;
|
|
2692
|
-
const _ = at(l), w = "pds-select", M = s ?
|
|
2693
|
+
const _ = at(l), w = "pds-select", M = s ? Q.disabled : null, k = p && !s ? Q.required : null, $ = y === "error" ? Q.error : null, L = y === "success" ? Q.success : null;
|
|
2693
2694
|
let z = null;
|
|
2694
2695
|
y === "error" && (z = "error"), y === "success" && (z = "success");
|
|
2695
|
-
const N = E || a, S = typeof v != "undefined", V = typeof t != "undefined", I = ((ve) => ve.reduce((ye, _e) =>
|
|
2696
|
-
|
|
2697
|
-
),
|
|
2698
|
-
open:
|
|
2696
|
+
const N = E || a, S = typeof v != "undefined", V = typeof t != "undefined", I = ((ve) => ve.reduce((ye, _e) => l1(_e) ? [...ye, ..._e.options] : [...ye, _e], []))(f), A = (ve) => I.findIndex((ye) => ye.value === ve), P = S && A(v) >= 0 ? A(v) : null, W = V ? A(t) : null, j = P || W, [ee, K] = G(!1), [U, Z] = G(null), [D, Y] = G(
|
|
2697
|
+
j != null ? j : null
|
|
2698
|
+
), X = D !== null ? (lt = I[D]) == null ? void 0 : lt.label : void 0, J = D !== null ? (ct = I[D]) == null ? void 0 : ct.value : void 0, q = de([]), { context: ae, refs: te } = Se({
|
|
2699
|
+
open: ee,
|
|
2699
2700
|
onOpenChange: K,
|
|
2700
2701
|
whileElementsMounted: Re
|
|
2701
|
-
}), fe = Ye(
|
|
2702
|
+
}), fe = Ye(ae, {
|
|
2702
2703
|
enabled: !s,
|
|
2703
2704
|
event: "mousedown"
|
|
2704
|
-
}), ie = Ie(
|
|
2705
|
-
listRef:
|
|
2705
|
+
}), ie = Ie(ae), Ee = Ae(ae, { role: "listbox" }), be = ot(ae, {
|
|
2706
|
+
listRef: q,
|
|
2706
2707
|
activeIndex: U,
|
|
2707
|
-
selectedIndex:
|
|
2708
|
-
onNavigate:
|
|
2708
|
+
selectedIndex: D,
|
|
2709
|
+
onNavigate: Z,
|
|
2709
2710
|
loop: !0
|
|
2710
2711
|
}), { getReferenceProps: ce, getFloatingProps: le, getItemProps: ge } = Te(
|
|
2711
2712
|
[Ee, ie, be, fe]
|
|
2712
|
-
), { isMounted: Oe, styles: qe } = Qe(
|
|
2713
|
+
), { isMounted: Oe, styles: qe } = Qe(ae, {
|
|
2713
2714
|
duration: {
|
|
2714
2715
|
open: 300,
|
|
2715
2716
|
close: 150
|
|
@@ -2725,46 +2726,46 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2725
2726
|
}
|
|
2726
2727
|
}), ke = (ve) => {
|
|
2727
2728
|
const ye = I[ve];
|
|
2728
|
-
S || (
|
|
2729
|
+
S || (Y(ve), K(!1)), i && i(ye);
|
|
2729
2730
|
};
|
|
2730
2731
|
oe(() => {
|
|
2731
2732
|
if (S) {
|
|
2732
2733
|
const ve = A(v);
|
|
2733
|
-
|
|
2734
|
+
Y(ve), K(!1);
|
|
2734
2735
|
}
|
|
2735
2736
|
}, [v]);
|
|
2736
2737
|
const Ne = () => {
|
|
2737
|
-
c && c(
|
|
2738
|
+
c && c(J);
|
|
2738
2739
|
}, Je = () => {
|
|
2739
|
-
o && o(
|
|
2740
|
+
o && o(J);
|
|
2740
2741
|
}, et = () => {
|
|
2741
|
-
|
|
2742
|
+
te.reference.current.focus();
|
|
2742
2743
|
}, Fe = (ve) => {
|
|
2743
2744
|
let ye = 0;
|
|
2744
2745
|
return ve.map((_e) => {
|
|
2745
|
-
if (
|
|
2746
|
+
if (l1(_e)) {
|
|
2746
2747
|
const Le = _e.options.map((R) => {
|
|
2747
|
-
const
|
|
2748
|
+
const se = ye++;
|
|
2748
2749
|
return /* @__PURE__ */ e.createElement(
|
|
2749
|
-
|
|
2750
|
+
Ut,
|
|
2750
2751
|
H({
|
|
2751
|
-
key:
|
|
2752
|
-
ref: (
|
|
2753
|
-
|
|
2752
|
+
key: se,
|
|
2753
|
+
ref: (B) => {
|
|
2754
|
+
q.current[se] = B;
|
|
2754
2755
|
},
|
|
2755
|
-
tabIndex:
|
|
2756
|
-
"aria-selected":
|
|
2756
|
+
tabIndex: se === U ? 0 : -1,
|
|
2757
|
+
"aria-selected": se === D && se === U,
|
|
2757
2758
|
"aria-disabled": R == null ? void 0 : R.disabled
|
|
2758
2759
|
}, !(R != null && R.disabled) && ge({
|
|
2759
2760
|
onClick() {
|
|
2760
|
-
ke(
|
|
2761
|
+
ke(se);
|
|
2761
2762
|
},
|
|
2762
|
-
onKeyDown(
|
|
2763
|
-
|
|
2763
|
+
onKeyDown(B) {
|
|
2764
|
+
B.key === "Enter" && (B.preventDefault(), ke(se), te.reference.current.focus()), B.key === "Escape" && (B.preventDefault(), te.reference.current.focus());
|
|
2764
2765
|
}
|
|
2765
2766
|
})),
|
|
2766
2767
|
R.label,
|
|
2767
|
-
|
|
2768
|
+
D === se && /* @__PURE__ */ e.createElement(
|
|
2768
2769
|
F,
|
|
2769
2770
|
{
|
|
2770
2771
|
iconName: "check",
|
|
@@ -2773,29 +2774,29 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2773
2774
|
)
|
|
2774
2775
|
);
|
|
2775
2776
|
});
|
|
2776
|
-
return /* @__PURE__ */ e.createElement(
|
|
2777
|
+
return /* @__PURE__ */ e.createElement(d2, { key: _e.groupLabel, label: _e.groupLabel }, Le);
|
|
2777
2778
|
}
|
|
2778
2779
|
const Me = ye++;
|
|
2779
2780
|
return /* @__PURE__ */ e.createElement(
|
|
2780
|
-
|
|
2781
|
+
Ut,
|
|
2781
2782
|
H({
|
|
2782
2783
|
key: Me,
|
|
2783
2784
|
ref: (Le) => {
|
|
2784
|
-
|
|
2785
|
+
q.current[Me] = Le;
|
|
2785
2786
|
},
|
|
2786
2787
|
tabIndex: Me === U ? 0 : -1,
|
|
2787
|
-
"aria-selected": Me ===
|
|
2788
|
+
"aria-selected": Me === D && Me === U,
|
|
2788
2789
|
"aria-disabled": _e == null ? void 0 : _e.disabled
|
|
2789
2790
|
}, !(_e != null && _e.disabled) && ge({
|
|
2790
2791
|
onClick() {
|
|
2791
2792
|
ke(Me);
|
|
2792
2793
|
},
|
|
2793
2794
|
onKeyDown(Le) {
|
|
2794
|
-
Le.key === "Enter" && (Le.preventDefault(), ke(Me),
|
|
2795
|
+
Le.key === "Enter" && (Le.preventDefault(), ke(Me), te.reference.current.focus()), Le.key === "Escape" && (Le.preventDefault(), te.reference.current.focus());
|
|
2795
2796
|
}
|
|
2796
2797
|
})),
|
|
2797
2798
|
_e.label,
|
|
2798
|
-
|
|
2799
|
+
D === Me && /* @__PURE__ */ e.createElement(F, { iconName: "check", className: `${w}__checked-icon` })
|
|
2799
2800
|
);
|
|
2800
2801
|
});
|
|
2801
2802
|
};
|
|
@@ -2803,7 +2804,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2803
2804
|
"div",
|
|
2804
2805
|
H({
|
|
2805
2806
|
className: x([
|
|
2806
|
-
|
|
2807
|
+
Q.base,
|
|
2807
2808
|
w,
|
|
2808
2809
|
M,
|
|
2809
2810
|
k,
|
|
@@ -2830,7 +2831,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2830
2831
|
className: `${w}__input-wrapper`,
|
|
2831
2832
|
id: n,
|
|
2832
2833
|
tabIndex: 0,
|
|
2833
|
-
ref:
|
|
2834
|
+
ref: te.setReference,
|
|
2834
2835
|
"aria-labelledby": `${n}-label`,
|
|
2835
2836
|
"aria-autocomplete": "none"
|
|
2836
2837
|
}, ce({
|
|
@@ -2839,12 +2840,12 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2839
2840
|
onFocus: Je
|
|
2840
2841
|
})),
|
|
2841
2842
|
z && /* @__PURE__ */ e.createElement(ft, { variant: z }),
|
|
2842
|
-
/* @__PURE__ */ e.createElement("span", { className: `${w}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${w}__option-text` },
|
|
2843
|
+
/* @__PURE__ */ e.createElement("span", { className: `${w}__input-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${w}__option-text` }, X != null ? X : d.selectOptionText), /* @__PURE__ */ e.createElement(F, { iconName: "angleDown", className: `${w}__trigger-icon` }))
|
|
2843
2844
|
),
|
|
2844
2845
|
Oe && /* @__PURE__ */ e.createElement(
|
|
2845
2846
|
"div",
|
|
2846
2847
|
H({
|
|
2847
|
-
ref:
|
|
2848
|
+
ref: te.setFloating,
|
|
2848
2849
|
className: `${w}__dropdown`
|
|
2849
2850
|
}, le({
|
|
2850
2851
|
style: {
|
|
@@ -2864,7 +2865,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2864
2865
|
}
|
|
2865
2866
|
)
|
|
2866
2867
|
);
|
|
2867
|
-
},
|
|
2868
|
+
}, us = (m) => {
|
|
2868
2869
|
var b = m, {
|
|
2869
2870
|
actionPrimary: t,
|
|
2870
2871
|
actionSecondary: s,
|
|
@@ -2893,9 +2894,9 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2893
2894
|
"statusBadgeType",
|
|
2894
2895
|
"className"
|
|
2895
2896
|
]);
|
|
2896
|
-
const E = "pds-pricing-card", y = `${E}-container`, v = n ? `${y}--with-list` : null, C = i ? `${E}--${i}` : null, h = (V) => V.toLowerCase().replace(/\s/g, "-"), u = a && a.length > 1, [g, _] =
|
|
2897
|
+
const E = "pds-pricing-card", y = `${E}-container`, v = n ? `${y}--with-list` : null, C = i ? `${E}--${i}` : null, h = (V) => V.toLowerCase().replace(/\s/g, "-"), u = a && a.length > 1, [g, _] = G(
|
|
2897
2898
|
h(a[0].label)
|
|
2898
|
-
), [w, M] =
|
|
2899
|
+
), [w, M] = G(
|
|
2899
2900
|
t.label
|
|
2900
2901
|
);
|
|
2901
2902
|
let k = null, $ = null;
|
|
@@ -2908,7 +2909,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2908
2909
|
label: a[0].savingsBadgeLabel
|
|
2909
2910
|
}
|
|
2910
2911
|
), a[0].savingsDetails && /* @__PURE__ */ e.createElement("span", { className: `${E}__savings-details` }, a[0].savingsDetails))), $ = /* @__PURE__ */ e.createElement(
|
|
2911
|
-
|
|
2912
|
+
r1,
|
|
2912
2913
|
{
|
|
2913
2914
|
className: `${E}__list`,
|
|
2914
2915
|
listLabel: a[0].listLabel,
|
|
@@ -2942,7 +2943,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2942
2943
|
}), $ = a.map((V) => {
|
|
2943
2944
|
const I = g === h(V.label) ? null : `${E}__list--hide`;
|
|
2944
2945
|
return /* @__PURE__ */ e.createElement(
|
|
2945
|
-
|
|
2946
|
+
r1,
|
|
2946
2947
|
{
|
|
2947
2948
|
className: x([`${E}__list`, I]),
|
|
2948
2949
|
listLabel: V.listLabel,
|
|
@@ -2953,14 +2954,14 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2953
2954
|
);
|
|
2954
2955
|
}));
|
|
2955
2956
|
const L = (V) => {
|
|
2956
|
-
const
|
|
2957
|
+
const O = a.find(
|
|
2957
2958
|
(I) => h(I.label) === V
|
|
2958
2959
|
);
|
|
2959
|
-
return
|
|
2960
|
+
return O.customActionLabel ? O.customActionLabel : t.label;
|
|
2960
2961
|
};
|
|
2961
2962
|
let z = null;
|
|
2962
2963
|
u && (z = /* @__PURE__ */ e.createElement(
|
|
2963
|
-
|
|
2964
|
+
m2,
|
|
2964
2965
|
{
|
|
2965
2966
|
id: "plan-select",
|
|
2966
2967
|
className: `${E}__select`,
|
|
@@ -2986,7 +2987,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
2986
2987
|
disabled: t.disabled
|
|
2987
2988
|
}
|
|
2988
2989
|
)), t.type === "link" && (N = /* @__PURE__ */ e.createElement(
|
|
2989
|
-
|
|
2990
|
+
Ct,
|
|
2990
2991
|
{
|
|
2991
2992
|
variant: t.variant,
|
|
2992
2993
|
linkContent: /* @__PURE__ */ e.createElement("a", { href: t.linkUrl, target: t.linkTarget }, t.label)
|
|
@@ -3001,7 +3002,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
3001
3002
|
onClick: s.buttonAction
|
|
3002
3003
|
}
|
|
3003
3004
|
)), s.type === "link" && (S = /* @__PURE__ */ e.createElement(
|
|
3004
|
-
|
|
3005
|
+
Ct,
|
|
3005
3006
|
{
|
|
3006
3007
|
variant: "secondary",
|
|
3007
3008
|
linkContent: /* @__PURE__ */ e.createElement(
|
|
@@ -3019,7 +3020,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
3019
3020
|
className: x([y, v, f])
|
|
3020
3021
|
}, p),
|
|
3021
3022
|
/* @__PURE__ */ e.createElement("div", { className: x([E, C]) }, i && /* @__PURE__ */ e.createElement(
|
|
3022
|
-
|
|
3023
|
+
qt,
|
|
3023
3024
|
{
|
|
3024
3025
|
className: `${E}__status-badge`,
|
|
3025
3026
|
label: c[i],
|
|
@@ -3028,7 +3029,7 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
3028
3029
|
), /* @__PURE__ */ e.createElement("div", { className: `${E}__main-content` }, d && /* @__PURE__ */ e.createElement("div", { className: `${E}__plan pds-overline-text` }, d), k, r && /* @__PURE__ */ e.createElement("div", { className: `${E}__description` }, r), z), /* @__PURE__ */ e.createElement("div", { className: `${E}__actions` }, t && N, t && s && S)),
|
|
3029
3030
|
n && $
|
|
3030
3031
|
);
|
|
3031
|
-
},
|
|
3032
|
+
}, ps = (i) => {
|
|
3032
3033
|
var f = i, {
|
|
3033
3034
|
gotoText: t = "Go to",
|
|
3034
3035
|
headingLevel: s = "h3",
|
|
@@ -3052,14 +3053,14 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
3052
3053
|
let m, b;
|
|
3053
3054
|
a === "active" && (m = "Active", b = "success"), a === "frozen" && (m = "Frozen", b = "frozen");
|
|
3054
3055
|
const E = /* @__PURE__ */ e.createElement(
|
|
3055
|
-
|
|
3056
|
+
qt,
|
|
3056
3057
|
{
|
|
3057
3058
|
label: m,
|
|
3058
3059
|
statusType: b,
|
|
3059
3060
|
hasStatusIndicator: !0
|
|
3060
3061
|
}
|
|
3061
|
-
), y = /* @__PURE__ */ e.createElement(
|
|
3062
|
-
|
|
3062
|
+
), y = /* @__PURE__ */ e.createElement(Yt, null, /* @__PURE__ */ e.createElement("img", { slot: "image", src: n, alt: "" }), /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${p}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__header` }, /* @__PURE__ */ e.createElement(
|
|
3063
|
+
y1,
|
|
3063
3064
|
{
|
|
3064
3065
|
fontSize: "L",
|
|
3065
3066
|
fontWeight: "semibold",
|
|
@@ -3073,11 +3074,11 @@ const Nt = 300, e2 = 400, xe = (p) => {
|
|
|
3073
3074
|
})) : null;
|
|
3074
3075
|
return /* @__PURE__ */ e.createElement("div", H({ className: x([p, c != null ? c : ""]) }, o), v);
|
|
3075
3076
|
};
|
|
3076
|
-
var
|
|
3077
|
-
function
|
|
3077
|
+
var o1 = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
3078
|
+
function u2(t) {
|
|
3078
3079
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
3079
3080
|
}
|
|
3080
|
-
var
|
|
3081
|
+
var L1 = { exports: {} };
|
|
3081
3082
|
(function(t) {
|
|
3082
3083
|
var s = typeof window != "undefined" ? window : typeof WorkerGlobalScope != "undefined" && self instanceof WorkerGlobalScope ? self : {};
|
|
3083
3084
|
/**
|
|
@@ -3701,41 +3702,41 @@ var y1 = { exports: {} };
|
|
|
3701
3702
|
for (var L = 0; L < $.length; ++L) {
|
|
3702
3703
|
if (M && M.cause == k + "," + L)
|
|
3703
3704
|
return;
|
|
3704
|
-
var z = $[L], N = z.inside, S = !!z.lookbehind, V = !!z.greedy,
|
|
3705
|
+
var z = $[L], N = z.inside, S = !!z.lookbehind, V = !!z.greedy, O = z.alias;
|
|
3705
3706
|
if (V && !z.pattern.global) {
|
|
3706
3707
|
var I = z.pattern.toString().match(/[imsuy]*$/)[0];
|
|
3707
3708
|
z.pattern = RegExp(z.pattern.source, I + "g");
|
|
3708
3709
|
}
|
|
3709
|
-
for (var A = z.pattern || z,
|
|
3710
|
-
var
|
|
3710
|
+
for (var A = z.pattern || z, P = _.next, W = w; P !== u.tail && !(M && W >= M.reach); W += P.value.length, P = P.next) {
|
|
3711
|
+
var j = P.value;
|
|
3711
3712
|
if (u.length > h.length)
|
|
3712
3713
|
return;
|
|
3713
|
-
if (!(
|
|
3714
|
-
var
|
|
3714
|
+
if (!(j instanceof o)) {
|
|
3715
|
+
var ee = 1, K;
|
|
3715
3716
|
if (V) {
|
|
3716
|
-
if (K = i(A,
|
|
3717
|
+
if (K = i(A, W, h, S), !K || K.index >= h.length)
|
|
3717
3718
|
break;
|
|
3718
|
-
var
|
|
3719
|
-
for (
|
|
3720
|
-
|
|
3721
|
-
if (
|
|
3719
|
+
var Y = K.index, U = K.index + K[0].length, Z = W;
|
|
3720
|
+
for (Z += P.value.length; Y >= Z; )
|
|
3721
|
+
P = P.next, Z += P.value.length;
|
|
3722
|
+
if (Z -= P.value.length, W = Z, P.value instanceof o)
|
|
3722
3723
|
continue;
|
|
3723
|
-
for (var
|
|
3724
|
-
|
|
3725
|
-
|
|
3726
|
-
} else if (K = i(A, 0,
|
|
3724
|
+
for (var D = P; D !== u.tail && (Z < U || typeof D.value == "string"); D = D.next)
|
|
3725
|
+
ee++, Z += D.value.length;
|
|
3726
|
+
ee--, j = h.slice(W, Z), K.index -= W;
|
|
3727
|
+
} else if (K = i(A, 0, j, S), !K)
|
|
3727
3728
|
continue;
|
|
3728
|
-
var
|
|
3729
|
-
M &&
|
|
3730
|
-
var
|
|
3731
|
-
|
|
3732
|
-
var fe = new o(k, N ? c.tokenize(
|
|
3733
|
-
if (
|
|
3729
|
+
var Y = K.index, X = K[0], J = j.slice(0, Y), q = j.slice(Y + X.length), ae = W + j.length;
|
|
3730
|
+
M && ae > M.reach && (M.reach = ae);
|
|
3731
|
+
var te = P.prev;
|
|
3732
|
+
J && (te = m(u, te, J), W += J.length), b(u, te, ee);
|
|
3733
|
+
var fe = new o(k, N ? c.tokenize(X, N) : X, O, X);
|
|
3734
|
+
if (P = m(u, te, fe), q && m(u, P, q), ee > 1) {
|
|
3734
3735
|
var ie = {
|
|
3735
3736
|
cause: k + "," + L,
|
|
3736
|
-
reach:
|
|
3737
|
+
reach: ae
|
|
3737
3738
|
};
|
|
3738
|
-
f(h, u, g,
|
|
3739
|
+
f(h, u, g, P.prev, W, ie), M && ie.reach > M.reach && (M.reach = ie.reach);
|
|
3739
3740
|
}
|
|
3740
3741
|
}
|
|
3741
3742
|
}
|
|
@@ -3776,10 +3777,10 @@ var y1 = { exports: {} };
|
|
|
3776
3777
|
}
|
|
3777
3778
|
return c;
|
|
3778
3779
|
}(s);
|
|
3779
|
-
t.exports && (t.exports = n), typeof
|
|
3780
|
-
})(
|
|
3781
|
-
var
|
|
3782
|
-
const
|
|
3780
|
+
t.exports && (t.exports = n), typeof o1 != "undefined" && (o1.Prism = n);
|
|
3781
|
+
})(L1);
|
|
3782
|
+
var p2 = L1.exports;
|
|
3783
|
+
const h2 = /* @__PURE__ */ u2(p2), f2 = {
|
|
3783
3784
|
plain: {
|
|
3784
3785
|
color: "var(--pds-color-code-block-dark-foreground)",
|
|
3785
3786
|
backgroundColor: "var(--pds-color-code-block-dark-background)"
|
|
@@ -3861,7 +3862,7 @@ const p2 = /* @__PURE__ */ m2(u2), h2 = {
|
|
|
3861
3862
|
}
|
|
3862
3863
|
}
|
|
3863
3864
|
]
|
|
3864
|
-
},
|
|
3865
|
+
}, g2 = {
|
|
3865
3866
|
plain: {
|
|
3866
3867
|
color: "var(--pds-color-code-block-light-foreground)",
|
|
3867
3868
|
backgroundColor: "#f4f4f4"
|
|
@@ -4206,7 +4207,7 @@ const p2 = /* @__PURE__ */ m2(u2), h2 = {
|
|
|
4206
4207
|
value: s
|
|
4207
4208
|
});
|
|
4208
4209
|
})(Prism);
|
|
4209
|
-
const
|
|
4210
|
+
const hs = (m) => {
|
|
4210
4211
|
var b = m, {
|
|
4211
4212
|
code: t,
|
|
4212
4213
|
colorType: s = "dark",
|
|
@@ -4232,7 +4233,7 @@ const us = (m) => {
|
|
|
4232
4233
|
"shouldWrap",
|
|
4233
4234
|
"className"
|
|
4234
4235
|
]);
|
|
4235
|
-
const E = "pds-code-block", y = `${E}--${s}`, v = i ? `${E}__line-wrapped` : "", C = c ? { maxHeight: `${c}rem` } : {}, h = s === "dark" ? "reverse" : "standard", u = s === "dark" ?
|
|
4236
|
+
const E = "pds-code-block", y = `${E}--${s}`, v = i ? `${E}__line-wrapped` : "", C = c ? { maxHeight: `${c}rem` } : {}, h = s === "dark" ? "reverse" : "standard", u = s === "dark" ? f2 : g2, g = ["bash", "diff", "twig"], _ = /* @__PURE__ */ e.createElement(it.LineContent, null, /* @__PURE__ */ e.createElement(it.Token, null)), w = /* @__PURE__ */ e.createElement("div", { className: `${E}__line ${v}` }, /* @__PURE__ */ e.createElement(it.LineNumber, { className: `${E}__number` }), _), M = /* @__PURE__ */ e.createElement("div", { className: `${E}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__prompt` }, o), _);
|
|
4236
4237
|
return /* @__PURE__ */ e.createElement(
|
|
4237
4238
|
"div",
|
|
4238
4239
|
H({
|
|
@@ -4245,12 +4246,12 @@ const us = (m) => {
|
|
|
4245
4246
|
code: t,
|
|
4246
4247
|
language: a || "",
|
|
4247
4248
|
theme: u,
|
|
4248
|
-
prism: g.includes(a) ?
|
|
4249
|
+
prism: g.includes(a) ? h2 : void 0
|
|
4249
4250
|
},
|
|
4250
4251
|
/* @__PURE__ */ e.createElement(it.Code, { className: `${E}__code`, tabIndex: 0 }, r || d ? r ? w : M : _)
|
|
4251
4252
|
),
|
|
4252
4253
|
l && /* @__PURE__ */ e.createElement("div", { className: `${E}__copy` }, /* @__PURE__ */ e.createElement(
|
|
4253
|
-
|
|
4254
|
+
a2,
|
|
4254
4255
|
{
|
|
4255
4256
|
ariaLabel: n,
|
|
4256
4257
|
clipboardText: t,
|
|
@@ -4258,7 +4259,7 @@ const us = (m) => {
|
|
|
4258
4259
|
}
|
|
4259
4260
|
))
|
|
4260
4261
|
);
|
|
4261
|
-
},
|
|
4262
|
+
}, _2 = (r) => {
|
|
4262
4263
|
var d = r, {
|
|
4263
4264
|
linkContent: t,
|
|
4264
4265
|
size: s = "md",
|
|
@@ -4284,7 +4285,7 @@ const us = (m) => {
|
|
|
4284
4285
|
}
|
|
4285
4286
|
)
|
|
4286
4287
|
);
|
|
4287
|
-
},
|
|
4288
|
+
}, fs = (i) => {
|
|
4288
4289
|
var f = i, {
|
|
4289
4290
|
backgroundColor: t = "default",
|
|
4290
4291
|
containerWidth: s = "standard",
|
|
@@ -4325,7 +4326,7 @@ const us = (m) => {
|
|
|
4325
4326
|
a
|
|
4326
4327
|
))
|
|
4327
4328
|
);
|
|
4328
|
-
},
|
|
4329
|
+
}, gs = (d) => {
|
|
4329
4330
|
var a = d, {
|
|
4330
4331
|
title: t,
|
|
4331
4332
|
status: s,
|
|
@@ -4352,7 +4353,7 @@ const us = (m) => {
|
|
|
4352
4353
|
className: `${c}__stat-status ${c}__stat-status--${s}`
|
|
4353
4354
|
}
|
|
4354
4355
|
), n && /* @__PURE__ */ e.createElement("div", { className: `${c}__stat-value` }, n)));
|
|
4355
|
-
},
|
|
4356
|
+
}, _s = (a) => {
|
|
4356
4357
|
var c = a, {
|
|
4357
4358
|
additions: t = 4,
|
|
4358
4359
|
deletions: s = 2,
|
|
@@ -4418,7 +4419,7 @@ const us = (m) => {
|
|
|
4418
4419
|
)
|
|
4419
4420
|
))
|
|
4420
4421
|
);
|
|
4421
|
-
},
|
|
4422
|
+
}, Es = (r) => {
|
|
4422
4423
|
var d = r, {
|
|
4423
4424
|
contentAlignment: t = "indented",
|
|
4424
4425
|
steps: s,
|
|
@@ -4443,7 +4444,7 @@ const us = (m) => {
|
|
|
4443
4444
|
}, l),
|
|
4444
4445
|
o
|
|
4445
4446
|
);
|
|
4446
|
-
},
|
|
4447
|
+
}, E2 = (r) => {
|
|
4447
4448
|
var d = r, {
|
|
4448
4449
|
headingLevel: t = "h3",
|
|
4449
4450
|
headingText: s,
|
|
@@ -4461,7 +4462,7 @@ const us = (m) => {
|
|
|
4461
4462
|
}, l),
|
|
4462
4463
|
s
|
|
4463
4464
|
);
|
|
4464
|
-
},
|
|
4465
|
+
}, vs = (d) => {
|
|
4465
4466
|
var a = d, {
|
|
4466
4467
|
headingLevel: t,
|
|
4467
4468
|
headingText: s,
|
|
@@ -4475,14 +4476,14 @@ const us = (m) => {
|
|
|
4475
4476
|
]);
|
|
4476
4477
|
const c = "pds-footer-links";
|
|
4477
4478
|
return /* @__PURE__ */ e.createElement("div", H({ className: x([c, l]) }, r), s && /* @__PURE__ */ e.createElement(
|
|
4478
|
-
|
|
4479
|
+
E2,
|
|
4479
4480
|
{
|
|
4480
4481
|
headingLevel: t,
|
|
4481
4482
|
className: `${c}__heading`,
|
|
4482
4483
|
headingText: s
|
|
4483
4484
|
}
|
|
4484
4485
|
), /* @__PURE__ */ e.createElement("ul", { className: `${c}__list`, role: "list" }, n.map((o, i) => /* @__PURE__ */ e.createElement("li", { key: i, className: `${c}__item` }, o))));
|
|
4485
|
-
},
|
|
4486
|
+
}, bs = (d) => {
|
|
4486
4487
|
var a = d, {
|
|
4487
4488
|
containerWidth: t = "standard",
|
|
4488
4489
|
children: s,
|
|
@@ -4503,7 +4504,7 @@ const us = (m) => {
|
|
|
4503
4504
|
]);
|
|
4504
4505
|
const c = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", i = (/* @__PURE__ */ new Date()).getFullYear(), f = n.includes("privacy"), p = n.includes("dataSubjectRequest"), m = n.includes("cookiePolicy"), b = n.includes("termsOfUse"), E = n.includes("acceptableUse"), y = n.includes("accessibilityStatement");
|
|
4505
4506
|
return /* @__PURE__ */ e.createElement("footer", H({ className: x([c, l != null ? l : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, s && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, s), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", i, " Pantheon Systems, Inc."), f && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), p && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), m && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), b && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), E && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), y && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
|
|
4506
|
-
},
|
|
4507
|
+
}, v2 = Ge(
|
|
4507
4508
|
(M, w) => {
|
|
4508
4509
|
var k = M, {
|
|
4509
4510
|
checked: t,
|
|
@@ -4550,11 +4551,11 @@ const us = (m) => {
|
|
|
4550
4551
|
"value",
|
|
4551
4552
|
"className"
|
|
4552
4553
|
]);
|
|
4553
|
-
const $ = a ? { width: `${a / 16}rem` } : null, L = "pds-checkbox", z = n ?
|
|
4554
|
-
|
|
4555
|
-
), K = t ||
|
|
4556
|
-
|
|
4557
|
-
},
|
|
4554
|
+
const $ = a ? { width: `${a / 16}rem` } : null, L = "pds-checkbox", z = n ? Q.disabled : null, N = h === "error" ? Q.error : null, S = f > 0 ? `${L}--indent-${f}` : null, V = E && !n ? Q.required : null, O = v === "S" ? `${L}--sm` : null, I = h === "success" ? Q.success : null, A = C || o, P = typeof t != "undefined", W = typeof s != "undefined", [j, ee] = G(
|
|
4555
|
+
W ? s : !1
|
|
4556
|
+
), K = t || j, U = (J) => {
|
|
4557
|
+
P || ee(J.target.checked), m && m(J);
|
|
4558
|
+
}, Z = `${L}__box`, D = r ? null : K ? `${Z}--checked` : null, Y = r ? `${Z}--indeterminate` : null, X = R1(() => {
|
|
4558
4559
|
if (r)
|
|
4559
4560
|
return /* @__PURE__ */ e.createElement(
|
|
4560
4561
|
F,
|
|
@@ -4583,7 +4584,7 @@ const us = (m) => {
|
|
|
4583
4584
|
V,
|
|
4584
4585
|
N,
|
|
4585
4586
|
I,
|
|
4586
|
-
|
|
4587
|
+
O,
|
|
4587
4588
|
S,
|
|
4588
4589
|
g != null ? g : ""
|
|
4589
4590
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
@@ -4596,7 +4597,7 @@ const us = (m) => {
|
|
|
4596
4597
|
id: l,
|
|
4597
4598
|
name: i,
|
|
4598
4599
|
type: "checkbox",
|
|
4599
|
-
checked:
|
|
4600
|
+
checked: P ? t : j,
|
|
4600
4601
|
"aria-checked": r ? "mixed" : K ? "true" : "false"
|
|
4601
4602
|
}, u ? { value: u } : {}), {
|
|
4602
4603
|
disabled: n,
|
|
@@ -4611,12 +4612,12 @@ const us = (m) => {
|
|
|
4611
4612
|
"div",
|
|
4612
4613
|
{
|
|
4613
4614
|
className: x([
|
|
4614
|
-
|
|
4615
|
-
|
|
4616
|
-
|
|
4615
|
+
Z,
|
|
4616
|
+
D,
|
|
4617
|
+
Y
|
|
4617
4618
|
])
|
|
4618
4619
|
},
|
|
4619
|
-
/* @__PURE__ */ e.createElement(
|
|
4620
|
+
/* @__PURE__ */ e.createElement(X, null)
|
|
4620
4621
|
), /* @__PURE__ */ e.createElement(
|
|
4621
4622
|
"div",
|
|
4622
4623
|
{
|
|
@@ -4627,7 +4628,7 @@ const us = (m) => {
|
|
|
4627
4628
|
},
|
|
4628
4629
|
c,
|
|
4629
4630
|
" ",
|
|
4630
|
-
E && !n && /* @__PURE__ */ e.createElement(
|
|
4631
|
+
E && !n && /* @__PURE__ */ e.createElement(b1, null)
|
|
4631
4632
|
))),
|
|
4632
4633
|
A && /* @__PURE__ */ e.createElement(
|
|
4633
4634
|
De,
|
|
@@ -4641,7 +4642,7 @@ const us = (m) => {
|
|
|
4641
4642
|
)
|
|
4642
4643
|
);
|
|
4643
4644
|
}
|
|
4644
|
-
),
|
|
4645
|
+
), Cs = (E) => {
|
|
4645
4646
|
var y = E, {
|
|
4646
4647
|
children: t,
|
|
4647
4648
|
disabled: s = !1,
|
|
@@ -4671,7 +4672,7 @@ const us = (m) => {
|
|
|
4671
4672
|
"validationStatus",
|
|
4672
4673
|
"className"
|
|
4673
4674
|
]);
|
|
4674
|
-
const v = r ? { width: `${r / 16}rem` } : null, C = "pds-checkbox-group", h = s ?
|
|
4675
|
+
const v = r ? { width: `${r / 16}rem` } : null, C = "pds-checkbox-group", h = s ? Q.disabled : null, u = c && !s ? Q.required : null, g = p === "error" ? Q.error : null, _ = p === "success" ? Q.success : null, w = f || a;
|
|
4675
4676
|
return /* @__PURE__ */ e.createElement(
|
|
4676
4677
|
"div",
|
|
4677
4678
|
H({
|
|
@@ -4708,7 +4709,7 @@ const us = (m) => {
|
|
|
4708
4709
|
}
|
|
4709
4710
|
)
|
|
4710
4711
|
);
|
|
4711
|
-
},
|
|
4712
|
+
}, $s = (v) => {
|
|
4712
4713
|
var C = v, {
|
|
4713
4714
|
disabled: t = !1,
|
|
4714
4715
|
fieldsetProps: s,
|
|
@@ -4742,7 +4743,7 @@ const us = (m) => {
|
|
|
4742
4743
|
"validationStatus",
|
|
4743
4744
|
"className"
|
|
4744
4745
|
]);
|
|
4745
|
-
const h = l ? { width: `${l / 16}rem` } : null, u = "pds-checkbox-group", g = t ?
|
|
4746
|
+
const h = l ? { width: `${l / 16}rem` } : null, u = "pds-checkbox-group", g = t ? Q.disabled : null, _ = i && !t ? Q.required : null, w = b === "error" ? Q.error : null, M = b === "success" ? Q.success : null, k = m || d;
|
|
4746
4747
|
o.map((V) => {
|
|
4747
4748
|
V.id || (V.id = V.value);
|
|
4748
4749
|
});
|
|
@@ -4750,8 +4751,8 @@ const us = (m) => {
|
|
|
4750
4751
|
o.map((V) => {
|
|
4751
4752
|
V.checked === !0 && $.push(V.value);
|
|
4752
4753
|
});
|
|
4753
|
-
const [L, z] =
|
|
4754
|
-
const { value:
|
|
4754
|
+
const [L, z] = G($), N = (V) => {
|
|
4755
|
+
const { value: O } = V.target, I = L.includes(O) ? L.filter((A) => A !== O) : [...L, O];
|
|
4755
4756
|
z(I), c && c(I);
|
|
4756
4757
|
};
|
|
4757
4758
|
o.map((V) => {
|
|
@@ -4787,7 +4788,7 @@ const us = (m) => {
|
|
|
4787
4788
|
tooltipText: p
|
|
4788
4789
|
}
|
|
4789
4790
|
), /* @__PURE__ */ e.createElement("div", { className: `${u}__options` }, o.map((V) => /* @__PURE__ */ e.createElement(
|
|
4790
|
-
|
|
4791
|
+
v2,
|
|
4791
4792
|
{
|
|
4792
4793
|
key: V.id,
|
|
4793
4794
|
checked: V.checked,
|
|
@@ -4812,9 +4813,9 @@ const us = (m) => {
|
|
|
4812
4813
|
}
|
|
4813
4814
|
)
|
|
4814
4815
|
);
|
|
4815
|
-
},
|
|
4816
|
+
}, b2 = Ge(
|
|
4816
4817
|
(V, S) => {
|
|
4817
|
-
var
|
|
4818
|
+
var O = V, {
|
|
4818
4819
|
defaultValue: t,
|
|
4819
4820
|
disabled: s = !1,
|
|
4820
4821
|
hasClearButton: n = !0,
|
|
@@ -4848,7 +4849,7 @@ const us = (m) => {
|
|
|
4848
4849
|
validationMessage: $,
|
|
4849
4850
|
validationStatus: L,
|
|
4850
4851
|
className: z
|
|
4851
|
-
} =
|
|
4852
|
+
} = O, N = T(O, [
|
|
4852
4853
|
"defaultValue",
|
|
4853
4854
|
"disabled",
|
|
4854
4855
|
"hasClearButton",
|
|
@@ -4878,22 +4879,22 @@ const us = (m) => {
|
|
|
4878
4879
|
"validationStatus",
|
|
4879
4880
|
"className"
|
|
4880
4881
|
]);
|
|
4881
|
-
const I = at(c), A = "pds-combobox",
|
|
4882
|
+
const I = at(c), A = "pds-combobox", P = s ? Q.disabled : null, W = _ && !s ? Q.required : null, j = L === "error" ? Q.error : null, ee = L === "success" ? Q.success : null;
|
|
4882
4883
|
let K = null;
|
|
4883
4884
|
r && (K = "search"), L === "error" && (K = "error"), L === "success" && (K = "success");
|
|
4884
|
-
const U = $ || m,
|
|
4885
|
-
const
|
|
4886
|
-
return
|
|
4887
|
-
}, [
|
|
4888
|
-
|
|
4889
|
-
), [ie, Ee] =
|
|
4890
|
-
open:
|
|
4891
|
-
onOpenChange:
|
|
4885
|
+
const U = $ || m, Z = typeof k != "undefined", D = typeof t != "undefined", Y = (B) => {
|
|
4886
|
+
const ne = u.find((re) => re.value === B);
|
|
4887
|
+
return ne ? ne.label : "";
|
|
4888
|
+
}, [X, J] = G(!1), [q, ae] = G(null), [te, fe] = G(
|
|
4889
|
+
D ? Y(t) : ""
|
|
4890
|
+
), [ie, Ee] = G([]), be = Z ? k : te, ce = de([]), { context: le, refs: ge } = Se({
|
|
4891
|
+
open: X,
|
|
4892
|
+
onOpenChange: J,
|
|
4892
4893
|
whileElementsMounted: Re
|
|
4893
4894
|
}), Oe = Ae(le, { role: "listbox" }), qe = Ie(le), ke = ot(le, {
|
|
4894
4895
|
listRef: ce,
|
|
4895
|
-
activeIndex:
|
|
4896
|
-
onNavigate:
|
|
4896
|
+
activeIndex: q,
|
|
4897
|
+
onNavigate: ae,
|
|
4897
4898
|
virtual: !0,
|
|
4898
4899
|
loop: !0,
|
|
4899
4900
|
allowEscape: !0
|
|
@@ -4912,21 +4913,21 @@ const us = (m) => {
|
|
|
4912
4913
|
opacity: 0
|
|
4913
4914
|
}
|
|
4914
4915
|
}), ct = () => {
|
|
4915
|
-
|
|
4916
|
+
J(!X);
|
|
4916
4917
|
}, ve = () => {
|
|
4917
|
-
var
|
|
4918
|
-
!
|
|
4919
|
-
}, ye = (
|
|
4920
|
-
let
|
|
4921
|
-
E && E(
|
|
4922
|
-
}, _e = (
|
|
4923
|
-
y && y(
|
|
4924
|
-
}, Me = (
|
|
4925
|
-
C && C(
|
|
4926
|
-
}, Le = (
|
|
4927
|
-
const
|
|
4928
|
-
!
|
|
4929
|
-
}, R = (
|
|
4918
|
+
var B;
|
|
4919
|
+
!Z && fe(""), ae(null), J(!0), (B = ge.domReference.current) == null || B.focus(), v && v();
|
|
4920
|
+
}, ye = (B) => {
|
|
4921
|
+
let ne = B.target.value;
|
|
4922
|
+
E && E(B), Z || (ne.length > 0 && (ne = ne.trimStart()), fe(ne)), ne ? (ae(null), J(!0)) : J(!1);
|
|
4923
|
+
}, _e = (B) => {
|
|
4924
|
+
y && y(B);
|
|
4925
|
+
}, Me = (B) => {
|
|
4926
|
+
C && C(B);
|
|
4927
|
+
}, Le = (B) => {
|
|
4928
|
+
const ne = ie[B];
|
|
4929
|
+
!Z && fe(ne.label), ae(null), J(!1), h && h(ne);
|
|
4930
|
+
}, R = (B) => B.map((re) => {
|
|
4930
4931
|
const Be = re, { label: me, optionDisplay: ue, value: pe, searchIndex: tt } = Be, He = T(Be, ["label", "optionDisplay", "value", "searchIndex"]), je = pe || me, Pe = [me, pe];
|
|
4931
4932
|
return tt && Pe.push(...tt), H({
|
|
4932
4933
|
label: me,
|
|
@@ -4936,35 +4937,35 @@ const us = (m) => {
|
|
|
4936
4937
|
}, He);
|
|
4937
4938
|
});
|
|
4938
4939
|
oe(() => {
|
|
4939
|
-
const
|
|
4940
|
-
(
|
|
4940
|
+
const B = R(u).filter(
|
|
4941
|
+
(ne) => {
|
|
4941
4942
|
var ue;
|
|
4942
|
-
const re = (ue =
|
|
4943
|
+
const re = (ue = ne.searchIndex) == null ? void 0 : ue.map(
|
|
4943
4944
|
(pe) => pe.toLowerCase()
|
|
4944
4945
|
), me = be.toLowerCase();
|
|
4945
4946
|
return re.some((pe) => pe.includes(me));
|
|
4946
4947
|
}
|
|
4947
4948
|
);
|
|
4948
|
-
Ee(
|
|
4949
|
+
Ee(B);
|
|
4949
4950
|
}, [be, o, u]);
|
|
4950
|
-
const
|
|
4951
|
-
const { label: re, value: me, optionDisplay: ue } =
|
|
4951
|
+
const se = ie.map((B, ne) => {
|
|
4952
|
+
const { label: re, value: me, optionDisplay: ue } = B;
|
|
4952
4953
|
return /* @__PURE__ */ e.createElement(
|
|
4953
|
-
|
|
4954
|
+
Ut,
|
|
4954
4955
|
he(H({
|
|
4955
|
-
key:
|
|
4956
|
+
key: B
|
|
4956
4957
|
}, et({
|
|
4957
4958
|
key: me,
|
|
4958
4959
|
ref(pe) {
|
|
4959
|
-
ce.current[
|
|
4960
|
+
ce.current[ne] = pe;
|
|
4960
4961
|
},
|
|
4961
4962
|
onClick() {
|
|
4962
4963
|
var pe;
|
|
4963
|
-
Le(
|
|
4964
|
+
Le(ne), (pe = ge.domReference.current) == null || pe.focus();
|
|
4964
4965
|
}
|
|
4965
4966
|
})), {
|
|
4966
|
-
tabIndex:
|
|
4967
|
-
isActive:
|
|
4967
|
+
tabIndex: q === ne ? 0 : -1,
|
|
4968
|
+
isActive: q === ne
|
|
4968
4969
|
}),
|
|
4969
4970
|
ue || re
|
|
4970
4971
|
);
|
|
@@ -4973,12 +4974,12 @@ const us = (m) => {
|
|
|
4973
4974
|
"div",
|
|
4974
4975
|
H({
|
|
4975
4976
|
className: x([
|
|
4976
|
-
|
|
4977
|
+
Q.base,
|
|
4977
4978
|
A,
|
|
4978
|
-
|
|
4979
|
-
G,
|
|
4979
|
+
P,
|
|
4980
4980
|
W,
|
|
4981
|
-
|
|
4981
|
+
j,
|
|
4982
|
+
ee,
|
|
4982
4983
|
z != null ? z : ""
|
|
4983
4984
|
]),
|
|
4984
4985
|
style: c ? I : null
|
|
@@ -5022,13 +5023,13 @@ const us = (m) => {
|
|
|
5022
5023
|
onBlur: _e,
|
|
5023
5024
|
onChange: ye,
|
|
5024
5025
|
onFocus: Me,
|
|
5025
|
-
onKeyDown(
|
|
5026
|
-
|
|
5026
|
+
onKeyDown(B) {
|
|
5027
|
+
B.key === "Enter" && q != null && ie[q] && Le(q);
|
|
5027
5028
|
}
|
|
5028
5029
|
}))
|
|
5029
5030
|
),
|
|
5030
5031
|
be && n && /* @__PURE__ */ e.createElement(
|
|
5031
|
-
|
|
5032
|
+
Kt,
|
|
5032
5033
|
{
|
|
5033
5034
|
id: `input-${a}`,
|
|
5034
5035
|
clearLabel: f.clearButton,
|
|
@@ -5036,7 +5037,7 @@ const us = (m) => {
|
|
|
5036
5037
|
}
|
|
5037
5038
|
),
|
|
5038
5039
|
d && !be && /* @__PURE__ */ e.createElement(
|
|
5039
|
-
|
|
5040
|
+
C1,
|
|
5040
5041
|
{
|
|
5041
5042
|
inputId: `input-${a}`,
|
|
5042
5043
|
shortcutLabel: f.searchShortcut
|
|
@@ -5050,7 +5051,7 @@ const us = (m) => {
|
|
|
5050
5051
|
onClick: ct,
|
|
5051
5052
|
disabled: s,
|
|
5052
5053
|
type: "button",
|
|
5053
|
-
"aria-expanded":
|
|
5054
|
+
"aria-expanded": X,
|
|
5054
5055
|
"aria-label": f.triggerButton
|
|
5055
5056
|
})), {
|
|
5056
5057
|
className: `${A}__trigger`
|
|
@@ -5074,7 +5075,7 @@ const us = (m) => {
|
|
|
5074
5075
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5075
5076
|
}
|
|
5076
5077
|
})),
|
|
5077
|
-
/* @__PURE__ */ e.createElement("div", { style: H({}, lt) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${A}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${A}__options` },
|
|
5078
|
+
/* @__PURE__ */ e.createElement("div", { style: H({}, lt) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${A}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${A}__options` }, se) : /* @__PURE__ */ e.createElement("div", { className: `${A}__no-results` }, b))
|
|
5078
5079
|
),
|
|
5079
5080
|
U && /* @__PURE__ */ e.createElement(
|
|
5080
5081
|
De,
|
|
@@ -5088,7 +5089,7 @@ const us = (m) => {
|
|
|
5088
5089
|
)
|
|
5089
5090
|
);
|
|
5090
5091
|
}
|
|
5091
|
-
),
|
|
5092
|
+
), ws = Ge(
|
|
5092
5093
|
(_, g) => {
|
|
5093
5094
|
var w = _, {
|
|
5094
5095
|
accept: t,
|
|
@@ -5134,53 +5135,54 @@ const us = (m) => {
|
|
|
5134
5135
|
"validationStatus",
|
|
5135
5136
|
"className"
|
|
5136
5137
|
]);
|
|
5137
|
-
const [M, k] =
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5138
|
+
const [M, k] = G(!1), [$, L] = G(
|
|
5139
|
+
!!(_t && s)
|
|
5140
|
+
), z = at(a), N = "pds-file-upload", S = n ? Q.disabled : null, V = m && !n ? Q.required : null, O = C === "error" ? Q.error : null, I = C === "success" ? Q.success : null, A = $ ? `${N}--safari-default` : null;
|
|
5141
|
+
let P = null;
|
|
5142
|
+
C === "error" && (P = "error"), C === "success" && (P = "success");
|
|
5143
|
+
const W = v || o, j = s ? [s] : null, ee = s ? s.split("/").pop() : null, K = b ? s : ee, U = s ? new File(j, K) : null;
|
|
5141
5144
|
oe(() => {
|
|
5142
|
-
const
|
|
5143
|
-
U &&
|
|
5144
|
-
|
|
5145
|
-
if (O.length > 0) {
|
|
5146
|
-
const X = document.getElementById(
|
|
5145
|
+
const X = new DataTransfer();
|
|
5146
|
+
if (U && X.items.add(U), X.files.length > 0) {
|
|
5147
|
+
const J = document.getElementById(
|
|
5147
5148
|
`${r}--input`
|
|
5148
5149
|
);
|
|
5149
|
-
X.files =
|
|
5150
|
+
J.files = X.files, _t && (J.dataset.file = `${K}`), k(!0);
|
|
5150
5151
|
}
|
|
5151
5152
|
}, [s, b]);
|
|
5152
|
-
const
|
|
5153
|
-
|
|
5154
|
-
s ? B() : k(!1);
|
|
5155
|
-
return;
|
|
5156
|
-
}
|
|
5157
|
-
p && p(W.target.files), k(!0);
|
|
5158
|
-
}, B = () => {
|
|
5159
|
-
const W = document.getElementById(
|
|
5153
|
+
const Z = () => {
|
|
5154
|
+
const X = document.getElementById(
|
|
5160
5155
|
`${r}--input`
|
|
5161
5156
|
);
|
|
5162
|
-
if (!
|
|
5163
|
-
const
|
|
5164
|
-
|
|
5165
|
-
},
|
|
5166
|
-
|
|
5157
|
+
if (!X || !s) return;
|
|
5158
|
+
const J = new DataTransfer();
|
|
5159
|
+
J.items.add(U), X.files = J.files, k(!0);
|
|
5160
|
+
}, D = (X) => {
|
|
5161
|
+
if (X.target.files.length === 0) {
|
|
5162
|
+
s ? Z() : k(!1);
|
|
5163
|
+
return;
|
|
5164
|
+
}
|
|
5165
|
+
_t && s && (s === X.target.value ? L(!0) : L(!1)), p && p(X.target.files), k(!0);
|
|
5166
|
+
}, Y = () => {
|
|
5167
|
+
const X = document.getElementById(
|
|
5167
5168
|
`${r}--input`
|
|
5168
5169
|
);
|
|
5169
|
-
|
|
5170
|
+
X.value = "", _t && L(!1), f && f(), k(!1), X.focus();
|
|
5170
5171
|
};
|
|
5171
5172
|
return /* @__PURE__ */ e.createElement(
|
|
5172
5173
|
"div",
|
|
5173
5174
|
H({
|
|
5174
5175
|
className: x([
|
|
5175
|
-
|
|
5176
|
-
L,
|
|
5177
|
-
z,
|
|
5176
|
+
Q.base,
|
|
5178
5177
|
N,
|
|
5178
|
+
A,
|
|
5179
5179
|
S,
|
|
5180
5180
|
V,
|
|
5181
|
+
O,
|
|
5182
|
+
I,
|
|
5181
5183
|
h != null ? h : ""
|
|
5182
5184
|
]),
|
|
5183
|
-
style: a ?
|
|
5185
|
+
style: a ? z : null
|
|
5184
5186
|
}, u),
|
|
5185
5187
|
/* @__PURE__ */ e.createElement(
|
|
5186
5188
|
Ze,
|
|
@@ -5194,11 +5196,11 @@ const us = (m) => {
|
|
|
5194
5196
|
disabled: n
|
|
5195
5197
|
}
|
|
5196
5198
|
),
|
|
5197
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
5199
|
+
/* @__PURE__ */ e.createElement("span", { className: `${N}__input-wrapper`, id: r }, P && /* @__PURE__ */ e.createElement(ft, { variant: P }), /* @__PURE__ */ e.createElement(
|
|
5198
5200
|
"label",
|
|
5199
5201
|
{
|
|
5200
5202
|
htmlFor: `${r}--input`,
|
|
5201
|
-
className: M ? "visually-hidden" : `${
|
|
5203
|
+
className: M ? "visually-hidden" : `${N}__input-label`
|
|
5202
5204
|
},
|
|
5203
5205
|
/* @__PURE__ */ e.createElement(F, { iconName: "paperclip", iconSize: "sm" }),
|
|
5204
5206
|
c.chooseFile
|
|
@@ -5206,30 +5208,30 @@ const us = (m) => {
|
|
|
5206
5208
|
"input",
|
|
5207
5209
|
H({
|
|
5208
5210
|
ref: g,
|
|
5209
|
-
className: x([`${
|
|
5211
|
+
className: x([`${N}__input`]),
|
|
5210
5212
|
type: "file",
|
|
5211
5213
|
id: `${r}--input`,
|
|
5212
5214
|
accept: t || null,
|
|
5213
5215
|
disabled: n,
|
|
5214
5216
|
multiple: i,
|
|
5215
5217
|
required: m,
|
|
5216
|
-
onChange:
|
|
5218
|
+
onChange: D,
|
|
5217
5219
|
"aria-invalid": C === "error" ? !0 : null,
|
|
5218
|
-
"aria-describedby":
|
|
5220
|
+
"aria-describedby": W ? `${r}__message` : null
|
|
5219
5221
|
}, d)
|
|
5220
5222
|
), M && /* @__PURE__ */ e.createElement(
|
|
5221
|
-
|
|
5223
|
+
Kt,
|
|
5222
5224
|
{
|
|
5223
5225
|
id: r,
|
|
5224
5226
|
clearLabel: c.clearButton,
|
|
5225
|
-
handleClearInput:
|
|
5227
|
+
handleClearInput: Y
|
|
5226
5228
|
}
|
|
5227
5229
|
)),
|
|
5228
|
-
|
|
5230
|
+
W && /* @__PURE__ */ e.createElement(
|
|
5229
5231
|
De,
|
|
5230
5232
|
{
|
|
5231
5233
|
id: r,
|
|
5232
|
-
message:
|
|
5234
|
+
message: W,
|
|
5233
5235
|
hasValidationMessage: !!v,
|
|
5234
5236
|
validationMessageHasDecorators: !1,
|
|
5235
5237
|
validationStatus: C
|
|
@@ -5237,7 +5239,7 @@ const us = (m) => {
|
|
|
5237
5239
|
)
|
|
5238
5240
|
);
|
|
5239
5241
|
}
|
|
5240
|
-
),
|
|
5242
|
+
), ys = (l) => {
|
|
5241
5243
|
var r = l, {
|
|
5242
5244
|
children: t,
|
|
5243
5245
|
className: s
|
|
@@ -5264,7 +5266,7 @@ const us = (m) => {
|
|
|
5264
5266
|
}
|
|
5265
5267
|
)
|
|
5266
5268
|
);
|
|
5267
|
-
},
|
|
5269
|
+
}, Ls = (u) => {
|
|
5268
5270
|
var g = u, {
|
|
5269
5271
|
defaultValue: t,
|
|
5270
5272
|
disabled: s = !1,
|
|
@@ -5304,9 +5306,9 @@ const us = (m) => {
|
|
|
5304
5306
|
"value",
|
|
5305
5307
|
"className"
|
|
5306
5308
|
]);
|
|
5307
|
-
const _ = "pds-radio-group", w = s ?
|
|
5309
|
+
const _ = "pds-radio-group", w = s ? Q.disabled : null, M = p && !s ? Q.required : null, k = y === "error" ? Q.error : null, $ = y === "success" ? Q.success : null, L = typeof v != "undefined", z = typeof t != "undefined", [N, S] = G(
|
|
5308
5310
|
z ? t : ""
|
|
5309
|
-
), V = E || a,
|
|
5311
|
+
), V = E || a, O = (A) => {
|
|
5310
5312
|
L || S(A.target.value), o && o(A), i && i(A.target.value);
|
|
5311
5313
|
}, I = (A) => {
|
|
5312
5314
|
c && c(A);
|
|
@@ -5335,27 +5337,27 @@ const us = (m) => {
|
|
|
5335
5337
|
showLabel: m,
|
|
5336
5338
|
tooltipText: b
|
|
5337
5339
|
}
|
|
5338
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${_}__options` }, f.map((A,
|
|
5340
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${_}__options` }, f.map((A, P) => /* @__PURE__ */ e.createElement(
|
|
5339
5341
|
"div",
|
|
5340
5342
|
{
|
|
5341
5343
|
className: `${_}__option`,
|
|
5342
|
-
key: `${l}-option-${
|
|
5344
|
+
key: `${l}-option-${P}`
|
|
5343
5345
|
},
|
|
5344
5346
|
/* @__PURE__ */ e.createElement(
|
|
5345
5347
|
"input",
|
|
5346
5348
|
{
|
|
5347
5349
|
type: "radio",
|
|
5348
|
-
id: A.id ? A.id : `${l}-option-${
|
|
5350
|
+
id: A.id ? A.id : `${l}-option-${P}`,
|
|
5349
5351
|
name: l,
|
|
5350
5352
|
value: A.value,
|
|
5351
5353
|
required: p,
|
|
5352
5354
|
disabled: s || A.disabled,
|
|
5353
5355
|
onBlur: I,
|
|
5354
|
-
onChange:
|
|
5356
|
+
onChange: O,
|
|
5355
5357
|
checked: L ? v === A.value : N === A.value
|
|
5356
5358
|
}
|
|
5357
5359
|
),
|
|
5358
|
-
/* @__PURE__ */ e.createElement("label", { htmlFor: A.id ? A.id : `${l}-option-${
|
|
5360
|
+
/* @__PURE__ */ e.createElement("label", { htmlFor: A.id ? A.id : `${l}-option-${P}` }, A.label)
|
|
5359
5361
|
)))),
|
|
5360
5362
|
V && /* @__PURE__ */ e.createElement(
|
|
5361
5363
|
De,
|
|
@@ -5368,7 +5370,7 @@ const us = (m) => {
|
|
|
5368
5370
|
}
|
|
5369
5371
|
)
|
|
5370
5372
|
);
|
|
5371
|
-
},
|
|
5373
|
+
}, C2 = ({ toggleStatusLabel: t, id: s }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Xt, { label: t }), /* @__PURE__ */ e.createElement(
|
|
5372
5374
|
"label",
|
|
5373
5375
|
{
|
|
5374
5376
|
htmlFor: s,
|
|
@@ -5376,7 +5378,7 @@ const us = (m) => {
|
|
|
5376
5378
|
"aria-hidden": "true"
|
|
5377
5379
|
},
|
|
5378
5380
|
t
|
|
5379
|
-
)),
|
|
5381
|
+
)), $2 = ({ toggleStatusLabel: t }) => /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Xt, { label: t }), /* @__PURE__ */ e.createElement(
|
|
5380
5382
|
"span",
|
|
5381
5383
|
{
|
|
5382
5384
|
className: "pds-switch__input-decor",
|
|
@@ -5392,7 +5394,7 @@ const us = (m) => {
|
|
|
5392
5394
|
"aria-hidden": "true"
|
|
5393
5395
|
},
|
|
5394
5396
|
/* @__PURE__ */ e.createElement(F, { iconName: "xmark", iconSize: "sm" })
|
|
5395
|
-
)),
|
|
5397
|
+
)), Hs = Ge(
|
|
5396
5398
|
(h, C) => {
|
|
5397
5399
|
var u = h, {
|
|
5398
5400
|
checked: t,
|
|
@@ -5429,8 +5431,8 @@ const us = (m) => {
|
|
|
5429
5431
|
"showStatusLabel",
|
|
5430
5432
|
"className"
|
|
5431
5433
|
]);
|
|
5432
|
-
const g = at(d), _ = "pds-switch", w = n ?
|
|
5433
|
-
k || S(
|
|
5434
|
+
const g = at(d), _ = "pds-switch", w = n ? Q.disabled : null, M = m && !n ? Q.required : null, k = typeof t != "undefined", $ = c == "below", L = c == "right", z = !k && s ? s : !1, [N, S] = G(z), V = t || N ? p : i, O = (ee) => {
|
|
5435
|
+
k || S(ee.target.checked), f && f(ee);
|
|
5434
5436
|
}, I = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
5435
5437
|
"input",
|
|
5436
5438
|
H({
|
|
@@ -5440,13 +5442,13 @@ const us = (m) => {
|
|
|
5440
5442
|
type: "checkbox",
|
|
5441
5443
|
role: "switch",
|
|
5442
5444
|
className: "visually-hidden",
|
|
5443
|
-
onChange:
|
|
5445
|
+
onChange: O,
|
|
5444
5446
|
disabled: n,
|
|
5445
5447
|
required: m,
|
|
5446
5448
|
checked: t !== void 0 ? t : N,
|
|
5447
5449
|
"aria-describedby": o ? `${l}__message` : null
|
|
5448
5450
|
}, r)
|
|
5449
|
-
), !E && /* @__PURE__ */ e.createElement(
|
|
5451
|
+
), !E && /* @__PURE__ */ e.createElement($2, { toggleStatusLabel: V }), /* @__PURE__ */ e.createElement("span", { className: "pds-switch__thumb", "aria-hidden": "true" })), E && /* @__PURE__ */ e.createElement(C2, { toggleStatusLabel: V, id: l })), A = /* @__PURE__ */ e.createElement(
|
|
5450
5452
|
Ze,
|
|
5451
5453
|
{
|
|
5452
5454
|
id: l,
|
|
@@ -5459,7 +5461,7 @@ const us = (m) => {
|
|
|
5459
5461
|
o ? "" : "pds-input-label--switch-top-message"
|
|
5460
5462
|
])
|
|
5461
5463
|
}
|
|
5462
|
-
),
|
|
5464
|
+
), P = o && /* @__PURE__ */ e.createElement(
|
|
5463
5465
|
De,
|
|
5464
5466
|
{
|
|
5465
5467
|
id: l,
|
|
@@ -5469,8 +5471,8 @@ const us = (m) => {
|
|
|
5469
5471
|
className: "pds-input-message--switch"
|
|
5470
5472
|
}
|
|
5471
5473
|
);
|
|
5472
|
-
let
|
|
5473
|
-
return $ ?
|
|
5474
|
+
let W, j;
|
|
5475
|
+
return $ ? W = /* @__PURE__ */ e.createElement(e.Fragment, null, A, P, I) : L && (j = "pds-switch--placement-right", W = o ? /* @__PURE__ */ e.createElement(e.Fragment, null, A, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, P, /* @__PURE__ */ e.createElement("div", null, I))) : /* @__PURE__ */ e.createElement(
|
|
5474
5476
|
"div",
|
|
5475
5477
|
{
|
|
5476
5478
|
className: x([
|
|
@@ -5484,19 +5486,19 @@ const us = (m) => {
|
|
|
5484
5486
|
"div",
|
|
5485
5487
|
H({
|
|
5486
5488
|
className: x([
|
|
5487
|
-
|
|
5489
|
+
Q.base,
|
|
5488
5490
|
_,
|
|
5489
5491
|
w,
|
|
5490
5492
|
M,
|
|
5491
|
-
|
|
5493
|
+
j,
|
|
5492
5494
|
y
|
|
5493
5495
|
]),
|
|
5494
5496
|
style: d ? g : null
|
|
5495
5497
|
}, v),
|
|
5496
|
-
|
|
5498
|
+
W
|
|
5497
5499
|
);
|
|
5498
5500
|
}
|
|
5499
|
-
),
|
|
5501
|
+
), Ms = Ge(
|
|
5500
5502
|
($, k) => {
|
|
5501
5503
|
var L = $, {
|
|
5502
5504
|
counterMaxLength: t,
|
|
@@ -5554,24 +5556,24 @@ const us = (m) => {
|
|
|
5554
5556
|
"value",
|
|
5555
5557
|
"className"
|
|
5556
5558
|
]);
|
|
5557
|
-
const z = at(r), N = "pds-textarea", S = d ? "pds-is-resizable" : null, V = n ?
|
|
5558
|
-
|
|
5559
|
-
),
|
|
5560
|
-
|
|
5561
|
-
},
|
|
5562
|
-
o && o(
|
|
5559
|
+
const z = at(r), N = "pds-textarea", S = d ? "pds-is-resizable" : null, V = n ? Q.disabled : null, O = b && !n ? Q.required : null, I = g === "error" ? Q.error : null, A = g === "success" ? Q.success : null, P = m ? Q.readonly : null, W = u || c, j = _ != null && i !== void 0, ee = typeof s != "undefined", [K, U] = G(
|
|
5560
|
+
ee ? s : ""
|
|
5561
|
+
), Z = _ || K, D = (X) => {
|
|
5562
|
+
j || U(X.target.value), i && i(X);
|
|
5563
|
+
}, Y = (X) => {
|
|
5564
|
+
o && o(X);
|
|
5563
5565
|
};
|
|
5564
5566
|
return /* @__PURE__ */ e.createElement(
|
|
5565
5567
|
"div",
|
|
5566
5568
|
H({
|
|
5567
5569
|
className: x([
|
|
5568
|
-
|
|
5570
|
+
Q.base,
|
|
5569
5571
|
N,
|
|
5570
5572
|
V,
|
|
5571
|
-
|
|
5573
|
+
O,
|
|
5572
5574
|
I,
|
|
5573
5575
|
A,
|
|
5574
|
-
|
|
5576
|
+
P,
|
|
5575
5577
|
w != null ? w : ""
|
|
5576
5578
|
]),
|
|
5577
5579
|
style: r ? z : null
|
|
@@ -5588,10 +5590,10 @@ const us = (m) => {
|
|
|
5588
5590
|
className: `${N}__inputlabel`
|
|
5589
5591
|
}
|
|
5590
5592
|
), t && /* @__PURE__ */ e.createElement(
|
|
5591
|
-
|
|
5593
|
+
$1,
|
|
5592
5594
|
{
|
|
5593
5595
|
id: l,
|
|
5594
|
-
currentLength:
|
|
5596
|
+
currentLength: Z.length,
|
|
5595
5597
|
maxLength: t,
|
|
5596
5598
|
overLimitMessage: h.counterOverLimit
|
|
5597
5599
|
}
|
|
@@ -5607,20 +5609,20 @@ const us = (m) => {
|
|
|
5607
5609
|
required: b,
|
|
5608
5610
|
readOnly: m,
|
|
5609
5611
|
disabled: n,
|
|
5610
|
-
value:
|
|
5612
|
+
value: j ? _ : K,
|
|
5611
5613
|
rows: E,
|
|
5612
|
-
onChange:
|
|
5613
|
-
onBlur:
|
|
5614
|
+
onChange: D,
|
|
5615
|
+
onBlur: Y,
|
|
5614
5616
|
onFocus: f,
|
|
5615
5617
|
"aria-invalid": g === "error",
|
|
5616
|
-
"aria-describedby":
|
|
5618
|
+
"aria-describedby": W ? `${l}__message` : null
|
|
5617
5619
|
}, v)
|
|
5618
5620
|
)),
|
|
5619
|
-
|
|
5621
|
+
W && /* @__PURE__ */ e.createElement(
|
|
5620
5622
|
De,
|
|
5621
5623
|
{
|
|
5622
5624
|
id: l,
|
|
5623
|
-
message:
|
|
5625
|
+
message: W,
|
|
5624
5626
|
hasValidationMessage: !!u,
|
|
5625
5627
|
validationMessageHasDecorators: !0,
|
|
5626
5628
|
validationStatus: g
|
|
@@ -5628,9 +5630,9 @@ const us = (m) => {
|
|
|
5628
5630
|
)
|
|
5629
5631
|
);
|
|
5630
5632
|
}
|
|
5631
|
-
),
|
|
5633
|
+
), H1 = Ge(
|
|
5632
5634
|
(V, S) => {
|
|
5633
|
-
var
|
|
5635
|
+
var O = V, {
|
|
5634
5636
|
autoComplete: t,
|
|
5635
5637
|
counterMaxLength: s,
|
|
5636
5638
|
defaultValue: n,
|
|
@@ -5666,7 +5668,7 @@ const us = (m) => {
|
|
|
5666
5668
|
validationStatus: $,
|
|
5667
5669
|
value: L,
|
|
5668
5670
|
className: z
|
|
5669
|
-
} =
|
|
5671
|
+
} = O, N = T(O, [
|
|
5670
5672
|
"autoComplete",
|
|
5671
5673
|
"counterMaxLength",
|
|
5672
5674
|
"defaultValue",
|
|
@@ -5696,20 +5698,20 @@ const us = (m) => {
|
|
|
5696
5698
|
"value",
|
|
5697
5699
|
"className"
|
|
5698
5700
|
]);
|
|
5699
|
-
const I = at(o), A = "pds-text-input",
|
|
5701
|
+
const I = at(o), A = "pds-text-input", P = l ? Q.disabled : null, W = C && !l ? Q.required : null, j = $ === "error" ? Q.error : null, ee = $ === "success" ? Q.success : null, K = v ? Q.readonly : null;
|
|
5700
5702
|
let U = null;
|
|
5701
5703
|
M === "search" && (U = "search"), M === "search" && h === "filter" && (U = "filter"), $ === "error" && (U = "error"), $ === "success" && (U = "success");
|
|
5702
|
-
const
|
|
5703
|
-
|
|
5704
|
-
),
|
|
5704
|
+
const Z = k || f, D = typeof L != "undefined", Y = typeof n != "undefined", [X, J] = G(
|
|
5705
|
+
Y ? n : ""
|
|
5706
|
+
), q = L || X, ae = (le) => {
|
|
5705
5707
|
g && ie && Ee(!1), p && p(le);
|
|
5706
|
-
},
|
|
5707
|
-
|
|
5708
|
+
}, te = (le) => {
|
|
5709
|
+
D || J(le.target.value), m && m(le);
|
|
5708
5710
|
}, fe = () => {
|
|
5709
|
-
|
|
5711
|
+
D || J(""), b && b();
|
|
5710
5712
|
const le = document.getElementById(a);
|
|
5711
5713
|
le && le.focus();
|
|
5712
|
-
}, [ie, Ee] =
|
|
5714
|
+
}, [ie, Ee] = G(!1), be = () => {
|
|
5713
5715
|
Ee((ge) => !ge);
|
|
5714
5716
|
const le = document.getElementById(a);
|
|
5715
5717
|
le && le.focus();
|
|
@@ -5719,12 +5721,12 @@ const us = (m) => {
|
|
|
5719
5721
|
"div",
|
|
5720
5722
|
H({
|
|
5721
5723
|
className: x([
|
|
5722
|
-
|
|
5724
|
+
Q.base,
|
|
5723
5725
|
A,
|
|
5724
|
-
|
|
5725
|
-
G,
|
|
5726
|
+
P,
|
|
5726
5727
|
W,
|
|
5727
|
-
|
|
5728
|
+
j,
|
|
5729
|
+
ee,
|
|
5728
5730
|
K,
|
|
5729
5731
|
z != null ? z : ""
|
|
5730
5732
|
]),
|
|
@@ -5750,20 +5752,20 @@ const us = (m) => {
|
|
|
5750
5752
|
id: a,
|
|
5751
5753
|
name: a,
|
|
5752
5754
|
type: ce,
|
|
5753
|
-
value:
|
|
5755
|
+
value: D ? L : X,
|
|
5754
5756
|
placeholder: y,
|
|
5755
5757
|
readOnly: v,
|
|
5756
5758
|
disabled: l,
|
|
5757
5759
|
required: C,
|
|
5758
5760
|
autoComplete: M === "password" ? "off" : t,
|
|
5759
|
-
onBlur:
|
|
5760
|
-
onChange:
|
|
5761
|
+
onBlur: ae,
|
|
5762
|
+
onChange: te,
|
|
5761
5763
|
onFocus: E,
|
|
5762
5764
|
"aria-invalid": $ === "error" ? !0 : null,
|
|
5763
|
-
"aria-describedby":
|
|
5765
|
+
"aria-describedby": Z ? `${a}__message` : null
|
|
5764
5766
|
}, c)
|
|
5765
|
-
), r &&
|
|
5766
|
-
|
|
5767
|
+
), r && q && /* @__PURE__ */ e.createElement(
|
|
5768
|
+
Kt,
|
|
5767
5769
|
{
|
|
5768
5770
|
id: a,
|
|
5769
5771
|
clearLabel: w.clearButton,
|
|
@@ -5780,26 +5782,26 @@ const us = (m) => {
|
|
|
5780
5782
|
onMouseDown: (le) => le.preventDefault()
|
|
5781
5783
|
},
|
|
5782
5784
|
/* @__PURE__ */ e.createElement(F, { iconName: ie ? "eyeSlash" : "eye", iconSize: "md" })
|
|
5783
|
-
), d && M === "search" && !
|
|
5784
|
-
|
|
5785
|
+
), d && M === "search" && !q && /* @__PURE__ */ e.createElement(
|
|
5786
|
+
C1,
|
|
5785
5787
|
{
|
|
5786
5788
|
inputId: a,
|
|
5787
5789
|
shortcutLabel: w.searchShortcut
|
|
5788
5790
|
}
|
|
5789
5791
|
), s && M !== "password" && /* @__PURE__ */ e.createElement(
|
|
5790
|
-
|
|
5792
|
+
$1,
|
|
5791
5793
|
{
|
|
5792
5794
|
id: a,
|
|
5793
|
-
currentLength:
|
|
5795
|
+
currentLength: q.length,
|
|
5794
5796
|
maxLength: s,
|
|
5795
5797
|
overLimitMessage: w.counterOverLimit
|
|
5796
5798
|
}
|
|
5797
5799
|
)),
|
|
5798
|
-
|
|
5800
|
+
Z && /* @__PURE__ */ e.createElement(
|
|
5799
5801
|
De,
|
|
5800
5802
|
{
|
|
5801
5803
|
id: a,
|
|
5802
|
-
message:
|
|
5804
|
+
message: Z,
|
|
5803
5805
|
hasValidationMessage: !!k,
|
|
5804
5806
|
validationMessageHasDecorators: !1,
|
|
5805
5807
|
validationStatus: $
|
|
@@ -5807,7 +5809,7 @@ const us = (m) => {
|
|
|
5807
5809
|
)
|
|
5808
5810
|
);
|
|
5809
5811
|
}
|
|
5810
|
-
),
|
|
5812
|
+
), zs = (a) => {
|
|
5811
5813
|
var c = a, {
|
|
5812
5814
|
children: t,
|
|
5813
5815
|
fontSize: s,
|
|
@@ -5834,7 +5836,7 @@ const us = (m) => {
|
|
|
5834
5836
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `(${n})`),
|
|
5835
5837
|
/* @__PURE__ */ e.createElement(F, { iconName: "externalLink", className: `${o}__icon` })
|
|
5836
5838
|
);
|
|
5837
|
-
},
|
|
5839
|
+
}, ks = (i) => {
|
|
5838
5840
|
var f = i, {
|
|
5839
5841
|
ariaLabel: t,
|
|
5840
5842
|
children: s,
|
|
@@ -5855,7 +5857,7 @@ const us = (m) => {
|
|
|
5855
5857
|
"title",
|
|
5856
5858
|
"className"
|
|
5857
5859
|
]);
|
|
5858
|
-
const p = "pds-modal", m = d !== "md" ? `${p}--${d}` : null, [b, E] =
|
|
5860
|
+
const p = "pds-modal", m = d !== "md" ? `${p}--${d}` : null, [b, E] = G(l);
|
|
5859
5861
|
oe(() => {
|
|
5860
5862
|
E(l);
|
|
5861
5863
|
}, [l]), oe(() => {
|
|
@@ -5885,7 +5887,7 @@ const us = (m) => {
|
|
|
5885
5887
|
}
|
|
5886
5888
|
});
|
|
5887
5889
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, w && /* @__PURE__ */ e.createElement(
|
|
5888
|
-
|
|
5890
|
+
G1,
|
|
5889
5891
|
{
|
|
5890
5892
|
lockScroll: !0,
|
|
5891
5893
|
style: he(H({}, C), {
|
|
@@ -5895,7 +5897,7 @@ const us = (m) => {
|
|
|
5895
5897
|
position: "fixed"
|
|
5896
5898
|
})
|
|
5897
5899
|
},
|
|
5898
|
-
/* @__PURE__ */ e.createElement(
|
|
5900
|
+
/* @__PURE__ */ e.createElement(_1, { context: v }, /* @__PURE__ */ e.createElement(
|
|
5899
5901
|
"div",
|
|
5900
5902
|
H(he(H({
|
|
5901
5903
|
ref: y.setFloating,
|
|
@@ -5921,7 +5923,7 @@ const us = (m) => {
|
|
|
5921
5923
|
/* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, s)
|
|
5922
5924
|
))
|
|
5923
5925
|
));
|
|
5924
|
-
},
|
|
5926
|
+
}, Ns = (r) => {
|
|
5925
5927
|
var d = r, {
|
|
5926
5928
|
ariaLabel: t = "Breadcrumb",
|
|
5927
5929
|
crumbs: s,
|
|
@@ -5956,8 +5958,8 @@ const us = (m) => {
|
|
|
5956
5958
|
}, l),
|
|
5957
5959
|
/* @__PURE__ */ e.createElement("ol", { className: `${a}__crumbs` }, o)
|
|
5958
5960
|
);
|
|
5959
|
-
},
|
|
5960
|
-
if (
|
|
5961
|
+
}, M1 = (t) => typeof t.linkContent != "string" ? !!(t.isActive || t.linkContent.props.className && t.linkContent.props.className.includes("pds-isActive")) : !1, Ce = (t) => {
|
|
5962
|
+
if (M1(t))
|
|
5961
5963
|
return !0;
|
|
5962
5964
|
if (t.links) {
|
|
5963
5965
|
for (let s = 0; s < t.links.length; s++)
|
|
@@ -5965,14 +5967,14 @@ const us = (m) => {
|
|
|
5965
5967
|
return !0;
|
|
5966
5968
|
}
|
|
5967
5969
|
return !1;
|
|
5968
|
-
},
|
|
5970
|
+
}, Qt = (t) => {
|
|
5969
5971
|
if (!t)
|
|
5970
5972
|
return null;
|
|
5971
5973
|
for (let s = 0; s < t.length; s++) {
|
|
5972
|
-
if (
|
|
5974
|
+
if (M1(t[s]))
|
|
5973
5975
|
return typeof t[s].linkContent == "string" ? null : t[s].linkContent;
|
|
5974
5976
|
if (t[s].links) {
|
|
5975
|
-
const n =
|
|
5977
|
+
const n = Qt(t[s].links);
|
|
5976
5978
|
if (n)
|
|
5977
5979
|
return n;
|
|
5978
5980
|
}
|
|
@@ -5981,7 +5983,7 @@ const us = (m) => {
|
|
|
5981
5983
|
}, We = (t) => {
|
|
5982
5984
|
let s = t;
|
|
5983
5985
|
return typeof t == "object" && (s = t.props.children), s;
|
|
5984
|
-
},
|
|
5986
|
+
}, wt = (t, s) => {
|
|
5985
5987
|
let n = null;
|
|
5986
5988
|
if (typeof t == "string" && s) {
|
|
5987
5989
|
const l = s ? s[0].linkContent : null;
|
|
@@ -5989,7 +5991,7 @@ const us = (m) => {
|
|
|
5989
5991
|
} else
|
|
5990
5992
|
n = t;
|
|
5991
5993
|
return n;
|
|
5992
|
-
},
|
|
5994
|
+
}, Zt = (t, s, n, l) => {
|
|
5993
5995
|
let r = null;
|
|
5994
5996
|
if (typeof s == "string") {
|
|
5995
5997
|
const d = l ? [
|
|
@@ -6008,7 +6010,7 @@ const us = (m) => {
|
|
|
6008
6010
|
/* @__PURE__ */ e.createElement("span", { key: l, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(F, { iconName: l, iconSize: "md" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, s.props.children))
|
|
6009
6011
|
]
|
|
6010
6012
|
})) : r = s), r;
|
|
6011
|
-
},
|
|
6013
|
+
}, w2 = (r) => {
|
|
6012
6014
|
var d = r, {
|
|
6013
6015
|
destination: t = "main",
|
|
6014
6016
|
text: s = "Skip to main content",
|
|
@@ -6026,7 +6028,7 @@ const us = (m) => {
|
|
|
6026
6028
|
}, l),
|
|
6027
6029
|
s
|
|
6028
6030
|
);
|
|
6029
|
-
},
|
|
6031
|
+
}, kt = p1(null), xs = (m) => {
|
|
6030
6032
|
var b = m, {
|
|
6031
6033
|
children: t,
|
|
6032
6034
|
hasSidebarToggle: s = !0,
|
|
@@ -6053,7 +6055,7 @@ const us = (m) => {
|
|
|
6053
6055
|
"setIsSidebarExpanded",
|
|
6054
6056
|
"className"
|
|
6055
6057
|
]);
|
|
6056
|
-
const { isMobile: E, windowWidth: y } = we(ze), [v, C] =
|
|
6058
|
+
const { isMobile: E, windowWidth: y } = we(ze), [v, C] = G(y > 1440 || o), h = de(), [u] = Mt(h), g = u.width;
|
|
6057
6059
|
oe(() => {
|
|
6058
6060
|
o !== void 0 && C(o);
|
|
6059
6061
|
}, [o]), oe(() => {
|
|
@@ -6072,7 +6074,7 @@ const us = (m) => {
|
|
|
6072
6074
|
transition: "width 200ms ease-in-out"
|
|
6073
6075
|
}, S = () => {
|
|
6074
6076
|
C(!v);
|
|
6075
|
-
}, V = Ue(t),
|
|
6077
|
+
}, V = Ue(t), O = V.header, I = V.sidebar, A = V.main, P = V.footer, W = /* @__PURE__ */ e.createElement("aside", { className: `${w}__sidebar` }, I), j = /* @__PURE__ */ e.createElement("aside", { className: `${w}__sidebar`, style: z }, s && /* @__PURE__ */ e.createElement(
|
|
6076
6078
|
"button",
|
|
6077
6079
|
{
|
|
6078
6080
|
className: `${w}__sidebar-toggle-button`,
|
|
@@ -6082,7 +6084,7 @@ const us = (m) => {
|
|
|
6082
6084
|
},
|
|
6083
6085
|
/* @__PURE__ */ e.createElement("span", { className: `${w}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(F, { iconName: "angleLeft", iconSize: "sm" }))
|
|
6084
6086
|
), /* @__PURE__ */ e.createElement("div", { className: `${w}__sidebar-inner` }, I));
|
|
6085
|
-
return /* @__PURE__ */ e.createElement(
|
|
6087
|
+
return /* @__PURE__ */ e.createElement(kt.Provider, { value: _ }, /* @__PURE__ */ e.createElement(w2, { text: c, destination: "main" }), /* @__PURE__ */ e.createElement(
|
|
6086
6088
|
"div",
|
|
6087
6089
|
H({
|
|
6088
6090
|
className: x([
|
|
@@ -6094,8 +6096,8 @@ const us = (m) => {
|
|
|
6094
6096
|
f != null ? f : ""
|
|
6095
6097
|
])
|
|
6096
6098
|
}, p),
|
|
6097
|
-
E &&
|
|
6098
|
-
E ?
|
|
6099
|
+
E && O,
|
|
6100
|
+
E ? W : j,
|
|
6099
6101
|
/* @__PURE__ */ e.createElement(
|
|
6100
6102
|
"div",
|
|
6101
6103
|
{
|
|
@@ -6103,11 +6105,11 @@ const us = (m) => {
|
|
|
6103
6105
|
className: `${w}__container`,
|
|
6104
6106
|
style: N
|
|
6105
6107
|
},
|
|
6106
|
-
!E && /* @__PURE__ */ e.createElement("div", { className: `${w}__header` },
|
|
6107
|
-
/* @__PURE__ */ e.createElement("main", { id: "main", className: `${w}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${w}__main-inner` }, A),
|
|
6108
|
+
!E && /* @__PURE__ */ e.createElement("div", { className: `${w}__header` }, O),
|
|
6109
|
+
/* @__PURE__ */ e.createElement("main", { id: "main", className: `${w}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${w}__main-inner` }, A), P && /* @__PURE__ */ e.createElement("footer", { className: `${w}__footer` }, P))
|
|
6108
6110
|
)
|
|
6109
6111
|
));
|
|
6110
|
-
}, Ke = 300, Xe = "ease-out",
|
|
6112
|
+
}, Ke = 300, Xe = "ease-out", Dt = 0.512, y2 = 3.815, L2 = 4.678, H2 = 5.96, rt = 0.8, M2 = ({
|
|
6111
6113
|
icon: t,
|
|
6112
6114
|
isActive: s,
|
|
6113
6115
|
isSidebarExpanded: n,
|
|
@@ -6115,7 +6117,7 @@ const us = (m) => {
|
|
|
6115
6117
|
linkContent: r,
|
|
6116
6118
|
links: d
|
|
6117
6119
|
}) => {
|
|
6118
|
-
const a = "pds-dashboard-nav", c = `${a}__item`, o = `${a}__menu`, i = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` },
|
|
6120
|
+
const a = "pds-dashboard-nav", c = `${a}__item`, o = `${a}__menu`, i = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Zt(a, r, d, t)), f = ($, L) => /* @__PURE__ */ e.createElement(
|
|
6119
6121
|
"ul",
|
|
6120
6122
|
{
|
|
6121
6123
|
className: x([
|
|
@@ -6136,16 +6138,16 @@ const us = (m) => {
|
|
|
6136
6138
|
},
|
|
6137
6139
|
z.linkContent
|
|
6138
6140
|
))
|
|
6139
|
-
), [p, m] =
|
|
6141
|
+
), [p, m] = G(!1), { refs: b, floatingStyles: E, context: y } = Se({
|
|
6140
6142
|
placement: "right-start",
|
|
6141
6143
|
open: p,
|
|
6142
6144
|
onOpenChange: m,
|
|
6143
|
-
middleware: [
|
|
6145
|
+
middleware: [yt(12), Lt(), Ht()],
|
|
6144
6146
|
whileElementsMounted: Re
|
|
6145
|
-
}), v =
|
|
6147
|
+
}), v = vt(y, {
|
|
6146
6148
|
move: !1,
|
|
6147
|
-
handleClose:
|
|
6148
|
-
}), C =
|
|
6149
|
+
handleClose: E1()
|
|
6150
|
+
}), C = f1(y), h = Ie(y), u = Ae(y, { role: "menu" }), { getReferenceProps: g, getFloatingProps: _ } = Te([
|
|
6149
6151
|
v,
|
|
6150
6152
|
C,
|
|
6151
6153
|
h,
|
|
@@ -6218,7 +6220,7 @@ const us = (m) => {
|
|
|
6218
6220
|
]),
|
|
6219
6221
|
ref: n ? null : b.setReference
|
|
6220
6222
|
}, g()),
|
|
6221
|
-
d ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` },
|
|
6223
|
+
d ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Zt(
|
|
6222
6224
|
a,
|
|
6223
6225
|
r,
|
|
6224
6226
|
d,
|
|
@@ -6258,7 +6260,7 @@ const us = (m) => {
|
|
|
6258
6260
|
}
|
|
6259
6261
|
))
|
|
6260
6262
|
);
|
|
6261
|
-
},
|
|
6263
|
+
}, Jt = (d) => {
|
|
6262
6264
|
var a = d, {
|
|
6263
6265
|
headingText: t,
|
|
6264
6266
|
menuItems: s,
|
|
@@ -6270,53 +6272,53 @@ const us = (m) => {
|
|
|
6270
6272
|
"selectTextFallback",
|
|
6271
6273
|
"className"
|
|
6272
6274
|
]);
|
|
6273
|
-
const c = "pds-dropdown-menu", [o, i] =
|
|
6275
|
+
const c = "pds-dropdown-menu", [o, i] = G(!1), [f, p] = G(null), m = Qt(s), b = m ? m.props.children : n, E = /* @__PURE__ */ e.createElement(
|
|
6274
6276
|
F,
|
|
6275
6277
|
{
|
|
6276
6278
|
iconName: "check",
|
|
6277
6279
|
iconSize: "md",
|
|
6278
6280
|
className: `${c}__active-icon`
|
|
6279
6281
|
}
|
|
6280
|
-
), y = (
|
|
6282
|
+
), y = (O) => {
|
|
6281
6283
|
var I;
|
|
6282
|
-
|
|
6283
|
-
}, v = (
|
|
6284
|
-
|
|
6284
|
+
O.key === "Enter" && ((I = _.current[f].querySelector("a")) == null || I.click());
|
|
6285
|
+
}, v = (O) => {
|
|
6286
|
+
O.target.nodeName === "A" && i(!1);
|
|
6285
6287
|
};
|
|
6286
6288
|
oe(() => {
|
|
6287
6289
|
if (o) {
|
|
6288
|
-
const
|
|
6289
|
-
return
|
|
6290
|
-
|
|
6290
|
+
const O = document.querySelector(".pds-dropdown-menu__dropdown");
|
|
6291
|
+
return O.addEventListener("click", v), () => {
|
|
6292
|
+
O.removeEventListener("click", v);
|
|
6291
6293
|
};
|
|
6292
6294
|
}
|
|
6293
6295
|
}, [o]);
|
|
6294
6296
|
const C = ({
|
|
6295
|
-
item:
|
|
6297
|
+
item: O,
|
|
6296
6298
|
level: I
|
|
6297
|
-
}) => he(H({},
|
|
6299
|
+
}) => he(H({}, O), {
|
|
6298
6300
|
level: I,
|
|
6299
6301
|
linkContent: Ve(
|
|
6300
|
-
|
|
6302
|
+
wt(O.linkContent, O.links),
|
|
6301
6303
|
{
|
|
6302
6304
|
tabIndex: -1
|
|
6303
6305
|
}
|
|
6304
6306
|
)
|
|
6305
|
-
}), h = (
|
|
6307
|
+
}), h = (O) => {
|
|
6306
6308
|
const I = [];
|
|
6307
|
-
return
|
|
6308
|
-
A.links ? (I.push(C({ item: A, level: "top-level" })), A.links.forEach((
|
|
6309
|
-
|
|
6310
|
-
|
|
6311
|
-
C({ item:
|
|
6312
|
-
),
|
|
6309
|
+
return O.forEach((A) => {
|
|
6310
|
+
A.links ? (I.push(C({ item: A, level: "top-level" })), A.links.forEach((P) => {
|
|
6311
|
+
P.links ? (I.push(C({ item: P, level: "second-level" })), P.links.forEach((W) => {
|
|
6312
|
+
W.links && (I.push(
|
|
6313
|
+
C({ item: W, level: "third-level" })
|
|
6314
|
+
), W.links.forEach((j) => {
|
|
6313
6315
|
I.push(
|
|
6314
|
-
C({ item:
|
|
6316
|
+
C({ item: j, level: "fourth-level" })
|
|
6315
6317
|
);
|
|
6316
6318
|
})), I.push(
|
|
6317
|
-
C({ item:
|
|
6319
|
+
C({ item: W, level: "third-level" })
|
|
6318
6320
|
);
|
|
6319
|
-
})) : I.push(C({ item:
|
|
6321
|
+
})) : I.push(C({ item: P, level: "second-level" }));
|
|
6320
6322
|
})) : I.push(C({ item: A, level: "top-level" }));
|
|
6321
6323
|
}), I;
|
|
6322
6324
|
}, { refs: u, context: g } = Se({
|
|
@@ -6373,22 +6375,22 @@ const us = (m) => {
|
|
|
6373
6375
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
6374
6376
|
})
|
|
6375
6377
|
}, z()),
|
|
6376
|
-
h(s).map((
|
|
6378
|
+
h(s).map((O, I) => /* @__PURE__ */ e.createElement(
|
|
6377
6379
|
"li",
|
|
6378
6380
|
H({
|
|
6379
6381
|
key: I,
|
|
6380
6382
|
onKeyDown: y,
|
|
6381
|
-
className: `${c}__item ${c}__item--${
|
|
6383
|
+
className: `${c}__item ${c}__item--${O.level} ${O.isActive === !0 ? `${c}__item--active` : ""}`,
|
|
6382
6384
|
tabIndex: f === I ? 0 : -1,
|
|
6383
6385
|
ref: (A) => {
|
|
6384
6386
|
_.current[I] = A;
|
|
6385
6387
|
}
|
|
6386
6388
|
}, N()),
|
|
6387
|
-
|
|
6388
|
-
|
|
6389
|
+
O.linkContent,
|
|
6390
|
+
O.isActive === !0 && E
|
|
6389
6391
|
))
|
|
6390
6392
|
));
|
|
6391
|
-
},
|
|
6393
|
+
}, z2 = /* @__PURE__ */ e.createElement(
|
|
6392
6394
|
"svg",
|
|
6393
6395
|
{
|
|
6394
6396
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6526,7 +6528,7 @@ const us = (m) => {
|
|
|
6526
6528
|
fill: "var(--pds-color-foreground-default)"
|
|
6527
6529
|
}
|
|
6528
6530
|
)
|
|
6529
|
-
),
|
|
6531
|
+
), Ot = /* @__PURE__ */ e.createElement(
|
|
6530
6532
|
"svg",
|
|
6531
6533
|
{
|
|
6532
6534
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6601,7 +6603,7 @@ const us = (m) => {
|
|
|
6601
6603
|
fill: "var(--pds-color-foreground-default)"
|
|
6602
6604
|
}
|
|
6603
6605
|
)
|
|
6604
|
-
),
|
|
6606
|
+
), k2 = /* @__PURE__ */ e.createElement(
|
|
6605
6607
|
"svg",
|
|
6606
6608
|
{
|
|
6607
6609
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -6676,7 +6678,7 @@ const us = (m) => {
|
|
|
6676
6678
|
fill: "var(--pds-color-foreground-default)"
|
|
6677
6679
|
}
|
|
6678
6680
|
)
|
|
6679
|
-
),
|
|
6681
|
+
), z1 = (a) => {
|
|
6680
6682
|
var c = a, {
|
|
6681
6683
|
colorType: t = "default",
|
|
6682
6684
|
displayType: s = "full",
|
|
@@ -6694,19 +6696,19 @@ const us = (m) => {
|
|
|
6694
6696
|
let p;
|
|
6695
6697
|
switch (s) {
|
|
6696
6698
|
case "full":
|
|
6697
|
-
p =
|
|
6699
|
+
p = z2;
|
|
6698
6700
|
break;
|
|
6699
6701
|
case "icon":
|
|
6700
|
-
p =
|
|
6702
|
+
p = Ot;
|
|
6701
6703
|
break;
|
|
6702
6704
|
case "wordmark":
|
|
6703
|
-
p =
|
|
6705
|
+
p = k2;
|
|
6704
6706
|
break;
|
|
6705
6707
|
case "sub-brand":
|
|
6706
|
-
p =
|
|
6708
|
+
p = Ot;
|
|
6707
6709
|
break;
|
|
6708
6710
|
case "sub-brand-small":
|
|
6709
|
-
p =
|
|
6711
|
+
p = Ot;
|
|
6710
6712
|
}
|
|
6711
6713
|
const m = e.isValidElement(n) && typeof n.props.children == "string" ? n.props.children : "", b = e.isValidElement(n) ? Ve(n, {
|
|
6712
6714
|
children: p,
|
|
@@ -6725,7 +6727,7 @@ const us = (m) => {
|
|
|
6725
6727
|
n ? b : p,
|
|
6726
6728
|
l && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__separator" }), /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__sub-brand-wordmark" }, l))
|
|
6727
6729
|
);
|
|
6728
|
-
},
|
|
6730
|
+
}, Vs = (a) => {
|
|
6729
6731
|
var c = a, {
|
|
6730
6732
|
ariaLabel: t,
|
|
6731
6733
|
labels: s = {
|
|
@@ -6745,11 +6747,11 @@ const us = (m) => {
|
|
|
6745
6747
|
let o = !1;
|
|
6746
6748
|
const i = we(ze);
|
|
6747
6749
|
i && (o = i.isMobile);
|
|
6748
|
-
const f = we(
|
|
6750
|
+
const f = we(kt);
|
|
6749
6751
|
let p = !0, m = null;
|
|
6750
6752
|
f && (p = f.isSidebarExpanded, m = f.logoLinkContent);
|
|
6751
6753
|
const b = "pds-dashboard-nav", E = p ? `${b}--expanded` : `${b}--collapsed`, y = /* @__PURE__ */ e.createElement(e.Fragment, null, n.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${b}__menu ${b}__menu--top-level` }, n.map((h, u) => /* @__PURE__ */ e.createElement(
|
|
6752
|
-
|
|
6754
|
+
M2,
|
|
6753
6755
|
{
|
|
6754
6756
|
key: u,
|
|
6755
6757
|
icon: h.icon,
|
|
@@ -6760,14 +6762,14 @@ const us = (m) => {
|
|
|
6760
6762
|
links: h.links
|
|
6761
6763
|
}
|
|
6762
6764
|
)))), v = n.map((h) => he(H({}, h), {
|
|
6763
|
-
linkContent:
|
|
6765
|
+
linkContent: Zt(
|
|
6764
6766
|
b,
|
|
6765
6767
|
h.linkContent,
|
|
6766
6768
|
h.links,
|
|
6767
6769
|
h.icon
|
|
6768
6770
|
)
|
|
6769
6771
|
})), C = /* @__PURE__ */ e.createElement(
|
|
6770
|
-
|
|
6772
|
+
Jt,
|
|
6771
6773
|
{
|
|
6772
6774
|
menuItems: v,
|
|
6773
6775
|
selectTextFallback: l
|
|
@@ -6780,7 +6782,7 @@ const us = (m) => {
|
|
|
6780
6782
|
className: x([b, E, r])
|
|
6781
6783
|
}, d),
|
|
6782
6784
|
!o && /* @__PURE__ */ e.createElement(
|
|
6783
|
-
|
|
6785
|
+
z1,
|
|
6784
6786
|
{
|
|
6785
6787
|
className: `${b}__logo`,
|
|
6786
6788
|
displayType: p ? "full" : "icon",
|
|
@@ -6789,24 +6791,24 @@ const us = (m) => {
|
|
|
6789
6791
|
),
|
|
6790
6792
|
o ? C : y
|
|
6791
6793
|
);
|
|
6792
|
-
},
|
|
6794
|
+
}, N2 = {
|
|
6793
6795
|
basic: "Basic",
|
|
6794
6796
|
"performance-small": "Performance Small",
|
|
6795
6797
|
"performance-medium": "Performance Medium",
|
|
6796
6798
|
"performance-large": "Performance Large",
|
|
6797
6799
|
"performance-xl": "Performance Extra Large",
|
|
6798
6800
|
elite: "Elite"
|
|
6799
|
-
},
|
|
6801
|
+
}, Ss = {
|
|
6800
6802
|
drupal: "Drupal",
|
|
6801
6803
|
wordpress: "WordPress",
|
|
6802
6804
|
gatsby: "Gatsby",
|
|
6803
6805
|
nextjs: "Next.js"
|
|
6804
|
-
},
|
|
6806
|
+
}, k1 = {
|
|
6805
6807
|
drupal: "drupal",
|
|
6806
6808
|
wordpress: "wordpress",
|
|
6807
6809
|
gatsby: "bolt",
|
|
6808
6810
|
nextjs: "bolt"
|
|
6809
|
-
},
|
|
6811
|
+
}, x2 = (l) => {
|
|
6810
6812
|
var r = l, {
|
|
6811
6813
|
option: t,
|
|
6812
6814
|
className: s
|
|
@@ -6814,7 +6816,7 @@ const us = (m) => {
|
|
|
6814
6816
|
"option",
|
|
6815
6817
|
"className"
|
|
6816
6818
|
]);
|
|
6817
|
-
const d = "pds-dashboard-search", a = t.type ?
|
|
6819
|
+
const d = "pds-dashboard-search", a = t.type ? k1[t.type] : "bolt", c = de(), [o] = Mt(c), i = o.width / 16 - 7.5;
|
|
6818
6820
|
return /* @__PURE__ */ e.createElement(
|
|
6819
6821
|
"div",
|
|
6820
6822
|
H({
|
|
@@ -6848,7 +6850,7 @@ const us = (m) => {
|
|
|
6848
6850
|
style: { pointerEvents: "none" }
|
|
6849
6851
|
},
|
|
6850
6852
|
/* @__PURE__ */ e.createElement(
|
|
6851
|
-
|
|
6853
|
+
qt,
|
|
6852
6854
|
{
|
|
6853
6855
|
color: "neutral",
|
|
6854
6856
|
hasStatusIndicator: !0,
|
|
@@ -6858,7 +6860,7 @@ const us = (m) => {
|
|
|
6858
6860
|
)
|
|
6859
6861
|
)
|
|
6860
6862
|
);
|
|
6861
|
-
},
|
|
6863
|
+
}, Is = (E) => {
|
|
6862
6864
|
var y = E, {
|
|
6863
6865
|
disabled: t = !1,
|
|
6864
6866
|
id: s,
|
|
@@ -6892,53 +6894,53 @@ const us = (m) => {
|
|
|
6892
6894
|
"horizontalOffset",
|
|
6893
6895
|
"className"
|
|
6894
6896
|
]);
|
|
6895
|
-
const [v, C] =
|
|
6897
|
+
const [v, C] = G(!1), [h, u] = G(null), g = de(null);
|
|
6896
6898
|
let _ = !1;
|
|
6897
6899
|
const w = we(ze);
|
|
6898
6900
|
w && (_ = w.isMobile);
|
|
6899
6901
|
let M = null, k = !1;
|
|
6900
|
-
const $ = we(
|
|
6902
|
+
const $ = we(kt);
|
|
6901
6903
|
$ && (M = $.navbarWidth, k = $.isAdmin);
|
|
6902
6904
|
const L = 2.25, z = 22, N = k ? 14.5 : 9.625, S = M > 900 ? z : M / 16 - (N + p) - L * 0.675;
|
|
6903
6905
|
let V = L;
|
|
6904
6906
|
v && !M && (V = z), v && M && (V = S);
|
|
6905
|
-
const
|
|
6907
|
+
const O = {
|
|
6906
6908
|
right: `${N + p}rem`,
|
|
6907
6909
|
width: `${V}rem`
|
|
6908
|
-
}, I = "pds-dashboard-search", A = _ ? `${I}--isMobile` : null,
|
|
6910
|
+
}, I = "pds-dashboard-search", A = _ ? `${I}--isMobile` : null, P = () => {
|
|
6909
6911
|
C(!0), setTimeout(() => {
|
|
6910
6912
|
g.current.querySelector("input").focus();
|
|
6911
6913
|
}, 500);
|
|
6912
|
-
},
|
|
6914
|
+
}, W = () => {
|
|
6913
6915
|
setTimeout(() => {
|
|
6914
6916
|
C(!1);
|
|
6915
6917
|
}, 150);
|
|
6916
|
-
},
|
|
6917
|
-
u(
|
|
6918
|
+
}, j = (D) => {
|
|
6919
|
+
u(D.value), o && o(D);
|
|
6918
6920
|
};
|
|
6919
6921
|
oe(() => {
|
|
6920
|
-
const
|
|
6921
|
-
g.current && !g.current.contains(
|
|
6922
|
-
},
|
|
6923
|
-
var
|
|
6924
|
-
const
|
|
6925
|
-
|
|
6922
|
+
const D = (X) => {
|
|
6923
|
+
g.current && !g.current.contains(X.target) && C(!1);
|
|
6924
|
+
}, Y = (X) => {
|
|
6925
|
+
var q;
|
|
6926
|
+
const J = (q = g.current) == null ? void 0 : q.querySelector("input");
|
|
6927
|
+
X.key === "Tab" && v && J === document.activeElement && C(!1);
|
|
6926
6928
|
};
|
|
6927
6929
|
if (v)
|
|
6928
|
-
return document.addEventListener("mousedown",
|
|
6929
|
-
document.removeEventListener("mousedown",
|
|
6930
|
+
return document.addEventListener("mousedown", D), document.addEventListener("keydown", Y), () => {
|
|
6931
|
+
document.removeEventListener("mousedown", D), document.removeEventListener("keydown", Y);
|
|
6930
6932
|
};
|
|
6931
6933
|
}, [v]);
|
|
6932
|
-
const
|
|
6933
|
-
const { id:
|
|
6934
|
+
const ee = f.map((D) => {
|
|
6935
|
+
const { id: Y, machineName: X, name: J } = D;
|
|
6934
6936
|
return {
|
|
6935
|
-
id:
|
|
6936
|
-
label:
|
|
6937
|
-
value:
|
|
6938
|
-
optionDisplay: /* @__PURE__ */ e.createElement(
|
|
6937
|
+
id: Y,
|
|
6938
|
+
label: J,
|
|
6939
|
+
value: X != null ? X : J,
|
|
6940
|
+
optionDisplay: /* @__PURE__ */ e.createElement(x2, { option: D })
|
|
6939
6941
|
};
|
|
6940
6942
|
}), K = /* @__PURE__ */ e.createElement("div", { ref: g, className: `${I}__combobox-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
6941
|
-
|
|
6943
|
+
b2,
|
|
6942
6944
|
{
|
|
6943
6945
|
disabled: t,
|
|
6944
6946
|
hasClearButton: !1,
|
|
@@ -6950,9 +6952,9 @@ const us = (m) => {
|
|
|
6950
6952
|
loadingText: d,
|
|
6951
6953
|
noResultsText: a,
|
|
6952
6954
|
onFocus: c,
|
|
6953
|
-
onOptionSelect:
|
|
6955
|
+
onOptionSelect: j,
|
|
6954
6956
|
placeholder: i,
|
|
6955
|
-
options:
|
|
6957
|
+
options: ee,
|
|
6956
6958
|
showLabel: !1,
|
|
6957
6959
|
className: `${I}__combobox`
|
|
6958
6960
|
}
|
|
@@ -6967,7 +6969,7 @@ const us = (m) => {
|
|
|
6967
6969
|
{
|
|
6968
6970
|
className: `${I}__search-toggle`,
|
|
6969
6971
|
"aria-label": r.openSearchButton,
|
|
6970
|
-
onClick:
|
|
6972
|
+
onClick: P,
|
|
6971
6973
|
type: "button",
|
|
6972
6974
|
style: v ? { visibility: "hidden" } : { visibility: "visible" }
|
|
6973
6975
|
},
|
|
@@ -6984,18 +6986,18 @@ const us = (m) => {
|
|
|
6984
6986
|
)
|
|
6985
6987
|
}
|
|
6986
6988
|
)
|
|
6987
|
-
)),
|
|
6989
|
+
)), Z = /* @__PURE__ */ e.createElement("div", { className: `${I}--mobile-inner` }, K);
|
|
6988
6990
|
return /* @__PURE__ */ e.createElement(
|
|
6989
6991
|
"div",
|
|
6990
6992
|
H({
|
|
6991
6993
|
className: x([I, A, m != null ? m : ""]),
|
|
6992
6994
|
id: s,
|
|
6993
|
-
style: _ ? null :
|
|
6994
|
-
onKeyDown: _ ? null : (
|
|
6995
|
-
|
|
6995
|
+
style: _ ? null : O,
|
|
6996
|
+
onKeyDown: _ ? null : (D) => {
|
|
6997
|
+
D.key === "Escape" && W();
|
|
6996
6998
|
}
|
|
6997
6999
|
}, b),
|
|
6998
|
-
_ ?
|
|
7000
|
+
_ ? Z : U
|
|
6999
7001
|
);
|
|
7000
7002
|
}, dt = (r) => {
|
|
7001
7003
|
var d = r, {
|
|
@@ -7015,7 +7017,7 @@ const us = (m) => {
|
|
|
7015
7017
|
}, l),
|
|
7016
7018
|
t
|
|
7017
7019
|
);
|
|
7018
|
-
},
|
|
7020
|
+
}, As = (m) => {
|
|
7019
7021
|
var b = m, {
|
|
7020
7022
|
children: t,
|
|
7021
7023
|
colorType: s = "default",
|
|
@@ -7044,36 +7046,36 @@ const us = (m) => {
|
|
|
7044
7046
|
"translationStrings",
|
|
7045
7047
|
"className"
|
|
7046
7048
|
]);
|
|
7047
|
-
const [E, y] =
|
|
7049
|
+
const [E, y] = G(!1);
|
|
7048
7050
|
let v = !1;
|
|
7049
7051
|
const C = we(ze);
|
|
7050
7052
|
C && (v = C.isMobile);
|
|
7051
|
-
const h = we(
|
|
7053
|
+
const h = we(kt);
|
|
7052
7054
|
h && (a = h.logoLinkContent);
|
|
7053
7055
|
const u = "pds-navbar", g = l ? `${u}--noBorder` : "", _ = s !== "default" ? `${u}--${s}` : "", w = v ? `${u}--isMobile` : `${u}--notMobile`, M = (U) => {
|
|
7054
|
-
const
|
|
7055
|
-
let
|
|
7056
|
-
switch (
|
|
7056
|
+
const Z = U.key;
|
|
7057
|
+
let D = !1;
|
|
7058
|
+
switch (Z) {
|
|
7057
7059
|
case "Esc":
|
|
7058
7060
|
case "Escape":
|
|
7059
|
-
y(!1),
|
|
7061
|
+
y(!1), D = !0;
|
|
7060
7062
|
break;
|
|
7061
7063
|
}
|
|
7062
|
-
|
|
7064
|
+
D && (U.stopPropagation(), U.preventDefault());
|
|
7063
7065
|
};
|
|
7064
7066
|
oe(() => (window.addEventListener("keyup", M), () => {
|
|
7065
7067
|
window.removeEventListener("keyup", M);
|
|
7066
7068
|
}), []);
|
|
7067
|
-
const k = () => y(!E), $ =
|
|
7069
|
+
const k = () => y(!E), $ = F1();
|
|
7068
7070
|
oe(() => {
|
|
7069
7071
|
if (v && t) {
|
|
7070
|
-
const U =
|
|
7072
|
+
const U = v1(
|
|
7071
7073
|
document.querySelector(".pds-navbar__mobile")
|
|
7072
|
-
),
|
|
7073
|
-
U && (E ? U.forEach((
|
|
7074
|
-
|
|
7075
|
-
}) : U.forEach((
|
|
7076
|
-
|
|
7074
|
+
), Z = ["a", "button", "input", "select", "textarea"];
|
|
7075
|
+
U && (E ? U.forEach((D) => {
|
|
7076
|
+
Z.includes(D.nodeName.toLowerCase()) && (D.tabIndex = 0);
|
|
7077
|
+
}) : U.forEach((D) => {
|
|
7078
|
+
Z.includes(D.nodeName.toLowerCase()) && (D.tabIndex = -1);
|
|
7077
7079
|
}));
|
|
7078
7080
|
}
|
|
7079
7081
|
}, [E]);
|
|
@@ -7082,9 +7084,9 @@ const us = (m) => {
|
|
|
7082
7084
|
};
|
|
7083
7085
|
oe(() => {
|
|
7084
7086
|
if (E) {
|
|
7085
|
-
const U = document.querySelector(".pds-navbar__bar-mobile"),
|
|
7086
|
-
return U.addEventListener("click", L),
|
|
7087
|
-
U.removeEventListener("click", L),
|
|
7087
|
+
const U = document.querySelector(".pds-navbar__bar-mobile"), Z = document.querySelector(".pds-navbar__mobile");
|
|
7088
|
+
return U.addEventListener("click", L), Z.addEventListener("click", L), () => {
|
|
7089
|
+
U.removeEventListener("click", L), Z.removeEventListener("click", L);
|
|
7088
7090
|
};
|
|
7089
7091
|
}
|
|
7090
7092
|
}, [E]), oe(() => {
|
|
@@ -7093,18 +7095,18 @@ const us = (m) => {
|
|
|
7093
7095
|
const z = Ue(t), N = z["items-left"], S = z["items-right"];
|
|
7094
7096
|
let V = "default";
|
|
7095
7097
|
(s === "reverse" || s === "reverse-transparent") && (V = "reverse");
|
|
7096
|
-
const
|
|
7098
|
+
const O = $e(a) ? a.props.children : null, I = $e(a) && O ? Ve(a, {
|
|
7097
7099
|
children: /* @__PURE__ */ e.createElement("img", { className: `${u}__custom-logo`, src: c }),
|
|
7098
|
-
"aria-label":
|
|
7100
|
+
"aria-label": O || null
|
|
7099
7101
|
}) : /* @__PURE__ */ e.createElement("img", { className: `${u}__custom-logo`, src: c, alt: "" }), A = () => c ? I : /* @__PURE__ */ e.createElement(
|
|
7100
|
-
|
|
7102
|
+
z1,
|
|
7101
7103
|
{
|
|
7102
7104
|
colorType: V,
|
|
7103
7105
|
displayType: d,
|
|
7104
7106
|
linkContent: a,
|
|
7105
7107
|
subBrand: o
|
|
7106
7108
|
}
|
|
7107
|
-
),
|
|
7109
|
+
), P = /* @__PURE__ */ e.createElement(
|
|
7108
7110
|
"button",
|
|
7109
7111
|
{
|
|
7110
7112
|
className: `${u}__menu-toggle`,
|
|
@@ -7113,25 +7115,25 @@ const us = (m) => {
|
|
|
7113
7115
|
type: "button"
|
|
7114
7116
|
},
|
|
7115
7117
|
/* @__PURE__ */ e.createElement(F, { iconName: E ? "xmark" : "bars", iconSize: "lg" })
|
|
7116
|
-
),
|
|
7117
|
-
const
|
|
7118
|
-
return
|
|
7119
|
-
}),
|
|
7118
|
+
), W = e.Children.toArray(t).sort((U, Z) => {
|
|
7119
|
+
const D = $e(U) && parseInt(U.props["data-mobile-order"], 10) || 1 / 0, Y = $e(Z) && parseInt(Z.props["data-mobile-order"], 10) || 1 / 0;
|
|
7120
|
+
return D - Y;
|
|
7121
|
+
}), j = /* @__PURE__ */ e.createElement(
|
|
7120
7122
|
"div",
|
|
7121
7123
|
{
|
|
7122
7124
|
className: E ? `${u}__mobile ${u}__mobile--open` : `${u}__mobile ${u}__mobile--closed`,
|
|
7123
7125
|
ref: $
|
|
7124
7126
|
},
|
|
7125
|
-
/* @__PURE__ */ e.createElement(dt, null,
|
|
7126
|
-
),
|
|
7127
|
-
|
|
7127
|
+
/* @__PURE__ */ e.createElement(dt, null, W)
|
|
7128
|
+
), ee = /* @__PURE__ */ e.createElement(
|
|
7129
|
+
X1,
|
|
7128
7130
|
{
|
|
7129
7131
|
focusTrapOptions: {
|
|
7130
7132
|
clickOutsideDeactivates: !0,
|
|
7131
7133
|
initialFocus: !1
|
|
7132
7134
|
}
|
|
7133
7135
|
},
|
|
7134
|
-
/* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(dt, { className: `${u}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__inner-mobile` }, A(), t &&
|
|
7136
|
+
/* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(dt, { className: `${u}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__inner-mobile` }, A(), t && P)), /* @__PURE__ */ e.createElement(dt, null, t && j))
|
|
7135
7137
|
), K = /* @__PURE__ */ e.createElement(dt, { width: n, className: `${u}__inner` }, !r && /* @__PURE__ */ e.createElement("div", { className: `${u}__logo` }, A()), /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, N ? /* @__PURE__ */ e.createElement("div", { className: `${u}__items-left` }, N) : /* @__PURE__ */ e.createElement("span", null), S && /* @__PURE__ */ e.createElement("div", { className: `${u}__items-right` }, S)));
|
|
7136
7138
|
return /* @__PURE__ */ e.createElement(
|
|
7137
7139
|
"header",
|
|
@@ -7144,14 +7146,14 @@ const us = (m) => {
|
|
|
7144
7146
|
f != null ? f : ""
|
|
7145
7147
|
])
|
|
7146
7148
|
}, p),
|
|
7147
|
-
v ?
|
|
7149
|
+
v ? ee : K
|
|
7148
7150
|
);
|
|
7149
|
-
},
|
|
7151
|
+
}, V2 = ({
|
|
7150
7152
|
items: t,
|
|
7151
7153
|
label: s,
|
|
7152
7154
|
mobileMenuMaxWidth: n = 640
|
|
7153
7155
|
}) => {
|
|
7154
|
-
const [l, r] =
|
|
7156
|
+
const [l, r] = G(!1), [d, a] = G(0);
|
|
7155
7157
|
oe(() => (a(window.innerWidth), window.addEventListener("resize", c), () => {
|
|
7156
7158
|
window.removeEventListener("resize", c);
|
|
7157
7159
|
}), []);
|
|
@@ -7164,10 +7166,10 @@ const us = (m) => {
|
|
|
7164
7166
|
whileElementsMounted: Re
|
|
7165
7167
|
}), m = Ye(p, { event: "mousedown" }), b = Ie(p), E = Ae(p, { role: "menu" });
|
|
7166
7168
|
let y;
|
|
7167
|
-
o ? y =
|
|
7169
|
+
o ? y = vt(p, {
|
|
7168
7170
|
enabled: !1
|
|
7169
|
-
}) : y =
|
|
7170
|
-
handleClose:
|
|
7171
|
+
}) : y = vt(p, {
|
|
7172
|
+
handleClose: E1({
|
|
7171
7173
|
requireIntent: !1,
|
|
7172
7174
|
buffer: 10,
|
|
7173
7175
|
blockPointerEvents: !0
|
|
@@ -7205,7 +7207,7 @@ const us = (m) => {
|
|
|
7205
7207
|
!u.isSeparator && u.linkContent
|
|
7206
7208
|
))
|
|
7207
7209
|
));
|
|
7208
|
-
},
|
|
7210
|
+
}, Ts = (a) => {
|
|
7209
7211
|
var c = a, {
|
|
7210
7212
|
ariaLabel: t = "Main Navigation",
|
|
7211
7213
|
colorType: s = "default",
|
|
@@ -7219,7 +7221,7 @@ const us = (m) => {
|
|
|
7219
7221
|
"mobileMenuMaxWidth",
|
|
7220
7222
|
"className"
|
|
7221
7223
|
]);
|
|
7222
|
-
const [o, i] =
|
|
7224
|
+
const [o, i] = G(1025), [f, p] = G(null), [m, b] = G(-1), [E, y] = G(null), [v, C] = G({
|
|
7223
7225
|
container: null,
|
|
7224
7226
|
containerChildren: []
|
|
7225
7227
|
});
|
|
@@ -7241,7 +7243,7 @@ const us = (m) => {
|
|
|
7241
7243
|
}));
|
|
7242
7244
|
}, [m]);
|
|
7243
7245
|
const g = "pds-nav-menu", _ = s !== "default" ? `${g}--${s}` : "", w = u ? `${g}--isMobile` : `${g}--notMobile`, M = de([]), k = (z) => {
|
|
7244
|
-
const N = M.current.length - 1,
|
|
7246
|
+
const N = M.current.length - 1, P = {
|
|
7245
7247
|
ArrowRight: () => {
|
|
7246
7248
|
p(-1), b(m === -1 ? 1 : m === N ? 0 : m + 1);
|
|
7247
7249
|
},
|
|
@@ -7249,19 +7251,19 @@ const us = (m) => {
|
|
|
7249
7251
|
p(-1), b(m === 0 ? N : m - 1);
|
|
7250
7252
|
},
|
|
7251
7253
|
ArrowDown: () => {
|
|
7252
|
-
var
|
|
7254
|
+
var ee, K, U, Z;
|
|
7253
7255
|
y("down");
|
|
7254
|
-
const
|
|
7255
|
-
v.container !=
|
|
7256
|
-
container:
|
|
7257
|
-
containerChildren: [...
|
|
7256
|
+
const W = z.target.parentNode.children[1], j = ((K = (ee = z.target) == null ? void 0 : ee.parentNode.children[1]) == null ? void 0 : K.children) || ((Z = (U = z.target) == null ? void 0 : U.parentNode.parentNode.children[1]) == null ? void 0 : Z.children);
|
|
7257
|
+
v.container != W && W != null && C({
|
|
7258
|
+
container: W,
|
|
7259
|
+
containerChildren: [...j]
|
|
7258
7260
|
}), f === null || f == v.containerChildren.length - 1 ? p(0) : p(parseInt(f) + 1);
|
|
7259
7261
|
},
|
|
7260
7262
|
ArrowUp: () => {
|
|
7261
7263
|
y("up"), p(f === 0 ? v.containerChildren.length - 1 : parseInt(f) - 1);
|
|
7262
7264
|
}
|
|
7263
7265
|
}[z.code];
|
|
7264
|
-
|
|
7266
|
+
P && P();
|
|
7265
7267
|
}, $ = (z) => {
|
|
7266
7268
|
if (z.isActive || z.linkContent && z.linkContent.props.className && z.linkContent.props.className.includes("pds-isActive"))
|
|
7267
7269
|
return !0;
|
|
@@ -7280,11 +7282,11 @@ const us = (m) => {
|
|
|
7280
7282
|
{
|
|
7281
7283
|
key: `${N}-dropdown`,
|
|
7282
7284
|
id: V,
|
|
7283
|
-
ref: (
|
|
7285
|
+
ref: (O) => M.current[N] = O,
|
|
7284
7286
|
className: `${g}__item ${g}__item--top-level ${g}__item--has-children ${$(z) === !0 ? `${g}__item--active` : ""}`
|
|
7285
7287
|
},
|
|
7286
7288
|
/* @__PURE__ */ e.createElement(
|
|
7287
|
-
|
|
7289
|
+
V2,
|
|
7288
7290
|
{
|
|
7289
7291
|
label: z.label,
|
|
7290
7292
|
items: z.links,
|
|
@@ -7298,7 +7300,7 @@ const us = (m) => {
|
|
|
7298
7300
|
{
|
|
7299
7301
|
key: N,
|
|
7300
7302
|
id: V,
|
|
7301
|
-
ref: (
|
|
7303
|
+
ref: (O) => M.current[N] = O,
|
|
7302
7304
|
className: `${g}__item ${g}__item--top-level ${g}__item--has-link ${$(z) === !0 ? `${g}__item--active` : ""}`
|
|
7303
7305
|
},
|
|
7304
7306
|
z.linkContent
|
|
@@ -7315,7 +7317,7 @@ const us = (m) => {
|
|
|
7315
7317
|
}, d),
|
|
7316
7318
|
/* @__PURE__ */ e.createElement("ul", { className: `${g}__menu` }, L)
|
|
7317
7319
|
);
|
|
7318
|
-
},
|
|
7320
|
+
}, Ds = (i) => {
|
|
7319
7321
|
var f = i, {
|
|
7320
7322
|
ariaLabel: t,
|
|
7321
7323
|
hasMobileMenu: s = !0,
|
|
@@ -7338,7 +7340,7 @@ const us = (m) => {
|
|
|
7338
7340
|
"mobileMenuSelectTextFallback",
|
|
7339
7341
|
"className"
|
|
7340
7342
|
]);
|
|
7341
|
-
const p = "pds-side-nav", m = `${p}__item`, b = `${p}__menu`, [E, y] =
|
|
7343
|
+
const p = "pds-side-nav", m = `${p}__item`, b = `${p}__menu`, [E, y] = G(1025);
|
|
7342
7344
|
oe(() => (y(window.innerWidth), window.addEventListener("resize", v), () => {
|
|
7343
7345
|
window.removeEventListener("resize", v);
|
|
7344
7346
|
}), []);
|
|
@@ -7399,7 +7401,7 @@ const us = (m) => {
|
|
|
7399
7401
|
marginBlockStart: "0"
|
|
7400
7402
|
});
|
|
7401
7403
|
};
|
|
7402
|
-
}, _ = ($) =>
|
|
7404
|
+
}, _ = ($) => u1.toArray($).some((L) => $e(L) ? L.type && L.type.displayName === "Tally" ? !0 : _(L.props.children) : !1), w = ($, L) => {
|
|
7403
7405
|
const { linkContent: z, links: N } = $, S = _(z);
|
|
7404
7406
|
return /* @__PURE__ */ e.createElement(
|
|
7405
7407
|
"li",
|
|
@@ -7414,7 +7416,7 @@ const us = (m) => {
|
|
|
7414
7416
|
// Add class if item contains a Tally component
|
|
7415
7417
|
])
|
|
7416
7418
|
},
|
|
7417
|
-
N ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${m}-wrapper` },
|
|
7419
|
+
N ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${m}-wrapper` }, wt(z, N), /* @__PURE__ */ e.createElement(
|
|
7418
7420
|
"button",
|
|
7419
7421
|
{
|
|
7420
7422
|
"aria-expanded": Ce($),
|
|
@@ -7436,14 +7438,14 @@ const us = (m) => {
|
|
|
7436
7438
|
Ce($) ? `${b}--expanded` : null
|
|
7437
7439
|
])
|
|
7438
7440
|
},
|
|
7439
|
-
N.map((V,
|
|
7441
|
+
N.map((V, O) => {
|
|
7440
7442
|
const I = _(
|
|
7441
7443
|
V.linkContent
|
|
7442
7444
|
);
|
|
7443
7445
|
return /* @__PURE__ */ e.createElement(
|
|
7444
7446
|
"li",
|
|
7445
7447
|
{
|
|
7446
|
-
key:
|
|
7448
|
+
key: O,
|
|
7447
7449
|
className: x([
|
|
7448
7450
|
m,
|
|
7449
7451
|
`${m}--second-level`,
|
|
@@ -7452,7 +7454,7 @@ const us = (m) => {
|
|
|
7452
7454
|
// Add class for second-level items
|
|
7453
7455
|
])
|
|
7454
7456
|
},
|
|
7455
|
-
|
|
7457
|
+
wt(
|
|
7456
7458
|
V.linkContent,
|
|
7457
7459
|
V.links
|
|
7458
7460
|
)
|
|
@@ -7464,7 +7466,7 @@ const us = (m) => {
|
|
|
7464
7466
|
)
|
|
7465
7467
|
);
|
|
7466
7468
|
}, M = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, n), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map(($, L) => w($, L)))), k = /* @__PURE__ */ e.createElement(
|
|
7467
|
-
|
|
7469
|
+
Jt,
|
|
7468
7470
|
{
|
|
7469
7471
|
headingText: n,
|
|
7470
7472
|
menuItems: r,
|
|
@@ -7479,7 +7481,7 @@ const us = (m) => {
|
|
|
7479
7481
|
}, o),
|
|
7480
7482
|
C && s ? k : M
|
|
7481
7483
|
);
|
|
7482
|
-
},
|
|
7484
|
+
}, Os = (i) => {
|
|
7483
7485
|
var f = i, {
|
|
7484
7486
|
ariaLabel: t,
|
|
7485
7487
|
hasMobileMenu: s = !0,
|
|
@@ -7502,7 +7504,7 @@ const us = (m) => {
|
|
|
7502
7504
|
"mobileMenuSelectTextFallback",
|
|
7503
7505
|
"className"
|
|
7504
7506
|
]);
|
|
7505
|
-
const p = "pds-side-nav-compact", m = `${p}__item`, b = `${p}__menu`, [E, y] =
|
|
7507
|
+
const p = "pds-side-nav-compact", m = `${p}__item`, b = `${p}__menu`, [E, y] = G(1025);
|
|
7506
7508
|
oe(() => (y(window.innerWidth), window.addEventListener("resize", v), () => {
|
|
7507
7509
|
window.removeEventListener("resize", v);
|
|
7508
7510
|
}), []);
|
|
@@ -7520,7 +7522,7 @@ const us = (m) => {
|
|
|
7520
7522
|
L.style.marginBlockStart = "0", L.animate(
|
|
7521
7523
|
[
|
|
7522
7524
|
{ height: "0px", opacity: "0", marginBlockStart: "0" },
|
|
7523
|
-
{ height: z, opacity: "1", marginBlockStart: `${
|
|
7525
|
+
{ height: z, opacity: "1", marginBlockStart: `${Dt}rem` }
|
|
7524
7526
|
],
|
|
7525
7527
|
{
|
|
7526
7528
|
duration: Ke,
|
|
@@ -7531,13 +7533,13 @@ const us = (m) => {
|
|
|
7531
7533
|
height: "auto",
|
|
7532
7534
|
opacity: "1",
|
|
7533
7535
|
display: "flex",
|
|
7534
|
-
marginBlockStart: `${
|
|
7536
|
+
marginBlockStart: `${Dt}rem`
|
|
7535
7537
|
}), L.classList.add(`${b}--expanded`);
|
|
7536
7538
|
};
|
|
7537
7539
|
}, g = (L) => {
|
|
7538
7540
|
const z = `${L.scrollHeight}px`, N = L.animate(
|
|
7539
7541
|
[
|
|
7540
|
-
{ height: z, opacity: "1", marginBlockStart: `${
|
|
7542
|
+
{ height: z, opacity: "1", marginBlockStart: `${Dt}rem` },
|
|
7541
7543
|
{ height: "0px", opacity: "0", marginBlockStart: "0" }
|
|
7542
7544
|
],
|
|
7543
7545
|
{
|
|
@@ -7556,7 +7558,7 @@ const us = (m) => {
|
|
|
7556
7558
|
});
|
|
7557
7559
|
};
|
|
7558
7560
|
}, _ = { 2: "second", 3: "third", 4: "fourth" }, w = (L, z, N) => {
|
|
7559
|
-
const S = _[L], V = `${b}--${S}-level`,
|
|
7561
|
+
const S = _[L], V = `${b}--${S}-level`, O = `${m}--${S}-level`, I = L + 1;
|
|
7560
7562
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${m}-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
7561
7563
|
"button",
|
|
7562
7564
|
{
|
|
@@ -7570,7 +7572,7 @@ const us = (m) => {
|
|
|
7570
7572
|
},
|
|
7571
7573
|
/* @__PURE__ */ e.createElement(F, { iconName: "caretDown", iconSize: "md" }),
|
|
7572
7574
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${l.toggle} ${We(z.linkContent)} ${l.submenu}`)
|
|
7573
|
-
),
|
|
7575
|
+
), wt(z.linkContent, z.links)), /* @__PURE__ */ e.createElement(
|
|
7574
7576
|
"ul",
|
|
7575
7577
|
{
|
|
7576
7578
|
className: x([
|
|
@@ -7579,13 +7581,13 @@ const us = (m) => {
|
|
|
7579
7581
|
Ce(z) ? `${b}--expanded` : null
|
|
7580
7582
|
])
|
|
7581
7583
|
},
|
|
7582
|
-
z.links.map((A,
|
|
7584
|
+
z.links.map((A, P) => /* @__PURE__ */ e.createElement(
|
|
7583
7585
|
"li",
|
|
7584
7586
|
{
|
|
7585
|
-
key: `${
|
|
7587
|
+
key: `${P}-${S}`,
|
|
7586
7588
|
className: x([
|
|
7587
7589
|
m,
|
|
7588
|
-
|
|
7590
|
+
O,
|
|
7589
7591
|
Ce(A) ? `${m}--active` : null
|
|
7590
7592
|
])
|
|
7591
7593
|
},
|
|
@@ -7611,7 +7613,7 @@ const us = (m) => {
|
|
|
7611
7613
|
S ? w(2, L) : N
|
|
7612
7614
|
);
|
|
7613
7615
|
}, k = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, n), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((L, z) => M(L, z)))), $ = /* @__PURE__ */ e.createElement(
|
|
7614
|
-
|
|
7616
|
+
Jt,
|
|
7615
7617
|
{
|
|
7616
7618
|
headingText: n,
|
|
7617
7619
|
menuItems: r,
|
|
@@ -7626,7 +7628,7 @@ const us = (m) => {
|
|
|
7626
7628
|
}, o),
|
|
7627
7629
|
C && s ? $ : k
|
|
7628
7630
|
);
|
|
7629
|
-
},
|
|
7631
|
+
}, S2 = ({
|
|
7630
7632
|
buttonLabel: t = "Toggle dropdown",
|
|
7631
7633
|
filterLabel: s = "Filter items",
|
|
7632
7634
|
filterPlaceholder: n = "Filter items...",
|
|
@@ -7634,7 +7636,7 @@ const us = (m) => {
|
|
|
7634
7636
|
minFilterItems: r = 5,
|
|
7635
7637
|
noResultsText: d = "No results found"
|
|
7636
7638
|
}) => {
|
|
7637
|
-
const [a, c] =
|
|
7639
|
+
const [a, c] = G(!1), [o, i] = G(null), [f, p] = G(l), [m, b] = G(""), E = l.length >= r, y = "pds-tab-menu", v = `${y}__dropdown-menu`, C = E ? `${v}--scroll` : null, h = `${y}__dropdown-item`, u = de([]), { context: g, refs: _ } = Se({
|
|
7638
7640
|
open: a,
|
|
7639
7641
|
onOpenChange: c,
|
|
7640
7642
|
whileElementsMounted: Re
|
|
@@ -7663,33 +7665,33 @@ const us = (m) => {
|
|
|
7663
7665
|
close: {
|
|
7664
7666
|
opacity: 0
|
|
7665
7667
|
}
|
|
7666
|
-
}),
|
|
7667
|
-
var
|
|
7668
|
-
|
|
7669
|
-
}, I = (
|
|
7670
|
-
const
|
|
7671
|
-
b(
|
|
7672
|
-
const
|
|
7673
|
-
p(
|
|
7668
|
+
}), O = (D) => {
|
|
7669
|
+
var Y;
|
|
7670
|
+
D.preventDefault(), D.key === "Enter" && ((Y = u.current[o].querySelector("a")) == null || Y.click()), D.key === "Tab" && D.shiftKey && (E ? document.getElementById("links-filter").focus() : c(!1));
|
|
7671
|
+
}, I = (D, Y) => We(D.linkContent).toLowerCase().includes(Y.toLowerCase()), A = (D) => {
|
|
7672
|
+
const Y = D.target.value;
|
|
7673
|
+
b(Y);
|
|
7674
|
+
const X = l.filter((J) => I(J, Y));
|
|
7675
|
+
p(X);
|
|
7674
7676
|
};
|
|
7675
7677
|
oe(() => {
|
|
7676
|
-
const
|
|
7677
|
-
p(
|
|
7678
|
+
const D = l.filter((Y) => I(Y, m));
|
|
7679
|
+
p(D);
|
|
7678
7680
|
}, [l]);
|
|
7679
|
-
const
|
|
7681
|
+
const P = () => {
|
|
7680
7682
|
b(""), p(l);
|
|
7681
|
-
},
|
|
7682
|
-
(
|
|
7683
|
-
),
|
|
7683
|
+
}, W = l.reduce(
|
|
7684
|
+
(D, Y) => We(D.linkContent).length > We(Y.linkContent).length ? D : Y
|
|
7685
|
+
), ee = {
|
|
7684
7686
|
minWidth: "13rem",
|
|
7685
7687
|
width: `${We(
|
|
7686
|
-
|
|
7688
|
+
W.linkContent
|
|
7687
7689
|
).length + 2}ch`
|
|
7688
7690
|
}, K = /* @__PURE__ */ e.createElement(F, { iconName: "check", className: `${y}__active-icon` }), U = E && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(
|
|
7689
|
-
|
|
7691
|
+
H1,
|
|
7690
7692
|
{
|
|
7691
7693
|
hasClearButton: !0,
|
|
7692
|
-
onClear:
|
|
7694
|
+
onClear: P,
|
|
7693
7695
|
id: "links-filter",
|
|
7694
7696
|
label: s,
|
|
7695
7697
|
onChange: A,
|
|
@@ -7698,21 +7700,21 @@ const us = (m) => {
|
|
|
7698
7700
|
type: "search",
|
|
7699
7701
|
autoComplete: "off"
|
|
7700
7702
|
}
|
|
7701
|
-
)),
|
|
7702
|
-
const
|
|
7703
|
+
)), Z = f.map((D, Y) => {
|
|
7704
|
+
const X = D.isActive ? `${h}--active` : null;
|
|
7703
7705
|
return /* @__PURE__ */ e.createElement(
|
|
7704
7706
|
"li",
|
|
7705
7707
|
H({
|
|
7706
|
-
key:
|
|
7707
|
-
className: x([h,
|
|
7708
|
-
ref: (
|
|
7709
|
-
u.current[
|
|
7708
|
+
key: Y,
|
|
7709
|
+
className: x([h, X]),
|
|
7710
|
+
ref: (J) => {
|
|
7711
|
+
u.current[Y] = J;
|
|
7710
7712
|
},
|
|
7711
|
-
tabIndex:
|
|
7712
|
-
onKeyDown:
|
|
7713
|
+
tabIndex: Y === o ? 0 : -1,
|
|
7714
|
+
onKeyDown: O
|
|
7713
7715
|
}, N()),
|
|
7714
|
-
|
|
7715
|
-
|
|
7716
|
+
D.linkContent,
|
|
7717
|
+
D.isActive && K
|
|
7716
7718
|
);
|
|
7717
7719
|
});
|
|
7718
7720
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
@@ -7741,11 +7743,11 @@ const us = (m) => {
|
|
|
7741
7743
|
}, z({
|
|
7742
7744
|
style: H({
|
|
7743
7745
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
7744
|
-
},
|
|
7746
|
+
}, ee)
|
|
7745
7747
|
})),
|
|
7746
|
-
/* @__PURE__ */ e.createElement("div", { style: H({}, V) }, U, /* @__PURE__ */ e.createElement("ul", { className: x([v, C]) },
|
|
7748
|
+
/* @__PURE__ */ e.createElement("div", { style: H({}, V) }, U, /* @__PURE__ */ e.createElement("ul", { className: x([v, C]) }, Z.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${y}__no-results` }, d) : Z))
|
|
7747
7749
|
));
|
|
7748
|
-
},
|
|
7750
|
+
}, Rs = (r) => {
|
|
7749
7751
|
var d = r, {
|
|
7750
7752
|
ariaLabel: t,
|
|
7751
7753
|
menuItems: s,
|
|
@@ -7766,7 +7768,7 @@ const us = (m) => {
|
|
|
7766
7768
|
links: v,
|
|
7767
7769
|
promoteActiveChildLink: C = !1
|
|
7768
7770
|
}) => {
|
|
7769
|
-
const h = `${o}__item`, u =
|
|
7771
|
+
const h = `${o}__item`, u = Qt(v), g = (_, w) => {
|
|
7770
7772
|
let M = null;
|
|
7771
7773
|
return typeof _ == "object" && (w ? M = Ve(_, he(H({}, _.props), {
|
|
7772
7774
|
children: [
|
|
@@ -7791,7 +7793,7 @@ const us = (m) => {
|
|
|
7791
7793
|
},
|
|
7792
7794
|
g(C ? u : y, b),
|
|
7793
7795
|
v && /* @__PURE__ */ e.createElement(
|
|
7794
|
-
|
|
7796
|
+
S2,
|
|
7795
7797
|
{
|
|
7796
7798
|
links: v,
|
|
7797
7799
|
buttonLabel: m == null ? void 0 : m.buttonLabel,
|
|
@@ -7822,7 +7824,7 @@ const us = (m) => {
|
|
|
7822
7824
|
}, l),
|
|
7823
7825
|
a ? /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile-menu-wrapper` }, p) : p
|
|
7824
7826
|
);
|
|
7825
|
-
},
|
|
7827
|
+
}, Fs = (o) => {
|
|
7826
7828
|
var i = o, {
|
|
7827
7829
|
ariaLabel: t = "User menu",
|
|
7828
7830
|
menuItems: s,
|
|
@@ -7840,7 +7842,7 @@ const us = (m) => {
|
|
|
7840
7842
|
"withinNavbar",
|
|
7841
7843
|
"className"
|
|
7842
7844
|
]);
|
|
7843
|
-
const [f, p] =
|
|
7845
|
+
const [f, p] = G(null), [m, b] = G(!1), E = de([]), y = de([]);
|
|
7844
7846
|
let v = !1;
|
|
7845
7847
|
const C = we(ze);
|
|
7846
7848
|
C && (v = C.isMobile);
|
|
@@ -7848,7 +7850,7 @@ const us = (m) => {
|
|
|
7848
7850
|
placement: "bottom-end",
|
|
7849
7851
|
open: m,
|
|
7850
7852
|
onOpenChange: b,
|
|
7851
|
-
middleware: [
|
|
7853
|
+
middleware: [yt(12), Lt(), Ht()],
|
|
7852
7854
|
whileElementsMounted: Re
|
|
7853
7855
|
}), $ = Ye(k, { event: "mousedown" }), L = Ie(k), z = Ae(k, { role: "menu" }), N = de([]), S = ot(k, {
|
|
7854
7856
|
listRef: N,
|
|
@@ -7858,9 +7860,9 @@ const us = (m) => {
|
|
|
7858
7860
|
openOnArrowKeyDown: !0,
|
|
7859
7861
|
focusItemOnOpen: !1,
|
|
7860
7862
|
focusItemOnHover: !0
|
|
7861
|
-
}), { getReferenceProps: V, getFloatingProps:
|
|
7863
|
+
}), { getReferenceProps: V, getFloatingProps: O, getItemProps: I } = Te(
|
|
7862
7864
|
[L, z, $, S]
|
|
7863
|
-
), { isMounted: A, styles:
|
|
7865
|
+
), { isMounted: A, styles: P } = Qe(k, {
|
|
7864
7866
|
duration: {
|
|
7865
7867
|
open: 300,
|
|
7866
7868
|
close: 150
|
|
@@ -7874,8 +7876,8 @@ const us = (m) => {
|
|
|
7874
7876
|
close: {
|
|
7875
7877
|
opacity: 0
|
|
7876
7878
|
}
|
|
7877
|
-
}),
|
|
7878
|
-
|
|
7879
|
+
}), W = /* @__PURE__ */ e.createElement(
|
|
7880
|
+
Gt,
|
|
7879
7881
|
{
|
|
7880
7882
|
hasUserFallback: !0,
|
|
7881
7883
|
imageSrc: l,
|
|
@@ -7883,44 +7885,44 @@ const us = (m) => {
|
|
|
7883
7885
|
uniqueId: n,
|
|
7884
7886
|
className: `${u}__avatar`
|
|
7885
7887
|
}
|
|
7886
|
-
),
|
|
7887
|
-
s.forEach((
|
|
7888
|
-
const
|
|
7889
|
-
E.current.push(
|
|
7888
|
+
), j = /* @__PURE__ */ e.createElement(F, { iconName: "angleDown", className: `${u}__trigger-icon` }), ee = /* @__PURE__ */ e.createElement("li", { className: `${u}__user-details`, role: "presentation" }, h ? null : /* @__PURE__ */ e.createElement("div", { className: `${u}__user-name` }, r), /* @__PURE__ */ e.createElement("div", { className: `${u}__user-email` }, n));
|
|
7889
|
+
s.forEach((q) => {
|
|
7890
|
+
const ae = q.id ? q.id : nt();
|
|
7891
|
+
E.current.push(ae), y.current.push(q);
|
|
7890
7892
|
});
|
|
7891
|
-
const K = (
|
|
7892
|
-
const
|
|
7893
|
-
|
|
7894
|
-
}, U = (
|
|
7895
|
-
|
|
7896
|
-
},
|
|
7897
|
-
K(
|
|
7898
|
-
},
|
|
7899
|
-
const
|
|
7893
|
+
const K = (q) => {
|
|
7894
|
+
const ae = E.current.indexOf(q), te = y.current[ae];
|
|
7895
|
+
te.linkContent && !te.disabled && (N.current[ae].querySelector("a").click(), b(!1)), te.callback && !te.disabled && (te.callback(te), b(!1));
|
|
7896
|
+
}, U = (q) => {
|
|
7897
|
+
q.preventDefault(), q.key === "Enter" && K(q.currentTarget.id);
|
|
7898
|
+
}, Z = (q) => {
|
|
7899
|
+
K(q.currentTarget.id);
|
|
7900
|
+
}, D = s.map((q, ae) => {
|
|
7901
|
+
const te = E.current[ae], fe = `${u}__item`, ie = q.disabled ? `${fe}--disabled` : null;
|
|
7900
7902
|
return /* @__PURE__ */ e.createElement(
|
|
7901
7903
|
"li",
|
|
7902
7904
|
H({
|
|
7903
|
-
key:
|
|
7904
|
-
id:
|
|
7905
|
+
key: te,
|
|
7906
|
+
id: te,
|
|
7905
7907
|
className: x([fe, ie]),
|
|
7906
7908
|
role: "menuitem",
|
|
7907
|
-
tabIndex: f ===
|
|
7909
|
+
tabIndex: f === ae ? 0 : -1,
|
|
7908
7910
|
ref: (Ee) => {
|
|
7909
|
-
N.current[
|
|
7911
|
+
N.current[ae] = Ee;
|
|
7910
7912
|
},
|
|
7911
7913
|
onKeyDown: U
|
|
7912
|
-
}, I({ onClick: (Ee) =>
|
|
7913
|
-
|
|
7914
|
+
}, I({ onClick: (Ee) => Z(Ee) })),
|
|
7915
|
+
q.iconName && /* @__PURE__ */ e.createElement(
|
|
7914
7916
|
F,
|
|
7915
7917
|
{
|
|
7916
|
-
iconName:
|
|
7918
|
+
iconName: q.iconName,
|
|
7917
7919
|
className: `${u}__icon`,
|
|
7918
7920
|
iconSize: "sm"
|
|
7919
7921
|
}
|
|
7920
7922
|
),
|
|
7921
|
-
|
|
7923
|
+
q.linkContent ? q.linkContent : q.label
|
|
7922
7924
|
);
|
|
7923
|
-
}),
|
|
7925
|
+
}), Y = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7924
7926
|
"button",
|
|
7925
7927
|
H({
|
|
7926
7928
|
className: `${u}__trigger`,
|
|
@@ -7928,7 +7930,7 @@ const us = (m) => {
|
|
|
7928
7930
|
ref: w.setReference,
|
|
7929
7931
|
type: "button"
|
|
7930
7932
|
}, V()),
|
|
7931
|
-
|
|
7933
|
+
W
|
|
7932
7934
|
), A && /* @__PURE__ */ e.createElement(
|
|
7933
7935
|
"div",
|
|
7934
7936
|
H({
|
|
@@ -7937,47 +7939,47 @@ const us = (m) => {
|
|
|
7937
7939
|
style: he(H({}, M), {
|
|
7938
7940
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
7939
7941
|
})
|
|
7940
|
-
},
|
|
7941
|
-
/* @__PURE__ */ e.createElement("div", { style: H({},
|
|
7942
|
-
)),
|
|
7943
|
-
const
|
|
7944
|
-
|
|
7942
|
+
}, O()),
|
|
7943
|
+
/* @__PURE__ */ e.createElement("div", { style: H({}, P) }, /* @__PURE__ */ e.createElement("ul", { className: _, role: "menu" }, ee, /* @__PURE__ */ e.createElement("li", { role: "separator" }), D))
|
|
7944
|
+
)), X = (q) => {
|
|
7945
|
+
const ae = q.currentTarget;
|
|
7946
|
+
ae.classList.toggle(`${u}__toggle--expanded`), ae.setAttribute(
|
|
7945
7947
|
"aria-expanded",
|
|
7946
|
-
|
|
7947
|
-
),
|
|
7948
|
-
},
|
|
7948
|
+
ae.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
7949
|
+
), ae.nextElementSibling.classList.toggle(`${u}__mobile-menu--expanded`);
|
|
7950
|
+
}, J = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7949
7951
|
"button",
|
|
7950
7952
|
{
|
|
7951
7953
|
className: `${u}__toggle`,
|
|
7952
7954
|
"aria-expanded": !1,
|
|
7953
7955
|
"aria-label": t,
|
|
7954
|
-
onClick:
|
|
7956
|
+
onClick: X
|
|
7955
7957
|
},
|
|
7956
|
-
/* @__PURE__ */ e.createElement("span", { className: `${u}__toggle-left` },
|
|
7957
|
-
|
|
7958
|
+
/* @__PURE__ */ e.createElement("span", { className: `${u}__toggle-left` }, W, r || n),
|
|
7959
|
+
j
|
|
7958
7960
|
), /* @__PURE__ */ e.createElement("div", { className: `${u}__mobile-menu` }, /* @__PURE__ */ e.createElement(
|
|
7959
7961
|
"ul",
|
|
7960
7962
|
{
|
|
7961
7963
|
className: [_, `${_}--isMobile`].join(" ").trim(),
|
|
7962
7964
|
role: "menu"
|
|
7963
7965
|
},
|
|
7964
|
-
|
|
7966
|
+
ee,
|
|
7965
7967
|
/* @__PURE__ */ e.createElement("li", { role: "separator" }),
|
|
7966
|
-
|
|
7968
|
+
D
|
|
7967
7969
|
)));
|
|
7968
7970
|
return /* @__PURE__ */ e.createElement(
|
|
7969
7971
|
"span",
|
|
7970
7972
|
H({
|
|
7971
7973
|
className: x([u, g, a != null ? a : ""])
|
|
7972
7974
|
}, c),
|
|
7973
|
-
h ?
|
|
7975
|
+
h ? J : Y
|
|
7974
7976
|
);
|
|
7975
|
-
},
|
|
7977
|
+
}, I2 = {
|
|
7976
7978
|
silver: "Silver",
|
|
7977
7979
|
gold: "Gold",
|
|
7978
7980
|
platinum: "Platinum",
|
|
7979
7981
|
diamond: "Diamond"
|
|
7980
|
-
},
|
|
7982
|
+
}, Ps = (p) => {
|
|
7981
7983
|
var m = p, {
|
|
7982
7984
|
ariaLabel: t = "Workspace selector menu",
|
|
7983
7985
|
createWorkspaceLink: s,
|
|
@@ -8001,15 +8003,15 @@ const us = (m) => {
|
|
|
8001
8003
|
"workspaceList",
|
|
8002
8004
|
"className"
|
|
8003
8005
|
]);
|
|
8004
|
-
const [b, E] =
|
|
8006
|
+
const [b, E] = G(!1), [y, v] = G(null), [C, h] = G(o), u = de([]), g = de(null), _ = o.length >= d;
|
|
8005
8007
|
let w = !1;
|
|
8006
8008
|
const M = we(ze);
|
|
8007
8009
|
M && (w = M.isMobile);
|
|
8008
|
-
const k = c && w, $ = "pds-workspace-selector", L = k ? `${$}--isMobile` : null, z = `${$}__menu`, N = _ ? `${z}--scroll` : null, { refs: S, floatingStyles: V, context:
|
|
8010
|
+
const k = c && w, $ = "pds-workspace-selector", L = k ? `${$}--isMobile` : null, z = `${$}__menu`, N = _ ? `${z}--scroll` : null, { refs: S, floatingStyles: V, context: O } = Se({
|
|
8009
8011
|
open: b,
|
|
8010
8012
|
onOpenChange: E,
|
|
8011
8013
|
whileElementsMounted: Re
|
|
8012
|
-
}), I = Ye(
|
|
8014
|
+
}), I = Ye(O, { event: "mousedown" }), A = Ie(O), P = Ae(O, { role: "menu" }), W = ot(O, {
|
|
8013
8015
|
listRef: u,
|
|
8014
8016
|
activeIndex: y,
|
|
8015
8017
|
onNavigate: v,
|
|
@@ -8017,9 +8019,9 @@ const us = (m) => {
|
|
|
8017
8019
|
openOnArrowKeyDown: !0,
|
|
8018
8020
|
focusItemOnHover: !0,
|
|
8019
8021
|
focusItemOnOpen: !1
|
|
8020
|
-
}), { getReferenceProps:
|
|
8021
|
-
[A,
|
|
8022
|
-
), { isMounted: U, styles:
|
|
8022
|
+
}), { getReferenceProps: j, getFloatingProps: ee, getItemProps: K } = Te(
|
|
8023
|
+
[A, P, I, W]
|
|
8024
|
+
), { isMounted: U, styles: Z } = Qe(O, {
|
|
8023
8025
|
duration: {
|
|
8024
8026
|
open: 300,
|
|
8025
8027
|
close: 150
|
|
@@ -8034,9 +8036,9 @@ const us = (m) => {
|
|
|
8034
8036
|
opacity: 0
|
|
8035
8037
|
}
|
|
8036
8038
|
});
|
|
8037
|
-
let
|
|
8038
|
-
|
|
8039
|
-
const
|
|
8039
|
+
let D = o.find((ce) => ce.isActive);
|
|
8040
|
+
D || (D = o[0]);
|
|
8041
|
+
const Y = (ce) => {
|
|
8040
8042
|
const { value: le } = ce.target, ge = o.filter((Oe) => Oe.displayName.toLowerCase().includes(le.toLowerCase()));
|
|
8041
8043
|
h(ge);
|
|
8042
8044
|
};
|
|
@@ -8046,43 +8048,43 @@ const us = (m) => {
|
|
|
8046
8048
|
}));
|
|
8047
8049
|
h(ce);
|
|
8048
8050
|
}, [o]);
|
|
8049
|
-
const
|
|
8051
|
+
const X = (ce) => {
|
|
8050
8052
|
ce.preventDefault(), ce.key === "Enter" && u.current[y].querySelector("a").click(), ce.key === "Tab" && (ce.shiftKey ? _ ? document.getElementById("workspace-filter").focus() : E(!1) : s ? g.current.querySelector("a").focus() : E(!1));
|
|
8051
|
-
},
|
|
8052
|
-
|
|
8053
|
+
}, J = /* @__PURE__ */ e.createElement("div", { className: `${$}__button-content` }, /* @__PURE__ */ e.createElement(
|
|
8054
|
+
Gt,
|
|
8053
8055
|
{
|
|
8054
8056
|
size: "sm",
|
|
8055
|
-
uniqueId:
|
|
8056
|
-
imageSrc:
|
|
8057
|
+
uniqueId: D.workspaceId,
|
|
8058
|
+
imageSrc: D.imageSrc,
|
|
8057
8059
|
className: `${$}__avatar`
|
|
8058
8060
|
}
|
|
8059
|
-
), /* @__PURE__ */ e.createElement("span", { className: `${$}__name` },
|
|
8061
|
+
), /* @__PURE__ */ e.createElement("span", { className: `${$}__name` }, D.displayName), D.planTier && /* @__PURE__ */ e.createElement(
|
|
8060
8062
|
ut,
|
|
8061
8063
|
{
|
|
8062
8064
|
size: "sm",
|
|
8063
|
-
color:
|
|
8064
|
-
label:
|
|
8065
|
+
color: D.planTier,
|
|
8066
|
+
label: I2[D.planTier]
|
|
8065
8067
|
}
|
|
8066
|
-
)),
|
|
8068
|
+
)), q = /* @__PURE__ */ e.createElement(
|
|
8067
8069
|
F,
|
|
8068
8070
|
{
|
|
8069
8071
|
iconName: "angleDown",
|
|
8070
8072
|
iconSize: "md",
|
|
8071
8073
|
className: `${$}__trigger-icon`
|
|
8072
8074
|
}
|
|
8073
|
-
),
|
|
8074
|
-
|
|
8075
|
+
), ae = _ && /* @__PURE__ */ e.createElement("div", { className: `${$}__filter` }, /* @__PURE__ */ e.createElement(
|
|
8076
|
+
H1,
|
|
8075
8077
|
{
|
|
8076
8078
|
hasClearButton: !0,
|
|
8077
8079
|
onClear: () => h(o),
|
|
8078
8080
|
id: "workspace-filter",
|
|
8079
8081
|
label: l,
|
|
8080
|
-
onChange:
|
|
8082
|
+
onChange: Y,
|
|
8081
8083
|
placeholder: n,
|
|
8082
8084
|
showLabel: !1,
|
|
8083
8085
|
type: "search"
|
|
8084
8086
|
}
|
|
8085
|
-
)),
|
|
8087
|
+
)), te = C.map(
|
|
8086
8088
|
(ce, le) => {
|
|
8087
8089
|
const ge = `${$}__item`, Oe = ce.isActive ? `${ge}--active` : null, qe = ce.isUnprivileged ? `${ge}--unprivileged` : null, ke = /* @__PURE__ */ e.createElement(F, { iconName: "check", className: `${$}__active-icon` }), Ne = ce.workspaceId, Je = ce.workspaceLink.type, et = ce.isUnprivileged ? null : (Fe) => {
|
|
8088
8090
|
u.current[le] = Fe;
|
|
@@ -8100,7 +8102,7 @@ const us = (m) => {
|
|
|
8100
8102
|
role: "menuitem",
|
|
8101
8103
|
tabIndex: y === le ? 0 : -1,
|
|
8102
8104
|
ref: et,
|
|
8103
|
-
onKeyDown:
|
|
8105
|
+
onKeyDown: X
|
|
8104
8106
|
}, K()),
|
|
8105
8107
|
/* @__PURE__ */ e.createElement(
|
|
8106
8108
|
Je,
|
|
@@ -8108,7 +8110,7 @@ const us = (m) => {
|
|
|
8108
8110
|
onClick: () => E(!1)
|
|
8109
8111
|
}),
|
|
8110
8112
|
/* @__PURE__ */ e.createElement("div", { className: `${$}__item-content` }, /* @__PURE__ */ e.createElement(
|
|
8111
|
-
|
|
8113
|
+
Gt,
|
|
8112
8114
|
{
|
|
8113
8115
|
size: "sm",
|
|
8114
8116
|
uniqueId: ce.workspaceId,
|
|
@@ -8121,7 +8123,7 @@ const us = (m) => {
|
|
|
8121
8123
|
);
|
|
8122
8124
|
}
|
|
8123
8125
|
), fe = s && /* @__PURE__ */ e.createElement("div", { className: `${$}__create-link`, ref: g }, /* @__PURE__ */ e.createElement(
|
|
8124
|
-
|
|
8126
|
+
Ct,
|
|
8125
8127
|
{
|
|
8126
8128
|
displayType: "icon-end",
|
|
8127
8129
|
iconName: "plus",
|
|
@@ -8137,9 +8139,9 @@ const us = (m) => {
|
|
|
8137
8139
|
"aria-label": t,
|
|
8138
8140
|
ref: S.setReference,
|
|
8139
8141
|
type: "button"
|
|
8140
|
-
},
|
|
8141
|
-
|
|
8142
|
-
|
|
8142
|
+
}, j()),
|
|
8143
|
+
J,
|
|
8144
|
+
q
|
|
8143
8145
|
), U && /* @__PURE__ */ e.createElement(
|
|
8144
8146
|
"div",
|
|
8145
8147
|
H({
|
|
@@ -8148,8 +8150,8 @@ const us = (m) => {
|
|
|
8148
8150
|
style: {
|
|
8149
8151
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
8150
8152
|
}
|
|
8151
|
-
},
|
|
8152
|
-
/* @__PURE__ */ e.createElement("div", { style: H({},
|
|
8153
|
+
}, ee()),
|
|
8154
|
+
/* @__PURE__ */ e.createElement("div", { style: H({}, Z) }, ae, /* @__PURE__ */ e.createElement("ul", { className: x([z, N]), role: "menu" }, /* @__PURE__ */ e.createElement("li", { className: `${$}__item-heading`, role: "presentation" }, r), te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${$}__no-results` }, a) : te), fe)
|
|
8153
8155
|
)), Ee = (ce) => {
|
|
8154
8156
|
const le = ce.target;
|
|
8155
8157
|
le.classList.toggle(`${$}__toggle--expanded`), le.setAttribute(
|
|
@@ -8165,16 +8167,16 @@ const us = (m) => {
|
|
|
8165
8167
|
onClick: Ee,
|
|
8166
8168
|
type: "button"
|
|
8167
8169
|
},
|
|
8168
|
-
|
|
8169
|
-
|
|
8170
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${$}__mobile-menu` },
|
|
8170
|
+
J,
|
|
8171
|
+
q
|
|
8172
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${$}__mobile-menu` }, ae, /* @__PURE__ */ e.createElement(
|
|
8171
8173
|
"ul",
|
|
8172
8174
|
{
|
|
8173
8175
|
className: [z, `${z}--isMobile`].join(" ").trim(),
|
|
8174
8176
|
role: "menu"
|
|
8175
8177
|
},
|
|
8176
8178
|
/* @__PURE__ */ e.createElement("li", { className: `${$}__item-heading`, role: "presentation" }, r),
|
|
8177
|
-
|
|
8179
|
+
te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${$}__no-results` }, a) : te
|
|
8178
8180
|
), fe));
|
|
8179
8181
|
return /* @__PURE__ */ e.createElement(
|
|
8180
8182
|
"span",
|
|
@@ -8183,11 +8185,11 @@ const us = (m) => {
|
|
|
8183
8185
|
}, f),
|
|
8184
8186
|
k ? be : ie
|
|
8185
8187
|
);
|
|
8186
|
-
},
|
|
8188
|
+
}, A2 = {
|
|
8187
8189
|
info: "circleInfo",
|
|
8188
8190
|
warning: "triangleExclamation",
|
|
8189
8191
|
critical: "diamondExclamation"
|
|
8190
|
-
},
|
|
8192
|
+
}, Bs = (c) => {
|
|
8191
8193
|
var o = c, {
|
|
8192
8194
|
banners: t,
|
|
8193
8195
|
dismissLabel: s = "Dismiss",
|
|
@@ -8207,7 +8209,7 @@ const us = (m) => {
|
|
|
8207
8209
|
"typeLabels",
|
|
8208
8210
|
"className"
|
|
8209
8211
|
]);
|
|
8210
|
-
const [i, f] =
|
|
8212
|
+
const [i, f] = G(t);
|
|
8211
8213
|
oe(() => {
|
|
8212
8214
|
f(t);
|
|
8213
8215
|
}, [t]);
|
|
@@ -8219,7 +8221,7 @@ const us = (m) => {
|
|
|
8219
8221
|
warning: `${m}--warning`,
|
|
8220
8222
|
critical: `${m}--critical`
|
|
8221
8223
|
}, y = p > 0 ? i[0].type : null, v = y ? `${m}-group--${y}` : null, C = (M) => ({
|
|
8222
|
-
zIndex:
|
|
8224
|
+
zIndex: xt - M
|
|
8223
8225
|
}), h = (M) => M === 0 ? 0 : -1, u = () => {
|
|
8224
8226
|
const M = document.getElementsByClassName(
|
|
8225
8227
|
`${m}--fading`
|
|
@@ -8234,7 +8236,7 @@ const us = (m) => {
|
|
|
8234
8236
|
]);
|
|
8235
8237
|
}, 200);
|
|
8236
8238
|
}, _ = () => {
|
|
8237
|
-
u(), document.getElementById(i[0].id).style.zIndex = (
|
|
8239
|
+
u(), document.getElementById(i[0].id).style.zIndex = (xt + 2).toString(), document.getElementById(i[p - 1].id).style.zIndex = (xt + 1).toString(), setTimeout(() => {
|
|
8238
8240
|
document.getElementById(i[0].id).classList.add(`${m}--fading`);
|
|
8239
8241
|
}, 50), setTimeout(() => {
|
|
8240
8242
|
f((M) => [
|
|
@@ -8243,14 +8245,14 @@ const us = (m) => {
|
|
|
8243
8245
|
]), document.getElementById(i[0].id).classList.remove(`${m}--fading`);
|
|
8244
8246
|
}, 200);
|
|
8245
8247
|
}, w = (M, k) => {
|
|
8246
|
-
const { id: $, isDismissible: L, message: z, onDismiss: N, type: S } = M,
|
|
8247
|
-
|
|
8248
|
+
const { id: $, isDismissible: L, message: z, onDismiss: N, type: S } = M, O = ["critical", "warning"].includes(S) ? "alert" : "status", I = `${r[S]}: `, A = (P) => {
|
|
8249
|
+
P.preventDefault(), document.getElementById($).classList.add(`${m}--dismissing`), setTimeout(() => {
|
|
8248
8250
|
if (p === 1) {
|
|
8249
8251
|
f([]);
|
|
8250
8252
|
return;
|
|
8251
8253
|
}
|
|
8252
8254
|
f(
|
|
8253
|
-
(
|
|
8255
|
+
(W) => W.filter((j) => j.id !== $)
|
|
8254
8256
|
), N && M.onDismiss();
|
|
8255
8257
|
}, 200);
|
|
8256
8258
|
};
|
|
@@ -8260,7 +8262,7 @@ const us = (m) => {
|
|
|
8260
8262
|
key: $,
|
|
8261
8263
|
id: $,
|
|
8262
8264
|
className: x([m, E[S]]),
|
|
8263
|
-
role:
|
|
8265
|
+
role: O,
|
|
8264
8266
|
style: {
|
|
8265
8267
|
zIndex: C(k).zIndex
|
|
8266
8268
|
}
|
|
@@ -8268,7 +8270,7 @@ const us = (m) => {
|
|
|
8268
8270
|
/* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, /* @__PURE__ */ e.createElement(
|
|
8269
8271
|
F,
|
|
8270
8272
|
{
|
|
8271
|
-
iconName:
|
|
8273
|
+
iconName: A2[S],
|
|
8272
8274
|
iconSize: "md",
|
|
8273
8275
|
className: `${m}__icon ${m}__icon--${M.type}`
|
|
8274
8276
|
}
|
|
@@ -8296,7 +8298,7 @@ const us = (m) => {
|
|
|
8296
8298
|
])
|
|
8297
8299
|
}, a),
|
|
8298
8300
|
p > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${m}__navigation` }, /* @__PURE__ */ e.createElement(
|
|
8299
|
-
|
|
8301
|
+
$t,
|
|
8300
8302
|
{
|
|
8301
8303
|
iconName: "angleLeft",
|
|
8302
8304
|
size: "lg",
|
|
@@ -8305,7 +8307,7 @@ const us = (m) => {
|
|
|
8305
8307
|
onClick: _
|
|
8306
8308
|
}
|
|
8307
8309
|
), /* @__PURE__ */ e.createElement(
|
|
8308
|
-
|
|
8310
|
+
$t,
|
|
8309
8311
|
{
|
|
8310
8312
|
iconName: "angleRight",
|
|
8311
8313
|
size: "lg",
|
|
@@ -8315,12 +8317,12 @@ const us = (m) => {
|
|
|
8315
8317
|
}
|
|
8316
8318
|
), i.map((M, k) => w(M, k))) : w(i[0], 0)
|
|
8317
8319
|
);
|
|
8318
|
-
},
|
|
8320
|
+
}, Rt = {
|
|
8319
8321
|
info: "circleInfo",
|
|
8320
8322
|
warning: "triangleExclamation",
|
|
8321
8323
|
success: "circleCheck",
|
|
8322
8324
|
critical: "diamondExclamation"
|
|
8323
|
-
},
|
|
8325
|
+
}, Ws = (a) => {
|
|
8324
8326
|
var c = a, {
|
|
8325
8327
|
title: t,
|
|
8326
8328
|
secondaryText: s,
|
|
@@ -8354,21 +8356,21 @@ const us = (m) => {
|
|
|
8354
8356
|
className: [o, i[n], f, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
8355
8357
|
role: m
|
|
8356
8358
|
}, d),
|
|
8357
|
-
/* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon-${n}` }, n === "working" ? /* @__PURE__ */ e.createElement(
|
|
8359
|
+
/* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon-${n}` }, n === "working" ? /* @__PURE__ */ e.createElement(zt, { colorType: "monochromatic" }) : /* @__PURE__ */ e.createElement(
|
|
8358
8360
|
F,
|
|
8359
8361
|
{
|
|
8360
|
-
iconName: `${n}` in
|
|
8362
|
+
iconName: `${n}` in Rt ? Rt[n] : Rt.info,
|
|
8361
8363
|
iconSize: "md"
|
|
8362
8364
|
}
|
|
8363
8365
|
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, b), t && /* @__PURE__ */ e.createElement("div", { className: `${o}__title` }, t), /* @__PURE__ */ e.createElement("div", { className: `${o}__secondaryText` }, s)))
|
|
8364
8366
|
);
|
|
8365
|
-
},
|
|
8367
|
+
}, Ft = {
|
|
8366
8368
|
info: "circleInfo",
|
|
8367
8369
|
warning: "triangleExclamation",
|
|
8368
8370
|
success: "circleCheck",
|
|
8369
8371
|
critical: "diamondExclamation",
|
|
8370
8372
|
discovery: "squareQuestion"
|
|
8371
|
-
},
|
|
8373
|
+
}, Gs = (f) => {
|
|
8372
8374
|
var p = f, {
|
|
8373
8375
|
dismissLabel: t = "Dismiss",
|
|
8374
8376
|
id: s,
|
|
@@ -8427,7 +8429,7 @@ const us = (m) => {
|
|
|
8427
8429
|
/* @__PURE__ */ e.createElement("div", { className: `${b}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${b}__icon ${b}__icon-${a}` }, /* @__PURE__ */ e.createElement(
|
|
8428
8430
|
F,
|
|
8429
8431
|
{
|
|
8430
|
-
iconName: `${a}` in
|
|
8432
|
+
iconName: `${a}` in Ft ? Ft[a] : Ft.info,
|
|
8431
8433
|
iconSize: "md"
|
|
8432
8434
|
}
|
|
8433
8435
|
)), /* @__PURE__ */ e.createElement("div", { className: `${b}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h), d && /* @__PURE__ */ e.createElement("div", { className: `${b}__title` }, d), /* @__PURE__ */ e.createElement("div", { className: `${b}__message` }, r))),
|
|
@@ -8443,22 +8445,22 @@ const us = (m) => {
|
|
|
8443
8445
|
/* @__PURE__ */ e.createElement(F, { iconSize: "md", iconName: "xmark" })
|
|
8444
8446
|
)
|
|
8445
8447
|
);
|
|
8446
|
-
},
|
|
8448
|
+
}, Pt = {
|
|
8447
8449
|
info: "circleInfo",
|
|
8448
8450
|
success: "check",
|
|
8449
8451
|
warning: "triangleExclamation",
|
|
8450
8452
|
critical: "diamondExclamation"
|
|
8451
|
-
},
|
|
8453
|
+
}, T2 = {
|
|
8452
8454
|
info: "Information",
|
|
8453
8455
|
success: "Success",
|
|
8454
8456
|
warning: "Warning",
|
|
8455
8457
|
critical: "Critical",
|
|
8456
8458
|
working: "Working..."
|
|
8457
|
-
},
|
|
8459
|
+
}, D2 = ({
|
|
8458
8460
|
children: t,
|
|
8459
8461
|
id: s,
|
|
8460
8462
|
type: n = "info",
|
|
8461
|
-
typeLabels: l =
|
|
8463
|
+
typeLabels: l = T2,
|
|
8462
8464
|
className: r
|
|
8463
8465
|
}) => {
|
|
8464
8466
|
const d = "pds-toast", a = {
|
|
@@ -8477,16 +8479,16 @@ const us = (m) => {
|
|
|
8477
8479
|
className: x([d, a[n], r]),
|
|
8478
8480
|
id: s
|
|
8479
8481
|
},
|
|
8480
|
-
/* @__PURE__ */ e.createElement("div", { className: `${d}__icon-container` }, n === "working" ? /* @__PURE__ */ e.createElement(
|
|
8482
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__icon-container` }, n === "working" ? /* @__PURE__ */ e.createElement(zt, { colorType: "monochromatic", size: "lg" }) : /* @__PURE__ */ e.createElement(
|
|
8481
8483
|
F,
|
|
8482
8484
|
{
|
|
8483
|
-
iconName: `${n}` in
|
|
8485
|
+
iconName: `${n}` in Pt ? Pt[n] : Pt.info,
|
|
8484
8486
|
className: `${d}__icon ${d}__icon--${n}`
|
|
8485
8487
|
}
|
|
8486
8488
|
)),
|
|
8487
8489
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c), t)
|
|
8488
8490
|
);
|
|
8489
|
-
},
|
|
8491
|
+
}, Us = ({
|
|
8490
8492
|
autoCloseDuration: t = 5e3,
|
|
8491
8493
|
limit: s = 5,
|
|
8492
8494
|
position: n = "bottom-right",
|
|
@@ -8494,7 +8496,7 @@ const us = (m) => {
|
|
|
8494
8496
|
}) => {
|
|
8495
8497
|
const d = x(["pds-toaster", l]);
|
|
8496
8498
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8497
|
-
|
|
8499
|
+
Y1,
|
|
8498
8500
|
{
|
|
8499
8501
|
className: d,
|
|
8500
8502
|
autoClose: t,
|
|
@@ -8504,14 +8506,14 @@ const us = (m) => {
|
|
|
8504
8506
|
newestOnTop: !0,
|
|
8505
8507
|
position: n,
|
|
8506
8508
|
role: "status",
|
|
8507
|
-
transition:
|
|
8509
|
+
transition: Q1
|
|
8508
8510
|
}
|
|
8509
8511
|
));
|
|
8510
8512
|
};
|
|
8511
|
-
var
|
|
8512
|
-
const
|
|
8513
|
+
var O2 = /* @__PURE__ */ ((t) => (t.Critical = "critical", t.Warning = "warning", t.Working = "working", t.Success = "success", t.Info = "info", t))(O2 || {});
|
|
8514
|
+
const Zs = () => {
|
|
8513
8515
|
const t = (n, l, r = {}) => {
|
|
8514
|
-
const d = /* @__PURE__ */ e.createElement(
|
|
8516
|
+
const d = /* @__PURE__ */ e.createElement(D2, { type: n }, l);
|
|
8515
8517
|
let a = H({}, r);
|
|
8516
8518
|
return (n === "critical" || n === "warning") && (a = he(H({}, a), {
|
|
8517
8519
|
autoClose: !1,
|
|
@@ -8520,42 +8522,42 @@ const Gs = () => {
|
|
|
8520
8522
|
autoClose: !1,
|
|
8521
8523
|
closeButton: !1,
|
|
8522
8524
|
closeOnClick: !1
|
|
8523
|
-
})),
|
|
8524
|
-
}, s =
|
|
8525
|
+
})), n1(d, a);
|
|
8526
|
+
}, s = J1({
|
|
8525
8527
|
collapse: !1,
|
|
8526
8528
|
enter: "pds-toast--bounceInPlace",
|
|
8527
8529
|
exit: "pds-toast--slideOut"
|
|
8528
8530
|
});
|
|
8529
|
-
return [t,
|
|
8530
|
-
}, mt = "...",
|
|
8531
|
+
return [t, n1, s];
|
|
8532
|
+
}, mt = "...", Et = (t, s) => {
|
|
8531
8533
|
const n = s - t + 1;
|
|
8532
8534
|
return Array.from({ length: n }, (l, r) => r + t);
|
|
8533
|
-
},
|
|
8535
|
+
}, R2 = ({
|
|
8534
8536
|
bufferCount: t = 1,
|
|
8535
8537
|
currentPage: s,
|
|
8536
8538
|
itemsPerPage: n,
|
|
8537
8539
|
totalItemCount: l
|
|
8538
|
-
}) =>
|
|
8540
|
+
}) => P1(() => {
|
|
8539
8541
|
const d = Math.ceil(l / n), a = t + 5, c = 1, o = d;
|
|
8540
8542
|
if (a >= d)
|
|
8541
|
-
return
|
|
8543
|
+
return Et(1, d);
|
|
8542
8544
|
const i = Math.max(s - t, 1), f = Math.min(
|
|
8543
8545
|
s + t,
|
|
8544
8546
|
d
|
|
8545
8547
|
), p = i > 2, m = f < d - 2;
|
|
8546
8548
|
if (!p && m) {
|
|
8547
8549
|
const b = 3 + 2 * t;
|
|
8548
|
-
return [...
|
|
8550
|
+
return [...Et(1, b), mt, d];
|
|
8549
8551
|
}
|
|
8550
8552
|
if (p && !m) {
|
|
8551
|
-
const b = 3 + 2 * t, E =
|
|
8553
|
+
const b = 3 + 2 * t, E = Et(
|
|
8552
8554
|
d - b + 1,
|
|
8553
8555
|
d
|
|
8554
8556
|
);
|
|
8555
8557
|
return [c, mt, ...E];
|
|
8556
8558
|
}
|
|
8557
8559
|
if (p && m) {
|
|
8558
|
-
const b =
|
|
8560
|
+
const b = Et(i, f);
|
|
8559
8561
|
return [
|
|
8560
8562
|
c,
|
|
8561
8563
|
mt,
|
|
@@ -8564,7 +8566,7 @@ const Gs = () => {
|
|
|
8564
8566
|
o
|
|
8565
8567
|
];
|
|
8566
8568
|
}
|
|
8567
|
-
}, [l, n, t, s]),
|
|
8569
|
+
}, [l, n, t, s]), qs = (f) => {
|
|
8568
8570
|
var p = f, {
|
|
8569
8571
|
bufferCount: t = 1,
|
|
8570
8572
|
currentPage: s,
|
|
@@ -8589,7 +8591,7 @@ const Gs = () => {
|
|
|
8589
8591
|
"totalItemCount",
|
|
8590
8592
|
"className"
|
|
8591
8593
|
]);
|
|
8592
|
-
const m =
|
|
8594
|
+
const m = R2({
|
|
8593
8595
|
currentPage: s,
|
|
8594
8596
|
totalItemCount: c,
|
|
8595
8597
|
bufferCount: t,
|
|
@@ -8680,7 +8682,7 @@ const Gs = () => {
|
|
|
8680
8682
|
)
|
|
8681
8683
|
))
|
|
8682
8684
|
);
|
|
8683
|
-
},
|
|
8685
|
+
}, js = (a) => {
|
|
8684
8686
|
var c = a, {
|
|
8685
8687
|
children: t,
|
|
8686
8688
|
id: s,
|
|
@@ -8694,7 +8696,7 @@ const Gs = () => {
|
|
|
8694
8696
|
"summary",
|
|
8695
8697
|
"className"
|
|
8696
8698
|
]);
|
|
8697
|
-
const [o, i] =
|
|
8699
|
+
const [o, i] = G(n), f = s || `expansion-panel-${nt()}`, p = "pds-expansion-panel", m = de(null), b = de(null), E = de(null);
|
|
8698
8700
|
return oe(() => {
|
|
8699
8701
|
const y = m.current, v = b.current, C = E.current;
|
|
8700
8702
|
if (!y || !v || !C) return;
|
|
@@ -8744,7 +8746,7 @@ const Gs = () => {
|
|
|
8744
8746
|
)),
|
|
8745
8747
|
/* @__PURE__ */ e.createElement("div", { className: `${p}__content`, ref: E }, t)
|
|
8746
8748
|
));
|
|
8747
|
-
},
|
|
8749
|
+
}, Ks = (r) => {
|
|
8748
8750
|
var d = r, {
|
|
8749
8751
|
children: t,
|
|
8750
8752
|
displayType: s = "standard",
|
|
@@ -8762,7 +8764,7 @@ const Gs = () => {
|
|
|
8762
8764
|
}, l),
|
|
8763
8765
|
t
|
|
8764
8766
|
);
|
|
8765
|
-
},
|
|
8767
|
+
}, Xs = (c) => {
|
|
8766
8768
|
var o = c, {
|
|
8767
8769
|
children: t,
|
|
8768
8770
|
hasStatusIndicator: s = !1,
|
|
@@ -8787,7 +8789,7 @@ const Gs = () => {
|
|
|
8787
8789
|
s && l && /* @__PURE__ */ e.createElement("span", { className: f }),
|
|
8788
8790
|
/* @__PURE__ */ e.createElement("div", { className: x([m, b]) }, t)
|
|
8789
8791
|
);
|
|
8790
|
-
},
|
|
8792
|
+
}, Ys = (d) => {
|
|
8791
8793
|
var a = d, {
|
|
8792
8794
|
background: t = "default",
|
|
8793
8795
|
children: s,
|
|
@@ -8812,11 +8814,11 @@ const Gs = () => {
|
|
|
8812
8814
|
}, r),
|
|
8813
8815
|
s
|
|
8814
8816
|
);
|
|
8815
|
-
},
|
|
8817
|
+
}, Qs = (l) => {
|
|
8816
8818
|
var r = l, { children: t, className: s } = r, n = T(r, ["children", "className"]);
|
|
8817
8819
|
const d = "pds-panel-row", a = Ue(t), c = a["items-left"], o = a["items-right"];
|
|
8818
8820
|
return /* @__PURE__ */ e.createElement("li", H({ className: x([d, s != null ? s : ""]) }, n), c && /* @__PURE__ */ e.createElement("div", { className: `${d}__items ${d}__items--left` }, c), o && /* @__PURE__ */ e.createElement("div", { className: `${d}__items ${d}__items--right` }, o));
|
|
8819
|
-
}, st = 8,
|
|
8821
|
+
}, st = 8, i1 = 14, F2 = 6, Js = (b) => {
|
|
8820
8822
|
var E = b, {
|
|
8821
8823
|
content: t,
|
|
8822
8824
|
customTrigger: s = !1,
|
|
@@ -8846,8 +8848,8 @@ const Gs = () => {
|
|
|
8846
8848
|
"setPopoverIsOpen",
|
|
8847
8849
|
"className"
|
|
8848
8850
|
]);
|
|
8849
|
-
var
|
|
8850
|
-
const [y, v] =
|
|
8851
|
+
var ee, K, U, Z;
|
|
8852
|
+
const [y, v] = G(i);
|
|
8851
8853
|
oe(() => {
|
|
8852
8854
|
v(i);
|
|
8853
8855
|
}, [i]), oe(() => {
|
|
@@ -8859,33 +8861,33 @@ const Gs = () => {
|
|
|
8859
8861
|
]), g = s ? l : 0, _ = de(null), { refs: w, floatingStyles: M, context: k, middlewareData: $ } = Se({
|
|
8860
8862
|
placement: d,
|
|
8861
8863
|
open: y,
|
|
8862
|
-
onOpenChange(
|
|
8863
|
-
v(
|
|
8864
|
+
onOpenChange(D) {
|
|
8865
|
+
v(D), D || r();
|
|
8864
8866
|
},
|
|
8865
8867
|
middleware: [
|
|
8866
|
-
|
|
8867
|
-
yt({ padding: 8 }),
|
|
8868
|
+
yt(st + F2 + g),
|
|
8868
8869
|
Lt({ padding: 8 }),
|
|
8869
|
-
|
|
8870
|
+
Ht({ padding: 8 }),
|
|
8871
|
+
U1({ element: _ })
|
|
8870
8872
|
],
|
|
8871
8873
|
whileElementsMounted: Re
|
|
8872
8874
|
}), L = () => {
|
|
8873
8875
|
v(!1), r && r();
|
|
8874
|
-
}, z = Ye(k), N = Ie(k), S = Ae(k), { getReferenceProps: V, getFloatingProps:
|
|
8876
|
+
}, z = Ye(k), N = Ie(k), S = Ae(k), { getReferenceProps: V, getFloatingProps: O } = Te([
|
|
8875
8877
|
z,
|
|
8876
8878
|
N,
|
|
8877
8879
|
S
|
|
8878
|
-
]), I = (K = (
|
|
8880
|
+
]), I = (K = (ee = $.arrow) == null ? void 0 : ee.x) != null ? K : 0, A = (Z = (U = $.arrow) == null ? void 0 : U.y) != null ? Z : 0, P = I + i1 / 2, W = A + st, { isMounted: j } = Qe(k, {
|
|
8879
8881
|
initial: {
|
|
8880
8882
|
transform: "scale(0)"
|
|
8881
8883
|
},
|
|
8882
|
-
common: ({ side:
|
|
8884
|
+
common: ({ side: D }) => ({
|
|
8883
8885
|
transformOrigin: {
|
|
8884
|
-
top: `${
|
|
8885
|
-
bottom: `${
|
|
8886
|
-
left: `calc(100% + ${st}px) ${
|
|
8887
|
-
right: `${-st}px ${
|
|
8888
|
-
}[
|
|
8886
|
+
top: `${P}px calc(100% + ${st}px)`,
|
|
8887
|
+
bottom: `${P}px ${-st}px`,
|
|
8888
|
+
left: `calc(100% + ${st}px) ${W}px`,
|
|
8889
|
+
right: `${-st}px ${W}px`
|
|
8890
|
+
}[D]
|
|
8889
8891
|
})
|
|
8890
8892
|
});
|
|
8891
8893
|
return /* @__PURE__ */ e.createElement("div", H({ className: x([h, p]) }, m), /* @__PURE__ */ e.createElement(
|
|
@@ -8903,20 +8905,20 @@ const Gs = () => {
|
|
|
8903
8905
|
iconSize: "md"
|
|
8904
8906
|
}
|
|
8905
8907
|
))
|
|
8906
|
-
),
|
|
8908
|
+
), j && /* @__PURE__ */ e.createElement(g1, null, /* @__PURE__ */ e.createElement(_1, { context: k, modal: !1 }, /* @__PURE__ */ e.createElement(
|
|
8907
8909
|
"div",
|
|
8908
8910
|
H({
|
|
8909
8911
|
className: `${h}__container`,
|
|
8910
8912
|
ref: w.setFloating,
|
|
8911
8913
|
style: M
|
|
8912
|
-
},
|
|
8914
|
+
}, O()),
|
|
8913
8915
|
/* @__PURE__ */ e.createElement(
|
|
8914
|
-
|
|
8916
|
+
Z1,
|
|
8915
8917
|
{
|
|
8916
8918
|
ref: _,
|
|
8917
8919
|
context: k,
|
|
8918
8920
|
height: st,
|
|
8919
|
-
width:
|
|
8921
|
+
width: i1,
|
|
8920
8922
|
tipRadius: 0,
|
|
8921
8923
|
fill: "var(--pds-color-background-default)",
|
|
8922
8924
|
stroke: "var(--pds-color-border-default)",
|
|
@@ -8935,13 +8937,13 @@ const Gs = () => {
|
|
|
8935
8937
|
/* @__PURE__ */ e.createElement(F, { iconName: "xmark", iconSize: "lg" })
|
|
8936
8938
|
))
|
|
8937
8939
|
))));
|
|
8938
|
-
},
|
|
8940
|
+
}, d1 = {
|
|
8939
8941
|
neutral: "--pds-color-semantic-neutral-utility",
|
|
8940
8942
|
info: "--pds-color-status-info-foreground",
|
|
8941
8943
|
success: "--pds-color-status-success-foreground",
|
|
8942
8944
|
warning: "--pds-color-status-warning-foreground",
|
|
8943
8945
|
critical: "--pds-color-status-critical-foreground"
|
|
8944
|
-
},
|
|
8946
|
+
}, en = (p) => {
|
|
8945
8947
|
var m = p, {
|
|
8946
8948
|
colorBreakpoints: t = [
|
|
8947
8949
|
{ colorType: "info", percentage: 0 },
|
|
@@ -8986,7 +8988,7 @@ const Gs = () => {
|
|
|
8986
8988
|
{
|
|
8987
8989
|
className: `${E}__percentage`,
|
|
8988
8990
|
style: {
|
|
8989
|
-
color: `hsl(from var(${
|
|
8991
|
+
color: `hsl(from var(${d1[h]}) h s calc(l - 7))`
|
|
8990
8992
|
}
|
|
8991
8993
|
},
|
|
8992
8994
|
d,
|
|
@@ -9006,14 +9008,14 @@ const Gs = () => {
|
|
|
9006
9008
|
className: `${E}__bar`,
|
|
9007
9009
|
style: {
|
|
9008
9010
|
width: `${C}%`,
|
|
9009
|
-
backgroundColor: `var(${
|
|
9011
|
+
backgroundColor: `var(${d1[h]})`
|
|
9010
9012
|
}
|
|
9011
9013
|
}
|
|
9012
9014
|
)
|
|
9013
9015
|
)),
|
|
9014
9016
|
_ && u
|
|
9015
9017
|
);
|
|
9016
|
-
},
|
|
9018
|
+
}, P2 = (i) => {
|
|
9017
9019
|
var f = i, {
|
|
9018
9020
|
id: t,
|
|
9019
9021
|
innerLabel: s,
|
|
@@ -9034,8 +9036,8 @@ const Gs = () => {
|
|
|
9034
9036
|
"className"
|
|
9035
9037
|
]);
|
|
9036
9038
|
const p = t || nt(), m = "pds-progress-ring", b = r ? `${m}__label` : "visually-hidden", E = `${m}__loading-text ${m}__loading-text--${a}`, y = (w) => w * 16;
|
|
9037
|
-
let v = y(
|
|
9038
|
-
a === "sm" && (v = y(
|
|
9039
|
+
let v = y(L2), C = 7;
|
|
9040
|
+
a === "sm" && (v = y(y2), C = C / 1.25), a === "lg" && (v = y(H2), C = C * 1.25);
|
|
9039
9041
|
const h = v / 2 - C / 2, u = 2 * Math.PI * h, g = u - u * l / 100;
|
|
9040
9042
|
let _;
|
|
9041
9043
|
return s ? _ = s : d ? _ = `${l}%` : _ = "", /* @__PURE__ */ e.createElement(
|
|
@@ -9102,7 +9104,7 @@ const Gs = () => {
|
|
|
9102
9104
|
)
|
|
9103
9105
|
)
|
|
9104
9106
|
);
|
|
9105
|
-
},
|
|
9107
|
+
}, tn = (a) => {
|
|
9106
9108
|
var c = a, {
|
|
9107
9109
|
attribution: t,
|
|
9108
9110
|
image: s,
|
|
@@ -9132,8 +9134,8 @@ const Gs = () => {
|
|
|
9132
9134
|
), /* @__PURE__ */ e.createElement("div", { className: `${o}__attribution` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__name` }, t.name), t.title && /* @__PURE__ */ e.createElement("span", { className: `${o}__title` }, ", ", t.title), t.org && /* @__PURE__ */ e.createElement("span", { className: `${o}__org` }, ", ", t.org))), /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon--after` }, /* @__PURE__ */ e.createElement(F, { iconName: "quotesRight", iconSize: "4xl" })))
|
|
9133
9135
|
);
|
|
9134
9136
|
};
|
|
9135
|
-
var
|
|
9136
|
-
const
|
|
9137
|
+
var B2 = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.WORKING = "working", t.CHECKED = "checked", t))(B2 || {});
|
|
9138
|
+
const sn = (o) => {
|
|
9137
9139
|
var i = o, {
|
|
9138
9140
|
alignment: t = "left",
|
|
9139
9141
|
componentWidth: s,
|
|
@@ -9151,7 +9153,7 @@ const en = (o) => {
|
|
|
9151
9153
|
"onCheck",
|
|
9152
9154
|
"className"
|
|
9153
9155
|
]);
|
|
9154
|
-
const [f, p] =
|
|
9156
|
+
const [f, p] = G(
|
|
9155
9157
|
n != null ? n : "default"
|
|
9156
9158
|
/* DEFAULT */
|
|
9157
9159
|
), m = H({
|
|
@@ -9180,7 +9182,7 @@ const en = (o) => {
|
|
|
9180
9182
|
}
|
|
9181
9183
|
return m.checked;
|
|
9182
9184
|
}
|
|
9183
|
-
}, E = () =>
|
|
9185
|
+
}, E = () => Nt(void 0, null, function* () {
|
|
9184
9186
|
if (f !== "working") {
|
|
9185
9187
|
p(
|
|
9186
9188
|
"working"
|
|
@@ -9237,7 +9239,7 @@ const en = (o) => {
|
|
|
9237
9239
|
t === "left" && g
|
|
9238
9240
|
)
|
|
9239
9241
|
);
|
|
9240
|
-
},
|
|
9242
|
+
}, nn = (d) => {
|
|
9241
9243
|
var a = d, {
|
|
9242
9244
|
siteName: t,
|
|
9243
9245
|
sitePlanLevel: s,
|
|
@@ -9249,7 +9251,7 @@ const en = (o) => {
|
|
|
9249
9251
|
"siteType",
|
|
9250
9252
|
"className"
|
|
9251
9253
|
]);
|
|
9252
|
-
const c = "pds-site-dashboard-heading", o =
|
|
9254
|
+
const c = "pds-site-dashboard-heading", o = N2[s], i = n ? k1[n] : "bolt";
|
|
9253
9255
|
return /* @__PURE__ */ e.createElement(
|
|
9254
9256
|
"div",
|
|
9255
9257
|
H({
|
|
@@ -9263,7 +9265,7 @@ const en = (o) => {
|
|
|
9263
9265
|
/* @__PURE__ */ e.createElement("h1", null, t),
|
|
9264
9266
|
s && /* @__PURE__ */ e.createElement(ut, { label: o, color: "neutral", size: "md" })
|
|
9265
9267
|
);
|
|
9266
|
-
},
|
|
9268
|
+
}, Bt = {
|
|
9267
9269
|
bluesky: {
|
|
9268
9270
|
icon: "bluesky",
|
|
9269
9271
|
url: "https://bsky.app/profile/pantheon.io",
|
|
@@ -9299,7 +9301,7 @@ const en = (o) => {
|
|
|
9299
9301
|
url: "https://www.youtube.com/user/GetPantheon",
|
|
9300
9302
|
label: "Pantheon on YouTube"
|
|
9301
9303
|
}
|
|
9302
|
-
},
|
|
9304
|
+
}, an = (l) => {
|
|
9303
9305
|
var r = l, {
|
|
9304
9306
|
linkItems: t = ["facebook", "x", "bluesky", "linkedin", "youtube", "instagram"],
|
|
9305
9307
|
className: s
|
|
@@ -9316,15 +9318,15 @@ const en = (o) => {
|
|
|
9316
9318
|
t.map((a, c) => /* @__PURE__ */ e.createElement("li", { key: c, className: `${d}__item` }, /* @__PURE__ */ e.createElement(
|
|
9317
9319
|
"a",
|
|
9318
9320
|
{
|
|
9319
|
-
href:
|
|
9321
|
+
href: Bt[a].url,
|
|
9320
9322
|
rel: "noreferrer",
|
|
9321
9323
|
target: "_blank",
|
|
9322
|
-
"aria-label":
|
|
9324
|
+
"aria-label": Bt[a].label
|
|
9323
9325
|
},
|
|
9324
|
-
/* @__PURE__ */ e.createElement(F, { iconName:
|
|
9326
|
+
/* @__PURE__ */ e.createElement(F, { iconName: Bt[a].icon, iconSize: "xl" })
|
|
9325
9327
|
)))
|
|
9326
9328
|
);
|
|
9327
|
-
},
|
|
9329
|
+
}, ln = (d) => {
|
|
9328
9330
|
var a = d, {
|
|
9329
9331
|
label: t = null,
|
|
9330
9332
|
size: s = "md",
|
|
@@ -9343,7 +9345,7 @@ const en = (o) => {
|
|
|
9343
9345
|
className: [c, o, i, l != null ? l : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
9344
9346
|
}, r),
|
|
9345
9347
|
n === "working" ? /* @__PURE__ */ e.createElement(
|
|
9346
|
-
|
|
9348
|
+
zt,
|
|
9347
9349
|
{
|
|
9348
9350
|
className: `${c}__spinner`,
|
|
9349
9351
|
colorType: "monochromatic",
|
|
@@ -9352,7 +9354,7 @@ const en = (o) => {
|
|
|
9352
9354
|
) : /* @__PURE__ */ e.createElement("span", { className: `${c}__icon`, role: "img", "aria-hidden": "true" }),
|
|
9353
9355
|
t && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, t)
|
|
9354
9356
|
);
|
|
9355
|
-
},
|
|
9357
|
+
}, cn = (r) => {
|
|
9356
9358
|
var d = r, {
|
|
9357
9359
|
steps: t,
|
|
9358
9360
|
translatableLabels: s = {
|
|
@@ -9367,28 +9369,28 @@ const en = (o) => {
|
|
|
9367
9369
|
"translatableLabels",
|
|
9368
9370
|
"className"
|
|
9369
9371
|
]);
|
|
9370
|
-
const a = "pds-stepper", c = "pds-stepper-mobile", o = de(), [i] =
|
|
9372
|
+
const a = "pds-stepper", c = "pds-stepper-mobile", o = de(), [i] = Mt(o), f = i.width, p = Number(
|
|
9371
9373
|
getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "")
|
|
9372
9374
|
) * 16, m = -40, b = 2, E = 5, y = t.length, v = t.map((u) => u.isCurrent).lastIndexOf(!0), C = t.map((u, g) => {
|
|
9373
|
-
const _ = g + 1, w = g === v, M = g < v, k = u.hasError && w, L = (f - y * p) / (y + (y - 2)), z = p + L * 2, N = p + L, S = L + m * -1, V = g === 0,
|
|
9375
|
+
const _ = g + 1, w = g === v, M = g < v, k = u.hasError && w, L = (f - y * p) / (y + (y - 2)), z = p + L * 2, N = p + L, S = L + m * -1, V = g === 0, O = g === y - 1;
|
|
9374
9376
|
let I = z;
|
|
9375
|
-
(V ||
|
|
9376
|
-
const A = `${a}__step`,
|
|
9377
|
-
w &&
|
|
9378
|
-
let
|
|
9379
|
-
M && (
|
|
9380
|
-
const
|
|
9377
|
+
(V || O) && (I = N);
|
|
9378
|
+
const A = `${a}__step`, P = [A];
|
|
9379
|
+
w && P.push(`${A}--current`), M && P.push(`${A}--complete`), k && P.push(`${A}--error`);
|
|
9380
|
+
let W = `${s.step} ${_}`;
|
|
9381
|
+
M && (W = `${s.step} ${_}, ${s.completed}`), k && (W = `${s.step} ${_}, ${s.hasError}`);
|
|
9382
|
+
const j = M ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${a}__step-indicator` }, /* @__PURE__ */ e.createElement(
|
|
9381
9383
|
F,
|
|
9382
9384
|
{
|
|
9383
9385
|
iconName: "check",
|
|
9384
9386
|
iconSize: "md",
|
|
9385
9387
|
className: `${a}__step-complete-icon`
|
|
9386
9388
|
}
|
|
9387
|
-
)) : /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${a}__step-indicator` }),
|
|
9388
|
-
let K = /* @__PURE__ */ e.createElement("div", { className: `${a}__step-content` },
|
|
9389
|
+
)) : /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${a}__step-indicator` }), ee = /* @__PURE__ */ e.createElement("div", { className: `${a}__step-label` }, u.label);
|
|
9390
|
+
let K = /* @__PURE__ */ e.createElement("div", { className: `${a}__step-content` }, ee, j);
|
|
9389
9391
|
if (M && u.callback) {
|
|
9390
|
-
const U = (
|
|
9391
|
-
u.callback(u),
|
|
9392
|
+
const U = (Z) => {
|
|
9393
|
+
u.callback(u), Z.preventDefault();
|
|
9392
9394
|
};
|
|
9393
9395
|
K = /* @__PURE__ */ e.createElement(
|
|
9394
9396
|
"button",
|
|
@@ -9397,8 +9399,8 @@ const en = (o) => {
|
|
|
9397
9399
|
onClick: U,
|
|
9398
9400
|
type: "button"
|
|
9399
9401
|
},
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
+
ee,
|
|
9403
|
+
j
|
|
9402
9404
|
);
|
|
9403
9405
|
}
|
|
9404
9406
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -9406,11 +9408,11 @@ const en = (o) => {
|
|
|
9406
9408
|
{
|
|
9407
9409
|
key: u.id,
|
|
9408
9410
|
id: u.id,
|
|
9409
|
-
"aria-label":
|
|
9411
|
+
"aria-label": W,
|
|
9410
9412
|
"aria-posinset": _,
|
|
9411
9413
|
"aria-setsize": y,
|
|
9412
9414
|
"aria-current": w ? "step" : null,
|
|
9413
|
-
className:
|
|
9415
|
+
className: P.join(" ").trim().replace(/\s+/g, " "),
|
|
9414
9416
|
style: { width: I }
|
|
9415
9417
|
},
|
|
9416
9418
|
!V && /* @__PURE__ */ e.createElement(
|
|
@@ -9424,7 +9426,7 @@ const en = (o) => {
|
|
|
9424
9426
|
}
|
|
9425
9427
|
),
|
|
9426
9428
|
K,
|
|
9427
|
-
!
|
|
9429
|
+
!O && /* @__PURE__ */ e.createElement(
|
|
9428
9430
|
"span",
|
|
9429
9431
|
{
|
|
9430
9432
|
className: `${a}__connector ${a}__connector--after`,
|
|
@@ -9448,7 +9450,7 @@ const en = (o) => {
|
|
|
9448
9450
|
className: `${c}__step`
|
|
9449
9451
|
},
|
|
9450
9452
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__progress-indicator` }, /* @__PURE__ */ e.createElement(
|
|
9451
|
-
|
|
9453
|
+
P2,
|
|
9452
9454
|
{
|
|
9453
9455
|
label: "Step progress",
|
|
9454
9456
|
size: "sm",
|
|
@@ -9484,7 +9486,7 @@ const en = (o) => {
|
|
|
9484
9486
|
}, l),
|
|
9485
9487
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__steps` }, h)
|
|
9486
9488
|
));
|
|
9487
|
-
},
|
|
9489
|
+
}, rn = (r) => {
|
|
9488
9490
|
var d = r, {
|
|
9489
9491
|
headers: t,
|
|
9490
9492
|
rowData: s,
|
|
@@ -9494,7 +9496,7 @@ const en = (o) => {
|
|
|
9494
9496
|
"rowData",
|
|
9495
9497
|
"className"
|
|
9496
9498
|
]);
|
|
9497
|
-
const [a] =
|
|
9499
|
+
const [a] = G(t), [c, o] = G(s), [i, f] = G({ order: "asc", key: "" }), p = (v) => {
|
|
9498
9500
|
o(c.sort((C, h) => C[v].localeCompare(h[v]))), f({ order: "desc", key: v });
|
|
9499
9501
|
}, m = (v) => {
|
|
9500
9502
|
o(c.sort((C, h) => h[v].localeCompare(C[v]))), f({ order: "asc", key: v });
|
|
@@ -9531,7 +9533,7 @@ const en = (o) => {
|
|
|
9531
9533
|
/* @__PURE__ */ e.createElement(F, { iconName: "caretDown", iconSize: "sm" })
|
|
9532
9534
|
)
|
|
9533
9535
|
)) : /* @__PURE__ */ e.createElement("span", null, v.title))))), /* @__PURE__ */ e.createElement("tbody", null, c.map((v, C) => E(v, C)))));
|
|
9534
|
-
},
|
|
9536
|
+
}, on = (i) => {
|
|
9535
9537
|
var f = i, {
|
|
9536
9538
|
appendIds: t = !1,
|
|
9537
9539
|
ariaLabel: s = "Table of contents",
|
|
@@ -9570,7 +9572,7 @@ const en = (o) => {
|
|
|
9570
9572
|
"|",
|
|
9571
9573
|
"~"
|
|
9572
9574
|
], b = `#${a} h2:not(.${r}), h3:not(.${r})`, E = () => {
|
|
9573
|
-
const [k, $] =
|
|
9575
|
+
const [k, $] = G([]);
|
|
9574
9576
|
return oe(() => {
|
|
9575
9577
|
const L = Array.from(
|
|
9576
9578
|
document.querySelectorAll(b)
|
|
@@ -9595,7 +9597,7 @@ const en = (o) => {
|
|
|
9595
9597
|
title: z
|
|
9596
9598
|
});
|
|
9597
9599
|
}), $;
|
|
9598
|
-
}, { nestedHeadings: v } = E(), [C, h] =
|
|
9600
|
+
}, { nestedHeadings: v } = E(), [C, h] = G();
|
|
9599
9601
|
((k) => {
|
|
9600
9602
|
const $ = de({});
|
|
9601
9603
|
oe(() => {
|
|
@@ -9606,12 +9608,12 @@ const en = (o) => {
|
|
|
9606
9608
|
const A = $.current[I];
|
|
9607
9609
|
A.isIntersecting && V.push(A);
|
|
9608
9610
|
});
|
|
9609
|
-
const
|
|
9611
|
+
const O = (I) => N.findIndex((A) => A.id === I);
|
|
9610
9612
|
if (V.length === 1)
|
|
9611
9613
|
k(V[0].target.id);
|
|
9612
9614
|
else if (V.length > 1) {
|
|
9613
9615
|
const I = V.sort(
|
|
9614
|
-
(A,
|
|
9616
|
+
(A, P) => O(A.target.id) - O(P.target.id)
|
|
9615
9617
|
);
|
|
9616
9618
|
k(I[0].target.id);
|
|
9617
9619
|
}
|
|
@@ -9676,7 +9678,7 @@ const en = (o) => {
|
|
|
9676
9678
|
),
|
|
9677
9679
|
/* @__PURE__ */ e.createElement(M, { headings: v, activeID: C })
|
|
9678
9680
|
);
|
|
9679
|
-
},
|
|
9681
|
+
}, dn = (c) => {
|
|
9680
9682
|
var o = c, {
|
|
9681
9683
|
ariaLabel: t,
|
|
9682
9684
|
defaultSelected: s = 0,
|
|
@@ -9693,7 +9695,7 @@ const en = (o) => {
|
|
|
9693
9695
|
"tabs",
|
|
9694
9696
|
"className"
|
|
9695
9697
|
]);
|
|
9696
|
-
const i = "pds-tabs", [f, p] =
|
|
9698
|
+
const i = "pds-tabs", [f, p] = G(l != null ? l : s);
|
|
9697
9699
|
oe(() => {
|
|
9698
9700
|
l !== void 0 && p(l);
|
|
9699
9701
|
}, [l]);
|
|
@@ -9768,7 +9770,7 @@ const en = (o) => {
|
|
|
9768
9770
|
onClick: v ? null : m,
|
|
9769
9771
|
type: "button"
|
|
9770
9772
|
},
|
|
9771
|
-
/* @__PURE__ */ e.createElement("div", { key: C, className: `${i}__tab-label` }, C ? /* @__PURE__ */ e.createElement(F, { iconName: C, iconSize: "md" }) : null, " ", u, r[_].tally ? /* @__PURE__ */ e.createElement(
|
|
9773
|
+
/* @__PURE__ */ e.createElement("div", { key: C, className: `${i}__tab-label` }, C ? /* @__PURE__ */ e.createElement(F, { iconName: C, iconSize: "md" }) : null, " ", u, r[_].tally ? /* @__PURE__ */ e.createElement(bt, { label: g.label, type: g.type }) : null)
|
|
9772
9774
|
))
|
|
9773
9775
|
), r.map(({ disabled: v, icon: C, panelContent: h, tabLabel: u, tally: g }, _) => /* @__PURE__ */ e.createElement(
|
|
9774
9776
|
"div",
|
|
@@ -9794,7 +9796,7 @@ const en = (o) => {
|
|
|
9794
9796
|
onClick: v ? null : m,
|
|
9795
9797
|
type: "button"
|
|
9796
9798
|
},
|
|
9797
|
-
/* @__PURE__ */ e.createElement("div", { key: C, className: `${i}__tab-label` }, C ? /* @__PURE__ */ e.createElement(F, { iconSize: "md", iconName: C }) : null, " ", u, r[_].tally ? /* @__PURE__ */ e.createElement(
|
|
9799
|
+
/* @__PURE__ */ e.createElement("div", { key: C, className: `${i}__tab-label` }, C ? /* @__PURE__ */ e.createElement(F, { iconSize: "md", iconName: C }) : null, " ", u, r[_].tally ? /* @__PURE__ */ e.createElement(bt, { label: g.label, type: g.type }) : null),
|
|
9798
9800
|
_ == f ? /* @__PURE__ */ e.createElement(
|
|
9799
9801
|
F,
|
|
9800
9802
|
{
|
|
@@ -9821,7 +9823,7 @@ const en = (o) => {
|
|
|
9821
9823
|
)
|
|
9822
9824
|
))));
|
|
9823
9825
|
};
|
|
9824
|
-
let
|
|
9826
|
+
let m1 = [
|
|
9825
9827
|
"color-1",
|
|
9826
9828
|
"color-2",
|
|
9827
9829
|
"color-3",
|
|
@@ -9843,10 +9845,10 @@ let d1 = [
|
|
|
9843
9845
|
"color-19",
|
|
9844
9846
|
"color-20"
|
|
9845
9847
|
];
|
|
9846
|
-
const
|
|
9847
|
-
const s = parseInt(
|
|
9848
|
-
return
|
|
9849
|
-
},
|
|
9848
|
+
const W2 = (t) => {
|
|
9849
|
+
const s = parseInt(h1(t), 16);
|
|
9850
|
+
return m1[s % m1.length];
|
|
9851
|
+
}, G2 = (t, s) => t.length > s ? t.slice(0, s) + " ..." : t, mn = (o) => {
|
|
9850
9852
|
var i = o, {
|
|
9851
9853
|
linkContent: t,
|
|
9852
9854
|
isRemovable: s,
|
|
@@ -9864,7 +9866,7 @@ const B2 = (t) => {
|
|
|
9864
9866
|
"tagLabel",
|
|
9865
9867
|
"className"
|
|
9866
9868
|
]);
|
|
9867
|
-
const [f, p] =
|
|
9869
|
+
const [f, p] = G(!0), m = "pds-tag", b = r ? `${m}--${r}` : `${m}--${W2(d)}`, E = f ? null : "pds-tag--hide", y = () => {
|
|
9868
9870
|
p((u) => !u);
|
|
9869
9871
|
};
|
|
9870
9872
|
let v, C, h;
|
|
@@ -9875,7 +9877,7 @@ const B2 = (t) => {
|
|
|
9875
9877
|
to: C === "to" ? h : null,
|
|
9876
9878
|
className: [m, b, E, a].join(" ").trim().replace(/\s+/g, " ")
|
|
9877
9879
|
}, c),
|
|
9878
|
-
/* @__PURE__ */ e.createElement("span", { className: `${m}__label`, title: d },
|
|
9880
|
+
/* @__PURE__ */ e.createElement("span", { className: `${m}__label`, title: d }, G2(d, 20)),
|
|
9879
9881
|
s ? /* @__PURE__ */ e.createElement(
|
|
9880
9882
|
"button",
|
|
9881
9883
|
{
|
|
@@ -9896,7 +9898,7 @@ const B2 = (t) => {
|
|
|
9896
9898
|
)
|
|
9897
9899
|
) : null
|
|
9898
9900
|
);
|
|
9899
|
-
},
|
|
9901
|
+
}, un = (l) => {
|
|
9900
9902
|
var r = l, {
|
|
9901
9903
|
listItems: t,
|
|
9902
9904
|
className: s
|
|
@@ -9913,7 +9915,7 @@ const B2 = (t) => {
|
|
|
9913
9915
|
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, f && /* @__PURE__ */ e.createElement("div", { className: `${a}__image ${a}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: f, alt: p })), m && /* @__PURE__ */ e.createElement("div", { className: `${a}__name` }, m), b && /* @__PURE__ */ e.createElement("div", { className: `${a}__title` }, b), E && /* @__PURE__ */ e.createElement("div", { className: `${a}__org` }, E)), o = (f) => $e(f.linkContent) ? Ve(f.linkContent, {
|
|
9914
9916
|
children: /* @__PURE__ */ e.createElement(c, H({}, f)),
|
|
9915
9917
|
className: `${a}__item`
|
|
9916
|
-
}) : /* @__PURE__ */ e.createElement("span", { className: `${a}__item` }, /* @__PURE__ */ e.createElement(c, H({}, f))), i = () => t.map((f, p) => /* @__PURE__ */ e.createElement(
|
|
9918
|
+
}) : /* @__PURE__ */ e.createElement("span", { className: `${a}__item` }, /* @__PURE__ */ e.createElement(c, H({}, f))), i = () => t.map((f, p) => /* @__PURE__ */ e.createElement(B1, { key: `tile-${p}` }, o(f), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
|
|
9917
9919
|
return /* @__PURE__ */ e.createElement(
|
|
9918
9920
|
"div",
|
|
9919
9921
|
H({
|
|
@@ -9926,7 +9928,7 @@ const B2 = (t) => {
|
|
|
9926
9928
|
}, n),
|
|
9927
9929
|
i()
|
|
9928
9930
|
);
|
|
9929
|
-
},
|
|
9931
|
+
}, U2 = (o) => {
|
|
9930
9932
|
var i = o, {
|
|
9931
9933
|
displayType: t = "border",
|
|
9932
9934
|
headingLevel: s = "span",
|
|
@@ -9962,7 +9964,7 @@ const B2 = (t) => {
|
|
|
9962
9964
|
),
|
|
9963
9965
|
d && /* @__PURE__ */ e.createElement("div", { className: `${f}__summary` }, /* @__PURE__ */ e.createElement("p", null, d)),
|
|
9964
9966
|
r && (t == "border" || t == "clean") && /* @__PURE__ */ e.createElement(
|
|
9965
|
-
|
|
9967
|
+
_2,
|
|
9966
9968
|
{
|
|
9967
9969
|
linkContent: r,
|
|
9968
9970
|
size: "sm",
|
|
@@ -9970,7 +9972,7 @@ const B2 = (t) => {
|
|
|
9970
9972
|
}
|
|
9971
9973
|
)
|
|
9972
9974
|
), /* @__PURE__ */ e.createElement("span", { className: `${f}__separator` }));
|
|
9973
|
-
},
|
|
9975
|
+
}, pn = (d) => {
|
|
9974
9976
|
var a = d, {
|
|
9975
9977
|
displayType: t = "border",
|
|
9976
9978
|
headingLevel: s = "h2",
|
|
@@ -9989,7 +9991,7 @@ const B2 = (t) => {
|
|
|
9989
9991
|
className: x([c, o, l != null ? l : ""])
|
|
9990
9992
|
}, r),
|
|
9991
9993
|
n.map((i, f) => /* @__PURE__ */ e.createElement(
|
|
9992
|
-
|
|
9994
|
+
U2,
|
|
9993
9995
|
{
|
|
9994
9996
|
key: f,
|
|
9995
9997
|
displayType: t,
|
|
@@ -10002,7 +10004,7 @@ const B2 = (t) => {
|
|
|
10002
10004
|
}
|
|
10003
10005
|
))
|
|
10004
10006
|
);
|
|
10005
|
-
},
|
|
10007
|
+
}, hn = (l) => {
|
|
10006
10008
|
var r = l, {
|
|
10007
10009
|
children: t,
|
|
10008
10010
|
className: s
|
|
@@ -10019,7 +10021,7 @@ const B2 = (t) => {
|
|
|
10019
10021
|
(i || f) && /* @__PURE__ */ e.createElement("div", { className: `${a}__header` }, (i || f) && /* @__PURE__ */ e.createElement("div", { className: `${a}__header-top` }, i && /* @__PURE__ */ e.createElement("div", { className: `${a}__header-left` }, i), f && /* @__PURE__ */ e.createElement("div", { className: `${a}__header-right` }, f))),
|
|
10020
10022
|
p && p
|
|
10021
10023
|
);
|
|
10022
|
-
},
|
|
10024
|
+
}, fn = (y) => {
|
|
10023
10025
|
var v = y, {
|
|
10024
10026
|
alignContent: t = "flex-start",
|
|
10025
10027
|
alignItems: s = "stretch",
|
|
@@ -10051,7 +10053,7 @@ const B2 = (t) => {
|
|
|
10051
10053
|
"children",
|
|
10052
10054
|
"className"
|
|
10053
10055
|
]);
|
|
10054
|
-
let h =
|
|
10056
|
+
let h = w1() <= 640;
|
|
10055
10057
|
const u = we(ze);
|
|
10056
10058
|
u && (h = u.isMobile);
|
|
10057
10059
|
const g = "pds-flex", _ = `${g}-container`, w = h ? `${_}--mobile` : null;
|
|
@@ -10083,10 +10085,10 @@ const B2 = (t) => {
|
|
|
10083
10085
|
}, E),
|
|
10084
10086
|
m
|
|
10085
10087
|
);
|
|
10086
|
-
},
|
|
10088
|
+
}, gn = ({
|
|
10087
10089
|
children: t,
|
|
10088
10090
|
mobileMenuMaxWidth: s = 640
|
|
10089
|
-
}) => /* @__PURE__ */ e.createElement(
|
|
10091
|
+
}) => /* @__PURE__ */ e.createElement(l2, { mobileMenuMaxWidth: s }, t), _n = (c) => {
|
|
10090
10092
|
var o = c, {
|
|
10091
10093
|
children: t,
|
|
10092
10094
|
gridGap: s = "standard",
|
|
@@ -10136,7 +10138,7 @@ const B2 = (t) => {
|
|
|
10136
10138
|
}, a),
|
|
10137
10139
|
m ? l === "before" ? /* @__PURE__ */ e.createElement(e.Fragment, null, h, C) : /* @__PURE__ */ e.createElement(e.Fragment, null, C, h) : n === "left" ? /* @__PURE__ */ e.createElement(e.Fragment, null, h, C) : /* @__PURE__ */ e.createElement(e.Fragment, null, C, h)
|
|
10138
10140
|
);
|
|
10139
|
-
},
|
|
10141
|
+
}, En = (l) => {
|
|
10140
10142
|
var r = l, {
|
|
10141
10143
|
children: t,
|
|
10142
10144
|
className: s
|
|
@@ -10144,7 +10146,7 @@ const B2 = (t) => {
|
|
|
10144
10146
|
"children",
|
|
10145
10147
|
"className"
|
|
10146
10148
|
]);
|
|
10147
|
-
const d = Ue(t), a = d.stepper, c = d.form, o = de(), [i] =
|
|
10149
|
+
const d = Ue(t), a = d.stepper, c = d.form, o = de(), [i] = Mt(o), f = i.width;
|
|
10148
10150
|
document.documentElement.style.setProperty(
|
|
10149
10151
|
"--pds-stepper-layout-max-width",
|
|
10150
10152
|
f + "px"
|
|
@@ -10158,7 +10160,7 @@ const B2 = (t) => {
|
|
|
10158
10160
|
},
|
|
10159
10161
|
a
|
|
10160
10162
|
), c && /* @__PURE__ */ e.createElement("div", { className: `${p}__form-container` }, c));
|
|
10161
|
-
},
|
|
10163
|
+
}, vn = (d) => {
|
|
10162
10164
|
var a = d, {
|
|
10163
10165
|
children: t,
|
|
10164
10166
|
gridGap: s = "standard",
|
|
@@ -10194,7 +10196,7 @@ const B2 = (t) => {
|
|
|
10194
10196
|
m
|
|
10195
10197
|
))
|
|
10196
10198
|
);
|
|
10197
|
-
},
|
|
10199
|
+
}, bn = (a) => {
|
|
10198
10200
|
var c = a, {
|
|
10199
10201
|
children: t,
|
|
10200
10202
|
gridGap: s = "standard",
|
|
@@ -10236,116 +10238,116 @@ const B2 = (t) => {
|
|
|
10236
10238
|
);
|
|
10237
10239
|
};
|
|
10238
10240
|
export {
|
|
10239
|
-
|
|
10240
|
-
|
|
10241
|
-
|
|
10242
|
-
|
|
10243
|
-
|
|
10241
|
+
Gt as Avatar,
|
|
10242
|
+
un as AvatarTileList,
|
|
10243
|
+
Bs as Banner,
|
|
10244
|
+
as as BranchDiff,
|
|
10245
|
+
Ns as Breadcrumb,
|
|
10244
10246
|
pt as Button,
|
|
10245
|
-
|
|
10246
|
-
|
|
10247
|
-
|
|
10248
|
-
|
|
10249
|
-
|
|
10250
|
-
|
|
10251
|
-
|
|
10252
|
-
|
|
10253
|
-
|
|
10254
|
-
|
|
10255
|
-
|
|
10256
|
-
|
|
10257
|
-
|
|
10258
|
-
|
|
10247
|
+
Ct as ButtonLink,
|
|
10248
|
+
_2 as CTALink,
|
|
10249
|
+
fs as CTASlice,
|
|
10250
|
+
os as Callout,
|
|
10251
|
+
Yt as Card,
|
|
10252
|
+
y1 as CardHeading,
|
|
10253
|
+
is as CardSelectGroup,
|
|
10254
|
+
v2 as Checkbox,
|
|
10255
|
+
Cs as CheckboxFieldset,
|
|
10256
|
+
$s as CheckboxGroup,
|
|
10257
|
+
a2 as ClipboardButton,
|
|
10258
|
+
hs as CodeBlock,
|
|
10259
|
+
b2 as Combobox,
|
|
10260
|
+
r1 as ComparisonList,
|
|
10259
10261
|
dt as Container,
|
|
10260
|
-
|
|
10261
|
-
|
|
10262
|
-
|
|
10263
|
-
|
|
10264
|
-
|
|
10265
|
-
|
|
10266
|
-
|
|
10267
|
-
|
|
10268
|
-
|
|
10269
|
-
|
|
10270
|
-
|
|
10271
|
-
|
|
10272
|
-
|
|
10273
|
-
|
|
10274
|
-
|
|
10275
|
-
|
|
10262
|
+
kt as DashboardContext,
|
|
10263
|
+
xs as DashboardGlobal,
|
|
10264
|
+
hn as DashboardInner,
|
|
10265
|
+
Vs as DashboardNav,
|
|
10266
|
+
Is as DashboardSearch,
|
|
10267
|
+
gs as DashboardStat,
|
|
10268
|
+
Jt as DropdownMenu,
|
|
10269
|
+
js as ExpansionPanel,
|
|
10270
|
+
Ks as ExpansionPanelGroup,
|
|
10271
|
+
_s as FileDiff,
|
|
10272
|
+
ws as FileUpload,
|
|
10273
|
+
fn as FlexContainer,
|
|
10274
|
+
Es as FlowSteps,
|
|
10275
|
+
E2 as FooterHeading,
|
|
10276
|
+
vs as FooterLinks,
|
|
10277
|
+
gn as GlobalWrapper,
|
|
10276
10278
|
F as Icon,
|
|
10277
|
-
|
|
10279
|
+
$t as IconButton,
|
|
10278
10280
|
ut as IndicatorBadge,
|
|
10279
|
-
|
|
10280
|
-
|
|
10281
|
-
|
|
10282
|
-
|
|
10283
|
-
|
|
10284
|
-
|
|
10285
|
-
|
|
10286
|
-
|
|
10287
|
-
|
|
10288
|
-
|
|
10289
|
-
|
|
10290
|
-
|
|
10291
|
-
|
|
10292
|
-
|
|
10293
|
-
|
|
10294
|
-
|
|
10295
|
-
|
|
10296
|
-
|
|
10297
|
-
|
|
10298
|
-
|
|
10299
|
-
|
|
10300
|
-
|
|
10301
|
-
|
|
10281
|
+
Ws as InlineMessage,
|
|
10282
|
+
ys as InputGroup,
|
|
10283
|
+
zs as LinkNewWindow,
|
|
10284
|
+
ds as LinksCard,
|
|
10285
|
+
r2 as MenuButton,
|
|
10286
|
+
ks as Modal,
|
|
10287
|
+
Ts as NavMenu,
|
|
10288
|
+
As as Navbar,
|
|
10289
|
+
ms as NewSiteCard,
|
|
10290
|
+
qs as Pagination,
|
|
10291
|
+
Xs as Panel,
|
|
10292
|
+
Ys as PanelList,
|
|
10293
|
+
Qs as PanelRow,
|
|
10294
|
+
z1 as PantheonLogo,
|
|
10295
|
+
o2 as PlatformIcon,
|
|
10296
|
+
Js as Popover,
|
|
10297
|
+
us as PricingCard,
|
|
10298
|
+
en as ProgressBar,
|
|
10299
|
+
P2 as ProgressRing,
|
|
10300
|
+
tn as PullQuote,
|
|
10301
|
+
Ls as RadioGroup,
|
|
10302
|
+
sn as RefreshChecker,
|
|
10303
|
+
B2 as RefreshCheckerState,
|
|
10302
10304
|
ze as ResponsiveContext,
|
|
10303
|
-
|
|
10304
|
-
|
|
10305
|
-
|
|
10306
|
-
|
|
10307
|
-
|
|
10308
|
-
|
|
10309
|
-
|
|
10310
|
-
|
|
10311
|
-
|
|
10312
|
-
|
|
10313
|
-
|
|
10314
|
-
|
|
10315
|
-
|
|
10316
|
-
|
|
10317
|
-
|
|
10318
|
-
|
|
10319
|
-
|
|
10320
|
-
|
|
10321
|
-
|
|
10322
|
-
|
|
10323
|
-
|
|
10324
|
-
|
|
10325
|
-
|
|
10326
|
-
|
|
10327
|
-
|
|
10328
|
-
|
|
10329
|
-
|
|
10330
|
-
|
|
10331
|
-
|
|
10332
|
-
|
|
10333
|
-
|
|
10334
|
-
|
|
10335
|
-
|
|
10336
|
-
|
|
10337
|
-
|
|
10338
|
-
|
|
10305
|
+
Gs as SectionMessage,
|
|
10306
|
+
ls as SegmentedButton,
|
|
10307
|
+
m2 as Select,
|
|
10308
|
+
d2 as SelectOptionGroup,
|
|
10309
|
+
Ds as SideNav,
|
|
10310
|
+
Os as SideNavCompact,
|
|
10311
|
+
_n as SidebarLayout,
|
|
10312
|
+
ps as SiteCard,
|
|
10313
|
+
nn as SiteDashboardHeading,
|
|
10314
|
+
bs as SiteFooter,
|
|
10315
|
+
N2 as SitePlanLevelLabel,
|
|
10316
|
+
k1 as SiteTypeIcon,
|
|
10317
|
+
Ss as SiteTypeLabel,
|
|
10318
|
+
w2 as Skiplink,
|
|
10319
|
+
an as SocialLinks,
|
|
10320
|
+
zt as Spinner,
|
|
10321
|
+
cs as SplitButton,
|
|
10322
|
+
qt as StatusBadge,
|
|
10323
|
+
ln as StatusIndicator,
|
|
10324
|
+
cn as Stepper,
|
|
10325
|
+
En as StepperLayout,
|
|
10326
|
+
Hs as Switch,
|
|
10327
|
+
Rs as TabMenu,
|
|
10328
|
+
rn as Table,
|
|
10329
|
+
on as TableOfContents,
|
|
10330
|
+
dn as Tabs,
|
|
10331
|
+
mn as Tag,
|
|
10332
|
+
bt as Tally,
|
|
10333
|
+
H1 as TextInput,
|
|
10334
|
+
Ms as Textarea,
|
|
10335
|
+
vn as ThreeItemLayout,
|
|
10336
|
+
U2 as Tile,
|
|
10337
|
+
pn as TileGrid,
|
|
10338
|
+
D2 as Toast,
|
|
10339
|
+
O2 as ToastType,
|
|
10340
|
+
Us as Toaster,
|
|
10339
10341
|
xe as Tooltip,
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10342
|
+
bn as TwoItemLayout,
|
|
10343
|
+
Fs as UserMenu,
|
|
10344
|
+
rs as UtilityButton,
|
|
10345
|
+
Ps as WorkspaceSelector,
|
|
10346
|
+
c1 as badgeTypes,
|
|
10347
|
+
ns as iconList,
|
|
10348
|
+
m1 as tagColors,
|
|
10349
|
+
n2 as useClipboard,
|
|
10350
|
+
Zs as useToast,
|
|
10351
|
+
w1 as useWindowWidth
|
|
10350
10352
|
};
|
|
10351
10353
|
//# sourceMappingURL=index.js.map
|