@pantheon-systems/pds-toolkit-react 1.0.0-dev.137 → 1.0.0-dev.138
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_dist/css/design-tokens/pds-design-tokens-light-mode.css +2 -2
- package/_dist/css/pds-core.css +1 -1
- package/_dist/css/pds-layouts.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.d.ts +1 -0
- package/_dist/index.js +705 -662
- package/_dist/index.js.map +1 -1
- package/package.json +2 -2
package/_dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ var Pt = (s, n, a) => n in s ? xs(s, n, { enumerable: !0, configurable: !0, writ
|
|
|
9
9
|
for (var a of mt(n))
|
|
10
10
|
Bt.call(n, a) && Pt(s, a, n[a]);
|
|
11
11
|
return s;
|
|
12
|
-
},
|
|
12
|
+
}, $e = (s, n) => Vs(s, Is(n));
|
|
13
13
|
var M = (s, n) => {
|
|
14
14
|
var a = {};
|
|
15
15
|
for (var r in s)
|
|
@@ -19,7 +19,7 @@ var M = (s, n) => {
|
|
|
19
19
|
n.indexOf(r) < 0 && Bt.call(s, r) && (a[r] = s[r]);
|
|
20
20
|
return a;
|
|
21
21
|
};
|
|
22
|
-
import e, { useRef as X, useState as T, createContext as gt, useContext as
|
|
22
|
+
import e, { useRef as X, useState as T, createContext as gt, useContext as Ne, forwardRef as st, cloneElement as Ss, useEffect as le, useLayoutEffect as Ts, useCallback as Jt } from "react";
|
|
23
23
|
import t, { arrayOf as Os } from "prop-types";
|
|
24
24
|
import es from "hash-sum";
|
|
25
25
|
import { NavLink as ts, MemoryRouter as Rs } from "react-router-dom";
|
|
@@ -252,8 +252,8 @@ const Ys = [
|
|
|
252
252
|
* Is the item a separator?
|
|
253
253
|
*/
|
|
254
254
|
isSeparator: t.bool.isRequired
|
|
255
|
-
}), q = (
|
|
256
|
-
var c =
|
|
255
|
+
}), q = (u) => {
|
|
256
|
+
var c = u, {
|
|
257
257
|
iconName: s,
|
|
258
258
|
iconSize: n = "md",
|
|
259
259
|
className: a
|
|
@@ -262,7 +262,7 @@ const Ys = [
|
|
|
262
262
|
"iconSize",
|
|
263
263
|
"className"
|
|
264
264
|
]);
|
|
265
|
-
const l = `pds-icon pds-icon--${n} pds-icon--${s}`,
|
|
265
|
+
const l = `pds-icon pds-icon--${n} pds-icon--${s}`, m = `0 0 ${Vt[s].width} 512`, d = {
|
|
266
266
|
sm: "0.8rem",
|
|
267
267
|
md: "1rem",
|
|
268
268
|
lg: "1.2rem",
|
|
@@ -276,7 +276,7 @@ const Ys = [
|
|
|
276
276
|
y({
|
|
277
277
|
xmlns: "http://www.w3.org/2000/svg",
|
|
278
278
|
role: "img",
|
|
279
|
-
viewBox:
|
|
279
|
+
viewBox: m,
|
|
280
280
|
height: d[n],
|
|
281
281
|
fill: "none",
|
|
282
282
|
"aria-hidden": "true",
|
|
@@ -853,10 +853,10 @@ const Ys = [
|
|
|
853
853
|
buttonType: n = "button",
|
|
854
854
|
disabled: a = !1,
|
|
855
855
|
icon1: r,
|
|
856
|
-
icon2:
|
|
856
|
+
icon2: u,
|
|
857
857
|
onClick: c,
|
|
858
858
|
size: l = "md",
|
|
859
|
-
className:
|
|
859
|
+
className: m
|
|
860
860
|
} = b, d = M(b, [
|
|
861
861
|
"ariaLabel",
|
|
862
862
|
"buttonType",
|
|
@@ -895,7 +895,7 @@ const Ys = [
|
|
|
895
895
|
"button",
|
|
896
896
|
y({
|
|
897
897
|
"aria-label": s,
|
|
898
|
-
className: [p, h,
|
|
898
|
+
className: [p, h, m].join(" ").trim().replace(/\s+/g, " "),
|
|
899
899
|
disabled: a,
|
|
900
900
|
onClick: () => {
|
|
901
901
|
_(), c();
|
|
@@ -919,7 +919,7 @@ const Ys = [
|
|
|
919
919
|
/* @__PURE__ */ e.createElement(
|
|
920
920
|
q,
|
|
921
921
|
{
|
|
922
|
-
iconName:
|
|
922
|
+
iconName: u,
|
|
923
923
|
iconSize: i,
|
|
924
924
|
className: `${p}__icon`
|
|
925
925
|
}
|
|
@@ -979,13 +979,13 @@ const t1 = (s) => {
|
|
|
979
979
|
const n = parseInt(es(s), 16);
|
|
980
980
|
return Zt[n % Zt.length];
|
|
981
981
|
}, Xe = (l) => {
|
|
982
|
-
var
|
|
982
|
+
var m = l, {
|
|
983
983
|
size: s = "md",
|
|
984
984
|
imageSrc: n,
|
|
985
985
|
linkContent: a,
|
|
986
986
|
uniqueId: r,
|
|
987
|
-
className:
|
|
988
|
-
} =
|
|
987
|
+
className: u
|
|
988
|
+
} = m, c = M(m, [
|
|
989
989
|
"size",
|
|
990
990
|
"imageSrc",
|
|
991
991
|
"linkContent",
|
|
@@ -1004,7 +1004,7 @@ const t1 = (s) => {
|
|
|
1004
1004
|
y({
|
|
1005
1005
|
href: i === "href" ? $ : null,
|
|
1006
1006
|
to: i === "to" ? $ : null,
|
|
1007
|
-
className: [d, o, b,
|
|
1007
|
+
className: [d, o, b, u].join(" ").trim().replace(/\s+/g, " ")
|
|
1008
1008
|
}, c),
|
|
1009
1009
|
n ? /* @__PURE__ */ e.createElement("img", { src: `${n}`, className: `${d}__image`, alt: "" }) : /* @__PURE__ */ e.createElement(
|
|
1010
1010
|
"span",
|
|
@@ -1037,8 +1037,8 @@ Xe.propTypes = {
|
|
|
1037
1037
|
*/
|
|
1038
1038
|
className: t.string
|
|
1039
1039
|
};
|
|
1040
|
-
const s1 = (
|
|
1041
|
-
var c =
|
|
1040
|
+
const s1 = (u) => {
|
|
1041
|
+
var c = u, {
|
|
1042
1042
|
darkBackground: s,
|
|
1043
1043
|
listItems: n,
|
|
1044
1044
|
className: a
|
|
@@ -1047,15 +1047,15 @@ const s1 = (m) => {
|
|
|
1047
1047
|
"listItems",
|
|
1048
1048
|
"className"
|
|
1049
1049
|
]);
|
|
1050
|
-
const l = "pds-avatar-tile-list",
|
|
1050
|
+
const l = "pds-avatar-tile-list", m = "pds-tile-list", d = s ? `${m}--reverse` : "";
|
|
1051
1051
|
return /* @__PURE__ */ e.createElement(
|
|
1052
1052
|
"div",
|
|
1053
1053
|
y({
|
|
1054
1054
|
className: [
|
|
1055
1055
|
l,
|
|
1056
1056
|
d,
|
|
1057
|
-
`${
|
|
1058
|
-
|
|
1057
|
+
`${m}--avatar`,
|
|
1058
|
+
m,
|
|
1059
1059
|
a
|
|
1060
1060
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
1061
1061
|
}, r),
|
|
@@ -1065,7 +1065,7 @@ const s1 = (m) => {
|
|
|
1065
1065
|
p,
|
|
1066
1066
|
{
|
|
1067
1067
|
key: `avatar-tile-item-${b}`,
|
|
1068
|
-
className: `${
|
|
1068
|
+
className: `${m}__item`,
|
|
1069
1069
|
href: h === "href" ? v : null,
|
|
1070
1070
|
to: h === "to" ? v : null,
|
|
1071
1071
|
target: i
|
|
@@ -1073,13 +1073,13 @@ const s1 = (m) => {
|
|
|
1073
1073
|
/* @__PURE__ */ e.createElement(
|
|
1074
1074
|
"div",
|
|
1075
1075
|
{
|
|
1076
|
-
className: `${
|
|
1076
|
+
className: `${m}__image ${m}__image--avatar`
|
|
1077
1077
|
},
|
|
1078
1078
|
/* @__PURE__ */ e.createElement("img", { src: o.image, alt: o.alt })
|
|
1079
1079
|
),
|
|
1080
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1081
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1082
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1080
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__name` }, o.name),
|
|
1081
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__title` }, o.title),
|
|
1082
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__org` }, o.org)
|
|
1083
1083
|
), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" }));
|
|
1084
1084
|
})
|
|
1085
1085
|
);
|
|
@@ -1113,10 +1113,10 @@ const vt = 300, ut = (d) => {
|
|
|
1113
1113
|
buttonType: n = "button",
|
|
1114
1114
|
disabled: a = !1,
|
|
1115
1115
|
iconName: r,
|
|
1116
|
-
onClick:
|
|
1116
|
+
onClick: u,
|
|
1117
1117
|
size: c = "md",
|
|
1118
1118
|
className: l
|
|
1119
|
-
} = o,
|
|
1119
|
+
} = o, m = M(o, [
|
|
1120
1120
|
"ariaLabel",
|
|
1121
1121
|
"buttonType",
|
|
1122
1122
|
"disabled",
|
|
@@ -1143,9 +1143,9 @@ const vt = 300, ut = (d) => {
|
|
|
1143
1143
|
"aria-label": s,
|
|
1144
1144
|
className: [b, p, l].join(" ").trim().replace(/\s+/g, " "),
|
|
1145
1145
|
disabled: a,
|
|
1146
|
-
onClick:
|
|
1146
|
+
onClick: u,
|
|
1147
1147
|
type: n
|
|
1148
|
-
},
|
|
1148
|
+
}, m),
|
|
1149
1149
|
/* @__PURE__ */ e.createElement(
|
|
1150
1150
|
q,
|
|
1151
1151
|
{
|
|
@@ -1190,13 +1190,13 @@ const _t = {
|
|
|
1190
1190
|
info: "circleInfo",
|
|
1191
1191
|
warning: "triangleExclamation",
|
|
1192
1192
|
critical: "diamondExclamation"
|
|
1193
|
-
}, n1 = (
|
|
1194
|
-
var d =
|
|
1193
|
+
}, n1 = (m) => {
|
|
1194
|
+
var d = m, {
|
|
1195
1195
|
banners: s,
|
|
1196
1196
|
dismissLabel: n = "Dismiss",
|
|
1197
1197
|
labelNext: a = "Go to next message",
|
|
1198
1198
|
labelPrevious: r = "Go to previous message",
|
|
1199
|
-
typeLabels:
|
|
1199
|
+
typeLabels: u = {
|
|
1200
1200
|
info: "Information",
|
|
1201
1201
|
warning: "Warning",
|
|
1202
1202
|
critical: "Critical"
|
|
@@ -1218,7 +1218,7 @@ const _t = {
|
|
|
1218
1218
|
warning: `${h}--warning`,
|
|
1219
1219
|
critical: `${h}--critical`
|
|
1220
1220
|
}, $ = (k) => k === 0 ? 0 : -1, g = (k) => k === 0 ? "visible" : "hidden", _ = o.map((k, x) => {
|
|
1221
|
-
const L = ["critical", "warning"].includes(k.type) ? "alert" : "status", V = `${
|
|
1221
|
+
const L = ["critical", "warning"].includes(k.type) ? "alert" : "status", V = `${u[k.type]}: `, w = (O) => {
|
|
1222
1222
|
O.preventDefault();
|
|
1223
1223
|
const H = O.target.closest(`.${h}`).id, S = o.findIndex(
|
|
1224
1224
|
(R) => R.id === H
|
|
@@ -1365,13 +1365,13 @@ const a1 = {
|
|
|
1365
1365
|
},
|
|
1366
1366
|
resolveCrumb: () => {
|
|
1367
1367
|
}
|
|
1368
|
-
}, is = gt(a1), Ut = 8, It = (
|
|
1369
|
-
var d =
|
|
1368
|
+
}, is = gt(a1), Ut = 8, It = (m) => {
|
|
1369
|
+
var d = m, {
|
|
1370
1370
|
content: s,
|
|
1371
1371
|
customTrigger: n = !1,
|
|
1372
1372
|
offsetValue: a = Ut,
|
|
1373
1373
|
triggerAccessibleText: r = "Show more information",
|
|
1374
|
-
triggerIcon:
|
|
1374
|
+
triggerIcon: u = "circleInfo",
|
|
1375
1375
|
className: c
|
|
1376
1376
|
} = d, l = M(d, [
|
|
1377
1377
|
"content",
|
|
@@ -1407,7 +1407,7 @@ const a1 = {
|
|
|
1407
1407
|
/* @__PURE__ */ e.createElement("button", { ref: $.setReference, className: `${h}__trigger` }, n ? /* @__PURE__ */ e.createElement("span", { className: v }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r), /* @__PURE__ */ e.createElement(
|
|
1408
1408
|
q,
|
|
1409
1409
|
{
|
|
1410
|
-
iconName:
|
|
1410
|
+
iconName: u,
|
|
1411
1411
|
className: `${h}__icon`,
|
|
1412
1412
|
iconSize: "sm"
|
|
1413
1413
|
}
|
|
@@ -1464,12 +1464,12 @@ Fe.propTypes = {
|
|
|
1464
1464
|
};
|
|
1465
1465
|
const l1 = (s) => /* @__PURE__ */ e.createElement(ts, { className: "pds-breadcrumbs__mobileCrumbs", end: !0, to: s.uri }, /* @__PURE__ */ e.createElement(q, { iconName: "angleLeft", iconSize: "sm" }), s.label), r1 = (s, n) => s.uri.split("/").length - n.uri.split("/").length, os = (a) => {
|
|
1466
1466
|
var r = a, { ariaLabel: s } = r, n = M(r, ["ariaLabel"]);
|
|
1467
|
-
const [
|
|
1467
|
+
const [u, c] = T(!0), { crumbs: l, deferredCrumbIds: m } = Ne(is), d = [...l].sort(r1), o = () => {
|
|
1468
1468
|
c(!1);
|
|
1469
1469
|
}, b = d.map(
|
|
1470
1470
|
($, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(Fe, { crumb: $, lastCrumb: !0, key: g }) : /* @__PURE__ */ e.createElement(Fe, { crumb: $, key: g })
|
|
1471
1471
|
), p = d.map(
|
|
1472
|
-
($, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(Fe, { crumb: $, key: `breadcrumb-${g}`, lastCrumb: !0 }) : g == 2 ? /* @__PURE__ */ e.createElement(e.Fragment, null, " ", /* @__PURE__ */ e.createElement("li", { className:
|
|
1472
|
+
($, g) => g === d.length - 1 ? /* @__PURE__ */ e.createElement(Fe, { crumb: $, key: `breadcrumb-${g}`, lastCrumb: !0 }) : g == 2 ? /* @__PURE__ */ e.createElement(e.Fragment, null, " ", /* @__PURE__ */ e.createElement("li", { className: u ? "" : "pds-breadcrumbs__hidden" }, /* @__PURE__ */ e.createElement(
|
|
1473
1473
|
"button",
|
|
1474
1474
|
{
|
|
1475
1475
|
key: `breadcrumb-button-${g}`,
|
|
@@ -1481,14 +1481,14 @@ const l1 = (s) => /* @__PURE__ */ e.createElement(ts, { className: "pds-breadcru
|
|
|
1481
1481
|
Fe,
|
|
1482
1482
|
{
|
|
1483
1483
|
crumb: $,
|
|
1484
|
-
classes:
|
|
1484
|
+
classes: u ? "pds-breadcrumbs__hidden" : null,
|
|
1485
1485
|
key: `breadcrumb-${g}`
|
|
1486
1486
|
}
|
|
1487
1487
|
)) : g > 2 && g < d.length - 2 ? /* @__PURE__ */ e.createElement(
|
|
1488
1488
|
Fe,
|
|
1489
1489
|
{
|
|
1490
1490
|
crumb: $,
|
|
1491
|
-
classes:
|
|
1491
|
+
classes: u ? "pds-breadcrumbs__hidden" : null,
|
|
1492
1492
|
key: `breadcrumb-${g}`
|
|
1493
1493
|
}
|
|
1494
1494
|
) : /* @__PURE__ */ e.createElement(Fe, { crumb: $, key: `breadcrumb-${g}` })
|
|
@@ -1500,7 +1500,7 @@ os.propTypes = {
|
|
|
1500
1500
|
crumbs: t.array
|
|
1501
1501
|
};
|
|
1502
1502
|
const c1 = (r) => {
|
|
1503
|
-
var
|
|
1503
|
+
var u = r, { ariaLabel: s, crumbs: n } = u, a = M(u, ["ariaLabel", "crumbs"]);
|
|
1504
1504
|
return /* @__PURE__ */ e.createElement(Rs, null, /* @__PURE__ */ e.createElement(
|
|
1505
1505
|
is.Provider,
|
|
1506
1506
|
{
|
|
@@ -1519,13 +1519,13 @@ c1.propTypes = {
|
|
|
1519
1519
|
{ uri: t.string }
|
|
1520
1520
|
])
|
|
1521
1521
|
};
|
|
1522
|
-
const lt = (
|
|
1523
|
-
var d =
|
|
1522
|
+
const lt = (m) => {
|
|
1523
|
+
var d = m, {
|
|
1524
1524
|
colorType: s = "full-color",
|
|
1525
1525
|
isInline: n = !1,
|
|
1526
1526
|
label: a = "Loading",
|
|
1527
1527
|
showLabel: r = !1,
|
|
1528
|
-
size:
|
|
1528
|
+
size: u = "md",
|
|
1529
1529
|
className: c
|
|
1530
1530
|
} = d, l = M(d, [
|
|
1531
1531
|
"colorType",
|
|
@@ -1535,7 +1535,7 @@ const lt = (u) => {
|
|
|
1535
1535
|
"size",
|
|
1536
1536
|
"className"
|
|
1537
1537
|
]);
|
|
1538
|
-
const o = "pds-spinner", b = s !== "full-color" ? `${o}--${s}` : null, p = `${o}--${
|
|
1538
|
+
const o = "pds-spinner", b = s !== "full-color" ? `${o}--${s}` : null, p = `${o}--${u}`, h = n ? `${o}--inline` : null;
|
|
1539
1539
|
return /* @__PURE__ */ e.createElement(
|
|
1540
1540
|
"span",
|
|
1541
1541
|
y({
|
|
@@ -1593,10 +1593,10 @@ const Qe = st(
|
|
|
1593
1593
|
buttonType: n = "button",
|
|
1594
1594
|
disabled: a = !1,
|
|
1595
1595
|
displayType: r = "label-only",
|
|
1596
|
-
iconName:
|
|
1596
|
+
iconName: u,
|
|
1597
1597
|
isLoading: c = !1,
|
|
1598
1598
|
isSplitButton: l = !1,
|
|
1599
|
-
label:
|
|
1599
|
+
label: m,
|
|
1600
1600
|
onClick: d,
|
|
1601
1601
|
size: o = "md",
|
|
1602
1602
|
variant: b = "primary",
|
|
@@ -1631,15 +1631,15 @@ const Qe = st(
|
|
|
1631
1631
|
q,
|
|
1632
1632
|
{
|
|
1633
1633
|
key: "icon",
|
|
1634
|
-
iconName:
|
|
1634
|
+
iconName: u,
|
|
1635
1635
|
iconSize: E,
|
|
1636
1636
|
className: `${g}__icon`
|
|
1637
1637
|
}
|
|
1638
1638
|
);
|
|
1639
|
-
let N = [
|
|
1640
|
-
return r == "icon-start" &&
|
|
1639
|
+
let N = [m];
|
|
1640
|
+
return r == "icon-start" && u && N.unshift(f), r == "icon-end" && u && N.push(f), l && (N = [f], s = m), /* @__PURE__ */ e.createElement(
|
|
1641
1641
|
"button",
|
|
1642
|
-
|
|
1642
|
+
$e(y({}, h), {
|
|
1643
1643
|
type: n,
|
|
1644
1644
|
className: [g, _, C, p].join(" ").trim().replace(/\s+/g, " "),
|
|
1645
1645
|
disabled: a || c,
|
|
@@ -1722,10 +1722,10 @@ const xe = () => Math.random().toString(32).substring(2, 13), ds = (s, n) => {
|
|
|
1722
1722
|
displayType: n = "label-only",
|
|
1723
1723
|
iconName: a,
|
|
1724
1724
|
linkContent: r,
|
|
1725
|
-
size:
|
|
1725
|
+
size: u = "md",
|
|
1726
1726
|
variant: c = "primary",
|
|
1727
1727
|
className: l
|
|
1728
|
-
} = o,
|
|
1728
|
+
} = o, m = M(o, [
|
|
1729
1729
|
"disabled",
|
|
1730
1730
|
"displayType",
|
|
1731
1731
|
"iconName",
|
|
@@ -1734,9 +1734,9 @@ const xe = () => Math.random().toString(32).substring(2, 13), ds = (s, n) => {
|
|
|
1734
1734
|
"variant",
|
|
1735
1735
|
"className"
|
|
1736
1736
|
]);
|
|
1737
|
-
const b = xe(), p = "pds-button-link", h = "pds-button", v = r.props.className, i =
|
|
1737
|
+
const b = xe(), p = "pds-button-link", h = "pds-button", v = r.props.className, i = u !== "md" ? `${h}--${u}` : null, $ = c !== "primary" ? `${h}--${c}` : null, g = [h, v, $, i].join(" ").trim().replace(/\s+/g, " ");
|
|
1738
1738
|
let _;
|
|
1739
|
-
switch (
|
|
1739
|
+
switch (u) {
|
|
1740
1740
|
case "sm":
|
|
1741
1741
|
_ = "sm";
|
|
1742
1742
|
break;
|
|
@@ -1769,14 +1769,14 @@ const xe = () => Math.random().toString(32).substring(2, 13), ds = (s, n) => {
|
|
|
1769
1769
|
},
|
|
1770
1770
|
label: f,
|
|
1771
1771
|
variant: c,
|
|
1772
|
-
size:
|
|
1772
|
+
size: u,
|
|
1773
1773
|
className: [p, l].join(" ").trim().replace(/\s+/g, " ")
|
|
1774
|
-
},
|
|
1774
|
+
}, m)
|
|
1775
1775
|
) : /* @__PURE__ */ e.createElement(
|
|
1776
1776
|
"span",
|
|
1777
1777
|
y({
|
|
1778
1778
|
className: [p, l].join(" ").trim().replace(/\s+/g, " ")
|
|
1779
|
-
},
|
|
1779
|
+
}, m),
|
|
1780
1780
|
N
|
|
1781
1781
|
);
|
|
1782
1782
|
};
|
|
@@ -1831,13 +1831,13 @@ const i1 = {
|
|
|
1831
1831
|
title: n,
|
|
1832
1832
|
type: a = "info",
|
|
1833
1833
|
className: r
|
|
1834
|
-
} = l,
|
|
1834
|
+
} = l, u = M(l, [
|
|
1835
1835
|
"children",
|
|
1836
1836
|
"title",
|
|
1837
1837
|
"type",
|
|
1838
1838
|
"className"
|
|
1839
1839
|
]);
|
|
1840
|
-
const
|
|
1840
|
+
const m = "pds-callout", d = `${m}--${a}`, o = {
|
|
1841
1841
|
info: "circleInfo",
|
|
1842
1842
|
warning: "triangleExclamation",
|
|
1843
1843
|
success: "circleCheck",
|
|
@@ -1849,15 +1849,15 @@ const i1 = {
|
|
|
1849
1849
|
return /* @__PURE__ */ e.createElement(
|
|
1850
1850
|
"div",
|
|
1851
1851
|
y({
|
|
1852
|
-
className: [
|
|
1853
|
-
},
|
|
1854
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1852
|
+
className: [m, d, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
1853
|
+
}, u),
|
|
1854
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${m}__icon ${m}__icon--${a}` }, /* @__PURE__ */ e.createElement(
|
|
1855
1855
|
q,
|
|
1856
1856
|
{
|
|
1857
1857
|
iconName: `${a}` in Wt ? Wt[a] : o.info,
|
|
1858
1858
|
iconSize: "xl"
|
|
1859
1859
|
}
|
|
1860
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
1860
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${m}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, b), n && /* @__PURE__ */ e.createElement("div", { className: `${m}__title` }, n), s && /* @__PURE__ */ e.createElement("div", { className: `${m}__main-content` }, s)))
|
|
1861
1861
|
);
|
|
1862
1862
|
}, o1 = (b) => {
|
|
1863
1863
|
var p = b, {
|
|
@@ -1865,10 +1865,10 @@ const i1 = {
|
|
|
1865
1865
|
headingLevel: n = "h2",
|
|
1866
1866
|
headingText: a,
|
|
1867
1867
|
image: r,
|
|
1868
|
-
isClickable:
|
|
1868
|
+
isClickable: u = !1,
|
|
1869
1869
|
kickerText: c,
|
|
1870
1870
|
primaryLink: l,
|
|
1871
|
-
secondaryLink:
|
|
1871
|
+
secondaryLink: m,
|
|
1872
1872
|
className: d
|
|
1873
1873
|
} = p, o = M(p, [
|
|
1874
1874
|
"bodyText",
|
|
@@ -1881,7 +1881,7 @@ const i1 = {
|
|
|
1881
1881
|
"secondaryLink",
|
|
1882
1882
|
"className"
|
|
1883
1883
|
]);
|
|
1884
|
-
const h = "pds-card", v =
|
|
1884
|
+
const h = "pds-card", v = u ? `${h}--clickable` : null, i = `${n}`, $ = l.type, g = r ? /* @__PURE__ */ e.createElement("div", { className: `${h}__image` }, !u && l ? /* @__PURE__ */ e.createElement(
|
|
1885
1885
|
$,
|
|
1886
1886
|
y({
|
|
1887
1887
|
tabIndex: "-1",
|
|
@@ -1894,8 +1894,8 @@ const i1 = {
|
|
|
1894
1894
|
className: `${h}__kicker pds-overline-text pds-overline-text--sm`
|
|
1895
1895
|
},
|
|
1896
1896
|
c
|
|
1897
|
-
), a && /* @__PURE__ */ e.createElement(i, { className: `${h}__heading` }, a), s && /* @__PURE__ */ e.createElement("div", { className: `${h}__bodytext` }, /* @__PURE__ */ e.createElement("p", null, s)), !
|
|
1898
|
-
return
|
|
1897
|
+
), a && /* @__PURE__ */ e.createElement(i, { className: `${h}__heading` }, a), s && /* @__PURE__ */ e.createElement("div", { className: `${h}__bodytext` }, /* @__PURE__ */ e.createElement("p", null, s)), !u && l && /* @__PURE__ */ e.createElement("div", { className: `${h}__links pds-button-group` }, /* @__PURE__ */ e.createElement(We, { linkContent: l, variant: "primary" }), m && /* @__PURE__ */ e.createElement(We, { linkContent: m, variant: "secondary" })));
|
|
1898
|
+
return u && l ? /* @__PURE__ */ e.createElement(
|
|
1899
1899
|
$,
|
|
1900
1900
|
y({
|
|
1901
1901
|
className: [h, v, d].join(" ").trim().replace(/\s+/g, " ")
|
|
@@ -1958,10 +1958,10 @@ const d1 = (o) => {
|
|
|
1958
1958
|
initialSelection: n,
|
|
1959
1959
|
label: a,
|
|
1960
1960
|
labelDisplay: r = "left",
|
|
1961
|
-
layout:
|
|
1961
|
+
layout: u = "auto",
|
|
1962
1962
|
onChange: c,
|
|
1963
1963
|
options: l,
|
|
1964
|
-
className:
|
|
1964
|
+
className: m
|
|
1965
1965
|
} = b, d = M(b, [
|
|
1966
1966
|
"id",
|
|
1967
1967
|
"initialSelection",
|
|
@@ -1979,10 +1979,10 @@ const d1 = (o) => {
|
|
|
1979
1979
|
i(f.target.value), c && c(f.target.value);
|
|
1980
1980
|
}, g = l.length, _ = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", C = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
1981
1981
|
let E = "";
|
|
1982
|
-
return
|
|
1982
|
+
return u === "twoAcross" ? E = _ : u === "threeAcross" ? E = C : u === "auto" && (g % 3 === 0 ? E = C : g % 2 === 0 ? E = _ : E = C), /* @__PURE__ */ e.createElement(
|
|
1983
1983
|
"fieldset",
|
|
1984
1984
|
y({
|
|
1985
|
-
className: [p,
|
|
1985
|
+
className: [p, m].join(" ").trim().replace(/\s+/g, " "),
|
|
1986
1986
|
id: s
|
|
1987
1987
|
}, d),
|
|
1988
1988
|
/* @__PURE__ */ e.createElement("legend", { className: h }, a),
|
|
@@ -2123,15 +2123,15 @@ Ot.propTypes = {
|
|
|
2123
2123
|
label: t.string.isRequired
|
|
2124
2124
|
};
|
|
2125
2125
|
const Rt = st(
|
|
2126
|
-
(c,
|
|
2126
|
+
(c, u) => {
|
|
2127
2127
|
var l = c, { children: s, active: n, className: a } = l, r = M(l, ["children", "active", "className"]);
|
|
2128
|
-
const
|
|
2128
|
+
const m = qs(), d = "pds-input__option", o = n ? `${d}--active` : null;
|
|
2129
2129
|
return /* @__PURE__ */ e.createElement(
|
|
2130
2130
|
"li",
|
|
2131
2131
|
y({
|
|
2132
|
-
ref:
|
|
2132
|
+
ref: u,
|
|
2133
2133
|
role: "option",
|
|
2134
|
-
id:
|
|
2134
|
+
id: m,
|
|
2135
2135
|
className: [d, o, a].join(" ").trim().replace(/\s+/g, " "),
|
|
2136
2136
|
"aria-selected": n
|
|
2137
2137
|
}, r),
|
|
@@ -2151,10 +2151,10 @@ const Oe = st(
|
|
|
2151
2151
|
decorator: n,
|
|
2152
2152
|
disabled: a = !1,
|
|
2153
2153
|
id: r,
|
|
2154
|
-
inputFieldType:
|
|
2154
|
+
inputFieldType: u,
|
|
2155
2155
|
inputWidth: c,
|
|
2156
2156
|
isFieldset: l = !1,
|
|
2157
|
-
label:
|
|
2157
|
+
label: m,
|
|
2158
2158
|
message: d,
|
|
2159
2159
|
messagePosition: o = "after",
|
|
2160
2160
|
readonly: b = !1,
|
|
@@ -2179,7 +2179,7 @@ const Oe = st(
|
|
|
2179
2179
|
"validationState",
|
|
2180
2180
|
"className"
|
|
2181
2181
|
]);
|
|
2182
|
-
const E = "pds-input-wrapper", f = `${E}--${
|
|
2182
|
+
const E = "pds-input-wrapper", f = `${E}--${u}`, N = "pds-input-label", k = `pds-input-field__message pds-input-field__message--${o}`, x = v === "error" ? "pds-has-error" : null, I = v === "success" ? "pds-has-success" : null, L = a ? "pds-is-disabled" : null, V = b ? "pds-is-readonly" : null, w = p && !a ? "pds-is-required" : null, O = c ? `${c / 16}rem` : null, H = c ? { width: O } : null, S = l ? "fieldset" : "div", P = p && !a ? /* @__PURE__ */ e.createElement(
|
|
2183
2183
|
q,
|
|
2184
2184
|
{
|
|
2185
2185
|
iconName: "asterisk",
|
|
@@ -2212,14 +2212,14 @@ const Oe = st(
|
|
|
2212
2212
|
ref: g,
|
|
2213
2213
|
style: H
|
|
2214
2214
|
}, $),
|
|
2215
|
-
|
|
2215
|
+
m && !l && /* @__PURE__ */ e.createElement("span", { className: h ? null : "visually-hidden" }, /* @__PURE__ */ e.createElement("label", { className: N, htmlFor: r }, m, P)),
|
|
2216
2216
|
o === "before" && R,
|
|
2217
2217
|
/* @__PURE__ */ e.createElement(
|
|
2218
2218
|
S,
|
|
2219
2219
|
{
|
|
2220
|
-
className: `pds-input-field ${
|
|
2220
|
+
className: `pds-input-field ${u ? `pds-input-field--${u}` : ""}`
|
|
2221
2221
|
},
|
|
2222
|
-
|
|
2222
|
+
m && l && /* @__PURE__ */ e.createElement("legend", { className: N }, m, P),
|
|
2223
2223
|
n && /* @__PURE__ */ e.createElement(Je, { type: n }),
|
|
2224
2224
|
s
|
|
2225
2225
|
),
|
|
@@ -2296,10 +2296,10 @@ const ms = st(
|
|
|
2296
2296
|
disabled: n = !1,
|
|
2297
2297
|
id: a,
|
|
2298
2298
|
inputWidth: r,
|
|
2299
|
-
label:
|
|
2299
|
+
label: u,
|
|
2300
2300
|
message: c,
|
|
2301
2301
|
onChange: l,
|
|
2302
|
-
required:
|
|
2302
|
+
required: m = !1,
|
|
2303
2303
|
value: d,
|
|
2304
2304
|
className: o
|
|
2305
2305
|
} = v, b = M(v, [
|
|
@@ -2316,7 +2316,7 @@ const ms = st(
|
|
|
2316
2316
|
]);
|
|
2317
2317
|
const i = "pds-checkbox", [$, g] = T(s), _ = (E) => {
|
|
2318
2318
|
g(!$), l && l(E.target);
|
|
2319
|
-
}, C =
|
|
2319
|
+
}, C = m && !n ? /* @__PURE__ */ e.createElement(
|
|
2320
2320
|
q,
|
|
2321
2321
|
{
|
|
2322
2322
|
iconName: "asterisk",
|
|
@@ -2333,7 +2333,7 @@ const ms = st(
|
|
|
2333
2333
|
inputWidth: r,
|
|
2334
2334
|
inputFieldType: "checkbox",
|
|
2335
2335
|
message: c,
|
|
2336
|
-
required:
|
|
2336
|
+
required: m
|
|
2337
2337
|
},
|
|
2338
2338
|
/* @__PURE__ */ e.createElement(
|
|
2339
2339
|
"div",
|
|
@@ -2342,18 +2342,18 @@ const ms = st(
|
|
|
2342
2342
|
}, b),
|
|
2343
2343
|
/* @__PURE__ */ e.createElement(
|
|
2344
2344
|
"input",
|
|
2345
|
-
|
|
2345
|
+
$e(y({
|
|
2346
2346
|
ref: p,
|
|
2347
2347
|
type: "checkbox",
|
|
2348
2348
|
id: a
|
|
2349
2349
|
}, d ? { value: d } : {}), {
|
|
2350
2350
|
defaultChecked: $,
|
|
2351
2351
|
disabled: n,
|
|
2352
|
-
required:
|
|
2352
|
+
required: m,
|
|
2353
2353
|
onClick: _
|
|
2354
2354
|
})
|
|
2355
2355
|
),
|
|
2356
|
-
/* @__PURE__ */ e.createElement("label", { htmlFor: a },
|
|
2356
|
+
/* @__PURE__ */ e.createElement("label", { htmlFor: a }, u, C)
|
|
2357
2357
|
)
|
|
2358
2358
|
);
|
|
2359
2359
|
}
|
|
@@ -2406,10 +2406,10 @@ const m1 = (b) => {
|
|
|
2406
2406
|
id: n,
|
|
2407
2407
|
inputWidth: a,
|
|
2408
2408
|
label: r,
|
|
2409
|
-
message:
|
|
2409
|
+
message: u,
|
|
2410
2410
|
onChange: c,
|
|
2411
2411
|
options: l,
|
|
2412
|
-
required:
|
|
2412
|
+
required: m = !1,
|
|
2413
2413
|
className: d
|
|
2414
2414
|
} = p, o = M(p, [
|
|
2415
2415
|
"disabled",
|
|
@@ -2452,8 +2452,8 @@ const m1 = (b) => {
|
|
|
2452
2452
|
inputWidth: a,
|
|
2453
2453
|
isFieldset: !0,
|
|
2454
2454
|
label: r,
|
|
2455
|
-
message:
|
|
2456
|
-
required:
|
|
2455
|
+
message: u,
|
|
2456
|
+
required: m
|
|
2457
2457
|
},
|
|
2458
2458
|
/* @__PURE__ */ e.createElement(
|
|
2459
2459
|
"div",
|
|
@@ -2465,7 +2465,7 @@ const m1 = (b) => {
|
|
|
2465
2465
|
{
|
|
2466
2466
|
className: `${h}__options`,
|
|
2467
2467
|
"aria-disabled": s ? !0 : null,
|
|
2468
|
-
"aria-required":
|
|
2468
|
+
"aria-required": m ? !0 : null,
|
|
2469
2469
|
onChange: g
|
|
2470
2470
|
},
|
|
2471
2471
|
l.map((f, N) => /* @__PURE__ */ e.createElement("li", { key: N, className: `${h}__option` }, /* @__PURE__ */ e.createElement(
|
|
@@ -2548,10 +2548,10 @@ const us = st(
|
|
|
2548
2548
|
hasClearButton: n = !0,
|
|
2549
2549
|
hasDropdownTrigger: a = !1,
|
|
2550
2550
|
hasSearchIcon: r = !0,
|
|
2551
|
-
hasSearchShortcut:
|
|
2551
|
+
hasSearchShortcut: u = !1,
|
|
2552
2552
|
id: c,
|
|
2553
2553
|
initialValue: l,
|
|
2554
|
-
inputWidth:
|
|
2554
|
+
inputWidth: m,
|
|
2555
2555
|
isLoading: d = !1,
|
|
2556
2556
|
label: o,
|
|
2557
2557
|
labelStrings: b = {
|
|
@@ -2593,23 +2593,23 @@ const us = st(
|
|
|
2593
2593
|
"validationFunction",
|
|
2594
2594
|
"className"
|
|
2595
2595
|
]);
|
|
2596
|
-
const L = (
|
|
2597
|
-
const ne = $.find((
|
|
2596
|
+
const L = (ce) => {
|
|
2597
|
+
const ne = $.find((He) => He.value === ce);
|
|
2598
2598
|
return ne ? ne.label : "";
|
|
2599
2599
|
}, [V, w] = T(!1), [O, H] = T(null), [S, P] = T(
|
|
2600
2600
|
l ? L(l) : ""
|
|
2601
|
-
), [R, j] = T([]), [A, F] = T(""), [Z, W] = T(null), z = X([]), B = "pds-combobox", { context: U, refs:
|
|
2601
|
+
), [R, j] = T([]), [A, F] = T(""), [Z, W] = T(null), z = X([]), B = "pds-combobox", { context: U, refs: Y } = Ve({
|
|
2602
2602
|
open: V,
|
|
2603
2603
|
onOpenChange: w,
|
|
2604
2604
|
whileElementsMounted: qe
|
|
2605
|
-
}),
|
|
2605
|
+
}), pe = Se(U, { role: "listbox" }), re = Ie(U), ee = nt(U, {
|
|
2606
2606
|
listRef: z,
|
|
2607
2607
|
activeIndex: O,
|
|
2608
2608
|
onNavigate: H,
|
|
2609
2609
|
virtual: !0,
|
|
2610
2610
|
loop: !0,
|
|
2611
2611
|
allowEscape: !0
|
|
2612
|
-
}), { getReferenceProps: de, getFloatingProps: me, getItemProps: te } = Te([
|
|
2612
|
+
}), { getReferenceProps: de, getFloatingProps: me, getItemProps: te } = Te([pe, re, ee]), { isMounted: fe, styles: be } = Ae(U, {
|
|
2613
2613
|
duration: {
|
|
2614
2614
|
open: 300,
|
|
2615
2615
|
close: 150
|
|
@@ -2623,35 +2623,35 @@ const us = st(
|
|
|
2623
2623
|
close: {
|
|
2624
2624
|
opacity: 0
|
|
2625
2625
|
}
|
|
2626
|
-
}), oe = (
|
|
2627
|
-
if (
|
|
2626
|
+
}), oe = (ce) => {
|
|
2627
|
+
if (ce.key !== "/" || ce.ctrlKey || ce.metaKey || /^(?:input|textarea|select|button)$/i.test(ce.target.tagName))
|
|
2628
2628
|
return;
|
|
2629
|
-
|
|
2629
|
+
ce.preventDefault(), document.getElementById(c).querySelector("input").focus();
|
|
2630
2630
|
};
|
|
2631
|
-
|
|
2632
|
-
if (
|
|
2631
|
+
le(() => {
|
|
2632
|
+
if (u)
|
|
2633
2633
|
return document.addEventListener("keyup", oe), () => {
|
|
2634
2634
|
document.removeEventListener("keyup", oe);
|
|
2635
2635
|
};
|
|
2636
2636
|
}, []);
|
|
2637
2637
|
const J = () => {
|
|
2638
2638
|
F(""), W(null);
|
|
2639
|
-
},
|
|
2640
|
-
const ne = E(
|
|
2639
|
+
}, K = (ce) => {
|
|
2640
|
+
const ne = E(ce) || {};
|
|
2641
2641
|
J(), ne.error && W("error"), ne.success && W("success"), F(ne.message);
|
|
2642
|
-
},
|
|
2643
|
-
let ne =
|
|
2642
|
+
}, ue = (ce) => {
|
|
2643
|
+
let ne = ce.target.value;
|
|
2644
2644
|
ne.length > 0 && (ne = ne.trimStart()), P(ne), ne ? (H(null), w(!0)) : w(!1);
|
|
2645
|
-
}, Ce = (
|
|
2646
|
-
const ne = R[
|
|
2647
|
-
P(ne.label), H(null), w(!1), i && i(ne), E &&
|
|
2645
|
+
}, Ce = (ce) => {
|
|
2646
|
+
const ne = R[ce];
|
|
2647
|
+
P(ne.label), H(null), w(!1), i && i(ne), E && K(ne);
|
|
2648
2648
|
}, Le = () => {
|
|
2649
|
-
var
|
|
2650
|
-
J(), P(""), w(!0), (
|
|
2649
|
+
var ce;
|
|
2650
|
+
J(), P(""), w(!0), (ce = Y.domReference.current) == null || ce.focus();
|
|
2651
2651
|
}, Q = () => {
|
|
2652
2652
|
w(!V);
|
|
2653
|
-
}, se = (
|
|
2654
|
-
const { label: je, optionDisplay: Re, value: ct, searchIndex: it } =
|
|
2653
|
+
}, se = (ce) => ce.map((He) => {
|
|
2654
|
+
const { label: je, optionDisplay: Re, value: ct, searchIndex: it } = He, bt = ct || je, ot = [je, ct];
|
|
2655
2655
|
return it && ot.push(...it), {
|
|
2656
2656
|
label: je,
|
|
2657
2657
|
value: bt,
|
|
@@ -2659,34 +2659,34 @@ const us = st(
|
|
|
2659
2659
|
optionDisplay: Re
|
|
2660
2660
|
};
|
|
2661
2661
|
});
|
|
2662
|
-
$.length > 1 &&
|
|
2663
|
-
const
|
|
2664
|
-
const
|
|
2662
|
+
$.length > 1 && le(() => {
|
|
2663
|
+
const ce = se($).filter((ne) => {
|
|
2664
|
+
const He = ne.searchIndex.map(
|
|
2665
2665
|
(Re) => Re.toLowerCase()
|
|
2666
2666
|
), je = S.toLowerCase();
|
|
2667
|
-
return
|
|
2667
|
+
return He.some((Re) => Re.includes(je));
|
|
2668
2668
|
});
|
|
2669
|
-
j(
|
|
2669
|
+
j(ce);
|
|
2670
2670
|
}, [S, d, $]);
|
|
2671
|
-
const
|
|
2671
|
+
const ke = R.map((ce, ne) => /* @__PURE__ */ e.createElement(
|
|
2672
2672
|
Rt,
|
|
2673
|
-
|
|
2674
|
-
key:
|
|
2673
|
+
$e(y({
|
|
2674
|
+
key: ce
|
|
2675
2675
|
}, te({
|
|
2676
|
-
key:
|
|
2677
|
-
ref(
|
|
2678
|
-
z.current[ne] =
|
|
2676
|
+
key: ce.value,
|
|
2677
|
+
ref(He) {
|
|
2678
|
+
z.current[ne] = He;
|
|
2679
2679
|
},
|
|
2680
2680
|
onClick() {
|
|
2681
|
-
var
|
|
2682
|
-
Ce(ne), (
|
|
2681
|
+
var He;
|
|
2682
|
+
Ce(ne), (He = Y.domReference.current) == null || He.focus();
|
|
2683
2683
|
}
|
|
2684
2684
|
})), {
|
|
2685
2685
|
tabIndex: O === ne ? 0 : -1,
|
|
2686
2686
|
active: O === ne
|
|
2687
2687
|
}),
|
|
2688
|
-
|
|
2689
|
-
)),
|
|
2688
|
+
ce.optionDisplay || ce.label
|
|
2689
|
+
)), ye = A || h, we = m ? `${m / 16}rem` : null, he = m ? { width: we } : null;
|
|
2690
2690
|
return /* @__PURE__ */ e.createElement(
|
|
2691
2691
|
Oe,
|
|
2692
2692
|
{
|
|
@@ -2695,9 +2695,9 @@ const us = st(
|
|
|
2695
2695
|
disabled: s,
|
|
2696
2696
|
id: c,
|
|
2697
2697
|
inputFieldType: "combobox",
|
|
2698
|
-
inputWidth:
|
|
2698
|
+
inputWidth: m,
|
|
2699
2699
|
label: o,
|
|
2700
|
-
message:
|
|
2700
|
+
message: ye,
|
|
2701
2701
|
required: _,
|
|
2702
2702
|
showLabel: C,
|
|
2703
2703
|
validationState: Z
|
|
@@ -2713,21 +2713,21 @@ const us = st(
|
|
|
2713
2713
|
"aria-disabled": s ? !0 : null,
|
|
2714
2714
|
"aria-required": _ ? !0 : null,
|
|
2715
2715
|
"aria-invalid": Z === "error" ? !0 : null,
|
|
2716
|
-
"aria-describedby":
|
|
2716
|
+
"aria-describedby": ye ? `${c}__message` : null
|
|
2717
2717
|
}, N),
|
|
2718
2718
|
/* @__PURE__ */ e.createElement(
|
|
2719
2719
|
"input",
|
|
2720
2720
|
y({
|
|
2721
|
-
ref:
|
|
2721
|
+
ref: Y.setReference
|
|
2722
2722
|
}, de({
|
|
2723
2723
|
"aria-autocomplete": "list",
|
|
2724
2724
|
"aria-label": b.inputInstructions,
|
|
2725
2725
|
disabled: s,
|
|
2726
2726
|
placeholder: g,
|
|
2727
2727
|
value: S,
|
|
2728
|
-
onChange:
|
|
2729
|
-
onKeyDown(
|
|
2730
|
-
|
|
2728
|
+
onChange: ue,
|
|
2729
|
+
onKeyDown(ce) {
|
|
2730
|
+
ce.key === "Enter" && O != null && R[O] && Ce(O);
|
|
2731
2731
|
}
|
|
2732
2732
|
}))
|
|
2733
2733
|
),
|
|
@@ -2739,11 +2739,11 @@ const us = st(
|
|
|
2739
2739
|
handleClearInput: Le
|
|
2740
2740
|
}
|
|
2741
2741
|
),
|
|
2742
|
-
!S &&
|
|
2742
|
+
!S && u && /* @__PURE__ */ e.createElement(Ot, { label: b.searchShortcut }),
|
|
2743
2743
|
a && /* @__PURE__ */ e.createElement(
|
|
2744
2744
|
"button",
|
|
2745
|
-
|
|
2746
|
-
ref:
|
|
2745
|
+
$e(y({
|
|
2746
|
+
ref: Y.setReference
|
|
2747
2747
|
}, de({
|
|
2748
2748
|
onClick: Q,
|
|
2749
2749
|
disabled: s,
|
|
@@ -2764,14 +2764,14 @@ const us = st(
|
|
|
2764
2764
|
fe && /* @__PURE__ */ e.createElement(
|
|
2765
2765
|
"div",
|
|
2766
2766
|
y({
|
|
2767
|
-
ref:
|
|
2767
|
+
ref: Y.setFloating,
|
|
2768
2768
|
className: `${B}__dropdown`
|
|
2769
2769
|
}, me({
|
|
2770
2770
|
style: {
|
|
2771
2771
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
2772
2772
|
}
|
|
2773
2773
|
})),
|
|
2774
|
-
/* @__PURE__ */ e.createElement("div", { style: y({}, be) }, d ? /* @__PURE__ */ e.createElement("div", { className: `${B}__loading` }, p) : R.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${B}__options` },
|
|
2774
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, be) }, d ? /* @__PURE__ */ e.createElement("div", { className: `${B}__loading` }, p) : R.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${B}__options` }, ke) : /* @__PURE__ */ e.createElement("div", { className: `${B}__no-results` }, v))
|
|
2775
2775
|
)
|
|
2776
2776
|
);
|
|
2777
2777
|
}
|
|
@@ -2897,13 +2897,13 @@ const u1 = {
|
|
|
2897
2897
|
included: "circleCheck",
|
|
2898
2898
|
notIncluded: "xmark",
|
|
2899
2899
|
addon: "circlePlusOutline"
|
|
2900
|
-
}, St = (
|
|
2901
|
-
var d =
|
|
2900
|
+
}, St = (m) => {
|
|
2901
|
+
var d = m, {
|
|
2902
2902
|
listItems: s,
|
|
2903
2903
|
listLabel: n,
|
|
2904
2904
|
moreLink: a,
|
|
2905
2905
|
renderTypeLabels: r = !0,
|
|
2906
|
-
typeLabels:
|
|
2906
|
+
typeLabels: u = {
|
|
2907
2907
|
included: "Included",
|
|
2908
2908
|
notIncluded: "Not included",
|
|
2909
2909
|
addon: "Add-on"
|
|
@@ -2931,7 +2931,7 @@ const u1 = {
|
|
|
2931
2931
|
className: `${o}__list-item ${o}__list-item--${b.type}`
|
|
2932
2932
|
},
|
|
2933
2933
|
/* @__PURE__ */ e.createElement(q, { iconName: u1[b.type] }),
|
|
2934
|
-
r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
2934
|
+
r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u[b.type], ":", " "),
|
|
2935
2935
|
b.text
|
|
2936
2936
|
))),
|
|
2937
2937
|
a && /* @__PURE__ */ e.createElement("div", { className: `${o}__more-link` }, a)
|
|
@@ -2972,13 +2972,13 @@ St.propTypes = {
|
|
|
2972
2972
|
*/
|
|
2973
2973
|
className: t.string
|
|
2974
2974
|
};
|
|
2975
|
-
const ps = (
|
|
2976
|
-
var c =
|
|
2977
|
-
const l = "pds-cta-link",
|
|
2975
|
+
const ps = (u) => {
|
|
2976
|
+
var c = u, { linkContent: s, size: n = "md", className: a } = c, r = M(c, ["linkContent", "size", "className"]);
|
|
2977
|
+
const l = "pds-cta-link", m = n != "md" ? `${l}--${n}` : null;
|
|
2978
2978
|
return /* @__PURE__ */ e.createElement(
|
|
2979
2979
|
"div",
|
|
2980
2980
|
y({
|
|
2981
|
-
className: [l,
|
|
2981
|
+
className: [l, m, a].join(" ").trim().replace(/\s+/g, " ")
|
|
2982
2982
|
}, r),
|
|
2983
2983
|
s,
|
|
2984
2984
|
/* @__PURE__ */ e.createElement(
|
|
@@ -3011,10 +3011,10 @@ const p1 = (o) => {
|
|
|
3011
3011
|
containerWidth: n = "standard",
|
|
3012
3012
|
headingLevel: a = "h2",
|
|
3013
3013
|
headingText: r,
|
|
3014
|
-
leadText:
|
|
3014
|
+
leadText: u,
|
|
3015
3015
|
primaryLink: c,
|
|
3016
3016
|
secondaryLink: l,
|
|
3017
|
-
className:
|
|
3017
|
+
className: m
|
|
3018
3018
|
} = b, d = M(b, [
|
|
3019
3019
|
"backgroundColor",
|
|
3020
3020
|
"containerWidth",
|
|
@@ -3029,14 +3029,14 @@ const p1 = (o) => {
|
|
|
3029
3029
|
return /* @__PURE__ */ e.createElement(
|
|
3030
3030
|
"div",
|
|
3031
3031
|
y({
|
|
3032
|
-
className: [p, h,
|
|
3032
|
+
className: [p, h, m].join(" ").trim().replace(/\s+/g, " ")
|
|
3033
3033
|
}, d),
|
|
3034
|
-
/* @__PURE__ */ e.createElement("div", { className: v }, r && /* @__PURE__ */ e.createElement(i, { className: `${p}__heading pds-ts-4xl` }, r),
|
|
3034
|
+
/* @__PURE__ */ e.createElement("div", { className: v }, r && /* @__PURE__ */ e.createElement(i, { className: `${p}__heading pds-ts-4xl` }, r), u && /* @__PURE__ */ e.createElement(
|
|
3035
3035
|
"div",
|
|
3036
3036
|
{
|
|
3037
3037
|
className: `${p}__lead-text pds-lead-text pds-lead-text--sm`
|
|
3038
3038
|
},
|
|
3039
|
-
|
|
3039
|
+
u
|
|
3040
3040
|
), c && /* @__PURE__ */ e.createElement(
|
|
3041
3041
|
"div",
|
|
3042
3042
|
{
|
|
@@ -3110,10 +3110,10 @@ const Pe = gt(null), g1 = ({
|
|
|
3110
3110
|
mobileMenuMaxWidth: n = 640
|
|
3111
3111
|
}) => {
|
|
3112
3112
|
const [a, r] = T(1025);
|
|
3113
|
-
|
|
3114
|
-
window.removeEventListener("resize",
|
|
3113
|
+
le(() => (r(window.innerWidth), window.addEventListener("resize", u), () => {
|
|
3114
|
+
window.removeEventListener("resize", u);
|
|
3115
3115
|
}), []);
|
|
3116
|
-
const
|
|
3116
|
+
const u = () => {
|
|
3117
3117
|
r(window.innerWidth);
|
|
3118
3118
|
}, l = {
|
|
3119
3119
|
isMobile: a <= n,
|
|
@@ -3127,13 +3127,13 @@ const Pe = gt(null), g1 = ({
|
|
|
3127
3127
|
menuItems: n,
|
|
3128
3128
|
selectTextFallback: a = "Navigate to...",
|
|
3129
3129
|
className: r
|
|
3130
|
-
} = l,
|
|
3130
|
+
} = l, u = M(l, [
|
|
3131
3131
|
"headingText",
|
|
3132
3132
|
"menuItems",
|
|
3133
3133
|
"selectTextFallback",
|
|
3134
3134
|
"className"
|
|
3135
3135
|
]);
|
|
3136
|
-
const
|
|
3136
|
+
const m = "pds-dropdown-menu", [d, o] = T(!1), [b, p] = T(null), h = (R) => {
|
|
3137
3137
|
for (let j = 0; j < R.length; j++) {
|
|
3138
3138
|
if (R[j].isActive)
|
|
3139
3139
|
return R[j].linkContent;
|
|
@@ -3144,12 +3144,12 @@ const Pe = gt(null), g1 = ({
|
|
|
3144
3144
|
}
|
|
3145
3145
|
}
|
|
3146
3146
|
return null;
|
|
3147
|
-
}, v = h(n), i = v ? v.props.children : a, $ = /* @__PURE__ */ e.createElement(q, { iconName: "check", className: `${
|
|
3147
|
+
}, v = h(n), i = v ? v.props.children : a, $ = /* @__PURE__ */ e.createElement(q, { iconName: "check", className: `${m}__active-icon` }), g = (R) => {
|
|
3148
3148
|
R.key === "Enter" && I.current[b].querySelector("a").click();
|
|
3149
3149
|
}, _ = (R) => {
|
|
3150
3150
|
R.target.nodeName === "A" && o(!1);
|
|
3151
3151
|
};
|
|
3152
|
-
|
|
3152
|
+
le(() => {
|
|
3153
3153
|
if (d) {
|
|
3154
3154
|
const R = document.querySelector(".pds-dropdown-menu__dropdown");
|
|
3155
3155
|
return R.addEventListener("click", _), () => {
|
|
@@ -3222,24 +3222,24 @@ const Pe = gt(null), g1 = ({
|
|
|
3222
3222
|
return /* @__PURE__ */ e.createElement(
|
|
3223
3223
|
"div",
|
|
3224
3224
|
y({
|
|
3225
|
-
className: [
|
|
3226
|
-
},
|
|
3227
|
-
s && /* @__PURE__ */ e.createElement("h2", { className: `${
|
|
3225
|
+
className: [m, r].join(" ").trim().replace(/\s+/g, " ")
|
|
3226
|
+
}, u),
|
|
3227
|
+
s && /* @__PURE__ */ e.createElement("h2", { className: `${m}__heading` }, s),
|
|
3228
3228
|
/* @__PURE__ */ e.createElement(
|
|
3229
3229
|
"button",
|
|
3230
3230
|
y({
|
|
3231
|
-
className: `${
|
|
3231
|
+
className: `${m}__trigger`,
|
|
3232
3232
|
ref: E.setReference
|
|
3233
3233
|
}, H()),
|
|
3234
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
3235
|
-
/* @__PURE__ */ e.createElement(q, { iconName: "angleDown", className: `${
|
|
3234
|
+
/* @__PURE__ */ e.createElement("span", { className: `${m}__active-label` }, i),
|
|
3235
|
+
/* @__PURE__ */ e.createElement(q, { iconName: "angleDown", className: `${m}__trigger-icon` })
|
|
3236
3236
|
),
|
|
3237
3237
|
k && /* @__PURE__ */ e.createElement(
|
|
3238
3238
|
"ul",
|
|
3239
3239
|
y({
|
|
3240
|
-
className: `${
|
|
3240
|
+
className: `${m}__dropdown ${m}__menu ${m}__menu--top-level`,
|
|
3241
3241
|
ref: E.setFloating,
|
|
3242
|
-
style:
|
|
3242
|
+
style: $e(y({}, x), {
|
|
3243
3243
|
floatingStyles: N,
|
|
3244
3244
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
3245
3245
|
})
|
|
@@ -3249,7 +3249,7 @@ const Pe = gt(null), g1 = ({
|
|
|
3249
3249
|
y({
|
|
3250
3250
|
key: j,
|
|
3251
3251
|
onKeyDown: g,
|
|
3252
|
-
className: `${
|
|
3252
|
+
className: `${m}__item ${m}__item--${R.level} ${R.isActive === !0 ? `${m}__item--active` : ""}`,
|
|
3253
3253
|
tabIndex: b === j ? 0 : -1,
|
|
3254
3254
|
ref: (A) => {
|
|
3255
3255
|
I.current[j] = A;
|
|
@@ -3280,13 +3280,13 @@ ft.propTypes = {
|
|
|
3280
3280
|
className: t.string
|
|
3281
3281
|
};
|
|
3282
3282
|
const Dt = (l) => {
|
|
3283
|
-
var
|
|
3283
|
+
var m = l, {
|
|
3284
3284
|
colorType: s = "default",
|
|
3285
3285
|
displayType: n = "full",
|
|
3286
3286
|
isLink: a,
|
|
3287
3287
|
subBrand: r,
|
|
3288
|
-
className:
|
|
3289
|
-
} =
|
|
3288
|
+
className: u
|
|
3289
|
+
} = m, c = M(m, [
|
|
3290
3290
|
"colorType",
|
|
3291
3291
|
"displayType",
|
|
3292
3292
|
"isLink",
|
|
@@ -3610,7 +3610,7 @@ const Dt = (l) => {
|
|
|
3610
3610
|
return /* @__PURE__ */ e.createElement(
|
|
3611
3611
|
"div",
|
|
3612
3612
|
y({
|
|
3613
|
-
className: [d, o, b,
|
|
3613
|
+
className: [d, o, b, u].join(" ").trim().replace(/\s+/g, " ")
|
|
3614
3614
|
}, c),
|
|
3615
3615
|
i,
|
|
3616
3616
|
n === "sub-brand" && /* @__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" }, $))
|
|
@@ -3645,7 +3645,7 @@ Dt.propTypes = {
|
|
|
3645
3645
|
className: t.string
|
|
3646
3646
|
};
|
|
3647
3647
|
const h1 = 11.75, f1 = (l) => {
|
|
3648
|
-
var
|
|
3648
|
+
var m = l, {
|
|
3649
3649
|
ariaLabel: s = "Main navigation",
|
|
3650
3650
|
labels: n = {
|
|
3651
3651
|
submenu: "submenu",
|
|
@@ -3653,8 +3653,8 @@ const h1 = 11.75, f1 = (l) => {
|
|
|
3653
3653
|
},
|
|
3654
3654
|
menuItems: a,
|
|
3655
3655
|
mobileMenuSelectTextFallback: r = "Navigate to...",
|
|
3656
|
-
className:
|
|
3657
|
-
} =
|
|
3656
|
+
className: u
|
|
3657
|
+
} = m, c = M(m, [
|
|
3658
3658
|
"ariaLabel",
|
|
3659
3659
|
"labels",
|
|
3660
3660
|
"menuItems",
|
|
@@ -3662,7 +3662,7 @@ const h1 = 11.75, f1 = (l) => {
|
|
|
3662
3662
|
"className"
|
|
3663
3663
|
]);
|
|
3664
3664
|
let d = !1;
|
|
3665
|
-
const o =
|
|
3665
|
+
const o = Ne(Pe);
|
|
3666
3666
|
o && (d = o.isMobile);
|
|
3667
3667
|
const b = X(), [p] = at(b), h = h1 * 16 * 0.8, v = p.width < h, i = "pds-dashboard-nav", $ = v ? `${i}--collapsed` : `${i}--expanded`, g = (f) => {
|
|
3668
3668
|
const N = f.target;
|
|
@@ -3682,7 +3682,7 @@ const h1 = 11.75, f1 = (l) => {
|
|
|
3682
3682
|
};
|
|
3683
3683
|
a = a.map((f) => {
|
|
3684
3684
|
const N = f.linkContent.type, k = f.linkContent.props.href ? "href" : "to", x = k === "href" ? f.linkContent.props.href : f.linkContent.props.to, I = f.linkContent.props.children;
|
|
3685
|
-
return
|
|
3685
|
+
return $e(y({}, f), {
|
|
3686
3686
|
linkContent: /* @__PURE__ */ e.createElement(
|
|
3687
3687
|
N,
|
|
3688
3688
|
{
|
|
@@ -3736,7 +3736,7 @@ const h1 = 11.75, f1 = (l) => {
|
|
|
3736
3736
|
"nav",
|
|
3737
3737
|
y({
|
|
3738
3738
|
"aria-label": s,
|
|
3739
|
-
className: [i, $,
|
|
3739
|
+
className: [i, $, u].join(" ").trim().replace(/\s+/g, " "),
|
|
3740
3740
|
ref: b
|
|
3741
3741
|
}, c),
|
|
3742
3742
|
!d && /* @__PURE__ */ e.createElement(
|
|
@@ -3774,8 +3774,8 @@ f1.propTypes = {
|
|
|
3774
3774
|
*/
|
|
3775
3775
|
className: t.string
|
|
3776
3776
|
};
|
|
3777
|
-
const gs = (
|
|
3778
|
-
var c =
|
|
3777
|
+
const gs = (u) => {
|
|
3778
|
+
var c = u, {
|
|
3779
3779
|
destination: s = "main",
|
|
3780
3780
|
text: n = "Skip to main content",
|
|
3781
3781
|
className: a
|
|
@@ -3807,13 +3807,13 @@ gs.propTypes = {
|
|
|
3807
3807
|
*/
|
|
3808
3808
|
className: t.string
|
|
3809
3809
|
};
|
|
3810
|
-
const hs = gt(null), Dn = (
|
|
3811
|
-
var d =
|
|
3810
|
+
const hs = gt(null), Dn = (m) => {
|
|
3811
|
+
var d = m, {
|
|
3812
3812
|
children: s,
|
|
3813
3813
|
hasSidebarToggle: n = !0,
|
|
3814
3814
|
initialSidebarExpanded: a = !0,
|
|
3815
3815
|
sidebarToggleLabel: r = "Toggle sidebar",
|
|
3816
|
-
skiplinkText:
|
|
3816
|
+
skiplinkText: u = "Skip to main content",
|
|
3817
3817
|
className: c
|
|
3818
3818
|
} = d, l = M(d, [
|
|
3819
3819
|
"children",
|
|
@@ -3825,7 +3825,7 @@ const hs = gt(null), Dn = (u) => {
|
|
|
3825
3825
|
]);
|
|
3826
3826
|
const [o, b] = T(
|
|
3827
3827
|
a
|
|
3828
|
-
), { isMobile: p } =
|
|
3828
|
+
), { isMobile: p } = Ne(Pe), h = X(), [v] = at(h), $ = {
|
|
3829
3829
|
navbarWidth: v.width
|
|
3830
3830
|
}, g = "pds-dashboard", _ = p ? `${g}--isMobile` : `${g}--notMobile`, C = p ? null : o ? `${g}--sidebarExpanded` : `${g}--sidebarCollapsed`, E = () => {
|
|
3831
3831
|
b(!o);
|
|
@@ -3846,7 +3846,7 @@ const hs = gt(null), Dn = (u) => {
|
|
|
3846
3846
|
},
|
|
3847
3847
|
/* @__PURE__ */ e.createElement(q, { iconName: "angleLeft", iconSize: "sm" })
|
|
3848
3848
|
), /* @__PURE__ */ e.createElement("div", { className: `${g}__sidebar-inner` }, k));
|
|
3849
|
-
return /* @__PURE__ */ e.createElement(hs.Provider, { value: $ }, /* @__PURE__ */ e.createElement(gs, { text:
|
|
3849
|
+
return /* @__PURE__ */ e.createElement(hs.Provider, { value: $ }, /* @__PURE__ */ e.createElement(gs, { text: u, className: "" }), /* @__PURE__ */ e.createElement(
|
|
3850
3850
|
"div",
|
|
3851
3851
|
y({
|
|
3852
3852
|
className: [
|
|
@@ -3861,13 +3861,13 @@ const hs = gt(null), Dn = (u) => {
|
|
|
3861
3861
|
p ? I : L,
|
|
3862
3862
|
/* @__PURE__ */ e.createElement("div", { ref: h, className: `${g}__container` }, !p && /* @__PURE__ */ e.createElement("div", { className: `${g}__header` }, N), /* @__PURE__ */ e.createElement("main", { id: "main", className: `${g}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${g}__main-inner` }, x)))
|
|
3863
3863
|
));
|
|
3864
|
-
}, qt = (
|
|
3865
|
-
var d =
|
|
3864
|
+
}, qt = (m) => {
|
|
3865
|
+
var d = m, {
|
|
3866
3866
|
color: s = "transparent",
|
|
3867
3867
|
hasStatusIndicator: n = !1,
|
|
3868
3868
|
label: a,
|
|
3869
3869
|
statusIndicatorText: r = "Status indicator: ",
|
|
3870
|
-
statusType:
|
|
3870
|
+
statusType: u,
|
|
3871
3871
|
className: c
|
|
3872
3872
|
} = d, l = M(d, [
|
|
3873
3873
|
"color",
|
|
@@ -3877,13 +3877,13 @@ const hs = gt(null), Dn = (u) => {
|
|
|
3877
3877
|
"statusType",
|
|
3878
3878
|
"className"
|
|
3879
3879
|
]);
|
|
3880
|
-
const o = "pds-status-badge", b = `${o}--${s}`, p = `${o}__status`, h =
|
|
3880
|
+
const o = "pds-status-badge", b = `${o}--${s}`, p = `${o}__status`, h = u ? `${p}--${u}` : null;
|
|
3881
3881
|
return /* @__PURE__ */ e.createElement(
|
|
3882
3882
|
"div",
|
|
3883
3883
|
y({
|
|
3884
3884
|
className: [o, b, c != null ? c : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
3885
3885
|
}, l),
|
|
3886
|
-
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [p, h].join(" ").trim() },
|
|
3886
|
+
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [p, h].join(" ").trim() }, u && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r, " ", u)),
|
|
3887
3887
|
/* @__PURE__ */ e.createElement("span", { className: `${o}__label` }, a)
|
|
3888
3888
|
);
|
|
3889
3889
|
}, fs = ({ option: s }) => {
|
|
@@ -3892,11 +3892,11 @@ const hs = gt(null), Dn = (u) => {
|
|
|
3892
3892
|
wordpress: "wordpress",
|
|
3893
3893
|
gatsby: "bolt",
|
|
3894
3894
|
nextjs: "bolt"
|
|
3895
|
-
}, r = s.type ? a[s.type] : "bolt",
|
|
3895
|
+
}, r = s.type ? a[s.type] : "bolt", u = X(), [c] = at(u), l = c.width / 16 - 7.5;
|
|
3896
3896
|
return /* @__PURE__ */ e.createElement(
|
|
3897
3897
|
"div",
|
|
3898
3898
|
{
|
|
3899
|
-
ref:
|
|
3899
|
+
ref: u,
|
|
3900
3900
|
className: `${n}__option-display`,
|
|
3901
3901
|
title: s.name
|
|
3902
3902
|
},
|
|
@@ -3941,14 +3941,14 @@ const b1 = (v) => {
|
|
|
3941
3941
|
id: n,
|
|
3942
3942
|
isLoading: a = !1,
|
|
3943
3943
|
label: r = "Search sites",
|
|
3944
|
-
labelStrings:
|
|
3944
|
+
labelStrings: u = {
|
|
3945
3945
|
clearButton: "Clear input text",
|
|
3946
3946
|
inputInstructions: "Type to search options",
|
|
3947
3947
|
openSearchButton: "Open search field"
|
|
3948
3948
|
},
|
|
3949
3949
|
loadingText: c = "Loading results...",
|
|
3950
3950
|
noResultsText: l = "No results found",
|
|
3951
|
-
onOptionSelect:
|
|
3951
|
+
onOptionSelect: m,
|
|
3952
3952
|
placeholder: d = "Search sites",
|
|
3953
3953
|
siteList: o,
|
|
3954
3954
|
startingRightPosition: b = 9.25,
|
|
@@ -3969,10 +3969,10 @@ const b1 = (v) => {
|
|
|
3969
3969
|
]);
|
|
3970
3970
|
const [$, g] = T(!1), [_, C] = T(null), E = X(null);
|
|
3971
3971
|
let f = !1;
|
|
3972
|
-
const N =
|
|
3972
|
+
const N = Ne(Pe);
|
|
3973
3973
|
N && (f = N.isMobile);
|
|
3974
3974
|
let k = null;
|
|
3975
|
-
const x =
|
|
3975
|
+
const x = Ne(hs);
|
|
3976
3976
|
x && (k = x.navbarWidth);
|
|
3977
3977
|
const I = 2.25, L = 22, V = k > 900 ? L : k / 16 - b - I * 0.675;
|
|
3978
3978
|
let w = I;
|
|
@@ -3989,9 +3989,9 @@ const b1 = (v) => {
|
|
|
3989
3989
|
g(!1);
|
|
3990
3990
|
}, 150);
|
|
3991
3991
|
}, j = (z) => {
|
|
3992
|
-
C(z.value),
|
|
3992
|
+
C(z.value), m && m(z);
|
|
3993
3993
|
};
|
|
3994
|
-
|
|
3994
|
+
le(() => {
|
|
3995
3995
|
if ($) {
|
|
3996
3996
|
const z = E.current.querySelector("input");
|
|
3997
3997
|
return z.addEventListener("blur", R), () => {
|
|
@@ -4016,7 +4016,7 @@ const b1 = (v) => {
|
|
|
4016
4016
|
initialValue: _,
|
|
4017
4017
|
isLoading: a,
|
|
4018
4018
|
label: r,
|
|
4019
|
-
labelStrings:
|
|
4019
|
+
labelStrings: u,
|
|
4020
4020
|
loadingText: c,
|
|
4021
4021
|
noResultsText: l,
|
|
4022
4022
|
onOptionSelect: j,
|
|
@@ -4035,7 +4035,7 @@ const b1 = (v) => {
|
|
|
4035
4035
|
"button",
|
|
4036
4036
|
{
|
|
4037
4037
|
className: `${H}__search-toggle`,
|
|
4038
|
-
"aria-label":
|
|
4038
|
+
"aria-label": u.openSearchButton,
|
|
4039
4039
|
onClick: P,
|
|
4040
4040
|
style: $ ? { visibility: "hidden" } : { visibility: "visible" }
|
|
4041
4041
|
},
|
|
@@ -4144,13 +4144,13 @@ b1.propTypes = {
|
|
|
4144
4144
|
className: t.string
|
|
4145
4145
|
};
|
|
4146
4146
|
const v1 = (l) => {
|
|
4147
|
-
var
|
|
4147
|
+
var m = l, {
|
|
4148
4148
|
children: s,
|
|
4149
4149
|
id: n,
|
|
4150
4150
|
isOpen: a = !1,
|
|
4151
4151
|
summary: r,
|
|
4152
|
-
className:
|
|
4153
|
-
} =
|
|
4152
|
+
className: u
|
|
4153
|
+
} = m, c = M(m, [
|
|
4154
4154
|
"children",
|
|
4155
4155
|
"id",
|
|
4156
4156
|
"isOpen",
|
|
@@ -4161,7 +4161,7 @@ const v1 = (l) => {
|
|
|
4161
4161
|
return /* @__PURE__ */ e.createElement(
|
|
4162
4162
|
"div",
|
|
4163
4163
|
y({
|
|
4164
|
-
className: [o,
|
|
4164
|
+
className: [o, u].join(" ").trim().replace(/\s+/g, " ")
|
|
4165
4165
|
}, c),
|
|
4166
4166
|
/* @__PURE__ */ e.createElement("details", { key: r, id: d, open: a }, /* @__PURE__ */ e.createElement("summary", null, /* @__PURE__ */ e.createElement("span", null, r), /* @__PURE__ */ e.createElement(q, { iconName: "angleDown", className: `${o}__icon` })), /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, s))
|
|
4167
4167
|
);
|
|
@@ -4188,8 +4188,8 @@ v1.propTypes = {
|
|
|
4188
4188
|
*/
|
|
4189
4189
|
className: t.string
|
|
4190
4190
|
};
|
|
4191
|
-
const _1 = (
|
|
4192
|
-
var c =
|
|
4191
|
+
const _1 = (u) => {
|
|
4192
|
+
var c = u, {
|
|
4193
4193
|
children: s,
|
|
4194
4194
|
displayType: n = "standard",
|
|
4195
4195
|
className: a
|
|
@@ -4198,11 +4198,11 @@ const _1 = (m) => {
|
|
|
4198
4198
|
"displayType",
|
|
4199
4199
|
"className"
|
|
4200
4200
|
]);
|
|
4201
|
-
const l = "pds-expansion-panel-group",
|
|
4201
|
+
const l = "pds-expansion-panel-group", m = `${l}--${n}`;
|
|
4202
4202
|
return /* @__PURE__ */ e.createElement(
|
|
4203
4203
|
"div",
|
|
4204
4204
|
y({
|
|
4205
|
-
className: [l,
|
|
4205
|
+
className: [l, m, a].join(" ").trim().replace(/\s+/g, " ")
|
|
4206
4206
|
}, r),
|
|
4207
4207
|
s
|
|
4208
4208
|
);
|
|
@@ -4221,8 +4221,8 @@ _1.propTypes = {
|
|
|
4221
4221
|
*/
|
|
4222
4222
|
className: t.string
|
|
4223
4223
|
};
|
|
4224
|
-
const bs = (
|
|
4225
|
-
var c =
|
|
4224
|
+
const bs = (u) => {
|
|
4225
|
+
var c = u, {
|
|
4226
4226
|
headingLevel: s = "h3",
|
|
4227
4227
|
headingText: n,
|
|
4228
4228
|
className: a
|
|
@@ -4260,27 +4260,27 @@ const E1 = (c) => {
|
|
|
4260
4260
|
headingText: n,
|
|
4261
4261
|
linkItems: a,
|
|
4262
4262
|
className: r
|
|
4263
|
-
} = l,
|
|
4263
|
+
} = l, u = M(l, [
|
|
4264
4264
|
"headingLevel",
|
|
4265
4265
|
"headingText",
|
|
4266
4266
|
"linkItems",
|
|
4267
4267
|
"className"
|
|
4268
4268
|
]);
|
|
4269
|
-
const
|
|
4269
|
+
const m = "pds-footer-links";
|
|
4270
4270
|
return /* @__PURE__ */ e.createElement(
|
|
4271
4271
|
"div",
|
|
4272
4272
|
y({
|
|
4273
|
-
className: [
|
|
4274
|
-
},
|
|
4273
|
+
className: [m, r].join(" ").trim().replace(/\s+/g, " ")
|
|
4274
|
+
}, u),
|
|
4275
4275
|
n && /* @__PURE__ */ e.createElement(
|
|
4276
4276
|
bs,
|
|
4277
4277
|
{
|
|
4278
4278
|
headingLevel: s,
|
|
4279
|
-
className: `${
|
|
4279
|
+
className: `${m}__heading`,
|
|
4280
4280
|
headingText: n
|
|
4281
4281
|
}
|
|
4282
4282
|
),
|
|
4283
|
-
/* @__PURE__ */ e.createElement("ul", { className: `${
|
|
4283
|
+
/* @__PURE__ */ e.createElement("ul", { className: `${m}__list`, role: "list" }, a.map((d, o) => /* @__PURE__ */ e.createElement("li", { key: o, className: `${m}__item` }, d)))
|
|
4284
4284
|
);
|
|
4285
4285
|
};
|
|
4286
4286
|
E1.propTypes = {
|
|
@@ -4301,11 +4301,11 @@ E1.propTypes = {
|
|
|
4301
4301
|
*/
|
|
4302
4302
|
className: t.string
|
|
4303
4303
|
};
|
|
4304
|
-
const C1 = (
|
|
4305
|
-
var c =
|
|
4306
|
-
const l = "pds-heading",
|
|
4304
|
+
const C1 = (u) => {
|
|
4305
|
+
var c = u, { children: s, level: n, className: a } = c, r = M(c, ["children", "level", "className"]);
|
|
4306
|
+
const l = "pds-heading", m = `${n}`;
|
|
4307
4307
|
return /* @__PURE__ */ e.createElement(
|
|
4308
|
-
|
|
4308
|
+
m,
|
|
4309
4309
|
y({
|
|
4310
4310
|
className: [l, a].join(" ").trim().replace(/\s+/g, " ")
|
|
4311
4311
|
}, r),
|
|
@@ -4332,19 +4332,19 @@ const pt = (c) => {
|
|
|
4332
4332
|
size: n = "md",
|
|
4333
4333
|
color: a = "neutral",
|
|
4334
4334
|
className: r
|
|
4335
|
-
} = l,
|
|
4335
|
+
} = l, u = M(l, [
|
|
4336
4336
|
"label",
|
|
4337
4337
|
"size",
|
|
4338
4338
|
"color",
|
|
4339
4339
|
"className"
|
|
4340
4340
|
]);
|
|
4341
|
-
const
|
|
4341
|
+
const m = "pds-indicator-badge", d = `${m}--${a}`, o = `${m}--${n}`;
|
|
4342
4342
|
return /* @__PURE__ */ e.createElement(
|
|
4343
4343
|
"span",
|
|
4344
4344
|
y({
|
|
4345
|
-
className: [
|
|
4346
|
-
},
|
|
4347
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
4345
|
+
className: [m, d, o, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
4346
|
+
}, u),
|
|
4347
|
+
/* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, s)
|
|
4348
4348
|
);
|
|
4349
4349
|
}, Et = {
|
|
4350
4350
|
info: "circleInfo",
|
|
@@ -4353,7 +4353,7 @@ const pt = (c) => {
|
|
|
4353
4353
|
critical: "diamondExclamation",
|
|
4354
4354
|
spinner: "spinner"
|
|
4355
4355
|
}, $1 = (l) => {
|
|
4356
|
-
var
|
|
4356
|
+
var m = l, {
|
|
4357
4357
|
title: s,
|
|
4358
4358
|
secondaryText: n,
|
|
4359
4359
|
type: a,
|
|
@@ -4364,8 +4364,8 @@ const pt = (c) => {
|
|
|
4364
4364
|
critical: "Critical",
|
|
4365
4365
|
working: "Working"
|
|
4366
4366
|
},
|
|
4367
|
-
className:
|
|
4368
|
-
} =
|
|
4367
|
+
className: u
|
|
4368
|
+
} = m, c = M(m, [
|
|
4369
4369
|
"title",
|
|
4370
4370
|
"secondaryText",
|
|
4371
4371
|
"type",
|
|
@@ -4383,7 +4383,7 @@ const pt = (c) => {
|
|
|
4383
4383
|
return /* @__PURE__ */ e.createElement(
|
|
4384
4384
|
"div",
|
|
4385
4385
|
y({
|
|
4386
|
-
className: [d, o[a], b,
|
|
4386
|
+
className: [d, o[a], b, u].join(" ").trim().replace(/\s+/g, " "),
|
|
4387
4387
|
role: h
|
|
4388
4388
|
}, c),
|
|
4389
4389
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__icon ${d}__icon-${a}` }, a === "working" ? /* @__PURE__ */ e.createElement(lt, { colorType: "monochromatic" }) : /* @__PURE__ */ e.createElement(
|
|
@@ -4428,10 +4428,10 @@ const y1 = new Intl.NumberFormat().formatToParts(100000089e-2), Ct = y1.find((s)
|
|
|
4428
4428
|
formatting: n,
|
|
4429
4429
|
hasClearButton: a = !1,
|
|
4430
4430
|
id: r,
|
|
4431
|
-
initialValue:
|
|
4431
|
+
initialValue: u = "",
|
|
4432
4432
|
label: c,
|
|
4433
4433
|
message: l,
|
|
4434
|
-
onChange:
|
|
4434
|
+
onChange: m,
|
|
4435
4435
|
placeholder: d,
|
|
4436
4436
|
required: o = !1,
|
|
4437
4437
|
showLabel: b = !0,
|
|
@@ -4458,8 +4458,8 @@ const y1 = new Intl.NumberFormat().formatToParts(100000089e-2), Ct = y1.find((s)
|
|
|
4458
4458
|
_,
|
|
4459
4459
|
h
|
|
4460
4460
|
]), [E, f] = T(""), [N, k] = T(null), [x, I] = T(null), L = X(null), V = X(null), w = X("");
|
|
4461
|
-
|
|
4462
|
-
switch (
|
|
4461
|
+
le(() => {
|
|
4462
|
+
switch (u && f(Z(u)), w.numExtra = "", n) {
|
|
4463
4463
|
case "credit-card":
|
|
4464
4464
|
w.numExtra = 3, w.current = $t;
|
|
4465
4465
|
break;
|
|
@@ -4479,7 +4479,7 @@ const y1 = new Intl.NumberFormat().formatToParts(100000089e-2), Ct = y1.find((s)
|
|
|
4479
4479
|
}, S = () => {
|
|
4480
4480
|
H(), k(""), I(null);
|
|
4481
4481
|
}, P = (z) => {
|
|
4482
|
-
|
|
4482
|
+
m && m({
|
|
4483
4483
|
formattedValue: z,
|
|
4484
4484
|
rawValue: V.current
|
|
4485
4485
|
});
|
|
@@ -4507,12 +4507,12 @@ const y1 = new Intl.NumberFormat().formatToParts(100000089e-2), Ct = y1.find((s)
|
|
|
4507
4507
|
if (V.current = B, B) {
|
|
4508
4508
|
if (new RegExp("^34|37", "g").test(B)) {
|
|
4509
4509
|
w.numExtra = 2, w.current = $t - 1;
|
|
4510
|
-
const
|
|
4511
|
-
return
|
|
4510
|
+
const re = {};
|
|
4511
|
+
return re.first = B.substring(0, 4), re.middle = B.substring(4, 10), re.middle.length > 0 && (re.middle = ` ${re.middle}`), re.last = B.substring(10), re.last.length > 0 && (re.last = ` ${re.last}`), `${re.first}${re.middle}${re.last}`;
|
|
4512
4512
|
}
|
|
4513
4513
|
w.numExtra = 3, w.current = $t;
|
|
4514
|
-
const
|
|
4515
|
-
return B.match(
|
|
4514
|
+
const Y = new RegExp(".{1,4}", "g");
|
|
4515
|
+
return B.match(Y).join(" ");
|
|
4516
4516
|
}
|
|
4517
4517
|
return B;
|
|
4518
4518
|
}
|
|
@@ -4520,20 +4520,20 @@ const y1 = new Intl.NumberFormat().formatToParts(100000089e-2), Ct = y1.find((s)
|
|
|
4520
4520
|
const B = ("" + z).replace(/\D/g, "");
|
|
4521
4521
|
if (V.current = B, B) {
|
|
4522
4522
|
w.numExtra = 4, w.current = Gt;
|
|
4523
|
-
let U = B.substring(0, 3),
|
|
4524
|
-
|
|
4525
|
-
let
|
|
4526
|
-
return
|
|
4523
|
+
let U = B.substring(0, 3), Y = B.substring(3, 6);
|
|
4524
|
+
Y.length > 0 && (U = `(${U})`, Y = ` ${Y}`);
|
|
4525
|
+
let pe = B.substring(6);
|
|
4526
|
+
return pe.length > 0 && (pe = `-${pe}`), `${U}${Y}${pe}`;
|
|
4527
4527
|
}
|
|
4528
4528
|
return B;
|
|
4529
4529
|
}
|
|
4530
4530
|
if (n === "number-localized") {
|
|
4531
4531
|
const B = new RegExp(`[^0-9${Ct}]`, "g"), U = ("" + z).replace(B, "");
|
|
4532
4532
|
V.current = U;
|
|
4533
|
-
const
|
|
4533
|
+
const Y = new Intl.NumberFormat(void 0, {
|
|
4534
4534
|
maximumFractionDigits: 20
|
|
4535
4535
|
}).format(U);
|
|
4536
|
-
return U.endsWith(Ct) ?
|
|
4536
|
+
return U.endsWith(Ct) ? Y + Ct : Y;
|
|
4537
4537
|
}
|
|
4538
4538
|
}
|
|
4539
4539
|
return z;
|
|
@@ -4651,10 +4651,10 @@ N1.propTypes = {
|
|
|
4651
4651
|
className: t.string
|
|
4652
4652
|
};
|
|
4653
4653
|
const w1 = (r) => {
|
|
4654
|
-
var
|
|
4655
|
-
const c = "pds-input-group", l = [],
|
|
4654
|
+
var u = r, { children: s, className: n } = u, a = M(u, ["children", "className"]);
|
|
4655
|
+
const c = "pds-input-group", l = [], m = ["InputText", "Select"], d = ["critical", "primary", "secondary"];
|
|
4656
4656
|
return s.length >= 2 && s.map((o) => {
|
|
4657
|
-
(
|
|
4657
|
+
(m.includes(o.type.name) || o.props.buttonType && d.includes(o.props.variant)) && l.push(o);
|
|
4658
4658
|
}), /* @__PURE__ */ e.createElement(
|
|
4659
4659
|
"div",
|
|
4660
4660
|
y({
|
|
@@ -4680,10 +4680,10 @@ const k1 = (v) => {
|
|
|
4680
4680
|
disabled: n = !1,
|
|
4681
4681
|
hasClearButton: a = !1,
|
|
4682
4682
|
id: r,
|
|
4683
|
-
initialValue:
|
|
4683
|
+
initialValue: u = "",
|
|
4684
4684
|
label: c,
|
|
4685
4685
|
message: l,
|
|
4686
|
-
onChange:
|
|
4686
|
+
onChange: m,
|
|
4687
4687
|
required: d = !1,
|
|
4688
4688
|
showLabel: o = !0,
|
|
4689
4689
|
validationFunction: b,
|
|
@@ -4702,9 +4702,9 @@ const k1 = (v) => {
|
|
|
4702
4702
|
"validationFunction",
|
|
4703
4703
|
"className"
|
|
4704
4704
|
]);
|
|
4705
|
-
const $ = "pds-input-obscured", g = X(["pds-input-field", $, p]), [_, C] = T(
|
|
4706
|
-
|
|
4707
|
-
|
|
4705
|
+
const $ = "pds-input-obscured", g = X(["pds-input-field", $, p]), [_, C] = T(u), [E, f] = T(s("")), [N, k] = T(), [x, I] = T(null), [L, V] = T(!1), w = X(null), O = X(null);
|
|
4706
|
+
le(() => {
|
|
4707
|
+
u && s && f(s(u));
|
|
4708
4708
|
}, []);
|
|
4709
4709
|
const H = () => {
|
|
4710
4710
|
g.current = g.current.filter(
|
|
@@ -4717,15 +4717,15 @@ const k1 = (v) => {
|
|
|
4717
4717
|
}, P = () => {
|
|
4718
4718
|
S(), k(""), I(null);
|
|
4719
4719
|
}, R = (z) => {
|
|
4720
|
-
C(z.target.value), P(), s && f(s(z.target.value)),
|
|
4720
|
+
C(z.target.value), P(), s && f(s(z.target.value)), m && m(z.target.value);
|
|
4721
4721
|
}, j = (z) => {
|
|
4722
4722
|
if (V(!1), b) {
|
|
4723
4723
|
const B = b(z.target.value) || {};
|
|
4724
4724
|
P(), B.error && (I("error"), g.current.push(_e.error)), B.success && (I("success"), g.current.push(_e.success)), k(B.message);
|
|
4725
4725
|
}
|
|
4726
|
-
|
|
4726
|
+
m && m(_);
|
|
4727
4727
|
}, A = () => {
|
|
4728
|
-
P(), C(""), O.current.value = null, O.current.focus(), s && f(s("")),
|
|
4728
|
+
P(), C(""), O.current.value = null, O.current.focus(), s && f(s("")), m && m("");
|
|
4729
4729
|
}, F = () => {
|
|
4730
4730
|
V((z) => !z);
|
|
4731
4731
|
}, Z = (z) => {
|
|
@@ -4875,10 +4875,10 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
4875
4875
|
},
|
|
4876
4876
|
disabled: a = !1,
|
|
4877
4877
|
hasClearButton: r = !1,
|
|
4878
|
-
hasSearchShortcut:
|
|
4878
|
+
hasSearchShortcut: u = !1,
|
|
4879
4879
|
id: c,
|
|
4880
4880
|
initialValue: l = "",
|
|
4881
|
-
inputWidth:
|
|
4881
|
+
inputWidth: m,
|
|
4882
4882
|
label: d,
|
|
4883
4883
|
labelStrings: o = {
|
|
4884
4884
|
clearButton: "Clear input text",
|
|
@@ -4930,9 +4930,9 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
4930
4930
|
"validationMessages",
|
|
4931
4931
|
"className"
|
|
4932
4932
|
]);
|
|
4933
|
-
const [w, O] = T(l), [H, S] = T(n("")), [P, R] = T(), [j, A] = T(null), [F, Z] = T(!1), W = X(null), z = X(null), B = X(null), U = X(null),
|
|
4934
|
-
let
|
|
4935
|
-
f === "search" && (
|
|
4933
|
+
const [w, O] = T(l), [H, S] = T(n("")), [P, R] = T(), [j, A] = T(null), [F, Z] = T(!1), W = X(null), z = X(null), B = X(null), U = X(null), Y = "pds-input-text", pe = _ ? `${Y}--${_}` : null;
|
|
4934
|
+
let re = null;
|
|
4935
|
+
f === "search" && (re = "search"), j === "error" && (re = "error"), j === "success" && (re = "success"), _ && C && le(() => {
|
|
4936
4936
|
switch (l && O(de(l)), U.numExtra = "", _) {
|
|
4937
4937
|
case "credit-card":
|
|
4938
4938
|
U.numExtra = 3, U.current = yt;
|
|
@@ -4955,8 +4955,8 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
4955
4955
|
return he.first = se.substring(0, 4), he.middle = se.substring(4, 10), he.middle.length > 0 && (he.middle = ` ${he.middle}`), he.last = se.substring(10), he.last.length > 0 && (he.last = ` ${he.last}`), `${he.first}${he.middle}${he.last}`;
|
|
4956
4956
|
}
|
|
4957
4957
|
U.numExtra = 3, U.current = yt;
|
|
4958
|
-
const
|
|
4959
|
-
return se.match(
|
|
4958
|
+
const ye = new RegExp(".{1,4}", "g");
|
|
4959
|
+
return se.match(ye).join(" ");
|
|
4960
4960
|
}
|
|
4961
4961
|
return se;
|
|
4962
4962
|
}
|
|
@@ -4964,17 +4964,17 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
4964
4964
|
const se = ("" + Q).replace(/\D/g, "");
|
|
4965
4965
|
if (B.current = se, se) {
|
|
4966
4966
|
U.numExtra = 4, U.current = Kt;
|
|
4967
|
-
let
|
|
4968
|
-
|
|
4969
|
-
let
|
|
4970
|
-
return
|
|
4967
|
+
let ke = se.substring(0, 3), ye = se.substring(3, 6);
|
|
4968
|
+
ye.length > 0 && (ke = `(${ke})`, ye = ` ${ye}`);
|
|
4969
|
+
let we = se.substring(6);
|
|
4970
|
+
return we.length > 0 && (we = `-${we}`), `${ke}${ye}${we}`;
|
|
4971
4971
|
}
|
|
4972
4972
|
return se;
|
|
4973
4973
|
}
|
|
4974
4974
|
}
|
|
4975
4975
|
return Q;
|
|
4976
4976
|
};
|
|
4977
|
-
|
|
4977
|
+
le(() => {
|
|
4978
4978
|
l && n && S(n(l));
|
|
4979
4979
|
}, []);
|
|
4980
4980
|
const me = () => {
|
|
@@ -4994,15 +4994,15 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
4994
4994
|
}, J = (Q) => {
|
|
4995
4995
|
var se;
|
|
4996
4996
|
(!((se = z.current) != null && se.contains(Q.relatedTarget)) || !Q.relatedTarget) && Z(!1);
|
|
4997
|
-
},
|
|
4997
|
+
}, K = () => {
|
|
4998
4998
|
me(), O(""), B.current = "", W.current.focus(), n && S(n("")), fe("");
|
|
4999
|
-
},
|
|
4999
|
+
}, ue = (Q) => {
|
|
5000
5000
|
Q.key === "/" && (/^(?:input|textarea|select|button)$/i.test(Q.target.tagName) || (Q.preventDefault(), document.getElementById(c).focus()));
|
|
5001
5001
|
};
|
|
5002
|
-
|
|
5003
|
-
if (f === "search" &&
|
|
5004
|
-
return document.addEventListener("keyup",
|
|
5005
|
-
document.removeEventListener("keyup",
|
|
5002
|
+
le(() => {
|
|
5003
|
+
if (f === "search" && u)
|
|
5004
|
+
return document.addEventListener("keyup", ue), () => {
|
|
5005
|
+
document.removeEventListener("keyup", ue);
|
|
5006
5006
|
};
|
|
5007
5007
|
}, []);
|
|
5008
5008
|
const Ce = () => {
|
|
@@ -5014,11 +5014,11 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
5014
5014
|
Oe,
|
|
5015
5015
|
{
|
|
5016
5016
|
className: x,
|
|
5017
|
-
decorator:
|
|
5017
|
+
decorator: re,
|
|
5018
5018
|
disabled: a,
|
|
5019
5019
|
id: c,
|
|
5020
5020
|
inputFieldType: "text",
|
|
5021
|
-
inputWidth:
|
|
5021
|
+
inputWidth: m,
|
|
5022
5022
|
label: d,
|
|
5023
5023
|
message: Le,
|
|
5024
5024
|
onBlur: J,
|
|
@@ -5032,7 +5032,7 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
5032
5032
|
/* @__PURE__ */ e.createElement(
|
|
5033
5033
|
"input",
|
|
5034
5034
|
y({
|
|
5035
|
-
className: [
|
|
5035
|
+
className: [Y, pe].join(" ").trim().replace(/\s+/g, " "),
|
|
5036
5036
|
type: f,
|
|
5037
5037
|
id: c,
|
|
5038
5038
|
name: c,
|
|
@@ -5058,7 +5058,7 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
5058
5058
|
{
|
|
5059
5059
|
id: c,
|
|
5060
5060
|
label: o.clearButton,
|
|
5061
|
-
handleClearInput:
|
|
5061
|
+
handleClearInput: K
|
|
5062
5062
|
}
|
|
5063
5063
|
),
|
|
5064
5064
|
E && f === "password" && /* @__PURE__ */ e.createElement(
|
|
@@ -5073,7 +5073,7 @@ const yt = 16, Kt = 10, vs = (L) => {
|
|
|
5073
5073
|
},
|
|
5074
5074
|
/* @__PURE__ */ e.createElement(q, { iconName: F ? "eyeSlash" : "eye" })
|
|
5075
5075
|
),
|
|
5076
|
-
!w &&
|
|
5076
|
+
!w && u && f === "search" && /* @__PURE__ */ e.createElement(Ot, { label: o.searchShortcut })
|
|
5077
5077
|
);
|
|
5078
5078
|
};
|
|
5079
5079
|
vs.propTypes = {
|
|
@@ -5218,20 +5218,20 @@ const H1 = (c) => {
|
|
|
5218
5218
|
headingLevel: n = "h3",
|
|
5219
5219
|
headingText: a,
|
|
5220
5220
|
className: r
|
|
5221
|
-
} = l,
|
|
5221
|
+
} = l, u = M(l, [
|
|
5222
5222
|
"linkItems",
|
|
5223
5223
|
"headingLevel",
|
|
5224
5224
|
"headingText",
|
|
5225
5225
|
"className"
|
|
5226
5226
|
]);
|
|
5227
|
-
const
|
|
5227
|
+
const m = "pds-links-card", d = `${n}`;
|
|
5228
5228
|
return /* @__PURE__ */ e.createElement(
|
|
5229
5229
|
"div",
|
|
5230
5230
|
y({
|
|
5231
|
-
className: [
|
|
5232
|
-
},
|
|
5233
|
-
a && /* @__PURE__ */ e.createElement(d, { className: `${
|
|
5234
|
-
s && /* @__PURE__ */ e.createElement("ul", { className: `${
|
|
5231
|
+
className: [m, r].join(" ").trim().replace(/\s+/g, " ")
|
|
5232
|
+
}, u),
|
|
5233
|
+
a && /* @__PURE__ */ e.createElement(d, { className: `${m}__heading pds-ts-xl` }, a),
|
|
5234
|
+
s && /* @__PURE__ */ e.createElement("ul", { className: `${m}__list`, role: "list" }, s.map((o, b) => /* @__PURE__ */ e.createElement("li", { key: b, className: "pds-cta-links-card__item" }, o)))
|
|
5235
5235
|
);
|
|
5236
5236
|
};
|
|
5237
5237
|
H1.propTypes = {
|
|
@@ -5258,10 +5258,10 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5258
5258
|
disabled: n,
|
|
5259
5259
|
displayType: a = "icon-end",
|
|
5260
5260
|
iconName: r = "ellipsisVertical",
|
|
5261
|
-
id:
|
|
5261
|
+
id: u,
|
|
5262
5262
|
isSplitButton: c = !1,
|
|
5263
5263
|
label: l,
|
|
5264
|
-
menuItems:
|
|
5264
|
+
menuItems: m,
|
|
5265
5265
|
menuPosition: d = "start",
|
|
5266
5266
|
size: o = "md",
|
|
5267
5267
|
testId: b,
|
|
@@ -5300,25 +5300,25 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5300
5300
|
middleware: [Ws()]
|
|
5301
5301
|
});
|
|
5302
5302
|
let V = !1;
|
|
5303
|
-
const w =
|
|
5303
|
+
const w = Ne(Pe);
|
|
5304
5304
|
w && (V = w.isMobile);
|
|
5305
|
-
const O = v && V, H = "pds-menu-button", S = O ? `${H}--isMobile` : null, P = v ? `${H}--navbar` : null, R = xe(), [j] = T(`menu-button-${R}`), [A] = T(`menu-listbox-${R}`), F =
|
|
5305
|
+
const O = v && V, H = "pds-menu-button", S = O ? `${H}--isMobile` : null, P = v ? `${H}--navbar` : null, R = xe(), [j] = T(`menu-button-${R}`), [A] = T(`menu-listbox-${R}`), F = u || j, Z = L.floating, W = X(null), [z, B] = T(!1), [U, Y] = T(!1), [pe, re] = T(""), [ee, de] = T(0), me = X([]), te = X([]), fe = X([]);
|
|
5306
5306
|
Ts(() => {
|
|
5307
|
-
window.addEventListener("mousedown",
|
|
5307
|
+
window.addEventListener("mousedown", ye, !0), x();
|
|
5308
5308
|
const D = Z.current;
|
|
5309
5309
|
return D && (D.dataset.fuiPlacement = I), U && (setTimeout(() => {
|
|
5310
5310
|
D.focus();
|
|
5311
|
-
}, 0),
|
|
5312
|
-
window.removeEventListener("mousedown",
|
|
5311
|
+
}, 0), Y(!1)), () => {
|
|
5312
|
+
window.removeEventListener("mousedown", ye, !0);
|
|
5313
5313
|
};
|
|
5314
5314
|
}, [z, I]);
|
|
5315
5315
|
const be = (D, ae) => {
|
|
5316
|
-
|
|
5316
|
+
re(D), de(ae);
|
|
5317
5317
|
}, oe = () => {
|
|
5318
|
-
B(!0),
|
|
5318
|
+
B(!0), Y(!0);
|
|
5319
5319
|
}, J = () => {
|
|
5320
5320
|
B(!1), be(void 0, -1), W.current.querySelector(`#${F}`).focus();
|
|
5321
|
-
},
|
|
5321
|
+
}, K = (D) => {
|
|
5322
5322
|
D = D.toLowerCase();
|
|
5323
5323
|
let ae = !1;
|
|
5324
5324
|
for (let G = ee + 1; G < fe.current.length; G++)
|
|
@@ -5333,19 +5333,19 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5333
5333
|
break;
|
|
5334
5334
|
}
|
|
5335
5335
|
}
|
|
5336
|
-
},
|
|
5336
|
+
}, ue = (D) => {
|
|
5337
5337
|
const ae = te.current.indexOf(D), G = fe.current[ae];
|
|
5338
5338
|
if (G.callback && !G.disabled && G.callback(G), G.linkContent && !G.disabled) {
|
|
5339
|
-
const
|
|
5340
|
-
|
|
5339
|
+
const ge = W.current.querySelector(`#${D} a`);
|
|
5340
|
+
ge && ge.click();
|
|
5341
5341
|
}
|
|
5342
5342
|
}, Ce = () => {
|
|
5343
5343
|
const D = te.current[ee];
|
|
5344
|
-
|
|
5344
|
+
ue(D);
|
|
5345
5345
|
}, Le = (D) => {
|
|
5346
|
-
z ? J() : oe(),
|
|
5346
|
+
z ? J() : oe(), Y((ae) => !ae), D.stopPropagation(), D.preventDefault();
|
|
5347
5347
|
}, Q = (D) => {
|
|
5348
|
-
|
|
5348
|
+
ue(D.currentTarget.id), O || J();
|
|
5349
5349
|
}, se = (D) => {
|
|
5350
5350
|
var ae = D.key, G = !1;
|
|
5351
5351
|
switch (ae) {
|
|
@@ -5361,20 +5361,20 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5361
5361
|
break;
|
|
5362
5362
|
case "Up":
|
|
5363
5363
|
case "ArrowUp": {
|
|
5364
|
-
const
|
|
5365
|
-
oe(), be(te.current[
|
|
5364
|
+
const ge = te.current.length - 1;
|
|
5365
|
+
oe(), be(te.current[ge], ge), G = !0;
|
|
5366
5366
|
break;
|
|
5367
5367
|
}
|
|
5368
5368
|
}
|
|
5369
5369
|
G && (D.stopPropagation(), D.preventDefault());
|
|
5370
|
-
},
|
|
5371
|
-
let ae = D.key, G = !1,
|
|
5370
|
+
}, ke = (D) => {
|
|
5371
|
+
let ae = D.key, G = !1, ge = "", ie = 0;
|
|
5372
5372
|
function Ee(ve) {
|
|
5373
5373
|
return ve.length === 1 && ve.match(/\S/);
|
|
5374
5374
|
}
|
|
5375
5375
|
if (!(D.ctrlKey || D.altKey || D.metaKey)) {
|
|
5376
5376
|
if (D.shiftKey)
|
|
5377
|
-
Ee(ae) && (
|
|
5377
|
+
Ee(ae) && (K(ae), G = !0), D.key === "Tab" && (J(), G = !0);
|
|
5378
5378
|
else
|
|
5379
5379
|
switch (ae) {
|
|
5380
5380
|
case " ":
|
|
@@ -5387,11 +5387,11 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5387
5387
|
break;
|
|
5388
5388
|
case "Up":
|
|
5389
5389
|
case "ArrowUp":
|
|
5390
|
-
ie = ee - 1, ie < 0 && (ie = te.current.length - 1),
|
|
5390
|
+
ie = ee - 1, ie < 0 && (ie = te.current.length - 1), ge = te.current[ie], be(ge, ie), G = !0;
|
|
5391
5391
|
break;
|
|
5392
5392
|
case "ArrowDown":
|
|
5393
5393
|
case "Down":
|
|
5394
|
-
ie = ee + 1, ie > te.current.length - 1 && (ie = 0),
|
|
5394
|
+
ie = ee + 1, ie > te.current.length - 1 && (ie = 0), ge = te.current[ie], be(ge, ie), G = !0;
|
|
5395
5395
|
break;
|
|
5396
5396
|
case "Home":
|
|
5397
5397
|
case "PageUp":
|
|
@@ -5407,14 +5407,14 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5407
5407
|
J();
|
|
5408
5408
|
break;
|
|
5409
5409
|
default:
|
|
5410
|
-
Ee(ae) && (
|
|
5410
|
+
Ee(ae) && (K(ae), G = !0);
|
|
5411
5411
|
break;
|
|
5412
5412
|
}
|
|
5413
5413
|
G && (D.stopPropagation(), D.preventDefault());
|
|
5414
5414
|
}
|
|
5415
|
-
},
|
|
5415
|
+
}, ye = (D) => {
|
|
5416
5416
|
W.current && !W.current.contains(D.target) && z && J();
|
|
5417
|
-
},
|
|
5417
|
+
}, we = (D, ae, G = "", ge = "", ...ie) => {
|
|
5418
5418
|
const Ee = G ? `-group-${G}` : "", ve = F + Ee + "-item-" + (ae + 1), Me = D.id ? D.id : ve;
|
|
5419
5419
|
if (Nt(D))
|
|
5420
5420
|
return /* @__PURE__ */ e.createElement("li", { role: "separator", key: Me });
|
|
@@ -5423,8 +5423,8 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5423
5423
|
"li",
|
|
5424
5424
|
{
|
|
5425
5425
|
role: "presentation",
|
|
5426
|
-
id:
|
|
5427
|
-
key:
|
|
5426
|
+
id: ge || null,
|
|
5427
|
+
key: ge,
|
|
5428
5428
|
className: `${H}__listbox-heading`
|
|
5429
5429
|
},
|
|
5430
5430
|
D.label
|
|
@@ -5434,7 +5434,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5434
5434
|
if (kt(D) || D.label) {
|
|
5435
5435
|
te.current.push(Me), fe.current.push(D);
|
|
5436
5436
|
let dt = !1;
|
|
5437
|
-
|
|
5437
|
+
pe !== "" && !D.disabled && (dt = pe === Me);
|
|
5438
5438
|
let ze;
|
|
5439
5439
|
if (D.label && (ze = [D.label]), kt(D) && (ze = [D.linkContent.props.children]), D.iconName) {
|
|
5440
5440
|
const Ke = /* @__PURE__ */ e.createElement(q, { key: `icon-${R}`, iconName: D.iconName, iconSize: "md" });
|
|
@@ -5465,17 +5465,17 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5465
5465
|
}
|
|
5466
5466
|
}, he = (D, ae) => {
|
|
5467
5467
|
const G = [];
|
|
5468
|
-
let
|
|
5468
|
+
let ge = ae.shift(), ie = [];
|
|
5469
5469
|
return D.map((Ee, ve) => {
|
|
5470
|
-
Ee !==
|
|
5470
|
+
Ee !== ge ? (ie.push(Ee), ve + 1 === D.length && G.push(ie)) : (G.push(ie), ie = [], ie.push(Ee), ge = ae.shift());
|
|
5471
5471
|
}), G.filter((Ee) => Ee.length > 0);
|
|
5472
|
-
},
|
|
5472
|
+
}, ce = (D) => {
|
|
5473
5473
|
te.current = [], fe.current = [];
|
|
5474
5474
|
const ae = D, G = D.filter(
|
|
5475
5475
|
wt || Nt
|
|
5476
|
-
),
|
|
5476
|
+
), ge = G.length > 0;
|
|
5477
5477
|
let ie = [`${H}__listbox`];
|
|
5478
|
-
if (v && ie.push(`${H}__listbox--navbar`), (a === "avatar" || a === "avatar-with-text") && ie.push(`${H}__listbox--avatar`), d === "end" && ie.push(`${H}__listbox--end`), a === "icon-only" && ie.push(`${H}__listbox--icon-only`), ie = ie.join(" ").trim().replace(/\s+/g, " "),
|
|
5478
|
+
if (v && ie.push(`${H}__listbox--navbar`), (a === "avatar" || a === "avatar-with-text") && ie.push(`${H}__listbox--avatar`), d === "end" && ie.push(`${H}__listbox--end`), a === "icon-only" && ie.push(`${H}__listbox--icon-only`), ie = ie.join(" ").trim().replace(/\s+/g, " "), ge) {
|
|
5479
5479
|
const Ee = he(D, G);
|
|
5480
5480
|
Ee.forEach(() => {
|
|
5481
5481
|
me.current.push(xe());
|
|
@@ -5492,7 +5492,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5492
5492
|
role: "menu",
|
|
5493
5493
|
tabIndex: -1,
|
|
5494
5494
|
"aria-labelledby": F,
|
|
5495
|
-
"aria-activedescendant":
|
|
5495
|
+
"aria-activedescendant": pe !== "" ? pe : dt,
|
|
5496
5496
|
style: {
|
|
5497
5497
|
visibility: z ? "visible" : "hidden",
|
|
5498
5498
|
opacity: z ? "1" : "0",
|
|
@@ -5501,7 +5501,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5501
5501
|
transform: `translate(${Math.round(C)}px,${Math.round(E)}px)`,
|
|
5502
5502
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5503
5503
|
},
|
|
5504
|
-
onKeyDown:
|
|
5504
|
+
onKeyDown: ke,
|
|
5505
5505
|
ref: N
|
|
5506
5506
|
},
|
|
5507
5507
|
Ee.map((ze, Ue) => {
|
|
@@ -5515,7 +5515,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5515
5515
|
"aria-label": Ls,
|
|
5516
5516
|
key: Hs
|
|
5517
5517
|
},
|
|
5518
|
-
ze.map((zs, Ms) =>
|
|
5518
|
+
ze.map((zs, Ms) => we(
|
|
5519
5519
|
zs,
|
|
5520
5520
|
Ms,
|
|
5521
5521
|
ve,
|
|
@@ -5534,7 +5534,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5534
5534
|
role: "menu",
|
|
5535
5535
|
tabIndex: -1,
|
|
5536
5536
|
"aria-labelledby": F,
|
|
5537
|
-
"aria-activedescendant":
|
|
5537
|
+
"aria-activedescendant": pe !== "" ? pe : Ee,
|
|
5538
5538
|
style: {
|
|
5539
5539
|
visibility: z ? "visible" : "hidden",
|
|
5540
5540
|
opacity: z ? "1" : "0",
|
|
@@ -5542,10 +5542,10 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5542
5542
|
position: k,
|
|
5543
5543
|
transform: `translate(${Math.round(C)}px,${Math.round(E)}px)`
|
|
5544
5544
|
},
|
|
5545
|
-
onKeyDown:
|
|
5545
|
+
onKeyDown: ke,
|
|
5546
5546
|
ref: N
|
|
5547
5547
|
},
|
|
5548
|
-
ae.map((ve, Me) =>
|
|
5548
|
+
ae.map((ve, Me) => we(ve, Me))
|
|
5549
5549
|
));
|
|
5550
5550
|
}
|
|
5551
5551
|
};
|
|
@@ -5613,13 +5613,13 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5613
5613
|
}
|
|
5614
5614
|
)
|
|
5615
5615
|
));
|
|
5616
|
-
const
|
|
5616
|
+
const He = (D) => {
|
|
5617
5617
|
const ae = D.target;
|
|
5618
5618
|
ae.classList.toggle(`${H}__toggle--expanded`), ae.setAttribute(
|
|
5619
5619
|
"aria-expanded",
|
|
5620
5620
|
ae.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
5621
5621
|
), ae.nextElementSibling.classList.toggle(`${H}__mobile-menu--expanded`);
|
|
5622
|
-
}, je = () => /* @__PURE__ */ e.createElement("ul", { className: `${H}__mobile-menu`, role: "menu" },
|
|
5622
|
+
}, je = () => /* @__PURE__ */ e.createElement("ul", { className: `${H}__mobile-menu`, role: "menu" }, m.map((D, ae) => we(D, ae)));
|
|
5623
5623
|
let Re;
|
|
5624
5624
|
const ct = a === "icon-end" ? "pds-button pds-button--navbar" : null, it = [`${H}__toggle`, ct].join(" ").trim().replace(/\s+/g, " ");
|
|
5625
5625
|
O && (Re = /* @__PURE__ */ e.createElement(
|
|
@@ -5630,7 +5630,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5630
5630
|
disabled: n,
|
|
5631
5631
|
className: it,
|
|
5632
5632
|
"aria-expanded": !1,
|
|
5633
|
-
onClick:
|
|
5633
|
+
onClick: He
|
|
5634
5634
|
},
|
|
5635
5635
|
a === "avatar" || a === "avatar-with-text" ? /* @__PURE__ */ e.createElement("span", { className: `${H}__avatar-label` }, /* @__PURE__ */ e.createElement(Xe, { size: "sm", imageSrc: s }), l) : a === "icon-only" ? /* @__PURE__ */ e.createElement("span", { className: `${H}__icon-label` }, /* @__PURE__ */ e.createElement(q, { iconName: r }), " ", l) : l,
|
|
5636
5636
|
/* @__PURE__ */ e.createElement(
|
|
@@ -5650,7 +5650,7 @@ const Nt = (s) => s.isSeparator, wt = (s) => s.isHeading, kt = (s) => s.isLink,
|
|
|
5650
5650
|
"data-testid": b,
|
|
5651
5651
|
ref: W
|
|
5652
5652
|
}, $),
|
|
5653
|
-
O ? /* @__PURE__ */ e.createElement(e.Fragment, null, bt, /* @__PURE__ */ e.createElement(je, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, ne,
|
|
5653
|
+
O ? /* @__PURE__ */ e.createElement(e.Fragment, null, bt, /* @__PURE__ */ e.createElement(je, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, ne, ce(m))
|
|
5654
5654
|
);
|
|
5655
5655
|
};
|
|
5656
5656
|
_s.propTypes = {
|
|
@@ -5734,11 +5734,11 @@ const z1 = (o) => {
|
|
|
5734
5734
|
children: n,
|
|
5735
5735
|
hasCloseButton: a = !0,
|
|
5736
5736
|
modalIsOpen: r = !1,
|
|
5737
|
-
setModalIsOpen:
|
|
5737
|
+
setModalIsOpen: u = () => {
|
|
5738
5738
|
},
|
|
5739
5739
|
size: c = "md",
|
|
5740
5740
|
title: l,
|
|
5741
|
-
className:
|
|
5741
|
+
className: m
|
|
5742
5742
|
} = b, d = M(b, [
|
|
5743
5743
|
"ariaLabel",
|
|
5744
5744
|
"children",
|
|
@@ -5750,10 +5750,10 @@ const z1 = (o) => {
|
|
|
5750
5750
|
"className"
|
|
5751
5751
|
]);
|
|
5752
5752
|
const p = "pds-modal", h = c !== "md" ? `${p}--${c}` : null, [v, i] = T(r);
|
|
5753
|
-
|
|
5753
|
+
le(() => {
|
|
5754
5754
|
i(r);
|
|
5755
|
-
}, [r]),
|
|
5756
|
-
|
|
5755
|
+
}, [r]), le(() => {
|
|
5756
|
+
u(v);
|
|
5757
5757
|
}, [v]);
|
|
5758
5758
|
const { refs: $, context: g, floatingStyles: _ } = Ve({
|
|
5759
5759
|
open: v,
|
|
@@ -5791,11 +5791,11 @@ const z1 = (o) => {
|
|
|
5791
5791
|
},
|
|
5792
5792
|
/* @__PURE__ */ e.createElement(ls, { context: g }, /* @__PURE__ */ e.createElement(
|
|
5793
5793
|
"div",
|
|
5794
|
-
y(
|
|
5794
|
+
y($e(y({
|
|
5795
5795
|
ref: $.setFloating,
|
|
5796
5796
|
"aria-label": s || l
|
|
5797
5797
|
}, N()), {
|
|
5798
|
-
className: [p, h,
|
|
5798
|
+
className: [p, h, m].join(" ").trim().replace(/\s+/g, " "),
|
|
5799
5799
|
style: y({
|
|
5800
5800
|
floatingStyles: _
|
|
5801
5801
|
}, x)
|
|
@@ -5849,8 +5849,8 @@ z1.propTypes = {
|
|
|
5849
5849
|
*/
|
|
5850
5850
|
className: t.string
|
|
5851
5851
|
};
|
|
5852
|
-
const Ye = (
|
|
5853
|
-
var c =
|
|
5852
|
+
const Ye = (u) => {
|
|
5853
|
+
var c = u, {
|
|
5854
5854
|
children: s,
|
|
5855
5855
|
width: n = "standard",
|
|
5856
5856
|
className: a
|
|
@@ -5859,11 +5859,11 @@ const Ye = (m) => {
|
|
|
5859
5859
|
"width",
|
|
5860
5860
|
"className"
|
|
5861
5861
|
]);
|
|
5862
|
-
const l = "pds-container",
|
|
5862
|
+
const l = "pds-container", m = n !== "standard" ? `${l}--${n}` : null;
|
|
5863
5863
|
return /* @__PURE__ */ e.createElement(
|
|
5864
5864
|
"div",
|
|
5865
5865
|
y({
|
|
5866
|
-
className: [l,
|
|
5866
|
+
className: [l, m, a].join(" ").trim().replace(/\s+/g, " ")
|
|
5867
5867
|
}, r),
|
|
5868
5868
|
s
|
|
5869
5869
|
);
|
|
@@ -5888,10 +5888,10 @@ const M1 = (h) => {
|
|
|
5888
5888
|
colorType: n = "default",
|
|
5889
5889
|
containerWidth: a = "x-wide",
|
|
5890
5890
|
hideBorder: r,
|
|
5891
|
-
hideLogo:
|
|
5891
|
+
hideLogo: u = !1,
|
|
5892
5892
|
logoDisplay: c = "full",
|
|
5893
5893
|
logoLabel: l = "Pantheon Home",
|
|
5894
|
-
logoLink:
|
|
5894
|
+
logoLink: m = /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io" }),
|
|
5895
5895
|
logoSrc: d,
|
|
5896
5896
|
logoSubBrand: o,
|
|
5897
5897
|
className: b
|
|
@@ -5910,10 +5910,10 @@ const M1 = (h) => {
|
|
|
5910
5910
|
]);
|
|
5911
5911
|
const [i, $] = T(!1);
|
|
5912
5912
|
let g = !1;
|
|
5913
|
-
const _ =
|
|
5913
|
+
const _ = Ne(Pe);
|
|
5914
5914
|
_ && (g = _.isMobile);
|
|
5915
5915
|
const C = "pds-navbar", E = r ? `${C}--noBorder` : "", f = n !== "default" ? `${C}--${n}` : "", N = g ? `${C}--isMobile` : `${C}--notMobile`;
|
|
5916
|
-
|
|
5916
|
+
le(() => (window.addEventListener("keyup", k), () => {
|
|
5917
5917
|
window.removeEventListener("keyup", k);
|
|
5918
5918
|
}), []);
|
|
5919
5919
|
const k = (Z) => {
|
|
@@ -5926,7 +5926,7 @@ const M1 = (h) => {
|
|
|
5926
5926
|
}
|
|
5927
5927
|
z && (Z.stopPropagation(), Z.preventDefault());
|
|
5928
5928
|
}, x = () => $(!i), I = e.createRef();
|
|
5929
|
-
|
|
5929
|
+
le(() => {
|
|
5930
5930
|
if (g && s) {
|
|
5931
5931
|
const Z = ds(
|
|
5932
5932
|
document.querySelector(".pds-navbar__mobile")
|
|
@@ -5941,16 +5941,16 @@ const M1 = (h) => {
|
|
|
5941
5941
|
const L = (Z) => {
|
|
5942
5942
|
Z.target.nodeName === "A" && $(!1);
|
|
5943
5943
|
};
|
|
5944
|
-
|
|
5944
|
+
le(() => {
|
|
5945
5945
|
if (i) {
|
|
5946
5946
|
const Z = document.querySelector(".pds-navbar__bar-mobile"), W = document.querySelector(".pds-navbar__mobile");
|
|
5947
5947
|
return Z.addEventListener("click", L), W.addEventListener("click", L), () => {
|
|
5948
5948
|
Z.removeEventListener("click", L), W.removeEventListener("click", L);
|
|
5949
5949
|
};
|
|
5950
5950
|
}
|
|
5951
|
-
}, [i]),
|
|
5951
|
+
}, [i]), le(() => {
|
|
5952
5952
|
g ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
|
|
5953
|
-
}, [g]),
|
|
5953
|
+
}, [g]), le(() => {
|
|
5954
5954
|
i ? document.body.classList.add("pds-no-scroll") : document.body.classList.remove("pds-no-scroll");
|
|
5955
5955
|
}, [i]);
|
|
5956
5956
|
const V = {};
|
|
@@ -5967,9 +5967,9 @@ const M1 = (h) => {
|
|
|
5967
5967
|
alt: l
|
|
5968
5968
|
}
|
|
5969
5969
|
);
|
|
5970
|
-
if (
|
|
5971
|
-
const Z =
|
|
5972
|
-
H = /* @__PURE__ */ e.createElement(Z, y({ "aria-label": l },
|
|
5970
|
+
if (m) {
|
|
5971
|
+
const Z = m.type;
|
|
5972
|
+
H = /* @__PURE__ */ e.createElement(Z, y({ "aria-label": l }, m.props), H);
|
|
5973
5973
|
}
|
|
5974
5974
|
let S = "default";
|
|
5975
5975
|
(n === "reverse" || n === "reverse-transparent") && (S = "reverse");
|
|
@@ -5979,7 +5979,7 @@ const M1 = (h) => {
|
|
|
5979
5979
|
colorType: S,
|
|
5980
5980
|
displayType: c,
|
|
5981
5981
|
isLink: {
|
|
5982
|
-
link:
|
|
5982
|
+
link: m,
|
|
5983
5983
|
ariaLabel: l
|
|
5984
5984
|
},
|
|
5985
5985
|
subBrand: o
|
|
@@ -6008,7 +6008,7 @@ const M1 = (h) => {
|
|
|
6008
6008
|
}
|
|
6009
6009
|
},
|
|
6010
6010
|
/* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(Ye, { className: `${C}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${C}__inner-mobile` }, /* @__PURE__ */ e.createElement(P, null), s && R)), /* @__PURE__ */ e.createElement(Ye, null, s && j))
|
|
6011
|
-
), F = /* @__PURE__ */ e.createElement(Ye, { width: a, className: `${C}__inner` }, !
|
|
6011
|
+
), F = /* @__PURE__ */ e.createElement(Ye, { width: a, className: `${C}__inner` }, !u && /* @__PURE__ */ e.createElement("div", { className: `${C}__logo` }, /* @__PURE__ */ e.createElement(P, null)), /* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, w ? /* @__PURE__ */ e.createElement("div", { className: `${C}__items-left` }, w) : /* @__PURE__ */ e.createElement("span", null), O && /* @__PURE__ */ e.createElement("div", { className: `${C}__items-right` }, O)));
|
|
6012
6012
|
return /* @__PURE__ */ e.createElement(
|
|
6013
6013
|
"header",
|
|
6014
6014
|
y({
|
|
@@ -6072,16 +6072,16 @@ M1.propTypes = {
|
|
|
6072
6072
|
className: t.string
|
|
6073
6073
|
};
|
|
6074
6074
|
const Es = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
6075
|
-
const [r,
|
|
6076
|
-
|
|
6077
|
-
window.removeEventListener("resize",
|
|
6075
|
+
const [r, u] = T(!1), [c, l] = T(0);
|
|
6076
|
+
le(() => (l(window.innerWidth), window.addEventListener("resize", m), () => {
|
|
6077
|
+
window.removeEventListener("resize", m);
|
|
6078
6078
|
}), []);
|
|
6079
|
-
const
|
|
6079
|
+
const m = () => {
|
|
6080
6080
|
l(window.innerWidth);
|
|
6081
6081
|
}, d = c <= a, o = "pds-nav-menu", { refs: b, context: p } = Ve({
|
|
6082
6082
|
placement: "bottom-start",
|
|
6083
6083
|
open: r,
|
|
6084
|
-
onOpenChange:
|
|
6084
|
+
onOpenChange: u,
|
|
6085
6085
|
whileElementsMounted: qe
|
|
6086
6086
|
}), h = et(p, { event: "mousedown" }), v = Ie(p), i = Se(p, { role: "menu" });
|
|
6087
6087
|
let $;
|
|
@@ -6132,13 +6132,13 @@ Es.propTypes = {
|
|
|
6132
6132
|
mobileMenuMaxWidth: t.number
|
|
6133
6133
|
};
|
|
6134
6134
|
const x1 = (l) => {
|
|
6135
|
-
var
|
|
6135
|
+
var m = l, {
|
|
6136
6136
|
ariaLabel: s = "Main Navigation",
|
|
6137
6137
|
colorType: n = "default",
|
|
6138
6138
|
menuItems: a,
|
|
6139
6139
|
mobileMenuMaxWidth: r = 640,
|
|
6140
|
-
className:
|
|
6141
|
-
} =
|
|
6140
|
+
className: u
|
|
6141
|
+
} = m, c = M(m, [
|
|
6142
6142
|
"ariaLabel",
|
|
6143
6143
|
"colorType",
|
|
6144
6144
|
"menuItems",
|
|
@@ -6148,19 +6148,19 @@ const x1 = (l) => {
|
|
|
6148
6148
|
const [d, o] = T(1025), [b, p] = T(null), [h, v] = T(-1), [i, $] = T(null), [g, _] = T({
|
|
6149
6149
|
containerChildren: []
|
|
6150
6150
|
});
|
|
6151
|
-
|
|
6151
|
+
le(() => (o(window.innerWidth), window.addEventListener("resize", C), () => {
|
|
6152
6152
|
window.removeEventListener("resize", C);
|
|
6153
6153
|
}), []);
|
|
6154
6154
|
const C = () => {
|
|
6155
6155
|
o(window.innerWidth);
|
|
6156
6156
|
}, E = d <= r;
|
|
6157
|
-
|
|
6157
|
+
le(() => {
|
|
6158
6158
|
g.containerChildren[b] && (g.containerChildren[b].classList.contains(
|
|
6159
6159
|
"pds-nav-menu__dropdown--separator"
|
|
6160
6160
|
) && i == "down" ? p(b + 1) : g.containerChildren[b].classList.contains(
|
|
6161
6161
|
"pds-nav-menu__dropdown--separator"
|
|
6162
6162
|
) && i == "up" ? p(b - 1) : g.containerChildren[b].children[0].focus());
|
|
6163
|
-
}, [b]),
|
|
6163
|
+
}, [b]), le(() => {
|
|
6164
6164
|
h != -1 && (x.current[h].children[0].blur(), x.current[h].children[0].focus({
|
|
6165
6165
|
focusVisible: !0
|
|
6166
6166
|
}));
|
|
@@ -6233,7 +6233,7 @@ const x1 = (l) => {
|
|
|
6233
6233
|
}), /* @__PURE__ */ e.createElement(
|
|
6234
6234
|
"nav",
|
|
6235
6235
|
y({
|
|
6236
|
-
className: [f, N, k,
|
|
6236
|
+
className: [f, N, k, u].join(" ").trim().replace(/\s+/g, " "),
|
|
6237
6237
|
"aria-label": s,
|
|
6238
6238
|
onKeyDown: (w) => {
|
|
6239
6239
|
I(w);
|
|
@@ -6265,9 +6265,9 @@ x1.propTypes = {
|
|
|
6265
6265
|
className: t.string
|
|
6266
6266
|
};
|
|
6267
6267
|
const Cs = (r) => {
|
|
6268
|
-
var
|
|
6268
|
+
var u = r, { platformType: s, className: n } = u, a = M(u, ["platformType", "className"]);
|
|
6269
6269
|
const c = "pds-platform-icon", l = `pds-platform-icon--${s}`;
|
|
6270
|
-
let
|
|
6270
|
+
let m;
|
|
6271
6271
|
if (["front-end-sites", "gatsby-wp", "next-drupal", "next-wp"].includes(s)) {
|
|
6272
6272
|
let o = [];
|
|
6273
6273
|
switch (s) {
|
|
@@ -6284,15 +6284,15 @@ const Cs = (r) => {
|
|
|
6284
6284
|
o = ["next", "wordpress"];
|
|
6285
6285
|
break;
|
|
6286
6286
|
}
|
|
6287
|
-
|
|
6287
|
+
m = /* @__PURE__ */ e.createElement("span", { className: `${c}__group` }, Ht[o[0]], Ht[o[1]]);
|
|
6288
6288
|
} else
|
|
6289
|
-
|
|
6289
|
+
m = Ht[s];
|
|
6290
6290
|
return /* @__PURE__ */ e.createElement(
|
|
6291
6291
|
"div",
|
|
6292
6292
|
y({
|
|
6293
6293
|
className: [c, l, n].join(" ").trim().replace(/\s+/g, " ")
|
|
6294
6294
|
}, a),
|
|
6295
|
-
|
|
6295
|
+
m
|
|
6296
6296
|
);
|
|
6297
6297
|
};
|
|
6298
6298
|
Cs.propTypes = {
|
|
@@ -6571,10 +6571,10 @@ const Ht = {
|
|
|
6571
6571
|
icon: n,
|
|
6572
6572
|
selectionLink: a,
|
|
6573
6573
|
subtitle: r,
|
|
6574
|
-
supplementalLinks:
|
|
6574
|
+
supplementalLinks: u,
|
|
6575
6575
|
summary: c,
|
|
6576
6576
|
title: l,
|
|
6577
|
-
className:
|
|
6577
|
+
className: m
|
|
6578
6578
|
} = b, d = M(b, [
|
|
6579
6579
|
"badge",
|
|
6580
6580
|
"icon",
|
|
@@ -6589,7 +6589,7 @@ const Ht = {
|
|
|
6589
6589
|
return /* @__PURE__ */ e.createElement(
|
|
6590
6590
|
"div",
|
|
6591
6591
|
y({
|
|
6592
|
-
className: [p,
|
|
6592
|
+
className: [p, m].join(" ").trim().replace(/\s+/g, " ")
|
|
6593
6593
|
}, d),
|
|
6594
6594
|
/* @__PURE__ */ e.createElement(
|
|
6595
6595
|
h,
|
|
@@ -6609,7 +6609,7 @@ const Ht = {
|
|
|
6609
6609
|
),
|
|
6610
6610
|
c && /* @__PURE__ */ e.createElement("div", { className: `${p}__summary` }, c)
|
|
6611
6611
|
),
|
|
6612
|
-
|
|
6612
|
+
u && u.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${p}__links` }, u.map((v, i) => {
|
|
6613
6613
|
const $ = v.type;
|
|
6614
6614
|
return /* @__PURE__ */ e.createElement(
|
|
6615
6615
|
$,
|
|
@@ -6690,16 +6690,16 @@ const tt = gt({}), I1 = (s) => {
|
|
|
6690
6690
|
render: n = null,
|
|
6691
6691
|
paginationItemClickHandler: a = null,
|
|
6692
6692
|
headingId: r = "Pager-heading",
|
|
6693
|
-
buttonCallback:
|
|
6693
|
+
buttonCallback: u = null,
|
|
6694
6694
|
children: c
|
|
6695
6695
|
}) => {
|
|
6696
|
-
const [l,
|
|
6696
|
+
const [l, m] = T(() => I1(s)), [d, o] = T([]), b = s.length, [p, h] = T("");
|
|
6697
6697
|
return /* @__PURE__ */ e.createElement(
|
|
6698
6698
|
tt.Provider,
|
|
6699
6699
|
{
|
|
6700
6700
|
value: {
|
|
6701
6701
|
currentKey: l,
|
|
6702
|
-
setCurrentKey:
|
|
6702
|
+
setCurrentKey: m,
|
|
6703
6703
|
currentPages: d,
|
|
6704
6704
|
setCurrentPages: o,
|
|
6705
6705
|
pageDirection: p,
|
|
@@ -6708,7 +6708,7 @@ const tt = gt({}), I1 = (s) => {
|
|
|
6708
6708
|
pages: s,
|
|
6709
6709
|
render: n,
|
|
6710
6710
|
paginationItemClickHandler: a,
|
|
6711
|
-
buttonCallback:
|
|
6711
|
+
buttonCallback: u,
|
|
6712
6712
|
headingId: r
|
|
6713
6713
|
}
|
|
6714
6714
|
},
|
|
@@ -6729,10 +6729,10 @@ const At = (i) => {
|
|
|
6729
6729
|
id: n,
|
|
6730
6730
|
initialValue: a,
|
|
6731
6731
|
inputWidth: r,
|
|
6732
|
-
label:
|
|
6732
|
+
label: u,
|
|
6733
6733
|
message: c,
|
|
6734
6734
|
onOptionSelect: l,
|
|
6735
|
-
options:
|
|
6735
|
+
options: m,
|
|
6736
6736
|
required: d = !1,
|
|
6737
6737
|
selectOptionsLabel: o = "Select an option...",
|
|
6738
6738
|
showLabel: b = !0,
|
|
@@ -6780,37 +6780,37 @@ const At = (i) => {
|
|
|
6780
6780
|
opacity: 0
|
|
6781
6781
|
}
|
|
6782
6782
|
}), z = (oe) => {
|
|
6783
|
-
const J =
|
|
6783
|
+
const J = m.find((K) => K.value === oe);
|
|
6784
6784
|
return J ? J.label : "";
|
|
6785
|
-
}, U = ((oe) => oe.map((
|
|
6786
|
-
const { label:
|
|
6785
|
+
}, U = ((oe) => oe.map((K) => {
|
|
6786
|
+
const { label: ue, value: Ce } = K;
|
|
6787
6787
|
return {
|
|
6788
|
-
label:
|
|
6789
|
-
value: Ce ||
|
|
6788
|
+
label: ue,
|
|
6789
|
+
value: Ce || ue
|
|
6790
6790
|
};
|
|
6791
|
-
}))(
|
|
6791
|
+
}))(m), Y = () => {
|
|
6792
6792
|
x(""), L(null);
|
|
6793
|
-
},
|
|
6793
|
+
}, pe = (oe) => {
|
|
6794
6794
|
const J = p(oe) || {};
|
|
6795
|
-
|
|
6796
|
-
},
|
|
6795
|
+
Y(), J.error && L("error"), J.success && L("success"), x(J.message);
|
|
6796
|
+
}, re = (oe) => {
|
|
6797
6797
|
const J = U[oe];
|
|
6798
|
-
N(J.value), E(null), _(!1), l && l(J), p &&
|
|
6798
|
+
N(J.value), E(null), _(!1), l && l(J), p && pe(J);
|
|
6799
6799
|
}, ee = /* @__PURE__ */ e.createElement(q, { iconName: "angleDown", className: `${w}__trigger-icon` }), de = /* @__PURE__ */ e.createElement(q, { iconName: "check", className: `${w}__checked-icon` }), me = U.map((oe, J) => /* @__PURE__ */ e.createElement(
|
|
6800
6800
|
Rt,
|
|
6801
|
-
|
|
6801
|
+
$e(y({
|
|
6802
6802
|
key: oe
|
|
6803
6803
|
}, F({
|
|
6804
6804
|
key: oe.value,
|
|
6805
|
-
ref(
|
|
6806
|
-
V.current[J] =
|
|
6805
|
+
ref(K) {
|
|
6806
|
+
V.current[J] = K;
|
|
6807
6807
|
},
|
|
6808
6808
|
onClick() {
|
|
6809
|
-
var
|
|
6810
|
-
|
|
6809
|
+
var K;
|
|
6810
|
+
re(J), (K = H.domReference.current) == null || K.focus();
|
|
6811
6811
|
},
|
|
6812
|
-
onKeyDown(
|
|
6813
|
-
(
|
|
6812
|
+
onKeyDown(K) {
|
|
6813
|
+
(K.key === "Enter" || K.key === " ") && re(J);
|
|
6814
6814
|
}
|
|
6815
6815
|
})), {
|
|
6816
6816
|
tabIndex: C === J ? 0 : -1,
|
|
@@ -6827,7 +6827,7 @@ const At = (i) => {
|
|
|
6827
6827
|
id: n,
|
|
6828
6828
|
inputFieldType: "select",
|
|
6829
6829
|
inputWidth: r,
|
|
6830
|
-
label:
|
|
6830
|
+
label: u,
|
|
6831
6831
|
message: te,
|
|
6832
6832
|
required: d,
|
|
6833
6833
|
showLabel: b,
|
|
@@ -6841,7 +6841,7 @@ const At = (i) => {
|
|
|
6841
6841
|
name: n,
|
|
6842
6842
|
style: be,
|
|
6843
6843
|
tabIndex: 0,
|
|
6844
|
-
"aria-label":
|
|
6844
|
+
"aria-label": u,
|
|
6845
6845
|
"aria-disabled": s,
|
|
6846
6846
|
"aria-required": d ? !0 : null,
|
|
6847
6847
|
"aria-invalid": I === "error",
|
|
@@ -6851,7 +6851,7 @@ const At = (i) => {
|
|
|
6851
6851
|
"aria-autocomplete": "list",
|
|
6852
6852
|
disabled: s,
|
|
6853
6853
|
onClick: () => s ? null : _(!g),
|
|
6854
|
-
onChange:
|
|
6854
|
+
onChange: re,
|
|
6855
6855
|
onKeyDown: (oe) => {
|
|
6856
6856
|
(oe.key === "Enter" || oe.key === " ") && _(!0);
|
|
6857
6857
|
}
|
|
@@ -6971,8 +6971,8 @@ const S1 = {
|
|
|
6971
6971
|
keyModifier: (s) => s + 1
|
|
6972
6972
|
}
|
|
6973
6973
|
}, Ze = (r) => {
|
|
6974
|
-
var
|
|
6975
|
-
const { buttonCallback: c, currentKey: l, setCurrentKey:
|
|
6974
|
+
var u = r, { arrowText: s = null, direction: n } = u, a = M(u, ["arrowText", "direction"]);
|
|
6975
|
+
const { buttonCallback: c, currentKey: l, setCurrentKey: m, setDirection: d, pages: o } = Ne(tt), b = Jt(
|
|
6976
6976
|
(g, _) => {
|
|
6977
6977
|
c && (g.preventDefault(), c(_));
|
|
6978
6978
|
},
|
|
@@ -6990,7 +6990,7 @@ const S1 = {
|
|
|
6990
6990
|
rel: h,
|
|
6991
6991
|
href: o[$(l)].link,
|
|
6992
6992
|
onClick: (g) => {
|
|
6993
|
-
b(g, $(l)),
|
|
6993
|
+
b(g, $(l)), m($(l)), d(n);
|
|
6994
6994
|
}
|
|
6995
6995
|
},
|
|
6996
6996
|
n === "right" && s ? /* @__PURE__ */ e.createElement("span", null, s) : null,
|
|
@@ -7009,12 +7009,12 @@ const T1 = (n) => {
|
|
|
7009
7009
|
const {
|
|
7010
7010
|
buttonCallback: a,
|
|
7011
7011
|
currentKey: r,
|
|
7012
|
-
setCurrentKey:
|
|
7012
|
+
setCurrentKey: u,
|
|
7013
7013
|
headingId: c,
|
|
7014
7014
|
itemLength: l,
|
|
7015
|
-
pages:
|
|
7016
|
-
} =
|
|
7017
|
-
return
|
|
7015
|
+
pages: m
|
|
7016
|
+
} = Ne(tt), d = [];
|
|
7017
|
+
return m.forEach((o, b) => {
|
|
7018
7018
|
let p = { label: `Page ${b + 1}`, value: `${b + 1}` };
|
|
7019
7019
|
d.push(p);
|
|
7020
7020
|
}), /* @__PURE__ */ e.createElement(
|
|
@@ -7032,35 +7032,35 @@ const T1 = (n) => {
|
|
|
7032
7032
|
selectOptions: d,
|
|
7033
7033
|
selectOptionsLabel: `Page ${r + 1}`,
|
|
7034
7034
|
onChange: (o) => {
|
|
7035
|
-
console.log(o),
|
|
7035
|
+
console.log(o), u(parseInt(o - 1)), a(parseInt(o - 1));
|
|
7036
7036
|
}
|
|
7037
7037
|
}
|
|
7038
7038
|
)), /* @__PURE__ */ e.createElement("li", { className: "pds-pager__items-mini" }, `of ${l}`), r < l - 1 ? /* @__PURE__ */ e.createElement(Ze, { arrowText: "Next", direction: "right" }) : null)
|
|
7039
7039
|
);
|
|
7040
7040
|
};
|
|
7041
|
-
function O1(s, n, a, r,
|
|
7041
|
+
function O1(s, n, a, r, u, c) {
|
|
7042
7042
|
if (r > 3) {
|
|
7043
7043
|
let l = [];
|
|
7044
|
-
const
|
|
7045
|
-
(n[0].key === r || !
|
|
7044
|
+
const m = n.find((d) => d.key == r);
|
|
7045
|
+
(n[0].key === r || !m) && (r > u - 3 ? (l = [
|
|
7046
7046
|
{
|
|
7047
|
-
page: s[
|
|
7048
|
-
key:
|
|
7047
|
+
page: s[u - 4],
|
|
7048
|
+
key: u - 4
|
|
7049
7049
|
},
|
|
7050
7050
|
{
|
|
7051
|
-
page: s[
|
|
7052
|
-
key:
|
|
7051
|
+
page: s[u - 3],
|
|
7052
|
+
key: u - 3
|
|
7053
7053
|
},
|
|
7054
7054
|
{
|
|
7055
|
-
page: s[
|
|
7056
|
-
key:
|
|
7055
|
+
page: s[u - 2],
|
|
7056
|
+
key: u - 2
|
|
7057
7057
|
},
|
|
7058
7058
|
{
|
|
7059
|
-
page: s[
|
|
7060
|
-
key:
|
|
7059
|
+
page: s[u - 1],
|
|
7060
|
+
key: u - 1
|
|
7061
7061
|
}
|
|
7062
|
-
], a(l)) : r ===
|
|
7063
|
-
o >
|
|
7062
|
+
], a(l)) : r === u - 1 ? s.forEach((d, o) => {
|
|
7063
|
+
o > u - 4 && l.push({ page: d, key: o });
|
|
7064
7064
|
}) : s.forEach((d, o) => {
|
|
7065
7065
|
o >= r && o < r + 4 && l.push({ page: d, key: o });
|
|
7066
7066
|
}), r > 3 && (l = [
|
|
@@ -7068,7 +7068,7 @@ function O1(s, n, a, r, m, c) {
|
|
|
7068
7068
|
{ page: s[1], key: 1 },
|
|
7069
7069
|
"...",
|
|
7070
7070
|
...l
|
|
7071
|
-
]), c === "left" && r ===
|
|
7071
|
+
]), c === "left" && r === u - 5 && (l = [
|
|
7072
7072
|
{ page: s[0], key: 0 },
|
|
7073
7073
|
{ page: s[1], key: 1 },
|
|
7074
7074
|
"...",
|
|
@@ -7088,7 +7088,7 @@ function O1(s, n, a, r, m, c) {
|
|
|
7088
7088
|
page: s[s.length - 3],
|
|
7089
7089
|
key: s.length - 3
|
|
7090
7090
|
}
|
|
7091
|
-
]), r >
|
|
7091
|
+
]), r > u - 5 ? l = [
|
|
7092
7092
|
{ page: s[0], key: 0 },
|
|
7093
7093
|
{ page: s[1], key: 1 },
|
|
7094
7094
|
"...",
|
|
@@ -7108,7 +7108,7 @@ function O1(s, n, a, r, m, c) {
|
|
|
7108
7108
|
page: s[s.length - 1],
|
|
7109
7109
|
key: s.length - 1
|
|
7110
7110
|
}
|
|
7111
|
-
] : r <
|
|
7111
|
+
] : r < u - 3 && (l = [
|
|
7112
7112
|
...l,
|
|
7113
7113
|
"...",
|
|
7114
7114
|
{
|
|
@@ -7122,9 +7122,9 @@ function O1(s, n, a, r, m, c) {
|
|
|
7122
7122
|
]), a(l));
|
|
7123
7123
|
} else {
|
|
7124
7124
|
let l = [];
|
|
7125
|
-
s.forEach((
|
|
7126
|
-
d < 4 && l.push({ page:
|
|
7127
|
-
}), !(r >
|
|
7125
|
+
s.forEach((m, d) => {
|
|
7126
|
+
d < 4 && l.push({ page: m, key: d });
|
|
7127
|
+
}), !(r > u - 3) && u > 4 && (l = [
|
|
7128
7128
|
...l,
|
|
7129
7129
|
"...",
|
|
7130
7130
|
{
|
|
@@ -7139,16 +7139,16 @@ function O1(s, n, a, r, m, c) {
|
|
|
7139
7139
|
}
|
|
7140
7140
|
}
|
|
7141
7141
|
const ys = (r) => {
|
|
7142
|
-
var
|
|
7142
|
+
var u = r, { index: s, page: n } = u, a = M(u, ["index", "page"]);
|
|
7143
7143
|
var b;
|
|
7144
7144
|
const c = function() {
|
|
7145
|
-
|
|
7145
|
+
m(n == null ? void 0 : n.key);
|
|
7146
7146
|
}, {
|
|
7147
7147
|
currentKey: l,
|
|
7148
|
-
setCurrentKey:
|
|
7148
|
+
setCurrentKey: m,
|
|
7149
7149
|
render: d = null,
|
|
7150
7150
|
paginationItemClickHandler: o
|
|
7151
|
-
} =
|
|
7151
|
+
} = Ne(tt);
|
|
7152
7152
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, n.key || n.key === 0 ? /* @__PURE__ */ e.createElement(
|
|
7153
7153
|
"span",
|
|
7154
7154
|
y({
|
|
@@ -7180,20 +7180,20 @@ const R1 = (n) => {
|
|
|
7180
7180
|
const {
|
|
7181
7181
|
buttonCallback: a,
|
|
7182
7182
|
currentKey: r,
|
|
7183
|
-
setCurrentKey:
|
|
7183
|
+
setCurrentKey: u,
|
|
7184
7184
|
currentPages: c,
|
|
7185
7185
|
setCurrentPages: l,
|
|
7186
|
-
headingId:
|
|
7186
|
+
headingId: m,
|
|
7187
7187
|
itemLength: d,
|
|
7188
7188
|
pageDirection: o,
|
|
7189
7189
|
pages: b
|
|
7190
|
-
} =
|
|
7190
|
+
} = Ne(tt), p = Jt(
|
|
7191
7191
|
(v, i) => {
|
|
7192
7192
|
a && (v.preventDefault(), a(i));
|
|
7193
7193
|
},
|
|
7194
7194
|
[a, r]
|
|
7195
7195
|
), [h] = T(b);
|
|
7196
|
-
return
|
|
7196
|
+
return le(() => {
|
|
7197
7197
|
O1(
|
|
7198
7198
|
b,
|
|
7199
7199
|
c,
|
|
@@ -7207,15 +7207,15 @@ const R1 = (n) => {
|
|
|
7207
7207
|
y({
|
|
7208
7208
|
className: "pds-pager",
|
|
7209
7209
|
role: "navigation",
|
|
7210
|
-
"aria-labelledby":
|
|
7210
|
+
"aria-labelledby": m
|
|
7211
7211
|
}, s),
|
|
7212
|
-
/* @__PURE__ */ e.createElement("div", { id:
|
|
7212
|
+
/* @__PURE__ */ e.createElement("div", { id: m, className: "visually-hidden" }, "Pagination"),
|
|
7213
7213
|
/* @__PURE__ */ e.createElement("ul", { className: "pds-pager__items" }, r > 0 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("li", { className: "pds-pager__item pds-pager__item--first" }, /* @__PURE__ */ e.createElement(
|
|
7214
7214
|
"a",
|
|
7215
7215
|
{
|
|
7216
7216
|
href: h[h.length - 1].link,
|
|
7217
7217
|
onClick: (v) => {
|
|
7218
|
-
p(v, 0),
|
|
7218
|
+
p(v, 0), u(0);
|
|
7219
7219
|
}
|
|
7220
7220
|
},
|
|
7221
7221
|
"First"
|
|
@@ -7224,7 +7224,7 @@ const R1 = (n) => {
|
|
|
7224
7224
|
{
|
|
7225
7225
|
href: h[h.length - 1].link,
|
|
7226
7226
|
onClick: (v) => {
|
|
7227
|
-
p(v, d - 1),
|
|
7227
|
+
p(v, d - 1), u(d - 1);
|
|
7228
7228
|
}
|
|
7229
7229
|
},
|
|
7230
7230
|
"Last"
|
|
@@ -7232,7 +7232,7 @@ const R1 = (n) => {
|
|
|
7232
7232
|
));
|
|
7233
7233
|
}, D1 = (n) => {
|
|
7234
7234
|
var s = M(n, []);
|
|
7235
|
-
const { currentKey: a, headingId: r, itemLength:
|
|
7235
|
+
const { currentKey: a, headingId: r, itemLength: u } = Ne(tt);
|
|
7236
7236
|
return /* @__PURE__ */ e.createElement(
|
|
7237
7237
|
"nav",
|
|
7238
7238
|
y({
|
|
@@ -7241,7 +7241,7 @@ const R1 = (n) => {
|
|
|
7241
7241
|
"aria-labelledby": r
|
|
7242
7242
|
}, s),
|
|
7243
7243
|
/* @__PURE__ */ e.createElement("div", { id: r, className: "visually-hidden" }, "Pagination"),
|
|
7244
|
-
/* @__PURE__ */ e.createElement("ul", { className: "pds-pager__items" }, a > 0 ? /* @__PURE__ */ e.createElement(Ze, { arrowText: "Previous", direction: "left" }) : null, /* @__PURE__ */ e.createElement("li", { className: "pds-pager__items-mini" }, `${a + 1} of ${
|
|
7244
|
+
/* @__PURE__ */ e.createElement("ul", { className: "pds-pager__items" }, a > 0 ? /* @__PURE__ */ e.createElement(Ze, { arrowText: "Previous", direction: "left" }) : null, /* @__PURE__ */ e.createElement("li", { className: "pds-pager__items-mini" }, `${a + 1} of ${u}`), a < u - 1 ? /* @__PURE__ */ e.createElement(Ze, { arrowText: "Next", direction: "right" }) : null)
|
|
7245
7245
|
);
|
|
7246
7246
|
}, q1 = (s, n, ...a) => {
|
|
7247
7247
|
switch (s) {
|
|
@@ -7252,13 +7252,13 @@ const R1 = (n) => {
|
|
|
7252
7252
|
case "advanced":
|
|
7253
7253
|
return /* @__PURE__ */ e.createElement(T1, y({}, a));
|
|
7254
7254
|
}
|
|
7255
|
-
}, A1 = (
|
|
7256
|
-
var d =
|
|
7255
|
+
}, A1 = (m) => {
|
|
7256
|
+
var d = m, {
|
|
7257
7257
|
buttonCallback: s = null,
|
|
7258
7258
|
headingId: n = "pager-heading",
|
|
7259
7259
|
pages: a,
|
|
7260
7260
|
paginationItemClickHandler: r = null,
|
|
7261
|
-
render:
|
|
7261
|
+
render: u = null,
|
|
7262
7262
|
type: c = "basic"
|
|
7263
7263
|
} = d, l = M(d, [
|
|
7264
7264
|
"buttonCallback",
|
|
@@ -7272,7 +7272,7 @@ const R1 = (n) => {
|
|
|
7272
7272
|
$s,
|
|
7273
7273
|
y({
|
|
7274
7274
|
pages: a,
|
|
7275
|
-
render:
|
|
7275
|
+
render: u,
|
|
7276
7276
|
paginationItemClickHandler: r,
|
|
7277
7277
|
buttonCallback: s,
|
|
7278
7278
|
headingId: n
|
|
@@ -7310,8 +7310,8 @@ A1.propTypes = {
|
|
|
7310
7310
|
*/
|
|
7311
7311
|
className: t.string
|
|
7312
7312
|
};
|
|
7313
|
-
const P1 = (
|
|
7314
|
-
var c =
|
|
7313
|
+
const P1 = (u) => {
|
|
7314
|
+
var c = u, {
|
|
7315
7315
|
children: s,
|
|
7316
7316
|
variant: n = "default",
|
|
7317
7317
|
className: a
|
|
@@ -7320,11 +7320,11 @@ const P1 = (m) => {
|
|
|
7320
7320
|
"variant",
|
|
7321
7321
|
"className"
|
|
7322
7322
|
]);
|
|
7323
|
-
const l = "pds-panel",
|
|
7323
|
+
const l = "pds-panel", m = `${l}--${n}`;
|
|
7324
7324
|
return /* @__PURE__ */ e.createElement(
|
|
7325
7325
|
"div",
|
|
7326
7326
|
y({
|
|
7327
|
-
className: [l,
|
|
7327
|
+
className: [l, m, a].join(" ").trim().replace(/\s+/g, " ")
|
|
7328
7328
|
}, r),
|
|
7329
7329
|
s
|
|
7330
7330
|
);
|
|
@@ -7355,11 +7355,11 @@ const Be = 8, Xt = 14, j1 = 6, B1 = (v) => {
|
|
|
7355
7355
|
customTrigger: n = !1,
|
|
7356
7356
|
hasCloseButton: a = !1,
|
|
7357
7357
|
offsetValue: r = 0,
|
|
7358
|
-
onClose:
|
|
7358
|
+
onClose: u = () => {
|
|
7359
7359
|
},
|
|
7360
7360
|
placement: c = "top",
|
|
7361
7361
|
title: l,
|
|
7362
|
-
triggerIcon:
|
|
7362
|
+
triggerIcon: m = "circleInfo",
|
|
7363
7363
|
triggerAccessibleText: d = "Show more information",
|
|
7364
7364
|
popoverIsOpen: o = !1,
|
|
7365
7365
|
setPopoverIsOpen: b = () => {
|
|
@@ -7392,8 +7392,8 @@ const Be = 8, Xt = 14, j1 = 6, B1 = (v) => {
|
|
|
7392
7392
|
].join(" ").trim().replace(/\s+/g, " "), f = n ? r : 0, N = X(null), { refs: k, floatingStyles: x, context: I, middlewareData: L } = Ve({
|
|
7393
7393
|
placement: c,
|
|
7394
7394
|
open: $,
|
|
7395
|
-
onOpenChange(
|
|
7396
|
-
g(
|
|
7395
|
+
onOpenChange(Y) {
|
|
7396
|
+
g(Y), Y || u();
|
|
7397
7397
|
},
|
|
7398
7398
|
middleware: [
|
|
7399
7399
|
ss(Be + j1 + f),
|
|
@@ -7403,7 +7403,7 @@ const Be = 8, Xt = 14, j1 = 6, B1 = (v) => {
|
|
|
7403
7403
|
],
|
|
7404
7404
|
whileElementsMounted: qe
|
|
7405
7405
|
}), V = () => {
|
|
7406
|
-
g(!1),
|
|
7406
|
+
g(!1), u && u();
|
|
7407
7407
|
}, w = et(I), O = Ie(I), H = Se(I), { getReferenceProps: S, getFloatingProps: P } = Te([
|
|
7408
7408
|
w,
|
|
7409
7409
|
O,
|
|
@@ -7412,13 +7412,13 @@ const Be = 8, Xt = 14, j1 = 6, B1 = (v) => {
|
|
|
7412
7412
|
initial: {
|
|
7413
7413
|
transform: "scale(0)"
|
|
7414
7414
|
},
|
|
7415
|
-
common: ({ side:
|
|
7415
|
+
common: ({ side: Y }) => ({
|
|
7416
7416
|
transformOrigin: {
|
|
7417
7417
|
top: `${A}px calc(100% + ${Be}px)`,
|
|
7418
7418
|
bottom: `${A}px ${-Be}px`,
|
|
7419
7419
|
left: `calc(100% + ${Be}px) ${F}px`,
|
|
7420
7420
|
right: `${-Be}px ${F}px`
|
|
7421
|
-
}[
|
|
7421
|
+
}[Y]
|
|
7422
7422
|
})
|
|
7423
7423
|
});
|
|
7424
7424
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -7435,7 +7435,7 @@ const Be = 8, Xt = 14, j1 = 6, B1 = (v) => {
|
|
|
7435
7435
|
n ? /* @__PURE__ */ e.createElement("span", { className: E }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), /* @__PURE__ */ e.createElement(
|
|
7436
7436
|
q,
|
|
7437
7437
|
{
|
|
7438
|
-
iconName:
|
|
7438
|
+
iconName: m,
|
|
7439
7439
|
className: `${C}__icon`,
|
|
7440
7440
|
iconSize: "md"
|
|
7441
7441
|
}
|
|
@@ -7535,10 +7535,10 @@ const F1 = (h) => {
|
|
|
7535
7535
|
actionSecondary: n,
|
|
7536
7536
|
hasComparisonList: a = !0,
|
|
7537
7537
|
onTierChange: r,
|
|
7538
|
-
planDescription:
|
|
7538
|
+
planDescription: u,
|
|
7539
7539
|
planName: c,
|
|
7540
7540
|
planPricingData: l,
|
|
7541
|
-
statusBadgeLabels:
|
|
7541
|
+
statusBadgeLabels: m = {
|
|
7542
7542
|
currentPlan: "Current plan",
|
|
7543
7543
|
mostPopular: "Most popular"
|
|
7544
7544
|
},
|
|
@@ -7689,11 +7689,11 @@ const F1 = (h) => {
|
|
|
7689
7689
|
{
|
|
7690
7690
|
className: `${i}__status-badge`,
|
|
7691
7691
|
type: o,
|
|
7692
|
-
label:
|
|
7692
|
+
label: m[o],
|
|
7693
7693
|
color: o === "mostPopular" ? "reverse" : "neutral"
|
|
7694
7694
|
}
|
|
7695
7695
|
),
|
|
7696
|
-
/* @__PURE__ */ e.createElement("div", { className: `${i}__main-content` }, c && /* @__PURE__ */ e.createElement("div", { className: `${i}__plan pds-overline-text` }, c), I,
|
|
7696
|
+
/* @__PURE__ */ e.createElement("div", { className: `${i}__main-content` }, c && /* @__PURE__ */ e.createElement("div", { className: `${i}__plan pds-overline-text` }, c), I, u && /* @__PURE__ */ e.createElement("div", { className: `${i}__description` }, u), w),
|
|
7697
7697
|
/* @__PURE__ */ e.createElement("div", { className: `${i}__actions` }, s && O, s && n && H)
|
|
7698
7698
|
),
|
|
7699
7699
|
a && L
|
|
@@ -7798,10 +7798,10 @@ const Qt = {
|
|
|
7798
7798
|
id: n,
|
|
7799
7799
|
label: a,
|
|
7800
7800
|
message: r,
|
|
7801
|
-
messagePosition:
|
|
7801
|
+
messagePosition: u = "below",
|
|
7802
7802
|
percentage: c,
|
|
7803
7803
|
showLabel: l = !1,
|
|
7804
|
-
showPercentage:
|
|
7804
|
+
showPercentage: m = !1,
|
|
7805
7805
|
size: d = "md",
|
|
7806
7806
|
className: o
|
|
7807
7807
|
} = h, b = M(h, [
|
|
@@ -7821,7 +7821,7 @@ const Qt = {
|
|
|
7821
7821
|
s.forEach((k) => {
|
|
7822
7822
|
c >= k.percentage && (C = k.colorType);
|
|
7823
7823
|
});
|
|
7824
|
-
const E = /* @__PURE__ */ e.createElement("div", { className: `${i}__message` }, r), f = r &&
|
|
7824
|
+
const E = /* @__PURE__ */ e.createElement("div", { className: `${i}__message` }, r), f = r && u === "above", N = r && u === "below";
|
|
7825
7825
|
return /* @__PURE__ */ e.createElement(
|
|
7826
7826
|
"div",
|
|
7827
7827
|
y({
|
|
@@ -7829,7 +7829,7 @@ const Qt = {
|
|
|
7829
7829
|
style: { "--bar-percentage": `${_}%` }
|
|
7830
7830
|
}, b),
|
|
7831
7831
|
/* @__PURE__ */ e.createElement("div", { id: v, className: $ }, a),
|
|
7832
|
-
(f ||
|
|
7832
|
+
(f || m) && /* @__PURE__ */ e.createElement("div", { className: `${i}__details` }, f && E, m && /* @__PURE__ */ e.createElement(
|
|
7833
7833
|
"div",
|
|
7834
7834
|
{
|
|
7835
7835
|
className: `${i}__percentage`,
|
|
@@ -7921,10 +7921,10 @@ const Z1 = 3.815, U1 = 4.678, G1 = 5.96, Ns = (o) => {
|
|
|
7921
7921
|
innerLabel: n,
|
|
7922
7922
|
label: a,
|
|
7923
7923
|
percentage: r,
|
|
7924
|
-
showLabel:
|
|
7924
|
+
showLabel: u = !1,
|
|
7925
7925
|
showPercentage: c = !1,
|
|
7926
7926
|
size: l = "md",
|
|
7927
|
-
className:
|
|
7927
|
+
className: m
|
|
7928
7928
|
} = b, d = M(b, [
|
|
7929
7929
|
"id",
|
|
7930
7930
|
"innerLabel",
|
|
@@ -7935,7 +7935,7 @@ const Z1 = 3.815, U1 = 4.678, G1 = 5.96, Ns = (o) => {
|
|
|
7935
7935
|
"size",
|
|
7936
7936
|
"className"
|
|
7937
7937
|
]);
|
|
7938
|
-
const p = s || xe(), h = "pds-progress-ring", v =
|
|
7938
|
+
const p = s || xe(), h = "pds-progress-ring", v = u ? `${h}__label` : "visually-hidden", i = `${h}__loading-text ${h}__loading-text--${l}`, $ = (x) => x * 16;
|
|
7939
7939
|
let g = $(U1), _ = 7;
|
|
7940
7940
|
l === "sm" && (g = $(Z1), _ = _ / 1.25), l === "lg" && (g = $(G1), _ = _ * 1.25);
|
|
7941
7941
|
const C = g / 2 - _ / 2, E = `${C / 100}rem`, f = 2 * Math.PI * C, N = f - f * r / 100;
|
|
@@ -7943,7 +7943,7 @@ const Z1 = 3.815, U1 = 4.678, G1 = 5.96, Ns = (o) => {
|
|
|
7943
7943
|
return n ? k = n : c ? k = `${r}%` : k = "", /* @__PURE__ */ e.createElement(
|
|
7944
7944
|
"div",
|
|
7945
7945
|
y({
|
|
7946
|
-
className: [h,
|
|
7946
|
+
className: [h, m].join(" ").trim().replace(/\s+/g, " "),
|
|
7947
7947
|
style: {
|
|
7948
7948
|
"--ring-stroke-dashoffset": N,
|
|
7949
7949
|
"--ring-stroke-dasharray": f
|
|
@@ -8039,13 +8039,13 @@ Ns.propTypes = {
|
|
|
8039
8039
|
className: t.string
|
|
8040
8040
|
};
|
|
8041
8041
|
const K1 = (l) => {
|
|
8042
|
-
var
|
|
8042
|
+
var m = l, {
|
|
8043
8043
|
attribution: s,
|
|
8044
8044
|
image: n,
|
|
8045
8045
|
layoutType: a = "stand-alone",
|
|
8046
8046
|
quote: r,
|
|
8047
|
-
className:
|
|
8048
|
-
} =
|
|
8047
|
+
className: u
|
|
8048
|
+
} = m, c = M(m, [
|
|
8049
8049
|
"attribution",
|
|
8050
8050
|
"image",
|
|
8051
8051
|
"layoutType",
|
|
@@ -8056,7 +8056,7 @@ const K1 = (l) => {
|
|
|
8056
8056
|
return /* @__PURE__ */ e.createElement(
|
|
8057
8057
|
"div",
|
|
8058
8058
|
y({
|
|
8059
|
-
className: [d, o,
|
|
8059
|
+
className: [d, o, u].join(" ").trim().replace(/\s+/g, " ")
|
|
8060
8060
|
}, c),
|
|
8061
8061
|
n && a === "stand-alone" && /* @__PURE__ */ e.createElement("div", { className: `${d}__image` }, /* @__PURE__ */ e.createElement("img", { src: n, alt: "" })),
|
|
8062
8062
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__quote-wrapper` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__icon ${d}__icon--before` }, /* @__PURE__ */ e.createElement(q, { iconName: "quotesLeft", iconSize: "4xl" })), /* @__PURE__ */ e.createElement("div", { className: `${d}__text-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
@@ -8100,10 +8100,10 @@ const Y1 = (p) => {
|
|
|
8100
8100
|
id: n,
|
|
8101
8101
|
initialSelection: a,
|
|
8102
8102
|
inputWidth: r,
|
|
8103
|
-
label:
|
|
8103
|
+
label: u,
|
|
8104
8104
|
message: c,
|
|
8105
8105
|
onChange: l,
|
|
8106
|
-
options:
|
|
8106
|
+
options: m,
|
|
8107
8107
|
required: d = !1,
|
|
8108
8108
|
className: o
|
|
8109
8109
|
} = h, b = M(h, [
|
|
@@ -8130,7 +8130,7 @@ const Y1 = (p) => {
|
|
|
8130
8130
|
inputFieldType: "radio-group",
|
|
8131
8131
|
inputWidth: r,
|
|
8132
8132
|
isFieldset: !0,
|
|
8133
|
-
label:
|
|
8133
|
+
label: u,
|
|
8134
8134
|
message: c,
|
|
8135
8135
|
required: d
|
|
8136
8136
|
},
|
|
@@ -8139,7 +8139,7 @@ const Y1 = (p) => {
|
|
|
8139
8139
|
y({
|
|
8140
8140
|
className: [v].join(" ").trim().replace(/\s+/g, " ")
|
|
8141
8141
|
}, b),
|
|
8142
|
-
/* @__PURE__ */ e.createElement("div", { className: `${v}__options` },
|
|
8142
|
+
/* @__PURE__ */ e.createElement("div", { className: `${v}__options` }, m.map((_, C) => /* @__PURE__ */ e.createElement(
|
|
8143
8143
|
"div",
|
|
8144
8144
|
{
|
|
8145
8145
|
className: `${v}__option`,
|
|
@@ -8237,10 +8237,10 @@ const Lt = {
|
|
|
8237
8237
|
id: n,
|
|
8238
8238
|
isDismissible: a,
|
|
8239
8239
|
onDismiss: r,
|
|
8240
|
-
message:
|
|
8240
|
+
message: u,
|
|
8241
8241
|
title: c,
|
|
8242
8242
|
type: l = "info",
|
|
8243
|
-
typeLabels:
|
|
8243
|
+
typeLabels: m = {
|
|
8244
8244
|
info: "Information",
|
|
8245
8245
|
success: "Success",
|
|
8246
8246
|
warning: "Warning",
|
|
@@ -8268,7 +8268,7 @@ const Lt = {
|
|
|
8268
8268
|
discovery: `${v}--discovery`,
|
|
8269
8269
|
dismissing: `${v}--dismissing`,
|
|
8270
8270
|
dismissed: `${v}--dismissed`
|
|
8271
|
-
}, $ = c ? `${v}--hasTitle` : null, _ = ["critical", "warning"].includes(l) ? "alert" : "status", C = `${
|
|
8271
|
+
}, $ = c ? `${v}--hasTitle` : null, _ = ["critical", "warning"].includes(l) ? "alert" : "status", C = `${m[l]}: `, E = () => {
|
|
8272
8272
|
h.current.addEventListener("animationend", f, {
|
|
8273
8273
|
once: !0
|
|
8274
8274
|
});
|
|
@@ -8292,7 +8292,7 @@ const Lt = {
|
|
|
8292
8292
|
{
|
|
8293
8293
|
iconName: `${l}` in Lt ? Lt[l] : Lt.info
|
|
8294
8294
|
}
|
|
8295
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), c && /* @__PURE__ */ e.createElement("div", { className: `${v}__title` }, c), /* @__PURE__ */ e.createElement("div", { className: `${v}__message` },
|
|
8295
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), c && /* @__PURE__ */ e.createElement("div", { className: `${v}__title` }, c), /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, u))),
|
|
8296
8296
|
a && /* @__PURE__ */ e.createElement(
|
|
8297
8297
|
"button",
|
|
8298
8298
|
{
|
|
@@ -8364,10 +8364,10 @@ const Q1 = (d) => {
|
|
|
8364
8364
|
toggle: "Toggle"
|
|
8365
8365
|
},
|
|
8366
8366
|
menuItems: r,
|
|
8367
|
-
mobileMenuMaxWidth:
|
|
8367
|
+
mobileMenuMaxWidth: u = 640,
|
|
8368
8368
|
mobileMenuSelectTextFallback: c = "Navigate to...",
|
|
8369
8369
|
className: l
|
|
8370
|
-
} = o,
|
|
8370
|
+
} = o, m = M(o, [
|
|
8371
8371
|
"ariaLabel",
|
|
8372
8372
|
"headingText",
|
|
8373
8373
|
"labels",
|
|
@@ -8377,12 +8377,12 @@ const Q1 = (d) => {
|
|
|
8377
8377
|
"className"
|
|
8378
8378
|
]);
|
|
8379
8379
|
const [b, p] = T(1025);
|
|
8380
|
-
|
|
8380
|
+
le(() => (p(window.innerWidth), window.addEventListener("resize", h), () => {
|
|
8381
8381
|
window.removeEventListener("resize", h);
|
|
8382
8382
|
}), []);
|
|
8383
8383
|
const h = () => {
|
|
8384
8384
|
p(window.innerWidth);
|
|
8385
|
-
}, v = b <=
|
|
8385
|
+
}, v = b <= u, i = "pds-side-nav", $ = (E) => {
|
|
8386
8386
|
const f = E.target;
|
|
8387
8387
|
f.classList.toggle(`${i}__toggle--expanded`), f.setAttribute(
|
|
8388
8388
|
"aria-expanded",
|
|
@@ -8440,7 +8440,7 @@ const Q1 = (d) => {
|
|
|
8440
8440
|
y({
|
|
8441
8441
|
"aria-label": s,
|
|
8442
8442
|
className: [i, l].join(" ").trim().replace(/\s+/g, " ")
|
|
8443
|
-
},
|
|
8443
|
+
}, m),
|
|
8444
8444
|
v ? _ : C
|
|
8445
8445
|
);
|
|
8446
8446
|
};
|
|
@@ -8486,10 +8486,10 @@ const J1 = (d) => {
|
|
|
8486
8486
|
toggle: "Toggle"
|
|
8487
8487
|
},
|
|
8488
8488
|
menuItems: r,
|
|
8489
|
-
mobileMenuMaxWidth:
|
|
8489
|
+
mobileMenuMaxWidth: u = 640,
|
|
8490
8490
|
mobileMenuSelectTextFallback: c = "Navigate to...",
|
|
8491
8491
|
className: l
|
|
8492
|
-
} = o,
|
|
8492
|
+
} = o, m = M(o, [
|
|
8493
8493
|
"ariaLabel",
|
|
8494
8494
|
"headingText",
|
|
8495
8495
|
"labels",
|
|
@@ -8499,12 +8499,12 @@ const J1 = (d) => {
|
|
|
8499
8499
|
"className"
|
|
8500
8500
|
]);
|
|
8501
8501
|
const [b, p] = T(1025);
|
|
8502
|
-
|
|
8502
|
+
le(() => (p(window.innerWidth), window.addEventListener("resize", h), () => {
|
|
8503
8503
|
window.removeEventListener("resize", h);
|
|
8504
8504
|
}), []);
|
|
8505
8505
|
const h = () => {
|
|
8506
8506
|
p(window.innerWidth);
|
|
8507
|
-
}, v = b <=
|
|
8507
|
+
}, v = b <= u, i = "pds-side-nav-compact", $ = (E) => {
|
|
8508
8508
|
const f = E.target;
|
|
8509
8509
|
f.classList.toggle(`${i}__toggle--expanded`), f.setAttribute(
|
|
8510
8510
|
"aria-expanded",
|
|
@@ -8585,7 +8585,7 @@ const J1 = (d) => {
|
|
|
8585
8585
|
y({
|
|
8586
8586
|
"aria-label": s,
|
|
8587
8587
|
className: [i, l].join(" ").trim().replace(/\s+/g, " ")
|
|
8588
|
-
},
|
|
8588
|
+
}, m),
|
|
8589
8589
|
v ? _ : C
|
|
8590
8590
|
);
|
|
8591
8591
|
};
|
|
@@ -8628,10 +8628,10 @@ const en = (o) => {
|
|
|
8628
8628
|
gotoText: n = "Go to",
|
|
8629
8629
|
siteImage: a,
|
|
8630
8630
|
siteLink: r,
|
|
8631
|
-
siteName:
|
|
8631
|
+
siteName: u,
|
|
8632
8632
|
sitePlan: c,
|
|
8633
8633
|
siteStatus: l,
|
|
8634
|
-
className:
|
|
8634
|
+
className: m
|
|
8635
8635
|
} = b, d = M(b, [
|
|
8636
8636
|
"headingLevel",
|
|
8637
8637
|
"gotoText",
|
|
@@ -8656,11 +8656,11 @@ const en = (o) => {
|
|
|
8656
8656
|
return /* @__PURE__ */ e.createElement(
|
|
8657
8657
|
$,
|
|
8658
8658
|
y(y({
|
|
8659
|
-
"aria-label": `${n} ${
|
|
8660
|
-
className: [p,
|
|
8659
|
+
"aria-label": `${n} ${u} dashboard`,
|
|
8660
|
+
className: [p, m].join(" ").trim().replace(/\s+/g, " ")
|
|
8661
8661
|
}, r.props), d),
|
|
8662
8662
|
/* @__PURE__ */ e.createElement("div", { className: `${p}__image` }, /* @__PURE__ */ e.createElement("img", { src: a, alt: "" })),
|
|
8663
|
-
/* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__heading` }, /* @__PURE__ */ e.createElement(h, { className: `${p}__site-name pds-ts-l`, title:
|
|
8663
|
+
/* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__heading` }, /* @__PURE__ */ e.createElement(h, { className: `${p}__site-name pds-ts-l`, title: u }, u), i), /* @__PURE__ */ e.createElement("div", { className: `${p}__plan` }, c))
|
|
8664
8664
|
);
|
|
8665
8665
|
};
|
|
8666
8666
|
en.propTypes = {
|
|
@@ -8709,19 +8709,19 @@ const tn = (c) => {
|
|
|
8709
8709
|
"accessibilityStatement"
|
|
8710
8710
|
],
|
|
8711
8711
|
className: r
|
|
8712
|
-
} = l,
|
|
8712
|
+
} = l, u = M(l, [
|
|
8713
8713
|
"containerWidth",
|
|
8714
8714
|
"children",
|
|
8715
8715
|
"legalLinks",
|
|
8716
8716
|
"className"
|
|
8717
8717
|
]);
|
|
8718
|
-
const
|
|
8718
|
+
const m = "pds-site-footer", d = s && s !== "default" ? `pds-container pds-container--${s}` : "pds-container", o = (/* @__PURE__ */ new Date()).getFullYear(), b = a.includes("privacy"), p = a.includes("dataSubjectRequest"), h = a.includes("cookiePolicy"), v = a.includes("termsOfUse"), i = a.includes("accessibilityStatement");
|
|
8719
8719
|
return /* @__PURE__ */ e.createElement(
|
|
8720
8720
|
"footer",
|
|
8721
8721
|
y({
|
|
8722
|
-
className: [
|
|
8723
|
-
},
|
|
8724
|
-
/* @__PURE__ */ e.createElement("div", { className: d }, n && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
8722
|
+
className: [m, r].join(" ").trim().replace(/\s+/g, " ")
|
|
8723
|
+
}, u),
|
|
8724
|
+
/* @__PURE__ */ e.createElement("div", { className: d }, n && /* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${m}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${m}__copyright` }, "© ", o, " Pantheon Systems, Inc."), b && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), p && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), h && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), v && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), i && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement")))
|
|
8725
8725
|
);
|
|
8726
8726
|
};
|
|
8727
8727
|
tn.propTypes = {
|
|
@@ -8751,10 +8751,10 @@ tn.propTypes = {
|
|
|
8751
8751
|
className: t.string
|
|
8752
8752
|
};
|
|
8753
8753
|
const sn = (r) => {
|
|
8754
|
-
var
|
|
8754
|
+
var u = r, {
|
|
8755
8755
|
linkItems: s = ["facebook", "x", "linkedin", "youtube", "instagram"],
|
|
8756
8756
|
className: n
|
|
8757
|
-
} =
|
|
8757
|
+
} = u, a = M(u, [
|
|
8758
8758
|
"linkItems",
|
|
8759
8759
|
"className"
|
|
8760
8760
|
]);
|
|
@@ -8764,7 +8764,7 @@ const sn = (r) => {
|
|
|
8764
8764
|
y({
|
|
8765
8765
|
className: [c, n].join(" ").trim().replace(/\s+/g, " ")
|
|
8766
8766
|
}, a),
|
|
8767
|
-
s.map((l,
|
|
8767
|
+
s.map((l, m) => /* @__PURE__ */ e.createElement("li", { key: m, className: `${c}__item` }, /* @__PURE__ */ e.createElement(
|
|
8768
8768
|
"a",
|
|
8769
8769
|
{
|
|
8770
8770
|
href: zt[l].url,
|
|
@@ -8817,13 +8817,13 @@ const zt = {
|
|
|
8817
8817
|
url: "https://www.youtube.com/user/GetPantheon",
|
|
8818
8818
|
label: "Pantheon on YouTube"
|
|
8819
8819
|
}
|
|
8820
|
-
}, nn = (
|
|
8821
|
-
var d =
|
|
8820
|
+
}, nn = (m) => {
|
|
8821
|
+
var d = m, {
|
|
8822
8822
|
actionItems: s,
|
|
8823
8823
|
disabled: n,
|
|
8824
8824
|
moreActionsLabel: a = "More actions",
|
|
8825
8825
|
size: r = "md",
|
|
8826
|
-
variant:
|
|
8826
|
+
variant: u = "primary",
|
|
8827
8827
|
className: c
|
|
8828
8828
|
} = d, l = M(d, [
|
|
8829
8829
|
"actionItems",
|
|
@@ -8833,14 +8833,14 @@ const zt = {
|
|
|
8833
8833
|
"variant",
|
|
8834
8834
|
"className"
|
|
8835
8835
|
]);
|
|
8836
|
-
const o = "pds-split-button", b = `${o}--${
|
|
8836
|
+
const o = "pds-split-button", b = `${o}--${u}`, p = s[0], h = s.slice(1);
|
|
8837
8837
|
let v = null;
|
|
8838
8838
|
return p.isLink === !0 ? v = /* @__PURE__ */ e.createElement(
|
|
8839
8839
|
We,
|
|
8840
8840
|
{
|
|
8841
8841
|
className: `${o}__primary-action`,
|
|
8842
8842
|
size: r,
|
|
8843
|
-
variant:
|
|
8843
|
+
variant: u,
|
|
8844
8844
|
displayType: "label-only",
|
|
8845
8845
|
disabled: n,
|
|
8846
8846
|
linkContent: p.linkContent
|
|
@@ -8851,7 +8851,7 @@ const zt = {
|
|
|
8851
8851
|
className: `${o}__primary-action`,
|
|
8852
8852
|
label: p.label,
|
|
8853
8853
|
size: r,
|
|
8854
|
-
variant:
|
|
8854
|
+
variant: u,
|
|
8855
8855
|
disabled: n,
|
|
8856
8856
|
onClick: () => p.callback(p)
|
|
8857
8857
|
}
|
|
@@ -8867,7 +8867,7 @@ const zt = {
|
|
|
8867
8867
|
className: `${o}__menu-button`,
|
|
8868
8868
|
label: a,
|
|
8869
8869
|
size: r,
|
|
8870
|
-
variant:
|
|
8870
|
+
variant: u,
|
|
8871
8871
|
menuItems: h,
|
|
8872
8872
|
displayType: "icon-end",
|
|
8873
8873
|
isSplitButton: !0,
|
|
@@ -8905,8 +8905,8 @@ nn.propTypes = {
|
|
|
8905
8905
|
className: t.string
|
|
8906
8906
|
};
|
|
8907
8907
|
const an = (r) => {
|
|
8908
|
-
var
|
|
8909
|
-
const c = "pds-tile-list", l = "pds-tile-list--stats",
|
|
8908
|
+
var u = r, { listItems: s, className: n } = u, a = M(u, ["listItems", "className"]);
|
|
8909
|
+
const c = "pds-tile-list", l = "pds-tile-list--stats", m = ({ item: d }) => {
|
|
8910
8910
|
const { imageSrc: o, stat: b, description: p } = d;
|
|
8911
8911
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}__item` }, o && /* @__PURE__ */ e.createElement("div", { className: `${c}__image` }, /* @__PURE__ */ e.createElement("img", { src: o, alt: "" })), b && /* @__PURE__ */ e.createElement("dt", { className: `${c}__stat` }, b), p && /* @__PURE__ */ e.createElement("dd", { className: `${c}__description` }, p)), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" }));
|
|
8912
8912
|
};
|
|
@@ -8915,7 +8915,7 @@ const an = (r) => {
|
|
|
8915
8915
|
y({
|
|
8916
8916
|
className: [c, l, n].join(" ").trim()
|
|
8917
8917
|
}, a),
|
|
8918
|
-
s.map((d, o) => /* @__PURE__ */ e.createElement(
|
|
8918
|
+
s.map((d, o) => /* @__PURE__ */ e.createElement(m, { key: o, item: d }))
|
|
8919
8919
|
);
|
|
8920
8920
|
};
|
|
8921
8921
|
an.propTypes = {
|
|
@@ -8943,8 +8943,8 @@ an.propTypes = {
|
|
|
8943
8943
|
*/
|
|
8944
8944
|
className: t.string
|
|
8945
8945
|
};
|
|
8946
|
-
const ln = (
|
|
8947
|
-
var c =
|
|
8946
|
+
const ln = (u) => {
|
|
8947
|
+
var c = u, {
|
|
8948
8948
|
label: s = null,
|
|
8949
8949
|
type: n = "neutral",
|
|
8950
8950
|
className: a
|
|
@@ -8953,11 +8953,11 @@ const ln = (m) => {
|
|
|
8953
8953
|
"type",
|
|
8954
8954
|
"className"
|
|
8955
8955
|
]);
|
|
8956
|
-
const l = "pds-status-indicator",
|
|
8956
|
+
const l = "pds-status-indicator", m = `${l}--${n}`;
|
|
8957
8957
|
return /* @__PURE__ */ e.createElement(
|
|
8958
8958
|
"div",
|
|
8959
8959
|
y({
|
|
8960
|
-
className: [l,
|
|
8960
|
+
className: [l, m, a].join(" ").trim().replace(/\s+/g, " ")
|
|
8961
8961
|
}, r),
|
|
8962
8962
|
n === "working" ? /* @__PURE__ */ e.createElement(
|
|
8963
8963
|
lt,
|
|
@@ -8992,8 +8992,8 @@ ln.propTypes = {
|
|
|
8992
8992
|
*/
|
|
8993
8993
|
className: t.string
|
|
8994
8994
|
};
|
|
8995
|
-
const rn = (
|
|
8996
|
-
var c =
|
|
8995
|
+
const rn = (u) => {
|
|
8996
|
+
var c = u, {
|
|
8997
8997
|
steps: s,
|
|
8998
8998
|
translatableLabels: n = {
|
|
8999
8999
|
step: "Step",
|
|
@@ -9007,7 +9007,7 @@ const rn = (m) => {
|
|
|
9007
9007
|
"translatableLabels",
|
|
9008
9008
|
"className"
|
|
9009
9009
|
]);
|
|
9010
|
-
const l = "pds-stepper",
|
|
9010
|
+
const l = "pds-stepper", m = "pds-stepper-mobile", d = X(), [o] = at(d), b = o.width, p = getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "") * 16, h = -40, v = 2, i = 5, $ = s.length, g = s.findLastIndex((E) => E.isCurrent), _ = s.map((E, f) => {
|
|
9011
9011
|
const N = f + 1, k = f === g, x = f < g, I = E.hasError && k, V = (b - $ * p) / ($ + ($ - 2)), w = p + V * 2, O = p + V, H = V + h * -1, S = f === 0, P = f === $ - 1;
|
|
9012
9012
|
let R = w;
|
|
9013
9013
|
(S || P) && (R = O);
|
|
@@ -9082,9 +9082,9 @@ const rn = (m) => {
|
|
|
9082
9082
|
{
|
|
9083
9083
|
key: E.id,
|
|
9084
9084
|
id: `${E.id}--mobile`,
|
|
9085
|
-
className: `${
|
|
9085
|
+
className: `${m}__step`
|
|
9086
9086
|
},
|
|
9087
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
9087
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__progress-indicator` }, /* @__PURE__ */ e.createElement(
|
|
9088
9088
|
Ns,
|
|
9089
9089
|
{
|
|
9090
9090
|
label: "Step progress",
|
|
@@ -9094,14 +9094,14 @@ const rn = (m) => {
|
|
|
9094
9094
|
style: O
|
|
9095
9095
|
}
|
|
9096
9096
|
)),
|
|
9097
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
9097
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__step-text` }, /* @__PURE__ */ e.createElement("div", { className: `${m}__step-label` }, I && /* @__PURE__ */ e.createElement(e.Fragment, null, H, /* @__PURE__ */ e.createElement(
|
|
9098
9098
|
q,
|
|
9099
9099
|
{
|
|
9100
9100
|
iconName: "diamondExclamation",
|
|
9101
9101
|
iconSize: "md",
|
|
9102
|
-
className: `${
|
|
9102
|
+
className: `${m}__error-icon`
|
|
9103
9103
|
}
|
|
9104
|
-
)), E.label), !x && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
9104
|
+
)), E.label), !x && /* @__PURE__ */ e.createElement("div", { className: `${m}__next-step` }, `${n.next}: ${L}`))
|
|
9105
9105
|
);
|
|
9106
9106
|
}
|
|
9107
9107
|
});
|
|
@@ -9116,10 +9116,10 @@ const rn = (m) => {
|
|
|
9116
9116
|
), /* @__PURE__ */ e.createElement(
|
|
9117
9117
|
"div",
|
|
9118
9118
|
y({
|
|
9119
|
-
className: [
|
|
9119
|
+
className: [m, a].join(" ").trim().replace(/\s+/g, " "),
|
|
9120
9120
|
"data-steps": $
|
|
9121
9121
|
}, r),
|
|
9122
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
9122
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__steps` }, C)
|
|
9123
9123
|
));
|
|
9124
9124
|
};
|
|
9125
9125
|
rn.propTypes = {
|
|
@@ -9164,14 +9164,14 @@ rn.propTypes = {
|
|
|
9164
9164
|
*/
|
|
9165
9165
|
className: t.string
|
|
9166
9166
|
};
|
|
9167
|
-
const cn = (
|
|
9168
|
-
var c =
|
|
9169
|
-
const [l] = T(s), [
|
|
9170
|
-
d(
|
|
9167
|
+
const cn = (u) => {
|
|
9168
|
+
var c = u, { headers: s, rowData: n, className: a } = c, r = M(c, ["headers", "rowData", "className"]);
|
|
9169
|
+
const [l] = T(s), [m, d] = T(n), [o, b] = T({ order: "asc", key: "" }), p = (g) => {
|
|
9170
|
+
d(m.sort((_, C) => _[g].localeCompare(C[g]))), b({ order: "desc", key: g });
|
|
9171
9171
|
}, h = (g) => {
|
|
9172
|
-
d(
|
|
9172
|
+
d(m.sort((_, C) => C[g].localeCompare(_[g]))), b({ order: "asc", key: g });
|
|
9173
9173
|
}, v = (g, _) => {
|
|
9174
|
-
b(
|
|
9174
|
+
b($e(y({}, o), { key: _ })), o.order === "asc" ? p(_) : h(_);
|
|
9175
9175
|
}, i = (g, _) => /* @__PURE__ */ e.createElement("tr", { id: _, key: `table-row-${_}` }, g.map((C, E) => /* @__PURE__ */ e.createElement("td", { key: `${_}-cell-${E}` }, /* @__PURE__ */ e.createElement("span", null, C)))), $ = "pds-table";
|
|
9176
9176
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
9177
9177
|
"table",
|
|
@@ -9207,7 +9207,7 @@ const cn = (m) => {
|
|
|
9207
9207
|
/* @__PURE__ */ e.createElement(q, { iconName: "caretDown", iconSize: "sm" })
|
|
9208
9208
|
)
|
|
9209
9209
|
)) : /* @__PURE__ */ e.createElement("span", null, g.title))))),
|
|
9210
|
-
/* @__PURE__ */ e.createElement("tbody", null,
|
|
9210
|
+
/* @__PURE__ */ e.createElement("tbody", null, m.map((g, _) => i(g, _)))
|
|
9211
9211
|
));
|
|
9212
9212
|
};
|
|
9213
9213
|
cn.propTypes = {
|
|
@@ -9224,10 +9224,10 @@ const on = (o) => {
|
|
|
9224
9224
|
ariaLabel: n = "Table of contents",
|
|
9225
9225
|
headingLevel: a = "h2",
|
|
9226
9226
|
headingText: r = "Table of contents",
|
|
9227
|
-
ignoreClass:
|
|
9227
|
+
ignoreClass: u = "pds-toc-ignore",
|
|
9228
9228
|
showHeading: c = !1,
|
|
9229
9229
|
sourceID: l = "pds-toc-source",
|
|
9230
|
-
className:
|
|
9230
|
+
className: m
|
|
9231
9231
|
} = b, d = M(b, [
|
|
9232
9232
|
"appendIds",
|
|
9233
9233
|
"ariaLabel",
|
|
@@ -9256,9 +9256,9 @@ const on = (o) => {
|
|
|
9256
9256
|
"=",
|
|
9257
9257
|
"|",
|
|
9258
9258
|
"~"
|
|
9259
|
-
], i = `#${l} h2:not(.${
|
|
9259
|
+
], i = `#${l} h2:not(.${u}), h3:not(.${u})`, $ = () => {
|
|
9260
9260
|
const [L, V] = T([]);
|
|
9261
|
-
return
|
|
9261
|
+
return le(() => {
|
|
9262
9262
|
const w = Array.from(
|
|
9263
9263
|
document.querySelectorAll(i)
|
|
9264
9264
|
);
|
|
@@ -9285,7 +9285,7 @@ const on = (o) => {
|
|
|
9285
9285
|
}, { nestedHeadings: _ } = $(), [C, E] = T();
|
|
9286
9286
|
((L) => {
|
|
9287
9287
|
const V = X({});
|
|
9288
|
-
|
|
9288
|
+
le(() => {
|
|
9289
9289
|
const w = (S) => {
|
|
9290
9290
|
V.current = S.reduce((j, A) => (j[A.target.id] = A, j), V.current);
|
|
9291
9291
|
const P = [];
|
|
@@ -9352,7 +9352,7 @@ const on = (o) => {
|
|
|
9352
9352
|
"nav",
|
|
9353
9353
|
y({
|
|
9354
9354
|
"aria-label": n,
|
|
9355
|
-
className: [p,
|
|
9355
|
+
className: [p, m].join(" ").trim().replace(/\s+/g, " ")
|
|
9356
9356
|
}, d),
|
|
9357
9357
|
r && /* @__PURE__ */ e.createElement(
|
|
9358
9358
|
h,
|
|
@@ -9399,13 +9399,13 @@ on.propTypes = {
|
|
|
9399
9399
|
className: t.string
|
|
9400
9400
|
};
|
|
9401
9401
|
const dn = (l) => {
|
|
9402
|
-
var
|
|
9402
|
+
var m = l, {
|
|
9403
9403
|
ariaLabel: s,
|
|
9404
9404
|
defaultSelected: n = 0,
|
|
9405
9405
|
size: a = "md",
|
|
9406
9406
|
tabs: r,
|
|
9407
|
-
className:
|
|
9408
|
-
} =
|
|
9407
|
+
className: u
|
|
9408
|
+
} = m, c = M(m, [
|
|
9409
9409
|
"ariaLabel",
|
|
9410
9410
|
"defaultSelected",
|
|
9411
9411
|
"size",
|
|
@@ -9416,7 +9416,7 @@ const dn = (l) => {
|
|
|
9416
9416
|
const _ = g.currentTarget.getAttribute("data-tabnumber");
|
|
9417
9417
|
p(_);
|
|
9418
9418
|
}, v = e.useRef([]);
|
|
9419
|
-
|
|
9419
|
+
le(() => {
|
|
9420
9420
|
let g = v.current.length - 1;
|
|
9421
9421
|
if (parseInt(b) > parseInt(g)) {
|
|
9422
9422
|
p(0);
|
|
@@ -9455,7 +9455,7 @@ const dn = (l) => {
|
|
|
9455
9455
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
9456
9456
|
"div",
|
|
9457
9457
|
{
|
|
9458
|
-
className: [d, o,
|
|
9458
|
+
className: [d, o, u].join(" ").trim().replace(/\s+/g, " ")
|
|
9459
9459
|
},
|
|
9460
9460
|
/* @__PURE__ */ e.createElement(
|
|
9461
9461
|
"div",
|
|
@@ -9613,10 +9613,10 @@ const mn = (s) => {
|
|
|
9613
9613
|
isRemovable: n,
|
|
9614
9614
|
onRemove: a,
|
|
9615
9615
|
removeLabel: r = "Remove tag",
|
|
9616
|
-
tagColor:
|
|
9616
|
+
tagColor: u,
|
|
9617
9617
|
tagLabel: c,
|
|
9618
9618
|
className: l
|
|
9619
|
-
} = o,
|
|
9619
|
+
} = o, m = M(o, [
|
|
9620
9620
|
"linkContent",
|
|
9621
9621
|
"isRemovable",
|
|
9622
9622
|
"onRemove",
|
|
@@ -9625,7 +9625,7 @@ const mn = (s) => {
|
|
|
9625
9625
|
"tagLabel",
|
|
9626
9626
|
"className"
|
|
9627
9627
|
]);
|
|
9628
|
-
const [b, p] = T(!0), h = "pds-tag", v =
|
|
9628
|
+
const [b, p] = T(!0), h = "pds-tag", v = u ? `${h}--${u}` : `${h}--${mn(c)}`, i = b ? null : "pds-tag--hide", $ = () => {
|
|
9629
9629
|
p((E) => !E);
|
|
9630
9630
|
};
|
|
9631
9631
|
let g, _, C;
|
|
@@ -9635,7 +9635,7 @@ const mn = (s) => {
|
|
|
9635
9635
|
href: _ === "href" ? C : null,
|
|
9636
9636
|
to: _ === "to" ? C : null,
|
|
9637
9637
|
className: [h, v, i, l].join(" ").trim().replace(/\s+/g, " ")
|
|
9638
|
-
},
|
|
9638
|
+
}, m),
|
|
9639
9639
|
/* @__PURE__ */ e.createElement("span", { className: `${h}__label`, title: c }, un(c, 20)),
|
|
9640
9640
|
n ? /* @__PURE__ */ e.createElement(
|
|
9641
9641
|
"button",
|
|
@@ -9681,17 +9681,45 @@ pn.propTypes = {
|
|
|
9681
9681
|
*/
|
|
9682
9682
|
className: t.string
|
|
9683
9683
|
};
|
|
9684
|
-
const
|
|
9684
|
+
const qn = (c) => {
|
|
9685
|
+
var l = c, {
|
|
9686
|
+
label: s,
|
|
9687
|
+
type: n = "neutral",
|
|
9688
|
+
typeLabels: a = {
|
|
9689
|
+
info: "Information",
|
|
9690
|
+
success: "Success",
|
|
9691
|
+
warning: "Warning",
|
|
9692
|
+
critical: "Critical",
|
|
9693
|
+
neutral: "Neutral"
|
|
9694
|
+
},
|
|
9695
|
+
className: r
|
|
9696
|
+
} = l, u = M(l, [
|
|
9697
|
+
"label",
|
|
9698
|
+
"type",
|
|
9699
|
+
"typeLabels",
|
|
9700
|
+
"className"
|
|
9701
|
+
]);
|
|
9702
|
+
const m = "pds-tally", d = `${m}--${n}`, b = ["critical", "warning"].includes(n) ? "alert" : "status", p = `${a[n]} notifications: `;
|
|
9703
|
+
return /* @__PURE__ */ e.createElement(
|
|
9704
|
+
"div",
|
|
9705
|
+
$e(y({
|
|
9706
|
+
className: [m, d, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
9707
|
+
}, u), {
|
|
9708
|
+
role: b
|
|
9709
|
+
}),
|
|
9710
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, p), s)
|
|
9711
|
+
);
|
|
9712
|
+
}, gn = (g) => {
|
|
9685
9713
|
var _ = g, {
|
|
9686
9714
|
counterFunction: s = () => {
|
|
9687
9715
|
},
|
|
9688
9716
|
disabled: n = !1,
|
|
9689
9717
|
id: a,
|
|
9690
9718
|
initialValue: r = "",
|
|
9691
|
-
inputWidth:
|
|
9719
|
+
inputWidth: u,
|
|
9692
9720
|
isResizable: c = !0,
|
|
9693
9721
|
label: l,
|
|
9694
|
-
message:
|
|
9722
|
+
message: m,
|
|
9695
9723
|
onChange: d,
|
|
9696
9724
|
placeholder: o,
|
|
9697
9725
|
readonly: b = !1,
|
|
@@ -9717,7 +9745,7 @@ const gn = (g) => {
|
|
|
9717
9745
|
"className"
|
|
9718
9746
|
]);
|
|
9719
9747
|
const [C, E] = T(r), [f, N] = T(s("")), [k, x] = T(), [I, L] = T(null), V = X(null), w = "pds-textarea", O = c ? "pds-is-resizable" : null;
|
|
9720
|
-
|
|
9748
|
+
le(() => {
|
|
9721
9749
|
r && s && N(s(r));
|
|
9722
9750
|
}, []);
|
|
9723
9751
|
const H = () => {
|
|
@@ -9730,7 +9758,7 @@ const gn = (g) => {
|
|
|
9730
9758
|
H(), A.error && L("error"), A.success && L("success"), x(A.message);
|
|
9731
9759
|
}
|
|
9732
9760
|
d && d(C);
|
|
9733
|
-
}, R = k ||
|
|
9761
|
+
}, R = k || m;
|
|
9734
9762
|
return /* @__PURE__ */ e.createElement(
|
|
9735
9763
|
Oe,
|
|
9736
9764
|
{
|
|
@@ -9738,7 +9766,7 @@ const gn = (g) => {
|
|
|
9738
9766
|
disabled: n,
|
|
9739
9767
|
id: a,
|
|
9740
9768
|
inputFieldType: "textarea",
|
|
9741
|
-
inputWidth:
|
|
9769
|
+
inputWidth: u,
|
|
9742
9770
|
label: l,
|
|
9743
9771
|
message: R,
|
|
9744
9772
|
readonly: b,
|
|
@@ -9852,10 +9880,10 @@ const ws = (d) => {
|
|
|
9852
9880
|
headingLevel: n = "span",
|
|
9853
9881
|
headingText: a,
|
|
9854
9882
|
imageSrc: r,
|
|
9855
|
-
linkContent:
|
|
9883
|
+
linkContent: u,
|
|
9856
9884
|
summary: c,
|
|
9857
9885
|
className: l
|
|
9858
|
-
} = o,
|
|
9886
|
+
} = o, m = M(o, [
|
|
9859
9887
|
"displayType",
|
|
9860
9888
|
"headingLevel",
|
|
9861
9889
|
"headingText",
|
|
@@ -9869,14 +9897,14 @@ const ws = (d) => {
|
|
|
9869
9897
|
"div",
|
|
9870
9898
|
y({
|
|
9871
9899
|
className: [b, p, l].join(" ").trim().replace(/\s+/g, " ")
|
|
9872
|
-
},
|
|
9900
|
+
}, m),
|
|
9873
9901
|
r && /* @__PURE__ */ e.createElement("div", { className: `${b}__image` }, /* @__PURE__ */ e.createElement("img", { src: r, alt: "" })),
|
|
9874
9902
|
a && /* @__PURE__ */ e.createElement(h, { className: `${b}__heading pds-ts-xl` }, a),
|
|
9875
9903
|
c && /* @__PURE__ */ e.createElement("div", { className: `${b}__summary` }, /* @__PURE__ */ e.createElement("p", null, c)),
|
|
9876
|
-
|
|
9904
|
+
u && (s == "border" || s == "clean") && /* @__PURE__ */ e.createElement(
|
|
9877
9905
|
ps,
|
|
9878
9906
|
{
|
|
9879
|
-
linkContent:
|
|
9907
|
+
linkContent: u,
|
|
9880
9908
|
size: "sm",
|
|
9881
9909
|
className: `${b}__cta`
|
|
9882
9910
|
}
|
|
@@ -9919,18 +9947,18 @@ const hn = (c) => {
|
|
|
9919
9947
|
headingLevel: n = "h2",
|
|
9920
9948
|
tiles: a,
|
|
9921
9949
|
className: r
|
|
9922
|
-
} = l,
|
|
9950
|
+
} = l, u = M(l, [
|
|
9923
9951
|
"displayType",
|
|
9924
9952
|
"headingLevel",
|
|
9925
9953
|
"tiles",
|
|
9926
9954
|
"className"
|
|
9927
9955
|
]);
|
|
9928
|
-
const
|
|
9956
|
+
const m = "pds-tile-grid", d = `${m}--${s}`;
|
|
9929
9957
|
return /* @__PURE__ */ e.createElement(
|
|
9930
9958
|
"div",
|
|
9931
9959
|
y({
|
|
9932
|
-
className: [
|
|
9933
|
-
},
|
|
9960
|
+
className: [m, d, r].join(" ").trim()
|
|
9961
|
+
}, u),
|
|
9934
9962
|
a.map((o, b) => /* @__PURE__ */ e.createElement(
|
|
9935
9963
|
ws,
|
|
9936
9964
|
{
|
|
@@ -10003,7 +10031,7 @@ const Mt = {
|
|
|
10003
10031
|
critical: "Critical",
|
|
10004
10032
|
working: "Working..."
|
|
10005
10033
|
},
|
|
10006
|
-
className:
|
|
10034
|
+
className: u
|
|
10007
10035
|
}) => {
|
|
10008
10036
|
const c = "pds-toast", l = {
|
|
10009
10037
|
info: `${c}--info`,
|
|
@@ -10014,11 +10042,11 @@ const Mt = {
|
|
|
10014
10042
|
dismissing: `${c}--dismissing`,
|
|
10015
10043
|
dismissed: `${c}--dismissed`,
|
|
10016
10044
|
transition: `${c}--transition`
|
|
10017
|
-
},
|
|
10045
|
+
}, m = `${r[a]} `;
|
|
10018
10046
|
return /* @__PURE__ */ e.createElement(
|
|
10019
10047
|
"div",
|
|
10020
10048
|
{
|
|
10021
|
-
className: [c, l[a],
|
|
10049
|
+
className: [c, l[a], u].join(" ").trim().replace(/\s+/g, " "),
|
|
10022
10050
|
id: n
|
|
10023
10051
|
},
|
|
10024
10052
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__icon-container` }, a === "working" ? /* @__PURE__ */ e.createElement(lt, { colorType: "monochromatic", size: "lg" }) : /* @__PURE__ */ e.createElement(
|
|
@@ -10028,7 +10056,7 @@ const Mt = {
|
|
|
10028
10056
|
className: `${c}__icon ${c}__icon--${a}`
|
|
10029
10057
|
}
|
|
10030
10058
|
)),
|
|
10031
|
-
/* @__PURE__ */ e.createElement("div", { className: `${c}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
10059
|
+
/* @__PURE__ */ e.createElement("div", { className: `${c}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), s)
|
|
10032
10060
|
);
|
|
10033
10061
|
};
|
|
10034
10062
|
ks.propTypes = {
|
|
@@ -10099,13 +10127,13 @@ fn.propTypes = {
|
|
|
10099
10127
|
*/
|
|
10100
10128
|
className: t.string
|
|
10101
10129
|
};
|
|
10102
|
-
const bn = (
|
|
10103
|
-
var d =
|
|
10130
|
+
const bn = (m) => {
|
|
10131
|
+
var d = m, {
|
|
10104
10132
|
disabled: s = !1,
|
|
10105
10133
|
id: n,
|
|
10106
10134
|
initialSelection: a,
|
|
10107
10135
|
label: r,
|
|
10108
|
-
onChange:
|
|
10136
|
+
onChange: u,
|
|
10109
10137
|
options: c
|
|
10110
10138
|
} = d, l = M(d, [
|
|
10111
10139
|
"disabled",
|
|
@@ -10116,7 +10144,7 @@ const bn = (u) => {
|
|
|
10116
10144
|
"options"
|
|
10117
10145
|
]);
|
|
10118
10146
|
const o = "pds-toggle-button", b = "pds-is-disabled", p = X([o]), [h, v] = T(a), i = (g) => {
|
|
10119
|
-
v(g.target.value),
|
|
10147
|
+
v(g.target.value), u && u(g.target.value);
|
|
10120
10148
|
};
|
|
10121
10149
|
if ((() => {
|
|
10122
10150
|
p.current = p.current.filter((g) => g !== b);
|
|
@@ -10199,10 +10227,10 @@ const vn = (h) => {
|
|
|
10199
10227
|
id: n,
|
|
10200
10228
|
inputWidth: a,
|
|
10201
10229
|
label: r,
|
|
10202
|
-
message:
|
|
10230
|
+
message: u,
|
|
10203
10231
|
onChange: c,
|
|
10204
10232
|
required: l = !1,
|
|
10205
|
-
showStatusLabel:
|
|
10233
|
+
showStatusLabel: m = !0,
|
|
10206
10234
|
statusOnLabel: d = "On",
|
|
10207
10235
|
statusOffLabel: o = "Off",
|
|
10208
10236
|
className: b
|
|
@@ -10223,7 +10251,7 @@ const vn = (h) => {
|
|
|
10223
10251
|
g(!$), c && c(f.target);
|
|
10224
10252
|
};
|
|
10225
10253
|
let C = $ === !0 ? d : o, E;
|
|
10226
|
-
return
|
|
10254
|
+
return m ? E = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), /* @__PURE__ */ e.createElement(
|
|
10227
10255
|
"span",
|
|
10228
10256
|
{
|
|
10229
10257
|
className: "pds-toggle__label pds-toggle__label--on",
|
|
@@ -10260,7 +10288,7 @@ const vn = (h) => {
|
|
|
10260
10288
|
inputWidth: a,
|
|
10261
10289
|
inputFieldType: "toggle-switch",
|
|
10262
10290
|
label: r,
|
|
10263
|
-
message:
|
|
10291
|
+
message: u,
|
|
10264
10292
|
messagePosition: "before",
|
|
10265
10293
|
required: l
|
|
10266
10294
|
},
|
|
@@ -10336,10 +10364,10 @@ const _n = (d) => {
|
|
|
10336
10364
|
menuItems: n,
|
|
10337
10365
|
userEmail: a,
|
|
10338
10366
|
userImageSrc: r,
|
|
10339
|
-
userName:
|
|
10367
|
+
userName: u,
|
|
10340
10368
|
withinNavbar: c = !0,
|
|
10341
10369
|
className: l
|
|
10342
|
-
} = o,
|
|
10370
|
+
} = o, m = M(o, [
|
|
10343
10371
|
"ariaLabel",
|
|
10344
10372
|
"menuItems",
|
|
10345
10373
|
"userEmail",
|
|
@@ -10350,7 +10378,7 @@ const _n = (d) => {
|
|
|
10350
10378
|
]);
|
|
10351
10379
|
const [b, p] = T(null), [h, v] = T(!1), i = X([]), $ = X([]);
|
|
10352
10380
|
let g = !1;
|
|
10353
|
-
const _ =
|
|
10381
|
+
const _ = Ne(Pe);
|
|
10354
10382
|
_ && (g = _.isMobile);
|
|
10355
10383
|
const C = c && g, E = "pds-user-menu", f = C ? `${E}--isMobile` : null, N = `${E}__menu`, { refs: k, floatingStyles: x, context: I } = Ve({
|
|
10356
10384
|
open: h,
|
|
@@ -10405,7 +10433,7 @@ const _n = (d) => {
|
|
|
10405
10433
|
iconSize: "md",
|
|
10406
10434
|
className: `${E}__trigger-icon`
|
|
10407
10435
|
}
|
|
10408
|
-
), B = /* @__PURE__ */ e.createElement("li", { className: `${E}__user-details`, role: "presentation" }, C ? null : /* @__PURE__ */ e.createElement("div", { className: `${E}__user-name` },
|
|
10436
|
+
), B = /* @__PURE__ */ e.createElement("li", { className: `${E}__user-details`, role: "presentation" }, C ? null : /* @__PURE__ */ e.createElement("div", { className: `${E}__user-name` }, u), /* @__PURE__ */ e.createElement("div", { className: `${E}__user-email` }, a)), U = n.map((ee, de) => {
|
|
10409
10437
|
const me = i.current[de];
|
|
10410
10438
|
return /* @__PURE__ */ e.createElement(
|
|
10411
10439
|
"li",
|
|
@@ -10430,7 +10458,7 @@ const _n = (d) => {
|
|
|
10430
10458
|
),
|
|
10431
10459
|
ee.label
|
|
10432
10460
|
);
|
|
10433
|
-
}),
|
|
10461
|
+
}), Y = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10434
10462
|
"button",
|
|
10435
10463
|
y({
|
|
10436
10464
|
className: `${E}__trigger`,
|
|
@@ -10449,21 +10477,21 @@ const _n = (d) => {
|
|
|
10449
10477
|
}
|
|
10450
10478
|
}, P()),
|
|
10451
10479
|
/* @__PURE__ */ e.createElement("div", { style: y({}, A) }, /* @__PURE__ */ e.createElement("ul", { className: N, role: "menu" }, B, /* @__PURE__ */ e.createElement("li", { role: "separator" }), U))
|
|
10452
|
-
)),
|
|
10480
|
+
)), pe = (ee) => {
|
|
10453
10481
|
const de = ee.target;
|
|
10454
10482
|
de.classList.toggle(`${E}__toggle--expanded`), de.setAttribute(
|
|
10455
10483
|
"aria-expanded",
|
|
10456
10484
|
de.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
10457
10485
|
), de.nextElementSibling.classList.toggle(`${E}__mobile-menu--expanded`);
|
|
10458
|
-
},
|
|
10486
|
+
}, re = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10459
10487
|
"button",
|
|
10460
10488
|
{
|
|
10461
10489
|
className: `${E}__toggle`,
|
|
10462
10490
|
"aria-expanded": !1,
|
|
10463
10491
|
"aria-label": s,
|
|
10464
|
-
onClick:
|
|
10492
|
+
onClick: pe
|
|
10465
10493
|
},
|
|
10466
|
-
/* @__PURE__ */ e.createElement("span", { className: `${E}__toggle-left` }, W,
|
|
10494
|
+
/* @__PURE__ */ e.createElement("span", { className: `${E}__toggle-left` }, W, u || a),
|
|
10467
10495
|
z
|
|
10468
10496
|
), /* @__PURE__ */ e.createElement("div", { className: `${E}__mobile-menu` }, /* @__PURE__ */ e.createElement(
|
|
10469
10497
|
"ul",
|
|
@@ -10479,8 +10507,8 @@ const _n = (d) => {
|
|
|
10479
10507
|
"span",
|
|
10480
10508
|
y({
|
|
10481
10509
|
className: [E, f, l].join(" ").trim().replace(/\s+/g, " ")
|
|
10482
|
-
},
|
|
10483
|
-
C ?
|
|
10510
|
+
}, m),
|
|
10511
|
+
C ? re : Y
|
|
10484
10512
|
);
|
|
10485
10513
|
};
|
|
10486
10514
|
_n.propTypes = {
|
|
@@ -10536,14 +10564,14 @@ _n.propTypes = {
|
|
|
10536
10564
|
*/
|
|
10537
10565
|
className: t.string
|
|
10538
10566
|
};
|
|
10539
|
-
const
|
|
10540
|
-
const s = (a, r,
|
|
10567
|
+
const An = () => {
|
|
10568
|
+
const s = (a, r, u = {}) => {
|
|
10541
10569
|
const c = /* @__PURE__ */ e.createElement(ks, { type: a }, r);
|
|
10542
|
-
let l = y({},
|
|
10543
|
-
return (a === "critical" || a === "warning") && (l =
|
|
10570
|
+
let l = y({}, u);
|
|
10571
|
+
return (a === "critical" || a === "warning") && (l = $e(y({}, l), {
|
|
10544
10572
|
autoClose: !1,
|
|
10545
10573
|
role: "alert"
|
|
10546
|
-
})), a === "working" && (l =
|
|
10574
|
+
})), a === "working" && (l = $e(y({}, l), {
|
|
10547
10575
|
autoClose: !1,
|
|
10548
10576
|
closeButton: !1,
|
|
10549
10577
|
closeOnClick: !1
|
|
@@ -10565,10 +10593,10 @@ const qn = () => {
|
|
|
10565
10593
|
createWorkspaceLink: n,
|
|
10566
10594
|
filterPlaceholder: a = "Find workspace...",
|
|
10567
10595
|
filterLabel: r = "Filter workspaces",
|
|
10568
|
-
menuHeading:
|
|
10596
|
+
menuHeading: u = "Workspaces",
|
|
10569
10597
|
minFilterItems: c = 8,
|
|
10570
10598
|
noResultsText: l = "No results found",
|
|
10571
|
-
withinNavbar:
|
|
10599
|
+
withinNavbar: m = !0,
|
|
10572
10600
|
workspaceList: d,
|
|
10573
10601
|
className: o
|
|
10574
10602
|
} = h, b = M(h, [
|
|
@@ -10585,9 +10613,9 @@ const qn = () => {
|
|
|
10585
10613
|
]);
|
|
10586
10614
|
const [v, i] = T(!1), [$, g] = T(null), [_, C] = T(d), E = X([]), f = X(null), N = d.length >= c;
|
|
10587
10615
|
let k = !1;
|
|
10588
|
-
const x =
|
|
10616
|
+
const x = Ne(Pe);
|
|
10589
10617
|
x && (k = x.isMobile);
|
|
10590
|
-
const I =
|
|
10618
|
+
const I = m && k, L = "pds-workspace-selector", V = I ? `${L}--isMobile` : null, w = `${L}__menu`, O = N ? `${w}--scroll` : null, { refs: H, floatingStyles: S, context: P } = Ve({
|
|
10591
10619
|
open: v,
|
|
10592
10620
|
onOpenChange: i,
|
|
10593
10621
|
whileElementsMounted: qe
|
|
@@ -10616,27 +10644,34 @@ const qn = () => {
|
|
|
10616
10644
|
opacity: 0
|
|
10617
10645
|
}
|
|
10618
10646
|
});
|
|
10619
|
-
let
|
|
10620
|
-
|
|
10621
|
-
const
|
|
10622
|
-
const
|
|
10623
|
-
C(
|
|
10624
|
-
}
|
|
10625
|
-
|
|
10647
|
+
let Y = d.find((K) => K.isActive);
|
|
10648
|
+
Y || (Y = d[0]);
|
|
10649
|
+
const pe = (K) => {
|
|
10650
|
+
const ue = d.filter((Ce) => Ce.displayName.toLowerCase().includes(K.toLowerCase()));
|
|
10651
|
+
C(ue);
|
|
10652
|
+
};
|
|
10653
|
+
le(() => {
|
|
10654
|
+
const K = d.map((ue) => $e(y({}, ue), {
|
|
10655
|
+
isActive: ue.isActive
|
|
10656
|
+
}));
|
|
10657
|
+
C(K);
|
|
10658
|
+
}, [d]);
|
|
10659
|
+
const re = (K) => {
|
|
10660
|
+
K.preventDefault(), K.key === "Enter" && E.current[$].querySelector("a").click(), K.key === "Tab" && (K.shiftKey ? N ? document.getElementById("workspace-filter").focus() : i(!1) : n ? f.current.querySelector("a").focus() : i(!1));
|
|
10626
10661
|
}, ee = /* @__PURE__ */ e.createElement("div", { className: `${L}__button-content` }, /* @__PURE__ */ e.createElement(
|
|
10627
10662
|
Xe,
|
|
10628
10663
|
{
|
|
10629
10664
|
size: "sm",
|
|
10630
|
-
uniqueId:
|
|
10631
|
-
imageSrc:
|
|
10665
|
+
uniqueId: Y.workspaceId,
|
|
10666
|
+
imageSrc: Y.imageSrc,
|
|
10632
10667
|
className: `${L}__avatar`
|
|
10633
10668
|
}
|
|
10634
|
-
), /* @__PURE__ */ e.createElement("span", { className: `${L}__name` },
|
|
10669
|
+
), /* @__PURE__ */ e.createElement("span", { className: `${L}__name` }, Y.displayName), Y.planTier && /* @__PURE__ */ e.createElement(
|
|
10635
10670
|
pt,
|
|
10636
10671
|
{
|
|
10637
10672
|
size: "sm",
|
|
10638
|
-
color:
|
|
10639
|
-
label: En[
|
|
10673
|
+
color: Y.planTier,
|
|
10674
|
+
label: En[Y.planTier]
|
|
10640
10675
|
}
|
|
10641
10676
|
)), de = /* @__PURE__ */ e.createElement(
|
|
10642
10677
|
q,
|
|
@@ -10652,40 +10687,47 @@ const qn = () => {
|
|
|
10652
10687
|
hasClearButton: !0,
|
|
10653
10688
|
id: "workspace-filter",
|
|
10654
10689
|
label: r,
|
|
10655
|
-
onChange:
|
|
10690
|
+
onChange: pe,
|
|
10656
10691
|
placeholder: a,
|
|
10657
10692
|
showLabel: !1,
|
|
10658
10693
|
type: "search"
|
|
10659
10694
|
}
|
|
10660
10695
|
)), te = _.map(
|
|
10661
|
-
(
|
|
10662
|
-
const Ce = `${L}__item`, Le =
|
|
10663
|
-
E.current[
|
|
10696
|
+
(K, ue) => {
|
|
10697
|
+
const Ce = `${L}__item`, Le = K.isActive ? `${Ce}--active` : null, Q = K.isUnprivileged ? `${Ce}--unprivileged` : null, se = /* @__PURE__ */ e.createElement(q, { iconName: "check", className: `${L}__active-icon` }), ke = K.workspaceId, ye = K.workspaceLink.type, we = K.isUnprivileged ? null : (he) => {
|
|
10698
|
+
E.current[ue] = he;
|
|
10664
10699
|
};
|
|
10665
10700
|
return /* @__PURE__ */ e.createElement(
|
|
10666
10701
|
"li",
|
|
10667
10702
|
y({
|
|
10668
|
-
key:
|
|
10669
|
-
id:
|
|
10703
|
+
key: ke,
|
|
10704
|
+
id: ke,
|
|
10670
10705
|
className: [
|
|
10671
10706
|
Ce,
|
|
10672
10707
|
Le,
|
|
10673
10708
|
Q
|
|
10674
10709
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
10675
10710
|
role: "menuitem",
|
|
10676
|
-
tabIndex: $ ===
|
|
10677
|
-
ref:
|
|
10678
|
-
onKeyDown:
|
|
10711
|
+
tabIndex: $ === ue ? 0 : -1,
|
|
10712
|
+
ref: we,
|
|
10713
|
+
onKeyDown: re
|
|
10679
10714
|
}, z()),
|
|
10680
|
-
/* @__PURE__ */ e.createElement(
|
|
10681
|
-
|
|
10682
|
-
{
|
|
10683
|
-
|
|
10684
|
-
|
|
10685
|
-
|
|
10686
|
-
|
|
10687
|
-
|
|
10688
|
-
|
|
10715
|
+
/* @__PURE__ */ e.createElement(
|
|
10716
|
+
ye,
|
|
10717
|
+
$e(y({}, K.workspaceLink.props), {
|
|
10718
|
+
onClick: () => i(!1)
|
|
10719
|
+
}),
|
|
10720
|
+
/* @__PURE__ */ e.createElement("div", { className: `${L}__item-content` }, /* @__PURE__ */ e.createElement(
|
|
10721
|
+
Xe,
|
|
10722
|
+
{
|
|
10723
|
+
size: "sm",
|
|
10724
|
+
uniqueId: K.workspaceId,
|
|
10725
|
+
imageSrc: K.imageSrc,
|
|
10726
|
+
className: `${L}__list-avatar`
|
|
10727
|
+
}
|
|
10728
|
+
), K.displayName),
|
|
10729
|
+
K.isActive && se
|
|
10730
|
+
)
|
|
10689
10731
|
);
|
|
10690
10732
|
}
|
|
10691
10733
|
), fe = n && /* @__PURE__ */ e.createElement("div", { className: `${L}__create-link`, ref: f }, /* @__PURE__ */ e.createElement(
|
|
@@ -10722,15 +10764,15 @@ const qn = () => {
|
|
|
10722
10764
|
className: [w, O].join(" ").trim().replace(/\s+/g, " "),
|
|
10723
10765
|
role: "menu"
|
|
10724
10766
|
},
|
|
10725
|
-
/* @__PURE__ */ e.createElement("li", { className: `${L}__item-heading`, role: "presentation" },
|
|
10767
|
+
/* @__PURE__ */ e.createElement("li", { className: `${L}__item-heading`, role: "presentation" }, u),
|
|
10726
10768
|
te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${L}__no-results` }, l) : te
|
|
10727
10769
|
), fe)
|
|
10728
|
-
)), oe = (
|
|
10729
|
-
const
|
|
10730
|
-
|
|
10770
|
+
)), oe = (K) => {
|
|
10771
|
+
const ue = K.target;
|
|
10772
|
+
ue.classList.toggle(`${L}__toggle--expanded`), ue.setAttribute(
|
|
10731
10773
|
"aria-expanded",
|
|
10732
|
-
|
|
10733
|
-
),
|
|
10774
|
+
ue.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
10775
|
+
), ue.nextElementSibling.classList.toggle(`${L}__mobile-menu--expanded`);
|
|
10734
10776
|
}, J = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10735
10777
|
"button",
|
|
10736
10778
|
{
|
|
@@ -10747,7 +10789,7 @@ const qn = () => {
|
|
|
10747
10789
|
className: [w, `${w}--isMobile`].join(" ").trim(),
|
|
10748
10790
|
role: "menu"
|
|
10749
10791
|
},
|
|
10750
|
-
/* @__PURE__ */ e.createElement("li", { className: `${L}__item-heading`, role: "presentation" },
|
|
10792
|
+
/* @__PURE__ */ e.createElement("li", { className: `${L}__item-heading`, role: "presentation" }, u),
|
|
10751
10793
|
te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${L}__no-results` }, l) : te
|
|
10752
10794
|
), fe));
|
|
10753
10795
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -10837,10 +10879,10 @@ const $n = (b) => {
|
|
|
10837
10879
|
alignItems: n,
|
|
10838
10880
|
flexDirection: a,
|
|
10839
10881
|
flexWrap: r,
|
|
10840
|
-
justifyContent:
|
|
10882
|
+
justifyContent: u,
|
|
10841
10883
|
mobileFlex: c = "reverse",
|
|
10842
10884
|
spacing: l = "standard",
|
|
10843
|
-
children:
|
|
10885
|
+
children: m,
|
|
10844
10886
|
className: d
|
|
10845
10887
|
} = p, o = M(p, [
|
|
10846
10888
|
"alignContent",
|
|
@@ -10853,7 +10895,7 @@ const $n = (b) => {
|
|
|
10853
10895
|
"children",
|
|
10854
10896
|
"className"
|
|
10855
10897
|
]);
|
|
10856
|
-
const h = "pds-flex", v = l ? `${h}-gap--${l}` : null, i = a ? `${h}-direction--${a}` : null, $ = r ? `${h}--${r}` : null, g =
|
|
10898
|
+
const h = "pds-flex", v = l ? `${h}-gap--${l}` : null, i = a ? `${h}-direction--${a}` : null, $ = r ? `${h}--${r}` : null, g = u ? `${h}-justify--${u}` : null, _ = n ? `${h}-align-items--${n}` : null, C = s ? `${h}-align-content--${s}` : null, E = c && c !== "same" ? `${h}-mobile--${c}` : null;
|
|
10857
10899
|
return /* @__PURE__ */ e.createElement(
|
|
10858
10900
|
"div",
|
|
10859
10901
|
y({
|
|
@@ -10869,7 +10911,7 @@ const $n = (b) => {
|
|
|
10869
10911
|
d
|
|
10870
10912
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
10871
10913
|
}, o),
|
|
10872
|
-
|
|
10914
|
+
m
|
|
10873
10915
|
);
|
|
10874
10916
|
};
|
|
10875
10917
|
$n.propTypes = {
|
|
@@ -10921,16 +10963,16 @@ $n.propTypes = {
|
|
|
10921
10963
|
*/
|
|
10922
10964
|
className: t.string
|
|
10923
10965
|
};
|
|
10924
|
-
const
|
|
10966
|
+
const Pn = ({
|
|
10925
10967
|
children: s,
|
|
10926
10968
|
mobileMenuMaxWidth: n = 640
|
|
10927
|
-
}) => /* @__PURE__ */ e.createElement(g1, { mobileMenuMaxWidth: n }, s), yn = (
|
|
10928
|
-
var d =
|
|
10969
|
+
}) => /* @__PURE__ */ e.createElement(g1, { mobileMenuMaxWidth: n }, s), yn = (m) => {
|
|
10970
|
+
var d = m, {
|
|
10929
10971
|
children: s,
|
|
10930
10972
|
gridGap: n = "standard",
|
|
10931
10973
|
sidebarLocation: a = "right",
|
|
10932
10974
|
sidebarMobileLocation: r = "after",
|
|
10933
|
-
sidebarWidth:
|
|
10975
|
+
sidebarWidth: u = "standard",
|
|
10934
10976
|
className: c
|
|
10935
10977
|
} = d, l = M(d, [
|
|
10936
10978
|
"children",
|
|
@@ -10941,7 +10983,7 @@ const An = ({
|
|
|
10941
10983
|
"className"
|
|
10942
10984
|
]);
|
|
10943
10985
|
const [o, b] = T(1025);
|
|
10944
|
-
|
|
10986
|
+
le(() => (b(window.innerWidth), window.addEventListener("resize", i), () => {
|
|
10945
10987
|
window.removeEventListener("resize", i);
|
|
10946
10988
|
}), []);
|
|
10947
10989
|
const p = "pds-sidebar-layout", h = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, v = `${p}--${a}`, i = () => {
|
|
@@ -10952,7 +10994,7 @@ const An = ({
|
|
|
10952
10994
|
x && ($[x] ? $[x].push(k) : $[x] = [k]);
|
|
10953
10995
|
});
|
|
10954
10996
|
let g = "pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", _ = "pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
|
|
10955
|
-
|
|
10997
|
+
u === "narrow" && (g = "pds-grid-item--md-9 pds-grid-item--lg-10", _ = "pds-grid-item--md-3 pds-grid-item--lg-2"), u === "wide" && (g = "pds-grid-item--md-7 pds-grid-item--lg-8", _ = "pds-grid-item--md-5 pds-grid-item--lg-4");
|
|
10956
10998
|
const C = /* @__PURE__ */ e.createElement(
|
|
10957
10999
|
"div",
|
|
10958
11000
|
{
|
|
@@ -11004,13 +11046,13 @@ yn.propTypes = {
|
|
|
11004
11046
|
className: t.string
|
|
11005
11047
|
};
|
|
11006
11048
|
const Nn = (r) => {
|
|
11007
|
-
var
|
|
11049
|
+
var u = r, { children: s, className: n } = u, a = M(u, ["children", "className"]);
|
|
11008
11050
|
const c = {};
|
|
11009
11051
|
e.Children.forEach(s, (h) => {
|
|
11010
11052
|
const v = h.props.slot;
|
|
11011
11053
|
v && (c[v] ? c[v].push(h) : c[v] = [h]);
|
|
11012
11054
|
});
|
|
11013
|
-
const l = c.stepper,
|
|
11055
|
+
const l = c.stepper, m = c.form, d = X(), [o] = at(d), b = o.width;
|
|
11014
11056
|
document.documentElement.style.setProperty(
|
|
11015
11057
|
"--pds-stepper-layout-max-width",
|
|
11016
11058
|
b + "px"
|
|
@@ -11029,7 +11071,7 @@ const Nn = (r) => {
|
|
|
11029
11071
|
},
|
|
11030
11072
|
l
|
|
11031
11073
|
),
|
|
11032
|
-
|
|
11074
|
+
m && /* @__PURE__ */ e.createElement("div", { className: `${p}__form-container` }, m)
|
|
11033
11075
|
);
|
|
11034
11076
|
};
|
|
11035
11077
|
Nn.propTypes = {
|
|
@@ -11042,8 +11084,8 @@ Nn.propTypes = {
|
|
|
11042
11084
|
*/
|
|
11043
11085
|
className: t.string
|
|
11044
11086
|
};
|
|
11045
|
-
const wn = (
|
|
11046
|
-
var c =
|
|
11087
|
+
const wn = (u) => {
|
|
11088
|
+
var c = u, {
|
|
11047
11089
|
children: s,
|
|
11048
11090
|
gridGap: n = "standard",
|
|
11049
11091
|
className: a
|
|
@@ -11052,7 +11094,7 @@ const wn = (m) => {
|
|
|
11052
11094
|
"gridGap",
|
|
11053
11095
|
"className"
|
|
11054
11096
|
]);
|
|
11055
|
-
const l = "pds-three-item-layout",
|
|
11097
|
+
const l = "pds-three-item-layout", m = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, d = {};
|
|
11056
11098
|
e.Children.forEach(s, (b) => {
|
|
11057
11099
|
const p = b.props.slot;
|
|
11058
11100
|
p && (d[p] ? d[p].push(b) : d[p] = [b]);
|
|
@@ -11065,7 +11107,7 @@ const wn = (m) => {
|
|
|
11065
11107
|
return /* @__PURE__ */ e.createElement(
|
|
11066
11108
|
"div",
|
|
11067
11109
|
y({
|
|
11068
|
-
className: [l,
|
|
11110
|
+
className: [l, m, a].join(" ").trim().replace(/\s+/g, " ")
|
|
11069
11111
|
}, r),
|
|
11070
11112
|
o.map((b) => /* @__PURE__ */ e.createElement(
|
|
11071
11113
|
"div",
|
|
@@ -11097,13 +11139,13 @@ const kn = (c) => {
|
|
|
11097
11139
|
gridGap: n = "standard",
|
|
11098
11140
|
layoutVariant: a = "equal",
|
|
11099
11141
|
className: r
|
|
11100
|
-
} = l,
|
|
11142
|
+
} = l, u = M(l, [
|
|
11101
11143
|
"children",
|
|
11102
11144
|
"gridGap",
|
|
11103
11145
|
"layoutVariant",
|
|
11104
11146
|
"className"
|
|
11105
11147
|
]);
|
|
11106
|
-
const
|
|
11148
|
+
const m = "pds-two-item-layout", d = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, o = ["pds-grid-item--md-6"], b = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], p = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], h = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
11107
11149
|
let v, i;
|
|
11108
11150
|
switch (a) {
|
|
11109
11151
|
case "equal":
|
|
@@ -11124,8 +11166,8 @@ const kn = (c) => {
|
|
|
11124
11166
|
return /* @__PURE__ */ e.createElement(
|
|
11125
11167
|
"div",
|
|
11126
11168
|
y({
|
|
11127
|
-
className: [
|
|
11128
|
-
},
|
|
11169
|
+
className: [m, d, r].join(" ").trim().replace(/\s+/g, " ")
|
|
11170
|
+
}, u),
|
|
11129
11171
|
/* @__PURE__ */ e.createElement("div", { className: v.join(" ").trim() }, g),
|
|
11130
11172
|
/* @__PURE__ */ e.createElement("div", { className: i.join(" ").trim() }, _)
|
|
11131
11173
|
);
|
|
@@ -11175,7 +11217,7 @@ export {
|
|
|
11175
11217
|
$n as FlexContainer,
|
|
11176
11218
|
bs as FooterHeading,
|
|
11177
11219
|
E1 as FooterLinks,
|
|
11178
|
-
|
|
11220
|
+
Pn as GlobalWrapper,
|
|
11179
11221
|
C1 as Heading,
|
|
11180
11222
|
q as Icon,
|
|
11181
11223
|
ut as IconButton,
|
|
@@ -11223,6 +11265,7 @@ export {
|
|
|
11223
11265
|
on as TableOfContents,
|
|
11224
11266
|
dn as Tabs,
|
|
11225
11267
|
pn as Tag,
|
|
11268
|
+
qn as Tally,
|
|
11226
11269
|
gn as Textarea,
|
|
11227
11270
|
wn as ThreeItemLayout,
|
|
11228
11271
|
ws as Tile,
|
|
@@ -11236,6 +11279,6 @@ export {
|
|
|
11236
11279
|
_n as UserMenu,
|
|
11237
11280
|
Cn as WorkspaceSelector,
|
|
11238
11281
|
Wt as iconList,
|
|
11239
|
-
|
|
11282
|
+
An as useToast
|
|
11240
11283
|
};
|
|
11241
11284
|
//# sourceMappingURL=index.js.map
|