@pantheon-systems/pds-toolkit-react 1.0.0-dev.154 → 1.0.0-dev.155
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 +395 -395
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -128,9 +128,9 @@ const nn = (r) => {
|
|
|
128
128
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
129
129
|
}, c),
|
|
130
130
|
n.map((m, _) => {
|
|
131
|
-
const
|
|
131
|
+
const g = m.linkContent ? m.linkContent.type : "div", d = m.linkContent.props.href ? "href" : "to", v = d === "href" ? m.linkContent.props.href : m.linkContent.props.to, h = m.linkContent.props.target ? "target" : null;
|
|
132
132
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
133
|
-
|
|
133
|
+
g,
|
|
134
134
|
{
|
|
135
135
|
key: `avatar-tile-item-${_}`,
|
|
136
136
|
className: `${o}__item`,
|
|
@@ -820,24 +820,24 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
820
820
|
"triggerIcon",
|
|
821
821
|
"className"
|
|
822
822
|
]);
|
|
823
|
-
const [_,
|
|
823
|
+
const [_, g] = R(!1), d = typeof n, v = "pds-tooltip", h = [
|
|
824
824
|
`${v}__trigger-custom`,
|
|
825
825
|
d === "string" ? `${v}__trigger-text` : ""
|
|
826
|
-
].join(" ").trim().replace(/\s+/g, " "), $ = n ? c : 0, { refs: f, floatingStyles: C, context:
|
|
826
|
+
].join(" ").trim().replace(/\s+/g, " "), $ = n ? c : 0, { refs: f, floatingStyles: C, context: p } = Ve({
|
|
827
827
|
placement: "top",
|
|
828
828
|
open: _,
|
|
829
|
-
onOpenChange:
|
|
829
|
+
onOpenChange: g,
|
|
830
830
|
middleware: [
|
|
831
831
|
is(Qt + $),
|
|
832
832
|
os({ padding: 5 }),
|
|
833
833
|
ds({ padding: 5 })
|
|
834
834
|
],
|
|
835
835
|
whileElementsMounted: Oe
|
|
836
|
-
}), b = Tt(
|
|
836
|
+
}), b = Tt(p, {
|
|
837
837
|
restMs: 300,
|
|
838
838
|
delay: { open: 500, close: 0 },
|
|
839
839
|
move: !1
|
|
840
|
-
}), E = js(
|
|
840
|
+
}), E = js(p), y = Se(p), w = Ie(p, { role: "tooltip" }), { getReferenceProps: z, getFloatingProps: x } = Te([
|
|
841
841
|
b,
|
|
842
842
|
E,
|
|
843
843
|
y,
|
|
@@ -883,8 +883,8 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
883
883
|
s
|
|
884
884
|
)
|
|
885
885
|
);
|
|
886
|
-
}, pt = (
|
|
887
|
-
var d =
|
|
886
|
+
}, pt = (g) => {
|
|
887
|
+
var d = g, {
|
|
888
888
|
ariaLabel: s,
|
|
889
889
|
buttonType: n = "button",
|
|
890
890
|
disabled: a = !1,
|
|
@@ -924,7 +924,7 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
924
924
|
case "lg":
|
|
925
925
|
C = "xl";
|
|
926
926
|
}
|
|
927
|
-
const
|
|
927
|
+
const p = i !== null, b = ee(null), E = ee(null), y = () => {
|
|
928
928
|
b.current.classList.add(f.fadeOut), b.current.classList.add(f.hide), E.current.classList.remove(f.hide), E.current.classList.add(f.scaleIn), setTimeout(() => {
|
|
929
929
|
b.current.classList.remove(
|
|
930
930
|
f.fadeOut,
|
|
@@ -932,8 +932,8 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
932
932
|
), b.current.classList.add(f.scaleIn), E.current.classList.remove(f.scaleIn), E.current.classList.add(f.hide);
|
|
933
933
|
}, 2e3);
|
|
934
934
|
}, w = () => {
|
|
935
|
-
y(), l && l();
|
|
936
|
-
}, z =
|
|
935
|
+
p && y(), l && l();
|
|
936
|
+
}, z = p ? /* @__PURE__ */ e.createElement("div", { className: `${v}__content` }, /* @__PURE__ */ e.createElement("div", { ref: b, className: `${v}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
937
937
|
A,
|
|
938
938
|
{
|
|
939
939
|
iconName: r,
|
|
@@ -1006,10 +1006,10 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
1006
1006
|
"typeLabels",
|
|
1007
1007
|
"className"
|
|
1008
1008
|
]);
|
|
1009
|
-
const [m, _] = R(s),
|
|
1010
|
-
if (
|
|
1009
|
+
const [m, _] = R(s), g = m.length;
|
|
1010
|
+
if (g === 0)
|
|
1011
1011
|
return null;
|
|
1012
|
-
const d = "pds-banner", v =
|
|
1012
|
+
const d = "pds-banner", v = g > 1 ? `${d}-group--multiple` : null, h = {
|
|
1013
1013
|
info: `${d}--info`,
|
|
1014
1014
|
warning: `${d}--warning`,
|
|
1015
1015
|
critical: `${d}--critical`
|
|
@@ -1061,17 +1061,17 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
1061
1061
|
n
|
|
1062
1062
|
)
|
|
1063
1063
|
);
|
|
1064
|
-
}),
|
|
1064
|
+
}), p = () => {
|
|
1065
1065
|
document.getElementById(m[0].id).classList.add(`${d}--fading`), setTimeout(() => {
|
|
1066
1066
|
_((w) => {
|
|
1067
1067
|
const z = [...w], x = z.shift();
|
|
1068
1068
|
return z.push(x), z;
|
|
1069
1069
|
});
|
|
1070
1070
|
}, 300), setTimeout(() => {
|
|
1071
|
-
document.getElementById(m[
|
|
1071
|
+
document.getElementById(m[g - 1].id).classList.remove(`${d}--fading`);
|
|
1072
1072
|
}, 500);
|
|
1073
1073
|
}, b = () => {
|
|
1074
|
-
document.getElementById(m[0].id).style.zIndex = $t + 2, document.getElementById(m[
|
|
1074
|
+
document.getElementById(m[0].id).style.zIndex = $t + 2, document.getElementById(m[g - 1].id).style.zIndex = $t + 1, document.getElementById(m[0].id).classList.add(`${d}--fading`), setTimeout(() => {
|
|
1075
1075
|
_((w) => {
|
|
1076
1076
|
const z = [...w], x = z.pop();
|
|
1077
1077
|
return z.unshift(x), z;
|
|
@@ -1079,7 +1079,7 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
1079
1079
|
}, 300), setTimeout(() => {
|
|
1080
1080
|
document.getElementById(m[1].id).classList.remove(`${d}--fading`);
|
|
1081
1081
|
}, 500);
|
|
1082
|
-
}, E =
|
|
1082
|
+
}, E = g > 0 ? m[0].type : null, y = E ? `${d}--${E}` : null;
|
|
1083
1083
|
return /* @__PURE__ */ e.createElement(
|
|
1084
1084
|
"div",
|
|
1085
1085
|
N({
|
|
@@ -1091,7 +1091,7 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
1091
1091
|
i
|
|
1092
1092
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
1093
1093
|
}, l),
|
|
1094
|
-
|
|
1094
|
+
g > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${d}__navigation` }, /* @__PURE__ */ e.createElement(
|
|
1095
1095
|
pt,
|
|
1096
1096
|
{
|
|
1097
1097
|
iconName: "angleLeft",
|
|
@@ -1107,7 +1107,7 @@ const $t = 300, an = 400, A = (r) => {
|
|
|
1107
1107
|
iconName: "angleRight",
|
|
1108
1108
|
size: "lg",
|
|
1109
1109
|
className: `${d}__nav-button ${d}__nav-button--next`,
|
|
1110
|
-
onClick:
|
|
1110
|
+
onClick: p,
|
|
1111
1111
|
ariaLabel: a,
|
|
1112
1112
|
hasTooltip: !1
|
|
1113
1113
|
}
|
|
@@ -1178,7 +1178,7 @@ const rn = (s) => /* @__PURE__ */ e.createElement(us, { className: "pds-breadcru
|
|
|
1178
1178
|
i(!1);
|
|
1179
1179
|
}, _ = u.map(
|
|
1180
1180
|
($, f) => f === u.length - 1 ? /* @__PURE__ */ e.createElement(je, { crumb: $, lastCrumb: !0, key: f }) : /* @__PURE__ */ e.createElement(je, { crumb: $, key: f })
|
|
1181
|
-
),
|
|
1181
|
+
), g = u.map(
|
|
1182
1182
|
($, f) => f === u.length - 1 ? /* @__PURE__ */ e.createElement(je, { crumb: $, key: `breadcrumb-${f}`, lastCrumb: !0 }) : f == 2 ? /* @__PURE__ */ e.createElement(e.Fragment, null, " ", /* @__PURE__ */ e.createElement("li", { className: r ? "" : "pds-breadcrumbs__hidden" }, /* @__PURE__ */ e.createElement(
|
|
1183
1183
|
"button",
|
|
1184
1184
|
{
|
|
@@ -1202,7 +1202,7 @@ const rn = (s) => /* @__PURE__ */ e.createElement(us, { className: "pds-breadcru
|
|
|
1202
1202
|
key: `breadcrumb-${f}`
|
|
1203
1203
|
}
|
|
1204
1204
|
) : /* @__PURE__ */ e.createElement(je, { crumb: $, key: `breadcrumb-${f}` })
|
|
1205
|
-
), d = u.length >= 6 ?
|
|
1205
|
+
), d = u.length >= 6 ? g : _, v = u[u.length - 2], h = rn(v);
|
|
1206
1206
|
return /* @__PURE__ */ e.createElement("nav", { className: "pds-breadcrumbs", "aria-label": s, "aria-live": "polite" }, /* @__PURE__ */ e.createElement("ul", N({ className: "pds-breadcrumbs__item" }, n), d), h);
|
|
1207
1207
|
};
|
|
1208
1208
|
gs.propTypes = {
|
|
@@ -1591,11 +1591,11 @@ const mn = [
|
|
|
1591
1591
|
"size",
|
|
1592
1592
|
"className"
|
|
1593
1593
|
]);
|
|
1594
|
-
const m = "pds-spinner", _ = s !== "full-color" ? `${m}--${s}` : null,
|
|
1594
|
+
const m = "pds-spinner", _ = s !== "full-color" ? `${m}--${s}` : null, g = `${m}--${r}`, d = n ? `${m}--inline` : null;
|
|
1595
1595
|
return /* @__PURE__ */ e.createElement(
|
|
1596
1596
|
"span",
|
|
1597
1597
|
N({
|
|
1598
|
-
className: [m, _, d,
|
|
1598
|
+
className: [m, _, d, g, i].join(" ").trim().replace(/\s+/g, " "),
|
|
1599
1599
|
role: "status"
|
|
1600
1600
|
}, l),
|
|
1601
1601
|
/* @__PURE__ */ e.createElement("span", { className: `${m}__icon` }),
|
|
@@ -1615,7 +1615,7 @@ const mn = [
|
|
|
1615
1615
|
onClick: u,
|
|
1616
1616
|
size: m = "md",
|
|
1617
1617
|
variant: _ = "primary",
|
|
1618
|
-
className:
|
|
1618
|
+
className: g
|
|
1619
1619
|
} = $, d = S($, [
|
|
1620
1620
|
"ariaLabel",
|
|
1621
1621
|
"buttonType",
|
|
@@ -1630,7 +1630,7 @@ const mn = [
|
|
|
1630
1630
|
"variant",
|
|
1631
1631
|
"className"
|
|
1632
1632
|
]);
|
|
1633
|
-
const f = "pds-button", C = m !== "md" ? `${f}--${m}` : null,
|
|
1633
|
+
const f = "pds-button", C = m !== "md" ? `${f}--${m}` : null, p = _ !== "primary" ? `${f}--${_}` : null;
|
|
1634
1634
|
let b;
|
|
1635
1635
|
switch (m) {
|
|
1636
1636
|
case "sm":
|
|
@@ -1656,7 +1656,7 @@ const mn = [
|
|
|
1656
1656
|
"button",
|
|
1657
1657
|
ve(N({}, d), {
|
|
1658
1658
|
type: n,
|
|
1659
|
-
className: [f, C,
|
|
1659
|
+
className: [f, C, p, g].join(" ").trim().replace(/\s+/g, " "),
|
|
1660
1660
|
disabled: a || i,
|
|
1661
1661
|
"aria-label": s,
|
|
1662
1662
|
onClick: u,
|
|
@@ -1744,7 +1744,7 @@ const Fe = (u) => {
|
|
|
1744
1744
|
"variant",
|
|
1745
1745
|
"className"
|
|
1746
1746
|
]);
|
|
1747
|
-
const _ = xe(),
|
|
1747
|
+
const _ = xe(), g = "pds-button-link", d = "pds-button", v = c.props.className, h = r !== "md" ? `${d}--${r}` : null, $ = i !== "primary" ? `${d}--${i}` : null, f = [d, v, $, h].join(" ").trim().replace(/\s+/g, " ");
|
|
1748
1748
|
let C;
|
|
1749
1749
|
switch (r) {
|
|
1750
1750
|
case "sm":
|
|
@@ -1756,7 +1756,7 @@ const Fe = (u) => {
|
|
|
1756
1756
|
case "lg":
|
|
1757
1757
|
C = "lg";
|
|
1758
1758
|
}
|
|
1759
|
-
const
|
|
1759
|
+
const p = /* @__PURE__ */ e.createElement(
|
|
1760
1760
|
A,
|
|
1761
1761
|
{
|
|
1762
1762
|
iconName: a,
|
|
@@ -1766,7 +1766,7 @@ const Fe = (u) => {
|
|
|
1766
1766
|
}
|
|
1767
1767
|
);
|
|
1768
1768
|
let E = [c.props.children];
|
|
1769
|
-
n == "icon-start" && a && E.unshift(
|
|
1769
|
+
n == "icon-start" && a && E.unshift(p), n == "icon-end" && a && E.push(p);
|
|
1770
1770
|
const y = Ds(c, {
|
|
1771
1771
|
className: f,
|
|
1772
1772
|
children: E
|
|
@@ -1780,12 +1780,12 @@ const Fe = (u) => {
|
|
|
1780
1780
|
label: E,
|
|
1781
1781
|
variant: i,
|
|
1782
1782
|
size: r,
|
|
1783
|
-
className: [
|
|
1783
|
+
className: [g, l].join(" ").trim().replace(/\s+/g, " ")
|
|
1784
1784
|
}, o)
|
|
1785
1785
|
) : /* @__PURE__ */ e.createElement(
|
|
1786
1786
|
"span",
|
|
1787
1787
|
N({
|
|
1788
|
-
className: [
|
|
1788
|
+
className: [g, l].join(" ").trim().replace(/\s+/g, " ")
|
|
1789
1789
|
}, o),
|
|
1790
1790
|
y
|
|
1791
1791
|
);
|
|
@@ -1828,7 +1828,7 @@ Fe.propTypes = {
|
|
|
1828
1828
|
className: t.string
|
|
1829
1829
|
};
|
|
1830
1830
|
const vn = (_) => {
|
|
1831
|
-
var
|
|
1831
|
+
var g = _, {
|
|
1832
1832
|
bodyText: s,
|
|
1833
1833
|
headingLevel: n = "h2",
|
|
1834
1834
|
headingText: a,
|
|
@@ -1838,7 +1838,7 @@ const vn = (_) => {
|
|
|
1838
1838
|
primaryLink: l,
|
|
1839
1839
|
secondaryLink: o,
|
|
1840
1840
|
className: u
|
|
1841
|
-
} =
|
|
1841
|
+
} = g, m = S(g, [
|
|
1842
1842
|
"bodyText",
|
|
1843
1843
|
"headingLevel",
|
|
1844
1844
|
"headingText",
|
|
@@ -1940,24 +1940,24 @@ const En = (m) => {
|
|
|
1940
1940
|
"options",
|
|
1941
1941
|
"className"
|
|
1942
1942
|
]);
|
|
1943
|
-
const
|
|
1944
|
-
let d = `${
|
|
1945
|
-
c === "center" && (d = `${
|
|
1943
|
+
const g = "pds-card-select-group";
|
|
1944
|
+
let d = `${g}__legend`;
|
|
1945
|
+
c === "center" && (d = `${g}__legend ${g}__legend--center`), c === "hidden" && (d = `${g}__legend visually-hidden`);
|
|
1946
1946
|
const [v, h] = R(n), $ = (E) => {
|
|
1947
1947
|
h(E.target.value), i && i(E.target.value);
|
|
1948
|
-
}, f = l.length, C = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6",
|
|
1948
|
+
}, f = l.length, C = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", p = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
1949
1949
|
let b = "";
|
|
1950
|
-
return r === "twoAcross" ? b = C : r === "threeAcross" ? b =
|
|
1950
|
+
return r === "twoAcross" ? b = C : r === "threeAcross" ? b = p : r === "auto" && (f % 3 === 0 ? b = p : f % 2 === 0 ? b = C : b = p), /* @__PURE__ */ e.createElement(
|
|
1951
1951
|
"fieldset",
|
|
1952
1952
|
N({
|
|
1953
|
-
className: [
|
|
1953
|
+
className: [g, o].join(" ").trim().replace(/\s+/g, " "),
|
|
1954
1954
|
id: s
|
|
1955
1955
|
}, u),
|
|
1956
1956
|
/* @__PURE__ */ e.createElement("legend", { className: d }, a),
|
|
1957
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1957
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__options pds-grid pds-grid--narrow` }, l.map((E, y) => /* @__PURE__ */ e.createElement(
|
|
1958
1958
|
"div",
|
|
1959
1959
|
{
|
|
1960
|
-
className: [`${
|
|
1960
|
+
className: [`${g}__option`, b].join(" ").trim().replace(/\s+/g, " "),
|
|
1961
1961
|
key: `${s}-option-${y}`
|
|
1962
1962
|
},
|
|
1963
1963
|
/* @__PURE__ */ e.createElement(
|
|
@@ -1975,17 +1975,17 @@ const En = (m) => {
|
|
|
1975
1975
|
"label",
|
|
1976
1976
|
{
|
|
1977
1977
|
htmlFor: `${s}-option-${y}`,
|
|
1978
|
-
className: v === E.value ? `${
|
|
1978
|
+
className: v === E.value ? `${g}__option-label ${g}__option-label--selected` : `${g}__option-label`
|
|
1979
1979
|
},
|
|
1980
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1980
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__option-label-indicator` }, /* @__PURE__ */ e.createElement(
|
|
1981
1981
|
A,
|
|
1982
1982
|
{
|
|
1983
1983
|
iconName: v === E.value ? "circleCheck" : "circle",
|
|
1984
1984
|
iconSize: "xl",
|
|
1985
|
-
className: v === E.value ? `${
|
|
1985
|
+
className: v === E.value ? `${g}__option-icon ${g}__option-icon--selected` : `${g}__option-icon`
|
|
1986
1986
|
}
|
|
1987
1987
|
)),
|
|
1988
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1988
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__option-label-text` }, E.label, E.description && /* @__PURE__ */ e.createElement("div", { className: `${g}__option-description` }, E.description))
|
|
1989
1989
|
)
|
|
1990
1990
|
)))
|
|
1991
1991
|
);
|
|
@@ -2114,7 +2114,7 @@ Pt.propTypes = {
|
|
|
2114
2114
|
};
|
|
2115
2115
|
const Re = Ze(
|
|
2116
2116
|
(C, f) => {
|
|
2117
|
-
var
|
|
2117
|
+
var p = C, {
|
|
2118
2118
|
children: s,
|
|
2119
2119
|
decorator: n,
|
|
2120
2120
|
disabled: a = !1,
|
|
@@ -2126,11 +2126,11 @@ const Re = Ze(
|
|
|
2126
2126
|
message: u,
|
|
2127
2127
|
messagePosition: m = "after",
|
|
2128
2128
|
readonly: _ = !1,
|
|
2129
|
-
required:
|
|
2129
|
+
required: g = !1,
|
|
2130
2130
|
showLabel: d = !0,
|
|
2131
2131
|
validationState: v,
|
|
2132
2132
|
className: h
|
|
2133
|
-
} =
|
|
2133
|
+
} = p, $ = S(p, [
|
|
2134
2134
|
"children",
|
|
2135
2135
|
"decorator",
|
|
2136
2136
|
"disabled",
|
|
@@ -2147,7 +2147,7 @@ const Re = Ze(
|
|
|
2147
2147
|
"validationState",
|
|
2148
2148
|
"className"
|
|
2149
2149
|
]);
|
|
2150
|
-
const b = "pds-input-wrapper", E = `${b}--${r}`, y = "pds-input-label", w = `pds-input-field__message pds-input-field__message--${m}`, z = v === "error" ? "pds-has-error" : null, x = v === "success" ? "pds-has-success" : null, L = a ? "pds-is-disabled" : null, V = _ ? "pds-is-readonly" : null, H =
|
|
2150
|
+
const b = "pds-input-wrapper", E = `${b}--${r}`, y = "pds-input-label", w = `pds-input-field__message pds-input-field__message--${m}`, z = v === "error" ? "pds-has-error" : null, x = v === "success" ? "pds-has-success" : null, L = a ? "pds-is-disabled" : null, V = _ ? "pds-is-readonly" : null, H = g && !a ? "pds-is-required" : null, I = i ? `${i / 16}rem` : null, k = i ? { width: I } : null, M = l ? "fieldset" : "div", D = g && !a ? /* @__PURE__ */ e.createElement(
|
|
2151
2151
|
A,
|
|
2152
2152
|
{
|
|
2153
2153
|
iconName: "asterisk",
|
|
@@ -2285,14 +2285,14 @@ const Es = Ze(
|
|
|
2285
2285
|
searchShortcut: "Press / to focus the search field",
|
|
2286
2286
|
triggerButton: "Toggle dropdown menu"
|
|
2287
2287
|
},
|
|
2288
|
-
loadingText:
|
|
2288
|
+
loadingText: g = "Loading results...",
|
|
2289
2289
|
message: d,
|
|
2290
2290
|
noResultsText: v = "No results found",
|
|
2291
2291
|
onFocus: h,
|
|
2292
2292
|
onOptionSelect: $,
|
|
2293
2293
|
options: f,
|
|
2294
2294
|
placeholder: C,
|
|
2295
|
-
required:
|
|
2295
|
+
required: p = !1,
|
|
2296
2296
|
showLabel: b = !0,
|
|
2297
2297
|
validationFunction: E,
|
|
2298
2298
|
className: y
|
|
@@ -2427,7 +2427,7 @@ const Es = Ze(
|
|
|
2427
2427
|
inputWidth: o,
|
|
2428
2428
|
label: m,
|
|
2429
2429
|
message: Ge,
|
|
2430
|
-
required:
|
|
2430
|
+
required: p,
|
|
2431
2431
|
showLabel: b,
|
|
2432
2432
|
validationState: B
|
|
2433
2433
|
}, w),
|
|
@@ -2440,7 +2440,7 @@ const Es = Ze(
|
|
|
2440
2440
|
name: i,
|
|
2441
2441
|
style: Ke,
|
|
2442
2442
|
"aria-disabled": s ? !0 : null,
|
|
2443
|
-
"aria-required":
|
|
2443
|
+
"aria-required": p ? !0 : null,
|
|
2444
2444
|
"aria-invalid": B === "error" ? !0 : null,
|
|
2445
2445
|
"aria-describedby": Ge ? `${i}__message` : null
|
|
2446
2446
|
},
|
|
@@ -2501,7 +2501,7 @@ const Es = Ze(
|
|
|
2501
2501
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
2502
2502
|
}
|
|
2503
2503
|
})),
|
|
2504
|
-
/* @__PURE__ */ e.createElement("div", { style: N({}, re) }, u ? /* @__PURE__ */ e.createElement("div", { className: `${U}__loading` },
|
|
2504
|
+
/* @__PURE__ */ e.createElement("div", { style: N({}, re) }, u ? /* @__PURE__ */ e.createElement("div", { className: `${U}__loading` }, g) : O.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${U}__options` }, be) : /* @__PURE__ */ e.createElement("div", { className: `${U}__no-results` }, v))
|
|
2505
2505
|
)
|
|
2506
2506
|
);
|
|
2507
2507
|
}
|
|
@@ -2647,22 +2647,22 @@ const Cn = (m) => {
|
|
|
2647
2647
|
"secondaryLink",
|
|
2648
2648
|
"className"
|
|
2649
2649
|
]);
|
|
2650
|
-
const
|
|
2650
|
+
const g = "pds-cta-slice", d = s && s !== "default" ? `${g}--${s}` : null, v = n && n !== "default" ? `pds-container pds-container--${n}` : "pds-container", h = `${a}`;
|
|
2651
2651
|
return /* @__PURE__ */ e.createElement(
|
|
2652
2652
|
"div",
|
|
2653
2653
|
N({
|
|
2654
|
-
className: [
|
|
2654
|
+
className: [g, d, o].join(" ").trim().replace(/\s+/g, " ")
|
|
2655
2655
|
}, u),
|
|
2656
|
-
/* @__PURE__ */ e.createElement("div", { className: v }, c && /* @__PURE__ */ e.createElement(h, { className: `${
|
|
2656
|
+
/* @__PURE__ */ e.createElement("div", { className: v }, c && /* @__PURE__ */ e.createElement(h, { className: `${g}__heading pds-ts-4xl` }, c), r && /* @__PURE__ */ e.createElement(
|
|
2657
2657
|
"div",
|
|
2658
2658
|
{
|
|
2659
|
-
className: `${
|
|
2659
|
+
className: `${g}__lead-text pds-lead-text pds-lead-text--sm`
|
|
2660
2660
|
},
|
|
2661
2661
|
r
|
|
2662
2662
|
), i && /* @__PURE__ */ e.createElement(
|
|
2663
2663
|
"div",
|
|
2664
2664
|
{
|
|
2665
|
-
className: `${
|
|
2665
|
+
className: `${g}__links pds-button-group pds-button-group--lg`
|
|
2666
2666
|
},
|
|
2667
2667
|
/* @__PURE__ */ e.createElement(
|
|
2668
2668
|
"a",
|
|
@@ -2781,19 +2781,19 @@ const De = ht(null), $n = ({
|
|
|
2781
2781
|
"skiplinkText",
|
|
2782
2782
|
"className"
|
|
2783
2783
|
]);
|
|
2784
|
-
const [
|
|
2784
|
+
const [g, d] = R(
|
|
2785
2785
|
a
|
|
2786
2786
|
), { isMobile: v } = Ne(De), h = ee(), [$] = ft(h), C = {
|
|
2787
2787
|
navbarWidth: $.width,
|
|
2788
|
-
isSidebarExpanded:
|
|
2789
|
-
},
|
|
2788
|
+
isSidebarExpanded: g
|
|
2789
|
+
}, p = "pds-dashboard", b = v ? `${p}--isMobile` : `${p}--notMobile`, E = v ? null : g ? `${p}--sidebarExpanded` : `${p}--sidebarCollapsed`, y = g ? `${r}rem` : `${c}rem`, w = {
|
|
2790
2790
|
width: y,
|
|
2791
2791
|
transition: "width 200ms ease-in-out"
|
|
2792
2792
|
}, z = v ? {} : {
|
|
2793
2793
|
width: `calc(100% - ${y})`,
|
|
2794
2794
|
transition: "width 200ms ease-in-out"
|
|
2795
2795
|
}, x = () => {
|
|
2796
|
-
d(!
|
|
2796
|
+
d(!g);
|
|
2797
2797
|
}, L = {};
|
|
2798
2798
|
e.Children.forEach(s, (W) => {
|
|
2799
2799
|
if (e.isValidElement(W)) {
|
|
@@ -2801,21 +2801,21 @@ const De = ht(null), $n = ({
|
|
|
2801
2801
|
O && (L[O] ? L[O].push(W) : L[O] = [W]);
|
|
2802
2802
|
}
|
|
2803
2803
|
});
|
|
2804
|
-
const V = L.header, H = L.sidebar, I = L.main, k = L.footer, M = /* @__PURE__ */ e.createElement("aside", { className: `${
|
|
2804
|
+
const V = L.header, H = L.sidebar, I = L.main, k = L.footer, M = /* @__PURE__ */ e.createElement("aside", { className: `${p}__sidebar` }, H), D = /* @__PURE__ */ e.createElement("aside", { className: `${p}__sidebar`, style: w }, /* @__PURE__ */ e.createElement("div", { className: `${p}__sidebar-divider` }), n && /* @__PURE__ */ e.createElement(
|
|
2805
2805
|
"button",
|
|
2806
2806
|
{
|
|
2807
|
-
className: `${
|
|
2807
|
+
className: `${p}__sidebar-toggle`,
|
|
2808
2808
|
onClick: x,
|
|
2809
|
-
"aria-expanded":
|
|
2809
|
+
"aria-expanded": g,
|
|
2810
2810
|
"aria-label": i
|
|
2811
2811
|
},
|
|
2812
2812
|
/* @__PURE__ */ e.createElement(A, { iconName: "angleLeft", iconSize: "sm" })
|
|
2813
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
2813
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${p}__sidebar-inner` }, H));
|
|
2814
2814
|
return /* @__PURE__ */ e.createElement(jt.Provider, { value: C }, /* @__PURE__ */ e.createElement(yn, { text: l, destination: "main" }), /* @__PURE__ */ e.createElement(
|
|
2815
2815
|
"div",
|
|
2816
2816
|
N({
|
|
2817
2817
|
className: [
|
|
2818
|
-
|
|
2818
|
+
p,
|
|
2819
2819
|
b,
|
|
2820
2820
|
E,
|
|
2821
2821
|
"pds-typography--product",
|
|
@@ -2828,11 +2828,11 @@ const De = ht(null), $n = ({
|
|
|
2828
2828
|
"div",
|
|
2829
2829
|
{
|
|
2830
2830
|
ref: h,
|
|
2831
|
-
className: `${
|
|
2831
|
+
className: `${p}__container`,
|
|
2832
2832
|
style: z
|
|
2833
2833
|
},
|
|
2834
|
-
!v && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
2835
|
-
/* @__PURE__ */ e.createElement("main", { id: "main", className: `${
|
|
2834
|
+
!v && /* @__PURE__ */ e.createElement("div", { className: `${p}__header` }, V),
|
|
2835
|
+
/* @__PURE__ */ e.createElement("main", { id: "main", className: `${p}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__main-inner` }, I), k && /* @__PURE__ */ e.createElement("footer", { className: `${p}__footer` }, k))
|
|
2836
2836
|
)
|
|
2837
2837
|
));
|
|
2838
2838
|
}, Et = (i) => {
|
|
@@ -2847,7 +2847,7 @@ const De = ht(null), $n = ({
|
|
|
2847
2847
|
"selectTextFallback",
|
|
2848
2848
|
"className"
|
|
2849
2849
|
]);
|
|
2850
|
-
const o = "pds-dropdown-menu", [u, m] = R(!1), [_,
|
|
2850
|
+
const o = "pds-dropdown-menu", [u, m] = R(!1), [_, g] = R(null), d = (O) => !!(O.isActive || O.linkContent.props.className && O.linkContent.props.className.includes("pds-isActive")), v = (O) => {
|
|
2851
2851
|
for (let q = 0; q < O.length; q++) {
|
|
2852
2852
|
if (d(O[q]))
|
|
2853
2853
|
return O[q].linkContent;
|
|
@@ -2860,14 +2860,14 @@ const De = ht(null), $n = ({
|
|
|
2860
2860
|
return null;
|
|
2861
2861
|
}, h = v(n), $ = h ? h.props.children : a, f = /* @__PURE__ */ e.createElement(A, { iconName: "check", className: `${o}__active-icon` }), C = (O) => {
|
|
2862
2862
|
O.key === "Enter" && L.current[_].querySelector("a").click();
|
|
2863
|
-
},
|
|
2863
|
+
}, p = (O) => {
|
|
2864
2864
|
O.target.nodeName === "A" && m(!1);
|
|
2865
2865
|
};
|
|
2866
2866
|
se(() => {
|
|
2867
2867
|
if (u) {
|
|
2868
2868
|
const O = document.querySelector(".pds-dropdown-menu__dropdown");
|
|
2869
|
-
return O.addEventListener("click",
|
|
2870
|
-
O.removeEventListener("click",
|
|
2869
|
+
return O.addEventListener("click", p), () => {
|
|
2870
|
+
O.removeEventListener("click", p);
|
|
2871
2871
|
};
|
|
2872
2872
|
}
|
|
2873
2873
|
}, [u]);
|
|
@@ -2926,7 +2926,7 @@ const De = ht(null), $n = ({
|
|
|
2926
2926
|
}), L = ee([]), V = lt(y, {
|
|
2927
2927
|
listRef: L,
|
|
2928
2928
|
activeIndex: _,
|
|
2929
|
-
onNavigate:
|
|
2929
|
+
onNavigate: g,
|
|
2930
2930
|
loop: !0,
|
|
2931
2931
|
openOnArrowKeyDown: !0,
|
|
2932
2932
|
focusItemOnHover: !0
|
|
@@ -3007,7 +3007,7 @@ const Bt = (l) => {
|
|
|
3007
3007
|
"subBrand",
|
|
3008
3008
|
"className"
|
|
3009
3009
|
]);
|
|
3010
|
-
const u = "pds-pantheon-logo", m = n && n !== "full" ? `${u}--${n}` : null, _ = s && s !== "default" ? `${u}--${s}` : null,
|
|
3010
|
+
const u = "pds-pantheon-logo", m = n && n !== "full" ? `${u}--${n}` : null, _ = s && s !== "default" ? `${u}--${s}` : null, g = /* @__PURE__ */ e.createElement(
|
|
3011
3011
|
"svg",
|
|
3012
3012
|
{
|
|
3013
3013
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -3299,7 +3299,7 @@ const Bt = (l) => {
|
|
|
3299
3299
|
let h;
|
|
3300
3300
|
switch (n) {
|
|
3301
3301
|
case "full":
|
|
3302
|
-
h =
|
|
3302
|
+
h = g;
|
|
3303
3303
|
break;
|
|
3304
3304
|
case "icon":
|
|
3305
3305
|
h = d;
|
|
@@ -3379,30 +3379,30 @@ const Nn = (l) => {
|
|
|
3379
3379
|
const m = Ne(De);
|
|
3380
3380
|
m && (u = m.isMobile);
|
|
3381
3381
|
const _ = Ne(jt);
|
|
3382
|
-
let
|
|
3383
|
-
_ && (
|
|
3384
|
-
const d = "pds-dashboard-nav", v =
|
|
3385
|
-
const b =
|
|
3382
|
+
let g = !0;
|
|
3383
|
+
_ && (g = _.isSidebarExpanded);
|
|
3384
|
+
const d = "pds-dashboard-nav", v = g ? `${d}--expanded` : `${d}--collapsed`, h = (p) => {
|
|
3385
|
+
const b = p.target;
|
|
3386
3386
|
b.classList.toggle(`${d}__toggle--expanded`), b.setAttribute(
|
|
3387
3387
|
"aria-expanded",
|
|
3388
3388
|
b.getAttribute("aria-expanded") === "true" ? "false" : "true"
|
|
3389
3389
|
), b.parentElement.nextElementSibling.classList.toggle(`${d}__menu--expanded`), b.parentElement.classList.toggle(`${d}__item-inner--expanded`);
|
|
3390
|
-
}, $ = (
|
|
3391
|
-
if (
|
|
3390
|
+
}, $ = (p) => {
|
|
3391
|
+
if (p.isActive)
|
|
3392
3392
|
return !0;
|
|
3393
|
-
const b =
|
|
3393
|
+
const b = p.linkContent;
|
|
3394
3394
|
if (b.props.className && b.props.className.includes("pds-isActive"))
|
|
3395
3395
|
return !0;
|
|
3396
|
-
if (
|
|
3397
|
-
for (let E = 0; E <
|
|
3398
|
-
if ($(
|
|
3396
|
+
if (p.links) {
|
|
3397
|
+
for (let E = 0; E < p.links.length; E++)
|
|
3398
|
+
if ($(p.links[E]))
|
|
3399
3399
|
return !0;
|
|
3400
3400
|
}
|
|
3401
3401
|
return !1;
|
|
3402
3402
|
};
|
|
3403
|
-
a = a.map((
|
|
3404
|
-
const b =
|
|
3405
|
-
return ve(N({},
|
|
3403
|
+
a = a.map((p) => {
|
|
3404
|
+
const b = p.linkContent.type, E = p.linkContent.props.href ? "href" : "to", y = E === "href" ? p.linkContent.props.href : p.linkContent.props.to, w = p.linkContent.props.children, z = p.linkContent.props.className;
|
|
3405
|
+
return ve(N({}, p), {
|
|
3406
3406
|
linkContent: /* @__PURE__ */ e.createElement(
|
|
3407
3407
|
b,
|
|
3408
3408
|
{
|
|
@@ -3410,7 +3410,7 @@ const Nn = (l) => {
|
|
|
3410
3410
|
to: E === "to" ? y : null,
|
|
3411
3411
|
className: `${d}__link ${z}`
|
|
3412
3412
|
},
|
|
3413
|
-
/* @__PURE__ */ e.createElement("div", { className: `${d}__link-icon` }, /* @__PURE__ */ e.createElement(A, { iconName:
|
|
3413
|
+
/* @__PURE__ */ e.createElement("div", { className: `${d}__link-icon` }, /* @__PURE__ */ e.createElement(A, { iconName: p.icon })),
|
|
3414
3414
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__link-label` }, w)
|
|
3415
3415
|
),
|
|
3416
3416
|
linkLabel: w
|
|
@@ -3422,27 +3422,27 @@ const Nn = (l) => {
|
|
|
3422
3422
|
menuItems: a,
|
|
3423
3423
|
selectTextFallback: c
|
|
3424
3424
|
}
|
|
3425
|
-
), C = /* @__PURE__ */ e.createElement("ul", { className: `${d}__menu ${d}__menu--top-level` }, a.map((
|
|
3425
|
+
), C = /* @__PURE__ */ e.createElement("ul", { className: `${d}__menu ${d}__menu--top-level` }, a.map((p, b) => /* @__PURE__ */ e.createElement(
|
|
3426
3426
|
"li",
|
|
3427
3427
|
{
|
|
3428
3428
|
key: b,
|
|
3429
|
-
className: `${d}__item ${d}__item--top-level ${
|
|
3429
|
+
className: `${d}__item ${d}__item--top-level ${p.links ? `${d}__item--has-children` : ""} ${$(p) ? `${d}__item--active` : ""}`
|
|
3430
3430
|
},
|
|
3431
|
-
|
|
3431
|
+
p.links ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${d}__item-inner` }, p.linkContent, /* @__PURE__ */ e.createElement(
|
|
3432
3432
|
"button",
|
|
3433
3433
|
{
|
|
3434
3434
|
onClick: h,
|
|
3435
|
-
className: `${d}__toggle ${$(
|
|
3436
|
-
"aria-expanded": $(
|
|
3435
|
+
className: `${d}__toggle ${$(p) ? `${d}__toggle--expanded` : ""}`,
|
|
3436
|
+
"aria-expanded": $(p)
|
|
3437
3437
|
},
|
|
3438
3438
|
/* @__PURE__ */ e.createElement(A, { iconName: "angleDown" }),
|
|
3439
|
-
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${n.toggle} ${
|
|
3439
|
+
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${n.toggle} ${p.linkLabel} ${n.submenu}`)
|
|
3440
3440
|
)), /* @__PURE__ */ e.createElement(
|
|
3441
3441
|
"ul",
|
|
3442
3442
|
{
|
|
3443
|
-
className: `${d}__menu ${d}__menu--second-level ${$(
|
|
3443
|
+
className: `${d}__menu ${d}__menu--second-level ${$(p) ? `${d}__menu--expanded` : ""}`
|
|
3444
3444
|
},
|
|
3445
|
-
|
|
3445
|
+
p.links.map((E, y) => /* @__PURE__ */ e.createElement(
|
|
3446
3446
|
"li",
|
|
3447
3447
|
{
|
|
3448
3448
|
key: y,
|
|
@@ -3450,7 +3450,7 @@ const Nn = (l) => {
|
|
|
3450
3450
|
},
|
|
3451
3451
|
E.linkContent
|
|
3452
3452
|
))
|
|
3453
|
-
)) :
|
|
3453
|
+
)) : p.linkContent
|
|
3454
3454
|
)));
|
|
3455
3455
|
return /* @__PURE__ */ e.createElement(
|
|
3456
3456
|
"nav",
|
|
@@ -3462,7 +3462,7 @@ const Nn = (l) => {
|
|
|
3462
3462
|
Bt,
|
|
3463
3463
|
{
|
|
3464
3464
|
className: `${d}__logo`,
|
|
3465
|
-
displayType:
|
|
3465
|
+
displayType: g ? "full" : "icon"
|
|
3466
3466
|
}
|
|
3467
3467
|
),
|
|
3468
3468
|
u ? f : C
|
|
@@ -3509,13 +3509,13 @@ const Ft = (o) => {
|
|
|
3509
3509
|
"statusType",
|
|
3510
3510
|
"className"
|
|
3511
3511
|
]);
|
|
3512
|
-
const m = "pds-status-badge", _ = `${m}--${s}`,
|
|
3512
|
+
const m = "pds-status-badge", _ = `${m}--${s}`, g = `${m}__status`, d = r ? `${g}--${r}` : null;
|
|
3513
3513
|
return /* @__PURE__ */ e.createElement(
|
|
3514
3514
|
"div",
|
|
3515
3515
|
N({
|
|
3516
3516
|
className: [m, _, i != null ? i : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
3517
3517
|
}, l),
|
|
3518
|
-
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [
|
|
3518
|
+
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [g, d].join(" ").trim() }, r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, c, " ", r)),
|
|
3519
3519
|
/* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, a)
|
|
3520
3520
|
);
|
|
3521
3521
|
}, Cs = ({ option: s }) => {
|
|
@@ -3584,7 +3584,7 @@ const wn = (h) => {
|
|
|
3584
3584
|
onOptionSelect: u,
|
|
3585
3585
|
placeholder: m = "Search sites",
|
|
3586
3586
|
siteList: _,
|
|
3587
|
-
startingRightPosition:
|
|
3587
|
+
startingRightPosition: g = 9.25,
|
|
3588
3588
|
className: d
|
|
3589
3589
|
} = $, v = S($, [
|
|
3590
3590
|
"disabled",
|
|
@@ -3601,18 +3601,18 @@ const wn = (h) => {
|
|
|
3601
3601
|
"startingRightPosition",
|
|
3602
3602
|
"className"
|
|
3603
3603
|
]);
|
|
3604
|
-
const [f, C] = R(!1), [
|
|
3604
|
+
const [f, C] = R(!1), [p, b] = R(null), E = ee(null);
|
|
3605
3605
|
let y = !1;
|
|
3606
3606
|
const w = Ne(De);
|
|
3607
3607
|
w && (y = w.isMobile);
|
|
3608
3608
|
let z = null;
|
|
3609
3609
|
const x = Ne(jt);
|
|
3610
3610
|
x && (z = x.navbarWidth);
|
|
3611
|
-
const L = 2.25, V = 22, H = z > 900 ? V : z / 16 -
|
|
3611
|
+
const L = 2.25, V = 22, H = z > 900 ? V : z / 16 - g - L * 0.675;
|
|
3612
3612
|
let I = L;
|
|
3613
3613
|
f && !z && (I = V), f && z && (I = H);
|
|
3614
3614
|
const k = {
|
|
3615
|
-
right: `${
|
|
3615
|
+
right: `${g}rem`,
|
|
3616
3616
|
width: `${I}rem`
|
|
3617
3617
|
}, M = "pds-dashboard-search", D = y ? `${M}--isMobile` : null, W = () => {
|
|
3618
3618
|
C(!0), setTimeout(() => {
|
|
@@ -3647,7 +3647,7 @@ const wn = (h) => {
|
|
|
3647
3647
|
disabled: s,
|
|
3648
3648
|
hasClearButton: !1,
|
|
3649
3649
|
id: `${n}-combobox`,
|
|
3650
|
-
initialValue:
|
|
3650
|
+
initialValue: p,
|
|
3651
3651
|
isLoading: a,
|
|
3652
3652
|
label: c,
|
|
3653
3653
|
labelStrings: r,
|
|
@@ -3873,7 +3873,7 @@ const Ln = ($) => {
|
|
|
3873
3873
|
multiple: u = !1,
|
|
3874
3874
|
onFileChange: m,
|
|
3875
3875
|
required: _ = !1,
|
|
3876
|
-
showLabel:
|
|
3876
|
+
showLabel: g = !0,
|
|
3877
3877
|
validationFunction: d,
|
|
3878
3878
|
className: v
|
|
3879
3879
|
} = f, h = S(f, [
|
|
@@ -3892,7 +3892,7 @@ const Ln = ($) => {
|
|
|
3892
3892
|
"validationFunction",
|
|
3893
3893
|
"className"
|
|
3894
3894
|
]);
|
|
3895
|
-
const [C,
|
|
3895
|
+
const [C, p] = R(!1), [b, E] = R(), [y, w] = R(null), z = "pds-file-upload", x = C ? `${z}--has-value` : null;
|
|
3896
3896
|
let L = null;
|
|
3897
3897
|
y === "error" && (L = "error"), y === "success" && (L = "success");
|
|
3898
3898
|
const V = () => {
|
|
@@ -3902,10 +3902,10 @@ const Ln = ($) => {
|
|
|
3902
3902
|
const D = d(M.target.files) || {};
|
|
3903
3903
|
V(), D.error && w("error"), D.success && w("success"), E(D.message);
|
|
3904
3904
|
}
|
|
3905
|
-
m && m(M.target.files), M.target.files.length > 0 ?
|
|
3905
|
+
m && m(M.target.files), M.target.files.length > 0 ? p(!0) : p(!1);
|
|
3906
3906
|
}, I = () => {
|
|
3907
3907
|
const M = document.getElementById(i);
|
|
3908
|
-
M.value = "",
|
|
3908
|
+
M.value = "", p(!1), V();
|
|
3909
3909
|
}, k = b || o;
|
|
3910
3910
|
return /* @__PURE__ */ e.createElement(
|
|
3911
3911
|
Re,
|
|
@@ -3919,7 +3919,7 @@ const Ln = ($) => {
|
|
|
3919
3919
|
label: r,
|
|
3920
3920
|
message: k,
|
|
3921
3921
|
required: _,
|
|
3922
|
-
showLabel:
|
|
3922
|
+
showLabel: g,
|
|
3923
3923
|
validationState: y
|
|
3924
3924
|
}, h),
|
|
3925
3925
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4132,7 +4132,7 @@ const xn = new Intl.NumberFormat().formatToParts(100000089e-2), Nt = xn.find((s)
|
|
|
4132
4132
|
placeholder: u,
|
|
4133
4133
|
required: m = !1,
|
|
4134
4134
|
showLabel: _ = !0,
|
|
4135
|
-
validationFunction:
|
|
4135
|
+
validationFunction: g,
|
|
4136
4136
|
className: d
|
|
4137
4137
|
} = $, v = S($, [
|
|
4138
4138
|
"disabled",
|
|
@@ -4149,7 +4149,7 @@ const xn = new Intl.NumberFormat().formatToParts(100000089e-2), Nt = xn.find((s)
|
|
|
4149
4149
|
"validationFunction",
|
|
4150
4150
|
"className"
|
|
4151
4151
|
]);
|
|
4152
|
-
const f = "pds-input-formatted", C = n ? `${f}--${n}` : null,
|
|
4152
|
+
const f = "pds-input-formatted", C = n ? `${f}--${n}` : null, p = ee([
|
|
4153
4153
|
"pds-input-field",
|
|
4154
4154
|
f,
|
|
4155
4155
|
C,
|
|
@@ -4166,11 +4166,11 @@ const xn = new Intl.NumberFormat().formatToParts(100000089e-2), Nt = xn.find((s)
|
|
|
4166
4166
|
}
|
|
4167
4167
|
}, []);
|
|
4168
4168
|
const I = () => {
|
|
4169
|
-
|
|
4169
|
+
p.current = p.current.filter(
|
|
4170
4170
|
(T) => T !== Ce.required && T !== Ce.disabled
|
|
4171
4171
|
);
|
|
4172
4172
|
}, k = () => {
|
|
4173
|
-
|
|
4173
|
+
p.current = p.current.filter(
|
|
4174
4174
|
(T) => T !== Ce.error && T !== Ce.success
|
|
4175
4175
|
);
|
|
4176
4176
|
}, M = () => {
|
|
@@ -4183,17 +4183,17 @@ const xn = new Intl.NumberFormat().formatToParts(100000089e-2), Nt = xn.find((s)
|
|
|
4183
4183
|
}, W = (T) => {
|
|
4184
4184
|
E(Z(T.target.value)), M(), D(T.target.value);
|
|
4185
4185
|
}, O = () => {
|
|
4186
|
-
x("error"),
|
|
4186
|
+
x("error"), p.current.push(Ce.error);
|
|
4187
4187
|
}, q = (T) => {
|
|
4188
|
-
if (
|
|
4189
|
-
const j =
|
|
4190
|
-
M(), j.error && O(), j.success && (x("success"),
|
|
4188
|
+
if (g) {
|
|
4189
|
+
const j = g(T.target.value) || {};
|
|
4190
|
+
M(), j.error && O(), j.success && (x("success"), p.current.push(Ce.success)), w(j.message);
|
|
4191
4191
|
} else
|
|
4192
4192
|
L.current.checkValidity() === !1 || T.target.value.length < H.current + H.numExtra ? (O(), n === "credit-card" && w(
|
|
4193
4193
|
`Credit card number must have at least ${H.current} digits.`
|
|
4194
4194
|
), n === "phone" && w(
|
|
4195
4195
|
`Phone number must have at least ${H.current} digits.`
|
|
4196
|
-
)) : (n === "credit-card" || n === "phone") && (x("success"),
|
|
4196
|
+
)) : (n === "credit-card" || n === "phone") && (x("success"), p.current.push(Ce.success));
|
|
4197
4197
|
D(T.target.value);
|
|
4198
4198
|
}, F = () => {
|
|
4199
4199
|
M(), E(""), V.current = "", L.current.focus(), D("");
|
|
@@ -4235,9 +4235,9 @@ const xn = new Intl.NumberFormat().formatToParts(100000089e-2), Nt = xn.find((s)
|
|
|
4235
4235
|
}
|
|
4236
4236
|
return T;
|
|
4237
4237
|
};
|
|
4238
|
-
I(), m && !s &&
|
|
4238
|
+
I(), m && !s && p.current.push(Ce.required), s && p.current.push(Ce.disabled);
|
|
4239
4239
|
let B = null;
|
|
4240
|
-
return z === "error" && (B = /* @__PURE__ */ e.createElement(st, { type: "error" })), z === "success" && (B = /* @__PURE__ */ e.createElement(st, { type: "success" })), /* @__PURE__ */ e.createElement("div", N({ className:
|
|
4240
|
+
return z === "error" && (B = /* @__PURE__ */ e.createElement(st, { type: "error" })), z === "success" && (B = /* @__PURE__ */ e.createElement(st, { type: "success" })), /* @__PURE__ */ e.createElement("div", N({ className: p.current.join(" ").trim() }, v), /* @__PURE__ */ e.createElement("span", { className: _ ? null : "visually-hidden" }, /* @__PURE__ */ e.createElement("label", { className: "pds-input-label", htmlFor: c }, i)), /* @__PURE__ */ e.createElement("div", { className: "pds-input-field__input-wrapper" }, B && /* @__PURE__ */ e.createElement("div", { className: "pds-input-field__decorators" }, B), /* @__PURE__ */ e.createElement(
|
|
4241
4241
|
"input",
|
|
4242
4242
|
{
|
|
4243
4243
|
className: "pds-input-field__input",
|
|
@@ -4361,7 +4361,7 @@ const Sn = (v) => {
|
|
|
4361
4361
|
required: u = !1,
|
|
4362
4362
|
showLabel: m = !0,
|
|
4363
4363
|
validationFunction: _,
|
|
4364
|
-
className:
|
|
4364
|
+
className: g
|
|
4365
4365
|
} = h, d = S(h, [
|
|
4366
4366
|
"counterFunction",
|
|
4367
4367
|
"disabled",
|
|
@@ -4376,7 +4376,7 @@ const Sn = (v) => {
|
|
|
4376
4376
|
"validationFunction",
|
|
4377
4377
|
"className"
|
|
4378
4378
|
]);
|
|
4379
|
-
const $ = "pds-input-obscured", f = ee(["pds-input-field", $,
|
|
4379
|
+
const $ = "pds-input-obscured", f = ee(["pds-input-field", $, g]), [C, p] = R(r), [b, E] = R(s("")), [y, w] = R(), [z, x] = R(null), [L, V] = R(!1), H = ee(null), I = ee(null);
|
|
4380
4380
|
se(() => {
|
|
4381
4381
|
r && s && E(s(r));
|
|
4382
4382
|
}, []);
|
|
@@ -4391,7 +4391,7 @@ const Sn = (v) => {
|
|
|
4391
4391
|
}, D = () => {
|
|
4392
4392
|
M(), w(""), x(null);
|
|
4393
4393
|
}, W = (T) => {
|
|
4394
|
-
|
|
4394
|
+
p(T.target.value), D(), s && E(s(T.target.value)), o && o(T.target.value);
|
|
4395
4395
|
}, O = (T) => {
|
|
4396
4396
|
if (V(!1), _) {
|
|
4397
4397
|
const j = _(T.target.value) || {};
|
|
@@ -4399,7 +4399,7 @@ const Sn = (v) => {
|
|
|
4399
4399
|
}
|
|
4400
4400
|
o && o(C);
|
|
4401
4401
|
}, q = () => {
|
|
4402
|
-
D(),
|
|
4402
|
+
D(), p(""), I.current.value = null, I.current.focus(), s && E(s("")), o && o("");
|
|
4403
4403
|
}, F = () => {
|
|
4404
4404
|
V((T) => !T);
|
|
4405
4405
|
}, Z = (T) => {
|
|
@@ -4562,14 +4562,14 @@ const kt = 16, es = 10, In = (L) => {
|
|
|
4562
4562
|
visibilityToggleShow: "Show input value"
|
|
4563
4563
|
},
|
|
4564
4564
|
message: _,
|
|
4565
|
-
onChange:
|
|
4565
|
+
onChange: g,
|
|
4566
4566
|
onFocus: d,
|
|
4567
4567
|
placeholder: v,
|
|
4568
4568
|
readonly: h = !1,
|
|
4569
4569
|
required: $ = !1,
|
|
4570
4570
|
showLabel: f = !0,
|
|
4571
4571
|
specialFormatting: C,
|
|
4572
|
-
specialFormattingValidation:
|
|
4572
|
+
specialFormattingValidation: p = !1,
|
|
4573
4573
|
toggleVisibility: b = !1,
|
|
4574
4574
|
type: E = "text",
|
|
4575
4575
|
validationFunction: y,
|
|
@@ -4606,7 +4606,7 @@ const kt = 16, es = 10, In = (L) => {
|
|
|
4606
4606
|
]);
|
|
4607
4607
|
const [H, I] = R(l), [k, M] = R(n("")), [D, W] = R(), [O, q] = R(null), [F, Z] = R(!1), B = ee(null), T = ee(null), j = ee(null), U = ee(null), G = "pds-input-text", ce = C ? `${G}--${C}` : null;
|
|
4608
4608
|
let ne = null;
|
|
4609
|
-
E === "search" && (ne = "search"), O === "error" && (ne = "error"), O === "success" && (ne = "success"), C &&
|
|
4609
|
+
E === "search" && (ne = "search"), O === "error" && (ne = "error"), O === "success" && (ne = "success"), C && p && se(() => {
|
|
4610
4610
|
switch (l && I(me(l)), U.numExtra = "", C) {
|
|
4611
4611
|
case "credit-card":
|
|
4612
4612
|
U.numExtra = 3, U.current = kt;
|
|
@@ -4656,7 +4656,7 @@ const kt = 16, es = 10, In = (L) => {
|
|
|
4656
4656
|
}, J = (Q) => {
|
|
4657
4657
|
d && d(Q.target);
|
|
4658
4658
|
}, fe = (Q) => {
|
|
4659
|
-
C ?
|
|
4659
|
+
C ? g && g({ formattedValue: Q, rawValue: j.current }) : g && g(Q);
|
|
4660
4660
|
}, _e = (Q) => {
|
|
4661
4661
|
I(C ? me(Q.target.value) : Q.target.value), ue(), n && M(n(C ? j.current : Q.target.value)), fe(Q.target.value);
|
|
4662
4662
|
}, re = (Q) => {
|
|
@@ -4664,7 +4664,7 @@ const kt = 16, es = 10, In = (L) => {
|
|
|
4664
4664
|
const ae = y(Q.target.value) || {};
|
|
4665
4665
|
ue(), ae.error && q("error"), ae.success && q("success"), W(ae.message);
|
|
4666
4666
|
}
|
|
4667
|
-
C &&
|
|
4667
|
+
C && p && !y && (B.current.checkValidity() === !1 || Q.target.value.length < te ? (q("error"), C === "credit-card" && W(w.creditCardError), C === "phone" && W(w.phoneError)) : q("success")), fe(Q.target.value);
|
|
4668
4668
|
}, K = (Q) => {
|
|
4669
4669
|
var ae;
|
|
4670
4670
|
(!((ae = T.current) != null && ae.contains(Q.relatedTarget)) || !Q.relatedTarget) && Z(!1);
|
|
@@ -4941,7 +4941,7 @@ const Ht = (s) => s.isSeparator, Lt = (s) => s.isHeading, zt = (s) => s.isLink,
|
|
|
4941
4941
|
menuPosition: u = "start",
|
|
4942
4942
|
size: m = "md",
|
|
4943
4943
|
testId: _,
|
|
4944
|
-
undefinedLabel:
|
|
4944
|
+
undefinedLabel: g = "Unlabeled group",
|
|
4945
4945
|
variant: d = "primary",
|
|
4946
4946
|
withinNavbar: v,
|
|
4947
4947
|
className: h
|
|
@@ -4963,7 +4963,7 @@ const Ht = (s) => s.isSeparator, Lt = (s) => s.isHeading, zt = (s) => s.isLink,
|
|
|
4963
4963
|
"className"
|
|
4964
4964
|
]);
|
|
4965
4965
|
const {
|
|
4966
|
-
x:
|
|
4966
|
+
x: p,
|
|
4967
4967
|
y: b,
|
|
4968
4968
|
reference: E,
|
|
4969
4969
|
floating: y,
|
|
@@ -5174,7 +5174,7 @@ const Ht = (s) => s.isSeparator, Lt = (s) => s.isHeading, zt = (s) => s.isLink,
|
|
|
5174
5174
|
opacity: T ? "1" : "0",
|
|
5175
5175
|
transition: "opacity 300ms ease-in-out 0s",
|
|
5176
5176
|
position: w,
|
|
5177
|
-
transform: `translate(${Math.round(
|
|
5177
|
+
transform: `translate(${Math.round(p)}px,${Math.round(b)}px)`,
|
|
5178
5178
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5179
5179
|
},
|
|
5180
5180
|
onKeyDown: we,
|
|
@@ -5182,7 +5182,7 @@ const Ht = (s) => s.isSeparator, Lt = (s) => s.isHeading, zt = (s) => s.isLink,
|
|
|
5182
5182
|
},
|
|
5183
5183
|
$e.map((ze, Ye) => {
|
|
5184
5184
|
Ee = ue.current[Ye];
|
|
5185
|
-
const Xe = ze[0].isHeading, Qe = Xe ? `${F}-group-${Ee}-heading` : "", xs = `${F}-group-${Ee}`, Vs = Xe ? null : `${
|
|
5185
|
+
const Xe = ze[0].isHeading, Qe = Xe ? `${F}-group-${Ee}-heading` : "", xs = `${F}-group-${Ee}`, Vs = Xe ? null : `${g} ${Ye + 1}`;
|
|
5186
5186
|
return /* @__PURE__ */ e.createElement(
|
|
5187
5187
|
"ul",
|
|
5188
5188
|
{
|
|
@@ -5216,7 +5216,7 @@ const Ht = (s) => s.isSeparator, Lt = (s) => s.isHeading, zt = (s) => s.isLink,
|
|
|
5216
5216
|
opacity: T ? "1" : "0",
|
|
5217
5217
|
transition: "opacity 300ms ease-in-out 0s",
|
|
5218
5218
|
position: w,
|
|
5219
|
-
transform: `translate(${Math.round(
|
|
5219
|
+
transform: `translate(${Math.round(p)}px,${Math.round(b)}px)`
|
|
5220
5220
|
},
|
|
5221
5221
|
onKeyDown: we,
|
|
5222
5222
|
ref: y
|
|
@@ -5451,7 +5451,7 @@ const Rn = (d) => {
|
|
|
5451
5451
|
logoSrc: u,
|
|
5452
5452
|
logoSubBrand: m,
|
|
5453
5453
|
className: _
|
|
5454
|
-
} = v,
|
|
5454
|
+
} = v, g = S(v, [
|
|
5455
5455
|
"children",
|
|
5456
5456
|
"colorType",
|
|
5457
5457
|
"containerWidth",
|
|
@@ -5468,7 +5468,7 @@ const Rn = (d) => {
|
|
|
5468
5468
|
let f = !1;
|
|
5469
5469
|
const C = Ne(De);
|
|
5470
5470
|
C && (f = C.isMobile);
|
|
5471
|
-
const
|
|
5471
|
+
const p = "pds-navbar", b = c ? `${p}--noBorder` : "", E = n !== "default" ? `${p}--${n}` : "", y = f ? `${p}--isMobile` : `${p}--notMobile`;
|
|
5472
5472
|
se(() => (window.addEventListener("keyup", w), () => {
|
|
5473
5473
|
window.removeEventListener("keyup", w);
|
|
5474
5474
|
}), []);
|
|
@@ -5518,7 +5518,7 @@ const Rn = (d) => {
|
|
|
5518
5518
|
let k = /* @__PURE__ */ e.createElement(
|
|
5519
5519
|
"img",
|
|
5520
5520
|
{
|
|
5521
|
-
className: `${
|
|
5521
|
+
className: `${p}__custom-logo`,
|
|
5522
5522
|
src: u,
|
|
5523
5523
|
alt: l
|
|
5524
5524
|
}
|
|
@@ -5543,7 +5543,7 @@ const Rn = (d) => {
|
|
|
5543
5543
|
), W = /* @__PURE__ */ e.createElement(
|
|
5544
5544
|
"button",
|
|
5545
5545
|
{
|
|
5546
|
-
className: `${
|
|
5546
|
+
className: `${p}__menu-toggle`,
|
|
5547
5547
|
"aria-label": h ? "Close navigation area" : "Open navigation area",
|
|
5548
5548
|
onClick: z
|
|
5549
5549
|
},
|
|
@@ -5551,7 +5551,7 @@ const Rn = (d) => {
|
|
|
5551
5551
|
), O = /* @__PURE__ */ e.createElement(
|
|
5552
5552
|
"div",
|
|
5553
5553
|
{
|
|
5554
|
-
className: h ? `${
|
|
5554
|
+
className: h ? `${p}__mobile ${p}__mobile--open` : `${p}__mobile ${p}__mobile--closed`,
|
|
5555
5555
|
ref: x
|
|
5556
5556
|
},
|
|
5557
5557
|
/* @__PURE__ */ e.createElement(Je, null, H, I)
|
|
@@ -5563,13 +5563,13 @@ const Rn = (d) => {
|
|
|
5563
5563
|
initialFocus: !1
|
|
5564
5564
|
}
|
|
5565
5565
|
},
|
|
5566
|
-
/* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(Je, { className: `${
|
|
5567
|
-
), F = /* @__PURE__ */ e.createElement(Je, { width: a, className: `${
|
|
5566
|
+
/* @__PURE__ */ e.createElement("div", null, /* @__PURE__ */ e.createElement(Je, { className: `${p}__bar-mobile` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__inner-mobile` }, /* @__PURE__ */ e.createElement(D, null), s && W)), /* @__PURE__ */ e.createElement(Je, null, s && O))
|
|
5567
|
+
), F = /* @__PURE__ */ e.createElement(Je, { width: a, className: `${p}__inner` }, !r && /* @__PURE__ */ e.createElement("div", { className: `${p}__logo` }, /* @__PURE__ */ e.createElement(D, null)), /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, H ? /* @__PURE__ */ e.createElement("div", { className: `${p}__items-left` }, H) : /* @__PURE__ */ e.createElement("span", null), I && /* @__PURE__ */ e.createElement("div", { className: `${p}__items-right` }, I)));
|
|
5568
5568
|
return /* @__PURE__ */ e.createElement(
|
|
5569
5569
|
"header",
|
|
5570
5570
|
N({
|
|
5571
|
-
className: [
|
|
5572
|
-
},
|
|
5571
|
+
className: [p, E, b, y, _].join(" ").trim().replace(/\s+/g, " ")
|
|
5572
|
+
}, g),
|
|
5573
5573
|
f ? q : F
|
|
5574
5574
|
);
|
|
5575
5575
|
};
|
|
@@ -5634,16 +5634,16 @@ const Ns = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
|
5634
5634
|
}), []);
|
|
5635
5635
|
const o = () => {
|
|
5636
5636
|
l(window.innerWidth);
|
|
5637
|
-
}, u = i <= a, m = "pds-nav-menu", { refs: _, context:
|
|
5637
|
+
}, u = i <= a, m = "pds-nav-menu", { refs: _, context: g } = Ve({
|
|
5638
5638
|
placement: "bottom-start",
|
|
5639
5639
|
open: c,
|
|
5640
5640
|
onOpenChange: r,
|
|
5641
5641
|
whileElementsMounted: Oe
|
|
5642
|
-
}), d = nt(
|
|
5642
|
+
}), d = nt(g, { event: "mousedown" }), v = Se(g), h = Ie(g, { role: "menu" });
|
|
5643
5643
|
let $;
|
|
5644
|
-
u ? $ = Tt(
|
|
5644
|
+
u ? $ = Tt(g, {
|
|
5645
5645
|
enabled: !1
|
|
5646
|
-
}) : $ = Tt(
|
|
5646
|
+
}) : $ = Tt(g, {
|
|
5647
5647
|
handleClose: Fs({
|
|
5648
5648
|
requireIntent: !1,
|
|
5649
5649
|
buffer: 10,
|
|
@@ -5656,7 +5656,7 @@ const Ns = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
|
5656
5656
|
h,
|
|
5657
5657
|
d,
|
|
5658
5658
|
$
|
|
5659
|
-
]),
|
|
5659
|
+
]), p = (b) => !!(b.isActive || b.linkContent && b.linkContent.props.className && b.linkContent.props.className.includes("pds-isActive"));
|
|
5660
5660
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
5661
5661
|
"button",
|
|
5662
5662
|
N({
|
|
@@ -5676,7 +5676,7 @@ const Ns = ({ items: s, label: n, mobileMenuMaxWidth: a = 640 }) => {
|
|
|
5676
5676
|
{
|
|
5677
5677
|
key: E,
|
|
5678
5678
|
role: b.isSeparator ? "separator" : "menuitem",
|
|
5679
|
-
className: `${m}__item ${b.isSeparator ? `${m}__dropdown--separator` : `${m}__item--second-level`} ${
|
|
5679
|
+
className: `${m}__item ${b.isSeparator ? `${m}__dropdown--separator` : `${m}__item--second-level`} ${p(b) ? `${m}__item--active` : null}`
|
|
5680
5680
|
},
|
|
5681
5681
|
!b.isSeparator && b.linkContent
|
|
5682
5682
|
))
|
|
@@ -5701,21 +5701,21 @@ const Dn = (l) => {
|
|
|
5701
5701
|
"mobileMenuMaxWidth",
|
|
5702
5702
|
"className"
|
|
5703
5703
|
]);
|
|
5704
|
-
const [u, m] = R(1025), [_,
|
|
5704
|
+
const [u, m] = R(1025), [_, g] = R(null), [d, v] = R(-1), [h, $] = R(null), [f, C] = R({
|
|
5705
5705
|
containerChildren: []
|
|
5706
5706
|
});
|
|
5707
|
-
se(() => (m(window.innerWidth), window.addEventListener("resize",
|
|
5708
|
-
window.removeEventListener("resize",
|
|
5707
|
+
se(() => (m(window.innerWidth), window.addEventListener("resize", p), () => {
|
|
5708
|
+
window.removeEventListener("resize", p);
|
|
5709
5709
|
}), []);
|
|
5710
|
-
const
|
|
5710
|
+
const p = () => {
|
|
5711
5711
|
m(window.innerWidth);
|
|
5712
5712
|
}, b = u <= c;
|
|
5713
5713
|
se(() => {
|
|
5714
5714
|
f.containerChildren[_] && (f.containerChildren[_].classList.contains(
|
|
5715
5715
|
"pds-nav-menu__dropdown--separator"
|
|
5716
|
-
) && h == "down" ?
|
|
5716
|
+
) && h == "down" ? g(_ + 1) : f.containerChildren[_].classList.contains(
|
|
5717
5717
|
"pds-nav-menu__dropdown--separator"
|
|
5718
|
-
) && h == "up" ?
|
|
5718
|
+
) && h == "up" ? g(_ - 1) : f.containerChildren[_].children[0].focus());
|
|
5719
5719
|
}, [_]), se(() => {
|
|
5720
5720
|
d != -1 && (z.current[d].children[0].blur(), z.current[d].children[0].focus({
|
|
5721
5721
|
focusVisible: !0
|
|
@@ -5724,10 +5724,10 @@ const Dn = (l) => {
|
|
|
5724
5724
|
const E = "pds-nav-menu", y = n !== "default" ? `${E}--${n}` : "", w = b ? `${E}--isMobile` : `${E}--notMobile`, z = ee([]), x = (H) => {
|
|
5725
5725
|
const I = z.current.length - 1, q = {
|
|
5726
5726
|
ArrowRight: () => {
|
|
5727
|
-
|
|
5727
|
+
g(-1), v(d === -1 ? 1 : d === I ? 0 : d + 1);
|
|
5728
5728
|
},
|
|
5729
5729
|
ArrowLeft: () => {
|
|
5730
|
-
|
|
5730
|
+
g(-1), v(d === 0 ? I : d - 1);
|
|
5731
5731
|
},
|
|
5732
5732
|
ArrowDown: () => {
|
|
5733
5733
|
var B, T, j, U;
|
|
@@ -5736,10 +5736,10 @@ const Dn = (l) => {
|
|
|
5736
5736
|
f.container != F && F != null && C({
|
|
5737
5737
|
container: F,
|
|
5738
5738
|
containerChildren: [...Z]
|
|
5739
|
-
}), _ === null || _ == f.containerChildren.length - 1 ?
|
|
5739
|
+
}), _ === null || _ == f.containerChildren.length - 1 ? g(0) : g(parseInt(_) + 1);
|
|
5740
5740
|
},
|
|
5741
5741
|
ArrowUp: () => {
|
|
5742
|
-
$("up"),
|
|
5742
|
+
$("up"), g(_ === 0 ? f.containerChildren.length - 1 : parseInt(_) - 1);
|
|
5743
5743
|
}
|
|
5744
5744
|
}[H.code];
|
|
5745
5745
|
q && q();
|
|
@@ -6161,37 +6161,37 @@ const Mt = {
|
|
|
6161
6161
|
"title",
|
|
6162
6162
|
"className"
|
|
6163
6163
|
]);
|
|
6164
|
-
const
|
|
6164
|
+
const g = "pds-new-site-card", d = a.type;
|
|
6165
6165
|
return /* @__PURE__ */ e.createElement(
|
|
6166
6166
|
"div",
|
|
6167
6167
|
N({
|
|
6168
|
-
className: [
|
|
6168
|
+
className: [g, o].join(" ").trim().replace(/\s+/g, " ")
|
|
6169
6169
|
}, u),
|
|
6170
6170
|
/* @__PURE__ */ e.createElement(
|
|
6171
6171
|
d,
|
|
6172
6172
|
N({
|
|
6173
6173
|
"aria-label": a.props.children,
|
|
6174
|
-
className: `${
|
|
6174
|
+
className: `${g}__selection-link`
|
|
6175
6175
|
}, a.props),
|
|
6176
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
6176
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__header` }, n && /* @__PURE__ */ e.createElement("div", { className: `${g}__icon` }, /* @__PURE__ */ e.createElement(ws, { platformType: n })), /* @__PURE__ */ e.createElement("div", { className: `${g}__title` }, l, c && /* @__PURE__ */ e.createElement("div", { className: `${g}__subtitle` }, c))),
|
|
6177
6177
|
s && /* @__PURE__ */ e.createElement(
|
|
6178
6178
|
gt,
|
|
6179
6179
|
{
|
|
6180
6180
|
label: ts[s].label,
|
|
6181
6181
|
size: "sm",
|
|
6182
6182
|
color: ts[s].color,
|
|
6183
|
-
className: `${
|
|
6183
|
+
className: `${g}__badge`
|
|
6184
6184
|
}
|
|
6185
6185
|
),
|
|
6186
|
-
i && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
6186
|
+
i && /* @__PURE__ */ e.createElement("div", { className: `${g}__summary` }, i)
|
|
6187
6187
|
),
|
|
6188
|
-
r && r.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
6188
|
+
r && r.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${g}__links` }, r.map((v, h) => {
|
|
6189
6189
|
const $ = v.type;
|
|
6190
6190
|
return /* @__PURE__ */ e.createElement(
|
|
6191
6191
|
$,
|
|
6192
6192
|
N({
|
|
6193
6193
|
key: h,
|
|
6194
|
-
className: `${
|
|
6194
|
+
className: `${g}__link`
|
|
6195
6195
|
}, v.props),
|
|
6196
6196
|
v.props.children,
|
|
6197
6197
|
v.props.target === "_blank" && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
@@ -6199,7 +6199,7 @@ const Mt = {
|
|
|
6199
6199
|
{
|
|
6200
6200
|
iconName: "externalLink",
|
|
6201
6201
|
iconSize: "sm",
|
|
6202
|
-
className: `${
|
|
6202
|
+
className: `${g}__link-icon`
|
|
6203
6203
|
}
|
|
6204
6204
|
), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Opens new window"))
|
|
6205
6205
|
);
|
|
@@ -6269,7 +6269,7 @@ const at = ht({}), qn = (s) => {
|
|
|
6269
6269
|
buttonCallback: r = null,
|
|
6270
6270
|
children: i
|
|
6271
6271
|
}) => {
|
|
6272
|
-
const [l, o] = R(() => qn(s)), [u, m] = R([]), _ = s.length, [
|
|
6272
|
+
const [l, o] = R(() => qn(s)), [u, m] = R([]), _ = s.length, [g, d] = R("");
|
|
6273
6273
|
return /* @__PURE__ */ e.createElement(
|
|
6274
6274
|
at.Provider,
|
|
6275
6275
|
{
|
|
@@ -6278,7 +6278,7 @@ const at = ht({}), qn = (s) => {
|
|
|
6278
6278
|
setCurrentKey: o,
|
|
6279
6279
|
currentPages: u,
|
|
6280
6280
|
setCurrentPages: m,
|
|
6281
|
-
pageDirection:
|
|
6281
|
+
pageDirection: g,
|
|
6282
6282
|
setDirection: d,
|
|
6283
6283
|
itemLength: _,
|
|
6284
6284
|
pages: s,
|
|
@@ -6312,7 +6312,7 @@ const Wt = (h) => {
|
|
|
6312
6312
|
required: u = !1,
|
|
6313
6313
|
selectOptionsLabel: m = "Select an option...",
|
|
6314
6314
|
showLabel: _ = !0,
|
|
6315
|
-
validationFunction:
|
|
6315
|
+
validationFunction: g,
|
|
6316
6316
|
className: d
|
|
6317
6317
|
} = $, v = S($, [
|
|
6318
6318
|
"disabled",
|
|
@@ -6329,13 +6329,13 @@ const Wt = (h) => {
|
|
|
6329
6329
|
"validationFunction",
|
|
6330
6330
|
"className"
|
|
6331
6331
|
]);
|
|
6332
|
-
const [f, C] = R(!1), [
|
|
6332
|
+
const [f, C] = R(!1), [p, b] = R(null), [E, y] = R(a), [w, z] = R(), [x, L] = R(null), V = ee([]), H = "pds-select", { context: I, refs: k } = Ve({
|
|
6333
6333
|
open: f,
|
|
6334
6334
|
onOpenChange: C,
|
|
6335
6335
|
whileElementsMounted: Oe
|
|
6336
6336
|
}), M = Ie(I, { role: "listbox" }), D = Se(I), W = lt(I, {
|
|
6337
6337
|
listRef: V,
|
|
6338
|
-
activeIndex:
|
|
6338
|
+
activeIndex: p,
|
|
6339
6339
|
onNavigate: b,
|
|
6340
6340
|
loop: !0,
|
|
6341
6341
|
openOnArrowKeyDown: !0
|
|
@@ -6367,11 +6367,11 @@ const Wt = (h) => {
|
|
|
6367
6367
|
}))(o), G = () => {
|
|
6368
6368
|
z(""), L(null);
|
|
6369
6369
|
}, ce = (re) => {
|
|
6370
|
-
const K =
|
|
6370
|
+
const K = g(re) || {};
|
|
6371
6371
|
G(), K.error && L("error"), K.success && L("success"), z(K.message);
|
|
6372
6372
|
}, ne = (re) => {
|
|
6373
6373
|
const K = U[re];
|
|
6374
|
-
y(K.value), b(null), C(!1), l && l(K),
|
|
6374
|
+
y(K.value), b(null), C(!1), l && l(K), g && ce(K);
|
|
6375
6375
|
}, te = /* @__PURE__ */ e.createElement(A, { iconName: "angleDown", className: `${H}__trigger-icon` }), me = /* @__PURE__ */ e.createElement(A, { iconName: "check", className: `${H}__checked-icon` }), ue = U.map((re, K) => /* @__PURE__ */ e.createElement(
|
|
6376
6376
|
Pt,
|
|
6377
6377
|
ve(N({
|
|
@@ -6389,8 +6389,8 @@ const Wt = (h) => {
|
|
|
6389
6389
|
(Y.key === "Enter" || Y.key === " ") && ne(K);
|
|
6390
6390
|
}
|
|
6391
6391
|
})), {
|
|
6392
|
-
tabIndex:
|
|
6393
|
-
active:
|
|
6392
|
+
tabIndex: p === K ? 0 : -1,
|
|
6393
|
+
active: p === K
|
|
6394
6394
|
}),
|
|
6395
6395
|
re.label,
|
|
6396
6396
|
E === re.value && me
|
|
@@ -6553,7 +6553,7 @@ const Pn = {
|
|
|
6553
6553
|
i && (f.preventDefault(), i(C));
|
|
6554
6554
|
},
|
|
6555
6555
|
[i, l]
|
|
6556
|
-
), { title:
|
|
6556
|
+
), { title: g, rel: d, srText: v, icon: h, keyModifier: $ } = Pn[n];
|
|
6557
6557
|
return /* @__PURE__ */ e.createElement(
|
|
6558
6558
|
"li",
|
|
6559
6559
|
N({
|
|
@@ -6562,7 +6562,7 @@ const Pn = {
|
|
|
6562
6562
|
/* @__PURE__ */ e.createElement(
|
|
6563
6563
|
"a",
|
|
6564
6564
|
{
|
|
6565
|
-
title:
|
|
6565
|
+
title: g,
|
|
6566
6566
|
rel: d,
|
|
6567
6567
|
href: m[$(l)].link,
|
|
6568
6568
|
onClick: (f) => {
|
|
@@ -6591,8 +6591,8 @@ const jn = (n) => {
|
|
|
6591
6591
|
pages: o
|
|
6592
6592
|
} = Ne(at), u = [];
|
|
6593
6593
|
return o.forEach((m, _) => {
|
|
6594
|
-
let
|
|
6595
|
-
u.push(
|
|
6594
|
+
let g = { label: `Page ${_ + 1}`, value: `${_ + 1}` };
|
|
6595
|
+
u.push(g);
|
|
6596
6596
|
}), /* @__PURE__ */ e.createElement(
|
|
6597
6597
|
"nav",
|
|
6598
6598
|
N({
|
|
@@ -6763,7 +6763,7 @@ const Fn = (n) => {
|
|
|
6763
6763
|
itemLength: u,
|
|
6764
6764
|
pageDirection: m,
|
|
6765
6765
|
pages: _
|
|
6766
|
-
} = Ne(at),
|
|
6766
|
+
} = Ne(at), g = cs(
|
|
6767
6767
|
(v, h) => {
|
|
6768
6768
|
a && (v.preventDefault(), a(h));
|
|
6769
6769
|
},
|
|
@@ -6791,7 +6791,7 @@ const Fn = (n) => {
|
|
|
6791
6791
|
{
|
|
6792
6792
|
href: d[d.length - 1].link,
|
|
6793
6793
|
onClick: (v) => {
|
|
6794
|
-
|
|
6794
|
+
g(v, 0), r(0);
|
|
6795
6795
|
}
|
|
6796
6796
|
},
|
|
6797
6797
|
"First"
|
|
@@ -6800,7 +6800,7 @@ const Fn = (n) => {
|
|
|
6800
6800
|
{
|
|
6801
6801
|
href: d[d.length - 1].link,
|
|
6802
6802
|
onClick: (v) => {
|
|
6803
|
-
|
|
6803
|
+
g(v, u - 1), r(u - 1);
|
|
6804
6804
|
}
|
|
6805
6805
|
},
|
|
6806
6806
|
"Last"
|
|
@@ -6917,10 +6917,10 @@ const Gn = {
|
|
|
6917
6917
|
className: [m, i != null ? i : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
6918
6918
|
}, l),
|
|
6919
6919
|
n && /* @__PURE__ */ e.createElement("div", { className: `${m}__intro` }, n),
|
|
6920
|
-
s && /* @__PURE__ */ e.createElement("ul", { className: `${m}__list` }, s.map((_,
|
|
6920
|
+
s && /* @__PURE__ */ e.createElement("ul", { className: `${m}__list` }, s.map((_, g) => /* @__PURE__ */ e.createElement(
|
|
6921
6921
|
"li",
|
|
6922
6922
|
{
|
|
6923
|
-
key:
|
|
6923
|
+
key: g,
|
|
6924
6924
|
className: `${m}__list-item ${m}__list-item--${_.type}`
|
|
6925
6925
|
},
|
|
6926
6926
|
/* @__PURE__ */ e.createElement(A, { iconName: Gn[_.type], iconSize: "md" }),
|
|
@@ -6945,7 +6945,7 @@ const Gn = {
|
|
|
6945
6945
|
selectLabel: u = "Select a plan size",
|
|
6946
6946
|
statusBadgeType: m,
|
|
6947
6947
|
className: _
|
|
6948
|
-
} = v,
|
|
6948
|
+
} = v, g = S(v, [
|
|
6949
6949
|
"actionPrimary",
|
|
6950
6950
|
"actionSecondary",
|
|
6951
6951
|
"hasComparisonList",
|
|
@@ -6958,8 +6958,8 @@ const Gn = {
|
|
|
6958
6958
|
"statusBadgeType",
|
|
6959
6959
|
"className"
|
|
6960
6960
|
]);
|
|
6961
|
-
const h = "pds-pricing-card", $ = `${h}-container`, f = a ? `${$}--with-list` : null, C = m ? `${h}--${m}` : null,
|
|
6962
|
-
|
|
6961
|
+
const h = "pds-pricing-card", $ = `${h}-container`, f = a ? `${$}--with-list` : null, C = m ? `${h}--${m}` : null, p = (M) => M.toLowerCase().replace(/\s/g, "-"), b = l && l.length > 1, [E, y] = R(
|
|
6962
|
+
p(l[0].label)
|
|
6963
6963
|
), [w, z] = R(
|
|
6964
6964
|
s.label
|
|
6965
6965
|
);
|
|
@@ -6981,13 +6981,13 @@ const Gn = {
|
|
|
6981
6981
|
renderTypeLabels: !1
|
|
6982
6982
|
}
|
|
6983
6983
|
)), b && (x = l.map((M) => {
|
|
6984
|
-
const W = E ===
|
|
6984
|
+
const W = E === p(M.label) ? null : `${h}__pricing-data--hide`;
|
|
6985
6985
|
return /* @__PURE__ */ e.createElement(
|
|
6986
6986
|
"div",
|
|
6987
6987
|
{
|
|
6988
6988
|
className: [`${h}__pricing-data`, W].join(" ").trim().replace(/\s+/g, " "),
|
|
6989
|
-
id: `data-${
|
|
6990
|
-
key:
|
|
6989
|
+
id: `data-${p(M.label)}`,
|
|
6990
|
+
key: p(M.label)
|
|
6991
6991
|
},
|
|
6992
6992
|
/* @__PURE__ */ e.createElement("div", { className: `${h}__price-line` }, /* @__PURE__ */ e.createElement("span", { className: `${h}__price` }, M.price), M.priceDetails && /* @__PURE__ */ e.createElement("span", { className: `${h}__details` }, M.priceDetails)),
|
|
6993
6993
|
/* @__PURE__ */ e.createElement("div", { className: `${h}__savings-line` }, M.savingsBadgeLabel && /* @__PURE__ */ e.createElement(
|
|
@@ -7001,7 +7001,7 @@ const Gn = {
|
|
|
7001
7001
|
), M.savingsDetails && /* @__PURE__ */ e.createElement("span", { className: `${h}__savings-details` }, M.savingsDetails))
|
|
7002
7002
|
);
|
|
7003
7003
|
}), L = l.map((M) => {
|
|
7004
|
-
const W = E ===
|
|
7004
|
+
const W = E === p(M.label) ? null : `${h}__list--hide`;
|
|
7005
7005
|
return /* @__PURE__ */ e.createElement(
|
|
7006
7006
|
ss,
|
|
7007
7007
|
{
|
|
@@ -7009,13 +7009,13 @@ const Gn = {
|
|
|
7009
7009
|
listLabel: M.listLabel,
|
|
7010
7010
|
listItems: M.listItems,
|
|
7011
7011
|
renderTypeLabels: !1,
|
|
7012
|
-
key: `${
|
|
7012
|
+
key: `${p(M.label)}-list`
|
|
7013
7013
|
}
|
|
7014
7014
|
);
|
|
7015
7015
|
}));
|
|
7016
7016
|
const V = (M) => {
|
|
7017
7017
|
const D = l.find(
|
|
7018
|
-
(W) =>
|
|
7018
|
+
(W) => p(W.label) === M
|
|
7019
7019
|
);
|
|
7020
7020
|
return D.customActionLabel ? D.customActionLabel : s.label;
|
|
7021
7021
|
};
|
|
@@ -7028,10 +7028,10 @@ const Gn = {
|
|
|
7028
7028
|
label: u,
|
|
7029
7029
|
showLabel: !1,
|
|
7030
7030
|
options: l.map((M) => ({
|
|
7031
|
-
value:
|
|
7031
|
+
value: p(M.label),
|
|
7032
7032
|
label: M.label
|
|
7033
7033
|
})),
|
|
7034
|
-
initialValue:
|
|
7034
|
+
initialValue: p(l[0].label),
|
|
7035
7035
|
onOptionSelect: (M) => {
|
|
7036
7036
|
y(M.value), z(V(M.value)), c && c(M.value);
|
|
7037
7037
|
}
|
|
@@ -7078,7 +7078,7 @@ const Gn = {
|
|
|
7078
7078
|
"div",
|
|
7079
7079
|
N({
|
|
7080
7080
|
className: [$, f, _].join(" ").trim().replace(/\s+/g, " ")
|
|
7081
|
-
},
|
|
7081
|
+
}, g),
|
|
7082
7082
|
/* @__PURE__ */ e.createElement(
|
|
7083
7083
|
"div",
|
|
7084
7084
|
{
|
|
@@ -7189,8 +7189,8 @@ const ns = {
|
|
|
7189
7189
|
success: "--pds-color-semantic-success-foreground",
|
|
7190
7190
|
warning: "--pds-color-semantic-warning-foreground",
|
|
7191
7191
|
critical: "--pds-color-semantic-critical-foreground"
|
|
7192
|
-
}, Yn = (
|
|
7193
|
-
var d =
|
|
7192
|
+
}, Yn = (g) => {
|
|
7193
|
+
var d = g, {
|
|
7194
7194
|
colorBreakpoints: s = [
|
|
7195
7195
|
{ colorType: "info", percentage: 0 },
|
|
7196
7196
|
{ colorType: "success", percentage: 100 }
|
|
@@ -7217,9 +7217,9 @@ const ns = {
|
|
|
7217
7217
|
"className"
|
|
7218
7218
|
]);
|
|
7219
7219
|
const v = n || xe(), h = "pds-progress-bar", $ = l ? `${h}__label` : "visually-hidden", f = `${h}__track ${h}__track--${u}`, C = i > 100 ? 100 : i;
|
|
7220
|
-
let
|
|
7220
|
+
let p;
|
|
7221
7221
|
s.forEach((w) => {
|
|
7222
|
-
i >= w.percentage && (
|
|
7222
|
+
i >= w.percentage && (p = w.colorType);
|
|
7223
7223
|
});
|
|
7224
7224
|
const b = /* @__PURE__ */ e.createElement("div", { className: `${h}__message` }, c), E = c && r === "above", y = c && r === "below";
|
|
7225
7225
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -7234,7 +7234,7 @@ const ns = {
|
|
|
7234
7234
|
{
|
|
7235
7235
|
className: `${h}__percentage`,
|
|
7236
7236
|
style: {
|
|
7237
|
-
color: `hsl(from var(${ns[
|
|
7237
|
+
color: `hsl(from var(${ns[p]}) h s calc(l - 7))`
|
|
7238
7238
|
}
|
|
7239
7239
|
},
|
|
7240
7240
|
i,
|
|
@@ -7254,7 +7254,7 @@ const ns = {
|
|
|
7254
7254
|
className: `${h}__bar`,
|
|
7255
7255
|
style: {
|
|
7256
7256
|
width: `${C}%`,
|
|
7257
|
-
backgroundColor: `var(${ns[
|
|
7257
|
+
backgroundColor: `var(${ns[p]})`
|
|
7258
7258
|
}
|
|
7259
7259
|
}
|
|
7260
7260
|
)
|
|
@@ -7335,10 +7335,10 @@ const Xn = 3.815, Qn = 4.678, Jn = 5.96, Ls = (m) => {
|
|
|
7335
7335
|
"size",
|
|
7336
7336
|
"className"
|
|
7337
7337
|
]);
|
|
7338
|
-
const
|
|
7338
|
+
const g = s || xe(), d = "pds-progress-ring", v = r ? `${d}__label` : "visually-hidden", h = `${d}__loading-text ${d}__loading-text--${l}`, $ = (z) => z * 16;
|
|
7339
7339
|
let f = $(Qn), C = 7;
|
|
7340
7340
|
l === "sm" && (f = $(Xn), C = C / 1.25), l === "lg" && (f = $(Jn), C = C * 1.25);
|
|
7341
|
-
const
|
|
7341
|
+
const p = f / 2 - C / 2, b = `${p / 100}rem`, E = 2 * Math.PI * p, y = E - E * c / 100;
|
|
7342
7342
|
let w;
|
|
7343
7343
|
return n ? w = n : i ? w = `${c}%` : w = "", /* @__PURE__ */ e.createElement(
|
|
7344
7344
|
"div",
|
|
@@ -7349,13 +7349,13 @@ const Xn = 3.815, Qn = 4.678, Jn = 5.96, Ls = (m) => {
|
|
|
7349
7349
|
"--ring-stroke-dasharray": E
|
|
7350
7350
|
}
|
|
7351
7351
|
}, u),
|
|
7352
|
-
/* @__PURE__ */ e.createElement("div", { id:
|
|
7352
|
+
/* @__PURE__ */ e.createElement("div", { id: g, className: v }, a),
|
|
7353
7353
|
/* @__PURE__ */ e.createElement(
|
|
7354
7354
|
"div",
|
|
7355
7355
|
{
|
|
7356
7356
|
className: `${d}__ring`,
|
|
7357
7357
|
role: "progressbar",
|
|
7358
|
-
"aria-labelledby":
|
|
7358
|
+
"aria-labelledby": g,
|
|
7359
7359
|
"aria-valuenow": c
|
|
7360
7360
|
},
|
|
7361
7361
|
/* @__PURE__ */ e.createElement(
|
|
@@ -7371,7 +7371,7 @@ const Xn = 3.815, Qn = 4.678, Jn = 5.96, Ls = (m) => {
|
|
|
7371
7371
|
className: `${d}__track`,
|
|
7372
7372
|
cx: f / 2,
|
|
7373
7373
|
cy: f / 2,
|
|
7374
|
-
r:
|
|
7374
|
+
r: p,
|
|
7375
7375
|
strokeWidth: C
|
|
7376
7376
|
}
|
|
7377
7377
|
),
|
|
@@ -7381,7 +7381,7 @@ const Xn = 3.815, Qn = 4.678, Jn = 5.96, Ls = (m) => {
|
|
|
7381
7381
|
className: `${d}__progress`,
|
|
7382
7382
|
cx: f / 2,
|
|
7383
7383
|
cy: f / 2,
|
|
7384
|
-
r:
|
|
7384
|
+
r: p,
|
|
7385
7385
|
strokeWidth: C,
|
|
7386
7386
|
strokeDasharray: E,
|
|
7387
7387
|
strokeDashoffset: y,
|
|
@@ -7438,8 +7438,8 @@ Ls.propTypes = {
|
|
|
7438
7438
|
*/
|
|
7439
7439
|
className: t.string
|
|
7440
7440
|
};
|
|
7441
|
-
const e1 = (
|
|
7442
|
-
var d =
|
|
7441
|
+
const e1 = (g) => {
|
|
7442
|
+
var d = g, {
|
|
7443
7443
|
disabled: s = !1,
|
|
7444
7444
|
id: n,
|
|
7445
7445
|
initialSelection: a,
|
|
@@ -7478,17 +7478,17 @@ const e1 = (p) => {
|
|
|
7478
7478
|
message: i,
|
|
7479
7479
|
required: u
|
|
7480
7480
|
}, _),
|
|
7481
|
-
/* @__PURE__ */ e.createElement("div", { className: [v].join(" ").trim().replace(/\s+/g, " ") }, /* @__PURE__ */ e.createElement("div", { className: `${v}__options` }, o.map((C,
|
|
7481
|
+
/* @__PURE__ */ e.createElement("div", { className: [v].join(" ").trim().replace(/\s+/g, " ") }, /* @__PURE__ */ e.createElement("div", { className: `${v}__options` }, o.map((C, p) => /* @__PURE__ */ e.createElement(
|
|
7482
7482
|
"div",
|
|
7483
7483
|
{
|
|
7484
7484
|
className: `${v}__option`,
|
|
7485
|
-
key: `${n}-option-${
|
|
7485
|
+
key: `${n}-option-${p}`
|
|
7486
7486
|
},
|
|
7487
7487
|
/* @__PURE__ */ e.createElement(
|
|
7488
7488
|
"input",
|
|
7489
7489
|
{
|
|
7490
7490
|
type: "radio",
|
|
7491
|
-
id: `${n}-option-${
|
|
7491
|
+
id: `${n}-option-${p}`,
|
|
7492
7492
|
name: n,
|
|
7493
7493
|
value: C.value,
|
|
7494
7494
|
required: u,
|
|
@@ -7497,7 +7497,7 @@ const e1 = (p) => {
|
|
|
7497
7497
|
defaultChecked: h === C.value
|
|
7498
7498
|
}
|
|
7499
7499
|
),
|
|
7500
|
-
/* @__PURE__ */ e.createElement("label", { htmlFor: `${n}-option-${
|
|
7500
|
+
/* @__PURE__ */ e.createElement("label", { htmlFor: `${n}-option-${p}` }, C.label)
|
|
7501
7501
|
))))
|
|
7502
7502
|
);
|
|
7503
7503
|
};
|
|
@@ -7584,12 +7584,12 @@ const t1 = (u) => {
|
|
|
7584
7584
|
"mobileMenuSelectTextFallback",
|
|
7585
7585
|
"className"
|
|
7586
7586
|
]);
|
|
7587
|
-
const [_,
|
|
7588
|
-
se(() => (
|
|
7587
|
+
const [_, g] = R(1025);
|
|
7588
|
+
se(() => (g(window.innerWidth), window.addEventListener("resize", d), () => {
|
|
7589
7589
|
window.removeEventListener("resize", d);
|
|
7590
7590
|
}), []);
|
|
7591
7591
|
const d = () => {
|
|
7592
|
-
|
|
7592
|
+
g(window.innerWidth);
|
|
7593
7593
|
}, v = _ <= r, h = "pds-side-nav", $ = (b) => {
|
|
7594
7594
|
const E = b.target;
|
|
7595
7595
|
E.classList.toggle(`${h}__toggle--expanded`), E.setAttribute(
|
|
@@ -7615,7 +7615,7 @@ const t1 = (u) => {
|
|
|
7615
7615
|
headingText: n,
|
|
7616
7616
|
selectTextFallback: i
|
|
7617
7617
|
}
|
|
7618
|
-
),
|
|
7618
|
+
), p = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${h}__heading` }, n), /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu ${h}__menu--top-level` }, c.map((b, E) => /* @__PURE__ */ e.createElement(
|
|
7619
7619
|
"li",
|
|
7620
7620
|
{
|
|
7621
7621
|
key: E,
|
|
@@ -7652,7 +7652,7 @@ const t1 = (u) => {
|
|
|
7652
7652
|
"aria-label": s,
|
|
7653
7653
|
className: [h, l].join(" ").trim().replace(/\s+/g, " ")
|
|
7654
7654
|
}, o),
|
|
7655
|
-
v ? C :
|
|
7655
|
+
v ? C : p
|
|
7656
7656
|
);
|
|
7657
7657
|
};
|
|
7658
7658
|
t1.propTypes = {
|
|
@@ -7709,12 +7709,12 @@ const s1 = (u) => {
|
|
|
7709
7709
|
"mobileMenuSelectTextFallback",
|
|
7710
7710
|
"className"
|
|
7711
7711
|
]);
|
|
7712
|
-
const [_,
|
|
7713
|
-
se(() => (
|
|
7712
|
+
const [_, g] = R(1025);
|
|
7713
|
+
se(() => (g(window.innerWidth), window.addEventListener("resize", d), () => {
|
|
7714
7714
|
window.removeEventListener("resize", d);
|
|
7715
7715
|
}), []);
|
|
7716
7716
|
const d = () => {
|
|
7717
|
-
|
|
7717
|
+
g(window.innerWidth);
|
|
7718
7718
|
}, v = _ <= r, h = "pds-side-nav-compact", $ = (b) => {
|
|
7719
7719
|
const E = b.target;
|
|
7720
7720
|
E.classList.toggle(`${h}__toggle--expanded`), E.setAttribute(
|
|
@@ -7742,7 +7742,7 @@ const s1 = (u) => {
|
|
|
7742
7742
|
headingText: n,
|
|
7743
7743
|
selectTextFallback: i
|
|
7744
7744
|
}
|
|
7745
|
-
),
|
|
7745
|
+
), p = /* @__PURE__ */ e.createElement(e.Fragment, null, n && /* @__PURE__ */ e.createElement("h2", { className: `${h}__heading` }, n), /* @__PURE__ */ e.createElement("ul", { className: `${h}__menu ${h}__menu--top-level` }, c.map((b, E) => /* @__PURE__ */ e.createElement(
|
|
7746
7746
|
"li",
|
|
7747
7747
|
{
|
|
7748
7748
|
key: E,
|
|
@@ -7808,7 +7808,7 @@ const s1 = (u) => {
|
|
|
7808
7808
|
"aria-label": s,
|
|
7809
7809
|
className: [h, l].join(" ").trim().replace(/\s+/g, " ")
|
|
7810
7810
|
}, o),
|
|
7811
|
-
v ? C :
|
|
7811
|
+
v ? C : p
|
|
7812
7812
|
);
|
|
7813
7813
|
};
|
|
7814
7814
|
s1.propTypes = {
|
|
@@ -7864,7 +7864,7 @@ const n1 = (m) => {
|
|
|
7864
7864
|
"siteStatus",
|
|
7865
7865
|
"className"
|
|
7866
7866
|
]);
|
|
7867
|
-
const
|
|
7867
|
+
const g = "pds-site-card", d = `${s}`;
|
|
7868
7868
|
let v = "";
|
|
7869
7869
|
l === "Active" && (v = "success"), l === "Frozen" && (v = "frozen");
|
|
7870
7870
|
const h = /* @__PURE__ */ e.createElement(
|
|
@@ -7879,10 +7879,10 @@ const n1 = (m) => {
|
|
|
7879
7879
|
$,
|
|
7880
7880
|
N(N({
|
|
7881
7881
|
"aria-label": `${n} ${r} dashboard`,
|
|
7882
|
-
className: [
|
|
7882
|
+
className: [g, o].join(" ").trim().replace(/\s+/g, " ")
|
|
7883
7883
|
}, c.props), u),
|
|
7884
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
7885
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
7884
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__image` }, /* @__PURE__ */ e.createElement("img", { src: a, alt: "" })),
|
|
7885
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${g}__heading` }, /* @__PURE__ */ e.createElement(d, { className: `${g}__site-name pds-ts-l`, title: r }, r), h), /* @__PURE__ */ e.createElement("div", { className: `${g}__plan` }, i))
|
|
7886
7886
|
);
|
|
7887
7887
|
};
|
|
7888
7888
|
n1.propTypes = {
|
|
@@ -7938,13 +7938,13 @@ const a1 = (i) => {
|
|
|
7938
7938
|
"legalLinks",
|
|
7939
7939
|
"className"
|
|
7940
7940
|
]);
|
|
7941
|
-
const o = "pds-site-footer", u = s && s !== "default" ? `pds-container pds-container--${s}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), _ = a.includes("privacy"),
|
|
7941
|
+
const o = "pds-site-footer", u = s && s !== "default" ? `pds-container pds-container--${s}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), _ = a.includes("privacy"), g = a.includes("dataSubjectRequest"), d = a.includes("cookiePolicy"), v = a.includes("termsOfUse"), h = a.includes("acceptableUse"), $ = a.includes("accessibilityStatement");
|
|
7942
7942
|
return /* @__PURE__ */ e.createElement(
|
|
7943
7943
|
"footer",
|
|
7944
7944
|
N({
|
|
7945
7945
|
className: [o, c].join(" ").trim().replace(/\s+/g, " ")
|
|
7946
7946
|
}, r),
|
|
7947
|
-
/* @__PURE__ */ e.createElement("div", { className: u }, n && /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${o}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__copyright` }, "© ", m, " Pantheon Systems, Inc."), _ && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"),
|
|
7947
|
+
/* @__PURE__ */ e.createElement("div", { className: u }, n && /* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${o}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${o}__copyright` }, "© ", m, " Pantheon Systems, Inc."), _ && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), g && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), d && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), v && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), h && /* @__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")))
|
|
7948
7948
|
);
|
|
7949
7949
|
};
|
|
7950
7950
|
a1.propTypes = {
|
|
@@ -8057,9 +8057,9 @@ const xt = {
|
|
|
8057
8057
|
"variant",
|
|
8058
8058
|
"className"
|
|
8059
8059
|
]);
|
|
8060
|
-
const m = "pds-split-button", _ = `${m}--${r}`,
|
|
8060
|
+
const m = "pds-split-button", _ = `${m}--${r}`, g = s[0], d = s.slice(1);
|
|
8061
8061
|
let v = null;
|
|
8062
|
-
return
|
|
8062
|
+
return g.isLink === !0 ? v = /* @__PURE__ */ e.createElement(
|
|
8063
8063
|
Fe,
|
|
8064
8064
|
{
|
|
8065
8065
|
className: `${m}__primary-action`,
|
|
@@ -8067,17 +8067,17 @@ const xt = {
|
|
|
8067
8067
|
variant: r,
|
|
8068
8068
|
displayType: "label-only",
|
|
8069
8069
|
disabled: n,
|
|
8070
|
-
linkContent:
|
|
8070
|
+
linkContent: g.linkContent
|
|
8071
8071
|
}
|
|
8072
8072
|
) : v = /* @__PURE__ */ e.createElement(
|
|
8073
8073
|
tt,
|
|
8074
8074
|
{
|
|
8075
8075
|
className: `${m}__primary-action`,
|
|
8076
|
-
label:
|
|
8076
|
+
label: g.label,
|
|
8077
8077
|
size: c,
|
|
8078
8078
|
variant: r,
|
|
8079
8079
|
disabled: n,
|
|
8080
|
-
onClick: () =>
|
|
8080
|
+
onClick: () => g.callback(g)
|
|
8081
8081
|
}
|
|
8082
8082
|
), /* @__PURE__ */ e.createElement(
|
|
8083
8083
|
"span",
|
|
@@ -8131,8 +8131,8 @@ c1.propTypes = {
|
|
|
8131
8131
|
const r1 = (c) => {
|
|
8132
8132
|
var r = c, { listItems: s, className: n } = r, a = S(r, ["listItems", "className"]);
|
|
8133
8133
|
const i = "pds-tile-list", l = "pds-tile-list--stats", o = ({ item: u }) => {
|
|
8134
|
-
const { imageSrc: m, stat: _, description:
|
|
8135
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${i}__item` }, m && /* @__PURE__ */ e.createElement("div", { className: `${i}__image` }, /* @__PURE__ */ e.createElement("img", { src: m, alt: "" })), _ && /* @__PURE__ */ e.createElement("dt", { className: `${i}__stat` }, _),
|
|
8134
|
+
const { imageSrc: m, stat: _, description: g } = u;
|
|
8135
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${i}__item` }, m && /* @__PURE__ */ e.createElement("div", { className: `${i}__image` }, /* @__PURE__ */ e.createElement("img", { src: m, alt: "" })), _ && /* @__PURE__ */ e.createElement("dt", { className: `${i}__stat` }, _), g && /* @__PURE__ */ e.createElement("dd", { className: `${i}__description` }, g)), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" }));
|
|
8136
8136
|
};
|
|
8137
8137
|
return /* @__PURE__ */ e.createElement(
|
|
8138
8138
|
"dl",
|
|
@@ -8182,8 +8182,8 @@ const i1 = (r) => {
|
|
|
8182
8182
|
"translatableLabels",
|
|
8183
8183
|
"className"
|
|
8184
8184
|
]);
|
|
8185
|
-
const l = "pds-stepper", o = "pds-stepper-mobile", u = ee(), [m] = ft(u), _ = m.width,
|
|
8186
|
-
const y = E + 1, w = E === f, z = E < f, x = b.hasError && w, V = (_ - $ *
|
|
8185
|
+
const l = "pds-stepper", o = "pds-stepper-mobile", u = ee(), [m] = ft(u), _ = m.width, g = getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "") * 16, d = -40, v = 2, h = 5, $ = s.length, f = s.findLastIndex((b) => b.isCurrent), C = s.map((b, E) => {
|
|
8186
|
+
const y = E + 1, w = E === f, z = E < f, x = b.hasError && w, V = (_ - $ * g) / ($ + ($ - 2)), H = g + V * 2, I = g + V, k = V + d * -1, M = E === 0, D = E === $ - 1;
|
|
8187
8187
|
let W = H;
|
|
8188
8188
|
(M || D) && (W = I);
|
|
8189
8189
|
const O = `${l}__step`, q = [O];
|
|
@@ -8244,7 +8244,7 @@ const i1 = (r) => {
|
|
|
8244
8244
|
}
|
|
8245
8245
|
)
|
|
8246
8246
|
);
|
|
8247
|
-
}),
|
|
8247
|
+
}), p = s.map((b, E) => {
|
|
8248
8248
|
const y = E + 1, w = E === f, z = E === $ - 1, x = b.hasError && w, L = s[f + 1] ? s[f + 1].label : null;
|
|
8249
8249
|
if (w) {
|
|
8250
8250
|
const V = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "), y, " of ", $), H = y / $ * 100, I = x ? {
|
|
@@ -8294,7 +8294,7 @@ const i1 = (r) => {
|
|
|
8294
8294
|
className: [o, a].join(" ").trim().replace(/\s+/g, " "),
|
|
8295
8295
|
"data-steps": $
|
|
8296
8296
|
}, c),
|
|
8297
|
-
/* @__PURE__ */ e.createElement("div", { className: `${o}__steps` },
|
|
8297
|
+
/* @__PURE__ */ e.createElement("div", { className: `${o}__steps` }, p)
|
|
8298
8298
|
));
|
|
8299
8299
|
};
|
|
8300
8300
|
i1.propTypes = {
|
|
@@ -8341,13 +8341,13 @@ i1.propTypes = {
|
|
|
8341
8341
|
};
|
|
8342
8342
|
const o1 = (r) => {
|
|
8343
8343
|
var i = r, { headers: s, rowData: n, className: a } = i, c = S(i, ["headers", "rowData", "className"]);
|
|
8344
|
-
const [l] = R(s), [o, u] = R(n), [m, _] = R({ order: "asc", key: "" }),
|
|
8345
|
-
u(o.sort((C,
|
|
8344
|
+
const [l] = R(s), [o, u] = R(n), [m, _] = R({ order: "asc", key: "" }), g = (f) => {
|
|
8345
|
+
u(o.sort((C, p) => C[f].localeCompare(p[f]))), _({ order: "desc", key: f });
|
|
8346
8346
|
}, d = (f) => {
|
|
8347
|
-
u(o.sort((C,
|
|
8347
|
+
u(o.sort((C, p) => p[f].localeCompare(C[f]))), _({ order: "asc", key: f });
|
|
8348
8348
|
}, v = (f, C) => {
|
|
8349
|
-
_(ve(N({}, m), { key: C })), m.order === "asc" ?
|
|
8350
|
-
}, h = (f, C) => /* @__PURE__ */ e.createElement("tr", { id: C, key: `table-row-${C}` }, f.map((
|
|
8349
|
+
_(ve(N({}, m), { key: C })), m.order === "asc" ? g(C) : d(C);
|
|
8350
|
+
}, h = (f, C) => /* @__PURE__ */ e.createElement("tr", { id: C, key: `table-row-${C}` }, f.map((p, b) => /* @__PURE__ */ e.createElement("td", { key: `${C}-cell-${b}` }, /* @__PURE__ */ e.createElement("span", null, p)))), $ = "pds-table";
|
|
8351
8351
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8352
8352
|
"table",
|
|
8353
8353
|
N({
|
|
@@ -8357,7 +8357,7 @@ const o1 = (r) => {
|
|
|
8357
8357
|
"span",
|
|
8358
8358
|
{
|
|
8359
8359
|
className: `${$}__sort-header`,
|
|
8360
|
-
onClick: (
|
|
8360
|
+
onClick: (p) => v(p, C)
|
|
8361
8361
|
},
|
|
8362
8362
|
f.title
|
|
8363
8363
|
), /* @__PURE__ */ e.createElement(
|
|
@@ -8365,7 +8365,7 @@ const o1 = (r) => {
|
|
|
8365
8365
|
{
|
|
8366
8366
|
className: `${$}__sort-button`,
|
|
8367
8367
|
title: `Sort by ${f.title}`,
|
|
8368
|
-
onClick: (
|
|
8368
|
+
onClick: (p) => v(p, C)
|
|
8369
8369
|
},
|
|
8370
8370
|
/* @__PURE__ */ e.createElement(
|
|
8371
8371
|
"span",
|
|
@@ -8413,7 +8413,7 @@ const d1 = (m) => {
|
|
|
8413
8413
|
"sourceID",
|
|
8414
8414
|
"className"
|
|
8415
8415
|
]);
|
|
8416
|
-
const
|
|
8416
|
+
const g = "pds-toc", d = `${a}`, v = [
|
|
8417
8417
|
" ",
|
|
8418
8418
|
"/",
|
|
8419
8419
|
".",
|
|
@@ -8457,7 +8457,7 @@ const d1 = (m) => {
|
|
|
8457
8457
|
title: I
|
|
8458
8458
|
});
|
|
8459
8459
|
}), V;
|
|
8460
|
-
}, { nestedHeadings: C } = $(), [
|
|
8460
|
+
}, { nestedHeadings: C } = $(), [p, b] = R();
|
|
8461
8461
|
((L) => {
|
|
8462
8462
|
const V = ee({});
|
|
8463
8463
|
se(() => {
|
|
@@ -8494,10 +8494,10 @@ const d1 = (m) => {
|
|
|
8494
8494
|
});
|
|
8495
8495
|
}, z = (L, V) => {
|
|
8496
8496
|
L.preventDefault(), s && y(V), w(V);
|
|
8497
|
-
}, x = ({ headings: L }) => /* @__PURE__ */ e.createElement("ul", { className: `${
|
|
8497
|
+
}, x = ({ headings: L }) => /* @__PURE__ */ e.createElement("ul", { className: `${g}__list ${g}__list--top-level` }, L.map((V) => /* @__PURE__ */ e.createElement("li", { key: V.id, className: `${g}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
8498
8498
|
"a",
|
|
8499
8499
|
{
|
|
8500
|
-
className: V.id ===
|
|
8500
|
+
className: V.id === p ? `${g}__link ${g}__link--active` : `${g}__link`,
|
|
8501
8501
|
href: `#${V.id}`,
|
|
8502
8502
|
onClick: (H) => {
|
|
8503
8503
|
z(H, V.id);
|
|
@@ -8507,12 +8507,12 @@ const d1 = (m) => {
|
|
|
8507
8507
|
), V.items.length > 0 && /* @__PURE__ */ e.createElement(
|
|
8508
8508
|
"ul",
|
|
8509
8509
|
{
|
|
8510
|
-
className: `${
|
|
8510
|
+
className: `${g}__list ${g}__list--second-level`
|
|
8511
8511
|
},
|
|
8512
|
-
V.items.map((H) => /* @__PURE__ */ e.createElement("li", { key: H.id, className: `${
|
|
8512
|
+
V.items.map((H) => /* @__PURE__ */ e.createElement("li", { key: H.id, className: `${g}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
8513
8513
|
"a",
|
|
8514
8514
|
{
|
|
8515
|
-
className: H.id ===
|
|
8515
|
+
className: H.id === p ? `${g}__link ${g}__link--active` : `${g}__link`,
|
|
8516
8516
|
href: `#${H.id}`,
|
|
8517
8517
|
onClick: (I) => {
|
|
8518
8518
|
z(I, H.id);
|
|
@@ -8527,16 +8527,16 @@ const d1 = (m) => {
|
|
|
8527
8527
|
"nav",
|
|
8528
8528
|
N({
|
|
8529
8529
|
"aria-label": n,
|
|
8530
|
-
className: [
|
|
8530
|
+
className: [g, o].join(" ").trim().replace(/\s+/g, " ")
|
|
8531
8531
|
}, u),
|
|
8532
8532
|
c && /* @__PURE__ */ e.createElement(
|
|
8533
8533
|
d,
|
|
8534
8534
|
{
|
|
8535
|
-
className: `${
|
|
8535
|
+
className: `${g}__heading ${i ? null : "visually-hidden"}`
|
|
8536
8536
|
},
|
|
8537
8537
|
c
|
|
8538
8538
|
),
|
|
8539
|
-
/* @__PURE__ */ e.createElement(x, { headings: C, activeID:
|
|
8539
|
+
/* @__PURE__ */ e.createElement(x, { headings: C, activeID: p })
|
|
8540
8540
|
);
|
|
8541
8541
|
};
|
|
8542
8542
|
d1.propTypes = {
|
|
@@ -8592,12 +8592,12 @@ const W1 = (u) => {
|
|
|
8592
8592
|
"tabs",
|
|
8593
8593
|
"className"
|
|
8594
8594
|
]);
|
|
8595
|
-
const _ = "pds-tabs",
|
|
8595
|
+
const _ = "pds-tabs", g = r != "md" ? `${_}--${r}` : "", [d, v] = R(c != null ? c : a);
|
|
8596
8596
|
se(() => {
|
|
8597
8597
|
c !== void 0 && v(c);
|
|
8598
8598
|
}, [c]);
|
|
8599
|
-
const h = (
|
|
8600
|
-
const b =
|
|
8599
|
+
const h = (p) => {
|
|
8600
|
+
const b = p.currentTarget.getAttribute("data-tabnumber");
|
|
8601
8601
|
if (b) {
|
|
8602
8602
|
const E = parseInt(b, 10);
|
|
8603
8603
|
v(E);
|
|
@@ -8606,20 +8606,20 @@ const W1 = (u) => {
|
|
|
8606
8606
|
se(() => {
|
|
8607
8607
|
s(d);
|
|
8608
8608
|
}, [d, s]), se(() => {
|
|
8609
|
-
const
|
|
8610
|
-
if (d >
|
|
8609
|
+
const p = $.current.length - 1;
|
|
8610
|
+
if (d > p) {
|
|
8611
8611
|
v(0);
|
|
8612
8612
|
return;
|
|
8613
8613
|
} else if (d < 0) {
|
|
8614
|
-
v(
|
|
8614
|
+
v(p);
|
|
8615
8615
|
return;
|
|
8616
8616
|
}
|
|
8617
8617
|
}, [d]);
|
|
8618
|
-
const f = (
|
|
8618
|
+
const f = (p, b) => {
|
|
8619
8619
|
const E = d;
|
|
8620
8620
|
let y = $.current[b === "next" ? E + 1 < $.current.length ? E + 1 : 0 : E - 1 >= 0 ? E - 1 : $.current.length - 1];
|
|
8621
|
-
y || (y = b == "next" ? $.current[
|
|
8622
|
-
}, C = (
|
|
8621
|
+
y || (y = b == "next" ? $.current[p + 1] == null ? $.current[0] : $.current[p + 1] : $.current[p - 1]), y.focus();
|
|
8622
|
+
}, C = (p) => {
|
|
8623
8623
|
const b = $.current.length, E = () => {
|
|
8624
8624
|
f((d + 1) % b, "next"), v(d + 1);
|
|
8625
8625
|
}, y = () => {
|
|
@@ -8637,13 +8637,13 @@ const W1 = (u) => {
|
|
|
8637
8637
|
End: z,
|
|
8638
8638
|
Space: x,
|
|
8639
8639
|
Enter: x
|
|
8640
|
-
}[
|
|
8641
|
-
V && (
|
|
8640
|
+
}[p.code];
|
|
8641
|
+
V && (p.preventDefault(), V());
|
|
8642
8642
|
};
|
|
8643
8643
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8644
8644
|
"div",
|
|
8645
8645
|
{
|
|
8646
|
-
className: [_,
|
|
8646
|
+
className: [_, g, l].join(" ").trim().replace(/\s+/g, " ")
|
|
8647
8647
|
},
|
|
8648
8648
|
/* @__PURE__ */ e.createElement(
|
|
8649
8649
|
"div",
|
|
@@ -8653,7 +8653,7 @@ const W1 = (u) => {
|
|
|
8653
8653
|
"aria-label": n,
|
|
8654
8654
|
"aria-orientation": "horizontal"
|
|
8655
8655
|
},
|
|
8656
|
-
i.map(({ disabled:
|
|
8656
|
+
i.map(({ disabled: p, icon: b, tabId: E, tabLabel: y }, w) => /* @__PURE__ */ e.createElement(
|
|
8657
8657
|
"button",
|
|
8658
8658
|
{
|
|
8659
8659
|
className: `${_}__tab`,
|
|
@@ -8665,16 +8665,16 @@ const W1 = (u) => {
|
|
|
8665
8665
|
z.preventDefault(), C(z);
|
|
8666
8666
|
},
|
|
8667
8667
|
key: y,
|
|
8668
|
-
ref: (z) =>
|
|
8668
|
+
ref: (z) => p ? null : $.current[w] = z,
|
|
8669
8669
|
"aria-controls": `tabpanel_${w}`,
|
|
8670
8670
|
tabIndex: d === w ? 1 : -1,
|
|
8671
|
-
"aria-disabled": !!
|
|
8672
|
-
onClick:
|
|
8671
|
+
"aria-disabled": !!p,
|
|
8672
|
+
onClick: p ? null : h
|
|
8673
8673
|
},
|
|
8674
8674
|
/* @__PURE__ */ e.createElement("div", { key: b, className: `${_}__tab-text` }, b ? /* @__PURE__ */ e.createElement(A, { iconName: b, iconSize: r }) : null, " ", y)
|
|
8675
8675
|
))
|
|
8676
8676
|
),
|
|
8677
|
-
i.map(({ tabLabel:
|
|
8677
|
+
i.map(({ tabLabel: p, icon: b, disabled: E, panelContent: y }, w) => /* @__PURE__ */ e.createElement(
|
|
8678
8678
|
"div",
|
|
8679
8679
|
N({
|
|
8680
8680
|
className: `${_}__panel`,
|
|
@@ -8690,14 +8690,14 @@ const W1 = (u) => {
|
|
|
8690
8690
|
"aria-selected": w == d,
|
|
8691
8691
|
role: "tab",
|
|
8692
8692
|
"data-tabnumber": w,
|
|
8693
|
-
key:
|
|
8693
|
+
key: p,
|
|
8694
8694
|
onKeyDown: C,
|
|
8695
8695
|
"aria-disabled": !!E,
|
|
8696
8696
|
"aria-controls": `tabpanel_${w}`,
|
|
8697
8697
|
tabIndex: d === w ? 1 : -1,
|
|
8698
8698
|
onClick: E ? null : h
|
|
8699
8699
|
},
|
|
8700
|
-
/* @__PURE__ */ e.createElement("div", { key: b, className: `${_}__tab-text` }, b ? /* @__PURE__ */ e.createElement(A, { iconSize: "md", iconName: b }) : null, " ",
|
|
8700
|
+
/* @__PURE__ */ e.createElement("div", { key: b, className: `${_}__tab-text` }, b ? /* @__PURE__ */ e.createElement(A, { iconSize: "md", iconName: b }) : null, " ", p),
|
|
8701
8701
|
w == d ? /* @__PURE__ */ e.createElement(
|
|
8702
8702
|
A,
|
|
8703
8703
|
{
|
|
@@ -8738,7 +8738,7 @@ const W1 = (u) => {
|
|
|
8738
8738
|
onChange: u,
|
|
8739
8739
|
placeholder: m,
|
|
8740
8740
|
readonly: _ = !1,
|
|
8741
|
-
required:
|
|
8741
|
+
required: g = !1,
|
|
8742
8742
|
rows: d = 5,
|
|
8743
8743
|
validationFunction: v,
|
|
8744
8744
|
className: h
|
|
@@ -8759,20 +8759,20 @@ const W1 = (u) => {
|
|
|
8759
8759
|
"validationFunction",
|
|
8760
8760
|
"className"
|
|
8761
8761
|
]);
|
|
8762
|
-
const [
|
|
8762
|
+
const [p, b] = R(c), [E, y] = R(s("")), [w, z] = R(), [x, L] = R(null), V = ee(null), H = "pds-textarea", I = i ? "pds-is-resizable" : null;
|
|
8763
8763
|
se(() => {
|
|
8764
8764
|
c && s && y(s(c));
|
|
8765
8765
|
}, []);
|
|
8766
8766
|
const k = () => {
|
|
8767
8767
|
z(""), L(null);
|
|
8768
8768
|
}, M = (O) => {
|
|
8769
|
-
b(O.target.value), k(), s && y(s(O.target.value)), u && u(
|
|
8769
|
+
b(O.target.value), k(), s && y(s(O.target.value)), u && u(p);
|
|
8770
8770
|
}, D = (O) => {
|
|
8771
8771
|
if (v) {
|
|
8772
8772
|
const q = v(O.target.value) || {};
|
|
8773
8773
|
k(), q.error && L("error"), q.success && L("success"), z(q.message);
|
|
8774
8774
|
}
|
|
8775
|
-
u && u(
|
|
8775
|
+
u && u(p);
|
|
8776
8776
|
}, W = w || o;
|
|
8777
8777
|
return /* @__PURE__ */ e.createElement(
|
|
8778
8778
|
Re,
|
|
@@ -8785,7 +8785,7 @@ const W1 = (u) => {
|
|
|
8785
8785
|
label: l,
|
|
8786
8786
|
message: W,
|
|
8787
8787
|
readonly: _,
|
|
8788
|
-
required:
|
|
8788
|
+
required: g,
|
|
8789
8789
|
validationState: x
|
|
8790
8790
|
}, $),
|
|
8791
8791
|
E && /* @__PURE__ */ e.createElement("div", { className: `pds-input__counter ${H}__counter` }, E),
|
|
@@ -8796,10 +8796,10 @@ const W1 = (u) => {
|
|
|
8796
8796
|
id: a,
|
|
8797
8797
|
name: a,
|
|
8798
8798
|
placeholder: m,
|
|
8799
|
-
required:
|
|
8799
|
+
required: g,
|
|
8800
8800
|
readOnly: _,
|
|
8801
8801
|
disabled: n,
|
|
8802
|
-
value:
|
|
8802
|
+
value: p,
|
|
8803
8803
|
rows: d,
|
|
8804
8804
|
onChange: M,
|
|
8805
8805
|
onBlur: D,
|
|
@@ -8933,11 +8933,11 @@ const u1 = (r) => {
|
|
|
8933
8933
|
"summary",
|
|
8934
8934
|
"className"
|
|
8935
8935
|
]);
|
|
8936
|
-
const _ = "pds-tile",
|
|
8936
|
+
const _ = "pds-tile", g = `${_}--${s}`, d = `${n}`;
|
|
8937
8937
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8938
8938
|
"div",
|
|
8939
8939
|
N({
|
|
8940
|
-
className: [_,
|
|
8940
|
+
className: [_, g, l].join(" ").trim().replace(/\s+/g, " ")
|
|
8941
8941
|
}, o),
|
|
8942
8942
|
c && /* @__PURE__ */ e.createElement("div", { className: `${_}__image` }, /* @__PURE__ */ e.createElement("img", { src: c, alt: "" })),
|
|
8943
8943
|
a && /* @__PURE__ */ e.createElement(d, { className: `${_}__heading pds-ts-xl` }, a),
|
|
@@ -9184,16 +9184,16 @@ const h1 = (o) => {
|
|
|
9184
9184
|
"onChange",
|
|
9185
9185
|
"options"
|
|
9186
9186
|
]);
|
|
9187
|
-
const m = "pds-toggle-button", _ = "pds-is-disabled",
|
|
9187
|
+
const m = "pds-toggle-button", _ = "pds-is-disabled", g = ee([m]), [d, v] = R(a), h = (f) => {
|
|
9188
9188
|
v(f.target.value), r && r(f.target.value);
|
|
9189
9189
|
};
|
|
9190
9190
|
if ((() => {
|
|
9191
|
-
|
|
9192
|
-
})(), s &&
|
|
9191
|
+
g.current = g.current.filter((f) => f !== _);
|
|
9192
|
+
})(), s && g.current.push(_), i.length === 2)
|
|
9193
9193
|
return /* @__PURE__ */ e.createElement(
|
|
9194
9194
|
"fieldset",
|
|
9195
9195
|
N({
|
|
9196
|
-
className:
|
|
9196
|
+
className: g.current.join(" ").trim(),
|
|
9197
9197
|
id: n
|
|
9198
9198
|
}, l),
|
|
9199
9199
|
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, c),
|
|
@@ -9286,7 +9286,7 @@ const f1 = (v) => {
|
|
|
9286
9286
|
showStatusLabel: u = !0,
|
|
9287
9287
|
statusOnLabel: m = "On",
|
|
9288
9288
|
statusOffLabel: _ = "Off",
|
|
9289
|
-
className:
|
|
9289
|
+
className: g
|
|
9290
9290
|
} = h, d = S(h, [
|
|
9291
9291
|
"disabled",
|
|
9292
9292
|
"id",
|
|
@@ -9301,7 +9301,7 @@ const f1 = (v) => {
|
|
|
9301
9301
|
"statusOffLabel",
|
|
9302
9302
|
"className"
|
|
9303
9303
|
]);
|
|
9304
|
-
const $ = "pds-toggle-switch", [f, C] = R(!1),
|
|
9304
|
+
const $ = "pds-toggle-switch", [f, C] = R(!1), p = (y) => {
|
|
9305
9305
|
C(!f), i && i(y.target);
|
|
9306
9306
|
};
|
|
9307
9307
|
let b = f === !0 ? m : _, E;
|
|
@@ -9336,7 +9336,7 @@ const f1 = (v) => {
|
|
|
9336
9336
|
)), /* @__PURE__ */ e.createElement(
|
|
9337
9337
|
Re,
|
|
9338
9338
|
N({
|
|
9339
|
-
className:
|
|
9339
|
+
className: g,
|
|
9340
9340
|
disabled: s,
|
|
9341
9341
|
id: n,
|
|
9342
9342
|
inputWidth: a,
|
|
@@ -9355,7 +9355,7 @@ const f1 = (v) => {
|
|
|
9355
9355
|
role: "switch",
|
|
9356
9356
|
disabled: s,
|
|
9357
9357
|
"aria-checked": f,
|
|
9358
|
-
onClick:
|
|
9358
|
+
onClick: p
|
|
9359
9359
|
},
|
|
9360
9360
|
E
|
|
9361
9361
|
))
|
|
@@ -9429,18 +9429,18 @@ const b1 = (u) => {
|
|
|
9429
9429
|
"withinNavbar",
|
|
9430
9430
|
"className"
|
|
9431
9431
|
]);
|
|
9432
|
-
const [_,
|
|
9432
|
+
const [_, g] = R(null), [d, v] = R(!1), h = ee([]), $ = ee([]);
|
|
9433
9433
|
let f = !1;
|
|
9434
9434
|
const C = Ne(De);
|
|
9435
9435
|
C && (f = C.isMobile);
|
|
9436
|
-
const
|
|
9436
|
+
const p = i && f, b = "pds-user-menu", E = p ? `${b}--isMobile` : null, y = `${b}__menu`, { refs: w, floatingStyles: z, context: x } = Ve({
|
|
9437
9437
|
open: d,
|
|
9438
9438
|
onOpenChange: v,
|
|
9439
9439
|
whileElementsMounted: Oe
|
|
9440
9440
|
}), L = nt(x, { event: "mousedown" }), V = Se(x), H = Ie(x, { role: "menu" }), I = ee([]), k = lt(x, {
|
|
9441
9441
|
listRef: I,
|
|
9442
9442
|
activeIndex: _,
|
|
9443
|
-
onNavigate:
|
|
9443
|
+
onNavigate: g,
|
|
9444
9444
|
loop: !0,
|
|
9445
9445
|
openOnArrowKeyDown: !0,
|
|
9446
9446
|
focusItemOnOpen: !1,
|
|
@@ -9486,7 +9486,7 @@ const b1 = (u) => {
|
|
|
9486
9486
|
iconSize: "md",
|
|
9487
9487
|
className: `${b}__trigger-icon`
|
|
9488
9488
|
}
|
|
9489
|
-
), j = /* @__PURE__ */ e.createElement("li", { className: `${b}__user-details`, role: "presentation" },
|
|
9489
|
+
), j = /* @__PURE__ */ e.createElement("li", { className: `${b}__user-details`, role: "presentation" }, p ? null : /* @__PURE__ */ e.createElement("div", { className: `${b}__user-name` }, r), /* @__PURE__ */ e.createElement("div", { className: `${b}__user-email` }, a)), U = n.map((te, me) => {
|
|
9490
9490
|
const ue = h.current[me];
|
|
9491
9491
|
return /* @__PURE__ */ e.createElement(
|
|
9492
9492
|
"li",
|
|
@@ -9561,7 +9561,7 @@ const b1 = (u) => {
|
|
|
9561
9561
|
N({
|
|
9562
9562
|
className: [b, E, l].join(" ").trim().replace(/\s+/g, " ")
|
|
9563
9563
|
}, o),
|
|
9564
|
-
|
|
9564
|
+
p ? ne : G
|
|
9565
9565
|
);
|
|
9566
9566
|
};
|
|
9567
9567
|
b1.propTypes = {
|
|
@@ -9649,14 +9649,14 @@ const Z1 = () => {
|
|
|
9649
9649
|
inputWidth: u,
|
|
9650
9650
|
label: m,
|
|
9651
9651
|
message: _,
|
|
9652
|
-
onBlur:
|
|
9652
|
+
onBlur: g,
|
|
9653
9653
|
onChange: d,
|
|
9654
9654
|
onClear: v,
|
|
9655
9655
|
onFocus: h,
|
|
9656
9656
|
placeholder: $,
|
|
9657
9657
|
readonly: f = !1,
|
|
9658
9658
|
required: C = !1,
|
|
9659
|
-
showLabel:
|
|
9659
|
+
showLabel: p = !0,
|
|
9660
9660
|
showVisibilityToggle: b = !1,
|
|
9661
9661
|
translationStrings: E = {
|
|
9662
9662
|
clearButton: "Clear input text",
|
|
@@ -9705,7 +9705,7 @@ const Z1 = () => {
|
|
|
9705
9705
|
const T = w || _, j = typeof x != "undefined", U = typeof a != "undefined", [G, ce] = R(
|
|
9706
9706
|
U ? a : ""
|
|
9707
9707
|
), ne = x || G, te = (K) => {
|
|
9708
|
-
b && J && fe(!1),
|
|
9708
|
+
b && J && fe(!1), g && g(K);
|
|
9709
9709
|
}, me = (K) => {
|
|
9710
9710
|
j || ce(K.target.value), d && d(K);
|
|
9711
9711
|
}, ue = () => {
|
|
@@ -9738,7 +9738,7 @@ const Z1 = () => {
|
|
|
9738
9738
|
{
|
|
9739
9739
|
id: l,
|
|
9740
9740
|
label: m,
|
|
9741
|
-
showLabel:
|
|
9741
|
+
showLabel: p,
|
|
9742
9742
|
required: C,
|
|
9743
9743
|
disabled: c
|
|
9744
9744
|
}
|
|
@@ -9814,8 +9814,8 @@ const Z1 = () => {
|
|
|
9814
9814
|
gold: "Gold",
|
|
9815
9815
|
platinum: "Platinum",
|
|
9816
9816
|
diamond: "Diamond"
|
|
9817
|
-
}, E1 = (
|
|
9818
|
-
var d =
|
|
9817
|
+
}, E1 = (g) => {
|
|
9818
|
+
var d = g, {
|
|
9819
9819
|
ariaLabel: s = "Workspace selector menu",
|
|
9820
9820
|
createWorkspaceLink: n,
|
|
9821
9821
|
filterPlaceholder: a = "Find workspace...",
|
|
@@ -9838,7 +9838,7 @@ const Z1 = () => {
|
|
|
9838
9838
|
"workspaceList",
|
|
9839
9839
|
"className"
|
|
9840
9840
|
]);
|
|
9841
|
-
const [v, h] = R(!1), [$, f] = R(null), [C,
|
|
9841
|
+
const [v, h] = R(!1), [$, f] = R(null), [C, p] = R(u), b = ee([]), E = ee(null), y = u.length >= i;
|
|
9842
9842
|
let w = !1;
|
|
9843
9843
|
const z = Ne(De);
|
|
9844
9844
|
z && (w = z.isMobile);
|
|
@@ -9875,13 +9875,13 @@ const Z1 = () => {
|
|
|
9875
9875
|
G || (G = u[0]);
|
|
9876
9876
|
const ce = (Y) => {
|
|
9877
9877
|
const { value: pe } = Y.target, ye = u.filter((Q) => Q.displayName.toLowerCase().includes(pe.toLowerCase()));
|
|
9878
|
-
|
|
9878
|
+
p(ye);
|
|
9879
9879
|
};
|
|
9880
9880
|
se(() => {
|
|
9881
9881
|
const Y = u.map((pe) => ve(N({}, pe), {
|
|
9882
9882
|
isActive: pe.isActive
|
|
9883
9883
|
}));
|
|
9884
|
-
|
|
9884
|
+
p(Y);
|
|
9885
9885
|
}, [u]);
|
|
9886
9886
|
const ne = (Y) => {
|
|
9887
9887
|
Y.preventDefault(), Y.key === "Enter" && b.current[$].querySelector("a").click(), Y.key === "Tab" && (Y.shiftKey ? y ? document.getElementById("workspace-filter").focus() : h(!1) : n ? E.current.querySelector("a").focus() : h(!1));
|
|
@@ -9911,7 +9911,7 @@ const Z1 = () => {
|
|
|
9911
9911
|
_1,
|
|
9912
9912
|
{
|
|
9913
9913
|
hasClearButton: !0,
|
|
9914
|
-
onClear: () =>
|
|
9914
|
+
onClear: () => p(u),
|
|
9915
9915
|
id: "workspace-filter",
|
|
9916
9916
|
label: c,
|
|
9917
9917
|
onChange: ce,
|
|
@@ -10119,7 +10119,7 @@ const U1 = (i) => {
|
|
|
10119
10119
|
"typeLabels",
|
|
10120
10120
|
"className"
|
|
10121
10121
|
]);
|
|
10122
|
-
const o = "pds-tally", u = `${o}--${n}`, _ = ["critical", "warning"].includes(n) ? "alert" : "status",
|
|
10122
|
+
const o = "pds-tally", u = `${o}--${n}`, _ = ["critical", "warning"].includes(n) ? "alert" : "status", g = `${a[n]} notifications: `;
|
|
10123
10123
|
return /* @__PURE__ */ e.createElement(
|
|
10124
10124
|
"div",
|
|
10125
10125
|
ve(N({
|
|
@@ -10127,7 +10127,7 @@ const U1 = (i) => {
|
|
|
10127
10127
|
}, r), {
|
|
10128
10128
|
role: _
|
|
10129
10129
|
}),
|
|
10130
|
-
/* @__PURE__ */ e.createElement("div", { className: `${o}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
10130
|
+
/* @__PURE__ */ e.createElement("div", { className: `${o}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, g), s)
|
|
10131
10131
|
);
|
|
10132
10132
|
}, G1 = (u) => {
|
|
10133
10133
|
var m = u, {
|
|
@@ -10147,30 +10147,30 @@ const U1 = (i) => {
|
|
|
10147
10147
|
"options",
|
|
10148
10148
|
"className"
|
|
10149
10149
|
]);
|
|
10150
|
-
const _ = "pds-segmented-button",
|
|
10150
|
+
const _ = "pds-segmented-button", g = "pds-is-disabled", d = ee([_]), [v, h] = R(a), $ = (C) => {
|
|
10151
10151
|
h(C.target.value), r && r(C.target.value);
|
|
10152
10152
|
};
|
|
10153
10153
|
if ((() => {
|
|
10154
|
-
d.current = d.current.filter((C) => C !==
|
|
10155
|
-
})(), s && d.current.push(
|
|
10154
|
+
d.current = d.current.filter((C) => C !== g);
|
|
10155
|
+
})(), s && d.current.push(g), i.length >= 2 && i.length <= 6)
|
|
10156
10156
|
return /* @__PURE__ */ e.createElement(
|
|
10157
10157
|
"fieldset",
|
|
10158
10158
|
N({
|
|
10159
10159
|
className: [_, l != null ? l : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
10160
10160
|
}, o),
|
|
10161
10161
|
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, c),
|
|
10162
|
-
/* @__PURE__ */ e.createElement("div", { className: `${_}__options` }, i.map((C,
|
|
10162
|
+
/* @__PURE__ */ e.createElement("div", { className: `${_}__options` }, i.map((C, p) => /* @__PURE__ */ e.createElement(
|
|
10163
10163
|
"div",
|
|
10164
10164
|
{
|
|
10165
10165
|
className: `${_}__option`,
|
|
10166
|
-
key: `${n}-option-${
|
|
10166
|
+
key: `${n}-option-${p}`
|
|
10167
10167
|
},
|
|
10168
10168
|
/* @__PURE__ */ e.createElement(
|
|
10169
10169
|
"input",
|
|
10170
10170
|
{
|
|
10171
10171
|
className: "visually-hidden",
|
|
10172
10172
|
type: "radio",
|
|
10173
|
-
id: `${n}-option-${
|
|
10173
|
+
id: `${n}-option-${p}`,
|
|
10174
10174
|
name: n,
|
|
10175
10175
|
value: C.value,
|
|
10176
10176
|
disabled: s,
|
|
@@ -10178,7 +10178,7 @@ const U1 = (i) => {
|
|
|
10178
10178
|
defaultChecked: v === C.value
|
|
10179
10179
|
}
|
|
10180
10180
|
),
|
|
10181
|
-
/* @__PURE__ */ e.createElement("label", { htmlFor: `${n}-option-${
|
|
10181
|
+
/* @__PURE__ */ e.createElement("label", { htmlFor: `${n}-option-${p}` }, C.iconName && /* @__PURE__ */ e.createElement(
|
|
10182
10182
|
A,
|
|
10183
10183
|
{
|
|
10184
10184
|
iconName: C.iconName,
|
|
@@ -10244,14 +10244,14 @@ const U1 = (i) => {
|
|
|
10244
10244
|
message: u,
|
|
10245
10245
|
name: m,
|
|
10246
10246
|
nestingLevel: _ = 0,
|
|
10247
|
-
onBlur:
|
|
10247
|
+
onBlur: g,
|
|
10248
10248
|
onChange: d,
|
|
10249
10249
|
onFocus: v,
|
|
10250
10250
|
required: h,
|
|
10251
10251
|
validationMessage: $,
|
|
10252
10252
|
validationStatus: f,
|
|
10253
10253
|
value: C,
|
|
10254
|
-
className:
|
|
10254
|
+
className: p
|
|
10255
10255
|
} = w, b = S(w, [
|
|
10256
10256
|
"checked",
|
|
10257
10257
|
"defaultChecked",
|
|
@@ -10307,7 +10307,7 @@ const U1 = (i) => {
|
|
|
10307
10307
|
H,
|
|
10308
10308
|
I,
|
|
10309
10309
|
k,
|
|
10310
|
-
|
|
10310
|
+
p != null ? p : ""
|
|
10311
10311
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
10312
10312
|
style: l ? z : null
|
|
10313
10313
|
}, b),
|
|
@@ -10323,7 +10323,7 @@ const U1 = (i) => {
|
|
|
10323
10323
|
}, C ? { value: C } : {}), {
|
|
10324
10324
|
disabled: a,
|
|
10325
10325
|
required: h,
|
|
10326
|
-
onBlur:
|
|
10326
|
+
onBlur: g,
|
|
10327
10327
|
onChange: Z,
|
|
10328
10328
|
onFocus: v,
|
|
10329
10329
|
"aria-invalid": f === "error" ? !0 : null,
|
|
@@ -10361,7 +10361,7 @@ const U1 = (i) => {
|
|
|
10361
10361
|
showLabel: u = !0,
|
|
10362
10362
|
validationMessage: m,
|
|
10363
10363
|
validationStatus: _,
|
|
10364
|
-
className:
|
|
10364
|
+
className: g
|
|
10365
10365
|
} = h, d = S(h, [
|
|
10366
10366
|
"children",
|
|
10367
10367
|
"disabled",
|
|
@@ -10376,17 +10376,17 @@ const U1 = (i) => {
|
|
|
10376
10376
|
"validationStatus",
|
|
10377
10377
|
"className"
|
|
10378
10378
|
]);
|
|
10379
|
-
const $ = r ? { width: `${r / 16}rem` } : null, f = "pds-checkbox-group", C = n ? he.disabled : null,
|
|
10379
|
+
const $ = r ? { width: `${r / 16}rem` } : null, f = "pds-checkbox-group", C = n ? he.disabled : null, p = o && !n ? he.required : null, b = _ === "error" ? he.error : null, E = _ === "success" ? he.success : null, y = m || l;
|
|
10380
10380
|
return /* @__PURE__ */ e.createElement(
|
|
10381
10381
|
"div",
|
|
10382
10382
|
N({
|
|
10383
10383
|
className: [
|
|
10384
10384
|
f,
|
|
10385
10385
|
C,
|
|
10386
|
-
|
|
10386
|
+
p,
|
|
10387
10387
|
b,
|
|
10388
10388
|
E,
|
|
10389
|
-
|
|
10389
|
+
g != null ? g : ""
|
|
10390
10390
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
10391
10391
|
style: r ? $ : null
|
|
10392
10392
|
}, d),
|
|
@@ -10425,7 +10425,7 @@ const U1 = (i) => {
|
|
|
10425
10425
|
options: u,
|
|
10426
10426
|
required: m = !1,
|
|
10427
10427
|
showLabel: _ = !0,
|
|
10428
|
-
validationMessage:
|
|
10428
|
+
validationMessage: g,
|
|
10429
10429
|
validationStatus: d,
|
|
10430
10430
|
className: v
|
|
10431
10431
|
} = f, h = S(f, [
|
|
@@ -10444,7 +10444,7 @@ const U1 = (i) => {
|
|
|
10444
10444
|
"validationStatus",
|
|
10445
10445
|
"className"
|
|
10446
10446
|
]);
|
|
10447
|
-
const C = c ? { width: `${c / 16}rem` } : null,
|
|
10447
|
+
const C = c ? { width: `${c / 16}rem` } : null, p = "pds-checkbox-group", b = s ? he.disabled : null, E = m && !s ? he.required : null, y = d === "error" ? he.error : null, w = d === "success" ? he.success : null, z = g || i;
|
|
10448
10448
|
u.map((k) => {
|
|
10449
10449
|
k.id || (k.id = k.value);
|
|
10450
10450
|
});
|
|
@@ -10468,7 +10468,7 @@ const U1 = (i) => {
|
|
|
10468
10468
|
"div",
|
|
10469
10469
|
N({
|
|
10470
10470
|
className: [
|
|
10471
|
-
|
|
10471
|
+
p,
|
|
10472
10472
|
b,
|
|
10473
10473
|
E,
|
|
10474
10474
|
y,
|
|
@@ -10477,7 +10477,7 @@ const U1 = (i) => {
|
|
|
10477
10477
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
10478
10478
|
style: c ? C : null
|
|
10479
10479
|
}, h),
|
|
10480
|
-
/* @__PURE__ */ e.createElement("fieldset", N({ className: `${
|
|
10480
|
+
/* @__PURE__ */ e.createElement("fieldset", N({ className: `${p}__fieldset`, id: a }, n), /* @__PURE__ */ e.createElement(
|
|
10481
10481
|
_t,
|
|
10482
10482
|
{
|
|
10483
10483
|
disabled: s,
|
|
@@ -10487,7 +10487,7 @@ const U1 = (i) => {
|
|
|
10487
10487
|
required: m,
|
|
10488
10488
|
showLabel: _
|
|
10489
10489
|
}
|
|
10490
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
10490
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${p}__options` }, u.map((k) => /* @__PURE__ */ e.createElement(
|
|
10491
10491
|
$1,
|
|
10492
10492
|
{
|
|
10493
10493
|
key: k.id,
|
|
@@ -10497,7 +10497,7 @@ const U1 = (i) => {
|
|
|
10497
10497
|
name: k.name,
|
|
10498
10498
|
value: k.value,
|
|
10499
10499
|
disabled: k.disabled || s,
|
|
10500
|
-
className: `${
|
|
10500
|
+
className: `${p}__checkbox`,
|
|
10501
10501
|
onChange: H,
|
|
10502
10502
|
onBlur: I
|
|
10503
10503
|
}
|
|
@@ -10507,7 +10507,7 @@ const U1 = (i) => {
|
|
|
10507
10507
|
{
|
|
10508
10508
|
id: a,
|
|
10509
10509
|
message: z,
|
|
10510
|
-
hasValidationMessage: !!
|
|
10510
|
+
hasValidationMessage: !!g,
|
|
10511
10511
|
validationMessageHasDecorators: !0,
|
|
10512
10512
|
validationStatus: d
|
|
10513
10513
|
}
|
|
@@ -10553,8 +10553,8 @@ const U1 = (i) => {
|
|
|
10553
10553
|
},
|
|
10554
10554
|
/* @__PURE__ */ e.createElement(A, { iconName: "xmark", iconSize: "sm" })
|
|
10555
10555
|
)), J1 = Ze(
|
|
10556
|
-
(
|
|
10557
|
-
var b =
|
|
10556
|
+
(p, C) => {
|
|
10557
|
+
var b = p, {
|
|
10558
10558
|
checked: s,
|
|
10559
10559
|
defaultChecked: n,
|
|
10560
10560
|
disabled: a = !1,
|
|
@@ -10566,7 +10566,7 @@ const U1 = (i) => {
|
|
|
10566
10566
|
message: u,
|
|
10567
10567
|
offLabel: m = "Off",
|
|
10568
10568
|
onChange: _,
|
|
10569
|
-
onLabel:
|
|
10569
|
+
onLabel: g = "On",
|
|
10570
10570
|
required: d = !1,
|
|
10571
10571
|
showLabel: v = !0,
|
|
10572
10572
|
showStatusLabel: h = !0,
|
|
@@ -10589,7 +10589,7 @@ const U1 = (i) => {
|
|
|
10589
10589
|
"showStatusLabel",
|
|
10590
10590
|
"className"
|
|
10591
10591
|
]);
|
|
10592
|
-
const E = vs(i), y = "pds-switch", w = a ? he.disabled : null, z = d && !a ? he.required : null, x = typeof s != "undefined", L = o == "below", V = o == "right", H = !x && n ? n : !1, [I, k] = R(H), M = s || I ?
|
|
10592
|
+
const E = vs(i), y = "pds-switch", w = a ? he.disabled : null, z = d && !a ? he.required : null, x = typeof s != "undefined", L = o == "below", V = o == "right", H = !x && n ? n : !1, [I, k] = R(H), M = s || I ? g : m, D = (B) => {
|
|
10593
10593
|
x || k(B.target.checked), _ && _(B);
|
|
10594
10594
|
}, W = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
10595
10595
|
"input",
|
|
@@ -10677,7 +10677,7 @@ const U1 = (i) => {
|
|
|
10677
10677
|
"title",
|
|
10678
10678
|
"className"
|
|
10679
10679
|
]);
|
|
10680
|
-
const
|
|
10680
|
+
const g = "pds-modal", d = i !== "md" ? `${g}--${i}` : null, [v, h] = R(c);
|
|
10681
10681
|
se(() => {
|
|
10682
10682
|
h(c);
|
|
10683
10683
|
}, [c]), se(() => {
|
|
@@ -10686,9 +10686,9 @@ const U1 = (i) => {
|
|
|
10686
10686
|
const { refs: $, context: f, floatingStyles: C } = Ve({
|
|
10687
10687
|
open: v,
|
|
10688
10688
|
onOpenChange: h
|
|
10689
|
-
}),
|
|
10689
|
+
}), p = nt(f), b = Se(f, {
|
|
10690
10690
|
outsidePressEvent: "mousedown"
|
|
10691
|
-
}), E = Ie(f), { getFloatingProps: y } = Te([
|
|
10691
|
+
}), E = Ie(f), { getFloatingProps: y } = Te([p, b, E]), { isMounted: w, styles: z } = Ue(f, {
|
|
10692
10692
|
duration: {
|
|
10693
10693
|
open: 300,
|
|
10694
10694
|
close: 300
|
|
@@ -10722,7 +10722,7 @@ const U1 = (i) => {
|
|
|
10722
10722
|
ref: $.setFloating,
|
|
10723
10723
|
"aria-label": s || l
|
|
10724
10724
|
}, y()), {
|
|
10725
|
-
className: [
|
|
10725
|
+
className: [g, d, o].join(" ").trim().replace(/\s+/g, " "),
|
|
10726
10726
|
style: ve(N(N({}, C), z), {
|
|
10727
10727
|
position: "relative"
|
|
10728
10728
|
})
|
|
@@ -10731,14 +10731,14 @@ const U1 = (i) => {
|
|
|
10731
10731
|
"button",
|
|
10732
10732
|
{
|
|
10733
10733
|
onClick: () => h(!1),
|
|
10734
|
-
className: `${
|
|
10734
|
+
className: `${g}__close`,
|
|
10735
10735
|
type: "button"
|
|
10736
10736
|
},
|
|
10737
10737
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Close"),
|
|
10738
10738
|
/* @__PURE__ */ e.createElement(A, { iconName: "xmark", iconSize: "xl" })
|
|
10739
10739
|
),
|
|
10740
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
10741
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
10740
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__title` }, l),
|
|
10741
|
+
/* @__PURE__ */ e.createElement("div", { className: `${g}__content` }, n)
|
|
10742
10742
|
))
|
|
10743
10743
|
));
|
|
10744
10744
|
}, St = {
|
|
@@ -10795,7 +10795,7 @@ const U1 = (i) => {
|
|
|
10795
10795
|
critical: "diamondExclamation",
|
|
10796
10796
|
discovery: "squareQuestion"
|
|
10797
10797
|
}, s2 = (_) => {
|
|
10798
|
-
var
|
|
10798
|
+
var g = _, {
|
|
10799
10799
|
dismissLabel: s = "Dismiss",
|
|
10800
10800
|
id: n,
|
|
10801
10801
|
isDismissible: a,
|
|
@@ -10811,7 +10811,7 @@ const U1 = (i) => {
|
|
|
10811
10811
|
discovery: "Discovery"
|
|
10812
10812
|
},
|
|
10813
10813
|
className: u
|
|
10814
|
-
} =
|
|
10814
|
+
} = g, m = S(g, [
|
|
10815
10815
|
"dismissLabel",
|
|
10816
10816
|
"id",
|
|
10817
10817
|
"isDismissible",
|
|
@@ -10831,7 +10831,7 @@ const U1 = (i) => {
|
|
|
10831
10831
|
discovery: `${v}--discovery`,
|
|
10832
10832
|
dismissing: `${v}--dismissing`,
|
|
10833
10833
|
dismissed: `${v}--dismissed`
|
|
10834
|
-
}, $ = i ? `${v}--hasTitle` : null, C = ["critical", "warning"].includes(l) ? "alert" : "status",
|
|
10834
|
+
}, $ = i ? `${v}--hasTitle` : null, C = ["critical", "warning"].includes(l) ? "alert" : "status", p = `${o[l]}: `, b = () => {
|
|
10835
10835
|
d.current.addEventListener("animationend", E, {
|
|
10836
10836
|
once: !0
|
|
10837
10837
|
});
|
|
@@ -10856,7 +10856,7 @@ const U1 = (i) => {
|
|
|
10856
10856
|
iconName: `${l}` in It ? It[l] : It.info,
|
|
10857
10857
|
iconSize: "md"
|
|
10858
10858
|
}
|
|
10859
|
-
)), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
10859
|
+
)), /* @__PURE__ */ e.createElement("div", { className: `${v}__text` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, p), i && /* @__PURE__ */ e.createElement("div", { className: `${v}__title` }, i), /* @__PURE__ */ e.createElement("div", { className: `${v}__message` }, r))),
|
|
10860
10860
|
a && /* @__PURE__ */ e.createElement(
|
|
10861
10861
|
"button",
|
|
10862
10862
|
{
|
|
@@ -10906,7 +10906,7 @@ const U1 = (i) => {
|
|
|
10906
10906
|
popoverIsOpen: m = !1,
|
|
10907
10907
|
setPopoverIsOpen: _ = () => {
|
|
10908
10908
|
},
|
|
10909
|
-
className:
|
|
10909
|
+
className: g
|
|
10910
10910
|
} = h, d = S(h, [
|
|
10911
10911
|
"content",
|
|
10912
10912
|
"customTrigger",
|
|
@@ -10928,9 +10928,9 @@ const U1 = (i) => {
|
|
|
10928
10928
|
}, [m]), se(() => {
|
|
10929
10929
|
_($);
|
|
10930
10930
|
}, [$]);
|
|
10931
|
-
const C = typeof n,
|
|
10932
|
-
`${
|
|
10933
|
-
C === "string" ? `${
|
|
10931
|
+
const C = typeof n, p = "pds-popover", b = [
|
|
10932
|
+
`${p}__trigger-custom`,
|
|
10933
|
+
C === "string" ? `${p}__trigger-text` : ""
|
|
10934
10934
|
].join(" ").trim().replace(/\s+/g, " "), E = n ? c : 0, y = ee(null), { refs: w, floatingStyles: z, context: x, middlewareData: L } = Ve({
|
|
10935
10935
|
placement: i,
|
|
10936
10936
|
open: $,
|
|
@@ -10966,19 +10966,19 @@ const U1 = (i) => {
|
|
|
10966
10966
|
return /* @__PURE__ */ e.createElement(
|
|
10967
10967
|
"div",
|
|
10968
10968
|
N({
|
|
10969
|
-
className: [
|
|
10969
|
+
className: [p, g].join(" ").trim().replace(/\s+/g, " ")
|
|
10970
10970
|
}, d),
|
|
10971
10971
|
/* @__PURE__ */ e.createElement(
|
|
10972
10972
|
"span",
|
|
10973
10973
|
N({
|
|
10974
|
-
className: `${
|
|
10974
|
+
className: `${p}__trigger`,
|
|
10975
10975
|
ref: w.setReference
|
|
10976
10976
|
}, M()),
|
|
10977
10977
|
n ? /* @__PURE__ */ e.createElement("span", { className: b }, n) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, u), /* @__PURE__ */ e.createElement(
|
|
10978
10978
|
A,
|
|
10979
10979
|
{
|
|
10980
10980
|
iconName: o,
|
|
10981
|
-
className: `${
|
|
10981
|
+
className: `${p}__icon`,
|
|
10982
10982
|
iconSize: "md"
|
|
10983
10983
|
}
|
|
10984
10984
|
))
|
|
@@ -10986,7 +10986,7 @@ const U1 = (i) => {
|
|
|
10986
10986
|
Z && /* @__PURE__ */ e.createElement(ms, { context: x, modal: !1 }, /* @__PURE__ */ e.createElement(
|
|
10987
10987
|
"div",
|
|
10988
10988
|
N({
|
|
10989
|
-
className: `${
|
|
10989
|
+
className: `${p}__container`,
|
|
10990
10990
|
ref: w.setFloating,
|
|
10991
10991
|
style: z
|
|
10992
10992
|
}, D()),
|
|
@@ -11001,10 +11001,10 @@ const U1 = (i) => {
|
|
|
11001
11001
|
fill: "var(--pds-color-background-default)",
|
|
11002
11002
|
stroke: "var(--pds-color-border-default)",
|
|
11003
11003
|
strokeWidth: 1,
|
|
11004
|
-
className: `${
|
|
11004
|
+
className: `${p}__arrow`
|
|
11005
11005
|
}
|
|
11006
11006
|
),
|
|
11007
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
11007
|
+
/* @__PURE__ */ e.createElement("div", { className: `${p}__container-inner` }, l && /* @__PURE__ */ e.createElement("div", { className: `${p}__title` }, l), s && /* @__PURE__ */ e.createElement("div", { className: `${p}__content` }, s), a && /* @__PURE__ */ e.createElement("button", { onClick: V, className: `${p}__close` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, "Close"), /* @__PURE__ */ e.createElement(A, { iconName: "xmark", iconSize: "lg" })))
|
|
11008
11008
|
))
|
|
11009
11009
|
);
|
|
11010
11010
|
}, l2 = (l) => {
|
|
@@ -11106,15 +11106,15 @@ const k1 = (s) => {
|
|
|
11106
11106
|
"tagLabel",
|
|
11107
11107
|
"className"
|
|
11108
11108
|
]);
|
|
11109
|
-
const [_,
|
|
11110
|
-
|
|
11109
|
+
const [_, g] = R(!0), d = "pds-tag", v = r ? `${d}--${r}` : `${d}--${k1(i)}`, h = _ ? null : "pds-tag--hide", $ = () => {
|
|
11110
|
+
g((b) => !b);
|
|
11111
11111
|
};
|
|
11112
|
-
let f, C,
|
|
11113
|
-
return s && !n && Ps(s) ? (f = s.type, C = s.props.href ? "href" : "to",
|
|
11112
|
+
let f, C, p;
|
|
11113
|
+
return s && !n && Ps(s) ? (f = s.type, C = s.props.href ? "href" : "to", p = C === "href" ? s.props.href : s.props.to) : (f = "span", C = null, p = null), /* @__PURE__ */ e.createElement(
|
|
11114
11114
|
f,
|
|
11115
11115
|
N({
|
|
11116
|
-
href: C === "href" ?
|
|
11117
|
-
to: C === "to" ?
|
|
11116
|
+
href: C === "href" ? p : null,
|
|
11117
|
+
to: C === "to" ? p : null,
|
|
11118
11118
|
className: [d, v, h, l].join(" ").trim().replace(/\s+/g, " ")
|
|
11119
11119
|
}, o),
|
|
11120
11120
|
/* @__PURE__ */ e.createElement("span", { className: `${d}__label`, title: i }, H1(i, 20)),
|
|
@@ -11139,7 +11139,7 @@ const k1 = (s) => {
|
|
|
11139
11139
|
) : null
|
|
11140
11140
|
);
|
|
11141
11141
|
}, L1 = (_) => {
|
|
11142
|
-
var
|
|
11142
|
+
var g = _, {
|
|
11143
11143
|
alignContent: s,
|
|
11144
11144
|
alignItems: n,
|
|
11145
11145
|
flexDirection: a,
|
|
@@ -11149,7 +11149,7 @@ const k1 = (s) => {
|
|
|
11149
11149
|
spacing: l = "standard",
|
|
11150
11150
|
children: o,
|
|
11151
11151
|
className: u
|
|
11152
|
-
} =
|
|
11152
|
+
} = g, m = S(g, [
|
|
11153
11153
|
"alignContent",
|
|
11154
11154
|
"alignItems",
|
|
11155
11155
|
"flexDirection",
|
|
@@ -11160,7 +11160,7 @@ const k1 = (s) => {
|
|
|
11160
11160
|
"children",
|
|
11161
11161
|
"className"
|
|
11162
11162
|
]);
|
|
11163
|
-
const d = "pds-flex", v = l ? `${d}-gap--${l}` : null, h = a ? `${d}-direction--${a}` : null, $ = c ? `${d}--${c}` : null, f = r ? `${d}-justify--${r}` : null, C = n ? `${d}-align-items--${n}` : null,
|
|
11163
|
+
const d = "pds-flex", v = l ? `${d}-gap--${l}` : null, h = a ? `${d}-direction--${a}` : null, $ = c ? `${d}--${c}` : null, f = r ? `${d}-justify--${r}` : null, C = n ? `${d}-align-items--${n}` : null, p = s ? `${d}-align-content--${s}` : null, b = i && i !== "same" ? `${d}-mobile--${i}` : null;
|
|
11164
11164
|
return /* @__PURE__ */ e.createElement(
|
|
11165
11165
|
"div",
|
|
11166
11166
|
N({
|
|
@@ -11171,7 +11171,7 @@ const k1 = (s) => {
|
|
|
11171
11171
|
$,
|
|
11172
11172
|
f,
|
|
11173
11173
|
C,
|
|
11174
|
-
|
|
11174
|
+
p,
|
|
11175
11175
|
b,
|
|
11176
11176
|
u
|
|
11177
11177
|
].join(" ").trim().replace(/\s+/g, " ")
|
|
@@ -11251,7 +11251,7 @@ const i2 = ({
|
|
|
11251
11251
|
se(() => (_(window.innerWidth), window.addEventListener("resize", h), () => {
|
|
11252
11252
|
window.removeEventListener("resize", h);
|
|
11253
11253
|
}), []);
|
|
11254
|
-
const
|
|
11254
|
+
const g = "pds-sidebar-layout", d = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, v = `${g}--${a}`, h = () => {
|
|
11255
11255
|
_(window.innerWidth);
|
|
11256
11256
|
}, $ = {};
|
|
11257
11257
|
e.Children.forEach(s, (w) => {
|
|
@@ -11260,26 +11260,26 @@ const i2 = ({
|
|
|
11260
11260
|
});
|
|
11261
11261
|
let f = "pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", C = "pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
|
|
11262
11262
|
r === "narrow" && (f = "pds-grid-item--md-9 pds-grid-item--lg-10", C = "pds-grid-item--md-3 pds-grid-item--lg-2"), r === "wide" && (f = "pds-grid-item--md-7 pds-grid-item--lg-8", C = "pds-grid-item--md-5 pds-grid-item--lg-4");
|
|
11263
|
-
const
|
|
11263
|
+
const p = /* @__PURE__ */ e.createElement(
|
|
11264
11264
|
"div",
|
|
11265
11265
|
{
|
|
11266
11266
|
key: "1",
|
|
11267
|
-
className: `${
|
|
11267
|
+
className: `${g}__content pds-grid-item pds-grid-item--sm-4 ${f}`
|
|
11268
11268
|
},
|
|
11269
11269
|
$.content
|
|
11270
11270
|
), b = /* @__PURE__ */ e.createElement(
|
|
11271
11271
|
"div",
|
|
11272
11272
|
{
|
|
11273
11273
|
key: "2",
|
|
11274
|
-
className: `${
|
|
11274
|
+
className: `${g}__side pds-grid-item pds-grid-item--sm-4 ${C}`
|
|
11275
11275
|
},
|
|
11276
11276
|
$.sidebar
|
|
11277
11277
|
), E = m < 641;
|
|
11278
11278
|
let y = [];
|
|
11279
|
-
return a === "left" && c === "before" && (y = [b,
|
|
11279
|
+
return a === "left" && c === "before" && (y = [b, p]), a === "left" && c === "after" && (y = E ? [p, b] : [b, p]), a === "right" && c === "before" && (y = E ? [b, p] : [p, b]), a === "right" && c === "after" && (y = [p, b]), /* @__PURE__ */ e.createElement(
|
|
11280
11280
|
"div",
|
|
11281
11281
|
N({
|
|
11282
|
-
className: [
|
|
11282
|
+
className: [g, d, v, i].join(" ").trim().replace(/\s+/g, " ")
|
|
11283
11283
|
}, l),
|
|
11284
11284
|
y
|
|
11285
11285
|
);
|
|
@@ -11322,21 +11322,21 @@ const M1 = (c) => {
|
|
|
11322
11322
|
"--pds-stepper-layout-max-width",
|
|
11323
11323
|
_ + "px"
|
|
11324
11324
|
);
|
|
11325
|
-
const
|
|
11325
|
+
const g = "pds-stepper-layout";
|
|
11326
11326
|
return /* @__PURE__ */ e.createElement(
|
|
11327
11327
|
Je,
|
|
11328
11328
|
N({
|
|
11329
|
-
className: [
|
|
11329
|
+
className: [g, n].join(" ").trim().replace(/\s+/g, " ")
|
|
11330
11330
|
}, a),
|
|
11331
11331
|
l && /* @__PURE__ */ e.createElement(
|
|
11332
11332
|
"div",
|
|
11333
11333
|
{
|
|
11334
|
-
className: `${
|
|
11334
|
+
className: `${g}__stepper-container`,
|
|
11335
11335
|
ref: u
|
|
11336
11336
|
},
|
|
11337
11337
|
l
|
|
11338
11338
|
),
|
|
11339
|
-
o && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
11339
|
+
o && /* @__PURE__ */ e.createElement("div", { className: `${g}__form-container` }, o)
|
|
11340
11340
|
);
|
|
11341
11341
|
};
|
|
11342
11342
|
M1.propTypes = {
|
|
@@ -11361,8 +11361,8 @@ const x1 = (r) => {
|
|
|
11361
11361
|
]);
|
|
11362
11362
|
const l = "pds-three-item-layout", o = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, u = {};
|
|
11363
11363
|
e.Children.forEach(s, (_) => {
|
|
11364
|
-
const
|
|
11365
|
-
|
|
11364
|
+
const g = _.props.slot;
|
|
11365
|
+
g && (u[g] ? u[g].push(_) : u[g] = [_]);
|
|
11366
11366
|
});
|
|
11367
11367
|
const m = [
|
|
11368
11368
|
u["first-item"],
|
|
@@ -11410,22 +11410,22 @@ const V1 = (i) => {
|
|
|
11410
11410
|
"layoutVariant",
|
|
11411
11411
|
"className"
|
|
11412
11412
|
]);
|
|
11413
|
-
const o = "pds-two-item-layout", u = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, m = ["pds-grid-item--md-6"], _ = ["pds-grid-item--md-4", "pds-grid-item--lg-3"],
|
|
11413
|
+
const o = "pds-two-item-layout", u = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, m = ["pds-grid-item--md-6"], _ = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], g = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], d = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
11414
11414
|
let v, h;
|
|
11415
11415
|
switch (a) {
|
|
11416
11416
|
case "equal":
|
|
11417
11417
|
v = d.concat(m), h = d.concat(m);
|
|
11418
11418
|
break;
|
|
11419
11419
|
case "one-third-start":
|
|
11420
|
-
v = d.concat(_), h = d.concat(
|
|
11420
|
+
v = d.concat(_), h = d.concat(g);
|
|
11421
11421
|
break;
|
|
11422
11422
|
case "one-third-end":
|
|
11423
|
-
v = d.concat(
|
|
11423
|
+
v = d.concat(g), h = d.concat(_);
|
|
11424
11424
|
}
|
|
11425
11425
|
const $ = {};
|
|
11426
|
-
e.Children.forEach(s, (
|
|
11427
|
-
const b =
|
|
11428
|
-
b && ($[b] ? $[b].push(
|
|
11426
|
+
e.Children.forEach(s, (p) => {
|
|
11427
|
+
const b = p.props.slot;
|
|
11428
|
+
b && ($[b] ? $[b].push(p) : $[b] = [p]);
|
|
11429
11429
|
});
|
|
11430
11430
|
const f = $["first-item"], C = $["second-item"];
|
|
11431
11431
|
return /* @__PURE__ */ e.createElement(
|