@pantheon-systems/pds-toolkit-react 1.0.0-dev.224 → 1.0.0-dev.225
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/index.js +398 -404
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -35,9 +35,9 @@ var Ht = (t, s, n) => new Promise((l, r) => {
|
|
|
35
35
|
}, c = (o) => o.done ? l(o.value) : Promise.resolve(o.value).then(i, a);
|
|
36
36
|
c((n = n.apply(t, s)).next());
|
|
37
37
|
});
|
|
38
|
-
import e, { Children as d1, isValidElement as
|
|
38
|
+
import e, { Children as d1, isValidElement as Ce, cloneElement as xe, useState as Z, createElement as S1, forwardRef as Ze, useEffect as ce, useRef as ie, createContext as m1, useContext as be, useLayoutEffect as A1, useCallback as T1, createRef as D1, useMemo as O1, Fragment as R1 } from "react";
|
|
39
39
|
import u1 from "hash-sum";
|
|
40
|
-
import { useFloating as Ve, offset as
|
|
40
|
+
import { useFloating as Ve, offset as bt, flip as $t, shift as wt, autoUpdate as Pe, useHover as gt, useFocus as p1, useDismiss as Ie, useRole as Se, useInteractions as Ae, FloatingPortal as h1, useId as F1, useClick as Ke, useListNavigation as lt, useTransitionStyles as Xe, FloatingOverlay as P1, FloatingFocusManager as f1, safePolygon as g1, arrow as B1, FloatingArrow as W1 } from "@floating-ui/react";
|
|
41
41
|
import { useHotkeys as U1 } from "react-hotkeys-hook";
|
|
42
42
|
import { useFloating as G1, flip as Z1 } from "@floating-ui/react-dom";
|
|
43
43
|
import { CodeBlock as ct } from "react-code-block";
|
|
@@ -54,7 +54,7 @@ const et = () => Math.random().toString(32).substring(2, 13), _1 = (t, s) => {
|
|
|
54
54
|
}, qe = (t) => {
|
|
55
55
|
const s = {};
|
|
56
56
|
return d1.forEach(t, (n) => {
|
|
57
|
-
if (
|
|
57
|
+
if (Ce(n)) {
|
|
58
58
|
const l = n.props.slot;
|
|
59
59
|
l && (s[l] ? s[l].push(n) : s[l] = [n]);
|
|
60
60
|
}
|
|
@@ -796,7 +796,7 @@ const et = () => Math.random().toString(32).substring(2, 13), _1 = (t, s) => {
|
|
|
796
796
|
display: "flex",
|
|
797
797
|
alignItems: "center",
|
|
798
798
|
justifyContent: "center"
|
|
799
|
-
}, y = n ? /* @__PURE__ */ e.createElement("img", { src: `${n}`, className: `${g}__image`, alt: "" }) : /* @__PURE__ */ e.createElement("span", { style: E }, s && /* @__PURE__ */ e.createElement(R, { iconName: "user", className: `${g}__user-icon` })), v = /* @__PURE__ */ e.createElement("span", { className: `${g}__content` }, y), $ =
|
|
799
|
+
}, y = n ? /* @__PURE__ */ e.createElement("img", { src: `${n}`, className: `${g}__image`, alt: "" }) : /* @__PURE__ */ e.createElement("span", { style: E }, s && /* @__PURE__ */ e.createElement(R, { iconName: "user", className: `${g}__user-icon` })), v = /* @__PURE__ */ e.createElement("span", { className: `${g}__content` }, y), $ = Ce(l) ? xe(
|
|
800
800
|
l,
|
|
801
801
|
he(L({}, l.props), {
|
|
802
802
|
className: `${g}__content ${g}__content--link`,
|
|
@@ -908,7 +908,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
908
908
|
"zIndex",
|
|
909
909
|
"className"
|
|
910
910
|
]);
|
|
911
|
-
const [
|
|
911
|
+
const [C, E] = Z(!1), y = typeof s, v = "pds-tooltip", $ = x([
|
|
912
912
|
`${v}__trigger-custom`,
|
|
913
913
|
y === "string" ? `${v}__trigger-text` : null
|
|
914
914
|
]), p = x([
|
|
@@ -916,16 +916,16 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
916
916
|
`${v}__trigger--${a}`
|
|
917
917
|
]), { refs: m, floatingStyles: f, context: _ } = Ve({
|
|
918
918
|
placement: l,
|
|
919
|
-
open:
|
|
919
|
+
open: C,
|
|
920
920
|
onOpenChange: E,
|
|
921
|
-
middleware: [
|
|
921
|
+
middleware: [bt(n), $t(), wt()],
|
|
922
922
|
whileElementsMounted: Pe
|
|
923
|
-
}),
|
|
923
|
+
}), b = gt(_, {
|
|
924
924
|
restMs: 300,
|
|
925
925
|
delay: { open: 500, close: 0 },
|
|
926
926
|
move: !1
|
|
927
927
|
}), M = p1(_), H = Ie(_), w = Se(_, { role: "tooltip" }), { getReferenceProps: z, getFloatingProps: k } = Ae([
|
|
928
|
-
|
|
928
|
+
b,
|
|
929
929
|
M,
|
|
930
930
|
H,
|
|
931
931
|
w
|
|
@@ -952,7 +952,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
952
952
|
iconSize: c
|
|
953
953
|
}
|
|
954
954
|
)
|
|
955
|
-
),
|
|
955
|
+
), C && /* @__PURE__ */ e.createElement(h1, null, /* @__PURE__ */ e.createElement(
|
|
956
956
|
"div",
|
|
957
957
|
L({
|
|
958
958
|
className: `${v}__container`,
|
|
@@ -979,8 +979,8 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
979
979
|
]);
|
|
980
980
|
const d = "pds-branch-diff", g = Math.max(t, n);
|
|
981
981
|
let u = g > 0 ? n / g * 100 : 0, h = g > 0 ? t / g * 100 : 0;
|
|
982
|
-
const
|
|
983
|
-
u <
|
|
982
|
+
const C = 10;
|
|
983
|
+
u < C ? (u = C, h = 100 - C) : h < C && (h = C, u = 100 - C);
|
|
984
984
|
const E = r !== null && r > 0 ? `${r}rem` : "100%";
|
|
985
985
|
return /* @__PURE__ */ e.createElement(
|
|
986
986
|
"div",
|
|
@@ -1203,7 +1203,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1203
1203
|
size: g = "md",
|
|
1204
1204
|
variant: u = "primary",
|
|
1205
1205
|
className: h = ""
|
|
1206
|
-
} = v,
|
|
1206
|
+
} = v, C = S(v, [
|
|
1207
1207
|
"ariaLabel",
|
|
1208
1208
|
"buttonType",
|
|
1209
1209
|
"disabled",
|
|
@@ -1239,8 +1239,8 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1239
1239
|
className: `${$}__icon`
|
|
1240
1240
|
}
|
|
1241
1241
|
);
|
|
1242
|
-
let
|
|
1243
|
-
return l == "icon-start" && r &&
|
|
1242
|
+
let b = [o];
|
|
1243
|
+
return l == "icon-start" && r && b.unshift(_), l == "icon-end" && r && b.push(_), c && (b = [_], t = Ut(o)), /* @__PURE__ */ e.createElement(
|
|
1244
1244
|
"button",
|
|
1245
1245
|
L({
|
|
1246
1246
|
type: s,
|
|
@@ -1255,9 +1255,9 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1255
1255
|
"aria-label": t,
|
|
1256
1256
|
onClick: d,
|
|
1257
1257
|
ref: E
|
|
1258
|
-
},
|
|
1258
|
+
}, C),
|
|
1259
1259
|
a && /* @__PURE__ */ e.createElement(Lt, { className: `${$}__loading-indicator`, size: "md" }),
|
|
1260
|
-
|
|
1260
|
+
b
|
|
1261
1261
|
);
|
|
1262
1262
|
}
|
|
1263
1263
|
), Et = (o) => {
|
|
@@ -1278,11 +1278,11 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1278
1278
|
"variant",
|
|
1279
1279
|
"className"
|
|
1280
1280
|
]);
|
|
1281
|
-
const g = "pds-button-link", u = "pds-button", h = r !== "md" ? `${u}--${r}` : null,
|
|
1281
|
+
const g = "pds-button-link", u = "pds-button", h = r !== "md" ? `${u}--${r}` : null, C = i !== "primary" ? `${u}--${i}` : null, E = x([
|
|
1282
1282
|
u,
|
|
1283
1283
|
h,
|
|
1284
|
-
|
|
1285
|
-
]), y =
|
|
1284
|
+
C
|
|
1285
|
+
]), y = Ce(l) ? l.props.children : null, v = /* @__PURE__ */ e.createElement(
|
|
1286
1286
|
R,
|
|
1287
1287
|
{
|
|
1288
1288
|
iconName: n,
|
|
@@ -1293,7 +1293,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1293
1293
|
);
|
|
1294
1294
|
let $ = [y];
|
|
1295
1295
|
s === "icon-start" && n ? $ = [v, y] : s === "icon-end" && n && ($ = [y, v]);
|
|
1296
|
-
const p =
|
|
1296
|
+
const p = Ce(l) ? xe(l, {
|
|
1297
1297
|
className: E,
|
|
1298
1298
|
children: $
|
|
1299
1299
|
}) : null;
|
|
@@ -1325,7 +1325,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1325
1325
|
})];
|
|
1326
1326
|
}, vt = Ze(
|
|
1327
1327
|
(h, u) => {
|
|
1328
|
-
var
|
|
1328
|
+
var C = h, {
|
|
1329
1329
|
ariaLabel: t,
|
|
1330
1330
|
buttonType: s = "button",
|
|
1331
1331
|
disabled: n = !1,
|
|
@@ -1336,7 +1336,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1336
1336
|
size: c = "md",
|
|
1337
1337
|
variant: o = "standard",
|
|
1338
1338
|
className: d
|
|
1339
|
-
} =
|
|
1339
|
+
} = C, g = S(C, [
|
|
1340
1340
|
"ariaLabel",
|
|
1341
1341
|
"buttonType",
|
|
1342
1342
|
"disabled",
|
|
@@ -1364,12 +1364,12 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1364
1364
|
case "lg":
|
|
1365
1365
|
m = "xl", p = 12;
|
|
1366
1366
|
}
|
|
1367
|
-
const f = i !== null, _ = ie(null),
|
|
1368
|
-
_.current.classList.add($.fadeOut), _.current.classList.add($.hide),
|
|
1367
|
+
const f = i !== null, _ = ie(null), b = ie(null), M = () => {
|
|
1368
|
+
_.current.classList.add($.fadeOut), _.current.classList.add($.hide), b.current.classList.remove($.hide), b.current.classList.add($.scaleIn), setTimeout(() => {
|
|
1369
1369
|
_.current.classList.remove(
|
|
1370
1370
|
$.fadeOut,
|
|
1371
1371
|
$.hide
|
|
1372
|
-
), _.current.classList.add($.scaleIn),
|
|
1372
|
+
), _.current.classList.add($.scaleIn), b.current.classList.remove($.scaleIn), b.current.classList.add($.hide);
|
|
1373
1373
|
}, 2e3);
|
|
1374
1374
|
}, H = (z) => {
|
|
1375
1375
|
f && M(), a && a(z);
|
|
@@ -1383,7 +1383,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1383
1383
|
)), /* @__PURE__ */ e.createElement(
|
|
1384
1384
|
"div",
|
|
1385
1385
|
{
|
|
1386
|
-
ref:
|
|
1386
|
+
ref: b,
|
|
1387
1387
|
className: `${E}__icon-wrapper ${$.hide}`
|
|
1388
1388
|
},
|
|
1389
1389
|
/* @__PURE__ */ e.createElement(
|
|
@@ -1458,7 +1458,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1458
1458
|
variant: l
|
|
1459
1459
|
}, i)
|
|
1460
1460
|
);
|
|
1461
|
-
},
|
|
1461
|
+
}, C1 = () => {
|
|
1462
1462
|
const t = typeof window != "undefined", [s, n] = Z(
|
|
1463
1463
|
t && window.innerWidth !== void 0 ? window.innerWidth : 1024
|
|
1464
1464
|
);
|
|
@@ -1476,18 +1476,14 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1476
1476
|
children: t,
|
|
1477
1477
|
mobileMenuMaxWidth: s = 640
|
|
1478
1478
|
}) => {
|
|
1479
|
-
const n =
|
|
1480
|
-
let r = null;
|
|
1481
|
-
n <= 640 ? r = "sm" : n > 641 && n <= 1024 ? r = "md" : n > 1025 && n <= 1440 ? r = "lg" : n > 1441 && (r = "xl");
|
|
1482
|
-
const i = {
|
|
1483
|
-
breakpoint: r,
|
|
1479
|
+
const n = C1(), l = n <= s, r = {
|
|
1484
1480
|
isMobile: l,
|
|
1485
1481
|
mobileMenuMaxWidth: s,
|
|
1486
1482
|
windowWidth: n
|
|
1487
1483
|
};
|
|
1488
1484
|
return ce(() => {
|
|
1489
1485
|
l ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
|
|
1490
|
-
}, [l]), /* @__PURE__ */ e.createElement(ze.Provider, { value:
|
|
1486
|
+
}, [l]), /* @__PURE__ */ e.createElement(ze.Provider, { value: r }, t);
|
|
1491
1487
|
}, kt = (t) => t.isSeparator, Nt = (t) => t.isHeading, xt = (t) => t.isLink, n2 = (t) => t.isNode, a2 = (v) => {
|
|
1492
1488
|
var $ = v, {
|
|
1493
1489
|
disabled: t,
|
|
@@ -1503,7 +1499,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1503
1499
|
testId: g,
|
|
1504
1500
|
undefinedLabel: u = "Unlabeled group",
|
|
1505
1501
|
variant: h = "primary",
|
|
1506
|
-
withinNavbar:
|
|
1502
|
+
withinNavbar: C,
|
|
1507
1503
|
className: E
|
|
1508
1504
|
} = $, y = S($, [
|
|
1509
1505
|
"disabled",
|
|
@@ -1527,7 +1523,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1527
1523
|
y: m,
|
|
1528
1524
|
reference: f,
|
|
1529
1525
|
floating: _,
|
|
1530
|
-
strategy:
|
|
1526
|
+
strategy: b,
|
|
1531
1527
|
update: M,
|
|
1532
1528
|
placement: H,
|
|
1533
1529
|
refs: w
|
|
@@ -1536,9 +1532,9 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1536
1532
|
middleware: [Z1()]
|
|
1537
1533
|
});
|
|
1538
1534
|
let z = !1;
|
|
1539
|
-
const k =
|
|
1535
|
+
const k = be(ze);
|
|
1540
1536
|
k && (z = k.isMobile);
|
|
1541
|
-
const I = h === "navbar" && z, V = "pds-menu-button", A = I ? `${V}--isMobile` : null, T =
|
|
1537
|
+
const I = h === "navbar" && z, V = "pds-menu-button", A = I ? `${V}--isMobile` : null, T = C ? `${V}--navbar` : null, N = l, [P] = Z(`menu-button-${l}`), B = w.floating, F = ie(null), [K, Q] = Z(!1), [G, Y] = Z(!1), [W, O] = Z(""), [X, ae] = Z(0), te = ie([]), j = ie([]), se = ie([]);
|
|
1542
1538
|
A1(() => {
|
|
1543
1539
|
window.addEventListener("mousedown", Be, !0), M();
|
|
1544
1540
|
const D = B.current;
|
|
@@ -1720,7 +1716,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1720
1716
|
Nt || kt
|
|
1721
1717
|
), re = U.length > 0;
|
|
1722
1718
|
let le = [`${V}__listbox`];
|
|
1723
|
-
if (
|
|
1719
|
+
if (C && le.push(`${V}__listbox--navbar`), c === "end" && le.push(`${V}__listbox--end`), s === "icon-only" && le.push(`${V}__listbox--icon-only`), le = x(le), re) {
|
|
1724
1720
|
const pe = Ye(D, U);
|
|
1725
1721
|
pe.forEach(() => {
|
|
1726
1722
|
te.current.push(et());
|
|
@@ -1742,7 +1738,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1742
1738
|
visibility: K ? "visible" : "hidden",
|
|
1743
1739
|
opacity: K ? "1" : "0",
|
|
1744
1740
|
transition: "opacity 300ms ease-in-out 0s",
|
|
1745
|
-
position:
|
|
1741
|
+
position: b,
|
|
1746
1742
|
transform: `translate(${Math.round(p)}px,${Math.round(m)}px)`,
|
|
1747
1743
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
1748
1744
|
},
|
|
@@ -1784,7 +1780,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1784
1780
|
visibility: K ? "visible" : "hidden",
|
|
1785
1781
|
opacity: K ? "1" : "0",
|
|
1786
1782
|
transition: "opacity 300ms ease-in-out 0s",
|
|
1787
|
-
position:
|
|
1783
|
+
position: b,
|
|
1788
1784
|
transform: `translate(${Math.round(p)}px,${Math.round(m)}px)`
|
|
1789
1785
|
},
|
|
1790
1786
|
onKeyDown: ke,
|
|
@@ -1908,7 +1904,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1908
1904
|
"value",
|
|
1909
1905
|
"className"
|
|
1910
1906
|
]);
|
|
1911
|
-
const h = "pds-segmented-button",
|
|
1907
|
+
const h = "pds-segmented-button", C = t ? "pds-is-disabled" : null, E = a !== "md" ? `${h}--${a}` : null, y = typeof c != "undefined", v = typeof n != "undefined", [$, p] = Z(
|
|
1912
1908
|
v ? n : ""
|
|
1913
1909
|
), m = (f) => {
|
|
1914
1910
|
p(f.target.value), r && r(f.target.value);
|
|
@@ -1920,7 +1916,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1920
1916
|
className: x([
|
|
1921
1917
|
h,
|
|
1922
1918
|
E,
|
|
1923
|
-
|
|
1919
|
+
C,
|
|
1924
1920
|
o != null ? o : ""
|
|
1925
1921
|
])
|
|
1926
1922
|
}, d),
|
|
@@ -1978,8 +1974,8 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1978
1974
|
"className"
|
|
1979
1975
|
]);
|
|
1980
1976
|
const d = "pds-split-button", g = `${d}--${r}`, u = t[0], h = t.slice(1);
|
|
1981
|
-
let
|
|
1982
|
-
return "isLink" in u && u.isLink === !0 ?
|
|
1977
|
+
let C = null;
|
|
1978
|
+
return "isLink" in u && u.isLink === !0 ? C = /* @__PURE__ */ e.createElement(
|
|
1983
1979
|
Et,
|
|
1984
1980
|
{
|
|
1985
1981
|
className: `${d}__primary-action`,
|
|
@@ -1989,7 +1985,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
1989
1985
|
disabled: s,
|
|
1990
1986
|
linkContent: u.linkContent
|
|
1991
1987
|
}
|
|
1992
|
-
) : "label" in u && (
|
|
1988
|
+
) : "label" in u && (C = /* @__PURE__ */ e.createElement(
|
|
1993
1989
|
dt,
|
|
1994
1990
|
{
|
|
1995
1991
|
className: `${d}__primary-action`,
|
|
@@ -2004,7 +2000,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2004
2000
|
L({
|
|
2005
2001
|
className: x([d, g, i])
|
|
2006
2002
|
}, a),
|
|
2007
|
-
|
|
2003
|
+
C,
|
|
2008
2004
|
/* @__PURE__ */ e.createElement(
|
|
2009
2005
|
a2,
|
|
2010
2006
|
{
|
|
@@ -2044,7 +2040,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2044
2040
|
"tooltipText",
|
|
2045
2041
|
"className"
|
|
2046
2042
|
]);
|
|
2047
|
-
const h = "pds-utility-button",
|
|
2043
|
+
const h = "pds-utility-button", C = l ? `${h}--critical` : null, E = s ? `${h}--disabled` : null, y = r ? `${h}--monospace` : null, v = /* @__PURE__ */ e.createElement(
|
|
2048
2044
|
"button",
|
|
2049
2045
|
L({
|
|
2050
2046
|
className: `${h}__button`,
|
|
@@ -2059,7 +2055,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2059
2055
|
L({
|
|
2060
2056
|
className: x([
|
|
2061
2057
|
h,
|
|
2062
|
-
|
|
2058
|
+
C,
|
|
2063
2059
|
E,
|
|
2064
2060
|
y,
|
|
2065
2061
|
o != null ? o : ""
|
|
@@ -2137,7 +2133,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2137
2133
|
u && /* @__PURE__ */ e.createElement("div", { className: `${c}__image` }, u[0]),
|
|
2138
2134
|
h && /* @__PURE__ */ e.createElement("div", { className: `${c}__main` }, h)
|
|
2139
2135
|
);
|
|
2140
|
-
},
|
|
2136
|
+
}, b1 = (a) => {
|
|
2141
2137
|
var c = a, {
|
|
2142
2138
|
fontSize: t = "XL",
|
|
2143
2139
|
fontWeight: s = "bold",
|
|
@@ -2188,7 +2184,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2188
2184
|
const u = "pds-card-select-group";
|
|
2189
2185
|
let h = `${u}__legend`;
|
|
2190
2186
|
l === "center" && (h = `${u}__legend ${u}__legend--center`), l === "hidden" && (h = `${u}__legend visually-hidden`);
|
|
2191
|
-
const [
|
|
2187
|
+
const [C, E] = Z(s), y = (_) => {
|
|
2192
2188
|
E(_.currentTarget.value), i && i(_.currentTarget.value);
|
|
2193
2189
|
}, v = a.length, $ = "pds-grid-item", p = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", m = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
2194
2190
|
let f = "";
|
|
@@ -2199,35 +2195,35 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2199
2195
|
id: t
|
|
2200
2196
|
}, o),
|
|
2201
2197
|
/* @__PURE__ */ e.createElement("legend", { className: h }, n),
|
|
2202
|
-
/* @__PURE__ */ e.createElement("div", { className: `${u}__options pds-grid pds-grid--narrow` }, a.map((_,
|
|
2198
|
+
/* @__PURE__ */ e.createElement("div", { className: `${u}__options pds-grid pds-grid--narrow` }, a.map((_, b) => /* @__PURE__ */ e.createElement(
|
|
2203
2199
|
"div",
|
|
2204
2200
|
{
|
|
2205
2201
|
className: [`${u}__option`, f].join(" ").trim().replace(/\s+/g, " "),
|
|
2206
|
-
key: `${t}-option-${
|
|
2202
|
+
key: `${t}-option-${b}`
|
|
2207
2203
|
},
|
|
2208
2204
|
/* @__PURE__ */ e.createElement(
|
|
2209
2205
|
"input",
|
|
2210
2206
|
{
|
|
2211
2207
|
type: "radio",
|
|
2212
|
-
id: _.id ? _.id : `${t}-option-${
|
|
2208
|
+
id: _.id ? _.id : `${t}-option-${b}`,
|
|
2213
2209
|
name: t,
|
|
2214
2210
|
value: _.value,
|
|
2215
2211
|
onClick: y,
|
|
2216
|
-
defaultChecked:
|
|
2212
|
+
defaultChecked: C === _.value
|
|
2217
2213
|
}
|
|
2218
2214
|
),
|
|
2219
2215
|
/* @__PURE__ */ e.createElement(
|
|
2220
2216
|
"label",
|
|
2221
2217
|
{
|
|
2222
|
-
htmlFor: _.id ? _.id : `${t}-option-${
|
|
2223
|
-
className:
|
|
2218
|
+
htmlFor: _.id ? _.id : `${t}-option-${b}`,
|
|
2219
|
+
className: C === _.value ? `${u}__option-label ${u}__option-label--selected` : `${u}__option-label`
|
|
2224
2220
|
},
|
|
2225
2221
|
/* @__PURE__ */ e.createElement("div", { className: `${u}__option-label-indicator` }, /* @__PURE__ */ e.createElement(
|
|
2226
2222
|
R,
|
|
2227
2223
|
{
|
|
2228
|
-
iconName:
|
|
2224
|
+
iconName: C === _.value ? "circleCheck" : "circle",
|
|
2229
2225
|
iconSize: "xl",
|
|
2230
|
-
className:
|
|
2226
|
+
className: C === _.value ? `${u}__option-icon ${u}__option-icon--selected` : `${u}__option-icon`
|
|
2231
2227
|
}
|
|
2232
2228
|
)),
|
|
2233
2229
|
/* @__PURE__ */ e.createElement("div", { className: `${u}__option-label-text` }, _.label, _.description && /* @__PURE__ */ e.createElement("div", { className: `${u}__option-description` }, _.description))
|
|
@@ -2247,7 +2243,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2247
2243
|
"className"
|
|
2248
2244
|
]);
|
|
2249
2245
|
const c = "pds-links-card", o = /* @__PURE__ */ e.createElement(qt, null, /* @__PURE__ */ e.createElement("div", { slot: "main" }, n && /* @__PURE__ */ e.createElement(
|
|
2250
|
-
|
|
2246
|
+
b1,
|
|
2251
2247
|
{
|
|
2252
2248
|
className: `${c}__heading`,
|
|
2253
2249
|
fontSize: "XL",
|
|
@@ -2561,8 +2557,8 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2561
2557
|
"supplementalLinks",
|
|
2562
2558
|
"className"
|
|
2563
2559
|
]);
|
|
2564
|
-
const h = "pds-new-site-card",
|
|
2565
|
-
|
|
2560
|
+
const h = "pds-new-site-card", C = a.type, E = /* @__PURE__ */ e.createElement(qt, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${h}__main` }, /* @__PURE__ */ e.createElement(
|
|
2561
|
+
C,
|
|
2566
2562
|
L({
|
|
2567
2563
|
"aria-label": a.props.children,
|
|
2568
2564
|
className: `${h}__selection-link`
|
|
@@ -2664,7 +2660,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2664
2660
|
options: g,
|
|
2665
2661
|
required: u = !1,
|
|
2666
2662
|
showLabel: h = !0,
|
|
2667
|
-
validationMessage:
|
|
2663
|
+
validationMessage: C,
|
|
2668
2664
|
validationStatus: E,
|
|
2669
2665
|
value: y,
|
|
2670
2666
|
className: v
|
|
@@ -2688,10 +2684,10 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2688
2684
|
"className"
|
|
2689
2685
|
]);
|
|
2690
2686
|
var Re, st;
|
|
2691
|
-
const f = tt(l), _ = "pds-select",
|
|
2687
|
+
const f = tt(l), _ = "pds-select", b = s ? J.disabled : null, M = u && !s ? J.required : null, H = E === "error" ? J.error : null, w = E === "success" ? J.success : null;
|
|
2692
2688
|
let z = null;
|
|
2693
2689
|
E === "error" && (z = "error"), E === "success" && (z = "success");
|
|
2694
|
-
const k =
|
|
2690
|
+
const k = C || a, I = typeof y != "undefined", V = typeof t != "undefined", T = ((_e) => _e.reduce((Ee, fe) => t1(fe) ? [...Ee, ...fe.options] : [...Ee, fe], []))(g), N = (_e) => T.findIndex((Ee) => Ee.value === _e), P = I && N(y) >= 0 ? N(y) : null, B = V ? N(t) : null, F = P || B, [K, Q] = Z(!1), [G, Y] = Z(null), [W, O] = Z(
|
|
2695
2691
|
F != null ? F : null
|
|
2696
2692
|
), X = W !== null ? (Re = T[W]) == null ? void 0 : Re.label : void 0, ae = W !== null ? (st = T[W]) == null ? void 0 : st.value : void 0, te = ie([]), { context: j, refs: se } = Ve({
|
|
2697
2693
|
open: K,
|
|
@@ -2804,7 +2800,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2804
2800
|
className: x([
|
|
2805
2801
|
J.base,
|
|
2806
2802
|
_,
|
|
2807
|
-
|
|
2803
|
+
b,
|
|
2808
2804
|
M,
|
|
2809
2805
|
H,
|
|
2810
2806
|
w,
|
|
@@ -2856,14 +2852,14 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2856
2852
|
{
|
|
2857
2853
|
id: n,
|
|
2858
2854
|
message: k,
|
|
2859
|
-
hasValidationMessage: !!
|
|
2855
|
+
hasValidationMessage: !!C,
|
|
2860
2856
|
validationMessageHasDecorators: !1,
|
|
2861
2857
|
validationStatus: E
|
|
2862
2858
|
}
|
|
2863
2859
|
)
|
|
2864
2860
|
);
|
|
2865
2861
|
}, os = (h) => {
|
|
2866
|
-
var
|
|
2862
|
+
var C = h, {
|
|
2867
2863
|
actionPrimary: t,
|
|
2868
2864
|
actionSecondary: s,
|
|
2869
2865
|
hasComparisonList: n = !0,
|
|
@@ -2878,7 +2874,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2878
2874
|
selectLabel: o = "Select a plan size",
|
|
2879
2875
|
statusBadgeType: d,
|
|
2880
2876
|
className: g
|
|
2881
|
-
} =
|
|
2877
|
+
} = C, u = S(C, [
|
|
2882
2878
|
"actionPrimary",
|
|
2883
2879
|
"actionSecondary",
|
|
2884
2880
|
"hasComparisonList",
|
|
@@ -2893,7 +2889,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2893
2889
|
]);
|
|
2894
2890
|
const E = "pds-pricing-card", y = `${E}-container`, v = n ? `${y}--with-list` : null, $ = d ? `${E}--${d}` : null, p = (A) => A.toLowerCase().replace(/\s/g, "-"), m = a && a.length > 1, [f, _] = Z(
|
|
2895
2891
|
p(a[0].label)
|
|
2896
|
-
), [
|
|
2892
|
+
), [b, M] = Z(
|
|
2897
2893
|
t.label
|
|
2898
2894
|
);
|
|
2899
2895
|
let H = null, w = null;
|
|
@@ -2979,7 +2975,7 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
2979
2975
|
dt,
|
|
2980
2976
|
{
|
|
2981
2977
|
variant: t.variant,
|
|
2982
|
-
label:
|
|
2978
|
+
label: b,
|
|
2983
2979
|
onClick: t.buttonAction,
|
|
2984
2980
|
disabled: t.disabled
|
|
2985
2981
|
}
|
|
@@ -3047,24 +3043,24 @@ const zt = 300, Q1 = 400, Fe = (u) => {
|
|
|
3047
3043
|
"className"
|
|
3048
3044
|
]);
|
|
3049
3045
|
const u = "pds-site-card";
|
|
3050
|
-
let h,
|
|
3051
|
-
a === "active" && (h = "Active",
|
|
3046
|
+
let h, C;
|
|
3047
|
+
a === "active" && (h = "Active", C = "success"), a === "frozen" && (h = "Frozen", C = "frozen");
|
|
3052
3048
|
const E = /* @__PURE__ */ e.createElement(
|
|
3053
3049
|
Wt,
|
|
3054
3050
|
{
|
|
3055
3051
|
label: h,
|
|
3056
|
-
statusType:
|
|
3052
|
+
statusType: C,
|
|
3057
3053
|
hasStatusIndicator: !0
|
|
3058
3054
|
}
|
|
3059
3055
|
), y = /* @__PURE__ */ e.createElement(qt, null, /* @__PURE__ */ e.createElement("img", { slot: "image", src: n, alt: "" }), /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${u}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__header` }, /* @__PURE__ */ e.createElement(
|
|
3060
|
-
|
|
3056
|
+
b1,
|
|
3061
3057
|
{
|
|
3062
3058
|
fontSize: "L",
|
|
3063
3059
|
fontWeight: "semibold",
|
|
3064
3060
|
level: s,
|
|
3065
3061
|
text: r
|
|
3066
3062
|
}
|
|
3067
|
-
), E), /* @__PURE__ */ e.createElement("div", { className: `${u}__plan` }, i))), v =
|
|
3063
|
+
), E), /* @__PURE__ */ e.createElement("div", { className: `${u}__plan` }, i))), v = Ce(l) ? xe(l, he(L({}, l.props), {
|
|
3068
3064
|
className: `${u}__link`,
|
|
3069
3065
|
children: y,
|
|
3070
3066
|
"aria-label": `${t} ${r} dashboard`
|
|
@@ -3185,13 +3181,13 @@ var $1 = { exports: {} };
|
|
|
3185
3181
|
*/
|
|
3186
3182
|
clone: function p(m, f) {
|
|
3187
3183
|
f = f || {};
|
|
3188
|
-
var _,
|
|
3184
|
+
var _, b;
|
|
3189
3185
|
switch (c.util.type(m)) {
|
|
3190
3186
|
case "Object":
|
|
3191
|
-
if (
|
|
3192
|
-
return f[
|
|
3187
|
+
if (b = c.util.objId(m), f[b])
|
|
3188
|
+
return f[b];
|
|
3193
3189
|
_ = /** @type {Record<string, any>} */
|
|
3194
|
-
{}, f[
|
|
3190
|
+
{}, f[b] = _;
|
|
3195
3191
|
for (var M in m)
|
|
3196
3192
|
m.hasOwnProperty(M) && (_[M] = p(m[M], f));
|
|
3197
3193
|
return (
|
|
@@ -3199,7 +3195,7 @@ var $1 = { exports: {} };
|
|
|
3199
3195
|
_
|
|
3200
3196
|
);
|
|
3201
3197
|
case "Array":
|
|
3202
|
-
return
|
|
3198
|
+
return b = c.util.objId(m), f[b] ? f[b] : (_ = [], f[b] = _, /** @type {Array} */
|
|
3203
3199
|
/** @type {any} */
|
|
3204
3200
|
m.forEach(function(H, w) {
|
|
3205
3201
|
_[w] = p(H, f);
|
|
@@ -3285,10 +3281,10 @@ var $1 = { exports: {} };
|
|
|
3285
3281
|
*/
|
|
3286
3282
|
isActive: function(p, m, f) {
|
|
3287
3283
|
for (var _ = "no-" + m; p; ) {
|
|
3288
|
-
var
|
|
3289
|
-
if (
|
|
3284
|
+
var b = p.classList;
|
|
3285
|
+
if (b.contains(m))
|
|
3290
3286
|
return !0;
|
|
3291
|
-
if (
|
|
3287
|
+
if (b.contains(_))
|
|
3292
3288
|
return !1;
|
|
3293
3289
|
p = p.parentElement;
|
|
3294
3290
|
}
|
|
@@ -3422,13 +3418,13 @@ var $1 = { exports: {} };
|
|
|
3422
3418
|
insertBefore: function(p, m, f, _) {
|
|
3423
3419
|
_ = _ || /** @type {any} */
|
|
3424
3420
|
c.languages;
|
|
3425
|
-
var
|
|
3426
|
-
for (var H in
|
|
3427
|
-
if (
|
|
3421
|
+
var b = _[p], M = {};
|
|
3422
|
+
for (var H in b)
|
|
3423
|
+
if (b.hasOwnProperty(H)) {
|
|
3428
3424
|
if (H == m)
|
|
3429
3425
|
for (var w in f)
|
|
3430
3426
|
f.hasOwnProperty(w) && (M[w] = f[w]);
|
|
3431
|
-
f.hasOwnProperty(H) || (M[H] =
|
|
3427
|
+
f.hasOwnProperty(H) || (M[H] = b[H]);
|
|
3432
3428
|
}
|
|
3433
3429
|
var z = _[p];
|
|
3434
3430
|
return _[p] = M, c.languages.DFS(c.languages, function(k, I) {
|
|
@@ -3436,14 +3432,14 @@ var $1 = { exports: {} };
|
|
|
3436
3432
|
}), M;
|
|
3437
3433
|
},
|
|
3438
3434
|
// Traverse a language definition with Depth First Search
|
|
3439
|
-
DFS: function p(m, f, _,
|
|
3440
|
-
|
|
3435
|
+
DFS: function p(m, f, _, b) {
|
|
3436
|
+
b = b || {};
|
|
3441
3437
|
var M = c.util.objId;
|
|
3442
3438
|
for (var H in m)
|
|
3443
3439
|
if (m.hasOwnProperty(H)) {
|
|
3444
3440
|
f.call(m, H, m[H], _ || H);
|
|
3445
3441
|
var w = m[H], z = c.util.type(w);
|
|
3446
|
-
z === "Object" && !
|
|
3442
|
+
z === "Object" && !b[M(w)] ? (b[M(w)] = !0, p(w, f, null, b)) : z === "Array" && !b[M(w)] && (b[M(w)] = !0, p(w, f, H, b));
|
|
3447
3443
|
}
|
|
3448
3444
|
}
|
|
3449
3445
|
},
|
|
@@ -3485,7 +3481,7 @@ var $1 = { exports: {} };
|
|
|
3485
3481
|
selector: 'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'
|
|
3486
3482
|
};
|
|
3487
3483
|
c.hooks.run("before-highlightall", _), _.elements = Array.prototype.slice.apply(_.container.querySelectorAll(_.selector)), c.hooks.run("before-all-elements-highlight", _);
|
|
3488
|
-
for (var
|
|
3484
|
+
for (var b = 0, M; M = _.elements[b++]; )
|
|
3489
3485
|
c.highlightElement(M, m === !0, _.callback);
|
|
3490
3486
|
},
|
|
3491
3487
|
/**
|
|
@@ -3517,14 +3513,14 @@ var $1 = { exports: {} };
|
|
|
3517
3513
|
* @public
|
|
3518
3514
|
*/
|
|
3519
3515
|
highlightElement: function(p, m, f) {
|
|
3520
|
-
var _ = c.util.getLanguage(p),
|
|
3516
|
+
var _ = c.util.getLanguage(p), b = c.languages[_];
|
|
3521
3517
|
c.util.setLanguage(p, _);
|
|
3522
3518
|
var M = p.parentElement;
|
|
3523
3519
|
M && M.nodeName.toLowerCase() === "pre" && c.util.setLanguage(M, _);
|
|
3524
3520
|
var H = p.textContent, w = {
|
|
3525
3521
|
element: p,
|
|
3526
3522
|
language: _,
|
|
3527
|
-
grammar:
|
|
3523
|
+
grammar: b,
|
|
3528
3524
|
code: H
|
|
3529
3525
|
};
|
|
3530
3526
|
function z(I) {
|
|
@@ -3611,8 +3607,8 @@ var $1 = { exports: {} };
|
|
|
3611
3607
|
m[_] = f[_];
|
|
3612
3608
|
delete m.rest;
|
|
3613
3609
|
}
|
|
3614
|
-
var
|
|
3615
|
-
return h(
|
|
3610
|
+
var b = new u();
|
|
3611
|
+
return h(b, b.head, p), g(p, b, m, b.head, 0), E(b);
|
|
3616
3612
|
},
|
|
3617
3613
|
/**
|
|
3618
3614
|
* @namespace
|
|
@@ -3649,8 +3645,8 @@ var $1 = { exports: {} };
|
|
|
3649
3645
|
run: function(p, m) {
|
|
3650
3646
|
var f = c.hooks.all[p];
|
|
3651
3647
|
if (!(!f || !f.length))
|
|
3652
|
-
for (var _ = 0,
|
|
3653
|
-
|
|
3648
|
+
for (var _ = 0, b; b = f[_++]; )
|
|
3649
|
+
b(m);
|
|
3654
3650
|
}
|
|
3655
3651
|
},
|
|
3656
3652
|
Token: o
|
|
@@ -3668,7 +3664,7 @@ var $1 = { exports: {} };
|
|
|
3668
3664
|
_ += p(z, f);
|
|
3669
3665
|
}), _;
|
|
3670
3666
|
}
|
|
3671
|
-
var
|
|
3667
|
+
var b = {
|
|
3672
3668
|
type: m.type,
|
|
3673
3669
|
content: p(m.content, f),
|
|
3674
3670
|
tag: "span",
|
|
@@ -3676,22 +3672,22 @@ var $1 = { exports: {} };
|
|
|
3676
3672
|
attributes: {},
|
|
3677
3673
|
language: f
|
|
3678
3674
|
}, M = m.alias;
|
|
3679
|
-
M && (Array.isArray(M) ? Array.prototype.push.apply(
|
|
3675
|
+
M && (Array.isArray(M) ? Array.prototype.push.apply(b.classes, M) : b.classes.push(M)), c.hooks.run("wrap", b);
|
|
3680
3676
|
var H = "";
|
|
3681
|
-
for (var w in
|
|
3682
|
-
H += " " + w + '="' + (
|
|
3683
|
-
return "<" +
|
|
3677
|
+
for (var w in b.attributes)
|
|
3678
|
+
H += " " + w + '="' + (b.attributes[w] || "").replace(/"/g, """) + '"';
|
|
3679
|
+
return "<" + b.tag + ' class="' + b.classes.join(" ") + '"' + H + ">" + b.content + "</" + b.tag + ">";
|
|
3684
3680
|
};
|
|
3685
3681
|
function d(p, m, f, _) {
|
|
3686
3682
|
p.lastIndex = m;
|
|
3687
|
-
var
|
|
3688
|
-
if (
|
|
3689
|
-
var M =
|
|
3690
|
-
|
|
3683
|
+
var b = p.exec(f);
|
|
3684
|
+
if (b && _ && b[1]) {
|
|
3685
|
+
var M = b[1].length;
|
|
3686
|
+
b.index += M, b[0] = b[0].slice(M);
|
|
3691
3687
|
}
|
|
3692
|
-
return
|
|
3688
|
+
return b;
|
|
3693
3689
|
}
|
|
3694
|
-
function g(p, m, f, _,
|
|
3690
|
+
function g(p, m, f, _, b, M) {
|
|
3695
3691
|
for (var H in f)
|
|
3696
3692
|
if (!(!f.hasOwnProperty(H) || !f[H])) {
|
|
3697
3693
|
var w = f[H];
|
|
@@ -3704,7 +3700,7 @@ var $1 = { exports: {} };
|
|
|
3704
3700
|
var N = k.pattern.toString().match(/[imsuy]*$/)[0];
|
|
3705
3701
|
k.pattern = RegExp(k.pattern.source, N + "g");
|
|
3706
3702
|
}
|
|
3707
|
-
for (var P = k.pattern || k, B = _.next, F =
|
|
3703
|
+
for (var P = k.pattern || k, B = _.next, F = b; B !== m.tail && !(M && F >= M.reach); F += B.value.length, B = B.next) {
|
|
3708
3704
|
var K = B.value;
|
|
3709
3705
|
if (m.length > p.length)
|
|
3710
3706
|
return;
|
|
@@ -3726,7 +3722,7 @@ var $1 = { exports: {} };
|
|
|
3726
3722
|
var X = G.index, ae = G[0], te = K.slice(0, X), j = K.slice(X + ae.length), se = F + K.length;
|
|
3727
3723
|
M && se > M.reach && (M.reach = se);
|
|
3728
3724
|
var ne = B.prev;
|
|
3729
|
-
te && (ne = h(m, ne, te), F += te.length),
|
|
3725
|
+
te && (ne = h(m, ne, te), F += te.length), C(m, ne, Q);
|
|
3730
3726
|
var me = new o(H, I ? c.tokenize(ae, I) : ae, T, ae);
|
|
3731
3727
|
if (B = h(m, ne, me), j && h(m, B, j), Q > 1) {
|
|
3732
3728
|
var ue = {
|
|
@@ -3745,13 +3741,13 @@ var $1 = { exports: {} };
|
|
|
3745
3741
|
p.next = m, this.head = p, this.tail = m, this.length = 0;
|
|
3746
3742
|
}
|
|
3747
3743
|
function h(p, m, f) {
|
|
3748
|
-
var _ = m.next,
|
|
3749
|
-
return m.next =
|
|
3744
|
+
var _ = m.next, b = { value: f, prev: m, next: _ };
|
|
3745
|
+
return m.next = b, _.prev = b, p.length++, b;
|
|
3750
3746
|
}
|
|
3751
|
-
function
|
|
3752
|
-
for (var _ = m.next,
|
|
3747
|
+
function C(p, m, f) {
|
|
3748
|
+
for (var _ = m.next, b = 0; b < f && _ !== p.tail; b++)
|
|
3753
3749
|
_ = _.next;
|
|
3754
|
-
m.next = _, _.prev = m, p.length -=
|
|
3750
|
+
m.next = _, _.prev = m, p.length -= b;
|
|
3755
3751
|
}
|
|
3756
3752
|
function E(p) {
|
|
3757
3753
|
for (var m = [], f = p.head.next; f !== p.tail; )
|
|
@@ -3760,8 +3756,8 @@ var $1 = { exports: {} };
|
|
|
3760
3756
|
}
|
|
3761
3757
|
if (!l.document)
|
|
3762
3758
|
return l.addEventListener && (c.disableWorkerMessageHandler || l.addEventListener("message", function(p) {
|
|
3763
|
-
var m = JSON.parse(p.data), f = m.language, _ = m.code,
|
|
3764
|
-
l.postMessage(c.highlight(_, c.languages[f], f)),
|
|
3759
|
+
var m = JSON.parse(p.data), f = m.language, _ = m.code, b = m.immediateClose;
|
|
3760
|
+
l.postMessage(c.highlight(_, c.languages[f], f)), b && l.close();
|
|
3765
3761
|
}, !1)), c;
|
|
3766
3762
|
var y = c.util.currentScript();
|
|
3767
3763
|
y && (c.filename = y.src, y.hasAttribute("data-manual") && (c.manual = !0));
|
|
@@ -4205,7 +4201,7 @@ const m2 = /* @__PURE__ */ i2(d2), u2 = {
|
|
|
4205
4201
|
});
|
|
4206
4202
|
})(Prism);
|
|
4207
4203
|
const ds = (h) => {
|
|
4208
|
-
var
|
|
4204
|
+
var C = h, {
|
|
4209
4205
|
code: t,
|
|
4210
4206
|
colorType: s = "dark",
|
|
4211
4207
|
copyButtonLabel: n = "Copy to clipboard",
|
|
@@ -4217,7 +4213,7 @@ const ds = (h) => {
|
|
|
4217
4213
|
promptSymbol: o = "$",
|
|
4218
4214
|
shouldWrap: d = !1,
|
|
4219
4215
|
className: g
|
|
4220
|
-
} =
|
|
4216
|
+
} = C, u = S(C, [
|
|
4221
4217
|
"code",
|
|
4222
4218
|
"colorType",
|
|
4223
4219
|
"copyButtonLabel",
|
|
@@ -4230,7 +4226,7 @@ const ds = (h) => {
|
|
|
4230
4226
|
"shouldWrap",
|
|
4231
4227
|
"className"
|
|
4232
4228
|
]);
|
|
4233
|
-
const E = "pds-code-block", y = `${E}--${s}`, v = d ? `${E}__line-wrapped` : "", $ = c ? { maxHeight: `${c}rem` } : {}, p = s === "dark" ? "reverse" : "standard", m = s === "dark" ? u2 : p2, f = ["bash", "diff", "twig"], _ = /* @__PURE__ */ e.createElement(ct.LineContent, null, /* @__PURE__ */ e.createElement(ct.Token, null)),
|
|
4229
|
+
const E = "pds-code-block", y = `${E}--${s}`, v = d ? `${E}__line-wrapped` : "", $ = c ? { maxHeight: `${c}rem` } : {}, p = s === "dark" ? "reverse" : "standard", m = s === "dark" ? u2 : p2, f = ["bash", "diff", "twig"], _ = /* @__PURE__ */ e.createElement(ct.LineContent, null, /* @__PURE__ */ e.createElement(ct.Token, null)), b = /* @__PURE__ */ e.createElement("div", { className: `${E}__line ${v}` }, /* @__PURE__ */ e.createElement(ct.LineNumber, { className: `${E}__number` }), _), M = /* @__PURE__ */ e.createElement("div", { className: `${E}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__prompt` }, o), _);
|
|
4234
4230
|
return /* @__PURE__ */ e.createElement(
|
|
4235
4231
|
"div",
|
|
4236
4232
|
L({
|
|
@@ -4245,7 +4241,7 @@ const ds = (h) => {
|
|
|
4245
4241
|
theme: m,
|
|
4246
4242
|
prism: f.includes(a) ? m2 : void 0
|
|
4247
4243
|
},
|
|
4248
|
-
/* @__PURE__ */ e.createElement(ct.Code, { className: `${E}__code`, tabIndex: 0 }, r || i ? r ?
|
|
4244
|
+
/* @__PURE__ */ e.createElement(ct.Code, { className: `${E}__code`, tabIndex: 0 }, r || i ? r ? b : M : _)
|
|
4249
4245
|
),
|
|
4250
4246
|
l && /* @__PURE__ */ e.createElement("div", { className: `${E}__copy` }, /* @__PURE__ */ e.createElement(
|
|
4251
4247
|
t2,
|
|
@@ -4302,13 +4298,13 @@ const ds = (h) => {
|
|
|
4302
4298
|
"secondaryLinkContent",
|
|
4303
4299
|
"className"
|
|
4304
4300
|
]);
|
|
4305
|
-
const u = "pds-cta-slice", h = t && t !== "default" ? `${u}--${t}` : null,
|
|
4301
|
+
const u = "pds-cta-slice", h = t && t !== "default" ? `${u}--${t}` : null, C = s && s !== "standard" ? `pds-container pds-container--${s}` : "pds-container";
|
|
4306
4302
|
return /* @__PURE__ */ e.createElement(
|
|
4307
4303
|
"div",
|
|
4308
4304
|
L({
|
|
4309
4305
|
className: x([u, h, c])
|
|
4310
4306
|
}, o),
|
|
4311
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
4307
|
+
/* @__PURE__ */ e.createElement("div", { className: C }, l && /* @__PURE__ */ e.createElement(mt, { baseClass: u, className: "pds-ts-4xl", level: n }, l), r && /* @__PURE__ */ e.createElement(
|
|
4312
4308
|
"div",
|
|
4313
4309
|
{
|
|
4314
4310
|
className: `${u}__lead-text pds-lead-text pds-lead-text--sm`
|
|
@@ -4427,8 +4423,8 @@ const ds = (h) => {
|
|
|
4427
4423
|
"className"
|
|
4428
4424
|
]);
|
|
4429
4425
|
const a = "pds-flow-steps", c = `${a}--${t}`, o = s.map(({ header: d, content: g }, u) => {
|
|
4430
|
-
const h = /* @__PURE__ */ e.createElement("div", { className: `${a}__number` }, /* @__PURE__ */ e.createElement("span", null, u + 1)),
|
|
4431
|
-
return /* @__PURE__ */ e.createElement("li", { key: u, className: `${a}__step` }, t === "indented" && /* @__PURE__ */ e.createElement(e.Fragment, null, h, /* @__PURE__ */ e.createElement("div", { className: `${a}__content-group` },
|
|
4426
|
+
const h = /* @__PURE__ */ e.createElement("div", { className: `${a}__number` }, /* @__PURE__ */ e.createElement("span", null, u + 1)), C = /* @__PURE__ */ e.createElement("div", { className: `${a}__header` }, d), E = g ? /* @__PURE__ */ e.createElement("div", { className: `${a}__content` }, g) : null;
|
|
4427
|
+
return /* @__PURE__ */ e.createElement("li", { key: u, className: `${a}__step` }, t === "indented" && /* @__PURE__ */ e.createElement(e.Fragment, null, h, /* @__PURE__ */ e.createElement("div", { className: `${a}__content-group` }, C, E)), t === "left" && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${a}__header-group` }, h, C), E));
|
|
4432
4428
|
});
|
|
4433
4429
|
return /* @__PURE__ */ e.createElement(
|
|
4434
4430
|
"ol",
|
|
@@ -4499,10 +4495,10 @@ const ds = (h) => {
|
|
|
4499
4495
|
"legalLinks",
|
|
4500
4496
|
"className"
|
|
4501
4497
|
]);
|
|
4502
|
-
const c = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", d = (/* @__PURE__ */ new Date()).getFullYear(), g = n.includes("privacy"), u = n.includes("dataSubjectRequest"), h = n.includes("cookiePolicy"),
|
|
4503
|
-
return /* @__PURE__ */ e.createElement("footer", L({ className: x([c, l != null ? l : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, s && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, s), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", d, " Pantheon Systems, Inc."), g && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), u && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), h && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"),
|
|
4498
|
+
const c = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", d = (/* @__PURE__ */ new Date()).getFullYear(), g = n.includes("privacy"), u = n.includes("dataSubjectRequest"), h = n.includes("cookiePolicy"), C = n.includes("termsOfUse"), E = n.includes("acceptableUse"), y = n.includes("accessibilityStatement");
|
|
4499
|
+
return /* @__PURE__ */ e.createElement("footer", L({ className: x([c, l != null ? l : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, s && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, s), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", d, " Pantheon Systems, Inc."), g && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), u && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), h && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), C && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), E && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), y && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
|
|
4504
4500
|
}, g2 = Ze(
|
|
4505
|
-
(M,
|
|
4501
|
+
(M, b) => {
|
|
4506
4502
|
var H = M, {
|
|
4507
4503
|
checked: t,
|
|
4508
4504
|
defaultChecked: s,
|
|
@@ -4517,7 +4513,7 @@ const ds = (h) => {
|
|
|
4517
4513
|
nestingLevel: g = 0,
|
|
4518
4514
|
onBlur: u,
|
|
4519
4515
|
onChange: h,
|
|
4520
|
-
onFocus:
|
|
4516
|
+
onFocus: C,
|
|
4521
4517
|
required: E,
|
|
4522
4518
|
showLabel: y = !0,
|
|
4523
4519
|
size: v = "M",
|
|
@@ -4590,7 +4586,7 @@ const ds = (h) => {
|
|
|
4590
4586
|
/* @__PURE__ */ e.createElement("div", { className: `${z}__input-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
4591
4587
|
"input",
|
|
4592
4588
|
L(he(L({
|
|
4593
|
-
ref:
|
|
4589
|
+
ref: b,
|
|
4594
4590
|
id: l,
|
|
4595
4591
|
name: d,
|
|
4596
4592
|
type: "checkbox",
|
|
@@ -4601,7 +4597,7 @@ const ds = (h) => {
|
|
|
4601
4597
|
required: E,
|
|
4602
4598
|
onBlur: u,
|
|
4603
4599
|
onChange: Y,
|
|
4604
|
-
onFocus:
|
|
4600
|
+
onFocus: C,
|
|
4605
4601
|
"aria-invalid": p === "error" ? !0 : null,
|
|
4606
4602
|
"aria-describedby": P ? `${l}__message` : null
|
|
4607
4603
|
}), i)
|
|
@@ -4639,8 +4635,8 @@ const ds = (h) => {
|
|
|
4639
4635
|
)
|
|
4640
4636
|
);
|
|
4641
4637
|
}
|
|
4642
|
-
), _s = (
|
|
4643
|
-
var E =
|
|
4638
|
+
), _s = (C) => {
|
|
4639
|
+
var E = C, {
|
|
4644
4640
|
children: t,
|
|
4645
4641
|
disabled: s = !1,
|
|
4646
4642
|
fieldsetProps: n,
|
|
@@ -4718,7 +4714,7 @@ const ds = (h) => {
|
|
|
4718
4714
|
showLabel: g = !0,
|
|
4719
4715
|
validationMessage: u,
|
|
4720
4716
|
validationStatus: h,
|
|
4721
|
-
className:
|
|
4717
|
+
className: C
|
|
4722
4718
|
} = v, E = S(v, [
|
|
4723
4719
|
"disabled",
|
|
4724
4720
|
"fieldsetProps",
|
|
@@ -4735,7 +4731,7 @@ const ds = (h) => {
|
|
|
4735
4731
|
"validationStatus",
|
|
4736
4732
|
"className"
|
|
4737
4733
|
]);
|
|
4738
|
-
const $ = l ? { width: `${l / 16}rem` } : null, p = "pds-checkbox-group", m = t ? J.disabled : null, f = d && !t ? J.required : null, _ = h === "error" ? J.error : null,
|
|
4734
|
+
const $ = l ? { width: `${l / 16}rem` } : null, p = "pds-checkbox-group", m = t ? J.disabled : null, f = d && !t ? J.required : null, _ = h === "error" ? J.error : null, b = h === "success" ? J.success : null, M = u || i;
|
|
4739
4735
|
o.map((V) => {
|
|
4740
4736
|
V.id || (V.id = V.value);
|
|
4741
4737
|
});
|
|
@@ -4763,8 +4759,8 @@ const ds = (h) => {
|
|
|
4763
4759
|
m,
|
|
4764
4760
|
f,
|
|
4765
4761
|
_,
|
|
4766
|
-
|
|
4767
|
-
|
|
4762
|
+
b,
|
|
4763
|
+
C != null ? C : ""
|
|
4768
4764
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
4769
4765
|
style: l ? $ : null
|
|
4770
4766
|
}, E),
|
|
@@ -4825,7 +4821,7 @@ const ds = (h) => {
|
|
|
4825
4821
|
},
|
|
4826
4822
|
loadingText: u = "Loading results...",
|
|
4827
4823
|
message: h,
|
|
4828
|
-
noResultsText:
|
|
4824
|
+
noResultsText: C = "No results found",
|
|
4829
4825
|
onChange: E,
|
|
4830
4826
|
onBlur: y,
|
|
4831
4827
|
onClear: v,
|
|
@@ -4834,7 +4830,7 @@ const ds = (h) => {
|
|
|
4834
4830
|
options: m,
|
|
4835
4831
|
placeholder: f,
|
|
4836
4832
|
required: _ = !1,
|
|
4837
|
-
showLabel:
|
|
4833
|
+
showLabel: b = !0,
|
|
4838
4834
|
value: M,
|
|
4839
4835
|
validationMessage: H,
|
|
4840
4836
|
validationStatus: w,
|
|
@@ -4978,7 +4974,7 @@ const ds = (h) => {
|
|
|
4978
4974
|
{
|
|
4979
4975
|
id: a,
|
|
4980
4976
|
label: d,
|
|
4981
|
-
showLabel:
|
|
4977
|
+
showLabel: b,
|
|
4982
4978
|
required: _,
|
|
4983
4979
|
disabled: s
|
|
4984
4980
|
}
|
|
@@ -5063,7 +5059,7 @@ const ds = (h) => {
|
|
|
5063
5059
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5064
5060
|
}
|
|
5065
5061
|
})),
|
|
5066
|
-
/* @__PURE__ */ e.createElement("div", { style: L({}, Re) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${N}__loading` }, u) : me.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${N}__options` }, D) : /* @__PURE__ */ e.createElement("div", { className: `${N}__no-results` },
|
|
5062
|
+
/* @__PURE__ */ e.createElement("div", { style: L({}, Re) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${N}__loading` }, u) : me.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${N}__options` }, D) : /* @__PURE__ */ e.createElement("div", { className: `${N}__no-results` }, C))
|
|
5067
5063
|
),
|
|
5068
5064
|
G && /* @__PURE__ */ e.createElement(
|
|
5069
5065
|
Te,
|
|
@@ -5096,7 +5092,7 @@ const ds = (h) => {
|
|
|
5096
5092
|
onClear: g,
|
|
5097
5093
|
onFileChange: u,
|
|
5098
5094
|
required: h = !1,
|
|
5099
|
-
showFullPath:
|
|
5095
|
+
showFullPath: C,
|
|
5100
5096
|
showLabel: E = !0,
|
|
5101
5097
|
validationMessage: y,
|
|
5102
5098
|
validationStatus: v,
|
|
@@ -5121,12 +5117,12 @@ const ds = (h) => {
|
|
|
5121
5117
|
"validationStatus",
|
|
5122
5118
|
"className"
|
|
5123
5119
|
]);
|
|
5124
|
-
const [
|
|
5120
|
+
const [b, M] = Z(!1), H = tt(a), w = "pds-file-upload", z = n ? J.disabled : null, k = h && !n ? J.required : null, I = v === "error" ? J.error : null, V = v === "success" ? J.success : null;
|
|
5125
5121
|
let A = null;
|
|
5126
5122
|
v === "error" && (A = "error"), v === "success" && (A = "success");
|
|
5127
5123
|
const T = y || o;
|
|
5128
5124
|
ce(() => {
|
|
5129
|
-
const F = s ? [s] : null, K = s ? s.split("/").pop() : null, Q =
|
|
5125
|
+
const F = s ? [s] : null, K = s ? s.split("/").pop() : null, Q = C ? s : K, G = s ? new File(F, Q) : null, Y = new DataTransfer();
|
|
5130
5126
|
G && Y.items.add(G);
|
|
5131
5127
|
const W = Y.files;
|
|
5132
5128
|
if (W.length > 0) {
|
|
@@ -5135,7 +5131,7 @@ const ds = (h) => {
|
|
|
5135
5131
|
);
|
|
5136
5132
|
O.files = W, M(!0);
|
|
5137
5133
|
}
|
|
5138
|
-
}, [s,
|
|
5134
|
+
}, [s, C]);
|
|
5139
5135
|
const N = (F) => {
|
|
5140
5136
|
if (F.target.files.length === 0) {
|
|
5141
5137
|
s ? P() : M(!1);
|
|
@@ -5184,7 +5180,7 @@ const ds = (h) => {
|
|
|
5184
5180
|
"label",
|
|
5185
5181
|
{
|
|
5186
5182
|
htmlFor: `${r}--input`,
|
|
5187
|
-
className:
|
|
5183
|
+
className: b ? "visually-hidden" : `${w}__input-label`
|
|
5188
5184
|
},
|
|
5189
5185
|
/* @__PURE__ */ e.createElement(R, { iconName: "paperclip", iconSize: "sm" }),
|
|
5190
5186
|
c.chooseFile
|
|
@@ -5203,7 +5199,7 @@ const ds = (h) => {
|
|
|
5203
5199
|
"aria-invalid": v === "error" ? !0 : null,
|
|
5204
5200
|
"aria-describedby": T ? `${r}__message` : null
|
|
5205
5201
|
}, i)
|
|
5206
|
-
),
|
|
5202
|
+
), b && /* @__PURE__ */ e.createElement(
|
|
5207
5203
|
Gt,
|
|
5208
5204
|
{
|
|
5209
5205
|
id: r,
|
|
@@ -5223,7 +5219,7 @@ const ds = (h) => {
|
|
|
5223
5219
|
)
|
|
5224
5220
|
);
|
|
5225
5221
|
}
|
|
5226
|
-
),
|
|
5222
|
+
), Cs = (l) => {
|
|
5227
5223
|
var r = l, {
|
|
5228
5224
|
children: t,
|
|
5229
5225
|
className: s
|
|
@@ -5231,8 +5227,8 @@ const ds = (h) => {
|
|
|
5231
5227
|
"children",
|
|
5232
5228
|
"className"
|
|
5233
5229
|
]);
|
|
5234
|
-
var
|
|
5235
|
-
const i = "pds-input-group", a = [t[0], t[1]], c = (
|
|
5230
|
+
var C, E, y, v;
|
|
5231
|
+
const i = "pds-input-group", a = [t[0], t[1]], c = (C = t[0].props.id) != null ? C : null, o = (E = t[0].props.message) != null ? E : null, d = (y = t[0].props.validationMessage) != null ? y : null, g = (v = t[0].props.validationStatus) != null ? v : null, u = d || o, h = u ? `${i}--has-message` : null;
|
|
5236
5232
|
return /* @__PURE__ */ e.createElement(
|
|
5237
5233
|
"div",
|
|
5238
5234
|
L({
|
|
@@ -5250,7 +5246,7 @@ const ds = (h) => {
|
|
|
5250
5246
|
}
|
|
5251
5247
|
)
|
|
5252
5248
|
);
|
|
5253
|
-
},
|
|
5249
|
+
}, bs = (p) => {
|
|
5254
5250
|
var m = p, {
|
|
5255
5251
|
defaultValue: t,
|
|
5256
5252
|
disabled: s = !1,
|
|
@@ -5265,7 +5261,7 @@ const ds = (h) => {
|
|
|
5265
5261
|
options: g,
|
|
5266
5262
|
required: u = !1,
|
|
5267
5263
|
showLabel: h = !0,
|
|
5268
|
-
validationMessage:
|
|
5264
|
+
validationMessage: C,
|
|
5269
5265
|
validationStatus: E,
|
|
5270
5266
|
value: y,
|
|
5271
5267
|
className: v
|
|
@@ -5288,9 +5284,9 @@ const ds = (h) => {
|
|
|
5288
5284
|
"value",
|
|
5289
5285
|
"className"
|
|
5290
5286
|
]);
|
|
5291
|
-
const f = "pds-radio-group", _ = s ? J.disabled : null,
|
|
5287
|
+
const f = "pds-radio-group", _ = s ? J.disabled : null, b = u && !s ? J.required : null, M = E === "error" ? J.error : null, H = E === "success" ? J.success : null, w = typeof y != "undefined", z = typeof t != "undefined", [k, I] = Z(
|
|
5292
5288
|
z ? t : ""
|
|
5293
|
-
), V =
|
|
5289
|
+
), V = C || a, A = (N) => {
|
|
5294
5290
|
w || I(N.target.value), o && o(N), d && d(N.target.value);
|
|
5295
5291
|
}, T = (N) => {
|
|
5296
5292
|
c && c(N);
|
|
@@ -5301,7 +5297,7 @@ const ds = (h) => {
|
|
|
5301
5297
|
className: x([
|
|
5302
5298
|
f,
|
|
5303
5299
|
_,
|
|
5304
|
-
|
|
5300
|
+
b,
|
|
5305
5301
|
M,
|
|
5306
5302
|
H,
|
|
5307
5303
|
v != null ? v : ""
|
|
@@ -5345,7 +5341,7 @@ const ds = (h) => {
|
|
|
5345
5341
|
{
|
|
5346
5342
|
id: l,
|
|
5347
5343
|
message: V,
|
|
5348
|
-
hasValidationMessage: !!
|
|
5344
|
+
hasValidationMessage: !!C,
|
|
5349
5345
|
validationMessageHasDecorators: !0,
|
|
5350
5346
|
validationStatus: E
|
|
5351
5347
|
}
|
|
@@ -5391,7 +5387,7 @@ const ds = (h) => {
|
|
|
5391
5387
|
onChange: g,
|
|
5392
5388
|
onLabel: u = "On",
|
|
5393
5389
|
required: h = !1,
|
|
5394
|
-
showLabel:
|
|
5390
|
+
showLabel: C = !0,
|
|
5395
5391
|
showStatusLabel: E = !0,
|
|
5396
5392
|
className: y
|
|
5397
5393
|
} = m, v = S(m, [
|
|
@@ -5412,7 +5408,7 @@ const ds = (h) => {
|
|
|
5412
5408
|
"showStatusLabel",
|
|
5413
5409
|
"className"
|
|
5414
5410
|
]);
|
|
5415
|
-
const f = tt(i), _ = "pds-switch",
|
|
5411
|
+
const f = tt(i), _ = "pds-switch", b = n ? J.disabled : null, M = h && !n ? J.required : null, H = typeof t != "undefined", w = c == "below", z = c == "right", k = !H && s ? s : !1, [I, V] = Z(k), A = t || I ? u : d, T = (Q) => {
|
|
5416
5412
|
H || V(Q.target.checked), g && g(Q);
|
|
5417
5413
|
}, N = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
5418
5414
|
"input",
|
|
@@ -5434,7 +5430,7 @@ const ds = (h) => {
|
|
|
5434
5430
|
{
|
|
5435
5431
|
id: l,
|
|
5436
5432
|
label: a,
|
|
5437
|
-
showLabel:
|
|
5433
|
+
showLabel: C,
|
|
5438
5434
|
required: h,
|
|
5439
5435
|
disabled: n,
|
|
5440
5436
|
className: x([
|
|
@@ -5469,7 +5465,7 @@ const ds = (h) => {
|
|
|
5469
5465
|
className: x([
|
|
5470
5466
|
J.base,
|
|
5471
5467
|
_,
|
|
5472
|
-
|
|
5468
|
+
b,
|
|
5473
5469
|
M,
|
|
5474
5470
|
K,
|
|
5475
5471
|
y
|
|
@@ -5495,7 +5491,7 @@ const ds = (h) => {
|
|
|
5495
5491
|
onFocus: g,
|
|
5496
5492
|
placeholder: u,
|
|
5497
5493
|
readonly: h = !1,
|
|
5498
|
-
required:
|
|
5494
|
+
required: C = !1,
|
|
5499
5495
|
rows: E = 5,
|
|
5500
5496
|
showLabel: y,
|
|
5501
5497
|
textareaProps: v,
|
|
@@ -5511,7 +5507,7 @@ const ds = (h) => {
|
|
|
5511
5507
|
validationStatus: m,
|
|
5512
5508
|
value: f,
|
|
5513
5509
|
className: _
|
|
5514
|
-
} = w,
|
|
5510
|
+
} = w, b = S(w, [
|
|
5515
5511
|
"counterMaxLength",
|
|
5516
5512
|
"defaultValue",
|
|
5517
5513
|
"disabled",
|
|
@@ -5535,7 +5531,7 @@ const ds = (h) => {
|
|
|
5535
5531
|
"value",
|
|
5536
5532
|
"className"
|
|
5537
5533
|
]);
|
|
5538
|
-
const z = tt(r), k = "pds-textarea", I = i ? "pds-is-resizable" : null, V = n ? J.disabled : null, A =
|
|
5534
|
+
const z = tt(r), k = "pds-textarea", I = i ? "pds-is-resizable" : null, V = n ? J.disabled : null, A = C && !n ? J.required : null, T = m === "error" ? J.error : null, N = m === "success" ? J.success : null, P = h ? J.readonly : null, B = p || c, F = f != null && d !== void 0, K = typeof s != "undefined", [Q, G] = Z(
|
|
5539
5535
|
K ? s : ""
|
|
5540
5536
|
), Y = f || Q, W = (X) => {
|
|
5541
5537
|
F || G(X.target.value), d && d(X);
|
|
@@ -5556,14 +5552,14 @@ const ds = (h) => {
|
|
|
5556
5552
|
_ != null ? _ : ""
|
|
5557
5553
|
]),
|
|
5558
5554
|
style: r ? z : null
|
|
5559
|
-
},
|
|
5555
|
+
}, b),
|
|
5560
5556
|
/* @__PURE__ */ e.createElement("div", { className: `${k}__inputlabel-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
5561
5557
|
je,
|
|
5562
5558
|
{
|
|
5563
5559
|
id: l,
|
|
5564
5560
|
label: a,
|
|
5565
5561
|
showLabel: y,
|
|
5566
|
-
required:
|
|
5562
|
+
required: C,
|
|
5567
5563
|
disabled: n,
|
|
5568
5564
|
className: `${k}__inputlabel`
|
|
5569
5565
|
}
|
|
@@ -5584,7 +5580,7 @@ const ds = (h) => {
|
|
|
5584
5580
|
id: l,
|
|
5585
5581
|
name: l,
|
|
5586
5582
|
placeholder: u,
|
|
5587
|
-
required:
|
|
5583
|
+
required: C,
|
|
5588
5584
|
readOnly: h,
|
|
5589
5585
|
disabled: n,
|
|
5590
5586
|
value: F ? f : Q,
|
|
@@ -5624,7 +5620,7 @@ const ds = (h) => {
|
|
|
5624
5620
|
message: g,
|
|
5625
5621
|
onBlur: u,
|
|
5626
5622
|
onChange: h,
|
|
5627
|
-
onClear:
|
|
5623
|
+
onClear: C,
|
|
5628
5624
|
onFocus: E,
|
|
5629
5625
|
placeholder: y,
|
|
5630
5626
|
readonly: v = !1,
|
|
@@ -5640,7 +5636,7 @@ const ds = (h) => {
|
|
|
5640
5636
|
visibilityToggleHide: "Hide input value",
|
|
5641
5637
|
visibilityToggleShow: "Show input value"
|
|
5642
5638
|
},
|
|
5643
|
-
type:
|
|
5639
|
+
type: b = "text",
|
|
5644
5640
|
validationMessage: M,
|
|
5645
5641
|
validationStatus: H,
|
|
5646
5642
|
value: w,
|
|
@@ -5676,7 +5672,7 @@ const ds = (h) => {
|
|
|
5676
5672
|
]);
|
|
5677
5673
|
const T = tt(o), N = "pds-text-input", P = l ? J.disabled : null, B = $ && !l ? J.required : null, F = H === "error" ? J.error : null, K = H === "success" ? J.success : null, Q = v ? J.readonly : null;
|
|
5678
5674
|
let G = null;
|
|
5679
|
-
|
|
5675
|
+
b === "search" && (G = "search"), b === "search" && p === "filter" && (G = "filter"), H === "error" && (G = "error"), H === "success" && (G = "success");
|
|
5680
5676
|
const Y = M || g, W = typeof w != "undefined", O = typeof n != "undefined", [X, ae] = Z(
|
|
5681
5677
|
O ? n : ""
|
|
5682
5678
|
), te = w || X, j = (ee) => {
|
|
@@ -5684,7 +5680,7 @@ const ds = (h) => {
|
|
|
5684
5680
|
}, se = (ee) => {
|
|
5685
5681
|
W || ae(ee.target.value), h && h(ee);
|
|
5686
5682
|
}, ne = () => {
|
|
5687
|
-
W || ae(""),
|
|
5683
|
+
W || ae(""), C && C();
|
|
5688
5684
|
const ee = document.getElementById(a);
|
|
5689
5685
|
ee && ee.focus();
|
|
5690
5686
|
}, [me, ue] = Z(!1), ge = () => {
|
|
@@ -5692,8 +5688,8 @@ const ds = (h) => {
|
|
|
5692
5688
|
const ee = document.getElementById(a);
|
|
5693
5689
|
ee && ee.focus();
|
|
5694
5690
|
};
|
|
5695
|
-
let $e =
|
|
5696
|
-
return f &&
|
|
5691
|
+
let $e = b;
|
|
5692
|
+
return f && b === "password" && (me ? $e = "text" : $e = "password"), /* @__PURE__ */ e.createElement(
|
|
5697
5693
|
"div",
|
|
5698
5694
|
L({
|
|
5699
5695
|
className: x([
|
|
@@ -5718,7 +5714,7 @@ const ds = (h) => {
|
|
|
5718
5714
|
disabled: l
|
|
5719
5715
|
}
|
|
5720
5716
|
),
|
|
5721
|
-
f &&
|
|
5717
|
+
f && b === "password" && /* @__PURE__ */ e.createElement("div", { className: "visually-hidden", "aria-live": "polite" }, `${_.visibilityStatus} ${me ? "visible" : "hidden"}.`),
|
|
5722
5718
|
/* @__PURE__ */ e.createElement("div", { className: `${N}__input-wrapper` }, G && /* @__PURE__ */ e.createElement(ut, { variant: G }), /* @__PURE__ */ e.createElement(
|
|
5723
5719
|
"input",
|
|
5724
5720
|
L({
|
|
@@ -5732,7 +5728,7 @@ const ds = (h) => {
|
|
|
5732
5728
|
readOnly: v,
|
|
5733
5729
|
disabled: l,
|
|
5734
5730
|
required: $,
|
|
5735
|
-
autoComplete:
|
|
5731
|
+
autoComplete: b === "password" ? "off" : t,
|
|
5736
5732
|
onBlur: j,
|
|
5737
5733
|
onChange: se,
|
|
5738
5734
|
onFocus: E,
|
|
@@ -5746,7 +5742,7 @@ const ds = (h) => {
|
|
|
5746
5742
|
clearLabel: _.clearButton,
|
|
5747
5743
|
handleClearInput: ne
|
|
5748
5744
|
}
|
|
5749
|
-
), f &&
|
|
5745
|
+
), f && b === "password" && /* @__PURE__ */ e.createElement(
|
|
5750
5746
|
"button",
|
|
5751
5747
|
{
|
|
5752
5748
|
type: "button",
|
|
@@ -5757,13 +5753,13 @@ const ds = (h) => {
|
|
|
5757
5753
|
onMouseDown: (ee) => ee.preventDefault()
|
|
5758
5754
|
},
|
|
5759
5755
|
/* @__PURE__ */ e.createElement(R, { iconName: me ? "eyeSlash" : "eye", iconSize: "md" })
|
|
5760
|
-
), i &&
|
|
5756
|
+
), i && b === "search" && !te && /* @__PURE__ */ e.createElement(
|
|
5761
5757
|
E1,
|
|
5762
5758
|
{
|
|
5763
5759
|
inputId: a,
|
|
5764
5760
|
shortcutLabel: _.searchShortcut
|
|
5765
5761
|
}
|
|
5766
|
-
), s &&
|
|
5762
|
+
), s && b !== "password" && /* @__PURE__ */ e.createElement(
|
|
5767
5763
|
v1,
|
|
5768
5764
|
{
|
|
5769
5765
|
id: a,
|
|
@@ -5832,18 +5828,18 @@ const ds = (h) => {
|
|
|
5832
5828
|
"title",
|
|
5833
5829
|
"className"
|
|
5834
5830
|
]);
|
|
5835
|
-
const u = "pds-modal", h = i !== "md" ? `${u}--${i}` : null, [
|
|
5831
|
+
const u = "pds-modal", h = i !== "md" ? `${u}--${i}` : null, [C, E] = Z(l);
|
|
5836
5832
|
ce(() => {
|
|
5837
5833
|
E(l);
|
|
5838
5834
|
}, [l]), ce(() => {
|
|
5839
|
-
r(
|
|
5840
|
-
}, [
|
|
5835
|
+
r(C);
|
|
5836
|
+
}, [C]);
|
|
5841
5837
|
const { refs: y, context: v, floatingStyles: $ } = Ve({
|
|
5842
|
-
open:
|
|
5838
|
+
open: C,
|
|
5843
5839
|
onOpenChange: E
|
|
5844
5840
|
}), p = Ke(v), m = Ie(v, {
|
|
5845
5841
|
outsidePressEvent: "mousedown"
|
|
5846
|
-
}), f = Se(v), { getFloatingProps: _ } = Ae([p, m, f]), { isMounted:
|
|
5842
|
+
}), f = Se(v), { getFloatingProps: _ } = Ae([p, m, f]), { isMounted: b, styles: M } = Xe(v, {
|
|
5847
5843
|
duration: {
|
|
5848
5844
|
open: 300,
|
|
5849
5845
|
close: 300
|
|
@@ -5861,7 +5857,7 @@ const ds = (h) => {
|
|
|
5861
5857
|
transform: "translateY(1rem)"
|
|
5862
5858
|
}
|
|
5863
5859
|
});
|
|
5864
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null,
|
|
5860
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, b && /* @__PURE__ */ e.createElement(
|
|
5865
5861
|
P1,
|
|
5866
5862
|
{
|
|
5867
5863
|
lockScroll: !0,
|
|
@@ -5912,7 +5908,7 @@ const ds = (h) => {
|
|
|
5912
5908
|
if (g < c - 1)
|
|
5913
5909
|
return /* @__PURE__ */ e.createElement("li", { key: g, className: `${a}__crumb` }, d);
|
|
5914
5910
|
{
|
|
5915
|
-
const u =
|
|
5911
|
+
const u = Ce(d) ? xe(d, {
|
|
5916
5912
|
"aria-current": "page"
|
|
5917
5913
|
}) : null;
|
|
5918
5914
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -5958,7 +5954,7 @@ const ds = (h) => {
|
|
|
5958
5954
|
}, Ge = (t) => {
|
|
5959
5955
|
let s = t;
|
|
5960
5956
|
return typeof t == "object" && (s = t.props.children), s;
|
|
5961
|
-
},
|
|
5957
|
+
}, Ct = (t, s) => {
|
|
5962
5958
|
let n = null;
|
|
5963
5959
|
if (typeof t == "string" && s) {
|
|
5964
5960
|
const l = s ? s[0].linkContent : null;
|
|
@@ -5976,7 +5972,7 @@ const ds = (h) => {
|
|
|
5976
5972
|
];
|
|
5977
5973
|
if (n) {
|
|
5978
5974
|
const a = n[0].linkContent;
|
|
5979
|
-
|
|
5975
|
+
Ce(a) && (r = xe(a, L({}, typeof s == "string" ? { children: i } : {})));
|
|
5980
5976
|
} else
|
|
5981
5977
|
r = null;
|
|
5982
5978
|
}
|
|
@@ -5985,7 +5981,7 @@ const ds = (h) => {
|
|
|
5985
5981
|
/* @__PURE__ */ e.createElement("span", { key: l, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(R, { iconName: l, iconSize: "md" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, s.props.children))
|
|
5986
5982
|
]
|
|
5987
5983
|
})) : r = s), r;
|
|
5988
|
-
},
|
|
5984
|
+
}, C2 = (r) => {
|
|
5989
5985
|
var i = r, {
|
|
5990
5986
|
destination: t = "main",
|
|
5991
5987
|
text: s = "Skip to main content",
|
|
@@ -6004,7 +6000,7 @@ const ds = (h) => {
|
|
|
6004
6000
|
s
|
|
6005
6001
|
);
|
|
6006
6002
|
}, Mt = m1(null), Hs = (h) => {
|
|
6007
|
-
var
|
|
6003
|
+
var C = h, {
|
|
6008
6004
|
children: t,
|
|
6009
6005
|
hasSidebarToggle: s = !0,
|
|
6010
6006
|
isAdmin: n,
|
|
@@ -6017,7 +6013,7 @@ const ds = (h) => {
|
|
|
6017
6013
|
setIsSidebarExpanded: d = () => {
|
|
6018
6014
|
},
|
|
6019
6015
|
className: g
|
|
6020
|
-
} =
|
|
6016
|
+
} = C, u = S(C, [
|
|
6021
6017
|
"children",
|
|
6022
6018
|
"hasSidebarToggle",
|
|
6023
6019
|
"isAdmin",
|
|
@@ -6030,42 +6026,40 @@ const ds = (h) => {
|
|
|
6030
6026
|
"setIsSidebarExpanded",
|
|
6031
6027
|
"className"
|
|
6032
6028
|
]);
|
|
6033
|
-
const {
|
|
6034
|
-
E === "xl" || o
|
|
6035
|
-
), p = ie(), [m] = yt(p), f = m.width;
|
|
6029
|
+
const { isMobile: E, windowWidth: y } = be(ze), [v, $] = Z(y > 1440 || o), p = ie(), [m] = yt(p), f = m.width;
|
|
6036
6030
|
ce(() => {
|
|
6037
6031
|
o !== void 0 && $(o);
|
|
6038
6032
|
}, [o]), ce(() => {
|
|
6039
6033
|
d(v);
|
|
6040
6034
|
}, [v, d]);
|
|
6041
6035
|
const _ = {
|
|
6042
|
-
isSidebarExpanded:
|
|
6036
|
+
isSidebarExpanded: E ? !0 : v,
|
|
6043
6037
|
logoLinkContent: l,
|
|
6044
6038
|
navbarWidth: f,
|
|
6045
6039
|
isAdmin: n
|
|
6046
|
-
},
|
|
6040
|
+
}, b = "pds-dashboard-global", M = n ? `${b}--isAdmin` : null, H = E ? `${b}--isMobile` : `${b}--notMobile`, w = E ? null : v ? `${b}--sidebarExpanded` : `${b}--sidebarCollapsed`, z = v ? `${i}rem` : `${r}rem`, k = {
|
|
6047
6041
|
width: z,
|
|
6048
6042
|
transition: "width 200ms ease-in-out"
|
|
6049
|
-
}, I =
|
|
6043
|
+
}, I = E ? {} : {
|
|
6050
6044
|
width: `calc(100% - ${z})`,
|
|
6051
6045
|
transition: "width 200ms ease-in-out"
|
|
6052
6046
|
}, V = () => {
|
|
6053
6047
|
$(!v);
|
|
6054
|
-
}, A = qe(t), T = A.header, N = A.sidebar, P = A.main, B = A.footer, F = /* @__PURE__ */ e.createElement("aside", { className: `${
|
|
6048
|
+
}, A = qe(t), T = A.header, N = A.sidebar, P = A.main, B = A.footer, F = /* @__PURE__ */ e.createElement("aside", { className: `${b}__sidebar` }, N), K = /* @__PURE__ */ e.createElement("aside", { className: `${b}__sidebar`, style: k }, s && /* @__PURE__ */ e.createElement(
|
|
6055
6049
|
"button",
|
|
6056
6050
|
{
|
|
6057
|
-
className: `${
|
|
6051
|
+
className: `${b}__sidebar-toggle-button`,
|
|
6058
6052
|
onClick: V,
|
|
6059
6053
|
"aria-expanded": v,
|
|
6060
6054
|
"aria-label": a
|
|
6061
6055
|
},
|
|
6062
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
6063
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
6064
|
-
return /* @__PURE__ */ e.createElement(Mt.Provider, { value: _ }, /* @__PURE__ */ e.createElement(
|
|
6056
|
+
/* @__PURE__ */ e.createElement("span", { className: `${b}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(R, { iconName: "angleLeft", iconSize: "sm" }))
|
|
6057
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${b}__sidebar-inner` }, N));
|
|
6058
|
+
return /* @__PURE__ */ e.createElement(Mt.Provider, { value: _ }, /* @__PURE__ */ e.createElement(C2, { text: c, destination: "main" }), /* @__PURE__ */ e.createElement(
|
|
6065
6059
|
"div",
|
|
6066
6060
|
L({
|
|
6067
6061
|
className: x([
|
|
6068
|
-
|
|
6062
|
+
b,
|
|
6069
6063
|
M,
|
|
6070
6064
|
H,
|
|
6071
6065
|
w,
|
|
@@ -6073,20 +6067,20 @@ const ds = (h) => {
|
|
|
6073
6067
|
g != null ? g : ""
|
|
6074
6068
|
])
|
|
6075
6069
|
}, u),
|
|
6076
|
-
|
|
6077
|
-
|
|
6070
|
+
E && T,
|
|
6071
|
+
E ? F : K,
|
|
6078
6072
|
/* @__PURE__ */ e.createElement(
|
|
6079
6073
|
"div",
|
|
6080
6074
|
{
|
|
6081
6075
|
ref: p,
|
|
6082
|
-
className: `${
|
|
6076
|
+
className: `${b}__container`,
|
|
6083
6077
|
style: I
|
|
6084
6078
|
},
|
|
6085
|
-
!
|
|
6086
|
-
/* @__PURE__ */ e.createElement("main", { id: "main", className: `${
|
|
6079
|
+
!E && /* @__PURE__ */ e.createElement("div", { className: `${b}__header` }, T),
|
|
6080
|
+
/* @__PURE__ */ e.createElement("main", { id: "main", className: `${b}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${b}__main-inner` }, P), B && /* @__PURE__ */ e.createElement("footer", { className: `${b}__footer` }, B))
|
|
6087
6081
|
)
|
|
6088
6082
|
));
|
|
6089
|
-
},
|
|
6083
|
+
}, b2 = ({
|
|
6090
6084
|
icon: t,
|
|
6091
6085
|
isActive: s,
|
|
6092
6086
|
isSidebarExpanded: n,
|
|
@@ -6115,11 +6109,11 @@ const ds = (h) => {
|
|
|
6115
6109
|
},
|
|
6116
6110
|
w.linkContent
|
|
6117
6111
|
))
|
|
6118
|
-
), [u, h] = Z(!1), { refs:
|
|
6112
|
+
), [u, h] = Z(!1), { refs: C, floatingStyles: E, context: y } = Ve({
|
|
6119
6113
|
placement: "right-start",
|
|
6120
6114
|
open: u,
|
|
6121
6115
|
onOpenChange: h,
|
|
6122
|
-
middleware: [
|
|
6116
|
+
middleware: [bt(12), $t(), wt()],
|
|
6123
6117
|
whileElementsMounted: Pe
|
|
6124
6118
|
}), v = gt(y, {
|
|
6125
6119
|
move: !1,
|
|
@@ -6129,7 +6123,7 @@ const ds = (h) => {
|
|
|
6129
6123
|
$,
|
|
6130
6124
|
p,
|
|
6131
6125
|
m
|
|
6132
|
-
]),
|
|
6126
|
+
]), b = (M) => {
|
|
6133
6127
|
const H = M.target;
|
|
6134
6128
|
H.classList.toggle(`${a}__toggle--expanded`), H.setAttribute(
|
|
6135
6129
|
"aria-expanded",
|
|
@@ -6146,7 +6140,7 @@ const ds = (h) => {
|
|
|
6146
6140
|
n ? null : `${c}--collapsed`,
|
|
6147
6141
|
s ? `${c}--active` : null
|
|
6148
6142
|
]),
|
|
6149
|
-
ref: n ? null :
|
|
6143
|
+
ref: n ? null : C.setReference
|
|
6150
6144
|
}, f()),
|
|
6151
6145
|
i ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, Bt(
|
|
6152
6146
|
a,
|
|
@@ -6161,7 +6155,7 @@ const ds = (h) => {
|
|
|
6161
6155
|
`${a}__toggle`,
|
|
6162
6156
|
s ? `${a}__toggle--expanded` : null
|
|
6163
6157
|
]),
|
|
6164
|
-
onClick:
|
|
6158
|
+
onClick: b
|
|
6165
6159
|
},
|
|
6166
6160
|
/* @__PURE__ */ e.createElement(R, { iconName: "angleDown", iconSize: "md" }),
|
|
6167
6161
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${l.toggle} ${Ge(r)} ${l.submenu}`)
|
|
@@ -6169,7 +6163,7 @@ const ds = (h) => {
|
|
|
6169
6163
|
"div",
|
|
6170
6164
|
L({
|
|
6171
6165
|
className: `${a}__flyout`,
|
|
6172
|
-
ref:
|
|
6166
|
+
ref: C.setFloating,
|
|
6173
6167
|
style: E
|
|
6174
6168
|
}, _()),
|
|
6175
6169
|
/* @__PURE__ */ e.createElement("div", { className: `${a}__flyout-heading` }, Ge(r)),
|
|
@@ -6199,7 +6193,7 @@ const ds = (h) => {
|
|
|
6199
6193
|
"selectTextFallback",
|
|
6200
6194
|
"className"
|
|
6201
6195
|
]);
|
|
6202
|
-
const c = "pds-dropdown-menu", [o, d] = Z(!1), [g, u] = Z(null), h = jt(s),
|
|
6196
|
+
const c = "pds-dropdown-menu", [o, d] = Z(!1), [g, u] = Z(null), h = jt(s), C = h ? h.props.children : n, E = /* @__PURE__ */ e.createElement(
|
|
6203
6197
|
R,
|
|
6204
6198
|
{
|
|
6205
6199
|
iconName: "check",
|
|
@@ -6226,7 +6220,7 @@ const ds = (h) => {
|
|
|
6226
6220
|
}) => he(L({}, T), {
|
|
6227
6221
|
level: N,
|
|
6228
6222
|
linkContent: xe(
|
|
6229
|
-
|
|
6223
|
+
Ct(T.linkContent, T.links),
|
|
6230
6224
|
{
|
|
6231
6225
|
tabIndex: -1
|
|
6232
6226
|
}
|
|
@@ -6253,7 +6247,7 @@ const ds = (h) => {
|
|
|
6253
6247
|
open: o,
|
|
6254
6248
|
onOpenChange: d,
|
|
6255
6249
|
whileElementsMounted: Pe
|
|
6256
|
-
}), _ = ie([]),
|
|
6250
|
+
}), _ = ie([]), b = lt(f, {
|
|
6257
6251
|
listRef: _,
|
|
6258
6252
|
activeIndex: g,
|
|
6259
6253
|
onNavigate: u,
|
|
@@ -6261,7 +6255,7 @@ const ds = (h) => {
|
|
|
6261
6255
|
openOnArrowKeyDown: !0,
|
|
6262
6256
|
focusItemOnHover: !0
|
|
6263
6257
|
}), M = Ke(f, { event: "mousedown" }), H = Ie(f), w = Se(f, { role: "menu" }), { getReferenceProps: z, getFloatingProps: k, getItemProps: I } = Ae(
|
|
6264
|
-
[H, w, M,
|
|
6258
|
+
[H, w, M, b]
|
|
6265
6259
|
), { isMounted: V, styles: A } = Xe(f, {
|
|
6266
6260
|
duration: {
|
|
6267
6261
|
open: 300,
|
|
@@ -6283,7 +6277,7 @@ const ds = (h) => {
|
|
|
6283
6277
|
className: `${c}__trigger`,
|
|
6284
6278
|
ref: m.setReference
|
|
6285
6279
|
}, z()),
|
|
6286
|
-
/* @__PURE__ */ e.createElement("span", { className: `${c}__active-label` },
|
|
6280
|
+
/* @__PURE__ */ e.createElement("span", { className: `${c}__active-label` }, C),
|
|
6287
6281
|
/* @__PURE__ */ e.createElement(
|
|
6288
6282
|
R,
|
|
6289
6283
|
{
|
|
@@ -6636,7 +6630,7 @@ const ds = (h) => {
|
|
|
6636
6630
|
case "sub-brand-small":
|
|
6637
6631
|
u = St;
|
|
6638
6632
|
}
|
|
6639
|
-
const h = e.isValidElement(n) && typeof n.props.children == "string" ? n.props.children : "",
|
|
6633
|
+
const h = e.isValidElement(n) && typeof n.props.children == "string" ? n.props.children : "", C = e.isValidElement(n) ? xe(n, {
|
|
6640
6634
|
children: u,
|
|
6641
6635
|
"aria-label": h || null
|
|
6642
6636
|
}) : n;
|
|
@@ -6650,7 +6644,7 @@ const ds = (h) => {
|
|
|
6650
6644
|
r != null ? r : ""
|
|
6651
6645
|
])
|
|
6652
6646
|
}, i),
|
|
6653
|
-
n ?
|
|
6647
|
+
n ? C : u,
|
|
6654
6648
|
l && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__separator" }), /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__sub-brand-wordmark" }, l))
|
|
6655
6649
|
);
|
|
6656
6650
|
}, zs = (a) => {
|
|
@@ -6671,13 +6665,13 @@ const ds = (h) => {
|
|
|
6671
6665
|
"className"
|
|
6672
6666
|
]);
|
|
6673
6667
|
let o = !1;
|
|
6674
|
-
const d =
|
|
6668
|
+
const d = be(ze);
|
|
6675
6669
|
d && (o = d.isMobile);
|
|
6676
|
-
const g =
|
|
6670
|
+
const g = be(Mt);
|
|
6677
6671
|
let u = !0, h = null;
|
|
6678
6672
|
g && (u = g.isSidebarExpanded, h = g.logoLinkContent);
|
|
6679
|
-
const
|
|
6680
|
-
|
|
6673
|
+
const C = "pds-dashboard-nav", E = u ? `${C}--expanded` : `${C}--collapsed`, y = /* @__PURE__ */ e.createElement(e.Fragment, null, n.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${C}__menu ${C}__menu--top-level` }, n.map((p, m) => /* @__PURE__ */ e.createElement(
|
|
6674
|
+
b2,
|
|
6681
6675
|
{
|
|
6682
6676
|
key: m,
|
|
6683
6677
|
icon: p.icon,
|
|
@@ -6689,7 +6683,7 @@ const ds = (h) => {
|
|
|
6689
6683
|
}
|
|
6690
6684
|
)))), v = n.map((p) => he(L({}, p), {
|
|
6691
6685
|
linkContent: Bt(
|
|
6692
|
-
|
|
6686
|
+
C,
|
|
6693
6687
|
p.linkContent,
|
|
6694
6688
|
p.links,
|
|
6695
6689
|
p.icon
|
|
@@ -6705,12 +6699,12 @@ const ds = (h) => {
|
|
|
6705
6699
|
"nav",
|
|
6706
6700
|
L({
|
|
6707
6701
|
"aria-label": t,
|
|
6708
|
-
className: x([
|
|
6702
|
+
className: x([C, E, r])
|
|
6709
6703
|
}, i),
|
|
6710
6704
|
!o && /* @__PURE__ */ e.createElement(
|
|
6711
6705
|
L1,
|
|
6712
6706
|
{
|
|
6713
|
-
className: `${
|
|
6707
|
+
className: `${C}__logo`,
|
|
6714
6708
|
displayType: u ? "full" : "icon",
|
|
6715
6709
|
linkContent: h
|
|
6716
6710
|
}
|
|
@@ -6805,7 +6799,7 @@ const ds = (h) => {
|
|
|
6805
6799
|
siteList: g,
|
|
6806
6800
|
horizontalOffset: u = 0,
|
|
6807
6801
|
className: h
|
|
6808
|
-
} = y,
|
|
6802
|
+
} = y, C = S(y, [
|
|
6809
6803
|
"disabled",
|
|
6810
6804
|
"id",
|
|
6811
6805
|
"isLoading",
|
|
@@ -6822,10 +6816,10 @@ const ds = (h) => {
|
|
|
6822
6816
|
]);
|
|
6823
6817
|
const [v, $] = Z(!1), [p, m] = Z(null), f = ie(null);
|
|
6824
6818
|
let _ = !1;
|
|
6825
|
-
const
|
|
6826
|
-
|
|
6819
|
+
const b = be(ze);
|
|
6820
|
+
b && (_ = b.isMobile);
|
|
6827
6821
|
let M = null, H = !1;
|
|
6828
|
-
const w =
|
|
6822
|
+
const w = be(Mt);
|
|
6829
6823
|
w && (M = w.navbarWidth, H = w.isAdmin);
|
|
6830
6824
|
const z = 2.25, k = 22, I = H ? 14.5 : 9.625, V = M > 900 ? k : M / 16 - (I + u) - z * 0.675;
|
|
6831
6825
|
let A = z;
|
|
@@ -6921,7 +6915,7 @@ const ds = (h) => {
|
|
|
6921
6915
|
onKeyDown: _ ? null : (O) => {
|
|
6922
6916
|
O.key === "Escape" && F();
|
|
6923
6917
|
}
|
|
6924
|
-
},
|
|
6918
|
+
}, C),
|
|
6925
6919
|
_ ? W : Y
|
|
6926
6920
|
);
|
|
6927
6921
|
}, rt = (r) => {
|
|
@@ -6943,7 +6937,7 @@ const ds = (h) => {
|
|
|
6943
6937
|
t
|
|
6944
6938
|
);
|
|
6945
6939
|
}, xs = (h) => {
|
|
6946
|
-
var
|
|
6940
|
+
var C = h, {
|
|
6947
6941
|
children: t,
|
|
6948
6942
|
colorType: s = "default",
|
|
6949
6943
|
containerWidth: n = "x-wide",
|
|
@@ -6958,7 +6952,7 @@ const ds = (h) => {
|
|
|
6958
6952
|
openMobileNav: "Open navigation area"
|
|
6959
6953
|
},
|
|
6960
6954
|
className: g
|
|
6961
|
-
} =
|
|
6955
|
+
} = C, u = S(C, [
|
|
6962
6956
|
"children",
|
|
6963
6957
|
"colorType",
|
|
6964
6958
|
"containerWidth",
|
|
@@ -6973,11 +6967,11 @@ const ds = (h) => {
|
|
|
6973
6967
|
]);
|
|
6974
6968
|
const [E, y] = Z(!1);
|
|
6975
6969
|
let v = !1;
|
|
6976
|
-
const $ =
|
|
6970
|
+
const $ = be(ze);
|
|
6977
6971
|
$ && (v = $.isMobile);
|
|
6978
|
-
const p =
|
|
6972
|
+
const p = be(Mt);
|
|
6979
6973
|
p && (a = p.logoLinkContent);
|
|
6980
|
-
const m = "pds-navbar", f = l ? `${m}--noBorder` : "", _ = s !== "default" ? `${m}--${s}` : "",
|
|
6974
|
+
const m = "pds-navbar", f = l ? `${m}--noBorder` : "", _ = s !== "default" ? `${m}--${s}` : "", b = v ? `${m}--isMobile` : `${m}--notMobile`, M = (Y) => {
|
|
6981
6975
|
const W = Y.key;
|
|
6982
6976
|
let O = !1;
|
|
6983
6977
|
switch (W) {
|
|
@@ -7020,7 +7014,7 @@ const ds = (h) => {
|
|
|
7020
7014
|
const k = qe(t), I = k["items-left"], V = k["items-right"];
|
|
7021
7015
|
let A = "default";
|
|
7022
7016
|
(s === "reverse" || s === "reverse-transparent") && (A = "reverse");
|
|
7023
|
-
const T =
|
|
7017
|
+
const T = Ce(a) ? a.props.children : null, N = Ce(a) && T ? xe(a, {
|
|
7024
7018
|
children: /* @__PURE__ */ e.createElement("img", { className: `${m}__custom-logo`, src: c }),
|
|
7025
7019
|
"aria-label": T || null
|
|
7026
7020
|
}) : /* @__PURE__ */ e.createElement("img", { className: `${m}__custom-logo`, src: c, alt: "" }), P = () => c ? N : /* @__PURE__ */ e.createElement(
|
|
@@ -7040,7 +7034,7 @@ const ds = (h) => {
|
|
|
7040
7034
|
},
|
|
7041
7035
|
/* @__PURE__ */ e.createElement(R, { iconName: E ? "xmark" : "bars", iconSize: "lg" })
|
|
7042
7036
|
), F = e.Children.toArray(t).sort((Y, W) => {
|
|
7043
|
-
const O =
|
|
7037
|
+
const O = Ce(Y) && parseInt(Y.props["data-mobile-order"], 10) || 1 / 0, X = Ce(W) && parseInt(W.props["data-mobile-order"], 10) || 1 / 0;
|
|
7044
7038
|
return O - X;
|
|
7045
7039
|
}), K = /* @__PURE__ */ e.createElement(
|
|
7046
7040
|
"div",
|
|
@@ -7066,7 +7060,7 @@ const ds = (h) => {
|
|
|
7066
7060
|
m,
|
|
7067
7061
|
_,
|
|
7068
7062
|
f,
|
|
7069
|
-
|
|
7063
|
+
b,
|
|
7070
7064
|
g != null ? g : ""
|
|
7071
7065
|
])
|
|
7072
7066
|
}, u),
|
|
@@ -7088,7 +7082,7 @@ const ds = (h) => {
|
|
|
7088
7082
|
open: l,
|
|
7089
7083
|
onOpenChange: r,
|
|
7090
7084
|
whileElementsMounted: Pe
|
|
7091
|
-
}), h = Ke(u, { event: "mousedown" }),
|
|
7085
|
+
}), h = Ke(u, { event: "mousedown" }), C = Ie(u), E = Se(u, { role: "menu" });
|
|
7092
7086
|
let y;
|
|
7093
7087
|
o ? y = gt(u, {
|
|
7094
7088
|
enabled: !1
|
|
@@ -7101,7 +7095,7 @@ const ds = (h) => {
|
|
|
7101
7095
|
enabled: !0
|
|
7102
7096
|
});
|
|
7103
7097
|
const { getReferenceProps: v, getFloatingProps: $ } = Ae([
|
|
7104
|
-
|
|
7098
|
+
C,
|
|
7105
7099
|
E,
|
|
7106
7100
|
h,
|
|
7107
7101
|
y
|
|
@@ -7144,7 +7138,7 @@ const ds = (h) => {
|
|
|
7144
7138
|
"mobileMenuMaxWidth",
|
|
7145
7139
|
"className"
|
|
7146
7140
|
]);
|
|
7147
|
-
const [o, d] = Z(1025), [g, u] = Z(null), [h,
|
|
7141
|
+
const [o, d] = Z(1025), [g, u] = Z(null), [h, C] = Z(-1), [E, y] = Z(null), [v, $] = Z({
|
|
7148
7142
|
container: null,
|
|
7149
7143
|
containerChildren: []
|
|
7150
7144
|
});
|
|
@@ -7165,13 +7159,13 @@ const ds = (h) => {
|
|
|
7165
7159
|
focusVisible: !0
|
|
7166
7160
|
}));
|
|
7167
7161
|
}, [h]);
|
|
7168
|
-
const f = "pds-nav-menu", _ = s !== "default" ? `${f}--${s}` : "",
|
|
7162
|
+
const f = "pds-nav-menu", _ = s !== "default" ? `${f}--${s}` : "", b = m ? `${f}--isMobile` : `${f}--notMobile`, M = ie([]), H = (k) => {
|
|
7169
7163
|
const I = M.current.length - 1, B = {
|
|
7170
7164
|
ArrowRight: () => {
|
|
7171
|
-
u(-1),
|
|
7165
|
+
u(-1), C(h === -1 ? 1 : h === I ? 0 : h + 1);
|
|
7172
7166
|
},
|
|
7173
7167
|
ArrowLeft: () => {
|
|
7174
|
-
u(-1),
|
|
7168
|
+
u(-1), C(h === 0 ? I : h - 1);
|
|
7175
7169
|
},
|
|
7176
7170
|
ArrowDown: () => {
|
|
7177
7171
|
var Q, G, Y, W;
|
|
@@ -7232,7 +7226,7 @@ const ds = (h) => {
|
|
|
7232
7226
|
}), /* @__PURE__ */ e.createElement(
|
|
7233
7227
|
"nav",
|
|
7234
7228
|
L({
|
|
7235
|
-
className: x([f, _,
|
|
7229
|
+
className: x([f, _, b, r]),
|
|
7236
7230
|
"aria-label": t,
|
|
7237
7231
|
onKeyDown: (k) => {
|
|
7238
7232
|
H(k);
|
|
@@ -7263,24 +7257,24 @@ const ds = (h) => {
|
|
|
7263
7257
|
"mobileMenuSelectTextFallback",
|
|
7264
7258
|
"className"
|
|
7265
7259
|
]);
|
|
7266
|
-
const u = "pds-side-nav", [h,
|
|
7267
|
-
ce(() => (
|
|
7260
|
+
const u = "pds-side-nav", [h, C] = Z(1025);
|
|
7261
|
+
ce(() => (C(window.innerWidth), window.addEventListener("resize", E), () => {
|
|
7268
7262
|
window.removeEventListener("resize", E);
|
|
7269
7263
|
}), []);
|
|
7270
7264
|
const E = () => {
|
|
7271
|
-
|
|
7265
|
+
C(window.innerWidth);
|
|
7272
7266
|
}, y = h <= i, v = (_) => {
|
|
7273
|
-
const
|
|
7274
|
-
|
|
7267
|
+
const b = _.target;
|
|
7268
|
+
b.classList.toggle(`${u}__toggle--expanded`), b.setAttribute(
|
|
7275
7269
|
"aria-expanded",
|
|
7276
|
-
|
|
7277
|
-
),
|
|
7278
|
-
}, $ = (_) => d1.toArray(_).some((
|
|
7270
|
+
b.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
7271
|
+
), b.parentElement.nextElementSibling.classList.toggle(`${u}__menu--expanded`);
|
|
7272
|
+
}, $ = (_) => d1.toArray(_).some((b) => Ce(b) ? b.type && b.type.displayName === "Tally" ? !0 : $(b.props.children) : !1), p = (_, b) => {
|
|
7279
7273
|
const { linkContent: M, links: H } = _, w = $(M), z = `${u}__item`, k = `${u}__menu`;
|
|
7280
7274
|
return /* @__PURE__ */ e.createElement(
|
|
7281
7275
|
"li",
|
|
7282
7276
|
{
|
|
7283
|
-
key:
|
|
7277
|
+
key: b,
|
|
7284
7278
|
className: x([
|
|
7285
7279
|
z,
|
|
7286
7280
|
`${z}--top-level`,
|
|
@@ -7290,7 +7284,7 @@ const ds = (h) => {
|
|
|
7290
7284
|
// Add class if item contains a Tally component
|
|
7291
7285
|
])
|
|
7292
7286
|
},
|
|
7293
|
-
H ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${z}-wrapper` },
|
|
7287
|
+
H ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${z}-wrapper` }, Ct(M, H), /* @__PURE__ */ e.createElement(
|
|
7294
7288
|
"button",
|
|
7295
7289
|
{
|
|
7296
7290
|
"aria-expanded": ve(_),
|
|
@@ -7327,7 +7321,7 @@ const ds = (h) => {
|
|
|
7327
7321
|
// Add class for second-level items
|
|
7328
7322
|
])
|
|
7329
7323
|
},
|
|
7330
|
-
|
|
7324
|
+
Ct(
|
|
7331
7325
|
I.linkContent,
|
|
7332
7326
|
I.links
|
|
7333
7327
|
)
|
|
@@ -7338,7 +7332,7 @@ const ds = (h) => {
|
|
|
7338
7332
|
M
|
|
7339
7333
|
)
|
|
7340
7334
|
);
|
|
7341
|
-
}, m = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading` }, n), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, r.map((_,
|
|
7335
|
+
}, m = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading` }, n), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, r.map((_, b) => p(_, b)))), f = /* @__PURE__ */ e.createElement(
|
|
7342
7336
|
Kt,
|
|
7343
7337
|
{
|
|
7344
7338
|
headingText: n,
|
|
@@ -7377,7 +7371,7 @@ const ds = (h) => {
|
|
|
7377
7371
|
"mobileMenuSelectTextFallback",
|
|
7378
7372
|
"className"
|
|
7379
7373
|
]);
|
|
7380
|
-
const u = "pds-side-nav-compact", h = `${u}__item`,
|
|
7374
|
+
const u = "pds-side-nav-compact", h = `${u}__item`, C = `${u}__menu`, [E, y] = Z(1025);
|
|
7381
7375
|
ce(() => (y(window.innerWidth), window.addEventListener("resize", v), () => {
|
|
7382
7376
|
window.removeEventListener("resize", v);
|
|
7383
7377
|
}), []);
|
|
@@ -7388,9 +7382,9 @@ const ds = (h) => {
|
|
|
7388
7382
|
w.classList.toggle(`${u}__toggle--expanded`), w.setAttribute(
|
|
7389
7383
|
"aria-expanded",
|
|
7390
7384
|
w.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
7391
|
-
), w.parentElement.nextElementSibling.classList.toggle(`${
|
|
7385
|
+
), w.parentElement.nextElementSibling.classList.toggle(`${C}--expanded`);
|
|
7392
7386
|
}, m = { 2: "second", 3: "third", 4: "fourth" }, f = (H, w, z) => {
|
|
7393
|
-
const k = m[H], I = `${
|
|
7387
|
+
const k = m[H], I = `${C}--${k}-level`, V = `${h}--${k}-level`, A = H + 1;
|
|
7394
7388
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${h}-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
7395
7389
|
"button",
|
|
7396
7390
|
{
|
|
@@ -7403,13 +7397,13 @@ const ds = (h) => {
|
|
|
7403
7397
|
},
|
|
7404
7398
|
/* @__PURE__ */ e.createElement(R, { iconName: "caretDown", iconSize: "md" }),
|
|
7405
7399
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${l.toggle} ${Ge(w.linkContent)} ${l.submenu}`)
|
|
7406
|
-
),
|
|
7400
|
+
), Ct(w.linkContent, w.links)), /* @__PURE__ */ e.createElement(
|
|
7407
7401
|
"ul",
|
|
7408
7402
|
{
|
|
7409
7403
|
className: x([
|
|
7410
|
-
|
|
7404
|
+
C,
|
|
7411
7405
|
I,
|
|
7412
|
-
ve(w) ? `${
|
|
7406
|
+
ve(w) ? `${C}--expanded` : null
|
|
7413
7407
|
])
|
|
7414
7408
|
},
|
|
7415
7409
|
w.links.map((T, N) => /* @__PURE__ */ e.createElement(
|
|
@@ -7443,7 +7437,7 @@ const ds = (h) => {
|
|
|
7443
7437
|
},
|
|
7444
7438
|
k ? f(2, H) : z
|
|
7445
7439
|
);
|
|
7446
|
-
},
|
|
7440
|
+
}, b = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading` }, n), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, r.map((H, w) => _(H, w)))), M = /* @__PURE__ */ e.createElement(
|
|
7447
7441
|
Kt,
|
|
7448
7442
|
{
|
|
7449
7443
|
headingText: n,
|
|
@@ -7457,7 +7451,7 @@ const ds = (h) => {
|
|
|
7457
7451
|
"aria-label": t,
|
|
7458
7452
|
className: x([u, c != null ? c : ""])
|
|
7459
7453
|
}, o),
|
|
7460
|
-
$ && s ? M :
|
|
7454
|
+
$ && s ? M : b
|
|
7461
7455
|
);
|
|
7462
7456
|
}, H2 = ({
|
|
7463
7457
|
buttonLabel: t = "Toggle dropdown",
|
|
@@ -7467,11 +7461,11 @@ const ds = (h) => {
|
|
|
7467
7461
|
minFilterItems: r = 5,
|
|
7468
7462
|
noResultsText: i = "No results found"
|
|
7469
7463
|
}) => {
|
|
7470
|
-
const [a, c] = Z(!1), [o, d] = Z(null), [g, u] = Z(l), [h,
|
|
7464
|
+
const [a, c] = Z(!1), [o, d] = Z(null), [g, u] = Z(l), [h, C] = Z(""), E = l.length >= r, y = "pds-tab-menu", v = `${y}__dropdown-menu`, $ = E ? `${v}--scroll` : null, p = `${y}__dropdown-item`, m = ie([]), { context: f, refs: _ } = Ve({
|
|
7471
7465
|
open: a,
|
|
7472
7466
|
onOpenChange: c,
|
|
7473
7467
|
whileElementsMounted: Pe
|
|
7474
|
-
}),
|
|
7468
|
+
}), b = Ke(f, {
|
|
7475
7469
|
event: "mousedown"
|
|
7476
7470
|
}), M = Ie(f), H = Se(f, { role: "listbox" }), w = lt(f, {
|
|
7477
7471
|
listRef: m,
|
|
@@ -7481,7 +7475,7 @@ const ds = (h) => {
|
|
|
7481
7475
|
focusItemOnHover: !0,
|
|
7482
7476
|
focusItemOnOpen: !1
|
|
7483
7477
|
}), { getReferenceProps: z, getFloatingProps: k, getItemProps: I } = Ae(
|
|
7484
|
-
[H, M, w,
|
|
7478
|
+
[H, M, w, b]
|
|
7485
7479
|
), { isMounted: V, styles: A } = Xe(f, {
|
|
7486
7480
|
duration: {
|
|
7487
7481
|
open: 300,
|
|
@@ -7501,7 +7495,7 @@ const ds = (h) => {
|
|
|
7501
7495
|
O.preventDefault(), O.key === "Enter" && ((X = m.current[o].querySelector("a")) == null || X.click()), O.key === "Tab" && O.shiftKey && (E ? document.getElementById("links-filter").focus() : c(!1));
|
|
7502
7496
|
}, N = (O, X) => Ge(O.linkContent).toLowerCase().includes(X.toLowerCase()), P = (O) => {
|
|
7503
7497
|
const X = O.target.value;
|
|
7504
|
-
|
|
7498
|
+
C(X);
|
|
7505
7499
|
const ae = l.filter((te) => N(te, X));
|
|
7506
7500
|
u(ae);
|
|
7507
7501
|
};
|
|
@@ -7510,7 +7504,7 @@ const ds = (h) => {
|
|
|
7510
7504
|
u(O);
|
|
7511
7505
|
}, [l]);
|
|
7512
7506
|
const B = () => {
|
|
7513
|
-
|
|
7507
|
+
C(""), u(l);
|
|
7514
7508
|
}, F = l.reduce(
|
|
7515
7509
|
(O, X) => Ge(O.linkContent).length > Ge(X.linkContent).length ? O : X
|
|
7516
7510
|
), Q = {
|
|
@@ -7587,24 +7581,24 @@ const ds = (h) => {
|
|
|
7587
7581
|
"className"
|
|
7588
7582
|
]);
|
|
7589
7583
|
let a = !1;
|
|
7590
|
-
const c =
|
|
7584
|
+
const c = be(ze);
|
|
7591
7585
|
c && (a = c.isMobile);
|
|
7592
7586
|
const o = "pds-tab-menu", d = a ? `${o}--isMobile` : null, g = ({
|
|
7593
7587
|
dropdownSettings: h,
|
|
7594
|
-
icon:
|
|
7588
|
+
icon: C,
|
|
7595
7589
|
isActive: E,
|
|
7596
7590
|
linkContent: y,
|
|
7597
7591
|
links: v,
|
|
7598
7592
|
promoteActiveChildLink: $ = !1
|
|
7599
7593
|
}) => {
|
|
7600
|
-
const p = `${o}__item`, m = jt(v), f = (_,
|
|
7594
|
+
const p = `${o}__item`, m = jt(v), f = (_, b) => {
|
|
7601
7595
|
let M = null;
|
|
7602
|
-
return typeof _ == "object" && (
|
|
7596
|
+
return typeof _ == "object" && (b ? M = xe(_, he(L({}, _.props), {
|
|
7603
7597
|
children: [
|
|
7604
|
-
/* @__PURE__ */ e.createElement("span", { key:
|
|
7598
|
+
/* @__PURE__ */ e.createElement("span", { key: b, className: `${o}__item-inner` }, /* @__PURE__ */ e.createElement(
|
|
7605
7599
|
R,
|
|
7606
7600
|
{
|
|
7607
|
-
iconName:
|
|
7601
|
+
iconName: b,
|
|
7608
7602
|
iconSize: a ? "sm" : "md",
|
|
7609
7603
|
className: `${o}__item-icon`
|
|
7610
7604
|
}
|
|
@@ -7620,7 +7614,7 @@ const ds = (h) => {
|
|
|
7620
7614
|
E ? `${p}--active` : null
|
|
7621
7615
|
])
|
|
7622
7616
|
},
|
|
7623
|
-
f($ ? m : y,
|
|
7617
|
+
f($ ? m : y, C),
|
|
7624
7618
|
v && /* @__PURE__ */ e.createElement(
|
|
7625
7619
|
H2,
|
|
7626
7620
|
{
|
|
@@ -7633,10 +7627,10 @@ const ds = (h) => {
|
|
|
7633
7627
|
}
|
|
7634
7628
|
)
|
|
7635
7629
|
);
|
|
7636
|
-
}, u = s.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, s.map((h,
|
|
7630
|
+
}, u = s.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, s.map((h, C) => /* @__PURE__ */ e.createElement(
|
|
7637
7631
|
g,
|
|
7638
7632
|
{
|
|
7639
|
-
key:
|
|
7633
|
+
key: C,
|
|
7640
7634
|
dropdownSettings: h.dropdownSettings,
|
|
7641
7635
|
icon: h.icon,
|
|
7642
7636
|
isActive: ve(h),
|
|
@@ -7671,15 +7665,15 @@ const ds = (h) => {
|
|
|
7671
7665
|
"withinNavbar",
|
|
7672
7666
|
"className"
|
|
7673
7667
|
]);
|
|
7674
|
-
const [g, u] = Z(null), [h,
|
|
7668
|
+
const [g, u] = Z(null), [h, C] = Z(!1), E = ie([]), y = ie([]);
|
|
7675
7669
|
let v = !1;
|
|
7676
|
-
const $ =
|
|
7670
|
+
const $ = be(ze);
|
|
7677
7671
|
$ && (v = $.isMobile);
|
|
7678
|
-
const p = i && v, m = "pds-user-menu", f = p ? `${m}--isMobile` : null, _ = `${m}__menu`, { refs:
|
|
7672
|
+
const p = i && v, m = "pds-user-menu", f = p ? `${m}--isMobile` : null, _ = `${m}__menu`, { refs: b, floatingStyles: M, context: H } = Ve({
|
|
7679
7673
|
placement: "bottom-end",
|
|
7680
7674
|
open: h,
|
|
7681
|
-
onOpenChange:
|
|
7682
|
-
middleware: [
|
|
7675
|
+
onOpenChange: C,
|
|
7676
|
+
middleware: [bt(12), $t(), wt()],
|
|
7683
7677
|
whileElementsMounted: Pe
|
|
7684
7678
|
}), w = Ke(H, { event: "mousedown" }), z = Ie(H), k = Se(H, { role: "menu" }), I = ie([]), V = lt(H, {
|
|
7685
7679
|
listRef: I,
|
|
@@ -7721,7 +7715,7 @@ const ds = (h) => {
|
|
|
7721
7715
|
});
|
|
7722
7716
|
const G = (j) => {
|
|
7723
7717
|
const se = E.current.indexOf(j), ne = y.current[se];
|
|
7724
|
-
ne.linkContent && !ne.disabled && (I.current[se].querySelector("a").click(),
|
|
7718
|
+
ne.linkContent && !ne.disabled && (I.current[se].querySelector("a").click(), C(!1)), ne.callback && !ne.disabled && (ne.callback(ne), C(!1));
|
|
7725
7719
|
}, Y = (j) => {
|
|
7726
7720
|
j.preventDefault(), j.key === "Enter" && G(j.currentTarget.id);
|
|
7727
7721
|
}, W = (j) => {
|
|
@@ -7756,14 +7750,14 @@ const ds = (h) => {
|
|
|
7756
7750
|
L({
|
|
7757
7751
|
className: `${m}__trigger`,
|
|
7758
7752
|
"aria-label": t,
|
|
7759
|
-
ref:
|
|
7753
|
+
ref: b.setReference
|
|
7760
7754
|
}, A()),
|
|
7761
7755
|
F
|
|
7762
7756
|
), P && /* @__PURE__ */ e.createElement(
|
|
7763
7757
|
"div",
|
|
7764
7758
|
L({
|
|
7765
7759
|
className: `${m}__dropdown`,
|
|
7766
|
-
ref:
|
|
7760
|
+
ref: b.setFloating,
|
|
7767
7761
|
style: he(L({}, M), {
|
|
7768
7762
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
7769
7763
|
})
|
|
@@ -7831,12 +7825,12 @@ const ds = (h) => {
|
|
|
7831
7825
|
"workspaceList",
|
|
7832
7826
|
"className"
|
|
7833
7827
|
]);
|
|
7834
|
-
const [
|
|
7835
|
-
let
|
|
7836
|
-
const M =
|
|
7837
|
-
M && (
|
|
7838
|
-
const H = c &&
|
|
7839
|
-
open:
|
|
7828
|
+
const [C, E] = Z(!1), [y, v] = Z(null), [$, p] = Z(o), m = ie([]), f = ie(null), _ = o.length >= i;
|
|
7829
|
+
let b = !1;
|
|
7830
|
+
const M = be(ze);
|
|
7831
|
+
M && (b = M.isMobile);
|
|
7832
|
+
const H = c && b, w = "pds-workspace-selector", z = H ? `${w}--isMobile` : null, k = `${w}__menu`, I = _ ? `${k}--scroll` : null, { refs: V, floatingStyles: A, context: T } = Ve({
|
|
7833
|
+
open: C,
|
|
7840
7834
|
onOpenChange: E,
|
|
7841
7835
|
whileElementsMounted: Pe
|
|
7842
7836
|
}), N = Ke(T, { event: "mousedown" }), P = Ie(T), B = Se(T, { role: "menu" }), F = lt(T, {
|
|
@@ -8042,7 +8036,7 @@ const ds = (h) => {
|
|
|
8042
8036
|
const u = d.length;
|
|
8043
8037
|
if (u === 0)
|
|
8044
8038
|
return null;
|
|
8045
|
-
const h = "pds-banner",
|
|
8039
|
+
const h = "pds-banner", C = u > 1 ? `${h}-group--multiple` : null, E = {
|
|
8046
8040
|
info: `${h}--info`,
|
|
8047
8041
|
warning: `${h}--warning`,
|
|
8048
8042
|
critical: `${h}--critical`
|
|
@@ -8070,7 +8064,7 @@ const ds = (h) => {
|
|
|
8070
8064
|
...M.slice(0, M.length - 1)
|
|
8071
8065
|
]), document.getElementById(d[0].id).classList.remove(`${h}--fading`);
|
|
8072
8066
|
}, 200);
|
|
8073
|
-
},
|
|
8067
|
+
}, b = (M, H) => {
|
|
8074
8068
|
const { id: w, isDismissible: z, message: k, onDismiss: I, type: V } = M, T = ["critical", "warning"].includes(V) ? "alert" : "status", N = `${r[V]}: `, P = (B) => {
|
|
8075
8069
|
B.preventDefault(), document.getElementById(w).classList.add(`${h}--dismissing`), setTimeout(() => {
|
|
8076
8070
|
if (u === 1) {
|
|
@@ -8118,7 +8112,7 @@ const ds = (h) => {
|
|
|
8118
8112
|
className: x([
|
|
8119
8113
|
`${h}-group`,
|
|
8120
8114
|
v,
|
|
8121
|
-
|
|
8115
|
+
C,
|
|
8122
8116
|
i != null ? i : ""
|
|
8123
8117
|
])
|
|
8124
8118
|
}, a),
|
|
@@ -8140,7 +8134,7 @@ const ds = (h) => {
|
|
|
8140
8134
|
ariaLabel: n,
|
|
8141
8135
|
onClick: f
|
|
8142
8136
|
}
|
|
8143
|
-
), d.map((M, H) =>
|
|
8137
|
+
), d.map((M, H) => b(M, H))) : b(d[0], 0)
|
|
8144
8138
|
);
|
|
8145
8139
|
}, At = {
|
|
8146
8140
|
info: "circleInfo",
|
|
@@ -8174,7 +8168,7 @@ const ds = (h) => {
|
|
|
8174
8168
|
info: `${o}--info`,
|
|
8175
8169
|
critical: `${o}--critical`,
|
|
8176
8170
|
working: `${o}--working`
|
|
8177
|
-
}, g = t ? `${o}--hasTitle` : null, h = ["critical", "warning"].includes(n) ? "alert" : "status",
|
|
8171
|
+
}, g = t ? `${o}--hasTitle` : null, h = ["critical", "warning"].includes(n) ? "alert" : "status", C = `${l[n]}: `;
|
|
8178
8172
|
return /* @__PURE__ */ e.createElement(
|
|
8179
8173
|
"div",
|
|
8180
8174
|
L({
|
|
@@ -8187,7 +8181,7 @@ const ds = (h) => {
|
|
|
8187
8181
|
iconName: `${n}` in At ? At[n] : At.info,
|
|
8188
8182
|
iconSize: "md"
|
|
8189
8183
|
}
|
|
8190
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
8184
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${o}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), t && /* @__PURE__ */ e.createElement("div", { className: `${o}__title` }, t), /* @__PURE__ */ e.createElement("div", { className: `${o}__secondaryText` }, s)))
|
|
8191
8185
|
);
|
|
8192
8186
|
}, Tt = {
|
|
8193
8187
|
info: "circleInfo",
|
|
@@ -8223,21 +8217,21 @@ const ds = (h) => {
|
|
|
8223
8217
|
"typeLabels",
|
|
8224
8218
|
"className"
|
|
8225
8219
|
]);
|
|
8226
|
-
const h = ie(null),
|
|
8227
|
-
error: `${
|
|
8228
|
-
success: `${
|
|
8229
|
-
warning: `${
|
|
8230
|
-
info: `${
|
|
8231
|
-
critical: `${
|
|
8232
|
-
discovery: `${
|
|
8233
|
-
dismissing: `${
|
|
8234
|
-
dismissed: `${
|
|
8235
|
-
}, y = i ? `${
|
|
8220
|
+
const h = ie(null), C = "pds-section-message", E = {
|
|
8221
|
+
error: `${C}--error`,
|
|
8222
|
+
success: `${C}--success`,
|
|
8223
|
+
warning: `${C}--warning`,
|
|
8224
|
+
info: `${C}--info`,
|
|
8225
|
+
critical: `${C}--critical`,
|
|
8226
|
+
discovery: `${C}--discovery`,
|
|
8227
|
+
dismissing: `${C}--dismissing`,
|
|
8228
|
+
dismissed: `${C}--dismissed`
|
|
8229
|
+
}, y = i ? `${C}--hasTitle` : null, $ = ["critical", "warning"].includes(a) ? "alert" : "status", p = `${c[a]}: `, m = () => {
|
|
8236
8230
|
h.current.addEventListener("animationend", f, {
|
|
8237
8231
|
once: !0
|
|
8238
8232
|
});
|
|
8239
|
-
}, f = (
|
|
8240
|
-
l(
|
|
8233
|
+
}, f = (b) => {
|
|
8234
|
+
l(b, s);
|
|
8241
8235
|
}, _ = () => {
|
|
8242
8236
|
m(), h.current.classList.toggle(E.dismissing), setTimeout(() => {
|
|
8243
8237
|
h.current.classList.toggle(E.dismissing), h.current.classList.toggle(E.dismissed);
|
|
@@ -8246,22 +8240,22 @@ const ds = (h) => {
|
|
|
8246
8240
|
return /* @__PURE__ */ e.createElement(
|
|
8247
8241
|
"div",
|
|
8248
8242
|
L({
|
|
8249
|
-
className: [
|
|
8243
|
+
className: [C, E[a], y, o != null ? o : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
8250
8244
|
id: s,
|
|
8251
8245
|
ref: h,
|
|
8252
8246
|
role: $
|
|
8253
8247
|
}, d),
|
|
8254
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
8248
|
+
/* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${C}__icon ${C}__icon-${a}` }, /* @__PURE__ */ e.createElement(
|
|
8255
8249
|
R,
|
|
8256
8250
|
{
|
|
8257
8251
|
iconName: `${a}` in Tt ? Tt[a] : Tt.info,
|
|
8258
8252
|
iconSize: "md"
|
|
8259
8253
|
}
|
|
8260
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
8254
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${C}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${C}__title` }, i), /* @__PURE__ */ e.createElement("div", { className: `${C}__message` }, r))),
|
|
8261
8255
|
n && /* @__PURE__ */ e.createElement(
|
|
8262
8256
|
"button",
|
|
8263
8257
|
{
|
|
8264
|
-
className: `${
|
|
8258
|
+
className: `${C}__dismiss`,
|
|
8265
8259
|
onClick: _,
|
|
8266
8260
|
"aria-label": t,
|
|
8267
8261
|
role: "button"
|
|
@@ -8370,22 +8364,22 @@ const Bs = () => {
|
|
|
8370
8364
|
i
|
|
8371
8365
|
), u = d > 2, h = g < i - 2;
|
|
8372
8366
|
if (!u && h) {
|
|
8373
|
-
const
|
|
8374
|
-
return [...ht(1,
|
|
8367
|
+
const C = 3 + 2 * t;
|
|
8368
|
+
return [...ht(1, C), ot, i];
|
|
8375
8369
|
}
|
|
8376
8370
|
if (u && !h) {
|
|
8377
|
-
const
|
|
8378
|
-
i -
|
|
8371
|
+
const C = 3 + 2 * t, E = ht(
|
|
8372
|
+
i - C + 1,
|
|
8379
8373
|
i
|
|
8380
8374
|
);
|
|
8381
8375
|
return [c, ot, ...E];
|
|
8382
8376
|
}
|
|
8383
8377
|
if (u && h) {
|
|
8384
|
-
const
|
|
8378
|
+
const C = ht(d, g);
|
|
8385
8379
|
return [
|
|
8386
8380
|
c,
|
|
8387
8381
|
ot,
|
|
8388
|
-
...
|
|
8382
|
+
...C,
|
|
8389
8383
|
ot,
|
|
8390
8384
|
o
|
|
8391
8385
|
];
|
|
@@ -8420,7 +8414,7 @@ const Bs = () => {
|
|
|
8420
8414
|
totalItemCount: c,
|
|
8421
8415
|
bufferCount: t,
|
|
8422
8416
|
itemsPerPage: r
|
|
8423
|
-
}),
|
|
8417
|
+
}), C = h[h.length - 1], E = () => {
|
|
8424
8418
|
a(s + 1);
|
|
8425
8419
|
}, y = () => {
|
|
8426
8420
|
a(s - 1);
|
|
@@ -8489,15 +8483,15 @@ const Bs = () => {
|
|
|
8489
8483
|
className: x([
|
|
8490
8484
|
$,
|
|
8491
8485
|
`${$}--next`,
|
|
8492
|
-
s ===
|
|
8486
|
+
s === C ? m : void 0
|
|
8493
8487
|
])
|
|
8494
8488
|
},
|
|
8495
8489
|
/* @__PURE__ */ e.createElement(
|
|
8496
8490
|
"button",
|
|
8497
8491
|
{
|
|
8498
|
-
"aria-disabled": s ===
|
|
8492
|
+
"aria-disabled": s === C ? !0 : void 0,
|
|
8499
8493
|
"aria-label": i.next,
|
|
8500
|
-
onClick: s ===
|
|
8494
|
+
onClick: s === C ? void 0 : E
|
|
8501
8495
|
},
|
|
8502
8496
|
/* @__PURE__ */ e.createElement(R, { iconName: "arrowRight" })
|
|
8503
8497
|
)
|
|
@@ -8517,14 +8511,14 @@ const Bs = () => {
|
|
|
8517
8511
|
"summary",
|
|
8518
8512
|
"className"
|
|
8519
8513
|
]);
|
|
8520
|
-
const [o, d] = Z(n), g = s || `expansion-panel-${et()}`, u = "pds-expansion-panel", h = ie(null),
|
|
8514
|
+
const [o, d] = Z(n), g = s || `expansion-panel-${et()}`, u = "pds-expansion-panel", h = ie(null), C = ie(null), E = ie(null);
|
|
8521
8515
|
return ce(() => {
|
|
8522
|
-
const y = h.current, v =
|
|
8516
|
+
const y = h.current, v = C.current, $ = E.current;
|
|
8523
8517
|
if (!y || !v || !$) return;
|
|
8524
8518
|
let p = null, m = !1, f = !1;
|
|
8525
8519
|
const _ = (z) => {
|
|
8526
|
-
z.preventDefault(), y.style.overflow = "hidden", m || !y.open ? M() : (f || y.open) &&
|
|
8527
|
-
},
|
|
8520
|
+
z.preventDefault(), y.style.overflow = "hidden", m || !y.open ? M() : (f || y.open) && b();
|
|
8521
|
+
}, b = () => {
|
|
8528
8522
|
m = !0, d(!1);
|
|
8529
8523
|
const z = `${y.offsetHeight}px`, k = `${v.offsetHeight}px`;
|
|
8530
8524
|
p && p.cancel(), p = y.animate(
|
|
@@ -8558,7 +8552,7 @@ const Bs = () => {
|
|
|
8558
8552
|
open: n,
|
|
8559
8553
|
ref: h
|
|
8560
8554
|
},
|
|
8561
|
-
/* @__PURE__ */ e.createElement("summary", { ref:
|
|
8555
|
+
/* @__PURE__ */ e.createElement("summary", { ref: C }, /* @__PURE__ */ e.createElement("span", null, l), /* @__PURE__ */ e.createElement(
|
|
8562
8556
|
R,
|
|
8563
8557
|
{
|
|
8564
8558
|
iconName: "angleDown",
|
|
@@ -8601,14 +8595,14 @@ const Bs = () => {
|
|
|
8601
8595
|
"variant",
|
|
8602
8596
|
"className"
|
|
8603
8597
|
]);
|
|
8604
|
-
const d = "pds-panel", g = s ? `${d}__status ${d}__status-${l}` : null, u = `${d}--${r}`, h = `${d}__content`,
|
|
8598
|
+
const d = "pds-panel", g = s ? `${d}__status ${d}__status-${l}` : null, u = `${d}--${r}`, h = `${d}__content`, C = n !== "standard" ? `${h}--pad-${n}` : null;
|
|
8605
8599
|
return /* @__PURE__ */ e.createElement(
|
|
8606
8600
|
"div",
|
|
8607
8601
|
L({
|
|
8608
8602
|
className: [d, u, i != null ? i : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
8609
8603
|
}, a),
|
|
8610
8604
|
s && l && /* @__PURE__ */ e.createElement("span", { className: g }),
|
|
8611
|
-
/* @__PURE__ */ e.createElement("div", { className: x([h,
|
|
8605
|
+
/* @__PURE__ */ e.createElement("div", { className: x([h, C]) }, t)
|
|
8612
8606
|
);
|
|
8613
8607
|
}, qs = (i) => {
|
|
8614
8608
|
var a = i, {
|
|
@@ -8639,8 +8633,8 @@ const Bs = () => {
|
|
|
8639
8633
|
var r = l, { children: t, className: s } = r, n = S(r, ["children", "className"]);
|
|
8640
8634
|
const i = "pds-panel-row", a = qe(t), c = a["items-left"], o = a["items-right"];
|
|
8641
8635
|
return /* @__PURE__ */ e.createElement("li", L({ className: x([i, s != null ? s : ""]) }, n), c && /* @__PURE__ */ e.createElement("div", { className: `${i}__items ${i}__items--left` }, c), o && /* @__PURE__ */ e.createElement("div", { className: `${i}__items ${i}__items--right` }, o));
|
|
8642
|
-
}, Je = 8, r1 = 14, S2 = 6, Ks = (
|
|
8643
|
-
var E =
|
|
8636
|
+
}, Je = 8, r1 = 14, S2 = 6, Ks = (C) => {
|
|
8637
|
+
var E = C, {
|
|
8644
8638
|
content: t,
|
|
8645
8639
|
customTrigger: s = !1,
|
|
8646
8640
|
hasCloseButton: n = !1,
|
|
@@ -8679,14 +8673,14 @@ const Bs = () => {
|
|
|
8679
8673
|
const $ = typeof s, p = "pds-popover", m = x([
|
|
8680
8674
|
`${p}__trigger-custom`,
|
|
8681
8675
|
$ === "string" ? `${p}__trigger-text` : ""
|
|
8682
|
-
]), f = s ? l : 0, _ = ie(null), { refs:
|
|
8676
|
+
]), f = s ? l : 0, _ = ie(null), { refs: b, floatingStyles: M, context: H, middlewareData: w } = Ve({
|
|
8683
8677
|
placement: i,
|
|
8684
8678
|
open: y,
|
|
8685
8679
|
onOpenChange(O) {
|
|
8686
8680
|
v(O), O || r();
|
|
8687
8681
|
},
|
|
8688
8682
|
middleware: [
|
|
8689
|
-
|
|
8683
|
+
bt(Je + S2 + f),
|
|
8690
8684
|
$t({ padding: 8 }),
|
|
8691
8685
|
wt({ padding: 8 }),
|
|
8692
8686
|
B1({ element: _ })
|
|
@@ -8715,7 +8709,7 @@ const Bs = () => {
|
|
|
8715
8709
|
"span",
|
|
8716
8710
|
L({
|
|
8717
8711
|
className: `${p}__trigger`,
|
|
8718
|
-
ref:
|
|
8712
|
+
ref: b.setReference,
|
|
8719
8713
|
role: "button"
|
|
8720
8714
|
}, A()),
|
|
8721
8715
|
s ? /* @__PURE__ */ e.createElement("span", { className: m }, s) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, o), /* @__PURE__ */ e.createElement(
|
|
@@ -8730,7 +8724,7 @@ const Bs = () => {
|
|
|
8730
8724
|
"div",
|
|
8731
8725
|
L({
|
|
8732
8726
|
className: `${p}__container`,
|
|
8733
|
-
ref:
|
|
8727
|
+
ref: b.setFloating,
|
|
8734
8728
|
style: M
|
|
8735
8729
|
}, T()),
|
|
8736
8730
|
/* @__PURE__ */ e.createElement(
|
|
@@ -8790,10 +8784,10 @@ const Bs = () => {
|
|
|
8790
8784
|
"size",
|
|
8791
8785
|
"className"
|
|
8792
8786
|
]);
|
|
8793
|
-
const
|
|
8787
|
+
const C = s || et(), E = "pds-progress-bar", y = a ? `${E}__label` : "visually-hidden", v = `${E}__track ${E}__track--${o}`, $ = i > 100 ? 100 : i;
|
|
8794
8788
|
let p = "neutral";
|
|
8795
|
-
t.forEach((
|
|
8796
|
-
i >=
|
|
8789
|
+
t.forEach((b) => {
|
|
8790
|
+
i >= b.percentage && (p = b.colorType);
|
|
8797
8791
|
});
|
|
8798
8792
|
const m = /* @__PURE__ */ e.createElement("div", { className: `${E}__message` }, l), f = l && r === "above", _ = l && r === "below";
|
|
8799
8793
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -8802,7 +8796,7 @@ const Bs = () => {
|
|
|
8802
8796
|
className: [E, d].join(" ").trim().replace(/\s+/g, " "),
|
|
8803
8797
|
style: { "--bar-percentage": `${$}%` }
|
|
8804
8798
|
}, g),
|
|
8805
|
-
/* @__PURE__ */ e.createElement("div", { id:
|
|
8799
|
+
/* @__PURE__ */ e.createElement("div", { id: C, className: y }, n),
|
|
8806
8800
|
(f || c) && /* @__PURE__ */ e.createElement("div", { className: `${E}__details` }, f && m, c && /* @__PURE__ */ e.createElement(
|
|
8807
8801
|
"div",
|
|
8808
8802
|
{
|
|
@@ -8818,7 +8812,7 @@ const Bs = () => {
|
|
|
8818
8812
|
"div",
|
|
8819
8813
|
{
|
|
8820
8814
|
role: "progressbar",
|
|
8821
|
-
"aria-labelledby":
|
|
8815
|
+
"aria-labelledby": C,
|
|
8822
8816
|
"aria-valuenow": $,
|
|
8823
8817
|
className: v
|
|
8824
8818
|
},
|
|
@@ -8855,7 +8849,7 @@ const Bs = () => {
|
|
|
8855
8849
|
"size",
|
|
8856
8850
|
"className"
|
|
8857
8851
|
]);
|
|
8858
|
-
const u = t || et(), h = "pds-progress-ring",
|
|
8852
|
+
const u = t || et(), h = "pds-progress-ring", C = r ? `${h}__label` : "visually-hidden", E = `${h}__loading-text ${h}__loading-text--${a}`, y = (b) => b * 16;
|
|
8859
8853
|
let v = y(T2), $ = 7;
|
|
8860
8854
|
a === "sm" && (v = y(A2), $ = $ / 1.25), a === "lg" && (v = y(D2), $ = $ * 1.25);
|
|
8861
8855
|
const p = v / 2 - $ / 2, m = 2 * Math.PI * p, f = m - m * l / 100;
|
|
@@ -8869,7 +8863,7 @@ const Bs = () => {
|
|
|
8869
8863
|
"--ring-stroke-dasharray": m
|
|
8870
8864
|
}
|
|
8871
8865
|
}, o),
|
|
8872
|
-
/* @__PURE__ */ e.createElement("div", { id: u, className:
|
|
8866
|
+
/* @__PURE__ */ e.createElement("div", { id: u, className: C }, n),
|
|
8873
8867
|
/* @__PURE__ */ e.createElement(
|
|
8874
8868
|
"div",
|
|
8875
8869
|
{
|
|
@@ -8987,7 +8981,7 @@ const Qs = (c) => {
|
|
|
8987
8981
|
return u.checking;
|
|
8988
8982
|
case "checked":
|
|
8989
8983
|
if (l) {
|
|
8990
|
-
const f = l instanceof Date ? l : new Date(l), _ = Date.now() - f.getTime(),
|
|
8984
|
+
const f = l instanceof Date ? l : new Date(l), _ = Date.now() - f.getTime(), b = Math.floor(_ / 1e3), M = Math.floor(b / 60), H = Math.floor(M / 60), w = Math.floor(H / 24), z = {
|
|
8991
8985
|
year: "numeric",
|
|
8992
8986
|
month: "short",
|
|
8993
8987
|
day: "numeric"
|
|
@@ -8996,11 +8990,11 @@ const Qs = (c) => {
|
|
|
8996
8990
|
return w > 7 ? k = f.toLocaleDateString(
|
|
8997
8991
|
void 0,
|
|
8998
8992
|
z
|
|
8999
|
-
) : w > 0 && w <= 7 ? k = `${w} day${w !== 1 ? "s" : ""} ago` : H > 0 ? k = `${H} hour${H !== 1 ? "s" : ""} ago` : M > 0 ? k = `${M} minute${M !== 1 ? "s" : ""} ago` : k = `${
|
|
8993
|
+
) : w > 0 && w <= 7 ? k = `${w} day${w !== 1 ? "s" : ""} ago` : H > 0 ? k = `${H} hour${H !== 1 ? "s" : ""} ago` : M > 0 ? k = `${M} minute${M !== 1 ? "s" : ""} ago` : k = `${b} second${b !== 1 ? "s" : ""} ago`, `${u.checked} ${k}`;
|
|
9000
8994
|
}
|
|
9001
8995
|
return u.checked;
|
|
9002
8996
|
}
|
|
9003
|
-
},
|
|
8997
|
+
}, C = () => Ht(void 0, null, function* () {
|
|
9004
8998
|
if (d !== "working") {
|
|
9005
8999
|
g(
|
|
9006
9000
|
"working"
|
|
@@ -9040,7 +9034,7 @@ const Qs = (c) => {
|
|
|
9040
9034
|
{
|
|
9041
9035
|
type: "button",
|
|
9042
9036
|
className: v,
|
|
9043
|
-
onClick:
|
|
9037
|
+
onClick: C,
|
|
9044
9038
|
"aria-live": "polite",
|
|
9045
9039
|
"aria-label": u.ariaLabel
|
|
9046
9040
|
},
|
|
@@ -9189,12 +9183,12 @@ const Qs = (c) => {
|
|
|
9189
9183
|
]);
|
|
9190
9184
|
const a = "pds-stepper", c = "pds-stepper-mobile", o = ie(), [d] = yt(o), g = d.width, u = Number(
|
|
9191
9185
|
getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "")
|
|
9192
|
-
) * 16, h = -40,
|
|
9193
|
-
const _ = f + 1,
|
|
9186
|
+
) * 16, h = -40, C = 2, E = 5, y = t.length, v = t.map((m) => m.isCurrent).lastIndexOf(!0), $ = t.map((m, f) => {
|
|
9187
|
+
const _ = f + 1, b = f === v, M = f < v, H = m.hasError && b, z = (g - y * u) / (y + (y - 2)), k = u + z * 2, I = u + z, V = z + h * -1, A = f === 0, T = f === y - 1;
|
|
9194
9188
|
let N = k;
|
|
9195
9189
|
(A || T) && (N = I);
|
|
9196
9190
|
const P = `${a}__step`, B = [P];
|
|
9197
|
-
|
|
9191
|
+
b && B.push(`${P}--current`), M && B.push(`${P}--complete`), H && B.push(`${P}--error`);
|
|
9198
9192
|
let F = `${s.step} ${_}`;
|
|
9199
9193
|
M && (F = `${s.step} ${_}, ${s.completed}`), H && (F = `${s.step} ${_}, ${s.hasError}`);
|
|
9200
9194
|
const K = M ? /* @__PURE__ */ e.createElement("div", { "aria-hidden": "true", className: `${a}__step-indicator` }, /* @__PURE__ */ e.createElement(
|
|
@@ -9228,7 +9222,7 @@ const Qs = (c) => {
|
|
|
9228
9222
|
"aria-label": F,
|
|
9229
9223
|
"aria-posinset": _,
|
|
9230
9224
|
"aria-setsize": y,
|
|
9231
|
-
"aria-current":
|
|
9225
|
+
"aria-current": b ? "step" : null,
|
|
9232
9226
|
className: B.join(" ").trim().replace(/\s+/g, " "),
|
|
9233
9227
|
style: { width: N }
|
|
9234
9228
|
},
|
|
@@ -9252,8 +9246,8 @@ const Qs = (c) => {
|
|
|
9252
9246
|
)
|
|
9253
9247
|
);
|
|
9254
9248
|
}), p = t.map((m, f) => {
|
|
9255
|
-
const _ = f + 1,
|
|
9256
|
-
if (
|
|
9249
|
+
const _ = f + 1, b = f === v, M = f === y - 1, H = m.hasError && b, w = t[v + 1] ? t[v + 1].label : null;
|
|
9250
|
+
if (b) {
|
|
9257
9251
|
const z = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s.step, " "), _, " of ", y), k = _ / y * 100, I = H ? {
|
|
9258
9252
|
"--pds-color-status-info-foreground": "var(--pds-color-status-critical-foreground)"
|
|
9259
9253
|
} : {
|
|
@@ -9287,7 +9281,7 @@ const Qs = (c) => {
|
|
|
9287
9281
|
);
|
|
9288
9282
|
}
|
|
9289
9283
|
});
|
|
9290
|
-
if (y >=
|
|
9284
|
+
if (y >= C && y <= E)
|
|
9291
9285
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
9292
9286
|
"div",
|
|
9293
9287
|
L({
|
|
@@ -9317,14 +9311,14 @@ const Qs = (c) => {
|
|
|
9317
9311
|
o(c.sort(($, p) => $[v].localeCompare(p[v]))), g({ order: "desc", key: v });
|
|
9318
9312
|
}, h = (v) => {
|
|
9319
9313
|
o(c.sort(($, p) => p[v].localeCompare($[v]))), g({ order: "asc", key: v });
|
|
9320
|
-
},
|
|
9314
|
+
}, C = (v, $) => {
|
|
9321
9315
|
g(he(L({}, d), { key: $ })), d.order === "asc" ? u($) : h($);
|
|
9322
9316
|
}, E = (v, $) => /* @__PURE__ */ e.createElement("tr", { id: $, key: `table-row-${$}` }, v.map((p, m) => /* @__PURE__ */ e.createElement("td", { key: `${$}-cell-${m}` }, /* @__PURE__ */ e.createElement("span", null, p)))), y = "pds-table";
|
|
9323
9317
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("table", L({ className: x([y, n]) }, l), /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, a.map((v, $) => /* @__PURE__ */ e.createElement("th", { key: `header-${$}` }, v.sortable ? /* @__PURE__ */ e.createElement("div", { className: `${y}__sort-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
9324
9318
|
"span",
|
|
9325
9319
|
{
|
|
9326
9320
|
className: `${y}__sort-header`,
|
|
9327
|
-
onClick: (p) =>
|
|
9321
|
+
onClick: (p) => C(p, $)
|
|
9328
9322
|
},
|
|
9329
9323
|
v.title
|
|
9330
9324
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -9332,7 +9326,7 @@ const Qs = (c) => {
|
|
|
9332
9326
|
{
|
|
9333
9327
|
className: `${y}__sort-button`,
|
|
9334
9328
|
title: `Sort by ${v.title}`,
|
|
9335
|
-
onClick: (p) =>
|
|
9329
|
+
onClick: (p) => C(p, $)
|
|
9336
9330
|
},
|
|
9337
9331
|
/* @__PURE__ */ e.createElement(
|
|
9338
9332
|
"span",
|
|
@@ -9387,11 +9381,11 @@ const Qs = (c) => {
|
|
|
9387
9381
|
"=",
|
|
9388
9382
|
"|",
|
|
9389
9383
|
"~"
|
|
9390
|
-
],
|
|
9384
|
+
], C = `#${a} h2:not(.${r}), h3:not(.${r})`, E = () => {
|
|
9391
9385
|
const [H, w] = Z([]);
|
|
9392
9386
|
return ce(() => {
|
|
9393
9387
|
const z = Array.from(
|
|
9394
|
-
document.querySelectorAll(
|
|
9388
|
+
document.querySelectorAll(C)
|
|
9395
9389
|
);
|
|
9396
9390
|
z.map((I) => {
|
|
9397
9391
|
h.forEach((V) => {
|
|
@@ -9436,7 +9430,7 @@ const Qs = (c) => {
|
|
|
9436
9430
|
}, k = new IntersectionObserver(z, {
|
|
9437
9431
|
rootMargin: "0px 0px -20% 0px"
|
|
9438
9432
|
}), I = Array.from(
|
|
9439
|
-
document.querySelectorAll(
|
|
9433
|
+
document.querySelectorAll(C)
|
|
9440
9434
|
);
|
|
9441
9435
|
return I.forEach((V) => k.observe(V)), () => k.disconnect();
|
|
9442
9436
|
}, [H]);
|
|
@@ -9448,7 +9442,7 @@ const Qs = (c) => {
|
|
|
9448
9442
|
behavior: "smooth",
|
|
9449
9443
|
block: "start"
|
|
9450
9444
|
});
|
|
9451
|
-
},
|
|
9445
|
+
}, b = (H, w) => {
|
|
9452
9446
|
H.preventDefault(), t && f(w), _(w);
|
|
9453
9447
|
}, M = ({ headings: H }) => /* @__PURE__ */ e.createElement("ul", { className: `${u}__list ${u}__list--top-level` }, H.map((w) => /* @__PURE__ */ e.createElement("li", { key: w.id, className: `${u}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
9454
9448
|
"a",
|
|
@@ -9456,7 +9450,7 @@ const Qs = (c) => {
|
|
|
9456
9450
|
className: w.id === $ ? `${u}__link ${u}__link--active` : `${u}__link`,
|
|
9457
9451
|
href: `#${w.id}`,
|
|
9458
9452
|
onClick: (z) => {
|
|
9459
|
-
|
|
9453
|
+
b(z, w.id);
|
|
9460
9454
|
}
|
|
9461
9455
|
},
|
|
9462
9456
|
w.title
|
|
@@ -9471,7 +9465,7 @@ const Qs = (c) => {
|
|
|
9471
9465
|
className: z.id === $ ? `${u}__link ${u}__link--active` : `${u}__link`,
|
|
9472
9466
|
href: `#${z.id}`,
|
|
9473
9467
|
onClick: (k) => {
|
|
9474
|
-
|
|
9468
|
+
b(k, z.id);
|
|
9475
9469
|
}
|
|
9476
9470
|
},
|
|
9477
9471
|
z.title
|
|
@@ -9521,11 +9515,11 @@ const Qs = (c) => {
|
|
|
9521
9515
|
const p = parseInt($, 10);
|
|
9522
9516
|
u(p);
|
|
9523
9517
|
}
|
|
9524
|
-
},
|
|
9518
|
+
}, C = ie([]);
|
|
9525
9519
|
ce(() => {
|
|
9526
9520
|
n(g);
|
|
9527
9521
|
}, [g, n]), ce(() => {
|
|
9528
|
-
const v =
|
|
9522
|
+
const v = C.current.length - 1;
|
|
9529
9523
|
if (g > v) {
|
|
9530
9524
|
u(0);
|
|
9531
9525
|
return;
|
|
@@ -9536,10 +9530,10 @@ const Qs = (c) => {
|
|
|
9536
9530
|
}, [g]);
|
|
9537
9531
|
const E = (v, $) => {
|
|
9538
9532
|
const p = g;
|
|
9539
|
-
let m =
|
|
9540
|
-
m || (m = $ == "next" ?
|
|
9533
|
+
let m = C.current[$ === "next" ? p + 1 < C.current.length ? p + 1 : 0 : p - 1 >= 0 ? p - 1 : C.current.length - 1];
|
|
9534
|
+
m || (m = $ == "next" ? C.current[v + 1] == null ? C.current[0] : C.current[v + 1] : C.current[v - 1]), m.focus();
|
|
9541
9535
|
}, y = (v) => {
|
|
9542
|
-
const $ =
|
|
9536
|
+
const $ = C.current.length, p = () => {
|
|
9543
9537
|
E((g + 1) % $, "next"), u(g + 1);
|
|
9544
9538
|
}, m = () => {
|
|
9545
9539
|
E((g - 1 + $) % $, "prev"), u(g - 1);
|
|
@@ -9547,15 +9541,15 @@ const Qs = (c) => {
|
|
|
9547
9541
|
E(0), u(0);
|
|
9548
9542
|
}, _ = () => {
|
|
9549
9543
|
E($ - 1), u($ - 1);
|
|
9550
|
-
},
|
|
9551
|
-
|
|
9544
|
+
}, b = () => {
|
|
9545
|
+
C.current[g].focus();
|
|
9552
9546
|
}, H = {
|
|
9553
9547
|
ArrowRight: p,
|
|
9554
9548
|
ArrowLeft: m,
|
|
9555
9549
|
Home: f,
|
|
9556
9550
|
End: _,
|
|
9557
|
-
Space:
|
|
9558
|
-
Enter:
|
|
9551
|
+
Space: b,
|
|
9552
|
+
Enter: b
|
|
9559
9553
|
}[v.code];
|
|
9560
9554
|
H && (v.preventDefault(), H());
|
|
9561
9555
|
};
|
|
@@ -9575,11 +9569,11 @@ const Qs = (c) => {
|
|
|
9575
9569
|
"data-tabnumber": _,
|
|
9576
9570
|
role: "tab",
|
|
9577
9571
|
id: p,
|
|
9578
|
-
onKeyDown: (
|
|
9579
|
-
|
|
9572
|
+
onKeyDown: (b) => {
|
|
9573
|
+
b.preventDefault(), y(b);
|
|
9580
9574
|
},
|
|
9581
9575
|
key: _,
|
|
9582
|
-
ref: (
|
|
9576
|
+
ref: (b) => v ? null : C.current[_] = b,
|
|
9583
9577
|
"aria-controls": `${d}__tab--${_}`,
|
|
9584
9578
|
tabIndex: g === _ ? 0 : -1,
|
|
9585
9579
|
"aria-disabled": !!v,
|
|
@@ -9682,16 +9676,16 @@ const F2 = (t) => {
|
|
|
9682
9676
|
"tagLabel",
|
|
9683
9677
|
"className"
|
|
9684
9678
|
]);
|
|
9685
|
-
const [g, u] = Z(!0), h = "pds-tag",
|
|
9679
|
+
const [g, u] = Z(!0), h = "pds-tag", C = r ? `${h}--${r}` : `${h}--${F2(i)}`, E = g ? null : "pds-tag--hide", y = () => {
|
|
9686
9680
|
u((m) => !m);
|
|
9687
9681
|
};
|
|
9688
9682
|
let v, $, p;
|
|
9689
|
-
return t && !s &&
|
|
9683
|
+
return t && !s && Ce(t) ? (v = t.type, $ = t.props.href ? "href" : "to", p = $ === "href" ? t.props.href : t.props.to) : (v = "span", $ = null, p = null), /* @__PURE__ */ e.createElement(
|
|
9690
9684
|
v,
|
|
9691
9685
|
L({
|
|
9692
9686
|
href: $ === "href" ? p : null,
|
|
9693
9687
|
to: $ === "to" ? p : null,
|
|
9694
|
-
className: [h,
|
|
9688
|
+
className: [h, C, E, a].join(" ").trim().replace(/\s+/g, " ")
|
|
9695
9689
|
}, c),
|
|
9696
9690
|
/* @__PURE__ */ e.createElement("span", { className: `${h}__label`, title: i }, P2(i, 20)),
|
|
9697
9691
|
s ? /* @__PURE__ */ e.createElement(
|
|
@@ -9726,9 +9720,9 @@ const F2 = (t) => {
|
|
|
9726
9720
|
image: g,
|
|
9727
9721
|
alt: u,
|
|
9728
9722
|
name: h,
|
|
9729
|
-
title:
|
|
9723
|
+
title: C,
|
|
9730
9724
|
org: E
|
|
9731
|
-
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${a}__image ${a}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: u })), h && /* @__PURE__ */ e.createElement("div", { className: `${a}__name` }, h),
|
|
9725
|
+
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${a}__image ${a}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: u })), h && /* @__PURE__ */ e.createElement("div", { className: `${a}__name` }, h), C && /* @__PURE__ */ e.createElement("div", { className: `${a}__title` }, C), E && /* @__PURE__ */ e.createElement("div", { className: `${a}__org` }, E)), o = (g) => Ce(g.linkContent) ? xe(g.linkContent, {
|
|
9732
9726
|
children: /* @__PURE__ */ e.createElement(c, L({}, g)),
|
|
9733
9727
|
className: `${a}__item`
|
|
9734
9728
|
}) : /* @__PURE__ */ e.createElement("span", { className: `${a}__item` }, /* @__PURE__ */ e.createElement(c, L({}, g))), d = () => t.map((g, u) => /* @__PURE__ */ e.createElement(R1, { key: `tile-${u}` }, o(g), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
|
|
@@ -9828,7 +9822,7 @@ const F2 = (t) => {
|
|
|
9828
9822
|
"children",
|
|
9829
9823
|
"className"
|
|
9830
9824
|
]);
|
|
9831
|
-
const { isMobile: i } =
|
|
9825
|
+
const { isMobile: i } = be(ze), a = "pds-dashboard-inner", c = i ? `${a}--isMobile` : `${a}--notMobile`, o = qe(t), d = o["header-left"], g = o["header-right"], u = o.content;
|
|
9832
9826
|
return /* @__PURE__ */ e.createElement(
|
|
9833
9827
|
"div",
|
|
9834
9828
|
L({
|
|
@@ -9852,7 +9846,7 @@ const F2 = (t) => {
|
|
|
9852
9846
|
mobileGap: g,
|
|
9853
9847
|
mobileJustifyContent: u,
|
|
9854
9848
|
children: h,
|
|
9855
|
-
className:
|
|
9849
|
+
className: C
|
|
9856
9850
|
} = v, E = S(v, [
|
|
9857
9851
|
"alignContent",
|
|
9858
9852
|
"alignItems",
|
|
@@ -9869,10 +9863,10 @@ const F2 = (t) => {
|
|
|
9869
9863
|
"children",
|
|
9870
9864
|
"className"
|
|
9871
9865
|
]);
|
|
9872
|
-
let p =
|
|
9873
|
-
const m =
|
|
9866
|
+
let p = C1() <= 640;
|
|
9867
|
+
const m = be(ze);
|
|
9874
9868
|
m && (p = m.isMobile);
|
|
9875
|
-
const f = "pds-flex", _ = `${f}-container`,
|
|
9869
|
+
const f = "pds-flex", _ = `${f}-container`, b = p ? `${_}--mobile` : null;
|
|
9876
9870
|
let M = null;
|
|
9877
9871
|
p ? M = `${f}-direction--${o}` : n !== "row" && (M = `${f}-direction--${n}`);
|
|
9878
9872
|
let H = null;
|
|
@@ -9889,14 +9883,14 @@ const F2 = (t) => {
|
|
|
9889
9883
|
L({
|
|
9890
9884
|
className: x([
|
|
9891
9885
|
_,
|
|
9892
|
-
|
|
9886
|
+
b,
|
|
9893
9887
|
M,
|
|
9894
9888
|
H,
|
|
9895
9889
|
w,
|
|
9896
9890
|
z,
|
|
9897
9891
|
k,
|
|
9898
9892
|
I,
|
|
9899
|
-
|
|
9893
|
+
C != null ? C : ""
|
|
9900
9894
|
])
|
|
9901
9895
|
}, E),
|
|
9902
9896
|
h
|
|
@@ -9922,8 +9916,8 @@ const F2 = (t) => {
|
|
|
9922
9916
|
]);
|
|
9923
9917
|
const d = "pds-sidebar-layout", g = `pds-grid pds-grid--${s}`, u = `${d}--${r}`;
|
|
9924
9918
|
let h = !1;
|
|
9925
|
-
const
|
|
9926
|
-
|
|
9919
|
+
const C = be(ze);
|
|
9920
|
+
C && (h = C.isMobile);
|
|
9927
9921
|
const E = qe(t);
|
|
9928
9922
|
let y = "pds-grid-item pds-grid-item--md-8 pds-grid-item--lg-9", v = "pds-grid-item pds-grid-item--lg-3";
|
|
9929
9923
|
r === "narrow" && (y = "pds-grid-item pds-grid-item--md-9 pds-grid-item--lg-10", v = "pds-grid-item pds-grid-item--md-3 pds-grid-item--lg-2"), r === "wide" && (y = "pds-grid-item pds-grid-item--md-7 pds-grid-item--lg-8", v = "pds-grid-item pds-grid-item--md-5 pds-grid-item--lg-4");
|
|
@@ -10003,10 +9997,10 @@ const F2 = (t) => {
|
|
|
10003
9997
|
l
|
|
10004
9998
|
])
|
|
10005
9999
|
}, r),
|
|
10006
|
-
u.map((h,
|
|
10000
|
+
u.map((h, C) => /* @__PURE__ */ e.createElement(
|
|
10007
10001
|
"div",
|
|
10008
10002
|
{
|
|
10009
|
-
key:
|
|
10003
|
+
key: C,
|
|
10010
10004
|
className: "pds-grid-item pds-grid-item--sm-12 pds-grid-item--md-4 pds-grid-item--lg-4"
|
|
10011
10005
|
},
|
|
10012
10006
|
h
|
|
@@ -10026,17 +10020,17 @@ const F2 = (t) => {
|
|
|
10026
10020
|
"verticalAlign",
|
|
10027
10021
|
"className"
|
|
10028
10022
|
]);
|
|
10029
|
-
const o = "pds-two-item-layout", d = s === "standard" ? "pds-grid" : `pds-grid pds-grid--${s}`, g = `${o}--${l}`, u = ["pds-grid-item--md-6"], h = ["pds-grid-item--md-4", "pds-grid-item--lg-3"],
|
|
10023
|
+
const o = "pds-two-item-layout", d = s === "standard" ? "pds-grid" : `pds-grid pds-grid--${s}`, g = `${o}--${l}`, u = ["pds-grid-item--md-6"], h = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], C = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], E = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
10030
10024
|
let y, v;
|
|
10031
10025
|
switch (n) {
|
|
10032
10026
|
case "equal":
|
|
10033
10027
|
y = E.concat(u), v = E.concat(u);
|
|
10034
10028
|
break;
|
|
10035
10029
|
case "one-third-start":
|
|
10036
|
-
y = E.concat(h), v = E.concat(
|
|
10030
|
+
y = E.concat(h), v = E.concat(C);
|
|
10037
10031
|
break;
|
|
10038
10032
|
case "one-third-end":
|
|
10039
|
-
y = E.concat(
|
|
10033
|
+
y = E.concat(C), v = E.concat(h);
|
|
10040
10034
|
}
|
|
10041
10035
|
const $ = qe(t), p = $["first-item"], m = $["second-item"];
|
|
10042
10036
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -10065,7 +10059,7 @@ export {
|
|
|
10065
10059
|
ms as CTASlice,
|
|
10066
10060
|
as as Callout,
|
|
10067
10061
|
qt as Card,
|
|
10068
|
-
|
|
10062
|
+
b1 as CardHeading,
|
|
10069
10063
|
ls as CardSelectGroup,
|
|
10070
10064
|
g2 as Checkbox,
|
|
10071
10065
|
_s as CheckboxFieldset,
|
|
@@ -10095,7 +10089,7 @@ export {
|
|
|
10095
10089
|
vt as IconButton,
|
|
10096
10090
|
it as IndicatorBadge,
|
|
10097
10091
|
Rs as InlineMessage,
|
|
10098
|
-
|
|
10092
|
+
Cs as InputGroup,
|
|
10099
10093
|
ys as LinkNewWindow,
|
|
10100
10094
|
cs as LinksCard,
|
|
10101
10095
|
a2 as MenuButton,
|
|
@@ -10114,7 +10108,7 @@ export {
|
|
|
10114
10108
|
Xs as ProgressBar,
|
|
10115
10109
|
O2 as ProgressRing,
|
|
10116
10110
|
Ys as PullQuote,
|
|
10117
|
-
|
|
10111
|
+
bs as RadioGroup,
|
|
10118
10112
|
Qs as RefreshChecker,
|
|
10119
10113
|
R2 as RefreshCheckerState,
|
|
10120
10114
|
ze as ResponsiveContext,
|
|
@@ -10131,7 +10125,7 @@ export {
|
|
|
10131
10125
|
y2 as SitePlanLevelLabel,
|
|
10132
10126
|
M1 as SiteTypeIcon,
|
|
10133
10127
|
ks as SiteTypeLabel,
|
|
10134
|
-
|
|
10128
|
+
C2 as Skiplink,
|
|
10135
10129
|
en as SocialLinks,
|
|
10136
10130
|
Lt as Spinner,
|
|
10137
10131
|
ss as SplitButton,
|
|
@@ -10164,6 +10158,6 @@ export {
|
|
|
10164
10158
|
i1 as tagColors,
|
|
10165
10159
|
e2 as useClipboard,
|
|
10166
10160
|
Bs as useToast,
|
|
10167
|
-
|
|
10161
|
+
C1 as useWindowWidth
|
|
10168
10162
|
};
|
|
10169
10163
|
//# sourceMappingURL=index.js.map
|