@pantheon-systems/pds-toolkit-react 1.0.0-dev.133 → 1.0.0-dev.134
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-index.css +1 -1
- package/_dist/css/component-css/pds-tag.css +1 -1
- package/_dist/css/design-tokens/pds-design-tokens-dark-mode.css +20 -20
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +23 -20
- 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 +378 -387
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import './index.css';var
|
|
2
|
-
var
|
|
1
|
+
import './index.css';var Ls = Object.defineProperty, zs = Object.defineProperties;
|
|
2
|
+
var Ms = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var rt = Object.getOwnPropertySymbols;
|
|
4
4
|
var Rt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var Ot = (s, n, a) => n in s ?
|
|
5
|
+
var Ot = (s, n, a) => n in s ? Ls(s, n, { enumerable: !0, configurable: !0, writable: !0, value: a }) : s[n] = a, N = (s, n) => {
|
|
6
6
|
for (var a in n || (n = {}))
|
|
7
7
|
Rt.call(n, a) && Ot(s, a, n[a]);
|
|
8
8
|
if (rt)
|
|
9
9
|
for (var a of rt(n))
|
|
10
10
|
qt.call(n, a) && Ot(s, a, n[a]);
|
|
11
11
|
return s;
|
|
12
|
-
},
|
|
12
|
+
}, ye = (s, n) => zs(s, Ms(n));
|
|
13
13
|
var M = (s, n) => {
|
|
14
14
|
var a = {};
|
|
15
15
|
for (var r in s)
|
|
@@ -19,16 +19,16 @@ var M = (s, n) => {
|
|
|
19
19
|
n.indexOf(r) < 0 && qt.call(s, r) && (a[r] = s[r]);
|
|
20
20
|
return a;
|
|
21
21
|
};
|
|
22
|
-
import e, { useRef as Q, useState as x, createContext as
|
|
23
|
-
import t, { arrayOf as
|
|
24
|
-
import
|
|
25
|
-
import { NavLink as
|
|
26
|
-
import { useFloating as xe, offset as
|
|
22
|
+
import e, { useRef as Q, useState as x, createContext as Ut, useContext as Xe, forwardRef as ot, cloneElement as xs, useEffect as se, useLayoutEffect as Vs, useCallback as Gt } from "react";
|
|
23
|
+
import t, { arrayOf as Is } from "prop-types";
|
|
24
|
+
import Kt from "hash-sum";
|
|
25
|
+
import { NavLink as Yt, MemoryRouter as Ss } from "react-router-dom";
|
|
26
|
+
import { useFloating as xe, offset as Xt, flip as Qt, shift as Jt, autoUpdate as Re, useHover as kt, useFocus as Ts, useDismiss as Ve, useRole as Ie, useInteractions as Se, useTransitionStyles as qe, useId as Os, useListNavigation as tt, useClick as Qe, FloatingOverlay as Rs, FloatingFocusManager as es, safePolygon as qs, arrow as Ds, FloatingArrow as As } from "@floating-ui/react";
|
|
27
27
|
import { useMeasure as xt } from "@reactuses/core";
|
|
28
|
-
import { useFloating as
|
|
29
|
-
import
|
|
30
|
-
import { ToastContainer as
|
|
31
|
-
const
|
|
28
|
+
import { useFloating as Ps, flip as js } from "@floating-ui/react-dom";
|
|
29
|
+
import Ws from "focus-trap-react";
|
|
30
|
+
import { ToastContainer as Bs, Slide as Fs, cssTransition as Zs, toast as Dt } from "react-toastify";
|
|
31
|
+
const Us = [
|
|
32
32
|
"angleDown",
|
|
33
33
|
"angleLeft",
|
|
34
34
|
"angleRight",
|
|
@@ -169,13 +169,13 @@ const Ks = [
|
|
|
169
169
|
"xmarkLarge",
|
|
170
170
|
"xTwitter",
|
|
171
171
|
"youtube"
|
|
172
|
-
], Oe = t.oneOf(
|
|
172
|
+
], Oe = t.oneOf(Us), dt = t.oneOf([
|
|
173
173
|
"narrow",
|
|
174
174
|
"standard",
|
|
175
175
|
"wide",
|
|
176
176
|
"x-wide",
|
|
177
177
|
"full"
|
|
178
|
-
]),
|
|
178
|
+
]), Gs = t.exact({
|
|
179
179
|
/**
|
|
180
180
|
* Label for a menu item
|
|
181
181
|
*/
|
|
@@ -184,7 +184,7 @@ const Ks = [
|
|
|
184
184
|
* Is the item a heading?
|
|
185
185
|
*/
|
|
186
186
|
isHeading: t.bool.isRequired
|
|
187
|
-
}),
|
|
187
|
+
}), ts = t.exact({
|
|
188
188
|
/**
|
|
189
189
|
* Description of the item
|
|
190
190
|
*/
|
|
@@ -209,7 +209,7 @@ const Ks = [
|
|
|
209
209
|
* Optional `data-testid` value for this item.
|
|
210
210
|
*/
|
|
211
211
|
testId: t.string
|
|
212
|
-
}),
|
|
212
|
+
}), ss = t.exact({
|
|
213
213
|
/**
|
|
214
214
|
* (optional) Callback function to execute when menu item is activated
|
|
215
215
|
*/
|
|
@@ -238,7 +238,7 @@ const Ks = [
|
|
|
238
238
|
* Optional `data-testid` value for this item.
|
|
239
239
|
*/
|
|
240
240
|
testId: t.string
|
|
241
|
-
}),
|
|
241
|
+
}), Ks = t.exact({
|
|
242
242
|
/**
|
|
243
243
|
* Is the item a node?
|
|
244
244
|
*/
|
|
@@ -247,7 +247,7 @@ const Ks = [
|
|
|
247
247
|
* The content of the node.
|
|
248
248
|
*/
|
|
249
249
|
nodeContent: t.node
|
|
250
|
-
}),
|
|
250
|
+
}), Ys = t.exact({
|
|
251
251
|
/**
|
|
252
252
|
* Is the item a separator?
|
|
253
253
|
*/
|
|
@@ -847,7 +847,7 @@ const Ks = [
|
|
|
847
847
|
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",
|
|
848
848
|
width: "576"
|
|
849
849
|
}
|
|
850
|
-
}, At = Object.keys(Ht),
|
|
850
|
+
}, At = Object.keys(Ht), Xs = (d) => {
|
|
851
851
|
var h = d, {
|
|
852
852
|
ariaLabel: s,
|
|
853
853
|
buttonType: n = "button",
|
|
@@ -927,7 +927,7 @@ const Ks = [
|
|
|
927
927
|
)
|
|
928
928
|
);
|
|
929
929
|
};
|
|
930
|
-
|
|
930
|
+
Xs.propTypes = {
|
|
931
931
|
/**
|
|
932
932
|
* Aria-label attribute.
|
|
933
933
|
*/
|
|
@@ -975,8 +975,8 @@ let Pt = [
|
|
|
975
975
|
"g11",
|
|
976
976
|
"g12"
|
|
977
977
|
];
|
|
978
|
-
const
|
|
979
|
-
const n = parseInt(
|
|
978
|
+
const Qs = (s) => {
|
|
979
|
+
const n = parseInt(Kt(s), 16);
|
|
980
980
|
return Pt[n % Pt.length];
|
|
981
981
|
}, Ge = (l) => {
|
|
982
982
|
var o = l, {
|
|
@@ -993,7 +993,7 @@ const e1 = (s) => {
|
|
|
993
993
|
"className"
|
|
994
994
|
]);
|
|
995
995
|
const m = "pds-avatar", d = `${m}--${s}`, h = n ? `${m}--image` : null, b = {
|
|
996
|
-
backgroundImage: r ? `var(--pds-color-gradient-avatar-${
|
|
996
|
+
backgroundImage: r ? `var(--pds-color-gradient-avatar-${Qs(r)})` : null,
|
|
997
997
|
borderRadius: "100%",
|
|
998
998
|
height: "100%",
|
|
999
999
|
width: "100%"
|
|
@@ -1037,7 +1037,7 @@ Ge.propTypes = {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
className: t.string
|
|
1039
1039
|
};
|
|
1040
|
-
const
|
|
1040
|
+
const Js = (u) => {
|
|
1041
1041
|
var c = u, {
|
|
1042
1042
|
darkBackground: s,
|
|
1043
1043
|
listItems: n,
|
|
@@ -1084,7 +1084,7 @@ const t1 = (u) => {
|
|
|
1084
1084
|
})
|
|
1085
1085
|
);
|
|
1086
1086
|
};
|
|
1087
|
-
|
|
1087
|
+
Js.propTypes = {
|
|
1088
1088
|
/**
|
|
1089
1089
|
* Boolean to set for dark background
|
|
1090
1090
|
*/
|
|
@@ -1190,7 +1190,7 @@ const gt = {
|
|
|
1190
1190
|
info: "circleInfo",
|
|
1191
1191
|
warning: "triangleExclamation",
|
|
1192
1192
|
critical: "diamondExclamation"
|
|
1193
|
-
},
|
|
1193
|
+
}, e1 = (o) => {
|
|
1194
1194
|
var m = o, {
|
|
1195
1195
|
banners: s,
|
|
1196
1196
|
dismissLabel: n = "Dismiss",
|
|
@@ -1327,7 +1327,7 @@ const gt = {
|
|
|
1327
1327
|
)) : $[0]
|
|
1328
1328
|
);
|
|
1329
1329
|
};
|
|
1330
|
-
|
|
1330
|
+
e1.propTypes = {
|
|
1331
1331
|
/**
|
|
1332
1332
|
* Array of banners.
|
|
1333
1333
|
*/
|
|
@@ -1365,7 +1365,7 @@ s1.propTypes = {
|
|
|
1365
1365
|
*/
|
|
1366
1366
|
className: t.string
|
|
1367
1367
|
};
|
|
1368
|
-
const
|
|
1368
|
+
const t1 = {
|
|
1369
1369
|
crumbs: [],
|
|
1370
1370
|
deferredCrumbIds: [],
|
|
1371
1371
|
register: () => {
|
|
@@ -1376,7 +1376,7 @@ const n1 = {
|
|
|
1376
1376
|
},
|
|
1377
1377
|
resolveCrumb: () => {
|
|
1378
1378
|
}
|
|
1379
|
-
},
|
|
1379
|
+
}, ns = Ut(t1), jt = 8, Lt = (o) => {
|
|
1380
1380
|
var m = o, {
|
|
1381
1381
|
content: s,
|
|
1382
1382
|
customTrigger: n = !1,
|
|
@@ -1400,12 +1400,12 @@ const n1 = {
|
|
|
1400
1400
|
open: d,
|
|
1401
1401
|
onOpenChange: h,
|
|
1402
1402
|
middleware: [
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1403
|
+
Xt(jt + g),
|
|
1404
|
+
Qt({ padding: 5 }),
|
|
1405
|
+
Jt({ padding: 5 })
|
|
1406
1406
|
],
|
|
1407
1407
|
whileElementsMounted: Re
|
|
1408
|
-
}), $ = kt(_, { move: !1 }), C =
|
|
1408
|
+
}), $ = kt(_, { move: !1 }), C = Ts(_), v = Ve(_), w = Ie(_, { role: "tooltip" }), { getFloatingProps: V } = Se([$, C, v, w]), { isMounted: k } = qe(_, {
|
|
1409
1409
|
initial: {
|
|
1410
1410
|
transform: "scale(0)"
|
|
1411
1411
|
}
|
|
@@ -1466,16 +1466,16 @@ Lt.propTypes = {
|
|
|
1466
1466
|
};
|
|
1467
1467
|
const Pe = ({ crumb: s, lastCrumb: n, classes: a }) => {
|
|
1468
1468
|
const r = s.label.length > 16 ? `${s.label.slice(0, 16)}...` : null;
|
|
1469
|
-
return /* @__PURE__ */ e.createElement("li", { className: `${a || ""}`, key: `key-${s.label}` }, n ? /* @__PURE__ */ e.createElement("a", { className: "pds-breadcrumbs__disabled" }, s.label.length > 15 ? /* @__PURE__ */ e.createElement(Lt, { content: s.label, triggerText: r }) : s.label) : /* @__PURE__ */ e.createElement(
|
|
1469
|
+
return /* @__PURE__ */ e.createElement("li", { className: `${a || ""}`, key: `key-${s.label}` }, n ? /* @__PURE__ */ e.createElement("a", { className: "pds-breadcrumbs__disabled" }, s.label.length > 15 ? /* @__PURE__ */ e.createElement(Lt, { content: s.label, triggerText: r }) : s.label) : /* @__PURE__ */ e.createElement(Yt, { end: !0, to: s.uri }, s.label.length > 15 ? /* @__PURE__ */ e.createElement(Lt, { content: s.label, triggerText: r }) : s.label));
|
|
1470
1470
|
};
|
|
1471
1471
|
Pe.propTypes = {
|
|
1472
1472
|
crumb: t.object,
|
|
1473
1473
|
lastCrumb: t.bool,
|
|
1474
1474
|
classes: t.string
|
|
1475
1475
|
};
|
|
1476
|
-
const
|
|
1476
|
+
const s1 = (s) => /* @__PURE__ */ e.createElement(Yt, { className: "pds-breadcrumbs__mobileCrumbs", end: !0, to: s.uri }, /* @__PURE__ */ e.createElement(j, { iconName: "angleLeft", iconSize: "sm" }), s.label), n1 = (s, n) => s.uri.split("/").length - n.uri.split("/").length, as = (a) => {
|
|
1477
1477
|
var r = a, { ariaLabel: s } = r, n = M(r, ["ariaLabel"]);
|
|
1478
|
-
const [u, c] = x(!0), { crumbs: l, deferredCrumbIds: o } = Xe(
|
|
1478
|
+
const [u, c] = x(!0), { crumbs: l, deferredCrumbIds: o } = Xe(ns), m = [...l].sort(n1), d = () => {
|
|
1479
1479
|
c(!1);
|
|
1480
1480
|
}, h = m.map(
|
|
1481
1481
|
(E, p) => p === m.length - 1 ? /* @__PURE__ */ e.createElement(Pe, { crumb: E, lastCrumb: !0, key: p }) : /* @__PURE__ */ e.createElement(Pe, { crumb: E, key: p })
|
|
@@ -1503,27 +1503,27 @@ const a1 = (s) => /* @__PURE__ */ e.createElement(Qt, { className: "pds-breadcru
|
|
|
1503
1503
|
key: `breadcrumb-${p}`
|
|
1504
1504
|
}
|
|
1505
1505
|
) : /* @__PURE__ */ e.createElement(Pe, { crumb: E, key: `breadcrumb-${p}` })
|
|
1506
|
-
), b = m.length >= 6 ? i : h, f = m[m.length - 2], g =
|
|
1506
|
+
), b = m.length >= 6 ? i : h, f = m[m.length - 2], g = s1(f);
|
|
1507
1507
|
return /* @__PURE__ */ e.createElement("nav", { className: "pds-breadcrumbs", "aria-label": s, "aria-live": "polite" }, /* @__PURE__ */ e.createElement("ul", N({ className: "pds-breadcrumbs__item" }, n), b), g);
|
|
1508
1508
|
};
|
|
1509
|
-
|
|
1509
|
+
as.propTypes = {
|
|
1510
1510
|
ariaLabel: t.string.isRequired,
|
|
1511
1511
|
crumbs: t.array
|
|
1512
1512
|
};
|
|
1513
|
-
const
|
|
1513
|
+
const a1 = (r) => {
|
|
1514
1514
|
var u = r, { ariaLabel: s, crumbs: n } = u, a = M(u, ["ariaLabel", "crumbs"]);
|
|
1515
|
-
return /* @__PURE__ */ e.createElement(
|
|
1516
|
-
|
|
1515
|
+
return /* @__PURE__ */ e.createElement(Ss, null, /* @__PURE__ */ e.createElement(
|
|
1516
|
+
ns.Provider,
|
|
1517
1517
|
{
|
|
1518
1518
|
value: {
|
|
1519
1519
|
crumbs: n,
|
|
1520
1520
|
defferedCrumbIds: []
|
|
1521
1521
|
}
|
|
1522
1522
|
},
|
|
1523
|
-
/* @__PURE__ */ e.createElement(
|
|
1523
|
+
/* @__PURE__ */ e.createElement(as, N({ crumbs: n, ariaLabel: s }, a))
|
|
1524
1524
|
));
|
|
1525
1525
|
};
|
|
1526
|
-
|
|
1526
|
+
a1.propTypes = {
|
|
1527
1527
|
ariaLabel: t.string.isRequired,
|
|
1528
1528
|
crumbs: t.arrayOf([
|
|
1529
1529
|
{ label: t.string },
|
|
@@ -1650,7 +1650,7 @@ const Ke = ot(
|
|
|
1650
1650
|
let w = [o];
|
|
1651
1651
|
return r == "icon-start" && u && w.unshift(v), r == "icon-end" && u && w.push(v), l && (w = [v], s = o), /* @__PURE__ */ e.createElement(
|
|
1652
1652
|
"button",
|
|
1653
|
-
|
|
1653
|
+
ye(N({}, b), {
|
|
1654
1654
|
type: n,
|
|
1655
1655
|
className: [p, _, $, i].join(" ").trim().replace(/\s+/g, " "),
|
|
1656
1656
|
disabled: a || c,
|
|
@@ -1722,10 +1722,10 @@ Ke.propTypes = {
|
|
|
1722
1722
|
*/
|
|
1723
1723
|
className: t.string
|
|
1724
1724
|
};
|
|
1725
|
-
const Me = () => Math.random().toString(32).substring(2, 13),
|
|
1725
|
+
const Me = () => Math.random().toString(32).substring(2, 13), ls = (s, n) => {
|
|
1726
1726
|
var a;
|
|
1727
1727
|
for (n = n || [], a = 0; a < s.childNodes.length; a++)
|
|
1728
|
-
n.push(s.childNodes[a]),
|
|
1728
|
+
n.push(s.childNodes[a]), ls(s.childNodes[a], n);
|
|
1729
1729
|
return n;
|
|
1730
1730
|
}, je = (m) => {
|
|
1731
1731
|
var d = m, {
|
|
@@ -1768,7 +1768,7 @@ const Me = () => Math.random().toString(32).substring(2, 13), cs = (s, n) => {
|
|
|
1768
1768
|
);
|
|
1769
1769
|
let v = [r.props.children];
|
|
1770
1770
|
n == "icon-start" && a && v.unshift($), n == "icon-end" && a && v.push($);
|
|
1771
|
-
const w =
|
|
1771
|
+
const w = xs(r, {
|
|
1772
1772
|
className: p,
|
|
1773
1773
|
children: v
|
|
1774
1774
|
});
|
|
@@ -1828,7 +1828,7 @@ je.propTypes = {
|
|
|
1828
1828
|
*/
|
|
1829
1829
|
className: t.string
|
|
1830
1830
|
};
|
|
1831
|
-
const
|
|
1831
|
+
const l1 = {
|
|
1832
1832
|
info: "Info",
|
|
1833
1833
|
warning: "Warning",
|
|
1834
1834
|
success: "Success",
|
|
@@ -1836,7 +1836,7 @@ const c1 = {
|
|
|
1836
1836
|
discovery: "Discovery",
|
|
1837
1837
|
code: "Code",
|
|
1838
1838
|
earlyAccess: "Early access"
|
|
1839
|
-
},
|
|
1839
|
+
}, I2 = (c) => {
|
|
1840
1840
|
var l = c, {
|
|
1841
1841
|
children: s,
|
|
1842
1842
|
title: n,
|
|
@@ -1856,7 +1856,7 @@ const c1 = {
|
|
|
1856
1856
|
discovery: "squareQuestion",
|
|
1857
1857
|
code: "squareTerminal",
|
|
1858
1858
|
earlyAccess: "leaf"
|
|
1859
|
-
}, h = `${
|
|
1859
|
+
}, h = `${l1[a]}: `;
|
|
1860
1860
|
return /* @__PURE__ */ e.createElement(
|
|
1861
1861
|
"div",
|
|
1862
1862
|
N({
|
|
@@ -1870,7 +1870,7 @@ const c1 = {
|
|
|
1870
1870
|
}
|
|
1871
1871
|
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, h), n && /* @__PURE__ */ e.createElement("div", { className: `${o}__title` }, n), s && /* @__PURE__ */ e.createElement("div", { className: `${o}__main-content` }, s)))
|
|
1872
1872
|
);
|
|
1873
|
-
},
|
|
1873
|
+
}, r1 = (h) => {
|
|
1874
1874
|
var i = h, {
|
|
1875
1875
|
bodyText: s,
|
|
1876
1876
|
headingLevel: n = "h2",
|
|
@@ -1922,7 +1922,7 @@ const c1 = {
|
|
|
1922
1922
|
_
|
|
1923
1923
|
);
|
|
1924
1924
|
};
|
|
1925
|
-
|
|
1925
|
+
r1.propTypes = {
|
|
1926
1926
|
/**
|
|
1927
1927
|
* Short description or summary. Can be string or JSX.
|
|
1928
1928
|
*/
|
|
@@ -1963,7 +1963,7 @@ i1.propTypes = {
|
|
|
1963
1963
|
*/
|
|
1964
1964
|
className: t.string
|
|
1965
1965
|
};
|
|
1966
|
-
const
|
|
1966
|
+
const c1 = (d) => {
|
|
1967
1967
|
var h = d, {
|
|
1968
1968
|
id: s,
|
|
1969
1969
|
initialSelection: n,
|
|
@@ -2033,7 +2033,7 @@ const o1 = (d) => {
|
|
|
2033
2033
|
)))
|
|
2034
2034
|
);
|
|
2035
2035
|
};
|
|
2036
|
-
|
|
2036
|
+
c1.propTypes = {
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Unique ID for the card select group
|
|
2039
2039
|
*/
|
|
@@ -2136,7 +2136,7 @@ Vt.propTypes = {
|
|
|
2136
2136
|
const It = ot(
|
|
2137
2137
|
(c, u) => {
|
|
2138
2138
|
var l = c, { children: s, active: n, className: a } = l, r = M(l, ["children", "active", "className"]);
|
|
2139
|
-
const o =
|
|
2139
|
+
const o = Os(), m = "pds-input__option", d = n ? `${m}--active` : null;
|
|
2140
2140
|
return /* @__PURE__ */ e.createElement(
|
|
2141
2141
|
"li",
|
|
2142
2142
|
N({
|
|
@@ -2299,7 +2299,7 @@ Te.propTypes = {
|
|
|
2299
2299
|
*/
|
|
2300
2300
|
className: t.string
|
|
2301
2301
|
};
|
|
2302
|
-
const
|
|
2302
|
+
const rs = ot(
|
|
2303
2303
|
(b, i) => {
|
|
2304
2304
|
var f = b, {
|
|
2305
2305
|
checked: s = !1,
|
|
@@ -2351,7 +2351,7 @@ const is = ot(
|
|
|
2351
2351
|
}, h),
|
|
2352
2352
|
/* @__PURE__ */ e.createElement(
|
|
2353
2353
|
"input",
|
|
2354
|
-
|
|
2354
|
+
ye(N({
|
|
2355
2355
|
ref: i,
|
|
2356
2356
|
type: "checkbox",
|
|
2357
2357
|
id: a
|
|
@@ -2367,7 +2367,7 @@ const is = ot(
|
|
|
2367
2367
|
);
|
|
2368
2368
|
}
|
|
2369
2369
|
);
|
|
2370
|
-
|
|
2370
|
+
rs.propTypes = {
|
|
2371
2371
|
/**
|
|
2372
2372
|
* Is the checkbox checked initially?
|
|
2373
2373
|
*/
|
|
@@ -2409,7 +2409,7 @@ is.propTypes = {
|
|
|
2409
2409
|
*/
|
|
2410
2410
|
className: t.string
|
|
2411
2411
|
};
|
|
2412
|
-
const
|
|
2412
|
+
const i1 = (h) => {
|
|
2413
2413
|
var i = h, {
|
|
2414
2414
|
disabled: s = !1,
|
|
2415
2415
|
id: n,
|
|
@@ -2477,7 +2477,7 @@ const d1 = (h) => {
|
|
|
2477
2477
|
onChange: p
|
|
2478
2478
|
},
|
|
2479
2479
|
l.map((v, w) => /* @__PURE__ */ e.createElement("li", { key: w, className: `${b}__option` }, /* @__PURE__ */ e.createElement(
|
|
2480
|
-
|
|
2480
|
+
rs,
|
|
2481
2481
|
{
|
|
2482
2482
|
id: v.id,
|
|
2483
2483
|
label: v.label,
|
|
@@ -2491,7 +2491,7 @@ const d1 = (h) => {
|
|
|
2491
2491
|
)
|
|
2492
2492
|
);
|
|
2493
2493
|
};
|
|
2494
|
-
|
|
2494
|
+
i1.propTypes = {
|
|
2495
2495
|
/**
|
|
2496
2496
|
* Is the checkbox group field disabled?
|
|
2497
2497
|
*/
|
|
@@ -2549,7 +2549,7 @@ d1.propTypes = {
|
|
|
2549
2549
|
*/
|
|
2550
2550
|
className: t.string
|
|
2551
2551
|
};
|
|
2552
|
-
const
|
|
2552
|
+
const o1 = (V) => {
|
|
2553
2553
|
var k = V, {
|
|
2554
2554
|
disabled: s = !1,
|
|
2555
2555
|
hasClearButton: n = !0,
|
|
@@ -2616,7 +2616,7 @@ const m1 = (V) => {
|
|
|
2616
2616
|
virtual: !0,
|
|
2617
2617
|
loop: !0,
|
|
2618
2618
|
allowEscape: !0
|
|
2619
|
-
}), { getReferenceProps: ge, getFloatingProps:
|
|
2619
|
+
}), { getReferenceProps: ge, getFloatingProps: Ne, getItemProps: ne } = Se(
|
|
2620
2620
|
[J, fe, X]
|
|
2621
2621
|
), { isMounted: de, styles: me } = qe(T, {
|
|
2622
2622
|
duration: {
|
|
@@ -2678,7 +2678,7 @@ const m1 = (V) => {
|
|
|
2678
2678
|
}, [q, m, E]);
|
|
2679
2679
|
const ce = L.map((U, ae) => /* @__PURE__ */ e.createElement(
|
|
2680
2680
|
It,
|
|
2681
|
-
|
|
2681
|
+
ye(N({
|
|
2682
2682
|
key: U
|
|
2683
2683
|
}, ne({
|
|
2684
2684
|
key: U.value,
|
|
@@ -2748,7 +2748,7 @@ const m1 = (V) => {
|
|
|
2748
2748
|
!q && u && /* @__PURE__ */ e.createElement(Vt, { label: h.searchShortcut }),
|
|
2749
2749
|
a && /* @__PURE__ */ e.createElement(
|
|
2750
2750
|
"button",
|
|
2751
|
-
|
|
2751
|
+
ye(N({
|
|
2752
2752
|
ref: P.setReference
|
|
2753
2753
|
}, ge({
|
|
2754
2754
|
onClick: be,
|
|
@@ -2772,7 +2772,7 @@ const m1 = (V) => {
|
|
|
2772
2772
|
N({
|
|
2773
2773
|
ref: P.setFloating,
|
|
2774
2774
|
className: `${D}__dropdown`
|
|
2775
|
-
},
|
|
2775
|
+
}, Ne({
|
|
2776
2776
|
style: {
|
|
2777
2777
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
2778
2778
|
}
|
|
@@ -2781,7 +2781,7 @@ const m1 = (V) => {
|
|
|
2781
2781
|
)
|
|
2782
2782
|
);
|
|
2783
2783
|
};
|
|
2784
|
-
|
|
2784
|
+
o1.propTypes = {
|
|
2785
2785
|
/**
|
|
2786
2786
|
* Is the field disabled?
|
|
2787
2787
|
*/
|
|
@@ -2897,7 +2897,7 @@ m1.propTypes = {
|
|
|
2897
2897
|
*/
|
|
2898
2898
|
className: t.string
|
|
2899
2899
|
};
|
|
2900
|
-
const
|
|
2900
|
+
const d1 = {
|
|
2901
2901
|
included: "circleCheck",
|
|
2902
2902
|
notIncluded: "xmark",
|
|
2903
2903
|
addon: "circlePlusOutline"
|
|
@@ -2934,7 +2934,7 @@ const u1 = {
|
|
|
2934
2934
|
key: i,
|
|
2935
2935
|
className: `${d}__list-item ${d}__list-item--${h.type}`
|
|
2936
2936
|
},
|
|
2937
|
-
/* @__PURE__ */ e.createElement(j, { iconName:
|
|
2937
|
+
/* @__PURE__ */ e.createElement(j, { iconName: d1[h.type] }),
|
|
2938
2938
|
r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u[h.type], ":", " "),
|
|
2939
2939
|
h.text
|
|
2940
2940
|
))),
|
|
@@ -2976,7 +2976,7 @@ zt.propTypes = {
|
|
|
2976
2976
|
*/
|
|
2977
2977
|
className: t.string
|
|
2978
2978
|
};
|
|
2979
|
-
const
|
|
2979
|
+
const cs = (u) => {
|
|
2980
2980
|
var c = u, { linkContent: s, size: n = "md", className: a } = c, r = M(c, ["linkContent", "size", "className"]);
|
|
2981
2981
|
const l = "pds-cta-link", o = n != "md" ? `${l}--${n}` : null;
|
|
2982
2982
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2995,7 +2995,7 @@ const os = (u) => {
|
|
|
2995
2995
|
)
|
|
2996
2996
|
);
|
|
2997
2997
|
};
|
|
2998
|
-
|
|
2998
|
+
cs.propTypes = {
|
|
2999
2999
|
/**
|
|
3000
3000
|
* A link element using the router of your choice.
|
|
3001
3001
|
*/
|
|
@@ -3009,7 +3009,7 @@ os.propTypes = {
|
|
|
3009
3009
|
*/
|
|
3010
3010
|
className: t.string
|
|
3011
3011
|
};
|
|
3012
|
-
const
|
|
3012
|
+
const m1 = (d) => {
|
|
3013
3013
|
var h = d, {
|
|
3014
3014
|
backgroundColor: s = "default",
|
|
3015
3015
|
containerWidth: n = "standard",
|
|
@@ -3067,7 +3067,7 @@ const p1 = (d) => {
|
|
|
3067
3067
|
))
|
|
3068
3068
|
);
|
|
3069
3069
|
};
|
|
3070
|
-
|
|
3070
|
+
m1.propTypes = {
|
|
3071
3071
|
/**
|
|
3072
3072
|
* Background color of slice
|
|
3073
3073
|
*/
|
|
@@ -3227,7 +3227,7 @@ const mt = (c) => {
|
|
|
3227
3227
|
N({
|
|
3228
3228
|
className: `${o}__dropdown ${o}__menu ${o}__menu--top-level`,
|
|
3229
3229
|
ref: C.setFloating,
|
|
3230
|
-
style:
|
|
3230
|
+
style: ye(N({}, k), {
|
|
3231
3231
|
floatingStyles: w,
|
|
3232
3232
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
3233
3233
|
})
|
|
@@ -3632,7 +3632,7 @@ St.propTypes = {
|
|
|
3632
3632
|
*/
|
|
3633
3633
|
className: t.string
|
|
3634
3634
|
};
|
|
3635
|
-
const
|
|
3635
|
+
const u1 = 11.75, p1 = (o) => {
|
|
3636
3636
|
var m = o, {
|
|
3637
3637
|
ariaLabel: s = "Main navigation",
|
|
3638
3638
|
labels: n = {
|
|
@@ -3657,7 +3657,7 @@ const g1 = 11.75, h1 = (o) => {
|
|
|
3657
3657
|
}), []);
|
|
3658
3658
|
const i = () => {
|
|
3659
3659
|
h(window.innerWidth);
|
|
3660
|
-
}, b = d <= r, f = Q(), [g] = xt(f), E =
|
|
3660
|
+
}, b = d <= r, f = Q(), [g] = xt(f), E = u1 * 16 * 0.8, p = g.width < E, _ = "pds-dashboard-nav", $ = p ? `${_}--collapsed` : `${_}--expanded`, C = (k) => {
|
|
3661
3661
|
const H = k.target;
|
|
3662
3662
|
H.classList.toggle(`${_}__toggle--expanded`), H.setAttribute(
|
|
3663
3663
|
"aria-expanded",
|
|
@@ -3675,7 +3675,7 @@ const g1 = 11.75, h1 = (o) => {
|
|
|
3675
3675
|
};
|
|
3676
3676
|
a = a.map((k) => {
|
|
3677
3677
|
const H = k.linkContent.type, S = k.linkContent.props.href ? "href" : "to", z = S === "href" ? k.linkContent.props.href : k.linkContent.props.to, y = k.linkContent.props.children;
|
|
3678
|
-
return
|
|
3678
|
+
return ye(N({}, k), {
|
|
3679
3679
|
linkContent: /* @__PURE__ */ e.createElement(
|
|
3680
3680
|
H,
|
|
3681
3681
|
{
|
|
@@ -3742,7 +3742,7 @@ const g1 = 11.75, h1 = (o) => {
|
|
|
3742
3742
|
b ? w : V
|
|
3743
3743
|
);
|
|
3744
3744
|
};
|
|
3745
|
-
|
|
3745
|
+
p1.propTypes = {
|
|
3746
3746
|
/**
|
|
3747
3747
|
* Aria label for the navigation.
|
|
3748
3748
|
*/
|
|
@@ -3771,7 +3771,7 @@ h1.propTypes = {
|
|
|
3771
3771
|
*/
|
|
3772
3772
|
className: t.string
|
|
3773
3773
|
};
|
|
3774
|
-
const
|
|
3774
|
+
const g1 = (l) => {
|
|
3775
3775
|
var o = l, {
|
|
3776
3776
|
children: s,
|
|
3777
3777
|
id: n,
|
|
@@ -3794,7 +3794,7 @@ const f1 = (l) => {
|
|
|
3794
3794
|
/* @__PURE__ */ e.createElement("details", { key: r, id: m, open: a }, /* @__PURE__ */ e.createElement("summary", null, /* @__PURE__ */ e.createElement("span", null, r), /* @__PURE__ */ e.createElement(j, { iconName: "angleDown", className: `${d}__icon` })), /* @__PURE__ */ e.createElement("div", { className: `${d}__content` }, s))
|
|
3795
3795
|
);
|
|
3796
3796
|
};
|
|
3797
|
-
|
|
3797
|
+
g1.propTypes = {
|
|
3798
3798
|
/**
|
|
3799
3799
|
* The content of the expansion panel.
|
|
3800
3800
|
*/
|
|
@@ -3816,7 +3816,7 @@ f1.propTypes = {
|
|
|
3816
3816
|
*/
|
|
3817
3817
|
className: t.string
|
|
3818
3818
|
};
|
|
3819
|
-
const
|
|
3819
|
+
const h1 = (u) => {
|
|
3820
3820
|
var c = u, {
|
|
3821
3821
|
children: s,
|
|
3822
3822
|
displayType: n = "standard",
|
|
@@ -3835,7 +3835,7 @@ const b1 = (u) => {
|
|
|
3835
3835
|
s
|
|
3836
3836
|
);
|
|
3837
3837
|
};
|
|
3838
|
-
|
|
3838
|
+
h1.propTypes = {
|
|
3839
3839
|
/**
|
|
3840
3840
|
* The content of the expansion panel group. This should be a series of ExpansionPanel components.
|
|
3841
3841
|
*/
|
|
@@ -3849,7 +3849,7 @@ b1.propTypes = {
|
|
|
3849
3849
|
*/
|
|
3850
3850
|
className: t.string
|
|
3851
3851
|
};
|
|
3852
|
-
const
|
|
3852
|
+
const is = (u) => {
|
|
3853
3853
|
var c = u, {
|
|
3854
3854
|
headingLevel: s = "h3",
|
|
3855
3855
|
headingText: n,
|
|
@@ -3868,7 +3868,7 @@ const ds = (u) => {
|
|
|
3868
3868
|
n
|
|
3869
3869
|
);
|
|
3870
3870
|
};
|
|
3871
|
-
|
|
3871
|
+
is.propTypes = {
|
|
3872
3872
|
/**
|
|
3873
3873
|
* Heading level
|
|
3874
3874
|
*/
|
|
@@ -3882,7 +3882,7 @@ ds.propTypes = {
|
|
|
3882
3882
|
*/
|
|
3883
3883
|
className: t.string
|
|
3884
3884
|
};
|
|
3885
|
-
const
|
|
3885
|
+
const f1 = (c) => {
|
|
3886
3886
|
var l = c, {
|
|
3887
3887
|
headingLevel: s,
|
|
3888
3888
|
headingText: n,
|
|
@@ -3901,7 +3901,7 @@ const _1 = (c) => {
|
|
|
3901
3901
|
className: [o, r].join(" ").trim().replace(/\s+/g, " ")
|
|
3902
3902
|
}, u),
|
|
3903
3903
|
n && /* @__PURE__ */ e.createElement(
|
|
3904
|
-
|
|
3904
|
+
is,
|
|
3905
3905
|
{
|
|
3906
3906
|
headingLevel: s,
|
|
3907
3907
|
className: `${o}__heading`,
|
|
@@ -3911,7 +3911,7 @@ const _1 = (c) => {
|
|
|
3911
3911
|
/* @__PURE__ */ e.createElement("ul", { className: `${o}__list`, role: "list" }, a.map((m, d) => /* @__PURE__ */ e.createElement("li", { key: d, className: `${o}__item` }, m)))
|
|
3912
3912
|
);
|
|
3913
3913
|
};
|
|
3914
|
-
|
|
3914
|
+
f1.propTypes = {
|
|
3915
3915
|
/**
|
|
3916
3916
|
* Heading level
|
|
3917
3917
|
*/
|
|
@@ -3929,7 +3929,7 @@ _1.propTypes = {
|
|
|
3929
3929
|
*/
|
|
3930
3930
|
className: t.string
|
|
3931
3931
|
};
|
|
3932
|
-
const
|
|
3932
|
+
const b1 = (u) => {
|
|
3933
3933
|
var c = u, { children: s, level: n, className: a } = c, r = M(c, ["children", "level", "className"]);
|
|
3934
3934
|
const l = "pds-heading", o = `${n}`;
|
|
3935
3935
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -3940,7 +3940,7 @@ const v1 = (u) => {
|
|
|
3940
3940
|
s
|
|
3941
3941
|
);
|
|
3942
3942
|
};
|
|
3943
|
-
|
|
3943
|
+
b1.propTypes = {
|
|
3944
3944
|
/**
|
|
3945
3945
|
* Heading content
|
|
3946
3946
|
*/
|
|
@@ -3980,7 +3980,7 @@ const it = (c) => {
|
|
|
3980
3980
|
success: "circleCheck",
|
|
3981
3981
|
critical: "diamondExclamation",
|
|
3982
3982
|
spinner: "spinner"
|
|
3983
|
-
},
|
|
3983
|
+
}, _1 = (l) => {
|
|
3984
3984
|
var o = l, {
|
|
3985
3985
|
title: s,
|
|
3986
3986
|
secondaryText: n,
|
|
@@ -4022,7 +4022,7 @@ const it = (c) => {
|
|
|
4022
4022
|
)), /* @__PURE__ */ e.createElement("div", { className: `${m}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, f), s && /* @__PURE__ */ e.createElement("div", { className: `${m}__title` }, s), /* @__PURE__ */ e.createElement("div", { className: `${m}__secondaryText` }, n)))
|
|
4023
4023
|
);
|
|
4024
4024
|
};
|
|
4025
|
-
|
|
4025
|
+
_1.propTypes = {
|
|
4026
4026
|
/**
|
|
4027
4027
|
* Title text.
|
|
4028
4028
|
*/
|
|
@@ -4050,7 +4050,7 @@ E1.propTypes = {
|
|
|
4050
4050
|
*/
|
|
4051
4051
|
className: t.string
|
|
4052
4052
|
};
|
|
4053
|
-
const
|
|
4053
|
+
const v1 = new Intl.NumberFormat().formatToParts(100000089e-2), ft = v1.find((s) => s.type === "decimal").value, bt = 16, Wt = 10, E1 = (g) => {
|
|
4054
4054
|
var E = g, {
|
|
4055
4055
|
disabled: s = !1,
|
|
4056
4056
|
formatting: n,
|
|
@@ -4204,7 +4204,7 @@ const C1 = new Intl.NumberFormat().formatToParts(100000089e-2), ft = C1.find((s)
|
|
|
4204
4204
|
w || l
|
|
4205
4205
|
));
|
|
4206
4206
|
};
|
|
4207
|
-
|
|
4207
|
+
E1.propTypes = {
|
|
4208
4208
|
/**
|
|
4209
4209
|
* Is the field disabled?
|
|
4210
4210
|
*/
|
|
@@ -4278,7 +4278,7 @@ $1.propTypes = {
|
|
|
4278
4278
|
*/
|
|
4279
4279
|
className: t.string
|
|
4280
4280
|
};
|
|
4281
|
-
const
|
|
4281
|
+
const C1 = (r) => {
|
|
4282
4282
|
var u = r, { children: s, className: n } = u, a = M(u, ["children", "className"]);
|
|
4283
4283
|
const c = "pds-input-group", l = [], o = ["InputText", "Select"], m = ["critical", "primary", "secondary"];
|
|
4284
4284
|
return s.length >= 2 && s.map((d) => {
|
|
@@ -4291,7 +4291,7 @@ const w1 = (r) => {
|
|
|
4291
4291
|
l.length === 2 && l
|
|
4292
4292
|
);
|
|
4293
4293
|
};
|
|
4294
|
-
|
|
4294
|
+
C1.propTypes = {
|
|
4295
4295
|
/**
|
|
4296
4296
|
* Input and button elements
|
|
4297
4297
|
*/
|
|
@@ -4301,7 +4301,7 @@ w1.propTypes = {
|
|
|
4301
4301
|
*/
|
|
4302
4302
|
className: t.string
|
|
4303
4303
|
};
|
|
4304
|
-
const
|
|
4304
|
+
const $1 = (f) => {
|
|
4305
4305
|
var g = f, {
|
|
4306
4306
|
counterFunction: s = () => {
|
|
4307
4307
|
},
|
|
@@ -4425,7 +4425,7 @@ const N1 = (f) => {
|
|
|
4425
4425
|
)
|
|
4426
4426
|
);
|
|
4427
4427
|
};
|
|
4428
|
-
|
|
4428
|
+
$1.propTypes = {
|
|
4429
4429
|
/**
|
|
4430
4430
|
* If a counter is desired provide a function that accepts the input's value and will return a string to display.
|
|
4431
4431
|
* <br />
|
|
@@ -4496,7 +4496,7 @@ N1.propTypes = {
|
|
|
4496
4496
|
*/
|
|
4497
4497
|
className: t.string
|
|
4498
4498
|
};
|
|
4499
|
-
const _t = 16, Bt = 10,
|
|
4499
|
+
const _t = 16, Bt = 10, os = (S) => {
|
|
4500
4500
|
var z = S, {
|
|
4501
4501
|
autoComplete: s = "on",
|
|
4502
4502
|
counterFunction: n = () => {
|
|
@@ -4561,7 +4561,7 @@ const _t = 16, Bt = 10, ms = (S) => {
|
|
|
4561
4561
|
const [y, O] = x(l), [q, I] = x(n("")), [L, W] = x(), [A, B] = x(null), [G, Y] = x(!1), F = Q(null), D = Q(null), T = Q(null), P = Q(null), J = "pds-input-text", fe = _ ? `${J}--${_}` : null;
|
|
4562
4562
|
let X = null;
|
|
4563
4563
|
v === "search" && (X = "search"), A === "error" && (X = "error"), A === "success" && (X = "success"), _ && $ && se(() => {
|
|
4564
|
-
switch (l && O(
|
|
4564
|
+
switch (l && O(Ne(l)), P.numExtra = "", _) {
|
|
4565
4565
|
case "credit-card":
|
|
4566
4566
|
P.numExtra = 3, P.current = _t;
|
|
4567
4567
|
break;
|
|
@@ -4572,7 +4572,7 @@ const _t = 16, Bt = 10, ms = (S) => {
|
|
|
4572
4572
|
}, []);
|
|
4573
4573
|
let ge = null;
|
|
4574
4574
|
(_ === "credit-card" || _ === "phone") && P.current && (ge = P.current + P.numExtra);
|
|
4575
|
-
const
|
|
4575
|
+
const Ne = (K) => {
|
|
4576
4576
|
if (K) {
|
|
4577
4577
|
if (_ === "credit-card") {
|
|
4578
4578
|
const ce = ("" + K).replace(/\D/g, "");
|
|
@@ -4612,7 +4612,7 @@ const _t = 16, Bt = 10, ms = (S) => {
|
|
|
4612
4612
|
}, me = (K) => {
|
|
4613
4613
|
_ ? i && i({ formattedValue: K, rawValue: T.current }) : i && i(K);
|
|
4614
4614
|
}, te = (K) => {
|
|
4615
|
-
O(_ ?
|
|
4615
|
+
O(_ ? Ne(K.target.value) : K.target.value), ne(), n && I(n(_ ? T.current : K.target.value)), me(K.target.value);
|
|
4616
4616
|
}, le = (K) => {
|
|
4617
4617
|
if (C && Y(!1), w) {
|
|
4618
4618
|
const ce = w(K.target.value) || {};
|
|
@@ -4703,7 +4703,7 @@ const _t = 16, Bt = 10, ms = (S) => {
|
|
|
4703
4703
|
!y && u && v === "search" && /* @__PURE__ */ e.createElement(Vt, { label: d.searchShortcut })
|
|
4704
4704
|
);
|
|
4705
4705
|
};
|
|
4706
|
-
|
|
4706
|
+
os.propTypes = {
|
|
4707
4707
|
/**
|
|
4708
4708
|
* Auto complete attribute for the input field. The attribute value is either the keyword `off` or `on`, or an ordered list of space-separated tokens. Password fields are automatically off.
|
|
4709
4709
|
*
|
|
@@ -4839,7 +4839,7 @@ ms.propTypes = {
|
|
|
4839
4839
|
*/
|
|
4840
4840
|
className: t.string
|
|
4841
4841
|
};
|
|
4842
|
-
const
|
|
4842
|
+
const w1 = (c) => {
|
|
4843
4843
|
var l = c, {
|
|
4844
4844
|
linkItems: s,
|
|
4845
4845
|
headingLevel: n = "h3",
|
|
@@ -4861,7 +4861,7 @@ const y1 = (c) => {
|
|
|
4861
4861
|
s && /* @__PURE__ */ e.createElement("ul", { className: `${o}__list`, role: "list" }, s.map((d, h) => /* @__PURE__ */ e.createElement("li", { key: h, className: "pds-cta-links-card__item" }, d)))
|
|
4862
4862
|
);
|
|
4863
4863
|
};
|
|
4864
|
-
|
|
4864
|
+
w1.propTypes = {
|
|
4865
4865
|
/**
|
|
4866
4866
|
* Heading level
|
|
4867
4867
|
*/
|
|
@@ -4879,7 +4879,7 @@ y1.propTypes = {
|
|
|
4879
4879
|
*/
|
|
4880
4880
|
className: t.string
|
|
4881
4881
|
};
|
|
4882
|
-
const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
4882
|
+
const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink, N1 = (s) => s.isNode, ds = (_) => {
|
|
4883
4883
|
var $ = _, {
|
|
4884
4884
|
avatarImageSrc: s,
|
|
4885
4885
|
disabled: n,
|
|
@@ -4924,17 +4924,17 @@ const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
|
4924
4924
|
update: H,
|
|
4925
4925
|
placement: S,
|
|
4926
4926
|
refs: z
|
|
4927
|
-
} =
|
|
4927
|
+
} = Ps({
|
|
4928
4928
|
placement: "bottom-start",
|
|
4929
|
-
middleware: [
|
|
4929
|
+
middleware: [js()]
|
|
4930
4930
|
}), [y, O] = x(1025), q = g && y <= d;
|
|
4931
4931
|
se(() => (O(window.innerWidth), window.addEventListener("resize", I), () => {
|
|
4932
4932
|
window.removeEventListener("resize", I);
|
|
4933
4933
|
}), []);
|
|
4934
4934
|
const I = () => {
|
|
4935
4935
|
O(window.innerWidth);
|
|
4936
|
-
}, L = "pds-menu-button", W = q ? `${L}--isMobile` : null, A = g ? `${L}--navbar` : null, B = Me(), [G] = x(`menu-button-${B}`), [Y] = x(`menu-listbox-${B}`), F = u || G, D = z.floating, T = Q(null), [P, J] = x(!1), [fe, X] = x(!1), [ge,
|
|
4937
|
-
|
|
4936
|
+
}, L = "pds-menu-button", W = q ? `${L}--isMobile` : null, A = g ? `${L}--navbar` : null, B = Me(), [G] = x(`menu-button-${B}`), [Y] = x(`menu-listbox-${B}`), F = u || G, D = z.floating, T = Q(null), [P, J] = x(!1), [fe, X] = x(!1), [ge, Ne] = x(""), [ne, de] = x(0), me = Q([]), te = Q([]), le = Q([]);
|
|
4937
|
+
Vs(() => {
|
|
4938
4938
|
window.addEventListener("mousedown", U, !0), H();
|
|
4939
4939
|
const R = D.current;
|
|
4940
4940
|
return R && (R.dataset.fuiPlacement = S), fe && (setTimeout(() => {
|
|
@@ -4944,7 +4944,7 @@ const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
|
4944
4944
|
};
|
|
4945
4945
|
}, [P, S]);
|
|
4946
4946
|
const ee = (R, ie) => {
|
|
4947
|
-
|
|
4947
|
+
Ne(R), de(ie);
|
|
4948
4948
|
}, ue = () => {
|
|
4949
4949
|
J(!0), X(!0);
|
|
4950
4950
|
}, he = () => {
|
|
@@ -5060,7 +5060,7 @@ const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
|
5060
5060
|
},
|
|
5061
5061
|
R.label
|
|
5062
5062
|
);
|
|
5063
|
-
if (
|
|
5063
|
+
if (N1(R))
|
|
5064
5064
|
return /* @__PURE__ */ e.createElement("li", { role: "presentation", key: ze }, R.nodeContent);
|
|
5065
5065
|
if (Ct(R) || R.label) {
|
|
5066
5066
|
te.current.push(ze), le.current.push(R);
|
|
@@ -5137,18 +5137,18 @@ const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
|
5137
5137
|
},
|
|
5138
5138
|
Ee.map((Le, Be) => {
|
|
5139
5139
|
_e = me.current[Be];
|
|
5140
|
-
const Fe = Le[0].isHeading, Ze = Fe ? `${F}-group-${_e}-heading` : "",
|
|
5140
|
+
const Fe = Le[0].isHeading, Ze = Fe ? `${F}-group-${_e}-heading` : "", Ns = `${F}-group-${_e}`, ys = Fe ? null : `${b} ${Be + 1}`;
|
|
5141
5141
|
return /* @__PURE__ */ e.createElement(
|
|
5142
5142
|
"ul",
|
|
5143
5143
|
{
|
|
5144
5144
|
role: "group",
|
|
5145
5145
|
"aria-labelledby": Ze,
|
|
5146
|
-
"aria-label":
|
|
5147
|
-
key:
|
|
5146
|
+
"aria-label": ys,
|
|
5147
|
+
key: Ns
|
|
5148
5148
|
},
|
|
5149
|
-
Le.map((
|
|
5150
|
-
|
|
5151
|
-
|
|
5149
|
+
Le.map((ks, Hs) => ae(
|
|
5150
|
+
ks,
|
|
5151
|
+
Hs,
|
|
5152
5152
|
_e,
|
|
5153
5153
|
Ze
|
|
5154
5154
|
))
|
|
@@ -5252,14 +5252,14 @@ const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
|
5252
5252
|
), ie.nextElementSibling.classList.toggle(`${L}__mobile-menu--expanded`);
|
|
5253
5253
|
}, ut = () => /* @__PURE__ */ e.createElement("ul", { className: `${L}__mobile-menu`, role: "menu" }, o.map((R, ie) => ae(R, ie)));
|
|
5254
5254
|
let et;
|
|
5255
|
-
const
|
|
5255
|
+
const Es = a === "icon-end" ? "pds-button pds-button--navbar" : null, Cs = [`${L}__toggle`, Es].join(" ").trim().replace(/\s+/g, " ");
|
|
5256
5256
|
q && (et = /* @__PURE__ */ e.createElement(
|
|
5257
5257
|
"button",
|
|
5258
5258
|
{
|
|
5259
5259
|
id: F,
|
|
5260
5260
|
type: "button",
|
|
5261
5261
|
disabled: n,
|
|
5262
|
-
className:
|
|
5262
|
+
className: Cs,
|
|
5263
5263
|
"aria-expanded": !1,
|
|
5264
5264
|
onClick: at
|
|
5265
5265
|
},
|
|
@@ -5273,18 +5273,18 @@ const vt = (s) => s.isSeparator, Et = (s) => s.isHeading, Ct = (s) => s.isLink,
|
|
|
5273
5273
|
}
|
|
5274
5274
|
)
|
|
5275
5275
|
));
|
|
5276
|
-
const
|
|
5276
|
+
const $s = et, ws = P ? `${L}--expanded` : null;
|
|
5277
5277
|
return /* @__PURE__ */ e.createElement(
|
|
5278
5278
|
"span",
|
|
5279
5279
|
N({
|
|
5280
|
-
className: [L, A, W,
|
|
5280
|
+
className: [L, A, W, ws, E].join(" ").trim().replace(/\s+/g, " "),
|
|
5281
5281
|
"data-testid": i,
|
|
5282
5282
|
ref: T
|
|
5283
5283
|
}, p),
|
|
5284
|
-
q ? /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
5284
|
+
q ? /* @__PURE__ */ e.createElement(e.Fragment, null, $s, /* @__PURE__ */ e.createElement(ut, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, He, De(o))
|
|
5285
5285
|
);
|
|
5286
5286
|
};
|
|
5287
|
-
|
|
5287
|
+
ds.propTypes = {
|
|
5288
5288
|
/**
|
|
5289
5289
|
* Image src for avatar — only necessary for avatar-based buttons.
|
|
5290
5290
|
*/
|
|
@@ -5323,11 +5323,11 @@ us.propTypes = {
|
|
|
5323
5323
|
*/
|
|
5324
5324
|
menuItems: t.arrayOf(
|
|
5325
5325
|
t.oneOfType([
|
|
5326
|
-
|
|
5327
|
-
|
|
5328
|
-
|
|
5329
|
-
|
|
5330
|
-
|
|
5326
|
+
Gs,
|
|
5327
|
+
ts,
|
|
5328
|
+
ss,
|
|
5329
|
+
Ks,
|
|
5330
|
+
Ys
|
|
5331
5331
|
])
|
|
5332
5332
|
),
|
|
5333
5333
|
/**
|
|
@@ -5363,7 +5363,7 @@ us.propTypes = {
|
|
|
5363
5363
|
*/
|
|
5364
5364
|
className: t.string
|
|
5365
5365
|
};
|
|
5366
|
-
const
|
|
5366
|
+
const y1 = (d) => {
|
|
5367
5367
|
var h = d, {
|
|
5368
5368
|
ariaLabel: s,
|
|
5369
5369
|
children: n,
|
|
@@ -5414,7 +5414,7 @@ const H1 = (d) => {
|
|
|
5414
5414
|
}
|
|
5415
5415
|
});
|
|
5416
5416
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, V && /* @__PURE__ */ e.createElement(
|
|
5417
|
-
|
|
5417
|
+
Rs,
|
|
5418
5418
|
{
|
|
5419
5419
|
lockScroll: !0,
|
|
5420
5420
|
style: {
|
|
@@ -5424,9 +5424,9 @@ const H1 = (d) => {
|
|
|
5424
5424
|
zIndex: "var(--pds-z-index-modal)"
|
|
5425
5425
|
}
|
|
5426
5426
|
},
|
|
5427
|
-
/* @__PURE__ */ e.createElement(
|
|
5427
|
+
/* @__PURE__ */ e.createElement(es, { context: p }, /* @__PURE__ */ e.createElement(
|
|
5428
5428
|
"div",
|
|
5429
|
-
N(
|
|
5429
|
+
N(ye(N({
|
|
5430
5430
|
ref: E.setFloating,
|
|
5431
5431
|
"aria-label": s || l
|
|
5432
5432
|
}, w()), {
|
|
@@ -5450,7 +5450,7 @@ const H1 = (d) => {
|
|
|
5450
5450
|
))
|
|
5451
5451
|
));
|
|
5452
5452
|
};
|
|
5453
|
-
|
|
5453
|
+
y1.propTypes = {
|
|
5454
5454
|
/**
|
|
5455
5455
|
* Aria label that describes the modal. Will default to the title if not provided.
|
|
5456
5456
|
*/
|
|
@@ -5517,7 +5517,7 @@ Ue.propTypes = {
|
|
|
5517
5517
|
*/
|
|
5518
5518
|
className: t.string
|
|
5519
5519
|
};
|
|
5520
|
-
const
|
|
5520
|
+
const k1 = (f) => {
|
|
5521
5521
|
var g = f, {
|
|
5522
5522
|
children: s,
|
|
5523
5523
|
colorType: n = "default",
|
|
@@ -5563,7 +5563,7 @@ const L1 = (f) => {
|
|
|
5563
5563
|
}, z = () => p(!E), y = e.createRef();
|
|
5564
5564
|
se(() => {
|
|
5565
5565
|
if (_ <= h && s) {
|
|
5566
|
-
const T =
|
|
5566
|
+
const T = ls(
|
|
5567
5567
|
document.querySelector(".pds-navbar__mobile")
|
|
5568
5568
|
), P = ["a", "button", "input", "select", "textarea"];
|
|
5569
5569
|
E ? T.forEach((J) => {
|
|
@@ -5635,7 +5635,7 @@ const L1 = (f) => {
|
|
|
5635
5635
|
},
|
|
5636
5636
|
/* @__PURE__ */ e.createElement(Ue, null, I, L)
|
|
5637
5637
|
), F = /* @__PURE__ */ e.createElement(
|
|
5638
|
-
|
|
5638
|
+
Ws,
|
|
5639
5639
|
{
|
|
5640
5640
|
focusTrapOptions: {
|
|
5641
5641
|
clickOutsideDeactivates: !0,
|
|
@@ -5652,7 +5652,7 @@ const L1 = (f) => {
|
|
|
5652
5652
|
v ? F : D
|
|
5653
5653
|
);
|
|
5654
5654
|
};
|
|
5655
|
-
|
|
5655
|
+
k1.propTypes = {
|
|
5656
5656
|
/**
|
|
5657
5657
|
* Color scheme.
|
|
5658
5658
|
*/
|
|
@@ -5710,7 +5710,7 @@ L1.propTypes = {
|
|
|
5710
5710
|
*/
|
|
5711
5711
|
className: t.string
|
|
5712
5712
|
};
|
|
5713
|
-
const
|
|
5713
|
+
const ms = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
5714
5714
|
const [r, u] = x(!1), [c, l] = x(0);
|
|
5715
5715
|
se(() => (l(window.innerWidth), window.addEventListener("resize", o), () => {
|
|
5716
5716
|
window.removeEventListener("resize", o);
|
|
@@ -5727,7 +5727,7 @@ const ps = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
|
5727
5727
|
m ? E = kt(i, {
|
|
5728
5728
|
enabled: !1
|
|
5729
5729
|
}) : E = kt(i, {
|
|
5730
|
-
handleClose:
|
|
5730
|
+
handleClose: qs({
|
|
5731
5731
|
requireIntent: !1,
|
|
5732
5732
|
buffer: 10,
|
|
5733
5733
|
blockPointerEvents: !0,
|
|
@@ -5765,12 +5765,12 @@ const ps = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
|
5765
5765
|
))
|
|
5766
5766
|
));
|
|
5767
5767
|
};
|
|
5768
|
-
|
|
5768
|
+
ms.propTypes = {
|
|
5769
5769
|
items: t.array,
|
|
5770
5770
|
label: t.string,
|
|
5771
5771
|
mobileMenuMaxWidth: t.number
|
|
5772
5772
|
};
|
|
5773
|
-
const
|
|
5773
|
+
const H1 = (l) => {
|
|
5774
5774
|
var o = l, {
|
|
5775
5775
|
ariaLabel: s = "Main Navigation",
|
|
5776
5776
|
colorType: n = "default",
|
|
@@ -5849,7 +5849,7 @@ const z1 = (l) => {
|
|
|
5849
5849
|
className: `${v}__item ${v}__item--top-level ${v}__item--has-children ${S(y) === !0 ? `${v}__item--active` : ""}`
|
|
5850
5850
|
},
|
|
5851
5851
|
/* @__PURE__ */ e.createElement(
|
|
5852
|
-
|
|
5852
|
+
ms,
|
|
5853
5853
|
{
|
|
5854
5854
|
label: y.label,
|
|
5855
5855
|
items: y.links,
|
|
@@ -5881,7 +5881,7 @@ const z1 = (l) => {
|
|
|
5881
5881
|
/* @__PURE__ */ e.createElement("ul", { className: `${v}__menu` }, z)
|
|
5882
5882
|
);
|
|
5883
5883
|
};
|
|
5884
|
-
|
|
5884
|
+
H1.propTypes = {
|
|
5885
5885
|
/**
|
|
5886
5886
|
* Aria label for `nav` element.
|
|
5887
5887
|
*/
|
|
@@ -5903,7 +5903,7 @@ z1.propTypes = {
|
|
|
5903
5903
|
*/
|
|
5904
5904
|
className: t.string
|
|
5905
5905
|
};
|
|
5906
|
-
const
|
|
5906
|
+
const us = (r) => {
|
|
5907
5907
|
var u = r, { platformType: s, className: n } = u, a = M(u, ["platformType", "className"]);
|
|
5908
5908
|
const c = "pds-platform-icon", l = `pds-platform-icon--${s}`;
|
|
5909
5909
|
let o;
|
|
@@ -5934,7 +5934,7 @@ const gs = (r) => {
|
|
|
5934
5934
|
o
|
|
5935
5935
|
);
|
|
5936
5936
|
};
|
|
5937
|
-
|
|
5937
|
+
us.propTypes = {
|
|
5938
5938
|
/**
|
|
5939
5939
|
* Which platform icon to display
|
|
5940
5940
|
*/
|
|
@@ -6204,7 +6204,7 @@ const $t = {
|
|
|
6204
6204
|
label: "Early Access",
|
|
6205
6205
|
color: "success"
|
|
6206
6206
|
}
|
|
6207
|
-
},
|
|
6207
|
+
}, L1 = (d) => {
|
|
6208
6208
|
var h = d, {
|
|
6209
6209
|
badge: s,
|
|
6210
6210
|
icon: n,
|
|
@@ -6236,7 +6236,7 @@ const $t = {
|
|
|
6236
6236
|
"aria-label": a.props.children,
|
|
6237
6237
|
className: `${i}__selection-link`
|
|
6238
6238
|
}, a.props),
|
|
6239
|
-
/* @__PURE__ */ e.createElement("div", { className: `${i}__header` }, n && /* @__PURE__ */ e.createElement("div", { className: `${i}__icon` }, /* @__PURE__ */ e.createElement(
|
|
6239
|
+
/* @__PURE__ */ e.createElement("div", { className: `${i}__header` }, n && /* @__PURE__ */ e.createElement("div", { className: `${i}__icon` }, /* @__PURE__ */ e.createElement(us, { platformType: n })), /* @__PURE__ */ e.createElement("div", { className: `${i}__title` }, l, r && /* @__PURE__ */ e.createElement("div", { className: `${i}__subtitle` }, r))),
|
|
6240
6240
|
s && /* @__PURE__ */ e.createElement(
|
|
6241
6241
|
it,
|
|
6242
6242
|
{
|
|
@@ -6269,7 +6269,7 @@ const $t = {
|
|
|
6269
6269
|
}))
|
|
6270
6270
|
);
|
|
6271
6271
|
};
|
|
6272
|
-
|
|
6272
|
+
L1.propTypes = {
|
|
6273
6273
|
/**
|
|
6274
6274
|
* Optional indicator badge type. Choose from only early-access at this time.
|
|
6275
6275
|
*/
|
|
@@ -6312,7 +6312,7 @@ M1.propTypes = {
|
|
|
6312
6312
|
*/
|
|
6313
6313
|
className: t.string
|
|
6314
6314
|
};
|
|
6315
|
-
const Je =
|
|
6315
|
+
const Je = Ut({}), z1 = (s) => {
|
|
6316
6316
|
if (typeof window == "undefined")
|
|
6317
6317
|
return 0;
|
|
6318
6318
|
const n = window.location.href.split("/"), r = `/${n[n.length - 1]}`.split("");
|
|
@@ -6324,7 +6324,7 @@ const Je = Kt({}), x1 = (s) => {
|
|
|
6324
6324
|
}), s.findIndex(
|
|
6325
6325
|
(c) => c.link === r.join("")
|
|
6326
6326
|
);
|
|
6327
|
-
},
|
|
6327
|
+
}, ps = ({
|
|
6328
6328
|
pages: s,
|
|
6329
6329
|
render: n = null,
|
|
6330
6330
|
paginationItemClickHandler: a = null,
|
|
@@ -6332,7 +6332,7 @@ const Je = Kt({}), x1 = (s) => {
|
|
|
6332
6332
|
buttonCallback: u = null,
|
|
6333
6333
|
children: c
|
|
6334
6334
|
}) => {
|
|
6335
|
-
const [l, o] = x(() =>
|
|
6335
|
+
const [l, o] = x(() => z1(s)), [m, d] = x([]), h = s.length, [i, b] = x("");
|
|
6336
6336
|
return /* @__PURE__ */ e.createElement(
|
|
6337
6337
|
Je.Provider,
|
|
6338
6338
|
{
|
|
@@ -6354,7 +6354,7 @@ const Je = Kt({}), x1 = (s) => {
|
|
|
6354
6354
|
c
|
|
6355
6355
|
);
|
|
6356
6356
|
};
|
|
6357
|
-
|
|
6357
|
+
ps.propTypes = {
|
|
6358
6358
|
children: t.node.isRequired,
|
|
6359
6359
|
render: t.func,
|
|
6360
6360
|
paginationItemClickHandler: t.func,
|
|
@@ -6435,9 +6435,9 @@ const Tt = (g) => {
|
|
|
6435
6435
|
}, X = (le) => {
|
|
6436
6436
|
const ee = P[le];
|
|
6437
6437
|
w(ee.value), C(null), _(!1), l && l(ee), i && fe(ee);
|
|
6438
|
-
}, ge = /* @__PURE__ */ e.createElement(j, { iconName: "angleDown", className: `${y}__trigger-icon` }),
|
|
6438
|
+
}, ge = /* @__PURE__ */ e.createElement(j, { iconName: "angleDown", className: `${y}__trigger-icon` }), Ne = /* @__PURE__ */ e.createElement(j, { iconName: "check", className: `${y}__checked-icon` }), ne = P.map((le, ee) => /* @__PURE__ */ e.createElement(
|
|
6439
6439
|
It,
|
|
6440
|
-
|
|
6440
|
+
ye(N({
|
|
6441
6441
|
key: le
|
|
6442
6442
|
}, G({
|
|
6443
6443
|
key: le.value,
|
|
@@ -6456,7 +6456,7 @@ const Tt = (g) => {
|
|
|
6456
6456
|
active: $ === ee
|
|
6457
6457
|
}),
|
|
6458
6458
|
le.label,
|
|
6459
|
-
v === le.value &&
|
|
6459
|
+
v === le.value && Ne
|
|
6460
6460
|
)), de = V || c, me = r ? `${r / 16}rem` : null, te = r ? { width: me } : null;
|
|
6461
6461
|
return /* @__PURE__ */ e.createElement(
|
|
6462
6462
|
Te,
|
|
@@ -6593,7 +6593,7 @@ Tt.propTypes = {
|
|
|
6593
6593
|
*/
|
|
6594
6594
|
className: t.string
|
|
6595
6595
|
};
|
|
6596
|
-
const
|
|
6596
|
+
const M1 = {
|
|
6597
6597
|
left: {
|
|
6598
6598
|
title: "Go to previous page",
|
|
6599
6599
|
rel: "prev",
|
|
@@ -6610,12 +6610,12 @@ const V1 = {
|
|
|
6610
6610
|
}
|
|
6611
6611
|
}, We = (r) => {
|
|
6612
6612
|
var u = r, { arrowText: s = null, direction: n } = u, a = M(u, ["arrowText", "direction"]);
|
|
6613
|
-
const { buttonCallback: c, currentKey: l, setCurrentKey: o, setDirection: m, pages: d } = Xe(Je), h =
|
|
6613
|
+
const { buttonCallback: c, currentKey: l, setCurrentKey: o, setDirection: m, pages: d } = Xe(Je), h = Gt(
|
|
6614
6614
|
(p, _) => {
|
|
6615
6615
|
c && (p.preventDefault(), c(_));
|
|
6616
6616
|
},
|
|
6617
6617
|
[c, l]
|
|
6618
|
-
), { title: i, rel: b, srText: f, icon: g, keyModifier: E } =
|
|
6618
|
+
), { title: i, rel: b, srText: f, icon: g, keyModifier: E } = M1[n];
|
|
6619
6619
|
return /* @__PURE__ */ e.createElement(
|
|
6620
6620
|
"li",
|
|
6621
6621
|
N({
|
|
@@ -6642,7 +6642,7 @@ We.propTypes = {
|
|
|
6642
6642
|
arrowText: t.string,
|
|
6643
6643
|
direction: t.oneOf(["right", "left"])
|
|
6644
6644
|
};
|
|
6645
|
-
const
|
|
6645
|
+
const x1 = (n) => {
|
|
6646
6646
|
var s = M(n, []);
|
|
6647
6647
|
const {
|
|
6648
6648
|
buttonCallback: a,
|
|
@@ -6676,7 +6676,7 @@ const I1 = (n) => {
|
|
|
6676
6676
|
)), /* @__PURE__ */ e.createElement("li", { className: "pds-pager__items-mini" }, `of ${l}`), r < l - 1 ? /* @__PURE__ */ e.createElement(We, { arrowText: "Next", direction: "right" }) : null)
|
|
6677
6677
|
);
|
|
6678
6678
|
};
|
|
6679
|
-
function
|
|
6679
|
+
function V1(s, n, a, r, u, c) {
|
|
6680
6680
|
if (r > 3) {
|
|
6681
6681
|
let l = [];
|
|
6682
6682
|
const o = n.find((m) => m.key == r);
|
|
@@ -6776,7 +6776,7 @@ function S1(s, n, a, r, u, c) {
|
|
|
6776
6776
|
]), a(l);
|
|
6777
6777
|
}
|
|
6778
6778
|
}
|
|
6779
|
-
const
|
|
6779
|
+
const gs = (r) => {
|
|
6780
6780
|
var u = r, { index: s, page: n } = u, a = M(u, ["index", "page"]);
|
|
6781
6781
|
var h;
|
|
6782
6782
|
const c = function() {
|
|
@@ -6808,12 +6808,12 @@ const fs = (r) => {
|
|
|
6808
6808
|
"…"
|
|
6809
6809
|
));
|
|
6810
6810
|
};
|
|
6811
|
-
|
|
6811
|
+
gs.propTypes = {
|
|
6812
6812
|
index: t.number.isRequired,
|
|
6813
6813
|
page: t.oneOfType([t.object, t.string]).isRequired,
|
|
6814
6814
|
render: t.func
|
|
6815
6815
|
};
|
|
6816
|
-
const
|
|
6816
|
+
const I1 = (n) => {
|
|
6817
6817
|
var s = M(n, []);
|
|
6818
6818
|
const {
|
|
6819
6819
|
buttonCallback: a,
|
|
@@ -6825,14 +6825,14 @@ const T1 = (n) => {
|
|
|
6825
6825
|
itemLength: m,
|
|
6826
6826
|
pageDirection: d,
|
|
6827
6827
|
pages: h
|
|
6828
|
-
} = Xe(Je), i =
|
|
6828
|
+
} = Xe(Je), i = Gt(
|
|
6829
6829
|
(f, g) => {
|
|
6830
6830
|
a && (f.preventDefault(), a(g));
|
|
6831
6831
|
},
|
|
6832
6832
|
[a, r]
|
|
6833
6833
|
), [b] = x(h);
|
|
6834
6834
|
return se(() => {
|
|
6835
|
-
|
|
6835
|
+
V1(
|
|
6836
6836
|
h,
|
|
6837
6837
|
c,
|
|
6838
6838
|
l,
|
|
@@ -6857,7 +6857,7 @@ const T1 = (n) => {
|
|
|
6857
6857
|
}
|
|
6858
6858
|
},
|
|
6859
6859
|
"First"
|
|
6860
|
-
)), /* @__PURE__ */ e.createElement(We, { direction: "left" })) : null, c.map((f, g) => /* @__PURE__ */ e.createElement("li", { key: `list-item-${g}` }, /* @__PURE__ */ e.createElement(
|
|
6860
|
+
)), /* @__PURE__ */ e.createElement(We, { direction: "left" })) : null, c.map((f, g) => /* @__PURE__ */ e.createElement("li", { key: `list-item-${g}` }, /* @__PURE__ */ e.createElement(gs, N({ index: g, page: f }, s)))), r < m - 1 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(We, { direction: "right" }), /* @__PURE__ */ e.createElement("li", { className: "pds-pager__item pds-pager__item--last" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Last Page"), /* @__PURE__ */ e.createElement(
|
|
6861
6861
|
"a",
|
|
6862
6862
|
{
|
|
6863
6863
|
href: b[b.length - 1].link,
|
|
@@ -6868,7 +6868,7 @@ const T1 = (n) => {
|
|
|
6868
6868
|
"Last"
|
|
6869
6869
|
))) : null)
|
|
6870
6870
|
));
|
|
6871
|
-
},
|
|
6871
|
+
}, S1 = (n) => {
|
|
6872
6872
|
var s = M(n, []);
|
|
6873
6873
|
const { currentKey: a, headingId: r, itemLength: u } = Xe(Je);
|
|
6874
6874
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -6881,16 +6881,16 @@ const T1 = (n) => {
|
|
|
6881
6881
|
/* @__PURE__ */ e.createElement("div", { id: r, className: "visually-hidden" }, "Pagination"),
|
|
6882
6882
|
/* @__PURE__ */ e.createElement("ul", { className: "pds-pager__items" }, a > 0 ? /* @__PURE__ */ e.createElement(We, { arrowText: "Previous", direction: "left" }) : null, /* @__PURE__ */ e.createElement("li", { className: "pds-pager__items-mini" }, `${a + 1} of ${u}`), a < u - 1 ? /* @__PURE__ */ e.createElement(We, { arrowText: "Next", direction: "right" }) : null)
|
|
6883
6883
|
);
|
|
6884
|
-
},
|
|
6884
|
+
}, T1 = (s, n, ...a) => {
|
|
6885
6885
|
switch (s) {
|
|
6886
6886
|
case "basic":
|
|
6887
|
-
return /* @__PURE__ */ e.createElement(
|
|
6887
|
+
return /* @__PURE__ */ e.createElement(I1, N({}, a));
|
|
6888
6888
|
case "mini":
|
|
6889
|
-
return /* @__PURE__ */ e.createElement(
|
|
6889
|
+
return /* @__PURE__ */ e.createElement(S1, N({ location: n }, a));
|
|
6890
6890
|
case "advanced":
|
|
6891
|
-
return /* @__PURE__ */ e.createElement(
|
|
6891
|
+
return /* @__PURE__ */ e.createElement(x1, N({}, a));
|
|
6892
6892
|
}
|
|
6893
|
-
},
|
|
6893
|
+
}, O1 = (o) => {
|
|
6894
6894
|
var m = o, {
|
|
6895
6895
|
buttonCallback: s = null,
|
|
6896
6896
|
headingId: n = "pager-heading",
|
|
@@ -6907,7 +6907,7 @@ const T1 = (n) => {
|
|
|
6907
6907
|
"type"
|
|
6908
6908
|
]);
|
|
6909
6909
|
return /* @__PURE__ */ e.createElement(
|
|
6910
|
-
|
|
6910
|
+
ps,
|
|
6911
6911
|
N({
|
|
6912
6912
|
pages: a,
|
|
6913
6913
|
render: u,
|
|
@@ -6915,10 +6915,10 @@ const T1 = (n) => {
|
|
|
6915
6915
|
buttonCallback: s,
|
|
6916
6916
|
headingId: n
|
|
6917
6917
|
}, l),
|
|
6918
|
-
|
|
6918
|
+
T1(c)
|
|
6919
6919
|
);
|
|
6920
6920
|
};
|
|
6921
|
-
|
|
6921
|
+
O1.propTypes = {
|
|
6922
6922
|
/**
|
|
6923
6923
|
* Optional function for the navigation buttons
|
|
6924
6924
|
*/
|
|
@@ -6948,7 +6948,7 @@ q1.propTypes = {
|
|
|
6948
6948
|
*/
|
|
6949
6949
|
className: t.string
|
|
6950
6950
|
};
|
|
6951
|
-
const
|
|
6951
|
+
const R1 = (u) => {
|
|
6952
6952
|
var c = u, {
|
|
6953
6953
|
children: s,
|
|
6954
6954
|
variant: n = "default",
|
|
@@ -6967,7 +6967,7 @@ const D1 = (u) => {
|
|
|
6967
6967
|
s
|
|
6968
6968
|
);
|
|
6969
6969
|
};
|
|
6970
|
-
|
|
6970
|
+
R1.propTypes = {
|
|
6971
6971
|
/**
|
|
6972
6972
|
* Panel content.
|
|
6973
6973
|
*/
|
|
@@ -6987,7 +6987,7 @@ D1.propTypes = {
|
|
|
6987
6987
|
*/
|
|
6988
6988
|
className: t.string
|
|
6989
6989
|
};
|
|
6990
|
-
const Ae = 8, Zt = 14,
|
|
6990
|
+
const Ae = 8, Zt = 14, q1 = 6, D1 = (i) => {
|
|
6991
6991
|
var b = i, {
|
|
6992
6992
|
content: s,
|
|
6993
6993
|
customTrigger: n = !1,
|
|
@@ -7023,10 +7023,10 @@ const Ae = 8, Zt = 14, A1 = 6, P1 = (i) => {
|
|
|
7023
7023
|
g(T), T || u();
|
|
7024
7024
|
},
|
|
7025
7025
|
middleware: [
|
|
7026
|
-
|
|
7027
|
-
|
|
7028
|
-
|
|
7029
|
-
|
|
7026
|
+
Xt(Ae + q1 + $),
|
|
7027
|
+
Qt({ padding: 8 }),
|
|
7028
|
+
Jt({ padding: 8 }),
|
|
7029
|
+
Ds({ element: C })
|
|
7030
7030
|
],
|
|
7031
7031
|
whileElementsMounted: Re
|
|
7032
7032
|
}), H = () => {
|
|
@@ -7068,7 +7068,7 @@ const Ae = 8, Zt = 14, A1 = 6, P1 = (i) => {
|
|
|
7068
7068
|
}
|
|
7069
7069
|
))
|
|
7070
7070
|
),
|
|
7071
|
-
B && /* @__PURE__ */ e.createElement(
|
|
7071
|
+
B && /* @__PURE__ */ e.createElement(es, { context: V, modal: !1 }, /* @__PURE__ */ e.createElement(
|
|
7072
7072
|
"div",
|
|
7073
7073
|
N({
|
|
7074
7074
|
className: `${p}__container`,
|
|
@@ -7076,7 +7076,7 @@ const Ae = 8, Zt = 14, A1 = 6, P1 = (i) => {
|
|
|
7076
7076
|
style: w
|
|
7077
7077
|
}, q()),
|
|
7078
7078
|
/* @__PURE__ */ e.createElement(
|
|
7079
|
-
|
|
7079
|
+
As,
|
|
7080
7080
|
{
|
|
7081
7081
|
ref: C,
|
|
7082
7082
|
context: V,
|
|
@@ -7093,7 +7093,7 @@ const Ae = 8, Zt = 14, A1 = 6, P1 = (i) => {
|
|
|
7093
7093
|
))
|
|
7094
7094
|
);
|
|
7095
7095
|
};
|
|
7096
|
-
|
|
7096
|
+
D1.propTypes = {
|
|
7097
7097
|
/**
|
|
7098
7098
|
* Content to display in the popover.
|
|
7099
7099
|
*/
|
|
@@ -7148,7 +7148,7 @@ P1.propTypes = {
|
|
|
7148
7148
|
*/
|
|
7149
7149
|
className: t.string
|
|
7150
7150
|
};
|
|
7151
|
-
const
|
|
7151
|
+
const hs = (o) => {
|
|
7152
7152
|
var m = o, {
|
|
7153
7153
|
color: s = "transparent",
|
|
7154
7154
|
hasStatusIndicator: n = !1,
|
|
@@ -7173,7 +7173,7 @@ const bs = (o) => {
|
|
|
7173
7173
|
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [i, b].join(" ").trim() }, u && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r, " ", u)),
|
|
7174
7174
|
/* @__PURE__ */ e.createElement("span", { className: `${d}__label` }, a)
|
|
7175
7175
|
);
|
|
7176
|
-
},
|
|
7176
|
+
}, A1 = (b) => {
|
|
7177
7177
|
var f = b, {
|
|
7178
7178
|
actionPrimary: s,
|
|
7179
7179
|
actionSecondary: n,
|
|
@@ -7329,7 +7329,7 @@ const bs = (o) => {
|
|
|
7329
7329
|
className: [g, _].join(" ").trim().replace(/\s+/g, " ")
|
|
7330
7330
|
},
|
|
7331
7331
|
d && /* @__PURE__ */ e.createElement(
|
|
7332
|
-
|
|
7332
|
+
hs,
|
|
7333
7333
|
{
|
|
7334
7334
|
className: `${g}__status-badge`,
|
|
7335
7335
|
type: d,
|
|
@@ -7343,7 +7343,7 @@ const bs = (o) => {
|
|
|
7343
7343
|
a && S
|
|
7344
7344
|
);
|
|
7345
7345
|
};
|
|
7346
|
-
|
|
7346
|
+
A1.propTypes = {
|
|
7347
7347
|
/**
|
|
7348
7348
|
* Primary card action
|
|
7349
7349
|
*/
|
|
@@ -7427,7 +7427,7 @@ j1.propTypes = {
|
|
|
7427
7427
|
*/
|
|
7428
7428
|
containerClassName: t.string
|
|
7429
7429
|
};
|
|
7430
|
-
const
|
|
7430
|
+
const P1 = (m) => {
|
|
7431
7431
|
var d = m, {
|
|
7432
7432
|
id: s,
|
|
7433
7433
|
label: n,
|
|
@@ -7466,7 +7466,7 @@ const W1 = (m) => {
|
|
|
7466
7466
|
a && /* @__PURE__ */ e.createElement("div", { className: `${i}__message` }, a)
|
|
7467
7467
|
);
|
|
7468
7468
|
};
|
|
7469
|
-
|
|
7469
|
+
P1.propTypes = {
|
|
7470
7470
|
/**
|
|
7471
7471
|
* ID of the Progress Bar. If not provided, a unique ID will be generated.
|
|
7472
7472
|
*/
|
|
@@ -7496,7 +7496,7 @@ W1.propTypes = {
|
|
|
7496
7496
|
*/
|
|
7497
7497
|
className: t.string
|
|
7498
7498
|
};
|
|
7499
|
-
const
|
|
7499
|
+
const j1 = 3.815, W1 = 4.678, B1 = 5.96, fs = (d) => {
|
|
7500
7500
|
var h = d, {
|
|
7501
7501
|
id: s,
|
|
7502
7502
|
innerLabel: n,
|
|
@@ -7517,8 +7517,8 @@ const B1 = 3.815, F1 = 4.678, Z1 = 5.96, _s = (d) => {
|
|
|
7517
7517
|
"className"
|
|
7518
7518
|
]);
|
|
7519
7519
|
const i = s || Me(), b = "pds-progress-ring", f = u ? `${b}__label` : "visually-hidden", g = `${b}__loading-text ${b}__loading-text--${l}`, E = (k) => k * 16;
|
|
7520
|
-
let p = E(
|
|
7521
|
-
l === "sm" && (p = E(
|
|
7520
|
+
let p = E(W1), _ = 7;
|
|
7521
|
+
l === "sm" && (p = E(j1), _ = _ / 1.25), l === "lg" && (p = E(B1), _ = _ * 1.25);
|
|
7522
7522
|
const $ = p / 2 - _ / 2, C = `${$ / 100}rem`, v = 2 * Math.PI * $, w = v - v * r / 100;
|
|
7523
7523
|
let V;
|
|
7524
7524
|
return n ? V = n : c ? V = `${r}%` : V = "", /* @__PURE__ */ e.createElement(
|
|
@@ -7585,7 +7585,7 @@ const B1 = 3.815, F1 = 4.678, Z1 = 5.96, _s = (d) => {
|
|
|
7585
7585
|
)
|
|
7586
7586
|
);
|
|
7587
7587
|
};
|
|
7588
|
-
|
|
7588
|
+
fs.propTypes = {
|
|
7589
7589
|
/**
|
|
7590
7590
|
* ID of the Progress Ring. If not provided, a unique ID will be generated.
|
|
7591
7591
|
*/
|
|
@@ -7619,7 +7619,7 @@ _s.propTypes = {
|
|
|
7619
7619
|
*/
|
|
7620
7620
|
className: t.string
|
|
7621
7621
|
};
|
|
7622
|
-
const
|
|
7622
|
+
const F1 = (l) => {
|
|
7623
7623
|
var o = l, {
|
|
7624
7624
|
attribution: s,
|
|
7625
7625
|
image: n,
|
|
@@ -7649,7 +7649,7 @@ const U1 = (l) => {
|
|
|
7649
7649
|
), /* @__PURE__ */ e.createElement("div", { className: `${m}__attribution` }, /* @__PURE__ */ e.createElement("span", { className: `${m}__name` }, s.name), s.title && /* @__PURE__ */ e.createElement("span", { className: `${m}__title` }, ", ", s.title), s.org && /* @__PURE__ */ e.createElement("span", { className: `${m}__org` }, ", ", s.org))), /* @__PURE__ */ e.createElement("div", { className: `${m}__icon ${m}__icon--after` }, /* @__PURE__ */ e.createElement(j, { iconName: "quotesRight", iconSize: "4xl" })))
|
|
7650
7650
|
);
|
|
7651
7651
|
};
|
|
7652
|
-
|
|
7652
|
+
F1.propTypes = {
|
|
7653
7653
|
/**
|
|
7654
7654
|
* Attribution for the quote
|
|
7655
7655
|
*/
|
|
@@ -7675,7 +7675,7 @@ U1.propTypes = {
|
|
|
7675
7675
|
*/
|
|
7676
7676
|
className: t.string
|
|
7677
7677
|
};
|
|
7678
|
-
const
|
|
7678
|
+
const Z1 = (i) => {
|
|
7679
7679
|
var b = i, {
|
|
7680
7680
|
disabled: s = !1,
|
|
7681
7681
|
id: n,
|
|
@@ -7743,7 +7743,7 @@ const G1 = (i) => {
|
|
|
7743
7743
|
)
|
|
7744
7744
|
);
|
|
7745
7745
|
};
|
|
7746
|
-
|
|
7746
|
+
Z1.propTypes = {
|
|
7747
7747
|
/**
|
|
7748
7748
|
* Is the radio group field disabled?
|
|
7749
7749
|
*/
|
|
@@ -7811,7 +7811,7 @@ const wt = {
|
|
|
7811
7811
|
success: "circleCheck",
|
|
7812
7812
|
critical: "diamondExclamation",
|
|
7813
7813
|
discovery: "squareQuestion"
|
|
7814
|
-
},
|
|
7814
|
+
}, U1 = (h) => {
|
|
7815
7815
|
var i = h, {
|
|
7816
7816
|
dismissLabel: s = "Dismiss",
|
|
7817
7817
|
id: n,
|
|
@@ -7885,7 +7885,7 @@ const wt = {
|
|
|
7885
7885
|
)
|
|
7886
7886
|
);
|
|
7887
7887
|
};
|
|
7888
|
-
|
|
7888
|
+
U1.propTypes = {
|
|
7889
7889
|
/**
|
|
7890
7890
|
* Label for dismiss button. Provide a translation string if needed.
|
|
7891
7891
|
*/
|
|
@@ -7935,7 +7935,7 @@ K1.propTypes = {
|
|
|
7935
7935
|
*/
|
|
7936
7936
|
className: t.string
|
|
7937
7937
|
};
|
|
7938
|
-
const
|
|
7938
|
+
const G1 = (m) => {
|
|
7939
7939
|
var d = m, {
|
|
7940
7940
|
ariaLabel: s = "Secondary navigation",
|
|
7941
7941
|
headingText: n,
|
|
@@ -8024,7 +8024,7 @@ const Y1 = (m) => {
|
|
|
8024
8024
|
f ? _ : $
|
|
8025
8025
|
);
|
|
8026
8026
|
};
|
|
8027
|
-
|
|
8027
|
+
G1.propTypes = {
|
|
8028
8028
|
/**
|
|
8029
8029
|
* Aria label for the navigation.
|
|
8030
8030
|
*/
|
|
@@ -8057,7 +8057,7 @@ Y1.propTypes = {
|
|
|
8057
8057
|
*/
|
|
8058
8058
|
className: t.string
|
|
8059
8059
|
};
|
|
8060
|
-
const
|
|
8060
|
+
const K1 = (m) => {
|
|
8061
8061
|
var d = m, {
|
|
8062
8062
|
ariaLabel: s = "Secondary navigation",
|
|
8063
8063
|
headingText: n,
|
|
@@ -8169,7 +8169,7 @@ const X1 = (m) => {
|
|
|
8169
8169
|
f ? _ : $
|
|
8170
8170
|
);
|
|
8171
8171
|
};
|
|
8172
|
-
|
|
8172
|
+
K1.propTypes = {
|
|
8173
8173
|
/**
|
|
8174
8174
|
* Aria label for the navigation.
|
|
8175
8175
|
*/
|
|
@@ -8202,7 +8202,7 @@ X1.propTypes = {
|
|
|
8202
8202
|
*/
|
|
8203
8203
|
className: t.string
|
|
8204
8204
|
};
|
|
8205
|
-
const
|
|
8205
|
+
const Y1 = (d) => {
|
|
8206
8206
|
var h = d, {
|
|
8207
8207
|
headingLevel: s = "h3",
|
|
8208
8208
|
gotoText: n = "Go to",
|
|
@@ -8226,7 +8226,7 @@ const Q1 = (d) => {
|
|
|
8226
8226
|
let f = "";
|
|
8227
8227
|
l === "Active" && (f = "success"), l === "Frozen" && (f = "frozen");
|
|
8228
8228
|
const g = /* @__PURE__ */ e.createElement(
|
|
8229
|
-
|
|
8229
|
+
hs,
|
|
8230
8230
|
{
|
|
8231
8231
|
label: l,
|
|
8232
8232
|
statusType: f,
|
|
@@ -8243,7 +8243,7 @@ const Q1 = (d) => {
|
|
|
8243
8243
|
/* @__PURE__ */ e.createElement("div", { className: `${i}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${i}__heading` }, /* @__PURE__ */ e.createElement(b, { className: `${i}__site-name pds-ts-l` }, u), g), /* @__PURE__ */ e.createElement("div", { className: `${i}__plan` }, c))
|
|
8244
8244
|
);
|
|
8245
8245
|
};
|
|
8246
|
-
|
|
8246
|
+
Y1.propTypes = {
|
|
8247
8247
|
/**
|
|
8248
8248
|
* Heading level or `span`.
|
|
8249
8249
|
*/
|
|
@@ -8277,7 +8277,7 @@ Q1.propTypes = {
|
|
|
8277
8277
|
*/
|
|
8278
8278
|
className: t.string
|
|
8279
8279
|
};
|
|
8280
|
-
const
|
|
8280
|
+
const X1 = (c) => {
|
|
8281
8281
|
var l = c, {
|
|
8282
8282
|
containerWidth: s = "standard",
|
|
8283
8283
|
children: n,
|
|
@@ -8304,7 +8304,7 @@ const J1 = (c) => {
|
|
|
8304
8304
|
/* @__PURE__ */ e.createElement("div", { className: m }, n && /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${o}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__copyright` }, "© ", d, " Pantheon Systems, Inc."), h && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), i && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), b && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), f && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), g && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement")))
|
|
8305
8305
|
);
|
|
8306
8306
|
};
|
|
8307
|
-
|
|
8307
|
+
X1.propTypes = {
|
|
8308
8308
|
/**
|
|
8309
8309
|
* PDS container width.
|
|
8310
8310
|
*/
|
|
@@ -8330,7 +8330,7 @@ J1.propTypes = {
|
|
|
8330
8330
|
*/
|
|
8331
8331
|
className: t.string
|
|
8332
8332
|
};
|
|
8333
|
-
const
|
|
8333
|
+
const bs = (u) => {
|
|
8334
8334
|
var c = u, {
|
|
8335
8335
|
destination: s = "main",
|
|
8336
8336
|
text: n = "Skip to main content",
|
|
@@ -8349,7 +8349,7 @@ const vs = (u) => {
|
|
|
8349
8349
|
n
|
|
8350
8350
|
);
|
|
8351
8351
|
};
|
|
8352
|
-
|
|
8352
|
+
bs.propTypes = {
|
|
8353
8353
|
/**
|
|
8354
8354
|
* The ID of the element to skip to.
|
|
8355
8355
|
*/
|
|
@@ -8363,7 +8363,7 @@ vs.propTypes = {
|
|
|
8363
8363
|
*/
|
|
8364
8364
|
className: t.string
|
|
8365
8365
|
};
|
|
8366
|
-
const
|
|
8366
|
+
const Q1 = (r) => {
|
|
8367
8367
|
var u = r, {
|
|
8368
8368
|
linkItems: s = ["facebook", "x", "linkedin", "youtube", "instagram"],
|
|
8369
8369
|
className: n
|
|
@@ -8389,7 +8389,7 @@ const e2 = (r) => {
|
|
|
8389
8389
|
)))
|
|
8390
8390
|
);
|
|
8391
8391
|
};
|
|
8392
|
-
|
|
8392
|
+
Q1.propTypes = {
|
|
8393
8393
|
/**
|
|
8394
8394
|
* Array of social media links
|
|
8395
8395
|
*/
|
|
@@ -8430,7 +8430,7 @@ const Nt = {
|
|
|
8430
8430
|
url: "https://www.youtube.com/user/GetPantheon",
|
|
8431
8431
|
label: "Pantheon on YouTube"
|
|
8432
8432
|
}
|
|
8433
|
-
},
|
|
8433
|
+
}, J1 = (o) => {
|
|
8434
8434
|
var m = o, {
|
|
8435
8435
|
actionItems: s,
|
|
8436
8436
|
disabled: n,
|
|
@@ -8475,7 +8475,7 @@ const Nt = {
|
|
|
8475
8475
|
}, l),
|
|
8476
8476
|
f,
|
|
8477
8477
|
/* @__PURE__ */ e.createElement(
|
|
8478
|
-
|
|
8478
|
+
ds,
|
|
8479
8479
|
{
|
|
8480
8480
|
className: `${d}__menu-button`,
|
|
8481
8481
|
label: a,
|
|
@@ -8489,12 +8489,12 @@ const Nt = {
|
|
|
8489
8489
|
)
|
|
8490
8490
|
);
|
|
8491
8491
|
};
|
|
8492
|
-
|
|
8492
|
+
J1.propTypes = {
|
|
8493
8493
|
/**
|
|
8494
8494
|
* Array of menu items
|
|
8495
8495
|
*/
|
|
8496
8496
|
actionItems: t.arrayOf(
|
|
8497
|
-
t.oneOfType([
|
|
8497
|
+
t.oneOfType([ts, ss])
|
|
8498
8498
|
),
|
|
8499
8499
|
/**
|
|
8500
8500
|
* Is the button disabled?
|
|
@@ -8517,7 +8517,7 @@ t2.propTypes = {
|
|
|
8517
8517
|
*/
|
|
8518
8518
|
className: t.string
|
|
8519
8519
|
};
|
|
8520
|
-
const
|
|
8520
|
+
const e2 = (r) => {
|
|
8521
8521
|
var u = r, { listItems: s, className: n } = u, a = M(u, ["listItems", "className"]);
|
|
8522
8522
|
const c = "pds-tile-list", l = "pds-tile-list--stats", o = ({ item: m }) => {
|
|
8523
8523
|
const { imageSrc: d, stat: h, description: i } = m;
|
|
@@ -8531,7 +8531,7 @@ const s2 = (r) => {
|
|
|
8531
8531
|
s.map((m, d) => /* @__PURE__ */ e.createElement(o, { key: d, item: m }))
|
|
8532
8532
|
);
|
|
8533
8533
|
};
|
|
8534
|
-
|
|
8534
|
+
e2.propTypes = {
|
|
8535
8535
|
/**
|
|
8536
8536
|
* Array of list Items
|
|
8537
8537
|
*/
|
|
@@ -8556,7 +8556,7 @@ s2.propTypes = {
|
|
|
8556
8556
|
*/
|
|
8557
8557
|
className: t.string
|
|
8558
8558
|
};
|
|
8559
|
-
const
|
|
8559
|
+
const t2 = (u) => {
|
|
8560
8560
|
var c = u, {
|
|
8561
8561
|
label: s = null,
|
|
8562
8562
|
type: n = "neutral",
|
|
@@ -8583,7 +8583,7 @@ const n2 = (u) => {
|
|
|
8583
8583
|
s && /* @__PURE__ */ e.createElement("span", { className: "pds-status-indicator__label" }, s)
|
|
8584
8584
|
);
|
|
8585
8585
|
};
|
|
8586
|
-
|
|
8586
|
+
t2.propTypes = {
|
|
8587
8587
|
/**
|
|
8588
8588
|
* Status label text
|
|
8589
8589
|
*/
|
|
@@ -8605,7 +8605,7 @@ n2.propTypes = {
|
|
|
8605
8605
|
*/
|
|
8606
8606
|
className: t.string
|
|
8607
8607
|
};
|
|
8608
|
-
const
|
|
8608
|
+
const s2 = (u) => {
|
|
8609
8609
|
var c = u, {
|
|
8610
8610
|
steps: s,
|
|
8611
8611
|
translatableLabels: n = {
|
|
@@ -8698,7 +8698,7 @@ const a2 = (u) => {
|
|
|
8698
8698
|
className: `${o}__step`
|
|
8699
8699
|
},
|
|
8700
8700
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__progress-indicator` }, /* @__PURE__ */ e.createElement(
|
|
8701
|
-
|
|
8701
|
+
fs,
|
|
8702
8702
|
{
|
|
8703
8703
|
label: "Step progress",
|
|
8704
8704
|
size: "sm",
|
|
@@ -8735,7 +8735,7 @@ const a2 = (u) => {
|
|
|
8735
8735
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, $)
|
|
8736
8736
|
));
|
|
8737
8737
|
};
|
|
8738
|
-
|
|
8738
|
+
s2.propTypes = {
|
|
8739
8739
|
/**
|
|
8740
8740
|
* An array of step objects
|
|
8741
8741
|
*/
|
|
@@ -8777,14 +8777,14 @@ a2.propTypes = {
|
|
|
8777
8777
|
*/
|
|
8778
8778
|
className: t.string
|
|
8779
8779
|
};
|
|
8780
|
-
const
|
|
8780
|
+
const n2 = (u) => {
|
|
8781
8781
|
var c = u, { headers: s, rowData: n, className: a } = c, r = M(c, ["headers", "rowData", "className"]);
|
|
8782
8782
|
const [l] = x(s), [o, m] = x(n), [d, h] = x({ order: "asc", key: "" }), i = (p) => {
|
|
8783
8783
|
m(o.sort((_, $) => _[p].localeCompare($[p]))), h({ order: "desc", key: p });
|
|
8784
8784
|
}, b = (p) => {
|
|
8785
8785
|
m(o.sort((_, $) => $[p].localeCompare(_[p]))), h({ order: "asc", key: p });
|
|
8786
8786
|
}, f = (p, _) => {
|
|
8787
|
-
h(
|
|
8787
|
+
h(ye(N({}, d), { key: _ })), d.order === "asc" ? i(_) : b(_);
|
|
8788
8788
|
}, g = (p, _) => /* @__PURE__ */ e.createElement("tr", { id: _, key: `table-row-${_}` }, p.map(($, C) => /* @__PURE__ */ e.createElement("td", { key: `${_}-cell-${C}` }, /* @__PURE__ */ e.createElement("span", null, $)))), E = "pds-table";
|
|
8789
8789
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8790
8790
|
"table",
|
|
@@ -8823,7 +8823,7 @@ const l2 = (u) => {
|
|
|
8823
8823
|
/* @__PURE__ */ e.createElement("tbody", null, o.map((p, _) => g(p, _)))
|
|
8824
8824
|
));
|
|
8825
8825
|
};
|
|
8826
|
-
|
|
8826
|
+
n2.propTypes = {
|
|
8827
8827
|
headers: t.arrayOf(t.object),
|
|
8828
8828
|
rowData: t.arrayOf(t.node),
|
|
8829
8829
|
/**
|
|
@@ -8831,7 +8831,7 @@ l2.propTypes = {
|
|
|
8831
8831
|
*/
|
|
8832
8832
|
className: t.string
|
|
8833
8833
|
};
|
|
8834
|
-
const
|
|
8834
|
+
const a2 = (d) => {
|
|
8835
8835
|
var h = d, {
|
|
8836
8836
|
appendIds: s = !1,
|
|
8837
8837
|
ariaLabel: n = "Table of contents",
|
|
@@ -8977,7 +8977,7 @@ const r2 = (d) => {
|
|
|
8977
8977
|
/* @__PURE__ */ e.createElement(H, { headings: _, activeID: $ })
|
|
8978
8978
|
);
|
|
8979
8979
|
};
|
|
8980
|
-
|
|
8980
|
+
a2.propTypes = {
|
|
8981
8981
|
/**
|
|
8982
8982
|
* Whether to append the id to the URL when a link is clicked.
|
|
8983
8983
|
*/
|
|
@@ -9011,7 +9011,7 @@ r2.propTypes = {
|
|
|
9011
9011
|
*/
|
|
9012
9012
|
className: t.string
|
|
9013
9013
|
};
|
|
9014
|
-
const
|
|
9014
|
+
const l2 = (l) => {
|
|
9015
9015
|
var o = l, {
|
|
9016
9016
|
ariaLabel: s,
|
|
9017
9017
|
defaultSelected: n = 0,
|
|
@@ -9150,7 +9150,7 @@ const c2 = (l) => {
|
|
|
9150
9150
|
))
|
|
9151
9151
|
));
|
|
9152
9152
|
};
|
|
9153
|
-
|
|
9153
|
+
l2.propTypes = {
|
|
9154
9154
|
/**
|
|
9155
9155
|
* Sets tabset aria label
|
|
9156
9156
|
*/
|
|
@@ -9166,7 +9166,7 @@ c2.propTypes = {
|
|
|
9166
9166
|
/**
|
|
9167
9167
|
* Array of objects for tab data
|
|
9168
9168
|
*/
|
|
9169
|
-
tabs:
|
|
9169
|
+
tabs: Is(
|
|
9170
9170
|
t.shape({
|
|
9171
9171
|
/**
|
|
9172
9172
|
* Sets if tab disabled (optional)
|
|
@@ -9196,15 +9196,15 @@ c2.propTypes = {
|
|
|
9196
9196
|
className: t.string
|
|
9197
9197
|
};
|
|
9198
9198
|
let Mt = [
|
|
9199
|
-
"color-
|
|
9200
|
-
"color-
|
|
9201
|
-
"color-
|
|
9202
|
-
"color-
|
|
9203
|
-
"color-
|
|
9204
|
-
"color-
|
|
9205
|
-
"color-
|
|
9206
|
-
"color-
|
|
9207
|
-
"color-
|
|
9199
|
+
"color-1",
|
|
9200
|
+
"color-2",
|
|
9201
|
+
"color-3",
|
|
9202
|
+
"color-4",
|
|
9203
|
+
"color-5",
|
|
9204
|
+
"color-6",
|
|
9205
|
+
"color-7",
|
|
9206
|
+
"color-8",
|
|
9207
|
+
"color-9",
|
|
9208
9208
|
"color-10",
|
|
9209
9209
|
"color-11",
|
|
9210
9210
|
"color-12",
|
|
@@ -9217,10 +9217,10 @@ let Mt = [
|
|
|
9217
9217
|
"color-19",
|
|
9218
9218
|
"color-20"
|
|
9219
9219
|
];
|
|
9220
|
-
const
|
|
9221
|
-
const n = parseInt(
|
|
9220
|
+
const r2 = (s) => {
|
|
9221
|
+
const n = parseInt(Kt(s), 16);
|
|
9222
9222
|
return Mt[n % Mt.length];
|
|
9223
|
-
},
|
|
9223
|
+
}, c2 = (s, n) => s.length > n ? s.slice(0, n) + " ..." : s, i2 = (m) => {
|
|
9224
9224
|
var d = m, {
|
|
9225
9225
|
linkContent: s,
|
|
9226
9226
|
isRemovable: n,
|
|
@@ -9238,42 +9238,33 @@ const i2 = (s) => {
|
|
|
9238
9238
|
"tagLabel",
|
|
9239
9239
|
"className"
|
|
9240
9240
|
]);
|
|
9241
|
-
const h
|
|
9242
|
-
|
|
9241
|
+
const [h, i] = x(!0), b = "pds-tag", f = u ? `${b}--${u}` : `${b}--${r2(c)}`, g = h ? null : "pds-tag--hide", E = () => {
|
|
9242
|
+
i((C) => !C);
|
|
9243
9243
|
};
|
|
9244
|
-
let
|
|
9245
|
-
return s && !n ? (
|
|
9246
|
-
|
|
9247
|
-
|
|
9248
|
-
href:
|
|
9249
|
-
to:
|
|
9250
|
-
className: [
|
|
9251
|
-
}, o),
|
|
9252
|
-
|
|
9253
|
-
}),
|
|
9254
|
-
/* @__PURE__ */ e.createElement(
|
|
9255
|
-
"span",
|
|
9256
|
-
{
|
|
9257
|
-
className: `${h}__label`,
|
|
9258
|
-
title: c
|
|
9259
|
-
},
|
|
9260
|
-
o2(c, 20)
|
|
9261
|
-
),
|
|
9244
|
+
let p, _, $;
|
|
9245
|
+
return s && !n ? (p = s.type, _ = s.props.href ? "href" : "to", $ = _ === "href" ? s.props.href : s.props.to) : (p = "span", _ = null, $ = null), /* @__PURE__ */ e.createElement(
|
|
9246
|
+
p,
|
|
9247
|
+
N({
|
|
9248
|
+
href: _ === "href" ? $ : null,
|
|
9249
|
+
to: _ === "to" ? $ : null,
|
|
9250
|
+
className: [b, f, g, l].join(" ").trim().replace(/\s+/g, " ")
|
|
9251
|
+
}, o),
|
|
9252
|
+
/* @__PURE__ */ e.createElement("span", { className: `${b}__label`, title: c }, c2(c, 20)),
|
|
9262
9253
|
n ? /* @__PURE__ */ e.createElement(
|
|
9263
9254
|
"button",
|
|
9264
9255
|
{
|
|
9265
9256
|
type: "button",
|
|
9266
|
-
className: `${
|
|
9257
|
+
className: `${b}__remove`,
|
|
9267
9258
|
"aria-label": `${r}: ${c}`,
|
|
9268
9259
|
onClick: () => {
|
|
9269
|
-
|
|
9260
|
+
E(), a();
|
|
9270
9261
|
}
|
|
9271
9262
|
},
|
|
9272
|
-
/* @__PURE__ */ e.createElement(j, { iconName: "xmark", className: `${
|
|
9263
|
+
/* @__PURE__ */ e.createElement(j, { iconName: "xmark", className: `${b}__remove-icon` })
|
|
9273
9264
|
) : null
|
|
9274
9265
|
);
|
|
9275
9266
|
};
|
|
9276
|
-
|
|
9267
|
+
i2.propTypes = {
|
|
9277
9268
|
/**
|
|
9278
9269
|
* Should the tag be a link? If yes, provide a link element.
|
|
9279
9270
|
*/
|
|
@@ -9303,7 +9294,7 @@ d2.propTypes = {
|
|
|
9303
9294
|
*/
|
|
9304
9295
|
className: t.string
|
|
9305
9296
|
};
|
|
9306
|
-
const
|
|
9297
|
+
const o2 = (p) => {
|
|
9307
9298
|
var _ = p, {
|
|
9308
9299
|
counterFunction: s = () => {
|
|
9309
9300
|
},
|
|
@@ -9388,7 +9379,7 @@ const m2 = (p) => {
|
|
|
9388
9379
|
)
|
|
9389
9380
|
);
|
|
9390
9381
|
};
|
|
9391
|
-
|
|
9382
|
+
o2.propTypes = {
|
|
9392
9383
|
/**
|
|
9393
9384
|
* If a counter is desired provide a function that accepts the input's value and will return a string.
|
|
9394
9385
|
*/
|
|
@@ -9467,7 +9458,7 @@ m2.propTypes = {
|
|
|
9467
9458
|
*/
|
|
9468
9459
|
className: t.string
|
|
9469
9460
|
};
|
|
9470
|
-
const
|
|
9461
|
+
const _s = (m) => {
|
|
9471
9462
|
var d = m, {
|
|
9472
9463
|
displayType: s = "border",
|
|
9473
9464
|
headingLevel: n = "span",
|
|
@@ -9495,7 +9486,7 @@ const Es = (m) => {
|
|
|
9495
9486
|
a && /* @__PURE__ */ e.createElement(b, { className: `${h}__heading pds-ts-xl` }, a),
|
|
9496
9487
|
c && /* @__PURE__ */ e.createElement("div", { className: `${h}__summary` }, /* @__PURE__ */ e.createElement("p", null, c)),
|
|
9497
9488
|
u && (s == "border" || s == "clean") && /* @__PURE__ */ e.createElement(
|
|
9498
|
-
|
|
9489
|
+
cs,
|
|
9499
9490
|
{
|
|
9500
9491
|
linkContent: u,
|
|
9501
9492
|
size: "sm",
|
|
@@ -9504,7 +9495,7 @@ const Es = (m) => {
|
|
|
9504
9495
|
)
|
|
9505
9496
|
), /* @__PURE__ */ e.createElement("span", { className: `${h}__separator` }));
|
|
9506
9497
|
};
|
|
9507
|
-
|
|
9498
|
+
_s.propTypes = {
|
|
9508
9499
|
/**
|
|
9509
9500
|
* Visual display type.
|
|
9510
9501
|
*/
|
|
@@ -9534,7 +9525,7 @@ Es.propTypes = {
|
|
|
9534
9525
|
*/
|
|
9535
9526
|
className: t.string
|
|
9536
9527
|
};
|
|
9537
|
-
const
|
|
9528
|
+
const d2 = (c) => {
|
|
9538
9529
|
var l = c, {
|
|
9539
9530
|
displayType: s = "border",
|
|
9540
9531
|
headingLevel: n = "h2",
|
|
@@ -9553,7 +9544,7 @@ const u2 = (c) => {
|
|
|
9553
9544
|
className: [o, m, r].join(" ").trim()
|
|
9554
9545
|
}, u),
|
|
9555
9546
|
a.map((d, h) => /* @__PURE__ */ e.createElement(
|
|
9556
|
-
|
|
9547
|
+
_s,
|
|
9557
9548
|
{
|
|
9558
9549
|
key: h,
|
|
9559
9550
|
displayType: s,
|
|
@@ -9567,7 +9558,7 @@ const u2 = (c) => {
|
|
|
9567
9558
|
))
|
|
9568
9559
|
);
|
|
9569
9560
|
};
|
|
9570
|
-
|
|
9561
|
+
d2.propTypes = {
|
|
9571
9562
|
/**
|
|
9572
9563
|
* Visual display type
|
|
9573
9564
|
*/
|
|
@@ -9613,7 +9604,7 @@ const yt = {
|
|
|
9613
9604
|
success: "check",
|
|
9614
9605
|
warning: "triangleExclamation",
|
|
9615
9606
|
critical: "diamondExclamation"
|
|
9616
|
-
},
|
|
9607
|
+
}, vs = ({
|
|
9617
9608
|
children: s,
|
|
9618
9609
|
id: n,
|
|
9619
9610
|
type: a = "info",
|
|
@@ -9652,7 +9643,7 @@ const yt = {
|
|
|
9652
9643
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, o), s)
|
|
9653
9644
|
);
|
|
9654
9645
|
};
|
|
9655
|
-
|
|
9646
|
+
vs.propTypes = {
|
|
9656
9647
|
/**
|
|
9657
9648
|
* Toast message content.
|
|
9658
9649
|
*/
|
|
@@ -9680,7 +9671,7 @@ Cs.propTypes = {
|
|
|
9680
9671
|
*/
|
|
9681
9672
|
className: t.string
|
|
9682
9673
|
};
|
|
9683
|
-
const
|
|
9674
|
+
const m2 = ({
|
|
9684
9675
|
autoCloseDuration: s = 5e3,
|
|
9685
9676
|
limit: n = 5,
|
|
9686
9677
|
position: a = "bottom-right",
|
|
@@ -9688,7 +9679,7 @@ const p2 = ({
|
|
|
9688
9679
|
}) => {
|
|
9689
9680
|
const c = ["pds-toaster", r].join(" ").trim().replace(/\s+/g, " ");
|
|
9690
9681
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
9691
|
-
|
|
9682
|
+
Bs,
|
|
9692
9683
|
{
|
|
9693
9684
|
className: c,
|
|
9694
9685
|
autoClose: s,
|
|
@@ -9698,11 +9689,11 @@ const p2 = ({
|
|
|
9698
9689
|
newestOnTop: !0,
|
|
9699
9690
|
position: a,
|
|
9700
9691
|
role: "status",
|
|
9701
|
-
transition:
|
|
9692
|
+
transition: Fs
|
|
9702
9693
|
}
|
|
9703
9694
|
));
|
|
9704
9695
|
};
|
|
9705
|
-
|
|
9696
|
+
m2.propTypes = {
|
|
9706
9697
|
/**
|
|
9707
9698
|
* Duration in milliseconds before the toast will auto-close.
|
|
9708
9699
|
*/
|
|
@@ -9720,7 +9711,7 @@ p2.propTypes = {
|
|
|
9720
9711
|
*/
|
|
9721
9712
|
className: t.string
|
|
9722
9713
|
};
|
|
9723
|
-
const
|
|
9714
|
+
const u2 = (o) => {
|
|
9724
9715
|
var m = o, {
|
|
9725
9716
|
disabled: s = !1,
|
|
9726
9717
|
id: n,
|
|
@@ -9772,7 +9763,7 @@ const g2 = (o) => {
|
|
|
9772
9763
|
)))
|
|
9773
9764
|
);
|
|
9774
9765
|
};
|
|
9775
|
-
|
|
9766
|
+
u2.propTypes = {
|
|
9776
9767
|
/**
|
|
9777
9768
|
* Is the ToggleButton disabled?
|
|
9778
9769
|
*/
|
|
@@ -9814,7 +9805,7 @@ g2.propTypes = {
|
|
|
9814
9805
|
*/
|
|
9815
9806
|
className: t.string
|
|
9816
9807
|
};
|
|
9817
|
-
const
|
|
9808
|
+
const p2 = (b) => {
|
|
9818
9809
|
var f = b, {
|
|
9819
9810
|
disabled: s = !1,
|
|
9820
9811
|
id: n,
|
|
@@ -9904,7 +9895,7 @@ const h2 = (b) => {
|
|
|
9904
9895
|
)
|
|
9905
9896
|
);
|
|
9906
9897
|
};
|
|
9907
|
-
|
|
9898
|
+
p2.propTypes = {
|
|
9908
9899
|
/**
|
|
9909
9900
|
* Is the switch disabled?
|
|
9910
9901
|
*/
|
|
@@ -9950,7 +9941,7 @@ h2.propTypes = {
|
|
|
9950
9941
|
*/
|
|
9951
9942
|
className: t.string
|
|
9952
9943
|
};
|
|
9953
|
-
const
|
|
9944
|
+
const g2 = (d) => {
|
|
9954
9945
|
var h = d, {
|
|
9955
9946
|
ariaLabel: s = "User menu",
|
|
9956
9947
|
menuItems: n,
|
|
@@ -10079,7 +10070,7 @@ const f2 = (d) => {
|
|
|
10079
10070
|
"aria-expanded",
|
|
10080
10071
|
de.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
10081
10072
|
), de.nextElementSibling.classList.toggle(`${w}__mobile-menu--expanded`);
|
|
10082
|
-
},
|
|
10073
|
+
}, Ne = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10083
10074
|
"button",
|
|
10084
10075
|
{
|
|
10085
10076
|
className: `${w}__toggle`,
|
|
@@ -10104,10 +10095,10 @@ const f2 = (d) => {
|
|
|
10104
10095
|
N({
|
|
10105
10096
|
className: [w, V, o].join(" ").trim().replace(/\s+/g, " ")
|
|
10106
10097
|
}, m),
|
|
10107
|
-
C ?
|
|
10098
|
+
C ? Ne : X
|
|
10108
10099
|
);
|
|
10109
10100
|
};
|
|
10110
|
-
|
|
10101
|
+
g2.propTypes = {
|
|
10111
10102
|
/**
|
|
10112
10103
|
* Aria label for the user menu.
|
|
10113
10104
|
*/
|
|
@@ -10164,30 +10155,30 @@ f2.propTypes = {
|
|
|
10164
10155
|
*/
|
|
10165
10156
|
className: t.string
|
|
10166
10157
|
};
|
|
10167
|
-
const
|
|
10158
|
+
const S2 = () => {
|
|
10168
10159
|
const s = (a, r, u = {}) => {
|
|
10169
|
-
const c = /* @__PURE__ */ e.createElement(
|
|
10160
|
+
const c = /* @__PURE__ */ e.createElement(vs, { type: a }, r);
|
|
10170
10161
|
let l = N({}, u);
|
|
10171
|
-
return (a === "critical" || a === "warning") && (l =
|
|
10162
|
+
return (a === "critical" || a === "warning") && (l = ye(N({}, l), {
|
|
10172
10163
|
autoClose: !1,
|
|
10173
10164
|
role: "alert"
|
|
10174
|
-
})), a === "working" && (l =
|
|
10165
|
+
})), a === "working" && (l = ye(N({}, l), {
|
|
10175
10166
|
autoClose: !1,
|
|
10176
10167
|
closeButton: !1,
|
|
10177
10168
|
closeOnClick: !1
|
|
10178
10169
|
})), Dt(c, l);
|
|
10179
|
-
}, n =
|
|
10170
|
+
}, n = Zs({
|
|
10180
10171
|
collapse: !1,
|
|
10181
10172
|
enter: "pds-toast--bounceInPlace",
|
|
10182
10173
|
exit: "pds-toast--slideOut"
|
|
10183
10174
|
});
|
|
10184
10175
|
return [s, Dt, n];
|
|
10185
|
-
},
|
|
10176
|
+
}, h2 = {
|
|
10186
10177
|
silver: "Silver",
|
|
10187
10178
|
gold: "Gold",
|
|
10188
10179
|
platinum: "Platinum",
|
|
10189
10180
|
diamond: "Diamond"
|
|
10190
|
-
},
|
|
10181
|
+
}, f2 = (b) => {
|
|
10191
10182
|
var f = b, {
|
|
10192
10183
|
ariaLabel: s = "Workspace selector menu",
|
|
10193
10184
|
createWorkspaceLink: n,
|
|
@@ -10253,7 +10244,7 @@ const O2 = () => {
|
|
|
10253
10244
|
const ge = (re) => {
|
|
10254
10245
|
const be = d.filter((K) => K.displayName.toLowerCase().includes(re.toLowerCase()));
|
|
10255
10246
|
w(be);
|
|
10256
|
-
},
|
|
10247
|
+
}, Ne = (re) => {
|
|
10257
10248
|
re.preventDefault(), re.key === "Enter" && V.current[p].querySelector("a").click(), re.key === "Tab" && (re.shiftKey ? H ? document.getElementById("workspace-filter").focus() : E(!1) : n ? k.current.querySelector("a").focus() : E(!1));
|
|
10258
10249
|
}, ne = /* @__PURE__ */ e.createElement("div", { className: `${y}__button-content` }, /* @__PURE__ */ e.createElement(
|
|
10259
10250
|
Ge,
|
|
@@ -10268,7 +10259,7 @@ const O2 = () => {
|
|
|
10268
10259
|
{
|
|
10269
10260
|
size: "sm",
|
|
10270
10261
|
color: X.planTier,
|
|
10271
|
-
label:
|
|
10262
|
+
label: h2[X.planTier]
|
|
10272
10263
|
}
|
|
10273
10264
|
)), de = /* @__PURE__ */ e.createElement(
|
|
10274
10265
|
j,
|
|
@@ -10278,7 +10269,7 @@ const O2 = () => {
|
|
|
10278
10269
|
className: `${y}__trigger-icon`
|
|
10279
10270
|
}
|
|
10280
10271
|
), me = H && /* @__PURE__ */ e.createElement("div", { className: `${y}__filter` }, /* @__PURE__ */ e.createElement(
|
|
10281
|
-
|
|
10272
|
+
os,
|
|
10282
10273
|
{
|
|
10283
10274
|
className: `${y}__filter-input`,
|
|
10284
10275
|
hasClearButton: !0,
|
|
@@ -10307,7 +10298,7 @@ const O2 = () => {
|
|
|
10307
10298
|
role: "menuitem",
|
|
10308
10299
|
tabIndex: p === be ? 0 : -1,
|
|
10309
10300
|
ref: ae,
|
|
10310
|
-
onKeyDown:
|
|
10301
|
+
onKeyDown: Ne
|
|
10311
10302
|
}, P()),
|
|
10312
10303
|
/* @__PURE__ */ e.createElement(U, N({}, re.workspaceLink.props), /* @__PURE__ */ e.createElement("div", { className: `${y}__item-content` }, /* @__PURE__ */ e.createElement(
|
|
10313
10304
|
Ge,
|
|
@@ -10390,7 +10381,7 @@ const O2 = () => {
|
|
|
10390
10381
|
S ? he : ee
|
|
10391
10382
|
);
|
|
10392
10383
|
};
|
|
10393
|
-
|
|
10384
|
+
f2.propTypes = {
|
|
10394
10385
|
/**
|
|
10395
10386
|
* Aria label for the workspace selector menu.
|
|
10396
10387
|
*/
|
|
@@ -10467,7 +10458,7 @@ _2.propTypes = {
|
|
|
10467
10458
|
*/
|
|
10468
10459
|
className: t.string
|
|
10469
10460
|
};
|
|
10470
|
-
const
|
|
10461
|
+
const b2 = (h) => {
|
|
10471
10462
|
var i = h, {
|
|
10472
10463
|
alignContent: s,
|
|
10473
10464
|
alignItems: n,
|
|
@@ -10508,7 +10499,7 @@ const v2 = (h) => {
|
|
|
10508
10499
|
o
|
|
10509
10500
|
);
|
|
10510
10501
|
};
|
|
10511
|
-
|
|
10502
|
+
b2.propTypes = {
|
|
10512
10503
|
/**
|
|
10513
10504
|
* Align content
|
|
10514
10505
|
*/
|
|
@@ -10557,7 +10548,7 @@ v2.propTypes = {
|
|
|
10557
10548
|
*/
|
|
10558
10549
|
className: t.string
|
|
10559
10550
|
};
|
|
10560
|
-
const
|
|
10551
|
+
const _2 = (m) => {
|
|
10561
10552
|
var d = m, {
|
|
10562
10553
|
children: s,
|
|
10563
10554
|
hasSidebarToggle: n = !0,
|
|
@@ -10600,7 +10591,7 @@ const E2 = (m) => {
|
|
|
10600
10591
|
},
|
|
10601
10592
|
/* @__PURE__ */ e.createElement(j, { iconName: "angleLeft", iconSize: "sm" })
|
|
10602
10593
|
), /* @__PURE__ */ e.createElement("div", { className: `${p}__sidebar-inner` }, V));
|
|
10603
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10594
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(bs, { text: c }), /* @__PURE__ */ e.createElement(
|
|
10604
10595
|
"div",
|
|
10605
10596
|
N({
|
|
10606
10597
|
className: [p, _, $, l].join(" ").trim().replace(/\s+/g, " ")
|
|
@@ -10610,7 +10601,7 @@ const E2 = (m) => {
|
|
|
10610
10601
|
/* @__PURE__ */ e.createElement("div", { className: `${p}__container` }, !E && w, /* @__PURE__ */ e.createElement("div", { className: `${p}__content-panel` }, /* @__PURE__ */ e.createElement("main", { id: "main", className: `${p}__main pds-global__main` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__main-inner` }, k)), H))
|
|
10611
10602
|
));
|
|
10612
10603
|
};
|
|
10613
|
-
|
|
10604
|
+
_2.propTypes = {
|
|
10614
10605
|
/**
|
|
10615
10606
|
* Layout content.
|
|
10616
10607
|
*/
|
|
@@ -10640,7 +10631,7 @@ E2.propTypes = {
|
|
|
10640
10631
|
*/
|
|
10641
10632
|
className: t.string
|
|
10642
10633
|
};
|
|
10643
|
-
const
|
|
10634
|
+
const v2 = (o) => {
|
|
10644
10635
|
var m = o, {
|
|
10645
10636
|
children: s,
|
|
10646
10637
|
gridGap: n = "standard",
|
|
@@ -10693,7 +10684,7 @@ const C2 = (o) => {
|
|
|
10693
10684
|
w
|
|
10694
10685
|
);
|
|
10695
10686
|
};
|
|
10696
|
-
|
|
10687
|
+
v2.propTypes = {
|
|
10697
10688
|
/**
|
|
10698
10689
|
* Layout content.
|
|
10699
10690
|
*/
|
|
@@ -10719,7 +10710,7 @@ C2.propTypes = {
|
|
|
10719
10710
|
*/
|
|
10720
10711
|
className: t.string
|
|
10721
10712
|
};
|
|
10722
|
-
const
|
|
10713
|
+
const E2 = (r) => {
|
|
10723
10714
|
var u = r, { children: s, className: n } = u, a = M(u, ["children", "className"]);
|
|
10724
10715
|
const c = {};
|
|
10725
10716
|
e.Children.forEach(s, (b) => {
|
|
@@ -10748,7 +10739,7 @@ const $2 = (r) => {
|
|
|
10748
10739
|
o && /* @__PURE__ */ e.createElement("div", { className: `${i}__form-container` }, o)
|
|
10749
10740
|
);
|
|
10750
10741
|
};
|
|
10751
|
-
|
|
10742
|
+
E2.propTypes = {
|
|
10752
10743
|
/**
|
|
10753
10744
|
* Layout content.
|
|
10754
10745
|
*/
|
|
@@ -10758,7 +10749,7 @@ $2.propTypes = {
|
|
|
10758
10749
|
*/
|
|
10759
10750
|
className: t.string
|
|
10760
10751
|
};
|
|
10761
|
-
const
|
|
10752
|
+
const C2 = (u) => {
|
|
10762
10753
|
var c = u, {
|
|
10763
10754
|
children: s,
|
|
10764
10755
|
gridGap: n = "standard",
|
|
@@ -10793,7 +10784,7 @@ const w2 = (u) => {
|
|
|
10793
10784
|
))
|
|
10794
10785
|
);
|
|
10795
10786
|
};
|
|
10796
|
-
|
|
10787
|
+
C2.propTypes = {
|
|
10797
10788
|
/**
|
|
10798
10789
|
* Item content.
|
|
10799
10790
|
*/
|
|
@@ -10807,7 +10798,7 @@ w2.propTypes = {
|
|
|
10807
10798
|
*/
|
|
10808
10799
|
className: t.string
|
|
10809
10800
|
};
|
|
10810
|
-
const
|
|
10801
|
+
const $2 = (c) => {
|
|
10811
10802
|
var l = c, {
|
|
10812
10803
|
children: s,
|
|
10813
10804
|
gridGap: n = "standard",
|
|
@@ -10846,7 +10837,7 @@ const N2 = (c) => {
|
|
|
10846
10837
|
/* @__PURE__ */ e.createElement("div", { className: g.join(" ").trim() }, _)
|
|
10847
10838
|
);
|
|
10848
10839
|
};
|
|
10849
|
-
|
|
10840
|
+
$2.propTypes = {
|
|
10850
10841
|
/**
|
|
10851
10842
|
* Item content.
|
|
10852
10843
|
*/
|
|
@@ -10865,90 +10856,90 @@ N2.propTypes = {
|
|
|
10865
10856
|
className: t.string
|
|
10866
10857
|
};
|
|
10867
10858
|
export {
|
|
10868
|
-
|
|
10859
|
+
Xs as AnimatedButton,
|
|
10869
10860
|
Ge as Avatar,
|
|
10870
|
-
|
|
10871
|
-
|
|
10872
|
-
|
|
10861
|
+
Js as AvatarTileList,
|
|
10862
|
+
e1 as Banner,
|
|
10863
|
+
a1 as Breadcrumbs,
|
|
10873
10864
|
Ke as Button,
|
|
10874
10865
|
je as ButtonLink,
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10878
|
-
|
|
10879
|
-
|
|
10880
|
-
|
|
10881
|
-
|
|
10882
|
-
|
|
10866
|
+
cs as CTALink,
|
|
10867
|
+
m1 as CTASlice,
|
|
10868
|
+
I2 as Callout,
|
|
10869
|
+
r1 as Card,
|
|
10870
|
+
c1 as CardSelectGroup,
|
|
10871
|
+
rs as Checkbox,
|
|
10872
|
+
i1 as CheckboxGroup,
|
|
10873
|
+
o1 as Combobox,
|
|
10883
10874
|
zt as ComparisonList,
|
|
10884
10875
|
Ue as Container,
|
|
10885
|
-
|
|
10876
|
+
p1 as DashboardNav,
|
|
10886
10877
|
mt as DropdownMenu,
|
|
10887
|
-
|
|
10888
|
-
|
|
10889
|
-
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
|
|
10893
|
-
|
|
10878
|
+
g1 as ExpansionPanel,
|
|
10879
|
+
h1 as ExpansionPanelGroup,
|
|
10880
|
+
b2 as FlexContainer,
|
|
10881
|
+
is as FooterHeading,
|
|
10882
|
+
f1 as FooterLinks,
|
|
10883
|
+
_2 as GlobalLayout,
|
|
10884
|
+
b1 as Heading,
|
|
10894
10885
|
j as Icon,
|
|
10895
10886
|
ct as IconButton,
|
|
10896
10887
|
it as IndicatorBadge,
|
|
10897
|
-
|
|
10898
|
-
|
|
10899
|
-
|
|
10900
|
-
|
|
10901
|
-
|
|
10888
|
+
_1 as InlineMessage,
|
|
10889
|
+
E1 as InputFormatted,
|
|
10890
|
+
C1 as InputGroup,
|
|
10891
|
+
$1 as InputObscured,
|
|
10892
|
+
os as InputText,
|
|
10902
10893
|
Te as InputWrapper,
|
|
10903
|
-
|
|
10904
|
-
|
|
10905
|
-
|
|
10906
|
-
|
|
10907
|
-
|
|
10908
|
-
|
|
10909
|
-
|
|
10910
|
-
|
|
10894
|
+
w1 as LinksCard,
|
|
10895
|
+
ds as MenuButton,
|
|
10896
|
+
y1 as Modal,
|
|
10897
|
+
H1 as NavMenu,
|
|
10898
|
+
k1 as Navbar,
|
|
10899
|
+
L1 as NewSiteCard,
|
|
10900
|
+
O1 as Pager,
|
|
10901
|
+
R1 as Panel,
|
|
10911
10902
|
St as PantheonLogo,
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
|
|
10919
|
-
|
|
10903
|
+
us as PlatformIcon,
|
|
10904
|
+
D1 as Popover,
|
|
10905
|
+
A1 as PricingCard,
|
|
10906
|
+
P1 as ProgressBar,
|
|
10907
|
+
fs as ProgressRing,
|
|
10908
|
+
F1 as PullQuote,
|
|
10909
|
+
Z1 as RadioGroup,
|
|
10910
|
+
U1 as SectionMessage,
|
|
10920
10911
|
Tt as Select,
|
|
10921
|
-
|
|
10922
|
-
|
|
10923
|
-
|
|
10924
|
-
|
|
10925
|
-
|
|
10926
|
-
|
|
10927
|
-
|
|
10912
|
+
G1 as SideNav,
|
|
10913
|
+
K1 as SideNavCompact,
|
|
10914
|
+
v2 as SidebarLayout,
|
|
10915
|
+
Y1 as SiteCard,
|
|
10916
|
+
X1 as SiteFooter,
|
|
10917
|
+
bs as Skiplink,
|
|
10918
|
+
Q1 as SocialLinks,
|
|
10928
10919
|
st as Spinner,
|
|
10929
|
-
|
|
10930
|
-
|
|
10931
|
-
|
|
10932
|
-
|
|
10933
|
-
|
|
10934
|
-
|
|
10935
|
-
|
|
10936
|
-
|
|
10937
|
-
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
|
|
10943
|
-
|
|
10944
|
-
|
|
10945
|
-
|
|
10946
|
-
|
|
10920
|
+
J1 as SplitButton,
|
|
10921
|
+
e2 as StatsTileList,
|
|
10922
|
+
hs as StatusBadge,
|
|
10923
|
+
t2 as StatusIndicator,
|
|
10924
|
+
s2 as Stepper,
|
|
10925
|
+
E2 as StepperLayout,
|
|
10926
|
+
n2 as Table,
|
|
10927
|
+
a2 as TableOfContents,
|
|
10928
|
+
l2 as Tabs,
|
|
10929
|
+
i2 as Tag,
|
|
10930
|
+
o2 as Textarea,
|
|
10931
|
+
C2 as ThreeItemLayout,
|
|
10932
|
+
_s as Tile,
|
|
10933
|
+
d2 as TileGrid,
|
|
10934
|
+
vs as Toast,
|
|
10935
|
+
m2 as Toaster,
|
|
10936
|
+
u2 as ToggleButton,
|
|
10937
|
+
p2 as ToggleSwitch,
|
|
10947
10938
|
Lt as Tooltip,
|
|
10948
|
-
|
|
10949
|
-
|
|
10950
|
-
|
|
10939
|
+
$2 as TwoItemLayout,
|
|
10940
|
+
g2 as UserMenu,
|
|
10941
|
+
f2 as WorkspaceSelector,
|
|
10951
10942
|
At as iconList,
|
|
10952
|
-
|
|
10943
|
+
S2 as useToast
|
|
10953
10944
|
};
|
|
10954
10945
|
//# sourceMappingURL=index.js.map
|