@pantheon-systems/pds-toolkit-react 1.0.0-dev.170 → 1.0.0-dev.171
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_dist/index.js +457 -449
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -39,22 +39,22 @@ const r1 = (r) => {
|
|
|
39
39
|
"listItems",
|
|
40
40
|
"className"
|
|
41
41
|
]);
|
|
42
|
-
const l = "pds-avatar-tile-list", i = "pds-tile-list",
|
|
42
|
+
const l = "pds-avatar-tile-list", i = "pds-tile-list", m = s ? `${i}--reverse` : "";
|
|
43
43
|
return /* @__PURE__ */ e.createElement(
|
|
44
44
|
"div",
|
|
45
45
|
y({
|
|
46
46
|
className: [
|
|
47
47
|
l,
|
|
48
|
-
|
|
48
|
+
m,
|
|
49
49
|
`${i}--avatar`,
|
|
50
50
|
i,
|
|
51
51
|
a
|
|
52
52
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
53
53
|
}, c),
|
|
54
54
|
n.map((u, h) => {
|
|
55
|
-
const
|
|
55
|
+
const d = u.linkContent ? u.linkContent.type : "div", p = u.linkContent.props.href ? "href" : "to", f = p === "href" ? u.linkContent.props.href : u.linkContent.props.to, E = u.linkContent.props.target ? "target" : null;
|
|
56
56
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
57
|
-
|
|
57
|
+
d,
|
|
58
58
|
{
|
|
59
59
|
key: `avatar-tile-item-${h}`,
|
|
60
60
|
className: `${i}__item`,
|
|
@@ -125,7 +125,7 @@ const o1 = {
|
|
|
125
125
|
"iconSize",
|
|
126
126
|
"className"
|
|
127
127
|
]);
|
|
128
|
-
const l = `pds-icon pds-icon--${n} pds-icon--${s}`, i = `0 0 ${Ft[s].width} 512`,
|
|
128
|
+
const l = `pds-icon pds-icon--${n} pds-icon--${s}`, i = `0 0 ${Ft[s].width} 512`, m = {
|
|
129
129
|
sm: "0.8rem",
|
|
130
130
|
md: "1rem",
|
|
131
131
|
lg: "1.2rem",
|
|
@@ -140,7 +140,7 @@ const o1 = {
|
|
|
140
140
|
xmlns: "http://www.w3.org/2000/svg",
|
|
141
141
|
role: "img",
|
|
142
142
|
viewBox: i,
|
|
143
|
-
height:
|
|
143
|
+
height: m[n],
|
|
144
144
|
fill: "none",
|
|
145
145
|
"aria-hidden": "true",
|
|
146
146
|
preserveAspectRatio: "xMidYMid meet",
|
|
@@ -742,8 +742,8 @@ const o1 = {
|
|
|
742
742
|
path: "M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zm-317.51 213.508V175.185l142.739 81.205-142.739 81.201z",
|
|
743
743
|
width: "576"
|
|
744
744
|
}
|
|
745
|
-
}, ls = Object.keys(Ft), Vt = 300, i1 = 400, _t = (
|
|
746
|
-
var p =
|
|
745
|
+
}, ls = Object.keys(Ft), Vt = 300, i1 = 400, _t = (d) => {
|
|
746
|
+
var p = d, {
|
|
747
747
|
content: s,
|
|
748
748
|
customTrigger: n = null,
|
|
749
749
|
offsetValue: a = 8,
|
|
@@ -752,7 +752,7 @@ const o1 = {
|
|
|
752
752
|
triggerIcon: o = "circleInfo",
|
|
753
753
|
triggerIconColor: l = "default",
|
|
754
754
|
triggerIconSize: i = "sm",
|
|
755
|
-
zIndex:
|
|
755
|
+
zIndex: m = i1,
|
|
756
756
|
className: u
|
|
757
757
|
} = p, h = I(p, [
|
|
758
758
|
"content",
|
|
@@ -815,7 +815,7 @@ const o1 = {
|
|
|
815
815
|
y({
|
|
816
816
|
className: `${g}__container`,
|
|
817
817
|
ref: C.setFloating,
|
|
818
|
-
style: ge(y({}, $), { zIndex:
|
|
818
|
+
style: ge(y({}, $), { zIndex: m })
|
|
819
819
|
}, M()),
|
|
820
820
|
s
|
|
821
821
|
));
|
|
@@ -830,12 +830,12 @@ Ge.propTypes = {
|
|
|
830
830
|
};
|
|
831
831
|
const d1 = (s) => /* @__PURE__ */ e.createElement(gs, { className: "pds-breadcrumbs__mobileCrumbs", end: !0, to: s.uri }, /* @__PURE__ */ e.createElement(A, { iconName: "angleLeft", iconSize: "sm" }), s.label), m1 = (s, n) => s.uri.split("/").length - n.uri.split("/").length, ys = (a) => {
|
|
832
832
|
var c = a, { ariaLabel: s } = c, n = I(c, ["ariaLabel"]);
|
|
833
|
-
const [r, o] = R(!0), { crumbs: l, deferredCrumbIds: i } = He(Cs),
|
|
833
|
+
const [r, o] = R(!0), { crumbs: l, deferredCrumbIds: i } = He(Cs), m = [...l].sort(m1), u = () => {
|
|
834
834
|
o(!1);
|
|
835
|
-
}, h =
|
|
836
|
-
(_, g) => g ===
|
|
837
|
-
),
|
|
838
|
-
(_, g) => g ===
|
|
835
|
+
}, h = m.map(
|
|
836
|
+
(_, g) => g === m.length - 1 ? /* @__PURE__ */ e.createElement(Ge, { crumb: _, lastCrumb: !0, key: g }) : /* @__PURE__ */ e.createElement(Ge, { crumb: _, key: g })
|
|
837
|
+
), d = m.map(
|
|
838
|
+
(_, g) => g === m.length - 1 ? /* @__PURE__ */ e.createElement(Ge, { crumb: _, key: `breadcrumb-${g}`, lastCrumb: !0 }) : g == 2 ? /* @__PURE__ */ e.createElement(e.Fragment, null, " ", /* @__PURE__ */ e.createElement("li", { className: r ? "" : "pds-breadcrumbs__hidden" }, /* @__PURE__ */ e.createElement(
|
|
839
839
|
"button",
|
|
840
840
|
{
|
|
841
841
|
key: `breadcrumb-button-${g}`,
|
|
@@ -850,7 +850,7 @@ const d1 = (s) => /* @__PURE__ */ e.createElement(gs, { className: "pds-breadcru
|
|
|
850
850
|
classes: r ? "pds-breadcrumbs__hidden" : null,
|
|
851
851
|
key: `breadcrumb-${g}`
|
|
852
852
|
}
|
|
853
|
-
)) : g > 2 && g <
|
|
853
|
+
)) : g > 2 && g < m.length - 2 ? /* @__PURE__ */ e.createElement(
|
|
854
854
|
Ge,
|
|
855
855
|
{
|
|
856
856
|
crumb: _,
|
|
@@ -858,7 +858,7 @@ const d1 = (s) => /* @__PURE__ */ e.createElement(gs, { className: "pds-breadcru
|
|
|
858
858
|
key: `breadcrumb-${g}`
|
|
859
859
|
}
|
|
860
860
|
) : /* @__PURE__ */ e.createElement(Ge, { crumb: _, key: `breadcrumb-${g}` })
|
|
861
|
-
), p =
|
|
861
|
+
), p = m.length >= 6 ? d : h, f = m[m.length - 2], E = d1(f);
|
|
862
862
|
return /* @__PURE__ */ e.createElement("nav", { className: "pds-breadcrumbs", "aria-label": s, "aria-live": "polite" }, /* @__PURE__ */ e.createElement("ul", y({ className: "pds-breadcrumbs__item" }, n), p), E);
|
|
863
863
|
};
|
|
864
864
|
ys.propTypes = {
|
|
@@ -1229,7 +1229,7 @@ const p1 = [
|
|
|
1229
1229
|
}, E1 = Fe(
|
|
1230
1230
|
(o, r) => {
|
|
1231
1231
|
var l = o, { children: s, isActive: n, className: a } = l, c = I(l, ["children", "isActive", "className"]);
|
|
1232
|
-
const i = bs(),
|
|
1232
|
+
const i = bs(), m = "pds-input__select-option", u = n ? `${m}--active` : null;
|
|
1233
1233
|
return /* @__PURE__ */ e.createElement(
|
|
1234
1234
|
"li",
|
|
1235
1235
|
y({
|
|
@@ -1237,20 +1237,20 @@ const p1 = [
|
|
|
1237
1237
|
role: "option",
|
|
1238
1238
|
id: i,
|
|
1239
1239
|
"aria-selected": n,
|
|
1240
|
-
className: J([
|
|
1240
|
+
className: J([m, u, a])
|
|
1241
1241
|
}, c),
|
|
1242
1242
|
s
|
|
1243
1243
|
);
|
|
1244
1244
|
}
|
|
1245
1245
|
), zt = (i) => {
|
|
1246
|
-
var
|
|
1246
|
+
var m = i, {
|
|
1247
1247
|
colorType: s = "full-color",
|
|
1248
1248
|
isInline: n = !1,
|
|
1249
1249
|
label: a = "Loading",
|
|
1250
1250
|
showLabel: c = !1,
|
|
1251
1251
|
size: r = "md",
|
|
1252
1252
|
className: o = ""
|
|
1253
|
-
} =
|
|
1253
|
+
} = m, l = I(m, [
|
|
1254
1254
|
"colorType",
|
|
1255
1255
|
"isInline",
|
|
1256
1256
|
"label",
|
|
@@ -1258,11 +1258,11 @@ const p1 = [
|
|
|
1258
1258
|
"size",
|
|
1259
1259
|
"className"
|
|
1260
1260
|
]);
|
|
1261
|
-
const u = "pds-spinner", h = s !== "full-color" ? `${u}--${s}` : null,
|
|
1261
|
+
const u = "pds-spinner", h = s !== "full-color" ? `${u}--${s}` : null, d = `${u}--${r}`, p = n ? `${u}--inline` : null;
|
|
1262
1262
|
return /* @__PURE__ */ e.createElement(
|
|
1263
1263
|
"span",
|
|
1264
1264
|
y({
|
|
1265
|
-
className: [u, h, p,
|
|
1265
|
+
className: [u, h, p, d, o].join(" ").trim().replace(/\s+/g, " "),
|
|
1266
1266
|
role: "status"
|
|
1267
1267
|
}, l),
|
|
1268
1268
|
/* @__PURE__ */ e.createElement("span", { className: `${u}__icon` }),
|
|
@@ -1279,10 +1279,10 @@ const p1 = [
|
|
|
1279
1279
|
isLoading: o = !1,
|
|
1280
1280
|
isSplitButton: l = !1,
|
|
1281
1281
|
label: i,
|
|
1282
|
-
onClick:
|
|
1282
|
+
onClick: m,
|
|
1283
1283
|
size: u = "md",
|
|
1284
1284
|
variant: h = "primary",
|
|
1285
|
-
className:
|
|
1285
|
+
className: d
|
|
1286
1286
|
} = _, p = I(_, [
|
|
1287
1287
|
"ariaLabel",
|
|
1288
1288
|
"buttonType",
|
|
@@ -1323,10 +1323,10 @@ const p1 = [
|
|
|
1323
1323
|
"button",
|
|
1324
1324
|
ge(y({}, p), {
|
|
1325
1325
|
type: n,
|
|
1326
|
-
className: [g, b, v,
|
|
1326
|
+
className: [g, b, v, d].join(" ").trim().replace(/\s+/g, " "),
|
|
1327
1327
|
disabled: a || o,
|
|
1328
1328
|
"aria-label": s,
|
|
1329
|
-
onClick:
|
|
1329
|
+
onClick: m,
|
|
1330
1330
|
ref: f
|
|
1331
1331
|
}),
|
|
1332
1332
|
o && /* @__PURE__ */ e.createElement(zt, { className: `${g}__loading-indicator`, size: "md" }),
|
|
@@ -1394,8 +1394,8 @@ Ke.propTypes = {
|
|
|
1394
1394
|
*/
|
|
1395
1395
|
className: t.string
|
|
1396
1396
|
};
|
|
1397
|
-
const Be = (
|
|
1398
|
-
var u =
|
|
1397
|
+
const Be = (m) => {
|
|
1398
|
+
var u = m, {
|
|
1399
1399
|
disabled: s = !1,
|
|
1400
1400
|
displayType: n = "label-only",
|
|
1401
1401
|
iconName: a,
|
|
@@ -1412,7 +1412,7 @@ const Be = (d) => {
|
|
|
1412
1412
|
"variant",
|
|
1413
1413
|
"className"
|
|
1414
1414
|
]);
|
|
1415
|
-
const h = Pe(),
|
|
1415
|
+
const h = Pe(), d = "pds-button-link", p = "pds-button", f = c.props.className, E = r !== "md" ? `${p}--${r}` : null, _ = o !== "primary" ? `${p}--${o}` : null, g = [p, f, _, E].join(" ").trim().replace(/\s+/g, " ");
|
|
1416
1416
|
let b;
|
|
1417
1417
|
switch (r) {
|
|
1418
1418
|
case "sm":
|
|
@@ -1448,12 +1448,12 @@ const Be = (d) => {
|
|
|
1448
1448
|
label: $,
|
|
1449
1449
|
variant: o,
|
|
1450
1450
|
size: r,
|
|
1451
|
-
className: [
|
|
1451
|
+
className: [d, l].join(" ").trim().replace(/\s+/g, " ")
|
|
1452
1452
|
}, i)
|
|
1453
1453
|
) : /* @__PURE__ */ e.createElement(
|
|
1454
1454
|
"span",
|
|
1455
1455
|
y({
|
|
1456
|
-
className: [
|
|
1456
|
+
className: [d, l].join(" ").trim().replace(/\s+/g, " ")
|
|
1457
1457
|
}, i),
|
|
1458
1458
|
w
|
|
1459
1459
|
);
|
|
@@ -1497,7 +1497,7 @@ Be.propTypes = {
|
|
|
1497
1497
|
className: t.string
|
|
1498
1498
|
};
|
|
1499
1499
|
const _1 = (h) => {
|
|
1500
|
-
var
|
|
1500
|
+
var d = h, {
|
|
1501
1501
|
bodyText: s,
|
|
1502
1502
|
headingLevel: n = "h2",
|
|
1503
1503
|
headingText: a,
|
|
@@ -1506,8 +1506,8 @@ const _1 = (h) => {
|
|
|
1506
1506
|
kickerText: o,
|
|
1507
1507
|
primaryLink: l,
|
|
1508
1508
|
secondaryLink: i,
|
|
1509
|
-
className:
|
|
1510
|
-
} =
|
|
1509
|
+
className: m
|
|
1510
|
+
} = d, u = I(d, [
|
|
1511
1511
|
"bodyText",
|
|
1512
1512
|
"headingLevel",
|
|
1513
1513
|
"headingText",
|
|
@@ -1535,14 +1535,14 @@ const _1 = (h) => {
|
|
|
1535
1535
|
return r && l ? /* @__PURE__ */ e.createElement(
|
|
1536
1536
|
_,
|
|
1537
1537
|
y({
|
|
1538
|
-
className: [p, f,
|
|
1538
|
+
className: [p, f, m].join(" ").trim().replace(/\s+/g, " ")
|
|
1539
1539
|
}, l.props),
|
|
1540
1540
|
g,
|
|
1541
1541
|
b
|
|
1542
1542
|
) : /* @__PURE__ */ e.createElement(
|
|
1543
1543
|
"div",
|
|
1544
1544
|
y({
|
|
1545
|
-
className: [p, f,
|
|
1545
|
+
className: [p, f, m].join(" ").trim().replace(/\s+/g, " ")
|
|
1546
1546
|
}, u),
|
|
1547
1547
|
g,
|
|
1548
1548
|
b
|
|
@@ -1599,7 +1599,7 @@ const C1 = (u) => {
|
|
|
1599
1599
|
onChange: o,
|
|
1600
1600
|
options: l,
|
|
1601
1601
|
className: i
|
|
1602
|
-
} = h,
|
|
1602
|
+
} = h, m = I(h, [
|
|
1603
1603
|
"id",
|
|
1604
1604
|
"initialSelection",
|
|
1605
1605
|
"label",
|
|
@@ -1609,9 +1609,9 @@ const C1 = (u) => {
|
|
|
1609
1609
|
"options",
|
|
1610
1610
|
"className"
|
|
1611
1611
|
]);
|
|
1612
|
-
const
|
|
1613
|
-
let p = `${
|
|
1614
|
-
c === "center" && (p = `${
|
|
1612
|
+
const d = "pds-card-select-group";
|
|
1613
|
+
let p = `${d}__legend`;
|
|
1614
|
+
c === "center" && (p = `${d}__legend ${d}__legend--center`), c === "hidden" && (p = `${d}__legend visually-hidden`);
|
|
1615
1615
|
const [f, E] = R(n), _ = ($) => {
|
|
1616
1616
|
E($.target.value), o && o($.target.value);
|
|
1617
1617
|
}, g = l.length, b = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", v = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
@@ -1619,14 +1619,14 @@ const C1 = (u) => {
|
|
|
1619
1619
|
return r === "twoAcross" ? C = b : r === "threeAcross" ? C = v : r === "auto" && (g % 3 === 0 ? C = v : g % 2 === 0 ? C = b : C = v), /* @__PURE__ */ e.createElement(
|
|
1620
1620
|
"fieldset",
|
|
1621
1621
|
y({
|
|
1622
|
-
className: [
|
|
1622
|
+
className: [d, i].join(" ").trim().replace(/\s+/g, " "),
|
|
1623
1623
|
id: s
|
|
1624
|
-
},
|
|
1624
|
+
}, m),
|
|
1625
1625
|
/* @__PURE__ */ e.createElement("legend", { className: p }, a),
|
|
1626
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1626
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__options pds-grid pds-grid--narrow` }, l.map(($, w) => /* @__PURE__ */ e.createElement(
|
|
1627
1627
|
"div",
|
|
1628
1628
|
{
|
|
1629
|
-
className: [`${
|
|
1629
|
+
className: [`${d}__option`, C].join(" ").trim().replace(/\s+/g, " "),
|
|
1630
1630
|
key: `${s}-option-${w}`
|
|
1631
1631
|
},
|
|
1632
1632
|
/* @__PURE__ */ e.createElement(
|
|
@@ -1644,17 +1644,17 @@ const C1 = (u) => {
|
|
|
1644
1644
|
"label",
|
|
1645
1645
|
{
|
|
1646
1646
|
htmlFor: `${s}-option-${w}`,
|
|
1647
|
-
className: f === $.value ? `${
|
|
1647
|
+
className: f === $.value ? `${d}__option-label ${d}__option-label--selected` : `${d}__option-label`
|
|
1648
1648
|
},
|
|
1649
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1649
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__option-label-indicator` }, /* @__PURE__ */ e.createElement(
|
|
1650
1650
|
A,
|
|
1651
1651
|
{
|
|
1652
1652
|
iconName: f === $.value ? "circleCheck" : "circle",
|
|
1653
1653
|
iconSize: "xl",
|
|
1654
|
-
className: f === $.value ? `${
|
|
1654
|
+
className: f === $.value ? `${d}__option-icon ${d}__option-icon--selected` : `${d}__option-icon`
|
|
1655
1655
|
}
|
|
1656
1656
|
)),
|
|
1657
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1657
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__option-label-text` }, $.label, $.description && /* @__PURE__ */ e.createElement("div", { className: `${d}__option-description` }, $.description))
|
|
1658
1658
|
)
|
|
1659
1659
|
)))
|
|
1660
1660
|
);
|
|
@@ -1719,7 +1719,7 @@ const $1 = (u) => {
|
|
|
1719
1719
|
primaryLink: o,
|
|
1720
1720
|
secondaryLink: l,
|
|
1721
1721
|
className: i
|
|
1722
|
-
} = h,
|
|
1722
|
+
} = h, m = I(h, [
|
|
1723
1723
|
"backgroundColor",
|
|
1724
1724
|
"containerWidth",
|
|
1725
1725
|
"headingLevel",
|
|
@@ -1729,22 +1729,22 @@ const $1 = (u) => {
|
|
|
1729
1729
|
"secondaryLink",
|
|
1730
1730
|
"className"
|
|
1731
1731
|
]);
|
|
1732
|
-
const
|
|
1732
|
+
const d = "pds-cta-slice", p = s && s !== "default" ? `${d}--${s}` : null, f = n && n !== "default" ? `pds-container pds-container--${n}` : "pds-container", E = `${a}`;
|
|
1733
1733
|
return /* @__PURE__ */ e.createElement(
|
|
1734
1734
|
"div",
|
|
1735
1735
|
y({
|
|
1736
|
-
className: [
|
|
1737
|
-
},
|
|
1738
|
-
/* @__PURE__ */ e.createElement("div", { className: f }, c && /* @__PURE__ */ e.createElement(E, { className: `${
|
|
1736
|
+
className: [d, p, i].join(" ").trim().replace(/\s+/g, " ")
|
|
1737
|
+
}, m),
|
|
1738
|
+
/* @__PURE__ */ e.createElement("div", { className: f }, c && /* @__PURE__ */ e.createElement(E, { className: `${d}__heading pds-ts-4xl` }, c), r && /* @__PURE__ */ e.createElement(
|
|
1739
1739
|
"div",
|
|
1740
1740
|
{
|
|
1741
|
-
className: `${
|
|
1741
|
+
className: `${d}__lead-text pds-lead-text pds-lead-text--sm`
|
|
1742
1742
|
},
|
|
1743
1743
|
r
|
|
1744
1744
|
), o && /* @__PURE__ */ e.createElement(
|
|
1745
1745
|
"div",
|
|
1746
1746
|
{
|
|
1747
|
-
className: `${
|
|
1747
|
+
className: `${d}__links pds-button-group pds-button-group--lg`
|
|
1748
1748
|
},
|
|
1749
1749
|
/* @__PURE__ */ e.createElement(
|
|
1750
1750
|
"a",
|
|
@@ -1853,7 +1853,7 @@ const We = $t(null), y1 = ({
|
|
|
1853
1853
|
sidebarToggleLabel: o = "Toggle sidebar",
|
|
1854
1854
|
skiplinkText: l = "Skip to main content",
|
|
1855
1855
|
className: i
|
|
1856
|
-
} = h,
|
|
1856
|
+
} = h, m = I(h, [
|
|
1857
1857
|
"children",
|
|
1858
1858
|
"hasSidebarToggle",
|
|
1859
1859
|
"initialSidebarExpanded",
|
|
@@ -1863,19 +1863,19 @@ const We = $t(null), y1 = ({
|
|
|
1863
1863
|
"skiplinkText",
|
|
1864
1864
|
"className"
|
|
1865
1865
|
]);
|
|
1866
|
-
const [
|
|
1866
|
+
const [d, p] = R(
|
|
1867
1867
|
a
|
|
1868
1868
|
), { isMobile: f } = He(We), E = se(), [_] = kt(E), b = {
|
|
1869
1869
|
navbarWidth: _.width,
|
|
1870
|
-
isSidebarExpanded: f ? !0 :
|
|
1871
|
-
}, v = "pds-dashboard", C = f ? `${v}--isMobile` : `${v}--notMobile`, $ = f ? null :
|
|
1870
|
+
isSidebarExpanded: f ? !0 : d
|
|
1871
|
+
}, v = "pds-dashboard", C = f ? `${v}--isMobile` : `${v}--notMobile`, $ = f ? null : d ? `${v}--sidebarExpanded` : `${v}--sidebarCollapsed`, w = d ? `${r}rem` : `${c}rem`, L = {
|
|
1872
1872
|
width: w,
|
|
1873
1873
|
transition: "width 200ms ease-in-out"
|
|
1874
1874
|
}, k = f ? {} : {
|
|
1875
1875
|
width: `calc(100% - ${w})`,
|
|
1876
1876
|
transition: "width 200ms ease-in-out"
|
|
1877
1877
|
}, z = () => {
|
|
1878
|
-
p(!
|
|
1878
|
+
p(!d);
|
|
1879
1879
|
}, N = {};
|
|
1880
1880
|
e.Children.forEach(s, (P) => {
|
|
1881
1881
|
if (e.isValidElement(P)) {
|
|
@@ -1888,7 +1888,7 @@ const We = $t(null), y1 = ({
|
|
|
1888
1888
|
{
|
|
1889
1889
|
className: `${v}__sidebar-toggle-button`,
|
|
1890
1890
|
onClick: z,
|
|
1891
|
-
"aria-expanded":
|
|
1891
|
+
"aria-expanded": d,
|
|
1892
1892
|
"aria-label": o
|
|
1893
1893
|
},
|
|
1894
1894
|
/* @__PURE__ */ e.createElement("span", { className: `${v}__sidebar-toggle-icon` }, /* @__PURE__ */ e.createElement(A, { iconName: "angleLeft", iconSize: "sm" }))
|
|
@@ -1903,7 +1903,7 @@ const We = $t(null), y1 = ({
|
|
|
1903
1903
|
"pds-typography--product",
|
|
1904
1904
|
i != null ? i : ""
|
|
1905
1905
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
1906
|
-
},
|
|
1906
|
+
}, m),
|
|
1907
1907
|
f && x,
|
|
1908
1908
|
f ? H : S,
|
|
1909
1909
|
/* @__PURE__ */ e.createElement(
|
|
@@ -1918,14 +1918,14 @@ const We = $t(null), y1 = ({
|
|
|
1918
1918
|
)
|
|
1919
1919
|
));
|
|
1920
1920
|
}, Jt = (i) => {
|
|
1921
|
-
var
|
|
1921
|
+
var m = i, {
|
|
1922
1922
|
color: s = "transparent",
|
|
1923
1923
|
hasStatusIndicator: n = !1,
|
|
1924
1924
|
label: a,
|
|
1925
1925
|
statusIndicatorText: c = "Status indicator: ",
|
|
1926
1926
|
statusType: r,
|
|
1927
1927
|
className: o
|
|
1928
|
-
} =
|
|
1928
|
+
} = m, l = I(m, [
|
|
1929
1929
|
"color",
|
|
1930
1930
|
"hasStatusIndicator",
|
|
1931
1931
|
"label",
|
|
@@ -1933,13 +1933,13 @@ const We = $t(null), y1 = ({
|
|
|
1933
1933
|
"statusType",
|
|
1934
1934
|
"className"
|
|
1935
1935
|
]);
|
|
1936
|
-
const u = "pds-status-badge", h = `${u}--${s}`,
|
|
1936
|
+
const u = "pds-status-badge", h = `${u}--${s}`, d = `${u}__status`, p = r ? `${d}--${r}` : null;
|
|
1937
1937
|
return /* @__PURE__ */ e.createElement(
|
|
1938
1938
|
"div",
|
|
1939
1939
|
y({
|
|
1940
1940
|
className: [u, h, o != null ? o : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
1941
1941
|
}, l),
|
|
1942
|
-
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [
|
|
1942
|
+
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [d, p].join(" ").trim() }, r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c, " ", r)),
|
|
1943
1943
|
/* @__PURE__ */ e.createElement("span", { className: `${u}__label` }, a)
|
|
1944
1944
|
);
|
|
1945
1945
|
}, zs = ({ option: s }) => {
|
|
@@ -2002,7 +2002,7 @@ const N1 = Fe(
|
|
|
2002
2002
|
hasSearchShortcut: o = !1,
|
|
2003
2003
|
id: l,
|
|
2004
2004
|
inputWidth: i,
|
|
2005
|
-
isLoading:
|
|
2005
|
+
isLoading: m = !1,
|
|
2006
2006
|
label: u,
|
|
2007
2007
|
labelStrings: h = {
|
|
2008
2008
|
clearButton: "Clear input text",
|
|
@@ -2010,7 +2010,7 @@ const N1 = Fe(
|
|
|
2010
2010
|
searchShortcut: "Press / to focus the search field",
|
|
2011
2011
|
triggerButton: "Toggle dropdown menu"
|
|
2012
2012
|
},
|
|
2013
|
-
loadingText:
|
|
2013
|
+
loadingText: d = "Loading results...",
|
|
2014
2014
|
message: p,
|
|
2015
2015
|
noResultsText: f = "No results found",
|
|
2016
2016
|
onBlur: E,
|
|
@@ -2118,7 +2118,7 @@ const N1 = Fe(
|
|
|
2118
2118
|
}
|
|
2119
2119
|
);
|
|
2120
2120
|
te(pe);
|
|
2121
|
-
}, [ie,
|
|
2121
|
+
}, [ie, m, v]);
|
|
2122
2122
|
const et = ve.map((pe, fe) => {
|
|
2123
2123
|
const { label: xe, value: Re, optionDisplay: De } = pe;
|
|
2124
2124
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2244,7 +2244,7 @@ const N1 = Fe(
|
|
|
2244
2244
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
2245
2245
|
}
|
|
2246
2246
|
})),
|
|
2247
|
-
/* @__PURE__ */ e.createElement("div", { style: y({}, ce) },
|
|
2247
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, ce) }, m ? /* @__PURE__ */ e.createElement("div", { className: `${H}__loading` }, d) : ve.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${H}__options` }, et) : /* @__PURE__ */ e.createElement("div", { className: `${H}__no-results` }, f))
|
|
2248
2248
|
),
|
|
2249
2249
|
B && /* @__PURE__ */ e.createElement(
|
|
2250
2250
|
Qe,
|
|
@@ -2272,10 +2272,10 @@ const N1 = Fe(
|
|
|
2272
2272
|
loadingText: o = "Loading results...",
|
|
2273
2273
|
noResultsText: l = "No results found",
|
|
2274
2274
|
onFocus: i,
|
|
2275
|
-
onOptionSelect:
|
|
2275
|
+
onOptionSelect: m,
|
|
2276
2276
|
placeholder: u = "Search sites",
|
|
2277
2277
|
siteList: h,
|
|
2278
|
-
startingRightPosition:
|
|
2278
|
+
startingRightPosition: d = 9.25,
|
|
2279
2279
|
className: p
|
|
2280
2280
|
} = _, f = I(_, [
|
|
2281
2281
|
"disabled",
|
|
@@ -2299,11 +2299,11 @@ const N1 = Fe(
|
|
|
2299
2299
|
let k = null;
|
|
2300
2300
|
const z = He(Qt);
|
|
2301
2301
|
z && (k = z.navbarWidth);
|
|
2302
|
-
const N = 2.25, x = 22, M = k > 900 ? x : k / 16 -
|
|
2302
|
+
const N = 2.25, x = 22, M = k > 900 ? x : k / 16 - d - N * 0.675;
|
|
2303
2303
|
let T = N;
|
|
2304
2304
|
g && !k && (T = x), g && k && (T = M);
|
|
2305
2305
|
const V = {
|
|
2306
|
-
right: `${
|
|
2306
|
+
right: `${d}rem`,
|
|
2307
2307
|
width: `${T}rem`
|
|
2308
2308
|
}, H = "pds-dashboard-search", S = w ? `${H}--isMobile` : null, P = () => {
|
|
2309
2309
|
b(!0), setTimeout(() => {
|
|
@@ -2314,7 +2314,7 @@ const N1 = Fe(
|
|
|
2314
2314
|
b(!1);
|
|
2315
2315
|
}, 150);
|
|
2316
2316
|
}, F = (D) => {
|
|
2317
|
-
C(D.value),
|
|
2317
|
+
C(D.value), m && m(D);
|
|
2318
2318
|
};
|
|
2319
2319
|
oe(() => {
|
|
2320
2320
|
if (g) {
|
|
@@ -2487,13 +2487,13 @@ const H1 = (l) => {
|
|
|
2487
2487
|
"summary",
|
|
2488
2488
|
"className"
|
|
2489
2489
|
]);
|
|
2490
|
-
const
|
|
2490
|
+
const m = n || `expansion-panel-${Pe()}`, u = "pds-expansion-panel";
|
|
2491
2491
|
return /* @__PURE__ */ e.createElement(
|
|
2492
2492
|
"div",
|
|
2493
2493
|
y({
|
|
2494
2494
|
className: [u, r].join(" ").trim().replace(/\s+/g, " ")
|
|
2495
2495
|
}, o),
|
|
2496
|
-
/* @__PURE__ */ e.createElement("details", { key: c, id:
|
|
2496
|
+
/* @__PURE__ */ e.createElement("details", { key: c, id: m, open: a }, /* @__PURE__ */ e.createElement("summary", null, /* @__PURE__ */ e.createElement("span", null, c), /* @__PURE__ */ e.createElement(A, { iconName: "angleDown", className: `${u}__icon` })), /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, s))
|
|
2497
2497
|
);
|
|
2498
2498
|
};
|
|
2499
2499
|
H1.propTypes = {
|
|
@@ -2604,14 +2604,14 @@ Ms.propTypes = {
|
|
|
2604
2604
|
const Ls = Fe(
|
|
2605
2605
|
(o, r) => {
|
|
2606
2606
|
var l = o, { children: s, active: n, className: a } = l, c = I(l, ["children", "active", "className"]);
|
|
2607
|
-
const i = bs(),
|
|
2607
|
+
const i = bs(), m = "pds-input__option", u = n ? `${m}--active` : null;
|
|
2608
2608
|
return /* @__PURE__ */ e.createElement(
|
|
2609
2609
|
"li",
|
|
2610
2610
|
y({
|
|
2611
2611
|
ref: r,
|
|
2612
2612
|
role: "option",
|
|
2613
2613
|
id: i,
|
|
2614
|
-
className: [
|
|
2614
|
+
className: [m, u, a].join(" ").trim().replace(/\s+/g, " "),
|
|
2615
2615
|
"aria-selected": n
|
|
2616
2616
|
}, c),
|
|
2617
2617
|
s
|
|
@@ -2634,10 +2634,10 @@ const Je = Fe(
|
|
|
2634
2634
|
inputWidth: o,
|
|
2635
2635
|
isFieldset: l = !1,
|
|
2636
2636
|
label: i,
|
|
2637
|
-
message:
|
|
2637
|
+
message: m,
|
|
2638
2638
|
messagePosition: u = "after",
|
|
2639
2639
|
readonly: h = !1,
|
|
2640
|
-
required:
|
|
2640
|
+
required: d = !1,
|
|
2641
2641
|
showLabel: p = !0,
|
|
2642
2642
|
validationState: f,
|
|
2643
2643
|
className: E
|
|
@@ -2658,14 +2658,14 @@ const Je = Fe(
|
|
|
2658
2658
|
"validationState",
|
|
2659
2659
|
"className"
|
|
2660
2660
|
]);
|
|
2661
|
-
const C = "pds-input-wrapper", $ = `${C}--${r}`, w = "pds-input-label", L = `pds-input-field__message pds-input-field__message--${u}`, k = f === "error" ? "pds-has-error" : null, z = f === "success" ? "pds-has-success" : null, N = a ? "pds-is-disabled" : null, x = h ? "pds-is-readonly" : null, M =
|
|
2661
|
+
const C = "pds-input-wrapper", $ = `${C}--${r}`, w = "pds-input-label", L = `pds-input-field__message pds-input-field__message--${u}`, k = f === "error" ? "pds-has-error" : null, z = f === "success" ? "pds-has-success" : null, N = a ? "pds-is-disabled" : null, x = h ? "pds-is-readonly" : null, M = d && !a ? "pds-is-required" : null, T = o ? `${o / 16}rem` : null, V = o ? { width: T } : null, H = l ? "fieldset" : "div", S = d && !a ? /* @__PURE__ */ e.createElement(
|
|
2662
2662
|
A,
|
|
2663
2663
|
{
|
|
2664
2664
|
iconName: "asterisk",
|
|
2665
2665
|
iconSize: "sm",
|
|
2666
2666
|
className: "pds-input-label__required"
|
|
2667
2667
|
}
|
|
2668
|
-
) : null, P =
|
|
2668
|
+
) : null, P = m ? /* @__PURE__ */ e.createElement(
|
|
2669
2669
|
"div",
|
|
2670
2670
|
{
|
|
2671
2671
|
className: L,
|
|
@@ -2673,7 +2673,7 @@ const Je = Fe(
|
|
|
2673
2673
|
role: f === "error" ? "alert" : null,
|
|
2674
2674
|
style: V
|
|
2675
2675
|
},
|
|
2676
|
-
|
|
2676
|
+
m
|
|
2677
2677
|
) : null;
|
|
2678
2678
|
return /* @__PURE__ */ e.createElement(
|
|
2679
2679
|
"div",
|
|
@@ -2777,8 +2777,8 @@ Je.propTypes = {
|
|
|
2777
2777
|
*/
|
|
2778
2778
|
className: t.string
|
|
2779
2779
|
};
|
|
2780
|
-
const dt = (
|
|
2781
|
-
var p =
|
|
2780
|
+
const dt = (d) => {
|
|
2781
|
+
var p = d, {
|
|
2782
2782
|
ariaLabel: s,
|
|
2783
2783
|
buttonType: n = "button",
|
|
2784
2784
|
disabled: a = !1,
|
|
@@ -2788,7 +2788,7 @@ const dt = (m) => {
|
|
|
2788
2788
|
onClick: l = () => {
|
|
2789
2789
|
},
|
|
2790
2790
|
size: i = "md",
|
|
2791
|
-
variant:
|
|
2791
|
+
variant: m = "standard",
|
|
2792
2792
|
className: u
|
|
2793
2793
|
} = p, h = I(p, [
|
|
2794
2794
|
"ariaLabel",
|
|
@@ -2802,7 +2802,7 @@ const dt = (m) => {
|
|
|
2802
2802
|
"variant",
|
|
2803
2803
|
"className"
|
|
2804
2804
|
]);
|
|
2805
|
-
const f = "pds-icon-button", E = i !== "md" ? `${f}--${i}` : null, _ =
|
|
2805
|
+
const f = "pds-icon-button", E = i !== "md" ? `${f}--${i}` : null, _ = m !== "standard" ? `${f}--${m}` : null, g = {
|
|
2806
2806
|
fadeOut: `${f}--fadeOut`,
|
|
2807
2807
|
hide: `${f}--hide`,
|
|
2808
2808
|
scaleIn: `${f}--scaleIn`
|
|
@@ -2888,10 +2888,10 @@ const M1 = (_) => {
|
|
|
2888
2888
|
id: o,
|
|
2889
2889
|
inputWidth: l,
|
|
2890
2890
|
message: i,
|
|
2891
|
-
multiple:
|
|
2891
|
+
multiple: m = !1,
|
|
2892
2892
|
onFileChange: u,
|
|
2893
2893
|
required: h = !1,
|
|
2894
|
-
showLabel:
|
|
2894
|
+
showLabel: d = !0,
|
|
2895
2895
|
validationFunction: p,
|
|
2896
2896
|
className: f
|
|
2897
2897
|
} = g, E = I(g, [
|
|
@@ -2937,7 +2937,7 @@ const M1 = (_) => {
|
|
|
2937
2937
|
label: r,
|
|
2938
2938
|
message: V,
|
|
2939
2939
|
required: h,
|
|
2940
|
-
showLabel:
|
|
2940
|
+
showLabel: d,
|
|
2941
2941
|
validationState: w
|
|
2942
2942
|
}, E),
|
|
2943
2943
|
/* @__PURE__ */ e.createElement(
|
|
@@ -2957,7 +2957,7 @@ const M1 = (_) => {
|
|
|
2957
2957
|
id: o,
|
|
2958
2958
|
accept: s || null,
|
|
2959
2959
|
disabled: c,
|
|
2960
|
-
multiple:
|
|
2960
|
+
multiple: m,
|
|
2961
2961
|
required: h,
|
|
2962
2962
|
onChange: M
|
|
2963
2963
|
}
|
|
@@ -3091,7 +3091,7 @@ const L1 = (o) => {
|
|
|
3091
3091
|
headingText: n
|
|
3092
3092
|
}
|
|
3093
3093
|
),
|
|
3094
|
-
/* @__PURE__ */ e.createElement("ul", { className: `${i}__list`, role: "list" }, a.map((
|
|
3094
|
+
/* @__PURE__ */ e.createElement("ul", { className: `${i}__list`, role: "list" }, a.map((m, u) => /* @__PURE__ */ e.createElement("li", { key: u, className: `${i}__item` }, m)))
|
|
3095
3095
|
);
|
|
3096
3096
|
};
|
|
3097
3097
|
L1.propTypes = {
|
|
@@ -3147,10 +3147,10 @@ const V1 = new Intl.NumberFormat().formatToParts(100000089e-2), It = V1.find((s)
|
|
|
3147
3147
|
label: o,
|
|
3148
3148
|
message: l,
|
|
3149
3149
|
onChange: i,
|
|
3150
|
-
placeholder:
|
|
3150
|
+
placeholder: m,
|
|
3151
3151
|
required: u = !1,
|
|
3152
3152
|
showLabel: h = !0,
|
|
3153
|
-
validationFunction:
|
|
3153
|
+
validationFunction: d,
|
|
3154
3154
|
className: p
|
|
3155
3155
|
} = _, f = I(_, [
|
|
3156
3156
|
"disabled",
|
|
@@ -3203,8 +3203,8 @@ const V1 = new Intl.NumberFormat().formatToParts(100000089e-2), It = V1.find((s)
|
|
|
3203
3203
|
}, j = () => {
|
|
3204
3204
|
z("error"), v.current.push($e.error);
|
|
3205
3205
|
}, F = (O) => {
|
|
3206
|
-
if (
|
|
3207
|
-
const D =
|
|
3206
|
+
if (d) {
|
|
3207
|
+
const D = d(O.target.value) || {};
|
|
3208
3208
|
H(), D.error && j(), D.success && (z("success"), v.current.push($e.success)), L(D.message);
|
|
3209
3209
|
} else
|
|
3210
3210
|
N.current.checkValidity() === !1 || O.target.value.length < M.current + M.numExtra ? (j(), n === "credit-card" && L(
|
|
@@ -3262,7 +3262,7 @@ const V1 = new Intl.NumberFormat().formatToParts(100000089e-2), It = V1.find((s)
|
|
|
3262
3262
|
type: n === "phone" ? "tel" : "text",
|
|
3263
3263
|
id: c,
|
|
3264
3264
|
name: c,
|
|
3265
|
-
placeholder:
|
|
3265
|
+
placeholder: m,
|
|
3266
3266
|
required: u,
|
|
3267
3267
|
disabled: s,
|
|
3268
3268
|
value: C,
|
|
@@ -3376,10 +3376,10 @@ const S1 = (f) => {
|
|
|
3376
3376
|
label: o,
|
|
3377
3377
|
message: l,
|
|
3378
3378
|
onChange: i,
|
|
3379
|
-
required:
|
|
3379
|
+
required: m = !1,
|
|
3380
3380
|
showLabel: u = !0,
|
|
3381
3381
|
validationFunction: h,
|
|
3382
|
-
className:
|
|
3382
|
+
className: d
|
|
3383
3383
|
} = E, p = I(E, [
|
|
3384
3384
|
"counterFunction",
|
|
3385
3385
|
"disabled",
|
|
@@ -3394,7 +3394,7 @@ const S1 = (f) => {
|
|
|
3394
3394
|
"validationFunction",
|
|
3395
3395
|
"className"
|
|
3396
3396
|
]);
|
|
3397
|
-
const _ = "pds-input-obscured", g = se(["pds-input-field", _,
|
|
3397
|
+
const _ = "pds-input-obscured", g = se(["pds-input-field", _, d]), [b, v] = R(r), [C, $] = R(s("")), [w, L] = R(), [k, z] = R(null), [N, x] = R(!1), M = se(null), T = se(null);
|
|
3398
3398
|
oe(() => {
|
|
3399
3399
|
r && s && $(s(r));
|
|
3400
3400
|
}, []);
|
|
@@ -3424,7 +3424,7 @@ const S1 = (f) => {
|
|
|
3424
3424
|
var D;
|
|
3425
3425
|
(!((D = M.current) != null && D.contains(O.relatedTarget)) || !O.relatedTarget) && x(!1);
|
|
3426
3426
|
};
|
|
3427
|
-
V(),
|
|
3427
|
+
V(), m && !n && g.current.push($e.required), n && g.current.push($e.disabled);
|
|
3428
3428
|
let W = null;
|
|
3429
3429
|
return k === "error" && (W = /* @__PURE__ */ e.createElement(rt, { type: "error" })), k === "success" && (W = /* @__PURE__ */ e.createElement(rt, { type: "success" })), /* @__PURE__ */ e.createElement(
|
|
3430
3430
|
"div",
|
|
@@ -3449,7 +3449,7 @@ const S1 = (f) => {
|
|
|
3449
3449
|
type: N ? "text" : "password",
|
|
3450
3450
|
id: c,
|
|
3451
3451
|
name: c,
|
|
3452
|
-
required:
|
|
3452
|
+
required: m,
|
|
3453
3453
|
disabled: n,
|
|
3454
3454
|
value: b,
|
|
3455
3455
|
onChange: P,
|
|
@@ -3571,7 +3571,7 @@ const Tt = 16, rs = 10, T1 = (N) => {
|
|
|
3571
3571
|
id: o,
|
|
3572
3572
|
initialValue: l = "",
|
|
3573
3573
|
inputWidth: i,
|
|
3574
|
-
label:
|
|
3574
|
+
label: m,
|
|
3575
3575
|
labelStrings: u = {
|
|
3576
3576
|
clearButton: "Clear input text",
|
|
3577
3577
|
searchShortcut: "Press / to focus the search field",
|
|
@@ -3580,7 +3580,7 @@ const Tt = 16, rs = 10, T1 = (N) => {
|
|
|
3580
3580
|
visibilityToggleShow: "Show input value"
|
|
3581
3581
|
},
|
|
3582
3582
|
message: h,
|
|
3583
|
-
onChange:
|
|
3583
|
+
onChange: d,
|
|
3584
3584
|
onFocus: p,
|
|
3585
3585
|
placeholder: f,
|
|
3586
3586
|
readonly: E = !1,
|
|
@@ -3674,7 +3674,7 @@ const Tt = 16, rs = 10, T1 = (N) => {
|
|
|
3674
3674
|
}, le = (ae) => {
|
|
3675
3675
|
p && p(ae.target);
|
|
3676
3676
|
}, ne = (ae) => {
|
|
3677
|
-
b ?
|
|
3677
|
+
b ? d && d({ formattedValue: ae, rawValue: D.current }) : d && d(ae);
|
|
3678
3678
|
}, _e = (ae) => {
|
|
3679
3679
|
T(b ? te(ae.target.value) : ae.target.value), de(), n && H(n(b ? D.current : ae.target.value)), ne(ae.target.value);
|
|
3680
3680
|
}, ee = (ae) => {
|
|
@@ -3713,7 +3713,7 @@ const Tt = 16, rs = 10, T1 = (N) => {
|
|
|
3713
3713
|
id: o,
|
|
3714
3714
|
inputFieldType: "text",
|
|
3715
3715
|
inputWidth: i,
|
|
3716
|
-
label:
|
|
3716
|
+
label: m,
|
|
3717
3717
|
message: we,
|
|
3718
3718
|
onBlur: Q,
|
|
3719
3719
|
ref: O,
|
|
@@ -3918,13 +3918,13 @@ const O1 = (o) => {
|
|
|
3918
3918
|
"headingText",
|
|
3919
3919
|
"className"
|
|
3920
3920
|
]);
|
|
3921
|
-
const i = "pds-links-card",
|
|
3921
|
+
const i = "pds-links-card", m = `${n}`;
|
|
3922
3922
|
return /* @__PURE__ */ e.createElement(
|
|
3923
3923
|
"div",
|
|
3924
3924
|
y({
|
|
3925
3925
|
className: [i, c].join(" ").trim().replace(/\s+/g, " ")
|
|
3926
3926
|
}, r),
|
|
3927
|
-
a && /* @__PURE__ */ e.createElement(
|
|
3927
|
+
a && /* @__PURE__ */ e.createElement(m, { className: `${i}__heading pds-ts-xl` }, a),
|
|
3928
3928
|
s && /* @__PURE__ */ e.createElement("ul", { className: `${i}__list`, role: "list" }, s.map((u, h) => /* @__PURE__ */ e.createElement("li", { key: h, className: "pds-cta-links-card__item" }, u)))
|
|
3929
3929
|
);
|
|
3930
3930
|
};
|
|
@@ -3976,22 +3976,30 @@ const os = [
|
|
|
3976
3976
|
"uniqueId",
|
|
3977
3977
|
"className"
|
|
3978
3978
|
]);
|
|
3979
|
-
const
|
|
3980
|
-
backgroundImage:
|
|
3979
|
+
const m = "pds-avatar", u = `${m}--${s}`, h = n ? `${m}--image` : null, d = c ? `var(--pds-color-gradient-avatar-${R1(c)})` : null, p = {
|
|
3980
|
+
backgroundImage: d,
|
|
3981
3981
|
borderRadius: "100%",
|
|
3982
3982
|
height: "100%",
|
|
3983
3983
|
width: "100%"
|
|
3984
|
-
}, f = n ? /* @__PURE__ */ e.createElement(
|
|
3984
|
+
}, f = n ? /* @__PURE__ */ e.createElement(
|
|
3985
|
+
"img",
|
|
3986
|
+
{
|
|
3987
|
+
src: `${n}`,
|
|
3988
|
+
style: { backgroundImage: d },
|
|
3989
|
+
className: `${m}__image`,
|
|
3990
|
+
alt: ""
|
|
3991
|
+
}
|
|
3992
|
+
) : /* @__PURE__ */ e.createElement("span", { style: p }), E = /* @__PURE__ */ e.createElement("span", { className: `${m}__content` }, f), _ = Ut(a) ? je(
|
|
3985
3993
|
a,
|
|
3986
3994
|
ge(y({}, a.props), {
|
|
3987
|
-
className: `${
|
|
3995
|
+
className: `${m}__content ${m}__content--link`
|
|
3988
3996
|
}),
|
|
3989
3997
|
f
|
|
3990
3998
|
) : null;
|
|
3991
3999
|
return /* @__PURE__ */ e.createElement(
|
|
3992
4000
|
"div",
|
|
3993
4001
|
y({
|
|
3994
|
-
className: J([
|
|
4002
|
+
className: J([m, u, h, r])
|
|
3995
4003
|
}, o),
|
|
3996
4004
|
a ? _ : E
|
|
3997
4005
|
);
|
|
@@ -4005,10 +4013,10 @@ const os = [
|
|
|
4005
4013
|
isSplitButton: o = !1,
|
|
4006
4014
|
label: l,
|
|
4007
4015
|
menuItems: i,
|
|
4008
|
-
menuPosition:
|
|
4016
|
+
menuPosition: m = "start",
|
|
4009
4017
|
size: u = "md",
|
|
4010
4018
|
testId: h,
|
|
4011
|
-
undefinedLabel:
|
|
4019
|
+
undefinedLabel: d = "Unlabeled group",
|
|
4012
4020
|
variant: p = "primary",
|
|
4013
4021
|
withinNavbar: f,
|
|
4014
4022
|
className: E
|
|
@@ -4218,7 +4226,7 @@ const os = [
|
|
|
4218
4226
|
Rt || Ot
|
|
4219
4227
|
), be = Y.length > 0;
|
|
4220
4228
|
let me = [`${H}__listbox`];
|
|
4221
|
-
if (f && me.push(`${H}__listbox--navbar`), (a === "avatar" || a === "avatar-with-text") && me.push(`${H}__listbox--avatar`),
|
|
4229
|
+
if (f && me.push(`${H}__listbox--navbar`), (a === "avatar" || a === "avatar-with-text") && me.push(`${H}__listbox--avatar`), m === "end" && me.push(`${H}__listbox--end`), a === "icon-only" && me.push(`${H}__listbox--icon-only`), me = me.join(" ").trim().replace(/\s+/g, " "), be) {
|
|
4222
4230
|
const Ne = gt(q, Y);
|
|
4223
4231
|
Ne.forEach(() => {
|
|
4224
4232
|
le.current.push(Pe());
|
|
@@ -4249,7 +4257,7 @@ const os = [
|
|
|
4249
4257
|
},
|
|
4250
4258
|
Ne.map((Me, tt) => {
|
|
4251
4259
|
Ce = le.current[tt];
|
|
4252
|
-
const st = Me[0].isHeading, nt = st ? `${B}-group-${Ce}-heading` : "", js = `${B}-group-${Ce}`, Bs = st ? null : `${
|
|
4260
|
+
const st = Me[0].isHeading, nt = st ? `${B}-group-${Ce}-heading` : "", js = `${B}-group-${Ce}`, Bs = st ? null : `${d} ${tt + 1}`;
|
|
4253
4261
|
return /* @__PURE__ */ e.createElement(
|
|
4254
4262
|
"ul",
|
|
4255
4263
|
{
|
|
@@ -4814,23 +4822,23 @@ const A1 = /* @__PURE__ */ e.createElement(
|
|
|
4814
4822
|
"className"
|
|
4815
4823
|
]);
|
|
4816
4824
|
var g;
|
|
4817
|
-
const
|
|
4818
|
-
let
|
|
4825
|
+
const m = "pds-pantheon-logo", u = n && n !== "full" ? `${m}--${n}` : null, h = s && s !== "default" ? `${m}--${s}` : null;
|
|
4826
|
+
let d;
|
|
4819
4827
|
switch (n) {
|
|
4820
4828
|
case "full":
|
|
4821
|
-
|
|
4829
|
+
d = A1;
|
|
4822
4830
|
break;
|
|
4823
4831
|
case "icon":
|
|
4824
|
-
|
|
4832
|
+
d = is;
|
|
4825
4833
|
break;
|
|
4826
4834
|
case "wordmark":
|
|
4827
|
-
|
|
4835
|
+
d = P1;
|
|
4828
4836
|
break;
|
|
4829
4837
|
case "sub-brand":
|
|
4830
|
-
|
|
4838
|
+
d = is;
|
|
4831
4839
|
}
|
|
4832
4840
|
const p = e.isValidElement(a) && typeof a.props.children == "string" ? a.props.children : "", f = e.isValidElement(a) ? je(a, {
|
|
4833
|
-
children:
|
|
4841
|
+
children: d,
|
|
4834
4842
|
"aria-Label": p
|
|
4835
4843
|
}) : a, E = (g = c == null ? void 0 : c.text) != null ? g : "", _ = c && 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" }, c.linkContent ? je(c.linkContent, {
|
|
4836
4844
|
children: E,
|
|
@@ -4840,17 +4848,17 @@ const A1 = /* @__PURE__ */ e.createElement(
|
|
|
4840
4848
|
"div",
|
|
4841
4849
|
y({
|
|
4842
4850
|
className: J([
|
|
4843
|
-
|
|
4851
|
+
m,
|
|
4844
4852
|
u,
|
|
4845
4853
|
h,
|
|
4846
4854
|
r != null ? r : ""
|
|
4847
4855
|
])
|
|
4848
4856
|
}, o),
|
|
4849
|
-
a ? f :
|
|
4857
|
+
a ? f : d,
|
|
4850
4858
|
_
|
|
4851
4859
|
);
|
|
4852
|
-
}, q1 = (
|
|
4853
|
-
var p =
|
|
4860
|
+
}, q1 = (d) => {
|
|
4861
|
+
var p = d, {
|
|
4854
4862
|
children: s,
|
|
4855
4863
|
colorType: n = "default",
|
|
4856
4864
|
containerWidth: a = "x-wide",
|
|
@@ -4859,7 +4867,7 @@ const A1 = /* @__PURE__ */ e.createElement(
|
|
|
4859
4867
|
logoDisplay: o = "full",
|
|
4860
4868
|
logoLink: l = /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io" }, "Pantheon Home"),
|
|
4861
4869
|
logoSrc: i,
|
|
4862
|
-
logoSubBrand:
|
|
4870
|
+
logoSubBrand: m,
|
|
4863
4871
|
className: u
|
|
4864
4872
|
} = p, h = I(p, [
|
|
4865
4873
|
"children",
|
|
@@ -4935,7 +4943,7 @@ const A1 = /* @__PURE__ */ e.createElement(
|
|
|
4935
4943
|
colorType: T,
|
|
4936
4944
|
displayType: o,
|
|
4937
4945
|
linkContent: l,
|
|
4938
|
-
subBrand:
|
|
4946
|
+
subBrand: m
|
|
4939
4947
|
}
|
|
4940
4948
|
), P = /* @__PURE__ */ e.createElement(
|
|
4941
4949
|
"button",
|
|
@@ -5027,16 +5035,16 @@ const Ss = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
|
5027
5035
|
}), []);
|
|
5028
5036
|
const i = () => {
|
|
5029
5037
|
l(window.innerWidth);
|
|
5030
|
-
},
|
|
5038
|
+
}, m = o <= a, u = "pds-nav-menu", { refs: h, context: d } = Ie({
|
|
5031
5039
|
placement: "bottom-start",
|
|
5032
5040
|
open: c,
|
|
5033
5041
|
onOpenChange: r,
|
|
5034
5042
|
whileElementsMounted: qe
|
|
5035
|
-
}), p = ot(
|
|
5043
|
+
}), p = ot(d, { event: "mousedown" }), f = Se(d), E = Te(d, { role: "menu" });
|
|
5036
5044
|
let _;
|
|
5037
|
-
|
|
5045
|
+
m ? _ = Et(d, {
|
|
5038
5046
|
enabled: !1
|
|
5039
|
-
}) : _ = Et(
|
|
5047
|
+
}) : _ = Et(d, {
|
|
5040
5048
|
handleClose: vs({
|
|
5041
5049
|
requireIntent: !1,
|
|
5042
5050
|
buffer: 10,
|
|
@@ -5094,7 +5102,7 @@ const j1 = (l) => {
|
|
|
5094
5102
|
"mobileMenuMaxWidth",
|
|
5095
5103
|
"className"
|
|
5096
5104
|
]);
|
|
5097
|
-
const [
|
|
5105
|
+
const [m, u] = R(1025), [h, d] = R(null), [p, f] = R(-1), [E, _] = R(null), [g, b] = R({
|
|
5098
5106
|
containerChildren: []
|
|
5099
5107
|
});
|
|
5100
5108
|
oe(() => (u(window.innerWidth), window.addEventListener("resize", v), () => {
|
|
@@ -5102,13 +5110,13 @@ const j1 = (l) => {
|
|
|
5102
5110
|
}), []);
|
|
5103
5111
|
const v = () => {
|
|
5104
5112
|
u(window.innerWidth);
|
|
5105
|
-
}, C =
|
|
5113
|
+
}, C = m <= c;
|
|
5106
5114
|
oe(() => {
|
|
5107
5115
|
g.containerChildren[h] && (g.containerChildren[h].classList.contains(
|
|
5108
5116
|
"pds-nav-menu__dropdown--separator"
|
|
5109
|
-
) && E == "down" ?
|
|
5117
|
+
) && E == "down" ? d(h + 1) : g.containerChildren[h].classList.contains(
|
|
5110
5118
|
"pds-nav-menu__dropdown--separator"
|
|
5111
|
-
) && E == "up" ?
|
|
5119
|
+
) && E == "up" ? d(h - 1) : g.containerChildren[h].children[0].focus());
|
|
5112
5120
|
}, [h]), oe(() => {
|
|
5113
5121
|
p != -1 && (k.current[p].children[0].blur(), k.current[p].children[0].focus({
|
|
5114
5122
|
focusVisible: !0
|
|
@@ -5117,10 +5125,10 @@ const j1 = (l) => {
|
|
|
5117
5125
|
const $ = "pds-nav-menu", w = n !== "default" ? `${$}--${n}` : "", L = C ? `${$}--isMobile` : `${$}--notMobile`, k = se([]), z = (M) => {
|
|
5118
5126
|
const T = k.current.length - 1, F = {
|
|
5119
5127
|
ArrowRight: () => {
|
|
5120
|
-
|
|
5128
|
+
d(-1), f(p === -1 ? 1 : p === T ? 0 : p + 1);
|
|
5121
5129
|
},
|
|
5122
5130
|
ArrowLeft: () => {
|
|
5123
|
-
|
|
5131
|
+
d(-1), f(p === 0 ? T : p - 1);
|
|
5124
5132
|
},
|
|
5125
5133
|
ArrowDown: () => {
|
|
5126
5134
|
var W, O, D, U;
|
|
@@ -5129,10 +5137,10 @@ const j1 = (l) => {
|
|
|
5129
5137
|
g.container != Z && Z != null && b({
|
|
5130
5138
|
container: Z,
|
|
5131
5139
|
containerChildren: [...B]
|
|
5132
|
-
}), h === null || h == g.containerChildren.length - 1 ?
|
|
5140
|
+
}), h === null || h == g.containerChildren.length - 1 ? d(0) : d(parseInt(h) + 1);
|
|
5133
5141
|
},
|
|
5134
5142
|
ArrowUp: () => {
|
|
5135
|
-
_("up"),
|
|
5143
|
+
_("up"), d(h === 0 ? g.containerChildren.length - 1 : parseInt(h) - 1);
|
|
5136
5144
|
}
|
|
5137
5145
|
}[M.code];
|
|
5138
5146
|
F && F();
|
|
@@ -5225,11 +5233,11 @@ const Ct = (o) => {
|
|
|
5225
5233
|
"color",
|
|
5226
5234
|
"className"
|
|
5227
5235
|
]);
|
|
5228
|
-
const i = "pds-indicator-badge",
|
|
5236
|
+
const i = "pds-indicator-badge", m = `${i}--${a}`, u = `${i}--${n}`;
|
|
5229
5237
|
return /* @__PURE__ */ e.createElement(
|
|
5230
5238
|
"span",
|
|
5231
5239
|
y({
|
|
5232
|
-
className: [i,
|
|
5240
|
+
className: [i, m, u, c != null ? c : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
5233
5241
|
}, r),
|
|
5234
5242
|
/* @__PURE__ */ e.createElement("span", { className: `${i}__label` }, s)
|
|
5235
5243
|
);
|
|
@@ -5544,7 +5552,7 @@ const At = {
|
|
|
5544
5552
|
summary: o,
|
|
5545
5553
|
title: l,
|
|
5546
5554
|
className: i
|
|
5547
|
-
} = h,
|
|
5555
|
+
} = h, m = I(h, [
|
|
5548
5556
|
"badge",
|
|
5549
5557
|
"icon",
|
|
5550
5558
|
"selectionLink",
|
|
@@ -5554,37 +5562,37 @@ const At = {
|
|
|
5554
5562
|
"title",
|
|
5555
5563
|
"className"
|
|
5556
5564
|
]);
|
|
5557
|
-
const
|
|
5565
|
+
const d = "pds-new-site-card", p = a.type;
|
|
5558
5566
|
return /* @__PURE__ */ e.createElement(
|
|
5559
5567
|
"div",
|
|
5560
5568
|
y({
|
|
5561
|
-
className: [
|
|
5562
|
-
},
|
|
5569
|
+
className: [d, i].join(" ").trim().replace(/\s+/g, " ")
|
|
5570
|
+
}, m),
|
|
5563
5571
|
/* @__PURE__ */ e.createElement(
|
|
5564
5572
|
p,
|
|
5565
5573
|
y({
|
|
5566
5574
|
"aria-label": a.props.children,
|
|
5567
|
-
className: `${
|
|
5575
|
+
className: `${d}__selection-link`
|
|
5568
5576
|
}, a.props),
|
|
5569
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
5577
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__header` }, n && /* @__PURE__ */ e.createElement("div", { className: `${d}__icon` }, /* @__PURE__ */ e.createElement(Ts, { platformType: n })), /* @__PURE__ */ e.createElement("div", { className: `${d}__title` }, l, c && /* @__PURE__ */ e.createElement("div", { className: `${d}__subtitle` }, c))),
|
|
5570
5578
|
s && /* @__PURE__ */ e.createElement(
|
|
5571
5579
|
Ct,
|
|
5572
5580
|
{
|
|
5573
5581
|
label: ds[s].label,
|
|
5574
5582
|
size: "sm",
|
|
5575
5583
|
color: ds[s].color,
|
|
5576
|
-
className: `${
|
|
5584
|
+
className: `${d}__badge`
|
|
5577
5585
|
}
|
|
5578
5586
|
),
|
|
5579
|
-
o && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
5587
|
+
o && /* @__PURE__ */ e.createElement("div", { className: `${d}__summary` }, o)
|
|
5580
5588
|
),
|
|
5581
|
-
r && r.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
5589
|
+
r && r.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${d}__links` }, r.map((f, E) => {
|
|
5582
5590
|
const _ = f.type;
|
|
5583
5591
|
return /* @__PURE__ */ e.createElement(
|
|
5584
5592
|
_,
|
|
5585
5593
|
y({
|
|
5586
5594
|
key: E,
|
|
5587
|
-
className: `${
|
|
5595
|
+
className: `${d}__link`
|
|
5588
5596
|
}, f.props),
|
|
5589
5597
|
f.props.children,
|
|
5590
5598
|
f.props.target === "_blank" && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
@@ -5592,7 +5600,7 @@ const At = {
|
|
|
5592
5600
|
{
|
|
5593
5601
|
iconName: "externalLink",
|
|
5594
5602
|
iconSize: "sm",
|
|
5595
|
-
className: `${
|
|
5603
|
+
className: `${d}__link-icon`
|
|
5596
5604
|
}
|
|
5597
5605
|
), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Opens new window"))
|
|
5598
5606
|
);
|
|
@@ -5662,16 +5670,16 @@ const it = $t({}), F1 = (s) => {
|
|
|
5662
5670
|
buttonCallback: r = null,
|
|
5663
5671
|
children: o
|
|
5664
5672
|
}) => {
|
|
5665
|
-
const [l, i] = R(() => F1(s)), [
|
|
5673
|
+
const [l, i] = R(() => F1(s)), [m, u] = R([]), h = s.length, [d, p] = R("");
|
|
5666
5674
|
return /* @__PURE__ */ e.createElement(
|
|
5667
5675
|
it.Provider,
|
|
5668
5676
|
{
|
|
5669
5677
|
value: {
|
|
5670
5678
|
currentKey: l,
|
|
5671
5679
|
setCurrentKey: i,
|
|
5672
|
-
currentPages:
|
|
5680
|
+
currentPages: m,
|
|
5673
5681
|
setCurrentPages: u,
|
|
5674
|
-
pageDirection:
|
|
5682
|
+
pageDirection: d,
|
|
5675
5683
|
setDirection: p,
|
|
5676
5684
|
itemLength: h,
|
|
5677
5685
|
pages: s,
|
|
@@ -5702,10 +5710,10 @@ const Lt = (E) => {
|
|
|
5702
5710
|
message: o,
|
|
5703
5711
|
onOptionSelect: l,
|
|
5704
5712
|
options: i,
|
|
5705
|
-
required:
|
|
5713
|
+
required: m = !1,
|
|
5706
5714
|
selectOptionsLabel: u = "Select an option...",
|
|
5707
5715
|
showLabel: h = !0,
|
|
5708
|
-
validationFunction:
|
|
5716
|
+
validationFunction: d,
|
|
5709
5717
|
className: p
|
|
5710
5718
|
} = _, f = I(_, [
|
|
5711
5719
|
"disabled",
|
|
@@ -5760,11 +5768,11 @@ const Lt = (E) => {
|
|
|
5760
5768
|
}))(i), K = () => {
|
|
5761
5769
|
k(""), N(null);
|
|
5762
5770
|
}, ie = (ee) => {
|
|
5763
|
-
const Q =
|
|
5771
|
+
const Q = d(ee) || {};
|
|
5764
5772
|
K(), Q.error && N("error"), Q.success && N("success"), k(Q.message);
|
|
5765
5773
|
}, X = (ee) => {
|
|
5766
5774
|
const Q = U[ee];
|
|
5767
|
-
w(Q.value), C(null), b(!1), l && l(Q),
|
|
5775
|
+
w(Q.value), C(null), b(!1), l && l(Q), d && ie(Q);
|
|
5768
5776
|
}, ve = /* @__PURE__ */ e.createElement(A, { iconName: "angleDown", className: `${M}__trigger-icon` }), te = /* @__PURE__ */ e.createElement(A, { iconName: "check", className: `${M}__checked-icon` }), de = U.map((ee, Q) => /* @__PURE__ */ e.createElement(
|
|
5769
5777
|
Ls,
|
|
5770
5778
|
ge(y({
|
|
@@ -5798,7 +5806,7 @@ const Lt = (E) => {
|
|
|
5798
5806
|
inputWidth: c,
|
|
5799
5807
|
label: r,
|
|
5800
5808
|
message: le,
|
|
5801
|
-
required:
|
|
5809
|
+
required: m,
|
|
5802
5810
|
showLabel: h,
|
|
5803
5811
|
validationState: z
|
|
5804
5812
|
}, f),
|
|
@@ -5812,7 +5820,7 @@ const Lt = (E) => {
|
|
|
5812
5820
|
tabIndex: 0,
|
|
5813
5821
|
"aria-label": r,
|
|
5814
5822
|
"aria-disabled": s,
|
|
5815
|
-
"aria-required":
|
|
5823
|
+
"aria-required": m ? !0 : null,
|
|
5816
5824
|
"aria-invalid": z === "error",
|
|
5817
5825
|
"aria-describedby": le ? `${n}__message` : null,
|
|
5818
5826
|
ref: V.setReference
|
|
@@ -5942,12 +5950,12 @@ const W1 = {
|
|
|
5942
5950
|
}
|
|
5943
5951
|
}, Ye = (c) => {
|
|
5944
5952
|
var r = c, { arrowText: s = null, direction: n } = r, a = I(r, ["arrowText", "direction"]);
|
|
5945
|
-
const { buttonCallback: o, currentKey: l, setCurrentKey: i, setDirection:
|
|
5953
|
+
const { buttonCallback: o, currentKey: l, setCurrentKey: i, setDirection: m, pages: u } = He(it), h = Gt(
|
|
5946
5954
|
(g, b) => {
|
|
5947
5955
|
o && (g.preventDefault(), o(b));
|
|
5948
5956
|
},
|
|
5949
5957
|
[o, l]
|
|
5950
|
-
), { title:
|
|
5958
|
+
), { title: d, rel: p, srText: f, icon: E, keyModifier: _ } = W1[n];
|
|
5951
5959
|
return /* @__PURE__ */ e.createElement(
|
|
5952
5960
|
"li",
|
|
5953
5961
|
y({
|
|
@@ -5956,11 +5964,11 @@ const W1 = {
|
|
|
5956
5964
|
/* @__PURE__ */ e.createElement(
|
|
5957
5965
|
"a",
|
|
5958
5966
|
{
|
|
5959
|
-
title:
|
|
5967
|
+
title: d,
|
|
5960
5968
|
rel: p,
|
|
5961
5969
|
href: u[_(l)].link,
|
|
5962
5970
|
onClick: (g) => {
|
|
5963
|
-
h(g, _(l)), i(_(l)),
|
|
5971
|
+
h(g, _(l)), i(_(l)), m(n);
|
|
5964
5972
|
}
|
|
5965
5973
|
},
|
|
5966
5974
|
n === "right" && s ? /* @__PURE__ */ e.createElement("span", null, s) : null,
|
|
@@ -5983,10 +5991,10 @@ const Z1 = (n) => {
|
|
|
5983
5991
|
headingId: o,
|
|
5984
5992
|
itemLength: l,
|
|
5985
5993
|
pages: i
|
|
5986
|
-
} = He(it),
|
|
5994
|
+
} = He(it), m = [];
|
|
5987
5995
|
return i.forEach((u, h) => {
|
|
5988
|
-
let
|
|
5989
|
-
|
|
5996
|
+
let d = { label: `Page ${h + 1}`, value: `${h + 1}` };
|
|
5997
|
+
m.push(d);
|
|
5990
5998
|
}), /* @__PURE__ */ e.createElement(
|
|
5991
5999
|
"nav",
|
|
5992
6000
|
y({
|
|
@@ -5999,7 +6007,7 @@ const Z1 = (n) => {
|
|
|
5999
6007
|
Lt,
|
|
6000
6008
|
{
|
|
6001
6009
|
label: "Page select dropdown",
|
|
6002
|
-
selectOptions:
|
|
6010
|
+
selectOptions: m,
|
|
6003
6011
|
selectOptionsLabel: `Page ${c + 1}`,
|
|
6004
6012
|
onChange: (u) => {
|
|
6005
6013
|
console.log(u), r(parseInt(u - 1)), a(parseInt(u - 1));
|
|
@@ -6011,7 +6019,7 @@ const Z1 = (n) => {
|
|
|
6011
6019
|
function U1(s, n, a, c, r, o) {
|
|
6012
6020
|
if (c > 3) {
|
|
6013
6021
|
let l = [];
|
|
6014
|
-
const i = n.find((
|
|
6022
|
+
const i = n.find((m) => m.key == c);
|
|
6015
6023
|
(n[0].key === c || !i) && (c > r - 3 ? (l = [
|
|
6016
6024
|
{
|
|
6017
6025
|
page: s[r - 4],
|
|
@@ -6029,10 +6037,10 @@ function U1(s, n, a, c, r, o) {
|
|
|
6029
6037
|
page: s[r - 1],
|
|
6030
6038
|
key: r - 1
|
|
6031
6039
|
}
|
|
6032
|
-
], a(l)) : c === r - 1 ? s.forEach((
|
|
6033
|
-
u > r - 4 && l.push({ page:
|
|
6034
|
-
}) : s.forEach((
|
|
6035
|
-
u >= c && u < c + 4 && l.push({ page:
|
|
6040
|
+
], a(l)) : c === r - 1 ? s.forEach((m, u) => {
|
|
6041
|
+
u > r - 4 && l.push({ page: m, key: u });
|
|
6042
|
+
}) : s.forEach((m, u) => {
|
|
6043
|
+
u >= c && u < c + 4 && l.push({ page: m, key: u });
|
|
6036
6044
|
}), c > 3 && (l = [
|
|
6037
6045
|
{ page: s[0], key: 0 },
|
|
6038
6046
|
{ page: s[1], key: 1 },
|
|
@@ -6092,8 +6100,8 @@ function U1(s, n, a, c, r, o) {
|
|
|
6092
6100
|
]), a(l));
|
|
6093
6101
|
} else {
|
|
6094
6102
|
let l = [];
|
|
6095
|
-
s.forEach((i,
|
|
6096
|
-
|
|
6103
|
+
s.forEach((i, m) => {
|
|
6104
|
+
m < 4 && l.push({ page: i, key: m });
|
|
6097
6105
|
}), !(c > r - 3) && r > 4 && (l = [
|
|
6098
6106
|
...l,
|
|
6099
6107
|
"...",
|
|
@@ -6116,7 +6124,7 @@ const Rs = (c) => {
|
|
|
6116
6124
|
}, {
|
|
6117
6125
|
currentKey: l,
|
|
6118
6126
|
setCurrentKey: i,
|
|
6119
|
-
render:
|
|
6127
|
+
render: m = null,
|
|
6120
6128
|
paginationItemClickHandler: u
|
|
6121
6129
|
} = He(it);
|
|
6122
6130
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, n.key || n.key === 0 ? /* @__PURE__ */ e.createElement(
|
|
@@ -6129,7 +6137,7 @@ const Rs = (c) => {
|
|
|
6129
6137
|
}
|
|
6130
6138
|
}, a),
|
|
6131
6139
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, l === s ? "Current Page" : `Page ${(n != null && n.key ? n == null ? void 0 : n.key : s) + 1}`),
|
|
6132
|
-
|
|
6140
|
+
m((h = n.page) == null ? void 0 : h.link, n.key + 1)
|
|
6133
6141
|
) : /* @__PURE__ */ e.createElement(
|
|
6134
6142
|
"span",
|
|
6135
6143
|
{
|
|
@@ -6154,10 +6162,10 @@ const G1 = (n) => {
|
|
|
6154
6162
|
currentPages: o,
|
|
6155
6163
|
setCurrentPages: l,
|
|
6156
6164
|
headingId: i,
|
|
6157
|
-
itemLength:
|
|
6165
|
+
itemLength: m,
|
|
6158
6166
|
pageDirection: u,
|
|
6159
6167
|
pages: h
|
|
6160
|
-
} = He(it),
|
|
6168
|
+
} = He(it), d = Gt(
|
|
6161
6169
|
(f, E) => {
|
|
6162
6170
|
a && (f.preventDefault(), a(E));
|
|
6163
6171
|
},
|
|
@@ -6169,7 +6177,7 @@ const G1 = (n) => {
|
|
|
6169
6177
|
o,
|
|
6170
6178
|
l,
|
|
6171
6179
|
c,
|
|
6172
|
-
|
|
6180
|
+
m,
|
|
6173
6181
|
u
|
|
6174
6182
|
);
|
|
6175
6183
|
}, [c]), /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
@@ -6185,16 +6193,16 @@ const G1 = (n) => {
|
|
|
6185
6193
|
{
|
|
6186
6194
|
href: p[p.length - 1].link,
|
|
6187
6195
|
onClick: (f) => {
|
|
6188
|
-
|
|
6196
|
+
d(f, 0), r(0);
|
|
6189
6197
|
}
|
|
6190
6198
|
},
|
|
6191
6199
|
"First"
|
|
6192
|
-
)), /* @__PURE__ */ e.createElement(Ye, { direction: "left" })) : null, o.map((f, E) => /* @__PURE__ */ e.createElement("li", { key: `list-item-${E}` }, /* @__PURE__ */ e.createElement(Rs, y({ index: E, page: f }, s)))), c <
|
|
6200
|
+
)), /* @__PURE__ */ e.createElement(Ye, { direction: "left" })) : null, o.map((f, E) => /* @__PURE__ */ e.createElement("li", { key: `list-item-${E}` }, /* @__PURE__ */ e.createElement(Rs, y({ index: E, page: f }, s)))), c < m - 1 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(Ye, { direction: "right" }), /* @__PURE__ */ e.createElement("li", { className: "pds-pager__item pds-pager__item--last" }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Last Page"), /* @__PURE__ */ e.createElement(
|
|
6193
6201
|
"a",
|
|
6194
6202
|
{
|
|
6195
6203
|
href: p[p.length - 1].link,
|
|
6196
6204
|
onClick: (f) => {
|
|
6197
|
-
|
|
6205
|
+
d(f, m - 1), r(m - 1);
|
|
6198
6206
|
}
|
|
6199
6207
|
},
|
|
6200
6208
|
"Last"
|
|
@@ -6223,14 +6231,14 @@ const G1 = (n) => {
|
|
|
6223
6231
|
return /* @__PURE__ */ e.createElement(Z1, y({}, a));
|
|
6224
6232
|
}
|
|
6225
6233
|
}, X1 = (i) => {
|
|
6226
|
-
var
|
|
6234
|
+
var m = i, {
|
|
6227
6235
|
buttonCallback: s = null,
|
|
6228
6236
|
headingId: n = "pager-heading",
|
|
6229
6237
|
pages: a,
|
|
6230
6238
|
paginationItemClickHandler: c = null,
|
|
6231
6239
|
render: r = null,
|
|
6232
6240
|
type: o = "basic"
|
|
6233
|
-
} =
|
|
6241
|
+
} = m, l = I(m, [
|
|
6234
6242
|
"buttonCallback",
|
|
6235
6243
|
"headingId",
|
|
6236
6244
|
"pages",
|
|
@@ -6285,7 +6293,7 @@ const Q1 = {
|
|
|
6285
6293
|
notIncluded: "xmark",
|
|
6286
6294
|
addon: "circlePlusOutline"
|
|
6287
6295
|
}, ms = (i) => {
|
|
6288
|
-
var
|
|
6296
|
+
var m = i, {
|
|
6289
6297
|
listItems: s,
|
|
6290
6298
|
listLabel: n,
|
|
6291
6299
|
moreLink: a,
|
|
@@ -6296,7 +6304,7 @@ const Q1 = {
|
|
|
6296
6304
|
addon: "Add-on"
|
|
6297
6305
|
},
|
|
6298
6306
|
className: o
|
|
6299
|
-
} =
|
|
6307
|
+
} = m, l = I(m, [
|
|
6300
6308
|
"listItems",
|
|
6301
6309
|
"listLabel",
|
|
6302
6310
|
"moreLink",
|
|
@@ -6311,10 +6319,10 @@ const Q1 = {
|
|
|
6311
6319
|
className: [u, o != null ? o : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
6312
6320
|
}, l),
|
|
6313
6321
|
n && /* @__PURE__ */ e.createElement("div", { className: `${u}__intro` }, n),
|
|
6314
|
-
s && /* @__PURE__ */ e.createElement("ul", { className: `${u}__list` }, s.map((h,
|
|
6322
|
+
s && /* @__PURE__ */ e.createElement("ul", { className: `${u}__list` }, s.map((h, d) => /* @__PURE__ */ e.createElement(
|
|
6315
6323
|
"li",
|
|
6316
6324
|
{
|
|
6317
|
-
key:
|
|
6325
|
+
key: d,
|
|
6318
6326
|
className: `${u}__list-item ${u}__list-item--${h.type}`
|
|
6319
6327
|
},
|
|
6320
6328
|
/* @__PURE__ */ e.createElement(A, { iconName: Q1[h.type], iconSize: "md" }),
|
|
@@ -6336,10 +6344,10 @@ const Q1 = {
|
|
|
6336
6344
|
currentPlan: "Current plan",
|
|
6337
6345
|
mostPopular: "Most popular"
|
|
6338
6346
|
},
|
|
6339
|
-
selectLabel:
|
|
6347
|
+
selectLabel: m = "Select a plan size",
|
|
6340
6348
|
statusBadgeType: u,
|
|
6341
6349
|
className: h
|
|
6342
|
-
} = f,
|
|
6350
|
+
} = f, d = I(f, [
|
|
6343
6351
|
"actionPrimary",
|
|
6344
6352
|
"actionSecondary",
|
|
6345
6353
|
"hasComparisonList",
|
|
@@ -6419,7 +6427,7 @@ const Q1 = {
|
|
|
6419
6427
|
{
|
|
6420
6428
|
id: "plan-select",
|
|
6421
6429
|
className: `${E}__select`,
|
|
6422
|
-
label:
|
|
6430
|
+
label: m,
|
|
6423
6431
|
showLabel: !1,
|
|
6424
6432
|
options: l.map((H) => ({
|
|
6425
6433
|
value: v(H.label),
|
|
@@ -6472,7 +6480,7 @@ const Q1 = {
|
|
|
6472
6480
|
"div",
|
|
6473
6481
|
y({
|
|
6474
6482
|
className: [_, g, h].join(" ").trim().replace(/\s+/g, " ")
|
|
6475
|
-
},
|
|
6483
|
+
}, d),
|
|
6476
6484
|
/* @__PURE__ */ e.createElement(
|
|
6477
6485
|
"div",
|
|
6478
6486
|
{
|
|
@@ -6577,8 +6585,8 @@ J1.propTypes = {
|
|
|
6577
6585
|
*/
|
|
6578
6586
|
containerClassName: t.string
|
|
6579
6587
|
};
|
|
6580
|
-
const e2 = (
|
|
6581
|
-
var p =
|
|
6588
|
+
const e2 = (d) => {
|
|
6589
|
+
var p = d, {
|
|
6582
6590
|
disabled: s = !1,
|
|
6583
6591
|
id: n,
|
|
6584
6592
|
initialSelection: a,
|
|
@@ -6587,7 +6595,7 @@ const e2 = (m) => {
|
|
|
6587
6595
|
message: o,
|
|
6588
6596
|
onChange: l,
|
|
6589
6597
|
options: i,
|
|
6590
|
-
required:
|
|
6598
|
+
required: m = !1,
|
|
6591
6599
|
className: u
|
|
6592
6600
|
} = p, h = I(p, [
|
|
6593
6601
|
"disabled",
|
|
@@ -6615,7 +6623,7 @@ const e2 = (m) => {
|
|
|
6615
6623
|
isFieldset: !0,
|
|
6616
6624
|
label: r,
|
|
6617
6625
|
message: o,
|
|
6618
|
-
required:
|
|
6626
|
+
required: m
|
|
6619
6627
|
}, h),
|
|
6620
6628
|
/* @__PURE__ */ e.createElement("div", { className: [f].join(" ").trim().replace(/\s+/g, " ") }, /* @__PURE__ */ e.createElement("div", { className: `${f}__options` }, i.map((b, v) => /* @__PURE__ */ e.createElement(
|
|
6621
6629
|
"div",
|
|
@@ -6630,7 +6638,7 @@ const e2 = (m) => {
|
|
|
6630
6638
|
id: `${n}-option-${v}`,
|
|
6631
6639
|
name: n,
|
|
6632
6640
|
value: b.value,
|
|
6633
|
-
required:
|
|
6641
|
+
required: m,
|
|
6634
6642
|
disabled: s || b.disabled,
|
|
6635
6643
|
onClick: g,
|
|
6636
6644
|
defaultChecked: E === b.value
|
|
@@ -6712,7 +6720,7 @@ const t2 = (u) => {
|
|
|
6712
6720
|
sitePlan: o,
|
|
6713
6721
|
siteStatus: l,
|
|
6714
6722
|
className: i
|
|
6715
|
-
} = h,
|
|
6723
|
+
} = h, m = I(h, [
|
|
6716
6724
|
"headingLevel",
|
|
6717
6725
|
"gotoText",
|
|
6718
6726
|
"siteImage",
|
|
@@ -6722,7 +6730,7 @@ const t2 = (u) => {
|
|
|
6722
6730
|
"siteStatus",
|
|
6723
6731
|
"className"
|
|
6724
6732
|
]);
|
|
6725
|
-
const
|
|
6733
|
+
const d = "pds-site-card", p = `${s}`;
|
|
6726
6734
|
let f = "";
|
|
6727
6735
|
l === "Active" && (f = "success"), l === "Frozen" && (f = "frozen");
|
|
6728
6736
|
const E = /* @__PURE__ */ e.createElement(
|
|
@@ -6737,10 +6745,10 @@ const t2 = (u) => {
|
|
|
6737
6745
|
_,
|
|
6738
6746
|
y(y({
|
|
6739
6747
|
"aria-label": `${n} ${r} dashboard`,
|
|
6740
|
-
className: [
|
|
6741
|
-
}, c.props),
|
|
6742
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
6743
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
6748
|
+
className: [d, i].join(" ").trim().replace(/\s+/g, " ")
|
|
6749
|
+
}, c.props), m),
|
|
6750
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__image` }, /* @__PURE__ */ e.createElement("img", { src: a, alt: "" })),
|
|
6751
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${d}__heading` }, /* @__PURE__ */ e.createElement(p, { className: `${d}__site-name pds-ts-l`, title: r }, r), E), /* @__PURE__ */ e.createElement("div", { className: `${d}__plan` }, o))
|
|
6744
6752
|
);
|
|
6745
6753
|
};
|
|
6746
6754
|
t2.propTypes = {
|
|
@@ -6796,13 +6804,13 @@ const s2 = (o) => {
|
|
|
6796
6804
|
"legalLinks",
|
|
6797
6805
|
"className"
|
|
6798
6806
|
]);
|
|
6799
|
-
const i = "pds-site-footer",
|
|
6807
|
+
const i = "pds-site-footer", m = s && s !== "default" ? `pds-container pds-container--${s}` : "pds-container", u = (/* @__PURE__ */ new Date()).getFullYear(), h = a.includes("privacy"), d = a.includes("dataSubjectRequest"), p = a.includes("cookiePolicy"), f = a.includes("termsOfUse"), E = a.includes("acceptableUse"), _ = a.includes("accessibilityStatement");
|
|
6800
6808
|
return /* @__PURE__ */ e.createElement(
|
|
6801
6809
|
"footer",
|
|
6802
6810
|
y({
|
|
6803
6811
|
className: [i, c].join(" ").trim().replace(/\s+/g, " ")
|
|
6804
6812
|
}, r),
|
|
6805
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
6813
|
+
/* @__PURE__ */ e.createElement("div", { className: m }, n && /* @__PURE__ */ e.createElement("div", { className: `${i}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${i}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${i}__copyright` }, "© ", u, " Pantheon Systems, Inc."), h && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), d && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), p && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), f && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), E && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), _ && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement")))
|
|
6806
6814
|
);
|
|
6807
6815
|
};
|
|
6808
6816
|
s2.propTypes = {
|
|
@@ -6900,14 +6908,14 @@ const Pt = {
|
|
|
6900
6908
|
label: "Pantheon on YouTube"
|
|
6901
6909
|
}
|
|
6902
6910
|
}, a2 = (i) => {
|
|
6903
|
-
var
|
|
6911
|
+
var m = i, {
|
|
6904
6912
|
actionItems: s,
|
|
6905
6913
|
disabled: n,
|
|
6906
6914
|
moreActionsLabel: a = "More actions",
|
|
6907
6915
|
size: c = "md",
|
|
6908
6916
|
variant: r = "primary",
|
|
6909
6917
|
className: o
|
|
6910
|
-
} =
|
|
6918
|
+
} = m, l = I(m, [
|
|
6911
6919
|
"actionItems",
|
|
6912
6920
|
"disabled",
|
|
6913
6921
|
"moreActionsLabel",
|
|
@@ -6915,9 +6923,9 @@ const Pt = {
|
|
|
6915
6923
|
"variant",
|
|
6916
6924
|
"className"
|
|
6917
6925
|
]);
|
|
6918
|
-
const u = "pds-split-button", h = `${u}--${r}`,
|
|
6926
|
+
const u = "pds-split-button", h = `${u}--${r}`, d = s[0], p = s.slice(1);
|
|
6919
6927
|
let f = null;
|
|
6920
|
-
return
|
|
6928
|
+
return d.isLink === !0 ? f = /* @__PURE__ */ e.createElement(
|
|
6921
6929
|
Be,
|
|
6922
6930
|
{
|
|
6923
6931
|
className: `${u}__primary-action`,
|
|
@@ -6925,17 +6933,17 @@ const Pt = {
|
|
|
6925
6933
|
variant: r,
|
|
6926
6934
|
displayType: "label-only",
|
|
6927
6935
|
disabled: n,
|
|
6928
|
-
linkContent:
|
|
6936
|
+
linkContent: d.linkContent
|
|
6929
6937
|
}
|
|
6930
6938
|
) : f = /* @__PURE__ */ e.createElement(
|
|
6931
6939
|
Ke,
|
|
6932
6940
|
{
|
|
6933
6941
|
className: `${u}__primary-action`,
|
|
6934
|
-
label:
|
|
6942
|
+
label: d.label,
|
|
6935
6943
|
size: c,
|
|
6936
6944
|
variant: r,
|
|
6937
6945
|
disabled: n,
|
|
6938
|
-
onClick: () =>
|
|
6946
|
+
onClick: () => d.callback(d)
|
|
6939
6947
|
}
|
|
6940
6948
|
), /* @__PURE__ */ e.createElement(
|
|
6941
6949
|
"span",
|
|
@@ -6988,16 +6996,16 @@ a2.propTypes = {
|
|
|
6988
6996
|
};
|
|
6989
6997
|
const l2 = (c) => {
|
|
6990
6998
|
var r = c, { listItems: s, className: n } = r, a = I(r, ["listItems", "className"]);
|
|
6991
|
-
const o = "pds-tile-list", l = "pds-tile-list--stats", i = ({ item:
|
|
6992
|
-
const { imageSrc: u, stat: h, description:
|
|
6993
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${o}__item` }, u && /* @__PURE__ */ e.createElement("div", { className: `${o}__image` }, /* @__PURE__ */ e.createElement("img", { src: u, alt: "" })), h && /* @__PURE__ */ e.createElement("dt", { className: `${o}__stat` }, h),
|
|
6999
|
+
const o = "pds-tile-list", l = "pds-tile-list--stats", i = ({ item: m }) => {
|
|
7000
|
+
const { imageSrc: u, stat: h, description: d } = m;
|
|
7001
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${o}__item` }, u && /* @__PURE__ */ e.createElement("div", { className: `${o}__image` }, /* @__PURE__ */ e.createElement("img", { src: u, alt: "" })), h && /* @__PURE__ */ e.createElement("dt", { className: `${o}__stat` }, h), d && /* @__PURE__ */ e.createElement("dd", { className: `${o}__description` }, d)), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" }));
|
|
6994
7002
|
};
|
|
6995
7003
|
return /* @__PURE__ */ e.createElement(
|
|
6996
7004
|
"dl",
|
|
6997
7005
|
y({
|
|
6998
7006
|
className: [o, l, n].join(" ").trim()
|
|
6999
7007
|
}, a),
|
|
7000
|
-
s.map((
|
|
7008
|
+
s.map((m, u) => /* @__PURE__ */ e.createElement(i, { key: u, item: m }))
|
|
7001
7009
|
);
|
|
7002
7010
|
};
|
|
7003
7011
|
l2.propTypes = {
|
|
@@ -7035,7 +7043,7 @@ const c2 = 3.815, r2 = 4.678, o2 = 5.96, i2 = (u) => {
|
|
|
7035
7043
|
showPercentage: o = !1,
|
|
7036
7044
|
size: l = "md",
|
|
7037
7045
|
className: i
|
|
7038
|
-
} = h,
|
|
7046
|
+
} = h, m = I(h, [
|
|
7039
7047
|
"id",
|
|
7040
7048
|
"innerLabel",
|
|
7041
7049
|
"label",
|
|
@@ -7045,7 +7053,7 @@ const c2 = 3.815, r2 = 4.678, o2 = 5.96, i2 = (u) => {
|
|
|
7045
7053
|
"size",
|
|
7046
7054
|
"className"
|
|
7047
7055
|
]);
|
|
7048
|
-
const
|
|
7056
|
+
const d = s || Pe(), p = "pds-progress-ring", f = r ? `${p}__label` : "visually-hidden", E = `${p}__loading-text ${p}__loading-text--${l}`, _ = (k) => k * 16;
|
|
7049
7057
|
let g = _(r2), b = 7;
|
|
7050
7058
|
l === "sm" && (g = _(c2), b = b / 1.25), l === "lg" && (g = _(o2), b = b * 1.25);
|
|
7051
7059
|
const v = g / 2 - b / 2, C = `${v / 100}rem`, $ = 2 * Math.PI * v, w = $ - $ * c / 100;
|
|
@@ -7058,14 +7066,14 @@ const c2 = 3.815, r2 = 4.678, o2 = 5.96, i2 = (u) => {
|
|
|
7058
7066
|
"--ring-stroke-dashoffset": w,
|
|
7059
7067
|
"--ring-stroke-dasharray": $
|
|
7060
7068
|
}
|
|
7061
|
-
},
|
|
7062
|
-
/* @__PURE__ */ e.createElement("div", { id:
|
|
7069
|
+
}, m),
|
|
7070
|
+
/* @__PURE__ */ e.createElement("div", { id: d, className: f }, a),
|
|
7063
7071
|
/* @__PURE__ */ e.createElement(
|
|
7064
7072
|
"div",
|
|
7065
7073
|
{
|
|
7066
7074
|
className: `${p}__ring`,
|
|
7067
7075
|
role: "progressbar",
|
|
7068
|
-
"aria-labelledby":
|
|
7076
|
+
"aria-labelledby": d,
|
|
7069
7077
|
"aria-valuenow": c
|
|
7070
7078
|
},
|
|
7071
7079
|
/* @__PURE__ */ e.createElement(
|
|
@@ -7128,8 +7136,8 @@ const c2 = 3.815, r2 = 4.678, o2 = 5.96, i2 = (u) => {
|
|
|
7128
7136
|
"translatableLabels",
|
|
7129
7137
|
"className"
|
|
7130
7138
|
]);
|
|
7131
|
-
const l = "pds-stepper", i = "pds-stepper-mobile",
|
|
7132
|
-
const w = $ + 1, L = $ === g, k = $ < g, z = C.hasError && L, x = (h - _ *
|
|
7139
|
+
const l = "pds-stepper", i = "pds-stepper-mobile", m = se(), [u] = kt(m), h = u.width, d = getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "") * 16, p = -40, f = 2, E = 5, _ = s.length, g = s.findLastIndex((C) => C.isCurrent), b = s.map((C, $) => {
|
|
7140
|
+
const w = $ + 1, L = $ === g, k = $ < g, z = C.hasError && L, x = (h - _ * d) / (_ + (_ - 2)), M = d + x * 2, T = d + x, V = x + p * -1, H = $ === 0, S = $ === _ - 1;
|
|
7133
7141
|
let P = M;
|
|
7134
7142
|
(H || S) && (P = T);
|
|
7135
7143
|
const j = `${l}__step`, F = [j];
|
|
@@ -7233,7 +7241,7 @@ const c2 = 3.815, r2 = 4.678, o2 = 5.96, i2 = (u) => {
|
|
|
7233
7241
|
className: [l, a].join(" ").trim().replace(/\s+/g, " "),
|
|
7234
7242
|
"data-steps": _
|
|
7235
7243
|
}, c),
|
|
7236
|
-
/* @__PURE__ */ e.createElement("ol", { className: `${l}__steps`, ref:
|
|
7244
|
+
/* @__PURE__ */ e.createElement("ol", { className: `${l}__steps`, ref: m }, b)
|
|
7237
7245
|
), /* @__PURE__ */ e.createElement(
|
|
7238
7246
|
"div",
|
|
7239
7247
|
y({
|
|
@@ -7287,12 +7295,12 @@ d2.propTypes = {
|
|
|
7287
7295
|
};
|
|
7288
7296
|
const m2 = (r) => {
|
|
7289
7297
|
var o = r, { headers: s, rowData: n, className: a } = o, c = I(o, ["headers", "rowData", "className"]);
|
|
7290
|
-
const [l] = R(s), [i,
|
|
7291
|
-
|
|
7298
|
+
const [l] = R(s), [i, m] = R(n), [u, h] = R({ order: "asc", key: "" }), d = (g) => {
|
|
7299
|
+
m(i.sort((b, v) => b[g].localeCompare(v[g]))), h({ order: "desc", key: g });
|
|
7292
7300
|
}, p = (g) => {
|
|
7293
|
-
|
|
7301
|
+
m(i.sort((b, v) => v[g].localeCompare(b[g]))), h({ order: "asc", key: g });
|
|
7294
7302
|
}, f = (g, b) => {
|
|
7295
|
-
h(ge(y({}, u), { key: b })), u.order === "asc" ?
|
|
7303
|
+
h(ge(y({}, u), { key: b })), u.order === "asc" ? d(b) : p(b);
|
|
7296
7304
|
}, E = (g, b) => /* @__PURE__ */ e.createElement("tr", { id: b, key: `table-row-${b}` }, g.map((v, C) => /* @__PURE__ */ e.createElement("td", { key: `${b}-cell-${C}` }, /* @__PURE__ */ e.createElement("span", null, v)))), _ = "pds-table";
|
|
7297
7305
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7298
7306
|
"table",
|
|
@@ -7349,7 +7357,7 @@ const u2 = (u) => {
|
|
|
7349
7357
|
showHeading: o = !1,
|
|
7350
7358
|
sourceID: l = "pds-toc-source",
|
|
7351
7359
|
className: i
|
|
7352
|
-
} = h,
|
|
7360
|
+
} = h, m = I(h, [
|
|
7353
7361
|
"appendIds",
|
|
7354
7362
|
"ariaLabel",
|
|
7355
7363
|
"headingLevel",
|
|
@@ -7359,7 +7367,7 @@ const u2 = (u) => {
|
|
|
7359
7367
|
"sourceID",
|
|
7360
7368
|
"className"
|
|
7361
7369
|
]);
|
|
7362
|
-
const
|
|
7370
|
+
const d = "pds-toc", p = `${a}`, f = [
|
|
7363
7371
|
" ",
|
|
7364
7372
|
"/",
|
|
7365
7373
|
".",
|
|
@@ -7440,10 +7448,10 @@ const u2 = (u) => {
|
|
|
7440
7448
|
});
|
|
7441
7449
|
}, k = (N, x) => {
|
|
7442
7450
|
N.preventDefault(), s && w(x), L(x);
|
|
7443
|
-
}, z = ({ headings: N }) => /* @__PURE__ */ e.createElement("ul", { className: `${
|
|
7451
|
+
}, z = ({ headings: N }) => /* @__PURE__ */ e.createElement("ul", { className: `${d}__list ${d}__list--top-level` }, N.map((x) => /* @__PURE__ */ e.createElement("li", { key: x.id, className: `${d}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
7444
7452
|
"a",
|
|
7445
7453
|
{
|
|
7446
|
-
className: x.id === v ? `${
|
|
7454
|
+
className: x.id === v ? `${d}__link ${d}__link--active` : `${d}__link`,
|
|
7447
7455
|
href: `#${x.id}`,
|
|
7448
7456
|
onClick: (M) => {
|
|
7449
7457
|
k(M, x.id);
|
|
@@ -7453,12 +7461,12 @@ const u2 = (u) => {
|
|
|
7453
7461
|
), x.items.length > 0 && /* @__PURE__ */ e.createElement(
|
|
7454
7462
|
"ul",
|
|
7455
7463
|
{
|
|
7456
|
-
className: `${
|
|
7464
|
+
className: `${d}__list ${d}__list--second-level`
|
|
7457
7465
|
},
|
|
7458
|
-
x.items.map((M) => /* @__PURE__ */ e.createElement("li", { key: M.id, className: `${
|
|
7466
|
+
x.items.map((M) => /* @__PURE__ */ e.createElement("li", { key: M.id, className: `${d}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
7459
7467
|
"a",
|
|
7460
7468
|
{
|
|
7461
|
-
className: M.id === v ? `${
|
|
7469
|
+
className: M.id === v ? `${d}__link ${d}__link--active` : `${d}__link`,
|
|
7462
7470
|
href: `#${M.id}`,
|
|
7463
7471
|
onClick: (T) => {
|
|
7464
7472
|
k(T, M.id);
|
|
@@ -7473,12 +7481,12 @@ const u2 = (u) => {
|
|
|
7473
7481
|
"nav",
|
|
7474
7482
|
y({
|
|
7475
7483
|
"aria-label": n,
|
|
7476
|
-
className: [
|
|
7477
|
-
},
|
|
7484
|
+
className: [d, i].join(" ").trim().replace(/\s+/g, " ")
|
|
7485
|
+
}, m),
|
|
7478
7486
|
c && /* @__PURE__ */ e.createElement(
|
|
7479
7487
|
p,
|
|
7480
7488
|
{
|
|
7481
|
-
className: `${
|
|
7489
|
+
className: `${d}__heading ${o ? null : "visually-hidden"}`
|
|
7482
7490
|
},
|
|
7483
7491
|
c
|
|
7484
7492
|
),
|
|
@@ -7519,8 +7527,8 @@ u2.propTypes = {
|
|
|
7519
7527
|
*/
|
|
7520
7528
|
className: t.string
|
|
7521
7529
|
};
|
|
7522
|
-
const K2 = (
|
|
7523
|
-
var u =
|
|
7530
|
+
const K2 = (m) => {
|
|
7531
|
+
var u = m, {
|
|
7524
7532
|
onActiveTabChange: s = () => {
|
|
7525
7533
|
},
|
|
7526
7534
|
ariaLabel: n,
|
|
@@ -7538,7 +7546,7 @@ const K2 = (d) => {
|
|
|
7538
7546
|
"tabs",
|
|
7539
7547
|
"className"
|
|
7540
7548
|
]);
|
|
7541
|
-
const h = "pds-tabs",
|
|
7549
|
+
const h = "pds-tabs", d = r != "md" ? `${h}--${r}` : "", [p, f] = R(c != null ? c : a);
|
|
7542
7550
|
oe(() => {
|
|
7543
7551
|
c !== void 0 && f(c);
|
|
7544
7552
|
}, [c]);
|
|
@@ -7589,7 +7597,7 @@ const K2 = (d) => {
|
|
|
7589
7597
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7590
7598
|
"div",
|
|
7591
7599
|
{
|
|
7592
|
-
className: [h,
|
|
7600
|
+
className: [h, d, l].join(" ").trim().replace(/\s+/g, " ")
|
|
7593
7601
|
},
|
|
7594
7602
|
/* @__PURE__ */ e.createElement(
|
|
7595
7603
|
"div",
|
|
@@ -7681,10 +7689,10 @@ const K2 = (d) => {
|
|
|
7681
7689
|
isResizable: o = !0,
|
|
7682
7690
|
label: l,
|
|
7683
7691
|
message: i,
|
|
7684
|
-
onChange:
|
|
7692
|
+
onChange: m,
|
|
7685
7693
|
placeholder: u,
|
|
7686
7694
|
readonly: h = !1,
|
|
7687
|
-
required:
|
|
7695
|
+
required: d = !1,
|
|
7688
7696
|
rows: p = 5,
|
|
7689
7697
|
validationFunction: f,
|
|
7690
7698
|
className: E
|
|
@@ -7712,13 +7720,13 @@ const K2 = (d) => {
|
|
|
7712
7720
|
const V = () => {
|
|
7713
7721
|
k(""), N(null);
|
|
7714
7722
|
}, H = (j) => {
|
|
7715
|
-
C(j.target.value), V(), s && w(s(j.target.value)),
|
|
7723
|
+
C(j.target.value), V(), s && w(s(j.target.value)), m && m(v);
|
|
7716
7724
|
}, S = (j) => {
|
|
7717
7725
|
if (f) {
|
|
7718
7726
|
const F = f(j.target.value) || {};
|
|
7719
7727
|
V(), F.error && N("error"), F.success && N("success"), k(F.message);
|
|
7720
7728
|
}
|
|
7721
|
-
|
|
7729
|
+
m && m(v);
|
|
7722
7730
|
}, P = L || i;
|
|
7723
7731
|
return /* @__PURE__ */ e.createElement(
|
|
7724
7732
|
Je,
|
|
@@ -7731,7 +7739,7 @@ const K2 = (d) => {
|
|
|
7731
7739
|
label: l,
|
|
7732
7740
|
message: P,
|
|
7733
7741
|
readonly: h,
|
|
7734
|
-
required:
|
|
7742
|
+
required: d,
|
|
7735
7743
|
validationState: z
|
|
7736
7744
|
}, _),
|
|
7737
7745
|
$ && /* @__PURE__ */ e.createElement("div", { className: `pds-input__counter ${M}__counter` }, $),
|
|
@@ -7742,7 +7750,7 @@ const K2 = (d) => {
|
|
|
7742
7750
|
id: a,
|
|
7743
7751
|
name: a,
|
|
7744
7752
|
placeholder: u,
|
|
7745
|
-
required:
|
|
7753
|
+
required: d,
|
|
7746
7754
|
readOnly: h,
|
|
7747
7755
|
disabled: n,
|
|
7748
7756
|
value: v,
|
|
@@ -7861,8 +7869,8 @@ const h2 = (r) => {
|
|
|
7861
7869
|
}
|
|
7862
7870
|
)
|
|
7863
7871
|
);
|
|
7864
|
-
}, Ds = (
|
|
7865
|
-
var u =
|
|
7872
|
+
}, Ds = (m) => {
|
|
7873
|
+
var u = m, {
|
|
7866
7874
|
displayType: s = "border",
|
|
7867
7875
|
headingLevel: n = "span",
|
|
7868
7876
|
headingText: a,
|
|
@@ -7879,11 +7887,11 @@ const h2 = (r) => {
|
|
|
7879
7887
|
"summary",
|
|
7880
7888
|
"className"
|
|
7881
7889
|
]);
|
|
7882
|
-
const h = "pds-tile",
|
|
7890
|
+
const h = "pds-tile", d = `${h}--${s}`, p = `${n}`;
|
|
7883
7891
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7884
7892
|
"div",
|
|
7885
7893
|
y({
|
|
7886
|
-
className: [h,
|
|
7894
|
+
className: [h, d, l].join(" ").trim().replace(/\s+/g, " ")
|
|
7887
7895
|
}, i),
|
|
7888
7896
|
c && /* @__PURE__ */ e.createElement("div", { className: `${h}__image` }, /* @__PURE__ */ e.createElement("img", { src: c, alt: "" })),
|
|
7889
7897
|
a && /* @__PURE__ */ e.createElement(p, { className: `${h}__heading pds-ts-xl` }, a),
|
|
@@ -7940,11 +7948,11 @@ const g2 = (o) => {
|
|
|
7940
7948
|
"tiles",
|
|
7941
7949
|
"className"
|
|
7942
7950
|
]);
|
|
7943
|
-
const i = "pds-tile-grid",
|
|
7951
|
+
const i = "pds-tile-grid", m = `${i}--${s}`;
|
|
7944
7952
|
return /* @__PURE__ */ e.createElement(
|
|
7945
7953
|
"div",
|
|
7946
7954
|
y({
|
|
7947
|
-
className: [i,
|
|
7955
|
+
className: [i, m, c].join(" ").trim()
|
|
7948
7956
|
}, r),
|
|
7949
7957
|
a.map((u, h) => /* @__PURE__ */ e.createElement(
|
|
7950
7958
|
Ds,
|
|
@@ -8115,14 +8123,14 @@ f2.propTypes = {
|
|
|
8115
8123
|
className: t.string
|
|
8116
8124
|
};
|
|
8117
8125
|
const b2 = (i) => {
|
|
8118
|
-
var
|
|
8126
|
+
var m = i, {
|
|
8119
8127
|
disabled: s = !1,
|
|
8120
8128
|
id: n,
|
|
8121
8129
|
initialSelection: a,
|
|
8122
8130
|
label: c,
|
|
8123
8131
|
onChange: r,
|
|
8124
8132
|
options: o
|
|
8125
|
-
} =
|
|
8133
|
+
} = m, l = I(m, [
|
|
8126
8134
|
"disabled",
|
|
8127
8135
|
"id",
|
|
8128
8136
|
"initialSelection",
|
|
@@ -8130,16 +8138,16 @@ const b2 = (i) => {
|
|
|
8130
8138
|
"onChange",
|
|
8131
8139
|
"options"
|
|
8132
8140
|
]);
|
|
8133
|
-
const u = "pds-toggle-button", h = "pds-is-disabled",
|
|
8141
|
+
const u = "pds-toggle-button", h = "pds-is-disabled", d = se([u]), [p, f] = R(a), E = (g) => {
|
|
8134
8142
|
f(g.target.value), r && r(g.target.value);
|
|
8135
8143
|
};
|
|
8136
8144
|
if ((() => {
|
|
8137
|
-
|
|
8138
|
-
})(), s &&
|
|
8145
|
+
d.current = d.current.filter((g) => g !== h);
|
|
8146
|
+
})(), s && d.current.push(h), o.length === 2)
|
|
8139
8147
|
return /* @__PURE__ */ e.createElement(
|
|
8140
8148
|
"fieldset",
|
|
8141
8149
|
y({
|
|
8142
|
-
className:
|
|
8150
|
+
className: d.current.join(" ").trim(),
|
|
8143
8151
|
id: n
|
|
8144
8152
|
}, l),
|
|
8145
8153
|
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, c),
|
|
@@ -8229,10 +8237,10 @@ const v2 = (f) => {
|
|
|
8229
8237
|
onChange: o,
|
|
8230
8238
|
required: l = !1,
|
|
8231
8239
|
showLabel: i = !0,
|
|
8232
|
-
showStatusLabel:
|
|
8240
|
+
showStatusLabel: m = !0,
|
|
8233
8241
|
statusOnLabel: u = "On",
|
|
8234
8242
|
statusOffLabel: h = "Off",
|
|
8235
|
-
className:
|
|
8243
|
+
className: d
|
|
8236
8244
|
} = E, p = I(E, [
|
|
8237
8245
|
"disabled",
|
|
8238
8246
|
"id",
|
|
@@ -8251,7 +8259,7 @@ const v2 = (f) => {
|
|
|
8251
8259
|
b(!g), o && o(w.target);
|
|
8252
8260
|
};
|
|
8253
8261
|
let C = g === !0 ? u : h, $;
|
|
8254
|
-
return
|
|
8262
|
+
return m ? $ = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, C), /* @__PURE__ */ e.createElement(
|
|
8255
8263
|
"span",
|
|
8256
8264
|
{
|
|
8257
8265
|
className: "pds-toggle__label pds-toggle__label--on",
|
|
@@ -8282,7 +8290,7 @@ const v2 = (f) => {
|
|
|
8282
8290
|
)), /* @__PURE__ */ e.createElement(
|
|
8283
8291
|
Je,
|
|
8284
8292
|
y({
|
|
8285
|
-
className:
|
|
8293
|
+
className: d,
|
|
8286
8294
|
disabled: s,
|
|
8287
8295
|
id: n,
|
|
8288
8296
|
inputWidth: a,
|
|
@@ -8386,10 +8394,10 @@ const Y2 = () => {
|
|
|
8386
8394
|
hasSearchShortcut: o = !1,
|
|
8387
8395
|
id: l,
|
|
8388
8396
|
inputProps: i,
|
|
8389
|
-
inputWidth:
|
|
8397
|
+
inputWidth: m,
|
|
8390
8398
|
label: u,
|
|
8391
8399
|
message: h,
|
|
8392
|
-
onBlur:
|
|
8400
|
+
onBlur: d,
|
|
8393
8401
|
onChange: p,
|
|
8394
8402
|
onClear: f,
|
|
8395
8403
|
onFocus: E,
|
|
@@ -8439,13 +8447,13 @@ const Y2 = () => {
|
|
|
8439
8447
|
"value",
|
|
8440
8448
|
"className"
|
|
8441
8449
|
]);
|
|
8442
|
-
const H = Kt(
|
|
8450
|
+
const H = Kt(m), S = "pds-text-input", P = c ? ue.disabled : null, j = b && !c ? ue.required : null, F = k === "error" ? ue.error : null, Z = k === "success" ? ue.success : null, B = g ? ue.readonly : null;
|
|
8443
8451
|
let W = null;
|
|
8444
8452
|
w === "search" && (W = "search"), k === "error" && (W = "error"), k === "success" && (W = "success");
|
|
8445
8453
|
const O = L || h, D = typeof z != "undefined", U = typeof a != "undefined", [K, ie] = R(
|
|
8446
8454
|
U ? a : ""
|
|
8447
8455
|
), X = z || K, ve = (Q) => {
|
|
8448
|
-
C && le && ne(!1),
|
|
8456
|
+
C && le && ne(!1), d && d(Q);
|
|
8449
8457
|
}, te = (Q) => {
|
|
8450
8458
|
D || ie(Q.target.value), p && p(Q);
|
|
8451
8459
|
}, de = () => {
|
|
@@ -8471,7 +8479,7 @@ const Y2 = () => {
|
|
|
8471
8479
|
B,
|
|
8472
8480
|
N != null ? N : ""
|
|
8473
8481
|
]),
|
|
8474
|
-
style:
|
|
8482
|
+
style: m ? H : null
|
|
8475
8483
|
}, x),
|
|
8476
8484
|
/* @__PURE__ */ e.createElement(
|
|
8477
8485
|
ht,
|
|
@@ -8554,8 +8562,8 @@ const Y2 = () => {
|
|
|
8554
8562
|
gold: "Gold",
|
|
8555
8563
|
platinum: "Platinum",
|
|
8556
8564
|
diamond: "Diamond"
|
|
8557
|
-
}, C2 = (
|
|
8558
|
-
var p =
|
|
8565
|
+
}, C2 = (d) => {
|
|
8566
|
+
var p = d, {
|
|
8559
8567
|
ariaLabel: s = "Workspace selector menu",
|
|
8560
8568
|
createWorkspaceLink: n,
|
|
8561
8569
|
filterPlaceholder: a = "Find workspace...",
|
|
@@ -8564,7 +8572,7 @@ const Y2 = () => {
|
|
|
8564
8572
|
minFilterItems: o = 8,
|
|
8565
8573
|
noResultsText: l = "No results found",
|
|
8566
8574
|
withinNavbar: i = !0,
|
|
8567
|
-
workspaceList:
|
|
8575
|
+
workspaceList: m,
|
|
8568
8576
|
className: u
|
|
8569
8577
|
} = p, h = I(p, [
|
|
8570
8578
|
"ariaLabel",
|
|
@@ -8578,7 +8586,7 @@ const Y2 = () => {
|
|
|
8578
8586
|
"workspaceList",
|
|
8579
8587
|
"className"
|
|
8580
8588
|
]);
|
|
8581
|
-
const [f, E] = R(!1), [_, g] = R(null), [b, v] = R(
|
|
8589
|
+
const [f, E] = R(!1), [_, g] = R(null), [b, v] = R(m), C = se([]), $ = se(null), w = m.length >= o;
|
|
8582
8590
|
let L = !1;
|
|
8583
8591
|
const k = He(We);
|
|
8584
8592
|
k && (L = k.isMobile);
|
|
@@ -8611,18 +8619,18 @@ const Y2 = () => {
|
|
|
8611
8619
|
opacity: 0
|
|
8612
8620
|
}
|
|
8613
8621
|
});
|
|
8614
|
-
let K =
|
|
8615
|
-
K || (K =
|
|
8622
|
+
let K = m.find((G) => G.isActive);
|
|
8623
|
+
K || (K = m[0]);
|
|
8616
8624
|
const ie = (G) => {
|
|
8617
|
-
const { value: he } = G.target, we =
|
|
8625
|
+
const { value: he } = G.target, we = m.filter((ae) => ae.displayName.toLowerCase().includes(he.toLowerCase()));
|
|
8618
8626
|
v(we);
|
|
8619
8627
|
};
|
|
8620
8628
|
oe(() => {
|
|
8621
|
-
const G =
|
|
8629
|
+
const G = m.map((he) => ge(y({}, he), {
|
|
8622
8630
|
isActive: he.isActive
|
|
8623
8631
|
}));
|
|
8624
8632
|
v(G);
|
|
8625
|
-
}, [
|
|
8633
|
+
}, [m]);
|
|
8626
8634
|
const X = (G) => {
|
|
8627
8635
|
G.preventDefault(), G.key === "Enter" && C.current[_].querySelector("a").click(), G.key === "Tab" && (G.shiftKey ? w ? document.getElementById("workspace-filter").focus() : E(!1) : n ? $.current.querySelector("a").focus() : E(!1));
|
|
8628
8636
|
}, ve = /* @__PURE__ */ e.createElement("div", { className: `${N}__button-content` }, /* @__PURE__ */ e.createElement(
|
|
@@ -8651,7 +8659,7 @@ const Y2 = () => {
|
|
|
8651
8659
|
E2,
|
|
8652
8660
|
{
|
|
8653
8661
|
hasClearButton: !0,
|
|
8654
|
-
onClear: () => v(
|
|
8662
|
+
onClear: () => v(m),
|
|
8655
8663
|
id: "workspace-filter",
|
|
8656
8664
|
label: c,
|
|
8657
8665
|
onChange: ie,
|
|
@@ -8859,18 +8867,18 @@ const $2 = (o) => {
|
|
|
8859
8867
|
"typeLabels",
|
|
8860
8868
|
"className"
|
|
8861
8869
|
]);
|
|
8862
|
-
const i = "pds-tally",
|
|
8870
|
+
const i = "pds-tally", m = `${i}--${n}`, h = ["critical", "warning"].includes(n) ? "alert" : "status", d = `${a[n]} notifications: `;
|
|
8863
8871
|
return /* @__PURE__ */ e.createElement(
|
|
8864
8872
|
"div",
|
|
8865
8873
|
ge(y({
|
|
8866
|
-
className: [i,
|
|
8874
|
+
className: [i, m, c != null ? c : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
8867
8875
|
}, r), {
|
|
8868
8876
|
role: h
|
|
8869
8877
|
}),
|
|
8870
|
-
/* @__PURE__ */ e.createElement("div", { className: `${i}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
8878
|
+
/* @__PURE__ */ e.createElement("div", { className: `${i}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, d), s)
|
|
8871
8879
|
);
|
|
8872
|
-
}, X2 = (
|
|
8873
|
-
var u =
|
|
8880
|
+
}, X2 = (m) => {
|
|
8881
|
+
var u = m, {
|
|
8874
8882
|
disabled: s = !1,
|
|
8875
8883
|
id: n,
|
|
8876
8884
|
initialSelection: a,
|
|
@@ -8887,12 +8895,12 @@ const $2 = (o) => {
|
|
|
8887
8895
|
"options",
|
|
8888
8896
|
"className"
|
|
8889
8897
|
]);
|
|
8890
|
-
const h = "pds-segmented-button",
|
|
8898
|
+
const h = "pds-segmented-button", d = "pds-is-disabled", p = se([h]), [f, E] = R(a), _ = (b) => {
|
|
8891
8899
|
E(b.target.value), r && r(b.target.value);
|
|
8892
8900
|
};
|
|
8893
8901
|
if ((() => {
|
|
8894
|
-
p.current = p.current.filter((b) => b !==
|
|
8895
|
-
})(), s && p.current.push(
|
|
8902
|
+
p.current = p.current.filter((b) => b !== d);
|
|
8903
|
+
})(), s && p.current.push(d), o.length >= 2 && o.length <= 6)
|
|
8896
8904
|
return /* @__PURE__ */ e.createElement(
|
|
8897
8905
|
"fieldset",
|
|
8898
8906
|
y({
|
|
@@ -8955,7 +8963,7 @@ const $2 = (o) => {
|
|
|
8955
8963
|
"type",
|
|
8956
8964
|
"className"
|
|
8957
8965
|
]);
|
|
8958
|
-
const i = "pds-callout",
|
|
8966
|
+
const i = "pds-callout", m = `${i}--${a}`, u = {
|
|
8959
8967
|
info: "circleInfo",
|
|
8960
8968
|
warning: "triangleExclamation",
|
|
8961
8969
|
success: "circleCheck",
|
|
@@ -8967,7 +8975,7 @@ const $2 = (o) => {
|
|
|
8967
8975
|
return /* @__PURE__ */ e.createElement(
|
|
8968
8976
|
"div",
|
|
8969
8977
|
y({
|
|
8970
|
-
className: [i,
|
|
8978
|
+
className: [i, m, c != null ? c : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
8971
8979
|
}, r),
|
|
8972
8980
|
/* @__PURE__ */ e.createElement("div", { className: `${i}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${i}__icon ${i}__icon--${a}` }, /* @__PURE__ */ e.createElement(
|
|
8973
8981
|
A,
|
|
@@ -8988,10 +8996,10 @@ const $2 = (o) => {
|
|
|
8988
8996
|
inputProps: o,
|
|
8989
8997
|
inputWidth: l,
|
|
8990
8998
|
label: i,
|
|
8991
|
-
message:
|
|
8999
|
+
message: m,
|
|
8992
9000
|
name: u,
|
|
8993
9001
|
nestingLevel: h = 0,
|
|
8994
|
-
onBlur:
|
|
9002
|
+
onBlur: d,
|
|
8995
9003
|
onChange: p,
|
|
8996
9004
|
onFocus: f,
|
|
8997
9005
|
required: E,
|
|
@@ -9022,7 +9030,7 @@ const $2 = (o) => {
|
|
|
9022
9030
|
"value",
|
|
9023
9031
|
"className"
|
|
9024
9032
|
]);
|
|
9025
|
-
const z = l ? { width: `${l / 16}rem` } : null, N = "pds-checkbox", x = a ? ue.disabled : null, M = E && !a ? ue.required : null, T = b === "error" ? ue.error : null, V = b === "success" ? ue.success : null, H = h > 0 ? `${N}--indent-${h}` : null, S = g ||
|
|
9033
|
+
const z = l ? { width: `${l / 16}rem` } : null, N = "pds-checkbox", x = a ? ue.disabled : null, M = E && !a ? ue.required : null, T = b === "error" ? ue.error : null, V = b === "success" ? ue.success : null, H = h > 0 ? `${N}--indent-${h}` : null, S = g || m, P = typeof s != "undefined", j = typeof n != "undefined", [F, Z] = R(
|
|
9026
9034
|
j ? n : !1
|
|
9027
9035
|
), B = s || F, W = (ie) => {
|
|
9028
9036
|
P || Z(ie.target.checked), p && p(ie);
|
|
@@ -9072,7 +9080,7 @@ const $2 = (o) => {
|
|
|
9072
9080
|
}, v ? { value: v } : {}), {
|
|
9073
9081
|
disabled: a,
|
|
9074
9082
|
required: E,
|
|
9075
|
-
onBlur:
|
|
9083
|
+
onBlur: d,
|
|
9076
9084
|
onChange: W,
|
|
9077
9085
|
onFocus: f,
|
|
9078
9086
|
"aria-invalid": b === "error" ? !0 : null,
|
|
@@ -9122,10 +9130,10 @@ const $2 = (o) => {
|
|
|
9122
9130
|
label: o,
|
|
9123
9131
|
message: l,
|
|
9124
9132
|
required: i = !1,
|
|
9125
|
-
showLabel:
|
|
9133
|
+
showLabel: m = !0,
|
|
9126
9134
|
validationMessage: u,
|
|
9127
9135
|
validationStatus: h,
|
|
9128
|
-
className:
|
|
9136
|
+
className: d
|
|
9129
9137
|
} = E, p = I(E, [
|
|
9130
9138
|
"children",
|
|
9131
9139
|
"disabled",
|
|
@@ -9150,7 +9158,7 @@ const $2 = (o) => {
|
|
|
9150
9158
|
v,
|
|
9151
9159
|
C,
|
|
9152
9160
|
$,
|
|
9153
|
-
|
|
9161
|
+
d != null ? d : ""
|
|
9154
9162
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
9155
9163
|
style: r ? _ : null
|
|
9156
9164
|
}, p),
|
|
@@ -9162,7 +9170,7 @@ const $2 = (o) => {
|
|
|
9162
9170
|
id: c,
|
|
9163
9171
|
isLegend: !0,
|
|
9164
9172
|
required: i,
|
|
9165
|
-
showLabel:
|
|
9173
|
+
showLabel: m
|
|
9166
9174
|
}
|
|
9167
9175
|
), /* @__PURE__ */ e.createElement("div", { className: `${g}__options` }, s)),
|
|
9168
9176
|
w && /* @__PURE__ */ e.createElement(
|
|
@@ -9186,10 +9194,10 @@ const $2 = (o) => {
|
|
|
9186
9194
|
message: o,
|
|
9187
9195
|
onGroupBlur: l,
|
|
9188
9196
|
onValueChange: i,
|
|
9189
|
-
options:
|
|
9197
|
+
options: m,
|
|
9190
9198
|
required: u = !1,
|
|
9191
9199
|
showLabel: h = !0,
|
|
9192
|
-
validationMessage:
|
|
9200
|
+
validationMessage: d,
|
|
9193
9201
|
validationStatus: p,
|
|
9194
9202
|
className: f
|
|
9195
9203
|
} = g, E = I(g, [
|
|
@@ -9208,24 +9216,24 @@ const $2 = (o) => {
|
|
|
9208
9216
|
"validationStatus",
|
|
9209
9217
|
"className"
|
|
9210
9218
|
]);
|
|
9211
|
-
const b = c ? { width: `${c / 16}rem` } : null, v = "pds-checkbox-group", C = s ? ue.disabled : null, $ = u && !s ? ue.required : null, w = p === "error" ? ue.error : null, L = p === "success" ? ue.success : null, k =
|
|
9212
|
-
|
|
9219
|
+
const b = c ? { width: `${c / 16}rem` } : null, v = "pds-checkbox-group", C = s ? ue.disabled : null, $ = u && !s ? ue.required : null, w = p === "error" ? ue.error : null, L = p === "success" ? ue.success : null, k = d || o;
|
|
9220
|
+
m.map((V) => {
|
|
9213
9221
|
V.id || (V.id = V.value);
|
|
9214
9222
|
});
|
|
9215
9223
|
const z = [];
|
|
9216
|
-
|
|
9224
|
+
m.map((V) => {
|
|
9217
9225
|
V.checked === !0 && z.push(V.value);
|
|
9218
9226
|
});
|
|
9219
9227
|
const [N, x] = R(z), M = (V) => {
|
|
9220
9228
|
const { value: H } = V.target, S = N.includes(H) ? N.filter((P) => P !== H) : [...N, H];
|
|
9221
9229
|
x(S), i && i(S);
|
|
9222
9230
|
};
|
|
9223
|
-
|
|
9231
|
+
m.map((V) => {
|
|
9224
9232
|
N.includes(V.value) ? V.checked = !0 : V.checked = !1;
|
|
9225
9233
|
});
|
|
9226
9234
|
const T = () => {
|
|
9227
9235
|
l && setTimeout(() => {
|
|
9228
|
-
|
|
9236
|
+
m.some((V) => V.id === document.activeElement.id) || l(N);
|
|
9229
9237
|
}, 1500);
|
|
9230
9238
|
};
|
|
9231
9239
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -9251,7 +9259,7 @@ const $2 = (o) => {
|
|
|
9251
9259
|
required: u,
|
|
9252
9260
|
showLabel: h
|
|
9253
9261
|
}
|
|
9254
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${v}__options` },
|
|
9262
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${v}__options` }, m.map((V) => /* @__PURE__ */ e.createElement(
|
|
9255
9263
|
w2,
|
|
9256
9264
|
{
|
|
9257
9265
|
key: V.id,
|
|
@@ -9271,7 +9279,7 @@ const $2 = (o) => {
|
|
|
9271
9279
|
{
|
|
9272
9280
|
id: a,
|
|
9273
9281
|
message: k,
|
|
9274
|
-
hasValidationMessage: !!
|
|
9282
|
+
hasValidationMessage: !!d,
|
|
9275
9283
|
validationMessageHasDecorators: !0,
|
|
9276
9284
|
validationStatus: p
|
|
9277
9285
|
}
|
|
@@ -9286,18 +9294,18 @@ const $2 = (o) => {
|
|
|
9286
9294
|
"className"
|
|
9287
9295
|
]);
|
|
9288
9296
|
var f, E, _, g;
|
|
9289
|
-
const o = "pds-input-group", l = [s[0], s[1]], i = (f = s[0].props.id) != null ? f : null,
|
|
9297
|
+
const o = "pds-input-group", l = [s[0], s[1]], i = (f = s[0].props.id) != null ? f : null, m = (E = s[0].props.message) != null ? E : null, u = (_ = s[0].props.validationMessage) != null ? _ : null, h = (g = s[0].props.validationStatus) != null ? g : null, d = u || m, p = d ? `${o}--has-message` : null;
|
|
9290
9298
|
return /* @__PURE__ */ e.createElement(
|
|
9291
9299
|
"div",
|
|
9292
9300
|
y({
|
|
9293
9301
|
className: J([o, p, n != null ? n : ""])
|
|
9294
9302
|
}, a),
|
|
9295
9303
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__inner` }, l),
|
|
9296
|
-
|
|
9304
|
+
d && /* @__PURE__ */ e.createElement(
|
|
9297
9305
|
Qe,
|
|
9298
9306
|
{
|
|
9299
9307
|
id: i,
|
|
9300
|
-
message:
|
|
9308
|
+
message: d,
|
|
9301
9309
|
hasValidationMessage: !!u,
|
|
9302
9310
|
validationMessageHasDecorators: !1,
|
|
9303
9311
|
validationStatus: h
|
|
@@ -9339,10 +9347,10 @@ const $2 = (o) => {
|
|
|
9339
9347
|
inputWidth: o,
|
|
9340
9348
|
label: l,
|
|
9341
9349
|
switchPlacement: i = "right",
|
|
9342
|
-
message:
|
|
9350
|
+
message: m,
|
|
9343
9351
|
offLabel: u = "Off",
|
|
9344
9352
|
onChange: h,
|
|
9345
|
-
onLabel:
|
|
9353
|
+
onLabel: d = "On",
|
|
9346
9354
|
required: p = !1,
|
|
9347
9355
|
showLabel: f = !0,
|
|
9348
9356
|
showStatusLabel: E = !0,
|
|
@@ -9365,7 +9373,7 @@ const $2 = (o) => {
|
|
|
9365
9373
|
"showStatusLabel",
|
|
9366
9374
|
"className"
|
|
9367
9375
|
]);
|
|
9368
|
-
const $ = Kt(o), w = "pds-switch", L = a ? ue.disabled : null, k = p && !a ? ue.required : null, z = typeof s != "undefined", N = i == "below", x = i == "right", M = !z && n ? n : !1, [T, V] = R(M), H = s || T ?
|
|
9376
|
+
const $ = Kt(o), w = "pds-switch", L = a ? ue.disabled : null, k = p && !a ? ue.required : null, z = typeof s != "undefined", N = i == "below", x = i == "right", M = !z && n ? n : !1, [T, V] = R(M), H = s || T ? d : u, S = (W) => {
|
|
9369
9377
|
z || V(W.target.checked), h && h(W);
|
|
9370
9378
|
}, P = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
9371
9379
|
"input",
|
|
@@ -9380,7 +9388,7 @@ const $2 = (o) => {
|
|
|
9380
9388
|
disabled: a,
|
|
9381
9389
|
required: p,
|
|
9382
9390
|
checked: s !== void 0 ? s : T,
|
|
9383
|
-
"aria-describedby":
|
|
9391
|
+
"aria-describedby": m ? `${c}__message` : null
|
|
9384
9392
|
}, r)
|
|
9385
9393
|
), !E && /* @__PURE__ */ e.createElement(k2, { toggleStatusLabel: H }), /* @__PURE__ */ e.createElement("span", { className: "pds-switch__thumb", "aria-hidden": "true" })), E && /* @__PURE__ */ e.createElement(N2, { toggleStatusLabel: H, id: c })), j = /* @__PURE__ */ e.createElement(
|
|
9386
9394
|
ht,
|
|
@@ -9392,21 +9400,21 @@ const $2 = (o) => {
|
|
|
9392
9400
|
disabled: a,
|
|
9393
9401
|
className: J([
|
|
9394
9402
|
"pds-input-label--disable-click",
|
|
9395
|
-
|
|
9403
|
+
m ? "" : "pds-input-label--switch-top-message"
|
|
9396
9404
|
])
|
|
9397
9405
|
}
|
|
9398
|
-
), F =
|
|
9406
|
+
), F = m && /* @__PURE__ */ e.createElement(
|
|
9399
9407
|
Qe,
|
|
9400
9408
|
{
|
|
9401
9409
|
id: c,
|
|
9402
|
-
message:
|
|
9410
|
+
message: m,
|
|
9403
9411
|
hasValidationMessage: !1,
|
|
9404
9412
|
validationStatus: void 0,
|
|
9405
9413
|
className: "pds-input-message--switch"
|
|
9406
9414
|
}
|
|
9407
9415
|
);
|
|
9408
9416
|
let Z, B;
|
|
9409
|
-
return N ? Z = /* @__PURE__ */ e.createElement(e.Fragment, null, j, F, P) : x && (B = "pds-switch--placement-right", Z =
|
|
9417
|
+
return N ? Z = /* @__PURE__ */ e.createElement(e.Fragment, null, j, F, P) : x && (B = "pds-switch--placement-right", Z = m ? /* @__PURE__ */ e.createElement(e.Fragment, null, j, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, F, /* @__PURE__ */ e.createElement("div", null, P))) : /* @__PURE__ */ e.createElement(
|
|
9410
9418
|
"div",
|
|
9411
9419
|
{
|
|
9412
9420
|
className: J([
|
|
@@ -9443,7 +9451,7 @@ const $2 = (o) => {
|
|
|
9443
9451
|
size: o = "md",
|
|
9444
9452
|
title: l,
|
|
9445
9453
|
className: i
|
|
9446
|
-
} = h,
|
|
9454
|
+
} = h, m = I(h, [
|
|
9447
9455
|
"ariaLabel",
|
|
9448
9456
|
"children",
|
|
9449
9457
|
"hasCloseButton",
|
|
@@ -9453,7 +9461,7 @@ const $2 = (o) => {
|
|
|
9453
9461
|
"title",
|
|
9454
9462
|
"className"
|
|
9455
9463
|
]);
|
|
9456
|
-
const
|
|
9464
|
+
const d = "pds-modal", p = o !== "md" ? `${d}--${o}` : null, [f, E] = R(c);
|
|
9457
9465
|
oe(() => {
|
|
9458
9466
|
E(c);
|
|
9459
9467
|
}, [c]), oe(() => {
|
|
@@ -9498,23 +9506,23 @@ const $2 = (o) => {
|
|
|
9498
9506
|
ref: _.setFloating,
|
|
9499
9507
|
"aria-label": s || l
|
|
9500
9508
|
}, w()), {
|
|
9501
|
-
className: [
|
|
9509
|
+
className: [d, p, i].join(" ").trim().replace(/\s+/g, " "),
|
|
9502
9510
|
style: ge(y(y({}, b), k), {
|
|
9503
9511
|
position: "relative"
|
|
9504
9512
|
})
|
|
9505
|
-
}),
|
|
9513
|
+
}), m),
|
|
9506
9514
|
a && /* @__PURE__ */ e.createElement(
|
|
9507
9515
|
"button",
|
|
9508
9516
|
{
|
|
9509
9517
|
onClick: () => E(!1),
|
|
9510
|
-
className: `${
|
|
9518
|
+
className: `${d}__close`,
|
|
9511
9519
|
type: "button"
|
|
9512
9520
|
},
|
|
9513
9521
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Close"),
|
|
9514
9522
|
/* @__PURE__ */ e.createElement(A, { iconName: "xmark", iconSize: "xl" })
|
|
9515
9523
|
),
|
|
9516
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
9517
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
9524
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__title` }, l),
|
|
9525
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__content` }, n)
|
|
9518
9526
|
))
|
|
9519
9527
|
));
|
|
9520
9528
|
}, Ps = (s) => typeof s.linkContent != "string" ? !!(s.isActive || s.linkContent.props.className && s.linkContent.props.className.includes("pds-isActive")) : !1, ye = (s) => {
|
|
@@ -9575,13 +9583,13 @@ const $2 = (o) => {
|
|
|
9575
9583
|
linkContent: r,
|
|
9576
9584
|
links: o
|
|
9577
9585
|
}) => {
|
|
9578
|
-
const l = "pds-dashboard-nav", i = `${l}__item`,
|
|
9586
|
+
const l = "pds-dashboard-nav", i = `${l}__item`, m = `${l}__menu`, u = /* @__PURE__ */ e.createElement("div", { className: `${i}-wrapper` }, Zt(l, r, o, s)), h = (k, z) => /* @__PURE__ */ e.createElement(
|
|
9579
9587
|
"ul",
|
|
9580
9588
|
{
|
|
9581
9589
|
className: J([
|
|
9582
|
-
|
|
9583
|
-
`${
|
|
9584
|
-
n ? `${
|
|
9590
|
+
m,
|
|
9591
|
+
`${m}--${z}`,
|
|
9592
|
+
n ? `${m}--expanded` : null
|
|
9585
9593
|
])
|
|
9586
9594
|
},
|
|
9587
9595
|
k.map((N, x) => /* @__PURE__ */ e.createElement(
|
|
@@ -9596,9 +9604,9 @@ const $2 = (o) => {
|
|
|
9596
9604
|
},
|
|
9597
9605
|
N.linkContent
|
|
9598
9606
|
))
|
|
9599
|
-
), [
|
|
9607
|
+
), [d, p] = R(!1), { refs: f, floatingStyles: E, context: _ } = Ie({
|
|
9600
9608
|
placement: "right-start",
|
|
9601
|
-
open:
|
|
9609
|
+
open: d,
|
|
9602
9610
|
onOpenChange: p,
|
|
9603
9611
|
middleware: [yt(12), wt(), Nt()],
|
|
9604
9612
|
whileElementsMounted: qe
|
|
@@ -9646,7 +9654,7 @@ const $2 = (o) => {
|
|
|
9646
9654
|
},
|
|
9647
9655
|
/* @__PURE__ */ e.createElement(A, { iconName: "angleDown", iconSize: "md" }),
|
|
9648
9656
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${c.toggle} ${lt(r)} ${c.submenu}`)
|
|
9649
|
-
)), a && h(o, "second-level"), !a &&
|
|
9657
|
+
)), a && h(o, "second-level"), !a && d && /* @__PURE__ */ e.createElement(
|
|
9650
9658
|
"div",
|
|
9651
9659
|
y({
|
|
9652
9660
|
className: `${l}__flyout`,
|
|
@@ -9680,7 +9688,7 @@ const $2 = (o) => {
|
|
|
9680
9688
|
"selectTextFallback",
|
|
9681
9689
|
"className"
|
|
9682
9690
|
]);
|
|
9683
|
-
const i = "pds-dropdown-menu", [
|
|
9691
|
+
const i = "pds-dropdown-menu", [m, u] = R(!1), [h, d] = R(null), p = qs(n), f = p ? p.props.children : a, E = /* @__PURE__ */ e.createElement(
|
|
9684
9692
|
A,
|
|
9685
9693
|
{
|
|
9686
9694
|
iconName: "check",
|
|
@@ -9694,13 +9702,13 @@ const $2 = (o) => {
|
|
|
9694
9702
|
S.target.nodeName === "A" && u(!1);
|
|
9695
9703
|
};
|
|
9696
9704
|
oe(() => {
|
|
9697
|
-
if (
|
|
9705
|
+
if (m) {
|
|
9698
9706
|
const S = document.querySelector(".pds-dropdown-menu__dropdown");
|
|
9699
9707
|
return S.addEventListener("click", g), () => {
|
|
9700
9708
|
S.removeEventListener("click", g);
|
|
9701
9709
|
};
|
|
9702
9710
|
}
|
|
9703
|
-
}, [
|
|
9711
|
+
}, [m]);
|
|
9704
9712
|
const b = ({
|
|
9705
9713
|
item: S,
|
|
9706
9714
|
level: P
|
|
@@ -9725,13 +9733,13 @@ const $2 = (o) => {
|
|
|
9725
9733
|
}), P;
|
|
9726
9734
|
}, { refs: C, context: $ } = Ie({
|
|
9727
9735
|
placement: "bottom-start",
|
|
9728
|
-
open:
|
|
9736
|
+
open: m,
|
|
9729
9737
|
onOpenChange: u,
|
|
9730
9738
|
whileElementsMounted: qe
|
|
9731
9739
|
}), w = se([]), L = ut($, {
|
|
9732
9740
|
listRef: w,
|
|
9733
9741
|
activeIndex: h,
|
|
9734
|
-
onNavigate:
|
|
9742
|
+
onNavigate: d,
|
|
9735
9743
|
loop: !0,
|
|
9736
9744
|
openOnArrowKeyDown: !0,
|
|
9737
9745
|
focusItemOnHover: !0
|
|
@@ -9808,19 +9816,19 @@ const $2 = (o) => {
|
|
|
9808
9816
|
"mobileMenuSelectTextFallback",
|
|
9809
9817
|
"className"
|
|
9810
9818
|
]);
|
|
9811
|
-
let
|
|
9819
|
+
let m = !1;
|
|
9812
9820
|
const u = He(We);
|
|
9813
|
-
u && (
|
|
9821
|
+
u && (m = u.isMobile);
|
|
9814
9822
|
const h = He(Qt);
|
|
9815
|
-
let
|
|
9816
|
-
h && (
|
|
9817
|
-
const p = "pds-dashboard-nav", f =
|
|
9823
|
+
let d = !0;
|
|
9824
|
+
h && (d = h.isSidebarExpanded);
|
|
9825
|
+
const p = "pds-dashboard-nav", f = d ? `${p}--expanded` : `${p}--collapsed`, E = /* @__PURE__ */ e.createElement(e.Fragment, null, a.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, a.map((b, v) => /* @__PURE__ */ e.createElement(
|
|
9818
9826
|
H2,
|
|
9819
9827
|
{
|
|
9820
9828
|
key: v,
|
|
9821
9829
|
icon: b.icon,
|
|
9822
9830
|
isActive: ye(b),
|
|
9823
|
-
isSidebarExpanded:
|
|
9831
|
+
isSidebarExpanded: d,
|
|
9824
9832
|
labels: n,
|
|
9825
9833
|
linkContent: b.linkContent,
|
|
9826
9834
|
links: b.links
|
|
@@ -9845,16 +9853,16 @@ const $2 = (o) => {
|
|
|
9845
9853
|
"aria-label": s,
|
|
9846
9854
|
className: J([p, f, r])
|
|
9847
9855
|
}, o),
|
|
9848
|
-
!
|
|
9856
|
+
!m && /* @__PURE__ */ e.createElement(
|
|
9849
9857
|
Is,
|
|
9850
9858
|
{
|
|
9851
9859
|
className: `${p}__logo`,
|
|
9852
|
-
displayType:
|
|
9860
|
+
displayType: d ? "full" : "icon",
|
|
9853
9861
|
linkContent: null,
|
|
9854
9862
|
subBrand: null
|
|
9855
9863
|
}
|
|
9856
9864
|
),
|
|
9857
|
-
|
|
9865
|
+
m ? g : E
|
|
9858
9866
|
);
|
|
9859
9867
|
}, ln = (u) => {
|
|
9860
9868
|
var h = u, {
|
|
@@ -9869,7 +9877,7 @@ const $2 = (o) => {
|
|
|
9869
9877
|
mobileMenuMaxWidth: o = 640,
|
|
9870
9878
|
mobileMenuSelectTextFallback: l = "Navigate to...",
|
|
9871
9879
|
className: i
|
|
9872
|
-
} = h,
|
|
9880
|
+
} = h, m = I(h, [
|
|
9873
9881
|
"ariaLabel",
|
|
9874
9882
|
"hasMobileMenu",
|
|
9875
9883
|
"headingText",
|
|
@@ -9879,7 +9887,7 @@ const $2 = (o) => {
|
|
|
9879
9887
|
"mobileMenuSelectTextFallback",
|
|
9880
9888
|
"className"
|
|
9881
9889
|
]);
|
|
9882
|
-
const
|
|
9890
|
+
const d = "pds-side-nav", [p, f] = R(1025);
|
|
9883
9891
|
oe(() => (f(window.innerWidth), window.addEventListener("resize", E), () => {
|
|
9884
9892
|
window.removeEventListener("resize", E);
|
|
9885
9893
|
}), []);
|
|
@@ -9887,12 +9895,12 @@ const $2 = (o) => {
|
|
|
9887
9895
|
f(window.innerWidth);
|
|
9888
9896
|
}, _ = p <= o, g = ($) => {
|
|
9889
9897
|
const w = $.target;
|
|
9890
|
-
w.classList.toggle(`${
|
|
9898
|
+
w.classList.toggle(`${d}__toggle--expanded`), w.setAttribute(
|
|
9891
9899
|
"aria-expanded",
|
|
9892
9900
|
w.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
9893
|
-
), w.parentElement.nextElementSibling.classList.toggle(`${
|
|
9901
|
+
), w.parentElement.nextElementSibling.classList.toggle(`${d}__menu--expanded`);
|
|
9894
9902
|
}, b = ($, w) => {
|
|
9895
|
-
const { linkContent: L, links: k } = $, z = `${
|
|
9903
|
+
const { linkContent: L, links: k } = $, z = `${d}__item`, N = `${d}__menu`;
|
|
9896
9904
|
return /* @__PURE__ */ e.createElement(
|
|
9897
9905
|
"li",
|
|
9898
9906
|
{
|
|
@@ -9909,8 +9917,8 @@ const $2 = (o) => {
|
|
|
9909
9917
|
{
|
|
9910
9918
|
"aria-expanded": ye($),
|
|
9911
9919
|
className: J([
|
|
9912
|
-
`${
|
|
9913
|
-
ye($) ? `${
|
|
9920
|
+
`${d}__toggle`,
|
|
9921
|
+
ye($) ? `${d}__toggle--expanded` : null
|
|
9914
9922
|
]),
|
|
9915
9923
|
onClick: g
|
|
9916
9924
|
},
|
|
@@ -9945,7 +9953,7 @@ const $2 = (o) => {
|
|
|
9945
9953
|
L
|
|
9946
9954
|
)
|
|
9947
9955
|
);
|
|
9948
|
-
}, v = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${
|
|
9956
|
+
}, v = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${d}__heading` }, a), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${d}__menu ${d}__menu--top-level` }, r.map(($, w) => b($, w)))), C = /* @__PURE__ */ e.createElement(
|
|
9949
9957
|
es,
|
|
9950
9958
|
{
|
|
9951
9959
|
headingText: a,
|
|
@@ -9957,8 +9965,8 @@ const $2 = (o) => {
|
|
|
9957
9965
|
"nav",
|
|
9958
9966
|
y({
|
|
9959
9967
|
"aria-label": s,
|
|
9960
|
-
className: J([
|
|
9961
|
-
},
|
|
9968
|
+
className: J([d, i != null ? i : ""])
|
|
9969
|
+
}, m),
|
|
9962
9970
|
_ && n ? C : v
|
|
9963
9971
|
);
|
|
9964
9972
|
}, cn = (u) => {
|
|
@@ -9974,7 +9982,7 @@ const $2 = (o) => {
|
|
|
9974
9982
|
mobileMenuMaxWidth: o = 640,
|
|
9975
9983
|
mobileMenuSelectTextFallback: l = "Navigate to...",
|
|
9976
9984
|
className: i
|
|
9977
|
-
} = h,
|
|
9985
|
+
} = h, m = I(h, [
|
|
9978
9986
|
"ariaLabel",
|
|
9979
9987
|
"hasMobileMenu",
|
|
9980
9988
|
"headingText",
|
|
@@ -9984,7 +9992,7 @@ const $2 = (o) => {
|
|
|
9984
9992
|
"mobileMenuSelectTextFallback",
|
|
9985
9993
|
"className"
|
|
9986
9994
|
]);
|
|
9987
|
-
const
|
|
9995
|
+
const d = "pds-side-nav-compact", [p, f] = R(1025);
|
|
9988
9996
|
oe(() => (f(window.innerWidth), window.addEventListener("resize", E), () => {
|
|
9989
9997
|
window.removeEventListener("resize", E);
|
|
9990
9998
|
}), []);
|
|
@@ -9992,12 +10000,12 @@ const $2 = (o) => {
|
|
|
9992
10000
|
f(window.innerWidth);
|
|
9993
10001
|
}, _ = p <= o, g = ($) => {
|
|
9994
10002
|
const w = $.target;
|
|
9995
|
-
w.classList.toggle(`${
|
|
10003
|
+
w.classList.toggle(`${d}__toggle--expanded`), w.setAttribute(
|
|
9996
10004
|
"aria-expanded",
|
|
9997
10005
|
w.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
9998
|
-
), w.parentElement.nextElementSibling.classList.toggle(`${
|
|
10006
|
+
), w.parentElement.nextElementSibling.classList.toggle(`${d}__menu--expanded`);
|
|
9999
10007
|
}, b = ($, w) => {
|
|
10000
|
-
const { linkContent: L, links: k } = $, z = `${
|
|
10008
|
+
const { linkContent: L, links: k } = $, z = `${d}__item`, N = `${d}__menu`;
|
|
10001
10009
|
return /* @__PURE__ */ e.createElement(
|
|
10002
10010
|
"li",
|
|
10003
10011
|
{
|
|
@@ -10014,8 +10022,8 @@ const $2 = (o) => {
|
|
|
10014
10022
|
{
|
|
10015
10023
|
"aria-expanded": ye($),
|
|
10016
10024
|
className: J([
|
|
10017
|
-
`${
|
|
10018
|
-
ye($) ? `${
|
|
10025
|
+
`${d}__toggle`,
|
|
10026
|
+
ye($) ? `${d}__toggle--expanded` : null
|
|
10019
10027
|
]),
|
|
10020
10028
|
onClick: g
|
|
10021
10029
|
},
|
|
@@ -10045,8 +10053,8 @@ const $2 = (o) => {
|
|
|
10045
10053
|
{
|
|
10046
10054
|
"aria-expanded": ye(x),
|
|
10047
10055
|
className: J([
|
|
10048
|
-
`${
|
|
10049
|
-
ye(x) ? `${
|
|
10056
|
+
`${d}__toggle`,
|
|
10057
|
+
ye(x) ? `${d}__toggle--expanded` : null
|
|
10050
10058
|
]),
|
|
10051
10059
|
onClick: g
|
|
10052
10060
|
},
|
|
@@ -10089,7 +10097,7 @@ const $2 = (o) => {
|
|
|
10089
10097
|
L
|
|
10090
10098
|
)
|
|
10091
10099
|
);
|
|
10092
|
-
}, v = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${
|
|
10100
|
+
}, v = /* @__PURE__ */ e.createElement(e.Fragment, null, a && /* @__PURE__ */ e.createElement("h2", { className: `${d}__heading` }, a), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${d}__menu ${d}__menu--top-level` }, r.map(($, w) => b($, w)))), C = /* @__PURE__ */ e.createElement(
|
|
10093
10101
|
es,
|
|
10094
10102
|
{
|
|
10095
10103
|
headingText: a,
|
|
@@ -10101,12 +10109,12 @@ const $2 = (o) => {
|
|
|
10101
10109
|
"nav",
|
|
10102
10110
|
y({
|
|
10103
10111
|
"aria-label": s,
|
|
10104
|
-
className: J([
|
|
10105
|
-
},
|
|
10112
|
+
className: J([d, i != null ? i : ""])
|
|
10113
|
+
}, m),
|
|
10106
10114
|
_ && n ? C : v
|
|
10107
10115
|
);
|
|
10108
|
-
}, rn = (
|
|
10109
|
-
var u =
|
|
10116
|
+
}, rn = (m) => {
|
|
10117
|
+
var u = m, {
|
|
10110
10118
|
ariaLabel: s = "User menu",
|
|
10111
10119
|
menuItems: n,
|
|
10112
10120
|
userEmail: a,
|
|
@@ -10123,7 +10131,7 @@ const $2 = (o) => {
|
|
|
10123
10131
|
"withinNavbar",
|
|
10124
10132
|
"className"
|
|
10125
10133
|
]);
|
|
10126
|
-
const [h,
|
|
10134
|
+
const [h, d] = R(null), [p, f] = R(!1), E = se([]), _ = se([]);
|
|
10127
10135
|
let g = !1;
|
|
10128
10136
|
const b = He(We);
|
|
10129
10137
|
b && (g = b.isMobile);
|
|
@@ -10136,7 +10144,7 @@ const $2 = (o) => {
|
|
|
10136
10144
|
}), N = ot(z, { event: "mousedown" }), x = Se(z), M = Te(z, { role: "menu" }), T = se([]), V = ut(z, {
|
|
10137
10145
|
listRef: T,
|
|
10138
10146
|
activeIndex: h,
|
|
10139
|
-
onNavigate:
|
|
10147
|
+
onNavigate: d,
|
|
10140
10148
|
loop: !0,
|
|
10141
10149
|
openOnArrowKeyDown: !0,
|
|
10142
10150
|
focusItemOnOpen: !1,
|
|
@@ -10258,7 +10266,7 @@ const $2 = (o) => {
|
|
|
10258
10266
|
warning: "triangleExclamation",
|
|
10259
10267
|
critical: "diamondExclamation"
|
|
10260
10268
|
}, on = (i) => {
|
|
10261
|
-
var
|
|
10269
|
+
var m = i, {
|
|
10262
10270
|
banners: s,
|
|
10263
10271
|
dismissLabel: n = "Dismiss",
|
|
10264
10272
|
labelNext: a = "Go to next message",
|
|
@@ -10269,7 +10277,7 @@ const $2 = (o) => {
|
|
|
10269
10277
|
critical: "Critical"
|
|
10270
10278
|
},
|
|
10271
10279
|
className: o
|
|
10272
|
-
} =
|
|
10280
|
+
} = m, l = I(m, [
|
|
10273
10281
|
"banners",
|
|
10274
10282
|
"dismissLabel",
|
|
10275
10283
|
"labelNext",
|
|
@@ -10277,14 +10285,14 @@ const $2 = (o) => {
|
|
|
10277
10285
|
"typeLabels",
|
|
10278
10286
|
"className"
|
|
10279
10287
|
]);
|
|
10280
|
-
const [u, h] = R(s),
|
|
10281
|
-
if (
|
|
10288
|
+
const [u, h] = R(s), d = u.length;
|
|
10289
|
+
if (d === 0)
|
|
10282
10290
|
return null;
|
|
10283
|
-
const p = "pds-banner", f =
|
|
10291
|
+
const p = "pds-banner", f = d > 1 ? `${p}-group--multiple` : null, E = {
|
|
10284
10292
|
info: `${p}--info`,
|
|
10285
10293
|
warning: `${p}--warning`,
|
|
10286
10294
|
critical: `${p}--critical`
|
|
10287
|
-
}, _ =
|
|
10295
|
+
}, _ = d > 0 ? u[0].type : null, g = _ ? `${p}-group--${_}` : null, b = (k) => ({
|
|
10288
10296
|
zIndex: Vt - k
|
|
10289
10297
|
}), v = (k) => k === 0 ? 0 : -1, C = () => {
|
|
10290
10298
|
const k = document.getElementsByClassName(
|
|
@@ -10300,7 +10308,7 @@ const $2 = (o) => {
|
|
|
10300
10308
|
]);
|
|
10301
10309
|
}, 200);
|
|
10302
10310
|
}, w = () => {
|
|
10303
|
-
C(), document.getElementById(u[0].id).style.zIndex = (Vt + 2).toString(), document.getElementById(u[
|
|
10311
|
+
C(), document.getElementById(u[0].id).style.zIndex = (Vt + 2).toString(), document.getElementById(u[d - 1].id).style.zIndex = (Vt + 1).toString(), setTimeout(() => {
|
|
10304
10312
|
document.getElementById(u[0].id).classList.add(`${p}--fading`);
|
|
10305
10313
|
}, 50), setTimeout(() => {
|
|
10306
10314
|
h((k) => [
|
|
@@ -10311,7 +10319,7 @@ const $2 = (o) => {
|
|
|
10311
10319
|
}, L = (k, z) => {
|
|
10312
10320
|
const { id: N, isDismissible: x, message: M, onDismiss: T, type: V } = k, S = ["critical", "warning"].includes(V) ? "alert" : "status", P = `${r[V]}: `, j = (F) => {
|
|
10313
10321
|
F.preventDefault(), document.getElementById(N).classList.add(`${p}--dismissing`), setTimeout(() => {
|
|
10314
|
-
if (
|
|
10322
|
+
if (d === 1) {
|
|
10315
10323
|
h([]);
|
|
10316
10324
|
return;
|
|
10317
10325
|
}
|
|
@@ -10360,7 +10368,7 @@ const $2 = (o) => {
|
|
|
10360
10368
|
o != null ? o : ""
|
|
10361
10369
|
])
|
|
10362
10370
|
}, l),
|
|
10363
|
-
|
|
10371
|
+
d > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${p}__navigation` }, /* @__PURE__ */ e.createElement(
|
|
10364
10372
|
dt,
|
|
10365
10373
|
{
|
|
10366
10374
|
iconName: "angleLeft",
|
|
@@ -10405,27 +10413,27 @@ const $2 = (o) => {
|
|
|
10405
10413
|
"typeLabels",
|
|
10406
10414
|
"className"
|
|
10407
10415
|
]);
|
|
10408
|
-
const
|
|
10409
|
-
error: `${
|
|
10410
|
-
success: `${
|
|
10411
|
-
warning: `${
|
|
10412
|
-
info: `${
|
|
10413
|
-
critical: `${
|
|
10414
|
-
working: `${
|
|
10415
|
-
}, h = s ? `${
|
|
10416
|
+
const m = "pds-inline-message", u = {
|
|
10417
|
+
error: `${m}--error`,
|
|
10418
|
+
success: `${m}--success`,
|
|
10419
|
+
warning: `${m}--warning`,
|
|
10420
|
+
info: `${m}--info`,
|
|
10421
|
+
critical: `${m}--critical`,
|
|
10422
|
+
working: `${m}--working`
|
|
10423
|
+
}, h = s ? `${m}--hasTitle` : null, p = ["critical", "warning"].includes(a) ? "alert" : "status", f = `${c[a]}: `;
|
|
10416
10424
|
return /* @__PURE__ */ e.createElement(
|
|
10417
10425
|
"div",
|
|
10418
10426
|
y({
|
|
10419
|
-
className: [
|
|
10427
|
+
className: [m, u[a], h, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
10420
10428
|
role: p
|
|
10421
10429
|
}, o),
|
|
10422
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
10430
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${m}__icon ${m}__icon-${a}` }, a === "working" ? /* @__PURE__ */ e.createElement(zt, { colorType: "monochromatic" }) : /* @__PURE__ */ e.createElement(
|
|
10423
10431
|
A,
|
|
10424
10432
|
{
|
|
10425
10433
|
iconName: `${a}` in jt ? jt[a] : jt.info,
|
|
10426
10434
|
iconSize: "md"
|
|
10427
10435
|
}
|
|
10428
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
10436
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${m}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, f), s && /* @__PURE__ */ e.createElement("div", { className: `${m}__title` }, s), /* @__PURE__ */ e.createElement("div", { className: `${m}__secondaryText` }, n)))
|
|
10429
10437
|
);
|
|
10430
10438
|
}, Bt = {
|
|
10431
10439
|
info: "circleInfo",
|
|
@@ -10434,7 +10442,7 @@ const $2 = (o) => {
|
|
|
10434
10442
|
critical: "diamondExclamation",
|
|
10435
10443
|
discovery: "squareQuestion"
|
|
10436
10444
|
}, mn = (h) => {
|
|
10437
|
-
var
|
|
10445
|
+
var d = h, {
|
|
10438
10446
|
dismissLabel: s = "Dismiss",
|
|
10439
10447
|
id: n,
|
|
10440
10448
|
isDismissible: a,
|
|
@@ -10449,8 +10457,8 @@ const $2 = (o) => {
|
|
|
10449
10457
|
critical: "Critical",
|
|
10450
10458
|
discovery: "Discovery"
|
|
10451
10459
|
},
|
|
10452
|
-
className:
|
|
10453
|
-
} =
|
|
10460
|
+
className: m
|
|
10461
|
+
} = d, u = I(d, [
|
|
10454
10462
|
"dismissLabel",
|
|
10455
10463
|
"id",
|
|
10456
10464
|
"isDismissible",
|
|
@@ -10484,7 +10492,7 @@ const $2 = (o) => {
|
|
|
10484
10492
|
return /* @__PURE__ */ e.createElement(
|
|
10485
10493
|
"div",
|
|
10486
10494
|
y({
|
|
10487
|
-
className: [f, E[l], _,
|
|
10495
|
+
className: [f, E[l], _, m != null ? m : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
10488
10496
|
id: n,
|
|
10489
10497
|
ref: p,
|
|
10490
10498
|
role: b
|
|
@@ -10521,14 +10529,14 @@ const $2 = (o) => {
|
|
|
10521
10529
|
"variant",
|
|
10522
10530
|
"className"
|
|
10523
10531
|
]);
|
|
10524
|
-
const
|
|
10532
|
+
const m = "pds-panel", u = n ? `${m}__status ${m}__status-${a}` : null, h = `${m}--${c}`;
|
|
10525
10533
|
return /* @__PURE__ */ e.createElement(
|
|
10526
10534
|
"div",
|
|
10527
10535
|
y({
|
|
10528
|
-
className: [
|
|
10536
|
+
className: [m, h, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
10529
10537
|
}, o),
|
|
10530
10538
|
n && a && /* @__PURE__ */ e.createElement("span", { className: u }),
|
|
10531
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
10539
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__content` }, s)
|
|
10532
10540
|
);
|
|
10533
10541
|
}, Ue = 8, us = 14, M2 = 6, pn = (f) => {
|
|
10534
10542
|
var E = f, {
|
|
@@ -10541,11 +10549,11 @@ const $2 = (o) => {
|
|
|
10541
10549
|
placement: o = "top",
|
|
10542
10550
|
title: l,
|
|
10543
10551
|
triggerIcon: i = "circleInfo",
|
|
10544
|
-
triggerAccessibleText:
|
|
10552
|
+
triggerAccessibleText: m = "Show more information",
|
|
10545
10553
|
popoverIsOpen: u = !1,
|
|
10546
10554
|
setPopoverIsOpen: h = () => {
|
|
10547
10555
|
},
|
|
10548
|
-
className:
|
|
10556
|
+
className: d
|
|
10549
10557
|
} = E, p = I(E, [
|
|
10550
10558
|
"content",
|
|
10551
10559
|
"customTrigger",
|
|
@@ -10605,7 +10613,7 @@ const $2 = (o) => {
|
|
|
10605
10613
|
return /* @__PURE__ */ e.createElement(
|
|
10606
10614
|
"div",
|
|
10607
10615
|
y({
|
|
10608
|
-
className: [v,
|
|
10616
|
+
className: [v, d].join(" ").trim().replace(/\s+/g, " ")
|
|
10609
10617
|
}, p),
|
|
10610
10618
|
/* @__PURE__ */ e.createElement(
|
|
10611
10619
|
"span",
|
|
@@ -10613,7 +10621,7 @@ const $2 = (o) => {
|
|
|
10613
10621
|
className: `${v}__trigger`,
|
|
10614
10622
|
ref: L.setReference
|
|
10615
10623
|
}, H()),
|
|
10616
|
-
n ? /* @__PURE__ */ e.createElement("span", { className: C }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
10624
|
+
n ? /* @__PURE__ */ e.createElement("span", { className: C }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), /* @__PURE__ */ e.createElement(
|
|
10617
10625
|
A,
|
|
10618
10626
|
{
|
|
10619
10627
|
iconName: i,
|
|
@@ -10652,8 +10660,8 @@ const $2 = (o) => {
|
|
|
10652
10660
|
success: "--pds-color-semantic-success-foreground",
|
|
10653
10661
|
warning: "--pds-color-semantic-warning-foreground",
|
|
10654
10662
|
critical: "--pds-color-semantic-critical-foreground"
|
|
10655
|
-
}, hn = (
|
|
10656
|
-
var p =
|
|
10663
|
+
}, hn = (d) => {
|
|
10664
|
+
var p = d, {
|
|
10657
10665
|
colorBreakpoints: s = [
|
|
10658
10666
|
{ colorType: "info", percentage: 0 },
|
|
10659
10667
|
{ colorType: "success", percentage: 100 }
|
|
@@ -10665,7 +10673,7 @@ const $2 = (o) => {
|
|
|
10665
10673
|
percentage: o,
|
|
10666
10674
|
showLabel: l = !1,
|
|
10667
10675
|
showPercentage: i = !1,
|
|
10668
|
-
size:
|
|
10676
|
+
size: m = "md",
|
|
10669
10677
|
className: u
|
|
10670
10678
|
} = p, h = I(p, [
|
|
10671
10679
|
"colorBreakpoints",
|
|
@@ -10679,7 +10687,7 @@ const $2 = (o) => {
|
|
|
10679
10687
|
"size",
|
|
10680
10688
|
"className"
|
|
10681
10689
|
]);
|
|
10682
|
-
const f = n || Pe(), E = "pds-progress-bar", _ = l ? `${E}__label` : "visually-hidden", g = `${E}__track ${E}__track--${
|
|
10690
|
+
const f = n || Pe(), E = "pds-progress-bar", _ = l ? `${E}__label` : "visually-hidden", g = `${E}__track ${E}__track--${m}`, b = o > 100 ? 100 : o;
|
|
10683
10691
|
let v = "neutral";
|
|
10684
10692
|
s.forEach((L) => {
|
|
10685
10693
|
o >= L.percentage && (v = L.colorType);
|
|
@@ -10738,20 +10746,20 @@ const $2 = (o) => {
|
|
|
10738
10746
|
"quote",
|
|
10739
10747
|
"className"
|
|
10740
10748
|
]);
|
|
10741
|
-
const
|
|
10749
|
+
const m = "pds-pull-quote", u = `${m}--${a}`;
|
|
10742
10750
|
return /* @__PURE__ */ e.createElement(
|
|
10743
10751
|
"div",
|
|
10744
10752
|
y({
|
|
10745
|
-
className: [
|
|
10753
|
+
className: [m, u, r].join(" ").trim().replace(/\s+/g, " ")
|
|
10746
10754
|
}, o),
|
|
10747
|
-
n && a === "stand-alone" && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
10748
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
10755
|
+
n && a === "stand-alone" && /* @__PURE__ */ e.createElement("div", { className: `${m}__image` }, /* @__PURE__ */ e.createElement("img", { src: n, alt: "" })),
|
|
10756
|
+
/* @__PURE__ */ e.createElement("div", { className: `${m}__quote-wrapper` }, /* @__PURE__ */ e.createElement("div", { className: `${m}__icon ${m}__icon--before` }, /* @__PURE__ */ e.createElement(A, { iconName: "quotesLeft", iconSize: "4xl" })), /* @__PURE__ */ e.createElement("div", { className: `${m}__text-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
10749
10757
|
"div",
|
|
10750
10758
|
{
|
|
10751
|
-
className: `${
|
|
10759
|
+
className: `${m}__quote pds-quote-text pds-quote-text--lg`
|
|
10752
10760
|
},
|
|
10753
10761
|
c
|
|
10754
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
10762
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${m}__attribution` }, /* @__PURE__ */ e.createElement("span", { className: `${m}__name` }, s.name), s.title && /* @__PURE__ */ e.createElement("span", { className: `${m}__title` }, ", ", s.title), s.org && /* @__PURE__ */ e.createElement("span", { className: `${m}__org` }, ", ", s.org))), /* @__PURE__ */ e.createElement("div", { className: `${m}__icon ${m}__icon--after` }, /* @__PURE__ */ e.createElement(A, { iconName: "quotesRight", iconSize: "4xl" })))
|
|
10755
10763
|
);
|
|
10756
10764
|
}, fn = (r) => {
|
|
10757
10765
|
var o = r, {
|
|
@@ -10805,8 +10813,8 @@ let hs = [
|
|
|
10805
10813
|
const L2 = (s) => {
|
|
10806
10814
|
const n = parseInt(_s(s), 16);
|
|
10807
10815
|
return hs[n % hs.length];
|
|
10808
|
-
}, x2 = (s, n) => s.length > n ? s.slice(0, n) + " ..." : s, bn = (
|
|
10809
|
-
var u =
|
|
10816
|
+
}, x2 = (s, n) => s.length > n ? s.slice(0, n) + " ..." : s, bn = (m) => {
|
|
10817
|
+
var u = m, {
|
|
10810
10818
|
linkContent: s,
|
|
10811
10819
|
isRemovable: n,
|
|
10812
10820
|
onRemove: a,
|
|
@@ -10823,8 +10831,8 @@ const L2 = (s) => {
|
|
|
10823
10831
|
"tagLabel",
|
|
10824
10832
|
"className"
|
|
10825
10833
|
]);
|
|
10826
|
-
const [h,
|
|
10827
|
-
|
|
10834
|
+
const [h, d] = R(!0), p = "pds-tag", f = r ? `${p}--${r}` : `${p}--${L2(o)}`, E = h ? null : "pds-tag--hide", _ = () => {
|
|
10835
|
+
d((C) => !C);
|
|
10828
10836
|
};
|
|
10829
10837
|
let g, b, v;
|
|
10830
10838
|
return s && !n && Ut(s) ? (g = s.type, b = s.props.href ? "href" : "to", v = b === "href" ? s.props.href : s.props.to) : (g = "span", b = null, v = null), /* @__PURE__ */ e.createElement(
|
|
@@ -10856,7 +10864,7 @@ const L2 = (s) => {
|
|
|
10856
10864
|
) : null
|
|
10857
10865
|
);
|
|
10858
10866
|
}, V2 = (h) => {
|
|
10859
|
-
var
|
|
10867
|
+
var d = h, {
|
|
10860
10868
|
alignContent: s,
|
|
10861
10869
|
alignItems: n,
|
|
10862
10870
|
flexDirection: a,
|
|
@@ -10865,8 +10873,8 @@ const L2 = (s) => {
|
|
|
10865
10873
|
mobileFlex: o = "reverse",
|
|
10866
10874
|
spacing: l = "standard",
|
|
10867
10875
|
children: i,
|
|
10868
|
-
className:
|
|
10869
|
-
} =
|
|
10876
|
+
className: m
|
|
10877
|
+
} = d, u = I(d, [
|
|
10870
10878
|
"alignContent",
|
|
10871
10879
|
"alignItems",
|
|
10872
10880
|
"flexDirection",
|
|
@@ -10890,7 +10898,7 @@ const L2 = (s) => {
|
|
|
10890
10898
|
b,
|
|
10891
10899
|
v,
|
|
10892
10900
|
C,
|
|
10893
|
-
|
|
10901
|
+
m
|
|
10894
10902
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
10895
10903
|
}, u),
|
|
10896
10904
|
i
|
|
@@ -10946,14 +10954,14 @@ V2.propTypes = {
|
|
|
10946
10954
|
className: t.string
|
|
10947
10955
|
};
|
|
10948
10956
|
const I2 = (i) => {
|
|
10949
|
-
var
|
|
10957
|
+
var m = i, {
|
|
10950
10958
|
children: s,
|
|
10951
10959
|
gridGap: n = "standard",
|
|
10952
10960
|
sidebarLocation: a = "right",
|
|
10953
10961
|
sidebarMobileLocation: c = "after",
|
|
10954
10962
|
sidebarWidth: r = "standard",
|
|
10955
10963
|
className: o
|
|
10956
|
-
} =
|
|
10964
|
+
} = m, l = I(m, [
|
|
10957
10965
|
"children",
|
|
10958
10966
|
"gridGap",
|
|
10959
10967
|
"sidebarLocation",
|
|
@@ -10965,7 +10973,7 @@ const I2 = (i) => {
|
|
|
10965
10973
|
oe(() => (h(window.innerWidth), window.addEventListener("resize", E), () => {
|
|
10966
10974
|
window.removeEventListener("resize", E);
|
|
10967
10975
|
}), []);
|
|
10968
|
-
const
|
|
10976
|
+
const d = "pds-sidebar-layout", p = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, f = `${d}--${a}`, E = () => {
|
|
10969
10977
|
h(window.innerWidth);
|
|
10970
10978
|
}, _ = {};
|
|
10971
10979
|
e.Children.forEach(s, (L) => {
|
|
@@ -10978,14 +10986,14 @@ const I2 = (i) => {
|
|
|
10978
10986
|
"div",
|
|
10979
10987
|
{
|
|
10980
10988
|
key: "1",
|
|
10981
|
-
className: `${
|
|
10989
|
+
className: `${d}__content pds-grid-item pds-grid-item--sm-4 ${g}`
|
|
10982
10990
|
},
|
|
10983
10991
|
_.content
|
|
10984
10992
|
), C = /* @__PURE__ */ e.createElement(
|
|
10985
10993
|
"div",
|
|
10986
10994
|
{
|
|
10987
10995
|
key: "2",
|
|
10988
|
-
className: `${
|
|
10996
|
+
className: `${d}__side pds-grid-item pds-grid-item--sm-4 ${b}`
|
|
10989
10997
|
},
|
|
10990
10998
|
_.sidebar
|
|
10991
10999
|
), $ = u < 641;
|
|
@@ -10993,7 +11001,7 @@ const I2 = (i) => {
|
|
|
10993
11001
|
return a === "left" && c === "before" && (w = [C, v]), a === "left" && c === "after" && (w = $ ? [v, C] : [C, v]), a === "right" && c === "before" && (w = $ ? [C, v] : [v, C]), a === "right" && c === "after" && (w = [v, C]), /* @__PURE__ */ e.createElement(
|
|
10994
11002
|
"div",
|
|
10995
11003
|
y({
|
|
10996
|
-
className: [
|
|
11004
|
+
className: [d, p, f, o].join(" ").trim().replace(/\s+/g, " ")
|
|
10997
11005
|
}, l),
|
|
10998
11006
|
w
|
|
10999
11007
|
);
|
|
@@ -11031,26 +11039,26 @@ const S2 = (c) => {
|
|
|
11031
11039
|
const f = p.props.slot;
|
|
11032
11040
|
f && (o[f] ? o[f].push(p) : o[f] = [p]);
|
|
11033
11041
|
});
|
|
11034
|
-
const l = o.stepper, i = o.form,
|
|
11042
|
+
const l = o.stepper, i = o.form, m = se(), [u] = kt(m), h = u.width;
|
|
11035
11043
|
document.documentElement.style.setProperty(
|
|
11036
11044
|
"--pds-stepper-layout-max-width",
|
|
11037
11045
|
h + "px"
|
|
11038
11046
|
);
|
|
11039
|
-
const
|
|
11047
|
+
const d = "pds-stepper-layout";
|
|
11040
11048
|
return /* @__PURE__ */ e.createElement(
|
|
11041
11049
|
at,
|
|
11042
11050
|
y({
|
|
11043
|
-
className: [
|
|
11051
|
+
className: [d, n].join(" ").trim().replace(/\s+/g, " ")
|
|
11044
11052
|
}, a),
|
|
11045
11053
|
l && /* @__PURE__ */ e.createElement(
|
|
11046
11054
|
"div",
|
|
11047
11055
|
{
|
|
11048
|
-
className: `${
|
|
11049
|
-
ref:
|
|
11056
|
+
className: `${d}__stepper-container`,
|
|
11057
|
+
ref: m
|
|
11050
11058
|
},
|
|
11051
11059
|
l
|
|
11052
11060
|
),
|
|
11053
|
-
i && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
11061
|
+
i && /* @__PURE__ */ e.createElement("div", { className: `${d}__form-container` }, i)
|
|
11054
11062
|
);
|
|
11055
11063
|
};
|
|
11056
11064
|
S2.propTypes = {
|
|
@@ -11073,15 +11081,15 @@ const T2 = (r) => {
|
|
|
11073
11081
|
"gridGap",
|
|
11074
11082
|
"className"
|
|
11075
11083
|
]);
|
|
11076
|
-
const l = "pds-three-item-layout", i = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`,
|
|
11084
|
+
const l = "pds-three-item-layout", i = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, m = {};
|
|
11077
11085
|
e.Children.forEach(s, (h) => {
|
|
11078
|
-
const
|
|
11079
|
-
|
|
11086
|
+
const d = h.props.slot;
|
|
11087
|
+
d && (m[d] ? m[d].push(h) : m[d] = [h]);
|
|
11080
11088
|
});
|
|
11081
11089
|
const u = [
|
|
11082
|
-
|
|
11083
|
-
|
|
11084
|
-
|
|
11090
|
+
m["first-item"],
|
|
11091
|
+
m["second-item"],
|
|
11092
|
+
m["third-item"]
|
|
11085
11093
|
];
|
|
11086
11094
|
return /* @__PURE__ */ e.createElement(
|
|
11087
11095
|
"div",
|
|
@@ -11124,17 +11132,17 @@ const O2 = (o) => {
|
|
|
11124
11132
|
"layoutVariant",
|
|
11125
11133
|
"className"
|
|
11126
11134
|
]);
|
|
11127
|
-
const i = "pds-two-item-layout",
|
|
11135
|
+
const i = "pds-two-item-layout", m = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, u = ["pds-grid-item--md-6"], h = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], d = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], p = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
11128
11136
|
let f, E;
|
|
11129
11137
|
switch (a) {
|
|
11130
11138
|
case "equal":
|
|
11131
11139
|
f = p.concat(u), E = p.concat(u);
|
|
11132
11140
|
break;
|
|
11133
11141
|
case "one-third-start":
|
|
11134
|
-
f = p.concat(h), E = p.concat(
|
|
11142
|
+
f = p.concat(h), E = p.concat(d);
|
|
11135
11143
|
break;
|
|
11136
11144
|
case "one-third-end":
|
|
11137
|
-
f = p.concat(
|
|
11145
|
+
f = p.concat(d), E = p.concat(h);
|
|
11138
11146
|
}
|
|
11139
11147
|
const _ = {};
|
|
11140
11148
|
e.Children.forEach(s, (v) => {
|
|
@@ -11145,7 +11153,7 @@ const O2 = (o) => {
|
|
|
11145
11153
|
return /* @__PURE__ */ e.createElement(
|
|
11146
11154
|
"div",
|
|
11147
11155
|
y({
|
|
11148
|
-
className: [i,
|
|
11156
|
+
className: [i, m, c].join(" ").trim().replace(/\s+/g, " ")
|
|
11149
11157
|
}, r),
|
|
11150
11158
|
/* @__PURE__ */ e.createElement("div", { className: f.join(" ").trim() }, g),
|
|
11151
11159
|
/* @__PURE__ */ e.createElement("div", { className: E.join(" ").trim() }, b)
|