@pantheon-systems/pds-toolkit-react 1.0.0-dev.259 → 1.0.0-dev.260
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/components/empty-states/VerticalEmptyState/VerticalEmptyState.d.ts +9 -1
- package/_dist/css/component-css/pds-index.css +1 -1
- package/_dist/css/component-css/pds-vertical-empty-state.css +1 -1
- package/_dist/css/pds-components.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.js +527 -514
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -23,14 +23,14 @@ var rt = (t, n, s) => new Promise((a, r) => {
|
|
|
23
23
|
var m = (o) => {
|
|
24
24
|
try {
|
|
25
25
|
l(s.next(o));
|
|
26
|
-
} catch (
|
|
27
|
-
r(
|
|
26
|
+
} catch (p) {
|
|
27
|
+
r(p);
|
|
28
28
|
}
|
|
29
29
|
}, c = (o) => {
|
|
30
30
|
try {
|
|
31
31
|
l(s.throw(o));
|
|
32
|
-
} catch (
|
|
33
|
-
r(
|
|
32
|
+
} catch (p) {
|
|
33
|
+
r(p);
|
|
34
34
|
}
|
|
35
35
|
}, l = (o) => o.done ? a(o.value) : Promise.resolve(o.value).then(m, c);
|
|
36
36
|
l((s = s.apply(t, n)).next());
|
|
@@ -75,7 +75,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
75
75
|
"verticalAlign",
|
|
76
76
|
"className"
|
|
77
77
|
]);
|
|
78
|
-
const o = `pds-icon pds-icon--${s} pds-icon--${n}`,
|
|
78
|
+
const o = `pds-icon pds-icon--${s} pds-icon--${n}`, p = `0 0 ${j2[n].width} 512`, g = {
|
|
79
79
|
sm: "0.8rem",
|
|
80
80
|
md: "1rem",
|
|
81
81
|
lg: "1.2rem",
|
|
@@ -89,7 +89,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
89
89
|
w({
|
|
90
90
|
xmlns: "http://www.w3.org/2000/svg",
|
|
91
91
|
role: "img",
|
|
92
|
-
viewBox:
|
|
92
|
+
viewBox: p,
|
|
93
93
|
height: g[s],
|
|
94
94
|
fill: "none",
|
|
95
95
|
"aria-hidden": "true",
|
|
@@ -815,7 +815,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
815
815
|
const n = parseInt(Mt(t), 16);
|
|
816
816
|
return it[n % it.length];
|
|
817
817
|
}, K2 = (o) => {
|
|
818
|
-
var
|
|
818
|
+
var p = o, {
|
|
819
819
|
ariaLabel: t,
|
|
820
820
|
hasUserFallback: n = !1,
|
|
821
821
|
imageSrc: s,
|
|
@@ -823,7 +823,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
823
823
|
size: r = "md",
|
|
824
824
|
uniqueId: m,
|
|
825
825
|
className: c
|
|
826
|
-
} =
|
|
826
|
+
} = p, l = P(p, [
|
|
827
827
|
"ariaLabel",
|
|
828
828
|
"hasUserFallback",
|
|
829
829
|
"imageSrc",
|
|
@@ -832,7 +832,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
832
832
|
"uniqueId",
|
|
833
833
|
"className"
|
|
834
834
|
]);
|
|
835
|
-
const g = "pds-avatar",
|
|
835
|
+
const g = "pds-avatar", u = `${g}--${r}`, d = s ? `${g}--image` : null, [b, C] = Q(void 0), v = {
|
|
836
836
|
backgroundImage: m ? `var(--pds-color-gradient-avatar-${C1(m)})` : null,
|
|
837
837
|
borderRadius: "100%",
|
|
838
838
|
height: "100%",
|
|
@@ -860,7 +860,7 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
860
860
|
return /* @__PURE__ */ e.createElement(
|
|
861
861
|
"div",
|
|
862
862
|
w({
|
|
863
|
-
className: z([g,
|
|
863
|
+
className: z([g, u, d, c])
|
|
864
864
|
}, l),
|
|
865
865
|
a ? i : h
|
|
866
866
|
);
|
|
@@ -876,11 +876,11 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
876
876
|
"color",
|
|
877
877
|
"className"
|
|
878
878
|
]);
|
|
879
|
-
const l = "pds-indicator-badge", o = `${l}--${s}`,
|
|
879
|
+
const l = "pds-indicator-badge", o = `${l}--${s}`, p = `${l}--${n}`;
|
|
880
880
|
return /* @__PURE__ */ e.createElement(
|
|
881
881
|
"span",
|
|
882
882
|
w({
|
|
883
|
-
className: [l, o,
|
|
883
|
+
className: [l, o, p, a != null ? a : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
884
884
|
}, r),
|
|
885
885
|
/* @__PURE__ */ e.createElement("span", { className: `${l}__label` }, t)
|
|
886
886
|
);
|
|
@@ -900,14 +900,14 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
900
900
|
"statusType",
|
|
901
901
|
"className"
|
|
902
902
|
]);
|
|
903
|
-
const
|
|
903
|
+
const p = "pds-status-badge", g = `${p}--${t}`, u = `${p}__status`, d = r ? `${u}--${r}` : null;
|
|
904
904
|
return /* @__PURE__ */ e.createElement(
|
|
905
905
|
"div",
|
|
906
906
|
w({
|
|
907
|
-
className: [
|
|
907
|
+
className: [p, g, m != null ? m : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
908
908
|
}, c),
|
|
909
|
-
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [
|
|
910
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
909
|
+
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [u, d].join(" ").trim() }, r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, a, " ", r)),
|
|
910
|
+
/* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, s)
|
|
911
911
|
);
|
|
912
912
|
}, k2 = (m) => {
|
|
913
913
|
var c = m, {
|
|
@@ -927,18 +927,18 @@ const c2 = () => Math.random().toString(32).substring(2, 13), Vt = (t, n) => {
|
|
|
927
927
|
"typeLabels",
|
|
928
928
|
"className"
|
|
929
929
|
]);
|
|
930
|
-
const l = "pds-tally", o = `${l}--${n}`,
|
|
930
|
+
const l = "pds-tally", o = `${l}--${n}`, p = `${s[n]}: `;
|
|
931
931
|
return /* @__PURE__ */ e.createElement(
|
|
932
932
|
"div",
|
|
933
933
|
w({
|
|
934
934
|
className: z([l, o, a != null ? a : ""])
|
|
935
935
|
}, r),
|
|
936
|
-
/* @__PURE__ */ e.createElement("div", { className: `${l}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
936
|
+
/* @__PURE__ */ e.createElement("div", { className: `${l}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, p), t)
|
|
937
937
|
);
|
|
938
938
|
};
|
|
939
939
|
k2.displayName = "Tally";
|
|
940
|
-
const T2 = 300, _1 = 400, Ve = (
|
|
941
|
-
var d =
|
|
940
|
+
const T2 = 300, _1 = 400, Ve = (u) => {
|
|
941
|
+
var d = u, {
|
|
942
942
|
content: t,
|
|
943
943
|
customTrigger: n = null,
|
|
944
944
|
offsetValue: s = 8,
|
|
@@ -948,7 +948,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
948
948
|
triggerIconColor: c = "default",
|
|
949
949
|
triggerIconSize: l = "sm",
|
|
950
950
|
zIndex: o = _1,
|
|
951
|
-
className:
|
|
951
|
+
className: p
|
|
952
952
|
} = d, g = P(d, [
|
|
953
953
|
"content",
|
|
954
954
|
"customTrigger",
|
|
@@ -983,7 +983,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
983
983
|
M,
|
|
984
984
|
L
|
|
985
985
|
]);
|
|
986
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([v,
|
|
986
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([v, p != null ? p : ""]) }, g), n ? /* @__PURE__ */ e.createElement(
|
|
987
987
|
"span",
|
|
988
988
|
w({
|
|
989
989
|
className: _,
|
|
@@ -1015,8 +1015,8 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1015
1015
|
}, N()),
|
|
1016
1016
|
t
|
|
1017
1017
|
)));
|
|
1018
|
-
}, Xn = (
|
|
1019
|
-
var g =
|
|
1018
|
+
}, Xn = (p) => {
|
|
1019
|
+
var g = p, {
|
|
1020
1020
|
isLoading: t,
|
|
1021
1021
|
loadingText: n = "Loading...",
|
|
1022
1022
|
numberAhead: s,
|
|
@@ -1035,7 +1035,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1035
1035
|
"componentWidth",
|
|
1036
1036
|
"className"
|
|
1037
1037
|
]);
|
|
1038
|
-
const
|
|
1038
|
+
const u = "pds-branch-diff", d = t ? `${u}--loading` : null, b = t ? "pds-pulse" : null, C = c !== null && c > 0 ? `${c}rem` : "100%";
|
|
1039
1039
|
let y = Math.max(0, s), v = Math.max(0, r);
|
|
1040
1040
|
t && (y = 1, v = 1);
|
|
1041
1041
|
const _ = Math.max(y, v);
|
|
@@ -1046,7 +1046,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1046
1046
|
return /* @__PURE__ */ e.createElement(
|
|
1047
1047
|
"div",
|
|
1048
1048
|
w({
|
|
1049
|
-
className: z([
|
|
1049
|
+
className: z([u, d, l != null ? l : ""]),
|
|
1050
1050
|
style: { width: C }
|
|
1051
1051
|
}, o),
|
|
1052
1052
|
/* @__PURE__ */ e.createElement(
|
|
@@ -1054,17 +1054,17 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1054
1054
|
{
|
|
1055
1055
|
content: E,
|
|
1056
1056
|
preferredPlacement: "top",
|
|
1057
|
-
customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${
|
|
1057
|
+
customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${u}__content` }, /* @__PURE__ */ e.createElement(
|
|
1058
1058
|
"div",
|
|
1059
1059
|
{
|
|
1060
|
-
className: `${
|
|
1060
|
+
className: `${u}__segment ${u}__segment--behind`
|
|
1061
1061
|
},
|
|
1062
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1062
|
+
/* @__PURE__ */ e.createElement("div", { className: `${u}__number` }, !t && v),
|
|
1063
1063
|
v > 0 && /* @__PURE__ */ e.createElement(
|
|
1064
1064
|
"div",
|
|
1065
1065
|
{
|
|
1066
1066
|
className: z([
|
|
1067
|
-
`${
|
|
1067
|
+
`${u}__line ${u}__line--behind`,
|
|
1068
1068
|
b
|
|
1069
1069
|
]),
|
|
1070
1070
|
style: { width: `${h}%` }
|
|
@@ -1073,14 +1073,14 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1073
1073
|
), /* @__PURE__ */ e.createElement(
|
|
1074
1074
|
"div",
|
|
1075
1075
|
{
|
|
1076
|
-
className: `${
|
|
1076
|
+
className: `${u}__segment ${u}__segment--ahead`
|
|
1077
1077
|
},
|
|
1078
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
1078
|
+
/* @__PURE__ */ e.createElement("div", { className: `${u}__number` }, !t && y),
|
|
1079
1079
|
y > 0 && /* @__PURE__ */ e.createElement(
|
|
1080
1080
|
"div",
|
|
1081
1081
|
{
|
|
1082
1082
|
className: z([
|
|
1083
|
-
`${
|
|
1083
|
+
`${u}__line ${u}__line--ahead`,
|
|
1084
1084
|
b
|
|
1085
1085
|
]),
|
|
1086
1086
|
style: { width: `${i}%` }
|
|
@@ -1135,12 +1135,12 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1135
1135
|
tooltipText: l = null,
|
|
1136
1136
|
className: o
|
|
1137
1137
|
}) => {
|
|
1138
|
-
const
|
|
1138
|
+
const p = z([
|
|
1139
1139
|
"pds-input-label",
|
|
1140
1140
|
s ? null : "visually-hidden",
|
|
1141
1141
|
o != null ? o : ""
|
|
1142
1142
|
]), g = /* @__PURE__ */ e.createElement(e.Fragment, null, n, a && !r && /* @__PURE__ */ e.createElement(St, null), l && /* @__PURE__ */ e.createElement(Ve, { content: l }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(j, { iconName: "circleInfo", iconSize: "sm" }))));
|
|
1143
|
-
return m ? /* @__PURE__ */ e.createElement("legend", { className:
|
|
1143
|
+
return m ? /* @__PURE__ */ e.createElement("legend", { className: p, id: `${t}-legend` }, g) : c ? /* @__PURE__ */ e.createElement("span", { className: p, id: `${t}-field-label` }, g) : /* @__PURE__ */ e.createElement("label", { htmlFor: t, className: p, id: `${t}-label` }, g);
|
|
1144
1144
|
}, Re = ({
|
|
1145
1145
|
forInputGroup: t = !1,
|
|
1146
1146
|
id: n,
|
|
@@ -1220,7 +1220,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1220
1220
|
}, mt = (t) => "options" in t, N2 = Ue(
|
|
1221
1221
|
(m, r) => {
|
|
1222
1222
|
var c = m, { children: t, isActive: n, className: s } = c, a = P(c, ["children", "isActive", "className"]);
|
|
1223
|
-
const l = l1(), o = "pds-input__select-option",
|
|
1223
|
+
const l = l1(), o = "pds-input__select-option", p = n ? `${o}--active` : null;
|
|
1224
1224
|
return /* @__PURE__ */ e.createElement(
|
|
1225
1225
|
"li",
|
|
1226
1226
|
w({
|
|
@@ -1228,7 +1228,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1228
1228
|
role: "option",
|
|
1229
1229
|
id: l,
|
|
1230
1230
|
"aria-selected": n,
|
|
1231
|
-
className: z([o,
|
|
1231
|
+
className: z([o, p, s != null ? s : ""])
|
|
1232
1232
|
}, a),
|
|
1233
1233
|
t
|
|
1234
1234
|
);
|
|
@@ -1249,16 +1249,16 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1249
1249
|
"size",
|
|
1250
1250
|
"className"
|
|
1251
1251
|
]);
|
|
1252
|
-
const
|
|
1252
|
+
const p = "pds-spinner", g = t !== "full-color" ? `${p}--${t}` : null, u = `${p}--${r}`, d = n ? `${p}--inline` : null;
|
|
1253
1253
|
return /* @__PURE__ */ e.createElement(
|
|
1254
1254
|
"span",
|
|
1255
1255
|
w({
|
|
1256
|
-
className: [
|
|
1256
|
+
className: [p, g, d, u, m].join(" ").trim().replace(/\s+/g, " "),
|
|
1257
1257
|
role: "status",
|
|
1258
1258
|
"aria-hidden": "true"
|
|
1259
1259
|
}, c),
|
|
1260
|
-
/* @__PURE__ */ e.createElement("span", { className: `${
|
|
1261
|
-
a && !n ? /* @__PURE__ */ e.createElement("span", { className: `${
|
|
1260
|
+
/* @__PURE__ */ e.createElement("span", { className: `${p}__icon` }),
|
|
1261
|
+
a && !n ? /* @__PURE__ */ e.createElement("span", { className: `${p}__label` }, s) : /* @__PURE__ */ e.createElement(et, { label: s })
|
|
1262
1262
|
);
|
|
1263
1263
|
}, C2 = Ue(
|
|
1264
1264
|
(v, y) => {
|
|
@@ -1272,9 +1272,9 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1272
1272
|
isLoading: c = !1,
|
|
1273
1273
|
isSplitButton: l = !1,
|
|
1274
1274
|
label: o,
|
|
1275
|
-
onClick:
|
|
1275
|
+
onClick: p,
|
|
1276
1276
|
size: g = "md",
|
|
1277
|
-
tooltipText:
|
|
1277
|
+
tooltipText: u,
|
|
1278
1278
|
variant: d = "primary",
|
|
1279
1279
|
className: b = ""
|
|
1280
1280
|
} = _, C = P(_, [
|
|
@@ -1329,16 +1329,16 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1329
1329
|
]),
|
|
1330
1330
|
disabled: s || c,
|
|
1331
1331
|
"aria-label": t,
|
|
1332
|
-
onClick:
|
|
1332
|
+
onClick: p,
|
|
1333
1333
|
ref: y
|
|
1334
1334
|
}, C),
|
|
1335
1335
|
c && /* @__PURE__ */ e.createElement(b2, { className: `${h}__loading-indicator`, size: "md" }),
|
|
1336
1336
|
M
|
|
1337
1337
|
);
|
|
1338
|
-
return (s || c) &&
|
|
1338
|
+
return (s || c) && u ? /* @__PURE__ */ e.createElement(Ve, { content: u, customTrigger: L }) : /* @__PURE__ */ e.createElement(e.Fragment, null, L);
|
|
1339
1339
|
}
|
|
1340
|
-
), _2 = (
|
|
1341
|
-
var g =
|
|
1340
|
+
), _2 = (p) => {
|
|
1341
|
+
var g = p, {
|
|
1342
1342
|
disabled: t = !1,
|
|
1343
1343
|
displayType: n = "label-only",
|
|
1344
1344
|
iconName: s,
|
|
@@ -1357,7 +1357,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1357
1357
|
"variant",
|
|
1358
1358
|
"className"
|
|
1359
1359
|
]);
|
|
1360
|
-
const
|
|
1360
|
+
const u = "pds-button-link", d = "pds-button", b = r !== "md" ? `${d}--${r}` : null, C = c !== "primary" ? `${d}--${c}` : null, y = z([
|
|
1361
1361
|
d,
|
|
1362
1362
|
b,
|
|
1363
1363
|
C
|
|
@@ -1366,7 +1366,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1366
1366
|
{
|
|
1367
1367
|
iconName: s,
|
|
1368
1368
|
iconSize: r,
|
|
1369
|
-
className: `${
|
|
1369
|
+
className: `${u}__icon`,
|
|
1370
1370
|
key: s
|
|
1371
1371
|
}
|
|
1372
1372
|
);
|
|
@@ -1379,14 +1379,14 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1379
1379
|
return t ? /* @__PURE__ */ e.createElement(
|
|
1380
1380
|
C2,
|
|
1381
1381
|
{
|
|
1382
|
-
className: z([
|
|
1382
|
+
className: z([u, l != null ? l : ""]),
|
|
1383
1383
|
disabled: !0,
|
|
1384
1384
|
label: h,
|
|
1385
1385
|
size: r,
|
|
1386
1386
|
tooltipText: m != null ? m : null,
|
|
1387
1387
|
variant: c
|
|
1388
1388
|
}
|
|
1389
|
-
) : /* @__PURE__ */ e.createElement("span", w({ className: z([
|
|
1389
|
+
) : /* @__PURE__ */ e.createElement("span", w({ className: z([u, l != null ? l : ""]) }, o), i);
|
|
1390
1390
|
}, v1 = (t, n) => {
|
|
1391
1391
|
const [s, a] = Q(!1), r = n == null ? void 0 : n.duration;
|
|
1392
1392
|
return le(() => {
|
|
@@ -1404,7 +1404,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1404
1404
|
}
|
|
1405
1405
|
})];
|
|
1406
1406
|
}, z2 = Ue(
|
|
1407
|
-
(d,
|
|
1407
|
+
(d, u) => {
|
|
1408
1408
|
var b = d, {
|
|
1409
1409
|
ariaLabel: t,
|
|
1410
1410
|
buttonType: n = "button",
|
|
@@ -1415,7 +1415,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1415
1415
|
onClick: c,
|
|
1416
1416
|
size: l = "md",
|
|
1417
1417
|
variant: o = "standard",
|
|
1418
|
-
className:
|
|
1418
|
+
className: p
|
|
1419
1419
|
} = b, g = P(b, [
|
|
1420
1420
|
"ariaLabel",
|
|
1421
1421
|
"buttonType",
|
|
@@ -1490,13 +1490,13 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1490
1490
|
C,
|
|
1491
1491
|
y,
|
|
1492
1492
|
v,
|
|
1493
|
-
|
|
1493
|
+
p
|
|
1494
1494
|
]),
|
|
1495
1495
|
disabled: s,
|
|
1496
1496
|
onClick: M,
|
|
1497
1497
|
type: n,
|
|
1498
1498
|
title: a && !s ? null : t,
|
|
1499
|
-
ref:
|
|
1499
|
+
ref: u
|
|
1500
1500
|
}, g),
|
|
1501
1501
|
a && !s ? /* @__PURE__ */ e.createElement(
|
|
1502
1502
|
Ve,
|
|
@@ -1523,7 +1523,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1523
1523
|
"variant",
|
|
1524
1524
|
"className"
|
|
1525
1525
|
]);
|
|
1526
|
-
const o = "pds-clipboard-button", [
|
|
1526
|
+
const o = "pds-clipboard-button", [p, g] = v1(n);
|
|
1527
1527
|
return /* @__PURE__ */ e.createElement(
|
|
1528
1528
|
z2,
|
|
1529
1529
|
w({
|
|
@@ -1597,9 +1597,9 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1597
1597
|
menuItems: c,
|
|
1598
1598
|
menuPosition: l = "start",
|
|
1599
1599
|
onClick: o,
|
|
1600
|
-
size:
|
|
1600
|
+
size: p = "md",
|
|
1601
1601
|
testId: g,
|
|
1602
|
-
undefinedLabel:
|
|
1602
|
+
undefinedLabel: u = "Unlabeled group",
|
|
1603
1603
|
variant: d = "primary",
|
|
1604
1604
|
withinNavbar: b,
|
|
1605
1605
|
className: C
|
|
@@ -1849,7 +1849,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1849
1849
|
},
|
|
1850
1850
|
fe.map((Ne, je) => {
|
|
1851
1851
|
ge = V.current[je];
|
|
1852
|
-
const Ge = Ne[0].isHeading, qe = Ge ? `${O}-group-${ge}-heading` : "", Ut = `${O}-group-${ge}`, jt = Ge ? null : `${
|
|
1852
|
+
const Ge = Ne[0].isHeading, qe = Ge ? `${O}-group-${ge}-heading` : "", Ut = `${O}-group-${ge}`, jt = Ge ? null : `${u} ${je + 1}`;
|
|
1853
1853
|
return /* @__PURE__ */ e.createElement(
|
|
1854
1854
|
"ul",
|
|
1855
1855
|
{
|
|
@@ -1899,7 +1899,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1899
1899
|
id: O,
|
|
1900
1900
|
isSplitButton: r,
|
|
1901
1901
|
label: m,
|
|
1902
|
-
size:
|
|
1902
|
+
size: p,
|
|
1903
1903
|
variant: d,
|
|
1904
1904
|
displayType: n,
|
|
1905
1905
|
iconName: "angleDown",
|
|
@@ -1920,7 +1920,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1920
1920
|
{
|
|
1921
1921
|
id: O,
|
|
1922
1922
|
ariaLabel: U,
|
|
1923
|
-
size:
|
|
1923
|
+
size: p,
|
|
1924
1924
|
variant: "standard",
|
|
1925
1925
|
iconName: s,
|
|
1926
1926
|
type: "button",
|
|
@@ -1985,7 +1985,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1985
1985
|
x ? /* @__PURE__ */ e.createElement(e.Fragment, null, ve, /* @__PURE__ */ e.createElement(r2, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, Ze, e2(c))
|
|
1986
1986
|
);
|
|
1987
1987
|
}, Yn = (g) => {
|
|
1988
|
-
var
|
|
1988
|
+
var u = g, {
|
|
1989
1989
|
disabled: t = !1,
|
|
1990
1990
|
id: n,
|
|
1991
1991
|
defaultValue: s,
|
|
@@ -1995,7 +1995,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
1995
1995
|
size: c = "md",
|
|
1996
1996
|
value: l,
|
|
1997
1997
|
className: o
|
|
1998
|
-
} =
|
|
1998
|
+
} = u, p = P(u, [
|
|
1999
1999
|
"disabled",
|
|
2000
2000
|
"id",
|
|
2001
2001
|
"defaultValue",
|
|
@@ -2021,7 +2021,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2021
2021
|
b,
|
|
2022
2022
|
o != null ? o : ""
|
|
2023
2023
|
])
|
|
2024
|
-
},
|
|
2024
|
+
}, p),
|
|
2025
2025
|
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, a),
|
|
2026
2026
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__options` }, m.map((f, E) => {
|
|
2027
2027
|
const $ = y ? l === f.value : _ === f.value, H = `${d}__option`, M = $ ? `${H}--checked` : null;
|
|
@@ -2063,7 +2063,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2063
2063
|
}))
|
|
2064
2064
|
);
|
|
2065
2065
|
}, y1 = (o) => {
|
|
2066
|
-
var
|
|
2066
|
+
var p = o, {
|
|
2067
2067
|
actionItems: t,
|
|
2068
2068
|
disabled: n,
|
|
2069
2069
|
id: s,
|
|
@@ -2071,7 +2071,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2071
2071
|
size: r = "md",
|
|
2072
2072
|
variant: m = "primary",
|
|
2073
2073
|
className: c
|
|
2074
|
-
} =
|
|
2074
|
+
} = p, l = P(p, [
|
|
2075
2075
|
"actionItems",
|
|
2076
2076
|
"disabled",
|
|
2077
2077
|
"id",
|
|
@@ -2080,7 +2080,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2080
2080
|
"variant",
|
|
2081
2081
|
"className"
|
|
2082
2082
|
]);
|
|
2083
|
-
const g = "pds-split-button",
|
|
2083
|
+
const g = "pds-split-button", u = `${g}--${m}`, d = t[0], b = t.slice(1);
|
|
2084
2084
|
let C = null;
|
|
2085
2085
|
return "isLink" in d && d.isLink === !0 ? C = /* @__PURE__ */ e.createElement(
|
|
2086
2086
|
_2,
|
|
@@ -2105,7 +2105,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2105
2105
|
)), /* @__PURE__ */ e.createElement(
|
|
2106
2106
|
"span",
|
|
2107
2107
|
w({
|
|
2108
|
-
className: z([g,
|
|
2108
|
+
className: z([g, u, c]),
|
|
2109
2109
|
id: s
|
|
2110
2110
|
}, l),
|
|
2111
2111
|
C,
|
|
@@ -2137,9 +2137,9 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2137
2137
|
isMonospace: c = !1,
|
|
2138
2138
|
label: l,
|
|
2139
2139
|
onClick: o,
|
|
2140
|
-
tooltipText:
|
|
2140
|
+
tooltipText: p,
|
|
2141
2141
|
className: g
|
|
2142
|
-
} = b,
|
|
2142
|
+
} = b, u = P(b, [
|
|
2143
2143
|
"buttonProps",
|
|
2144
2144
|
"disabled",
|
|
2145
2145
|
"iconName",
|
|
@@ -2183,8 +2183,8 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2183
2183
|
i,
|
|
2184
2184
|
g != null ? g : ""
|
|
2185
2185
|
])
|
|
2186
|
-
},
|
|
2187
|
-
|
|
2186
|
+
}, u),
|
|
2187
|
+
p ? /* @__PURE__ */ e.createElement(Ve, { content: p, customTrigger: E }) : E
|
|
2188
2188
|
);
|
|
2189
2189
|
}, P2 = {
|
|
2190
2190
|
info: "circleInfo",
|
|
@@ -2216,11 +2216,11 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2216
2216
|
"typeLabels",
|
|
2217
2217
|
"className"
|
|
2218
2218
|
]);
|
|
2219
|
-
const o = "pds-callout",
|
|
2219
|
+
const o = "pds-callout", p = `${o}--${s}`, g = `${a[s]}: `;
|
|
2220
2220
|
return /* @__PURE__ */ e.createElement(
|
|
2221
2221
|
"div",
|
|
2222
2222
|
w({
|
|
2223
|
-
className: [o,
|
|
2223
|
+
className: [o, p, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
2224
2224
|
}, m),
|
|
2225
2225
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon--${s}` }, /* @__PURE__ */ e.createElement(
|
|
2226
2226
|
j,
|
|
@@ -2242,18 +2242,18 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2242
2242
|
"padding",
|
|
2243
2243
|
"className"
|
|
2244
2244
|
]);
|
|
2245
|
-
const l = "pds-card", o = t !== "default" ? `${l}--${t}` : null,
|
|
2245
|
+
const l = "pds-card", o = t !== "default" ? `${l}--${t}` : null, p = s !== "standard" ? `${l}--pad-${s}` : null, g = Fe(n), u = g.image, d = g.main;
|
|
2246
2246
|
return /* @__PURE__ */ e.createElement(
|
|
2247
2247
|
"div",
|
|
2248
2248
|
w({
|
|
2249
2249
|
className: z([
|
|
2250
2250
|
l,
|
|
2251
2251
|
o,
|
|
2252
|
-
|
|
2252
|
+
p,
|
|
2253
2253
|
a != null ? a : ""
|
|
2254
2254
|
])
|
|
2255
2255
|
}, r),
|
|
2256
|
-
|
|
2256
|
+
u && /* @__PURE__ */ e.createElement("div", { className: `${l}__image` }, u[0]),
|
|
2257
2257
|
d && /* @__PURE__ */ e.createElement("div", { className: `${l}__main` }, d)
|
|
2258
2258
|
);
|
|
2259
2259
|
}, tt = (c) => {
|
|
@@ -2270,13 +2270,13 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2270
2270
|
"text",
|
|
2271
2271
|
"className"
|
|
2272
2272
|
]);
|
|
2273
|
-
const o = "pds-card-heading",
|
|
2273
|
+
const o = "pds-card-heading", p = t === "XL" ? "pds-ts-xl" : "pds-ts-l", g = n === "bold" ? "pds-fw-bold" : "pds-fw-semibold";
|
|
2274
2274
|
return /* @__PURE__ */ e.createElement(
|
|
2275
2275
|
Ye,
|
|
2276
2276
|
w({
|
|
2277
2277
|
className: z([
|
|
2278
2278
|
o,
|
|
2279
|
-
|
|
2279
|
+
p,
|
|
2280
2280
|
g,
|
|
2281
2281
|
r != null ? r : ""
|
|
2282
2282
|
]),
|
|
@@ -2284,8 +2284,8 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2284
2284
|
}, m),
|
|
2285
2285
|
a
|
|
2286
2286
|
);
|
|
2287
|
-
}, e4 = (
|
|
2288
|
-
var g =
|
|
2287
|
+
}, e4 = (p) => {
|
|
2288
|
+
var g = p, {
|
|
2289
2289
|
id: t,
|
|
2290
2290
|
defaultValue: n,
|
|
2291
2291
|
label: s,
|
|
@@ -2304,9 +2304,9 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2304
2304
|
"options",
|
|
2305
2305
|
"className"
|
|
2306
2306
|
]);
|
|
2307
|
-
const
|
|
2308
|
-
let d = `${
|
|
2309
|
-
a === "center" && (d = `${
|
|
2307
|
+
const u = "pds-card-select-group";
|
|
2308
|
+
let d = `${u}__legend`;
|
|
2309
|
+
a === "center" && (d = `${u}__legend ${u}__legend--center`), a === "hidden" && (d = `${u}__legend visually-hidden`);
|
|
2310
2310
|
const [b, C] = Q(n), y = (E) => {
|
|
2311
2311
|
C(E.currentTarget.value), m && m(E.currentTarget.value);
|
|
2312
2312
|
}, v = c.length, _ = "pds-grid-item", h = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-6", i = "pds-grid-item pds-grid-item--sm-4 pds-grid-item--md-4";
|
|
@@ -2314,14 +2314,14 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2314
2314
|
return r === "twoAcross" ? f = h : r === "threeAcross" ? f = i : r === "auto" && (v === 1 ? f = _ : v % 3 === 0 ? f = i : v % 2 === 0 ? f = h : f = i), /* @__PURE__ */ e.createElement(
|
|
2315
2315
|
"fieldset",
|
|
2316
2316
|
w({
|
|
2317
|
-
className: [
|
|
2317
|
+
className: [u, l].join(" ").trim().replace(/\s+/g, " "),
|
|
2318
2318
|
id: t
|
|
2319
2319
|
}, o),
|
|
2320
2320
|
/* @__PURE__ */ e.createElement("legend", { className: d }, s),
|
|
2321
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
2321
|
+
/* @__PURE__ */ e.createElement("div", { className: `${u}__options pds-grid pds-grid--narrow` }, c.map((E, $) => /* @__PURE__ */ e.createElement(
|
|
2322
2322
|
"div",
|
|
2323
2323
|
{
|
|
2324
|
-
className: [`${
|
|
2324
|
+
className: [`${u}__option`, f].join(" ").trim().replace(/\s+/g, " "),
|
|
2325
2325
|
key: `${t}-option-${$}`
|
|
2326
2326
|
},
|
|
2327
2327
|
/* @__PURE__ */ e.createElement(
|
|
@@ -2339,17 +2339,17 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2339
2339
|
"label",
|
|
2340
2340
|
{
|
|
2341
2341
|
htmlFor: E.id ? E.id : `${t}-option-${$}`,
|
|
2342
|
-
className: b === E.value ? `${
|
|
2342
|
+
className: b === E.value ? `${u}__option-label ${u}__option-label--selected` : `${u}__option-label`
|
|
2343
2343
|
},
|
|
2344
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
2344
|
+
/* @__PURE__ */ e.createElement("div", { className: `${u}__option-label-indicator` }, /* @__PURE__ */ e.createElement(
|
|
2345
2345
|
j,
|
|
2346
2346
|
{
|
|
2347
2347
|
iconName: b === E.value ? "circleCheck" : "circle",
|
|
2348
2348
|
iconSize: "xl",
|
|
2349
|
-
className: b === E.value ? `${
|
|
2349
|
+
className: b === E.value ? `${u}__option-icon ${u}__option-icon--selected` : `${u}__option-icon`
|
|
2350
2350
|
}
|
|
2351
2351
|
)),
|
|
2352
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
2352
|
+
/* @__PURE__ */ e.createElement("div", { className: `${u}__option-label-text` }, E.label, E.description && /* @__PURE__ */ e.createElement("div", { className: `${u}__option-description` }, E.description))
|
|
2353
2353
|
)
|
|
2354
2354
|
)))
|
|
2355
2355
|
);
|
|
@@ -2369,17 +2369,17 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2369
2369
|
"summary",
|
|
2370
2370
|
"className"
|
|
2371
2371
|
]);
|
|
2372
|
-
const
|
|
2373
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([
|
|
2372
|
+
const p = "pds-empty-state-card";
|
|
2373
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([p, m != null ? m : ""]) }, c), /* @__PURE__ */ e.createElement("div", { className: `${p}__text` }, /* @__PURE__ */ e.createElement(
|
|
2374
2374
|
tt,
|
|
2375
2375
|
{
|
|
2376
|
-
className: `${
|
|
2376
|
+
className: `${p}__heading`,
|
|
2377
2377
|
fontSize: "XL",
|
|
2378
2378
|
fontWeight: "semibold",
|
|
2379
2379
|
level: t,
|
|
2380
2380
|
text: n
|
|
2381
2381
|
}
|
|
2382
|
-
), /* @__PURE__ */ e.createElement("p", { className: `${
|
|
2382
|
+
), /* @__PURE__ */ e.createElement("p", { className: `${p}__summary` }, r)), /* @__PURE__ */ e.createElement(
|
|
2383
2383
|
_2,
|
|
2384
2384
|
{
|
|
2385
2385
|
displayType: s ? "icon-end" : "label-only",
|
|
@@ -2387,7 +2387,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2387
2387
|
size: "md",
|
|
2388
2388
|
variant: "secondary",
|
|
2389
2389
|
iconName: "externalLink",
|
|
2390
|
-
className: `${
|
|
2390
|
+
className: `${p}__cta`
|
|
2391
2391
|
}
|
|
2392
2392
|
));
|
|
2393
2393
|
}, n4 = (m) => {
|
|
@@ -2411,7 +2411,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2411
2411
|
level: n,
|
|
2412
2412
|
text: s
|
|
2413
2413
|
}
|
|
2414
|
-
), t && /* @__PURE__ */ e.createElement("ul", { className: `${l}__list`, role: "list" }, t.map((
|
|
2414
|
+
), t && /* @__PURE__ */ e.createElement("ul", { className: `${l}__list`, role: "list" }, t.map((p, g) => /* @__PURE__ */ e.createElement("li", { key: g, className: "pds-cta-links-card__item" }, p)))));
|
|
2415
2415
|
return /* @__PURE__ */ e.createElement("div", w({ className: z([l, a != null ? a : ""]) }, r), o);
|
|
2416
2416
|
}, w1 = (a) => {
|
|
2417
2417
|
var r = a, {
|
|
@@ -2424,22 +2424,22 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2424
2424
|
const m = "pds-platform-icon", c = `pds-platform-icon--${t}`;
|
|
2425
2425
|
let l;
|
|
2426
2426
|
if (["front-end-sites", "gatsby-wp", "next-drupal", "next-wp"].includes(t)) {
|
|
2427
|
-
let
|
|
2427
|
+
let p = [];
|
|
2428
2428
|
switch (t) {
|
|
2429
2429
|
case "front-end-sites":
|
|
2430
|
-
|
|
2430
|
+
p = ["next", "gatsby"];
|
|
2431
2431
|
break;
|
|
2432
2432
|
case "next-drupal":
|
|
2433
|
-
|
|
2433
|
+
p = ["next", "drupal"];
|
|
2434
2434
|
break;
|
|
2435
2435
|
case "gatsby-wp":
|
|
2436
|
-
|
|
2436
|
+
p = ["gatsby", "wordpress"];
|
|
2437
2437
|
break;
|
|
2438
2438
|
case "next-wp":
|
|
2439
|
-
|
|
2439
|
+
p = ["next", "wordpress"];
|
|
2440
2440
|
break;
|
|
2441
2441
|
}
|
|
2442
|
-
l = /* @__PURE__ */ e.createElement("span", { className: `${m}__group` }, F2[
|
|
2442
|
+
l = /* @__PURE__ */ e.createElement("span", { className: `${m}__group` }, F2[p[0]], F2[p[1]]);
|
|
2443
2443
|
} else
|
|
2444
2444
|
l = F2[t];
|
|
2445
2445
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -2690,7 +2690,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2690
2690
|
}, pt = {
|
|
2691
2691
|
"early-access": { label: "Early Access", color: "success" }
|
|
2692
2692
|
}, s4 = (g) => {
|
|
2693
|
-
var
|
|
2693
|
+
var u = g, {
|
|
2694
2694
|
badge: t,
|
|
2695
2695
|
icon: n,
|
|
2696
2696
|
newWindowString: s = "Opens new window",
|
|
@@ -2700,7 +2700,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2700
2700
|
selectionLink: c,
|
|
2701
2701
|
supplementalLinks: l,
|
|
2702
2702
|
className: o
|
|
2703
|
-
} =
|
|
2703
|
+
} = u, p = P(u, [
|
|
2704
2704
|
"badge",
|
|
2705
2705
|
"icon",
|
|
2706
2706
|
"newWindowString",
|
|
@@ -2747,7 +2747,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
2747
2747
|
), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s))
|
|
2748
2748
|
);
|
|
2749
2749
|
}))));
|
|
2750
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([d, o != null ? o : ""]) },
|
|
2750
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([d, o != null ? o : ""]) }, p), C);
|
|
2751
2751
|
}, L1 = {
|
|
2752
2752
|
amex: /* @__PURE__ */ e.createElement(
|
|
2753
2753
|
"svg",
|
|
@@ -3085,7 +3085,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3085
3085
|
]);
|
|
3086
3086
|
return /* @__PURE__ */ e.createElement("div", w({ className: z(["pds-payment-icon", n != null ? n : ""]) }, s), L1[t]);
|
|
3087
3087
|
}, l4 = (g) => {
|
|
3088
|
-
var
|
|
3088
|
+
var u = g, {
|
|
3089
3089
|
cardType: t,
|
|
3090
3090
|
cardNumber: n,
|
|
3091
3091
|
cardholderName: s,
|
|
@@ -3095,7 +3095,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3095
3095
|
detailsCallback: c,
|
|
3096
3096
|
selectionCallback: l,
|
|
3097
3097
|
className: o
|
|
3098
|
-
} =
|
|
3098
|
+
} = u, p = P(u, [
|
|
3099
3099
|
"cardType",
|
|
3100
3100
|
"cardNumber",
|
|
3101
3101
|
"cardholderName",
|
|
@@ -3107,7 +3107,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3107
3107
|
"className"
|
|
3108
3108
|
]);
|
|
3109
3109
|
const d = "pds-payment-card";
|
|
3110
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([d, o != null ? o : ""]) },
|
|
3110
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([d, o != null ? o : ""]) }, p), /* @__PURE__ */ e.createElement(
|
|
3111
3111
|
"div",
|
|
3112
3112
|
{
|
|
3113
3113
|
className: `${d}__main`,
|
|
@@ -3154,24 +3154,24 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3154
3154
|
"typeLabels",
|
|
3155
3155
|
"className"
|
|
3156
3156
|
]);
|
|
3157
|
-
const
|
|
3158
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([
|
|
3157
|
+
const p = "pds-comparison-list";
|
|
3158
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([p, m != null ? m : ""]) }, c), n && /* @__PURE__ */ e.createElement("div", { className: `${p}__intro` }, n), t && /* @__PURE__ */ e.createElement("ul", { className: `${p}__list` }, t.map((g, u) => /* @__PURE__ */ e.createElement(
|
|
3159
3159
|
"li",
|
|
3160
3160
|
{
|
|
3161
|
-
key:
|
|
3162
|
-
className: `${
|
|
3161
|
+
key: u,
|
|
3162
|
+
className: `${p}__list-item ${p}__list-item--${g.type}`
|
|
3163
3163
|
},
|
|
3164
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
3164
|
+
/* @__PURE__ */ e.createElement("div", { className: `${p}__item-icon-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
3165
3165
|
j,
|
|
3166
3166
|
{
|
|
3167
3167
|
iconName: M1[g.type],
|
|
3168
3168
|
iconSize: "md",
|
|
3169
|
-
className: `${
|
|
3169
|
+
className: `${p}__item-icon`
|
|
3170
3170
|
}
|
|
3171
3171
|
)),
|
|
3172
3172
|
a && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, r[g.type], ":", " "),
|
|
3173
3173
|
g.text
|
|
3174
|
-
))), s && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
3174
|
+
))), s && /* @__PURE__ */ e.createElement("div", { className: `${p}__more-link` }, s));
|
|
3175
3175
|
}, k1 = ({
|
|
3176
3176
|
label: t,
|
|
3177
3177
|
children: n
|
|
@@ -3192,9 +3192,9 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3192
3192
|
message: c,
|
|
3193
3193
|
onBlur: l,
|
|
3194
3194
|
onFocus: o,
|
|
3195
|
-
onOptionSelect:
|
|
3195
|
+
onOptionSelect: p,
|
|
3196
3196
|
options: g,
|
|
3197
|
-
required:
|
|
3197
|
+
required: u = !1,
|
|
3198
3198
|
showLabel: d = !0,
|
|
3199
3199
|
tooltipText: b = null,
|
|
3200
3200
|
validationMessage: C,
|
|
@@ -3222,7 +3222,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3222
3222
|
"className"
|
|
3223
3223
|
]);
|
|
3224
3224
|
var r2, t2;
|
|
3225
|
-
const E = Qe(a), $ = "pds-select", H = n ? ne.disabled : null, M =
|
|
3225
|
+
const E = Qe(a), $ = "pds-select", H = n ? ne.disabled : null, M = u && !n ? ne.required : null, L = y === "error" ? ne.error : null, k = y === "success" ? ne.success : null;
|
|
3226
3226
|
let N = null;
|
|
3227
3227
|
y === "error" && (N = "error"), y === "success" && (N = "success");
|
|
3228
3228
|
const x = C || c, R = typeof v != "undefined", D = typeof t != "undefined", O = ((be) => be.reduce((we, ve) => mt(ve) ? [...we, ...ve.options] : [...we, ve], []))(g), F = (be) => O.findIndex((we) => we.value === be), G = R && F(v) >= 0 ? F(v) : null, K = D ? F(t) : null, J = G || K, [te, Z] = Q(!1), [B, q] = Q(null), [A, I] = Q(
|
|
@@ -3270,7 +3270,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3270
3270
|
}
|
|
3271
3271
|
}), He = (be) => {
|
|
3272
3272
|
const we = O[be];
|
|
3273
|
-
R || (I(be), Z(!1)),
|
|
3273
|
+
R || (I(be), Z(!1)), p && p(we);
|
|
3274
3274
|
};
|
|
3275
3275
|
le(() => {
|
|
3276
3276
|
if (R) {
|
|
@@ -3365,7 +3365,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3365
3365
|
label: r,
|
|
3366
3366
|
showLabel: d,
|
|
3367
3367
|
tooltipText: b,
|
|
3368
|
-
required:
|
|
3368
|
+
required: u,
|
|
3369
3369
|
disabled: n
|
|
3370
3370
|
}
|
|
3371
3371
|
),
|
|
@@ -3422,9 +3422,9 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3422
3422
|
mostPopular: "Most popular"
|
|
3423
3423
|
},
|
|
3424
3424
|
selectLabel: o = "Select a plan size",
|
|
3425
|
-
statusBadgeType:
|
|
3425
|
+
statusBadgeType: p,
|
|
3426
3426
|
className: g
|
|
3427
|
-
} = b,
|
|
3427
|
+
} = b, u = P(b, [
|
|
3428
3428
|
"actionPrimary",
|
|
3429
3429
|
"actionSecondary",
|
|
3430
3430
|
"hasComparisonList",
|
|
@@ -3437,7 +3437,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3437
3437
|
"statusBadgeType",
|
|
3438
3438
|
"className"
|
|
3439
3439
|
]);
|
|
3440
|
-
const C = "pds-pricing-card", y = `${C}-container`, v = s ? `${y}--with-list` : null, _ =
|
|
3440
|
+
const C = "pds-pricing-card", y = `${C}-container`, v = s ? `${y}--with-list` : null, _ = p ? `${C}--${p}` : null, h = (D) => D.toLowerCase().replace(/\s/g, "-"), i = c && c.length > 1, [f, E] = Q(
|
|
3441
3441
|
h(c[0].label)
|
|
3442
3442
|
), [$, H] = Q(
|
|
3443
3443
|
t.label
|
|
@@ -3561,19 +3561,19 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3561
3561
|
"div",
|
|
3562
3562
|
w({
|
|
3563
3563
|
className: z([y, v, g])
|
|
3564
|
-
},
|
|
3565
|
-
/* @__PURE__ */ e.createElement("div", { className: z([C, _]) },
|
|
3564
|
+
}, u),
|
|
3565
|
+
/* @__PURE__ */ e.createElement("div", { className: z([C, _]) }, p && /* @__PURE__ */ e.createElement(
|
|
3566
3566
|
Y2,
|
|
3567
3567
|
{
|
|
3568
3568
|
className: `${C}__status-badge`,
|
|
3569
|
-
label: l[
|
|
3570
|
-
color:
|
|
3569
|
+
label: l[p],
|
|
3570
|
+
color: p === "mostPopular" ? "reverse" : "neutral"
|
|
3571
3571
|
}
|
|
3572
3572
|
), /* @__PURE__ */ e.createElement("div", { className: `${C}__main-content` }, m && /* @__PURE__ */ e.createElement("div", { className: `${C}__plan pds-overline-text` }, m), M, r && /* @__PURE__ */ e.createElement("div", { className: `${C}__description` }, r), N), /* @__PURE__ */ e.createElement("div", { className: `${C}__actions` }, t && x, t && n && R)),
|
|
3573
3573
|
s && L
|
|
3574
3574
|
);
|
|
3575
|
-
}, c4 = (
|
|
3576
|
-
var g =
|
|
3575
|
+
}, c4 = (p) => {
|
|
3576
|
+
var g = p, {
|
|
3577
3577
|
gotoText: t = "Go to",
|
|
3578
3578
|
headingLevel: n = "h3",
|
|
3579
3579
|
siteImage: s,
|
|
@@ -3592,7 +3592,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3592
3592
|
"siteStatus",
|
|
3593
3593
|
"className"
|
|
3594
3594
|
]);
|
|
3595
|
-
const
|
|
3595
|
+
const u = "pds-site-card";
|
|
3596
3596
|
let d, b;
|
|
3597
3597
|
c === "active" && (d = "Active", b = "success"), c === "frozen" && (d = "Frozen", b = "frozen");
|
|
3598
3598
|
const C = /* @__PURE__ */ e.createElement(
|
|
@@ -3602,7 +3602,7 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3602
3602
|
statusType: b,
|
|
3603
3603
|
hasStatusIndicator: !0
|
|
3604
3604
|
}
|
|
3605
|
-
), y = /* @__PURE__ */ e.createElement(I2, null, /* @__PURE__ */ e.createElement("img", { slot: "image", src: s, alt: "" }), /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${
|
|
3605
|
+
), y = /* @__PURE__ */ e.createElement(I2, null, /* @__PURE__ */ e.createElement("img", { slot: "image", src: s, alt: "" }), /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${u}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${u}__header` }, /* @__PURE__ */ e.createElement(
|
|
3606
3606
|
tt,
|
|
3607
3607
|
{
|
|
3608
3608
|
fontSize: "L",
|
|
@@ -3610,12 +3610,12 @@ const T2 = 300, _1 = 400, Ve = (p) => {
|
|
|
3610
3610
|
level: n,
|
|
3611
3611
|
text: r
|
|
3612
3612
|
}
|
|
3613
|
-
), C), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
3614
|
-
className: `${
|
|
3613
|
+
), C), /* @__PURE__ */ e.createElement("div", { className: `${u}__plan` }, m))), v = Me(a) ? Se(a, ie(w({}, a.props), {
|
|
3614
|
+
className: `${u}__link`,
|
|
3615
3615
|
children: y,
|
|
3616
3616
|
"aria-label": `${t} ${r} dashboard`
|
|
3617
3617
|
})) : null;
|
|
3618
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([
|
|
3618
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([u, l != null ? l : ""]) }, o), v);
|
|
3619
3619
|
};
|
|
3620
3620
|
var ft = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
3621
3621
|
function z1(t) {
|
|
@@ -4157,7 +4157,7 @@ var Ot = { exports: {} };
|
|
|
4157
4157
|
i[E] = f[E];
|
|
4158
4158
|
delete i.rest;
|
|
4159
4159
|
}
|
|
4160
|
-
var $ = new
|
|
4160
|
+
var $ = new u();
|
|
4161
4161
|
return d($, $.head, h), g(h, $, i, $.head, 0), C($);
|
|
4162
4162
|
},
|
|
4163
4163
|
/**
|
|
@@ -4228,7 +4228,7 @@ var Ot = { exports: {} };
|
|
|
4228
4228
|
M += " " + L + '="' + ($.attributes[L] || "").replace(/"/g, """) + '"';
|
|
4229
4229
|
return "<" + $.tag + ' class="' + $.classes.join(" ") + '"' + M + ">" + $.content + "</" + $.tag + ">";
|
|
4230
4230
|
};
|
|
4231
|
-
function
|
|
4231
|
+
function p(h, i, f, E) {
|
|
4232
4232
|
h.lastIndex = i;
|
|
4233
4233
|
var $ = h.exec(f);
|
|
4234
4234
|
if ($ && E && $[1]) {
|
|
@@ -4257,7 +4257,7 @@ var Ot = { exports: {} };
|
|
|
4257
4257
|
if (!(J instanceof o)) {
|
|
4258
4258
|
var te = 1, Z;
|
|
4259
4259
|
if (D) {
|
|
4260
|
-
if (Z =
|
|
4260
|
+
if (Z = p(F, K, h, R), !Z || Z.index >= h.length)
|
|
4261
4261
|
break;
|
|
4262
4262
|
var I = Z.index, B = Z.index + Z[0].length, q = K;
|
|
4263
4263
|
for (q += G.value.length; I >= q; )
|
|
@@ -4267,7 +4267,7 @@ var Ot = { exports: {} };
|
|
|
4267
4267
|
for (var A = G; A !== i.tail && (q < B || typeof A.value == "string"); A = A.next)
|
|
4268
4268
|
te++, q += A.value.length;
|
|
4269
4269
|
te--, J = h.slice(K, q), Z.index -= K;
|
|
4270
|
-
} else if (Z =
|
|
4270
|
+
} else if (Z = p(F, 0, J, R), !Z)
|
|
4271
4271
|
continue;
|
|
4272
4272
|
var I = Z.index, S = Z[0], V = J.slice(0, I), T = J.slice(I + S.length), X = K + J.length;
|
|
4273
4273
|
H && X > H.reach && (H.reach = X);
|
|
@@ -4286,7 +4286,7 @@ var Ot = { exports: {} };
|
|
|
4286
4286
|
}
|
|
4287
4287
|
}
|
|
4288
4288
|
}
|
|
4289
|
-
function
|
|
4289
|
+
function u() {
|
|
4290
4290
|
var h = { value: null, prev: null, next: null }, i = { value: null, prev: h, next: null };
|
|
4291
4291
|
h.next = i, this.head = h, this.tail = i, this.length = 0;
|
|
4292
4292
|
}
|
|
@@ -4520,8 +4520,8 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4520
4520
|
TYPE_SCALE_7XL: sn,
|
|
4521
4521
|
TYPE_SCALE_8XL: ln,
|
|
4522
4522
|
TYPE_SCALE_9XL: an
|
|
4523
|
-
}, cn = (
|
|
4524
|
-
var g =
|
|
4523
|
+
}, cn = (p) => {
|
|
4524
|
+
var g = p, {
|
|
4525
4525
|
colorType: t = "regular",
|
|
4526
4526
|
isAnimated: n = !0,
|
|
4527
4527
|
shape: s = "rounded",
|
|
@@ -4540,7 +4540,7 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4540
4540
|
"textSize",
|
|
4541
4541
|
"className"
|
|
4542
4542
|
]);
|
|
4543
|
-
const
|
|
4543
|
+
const u = "pds-skeleton", d = `${u}--${s}`, b = n ? `pds-pulse pds-pulse--${t}` : `${u}--${t}`, C = ["text-block", "code-block", "code-block-prefix"], y = a != null && a.height ? typeof a.height == "number" ? `${a.height}rem` : `${gt[`SPACING_${a.height.toUpperCase()}`]}rem` : "1rem", v = a != null && a.width ? typeof a.width == "number" ? `${a.width}rem` : `${gt[`SPACING_${a.width.toUpperCase()}`]}rem` : "100%";
|
|
4544
4544
|
let _ = {
|
|
4545
4545
|
height: y,
|
|
4546
4546
|
width: v
|
|
@@ -4552,7 +4552,7 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4552
4552
|
"div",
|
|
4553
4553
|
w({
|
|
4554
4554
|
className: z([
|
|
4555
|
-
|
|
4555
|
+
u,
|
|
4556
4556
|
b,
|
|
4557
4557
|
d,
|
|
4558
4558
|
l != null ? l : ""
|
|
@@ -4583,7 +4583,7 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4583
4583
|
"div",
|
|
4584
4584
|
w({
|
|
4585
4585
|
className: z([
|
|
4586
|
-
`${
|
|
4586
|
+
`${u}-group`,
|
|
4587
4587
|
s === "code-block-prefix" ? d : "",
|
|
4588
4588
|
l != null ? l : ""
|
|
4589
4589
|
]),
|
|
@@ -4597,7 +4597,7 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4597
4597
|
"div",
|
|
4598
4598
|
{
|
|
4599
4599
|
key: R,
|
|
4600
|
-
className: z([`${
|
|
4600
|
+
className: z([`${u}-line`]),
|
|
4601
4601
|
style: s === "code-block-prefix" ? {
|
|
4602
4602
|
gap: H,
|
|
4603
4603
|
opacity: k(R)
|
|
@@ -4609,9 +4609,9 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4609
4609
|
"div",
|
|
4610
4610
|
{
|
|
4611
4611
|
className: z([
|
|
4612
|
-
|
|
4612
|
+
u,
|
|
4613
4613
|
b,
|
|
4614
|
-
`${
|
|
4614
|
+
`${u}--rounded`
|
|
4615
4615
|
]),
|
|
4616
4616
|
style: {
|
|
4617
4617
|
width: L(),
|
|
@@ -4622,7 +4622,7 @@ const V1 = /* @__PURE__ */ z1(x1), S1 = {
|
|
|
4622
4622
|
/* @__PURE__ */ e.createElement(
|
|
4623
4623
|
"div",
|
|
4624
4624
|
{
|
|
4625
|
-
className: z([
|
|
4625
|
+
className: z([u, b, d]),
|
|
4626
4626
|
style: {
|
|
4627
4627
|
width: s === "code-block-prefix" ? `calc(${M(R)} - ${L()} - ${H})` : M(R),
|
|
4628
4628
|
height: `var(--pds-typography-size-${c})`
|
|
@@ -4905,9 +4905,9 @@ const r4 = (v) => {
|
|
|
4905
4905
|
height: c,
|
|
4906
4906
|
isLoading: l,
|
|
4907
4907
|
language: o,
|
|
4908
|
-
loadingLineCount:
|
|
4908
|
+
loadingLineCount: p = 1,
|
|
4909
4909
|
maxHeight: g,
|
|
4910
|
-
promptSymbol:
|
|
4910
|
+
promptSymbol: u = "$",
|
|
4911
4911
|
renderAsLegacy: d = !1,
|
|
4912
4912
|
shouldWrap: b = !1,
|
|
4913
4913
|
className: C
|
|
@@ -4934,7 +4934,7 @@ const r4 = (v) => {
|
|
|
4934
4934
|
cn,
|
|
4935
4935
|
{
|
|
4936
4936
|
className: `${h}__skeleton`,
|
|
4937
|
-
textLineCount:
|
|
4937
|
+
textLineCount: p,
|
|
4938
4938
|
shape: r || m ? "code-block-prefix" : "code-block",
|
|
4939
4939
|
colorType: n === "dark" ? "bold" : "regular"
|
|
4940
4940
|
}
|
|
@@ -4950,7 +4950,7 @@ const r4 = (v) => {
|
|
|
4950
4950
|
className: `${h}__line-content`,
|
|
4951
4951
|
dangerouslySetInnerHTML: { __html: G }
|
|
4952
4952
|
}
|
|
4953
|
-
))), x = (O) => O.split(/<br\s*\/?>/i).map((G, K) => /* @__PURE__ */ e.createElement("div", { key: K, className: `${h}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${h}__prompt` },
|
|
4953
|
+
))), x = (O) => O.split(/<br\s*\/?>/i).map((G, K) => /* @__PURE__ */ e.createElement("div", { key: K, className: `${h}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${h}__prompt` }, u), /* @__PURE__ */ e.createElement(
|
|
4954
4954
|
"span",
|
|
4955
4955
|
{
|
|
4956
4956
|
className: `${h}__line-content`,
|
|
@@ -4981,7 +4981,7 @@ const r4 = (v) => {
|
|
|
4981
4981
|
)))
|
|
4982
4982
|
);
|
|
4983
4983
|
}
|
|
4984
|
-
const R = /* @__PURE__ */ e.createElement(m2.LineContent, null, /* @__PURE__ */ e.createElement(m2.Token, null)), D = /* @__PURE__ */ e.createElement("div", { className: `${h}__line ${f}` }, /* @__PURE__ */ e.createElement(m2.LineNumber, { className: `${h}__number` }), R), W = /* @__PURE__ */ e.createElement("div", { className: `${h}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${h}__prompt` },
|
|
4984
|
+
const R = /* @__PURE__ */ e.createElement(m2.LineContent, null, /* @__PURE__ */ e.createElement(m2.Token, null)), D = /* @__PURE__ */ e.createElement("div", { className: `${h}__line ${f}` }, /* @__PURE__ */ e.createElement(m2.LineNumber, { className: `${h}__number` }), R), W = /* @__PURE__ */ e.createElement("div", { className: `${h}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${h}__prompt` }, u), R);
|
|
4985
4985
|
return /* @__PURE__ */ e.createElement(
|
|
4986
4986
|
"div",
|
|
4987
4987
|
w({
|
|
@@ -5032,8 +5032,8 @@ const r4 = (v) => {
|
|
|
5032
5032
|
}
|
|
5033
5033
|
)
|
|
5034
5034
|
);
|
|
5035
|
-
}, o4 = (
|
|
5036
|
-
var g =
|
|
5035
|
+
}, o4 = (p) => {
|
|
5036
|
+
var g = p, {
|
|
5037
5037
|
backgroundColor: t = "default",
|
|
5038
5038
|
containerWidth: n = "standard",
|
|
5039
5039
|
headingLevel: s = "h2",
|
|
@@ -5052,22 +5052,22 @@ const r4 = (v) => {
|
|
|
5052
5052
|
"secondaryLinkContent",
|
|
5053
5053
|
"className"
|
|
5054
5054
|
]);
|
|
5055
|
-
const
|
|
5055
|
+
const u = "pds-cta-slice", d = t && t !== "default" ? `${u}--${t}` : null, b = n && n !== "standard" ? `pds-container pds-container--${n}` : "pds-container";
|
|
5056
5056
|
return /* @__PURE__ */ e.createElement(
|
|
5057
5057
|
"div",
|
|
5058
5058
|
w({
|
|
5059
|
-
className: z([
|
|
5059
|
+
className: z([u, d, l])
|
|
5060
5060
|
}, o),
|
|
5061
|
-
/* @__PURE__ */ e.createElement("div", { className: b }, a && /* @__PURE__ */ e.createElement(Ye, { baseClass:
|
|
5061
|
+
/* @__PURE__ */ e.createElement("div", { className: b }, a && /* @__PURE__ */ e.createElement(Ye, { baseClass: u, className: "pds-ts-4xl", level: s }, a), r && /* @__PURE__ */ e.createElement(
|
|
5062
5062
|
"div",
|
|
5063
5063
|
{
|
|
5064
|
-
className: `${
|
|
5064
|
+
className: `${u}__lead-text pds-lead-text pds-lead-text--sm`
|
|
5065
5065
|
},
|
|
5066
5066
|
r
|
|
5067
5067
|
), m && /* @__PURE__ */ e.createElement(
|
|
5068
5068
|
"div",
|
|
5069
5069
|
{
|
|
5070
|
-
className: `${
|
|
5070
|
+
className: `${u}__links pds-button-group pds-button-group--lg`
|
|
5071
5071
|
},
|
|
5072
5072
|
m,
|
|
5073
5073
|
c
|
|
@@ -5116,23 +5116,23 @@ const r4 = (v) => {
|
|
|
5116
5116
|
"headingLevel",
|
|
5117
5117
|
"className"
|
|
5118
5118
|
]);
|
|
5119
|
-
const
|
|
5120
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([
|
|
5119
|
+
const p = "pds-compact-empty-state";
|
|
5120
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([p, m != null ? m : ""]) }, c), t && /* @__PURE__ */ e.createElement(
|
|
5121
5121
|
j,
|
|
5122
5122
|
{
|
|
5123
5123
|
iconName: t,
|
|
5124
5124
|
iconSize: "xl",
|
|
5125
|
-
className: `${
|
|
5125
|
+
className: `${p}__icon`
|
|
5126
5126
|
}
|
|
5127
|
-
), /* @__PURE__ */ e.createElement("div", { className: `${
|
|
5127
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${p}__text` }, /* @__PURE__ */ e.createElement(
|
|
5128
5128
|
Ye,
|
|
5129
5129
|
{
|
|
5130
|
-
baseClass:
|
|
5130
|
+
baseClass: p,
|
|
5131
5131
|
className: "pds-ts-l pds-fw-bold",
|
|
5132
5132
|
level: r
|
|
5133
5133
|
},
|
|
5134
5134
|
a
|
|
5135
|
-
), s && /* @__PURE__ */ e.createElement("p", { className: `${
|
|
5135
|
+
), s && /* @__PURE__ */ e.createElement("p", { className: `${p}__message` }, s)), n && /* @__PURE__ */ e.createElement("div", { className: `${p}__link` }, n));
|
|
5136
5136
|
}, on = (r) => {
|
|
5137
5137
|
var m = r, {
|
|
5138
5138
|
platform: t = "youtube",
|
|
@@ -5162,7 +5162,7 @@ const r4 = (v) => {
|
|
|
5162
5162
|
);
|
|
5163
5163
|
return /* @__PURE__ */ e.createElement("div", w({ className: z([c, s != null ? s : ""]) }, a), t === "vimeo" ? o : l);
|
|
5164
5164
|
}, m4 = (g) => {
|
|
5165
|
-
var
|
|
5165
|
+
var u = g, {
|
|
5166
5166
|
alignment: t = "center",
|
|
5167
5167
|
ctaRegion: n,
|
|
5168
5168
|
image: s,
|
|
@@ -5172,7 +5172,7 @@ const r4 = (v) => {
|
|
|
5172
5172
|
message: c,
|
|
5173
5173
|
video: l,
|
|
5174
5174
|
className: o
|
|
5175
|
-
} =
|
|
5175
|
+
} = u, p = P(u, [
|
|
5176
5176
|
"alignment",
|
|
5177
5177
|
"ctaRegion",
|
|
5178
5178
|
"image",
|
|
@@ -5200,7 +5200,7 @@ const r4 = (v) => {
|
|
|
5200
5200
|
h,
|
|
5201
5201
|
o != null ? o : ""
|
|
5202
5202
|
])
|
|
5203
|
-
},
|
|
5203
|
+
}, p),
|
|
5204
5204
|
d && l && i,
|
|
5205
5205
|
/* @__PURE__ */ e.createElement("div", { className: `${C}__content` }, /* @__PURE__ */ e.createElement(
|
|
5206
5206
|
Ye,
|
|
@@ -5214,32 +5214,45 @@ const r4 = (v) => {
|
|
|
5214
5214
|
!d && s && !l && /* @__PURE__ */ e.createElement("div", { className: `${C}__media` }, /* @__PURE__ */ e.createElement("img", { className: `${C}__image`, src: s, alt: "" })),
|
|
5215
5215
|
!d && l && i
|
|
5216
5216
|
);
|
|
5217
|
-
}, u4 = (
|
|
5218
|
-
var
|
|
5217
|
+
}, u4 = (p) => {
|
|
5218
|
+
var g = p, {
|
|
5219
5219
|
ctaRegion: t,
|
|
5220
5220
|
image: n,
|
|
5221
|
-
|
|
5222
|
-
|
|
5223
|
-
|
|
5224
|
-
|
|
5225
|
-
|
|
5221
|
+
imageHeight: s = "auto",
|
|
5222
|
+
imageWidth: a = "auto",
|
|
5223
|
+
heading: r,
|
|
5224
|
+
headingLevel: m = "h2",
|
|
5225
|
+
message: c,
|
|
5226
|
+
className: l
|
|
5227
|
+
} = g, o = P(g, [
|
|
5226
5228
|
"ctaRegion",
|
|
5227
5229
|
"image",
|
|
5230
|
+
"imageHeight",
|
|
5231
|
+
"imageWidth",
|
|
5228
5232
|
"heading",
|
|
5229
5233
|
"headingLevel",
|
|
5230
5234
|
"message",
|
|
5231
5235
|
"className"
|
|
5232
5236
|
]);
|
|
5233
5237
|
const u = "pds-vertical-empty-state";
|
|
5234
|
-
return typeof
|
|
5238
|
+
return typeof c == "string" ? c = /* @__PURE__ */ e.createElement("p", { className: `${u}__message` }, c) : c = /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, c), /* @__PURE__ */ e.createElement("div", w({ className: z([u, l != null ? l : ""]) }, o), n && /* @__PURE__ */ e.createElement(
|
|
5239
|
+
"img",
|
|
5240
|
+
{
|
|
5241
|
+
className: `${u}__image`,
|
|
5242
|
+
height: s,
|
|
5243
|
+
width: a,
|
|
5244
|
+
src: n,
|
|
5245
|
+
alt: ""
|
|
5246
|
+
}
|
|
5247
|
+
), /* @__PURE__ */ e.createElement("div", { className: `${u}__text` }, /* @__PURE__ */ e.createElement(
|
|
5235
5248
|
Ye,
|
|
5236
5249
|
{
|
|
5237
5250
|
baseClass: u,
|
|
5238
5251
|
className: "pds-ts-2xl pds-fw-bold",
|
|
5239
|
-
level:
|
|
5252
|
+
level: m
|
|
5240
5253
|
},
|
|
5241
|
-
|
|
5242
|
-
),
|
|
5254
|
+
r
|
|
5255
|
+
), c && c), t && /* @__PURE__ */ e.createElement("div", { className: `${u}__cta` }, t));
|
|
5243
5256
|
}, p4 = (c) => {
|
|
5244
5257
|
var l = c, {
|
|
5245
5258
|
additions: t = 4,
|
|
@@ -5258,7 +5271,7 @@ const r4 = (v) => {
|
|
|
5258
5271
|
"className",
|
|
5259
5272
|
"componentWidth"
|
|
5260
5273
|
]);
|
|
5261
|
-
const o = "pds-file-diff",
|
|
5274
|
+
const o = "pds-file-diff", p = t + n, g = p > 0 ? n / p * 100 : 0, u = p > 0 ? t / p * 100 : 0, d = r !== null && r > 0 ? `${r}rem` : "100%";
|
|
5262
5275
|
return /* @__PURE__ */ e.createElement(
|
|
5263
5276
|
"div",
|
|
5264
5277
|
w({
|
|
@@ -5268,10 +5281,10 @@ const r4 = (v) => {
|
|
|
5268
5281
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__total-changes` }, /* @__PURE__ */ e.createElement(
|
|
5269
5282
|
Ve,
|
|
5270
5283
|
{
|
|
5271
|
-
content: `${
|
|
5284
|
+
content: `${p} ${s.linesChanged}`,
|
|
5272
5285
|
preferredPlacement: "top",
|
|
5273
5286
|
className: `${o}__tooltip`,
|
|
5274
|
-
customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${o}__total-changes-number` },
|
|
5287
|
+
customTrigger: /* @__PURE__ */ e.createElement("div", { className: `${o}__total-changes-number` }, p, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, ` ${s.linesChanged}`))
|
|
5275
5288
|
}
|
|
5276
5289
|
)),
|
|
5277
5290
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__bars` }, /* @__PURE__ */ e.createElement(
|
|
@@ -5293,7 +5306,7 @@ const r4 = (v) => {
|
|
|
5293
5306
|
"div",
|
|
5294
5307
|
{
|
|
5295
5308
|
className: `${o}__ahead`,
|
|
5296
|
-
style: { width: `${
|
|
5309
|
+
style: { width: `${u}%` }
|
|
5297
5310
|
},
|
|
5298
5311
|
/* @__PURE__ */ e.createElement(
|
|
5299
5312
|
Ve,
|
|
@@ -5316,9 +5329,9 @@ const r4 = (v) => {
|
|
|
5316
5329
|
"steps",
|
|
5317
5330
|
"className"
|
|
5318
5331
|
]);
|
|
5319
|
-
const c = "pds-flow-steps", l = `${c}--${t}`, o = n.map(({ header:
|
|
5320
|
-
const d = /* @__PURE__ */ e.createElement("div", { className: `${c}__number` }, /* @__PURE__ */ e.createElement("span", null,
|
|
5321
|
-
return /* @__PURE__ */ e.createElement("li", { key:
|
|
5332
|
+
const c = "pds-flow-steps", l = `${c}--${t}`, o = n.map(({ header: p, content: g }, u) => {
|
|
5333
|
+
const d = /* @__PURE__ */ e.createElement("div", { className: `${c}__number` }, /* @__PURE__ */ e.createElement("span", null, u + 1)), b = /* @__PURE__ */ e.createElement("div", { className: `${c}__header` }, p), C = g ? /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, g) : null;
|
|
5334
|
+
return /* @__PURE__ */ e.createElement("li", { key: u, className: `${c}__step` }, t === "indented" && /* @__PURE__ */ e.createElement(e.Fragment, null, d, /* @__PURE__ */ e.createElement("div", { className: `${c}__content-group` }, b, C)), t === "left" && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${c}__header-group` }, d, b), C));
|
|
5322
5335
|
});
|
|
5323
5336
|
return /* @__PURE__ */ e.createElement(
|
|
5324
5337
|
"ol",
|
|
@@ -5369,7 +5382,7 @@ const r4 = (v) => {
|
|
|
5369
5382
|
className: `${l}__heading`,
|
|
5370
5383
|
headingText: n
|
|
5371
5384
|
}
|
|
5372
|
-
), /* @__PURE__ */ e.createElement("ul", { className: `${l}__list`, role: "list" }, s.map((o,
|
|
5385
|
+
), /* @__PURE__ */ e.createElement("ul", { className: `${l}__list`, role: "list" }, s.map((o, p) => /* @__PURE__ */ e.createElement("li", { key: p, className: `${l}__item` }, o))));
|
|
5373
5386
|
}, g4 = (m) => {
|
|
5374
5387
|
var c = m, {
|
|
5375
5388
|
containerWidth: t = "standard",
|
|
@@ -5389,8 +5402,8 @@ const r4 = (v) => {
|
|
|
5389
5402
|
"legalLinks",
|
|
5390
5403
|
"className"
|
|
5391
5404
|
]);
|
|
5392
|
-
const l = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container",
|
|
5393
|
-
return /* @__PURE__ */ e.createElement("footer", w({ className: z([l, a != null ? a : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, n && /* @__PURE__ */ e.createElement("div", { className: `${l}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${l}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${l}__copyright` }, "© ",
|
|
5405
|
+
const l = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", p = (/* @__PURE__ */ new Date()).getFullYear(), g = s.includes("privacy"), u = s.includes("dataSubjectRequest"), d = s.includes("cookiePolicy"), b = s.includes("termsOfUse"), C = s.includes("acceptableUse"), y = s.includes("accessibilityStatement");
|
|
5406
|
+
return /* @__PURE__ */ e.createElement("footer", w({ className: z([l, a != null ? a : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, n && /* @__PURE__ */ e.createElement("div", { className: `${l}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${l}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${l}__copyright` }, "© ", p, " Pantheon Systems, Inc."), g && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), u && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), d && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), b && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), C && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), y && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
|
|
5394
5407
|
}, mn = Ue(
|
|
5395
5408
|
(H, $) => {
|
|
5396
5409
|
var M = H, {
|
|
@@ -5403,9 +5416,9 @@ const r4 = (v) => {
|
|
|
5403
5416
|
inputWidth: c,
|
|
5404
5417
|
label: l,
|
|
5405
5418
|
message: o,
|
|
5406
|
-
name:
|
|
5419
|
+
name: p,
|
|
5407
5420
|
nestingLevel: g = 0,
|
|
5408
|
-
onBlur:
|
|
5421
|
+
onBlur: u,
|
|
5409
5422
|
onChange: d,
|
|
5410
5423
|
onFocus: b,
|
|
5411
5424
|
required: C,
|
|
@@ -5482,14 +5495,14 @@ const r4 = (v) => {
|
|
|
5482
5495
|
w(ie(w({
|
|
5483
5496
|
ref: $,
|
|
5484
5497
|
id: a,
|
|
5485
|
-
name:
|
|
5498
|
+
name: p,
|
|
5486
5499
|
type: "checkbox",
|
|
5487
5500
|
checked: G ? t : J,
|
|
5488
5501
|
"aria-checked": r ? "mixed" : Z ? "true" : "false"
|
|
5489
5502
|
}, i ? { value: i } : {}), {
|
|
5490
5503
|
disabled: s,
|
|
5491
5504
|
required: C,
|
|
5492
|
-
onBlur:
|
|
5505
|
+
onBlur: u,
|
|
5493
5506
|
onChange: B,
|
|
5494
5507
|
onFocus: b,
|
|
5495
5508
|
"aria-invalid": h === "error" ? !0 : null,
|
|
@@ -5540,9 +5553,9 @@ const r4 = (v) => {
|
|
|
5540
5553
|
message: c,
|
|
5541
5554
|
required: l = !1,
|
|
5542
5555
|
showLabel: o = !0,
|
|
5543
|
-
tooltipText:
|
|
5556
|
+
tooltipText: p = null,
|
|
5544
5557
|
validationMessage: g,
|
|
5545
|
-
validationStatus:
|
|
5558
|
+
validationStatus: u,
|
|
5546
5559
|
className: d
|
|
5547
5560
|
} = y, b = P(y, [
|
|
5548
5561
|
"children",
|
|
@@ -5559,7 +5572,7 @@ const r4 = (v) => {
|
|
|
5559
5572
|
"validationStatus",
|
|
5560
5573
|
"className"
|
|
5561
5574
|
]);
|
|
5562
|
-
const v = r ? { width: `${r / 16}rem` } : null, _ = "pds-checkbox-group", h = n ? ne.disabled : null, i = l && !n ? ne.required : null, f =
|
|
5575
|
+
const v = r ? { width: `${r / 16}rem` } : null, _ = "pds-checkbox-group", h = n ? ne.disabled : null, i = l && !n ? ne.required : null, f = u === "error" ? ne.error : null, E = u === "success" ? ne.success : null, $ = g || c;
|
|
5563
5576
|
return /* @__PURE__ */ e.createElement(
|
|
5564
5577
|
"div",
|
|
5565
5578
|
w({
|
|
@@ -5582,7 +5595,7 @@ const r4 = (v) => {
|
|
|
5582
5595
|
isLegend: !0,
|
|
5583
5596
|
required: l,
|
|
5584
5597
|
showLabel: o,
|
|
5585
|
-
tooltipText:
|
|
5598
|
+
tooltipText: p
|
|
5586
5599
|
}
|
|
5587
5600
|
), /* @__PURE__ */ e.createElement("div", { className: `${_}__options` }, t)),
|
|
5588
5601
|
$ && /* @__PURE__ */ e.createElement(
|
|
@@ -5592,7 +5605,7 @@ const r4 = (v) => {
|
|
|
5592
5605
|
message: $,
|
|
5593
5606
|
hasValidationMessage: !!g,
|
|
5594
5607
|
validationMessageHasDecorators: !0,
|
|
5595
|
-
validationStatus:
|
|
5608
|
+
validationStatus: u
|
|
5596
5609
|
}
|
|
5597
5610
|
)
|
|
5598
5611
|
);
|
|
@@ -5607,9 +5620,9 @@ const r4 = (v) => {
|
|
|
5607
5620
|
onGroupBlur: c,
|
|
5608
5621
|
onValueChange: l,
|
|
5609
5622
|
options: o,
|
|
5610
|
-
required:
|
|
5623
|
+
required: p = !1,
|
|
5611
5624
|
showLabel: g = !0,
|
|
5612
|
-
tooltipText:
|
|
5625
|
+
tooltipText: u = null,
|
|
5613
5626
|
validationMessage: d,
|
|
5614
5627
|
validationStatus: b,
|
|
5615
5628
|
className: C
|
|
@@ -5630,7 +5643,7 @@ const r4 = (v) => {
|
|
|
5630
5643
|
"validationStatus",
|
|
5631
5644
|
"className"
|
|
5632
5645
|
]);
|
|
5633
|
-
const h = a ? { width: `${a / 16}rem` } : null, i = "pds-checkbox-group", f = t ? ne.disabled : null, E =
|
|
5646
|
+
const h = a ? { width: `${a / 16}rem` } : null, i = "pds-checkbox-group", f = t ? ne.disabled : null, E = p && !t ? ne.required : null, $ = b === "error" ? ne.error : null, H = b === "success" ? ne.success : null, M = d || m;
|
|
5634
5647
|
o.map((D) => {
|
|
5635
5648
|
D.id || (D.id = D.value);
|
|
5636
5649
|
});
|
|
@@ -5670,9 +5683,9 @@ const r4 = (v) => {
|
|
|
5670
5683
|
label: r,
|
|
5671
5684
|
id: s,
|
|
5672
5685
|
isLegend: !0,
|
|
5673
|
-
required:
|
|
5686
|
+
required: p,
|
|
5674
5687
|
showLabel: g,
|
|
5675
|
-
tooltipText:
|
|
5688
|
+
tooltipText: u
|
|
5676
5689
|
}
|
|
5677
5690
|
), /* @__PURE__ */ e.createElement("div", { className: `${i}__options` }, o.map((D) => /* @__PURE__ */ e.createElement(
|
|
5678
5691
|
mn,
|
|
@@ -5712,14 +5725,14 @@ const r4 = (v) => {
|
|
|
5712
5725
|
id: c,
|
|
5713
5726
|
inputWidth: l,
|
|
5714
5727
|
isLoading: o = !1,
|
|
5715
|
-
label:
|
|
5728
|
+
label: p,
|
|
5716
5729
|
labelStrings: g = {
|
|
5717
5730
|
clearButton: "Clear input text",
|
|
5718
5731
|
inputInstructions: "Type to search options",
|
|
5719
5732
|
searchShortcut: "Press / to focus the search field",
|
|
5720
5733
|
triggerButton: "Toggle dropdown menu"
|
|
5721
5734
|
},
|
|
5722
|
-
loadingText:
|
|
5735
|
+
loadingText: u = "Loading results...",
|
|
5723
5736
|
message: d,
|
|
5724
5737
|
noResultsText: b = "No results found",
|
|
5725
5738
|
onChange: C,
|
|
@@ -5875,7 +5888,7 @@ const r4 = (v) => {
|
|
|
5875
5888
|
Be,
|
|
5876
5889
|
{
|
|
5877
5890
|
id: c,
|
|
5878
|
-
label:
|
|
5891
|
+
label: p,
|
|
5879
5892
|
showLabel: $,
|
|
5880
5893
|
tooltipText: H,
|
|
5881
5894
|
required: E,
|
|
@@ -5962,7 +5975,7 @@ const r4 = (v) => {
|
|
|
5962
5975
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5963
5976
|
}
|
|
5964
5977
|
})),
|
|
5965
|
-
/* @__PURE__ */ e.createElement("div", { style: w({}, d2) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${F}__loading` },
|
|
5978
|
+
/* @__PURE__ */ e.createElement("div", { style: w({}, d2) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${F}__loading` }, u) : de.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${F}__options` }, ae) : /* @__PURE__ */ e.createElement("div", { className: `${F}__no-results` }, b))
|
|
5966
5979
|
),
|
|
5967
5980
|
B && /* @__PURE__ */ e.createElement(
|
|
5968
5981
|
Re,
|
|
@@ -5999,9 +6012,9 @@ const r4 = (v) => {
|
|
|
5999
6012
|
},
|
|
6000
6013
|
loadingText: l = "Loading results...",
|
|
6001
6014
|
noResultsText: o = "No results found",
|
|
6002
|
-
onChange:
|
|
6015
|
+
onChange: p,
|
|
6003
6016
|
options: g,
|
|
6004
|
-
placeholder:
|
|
6017
|
+
placeholder: u = "Filter",
|
|
6005
6018
|
required: d = !1,
|
|
6006
6019
|
showLabel: b = !0,
|
|
6007
6020
|
className: C
|
|
@@ -6028,7 +6041,7 @@ const r4 = (v) => {
|
|
|
6028
6041
|
() => pn(g, M, $),
|
|
6029
6042
|
[g, M, $]
|
|
6030
6043
|
), R = (V) => {
|
|
6031
|
-
L(V),
|
|
6044
|
+
L(V), p == null || p(V);
|
|
6032
6045
|
}, { getSelectedItemProps: D, getDropdownProps: W, removeSelectedItem: O } = u2({
|
|
6033
6046
|
selectedItems: M,
|
|
6034
6047
|
onStateChange: ({ selectedItems: V, type: T }) => {
|
|
@@ -6183,7 +6196,7 @@ const r4 = (v) => {
|
|
|
6183
6196
|
/* @__PURE__ */ e.createElement("div", { className: `${i}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(i2, { variant: "search" }), /* @__PURE__ */ e.createElement(
|
|
6184
6197
|
"input",
|
|
6185
6198
|
ie(w({
|
|
6186
|
-
placeholder:
|
|
6199
|
+
placeholder: u,
|
|
6187
6200
|
className: `${i}__dropdown-input`,
|
|
6188
6201
|
"aria-label": c.inputInstructions
|
|
6189
6202
|
}, I), {
|
|
@@ -6226,9 +6239,9 @@ const r4 = (v) => {
|
|
|
6226
6239
|
clearButton: "Clear selected file"
|
|
6227
6240
|
},
|
|
6228
6241
|
message: o,
|
|
6229
|
-
multiple:
|
|
6242
|
+
multiple: p = !1,
|
|
6230
6243
|
onClear: g,
|
|
6231
|
-
onFileChange:
|
|
6244
|
+
onFileChange: u,
|
|
6232
6245
|
required: d = !1,
|
|
6233
6246
|
showFullPath: b,
|
|
6234
6247
|
showLabel: C = !0,
|
|
@@ -6284,7 +6297,7 @@ const r4 = (v) => {
|
|
|
6284
6297
|
n ? q() : M(!1);
|
|
6285
6298
|
return;
|
|
6286
6299
|
}
|
|
6287
|
-
y2 && n && (n === S.target.value ? k(!0) : k(!1)),
|
|
6300
|
+
y2 && n && (n === S.target.value ? k(!0) : k(!1)), u && u(S.target.files), M(!0);
|
|
6288
6301
|
}, I = () => {
|
|
6289
6302
|
const S = document.getElementById(
|
|
6290
6303
|
`${r}--input`
|
|
@@ -6335,7 +6348,7 @@ const r4 = (v) => {
|
|
|
6335
6348
|
id: `${r}--input`,
|
|
6336
6349
|
accept: t || null,
|
|
6337
6350
|
disabled: s,
|
|
6338
|
-
multiple:
|
|
6351
|
+
multiple: p,
|
|
6339
6352
|
required: d,
|
|
6340
6353
|
onChange: A,
|
|
6341
6354
|
"aria-invalid": _ === "error" ? !0 : null,
|
|
@@ -6370,20 +6383,20 @@ const r4 = (v) => {
|
|
|
6370
6383
|
"className"
|
|
6371
6384
|
]);
|
|
6372
6385
|
var b, C, y, v;
|
|
6373
|
-
const m = "pds-input-group", c = [t[0], t[1]], l = (b = t[0].props.id) != null ? b : null, o = (C = t[0].props.message) != null ? C : null,
|
|
6386
|
+
const m = "pds-input-group", c = [t[0], t[1]], l = (b = t[0].props.id) != null ? b : null, o = (C = t[0].props.message) != null ? C : null, p = (y = t[0].props.validationMessage) != null ? y : null, g = (v = t[0].props.validationStatus) != null ? v : null, u = p || o, d = u ? `${m}--has-message` : null;
|
|
6374
6387
|
return /* @__PURE__ */ e.createElement(
|
|
6375
6388
|
"div",
|
|
6376
6389
|
w({
|
|
6377
6390
|
className: z([m, d, n != null ? n : ""])
|
|
6378
6391
|
}, s),
|
|
6379
6392
|
/* @__PURE__ */ e.createElement("div", { className: `${m}__inner` }, c),
|
|
6380
|
-
|
|
6393
|
+
u && /* @__PURE__ */ e.createElement(
|
|
6381
6394
|
Re,
|
|
6382
6395
|
{
|
|
6383
6396
|
forInputGroup: !0,
|
|
6384
6397
|
id: l,
|
|
6385
|
-
message:
|
|
6386
|
-
hasValidationMessage: !!
|
|
6398
|
+
message: u,
|
|
6399
|
+
hasValidationMessage: !!p,
|
|
6387
6400
|
validationMessageHasDecorators: !1,
|
|
6388
6401
|
validationStatus: g
|
|
6389
6402
|
}
|
|
@@ -6400,9 +6413,9 @@ const r4 = (v) => {
|
|
|
6400
6413
|
message: c,
|
|
6401
6414
|
onBlur: l,
|
|
6402
6415
|
onChange: o,
|
|
6403
|
-
onValueChange:
|
|
6416
|
+
onValueChange: p,
|
|
6404
6417
|
options: g,
|
|
6405
|
-
required:
|
|
6418
|
+
required: u = !1,
|
|
6406
6419
|
showLabel: d = !0,
|
|
6407
6420
|
tooltipText: b = null,
|
|
6408
6421
|
validationMessage: C,
|
|
@@ -6429,10 +6442,10 @@ const r4 = (v) => {
|
|
|
6429
6442
|
"value",
|
|
6430
6443
|
"className"
|
|
6431
6444
|
]);
|
|
6432
|
-
const E = "pds-radio-group", $ = n ? ne.disabled : null, H =
|
|
6445
|
+
const E = "pds-radio-group", $ = n ? ne.disabled : null, H = u && !n ? ne.required : null, M = y === "error" ? ne.error : null, L = y === "success" ? ne.success : null, k = typeof v != "undefined", N = typeof t != "undefined", [x, R] = Q(
|
|
6433
6446
|
N ? t : ""
|
|
6434
6447
|
), D = C || c, W = (F) => {
|
|
6435
|
-
k || R(F.target.value), o && o(F),
|
|
6448
|
+
k || R(F.target.value), o && o(F), p && p(F.target.value);
|
|
6436
6449
|
}, O = (F) => {
|
|
6437
6450
|
l && l(F);
|
|
6438
6451
|
};
|
|
@@ -6456,7 +6469,7 @@ const r4 = (v) => {
|
|
|
6456
6469
|
label: m,
|
|
6457
6470
|
id: a,
|
|
6458
6471
|
isLegend: !0,
|
|
6459
|
-
required:
|
|
6472
|
+
required: u,
|
|
6460
6473
|
showLabel: d,
|
|
6461
6474
|
tooltipText: b
|
|
6462
6475
|
}
|
|
@@ -6473,7 +6486,7 @@ const r4 = (v) => {
|
|
|
6473
6486
|
id: F.id ? F.id : `${a}-option-${G}`,
|
|
6474
6487
|
name: a,
|
|
6475
6488
|
value: F.value,
|
|
6476
|
-
required:
|
|
6489
|
+
required: u,
|
|
6477
6490
|
disabled: n || F.disabled,
|
|
6478
6491
|
onBlur: O,
|
|
6479
6492
|
onChange: W,
|
|
@@ -6529,9 +6542,9 @@ const r4 = (v) => {
|
|
|
6529
6542
|
label: c,
|
|
6530
6543
|
switchPlacement: l = "right",
|
|
6531
6544
|
message: o,
|
|
6532
|
-
offLabel:
|
|
6545
|
+
offLabel: p = "Off",
|
|
6533
6546
|
onChange: g,
|
|
6534
|
-
onLabel:
|
|
6547
|
+
onLabel: u = "On",
|
|
6535
6548
|
required: d = !1,
|
|
6536
6549
|
showLabel: b = !0,
|
|
6537
6550
|
showStatusLabel: C = !0,
|
|
@@ -6554,7 +6567,7 @@ const r4 = (v) => {
|
|
|
6554
6567
|
"showStatusLabel",
|
|
6555
6568
|
"className"
|
|
6556
6569
|
]);
|
|
6557
|
-
const f = Qe(m), E = "pds-switch", $ = s ? ne.disabled : null, H = d && !s ? ne.required : null, M = typeof t != "undefined", L = l == "below", k = l == "right", N = !M && n ? n : !1, [x, R] = Q(N), D = t || x ?
|
|
6570
|
+
const f = Qe(m), E = "pds-switch", $ = s ? ne.disabled : null, H = d && !s ? ne.required : null, M = typeof t != "undefined", L = l == "below", k = l == "right", N = !M && n ? n : !1, [x, R] = Q(N), D = t || x ? u : p, W = (te) => {
|
|
6558
6571
|
M || R(te.target.checked), g && g(te);
|
|
6559
6572
|
}, O = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
6560
6573
|
"input",
|
|
@@ -6633,9 +6646,9 @@ const r4 = (v) => {
|
|
|
6633
6646
|
label: c,
|
|
6634
6647
|
message: l,
|
|
6635
6648
|
onBlur: o,
|
|
6636
|
-
onChange:
|
|
6649
|
+
onChange: p,
|
|
6637
6650
|
onFocus: g,
|
|
6638
|
-
placeholder:
|
|
6651
|
+
placeholder: u,
|
|
6639
6652
|
readonly: d = !1,
|
|
6640
6653
|
required: b = !1,
|
|
6641
6654
|
rows: C = 5,
|
|
@@ -6679,10 +6692,10 @@ const r4 = (v) => {
|
|
|
6679
6692
|
"value",
|
|
6680
6693
|
"className"
|
|
6681
6694
|
]);
|
|
6682
|
-
const N = Qe(r), x = "pds-textarea", R = m ? "pds-is-resizable" : null, D = s ? ne.disabled : null, W = b && !s ? ne.required : null, O = f === "error" ? ne.error : null, F = f === "success" ? ne.success : null, G = d ? ne.readonly : null, K = i || l, J = E != null &&
|
|
6695
|
+
const N = Qe(r), x = "pds-textarea", R = m ? "pds-is-resizable" : null, D = s ? ne.disabled : null, W = b && !s ? ne.required : null, O = f === "error" ? ne.error : null, F = f === "success" ? ne.success : null, G = d ? ne.readonly : null, K = i || l, J = E != null && p !== void 0, te = typeof n != "undefined", [Z, B] = Q(
|
|
6683
6696
|
te ? n : ""
|
|
6684
6697
|
), q = E || Z, A = (S) => {
|
|
6685
|
-
J || B(S.target.value),
|
|
6698
|
+
J || B(S.target.value), p && p(S);
|
|
6686
6699
|
}, I = (S) => {
|
|
6687
6700
|
o && o(S);
|
|
6688
6701
|
};
|
|
@@ -6728,7 +6741,7 @@ const r4 = (v) => {
|
|
|
6728
6741
|
className: z([`${x}--textarea`, R]),
|
|
6729
6742
|
id: a,
|
|
6730
6743
|
name: a,
|
|
6731
|
-
placeholder:
|
|
6744
|
+
placeholder: u,
|
|
6732
6745
|
required: b,
|
|
6733
6746
|
readOnly: d,
|
|
6734
6747
|
disabled: s,
|
|
@@ -6765,9 +6778,9 @@ const r4 = (v) => {
|
|
|
6765
6778
|
hasUrlPrefix: c = !1,
|
|
6766
6779
|
id: l,
|
|
6767
6780
|
inputProps: o,
|
|
6768
|
-
inputWidth:
|
|
6781
|
+
inputWidth: p,
|
|
6769
6782
|
label: g,
|
|
6770
|
-
message:
|
|
6783
|
+
message: u,
|
|
6771
6784
|
onBlur: d,
|
|
6772
6785
|
onChange: b,
|
|
6773
6786
|
onClear: C,
|
|
@@ -6823,10 +6836,10 @@ const r4 = (v) => {
|
|
|
6823
6836
|
"value",
|
|
6824
6837
|
"className"
|
|
6825
6838
|
]);
|
|
6826
|
-
const F = Qe(
|
|
6839
|
+
const F = Qe(p), G = "pds-text-input", K = a ? ne.disabled : null, J = h && !a ? ne.required : null, te = k === "error" ? ne.error : null, Z = k === "success" ? ne.success : null, B = _ ? ne.readonly : null, q = c && M === "url" ? `${G}--has-url-prefix` : null;
|
|
6827
6840
|
let A = null;
|
|
6828
6841
|
M === "search" && (A = "search"), M === "search" && i === "filter" && (A = "filter"), k === "error" && (A = "error"), k === "success" && (A = "success");
|
|
6829
|
-
const I = L ||
|
|
6842
|
+
const I = L || u, S = typeof N != "undefined", V = typeof s != "undefined", [T, X] = Q(
|
|
6830
6843
|
V ? s : ""
|
|
6831
6844
|
), ee = N || T, ue = (me) => {
|
|
6832
6845
|
if (E && _e && re(!1), c && M === "url") {
|
|
@@ -6871,7 +6884,7 @@ const r4 = (v) => {
|
|
|
6871
6884
|
q,
|
|
6872
6885
|
x != null ? x : ""
|
|
6873
6886
|
]),
|
|
6874
|
-
style:
|
|
6887
|
+
style: p ? F : null
|
|
6875
6888
|
}, R),
|
|
6876
6889
|
/* @__PURE__ */ e.createElement(
|
|
6877
6890
|
Be,
|
|
@@ -6978,34 +6991,34 @@ const r4 = (v) => {
|
|
|
6978
6991
|
"url",
|
|
6979
6992
|
"className"
|
|
6980
6993
|
]);
|
|
6981
|
-
const
|
|
6994
|
+
const p = "pds-link-new-window", g = n ? `${p}--${n}` : null;
|
|
6982
6995
|
return s ? /* @__PURE__ */ e.createElement(
|
|
6983
6996
|
"span",
|
|
6984
6997
|
{
|
|
6985
6998
|
className: z([
|
|
6986
|
-
|
|
6999
|
+
p,
|
|
6987
7000
|
g,
|
|
6988
|
-
`${
|
|
7001
|
+
`${p}--loading pds-pulse`,
|
|
6989
7002
|
m != null ? m : ""
|
|
6990
7003
|
]),
|
|
6991
7004
|
"aria-hidden": "true"
|
|
6992
7005
|
},
|
|
6993
7006
|
t,
|
|
6994
|
-
/* @__PURE__ */ e.createElement(j, { iconName: "externalLink", className: `${
|
|
7007
|
+
/* @__PURE__ */ e.createElement(j, { iconName: "externalLink", className: `${p}__icon` })
|
|
6995
7008
|
) : /* @__PURE__ */ e.createElement(
|
|
6996
7009
|
"a",
|
|
6997
7010
|
w({
|
|
6998
7011
|
href: r,
|
|
6999
7012
|
rel: "noopener noreferrer",
|
|
7000
7013
|
target: "_blank",
|
|
7001
|
-
className: z([
|
|
7014
|
+
className: z([p, g, m != null ? m : ""])
|
|
7002
7015
|
}, c),
|
|
7003
7016
|
t,
|
|
7004
7017
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `(${a})`),
|
|
7005
|
-
/* @__PURE__ */ e.createElement(j, { iconName: "externalLink", className: `${
|
|
7018
|
+
/* @__PURE__ */ e.createElement(j, { iconName: "externalLink", className: `${p}__icon` })
|
|
7006
7019
|
);
|
|
7007
7020
|
}, H4 = (g) => {
|
|
7008
|
-
var
|
|
7021
|
+
var u = g, {
|
|
7009
7022
|
ariaLabel: t,
|
|
7010
7023
|
children: n,
|
|
7011
7024
|
closeButtonLabel: s = "Close modal",
|
|
@@ -7016,7 +7029,7 @@ const r4 = (v) => {
|
|
|
7016
7029
|
size: c = "md",
|
|
7017
7030
|
title: l,
|
|
7018
7031
|
className: o
|
|
7019
|
-
} =
|
|
7032
|
+
} = u, p = P(u, [
|
|
7020
7033
|
"ariaLabel",
|
|
7021
7034
|
"children",
|
|
7022
7035
|
"closeButtonLabel",
|
|
@@ -7078,7 +7091,7 @@ const r4 = (v) => {
|
|
|
7078
7091
|
position: "relative",
|
|
7079
7092
|
top: "5%"
|
|
7080
7093
|
})
|
|
7081
|
-
}),
|
|
7094
|
+
}), p),
|
|
7082
7095
|
a && /* @__PURE__ */ e.createElement("div", { className: `${d}__close-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
7083
7096
|
Tt,
|
|
7084
7097
|
{
|
|
@@ -7101,11 +7114,11 @@ const r4 = (v) => {
|
|
|
7101
7114
|
"crumbs",
|
|
7102
7115
|
"className"
|
|
7103
7116
|
]);
|
|
7104
|
-
const c = "pds-breadcrumb", l = n.length, o = n.map((
|
|
7117
|
+
const c = "pds-breadcrumb", l = n.length, o = n.map((p, g) => {
|
|
7105
7118
|
if (g < l - 1)
|
|
7106
|
-
return /* @__PURE__ */ e.createElement("li", { key: g, className: `${c}__crumb` },
|
|
7119
|
+
return /* @__PURE__ */ e.createElement("li", { key: g, className: `${c}__crumb` }, p);
|
|
7107
7120
|
{
|
|
7108
|
-
const
|
|
7121
|
+
const u = Me(p) ? Se(p, {
|
|
7109
7122
|
"aria-current": "page"
|
|
7110
7123
|
}) : null;
|
|
7111
7124
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -7114,7 +7127,7 @@ const r4 = (v) => {
|
|
|
7114
7127
|
key: g,
|
|
7115
7128
|
className: `${c}__crumb ${c}__crumb--current`
|
|
7116
7129
|
},
|
|
7117
|
-
|
|
7130
|
+
u
|
|
7118
7131
|
);
|
|
7119
7132
|
}
|
|
7120
7133
|
});
|
|
@@ -7174,11 +7187,11 @@ const r4 = (v) => {
|
|
|
7174
7187
|
let l = !1;
|
|
7175
7188
|
const o = $e(Le);
|
|
7176
7189
|
o && (l = o.isMobile);
|
|
7177
|
-
const
|
|
7190
|
+
const p = ce(null), g = "pds-button-nav", u = l ? `${g}--isMobile` : null, d = s !== "md" ? `${g}--${s}` : null;
|
|
7178
7191
|
le(() => {
|
|
7179
7192
|
const _ = (h) => {
|
|
7180
7193
|
if (l) return;
|
|
7181
|
-
const i =
|
|
7194
|
+
const i = p.current;
|
|
7182
7195
|
if (!i) return;
|
|
7183
7196
|
const f = Array.from(
|
|
7184
7197
|
i.querySelectorAll('a, button, [tabindex]:not([tabindex="-1"])')
|
|
@@ -7241,12 +7254,12 @@ const r4 = (v) => {
|
|
|
7241
7254
|
return /* @__PURE__ */ e.createElement(
|
|
7242
7255
|
"nav",
|
|
7243
7256
|
w({
|
|
7244
|
-
ref:
|
|
7257
|
+
ref: p,
|
|
7245
7258
|
"aria-label": t,
|
|
7246
7259
|
className: z([
|
|
7247
7260
|
g,
|
|
7248
7261
|
d,
|
|
7249
|
-
|
|
7262
|
+
u,
|
|
7250
7263
|
a != null ? a : ""
|
|
7251
7264
|
])
|
|
7252
7265
|
}, r),
|
|
@@ -7300,10 +7313,10 @@ const r4 = (v) => {
|
|
|
7300
7313
|
sidebarToggleLabel: c = "Toggle sidebar",
|
|
7301
7314
|
skiplinkText: l = "Skip to main content",
|
|
7302
7315
|
isSidebarExpanded: o,
|
|
7303
|
-
setIsSidebarExpanded:
|
|
7316
|
+
setIsSidebarExpanded: p = () => {
|
|
7304
7317
|
},
|
|
7305
7318
|
className: g
|
|
7306
|
-
} = b,
|
|
7319
|
+
} = b, u = P(b, [
|
|
7307
7320
|
"children",
|
|
7308
7321
|
"hasSidebarToggle",
|
|
7309
7322
|
"isAdmin",
|
|
@@ -7320,8 +7333,8 @@ const r4 = (v) => {
|
|
|
7320
7333
|
le(() => {
|
|
7321
7334
|
o !== void 0 && _(o);
|
|
7322
7335
|
}, [o]), le(() => {
|
|
7323
|
-
|
|
7324
|
-
}, [v,
|
|
7336
|
+
p(v);
|
|
7337
|
+
}, [v, p]);
|
|
7325
7338
|
const E = {
|
|
7326
7339
|
isSidebarExpanded: C ? !0 : v,
|
|
7327
7340
|
logoLinkContent: a,
|
|
@@ -7365,7 +7378,7 @@ const r4 = (v) => {
|
|
|
7365
7378
|
"pds-typography--product",
|
|
7366
7379
|
g != null ? g : ""
|
|
7367
7380
|
])
|
|
7368
|
-
},
|
|
7381
|
+
}, u),
|
|
7369
7382
|
C ? K : J
|
|
7370
7383
|
));
|
|
7371
7384
|
}, Oe = "ease-out", _t = 0, _n = ({
|
|
@@ -7376,7 +7389,7 @@ const r4 = (v) => {
|
|
|
7376
7389
|
linkContent: r,
|
|
7377
7390
|
links: m
|
|
7378
7391
|
}) => {
|
|
7379
|
-
const c = "pds-dashboard-nav", l = `${c}__item`, o = `${c}__menu`,
|
|
7392
|
+
const c = "pds-dashboard-nav", l = `${c}__item`, o = `${c}__menu`, p = /* @__PURE__ */ e.createElement("div", { className: `${l}-wrapper` }, X2(c, r, m, t)), g = (L, k) => /* @__PURE__ */ e.createElement(
|
|
7380
7393
|
"ul",
|
|
7381
7394
|
{
|
|
7382
7395
|
className: z([
|
|
@@ -7397,9 +7410,9 @@ const r4 = (v) => {
|
|
|
7397
7410
|
},
|
|
7398
7411
|
N.linkContent
|
|
7399
7412
|
))
|
|
7400
|
-
), [
|
|
7413
|
+
), [u, d] = Q(!1), { refs: b, floatingStyles: C, context: y } = Ie({
|
|
7401
7414
|
placement: "right-start",
|
|
7402
|
-
open:
|
|
7415
|
+
open: u,
|
|
7403
7416
|
onOpenChange: d,
|
|
7404
7417
|
middleware: [E2(12), v2(), V2()],
|
|
7405
7418
|
whileElementsMounted: Pe
|
|
@@ -7497,7 +7510,7 @@ const r4 = (v) => {
|
|
|
7497
7510
|
},
|
|
7498
7511
|
/* @__PURE__ */ e.createElement(j, { iconName: "angleDown", iconSize: "md" }),
|
|
7499
7512
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${We(r)} ${a.submenu}`)
|
|
7500
|
-
)), s && g(m, "second-level"), !s &&
|
|
7513
|
+
)), s && g(m, "second-level"), !s && u && /* @__PURE__ */ e.createElement(
|
|
7501
7514
|
"div",
|
|
7502
7515
|
w({
|
|
7503
7516
|
className: `${c}__flyout`,
|
|
@@ -7506,11 +7519,11 @@ const r4 = (v) => {
|
|
|
7506
7519
|
}, E()),
|
|
7507
7520
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__flyout-heading` }, We(r)),
|
|
7508
7521
|
g(m, "second-level-flyout")
|
|
7509
|
-
)) : /* @__PURE__ */ e.createElement(e.Fragment, null, s ?
|
|
7522
|
+
)) : /* @__PURE__ */ e.createElement(e.Fragment, null, s ? p : /* @__PURE__ */ e.createElement(
|
|
7510
7523
|
Ve,
|
|
7511
7524
|
{
|
|
7512
7525
|
content: We(r),
|
|
7513
|
-
customTrigger:
|
|
7526
|
+
customTrigger: p,
|
|
7514
7527
|
offsetValue: {
|
|
7515
7528
|
mainAxis: -4,
|
|
7516
7529
|
crossAxis: -12
|
|
@@ -7531,7 +7544,7 @@ const r4 = (v) => {
|
|
|
7531
7544
|
"selectTextFallback",
|
|
7532
7545
|
"className"
|
|
7533
7546
|
]);
|
|
7534
|
-
const l = "pds-dropdown-menu", [o,
|
|
7547
|
+
const l = "pds-dropdown-menu", [o, p] = Q(!1), [g, u] = Q(null), d = nt(n), b = d ? d.props.children : s, C = /* @__PURE__ */ e.createElement(
|
|
7535
7548
|
j,
|
|
7536
7549
|
{
|
|
7537
7550
|
iconName: "check",
|
|
@@ -7542,7 +7555,7 @@ const r4 = (v) => {
|
|
|
7542
7555
|
var O;
|
|
7543
7556
|
W.key === "Enter" && ((O = E.current[g].querySelector("a")) == null || O.click());
|
|
7544
7557
|
}, v = (W) => {
|
|
7545
|
-
W.target.nodeName === "A" &&
|
|
7558
|
+
W.target.nodeName === "A" && p(!1);
|
|
7546
7559
|
};
|
|
7547
7560
|
le(() => {
|
|
7548
7561
|
if (o) {
|
|
@@ -7583,12 +7596,12 @@ const r4 = (v) => {
|
|
|
7583
7596
|
}, { refs: i, context: f } = Ie({
|
|
7584
7597
|
placement: "bottom-start",
|
|
7585
7598
|
open: o,
|
|
7586
|
-
onOpenChange:
|
|
7599
|
+
onOpenChange: p,
|
|
7587
7600
|
whileElementsMounted: Pe
|
|
7588
7601
|
}), E = ce([]), $ = o2(f, {
|
|
7589
7602
|
listRef: E,
|
|
7590
7603
|
activeIndex: g,
|
|
7591
|
-
onNavigate:
|
|
7604
|
+
onNavigate: u,
|
|
7592
7605
|
loop: !0,
|
|
7593
7606
|
openOnArrowKeyDown: !0,
|
|
7594
7607
|
focusItemOnHover: !0
|
|
@@ -7951,26 +7964,26 @@ const r4 = (v) => {
|
|
|
7951
7964
|
"subBrand",
|
|
7952
7965
|
"className"
|
|
7953
7966
|
]);
|
|
7954
|
-
const o = "pds-pantheon-logo",
|
|
7955
|
-
let
|
|
7967
|
+
const o = "pds-pantheon-logo", p = n && n !== "full" ? `${o}--${n}` : null, g = t && t !== "default" ? `${o}--${t}` : null;
|
|
7968
|
+
let u;
|
|
7956
7969
|
switch (n) {
|
|
7957
7970
|
case "full":
|
|
7958
|
-
|
|
7971
|
+
u = En;
|
|
7959
7972
|
break;
|
|
7960
7973
|
case "icon":
|
|
7961
|
-
|
|
7974
|
+
u = B2;
|
|
7962
7975
|
break;
|
|
7963
7976
|
case "wordmark":
|
|
7964
|
-
|
|
7977
|
+
u = vn;
|
|
7965
7978
|
break;
|
|
7966
7979
|
case "sub-brand":
|
|
7967
|
-
|
|
7980
|
+
u = B2;
|
|
7968
7981
|
break;
|
|
7969
7982
|
case "sub-brand-small":
|
|
7970
|
-
|
|
7983
|
+
u = B2;
|
|
7971
7984
|
}
|
|
7972
7985
|
const d = e.isValidElement(s) && typeof s.props.children == "string" ? s.props.children : "", b = e.isValidElement(s) ? Se(s, {
|
|
7973
|
-
children:
|
|
7986
|
+
children: u,
|
|
7974
7987
|
"aria-label": d || null
|
|
7975
7988
|
}) : s;
|
|
7976
7989
|
return /* @__PURE__ */ e.createElement(
|
|
@@ -7978,12 +7991,12 @@ const r4 = (v) => {
|
|
|
7978
7991
|
w({
|
|
7979
7992
|
className: z([
|
|
7980
7993
|
o,
|
|
7981
|
-
|
|
7994
|
+
p,
|
|
7982
7995
|
g,
|
|
7983
7996
|
r != null ? r : ""
|
|
7984
7997
|
])
|
|
7985
7998
|
}, m),
|
|
7986
|
-
s ? b :
|
|
7999
|
+
s ? b : u,
|
|
7987
8000
|
a && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__separator" }), /* @__PURE__ */ e.createElement("div", { className: "pds-pantheon-logo__sub-brand-wordmark" }, a))
|
|
7988
8001
|
);
|
|
7989
8002
|
}, z4 = (c) => {
|
|
@@ -8004,18 +8017,18 @@ const r4 = (v) => {
|
|
|
8004
8017
|
"className"
|
|
8005
8018
|
]);
|
|
8006
8019
|
let o = !1;
|
|
8007
|
-
const
|
|
8008
|
-
|
|
8020
|
+
const p = $e(Le);
|
|
8021
|
+
p && (o = p.isMobile);
|
|
8009
8022
|
const g = $e(A2);
|
|
8010
|
-
let
|
|
8011
|
-
g && (
|
|
8012
|
-
const b = "pds-dashboard-nav", C =
|
|
8023
|
+
let u = !0, d = null;
|
|
8024
|
+
g && (u = g.isSidebarExpanded, d = g.logoLinkContent);
|
|
8025
|
+
const b = "pds-dashboard-nav", C = u ? `${b}--expanded` : `${b}--collapsed`, y = /* @__PURE__ */ e.createElement(e.Fragment, null, s.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${b}__menu ${b}__menu--top-level` }, s.map((h, i) => /* @__PURE__ */ e.createElement(
|
|
8013
8026
|
_n,
|
|
8014
8027
|
{
|
|
8015
8028
|
key: i,
|
|
8016
8029
|
icon: h.icon,
|
|
8017
8030
|
isActive: ze(h),
|
|
8018
|
-
isSidebarExpanded:
|
|
8031
|
+
isSidebarExpanded: u,
|
|
8019
8032
|
labels: n,
|
|
8020
8033
|
linkContent: h.linkContent,
|
|
8021
8034
|
links: h.links
|
|
@@ -8044,7 +8057,7 @@ const r4 = (v) => {
|
|
|
8044
8057
|
qt,
|
|
8045
8058
|
{
|
|
8046
8059
|
className: `${b}__logo`,
|
|
8047
|
-
displayType:
|
|
8060
|
+
displayType: u ? "full" : "icon",
|
|
8048
8061
|
linkContent: d
|
|
8049
8062
|
}
|
|
8050
8063
|
),
|
|
@@ -8075,7 +8088,7 @@ const r4 = (v) => {
|
|
|
8075
8088
|
"option",
|
|
8076
8089
|
"className"
|
|
8077
8090
|
]);
|
|
8078
|
-
const m = "pds-dashboard-search", c = t.type ? Wt[t.type] : "bolt", l = ce(), [o] = S2(l),
|
|
8091
|
+
const m = "pds-dashboard-search", c = t.type ? Wt[t.type] : "bolt", l = ce(), [o] = S2(l), p = o.width / 16 - 7.5;
|
|
8079
8092
|
return /* @__PURE__ */ e.createElement(
|
|
8080
8093
|
"div",
|
|
8081
8094
|
w({
|
|
@@ -8097,7 +8110,7 @@ const r4 = (v) => {
|
|
|
8097
8110
|
"div",
|
|
8098
8111
|
{
|
|
8099
8112
|
className: `${m}__option-label`,
|
|
8100
|
-
style: { maxWidth: `${
|
|
8113
|
+
style: { maxWidth: `${p}rem` }
|
|
8101
8114
|
},
|
|
8102
8115
|
t.name
|
|
8103
8116
|
)
|
|
@@ -8134,9 +8147,9 @@ const r4 = (v) => {
|
|
|
8134
8147
|
noResultsText: c = "No results found",
|
|
8135
8148
|
onFocus: l,
|
|
8136
8149
|
onOptionSelect: o,
|
|
8137
|
-
placeholder:
|
|
8150
|
+
placeholder: p = "Search sites",
|
|
8138
8151
|
siteList: g,
|
|
8139
|
-
horizontalOffset:
|
|
8152
|
+
horizontalOffset: u = 0,
|
|
8140
8153
|
className: d
|
|
8141
8154
|
} = y, b = P(y, [
|
|
8142
8155
|
"disabled",
|
|
@@ -8160,11 +8173,11 @@ const r4 = (v) => {
|
|
|
8160
8173
|
let H = null, M = !1;
|
|
8161
8174
|
const L = $e(A2);
|
|
8162
8175
|
L && (H = L.navbarWidth, M = L.isAdmin);
|
|
8163
|
-
const k = 2.25, N = 22, x = M ? 14.5 : 9.625, R = H > 900 ? N : H / 16 - (x +
|
|
8176
|
+
const k = 2.25, N = 22, x = M ? 14.5 : 9.625, R = H > 900 ? N : H / 16 - (x + u) - k * 0.675;
|
|
8164
8177
|
let D = k;
|
|
8165
8178
|
v && !H && (D = N), v && H && (D = R);
|
|
8166
8179
|
const W = {
|
|
8167
|
-
right: `${x +
|
|
8180
|
+
right: `${x + u}rem`,
|
|
8168
8181
|
width: `${D}rem`
|
|
8169
8182
|
}, O = "pds-dashboard-search", F = E ? `${O}--isMobile` : null, G = () => {
|
|
8170
8183
|
_(!0), setTimeout(() => {
|
|
@@ -8212,7 +8225,7 @@ const r4 = (v) => {
|
|
|
8212
8225
|
noResultsText: c,
|
|
8213
8226
|
onFocus: l,
|
|
8214
8227
|
onOptionSelect: J,
|
|
8215
|
-
placeholder:
|
|
8228
|
+
placeholder: p,
|
|
8216
8229
|
options: te,
|
|
8217
8230
|
showLabel: !1,
|
|
8218
8231
|
className: `${O}__combobox`
|
|
@@ -8287,12 +8300,12 @@ const r4 = (v) => {
|
|
|
8287
8300
|
logoLinkContent: c,
|
|
8288
8301
|
logoSrc: l,
|
|
8289
8302
|
logoSubBrand: o,
|
|
8290
|
-
translationStrings:
|
|
8303
|
+
translationStrings: p = {
|
|
8291
8304
|
closeMobileNav: "Close navigation area",
|
|
8292
8305
|
openMobileNav: "Open navigation area"
|
|
8293
8306
|
},
|
|
8294
8307
|
className: g
|
|
8295
|
-
} = b,
|
|
8308
|
+
} = b, u = P(b, [
|
|
8296
8309
|
"children",
|
|
8297
8310
|
"colorType",
|
|
8298
8311
|
"containerWidth",
|
|
@@ -8369,7 +8382,7 @@ const r4 = (v) => {
|
|
|
8369
8382
|
"button",
|
|
8370
8383
|
{
|
|
8371
8384
|
className: `${i}__menu-toggle`,
|
|
8372
|
-
"aria-label": C ?
|
|
8385
|
+
"aria-label": C ? p.closeMobileNav : p.openMobileNav,
|
|
8373
8386
|
onClick: M,
|
|
8374
8387
|
type: "button"
|
|
8375
8388
|
},
|
|
@@ -8404,7 +8417,7 @@ const r4 = (v) => {
|
|
|
8404
8417
|
$,
|
|
8405
8418
|
g != null ? g : ""
|
|
8406
8419
|
])
|
|
8407
|
-
},
|
|
8420
|
+
}, u),
|
|
8408
8421
|
v ? te : Z
|
|
8409
8422
|
);
|
|
8410
8423
|
}, yn = ({
|
|
@@ -8418,16 +8431,16 @@ const r4 = (v) => {
|
|
|
8418
8431
|
}), []);
|
|
8419
8432
|
const l = () => {
|
|
8420
8433
|
c(window.innerWidth);
|
|
8421
|
-
}, o = m <= s,
|
|
8434
|
+
}, o = m <= s, p = "pds-nav-menu", { refs: g, context: u } = Ie({
|
|
8422
8435
|
placement: "bottom-start",
|
|
8423
8436
|
open: a,
|
|
8424
8437
|
onOpenChange: r,
|
|
8425
8438
|
whileElementsMounted: Pe
|
|
8426
|
-
}), d = Ke(
|
|
8439
|
+
}), d = Ke(u, { event: "mousedown" }), b = Ae(u), C = Te(u, { role: "menu" });
|
|
8427
8440
|
let y;
|
|
8428
|
-
o ? y = M2(
|
|
8441
|
+
o ? y = M2(u, {
|
|
8429
8442
|
enabled: !1
|
|
8430
|
-
}) : y = M2(
|
|
8443
|
+
}) : y = M2(u, {
|
|
8431
8444
|
handleClose: xt({
|
|
8432
8445
|
requireIntent: !1,
|
|
8433
8446
|
buffer: 10,
|
|
@@ -8444,16 +8457,16 @@ const r4 = (v) => {
|
|
|
8444
8457
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8445
8458
|
"button",
|
|
8446
8459
|
w({
|
|
8447
|
-
className: `${
|
|
8460
|
+
className: `${p}__trigger`,
|
|
8448
8461
|
ref: g.setReference,
|
|
8449
8462
|
type: "button"
|
|
8450
8463
|
}, v()),
|
|
8451
8464
|
n,
|
|
8452
|
-
/* @__PURE__ */ e.createElement(j, { iconName: "angleDown", className: `${
|
|
8465
|
+
/* @__PURE__ */ e.createElement(j, { iconName: "angleDown", className: `${p}__trigger-icon` })
|
|
8453
8466
|
), a && /* @__PURE__ */ e.createElement(
|
|
8454
8467
|
"ul",
|
|
8455
8468
|
w({
|
|
8456
|
-
className: `${
|
|
8469
|
+
className: `${p}__dropdown`,
|
|
8457
8470
|
ref: g.setFloating
|
|
8458
8471
|
}, _()),
|
|
8459
8472
|
t.map((i, f) => /* @__PURE__ */ e.createElement(
|
|
@@ -8461,7 +8474,7 @@ const r4 = (v) => {
|
|
|
8461
8474
|
{
|
|
8462
8475
|
key: f,
|
|
8463
8476
|
role: i.isSeparator ? "separator" : "menuitem",
|
|
8464
|
-
className: `${
|
|
8477
|
+
className: `${p}__item ${i.isSeparator ? `${p}__dropdown--separator` : `${p}__item--second-level`} ${h(i) ? `${p}__item--active` : null}`
|
|
8465
8478
|
},
|
|
8466
8479
|
!i.isSeparator && i.linkContent
|
|
8467
8480
|
))
|
|
@@ -8480,22 +8493,22 @@ const r4 = (v) => {
|
|
|
8480
8493
|
"mobileMenuMaxWidth",
|
|
8481
8494
|
"className"
|
|
8482
8495
|
]);
|
|
8483
|
-
const [o,
|
|
8496
|
+
const [o, p] = Q(1025), [g, u] = Q(null), [d, b] = Q(-1), [C, y] = Q(null), [v, _] = Q({
|
|
8484
8497
|
container: null,
|
|
8485
8498
|
containerChildren: []
|
|
8486
8499
|
});
|
|
8487
|
-
le(() => (
|
|
8500
|
+
le(() => (p(window.innerWidth), window.addEventListener("resize", h), () => {
|
|
8488
8501
|
window.removeEventListener("resize", h);
|
|
8489
8502
|
}), []);
|
|
8490
8503
|
const h = () => {
|
|
8491
|
-
|
|
8504
|
+
p(window.innerWidth);
|
|
8492
8505
|
}, i = o <= a;
|
|
8493
8506
|
le(() => {
|
|
8494
8507
|
v.containerChildren[g] && (v.containerChildren[g].classList.contains(
|
|
8495
8508
|
"pds-nav-menu__dropdown--separator"
|
|
8496
|
-
) && C == "down" ?
|
|
8509
|
+
) && C == "down" ? u(g + 1) : v.containerChildren[g].classList.contains(
|
|
8497
8510
|
"pds-nav-menu__dropdown--separator"
|
|
8498
|
-
) && C == "up" ?
|
|
8511
|
+
) && C == "up" ? u(g - 1) : v.containerChildren[g].children[0].focus());
|
|
8499
8512
|
}, [g]), le(() => {
|
|
8500
8513
|
d != -1 && (H.current[d].children[0].blur(), H.current[d].children[0].focus({
|
|
8501
8514
|
focusVisible: !0
|
|
@@ -8504,10 +8517,10 @@ const r4 = (v) => {
|
|
|
8504
8517
|
const f = "pds-nav-menu", E = n !== "default" ? `${f}--${n}` : "", $ = i ? `${f}--isMobile` : `${f}--notMobile`, H = ce([]), M = (N) => {
|
|
8505
8518
|
const x = H.current.length - 1, G = {
|
|
8506
8519
|
ArrowRight: () => {
|
|
8507
|
-
|
|
8520
|
+
u(-1), b(d === -1 ? 1 : d === x ? 0 : d + 1);
|
|
8508
8521
|
},
|
|
8509
8522
|
ArrowLeft: () => {
|
|
8510
|
-
|
|
8523
|
+
u(-1), b(d === 0 ? x : d - 1);
|
|
8511
8524
|
},
|
|
8512
8525
|
ArrowDown: () => {
|
|
8513
8526
|
var te, Z, B, q;
|
|
@@ -8516,10 +8529,10 @@ const r4 = (v) => {
|
|
|
8516
8529
|
v.container != K && K != null && _({
|
|
8517
8530
|
container: K,
|
|
8518
8531
|
containerChildren: [...J]
|
|
8519
|
-
}), g === null || g == v.containerChildren.length - 1 ?
|
|
8532
|
+
}), g === null || g == v.containerChildren.length - 1 ? u(0) : u(parseInt(g) + 1);
|
|
8520
8533
|
},
|
|
8521
8534
|
ArrowUp: () => {
|
|
8522
|
-
y("up"),
|
|
8535
|
+
y("up"), u(g === 0 ? v.containerChildren.length - 1 : parseInt(g) - 1);
|
|
8523
8536
|
}
|
|
8524
8537
|
}[N.code];
|
|
8525
8538
|
G && G();
|
|
@@ -8576,8 +8589,8 @@ const r4 = (v) => {
|
|
|
8576
8589
|
}, m),
|
|
8577
8590
|
/* @__PURE__ */ e.createElement("ul", { className: `${f}__menu` }, k)
|
|
8578
8591
|
);
|
|
8579
|
-
}, p2 = 0, A4 = (
|
|
8580
|
-
var g =
|
|
8592
|
+
}, p2 = 0, A4 = (p) => {
|
|
8593
|
+
var g = p, {
|
|
8581
8594
|
ariaLabel: t,
|
|
8582
8595
|
hasMobileMenu: n = !0,
|
|
8583
8596
|
headingText: s,
|
|
@@ -8599,7 +8612,7 @@ const r4 = (v) => {
|
|
|
8599
8612
|
"mobileMenuSelectTextFallback",
|
|
8600
8613
|
"className"
|
|
8601
8614
|
]);
|
|
8602
|
-
const
|
|
8615
|
+
const u = "pds-side-nav", d = `${u}__item`, b = `${u}__menu`, [C, y] = Q(1025), [v, _] = Q(!1), [h, i] = Q([]), f = ce(null), E = ce(null), $ = ce([]), H = ce(-1);
|
|
8603
8616
|
le(() => (y(window.innerWidth), window.addEventListener("resize", M), () => {
|
|
8604
8617
|
window.removeEventListener("resize", M);
|
|
8605
8618
|
}), []), le(() => {
|
|
@@ -8641,7 +8654,7 @@ const r4 = (v) => {
|
|
|
8641
8654
|
Z.preventDefault();
|
|
8642
8655
|
const B = $.current[H.current];
|
|
8643
8656
|
if (B) {
|
|
8644
|
-
if (B.classList.contains(`${
|
|
8657
|
+
if (B.classList.contains(`${u}__toggle`))
|
|
8645
8658
|
B.getAttribute("aria-expanded") === "false" && (W({
|
|
8646
8659
|
currentTarget: B
|
|
8647
8660
|
}), setTimeout(() => {
|
|
@@ -8661,7 +8674,7 @@ const r4 = (v) => {
|
|
|
8661
8674
|
);
|
|
8662
8675
|
if (q) {
|
|
8663
8676
|
const A = q.querySelector(
|
|
8664
|
-
`.${
|
|
8677
|
+
`.${u}__toggle`
|
|
8665
8678
|
);
|
|
8666
8679
|
A && A.getAttribute("aria-expanded") === "false" && (W({
|
|
8667
8680
|
currentTarget: A
|
|
@@ -8690,7 +8703,7 @@ const r4 = (v) => {
|
|
|
8690
8703
|
);
|
|
8691
8704
|
if (q) {
|
|
8692
8705
|
const A = q.querySelector(
|
|
8693
|
-
`.${
|
|
8706
|
+
`.${u}__toggle`
|
|
8694
8707
|
);
|
|
8695
8708
|
A && A.getAttribute("aria-expanded") === "true" && (W({
|
|
8696
8709
|
currentTarget: A
|
|
@@ -8719,13 +8732,13 @@ const r4 = (v) => {
|
|
|
8719
8732
|
}
|
|
8720
8733
|
}, D = (Z) => {
|
|
8721
8734
|
var B;
|
|
8722
|
-
!v && Z.target !== E.current && (Z.target.closest(`.${
|
|
8735
|
+
!v && Z.target !== E.current && (Z.target.closest(`.${u}__heading`) || (_(!0), k(), $.current.length > 0 && (H.current = 0, (B = $.current[0]) == null || B.focus())));
|
|
8723
8736
|
}, W = (Z) => {
|
|
8724
8737
|
var S, V;
|
|
8725
8738
|
const B = Z.currentTarget, q = (S = B.parentElement) == null ? void 0 : S.nextElementSibling;
|
|
8726
8739
|
if (!q) return;
|
|
8727
8740
|
const A = B.getAttribute("aria-expanded") === "false";
|
|
8728
|
-
B.classList.toggle(`${
|
|
8741
|
+
B.classList.toggle(`${u}__toggle--expanded`, A), B.setAttribute("aria-expanded", A ? "true" : "false");
|
|
8729
8742
|
const I = B.closest(`.${d}--has-children`);
|
|
8730
8743
|
if (I) {
|
|
8731
8744
|
const T = Array.from(
|
|
@@ -8804,8 +8817,8 @@ const r4 = (v) => {
|
|
|
8804
8817
|
{
|
|
8805
8818
|
"aria-expanded": V,
|
|
8806
8819
|
className: z([
|
|
8807
|
-
`${
|
|
8808
|
-
V ? `${
|
|
8820
|
+
`${u}__toggle`,
|
|
8821
|
+
V ? `${u}__toggle--expanded` : null
|
|
8809
8822
|
]),
|
|
8810
8823
|
onClick: W,
|
|
8811
8824
|
type: "button"
|
|
@@ -8848,7 +8861,7 @@ const r4 = (v) => {
|
|
|
8848
8861
|
q
|
|
8849
8862
|
)
|
|
8850
8863
|
);
|
|
8851
|
-
}, J = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${
|
|
8864
|
+
}, J = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, r.map((Z, B) => K(Z, B)))), te = /* @__PURE__ */ e.createElement(
|
|
8852
8865
|
st,
|
|
8853
8866
|
{
|
|
8854
8867
|
headingText: s,
|
|
@@ -8860,7 +8873,7 @@ const r4 = (v) => {
|
|
|
8860
8873
|
"nav",
|
|
8861
8874
|
w({
|
|
8862
8875
|
"aria-label": t,
|
|
8863
|
-
className: z([
|
|
8876
|
+
className: z([u, l != null ? l : ""]),
|
|
8864
8877
|
ref: f,
|
|
8865
8878
|
onFocus: D,
|
|
8866
8879
|
onKeyDown: (Z) => {
|
|
@@ -8871,8 +8884,8 @@ const r4 = (v) => {
|
|
|
8871
8884
|
}, o),
|
|
8872
8885
|
L && n ? te : J
|
|
8873
8886
|
);
|
|
8874
|
-
}, w2 = 0, T4 = (
|
|
8875
|
-
var g =
|
|
8887
|
+
}, w2 = 0, T4 = (p) => {
|
|
8888
|
+
var g = p, {
|
|
8876
8889
|
ariaLabel: t,
|
|
8877
8890
|
hasMobileMenu: n = !0,
|
|
8878
8891
|
headingText: s,
|
|
@@ -8894,7 +8907,7 @@ const r4 = (v) => {
|
|
|
8894
8907
|
"mobileMenuSelectTextFallback",
|
|
8895
8908
|
"className"
|
|
8896
8909
|
]);
|
|
8897
|
-
const
|
|
8910
|
+
const u = "pds-side-nav-compact", d = `${u}__item`, b = `${u}__menu`, [C, y] = Q(1025), [v, _] = Q(!1), [h, i] = Q([]), f = ce(null), E = ce(null), $ = ce([]), H = ce(-1);
|
|
8898
8911
|
le(() => (y(window.innerWidth), window.addEventListener("resize", M), () => {
|
|
8899
8912
|
window.removeEventListener("resize", M);
|
|
8900
8913
|
}), []), le(() => {
|
|
@@ -8938,24 +8951,24 @@ const r4 = (v) => {
|
|
|
8938
8951
|
const S = I.closest(`.${d}-wrapper`);
|
|
8939
8952
|
if (S)
|
|
8940
8953
|
return S.querySelector(
|
|
8941
|
-
`.${
|
|
8954
|
+
`.${u}__toggle`
|
|
8942
8955
|
);
|
|
8943
8956
|
const V = I.closest(`.${d}`);
|
|
8944
8957
|
return V ? V.querySelector(
|
|
8945
|
-
`.${
|
|
8958
|
+
`.${u}__toggle`
|
|
8946
8959
|
) : null;
|
|
8947
8960
|
}, x = (I) => {
|
|
8948
|
-
if (I.classList.contains(`${
|
|
8961
|
+
if (I.classList.contains(`${u}__toggle`)) {
|
|
8949
8962
|
const V = I.closest(`.${d}-wrapper`);
|
|
8950
8963
|
return (V == null ? void 0 : V.nextElementSibling) || null;
|
|
8951
8964
|
}
|
|
8952
8965
|
const S = I.closest(`.${d}`);
|
|
8953
8966
|
return S ? S.querySelector(`.${b}`) : null;
|
|
8954
8967
|
}, R = (I) => {
|
|
8955
|
-
if (I.classList.contains(`${
|
|
8968
|
+
if (I.classList.contains(`${u}__toggle`))
|
|
8956
8969
|
return !0;
|
|
8957
8970
|
const S = I.closest(`.${d}-wrapper`);
|
|
8958
|
-
return S ? !!S.querySelector(`.${
|
|
8971
|
+
return S ? !!S.querySelector(`.${u}__toggle`) : !1;
|
|
8959
8972
|
}, D = (I) => {
|
|
8960
8973
|
if (!v) return;
|
|
8961
8974
|
const S = $.current[H.current];
|
|
@@ -8972,7 +8985,7 @@ const r4 = (v) => {
|
|
|
8972
8985
|
case "ArrowRight": {
|
|
8973
8986
|
if (I.preventDefault(), R(S)) {
|
|
8974
8987
|
const V = S.classList.contains(
|
|
8975
|
-
`${
|
|
8988
|
+
`${u}__toggle`
|
|
8976
8989
|
) ? S : N(S);
|
|
8977
8990
|
V && V.getAttribute("aria-expanded") === "false" && (G({
|
|
8978
8991
|
currentTarget: V
|
|
@@ -8996,7 +9009,7 @@ const r4 = (v) => {
|
|
|
8996
9009
|
const T = V.parentElement;
|
|
8997
9010
|
if (T && T.classList.contains(d)) {
|
|
8998
9011
|
const X = T.querySelector(
|
|
8999
|
-
`.${
|
|
9012
|
+
`.${u}__toggle`
|
|
9000
9013
|
);
|
|
9001
9014
|
X && X.getAttribute("aria-expanded") === "true" && (G({
|
|
9002
9015
|
currentTarget: X
|
|
@@ -9008,7 +9021,7 @@ const r4 = (v) => {
|
|
|
9008
9021
|
}
|
|
9009
9022
|
} else if (R(S)) {
|
|
9010
9023
|
const T = S.classList.contains(
|
|
9011
|
-
`${
|
|
9024
|
+
`${u}__toggle`
|
|
9012
9025
|
) ? S : N(S);
|
|
9013
9026
|
T && T.getAttribute("aria-expanded") === "true" && G({
|
|
9014
9027
|
currentTarget: T
|
|
@@ -9049,7 +9062,7 @@ const r4 = (v) => {
|
|
|
9049
9062
|
const S = I.currentTarget, V = (ee = S.parentElement) == null ? void 0 : ee.nextElementSibling;
|
|
9050
9063
|
if (!V) return;
|
|
9051
9064
|
const T = S.getAttribute("aria-expanded") === "false";
|
|
9052
|
-
S.classList.toggle(`${
|
|
9065
|
+
S.classList.toggle(`${u}__toggle--expanded`, T), S.setAttribute("aria-expanded", T ? "true" : "false");
|
|
9053
9066
|
const X = S.closest(`.${d}`);
|
|
9054
9067
|
if (X) {
|
|
9055
9068
|
const de = Array.from(
|
|
@@ -9126,8 +9139,8 @@ const r4 = (v) => {
|
|
|
9126
9139
|
{
|
|
9127
9140
|
"aria-expanded": ze(S),
|
|
9128
9141
|
className: z([
|
|
9129
|
-
`${
|
|
9130
|
-
ze(S) ? `${
|
|
9142
|
+
`${u}__toggle`,
|
|
9143
|
+
ze(S) ? `${u}__toggle--expanded` : null
|
|
9131
9144
|
]),
|
|
9132
9145
|
onClick: G,
|
|
9133
9146
|
type: "button"
|
|
@@ -9176,7 +9189,7 @@ const r4 = (v) => {
|
|
|
9176
9189
|
},
|
|
9177
9190
|
T ? Z(2, I) : V
|
|
9178
9191
|
);
|
|
9179
|
-
}, q = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${
|
|
9192
|
+
}, q = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${u}__heading pds-ts-l` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${u}__menu ${u}__menu--top-level` }, r.map((I, S) => B(I, S)))), A = /* @__PURE__ */ e.createElement(
|
|
9180
9193
|
st,
|
|
9181
9194
|
{
|
|
9182
9195
|
headingText: s,
|
|
@@ -9188,7 +9201,7 @@ const r4 = (v) => {
|
|
|
9188
9201
|
"nav",
|
|
9189
9202
|
w({
|
|
9190
9203
|
"aria-label": t,
|
|
9191
|
-
className: z([
|
|
9204
|
+
className: z([u, l != null ? l : ""]),
|
|
9192
9205
|
ref: f,
|
|
9193
9206
|
onFocus: F,
|
|
9194
9207
|
onKeyDown: (I) => {
|
|
@@ -9207,7 +9220,7 @@ const r4 = (v) => {
|
|
|
9207
9220
|
minFilterItems: r = 5,
|
|
9208
9221
|
noResultsText: m = "No results found"
|
|
9209
9222
|
}) => {
|
|
9210
|
-
const [c, l] = Q(!1), [o,
|
|
9223
|
+
const [c, l] = Q(!1), [o, p] = Q(null), [g, u] = Q(a), [d, b] = Q(""), C = a.length >= r, y = "pds-tab-menu", v = `${y}__dropdown-menu`, _ = C ? `${v}--scroll` : null, h = `${y}__dropdown-item`, i = ce([]), { context: f, refs: E } = Ie({
|
|
9211
9224
|
open: c,
|
|
9212
9225
|
onOpenChange: l,
|
|
9213
9226
|
whileElementsMounted: Pe
|
|
@@ -9216,7 +9229,7 @@ const r4 = (v) => {
|
|
|
9216
9229
|
}), H = Ae(f), M = Te(f, { role: "listbox" }), L = o2(f, {
|
|
9217
9230
|
listRef: i,
|
|
9218
9231
|
activeIndex: o,
|
|
9219
|
-
onNavigate:
|
|
9232
|
+
onNavigate: p,
|
|
9220
9233
|
loop: !0,
|
|
9221
9234
|
focusItemOnHover: !0,
|
|
9222
9235
|
focusItemOnOpen: !1
|
|
@@ -9243,14 +9256,14 @@ const r4 = (v) => {
|
|
|
9243
9256
|
const I = A.target.value;
|
|
9244
9257
|
b(I);
|
|
9245
9258
|
const S = a.filter((V) => O(V, I));
|
|
9246
|
-
|
|
9259
|
+
u(S);
|
|
9247
9260
|
};
|
|
9248
9261
|
le(() => {
|
|
9249
9262
|
const A = a.filter((I) => O(I, d));
|
|
9250
|
-
|
|
9263
|
+
u(A);
|
|
9251
9264
|
}, [a]);
|
|
9252
9265
|
const G = () => {
|
|
9253
|
-
b(""),
|
|
9266
|
+
b(""), u(a);
|
|
9254
9267
|
}, K = a.reduce(
|
|
9255
9268
|
(A, I) => We(A.linkContent).length > We(I.linkContent).length ? A : I
|
|
9256
9269
|
), te = {
|
|
@@ -9331,7 +9344,7 @@ const r4 = (v) => {
|
|
|
9331
9344
|
let c = !1;
|
|
9332
9345
|
const l = $e(Le);
|
|
9333
9346
|
l && (c = l.isMobile);
|
|
9334
|
-
const o = "pds-tab-menu",
|
|
9347
|
+
const o = "pds-tab-menu", p = c ? `${o}--isMobile` : null, g = ({
|
|
9335
9348
|
dropdownSettings: d,
|
|
9336
9349
|
icon: b,
|
|
9337
9350
|
isActive: C,
|
|
@@ -9375,7 +9388,7 @@ const r4 = (v) => {
|
|
|
9375
9388
|
}
|
|
9376
9389
|
)
|
|
9377
9390
|
);
|
|
9378
|
-
},
|
|
9391
|
+
}, u = n.length > 0 ? /* @__PURE__ */ e.createElement("ul", { className: `${o}__menu` }, n.map((d, b) => /* @__PURE__ */ e.createElement(
|
|
9379
9392
|
g,
|
|
9380
9393
|
{
|
|
9381
9394
|
key: b,
|
|
@@ -9391,12 +9404,12 @@ const r4 = (v) => {
|
|
|
9391
9404
|
"nav",
|
|
9392
9405
|
w({
|
|
9393
9406
|
"aria-label": t,
|
|
9394
|
-
className: z([o,
|
|
9407
|
+
className: z([o, p, s != null ? s : ""])
|
|
9395
9408
|
}, a),
|
|
9396
|
-
c ? /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile-menu-wrapper` },
|
|
9409
|
+
c ? /* @__PURE__ */ e.createElement("div", { className: `${o}__mobile-menu-wrapper` }, u) : u
|
|
9397
9410
|
);
|
|
9398
9411
|
}, R4 = (o) => {
|
|
9399
|
-
var
|
|
9412
|
+
var p = o, {
|
|
9400
9413
|
ariaLabel: t = "User menu",
|
|
9401
9414
|
menuItems: n,
|
|
9402
9415
|
userEmail: s,
|
|
@@ -9404,7 +9417,7 @@ const r4 = (v) => {
|
|
|
9404
9417
|
userName: r,
|
|
9405
9418
|
withinNavbar: m = !0,
|
|
9406
9419
|
className: c
|
|
9407
|
-
} =
|
|
9420
|
+
} = p, l = P(p, [
|
|
9408
9421
|
"ariaLabel",
|
|
9409
9422
|
"menuItems",
|
|
9410
9423
|
"userEmail",
|
|
@@ -9413,7 +9426,7 @@ const r4 = (v) => {
|
|
|
9413
9426
|
"withinNavbar",
|
|
9414
9427
|
"className"
|
|
9415
9428
|
]);
|
|
9416
|
-
const [g,
|
|
9429
|
+
const [g, u] = Q(null), [d, b] = Q(!1), C = ce([]), y = ce([]);
|
|
9417
9430
|
let v = !1;
|
|
9418
9431
|
const _ = $e(Le);
|
|
9419
9432
|
_ && (v = _.isMobile);
|
|
@@ -9426,7 +9439,7 @@ const r4 = (v) => {
|
|
|
9426
9439
|
}), L = Ke(M, { event: "mousedown" }), k = Ae(M), N = Te(M, { role: "menu" }), x = ce([]), R = o2(M, {
|
|
9427
9440
|
listRef: x,
|
|
9428
9441
|
activeIndex: g,
|
|
9429
|
-
onNavigate:
|
|
9442
|
+
onNavigate: u,
|
|
9430
9443
|
loop: !0,
|
|
9431
9444
|
openOnArrowKeyDown: !0,
|
|
9432
9445
|
focusItemOnOpen: !1,
|
|
@@ -9550,8 +9563,8 @@ const r4 = (v) => {
|
|
|
9550
9563
|
gold: "Gold",
|
|
9551
9564
|
platinum: "Platinum",
|
|
9552
9565
|
diamond: "Diamond"
|
|
9553
|
-
}, O4 = (
|
|
9554
|
-
var d =
|
|
9566
|
+
}, O4 = (u) => {
|
|
9567
|
+
var d = u, {
|
|
9555
9568
|
ariaLabel: t = "Workspace selector menu",
|
|
9556
9569
|
createWorkspaceLink: n,
|
|
9557
9570
|
filterPlaceholder: s = "Find workspace...",
|
|
@@ -9561,7 +9574,7 @@ const r4 = (v) => {
|
|
|
9561
9574
|
noResultsText: c = "No results found",
|
|
9562
9575
|
withinNavbar: l = !0,
|
|
9563
9576
|
workspaceList: o,
|
|
9564
|
-
className:
|
|
9577
|
+
className: p
|
|
9565
9578
|
} = d, g = P(d, [
|
|
9566
9579
|
"ariaLabel",
|
|
9567
9580
|
"createWorkspaceLink",
|
|
@@ -9752,7 +9765,7 @@ const r4 = (v) => {
|
|
|
9752
9765
|
return /* @__PURE__ */ e.createElement(
|
|
9753
9766
|
"span",
|
|
9754
9767
|
w({
|
|
9755
|
-
className: z([L, k,
|
|
9768
|
+
className: z([L, k, p])
|
|
9756
9769
|
}, g),
|
|
9757
9770
|
M ? _e : de
|
|
9758
9771
|
);
|
|
@@ -9780,18 +9793,18 @@ const r4 = (v) => {
|
|
|
9780
9793
|
"typeLabels",
|
|
9781
9794
|
"className"
|
|
9782
9795
|
]);
|
|
9783
|
-
const [
|
|
9796
|
+
const [p, g] = Q(t);
|
|
9784
9797
|
le(() => {
|
|
9785
9798
|
g(t);
|
|
9786
9799
|
}, [t]);
|
|
9787
|
-
const
|
|
9788
|
-
if (
|
|
9800
|
+
const u = p.length;
|
|
9801
|
+
if (u === 0)
|
|
9789
9802
|
return null;
|
|
9790
|
-
const d = "pds-banner", b =
|
|
9803
|
+
const d = "pds-banner", b = u > 1 ? `${d}-group--multiple` : null, C = {
|
|
9791
9804
|
info: `${d}--info`,
|
|
9792
9805
|
warning: `${d}--warning`,
|
|
9793
9806
|
critical: `${d}--critical`
|
|
9794
|
-
}, y =
|
|
9807
|
+
}, y = u > 0 ? p[0].type : null, v = y ? `${d}-group--${y}` : null, _ = (H) => ({
|
|
9795
9808
|
zIndex: T2 - H
|
|
9796
9809
|
}), h = (H) => H === 0 ? 0 : -1, i = () => {
|
|
9797
9810
|
const H = document.getElementsByClassName(
|
|
@@ -9800,25 +9813,25 @@ const r4 = (v) => {
|
|
|
9800
9813
|
for (; H.length; )
|
|
9801
9814
|
H[0].classList.remove(`${d}--fading`);
|
|
9802
9815
|
}, f = () => {
|
|
9803
|
-
i(), document.getElementById(
|
|
9816
|
+
i(), document.getElementById(p[0].id).classList.add(`${d}--fading`), setTimeout(() => {
|
|
9804
9817
|
g((H) => [
|
|
9805
9818
|
...H.slice(1),
|
|
9806
9819
|
H[0]
|
|
9807
9820
|
]);
|
|
9808
9821
|
}, 200);
|
|
9809
9822
|
}, E = () => {
|
|
9810
|
-
i(), document.getElementById(
|
|
9811
|
-
document.getElementById(
|
|
9823
|
+
i(), document.getElementById(p[0].id).style.zIndex = (T2 + 2).toString(), document.getElementById(p[u - 1].id).style.zIndex = (T2 + 1).toString(), setTimeout(() => {
|
|
9824
|
+
document.getElementById(p[0].id).classList.add(`${d}--fading`);
|
|
9812
9825
|
}, 50), setTimeout(() => {
|
|
9813
9826
|
g((H) => [
|
|
9814
9827
|
H[H.length - 1],
|
|
9815
9828
|
...H.slice(0, H.length - 1)
|
|
9816
|
-
]), document.getElementById(
|
|
9829
|
+
]), document.getElementById(p[0].id).classList.remove(`${d}--fading`);
|
|
9817
9830
|
}, 200);
|
|
9818
9831
|
}, $ = (H, M) => {
|
|
9819
9832
|
const { id: L, isDismissible: k, message: N, onDismiss: x, type: R } = H, W = ["critical", "warning"].includes(R) ? "alert" : "status", O = `${r[R]}: `, F = (G) => {
|
|
9820
9833
|
G.preventDefault(), document.getElementById(L).classList.add(`${d}--dismissing`), setTimeout(() => {
|
|
9821
|
-
if (x && H.onDismiss(),
|
|
9834
|
+
if (x && H.onDismiss(), u === 1) {
|
|
9822
9835
|
g([]);
|
|
9823
9836
|
return;
|
|
9824
9837
|
}
|
|
@@ -9868,7 +9881,7 @@ const r4 = (v) => {
|
|
|
9868
9881
|
m != null ? m : ""
|
|
9869
9882
|
])
|
|
9870
9883
|
}, c),
|
|
9871
|
-
|
|
9884
|
+
u > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${d}__navigation` }, /* @__PURE__ */ e.createElement(
|
|
9872
9885
|
z2,
|
|
9873
9886
|
{
|
|
9874
9887
|
iconName: "angleLeft",
|
|
@@ -9886,7 +9899,7 @@ const r4 = (v) => {
|
|
|
9886
9899
|
ariaLabel: s,
|
|
9887
9900
|
onClick: f
|
|
9888
9901
|
}
|
|
9889
|
-
),
|
|
9902
|
+
), p.map((H, M) => $(H, M))) : $(p[0], 0)
|
|
9890
9903
|
);
|
|
9891
9904
|
}, Z2 = {
|
|
9892
9905
|
info: "circleInfo",
|
|
@@ -9913,7 +9926,7 @@ const r4 = (v) => {
|
|
|
9913
9926
|
"typeLabels",
|
|
9914
9927
|
"className"
|
|
9915
9928
|
]);
|
|
9916
|
-
const o = "pds-inline-message",
|
|
9929
|
+
const o = "pds-inline-message", p = {
|
|
9917
9930
|
error: `${o}--error`,
|
|
9918
9931
|
success: `${o}--success`,
|
|
9919
9932
|
warning: `${o}--warning`,
|
|
@@ -9924,7 +9937,7 @@ const r4 = (v) => {
|
|
|
9924
9937
|
return /* @__PURE__ */ e.createElement(
|
|
9925
9938
|
"div",
|
|
9926
9939
|
w({
|
|
9927
|
-
className: [o,
|
|
9940
|
+
className: [o, p[s], g, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
9928
9941
|
role: d
|
|
9929
9942
|
}, m),
|
|
9930
9943
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon-${s}` }, s === "working" ? /* @__PURE__ */ e.createElement(b2, { colorType: "monochromatic" }) : /* @__PURE__ */ e.createElement(
|
|
@@ -9942,7 +9955,7 @@ const r4 = (v) => {
|
|
|
9942
9955
|
critical: "diamondExclamation",
|
|
9943
9956
|
discovery: "squareQuestion"
|
|
9944
9957
|
}, B4 = (g) => {
|
|
9945
|
-
var
|
|
9958
|
+
var u = g, {
|
|
9946
9959
|
dismissLabel: t = "Dismiss",
|
|
9947
9960
|
id: n,
|
|
9948
9961
|
isDismissible: s,
|
|
@@ -9958,7 +9971,7 @@ const r4 = (v) => {
|
|
|
9958
9971
|
discovery: "Discovery"
|
|
9959
9972
|
},
|
|
9960
9973
|
className: o
|
|
9961
|
-
} =
|
|
9974
|
+
} = u, p = P(u, [
|
|
9962
9975
|
"dismissLabel",
|
|
9963
9976
|
"id",
|
|
9964
9977
|
"isDismissible",
|
|
@@ -9996,7 +10009,7 @@ const r4 = (v) => {
|
|
|
9996
10009
|
id: n,
|
|
9997
10010
|
ref: d,
|
|
9998
10011
|
role: _
|
|
9999
|
-
},
|
|
10012
|
+
}, p),
|
|
10000
10013
|
/* @__PURE__ */ e.createElement("div", { className: `${b}__content` }, /* @__PURE__ */ e.createElement("div", { className: `${b}__icon ${b}__icon-${c}` }, /* @__PURE__ */ e.createElement(
|
|
10001
10014
|
j,
|
|
10002
10015
|
{
|
|
@@ -10112,23 +10125,23 @@ const G4 = () => {
|
|
|
10112
10125
|
const m = Math.ceil(a / s), c = t + 5, l = 1, o = m;
|
|
10113
10126
|
if (c >= m)
|
|
10114
10127
|
return L2(1, m);
|
|
10115
|
-
const
|
|
10128
|
+
const p = Math.max(n - t, 1), g = Math.min(
|
|
10116
10129
|
n + t,
|
|
10117
10130
|
m
|
|
10118
|
-
),
|
|
10119
|
-
if (!
|
|
10131
|
+
), u = p > 2, d = g < m - 2;
|
|
10132
|
+
if (!u && d) {
|
|
10120
10133
|
const b = 3 + 2 * t;
|
|
10121
10134
|
return [...L2(1, b), f2, m];
|
|
10122
10135
|
}
|
|
10123
|
-
if (
|
|
10136
|
+
if (u && !d) {
|
|
10124
10137
|
const b = 3 + 2 * t, C = L2(
|
|
10125
10138
|
m - b + 1,
|
|
10126
10139
|
m
|
|
10127
10140
|
);
|
|
10128
10141
|
return [l, f2, ...C];
|
|
10129
10142
|
}
|
|
10130
|
-
if (
|
|
10131
|
-
const b = L2(
|
|
10143
|
+
if (u && d) {
|
|
10144
|
+
const b = L2(p, g);
|
|
10132
10145
|
return [
|
|
10133
10146
|
l,
|
|
10134
10147
|
f2,
|
|
@@ -10138,7 +10151,7 @@ const G4 = () => {
|
|
|
10138
10151
|
];
|
|
10139
10152
|
}
|
|
10140
10153
|
}, [a, s, t, n]), q4 = (g) => {
|
|
10141
|
-
var
|
|
10154
|
+
var u = g, {
|
|
10142
10155
|
bufferCount: t = 1,
|
|
10143
10156
|
currentPage: n,
|
|
10144
10157
|
headingLevel: s = "h2",
|
|
@@ -10151,7 +10164,7 @@ const G4 = () => {
|
|
|
10151
10164
|
onPageChange: c,
|
|
10152
10165
|
totalItemCount: l,
|
|
10153
10166
|
className: o
|
|
10154
|
-
} =
|
|
10167
|
+
} = u, p = P(u, [
|
|
10155
10168
|
"bufferCount",
|
|
10156
10169
|
"currentPage",
|
|
10157
10170
|
"headingLevel",
|
|
@@ -10177,7 +10190,7 @@ const G4 = () => {
|
|
|
10177
10190
|
w({
|
|
10178
10191
|
"aria-labelledby": "pagination",
|
|
10179
10192
|
className: z([v, o != null ? o : ""])
|
|
10180
|
-
},
|
|
10193
|
+
}, p),
|
|
10181
10194
|
/* @__PURE__ */ e.createElement(
|
|
10182
10195
|
Ye,
|
|
10183
10196
|
{
|
|
@@ -10267,7 +10280,7 @@ const G4 = () => {
|
|
|
10267
10280
|
"summary",
|
|
10268
10281
|
"className"
|
|
10269
10282
|
]);
|
|
10270
|
-
const [o,
|
|
10283
|
+
const [o, p] = Q(s), u = ce(
|
|
10271
10284
|
n || `expansion-panel-${c2()}`
|
|
10272
10285
|
).current, d = "pds-expansion-panel", b = ce(null), C = ce(null), y = ce(null);
|
|
10273
10286
|
return le(() => {
|
|
@@ -10277,7 +10290,7 @@ const G4 = () => {
|
|
|
10277
10290
|
const $ = (N) => {
|
|
10278
10291
|
N.preventDefault(), v.style.overflow = "hidden", f || !v.open ? M() : (E || v.open) && H();
|
|
10279
10292
|
}, H = () => {
|
|
10280
|
-
f = !0,
|
|
10293
|
+
f = !0, p(!1);
|
|
10281
10294
|
const N = `${v.offsetHeight}px`, x = `${_.offsetHeight}px`;
|
|
10282
10295
|
i && i.cancel(), i = v.animate(
|
|
10283
10296
|
{ height: [N, x] },
|
|
@@ -10287,7 +10300,7 @@ const G4 = () => {
|
|
|
10287
10300
|
}
|
|
10288
10301
|
), i.onfinish = () => k(!1), i.oncancel = () => f = !1;
|
|
10289
10302
|
}, M = () => {
|
|
10290
|
-
v.style.height = `${v.offsetHeight}px`, v.open = !0,
|
|
10303
|
+
v.style.height = `${v.offsetHeight}px`, v.open = !0, p(!0), requestAnimationFrame(() => L());
|
|
10291
10304
|
}, L = () => {
|
|
10292
10305
|
E = !0;
|
|
10293
10306
|
const N = `${v.offsetHeight}px`, x = `${_.offsetHeight + h.offsetHeight}px`;
|
|
@@ -10305,8 +10318,8 @@ const G4 = () => {
|
|
|
10305
10318
|
}, []), /* @__PURE__ */ e.createElement("div", w({ className: z([d, r]) }, m), /* @__PURE__ */ e.createElement(
|
|
10306
10319
|
"details",
|
|
10307
10320
|
{
|
|
10308
|
-
key:
|
|
10309
|
-
id:
|
|
10321
|
+
key: u,
|
|
10322
|
+
id: u,
|
|
10310
10323
|
open: s,
|
|
10311
10324
|
ref: b
|
|
10312
10325
|
},
|
|
@@ -10353,11 +10366,11 @@ const G4 = () => {
|
|
|
10353
10366
|
"variant",
|
|
10354
10367
|
"className"
|
|
10355
10368
|
]);
|
|
10356
|
-
const
|
|
10369
|
+
const p = "pds-panel", g = n ? `${p}__status ${p}__status-${a}` : null, u = `${p}--${r}`, d = `${p}__content`, b = s !== "standard" ? `${d}--pad-${s}` : null;
|
|
10357
10370
|
return /* @__PURE__ */ e.createElement(
|
|
10358
10371
|
"div",
|
|
10359
10372
|
w({
|
|
10360
|
-
className: [
|
|
10373
|
+
className: [p, u, m != null ? m : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
10361
10374
|
}, c),
|
|
10362
10375
|
n && a && /* @__PURE__ */ e.createElement("span", { className: g }),
|
|
10363
10376
|
/* @__PURE__ */ e.createElement("div", { className: z([d, b]) }, t)
|
|
@@ -10374,14 +10387,14 @@ const G4 = () => {
|
|
|
10374
10387
|
"hasBorder",
|
|
10375
10388
|
"className"
|
|
10376
10389
|
]);
|
|
10377
|
-
const l = "pds-panel-list", o = t !== "default" ? `${l}--${t}` : null,
|
|
10390
|
+
const l = "pds-panel-list", o = t !== "default" ? `${l}--${t}` : null, p = s ? null : `${l}--borderless`;
|
|
10378
10391
|
return /* @__PURE__ */ e.createElement(
|
|
10379
10392
|
"ul",
|
|
10380
10393
|
w({
|
|
10381
10394
|
className: z([
|
|
10382
10395
|
l,
|
|
10383
10396
|
o,
|
|
10384
|
-
|
|
10397
|
+
p,
|
|
10385
10398
|
a != null ? a : ""
|
|
10386
10399
|
])
|
|
10387
10400
|
}, r),
|
|
@@ -10399,11 +10412,11 @@ const G4 = () => {
|
|
|
10399
10412
|
"isExpandable",
|
|
10400
10413
|
"expandButtonAriaLabel"
|
|
10401
10414
|
]);
|
|
10402
|
-
const l = "pds-panel-row", [o,
|
|
10403
|
-
const _ =
|
|
10415
|
+
const l = "pds-panel-row", [o, p] = Q(!1), g = ce(null), u = ce(null), d = Fe(t), b = d["items-left"], C = d["items-right"], y = d["items-below"], v = () => {
|
|
10416
|
+
const _ = u.current, h = g.current;
|
|
10404
10417
|
if (!_ || !h) return;
|
|
10405
10418
|
const i = !o;
|
|
10406
|
-
if (
|
|
10419
|
+
if (p(i), i) {
|
|
10407
10420
|
_.style.display = "block", _.style.height = "auto";
|
|
10408
10421
|
const f = `${_.scrollHeight}px`;
|
|
10409
10422
|
_.animate(
|
|
@@ -10478,7 +10491,7 @@ const G4 = () => {
|
|
|
10478
10491
|
s && y && /* @__PURE__ */ e.createElement(
|
|
10479
10492
|
"div",
|
|
10480
10493
|
{
|
|
10481
|
-
ref:
|
|
10494
|
+
ref: u,
|
|
10482
10495
|
className: `${l}__items ${l}__items--below`,
|
|
10483
10496
|
style: { display: "none", height: "0", opacity: "0" }
|
|
10484
10497
|
},
|
|
@@ -10497,9 +10510,9 @@ const G4 = () => {
|
|
|
10497
10510
|
placement: c = "top",
|
|
10498
10511
|
title: l,
|
|
10499
10512
|
triggerIcon: o = "circleInfo",
|
|
10500
|
-
triggerAccessibleText:
|
|
10513
|
+
triggerAccessibleText: p = "Show more information",
|
|
10501
10514
|
popoverIsOpen: g = !1,
|
|
10502
|
-
setPopoverIsOpen:
|
|
10515
|
+
setPopoverIsOpen: u = () => {
|
|
10503
10516
|
},
|
|
10504
10517
|
className: d,
|
|
10505
10518
|
classNameContainer: b
|
|
@@ -10524,7 +10537,7 @@ const G4 = () => {
|
|
|
10524
10537
|
le(() => {
|
|
10525
10538
|
h(g);
|
|
10526
10539
|
}, [g]), le(() => {
|
|
10527
|
-
|
|
10540
|
+
u(_);
|
|
10528
10541
|
}, [_]);
|
|
10529
10542
|
const i = typeof s, f = "pds-popover", E = z([
|
|
10530
10543
|
`${f}__trigger-custom`,
|
|
@@ -10569,7 +10582,7 @@ const G4 = () => {
|
|
|
10569
10582
|
role: "button",
|
|
10570
10583
|
tabIndex: 0
|
|
10571
10584
|
}, O()),
|
|
10572
|
-
s ? /* @__PURE__ */ e.createElement("span", { className: E }, s) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" },
|
|
10585
|
+
s ? /* @__PURE__ */ e.createElement("span", { className: E }, s) : /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, p), /* @__PURE__ */ e.createElement(
|
|
10573
10586
|
j,
|
|
10574
10587
|
{
|
|
10575
10588
|
iconName: o,
|
|
@@ -10621,8 +10634,8 @@ const G4 = () => {
|
|
|
10621
10634
|
success: "--pds-color-status-success-foreground",
|
|
10622
10635
|
warning: "--pds-color-status-warning-foreground",
|
|
10623
10636
|
critical: "--pds-color-status-critical-foreground"
|
|
10624
|
-
}, Q4 = (
|
|
10625
|
-
var d =
|
|
10637
|
+
}, Q4 = (u) => {
|
|
10638
|
+
var d = u, {
|
|
10626
10639
|
colorBreakpoints: t = [
|
|
10627
10640
|
{ colorType: "info", percentage: 0 },
|
|
10628
10641
|
{ colorType: "success", percentage: 100 }
|
|
@@ -10635,7 +10648,7 @@ const G4 = () => {
|
|
|
10635
10648
|
showLabel: c = !1,
|
|
10636
10649
|
showPercentage: l = !1,
|
|
10637
10650
|
size: o = "md",
|
|
10638
|
-
className:
|
|
10651
|
+
className: p
|
|
10639
10652
|
} = d, g = P(d, [
|
|
10640
10653
|
"colorBreakpoints",
|
|
10641
10654
|
"id",
|
|
@@ -10657,7 +10670,7 @@ const G4 = () => {
|
|
|
10657
10670
|
return /* @__PURE__ */ e.createElement(
|
|
10658
10671
|
"div",
|
|
10659
10672
|
w({
|
|
10660
|
-
className: [C,
|
|
10673
|
+
className: [C, p].join(" ").trim().replace(/\s+/g, " "),
|
|
10661
10674
|
style: { "--bar-percentage": `${_}%` }
|
|
10662
10675
|
}, g),
|
|
10663
10676
|
/* @__PURE__ */ e.createElement("div", { id: b, className: y }, s),
|
|
@@ -10693,8 +10706,8 @@ const G4 = () => {
|
|
|
10693
10706
|
)),
|
|
10694
10707
|
E && i
|
|
10695
10708
|
);
|
|
10696
|
-
}, Vn = (
|
|
10697
|
-
var g =
|
|
10709
|
+
}, Vn = (p) => {
|
|
10710
|
+
var g = p, {
|
|
10698
10711
|
id: t,
|
|
10699
10712
|
innerLabel: n,
|
|
10700
10713
|
label: s,
|
|
@@ -10713,7 +10726,7 @@ const G4 = () => {
|
|
|
10713
10726
|
"size",
|
|
10714
10727
|
"className"
|
|
10715
10728
|
]);
|
|
10716
|
-
const
|
|
10729
|
+
const u = t || c2(), d = "pds-progress-ring", b = r ? `${d}__label` : "visually-hidden", C = `${d}__loading-text ${d}__loading-text--${c}`, y = ($) => $ * 16;
|
|
10717
10730
|
let v = y(Ft), _ = 7;
|
|
10718
10731
|
c === "sm" && (v = y(Pt), _ = _ / 1.25), c === "lg" && (v = y(Bt), _ = _ * 1.25);
|
|
10719
10732
|
const h = v / 2 - _ / 2, i = 2 * Math.PI * h, f = i - i * a / 100;
|
|
@@ -10727,13 +10740,13 @@ const G4 = () => {
|
|
|
10727
10740
|
"--ring-stroke-dasharray": i
|
|
10728
10741
|
}
|
|
10729
10742
|
}, o),
|
|
10730
|
-
/* @__PURE__ */ e.createElement("div", { id:
|
|
10743
|
+
/* @__PURE__ */ e.createElement("div", { id: u, className: b }, s),
|
|
10731
10744
|
/* @__PURE__ */ e.createElement(
|
|
10732
10745
|
"div",
|
|
10733
10746
|
{
|
|
10734
10747
|
className: `${d}__ring`,
|
|
10735
10748
|
role: "progressbar",
|
|
10736
|
-
"aria-labelledby":
|
|
10749
|
+
"aria-labelledby": u,
|
|
10737
10750
|
"aria-valuemin": 0,
|
|
10738
10751
|
"aria-valuemax": 100,
|
|
10739
10752
|
"aria-valuenow": a
|
|
@@ -10798,11 +10811,11 @@ const G4 = () => {
|
|
|
10798
10811
|
"quote",
|
|
10799
10812
|
"className"
|
|
10800
10813
|
]);
|
|
10801
|
-
const o = "pds-pull-quote",
|
|
10814
|
+
const o = "pds-pull-quote", p = `${o}--${s}`;
|
|
10802
10815
|
return /* @__PURE__ */ e.createElement(
|
|
10803
10816
|
"div",
|
|
10804
10817
|
w({
|
|
10805
|
-
className: [o,
|
|
10818
|
+
className: [o, p, r].join(" ").trim().replace(/\s+/g, " ")
|
|
10806
10819
|
}, m),
|
|
10807
10820
|
n && s === "stand-alone" && /* @__PURE__ */ e.createElement("div", { className: `${o}__image` }, /* @__PURE__ */ e.createElement("img", { src: n, alt: "" })),
|
|
10808
10821
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__quote-wrapper` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon--before` }, /* @__PURE__ */ e.createElement(j, { iconName: "quotesLeft", iconSize: "4xl" })), /* @__PURE__ */ e.createElement("div", { className: `${o}__text-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
@@ -10816,7 +10829,7 @@ const G4 = () => {
|
|
|
10816
10829
|
};
|
|
10817
10830
|
var Sn = /* @__PURE__ */ ((t) => (t.DEFAULT = "default", t.WORKING = "working", t.CHECKED = "checked", t))(Sn || {});
|
|
10818
10831
|
const es = (o) => {
|
|
10819
|
-
var
|
|
10832
|
+
var p = o, {
|
|
10820
10833
|
alignment: t = "left",
|
|
10821
10834
|
componentWidth: n,
|
|
10822
10835
|
labelStrings: s = {},
|
|
@@ -10824,7 +10837,7 @@ const es = (o) => {
|
|
|
10824
10837
|
onCheck: r,
|
|
10825
10838
|
state: m,
|
|
10826
10839
|
className: c
|
|
10827
|
-
} =
|
|
10840
|
+
} = p, l = P(p, [
|
|
10828
10841
|
"alignment",
|
|
10829
10842
|
"componentWidth",
|
|
10830
10843
|
"labelStrings",
|
|
@@ -10833,13 +10846,13 @@ const es = (o) => {
|
|
|
10833
10846
|
"state",
|
|
10834
10847
|
"className"
|
|
10835
10848
|
]);
|
|
10836
|
-
const [g,
|
|
10849
|
+
const [g, u] = Q(
|
|
10837
10850
|
m != null ? m : "default"
|
|
10838
10851
|
/* DEFAULT */
|
|
10839
10852
|
);
|
|
10840
10853
|
le(() => {
|
|
10841
|
-
|
|
10842
|
-
}, [m,
|
|
10854
|
+
u(m);
|
|
10855
|
+
}, [m, u]);
|
|
10843
10856
|
const d = w({
|
|
10844
10857
|
checkForUpdates: "Check for updates",
|
|
10845
10858
|
checking: "Checking...",
|
|
@@ -10919,8 +10932,8 @@ const es = (o) => {
|
|
|
10919
10932
|
"siteType",
|
|
10920
10933
|
"className"
|
|
10921
10934
|
]);
|
|
10922
|
-
const l = "pds-site-dashboard-heading", o = bn[n],
|
|
10923
|
-
return /* @__PURE__ */ e.createElement("div", w({ className: z([l, a != null ? a : ""]) }, r), /* @__PURE__ */ e.createElement(j, { iconName:
|
|
10935
|
+
const l = "pds-site-dashboard-heading", o = bn[n], p = s ? Wt[s] : "bolt";
|
|
10936
|
+
return /* @__PURE__ */ e.createElement("div", w({ className: z([l, a != null ? a : ""]) }, r), /* @__PURE__ */ e.createElement(j, { iconName: p, iconSize: "2xl" }), /* @__PURE__ */ e.createElement("h1", { className: "pds-ts-2xl" }, t), n && /* @__PURE__ */ e.createElement(g2, { label: o, color: "neutral", size: "md" }));
|
|
10924
10937
|
}, W2 = {
|
|
10925
10938
|
bluesky: {
|
|
10926
10939
|
icon: "bluesky",
|
|
@@ -10994,11 +11007,11 @@ const es = (o) => {
|
|
|
10994
11007
|
"type",
|
|
10995
11008
|
"className"
|
|
10996
11009
|
]);
|
|
10997
|
-
const l = "pds-status-indicator", o = `${l}--${s}`,
|
|
11010
|
+
const l = "pds-status-indicator", o = `${l}--${s}`, p = `${l}--${n}`;
|
|
10998
11011
|
return /* @__PURE__ */ e.createElement(
|
|
10999
11012
|
"div",
|
|
11000
11013
|
w({
|
|
11001
|
-
className: [l, o,
|
|
11014
|
+
className: [l, o, p, a != null ? a : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
11002
11015
|
}, r),
|
|
11003
11016
|
s === "working" ? /* @__PURE__ */ e.createElement(
|
|
11004
11017
|
b2,
|
|
@@ -11025,10 +11038,10 @@ const es = (o) => {
|
|
|
11025
11038
|
"translatableLabels",
|
|
11026
11039
|
"className"
|
|
11027
11040
|
]);
|
|
11028
|
-
const c = "pds-stepper", l = "pds-stepper-mobile", o = ce(), [
|
|
11041
|
+
const c = "pds-stepper", l = "pds-stepper-mobile", o = ce(), [p] = S2(o), g = p.width, u = Number(
|
|
11029
11042
|
getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "")
|
|
11030
11043
|
) * 16, d = -40, b = 2, C = 5, y = t.length, v = t.map((i) => i.isCurrent).lastIndexOf(!0), _ = t.map((i, f) => {
|
|
11031
|
-
const E = f + 1, $ = f === v, H = f < v, M = i.hasError && $, k = (g - y *
|
|
11044
|
+
const E = f + 1, $ = f === v, H = f < v, M = i.hasError && $, k = (g - y * u) / (y + (y - 2)), N = u + k * 2, x = u + k, R = k + d * -1, D = f === 0, W = f === y - 1;
|
|
11032
11045
|
let O = N;
|
|
11033
11046
|
(D || W) && (O = x);
|
|
11034
11047
|
const F = `${c}__step`, G = [F];
|
|
@@ -11152,12 +11165,12 @@ const es = (o) => {
|
|
|
11152
11165
|
"rowData",
|
|
11153
11166
|
"className"
|
|
11154
11167
|
]);
|
|
11155
|
-
const [c] = Q(t), [l, o] = Q(n), [
|
|
11168
|
+
const [c] = Q(t), [l, o] = Q(n), [p, g] = Q({ order: "asc", key: "" }), u = (v) => {
|
|
11156
11169
|
o(l.sort((_, h) => _[v].localeCompare(h[v]))), g({ order: "desc", key: v });
|
|
11157
11170
|
}, d = (v) => {
|
|
11158
11171
|
o(l.sort((_, h) => h[v].localeCompare(_[v]))), g({ order: "asc", key: v });
|
|
11159
11172
|
}, b = (v, _) => {
|
|
11160
|
-
g(ie(w({},
|
|
11173
|
+
g(ie(w({}, p), { key: _ })), p.order === "asc" ? u(_) : d(_);
|
|
11161
11174
|
}, C = (v, _) => /* @__PURE__ */ e.createElement("tr", { id: _, key: `table-row-${_}` }, v.map((h, i) => /* @__PURE__ */ e.createElement("td", { key: `${_}-cell-${i}` }, /* @__PURE__ */ e.createElement("span", null, h)))), y = "pds-table";
|
|
11162
11175
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("table", w({ className: z([y, s]) }, a), /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, c.map((v, _) => /* @__PURE__ */ e.createElement("th", { key: `header-${_}` }, v.sortable ? /* @__PURE__ */ e.createElement("div", { className: `${y}__sort-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
11163
11176
|
"span",
|
|
@@ -11177,20 +11190,20 @@ const es = (o) => {
|
|
|
11177
11190
|
/* @__PURE__ */ e.createElement(
|
|
11178
11191
|
"span",
|
|
11179
11192
|
{
|
|
11180
|
-
className: `${y}__sort-button-top ${_ != Number(
|
|
11193
|
+
className: `${y}__sort-button-top ${_ != Number(p.key) && p.key !== "" ? "pds-table__sort-innactive" : Number(p.key) == _ ? p.order : "asc"}`
|
|
11181
11194
|
},
|
|
11182
11195
|
/* @__PURE__ */ e.createElement(j, { iconName: "caretUp", iconSize: "sm" })
|
|
11183
11196
|
),
|
|
11184
11197
|
/* @__PURE__ */ e.createElement(
|
|
11185
11198
|
"span",
|
|
11186
11199
|
{
|
|
11187
|
-
className: `${y}__sort-button-bottom ${Number(
|
|
11200
|
+
className: `${y}__sort-button-bottom ${Number(p.key) == _ ? p.order : "asc"}`
|
|
11188
11201
|
},
|
|
11189
11202
|
/* @__PURE__ */ e.createElement(j, { iconName: "caretDown", iconSize: "sm" })
|
|
11190
11203
|
)
|
|
11191
11204
|
)) : /* @__PURE__ */ e.createElement("span", null, v.title))))), /* @__PURE__ */ e.createElement("tbody", null, l.map((v, _) => C(v, _)))));
|
|
11192
|
-
}, cs = (
|
|
11193
|
-
var g =
|
|
11205
|
+
}, cs = (p) => {
|
|
11206
|
+
var g = p, {
|
|
11194
11207
|
appendIds: t = !1,
|
|
11195
11208
|
ariaLabel: n = "Table of contents",
|
|
11196
11209
|
headingLevel: s = "h2",
|
|
@@ -11209,7 +11222,7 @@ const es = (o) => {
|
|
|
11209
11222
|
"sourceID",
|
|
11210
11223
|
"className"
|
|
11211
11224
|
]);
|
|
11212
|
-
const
|
|
11225
|
+
const u = "pds-toc", d = [
|
|
11213
11226
|
" ",
|
|
11214
11227
|
"/",
|
|
11215
11228
|
".",
|
|
@@ -11290,10 +11303,10 @@ const es = (o) => {
|
|
|
11290
11303
|
});
|
|
11291
11304
|
}, $ = (M, L) => {
|
|
11292
11305
|
M.preventDefault(), t && f(L), E(L);
|
|
11293
|
-
}, H = ({ headings: M }) => /* @__PURE__ */ e.createElement("ul", { className: `${
|
|
11306
|
+
}, H = ({ headings: M }) => /* @__PURE__ */ e.createElement("ul", { className: `${u}__list ${u}__list--top-level` }, M.map((L) => /* @__PURE__ */ e.createElement("li", { key: L.id, className: `${u}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
11294
11307
|
"a",
|
|
11295
11308
|
{
|
|
11296
|
-
className: L.id === _ ? `${
|
|
11309
|
+
className: L.id === _ ? `${u}__link ${u}__link--active` : `${u}__link`,
|
|
11297
11310
|
href: `#${L.id}`,
|
|
11298
11311
|
onClick: (k) => {
|
|
11299
11312
|
$(k, L.id);
|
|
@@ -11303,12 +11316,12 @@ const es = (o) => {
|
|
|
11303
11316
|
), L.items.length > 0 && /* @__PURE__ */ e.createElement(
|
|
11304
11317
|
"ul",
|
|
11305
11318
|
{
|
|
11306
|
-
className: `${
|
|
11319
|
+
className: `${u}__list ${u}__list--second-level`
|
|
11307
11320
|
},
|
|
11308
|
-
L.items.map((k) => /* @__PURE__ */ e.createElement("li", { key: k.id, className: `${
|
|
11321
|
+
L.items.map((k) => /* @__PURE__ */ e.createElement("li", { key: k.id, className: `${u}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
11309
11322
|
"a",
|
|
11310
11323
|
{
|
|
11311
|
-
className: k.id === _ ? `${
|
|
11324
|
+
className: k.id === _ ? `${u}__link ${u}__link--active` : `${u}__link`,
|
|
11312
11325
|
href: `#${k.id}`,
|
|
11313
11326
|
onClick: (N) => {
|
|
11314
11327
|
$(N, k.id);
|
|
@@ -11321,12 +11334,12 @@ const es = (o) => {
|
|
|
11321
11334
|
"nav",
|
|
11322
11335
|
w({
|
|
11323
11336
|
"aria-label": n,
|
|
11324
|
-
className: z([
|
|
11337
|
+
className: z([u, l])
|
|
11325
11338
|
}, o),
|
|
11326
11339
|
a && /* @__PURE__ */ e.createElement(
|
|
11327
11340
|
Ye,
|
|
11328
11341
|
{
|
|
11329
|
-
baseClass:
|
|
11342
|
+
baseClass: u,
|
|
11330
11343
|
className: `${m ? null : "visually-hidden"}`,
|
|
11331
11344
|
level: s
|
|
11332
11345
|
},
|
|
@@ -11351,15 +11364,15 @@ const es = (o) => {
|
|
|
11351
11364
|
"tabs",
|
|
11352
11365
|
"className"
|
|
11353
11366
|
]);
|
|
11354
|
-
const
|
|
11367
|
+
const p = "pds-tabs", [g, u] = Q(a != null ? a : n);
|
|
11355
11368
|
le(() => {
|
|
11356
|
-
a !== void 0 &&
|
|
11369
|
+
a !== void 0 && u(a);
|
|
11357
11370
|
}, [a]);
|
|
11358
11371
|
const d = (v) => {
|
|
11359
11372
|
const _ = v.currentTarget.getAttribute("data-tabnumber");
|
|
11360
11373
|
if (_) {
|
|
11361
11374
|
const h = parseInt(_, 10);
|
|
11362
|
-
|
|
11375
|
+
u(h);
|
|
11363
11376
|
}
|
|
11364
11377
|
}, b = ce([]);
|
|
11365
11378
|
le(() => {
|
|
@@ -11367,10 +11380,10 @@ const es = (o) => {
|
|
|
11367
11380
|
}, [g, s]), le(() => {
|
|
11368
11381
|
const v = b.current.length - 1;
|
|
11369
11382
|
if (g > v) {
|
|
11370
|
-
|
|
11383
|
+
u(0);
|
|
11371
11384
|
return;
|
|
11372
11385
|
} else if (g < 0) {
|
|
11373
|
-
|
|
11386
|
+
u(v);
|
|
11374
11387
|
return;
|
|
11375
11388
|
}
|
|
11376
11389
|
}, [g]);
|
|
@@ -11380,13 +11393,13 @@ const es = (o) => {
|
|
|
11380
11393
|
i || (i = _ == "next" ? b.current[v + 1] == null ? b.current[0] : b.current[v + 1] : b.current[v - 1]), i.focus();
|
|
11381
11394
|
}, y = (v) => {
|
|
11382
11395
|
const _ = b.current.length, h = () => {
|
|
11383
|
-
C((g + 1) % _, "next"),
|
|
11396
|
+
C((g + 1) % _, "next"), u(g + 1);
|
|
11384
11397
|
}, i = () => {
|
|
11385
|
-
C((g - 1 + _) % _, "prev"),
|
|
11398
|
+
C((g - 1 + _) % _, "prev"), u(g - 1);
|
|
11386
11399
|
}, f = () => {
|
|
11387
|
-
C(0),
|
|
11400
|
+
C(0), u(0);
|
|
11388
11401
|
}, E = () => {
|
|
11389
|
-
C(_ - 1),
|
|
11402
|
+
C(_ - 1), u(_ - 1);
|
|
11390
11403
|
}, $ = () => {
|
|
11391
11404
|
b.current[g].focus();
|
|
11392
11405
|
}, M = {
|
|
@@ -11399,10 +11412,10 @@ const es = (o) => {
|
|
|
11399
11412
|
}[v.code];
|
|
11400
11413
|
M && (v.preventDefault(), M());
|
|
11401
11414
|
};
|
|
11402
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", w({ className: z([
|
|
11415
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", w({ className: z([p, m]) }, c), /* @__PURE__ */ e.createElement(
|
|
11403
11416
|
"div",
|
|
11404
11417
|
{
|
|
11405
|
-
className: `${
|
|
11418
|
+
className: `${p}__tablist`,
|
|
11406
11419
|
role: "tablist",
|
|
11407
11420
|
"aria-label": t,
|
|
11408
11421
|
"aria-orientation": "horizontal"
|
|
@@ -11410,7 +11423,7 @@ const es = (o) => {
|
|
|
11410
11423
|
r.map(({ disabled: v, icon: _, tabId: h, tabLabel: i, tally: f }, E) => /* @__PURE__ */ e.createElement(
|
|
11411
11424
|
"button",
|
|
11412
11425
|
{
|
|
11413
|
-
className: `${
|
|
11426
|
+
className: `${p}__tab`,
|
|
11414
11427
|
"aria-selected": E == g,
|
|
11415
11428
|
"data-tabnumber": E,
|
|
11416
11429
|
role: "tab",
|
|
@@ -11420,27 +11433,27 @@ const es = (o) => {
|
|
|
11420
11433
|
},
|
|
11421
11434
|
key: E,
|
|
11422
11435
|
ref: ($) => v ? null : b.current[E] = $,
|
|
11423
|
-
"aria-controls": `${
|
|
11436
|
+
"aria-controls": `${p}__tab--${E}`,
|
|
11424
11437
|
tabIndex: g === E ? 0 : -1,
|
|
11425
11438
|
"aria-disabled": !!v,
|
|
11426
11439
|
onClick: v ? null : d,
|
|
11427
11440
|
type: "button"
|
|
11428
11441
|
},
|
|
11429
|
-
/* @__PURE__ */ e.createElement("div", { key: _, className: `${
|
|
11442
|
+
/* @__PURE__ */ e.createElement("div", { key: _, className: `${p}__tab-label` }, _ ? /* @__PURE__ */ e.createElement(j, { iconName: _, iconSize: "md" }) : null, " ", i, r[E].tally ? /* @__PURE__ */ e.createElement(k2, { label: f.label, type: f.type }) : null)
|
|
11430
11443
|
))
|
|
11431
11444
|
), r.map(({ disabled: v, icon: _, panelContent: h, tabLabel: i, tally: f }, E) => /* @__PURE__ */ e.createElement(
|
|
11432
11445
|
"div",
|
|
11433
11446
|
{
|
|
11434
|
-
className: `${
|
|
11447
|
+
className: `${p}__panel`,
|
|
11435
11448
|
role: "tabpanel",
|
|
11436
11449
|
key: E,
|
|
11437
|
-
id: `${
|
|
11438
|
-
"aria-labelledby": `${
|
|
11450
|
+
id: `${p}__tab--${E}`,
|
|
11451
|
+
"aria-labelledby": `${p}__tab--${E}`
|
|
11439
11452
|
},
|
|
11440
11453
|
/* @__PURE__ */ e.createElement(
|
|
11441
11454
|
"button",
|
|
11442
11455
|
{
|
|
11443
|
-
className: `${
|
|
11456
|
+
className: `${p}__trigger`,
|
|
11444
11457
|
"aria-selected": E == g,
|
|
11445
11458
|
role: "tab",
|
|
11446
11459
|
"data-tabnumber": E,
|
|
@@ -11452,27 +11465,27 @@ const es = (o) => {
|
|
|
11452
11465
|
onClick: v ? null : d,
|
|
11453
11466
|
type: "button"
|
|
11454
11467
|
},
|
|
11455
|
-
/* @__PURE__ */ e.createElement("div", { key: _, className: `${
|
|
11468
|
+
/* @__PURE__ */ e.createElement("div", { key: _, className: `${p}__tab-label` }, _ ? /* @__PURE__ */ e.createElement(j, { iconSize: "md", iconName: _ }) : null, " ", i, r[E].tally ? /* @__PURE__ */ e.createElement(k2, { label: f.label, type: f.type }) : null),
|
|
11456
11469
|
E == g ? /* @__PURE__ */ e.createElement(
|
|
11457
11470
|
j,
|
|
11458
11471
|
{
|
|
11459
11472
|
iconName: "angleUp",
|
|
11460
11473
|
iconSize: "md",
|
|
11461
|
-
className: `${
|
|
11474
|
+
className: `${p}__panel-content`
|
|
11462
11475
|
}
|
|
11463
11476
|
) : /* @__PURE__ */ e.createElement(
|
|
11464
11477
|
j,
|
|
11465
11478
|
{
|
|
11466
11479
|
iconName: "angleDown",
|
|
11467
11480
|
iconSize: "md",
|
|
11468
|
-
className: `${
|
|
11481
|
+
className: `${p}__panel-content`
|
|
11469
11482
|
}
|
|
11470
11483
|
)
|
|
11471
11484
|
),
|
|
11472
11485
|
/* @__PURE__ */ e.createElement(
|
|
11473
11486
|
"section",
|
|
11474
11487
|
{
|
|
11475
|
-
className: `${
|
|
11488
|
+
className: `${p}__panel-content`,
|
|
11476
11489
|
hidden: E != g
|
|
11477
11490
|
},
|
|
11478
11491
|
h
|
|
@@ -11503,7 +11516,7 @@ const es = (o) => {
|
|
|
11503
11516
|
const n = parseInt(Mt(t), 16);
|
|
11504
11517
|
return yt[n % yt.length];
|
|
11505
11518
|
}, An = (t, n) => t.length > n ? t.slice(0, n) + " ..." : t, os = (o) => {
|
|
11506
|
-
var
|
|
11519
|
+
var p = o, {
|
|
11507
11520
|
linkContent: t,
|
|
11508
11521
|
isRemovable: n,
|
|
11509
11522
|
onRemove: s,
|
|
@@ -11511,7 +11524,7 @@ const es = (o) => {
|
|
|
11511
11524
|
tagColor: r,
|
|
11512
11525
|
tagLabel: m,
|
|
11513
11526
|
className: c
|
|
11514
|
-
} =
|
|
11527
|
+
} = p, l = P(p, [
|
|
11515
11528
|
"linkContent",
|
|
11516
11529
|
"isRemovable",
|
|
11517
11530
|
"onRemove",
|
|
@@ -11520,8 +11533,8 @@ const es = (o) => {
|
|
|
11520
11533
|
"tagLabel",
|
|
11521
11534
|
"className"
|
|
11522
11535
|
]);
|
|
11523
|
-
const [g,
|
|
11524
|
-
|
|
11536
|
+
const [g, u] = Q(!0), d = "pds-tag", b = r ? `${d}--${r}` : `${d}--${In(m)}`, C = g ? null : "pds-tag--hide", y = () => {
|
|
11537
|
+
u((i) => !i);
|
|
11525
11538
|
};
|
|
11526
11539
|
let v, _, h;
|
|
11527
11540
|
return t && !n && Me(t) ? (v = t.type, _ = t.props.href ? "href" : "to", h = _ === "href" ? t.props.href : t.props.to) : (v = "span", _ = null, h = null), /* @__PURE__ */ e.createElement(
|
|
@@ -11565,33 +11578,33 @@ const es = (o) => {
|
|
|
11565
11578
|
"className"
|
|
11566
11579
|
]);
|
|
11567
11580
|
var d, b;
|
|
11568
|
-
const l = "pds-theme-switcher", [o,
|
|
11581
|
+
const l = "pds-theme-switcher", [o, p] = Q(t != null ? t : "light");
|
|
11569
11582
|
le(() => {
|
|
11570
|
-
|
|
11583
|
+
p(t != null ? t : "system");
|
|
11571
11584
|
}, [t]);
|
|
11572
11585
|
const g = [
|
|
11573
11586
|
{
|
|
11574
11587
|
label: s.light,
|
|
11575
11588
|
iconName: "sun",
|
|
11576
11589
|
callback: () => {
|
|
11577
|
-
|
|
11590
|
+
p("light"), n == null || n("light");
|
|
11578
11591
|
}
|
|
11579
11592
|
},
|
|
11580
11593
|
{
|
|
11581
11594
|
label: s.dark,
|
|
11582
11595
|
iconName: "moon",
|
|
11583
11596
|
callback: () => {
|
|
11584
|
-
|
|
11597
|
+
p("dark"), n == null || n("dark");
|
|
11585
11598
|
}
|
|
11586
11599
|
},
|
|
11587
11600
|
{
|
|
11588
11601
|
label: s.system,
|
|
11589
11602
|
iconName: "desktop",
|
|
11590
11603
|
callback: () => {
|
|
11591
|
-
|
|
11604
|
+
p("system"), n == null || n("system");
|
|
11592
11605
|
}
|
|
11593
11606
|
}
|
|
11594
|
-
],
|
|
11607
|
+
], u = (() => {
|
|
11595
11608
|
switch (o) {
|
|
11596
11609
|
case "dark":
|
|
11597
11610
|
return "moon";
|
|
@@ -11613,7 +11626,7 @@ const es = (o) => {
|
|
|
11613
11626
|
id: "theme-switcher-menu",
|
|
11614
11627
|
"aria-label": (b = s.tooltip) != null ? b : "change theme",
|
|
11615
11628
|
label: "",
|
|
11616
|
-
iconName:
|
|
11629
|
+
iconName: u,
|
|
11617
11630
|
menuItems: g,
|
|
11618
11631
|
displayType: "icon-only"
|
|
11619
11632
|
}
|
|
@@ -11630,14 +11643,14 @@ const es = (o) => {
|
|
|
11630
11643
|
]);
|
|
11631
11644
|
const m = "pds-avatar-tile-list", c = "pds-tile-list", l = ({
|
|
11632
11645
|
image: g,
|
|
11633
|
-
alt:
|
|
11646
|
+
alt: u,
|
|
11634
11647
|
name: d,
|
|
11635
11648
|
title: b,
|
|
11636
11649
|
org: C
|
|
11637
|
-
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${c}__image ${c}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt:
|
|
11650
|
+
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, g && /* @__PURE__ */ e.createElement("div", { className: `${c}__image ${c}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: g, alt: u })), d && /* @__PURE__ */ e.createElement("div", { className: `${c}__name` }, d), b && /* @__PURE__ */ e.createElement("div", { className: `${c}__title` }, b), C && /* @__PURE__ */ e.createElement("div", { className: `${c}__org` }, C)), o = (g) => Me(g.linkContent) ? Se(g.linkContent, {
|
|
11638
11651
|
children: /* @__PURE__ */ e.createElement(l, w({}, g)),
|
|
11639
11652
|
className: `${c}__item`
|
|
11640
|
-
}) : /* @__PURE__ */ e.createElement("span", { className: `${c}__item` }, /* @__PURE__ */ e.createElement(l, w({}, g))),
|
|
11653
|
+
}) : /* @__PURE__ */ e.createElement("span", { className: `${c}__item` }, /* @__PURE__ */ e.createElement(l, w({}, g))), p = () => t.map((g, u) => /* @__PURE__ */ e.createElement(s1, { key: `tile-${u}` }, o(g), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
|
|
11641
11654
|
return /* @__PURE__ */ e.createElement(
|
|
11642
11655
|
"div",
|
|
11643
11656
|
w({
|
|
@@ -11648,10 +11661,10 @@ const es = (o) => {
|
|
|
11648
11661
|
n != null ? n : ""
|
|
11649
11662
|
])
|
|
11650
11663
|
}, s),
|
|
11651
|
-
|
|
11664
|
+
p()
|
|
11652
11665
|
);
|
|
11653
11666
|
}, Tn = (o) => {
|
|
11654
|
-
var
|
|
11667
|
+
var p = o, {
|
|
11655
11668
|
displayType: t = "border",
|
|
11656
11669
|
headingLevel: n = "span",
|
|
11657
11670
|
headingText: s,
|
|
@@ -11659,7 +11672,7 @@ const es = (o) => {
|
|
|
11659
11672
|
linkContent: r,
|
|
11660
11673
|
summary: m,
|
|
11661
11674
|
className: c
|
|
11662
|
-
} =
|
|
11675
|
+
} = p, l = P(p, [
|
|
11663
11676
|
"displayType",
|
|
11664
11677
|
"headingLevel",
|
|
11665
11678
|
"headingText",
|
|
@@ -11668,11 +11681,11 @@ const es = (o) => {
|
|
|
11668
11681
|
"summary",
|
|
11669
11682
|
"className"
|
|
11670
11683
|
]);
|
|
11671
|
-
const g = "pds-tile",
|
|
11684
|
+
const g = "pds-tile", u = `${g}--${t}`;
|
|
11672
11685
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
11673
11686
|
"div",
|
|
11674
11687
|
w({
|
|
11675
|
-
className: z([g,
|
|
11688
|
+
className: z([g, u, c != null ? c : ""])
|
|
11676
11689
|
}, l),
|
|
11677
11690
|
a && /* @__PURE__ */ e.createElement("div", { className: `${g}__image` }, /* @__PURE__ */ e.createElement("img", { src: a, alt: "" })),
|
|
11678
11691
|
s && /* @__PURE__ */ e.createElement(
|
|
@@ -11706,28 +11719,28 @@ const es = (o) => {
|
|
|
11706
11719
|
"tiles",
|
|
11707
11720
|
"className"
|
|
11708
11721
|
]);
|
|
11709
|
-
const l = s.length, o = "pds-tile-grid",
|
|
11722
|
+
const l = s.length, o = "pds-tile-grid", p = `${o}--${t}`, g = l === 2 || l === 4 ? `${o}--two-column` : null;
|
|
11710
11723
|
return /* @__PURE__ */ e.createElement(
|
|
11711
11724
|
"div",
|
|
11712
11725
|
w({
|
|
11713
11726
|
className: z([
|
|
11714
11727
|
o,
|
|
11715
|
-
|
|
11728
|
+
p,
|
|
11716
11729
|
g,
|
|
11717
11730
|
a != null ? a : ""
|
|
11718
11731
|
])
|
|
11719
11732
|
}, r),
|
|
11720
|
-
s.map((
|
|
11733
|
+
s.map((u, d) => /* @__PURE__ */ e.createElement(
|
|
11721
11734
|
Tn,
|
|
11722
11735
|
{
|
|
11723
11736
|
key: d,
|
|
11724
11737
|
displayType: t,
|
|
11725
11738
|
headingLevel: n,
|
|
11726
|
-
headingText:
|
|
11727
|
-
imageSrc:
|
|
11728
|
-
linkContent:
|
|
11729
|
-
summary:
|
|
11730
|
-
className:
|
|
11739
|
+
headingText: u.headingText,
|
|
11740
|
+
imageSrc: u.imageSrc,
|
|
11741
|
+
linkContent: u.linkContent,
|
|
11742
|
+
summary: u.summary,
|
|
11743
|
+
className: u.className
|
|
11731
11744
|
}
|
|
11732
11745
|
))
|
|
11733
11746
|
);
|
|
@@ -11741,13 +11754,13 @@ const es = (o) => {
|
|
|
11741
11754
|
"hasContentSpacing",
|
|
11742
11755
|
"className"
|
|
11743
11756
|
]);
|
|
11744
|
-
const { isMobile: c } = $e(Le), l = "pds-dashboard-inner", o = c ? `${l}--isMobile` : `${l}--notMobile`,
|
|
11757
|
+
const { isMobile: c } = $e(Le), l = "pds-dashboard-inner", o = c ? `${l}--isMobile` : `${l}--notMobile`, p = Fe(t), g = p["header-left"], u = p["header-right"], d = p.content;
|
|
11745
11758
|
return /* @__PURE__ */ e.createElement(
|
|
11746
11759
|
"div",
|
|
11747
11760
|
w({
|
|
11748
11761
|
className: z([l, o, s != null ? s : ""])
|
|
11749
11762
|
}, a),
|
|
11750
|
-
(g ||
|
|
11763
|
+
(g || u) && /* @__PURE__ */ e.createElement("div", { className: `${l}__header` }, g && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-left` }, g), u && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-right` }, u)),
|
|
11751
11764
|
d && /* @__PURE__ */ e.createElement(
|
|
11752
11765
|
"div",
|
|
11753
11766
|
{
|
|
@@ -11767,13 +11780,13 @@ const es = (o) => {
|
|
|
11767
11780
|
let m = !1;
|
|
11768
11781
|
const c = $e(Le);
|
|
11769
11782
|
c && (m = c.isMobile);
|
|
11770
|
-
const l = "pds-docs-layout", o = m ? `${l}--isMobile` : null,
|
|
11783
|
+
const l = "pds-docs-layout", o = m ? `${l}--isMobile` : null, p = Fe(t), g = p.navigation ? /* @__PURE__ */ e.createElement("div", { key: "navigation", className: `${l}__nav` }, p.navigation) : null, u = /* @__PURE__ */ e.createElement("div", { key: "content", className: `${l}__content` }, p.content);
|
|
11771
11784
|
return /* @__PURE__ */ e.createElement(
|
|
11772
11785
|
"div",
|
|
11773
11786
|
w({
|
|
11774
11787
|
className: z([l, o, n != null ? n : ""])
|
|
11775
11788
|
}, s),
|
|
11776
|
-
[g,
|
|
11789
|
+
[g, u]
|
|
11777
11790
|
);
|
|
11778
11791
|
}, hs = (y) => {
|
|
11779
11792
|
var v = y, {
|
|
@@ -11786,9 +11799,9 @@ const es = (o) => {
|
|
|
11786
11799
|
mobileAlignItems: c,
|
|
11787
11800
|
mobileAlignContent: l,
|
|
11788
11801
|
mobileFlexDirection: o = "column",
|
|
11789
|
-
mobileFlexWrap:
|
|
11802
|
+
mobileFlexWrap: p,
|
|
11790
11803
|
mobileGap: g,
|
|
11791
|
-
mobileJustifyContent:
|
|
11804
|
+
mobileJustifyContent: u,
|
|
11792
11805
|
children: d,
|
|
11793
11806
|
className: b
|
|
11794
11807
|
} = v, C = P(v, [
|
|
@@ -11814,9 +11827,9 @@ const es = (o) => {
|
|
|
11814
11827
|
let H = null;
|
|
11815
11828
|
h ? H = `${f}-direction--${o}` : s !== "row" && (H = `${f}-direction--${s}`);
|
|
11816
11829
|
let M = null;
|
|
11817
|
-
h ?
|
|
11830
|
+
h ? p ? p !== "nowrap" && (M = `${f}-wrap--${p}`) : a !== "nowrap" && (M = `${f}-wrap--${a}`) : a !== "nowrap" && (M = `${f}-wrap--${a}`);
|
|
11818
11831
|
let L = null;
|
|
11819
|
-
h ?
|
|
11832
|
+
h ? u ? u !== "flex-start" && (L = `${f}-justify--${u}`) : m !== "flex-start" && (L = `${f}-justify--${m}`) : m !== "flex-start" && (L = `${f}-justify--${m}`);
|
|
11820
11833
|
let k = null;
|
|
11821
11834
|
h ? c ? c !== "stretch" && (k = `${f}-align-items--${c}`) : n !== "stretch" && (k = `${f}-align-items--${n}`) : n !== "stretch" && (k = `${f}-align-items--${n}`);
|
|
11822
11835
|
let N = null;
|
|
@@ -11858,7 +11871,7 @@ const es = (o) => {
|
|
|
11858
11871
|
"sidebarWidth",
|
|
11859
11872
|
"className"
|
|
11860
11873
|
]);
|
|
11861
|
-
const
|
|
11874
|
+
const p = "pds-sidebar-layout", g = `pds-grid pds-grid--${n}`, u = `${p}--${r}`;
|
|
11862
11875
|
let d = !1;
|
|
11863
11876
|
const b = $e(Le);
|
|
11864
11877
|
b && (d = b.isMobile);
|
|
@@ -11869,14 +11882,14 @@ const es = (o) => {
|
|
|
11869
11882
|
"div",
|
|
11870
11883
|
{
|
|
11871
11884
|
key: "content",
|
|
11872
|
-
className: `${
|
|
11885
|
+
className: `${p}__main ${d ? "pds-grid-item" : y}`
|
|
11873
11886
|
},
|
|
11874
11887
|
C.content
|
|
11875
11888
|
), h = /* @__PURE__ */ e.createElement(
|
|
11876
11889
|
"div",
|
|
11877
11890
|
{
|
|
11878
11891
|
key: "sidebar",
|
|
11879
|
-
className: `${
|
|
11892
|
+
className: `${p}__side ${d ? "pds-grid-item" : v}`
|
|
11880
11893
|
},
|
|
11881
11894
|
C.sidebar
|
|
11882
11895
|
);
|
|
@@ -11884,9 +11897,9 @@ const es = (o) => {
|
|
|
11884
11897
|
"div",
|
|
11885
11898
|
w({
|
|
11886
11899
|
className: z([
|
|
11887
|
-
u,
|
|
11888
|
-
g,
|
|
11889
11900
|
p,
|
|
11901
|
+
g,
|
|
11902
|
+
u,
|
|
11890
11903
|
m != null ? m : ""
|
|
11891
11904
|
])
|
|
11892
11905
|
}, c),
|
|
@@ -11900,20 +11913,20 @@ const es = (o) => {
|
|
|
11900
11913
|
"children",
|
|
11901
11914
|
"className"
|
|
11902
11915
|
]);
|
|
11903
|
-
const m = Fe(t), c = m.stepper, l = m.form, o = ce(), [
|
|
11916
|
+
const m = Fe(t), c = m.stepper, l = m.form, o = ce(), [p] = S2(o), g = p.width;
|
|
11904
11917
|
document.documentElement.style.setProperty(
|
|
11905
11918
|
"--stepper-layout-max-width",
|
|
11906
11919
|
g + "px"
|
|
11907
11920
|
);
|
|
11908
|
-
const
|
|
11909
|
-
return /* @__PURE__ */ e.createElement(h2, w({ className: z([
|
|
11921
|
+
const u = "pds-stepper-layout";
|
|
11922
|
+
return /* @__PURE__ */ e.createElement(h2, w({ className: z([u, n]) }, s), c && /* @__PURE__ */ e.createElement(
|
|
11910
11923
|
"div",
|
|
11911
11924
|
{
|
|
11912
|
-
className: `${
|
|
11925
|
+
className: `${u}__stepper-container`,
|
|
11913
11926
|
ref: o
|
|
11914
11927
|
},
|
|
11915
11928
|
c
|
|
11916
|
-
), l && /* @__PURE__ */ e.createElement("div", { className: `${
|
|
11929
|
+
), l && /* @__PURE__ */ e.createElement("div", { className: `${u}__form-container` }, l));
|
|
11917
11930
|
}, _s = (m) => {
|
|
11918
11931
|
var c = m, {
|
|
11919
11932
|
children: t,
|
|
@@ -11926,7 +11939,7 @@ const es = (o) => {
|
|
|
11926
11939
|
"verticalAlign",
|
|
11927
11940
|
"className"
|
|
11928
11941
|
]);
|
|
11929
|
-
const l = "pds-three-item-layout", o = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`,
|
|
11942
|
+
const l = "pds-three-item-layout", o = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, p = `${l}--${s}`, g = Fe(t), u = [
|
|
11930
11943
|
g["first-item"],
|
|
11931
11944
|
g["second-item"],
|
|
11932
11945
|
g["third-item"]
|
|
@@ -11937,11 +11950,11 @@ const es = (o) => {
|
|
|
11937
11950
|
className: z([
|
|
11938
11951
|
l,
|
|
11939
11952
|
o,
|
|
11940
|
-
|
|
11953
|
+
p,
|
|
11941
11954
|
a
|
|
11942
11955
|
])
|
|
11943
11956
|
}, r),
|
|
11944
|
-
|
|
11957
|
+
u.map((d, b) => /* @__PURE__ */ e.createElement(
|
|
11945
11958
|
"div",
|
|
11946
11959
|
{
|
|
11947
11960
|
key: b,
|
|
@@ -11964,11 +11977,11 @@ const es = (o) => {
|
|
|
11964
11977
|
"verticalAlign",
|
|
11965
11978
|
"className"
|
|
11966
11979
|
]);
|
|
11967
|
-
const o = "pds-two-item-layout",
|
|
11980
|
+
const o = "pds-two-item-layout", p = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, g = `${o}--${a}`, u = ["pds-grid-item--md-6"], d = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], b = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], C = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
11968
11981
|
let y, v;
|
|
11969
11982
|
switch (s) {
|
|
11970
11983
|
case "equal":
|
|
11971
|
-
y = C.concat(
|
|
11984
|
+
y = C.concat(u), v = C.concat(u);
|
|
11972
11985
|
break;
|
|
11973
11986
|
case "one-third-start":
|
|
11974
11987
|
y = C.concat(d), v = C.concat(b);
|
|
@@ -11982,7 +11995,7 @@ const es = (o) => {
|
|
|
11982
11995
|
w({
|
|
11983
11996
|
className: z([
|
|
11984
11997
|
o,
|
|
11985
|
-
|
|
11998
|
+
p,
|
|
11986
11999
|
g,
|
|
11987
12000
|
r
|
|
11988
12001
|
])
|