@pantheon-systems/pds-toolkit-react 1.0.0-dev.240 → 1.0.0-dev.241
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/Tag/Tag.d.ts +1 -1
- package/_dist/components/icons/Icon/Icon.d.ts +17 -1
- package/_dist/css/component-css/pds-index.css +1 -1
- package/_dist/css/component-css/pds-tag.css +1 -1
- package/_dist/css/pds-components.css +1 -1
- package/_dist/index.css +1 -1
- package/_dist/index.js +601 -587
- package/_dist/index.js.map +1 -1
- package/package.json +1 -1
package/_dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ import './index.css';var O1 = Object.defineProperty, F1 = Object.definePropertie
|
|
|
2
2
|
var P1 = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var E2 = Object.getOwnPropertySymbols;
|
|
4
4
|
var l1 = Object.prototype.hasOwnProperty, a1 = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var s1 = (t, n, s) => n in t ? O1(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s,
|
|
5
|
+
var s1 = (t, n, s) => n in t ? O1(t, n, { enumerable: !0, configurable: !0, writable: !0, value: s }) : t[n] = s, y = (t, n) => {
|
|
6
6
|
for (var s in n || (n = {}))
|
|
7
7
|
l1.call(n, s) && s1(t, s, n[s]);
|
|
8
8
|
if (E2)
|
|
@@ -82,7 +82,7 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
82
82
|
};
|
|
83
83
|
return /* @__PURE__ */ e.createElement(
|
|
84
84
|
"svg",
|
|
85
|
-
|
|
85
|
+
y({
|
|
86
86
|
xmlns: "http://www.w3.org/2000/svg",
|
|
87
87
|
role: "img",
|
|
88
88
|
viewBox: c,
|
|
@@ -165,6 +165,10 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
165
165
|
path: "M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z",
|
|
166
166
|
width: "448"
|
|
167
167
|
},
|
|
168
|
+
boltPantheon: {
|
|
169
|
+
path: "M183.215 0L254.271 277.176H204.614L302 512L46.228 187.779H135.272L0 0.434418L144.526 0.459972L145.968 0H183.215Z",
|
|
170
|
+
width: "304"
|
|
171
|
+
},
|
|
168
172
|
book: {
|
|
169
173
|
path: "M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z",
|
|
170
174
|
width: "448"
|
|
@@ -433,6 +437,10 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
433
437
|
path: "M64 480H448c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64H288c-10.1 0-19.6-4.7-25.6-12.8L243.2 57.6C231.1 41.5 212.1 32 192 32H64C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64z",
|
|
434
438
|
width: "512"
|
|
435
439
|
},
|
|
440
|
+
folderTree: {
|
|
441
|
+
path: "M60 67.375V123.375H228H228V179.375H60V375.375H228V431.375H60C28.5 431.375 4 406.875 4 375.375V151.375V67.375C4 52.9 20.25 39.375 32 39.375C46.875 39.375 60 52.9 60 67.375ZM256 207.375V67.375C256 52.9 272.25 39.375 284 39.375H341.75C350.5 39.375 357.625 43.875 362 48.25L373.25 59.5C377.625 63.875 384.75 67.375 393.5 67.375H480C494.875 67.375 508 80.9 508 95.375V207.375C508 222.25 494.875 235.375 480 235.375H284C272.25 235.375 256 222.25 256 207.375ZM256 459.375V319.375C256 304.9 272.25 291.375 284 291.375H341.75C350.5 291.375 357.625 295.875 362 300.25L373.25 311.5C377.625 315.875 384.75 319.375 393.5 319.375H480C494.875 319.375 508 332.9 508 347.375V459.375C508 474.25 494.875 487.375 480 487.375H284C272.25 487.375 256 474.25 256 459.375Z",
|
|
442
|
+
width: "512"
|
|
443
|
+
},
|
|
436
444
|
gear: {
|
|
437
445
|
path: "M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336a80 80 0 1 0 0-160 80 80 0 1 0 0 160z",
|
|
438
446
|
width: "512"
|
|
@@ -601,6 +609,14 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
601
609
|
path: "M75 75L41 41C25.9 25.9 0 36.6 0 57.9V168c0 13.3 10.7 24 24 24H134.1c21.4 0 32.1-25.9 17-41l-30.8-30.8C155 85.5 203 64 256 64c106 0 192 86 192 192s-86 192-192 192c-40.8 0-78.6-12.7-109.7-34.4c-14.5-10.1-34.4-6.6-44.6 7.9s-6.6 34.4 7.9 44.6C151.2 495 201.7 512 256 512c141.4 0 256-114.6 256-256S397.4 0 256 0C185.3 0 121.3 28.7 75 75zm181 53c-13.3 0-24 10.7-24 24V256c0 6.4 2.5 12.5 7 17l72 72c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-65-65V152c0-13.3-10.7-24-24-24z",
|
|
602
610
|
width: "512"
|
|
603
611
|
},
|
|
612
|
+
rotateLeft: {
|
|
613
|
+
path: "M48.5 224L40 224c-13.3 0-24-10.7-24-24L16 72c0-9.7 5.8-18.5 14.8-22.2s19.3-1.7 26.2 5.2L98.6 96.6c87.6-86.5 228.7-86.2 315.8 1c87.5 87.5 87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3c-62.2-62.2-162.7-62.5-225.3-1L185 183c6.9 6.9 8.9 17.2 5.2 26.2s-12.5 14.8-22.2 14.8L48.5 224z",
|
|
614
|
+
width: "512"
|
|
615
|
+
},
|
|
616
|
+
rotateRight: {
|
|
617
|
+
path: "M463.5 224l8.5 0c13.3 0 24-10.7 24-24l0-128c0-9.7-5.8-18.5-14.8-22.2s-19.3-1.7-26.2 5.2L413.4 96.6c-87.6-86.5-228.7-86.2-315.8 1c-87.5 87.5-87.5 229.3 0 316.8s229.3 87.5 316.8 0c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0c-62.5 62.5-163.8 62.5-226.3 0s-62.5-163.8 0-226.3c62.2-62.2 162.7-62.5 225.3-1L327 183c-6.9 6.9-8.9 17.2-5.2 26.2s12.5 14.8 22.2 14.8l119.5 0z",
|
|
618
|
+
width: "512"
|
|
619
|
+
},
|
|
604
620
|
rss: {
|
|
605
621
|
path: "M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zM96 136c0-13.3 10.7-24 24-24c137 0 248 111 248 248c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-110.5-89.5-200-200-200c-13.3 0-24-10.7-24-24zm0 96c0-13.3 10.7-24 24-24c83.9 0 152 68.1 152 152c0 13.3-10.7 24-24 24s-24-10.7-24-24c0-57.4-46.6-104-104-104c-13.3 0-24-10.7-24-24zm0 120a32 32 0 1 1 64 0 32 32 0 1 1 -64 0z",
|
|
606
622
|
width: "448"
|
|
@@ -826,7 +842,7 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
826
842
|
}
|
|
827
843
|
) : /* @__PURE__ */ e.createElement("span", { style: v }, n && /* @__PURE__ */ e.createElement(F, { iconName: "user", className: `${h}__user-icon` })), f = /* @__PURE__ */ e.createElement("span", { className: `${h}__content` }, b), i = we(a) ? xe(
|
|
828
844
|
a,
|
|
829
|
-
me(
|
|
845
|
+
me(y({}, a.props), {
|
|
830
846
|
className: `${h}__content ${h}__content--link`,
|
|
831
847
|
"aria-label": t
|
|
832
848
|
}),
|
|
@@ -834,7 +850,7 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
834
850
|
) : null;
|
|
835
851
|
return /* @__PURE__ */ e.createElement(
|
|
836
852
|
"div",
|
|
837
|
-
|
|
853
|
+
y({
|
|
838
854
|
className: V([h, p, u, l])
|
|
839
855
|
}, c),
|
|
840
856
|
a ? i : f
|
|
@@ -854,7 +870,7 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
854
870
|
const c = "pds-indicator-badge", o = `${c}--${s}`, m = `${c}--${n}`;
|
|
855
871
|
return /* @__PURE__ */ e.createElement(
|
|
856
872
|
"span",
|
|
857
|
-
|
|
873
|
+
y({
|
|
858
874
|
className: [c, o, m, a != null ? a : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
859
875
|
}, r),
|
|
860
876
|
/* @__PURE__ */ e.createElement("span", { className: `${c}__label` }, t)
|
|
@@ -878,7 +894,7 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
878
894
|
const m = "pds-status-badge", h = `${m}--${t}`, p = `${m}__status`, u = r ? `${p}--${r}` : null;
|
|
879
895
|
return /* @__PURE__ */ e.createElement(
|
|
880
896
|
"div",
|
|
881
|
-
|
|
897
|
+
y({
|
|
882
898
|
className: [m, h, d != null ? d : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
883
899
|
}, l),
|
|
884
900
|
n === !0 && /* @__PURE__ */ e.createElement("span", { className: [p, u].join(" ").trim() }, r && /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, a, " ", r)),
|
|
@@ -905,7 +921,7 @@ const a2 = () => Math.random().toString(32).substring(2, 13), w1 = (t, n) => {
|
|
|
905
921
|
const c = "pds-tally", o = `${c}--${n}`, m = `${s[n]}: `;
|
|
906
922
|
return /* @__PURE__ */ e.createElement(
|
|
907
923
|
"div",
|
|
908
|
-
|
|
924
|
+
y({
|
|
909
925
|
className: V([c, o, a != null ? a : ""])
|
|
910
926
|
}, r),
|
|
911
927
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__label` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, m), t)
|
|
@@ -936,9 +952,9 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
936
952
|
"zIndex",
|
|
937
953
|
"className"
|
|
938
954
|
]);
|
|
939
|
-
const [_, E] = G(!1),
|
|
955
|
+
const [_, E] = G(!1), H = typeof n, v = "pds-tooltip", b = V([
|
|
940
956
|
`${v}__trigger-custom`,
|
|
941
|
-
|
|
957
|
+
H === "string" ? `${v}__trigger-text` : null
|
|
942
958
|
]), f = V([
|
|
943
959
|
`${v}__trigger`,
|
|
944
960
|
`${v}__trigger--${l}`
|
|
@@ -952,27 +968,27 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
952
968
|
restMs: 300,
|
|
953
969
|
delay: { open: 500, close: 0 },
|
|
954
970
|
move: !1
|
|
955
|
-
}), M = _1(C), z = Se(C), w = Te(C, { role: "tooltip" }), { getReferenceProps:
|
|
971
|
+
}), M = _1(C), z = Se(C), w = Te(C, { role: "tooltip" }), { getReferenceProps: L, getFloatingProps: k } = Ae([
|
|
956
972
|
$,
|
|
957
973
|
M,
|
|
958
974
|
z,
|
|
959
975
|
w
|
|
960
976
|
]);
|
|
961
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
977
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([v, m != null ? m : ""]) }, h), n ? /* @__PURE__ */ e.createElement(
|
|
962
978
|
"span",
|
|
963
|
-
|
|
979
|
+
y({
|
|
964
980
|
className: b,
|
|
965
981
|
ref: i.setReference
|
|
966
|
-
},
|
|
982
|
+
}, L()),
|
|
967
983
|
n
|
|
968
984
|
) : /* @__PURE__ */ e.createElement(
|
|
969
985
|
"button",
|
|
970
|
-
|
|
986
|
+
y({
|
|
971
987
|
type: "button",
|
|
972
988
|
"aria-label": r,
|
|
973
989
|
className: f,
|
|
974
990
|
ref: i.setReference
|
|
975
|
-
},
|
|
991
|
+
}, L()),
|
|
976
992
|
/* @__PURE__ */ e.createElement(
|
|
977
993
|
F,
|
|
978
994
|
{
|
|
@@ -983,10 +999,10 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
983
999
|
)
|
|
984
1000
|
), _ && /* @__PURE__ */ e.createElement(v1, null, /* @__PURE__ */ e.createElement(
|
|
985
1001
|
"div",
|
|
986
|
-
|
|
1002
|
+
y({
|
|
987
1003
|
className: `${v}__container`,
|
|
988
1004
|
ref: i.setFloating,
|
|
989
|
-
style: me(
|
|
1005
|
+
style: me(y({}, g), { zIndex: o })
|
|
990
1006
|
}, k()),
|
|
991
1007
|
t
|
|
992
1008
|
)));
|
|
@@ -1013,7 +1029,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1013
1029
|
const E = r !== null && r > 0 ? `${r}rem` : "100%";
|
|
1014
1030
|
return /* @__PURE__ */ e.createElement(
|
|
1015
1031
|
"div",
|
|
1016
|
-
|
|
1032
|
+
y({
|
|
1017
1033
|
className: V([m, d != null ? d : ""]),
|
|
1018
1034
|
style: { width: E }
|
|
1019
1035
|
}, l),
|
|
@@ -1065,7 +1081,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1065
1081
|
const o = t ? `${t}__heading` : null;
|
|
1066
1082
|
return B1(
|
|
1067
1083
|
a,
|
|
1068
|
-
|
|
1084
|
+
y({ className: V([o, r]), id: s }, d),
|
|
1069
1085
|
n
|
|
1070
1086
|
);
|
|
1071
1087
|
}, Q2 = (t) => typeof t == "string" || typeof t == "number" ? String(t) : e.isValidElement(t) ? e.Children.toArray(t.props.children).map(Q2).join("") : "", ee = {
|
|
@@ -1075,7 +1091,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1075
1091
|
error: "pds-has-error",
|
|
1076
1092
|
success: "pds-has-success",
|
|
1077
1093
|
readonly: "pds-is-readonly"
|
|
1078
|
-
}, Je = (t) => t ? { width: `${t / 16}rem` } : null,
|
|
1094
|
+
}, Je = (t) => t ? { width: `${t / 16}rem` } : null, L1 = () => /* @__PURE__ */ e.createElement(
|
|
1079
1095
|
F,
|
|
1080
1096
|
{
|
|
1081
1097
|
iconName: "asterisk",
|
|
@@ -1097,7 +1113,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1097
1113
|
"pds-input-label",
|
|
1098
1114
|
s ? null : "visually-hidden",
|
|
1099
1115
|
o != null ? o : ""
|
|
1100
|
-
]), h = /* @__PURE__ */ e.createElement(e.Fragment, null, n, a && !r && /* @__PURE__ */ e.createElement(
|
|
1116
|
+
]), h = /* @__PURE__ */ e.createElement(e.Fragment, null, n, a && !r && /* @__PURE__ */ e.createElement(L1, null), c && /* @__PURE__ */ e.createElement(Ve, { content: c }, /* @__PURE__ */ e.createElement("span", null, /* @__PURE__ */ e.createElement(F, { iconName: "circleInfo", iconSize: "sm" }))));
|
|
1101
1117
|
return d ? /* @__PURE__ */ e.createElement("legend", { className: m, id: `${t}-legend` }, h) : l ? /* @__PURE__ */ e.createElement("span", { className: m, id: `${t}-field-label` }, h) : /* @__PURE__ */ e.createElement("label", { htmlFor: t, className: m, id: `${t}-label` }, h);
|
|
1102
1118
|
}, De = ({
|
|
1103
1119
|
forInputGroup: t = !1,
|
|
@@ -1134,7 +1150,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1134
1150
|
className: `${n}__icon`
|
|
1135
1151
|
}
|
|
1136
1152
|
));
|
|
1137
|
-
},
|
|
1153
|
+
}, H1 = ({
|
|
1138
1154
|
inputId: t,
|
|
1139
1155
|
shortcutLabel: n
|
|
1140
1156
|
}) => (X1("/", (a) => {
|
|
@@ -1154,7 +1170,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1154
1170
|
onClick: s
|
|
1155
1171
|
},
|
|
1156
1172
|
/* @__PURE__ */ e.createElement(F, { iconName: "xmark", iconSize: "md" })
|
|
1157
|
-
),
|
|
1173
|
+
), y1 = ({
|
|
1158
1174
|
id: t,
|
|
1159
1175
|
currentLength: n,
|
|
1160
1176
|
maxLength: s,
|
|
@@ -1174,14 +1190,14 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1174
1190
|
);
|
|
1175
1191
|
}, e1 = (s) => {
|
|
1176
1192
|
var a = s, { label: t } = a, n = A(a, ["label"]);
|
|
1177
|
-
return /* @__PURE__ */ e.createElement("span",
|
|
1193
|
+
return /* @__PURE__ */ e.createElement("span", y({ className: "visually-hidden" }, n), t);
|
|
1178
1194
|
}, o1 = (t) => "options" in t, w2 = Ue(
|
|
1179
1195
|
(d, r) => {
|
|
1180
1196
|
var l = d, { children: t, isActive: n, className: s } = l, a = A(l, ["children", "isActive", "className"]);
|
|
1181
1197
|
const c = U1(), o = "pds-input__select-option", m = n ? `${o}--active` : null;
|
|
1182
1198
|
return /* @__PURE__ */ e.createElement(
|
|
1183
1199
|
"li",
|
|
1184
|
-
|
|
1200
|
+
y({
|
|
1185
1201
|
ref: r,
|
|
1186
1202
|
role: "option",
|
|
1187
1203
|
id: c,
|
|
@@ -1210,7 +1226,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1210
1226
|
const m = "pds-spinner", h = t !== "full-color" ? `${m}--${t}` : null, p = `${m}--${r}`, u = n ? `${m}--inline` : null;
|
|
1211
1227
|
return /* @__PURE__ */ e.createElement(
|
|
1212
1228
|
"span",
|
|
1213
|
-
|
|
1229
|
+
y({
|
|
1214
1230
|
className: [m, h, u, p, d].join(" ").trim().replace(/\s+/g, " "),
|
|
1215
1231
|
role: "status",
|
|
1216
1232
|
"aria-hidden": "true"
|
|
@@ -1219,8 +1235,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1219
1235
|
a && !n ? /* @__PURE__ */ e.createElement("span", { className: `${m}__label` }, s) : /* @__PURE__ */ e.createElement(e1, { label: s })
|
|
1220
1236
|
);
|
|
1221
1237
|
}, g2 = Ue(
|
|
1222
|
-
(
|
|
1223
|
-
var v =
|
|
1238
|
+
(H, E) => {
|
|
1239
|
+
var v = H, {
|
|
1224
1240
|
ariaLabel: t,
|
|
1225
1241
|
buttonType: n = "button",
|
|
1226
1242
|
disabled: s = !1,
|
|
@@ -1273,7 +1289,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1273
1289
|
let M = [o];
|
|
1274
1290
|
return a == "icon-start" && r && M.unshift($), a == "icon-end" && r && M.push($), c && (M = [$], t = Q2(o)), /* @__PURE__ */ e.createElement(
|
|
1275
1291
|
"button",
|
|
1276
|
-
|
|
1292
|
+
y({
|
|
1277
1293
|
type: n,
|
|
1278
1294
|
className: V([
|
|
1279
1295
|
b,
|
|
@@ -1291,7 +1307,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1291
1307
|
M
|
|
1292
1308
|
);
|
|
1293
1309
|
}
|
|
1294
|
-
),
|
|
1310
|
+
), L2 = (o) => {
|
|
1295
1311
|
var m = o, {
|
|
1296
1312
|
disabled: t = !1,
|
|
1297
1313
|
displayType: n = "label-only",
|
|
@@ -1313,7 +1329,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1313
1329
|
p,
|
|
1314
1330
|
u,
|
|
1315
1331
|
_
|
|
1316
|
-
]),
|
|
1332
|
+
]), H = we(a) ? a.props.children : null, v = /* @__PURE__ */ e.createElement(
|
|
1317
1333
|
F,
|
|
1318
1334
|
{
|
|
1319
1335
|
iconName: s,
|
|
@@ -1322,8 +1338,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1322
1338
|
key: s
|
|
1323
1339
|
}
|
|
1324
1340
|
);
|
|
1325
|
-
let b = [
|
|
1326
|
-
n === "icon-start" && s ? b = [v,
|
|
1341
|
+
let b = [H];
|
|
1342
|
+
n === "icon-start" && s ? b = [v, H] : n === "icon-end" && s && (b = [H, v]);
|
|
1327
1343
|
const f = we(a) ? xe(a, {
|
|
1328
1344
|
className: E,
|
|
1329
1345
|
children: b
|
|
@@ -1337,7 +1353,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1337
1353
|
size: r,
|
|
1338
1354
|
variant: d
|
|
1339
1355
|
}
|
|
1340
|
-
) : /* @__PURE__ */ e.createElement("span",
|
|
1356
|
+
) : /* @__PURE__ */ e.createElement("span", y({ className: V([h, l != null ? l : ""]) }, c), f);
|
|
1341
1357
|
}, rt = (t, n) => {
|
|
1342
1358
|
const [s, a] = G(!1), r = n == null ? void 0 : n.duration;
|
|
1343
1359
|
return oe(() => {
|
|
@@ -1354,7 +1370,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1354
1370
|
} catch (l) {
|
|
1355
1371
|
}
|
|
1356
1372
|
})];
|
|
1357
|
-
},
|
|
1373
|
+
}, H2 = Ue(
|
|
1358
1374
|
(u, p) => {
|
|
1359
1375
|
var _ = u, {
|
|
1360
1376
|
ariaLabel: t,
|
|
@@ -1379,7 +1395,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1379
1395
|
"variant",
|
|
1380
1396
|
"className"
|
|
1381
1397
|
]);
|
|
1382
|
-
const E = "pds-icon-button",
|
|
1398
|
+
const E = "pds-icon-button", H = c !== "md" ? `${E}--${c}` : null, v = o !== "standard" ? `${E}--${o}` : null, b = {
|
|
1383
1399
|
fadeOut: `${E}--fadeOut`,
|
|
1384
1400
|
hide: `${E}--hide`,
|
|
1385
1401
|
scaleIn: `${E}--scaleIn`
|
|
@@ -1402,8 +1418,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1402
1418
|
b.hide
|
|
1403
1419
|
), C.current.classList.add(b.scaleIn), $.current.classList.remove(b.scaleIn), $.current.classList.add(b.hide);
|
|
1404
1420
|
}, 2e3);
|
|
1405
|
-
}, z = (
|
|
1406
|
-
g && M(), l && l(
|
|
1421
|
+
}, z = (L) => {
|
|
1422
|
+
g && M(), l && l(L);
|
|
1407
1423
|
}, w = g ? /* @__PURE__ */ e.createElement("div", { className: `${E}__content` }, /* @__PURE__ */ e.createElement("div", { ref: C, className: `${E}__icon-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
1408
1424
|
F,
|
|
1409
1425
|
{
|
|
@@ -1435,11 +1451,11 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1435
1451
|
));
|
|
1436
1452
|
return /* @__PURE__ */ e.createElement(
|
|
1437
1453
|
"button",
|
|
1438
|
-
|
|
1454
|
+
y({
|
|
1439
1455
|
"aria-label": t,
|
|
1440
1456
|
className: V([
|
|
1441
1457
|
E,
|
|
1442
|
-
|
|
1458
|
+
H,
|
|
1443
1459
|
v,
|
|
1444
1460
|
m
|
|
1445
1461
|
]),
|
|
@@ -1476,8 +1492,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1476
1492
|
]);
|
|
1477
1493
|
const o = "pds-clipboard-button", [m, h] = rt(n);
|
|
1478
1494
|
return /* @__PURE__ */ e.createElement(
|
|
1479
|
-
|
|
1480
|
-
|
|
1495
|
+
H2,
|
|
1496
|
+
y({
|
|
1481
1497
|
className: V([o, r != null ? r : ""]),
|
|
1482
1498
|
ariaLabel: t,
|
|
1483
1499
|
buttonType: "button",
|
|
@@ -1503,7 +1519,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1503
1519
|
]);
|
|
1504
1520
|
return /* @__PURE__ */ e.createElement(
|
|
1505
1521
|
"button",
|
|
1506
|
-
|
|
1522
|
+
y({
|
|
1507
1523
|
"aria-label": t,
|
|
1508
1524
|
onClick: s,
|
|
1509
1525
|
type: "button",
|
|
@@ -1525,7 +1541,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1525
1541
|
window.removeEventListener("resize", a);
|
|
1526
1542
|
};
|
|
1527
1543
|
}, []), n;
|
|
1528
|
-
},
|
|
1544
|
+
}, Le = g1(null), it = ({
|
|
1529
1545
|
children: t,
|
|
1530
1546
|
mobileMenuMaxWidth: n = 640
|
|
1531
1547
|
}) => {
|
|
@@ -1536,7 +1552,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1536
1552
|
};
|
|
1537
1553
|
return oe(() => {
|
|
1538
1554
|
a ? document.body.classList.add("pds-no-scroll-x") : document.body.classList.remove("pds-no-scroll-x");
|
|
1539
|
-
}, [a]), /* @__PURE__ */ e.createElement(
|
|
1555
|
+
}, [a]), /* @__PURE__ */ e.createElement(Le.Provider, { value: r }, t);
|
|
1540
1556
|
}, A2 = (t) => t.isSeparator, D2 = (t) => t.isHeading, R2 = (t) => t.isLink, dt = (t) => t.isNode, mt = (v) => {
|
|
1541
1557
|
var b = v, {
|
|
1542
1558
|
disabled: t,
|
|
@@ -1554,7 +1570,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1554
1570
|
variant: u = "primary",
|
|
1555
1571
|
withinNavbar: _,
|
|
1556
1572
|
className: E
|
|
1557
|
-
} = b,
|
|
1573
|
+
} = b, H = A(b, [
|
|
1558
1574
|
"disabled",
|
|
1559
1575
|
"displayType",
|
|
1560
1576
|
"iconName",
|
|
@@ -1584,10 +1600,10 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1584
1600
|
placement: "bottom-start",
|
|
1585
1601
|
middleware: [Q1()]
|
|
1586
1602
|
});
|
|
1587
|
-
let
|
|
1588
|
-
const k = _e(
|
|
1589
|
-
k && (
|
|
1590
|
-
const N = u === "navbar" &&
|
|
1603
|
+
let L = !1;
|
|
1604
|
+
const k = _e(Le);
|
|
1605
|
+
k && (L = k.isMobile);
|
|
1606
|
+
const N = u === "navbar" && L, I = "pds-menu-button", x = N ? `${I}--isMobile` : null, D = _ ? `${I}--navbar` : null, S = a, [T] = G(`menu-button-${a}`), Z = w.floating, U = de(null), [K, ne] = G(!1), [Y, j] = G(!1), [q, R] = G(""), [Q, X] = G(0), P = de([]), B = de([]), J = de([]);
|
|
1591
1607
|
Z1(() => {
|
|
1592
1608
|
window.addEventListener("mousedown", ze, !0), M();
|
|
1593
1609
|
const O = Z.current;
|
|
@@ -1739,12 +1755,12 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1739
1755
|
let Ze;
|
|
1740
1756
|
if (R2(O)) {
|
|
1741
1757
|
const We = O.linkContent.type;
|
|
1742
|
-
Ze = /* @__PURE__ */ e.createElement(We,
|
|
1758
|
+
Ze = /* @__PURE__ */ e.createElement(We, y({ tabIndex: -1 }, O.linkContent.props), /* @__PURE__ */ e.createElement("span", { className: `${I}__item-label` }, Me), je);
|
|
1743
1759
|
} else
|
|
1744
1760
|
Ze = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${I}__item-label` }, Me), je);
|
|
1745
1761
|
return /* @__PURE__ */ e.createElement(
|
|
1746
1762
|
"li",
|
|
1747
|
-
|
|
1763
|
+
y({
|
|
1748
1764
|
id: he,
|
|
1749
1765
|
key: he,
|
|
1750
1766
|
"data-testid": O.testId,
|
|
@@ -1867,7 +1883,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1867
1883
|
)), n === "icon-only") {
|
|
1868
1884
|
const O = Q2(d);
|
|
1869
1885
|
Be = /* @__PURE__ */ e.createElement(
|
|
1870
|
-
|
|
1886
|
+
H2,
|
|
1871
1887
|
{
|
|
1872
1888
|
id: S,
|
|
1873
1889
|
ariaLabel: O,
|
|
@@ -1895,9 +1911,9 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1895
1911
|
), se.nextElementSibling.classList.toggle(`${I}__mobile-menu--expanded`);
|
|
1896
1912
|
}, r2 = () => /* @__PURE__ */ e.createElement("ul", { className: `${I}__mobile-menu`, role: "menu" }, l.map((O, se) => Ne(O, se)));
|
|
1897
1913
|
let be;
|
|
1898
|
-
const
|
|
1914
|
+
const He = n === "icon-end" ? "pds-button pds-button--navbar" : null, Ce = V([
|
|
1899
1915
|
`${I}__toggle`,
|
|
1900
|
-
|
|
1916
|
+
He
|
|
1901
1917
|
]);
|
|
1902
1918
|
N && (be = /* @__PURE__ */ e.createElement(
|
|
1903
1919
|
"button",
|
|
@@ -1919,20 +1935,20 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1919
1935
|
}
|
|
1920
1936
|
)
|
|
1921
1937
|
));
|
|
1922
|
-
const ke = be,
|
|
1938
|
+
const ke = be, ye = K ? `${I}--expanded` : null;
|
|
1923
1939
|
return /* @__PURE__ */ e.createElement(
|
|
1924
1940
|
"span",
|
|
1925
|
-
|
|
1941
|
+
y({
|
|
1926
1942
|
className: V([
|
|
1927
1943
|
I,
|
|
1928
1944
|
D,
|
|
1929
1945
|
x,
|
|
1930
|
-
|
|
1946
|
+
ye,
|
|
1931
1947
|
E
|
|
1932
1948
|
]),
|
|
1933
1949
|
"data-testid": h,
|
|
1934
1950
|
ref: U
|
|
1935
|
-
},
|
|
1951
|
+
}, H),
|
|
1936
1952
|
N ? /* @__PURE__ */ e.createElement(e.Fragment, null, ke, /* @__PURE__ */ e.createElement(r2, null)) : /* @__PURE__ */ e.createElement(e.Fragment, null, Be, t2(l))
|
|
1937
1953
|
);
|
|
1938
1954
|
}, h4 = (h) => {
|
|
@@ -1957,7 +1973,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1957
1973
|
"value",
|
|
1958
1974
|
"className"
|
|
1959
1975
|
]);
|
|
1960
|
-
const u = "pds-segmented-button", _ = t ? "pds-is-disabled" : null, E = l !== "md" ? `${u}--${l}` : null,
|
|
1976
|
+
const u = "pds-segmented-button", _ = t ? "pds-is-disabled" : null, E = l !== "md" ? `${u}--${l}` : null, H = typeof c != "undefined", v = typeof s != "undefined", [b, f] = G(
|
|
1961
1977
|
v ? s : ""
|
|
1962
1978
|
), i = (g) => {
|
|
1963
1979
|
f(g.target.value), r && r(g.target.value);
|
|
@@ -1965,7 +1981,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1965
1981
|
if (d.length >= 2 && d.length <= 6)
|
|
1966
1982
|
return /* @__PURE__ */ e.createElement(
|
|
1967
1983
|
"fieldset",
|
|
1968
|
-
|
|
1984
|
+
y({
|
|
1969
1985
|
className: V([
|
|
1970
1986
|
u,
|
|
1971
1987
|
E,
|
|
@@ -1975,7 +1991,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
1975
1991
|
}, m),
|
|
1976
1992
|
/* @__PURE__ */ e.createElement("legend", { className: "visually-hidden" }, a),
|
|
1977
1993
|
/* @__PURE__ */ e.createElement("div", { className: `${u}__options` }, d.map((g, C) => {
|
|
1978
|
-
const $ =
|
|
1994
|
+
const $ = H ? c === g.value : b === g.value, M = `${u}__option`, z = $ ? `${M}--checked` : null;
|
|
1979
1995
|
return /* @__PURE__ */ e.createElement(
|
|
1980
1996
|
"div",
|
|
1981
1997
|
{
|
|
@@ -2032,7 +2048,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2032
2048
|
const m = "pds-split-button", h = `${m}--${r}`, p = t[0], u = t.slice(1);
|
|
2033
2049
|
let _ = null;
|
|
2034
2050
|
return "isLink" in p && p.isLink === !0 ? _ = /* @__PURE__ */ e.createElement(
|
|
2035
|
-
|
|
2051
|
+
L2,
|
|
2036
2052
|
{
|
|
2037
2053
|
className: `${m}__primary-action`,
|
|
2038
2054
|
size: a,
|
|
@@ -2053,7 +2069,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2053
2069
|
}
|
|
2054
2070
|
)), /* @__PURE__ */ e.createElement(
|
|
2055
2071
|
"span",
|
|
2056
|
-
|
|
2072
|
+
y({
|
|
2057
2073
|
className: V([m, h, d])
|
|
2058
2074
|
}, l),
|
|
2059
2075
|
_,
|
|
@@ -2096,9 +2112,9 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2096
2112
|
"tooltipText",
|
|
2097
2113
|
"className"
|
|
2098
2114
|
]);
|
|
2099
|
-
const u = "pds-utility-button", _ = a ? `${u}--critical` : null, E = n ? `${u}--disabled` : null,
|
|
2115
|
+
const u = "pds-utility-button", _ = a ? `${u}--critical` : null, E = n ? `${u}--disabled` : null, H = r ? `${u}--monospace` : null, v = /* @__PURE__ */ e.createElement(
|
|
2100
2116
|
"button",
|
|
2101
|
-
|
|
2117
|
+
y({
|
|
2102
2118
|
className: `${u}__button`,
|
|
2103
2119
|
"aria-disabled": n ? "true" : void 0,
|
|
2104
2120
|
onClick: n ? void 0 : l,
|
|
@@ -2109,12 +2125,12 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2109
2125
|
);
|
|
2110
2126
|
return /* @__PURE__ */ e.createElement(
|
|
2111
2127
|
"div",
|
|
2112
|
-
|
|
2128
|
+
y({
|
|
2113
2129
|
className: V([
|
|
2114
2130
|
u,
|
|
2115
2131
|
_,
|
|
2116
2132
|
E,
|
|
2117
|
-
|
|
2133
|
+
H,
|
|
2118
2134
|
o != null ? o : ""
|
|
2119
2135
|
])
|
|
2120
2136
|
}, m),
|
|
@@ -2153,7 +2169,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2153
2169
|
const o = "pds-callout", m = `${o}--${s}`, h = `${a[s]}: `;
|
|
2154
2170
|
return /* @__PURE__ */ e.createElement(
|
|
2155
2171
|
"div",
|
|
2156
|
-
|
|
2172
|
+
y({
|
|
2157
2173
|
className: [o, m, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
2158
2174
|
}, d),
|
|
2159
2175
|
/* @__PURE__ */ e.createElement("div", { className: `${o}__inner` }, /* @__PURE__ */ e.createElement("div", { className: `${o}__icon ${o}__icon--${s}` }, /* @__PURE__ */ e.createElement(
|
|
@@ -2179,7 +2195,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2179
2195
|
const c = "pds-card", o = t !== "default" ? `${c}--${t}` : null, m = s !== "standard" ? `${c}--pad-${s}` : null, h = Fe(n), p = h.image, u = h.main;
|
|
2180
2196
|
return /* @__PURE__ */ e.createElement(
|
|
2181
2197
|
"div",
|
|
2182
|
-
|
|
2198
|
+
y({
|
|
2183
2199
|
className: V([
|
|
2184
2200
|
c,
|
|
2185
2201
|
o,
|
|
@@ -2207,7 +2223,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2207
2223
|
const o = "pds-card-heading", m = t === "XL" ? "pds-ts-xl" : "pds-ts-l", h = n === "bold" ? "pds-fw-bold" : "pds-fw-semibold";
|
|
2208
2224
|
return /* @__PURE__ */ e.createElement(
|
|
2209
2225
|
C2,
|
|
2210
|
-
|
|
2226
|
+
y({
|
|
2211
2227
|
className: V([
|
|
2212
2228
|
o,
|
|
2213
2229
|
m,
|
|
@@ -2241,13 +2257,13 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2241
2257
|
const p = "pds-card-select-group";
|
|
2242
2258
|
let u = `${p}__legend`;
|
|
2243
2259
|
a === "center" && (u = `${p}__legend ${p}__legend--center`), a === "hidden" && (u = `${p}__legend visually-hidden`);
|
|
2244
|
-
const [_, E] = G(n),
|
|
2260
|
+
const [_, E] = G(n), H = (C) => {
|
|
2245
2261
|
E(C.currentTarget.value), d && d(C.currentTarget.value);
|
|
2246
2262
|
}, v = l.length, b = "pds-grid-item", f = "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";
|
|
2247
2263
|
let g = "";
|
|
2248
2264
|
return r === "twoAcross" ? g = f : r === "threeAcross" ? g = i : r === "auto" && (v === 1 ? g = b : v % 3 === 0 ? g = i : v % 2 === 0 ? g = f : g = i), /* @__PURE__ */ e.createElement(
|
|
2249
2265
|
"fieldset",
|
|
2250
|
-
|
|
2266
|
+
y({
|
|
2251
2267
|
className: [p, c].join(" ").trim().replace(/\s+/g, " "),
|
|
2252
2268
|
id: t
|
|
2253
2269
|
}, o),
|
|
@@ -2265,7 +2281,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2265
2281
|
id: C.id ? C.id : `${t}-option-${$}`,
|
|
2266
2282
|
name: t,
|
|
2267
2283
|
value: C.value,
|
|
2268
|
-
onClick:
|
|
2284
|
+
onClick: H,
|
|
2269
2285
|
defaultChecked: _ === C.value
|
|
2270
2286
|
}
|
|
2271
2287
|
),
|
|
@@ -2309,7 +2325,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2309
2325
|
text: s
|
|
2310
2326
|
}
|
|
2311
2327
|
), t && /* @__PURE__ */ e.createElement("ul", { className: `${c}__list`, role: "list" }, t.map((m, h) => /* @__PURE__ */ e.createElement("li", { key: h, className: "pds-cta-links-card__item" }, m)))));
|
|
2312
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
2328
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([c, a != null ? a : ""]) }, r), o);
|
|
2313
2329
|
}, pt = (a) => {
|
|
2314
2330
|
var r = a, {
|
|
2315
2331
|
platformType: t,
|
|
@@ -2341,7 +2357,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2341
2357
|
c = F2[t];
|
|
2342
2358
|
return /* @__PURE__ */ e.createElement(
|
|
2343
2359
|
"div",
|
|
2344
|
-
|
|
2360
|
+
y({
|
|
2345
2361
|
className: V([d, l, n])
|
|
2346
2362
|
}, s),
|
|
2347
2363
|
c
|
|
@@ -2616,7 +2632,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2616
2632
|
]);
|
|
2617
2633
|
const u = "pds-new-site-card", _ = l.type, E = /* @__PURE__ */ e.createElement(x2, { padding: "narrow" }, /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${u}__main` }, /* @__PURE__ */ e.createElement(
|
|
2618
2634
|
_,
|
|
2619
|
-
|
|
2635
|
+
y({
|
|
2620
2636
|
"aria-label": l.props.children,
|
|
2621
2637
|
className: `${u}__selection-link`
|
|
2622
2638
|
}, l.props),
|
|
@@ -2631,16 +2647,16 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2631
2647
|
}
|
|
2632
2648
|
),
|
|
2633
2649
|
d && /* @__PURE__ */ e.createElement("div", { className: `${u}__summary` }, d)
|
|
2634
|
-
), c && c.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${u}__links` }, c.map((
|
|
2635
|
-
const b =
|
|
2650
|
+
), c && c.length <= 2 && /* @__PURE__ */ e.createElement("div", { className: `${u}__links` }, c.map((H, v) => {
|
|
2651
|
+
const b = H.type;
|
|
2636
2652
|
return /* @__PURE__ */ e.createElement(
|
|
2637
2653
|
b,
|
|
2638
|
-
|
|
2654
|
+
y({
|
|
2639
2655
|
key: v,
|
|
2640
2656
|
className: `${u}__link`
|
|
2641
|
-
},
|
|
2642
|
-
|
|
2643
|
-
|
|
2657
|
+
}, H.props),
|
|
2658
|
+
H.props.children,
|
|
2659
|
+
H.props.target === "_blank" && /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
2644
2660
|
F,
|
|
2645
2661
|
{
|
|
2646
2662
|
iconName: "externalLink",
|
|
@@ -2650,7 +2666,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2650
2666
|
), /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, s))
|
|
2651
2667
|
);
|
|
2652
2668
|
}))));
|
|
2653
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
2669
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([u, o != null ? o : ""]) }, m), E);
|
|
2654
2670
|
}, ht = {
|
|
2655
2671
|
amex: /* @__PURE__ */ e.createElement(
|
|
2656
2672
|
"svg",
|
|
@@ -2986,7 +3002,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
2986
3002
|
"paymentType",
|
|
2987
3003
|
"className"
|
|
2988
3004
|
]);
|
|
2989
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
3005
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V(["pds-payment-icon", n != null ? n : ""]) }, s), ht[t]);
|
|
2990
3006
|
}, v4 = (h) => {
|
|
2991
3007
|
var p = h, {
|
|
2992
3008
|
cardType: t,
|
|
@@ -3010,7 +3026,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3010
3026
|
"className"
|
|
3011
3027
|
]);
|
|
3012
3028
|
const u = "pds-payment-card";
|
|
3013
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
3029
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([u, o != null ? o : ""]) }, m), /* @__PURE__ */ e.createElement(
|
|
3014
3030
|
"div",
|
|
3015
3031
|
{
|
|
3016
3032
|
className: `${u}__main`,
|
|
@@ -3058,7 +3074,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3058
3074
|
"className"
|
|
3059
3075
|
]);
|
|
3060
3076
|
const m = "pds-comparison-list";
|
|
3061
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
3077
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([m, d != null ? d : ""]) }, l), n && /* @__PURE__ */ e.createElement("div", { className: `${m}__intro` }, n), t && /* @__PURE__ */ e.createElement("ul", { className: `${m}__list` }, t.map((h, p) => /* @__PURE__ */ e.createElement(
|
|
3062
3078
|
"li",
|
|
3063
3079
|
{
|
|
3064
3080
|
key: p,
|
|
@@ -3101,7 +3117,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3101
3117
|
showLabel: u = !0,
|
|
3102
3118
|
tooltipText: _ = null,
|
|
3103
3119
|
validationMessage: E,
|
|
3104
|
-
validationStatus:
|
|
3120
|
+
validationStatus: H,
|
|
3105
3121
|
value: v,
|
|
3106
3122
|
className: b
|
|
3107
3123
|
} = g, f = A(g, [
|
|
@@ -3125,10 +3141,10 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3125
3141
|
"className"
|
|
3126
3142
|
]);
|
|
3127
3143
|
var c2, r2;
|
|
3128
|
-
const C = Je(a), $ = "pds-select", M = n ? ee.disabled : null, z = p && !n ? ee.required : null, w =
|
|
3144
|
+
const C = Je(a), $ = "pds-select", M = n ? ee.disabled : null, z = p && !n ? ee.required : null, w = H === "error" ? ee.error : null, L = H === "success" ? ee.success : null;
|
|
3129
3145
|
let k = null;
|
|
3130
|
-
|
|
3131
|
-
const N = E || l, I = typeof v != "undefined", x = typeof t != "undefined", S = ((be) => be.reduce((
|
|
3146
|
+
H === "error" && (k = "error"), H === "success" && (k = "success");
|
|
3147
|
+
const N = E || l, I = typeof v != "undefined", x = typeof t != "undefined", S = ((be) => be.reduce((He, Ce) => o1(Ce) ? [...He, ...Ce.options] : [...He, Ce], []))(h), T = (be) => S.findIndex((He) => He.value === be), Z = I && T(v) >= 0 ? T(v) : null, U = x ? T(t) : null, K = Z || U, [ne, Y] = G(!1), [j, q] = G(null), [R, Q] = G(
|
|
3132
3148
|
K != null ? K : null
|
|
3133
3149
|
), X = R !== null ? (c2 = S[R]) == null ? void 0 : c2.label : void 0, P = R !== null ? (r2 = S[R]) == null ? void 0 : r2.value : void 0, B = de([]), { context: J, refs: te } = Ie({
|
|
3134
3150
|
open: ne,
|
|
@@ -3160,8 +3176,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3160
3176
|
opacity: 0
|
|
3161
3177
|
}
|
|
3162
3178
|
}), ze = (be) => {
|
|
3163
|
-
const
|
|
3164
|
-
I || (Q(be), Y(!1)), m && m(
|
|
3179
|
+
const He = S[be];
|
|
3180
|
+
I || (Q(be), Y(!1)), m && m(He);
|
|
3165
3181
|
};
|
|
3166
3182
|
oe(() => {
|
|
3167
3183
|
if (I) {
|
|
@@ -3176,14 +3192,14 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3176
3192
|
}, t2 = () => {
|
|
3177
3193
|
te.reference.current.focus();
|
|
3178
3194
|
}, Be = (be) => {
|
|
3179
|
-
let
|
|
3195
|
+
let He = 0;
|
|
3180
3196
|
return be.map((Ce) => {
|
|
3181
3197
|
if (o1(Ce)) {
|
|
3182
|
-
const
|
|
3183
|
-
const se =
|
|
3198
|
+
const ye = Ce.options.map((O) => {
|
|
3199
|
+
const se = He++;
|
|
3184
3200
|
return /* @__PURE__ */ e.createElement(
|
|
3185
3201
|
w2,
|
|
3186
|
-
|
|
3202
|
+
y({
|
|
3187
3203
|
key: se,
|
|
3188
3204
|
ref: (W) => {
|
|
3189
3205
|
B.current[se] = W;
|
|
@@ -3209,15 +3225,15 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3209
3225
|
)
|
|
3210
3226
|
);
|
|
3211
3227
|
});
|
|
3212
|
-
return /* @__PURE__ */ e.createElement(Ct, { key: Ce.groupLabel, label: Ce.groupLabel },
|
|
3228
|
+
return /* @__PURE__ */ e.createElement(Ct, { key: Ce.groupLabel, label: Ce.groupLabel }, ye);
|
|
3213
3229
|
}
|
|
3214
|
-
const ke =
|
|
3230
|
+
const ke = He++;
|
|
3215
3231
|
return /* @__PURE__ */ e.createElement(
|
|
3216
3232
|
w2,
|
|
3217
|
-
|
|
3233
|
+
y({
|
|
3218
3234
|
key: ke,
|
|
3219
|
-
ref: (
|
|
3220
|
-
B.current[ke] =
|
|
3235
|
+
ref: (ye) => {
|
|
3236
|
+
B.current[ke] = ye;
|
|
3221
3237
|
},
|
|
3222
3238
|
tabIndex: ke === j ? 0 : -1,
|
|
3223
3239
|
"aria-selected": ke === R && ke === j,
|
|
@@ -3226,8 +3242,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3226
3242
|
onClick() {
|
|
3227
3243
|
ze(ke);
|
|
3228
3244
|
},
|
|
3229
|
-
onKeyDown(
|
|
3230
|
-
|
|
3245
|
+
onKeyDown(ye) {
|
|
3246
|
+
ye.key === "Enter" && (ye.preventDefault(), ze(ke), te.reference.current.focus()), ye.key === "Escape" && (ye.preventDefault(), te.reference.current.focus());
|
|
3231
3247
|
}
|
|
3232
3248
|
})),
|
|
3233
3249
|
Ce.label,
|
|
@@ -3237,14 +3253,14 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3237
3253
|
};
|
|
3238
3254
|
return /* @__PURE__ */ e.createElement(
|
|
3239
3255
|
"div",
|
|
3240
|
-
|
|
3256
|
+
y({
|
|
3241
3257
|
className: V([
|
|
3242
3258
|
ee.base,
|
|
3243
3259
|
$,
|
|
3244
3260
|
M,
|
|
3245
3261
|
z,
|
|
3246
3262
|
w,
|
|
3247
|
-
|
|
3263
|
+
L,
|
|
3248
3264
|
b != null ? b : ""
|
|
3249
3265
|
]),
|
|
3250
3266
|
style: a ? C : null
|
|
@@ -3262,7 +3278,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3262
3278
|
),
|
|
3263
3279
|
/* @__PURE__ */ e.createElement(
|
|
3264
3280
|
"span",
|
|
3265
|
-
|
|
3281
|
+
y({
|
|
3266
3282
|
className: `${$}__input-wrapper`,
|
|
3267
3283
|
id: s,
|
|
3268
3284
|
tabIndex: 0,
|
|
@@ -3279,7 +3295,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3279
3295
|
),
|
|
3280
3296
|
Re && /* @__PURE__ */ e.createElement(
|
|
3281
3297
|
"div",
|
|
3282
|
-
|
|
3298
|
+
y({
|
|
3283
3299
|
ref: te.setFloating,
|
|
3284
3300
|
className: `${$}__dropdown`
|
|
3285
3301
|
}, ae({
|
|
@@ -3287,7 +3303,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3287
3303
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
3288
3304
|
}
|
|
3289
3305
|
})),
|
|
3290
|
-
/* @__PURE__ */ e.createElement("div", { style:
|
|
3306
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, qe) }, /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${$}__options` }, Be(h)))
|
|
3291
3307
|
),
|
|
3292
3308
|
N && /* @__PURE__ */ e.createElement(
|
|
3293
3309
|
De,
|
|
@@ -3296,7 +3312,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3296
3312
|
message: N,
|
|
3297
3313
|
hasValidationMessage: !!E,
|
|
3298
3314
|
validationMessageHasDecorators: !1,
|
|
3299
|
-
validationStatus:
|
|
3315
|
+
validationStatus: H
|
|
3300
3316
|
}
|
|
3301
3317
|
)
|
|
3302
3318
|
);
|
|
@@ -3329,7 +3345,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3329
3345
|
"statusBadgeType",
|
|
3330
3346
|
"className"
|
|
3331
3347
|
]);
|
|
3332
|
-
const E = "pds-pricing-card",
|
|
3348
|
+
const E = "pds-pricing-card", H = `${E}-container`, v = s ? `${H}--with-list` : null, b = m ? `${E}--${m}` : null, f = (x) => x.toLowerCase().replace(/\s/g, "-"), i = l && l.length > 1, [g, C] = G(
|
|
3333
3349
|
f(l[0].label)
|
|
3334
3350
|
), [$, M] = G(
|
|
3335
3351
|
t.label
|
|
@@ -3388,7 +3404,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3388
3404
|
}
|
|
3389
3405
|
);
|
|
3390
3406
|
}));
|
|
3391
|
-
const
|
|
3407
|
+
const L = (x) => {
|
|
3392
3408
|
const D = l.find(
|
|
3393
3409
|
(S) => f(S.label) === x
|
|
3394
3410
|
);
|
|
@@ -3408,7 +3424,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3408
3424
|
})),
|
|
3409
3425
|
defaultValue: f(l[0].label),
|
|
3410
3426
|
onOptionSelect: (x) => {
|
|
3411
|
-
C(x.value), M(
|
|
3427
|
+
C(x.value), M(L(x.value)), a && a(x.value);
|
|
3412
3428
|
}
|
|
3413
3429
|
}
|
|
3414
3430
|
));
|
|
@@ -3422,7 +3438,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3422
3438
|
disabled: t.disabled
|
|
3423
3439
|
}
|
|
3424
3440
|
)), t.type === "link" && (N = /* @__PURE__ */ e.createElement(
|
|
3425
|
-
|
|
3441
|
+
L2,
|
|
3426
3442
|
{
|
|
3427
3443
|
variant: t.variant,
|
|
3428
3444
|
linkContent: /* @__PURE__ */ e.createElement("a", { href: t.linkUrl, target: t.linkTarget }, t.label)
|
|
@@ -3437,7 +3453,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3437
3453
|
onClick: n.buttonAction
|
|
3438
3454
|
}
|
|
3439
3455
|
)), n.type === "link" && (I = /* @__PURE__ */ e.createElement(
|
|
3440
|
-
|
|
3456
|
+
L2,
|
|
3441
3457
|
{
|
|
3442
3458
|
variant: "secondary",
|
|
3443
3459
|
linkContent: /* @__PURE__ */ e.createElement(
|
|
@@ -3451,8 +3467,8 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3451
3467
|
}
|
|
3452
3468
|
))), /* @__PURE__ */ e.createElement(
|
|
3453
3469
|
"div",
|
|
3454
|
-
|
|
3455
|
-
className: V([
|
|
3470
|
+
y({
|
|
3471
|
+
className: V([H, v, h])
|
|
3456
3472
|
}, p),
|
|
3457
3473
|
/* @__PURE__ */ e.createElement("div", { className: V([E, b]) }, m && /* @__PURE__ */ e.createElement(
|
|
3458
3474
|
Y2,
|
|
@@ -3494,7 +3510,7 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3494
3510
|
statusType: _,
|
|
3495
3511
|
hasStatusIndicator: !0
|
|
3496
3512
|
}
|
|
3497
|
-
),
|
|
3513
|
+
), H = /* @__PURE__ */ e.createElement(x2, null, /* @__PURE__ */ e.createElement("img", { slot: "image", src: s, alt: "" }), /* @__PURE__ */ e.createElement("div", { slot: "main", className: `${p}__main` }, /* @__PURE__ */ e.createElement("div", { className: `${p}__header` }, /* @__PURE__ */ e.createElement(
|
|
3498
3514
|
z1,
|
|
3499
3515
|
{
|
|
3500
3516
|
fontSize: "L",
|
|
@@ -3502,12 +3518,12 @@ const T2 = 300, at = 400, Ve = (p) => {
|
|
|
3502
3518
|
level: n,
|
|
3503
3519
|
text: r
|
|
3504
3520
|
}
|
|
3505
|
-
), E), /* @__PURE__ */ e.createElement("div", { className: `${p}__plan` }, d))), v = we(a) ? xe(a, me(
|
|
3521
|
+
), E), /* @__PURE__ */ e.createElement("div", { className: `${p}__plan` }, d))), v = we(a) ? xe(a, me(y({}, a.props), {
|
|
3506
3522
|
className: `${p}__link`,
|
|
3507
|
-
children:
|
|
3523
|
+
children: H,
|
|
3508
3524
|
"aria-label": `${t} ${r} dashboard`
|
|
3509
3525
|
})) : null;
|
|
3510
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
3526
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([p, c != null ? c : ""]) }, o), v);
|
|
3511
3527
|
};
|
|
3512
3528
|
var m1 = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
3513
3529
|
function _t(t) {
|
|
@@ -3868,9 +3884,9 @@ var N1 = { exports: {} };
|
|
|
3868
3884
|
g.hasOwnProperty(w) && (M[w] = g[w]);
|
|
3869
3885
|
g.hasOwnProperty(z) || (M[z] = $[z]);
|
|
3870
3886
|
}
|
|
3871
|
-
var
|
|
3887
|
+
var L = C[f];
|
|
3872
3888
|
return C[f] = M, c.languages.DFS(c.languages, function(k, N) {
|
|
3873
|
-
N ===
|
|
3889
|
+
N === L && k != f && (this[k] = M);
|
|
3874
3890
|
}), M;
|
|
3875
3891
|
},
|
|
3876
3892
|
// Traverse a language definition with Depth First Search
|
|
@@ -3880,8 +3896,8 @@ var N1 = { exports: {} };
|
|
|
3880
3896
|
for (var z in i)
|
|
3881
3897
|
if (i.hasOwnProperty(z)) {
|
|
3882
3898
|
g.call(i, z, i[z], C || z);
|
|
3883
|
-
var w = i[z],
|
|
3884
|
-
|
|
3899
|
+
var w = i[z], L = c.util.type(w);
|
|
3900
|
+
L === "Object" && !$[M(w)] ? ($[M(w)] = !0, f(w, g, null, $)) : L === "Array" && !$[M(w)] && ($[M(w)] = !0, f(w, g, z, $));
|
|
3885
3901
|
}
|
|
3886
3902
|
}
|
|
3887
3903
|
},
|
|
@@ -3965,7 +3981,7 @@ var N1 = { exports: {} };
|
|
|
3965
3981
|
grammar: $,
|
|
3966
3982
|
code: z
|
|
3967
3983
|
};
|
|
3968
|
-
function
|
|
3984
|
+
function L(N) {
|
|
3969
3985
|
w.highlightedCode = N, c.hooks.run("before-insert", w), w.element.innerHTML = w.highlightedCode, c.hooks.run("after-highlight", w), c.hooks.run("complete", w), g && g.call(w.element);
|
|
3970
3986
|
}
|
|
3971
3987
|
if (c.hooks.run("before-sanity-check", w), M = w.element.parentElement, M && M.nodeName.toLowerCase() === "pre" && !M.hasAttribute("tabindex") && M.setAttribute("tabindex", "0"), !w.code) {
|
|
@@ -3973,20 +3989,20 @@ var N1 = { exports: {} };
|
|
|
3973
3989
|
return;
|
|
3974
3990
|
}
|
|
3975
3991
|
if (c.hooks.run("before-highlight", w), !w.grammar) {
|
|
3976
|
-
|
|
3992
|
+
L(c.util.encode(w.code));
|
|
3977
3993
|
return;
|
|
3978
3994
|
}
|
|
3979
3995
|
if (i && a.Worker) {
|
|
3980
3996
|
var k = new Worker(c.filename);
|
|
3981
3997
|
k.onmessage = function(N) {
|
|
3982
|
-
|
|
3998
|
+
L(N.data);
|
|
3983
3999
|
}, k.postMessage(JSON.stringify({
|
|
3984
4000
|
language: w.language,
|
|
3985
4001
|
code: w.code,
|
|
3986
4002
|
immediateClose: !0
|
|
3987
4003
|
}));
|
|
3988
4004
|
} else
|
|
3989
|
-
|
|
4005
|
+
L(c.highlight(w.code, w.grammar, w.language));
|
|
3990
4006
|
},
|
|
3991
4007
|
/**
|
|
3992
4008
|
* Low-level function, only use if you know what you’re doing. It accepts a string of text as input
|
|
@@ -4102,8 +4118,8 @@ var N1 = { exports: {} };
|
|
|
4102
4118
|
return i;
|
|
4103
4119
|
if (Array.isArray(i)) {
|
|
4104
4120
|
var C = "";
|
|
4105
|
-
return i.forEach(function(
|
|
4106
|
-
C += f(
|
|
4121
|
+
return i.forEach(function(L) {
|
|
4122
|
+
C += f(L, g);
|
|
4107
4123
|
}), C;
|
|
4108
4124
|
}
|
|
4109
4125
|
var $ = {
|
|
@@ -4134,10 +4150,10 @@ var N1 = { exports: {} };
|
|
|
4134
4150
|
if (!(!g.hasOwnProperty(z) || !g[z])) {
|
|
4135
4151
|
var w = g[z];
|
|
4136
4152
|
w = Array.isArray(w) ? w : [w];
|
|
4137
|
-
for (var
|
|
4138
|
-
if (M && M.cause == z + "," +
|
|
4153
|
+
for (var L = 0; L < w.length; ++L) {
|
|
4154
|
+
if (M && M.cause == z + "," + L)
|
|
4139
4155
|
return;
|
|
4140
|
-
var k = w[
|
|
4156
|
+
var k = w[L], N = k.inside, I = !!k.lookbehind, x = !!k.greedy, D = k.alias;
|
|
4141
4157
|
if (x && !k.pattern.global) {
|
|
4142
4158
|
var S = k.pattern.toString().match(/[imsuy]*$/)[0];
|
|
4143
4159
|
k.pattern = RegExp(k.pattern.source, S + "g");
|
|
@@ -4168,7 +4184,7 @@ var N1 = { exports: {} };
|
|
|
4168
4184
|
var fe = new o(z, N ? c.tokenize(X, N) : X, D, X);
|
|
4169
4185
|
if (Z = u(i, te, fe), B && u(i, Z, B), ne > 1) {
|
|
4170
4186
|
var ie = {
|
|
4171
|
-
cause: z + "," +
|
|
4187
|
+
cause: z + "," + L,
|
|
4172
4188
|
reach: J
|
|
4173
4189
|
};
|
|
4174
4190
|
h(f, i, g, Z.prev, U, ie), M && ie.reach > M.reach && (M.reach = ie.reach);
|
|
@@ -4201,14 +4217,14 @@ var N1 = { exports: {} };
|
|
|
4201
4217
|
var i = JSON.parse(f.data), g = i.language, C = i.code, $ = i.immediateClose;
|
|
4202
4218
|
a.postMessage(c.highlight(C, c.languages[g], g)), $ && a.close();
|
|
4203
4219
|
}, !1)), c;
|
|
4204
|
-
var
|
|
4205
|
-
|
|
4220
|
+
var H = c.util.currentScript();
|
|
4221
|
+
H && (c.filename = H.src, H.hasAttribute("data-manual") && (c.manual = !0));
|
|
4206
4222
|
function v() {
|
|
4207
4223
|
c.manual || c.highlightAll();
|
|
4208
4224
|
}
|
|
4209
4225
|
if (!c.manual) {
|
|
4210
4226
|
var b = document.readyState;
|
|
4211
|
-
b === "loading" || b === "interactive" &&
|
|
4227
|
+
b === "loading" || b === "interactive" && H && H.defer ? document.addEventListener("DOMContentLoaded", v) : window.requestAnimationFrame ? window.requestAnimationFrame(v) : window.setTimeout(v, 16);
|
|
4212
4228
|
}
|
|
4213
4229
|
return c;
|
|
4214
4230
|
}(n);
|
|
@@ -4668,11 +4684,11 @@ const w4 = (u) => {
|
|
|
4668
4684
|
"shouldWrap",
|
|
4669
4685
|
"className"
|
|
4670
4686
|
]);
|
|
4671
|
-
const E = "pds-code-block",
|
|
4687
|
+
const E = "pds-code-block", H = `${E}--${n}`, v = m ? `${E}__line-wrapped` : "", b = c ? { maxHeight: `${c}rem` } : {}, f = n === "dark" ? "reverse" : "standard", i = n === "dark" ? $t : wt, g = ["bash", "diff", "twig"], C = /* @__PURE__ */ e.createElement(m2.LineContent, null, /* @__PURE__ */ e.createElement(m2.Token, null)), $ = /* @__PURE__ */ e.createElement("div", { className: `${E}__line ${v}` }, /* @__PURE__ */ e.createElement(m2.LineNumber, { className: `${E}__number` }), C), M = /* @__PURE__ */ e.createElement("div", { className: `${E}__line` }, /* @__PURE__ */ e.createElement("span", { className: `${E}__prompt` }, o), C);
|
|
4672
4688
|
return /* @__PURE__ */ e.createElement(
|
|
4673
4689
|
"div",
|
|
4674
|
-
|
|
4675
|
-
className: V([E,
|
|
4690
|
+
y({
|
|
4691
|
+
className: V([E, H, h != null ? h : ""]),
|
|
4676
4692
|
style: b
|
|
4677
4693
|
}, p),
|
|
4678
4694
|
/* @__PURE__ */ e.createElement(
|
|
@@ -4694,7 +4710,7 @@ const w4 = (u) => {
|
|
|
4694
4710
|
}
|
|
4695
4711
|
))
|
|
4696
4712
|
);
|
|
4697
|
-
},
|
|
4713
|
+
}, Lt = (r) => {
|
|
4698
4714
|
var d = r, {
|
|
4699
4715
|
linkContent: t,
|
|
4700
4716
|
size: n = "md",
|
|
@@ -4707,7 +4723,7 @@ const w4 = (u) => {
|
|
|
4707
4723
|
const l = "pds-cta-link", c = n != "md" ? `${l}--${n}` : null;
|
|
4708
4724
|
return /* @__PURE__ */ e.createElement(
|
|
4709
4725
|
"div",
|
|
4710
|
-
|
|
4726
|
+
y({
|
|
4711
4727
|
className: [l, c, s != null ? s : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
4712
4728
|
}, a),
|
|
4713
4729
|
t,
|
|
@@ -4720,7 +4736,7 @@ const w4 = (u) => {
|
|
|
4720
4736
|
}
|
|
4721
4737
|
)
|
|
4722
4738
|
);
|
|
4723
|
-
},
|
|
4739
|
+
}, L4 = (m) => {
|
|
4724
4740
|
var h = m, {
|
|
4725
4741
|
backgroundColor: t = "default",
|
|
4726
4742
|
containerWidth: n = "standard",
|
|
@@ -4743,7 +4759,7 @@ const w4 = (u) => {
|
|
|
4743
4759
|
const p = "pds-cta-slice", u = t && t !== "default" ? `${p}--${t}` : null, _ = n && n !== "standard" ? `pds-container pds-container--${n}` : "pds-container";
|
|
4744
4760
|
return /* @__PURE__ */ e.createElement(
|
|
4745
4761
|
"div",
|
|
4746
|
-
|
|
4762
|
+
y({
|
|
4747
4763
|
className: V([p, u, c])
|
|
4748
4764
|
}, o),
|
|
4749
4765
|
/* @__PURE__ */ e.createElement("div", { className: _ }, a && /* @__PURE__ */ e.createElement(C2, { baseClass: p, className: "pds-ts-4xl", level: s }, a), r && /* @__PURE__ */ e.createElement(
|
|
@@ -4761,7 +4777,7 @@ const w4 = (u) => {
|
|
|
4761
4777
|
l
|
|
4762
4778
|
))
|
|
4763
4779
|
);
|
|
4764
|
-
},
|
|
4780
|
+
}, H4 = (d) => {
|
|
4765
4781
|
var l = d, {
|
|
4766
4782
|
title: t,
|
|
4767
4783
|
status: n,
|
|
@@ -4781,14 +4797,14 @@ const w4 = (u) => {
|
|
|
4781
4797
|
ready: "thumbsUp",
|
|
4782
4798
|
notReady: "thumbsDown"
|
|
4783
4799
|
};
|
|
4784
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
4800
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([c, a != null ? a : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: `${c}__title` }, t), /* @__PURE__ */ e.createElement("div", { className: `${c}__stat-wrapper` }, n && /* @__PURE__ */ e.createElement(
|
|
4785
4801
|
F,
|
|
4786
4802
|
{
|
|
4787
4803
|
iconName: o[n],
|
|
4788
4804
|
className: `${c}__stat-status ${c}__stat-status--${n}`
|
|
4789
4805
|
}
|
|
4790
4806
|
), s && /* @__PURE__ */ e.createElement("div", { className: `${c}__stat-value` }, s)));
|
|
4791
|
-
},
|
|
4807
|
+
}, y4 = (l) => {
|
|
4792
4808
|
var c = l, {
|
|
4793
4809
|
additions: t = 4,
|
|
4794
4810
|
deletions: n = 2,
|
|
@@ -4809,7 +4825,7 @@ const w4 = (u) => {
|
|
|
4809
4825
|
const o = "pds-file-diff", m = t + n, h = m > 0 ? n / m * 100 : 0, p = m > 0 ? t / m * 100 : 0, u = r !== null && r > 0 ? `${r}rem` : "100%";
|
|
4810
4826
|
return /* @__PURE__ */ e.createElement(
|
|
4811
4827
|
"div",
|
|
4812
|
-
|
|
4828
|
+
y({
|
|
4813
4829
|
className: V([o, a != null ? a : ""]),
|
|
4814
4830
|
style: { width: u }
|
|
4815
4831
|
}, d),
|
|
@@ -4870,7 +4886,7 @@ const w4 = (u) => {
|
|
|
4870
4886
|
});
|
|
4871
4887
|
return /* @__PURE__ */ e.createElement(
|
|
4872
4888
|
"ol",
|
|
4873
|
-
|
|
4889
|
+
y({
|
|
4874
4890
|
className: V([
|
|
4875
4891
|
l,
|
|
4876
4892
|
c,
|
|
@@ -4879,7 +4895,7 @@ const w4 = (u) => {
|
|
|
4879
4895
|
}, a),
|
|
4880
4896
|
o
|
|
4881
4897
|
);
|
|
4882
|
-
},
|
|
4898
|
+
}, Ht = (r) => {
|
|
4883
4899
|
var d = r, {
|
|
4884
4900
|
headingLevel: t = "h3",
|
|
4885
4901
|
headingText: n,
|
|
@@ -4892,7 +4908,7 @@ const w4 = (u) => {
|
|
|
4892
4908
|
const l = t;
|
|
4893
4909
|
return /* @__PURE__ */ e.createElement(
|
|
4894
4910
|
l,
|
|
4895
|
-
|
|
4911
|
+
y({
|
|
4896
4912
|
className: V(["pds-footer-heading", "pds-ts-m", s])
|
|
4897
4913
|
}, a),
|
|
4898
4914
|
n
|
|
@@ -4910,8 +4926,8 @@ const w4 = (u) => {
|
|
|
4910
4926
|
"className"
|
|
4911
4927
|
]);
|
|
4912
4928
|
const c = "pds-footer-links";
|
|
4913
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
4914
|
-
|
|
4929
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([c, a]) }, r), n && /* @__PURE__ */ e.createElement(
|
|
4930
|
+
Ht,
|
|
4915
4931
|
{
|
|
4916
4932
|
headingLevel: t,
|
|
4917
4933
|
className: `${c}__heading`,
|
|
@@ -4937,9 +4953,9 @@ const w4 = (u) => {
|
|
|
4937
4953
|
"legalLinks",
|
|
4938
4954
|
"className"
|
|
4939
4955
|
]);
|
|
4940
|
-
const c = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), h = s.includes("privacy"), p = s.includes("dataSubjectRequest"), u = s.includes("cookiePolicy"), _ = s.includes("termsOfUse"), E = s.includes("acceptableUse"),
|
|
4941
|
-
return /* @__PURE__ */ e.createElement("footer",
|
|
4942
|
-
},
|
|
4956
|
+
const c = "pds-site-footer", o = t && t !== "standard" ? `pds-container pds-container--${t}` : "pds-container", m = (/* @__PURE__ */ new Date()).getFullYear(), h = s.includes("privacy"), p = s.includes("dataSubjectRequest"), u = s.includes("cookiePolicy"), _ = s.includes("termsOfUse"), E = s.includes("acceptableUse"), H = s.includes("accessibilityStatement");
|
|
4957
|
+
return /* @__PURE__ */ e.createElement("footer", y({ className: V([c, a != null ? a : ""]) }, r), /* @__PURE__ */ e.createElement("div", { className: o }, n && /* @__PURE__ */ e.createElement("div", { className: `${c}__content` }, n), /* @__PURE__ */ e.createElement("div", { className: `${c}__legal` }, /* @__PURE__ */ e.createElement("span", { className: `${c}__copyright` }, "© ", m, " Pantheon Systems, Inc."), h && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/privacy" }, "Privacy Policy"), p && /* @__PURE__ */ e.createElement("a", { href: "http://pantheon.io/data-subject-request" }, "Data Subject Request"), u && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/pantheon-cookies?_gl=1*12uc311*_gcl_au*NjU2MzA3MDUzLjE2ODk3ODU1NTI." }, "Cookie Policy"), _ && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/terms-of-service" }, "Terms of Use"), E && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/acceptable-use-policy" }, "Acceptable Use Policy"), H && /* @__PURE__ */ e.createElement("a", { href: "https://pantheon.io/accessibility-statement" }, "Accessibility Statement"))));
|
|
4958
|
+
}, yt = Ue(
|
|
4943
4959
|
(M, $) => {
|
|
4944
4960
|
var z = M, {
|
|
4945
4961
|
checked: t,
|
|
@@ -4957,7 +4973,7 @@ const w4 = (u) => {
|
|
|
4957
4973
|
onChange: u,
|
|
4958
4974
|
onFocus: _,
|
|
4959
4975
|
required: E,
|
|
4960
|
-
showLabel:
|
|
4976
|
+
showLabel: H = !0,
|
|
4961
4977
|
size: v = "M",
|
|
4962
4978
|
validationMessage: b,
|
|
4963
4979
|
validationStatus: f,
|
|
@@ -4986,18 +5002,18 @@ const w4 = (u) => {
|
|
|
4986
5002
|
"value",
|
|
4987
5003
|
"className"
|
|
4988
5004
|
]);
|
|
4989
|
-
const w = l ? { width: `${l / 16}rem` } : null,
|
|
5005
|
+
const w = l ? { width: `${l / 16}rem` } : null, L = "pds-checkbox", k = s ? ee.disabled : null, N = f === "error" ? ee.error : null, I = h > 0 ? `${L}--indent-${h}` : null, x = E && !s ? ee.required : null, D = v === "S" ? `${L}--sm` : null, S = f === "success" ? ee.success : null, T = b || o, Z = typeof t != "undefined", U = typeof n != "undefined", [K, ne] = G(
|
|
4990
5006
|
U ? n : !1
|
|
4991
5007
|
), Y = t || K, j = (P) => {
|
|
4992
5008
|
Z || ne(P.target.checked), u && u(P);
|
|
4993
|
-
}, q = `${
|
|
5009
|
+
}, q = `${L}__box`, R = r ? null : Y ? `${q}--checked` : null, Q = r ? `${q}--indeterminate` : null, X = q2(() => {
|
|
4994
5010
|
if (r)
|
|
4995
5011
|
return /* @__PURE__ */ e.createElement(
|
|
4996
5012
|
F,
|
|
4997
5013
|
{
|
|
4998
5014
|
iconName: "minus",
|
|
4999
5015
|
iconSize: "sm",
|
|
5000
|
-
className: `${
|
|
5016
|
+
className: `${L}__icon ${L}__icon--indeterminate`
|
|
5001
5017
|
}
|
|
5002
5018
|
);
|
|
5003
5019
|
if (Y)
|
|
@@ -5006,15 +5022,15 @@ const w4 = (u) => {
|
|
|
5006
5022
|
{
|
|
5007
5023
|
iconName: "check",
|
|
5008
5024
|
iconSize: "sm",
|
|
5009
|
-
className: `${
|
|
5025
|
+
className: `${L}__icon ${L}__icon--checked`
|
|
5010
5026
|
}
|
|
5011
5027
|
);
|
|
5012
5028
|
}, [r, Y]);
|
|
5013
5029
|
return /* @__PURE__ */ e.createElement(
|
|
5014
5030
|
"div",
|
|
5015
|
-
|
|
5031
|
+
y({
|
|
5016
5032
|
className: [
|
|
5017
|
-
|
|
5033
|
+
L,
|
|
5018
5034
|
k,
|
|
5019
5035
|
x,
|
|
5020
5036
|
N,
|
|
@@ -5025,9 +5041,9 @@ const w4 = (u) => {
|
|
|
5025
5041
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
5026
5042
|
style: l ? w : null
|
|
5027
5043
|
}, C),
|
|
5028
|
-
/* @__PURE__ */ e.createElement("div", { className: `${
|
|
5044
|
+
/* @__PURE__ */ e.createElement("div", { className: `${L}__input-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
5029
5045
|
"input",
|
|
5030
|
-
|
|
5046
|
+
y(me(y({
|
|
5031
5047
|
ref: $,
|
|
5032
5048
|
id: a,
|
|
5033
5049
|
name: m,
|
|
@@ -5043,7 +5059,7 @@ const w4 = (u) => {
|
|
|
5043
5059
|
"aria-invalid": f === "error" ? !0 : null,
|
|
5044
5060
|
"aria-describedby": T ? `${a}__message` : null
|
|
5045
5061
|
}), d)
|
|
5046
|
-
), /* @__PURE__ */ e.createElement("label", { htmlFor: a, className: `${
|
|
5062
|
+
), /* @__PURE__ */ e.createElement("label", { htmlFor: a, className: `${L}__label` }, /* @__PURE__ */ e.createElement(
|
|
5047
5063
|
"div",
|
|
5048
5064
|
{
|
|
5049
5065
|
className: V([
|
|
@@ -5057,13 +5073,13 @@ const w4 = (u) => {
|
|
|
5057
5073
|
"div",
|
|
5058
5074
|
{
|
|
5059
5075
|
className: V([
|
|
5060
|
-
`${
|
|
5061
|
-
|
|
5076
|
+
`${L}__label-text`,
|
|
5077
|
+
H ? "" : "visually-hidden"
|
|
5062
5078
|
])
|
|
5063
5079
|
},
|
|
5064
5080
|
c,
|
|
5065
5081
|
" ",
|
|
5066
|
-
E && !s && /* @__PURE__ */ e.createElement(
|
|
5082
|
+
E && !s && /* @__PURE__ */ e.createElement(L1, null)
|
|
5067
5083
|
))),
|
|
5068
5084
|
T && /* @__PURE__ */ e.createElement(
|
|
5069
5085
|
De,
|
|
@@ -5078,7 +5094,7 @@ const w4 = (u) => {
|
|
|
5078
5094
|
);
|
|
5079
5095
|
}
|
|
5080
5096
|
), N4 = (E) => {
|
|
5081
|
-
var
|
|
5097
|
+
var H = E, {
|
|
5082
5098
|
children: t,
|
|
5083
5099
|
disabled: n = !1,
|
|
5084
5100
|
fieldsetProps: s,
|
|
@@ -5092,7 +5108,7 @@ const w4 = (u) => {
|
|
|
5092
5108
|
validationMessage: h,
|
|
5093
5109
|
validationStatus: p,
|
|
5094
5110
|
className: u
|
|
5095
|
-
} =
|
|
5111
|
+
} = H, _ = A(H, [
|
|
5096
5112
|
"children",
|
|
5097
5113
|
"disabled",
|
|
5098
5114
|
"fieldsetProps",
|
|
@@ -5110,7 +5126,7 @@ const w4 = (u) => {
|
|
|
5110
5126
|
const v = r ? { width: `${r / 16}rem` } : null, b = "pds-checkbox-group", f = n ? ee.disabled : null, i = c && !n ? ee.required : null, g = p === "error" ? ee.error : null, C = p === "success" ? ee.success : null, $ = h || l;
|
|
5111
5127
|
return /* @__PURE__ */ e.createElement(
|
|
5112
5128
|
"div",
|
|
5113
|
-
|
|
5129
|
+
y({
|
|
5114
5130
|
className: [
|
|
5115
5131
|
b,
|
|
5116
5132
|
f,
|
|
@@ -5121,7 +5137,7 @@ const w4 = (u) => {
|
|
|
5121
5137
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
5122
5138
|
style: r ? v : null
|
|
5123
5139
|
}, _),
|
|
5124
|
-
/* @__PURE__ */ e.createElement("fieldset",
|
|
5140
|
+
/* @__PURE__ */ e.createElement("fieldset", y({ className: `${b}__fieldset`, id: a }, s), /* @__PURE__ */ e.createElement(
|
|
5125
5141
|
Pe,
|
|
5126
5142
|
{
|
|
5127
5143
|
disabled: n,
|
|
@@ -5161,7 +5177,7 @@ const w4 = (u) => {
|
|
|
5161
5177
|
validationMessage: u,
|
|
5162
5178
|
validationStatus: _,
|
|
5163
5179
|
className: E
|
|
5164
|
-
} = b,
|
|
5180
|
+
} = b, H = A(b, [
|
|
5165
5181
|
"disabled",
|
|
5166
5182
|
"fieldsetProps",
|
|
5167
5183
|
"id",
|
|
@@ -5186,21 +5202,21 @@ const w4 = (u) => {
|
|
|
5186
5202
|
o.map((x) => {
|
|
5187
5203
|
x.checked === !0 && w.push(x.value);
|
|
5188
5204
|
});
|
|
5189
|
-
const [
|
|
5190
|
-
const { value: D } = x.target, S =
|
|
5205
|
+
const [L, k] = G(w), N = (x) => {
|
|
5206
|
+
const { value: D } = x.target, S = L.includes(D) ? L.filter((T) => T !== D) : [...L, D];
|
|
5191
5207
|
k(S), c && c(S);
|
|
5192
5208
|
};
|
|
5193
5209
|
o.map((x) => {
|
|
5194
|
-
|
|
5210
|
+
L.includes(x.value) ? x.checked = !0 : x.checked = !1;
|
|
5195
5211
|
});
|
|
5196
5212
|
const I = () => {
|
|
5197
5213
|
l && setTimeout(() => {
|
|
5198
|
-
o.some((x) => x.id === document.activeElement.id) || l(
|
|
5214
|
+
o.some((x) => x.id === document.activeElement.id) || l(L);
|
|
5199
5215
|
}, 1500);
|
|
5200
5216
|
};
|
|
5201
5217
|
return /* @__PURE__ */ e.createElement(
|
|
5202
5218
|
"div",
|
|
5203
|
-
|
|
5219
|
+
y({
|
|
5204
5220
|
className: [
|
|
5205
5221
|
i,
|
|
5206
5222
|
g,
|
|
@@ -5210,8 +5226,8 @@ const w4 = (u) => {
|
|
|
5210
5226
|
E != null ? E : ""
|
|
5211
5227
|
].join(" ").trim().replace(/\s+/g, " "),
|
|
5212
5228
|
style: a ? f : null
|
|
5213
|
-
},
|
|
5214
|
-
/* @__PURE__ */ e.createElement("fieldset",
|
|
5229
|
+
}, H),
|
|
5230
|
+
/* @__PURE__ */ e.createElement("fieldset", y({ className: `${i}__fieldset`, id: s }, n), /* @__PURE__ */ e.createElement(
|
|
5215
5231
|
Pe,
|
|
5216
5232
|
{
|
|
5217
5233
|
disabled: t,
|
|
@@ -5223,7 +5239,7 @@ const w4 = (u) => {
|
|
|
5223
5239
|
tooltipText: p
|
|
5224
5240
|
}
|
|
5225
5241
|
), /* @__PURE__ */ e.createElement("div", { className: `${i}__options` }, o.map((x) => /* @__PURE__ */ e.createElement(
|
|
5226
|
-
|
|
5242
|
+
yt,
|
|
5227
5243
|
{
|
|
5228
5244
|
key: x.id,
|
|
5229
5245
|
checked: x.checked,
|
|
@@ -5271,7 +5287,7 @@ const w4 = (u) => {
|
|
|
5271
5287
|
message: u,
|
|
5272
5288
|
noResultsText: _ = "No results found",
|
|
5273
5289
|
onChange: E,
|
|
5274
|
-
onBlur:
|
|
5290
|
+
onBlur: H,
|
|
5275
5291
|
onClear: v,
|
|
5276
5292
|
onFocus: b,
|
|
5277
5293
|
onOptionSelect: f,
|
|
@@ -5282,7 +5298,7 @@ const w4 = (u) => {
|
|
|
5282
5298
|
tooltipText: M = null,
|
|
5283
5299
|
value: z,
|
|
5284
5300
|
validationMessage: w,
|
|
5285
|
-
validationStatus:
|
|
5301
|
+
validationStatus: L,
|
|
5286
5302
|
className: k
|
|
5287
5303
|
} = D, N = A(D, [
|
|
5288
5304
|
"defaultValue",
|
|
@@ -5314,9 +5330,9 @@ const w4 = (u) => {
|
|
|
5314
5330
|
"validationStatus",
|
|
5315
5331
|
"className"
|
|
5316
5332
|
]);
|
|
5317
|
-
const S = Je(c), T = "pds-combobox", Z = n ? ee.disabled : null, U = C && !n ? ee.required : null, K =
|
|
5333
|
+
const S = Je(c), T = "pds-combobox", Z = n ? ee.disabled : null, U = C && !n ? ee.required : null, K = L === "error" ? ee.error : null, ne = L === "success" ? ee.success : null;
|
|
5318
5334
|
let Y = null;
|
|
5319
|
-
r && (Y = "search"),
|
|
5335
|
+
r && (Y = "search"), L === "error" && (Y = "error"), L === "success" && (Y = "success");
|
|
5320
5336
|
const j = w || u, q = typeof z != "undefined", R = typeof t != "undefined", Q = (W) => {
|
|
5321
5337
|
const le = i.find((re) => re.value === W);
|
|
5322
5338
|
return le ? le.label : "";
|
|
@@ -5352,19 +5368,19 @@ const w4 = (u) => {
|
|
|
5352
5368
|
}, be = () => {
|
|
5353
5369
|
var W;
|
|
5354
5370
|
!q && fe(""), J(null), P(!0), (W = ge.domReference.current) == null || W.focus(), v && v();
|
|
5355
|
-
},
|
|
5371
|
+
}, He = (W) => {
|
|
5356
5372
|
let le = W.target.value;
|
|
5357
5373
|
E && E(W), q || (le.length > 0 && (le = le.trimStart()), fe(le)), le ? (J(null), P(!0)) : P(!1);
|
|
5358
5374
|
}, Ce = (W) => {
|
|
5359
|
-
|
|
5375
|
+
H && H(W);
|
|
5360
5376
|
}, ke = (W) => {
|
|
5361
5377
|
b && b(W);
|
|
5362
|
-
},
|
|
5378
|
+
}, ye = (W) => {
|
|
5363
5379
|
const le = ie[W];
|
|
5364
5380
|
!q && fe(le.label), J(null), P(!1), f && f(le);
|
|
5365
5381
|
}, O = (W) => W.map((re) => {
|
|
5366
5382
|
const We = re, { label: ue, optionDisplay: pe, value: he, searchIndex: n2 } = We, Me = A(We, ["label", "optionDisplay", "value", "searchIndex"]), je = he || ue, Ze = [ue, he];
|
|
5367
|
-
return n2 && Ze.push(...n2),
|
|
5383
|
+
return n2 && Ze.push(...n2), y({
|
|
5368
5384
|
label: ue,
|
|
5369
5385
|
value: je,
|
|
5370
5386
|
searchIndex: Ze,
|
|
@@ -5387,7 +5403,7 @@ const w4 = (u) => {
|
|
|
5387
5403
|
const { label: re, value: ue, optionDisplay: pe } = W;
|
|
5388
5404
|
return /* @__PURE__ */ e.createElement(
|
|
5389
5405
|
w2,
|
|
5390
|
-
me(
|
|
5406
|
+
me(y({
|
|
5391
5407
|
key: W
|
|
5392
5408
|
}, t2({
|
|
5393
5409
|
key: ue,
|
|
@@ -5396,7 +5412,7 @@ const w4 = (u) => {
|
|
|
5396
5412
|
},
|
|
5397
5413
|
onClick() {
|
|
5398
5414
|
var he;
|
|
5399
|
-
|
|
5415
|
+
ye(le), (he = ge.domReference.current) == null || he.focus();
|
|
5400
5416
|
}
|
|
5401
5417
|
})), {
|
|
5402
5418
|
tabIndex: B === le ? 0 : -1,
|
|
@@ -5407,7 +5423,7 @@ const w4 = (u) => {
|
|
|
5407
5423
|
});
|
|
5408
5424
|
return /* @__PURE__ */ e.createElement(
|
|
5409
5425
|
"div",
|
|
5410
|
-
|
|
5426
|
+
y({
|
|
5411
5427
|
className: V([
|
|
5412
5428
|
ee.base,
|
|
5413
5429
|
T,
|
|
@@ -5438,13 +5454,13 @@ const w4 = (u) => {
|
|
|
5438
5454
|
id: l,
|
|
5439
5455
|
"aria-disabled": n ? !0 : null,
|
|
5440
5456
|
"aria-required": C ? !0 : null,
|
|
5441
|
-
"aria-invalid":
|
|
5457
|
+
"aria-invalid": L === "error" ? !0 : null,
|
|
5442
5458
|
"aria-describedby": j ? `${l}__message` : null
|
|
5443
5459
|
},
|
|
5444
5460
|
Y && /* @__PURE__ */ e.createElement(d2, { variant: Y }),
|
|
5445
5461
|
/* @__PURE__ */ e.createElement(
|
|
5446
5462
|
"input",
|
|
5447
|
-
|
|
5463
|
+
y({
|
|
5448
5464
|
ref: ge.setReference,
|
|
5449
5465
|
className: `${T}__input`,
|
|
5450
5466
|
id: `input-${l}`,
|
|
@@ -5456,10 +5472,10 @@ const w4 = (u) => {
|
|
|
5456
5472
|
placeholder: g,
|
|
5457
5473
|
value: $e,
|
|
5458
5474
|
onBlur: Ce,
|
|
5459
|
-
onChange:
|
|
5475
|
+
onChange: He,
|
|
5460
5476
|
onFocus: ke,
|
|
5461
5477
|
onKeyDown(W) {
|
|
5462
|
-
W.key === "Enter" && B != null && ie[B] &&
|
|
5478
|
+
W.key === "Enter" && B != null && ie[B] && ye(B);
|
|
5463
5479
|
}
|
|
5464
5480
|
}))
|
|
5465
5481
|
),
|
|
@@ -5472,7 +5488,7 @@ const w4 = (u) => {
|
|
|
5472
5488
|
}
|
|
5473
5489
|
),
|
|
5474
5490
|
d && !$e && /* @__PURE__ */ e.createElement(
|
|
5475
|
-
|
|
5491
|
+
H1,
|
|
5476
5492
|
{
|
|
5477
5493
|
inputId: `input-${l}`,
|
|
5478
5494
|
shortcutLabel: h.searchShortcut
|
|
@@ -5480,7 +5496,7 @@ const w4 = (u) => {
|
|
|
5480
5496
|
),
|
|
5481
5497
|
a && /* @__PURE__ */ e.createElement(
|
|
5482
5498
|
"button",
|
|
5483
|
-
me(
|
|
5499
|
+
me(y({
|
|
5484
5500
|
ref: ge.setReference
|
|
5485
5501
|
}, Ne({
|
|
5486
5502
|
onClick: r2,
|
|
@@ -5502,7 +5518,7 @@ const w4 = (u) => {
|
|
|
5502
5518
|
),
|
|
5503
5519
|
Be && /* @__PURE__ */ e.createElement(
|
|
5504
5520
|
"div",
|
|
5505
|
-
|
|
5521
|
+
y({
|
|
5506
5522
|
ref: ge.setFloating,
|
|
5507
5523
|
className: `${T}__dropdown`
|
|
5508
5524
|
}, e2({
|
|
@@ -5510,7 +5526,7 @@ const w4 = (u) => {
|
|
|
5510
5526
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
5511
5527
|
}
|
|
5512
5528
|
})),
|
|
5513
|
-
/* @__PURE__ */ e.createElement("div", { style:
|
|
5529
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, c2) }, o ? /* @__PURE__ */ e.createElement("div", { className: `${T}__loading` }, p) : ie.length > 0 ? /* @__PURE__ */ e.createElement("ul", { role: "group", className: `${T}__options` }, se) : /* @__PURE__ */ e.createElement("div", { className: `${T}__no-results` }, _))
|
|
5514
5530
|
),
|
|
5515
5531
|
j && /* @__PURE__ */ e.createElement(
|
|
5516
5532
|
De,
|
|
@@ -5519,7 +5535,7 @@ const w4 = (u) => {
|
|
|
5519
5535
|
message: j,
|
|
5520
5536
|
hasValidationMessage: !!w,
|
|
5521
5537
|
validationMessageHasDecorators: !1,
|
|
5522
|
-
validationStatus:
|
|
5538
|
+
validationStatus: L
|
|
5523
5539
|
}
|
|
5524
5540
|
)
|
|
5525
5541
|
);
|
|
@@ -5528,7 +5544,7 @@ const w4 = (u) => {
|
|
|
5528
5544
|
const a = s.toLowerCase();
|
|
5529
5545
|
return t.filter(
|
|
5530
5546
|
(r) => r.label.toLowerCase().includes(a)
|
|
5531
|
-
).map((r) => me(
|
|
5547
|
+
).map((r) => me(y({}, r), {
|
|
5532
5548
|
isAlreadySelected: n.some(
|
|
5533
5549
|
(d) => d.id === r.id
|
|
5534
5550
|
)
|
|
@@ -5553,7 +5569,7 @@ const w4 = (u) => {
|
|
|
5553
5569
|
required: u = !1,
|
|
5554
5570
|
showLabel: _ = !0,
|
|
5555
5571
|
className: E
|
|
5556
|
-
} = b,
|
|
5572
|
+
} = b, H = A(b, [
|
|
5557
5573
|
"disabled",
|
|
5558
5574
|
"id",
|
|
5559
5575
|
"initialSelectedItems",
|
|
@@ -5570,7 +5586,7 @@ const w4 = (u) => {
|
|
|
5570
5586
|
"showLabel",
|
|
5571
5587
|
"className"
|
|
5572
5588
|
]);
|
|
5573
|
-
const f = Je(a), i = "pds-combobox-multi", g = t ? ee.disabled : null, C = u && !t ? ee.required : null, [$, M] = G(""), [z, w] = G(s), [
|
|
5589
|
+
const f = Je(a), i = "pds-combobox-multi", g = t ? ee.disabled : null, C = u && !t ? ee.required : null, [$, M] = G(""), [z, w] = G(s), [L, k] = G(
|
|
5574
5590
|
null
|
|
5575
5591
|
), N = C1(
|
|
5576
5592
|
() => kt(h, z, $),
|
|
@@ -5609,7 +5625,7 @@ const w4 = (u) => {
|
|
|
5609
5625
|
switch (J) {
|
|
5610
5626
|
case s2.stateChangeTypes.InputKeyDownEnter:
|
|
5611
5627
|
case s2.stateChangeTypes.ItemClick:
|
|
5612
|
-
return me(
|
|
5628
|
+
return me(y({}, B), {
|
|
5613
5629
|
isOpen: !0
|
|
5614
5630
|
});
|
|
5615
5631
|
default:
|
|
@@ -5636,20 +5652,20 @@ const w4 = (u) => {
|
|
|
5636
5652
|
}
|
|
5637
5653
|
}
|
|
5638
5654
|
}), q = () => {
|
|
5639
|
-
if (
|
|
5655
|
+
if (L === null)
|
|
5640
5656
|
k(z.length - 1);
|
|
5641
5657
|
else {
|
|
5642
5658
|
const P = [...z];
|
|
5643
|
-
P.splice(
|
|
5659
|
+
P.splice(L, 1), I(P), k(null);
|
|
5644
5660
|
}
|
|
5645
5661
|
}, R = (P) => {
|
|
5646
5662
|
var B, J;
|
|
5647
|
-
if (!t && ((P.key === "Backspace" || P.key === "Delete") && !$ && z.length > 0 && (P.preventDefault(), q()), P.key === "Enter" &&
|
|
5663
|
+
if (!t && ((P.key === "Backspace" || P.key === "Delete") && !$ && z.length > 0 && (P.preventDefault(), q()), P.key === "Enter" && L !== null && (P.preventDefault(), q()), P.key === "ArrowDown" && !T)) {
|
|
5648
5664
|
P.preventDefault();
|
|
5649
5665
|
const te = P.nativeEvent;
|
|
5650
5666
|
(J = (B = K()).onClick) == null || J.call(B, te);
|
|
5651
5667
|
}
|
|
5652
|
-
}, Q = Y(me(
|
|
5668
|
+
}, Q = Y(me(y({}, D({
|
|
5653
5669
|
preventKeyAction: T
|
|
5654
5670
|
})), {
|
|
5655
5671
|
disabled: t,
|
|
@@ -5657,7 +5673,7 @@ const w4 = (u) => {
|
|
|
5657
5673
|
})), X = z.length === 2 ? /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-item` }, z.length - 1) : z.length === 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-item` }, z.length - 1)) : z.length > 3 ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-layer` }), /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-item` }, z.length - 1)) : "";
|
|
5658
5674
|
return /* @__PURE__ */ e.createElement(
|
|
5659
5675
|
"div",
|
|
5660
|
-
|
|
5676
|
+
y({
|
|
5661
5677
|
className: V([
|
|
5662
5678
|
ee.base,
|
|
5663
5679
|
i,
|
|
@@ -5666,7 +5682,7 @@ const w4 = (u) => {
|
|
|
5666
5682
|
E != null ? E : ""
|
|
5667
5683
|
]),
|
|
5668
5684
|
style: a ? f : null
|
|
5669
|
-
},
|
|
5685
|
+
}, H),
|
|
5670
5686
|
/* @__PURE__ */ e.createElement(
|
|
5671
5687
|
Pe,
|
|
5672
5688
|
{
|
|
@@ -5689,10 +5705,10 @@ const w4 = (u) => {
|
|
|
5689
5705
|
z.length > 1 && /* @__PURE__ */ e.createElement("div", { className: `${i}__counter` }, /* @__PURE__ */ e.createElement("span", { className: `${i}__counter-wrapper` }, X)),
|
|
5690
5706
|
z.length > 0 && /* @__PURE__ */ e.createElement("div", { className: `${i}__items-wrapper` }, z.map((P, B) => /* @__PURE__ */ e.createElement(
|
|
5691
5707
|
"span",
|
|
5692
|
-
|
|
5708
|
+
y({
|
|
5693
5709
|
className: `
|
|
5694
5710
|
${i}__selected-item
|
|
5695
|
-
${B ===
|
|
5711
|
+
${B === L ? `${i}__selected-item--marked-for-deletion` : ""}
|
|
5696
5712
|
`,
|
|
5697
5713
|
key: `selected-item-${B}`
|
|
5698
5714
|
}, x({
|
|
@@ -5713,7 +5729,7 @@ const w4 = (u) => {
|
|
|
5713
5729
|
))),
|
|
5714
5730
|
/* @__PURE__ */ e.createElement(
|
|
5715
5731
|
"button",
|
|
5716
|
-
|
|
5732
|
+
y({
|
|
5717
5733
|
"aria-label": l.triggerButton,
|
|
5718
5734
|
className: `${i}__trigger ${g}`,
|
|
5719
5735
|
disabled: t,
|
|
@@ -5725,12 +5741,12 @@ const w4 = (u) => {
|
|
|
5725
5741
|
),
|
|
5726
5742
|
/* @__PURE__ */ e.createElement(
|
|
5727
5743
|
"div",
|
|
5728
|
-
|
|
5744
|
+
y({
|
|
5729
5745
|
className: `${i}__dropdown ${T ? "" : "visually-hidden"}`
|
|
5730
5746
|
}, D()),
|
|
5731
5747
|
/* @__PURE__ */ e.createElement("div", { className: `${i}__dropdown-input-wrapper` }, /* @__PURE__ */ e.createElement(d2, { variant: "search" }), /* @__PURE__ */ e.createElement(
|
|
5732
5748
|
"input",
|
|
5733
|
-
me(
|
|
5749
|
+
me(y({
|
|
5734
5750
|
placeholder: p,
|
|
5735
5751
|
className: `${i}__dropdown-input`,
|
|
5736
5752
|
"aria-label": l.inputInstructions
|
|
@@ -5740,9 +5756,9 @@ const w4 = (u) => {
|
|
|
5740
5756
|
}
|
|
5741
5757
|
})
|
|
5742
5758
|
)),
|
|
5743
|
-
r ? /* @__PURE__ */ e.createElement("div", { className: `${i}__loading` }, c) : N.length > 0 ? /* @__PURE__ */ e.createElement("ul",
|
|
5759
|
+
r ? /* @__PURE__ */ e.createElement("div", { className: `${i}__loading` }, c) : N.length > 0 ? /* @__PURE__ */ e.createElement("ul", y({ className: `${i}__dropdown-list` }, ne()), N.map((P, B) => /* @__PURE__ */ e.createElement(
|
|
5744
5760
|
w2,
|
|
5745
|
-
|
|
5761
|
+
y({
|
|
5746
5762
|
className: `${i}__dropdown-item
|
|
5747
5763
|
${Z === B ? `${i}__dropdown-item--highlighted` : ""}
|
|
5748
5764
|
${U === P ? `${i}__dropdown-item--selected` : ""}
|
|
@@ -5780,7 +5796,7 @@ const w4 = (u) => {
|
|
|
5780
5796
|
required: u = !1,
|
|
5781
5797
|
showFullPath: _,
|
|
5782
5798
|
showLabel: E = !0,
|
|
5783
|
-
tooltipText:
|
|
5799
|
+
tooltipText: H = null,
|
|
5784
5800
|
validationMessage: v,
|
|
5785
5801
|
validationStatus: b,
|
|
5786
5802
|
className: f
|
|
@@ -5805,7 +5821,7 @@ const w4 = (u) => {
|
|
|
5805
5821
|
"validationStatus",
|
|
5806
5822
|
"className"
|
|
5807
5823
|
]);
|
|
5808
|
-
const [M, z] = G(!1), [w,
|
|
5824
|
+
const [M, z] = G(!1), [w, L] = G(
|
|
5809
5825
|
!!(_2 && n)
|
|
5810
5826
|
), k = Je(l), N = "pds-file-upload", I = s ? ee.disabled : null, x = u && !s ? ee.required : null, D = b === "error" ? ee.error : null, S = b === "success" ? ee.success : null, T = w ? `${N}--safari-default` : null;
|
|
5811
5827
|
let Z = null;
|
|
@@ -5832,16 +5848,16 @@ const w4 = (u) => {
|
|
|
5832
5848
|
n ? q() : z(!1);
|
|
5833
5849
|
return;
|
|
5834
5850
|
}
|
|
5835
|
-
_2 && n && (n === X.target.value ?
|
|
5851
|
+
_2 && n && (n === X.target.value ? L(!0) : L(!1)), p && p(X.target.files), z(!0);
|
|
5836
5852
|
}, Q = () => {
|
|
5837
5853
|
const X = document.getElementById(
|
|
5838
5854
|
`${r}--input`
|
|
5839
5855
|
);
|
|
5840
|
-
X.value = "", _2 &&
|
|
5856
|
+
X.value = "", _2 && L(!1), h && h(), z(!1), X.focus();
|
|
5841
5857
|
};
|
|
5842
5858
|
return /* @__PURE__ */ e.createElement(
|
|
5843
5859
|
"div",
|
|
5844
|
-
|
|
5860
|
+
y({
|
|
5845
5861
|
className: V([
|
|
5846
5862
|
ee.base,
|
|
5847
5863
|
N,
|
|
@@ -5861,7 +5877,7 @@ const w4 = (u) => {
|
|
|
5861
5877
|
isPseudoLabel: !0,
|
|
5862
5878
|
label: a,
|
|
5863
5879
|
showLabel: E,
|
|
5864
|
-
tooltipText:
|
|
5880
|
+
tooltipText: H,
|
|
5865
5881
|
required: u,
|
|
5866
5882
|
disabled: s
|
|
5867
5883
|
}
|
|
@@ -5876,7 +5892,7 @@ const w4 = (u) => {
|
|
|
5876
5892
|
c.chooseFile
|
|
5877
5893
|
), /* @__PURE__ */ e.createElement(
|
|
5878
5894
|
"input",
|
|
5879
|
-
|
|
5895
|
+
y({
|
|
5880
5896
|
ref: g,
|
|
5881
5897
|
className: V([`${N}__input`]),
|
|
5882
5898
|
type: "file",
|
|
@@ -5917,11 +5933,11 @@ const w4 = (u) => {
|
|
|
5917
5933
|
"children",
|
|
5918
5934
|
"className"
|
|
5919
5935
|
]);
|
|
5920
|
-
var _, E,
|
|
5921
|
-
const d = "pds-input-group", l = [t[0], t[1]], c = (_ = t[0].props.id) != null ? _ : null, o = (E = t[0].props.message) != null ? E : null, m = (
|
|
5936
|
+
var _, E, H, v;
|
|
5937
|
+
const d = "pds-input-group", l = [t[0], t[1]], c = (_ = t[0].props.id) != null ? _ : null, o = (E = t[0].props.message) != null ? E : null, m = (H = t[0].props.validationMessage) != null ? H : null, h = (v = t[0].props.validationStatus) != null ? v : null, p = m || o, u = p ? `${d}--has-message` : null;
|
|
5922
5938
|
return /* @__PURE__ */ e.createElement(
|
|
5923
5939
|
"div",
|
|
5924
|
-
|
|
5940
|
+
y({
|
|
5925
5941
|
className: V([d, u, n != null ? n : ""])
|
|
5926
5942
|
}, s),
|
|
5927
5943
|
/* @__PURE__ */ e.createElement("div", { className: `${d}__inner` }, l),
|
|
@@ -5954,7 +5970,7 @@ const w4 = (u) => {
|
|
|
5954
5970
|
showLabel: u = !0,
|
|
5955
5971
|
tooltipText: _ = null,
|
|
5956
5972
|
validationMessage: E,
|
|
5957
|
-
validationStatus:
|
|
5973
|
+
validationStatus: H,
|
|
5958
5974
|
value: v,
|
|
5959
5975
|
className: b
|
|
5960
5976
|
} = g, f = A(g, [
|
|
@@ -5977,16 +5993,16 @@ const w4 = (u) => {
|
|
|
5977
5993
|
"value",
|
|
5978
5994
|
"className"
|
|
5979
5995
|
]);
|
|
5980
|
-
const C = "pds-radio-group", $ = n ? ee.disabled : null, M = p && !n ? ee.required : null, z =
|
|
5996
|
+
const C = "pds-radio-group", $ = n ? ee.disabled : null, M = p && !n ? ee.required : null, z = H === "error" ? ee.error : null, w = H === "success" ? ee.success : null, L = typeof v != "undefined", k = typeof t != "undefined", [N, I] = G(
|
|
5981
5997
|
k ? t : ""
|
|
5982
5998
|
), x = E || l, D = (T) => {
|
|
5983
|
-
|
|
5999
|
+
L || I(T.target.value), o && o(T), m && m(T.target.value);
|
|
5984
6000
|
}, S = (T) => {
|
|
5985
6001
|
c && c(T);
|
|
5986
6002
|
};
|
|
5987
6003
|
return /* @__PURE__ */ e.createElement(
|
|
5988
6004
|
"div",
|
|
5989
|
-
|
|
6005
|
+
y({
|
|
5990
6006
|
className: V([
|
|
5991
6007
|
C,
|
|
5992
6008
|
$,
|
|
@@ -5997,7 +6013,7 @@ const w4 = (u) => {
|
|
|
5997
6013
|
]),
|
|
5998
6014
|
style: Je(r)
|
|
5999
6015
|
}, f),
|
|
6000
|
-
/* @__PURE__ */ e.createElement("fieldset",
|
|
6016
|
+
/* @__PURE__ */ e.createElement("fieldset", y({ className: `${C}__fieldset`, id: a }, s), /* @__PURE__ */ e.createElement(
|
|
6001
6017
|
Pe,
|
|
6002
6018
|
{
|
|
6003
6019
|
disabled: n,
|
|
@@ -6025,7 +6041,7 @@ const w4 = (u) => {
|
|
|
6025
6041
|
disabled: n || T.disabled,
|
|
6026
6042
|
onBlur: S,
|
|
6027
6043
|
onChange: D,
|
|
6028
|
-
checked:
|
|
6044
|
+
checked: L ? v === T.value : N === T.value
|
|
6029
6045
|
}
|
|
6030
6046
|
),
|
|
6031
6047
|
/* @__PURE__ */ e.createElement("label", { htmlFor: T.id ? T.id : `${a}-option-${Z}` }, T.label)
|
|
@@ -6037,7 +6053,7 @@ const w4 = (u) => {
|
|
|
6037
6053
|
message: x,
|
|
6038
6054
|
hasValidationMessage: !!E,
|
|
6039
6055
|
validationMessageHasDecorators: !0,
|
|
6040
|
-
validationStatus:
|
|
6056
|
+
validationStatus: H
|
|
6041
6057
|
}
|
|
6042
6058
|
)
|
|
6043
6059
|
);
|
|
@@ -6083,7 +6099,7 @@ const w4 = (u) => {
|
|
|
6083
6099
|
required: u = !1,
|
|
6084
6100
|
showLabel: _ = !0,
|
|
6085
6101
|
showStatusLabel: E = !0,
|
|
6086
|
-
className:
|
|
6102
|
+
className: H
|
|
6087
6103
|
} = i, v = A(i, [
|
|
6088
6104
|
"checked",
|
|
6089
6105
|
"defaultChecked",
|
|
@@ -6102,11 +6118,11 @@ const w4 = (u) => {
|
|
|
6102
6118
|
"showStatusLabel",
|
|
6103
6119
|
"className"
|
|
6104
6120
|
]);
|
|
6105
|
-
const g = Je(d), C = "pds-switch", $ = s ? ee.disabled : null, M = u && !s ? ee.required : null, z = typeof t != "undefined", w = c == "below",
|
|
6121
|
+
const g = Je(d), C = "pds-switch", $ = s ? ee.disabled : null, M = u && !s ? ee.required : null, z = typeof t != "undefined", w = c == "below", L = c == "right", k = !z && n ? n : !1, [N, I] = G(k), x = t || N ? p : m, D = (ne) => {
|
|
6106
6122
|
z || I(ne.target.checked), h && h(ne);
|
|
6107
6123
|
}, S = /* @__PURE__ */ e.createElement("div", { className: "pds-switch__content" }, /* @__PURE__ */ e.createElement("label", { className: "pds-switch__input" }, /* @__PURE__ */ e.createElement(
|
|
6108
6124
|
"input",
|
|
6109
|
-
|
|
6125
|
+
y({
|
|
6110
6126
|
ref: b,
|
|
6111
6127
|
id: a,
|
|
6112
6128
|
name: a,
|
|
@@ -6143,7 +6159,7 @@ const w4 = (u) => {
|
|
|
6143
6159
|
}
|
|
6144
6160
|
);
|
|
6145
6161
|
let U, K;
|
|
6146
|
-
return w ? U = /* @__PURE__ */ e.createElement(e.Fragment, null, T, Z, S) :
|
|
6162
|
+
return w ? U = /* @__PURE__ */ e.createElement(e.Fragment, null, T, Z, S) : L && (K = "pds-switch--placement-right", U = o ? /* @__PURE__ */ e.createElement(e.Fragment, null, T, /* @__PURE__ */ e.createElement("div", { className: "pds-switch__toggle-message-container" }, Z, /* @__PURE__ */ e.createElement("div", null, S))) : /* @__PURE__ */ e.createElement(
|
|
6147
6163
|
"div",
|
|
6148
6164
|
{
|
|
6149
6165
|
className: V([
|
|
@@ -6155,14 +6171,14 @@ const w4 = (u) => {
|
|
|
6155
6171
|
S
|
|
6156
6172
|
)), /* @__PURE__ */ e.createElement(
|
|
6157
6173
|
"div",
|
|
6158
|
-
|
|
6174
|
+
y({
|
|
6159
6175
|
className: V([
|
|
6160
6176
|
ee.base,
|
|
6161
6177
|
C,
|
|
6162
6178
|
$,
|
|
6163
6179
|
M,
|
|
6164
6180
|
K,
|
|
6165
|
-
|
|
6181
|
+
H
|
|
6166
6182
|
]),
|
|
6167
6183
|
style: d ? g : null
|
|
6168
6184
|
}, v),
|
|
@@ -6171,7 +6187,7 @@ const w4 = (u) => {
|
|
|
6171
6187
|
}
|
|
6172
6188
|
), D4 = Ue(
|
|
6173
6189
|
(w, z) => {
|
|
6174
|
-
var
|
|
6190
|
+
var L = w, {
|
|
6175
6191
|
counterMaxLength: t,
|
|
6176
6192
|
defaultValue: n,
|
|
6177
6193
|
disabled: s = !1,
|
|
@@ -6187,7 +6203,7 @@ const w4 = (u) => {
|
|
|
6187
6203
|
readonly: u = !1,
|
|
6188
6204
|
required: _ = !1,
|
|
6189
6205
|
rows: E = 5,
|
|
6190
|
-
showLabel:
|
|
6206
|
+
showLabel: H,
|
|
6191
6207
|
textareaProps: v,
|
|
6192
6208
|
tooltipText: b = null,
|
|
6193
6209
|
translationStrings: f = {
|
|
@@ -6202,7 +6218,7 @@ const w4 = (u) => {
|
|
|
6202
6218
|
validationStatus: g,
|
|
6203
6219
|
value: C,
|
|
6204
6220
|
className: $
|
|
6205
|
-
} =
|
|
6221
|
+
} = L, M = A(L, [
|
|
6206
6222
|
"counterMaxLength",
|
|
6207
6223
|
"defaultValue",
|
|
6208
6224
|
"disabled",
|
|
@@ -6236,7 +6252,7 @@ const w4 = (u) => {
|
|
|
6236
6252
|
};
|
|
6237
6253
|
return /* @__PURE__ */ e.createElement(
|
|
6238
6254
|
"div",
|
|
6239
|
-
|
|
6255
|
+
y({
|
|
6240
6256
|
className: V([
|
|
6241
6257
|
ee.base,
|
|
6242
6258
|
N,
|
|
@@ -6254,14 +6270,14 @@ const w4 = (u) => {
|
|
|
6254
6270
|
{
|
|
6255
6271
|
id: a,
|
|
6256
6272
|
label: l,
|
|
6257
|
-
showLabel:
|
|
6273
|
+
showLabel: H,
|
|
6258
6274
|
tooltipText: b,
|
|
6259
6275
|
required: _,
|
|
6260
6276
|
disabled: s,
|
|
6261
6277
|
className: `${N}__inputlabel`
|
|
6262
6278
|
}
|
|
6263
6279
|
), t && /* @__PURE__ */ e.createElement(
|
|
6264
|
-
|
|
6280
|
+
y1,
|
|
6265
6281
|
{
|
|
6266
6282
|
id: a,
|
|
6267
6283
|
currentLength: q.length,
|
|
@@ -6271,7 +6287,7 @@ const w4 = (u) => {
|
|
|
6271
6287
|
)),
|
|
6272
6288
|
/* @__PURE__ */ e.createElement("div", { className: `${N}__input-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
6273
6289
|
"textarea",
|
|
6274
|
-
|
|
6290
|
+
y({
|
|
6275
6291
|
ref: z,
|
|
6276
6292
|
className: V([`${N}--textarea`, I]),
|
|
6277
6293
|
id: a,
|
|
@@ -6319,7 +6335,7 @@ const w4 = (u) => {
|
|
|
6319
6335
|
onChange: u,
|
|
6320
6336
|
onClear: _,
|
|
6321
6337
|
onFocus: E,
|
|
6322
|
-
placeholder:
|
|
6338
|
+
placeholder: H,
|
|
6323
6339
|
readonly: v = !1,
|
|
6324
6340
|
required: b = !1,
|
|
6325
6341
|
searchIcon: f = "search",
|
|
@@ -6337,7 +6353,7 @@ const w4 = (u) => {
|
|
|
6337
6353
|
type: M = "text",
|
|
6338
6354
|
validationMessage: z,
|
|
6339
6355
|
validationStatus: w,
|
|
6340
|
-
value:
|
|
6356
|
+
value: L,
|
|
6341
6357
|
className: k
|
|
6342
6358
|
} = D, N = A(D, [
|
|
6343
6359
|
"autoComplete",
|
|
@@ -6372,9 +6388,9 @@ const w4 = (u) => {
|
|
|
6372
6388
|
const S = Je(o), T = "pds-text-input", Z = a ? ee.disabled : null, U = b && !a ? ee.required : null, K = w === "error" ? ee.error : null, ne = w === "success" ? ee.success : null, Y = v ? ee.readonly : null;
|
|
6373
6389
|
let j = null;
|
|
6374
6390
|
M === "search" && (j = "search"), M === "search" && f === "filter" && (j = "filter"), w === "error" && (j = "error"), w === "success" && (j = "success");
|
|
6375
|
-
const q = z || h, R = typeof
|
|
6391
|
+
const q = z || h, R = typeof L != "undefined", Q = typeof s != "undefined", [X, P] = G(
|
|
6376
6392
|
Q ? s : ""
|
|
6377
|
-
), B =
|
|
6393
|
+
), B = L || X, J = (ae) => {
|
|
6378
6394
|
g && ie && ve(!1), p && p(ae);
|
|
6379
6395
|
}, te = (ae) => {
|
|
6380
6396
|
R || P(ae.target.value), u && u(ae);
|
|
@@ -6390,7 +6406,7 @@ const w4 = (u) => {
|
|
|
6390
6406
|
let ce = M;
|
|
6391
6407
|
return g && M === "password" && (ie ? ce = "text" : ce = "password"), /* @__PURE__ */ e.createElement(
|
|
6392
6408
|
"div",
|
|
6393
|
-
|
|
6409
|
+
y({
|
|
6394
6410
|
className: V([
|
|
6395
6411
|
ee.base,
|
|
6396
6412
|
T,
|
|
@@ -6417,14 +6433,14 @@ const w4 = (u) => {
|
|
|
6417
6433
|
g && M === "password" && /* @__PURE__ */ e.createElement("div", { className: "visually-hidden", "aria-live": "polite" }, `${$.visibilityStatus} ${ie ? "visible" : "hidden"}.`),
|
|
6418
6434
|
/* @__PURE__ */ e.createElement("div", { className: `${T}__input-wrapper` }, j && /* @__PURE__ */ e.createElement(d2, { variant: j }), /* @__PURE__ */ e.createElement(
|
|
6419
6435
|
"input",
|
|
6420
|
-
|
|
6436
|
+
y({
|
|
6421
6437
|
ref: I,
|
|
6422
6438
|
className: `${T}__input`,
|
|
6423
6439
|
id: l,
|
|
6424
6440
|
name: l,
|
|
6425
6441
|
type: ce,
|
|
6426
|
-
value: R ?
|
|
6427
|
-
placeholder:
|
|
6442
|
+
value: R ? L : X,
|
|
6443
|
+
placeholder: H,
|
|
6428
6444
|
readOnly: v,
|
|
6429
6445
|
disabled: a,
|
|
6430
6446
|
required: b,
|
|
@@ -6454,13 +6470,13 @@ const w4 = (u) => {
|
|
|
6454
6470
|
},
|
|
6455
6471
|
/* @__PURE__ */ e.createElement(F, { iconName: ie ? "eyeSlash" : "eye", iconSize: "md" })
|
|
6456
6472
|
), d && M === "search" && !B && /* @__PURE__ */ e.createElement(
|
|
6457
|
-
|
|
6473
|
+
H1,
|
|
6458
6474
|
{
|
|
6459
6475
|
inputId: l,
|
|
6460
6476
|
shortcutLabel: $.searchShortcut
|
|
6461
6477
|
}
|
|
6462
6478
|
), n && M !== "password" && /* @__PURE__ */ e.createElement(
|
|
6463
|
-
|
|
6479
|
+
y1,
|
|
6464
6480
|
{
|
|
6465
6481
|
id: l,
|
|
6466
6482
|
currentLength: B.length,
|
|
@@ -6497,7 +6513,7 @@ const w4 = (u) => {
|
|
|
6497
6513
|
const o = "pds-link-new-window", m = n ? `${o}--${n}` : null;
|
|
6498
6514
|
return /* @__PURE__ */ e.createElement(
|
|
6499
6515
|
"a",
|
|
6500
|
-
|
|
6516
|
+
y({
|
|
6501
6517
|
href: a,
|
|
6502
6518
|
rel: "noopener noreferrer",
|
|
6503
6519
|
target: "_blank",
|
|
@@ -6530,15 +6546,15 @@ const w4 = (u) => {
|
|
|
6530
6546
|
"title",
|
|
6531
6547
|
"className"
|
|
6532
6548
|
]);
|
|
6533
|
-
const u = "pds-modal", _ = l !== "md" ? `${u}--${l}` : null, [E,
|
|
6549
|
+
const u = "pds-modal", _ = l !== "md" ? `${u}--${l}` : null, [E, H] = G(r);
|
|
6534
6550
|
oe(() => {
|
|
6535
|
-
|
|
6551
|
+
H(r);
|
|
6536
6552
|
}, [r]), oe(() => {
|
|
6537
6553
|
d(E);
|
|
6538
6554
|
}, [E]);
|
|
6539
6555
|
const { refs: v, context: b, floatingStyles: f } = Ie({
|
|
6540
6556
|
open: E,
|
|
6541
|
-
onOpenChange:
|
|
6557
|
+
onOpenChange: H
|
|
6542
6558
|
}), i = Ye(b), g = Se(b, {
|
|
6543
6559
|
outsidePressEvent: "mousedown"
|
|
6544
6560
|
}), C = Te(b), { getFloatingProps: $ } = Ae([i, g, C]), { isMounted: M, styles: z } = Qe(b, {
|
|
@@ -6563,7 +6579,7 @@ const w4 = (u) => {
|
|
|
6563
6579
|
q1,
|
|
6564
6580
|
{
|
|
6565
6581
|
lockScroll: !0,
|
|
6566
|
-
style: me(
|
|
6582
|
+
style: me(y({}, f), {
|
|
6567
6583
|
background: "var(--pds-color-overlay)",
|
|
6568
6584
|
transition: "var(--pds-animation-reveal-transition)",
|
|
6569
6585
|
zIndex: "var(--pds-z-index-modal)",
|
|
@@ -6572,12 +6588,12 @@ const w4 = (u) => {
|
|
|
6572
6588
|
},
|
|
6573
6589
|
/* @__PURE__ */ e.createElement(b1, { context: b }, /* @__PURE__ */ e.createElement(
|
|
6574
6590
|
"div",
|
|
6575
|
-
|
|
6591
|
+
y(me(y({
|
|
6576
6592
|
ref: v.setFloating,
|
|
6577
6593
|
"aria-label": t || c
|
|
6578
6594
|
}, $()), {
|
|
6579
6595
|
className: [u, _, o].join(" ").trim().replace(/\s+/g, " "),
|
|
6580
|
-
style: me(
|
|
6596
|
+
style: me(y(y({}, f), z), {
|
|
6581
6597
|
position: "relative",
|
|
6582
6598
|
top: "5%"
|
|
6583
6599
|
})
|
|
@@ -6586,7 +6602,7 @@ const w4 = (u) => {
|
|
|
6586
6602
|
M1,
|
|
6587
6603
|
{
|
|
6588
6604
|
ariaLabel: s,
|
|
6589
|
-
onClick: () =>
|
|
6605
|
+
onClick: () => H(!1),
|
|
6590
6606
|
iconSize: "xl"
|
|
6591
6607
|
}
|
|
6592
6608
|
)),
|
|
@@ -6623,7 +6639,7 @@ const w4 = (u) => {
|
|
|
6623
6639
|
});
|
|
6624
6640
|
return /* @__PURE__ */ e.createElement(
|
|
6625
6641
|
"nav",
|
|
6626
|
-
|
|
6642
|
+
y({
|
|
6627
6643
|
"aria-label": t,
|
|
6628
6644
|
className: V([l, s != null ? s : ""])
|
|
6629
6645
|
}, a),
|
|
@@ -6654,11 +6670,11 @@ const w4 = (u) => {
|
|
|
6654
6670
|
}, Ge = (t) => {
|
|
6655
6671
|
let n = t;
|
|
6656
6672
|
return typeof t == "object" && (n = t.props.children), n;
|
|
6657
|
-
},
|
|
6673
|
+
}, y2 = (t, n) => {
|
|
6658
6674
|
let s = null;
|
|
6659
6675
|
if (typeof t == "string" && n) {
|
|
6660
6676
|
const a = n ? n[0].linkContent : null;
|
|
6661
|
-
e.isValidElement(a) && (s = e.cloneElement(a,
|
|
6677
|
+
e.isValidElement(a) && (s = e.cloneElement(a, y({}, typeof t == "string" ? { children: t } : {})));
|
|
6662
6678
|
} else
|
|
6663
6679
|
s = t;
|
|
6664
6680
|
return s;
|
|
@@ -6675,7 +6691,7 @@ const w4 = (u) => {
|
|
|
6675
6691
|
"className"
|
|
6676
6692
|
]);
|
|
6677
6693
|
let c = !1;
|
|
6678
|
-
const o = _e(
|
|
6694
|
+
const o = _e(Le);
|
|
6679
6695
|
o && (c = o.isMobile);
|
|
6680
6696
|
const m = "pds-button-nav", h = c ? `${m}--isMobile` : null, p = s !== "md" ? `${m}--${s}` : null, u = ({ isActive: v, linkContent: b }) => {
|
|
6681
6697
|
const f = `${m}__item`;
|
|
@@ -6706,7 +6722,7 @@ const w4 = (u) => {
|
|
|
6706
6722
|
isLink: !0
|
|
6707
6723
|
}));
|
|
6708
6724
|
});
|
|
6709
|
-
const
|
|
6725
|
+
const H = E.length > 0 ? /* @__PURE__ */ e.createElement(
|
|
6710
6726
|
ut,
|
|
6711
6727
|
{
|
|
6712
6728
|
actionItems: E,
|
|
@@ -6716,7 +6732,7 @@ const w4 = (u) => {
|
|
|
6716
6732
|
) : null;
|
|
6717
6733
|
return /* @__PURE__ */ e.createElement(
|
|
6718
6734
|
"nav",
|
|
6719
|
-
|
|
6735
|
+
y({
|
|
6720
6736
|
"aria-label": t,
|
|
6721
6737
|
className: V([
|
|
6722
6738
|
m,
|
|
@@ -6725,7 +6741,7 @@ const w4 = (u) => {
|
|
|
6725
6741
|
a != null ? a : ""
|
|
6726
6742
|
])
|
|
6727
6743
|
}, r),
|
|
6728
|
-
c ?
|
|
6744
|
+
c ? H : _
|
|
6729
6745
|
);
|
|
6730
6746
|
}, X2 = (t, n, s, a) => {
|
|
6731
6747
|
let r = null;
|
|
@@ -6737,11 +6753,11 @@ const w4 = (u) => {
|
|
|
6737
6753
|
];
|
|
6738
6754
|
if (s) {
|
|
6739
6755
|
const l = s[0].linkContent;
|
|
6740
|
-
we(l) && (r = xe(l,
|
|
6756
|
+
we(l) && (r = xe(l, y({}, typeof n == "string" ? { children: d } : {})));
|
|
6741
6757
|
} else
|
|
6742
6758
|
r = null;
|
|
6743
6759
|
}
|
|
6744
|
-
return typeof n == "object" && (a ? r = xe(n, me(
|
|
6760
|
+
return typeof n == "object" && (a ? r = xe(n, me(y({}, n.props), {
|
|
6745
6761
|
children: [
|
|
6746
6762
|
/* @__PURE__ */ e.createElement("span", { key: a, className: `${t}__item-inner` }, /* @__PURE__ */ e.createElement("span", { className: `${t}__link-icon` }, /* @__PURE__ */ e.createElement(F, { iconName: a, iconSize: "md" })), /* @__PURE__ */ e.createElement("span", { className: `${t}__link-label` }, n.props.children))
|
|
6747
6763
|
]
|
|
@@ -6758,7 +6774,7 @@ const w4 = (u) => {
|
|
|
6758
6774
|
]);
|
|
6759
6775
|
return /* @__PURE__ */ e.createElement(
|
|
6760
6776
|
"a",
|
|
6761
|
-
|
|
6777
|
+
y({
|
|
6762
6778
|
href: `#${t}`,
|
|
6763
6779
|
className: ["pds-skiplink", s].join(" ").trim().replace(/\s+/g, " ")
|
|
6764
6780
|
}, a),
|
|
@@ -6791,7 +6807,7 @@ const w4 = (u) => {
|
|
|
6791
6807
|
"setIsSidebarExpanded",
|
|
6792
6808
|
"className"
|
|
6793
6809
|
]);
|
|
6794
|
-
const { isMobile: E, windowWidth:
|
|
6810
|
+
const { isMobile: E, windowWidth: H } = _e(Le), [v, b] = G(H > 1440 || o), f = de(), [i] = N2(f), g = i.width;
|
|
6795
6811
|
oe(() => {
|
|
6796
6812
|
o !== void 0 && b(o);
|
|
6797
6813
|
}, [o]), oe(() => {
|
|
@@ -6802,11 +6818,11 @@ const w4 = (u) => {
|
|
|
6802
6818
|
logoLinkContent: a,
|
|
6803
6819
|
navbarWidth: g,
|
|
6804
6820
|
isAdmin: s
|
|
6805
|
-
}, $ = "pds-dashboard-global", M = s ? `${$}--isAdmin` : null, z = E ? `${$}--isMobile` : `${$}--notMobile`, w = E ? null : v ? `${$}--sidebarExpanded` : `${$}--sidebarCollapsed`,
|
|
6806
|
-
width:
|
|
6821
|
+
}, $ = "pds-dashboard-global", M = s ? `${$}--isAdmin` : null, z = E ? `${$}--isMobile` : `${$}--notMobile`, w = E ? null : v ? `${$}--sidebarExpanded` : `${$}--sidebarCollapsed`, L = v ? `${d}rem` : `${r}rem`, k = {
|
|
6822
|
+
width: L,
|
|
6807
6823
|
transition: "width 200ms ease-in-out"
|
|
6808
6824
|
}, N = E ? {} : {
|
|
6809
|
-
width: `calc(100% - ${
|
|
6825
|
+
width: `calc(100% - ${L})`,
|
|
6810
6826
|
transition: "width 200ms ease-in-out"
|
|
6811
6827
|
}, I = () => {
|
|
6812
6828
|
b(!v);
|
|
@@ -6822,7 +6838,7 @@ const w4 = (u) => {
|
|
|
6822
6838
|
), /* @__PURE__ */ e.createElement("div", { className: `${$}__sidebar-inner` }, S));
|
|
6823
6839
|
return /* @__PURE__ */ e.createElement(I2.Provider, { value: C }, /* @__PURE__ */ e.createElement(Vt, { text: c, destination: "main" }), /* @__PURE__ */ e.createElement(
|
|
6824
6840
|
"div",
|
|
6825
|
-
|
|
6841
|
+
y({
|
|
6826
6842
|
className: V([
|
|
6827
6843
|
$,
|
|
6828
6844
|
M,
|
|
@@ -6853,12 +6869,12 @@ const w4 = (u) => {
|
|
|
6853
6869
|
linkContent: r,
|
|
6854
6870
|
links: d
|
|
6855
6871
|
}) => {
|
|
6856
|
-
const l = "pds-dashboard-nav", c = `${l}__item`, o = `${l}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, X2(l, r, d, t)), h = (w,
|
|
6872
|
+
const l = "pds-dashboard-nav", c = `${l}__item`, o = `${l}__menu`, m = /* @__PURE__ */ e.createElement("div", { className: `${c}-wrapper` }, X2(l, r, d, t)), h = (w, L) => /* @__PURE__ */ e.createElement(
|
|
6857
6873
|
"ul",
|
|
6858
6874
|
{
|
|
6859
6875
|
className: V([
|
|
6860
6876
|
o,
|
|
6861
|
-
`${o}--${
|
|
6877
|
+
`${o}--${L}`,
|
|
6862
6878
|
n ? `${o}--expanded` : null
|
|
6863
6879
|
])
|
|
6864
6880
|
},
|
|
@@ -6868,40 +6884,40 @@ const w4 = (u) => {
|
|
|
6868
6884
|
key: N,
|
|
6869
6885
|
className: V([
|
|
6870
6886
|
c,
|
|
6871
|
-
`${c}--${
|
|
6887
|
+
`${c}--${L}`,
|
|
6872
6888
|
Ee(k) ? `${c}--active` : null
|
|
6873
6889
|
])
|
|
6874
6890
|
},
|
|
6875
6891
|
k.linkContent
|
|
6876
6892
|
))
|
|
6877
|
-
), [p, u] = G(!1), { refs: _, floatingStyles: E, context:
|
|
6893
|
+
), [p, u] = G(!1), { refs: _, floatingStyles: E, context: H } = Ie({
|
|
6878
6894
|
placement: "right-start",
|
|
6879
6895
|
open: p,
|
|
6880
6896
|
onOpenChange: u,
|
|
6881
6897
|
middleware: [M2(12), k2(), z2()],
|
|
6882
6898
|
whileElementsMounted: Oe
|
|
6883
|
-
}), v = b2(
|
|
6899
|
+
}), v = b2(H, {
|
|
6884
6900
|
move: !1,
|
|
6885
6901
|
handleClose: $1()
|
|
6886
|
-
}), b = _1(
|
|
6902
|
+
}), b = _1(H), f = Se(H), i = Te(H, { role: "menu" }), { getReferenceProps: g, getFloatingProps: C } = Ae([
|
|
6887
6903
|
v,
|
|
6888
6904
|
b,
|
|
6889
6905
|
f,
|
|
6890
6906
|
i
|
|
6891
6907
|
]), $ = (w) => {
|
|
6892
6908
|
var I;
|
|
6893
|
-
const
|
|
6909
|
+
const L = w.currentTarget, k = (I = L.parentElement) == null ? void 0 : I.nextElementSibling;
|
|
6894
6910
|
if (!k) return;
|
|
6895
|
-
const N =
|
|
6896
|
-
|
|
6911
|
+
const N = L.getAttribute("aria-expanded") === "false";
|
|
6912
|
+
L.classList.toggle(`${l}__toggle--expanded`, N), L.setAttribute("aria-expanded", N ? "true" : "false"), N ? M(k) : z(k);
|
|
6897
6913
|
}, M = (w) => {
|
|
6898
6914
|
w.style.display = "flex", w.style.height = "auto";
|
|
6899
|
-
const
|
|
6915
|
+
const L = `${w.scrollHeight}px`;
|
|
6900
6916
|
w.style.marginBlockStart = "0", w.animate(
|
|
6901
6917
|
[
|
|
6902
6918
|
{ height: "0px", opacity: "0", marginBlockStart: "0" },
|
|
6903
6919
|
{
|
|
6904
|
-
height:
|
|
6920
|
+
height: L,
|
|
6905
6921
|
opacity: "1",
|
|
6906
6922
|
marginBlockStart: `${o2}rem`
|
|
6907
6923
|
}
|
|
@@ -6919,10 +6935,10 @@ const w4 = (u) => {
|
|
|
6919
6935
|
}), w.classList.add(`${o}--expanded`);
|
|
6920
6936
|
};
|
|
6921
6937
|
}, z = (w) => {
|
|
6922
|
-
const
|
|
6938
|
+
const L = `${w.scrollHeight}px`, k = w.animate(
|
|
6923
6939
|
[
|
|
6924
6940
|
{
|
|
6925
|
-
height:
|
|
6941
|
+
height: L,
|
|
6926
6942
|
opacity: "1",
|
|
6927
6943
|
marginBlockStart: `${o2}rem`
|
|
6928
6944
|
},
|
|
@@ -6946,7 +6962,7 @@ const w4 = (u) => {
|
|
|
6946
6962
|
};
|
|
6947
6963
|
return /* @__PURE__ */ e.createElement(
|
|
6948
6964
|
"li",
|
|
6949
|
-
|
|
6965
|
+
y({
|
|
6950
6966
|
className: V([
|
|
6951
6967
|
c,
|
|
6952
6968
|
`${c}--top-level`,
|
|
@@ -6976,7 +6992,7 @@ const w4 = (u) => {
|
|
|
6976
6992
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Ge(r)} ${a.submenu}`)
|
|
6977
6993
|
)), s && h(d, "second-level"), !s && p && /* @__PURE__ */ e.createElement(
|
|
6978
6994
|
"div",
|
|
6979
|
-
|
|
6995
|
+
y({
|
|
6980
6996
|
className: `${l}__flyout`,
|
|
6981
6997
|
ref: _.setFloating,
|
|
6982
6998
|
style: E
|
|
@@ -7015,7 +7031,7 @@ const w4 = (u) => {
|
|
|
7015
7031
|
iconSize: "md",
|
|
7016
7032
|
className: `${c}__active-icon`
|
|
7017
7033
|
}
|
|
7018
|
-
),
|
|
7034
|
+
), H = (D) => {
|
|
7019
7035
|
var S;
|
|
7020
7036
|
D.key === "Enter" && ((S = C.current[h].querySelector("a")) == null || S.click());
|
|
7021
7037
|
}, v = (D) => {
|
|
@@ -7032,10 +7048,10 @@ const w4 = (u) => {
|
|
|
7032
7048
|
const b = ({
|
|
7033
7049
|
item: D,
|
|
7034
7050
|
level: S
|
|
7035
|
-
}) => me(
|
|
7051
|
+
}) => me(y({}, D), {
|
|
7036
7052
|
level: S,
|
|
7037
7053
|
linkContent: xe(
|
|
7038
|
-
|
|
7054
|
+
y2(D.linkContent, D.links),
|
|
7039
7055
|
{
|
|
7040
7056
|
tabIndex: -1
|
|
7041
7057
|
}
|
|
@@ -7069,7 +7085,7 @@ const w4 = (u) => {
|
|
|
7069
7085
|
loop: !0,
|
|
7070
7086
|
openOnArrowKeyDown: !0,
|
|
7071
7087
|
focusItemOnHover: !0
|
|
7072
|
-
}), M = Ye(g, { event: "mousedown" }), z = Se(g), w = Te(g, { role: "menu" }), { getReferenceProps:
|
|
7088
|
+
}), M = Ye(g, { event: "mousedown" }), z = Se(g), w = Te(g, { role: "menu" }), { getReferenceProps: L, getFloatingProps: k, getItemProps: N } = Ae(
|
|
7073
7089
|
[z, w, M, $]
|
|
7074
7090
|
), { isMounted: I, styles: x } = Qe(g, {
|
|
7075
7091
|
duration: {
|
|
@@ -7086,13 +7102,13 @@ const w4 = (u) => {
|
|
|
7086
7102
|
opacity: 0
|
|
7087
7103
|
}
|
|
7088
7104
|
});
|
|
7089
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
7105
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([c, a != null ? a : ""]) }, r), t && /* @__PURE__ */ e.createElement("h2", { className: `${c}__heading` }, t), /* @__PURE__ */ e.createElement(
|
|
7090
7106
|
"button",
|
|
7091
|
-
|
|
7107
|
+
y({
|
|
7092
7108
|
className: `${c}__trigger`,
|
|
7093
7109
|
ref: i.setReference,
|
|
7094
7110
|
type: "button"
|
|
7095
|
-
},
|
|
7111
|
+
}, L()),
|
|
7096
7112
|
/* @__PURE__ */ e.createElement("span", { className: `${c}__active-label` }, _),
|
|
7097
7113
|
/* @__PURE__ */ e.createElement(
|
|
7098
7114
|
F,
|
|
@@ -7104,18 +7120,18 @@ const w4 = (u) => {
|
|
|
7104
7120
|
)
|
|
7105
7121
|
), I && /* @__PURE__ */ e.createElement(
|
|
7106
7122
|
"ul",
|
|
7107
|
-
|
|
7123
|
+
y({
|
|
7108
7124
|
className: `${c}__dropdown ${c}__menu ${c}__menu--top-level`,
|
|
7109
7125
|
ref: i.setFloating,
|
|
7110
|
-
style: me(
|
|
7126
|
+
style: me(y({}, x), {
|
|
7111
7127
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
7112
7128
|
})
|
|
7113
7129
|
}, k()),
|
|
7114
7130
|
f(n).map((D, S) => /* @__PURE__ */ e.createElement(
|
|
7115
7131
|
"li",
|
|
7116
|
-
|
|
7132
|
+
y({
|
|
7117
7133
|
key: S,
|
|
7118
|
-
onKeyDown:
|
|
7134
|
+
onKeyDown: H,
|
|
7119
7135
|
className: `${c}__item ${c}__item--${D.level} ${D.isActive === !0 ? `${c}__item--active` : ""}`,
|
|
7120
7136
|
tabIndex: h === S ? 0 : -1,
|
|
7121
7137
|
ref: (T) => {
|
|
@@ -7452,7 +7468,7 @@ const w4 = (u) => {
|
|
|
7452
7468
|
}) : s;
|
|
7453
7469
|
return /* @__PURE__ */ e.createElement(
|
|
7454
7470
|
"div",
|
|
7455
|
-
|
|
7471
|
+
y({
|
|
7456
7472
|
className: V([
|
|
7457
7473
|
o,
|
|
7458
7474
|
m,
|
|
@@ -7481,12 +7497,12 @@ const w4 = (u) => {
|
|
|
7481
7497
|
"className"
|
|
7482
7498
|
]);
|
|
7483
7499
|
let o = !1;
|
|
7484
|
-
const m = _e(
|
|
7500
|
+
const m = _e(Le);
|
|
7485
7501
|
m && (o = m.isMobile);
|
|
7486
7502
|
const h = _e(I2);
|
|
7487
7503
|
let p = !0, u = null;
|
|
7488
7504
|
h && (p = h.isSidebarExpanded, u = h.logoLinkContent);
|
|
7489
|
-
const _ = "pds-dashboard-nav", E = p ? `${_}--expanded` : `${_}--collapsed`,
|
|
7505
|
+
const _ = "pds-dashboard-nav", E = p ? `${_}--expanded` : `${_}--collapsed`, H = /* @__PURE__ */ e.createElement(e.Fragment, null, s.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${_}__menu ${_}__menu--top-level` }, s.map((f, i) => /* @__PURE__ */ e.createElement(
|
|
7490
7506
|
Tt,
|
|
7491
7507
|
{
|
|
7492
7508
|
key: i,
|
|
@@ -7497,7 +7513,7 @@ const w4 = (u) => {
|
|
|
7497
7513
|
linkContent: f.linkContent,
|
|
7498
7514
|
links: f.links
|
|
7499
7515
|
}
|
|
7500
|
-
)))), v = s.map((f) => me(
|
|
7516
|
+
)))), v = s.map((f) => me(y({}, f), {
|
|
7501
7517
|
linkContent: X2(
|
|
7502
7518
|
_,
|
|
7503
7519
|
f.linkContent,
|
|
@@ -7513,7 +7529,7 @@ const w4 = (u) => {
|
|
|
7513
7529
|
);
|
|
7514
7530
|
return /* @__PURE__ */ e.createElement(
|
|
7515
7531
|
"nav",
|
|
7516
|
-
|
|
7532
|
+
y({
|
|
7517
7533
|
"aria-label": t,
|
|
7518
7534
|
className: V([_, E, r])
|
|
7519
7535
|
}, d),
|
|
@@ -7525,7 +7541,7 @@ const w4 = (u) => {
|
|
|
7525
7541
|
linkContent: u
|
|
7526
7542
|
}
|
|
7527
7543
|
),
|
|
7528
|
-
o ? b :
|
|
7544
|
+
o ? b : H
|
|
7529
7545
|
);
|
|
7530
7546
|
}, Rt = {
|
|
7531
7547
|
basic: "Basic",
|
|
@@ -7555,7 +7571,7 @@ const w4 = (u) => {
|
|
|
7555
7571
|
const d = "pds-dashboard-search", l = t.type ? S1[t.type] : "bolt", c = de(), [o] = N2(c), m = o.width / 16 - 7.5;
|
|
7556
7572
|
return /* @__PURE__ */ e.createElement(
|
|
7557
7573
|
"div",
|
|
7558
|
-
|
|
7574
|
+
y({
|
|
7559
7575
|
ref: c,
|
|
7560
7576
|
className: V([
|
|
7561
7577
|
`${d}__option-display`,
|
|
@@ -7597,7 +7613,7 @@ const w4 = (u) => {
|
|
|
7597
7613
|
)
|
|
7598
7614
|
);
|
|
7599
7615
|
}, G4 = (E) => {
|
|
7600
|
-
var
|
|
7616
|
+
var H = E, {
|
|
7601
7617
|
disabled: t = !1,
|
|
7602
7618
|
id: n,
|
|
7603
7619
|
isLoading: s = !1,
|
|
@@ -7615,7 +7631,7 @@ const w4 = (u) => {
|
|
|
7615
7631
|
siteList: h,
|
|
7616
7632
|
horizontalOffset: p = 0,
|
|
7617
7633
|
className: u
|
|
7618
|
-
} =
|
|
7634
|
+
} = H, _ = A(H, [
|
|
7619
7635
|
"disabled",
|
|
7620
7636
|
"id",
|
|
7621
7637
|
"isLoading",
|
|
@@ -7632,13 +7648,13 @@ const w4 = (u) => {
|
|
|
7632
7648
|
]);
|
|
7633
7649
|
const [v, b] = G(!1), [f, i] = G(null), g = de(null);
|
|
7634
7650
|
let C = !1;
|
|
7635
|
-
const $ = _e(
|
|
7651
|
+
const $ = _e(Le);
|
|
7636
7652
|
$ && (C = $.isMobile);
|
|
7637
7653
|
let M = null, z = !1;
|
|
7638
7654
|
const w = _e(I2);
|
|
7639
7655
|
w && (M = w.navbarWidth, z = w.isAdmin);
|
|
7640
|
-
const
|
|
7641
|
-
let x =
|
|
7656
|
+
const L = 2.25, k = 22, N = z ? 14.5 : 9.625, I = M > 900 ? k : M / 16 - (N + p) - L * 0.675;
|
|
7657
|
+
let x = L;
|
|
7642
7658
|
v && !M && (x = k), v && M && (x = I);
|
|
7643
7659
|
const D = {
|
|
7644
7660
|
right: `${N + p}rem`,
|
|
@@ -7725,7 +7741,7 @@ const w4 = (u) => {
|
|
|
7725
7741
|
)), q = /* @__PURE__ */ e.createElement("div", { className: `${S}--mobile-inner` }, Y);
|
|
7726
7742
|
return /* @__PURE__ */ e.createElement(
|
|
7727
7743
|
"div",
|
|
7728
|
-
|
|
7744
|
+
y({
|
|
7729
7745
|
className: V([S, T, u != null ? u : ""]),
|
|
7730
7746
|
id: n,
|
|
7731
7747
|
style: C ? null : D,
|
|
@@ -7748,7 +7764,7 @@ const w4 = (u) => {
|
|
|
7748
7764
|
const l = "pds-container", c = n !== "standard" ? `${l}--${n}` : null;
|
|
7749
7765
|
return /* @__PURE__ */ e.createElement(
|
|
7750
7766
|
"div",
|
|
7751
|
-
|
|
7767
|
+
y({
|
|
7752
7768
|
className: V([l, c, s != null ? s : ""])
|
|
7753
7769
|
}, a),
|
|
7754
7770
|
t
|
|
@@ -7782,9 +7798,9 @@ const w4 = (u) => {
|
|
|
7782
7798
|
"translationStrings",
|
|
7783
7799
|
"className"
|
|
7784
7800
|
]);
|
|
7785
|
-
const [E,
|
|
7801
|
+
const [E, H] = G(!1);
|
|
7786
7802
|
let v = !1;
|
|
7787
|
-
const b = _e(
|
|
7803
|
+
const b = _e(Le);
|
|
7788
7804
|
b && (v = b.isMobile);
|
|
7789
7805
|
const f = _e(I2);
|
|
7790
7806
|
f && (l = f.logoLinkContent);
|
|
@@ -7794,7 +7810,7 @@ const w4 = (u) => {
|
|
|
7794
7810
|
switch (q) {
|
|
7795
7811
|
case "Esc":
|
|
7796
7812
|
case "Escape":
|
|
7797
|
-
|
|
7813
|
+
H(!1), R = !0;
|
|
7798
7814
|
break;
|
|
7799
7815
|
}
|
|
7800
7816
|
R && (j.stopPropagation(), j.preventDefault());
|
|
@@ -7802,7 +7818,7 @@ const w4 = (u) => {
|
|
|
7802
7818
|
oe(() => (window.addEventListener("keyup", M), () => {
|
|
7803
7819
|
window.removeEventListener("keyup", M);
|
|
7804
7820
|
}), []);
|
|
7805
|
-
const z = () =>
|
|
7821
|
+
const z = () => H(!E), w = W1();
|
|
7806
7822
|
oe(() => {
|
|
7807
7823
|
if (v && t) {
|
|
7808
7824
|
const j = w1(
|
|
@@ -7815,14 +7831,14 @@ const w4 = (u) => {
|
|
|
7815
7831
|
}));
|
|
7816
7832
|
}
|
|
7817
7833
|
}, [E]);
|
|
7818
|
-
const
|
|
7819
|
-
j.target.nodeName === "A" &&
|
|
7834
|
+
const L = (j) => {
|
|
7835
|
+
j.target.nodeName === "A" && H(!1);
|
|
7820
7836
|
};
|
|
7821
7837
|
oe(() => {
|
|
7822
7838
|
if (E) {
|
|
7823
7839
|
const j = document.querySelector(".pds-navbar__bar-mobile"), q = document.querySelector(".pds-navbar__mobile");
|
|
7824
|
-
return j.addEventListener("click",
|
|
7825
|
-
j.removeEventListener("click",
|
|
7840
|
+
return j.addEventListener("click", L), q.addEventListener("click", L), () => {
|
|
7841
|
+
j.removeEventListener("click", L), q.removeEventListener("click", L);
|
|
7826
7842
|
};
|
|
7827
7843
|
}
|
|
7828
7844
|
}, [E]), oe(() => {
|
|
@@ -7873,7 +7889,7 @@ const w4 = (u) => {
|
|
|
7873
7889
|
), Y = /* @__PURE__ */ e.createElement(p2, { width: s, className: `${i}__inner` }, !r && /* @__PURE__ */ e.createElement("div", { className: `${i}__logo` }, T()), /* @__PURE__ */ e.createElement("div", { className: `${i}__content` }, N ? /* @__PURE__ */ e.createElement("div", { className: `${i}__items-left` }, N) : /* @__PURE__ */ e.createElement("span", null), I && /* @__PURE__ */ e.createElement("div", { className: `${i}__items-right` }, I)));
|
|
7874
7890
|
return /* @__PURE__ */ e.createElement(
|
|
7875
7891
|
"header",
|
|
7876
|
-
|
|
7892
|
+
y({
|
|
7877
7893
|
className: V([
|
|
7878
7894
|
i,
|
|
7879
7895
|
C,
|
|
@@ -7901,10 +7917,10 @@ const w4 = (u) => {
|
|
|
7901
7917
|
onOpenChange: r,
|
|
7902
7918
|
whileElementsMounted: Oe
|
|
7903
7919
|
}), u = Ye(p, { event: "mousedown" }), _ = Se(p), E = Te(p, { role: "menu" });
|
|
7904
|
-
let
|
|
7905
|
-
o ?
|
|
7920
|
+
let H;
|
|
7921
|
+
o ? H = b2(p, {
|
|
7906
7922
|
enabled: !1
|
|
7907
|
-
}) :
|
|
7923
|
+
}) : H = b2(p, {
|
|
7908
7924
|
handleClose: $1({
|
|
7909
7925
|
requireIntent: !1,
|
|
7910
7926
|
buffer: 10,
|
|
@@ -7916,11 +7932,11 @@ const w4 = (u) => {
|
|
|
7916
7932
|
_,
|
|
7917
7933
|
E,
|
|
7918
7934
|
u,
|
|
7919
|
-
|
|
7935
|
+
H
|
|
7920
7936
|
]), f = (i) => !!(i.isActive || i.linkContent && i.linkContent.props.className && i.linkContent.props.className.includes("pds-isActive"));
|
|
7921
7937
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
7922
7938
|
"button",
|
|
7923
|
-
|
|
7939
|
+
y({
|
|
7924
7940
|
className: `${m}__trigger`,
|
|
7925
7941
|
ref: h.setReference,
|
|
7926
7942
|
type: "button"
|
|
@@ -7929,7 +7945,7 @@ const w4 = (u) => {
|
|
|
7929
7945
|
/* @__PURE__ */ e.createElement(F, { iconName: "angleDown", className: `${m}__trigger-icon` })
|
|
7930
7946
|
), a && /* @__PURE__ */ e.createElement(
|
|
7931
7947
|
"ul",
|
|
7932
|
-
|
|
7948
|
+
y({
|
|
7933
7949
|
className: `${m}__dropdown`,
|
|
7934
7950
|
ref: h.setFloating
|
|
7935
7951
|
}, b()),
|
|
@@ -7957,7 +7973,7 @@ const w4 = (u) => {
|
|
|
7957
7973
|
"mobileMenuMaxWidth",
|
|
7958
7974
|
"className"
|
|
7959
7975
|
]);
|
|
7960
|
-
const [o, m] = G(1025), [h, p] = G(null), [u, _] = G(-1), [E,
|
|
7976
|
+
const [o, m] = G(1025), [h, p] = G(null), [u, _] = G(-1), [E, H] = G(null), [v, b] = G({
|
|
7961
7977
|
container: null,
|
|
7962
7978
|
containerChildren: []
|
|
7963
7979
|
});
|
|
@@ -7988,7 +8004,7 @@ const w4 = (u) => {
|
|
|
7988
8004
|
},
|
|
7989
8005
|
ArrowDown: () => {
|
|
7990
8006
|
var ne, Y, j, q;
|
|
7991
|
-
|
|
8007
|
+
H("down");
|
|
7992
8008
|
const U = k.target.parentNode.children[1], K = ((Y = (ne = k.target) == null ? void 0 : ne.parentNode.children[1]) == null ? void 0 : Y.children) || ((q = (j = k.target) == null ? void 0 : j.parentNode.parentNode.children[1]) == null ? void 0 : q.children);
|
|
7993
8009
|
v.container != U && U != null && b({
|
|
7994
8010
|
container: U,
|
|
@@ -7996,7 +8012,7 @@ const w4 = (u) => {
|
|
|
7996
8012
|
}), h === null || h == v.containerChildren.length - 1 ? p(0) : p(parseInt(h) + 1);
|
|
7997
8013
|
},
|
|
7998
8014
|
ArrowUp: () => {
|
|
7999
|
-
|
|
8015
|
+
H("up"), p(h === 0 ? v.containerChildren.length - 1 : parseInt(h) - 1);
|
|
8000
8016
|
}
|
|
8001
8017
|
}[k.code];
|
|
8002
8018
|
Z && Z();
|
|
@@ -8009,10 +8025,10 @@ const w4 = (u) => {
|
|
|
8009
8025
|
return !0;
|
|
8010
8026
|
}
|
|
8011
8027
|
return !1;
|
|
8012
|
-
},
|
|
8028
|
+
}, L = [];
|
|
8013
8029
|
return s.map((k, N) => {
|
|
8014
8030
|
const I = `item-${a2()}`, x = k.id ? k.id : I;
|
|
8015
|
-
k.links ?
|
|
8031
|
+
k.links ? L.push(
|
|
8016
8032
|
/* @__PURE__ */ e.createElement(
|
|
8017
8033
|
"li",
|
|
8018
8034
|
{
|
|
@@ -8030,7 +8046,7 @@ const w4 = (u) => {
|
|
|
8030
8046
|
}
|
|
8031
8047
|
)
|
|
8032
8048
|
)
|
|
8033
|
-
) :
|
|
8049
|
+
) : L.push(
|
|
8034
8050
|
/* @__PURE__ */ e.createElement(
|
|
8035
8051
|
"li",
|
|
8036
8052
|
{
|
|
@@ -8044,14 +8060,14 @@ const w4 = (u) => {
|
|
|
8044
8060
|
);
|
|
8045
8061
|
}), /* @__PURE__ */ e.createElement(
|
|
8046
8062
|
"nav",
|
|
8047
|
-
|
|
8063
|
+
y({
|
|
8048
8064
|
className: V([g, C, $, r]),
|
|
8049
8065
|
"aria-label": t,
|
|
8050
8066
|
onKeyDown: (k) => {
|
|
8051
8067
|
z(k);
|
|
8052
8068
|
}
|
|
8053
8069
|
}, d),
|
|
8054
|
-
/* @__PURE__ */ e.createElement("ul", { className: `${g}__menu` },
|
|
8070
|
+
/* @__PURE__ */ e.createElement("ul", { className: `${g}__menu` }, L)
|
|
8055
8071
|
);
|
|
8056
8072
|
}, j4 = (m) => {
|
|
8057
8073
|
var h = m, {
|
|
@@ -8076,26 +8092,26 @@ const w4 = (u) => {
|
|
|
8076
8092
|
"mobileMenuSelectTextFallback",
|
|
8077
8093
|
"className"
|
|
8078
8094
|
]);
|
|
8079
|
-
const p = "pds-side-nav", u = `${p}__item`, _ = `${p}__menu`, [E,
|
|
8080
|
-
oe(() => (
|
|
8095
|
+
const p = "pds-side-nav", u = `${p}__item`, _ = `${p}__menu`, [E, H] = G(1025);
|
|
8096
|
+
oe(() => (H(window.innerWidth), window.addEventListener("resize", v), () => {
|
|
8081
8097
|
window.removeEventListener("resize", v);
|
|
8082
8098
|
}), []);
|
|
8083
8099
|
const v = () => {
|
|
8084
|
-
|
|
8100
|
+
H(window.innerWidth);
|
|
8085
8101
|
}, b = E <= d, f = (w) => {
|
|
8086
8102
|
var I;
|
|
8087
|
-
const
|
|
8103
|
+
const L = w.currentTarget, k = (I = L.parentElement) == null ? void 0 : I.nextElementSibling;
|
|
8088
8104
|
if (!k) return;
|
|
8089
|
-
const N =
|
|
8090
|
-
|
|
8105
|
+
const N = L.getAttribute("aria-expanded") === "false";
|
|
8106
|
+
L.classList.toggle(`${p}__toggle--expanded`, N), L.setAttribute("aria-expanded", N ? "true" : "false"), N ? i(k) : g(k);
|
|
8091
8107
|
}, i = (w) => {
|
|
8092
8108
|
w.style.display = "flex", w.style.height = "auto";
|
|
8093
|
-
const
|
|
8109
|
+
const L = `${w.scrollHeight}px`;
|
|
8094
8110
|
w.style.marginBlockStart = "0", w.animate(
|
|
8095
8111
|
[
|
|
8096
8112
|
{ height: "0px", opacity: "0", marginBlockStart: "0" },
|
|
8097
8113
|
{
|
|
8098
|
-
height:
|
|
8114
|
+
height: L,
|
|
8099
8115
|
opacity: "1",
|
|
8100
8116
|
marginBlockStart: `${o2}rem`
|
|
8101
8117
|
}
|
|
@@ -8113,10 +8129,10 @@ const w4 = (u) => {
|
|
|
8113
8129
|
}), w.classList.add(`${_}--expanded`);
|
|
8114
8130
|
};
|
|
8115
8131
|
}, g = (w) => {
|
|
8116
|
-
const
|
|
8132
|
+
const L = `${w.scrollHeight}px`, k = w.animate(
|
|
8117
8133
|
[
|
|
8118
8134
|
{
|
|
8119
|
-
height:
|
|
8135
|
+
height: L,
|
|
8120
8136
|
opacity: "1",
|
|
8121
8137
|
marginBlockStart: `${o2}rem`
|
|
8122
8138
|
},
|
|
@@ -8137,12 +8153,12 @@ const w4 = (u) => {
|
|
|
8137
8153
|
marginBlockStart: "0"
|
|
8138
8154
|
});
|
|
8139
8155
|
};
|
|
8140
|
-
}, C = (w) => f1.toArray(w).some((
|
|
8156
|
+
}, C = (w) => f1.toArray(w).some((L) => we(L) ? L.type && L.type.displayName === "Tally" ? !0 : C(L.props.children) : !1), $ = (w, L) => {
|
|
8141
8157
|
const { linkContent: k, links: N } = w, I = C(k);
|
|
8142
8158
|
return /* @__PURE__ */ e.createElement(
|
|
8143
8159
|
"li",
|
|
8144
8160
|
{
|
|
8145
|
-
key:
|
|
8161
|
+
key: L,
|
|
8146
8162
|
className: V([
|
|
8147
8163
|
u,
|
|
8148
8164
|
`${u}--top-level`,
|
|
@@ -8152,7 +8168,7 @@ const w4 = (u) => {
|
|
|
8152
8168
|
// Add class if item contains a Tally component
|
|
8153
8169
|
])
|
|
8154
8170
|
},
|
|
8155
|
-
N ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${u}-wrapper` },
|
|
8171
|
+
N ? /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${u}-wrapper` }, y2(k, N), /* @__PURE__ */ e.createElement(
|
|
8156
8172
|
"button",
|
|
8157
8173
|
{
|
|
8158
8174
|
"aria-expanded": Ee(w),
|
|
@@ -8190,7 +8206,7 @@ const w4 = (u) => {
|
|
|
8190
8206
|
// Add class for second-level items
|
|
8191
8207
|
])
|
|
8192
8208
|
},
|
|
8193
|
-
|
|
8209
|
+
y2(
|
|
8194
8210
|
x.linkContent,
|
|
8195
8211
|
x.links
|
|
8196
8212
|
)
|
|
@@ -8201,7 +8217,7 @@ const w4 = (u) => {
|
|
|
8201
8217
|
k
|
|
8202
8218
|
)
|
|
8203
8219
|
);
|
|
8204
|
-
}, M = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((w,
|
|
8220
|
+
}, M = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((w, L) => $(w, L)))), z = /* @__PURE__ */ e.createElement(
|
|
8205
8221
|
n1,
|
|
8206
8222
|
{
|
|
8207
8223
|
headingText: s,
|
|
@@ -8211,7 +8227,7 @@ const w4 = (u) => {
|
|
|
8211
8227
|
);
|
|
8212
8228
|
return /* @__PURE__ */ e.createElement(
|
|
8213
8229
|
"nav",
|
|
8214
|
-
|
|
8230
|
+
y({
|
|
8215
8231
|
"aria-label": t,
|
|
8216
8232
|
className: V([p, c != null ? c : ""])
|
|
8217
8233
|
}, o),
|
|
@@ -8240,22 +8256,22 @@ const w4 = (u) => {
|
|
|
8240
8256
|
"mobileMenuSelectTextFallback",
|
|
8241
8257
|
"className"
|
|
8242
8258
|
]);
|
|
8243
|
-
const p = "pds-side-nav-compact", u = `${p}__item`, _ = `${p}__menu`, [E,
|
|
8244
|
-
oe(() => (
|
|
8259
|
+
const p = "pds-side-nav-compact", u = `${p}__item`, _ = `${p}__menu`, [E, H] = G(1025);
|
|
8260
|
+
oe(() => (H(window.innerWidth), window.addEventListener("resize", v), () => {
|
|
8245
8261
|
window.removeEventListener("resize", v);
|
|
8246
8262
|
}), []);
|
|
8247
8263
|
const v = () => {
|
|
8248
|
-
|
|
8249
|
-
}, b = E <= d, f = (
|
|
8264
|
+
H(window.innerWidth);
|
|
8265
|
+
}, b = E <= d, f = (L) => {
|
|
8250
8266
|
var x;
|
|
8251
|
-
const k =
|
|
8267
|
+
const k = L.currentTarget, N = (x = k.parentElement) == null ? void 0 : x.nextElementSibling;
|
|
8252
8268
|
if (!N) return;
|
|
8253
8269
|
const I = k.getAttribute("aria-expanded") === "false";
|
|
8254
8270
|
k.classList.toggle(`${p}__toggle--expanded`, I), k.setAttribute("aria-expanded", I ? "true" : "false"), I ? i(N) : g(N);
|
|
8255
|
-
}, i = (
|
|
8256
|
-
|
|
8257
|
-
const k = `${
|
|
8258
|
-
|
|
8271
|
+
}, i = (L) => {
|
|
8272
|
+
L.style.display = "flex", L.style.height = "auto";
|
|
8273
|
+
const k = `${L.scrollHeight}px`;
|
|
8274
|
+
L.style.marginBlockStart = "0", L.animate(
|
|
8259
8275
|
[
|
|
8260
8276
|
{ height: "0px", opacity: "0", marginBlockStart: "0" },
|
|
8261
8277
|
{ height: k, opacity: "1", marginBlockStart: `${P2}rem` }
|
|
@@ -8265,15 +8281,15 @@ const w4 = (u) => {
|
|
|
8265
8281
|
easing: Xe
|
|
8266
8282
|
}
|
|
8267
8283
|
).onfinish = () => {
|
|
8268
|
-
Object.assign(
|
|
8284
|
+
Object.assign(L.style, {
|
|
8269
8285
|
height: "auto",
|
|
8270
8286
|
opacity: "1",
|
|
8271
8287
|
display: "flex",
|
|
8272
8288
|
marginBlockStart: `${P2}rem`
|
|
8273
|
-
}),
|
|
8289
|
+
}), L.classList.add(`${_}--expanded`);
|
|
8274
8290
|
};
|
|
8275
|
-
}, g = (
|
|
8276
|
-
const k = `${
|
|
8291
|
+
}, g = (L) => {
|
|
8292
|
+
const k = `${L.scrollHeight}px`, N = L.animate(
|
|
8277
8293
|
[
|
|
8278
8294
|
{ height: k, opacity: "1", marginBlockStart: `${P2}rem` },
|
|
8279
8295
|
{ height: "0px", opacity: "0", marginBlockStart: "0" }
|
|
@@ -8284,7 +8300,7 @@ const w4 = (u) => {
|
|
|
8284
8300
|
}
|
|
8285
8301
|
);
|
|
8286
8302
|
N.onfinish = () => {
|
|
8287
|
-
|
|
8303
|
+
L.classList.remove(`${_}--expanded`), Object.assign(L.style, {
|
|
8288
8304
|
opacity: "0",
|
|
8289
8305
|
height: "",
|
|
8290
8306
|
// Clean height from inline style
|
|
@@ -8293,8 +8309,8 @@ const w4 = (u) => {
|
|
|
8293
8309
|
marginBlockStart: "0"
|
|
8294
8310
|
});
|
|
8295
8311
|
};
|
|
8296
|
-
}, C = { 2: "second", 3: "third", 4: "fourth" }, $ = (
|
|
8297
|
-
const I = C[
|
|
8312
|
+
}, C = { 2: "second", 3: "third", 4: "fourth" }, $ = (L, k, N) => {
|
|
8313
|
+
const I = C[L], x = `${_}--${I}-level`, D = `${u}--${I}-level`, S = L + 1;
|
|
8298
8314
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", { className: `${u}-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
8299
8315
|
"button",
|
|
8300
8316
|
{
|
|
@@ -8308,7 +8324,7 @@ const w4 = (u) => {
|
|
|
8308
8324
|
},
|
|
8309
8325
|
/* @__PURE__ */ e.createElement(F, { iconName: "caretDown", iconSize: "md" }),
|
|
8310
8326
|
/* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, `${a.toggle} ${Ge(k.linkContent)} ${a.submenu}`)
|
|
8311
|
-
),
|
|
8327
|
+
), y2(k.linkContent, k.links)), /* @__PURE__ */ e.createElement(
|
|
8312
8328
|
"ul",
|
|
8313
8329
|
{
|
|
8314
8330
|
className: V([
|
|
@@ -8334,8 +8350,8 @@ const w4 = (u) => {
|
|
|
8334
8350
|
) : T.linkContent
|
|
8335
8351
|
))
|
|
8336
8352
|
));
|
|
8337
|
-
}, M = (
|
|
8338
|
-
const { linkContent: N, links: I } =
|
|
8353
|
+
}, M = (L, k) => {
|
|
8354
|
+
const { linkContent: N, links: I } = L;
|
|
8339
8355
|
return /* @__PURE__ */ e.createElement(
|
|
8340
8356
|
"li",
|
|
8341
8357
|
{
|
|
@@ -8343,12 +8359,12 @@ const w4 = (u) => {
|
|
|
8343
8359
|
className: V([
|
|
8344
8360
|
u,
|
|
8345
8361
|
`${u}--top-level`,
|
|
8346
|
-
Ee(
|
|
8362
|
+
Ee(L) ? `${u}--active` : null
|
|
8347
8363
|
])
|
|
8348
8364
|
},
|
|
8349
|
-
I ? $(2,
|
|
8365
|
+
I ? $(2, L) : N
|
|
8350
8366
|
);
|
|
8351
|
-
}, z = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((
|
|
8367
|
+
}, z = /* @__PURE__ */ e.createElement(e.Fragment, null, s && /* @__PURE__ */ e.createElement("h2", { className: `${p}__heading` }, s), r.length > 0 && /* @__PURE__ */ e.createElement("ul", { className: `${p}__menu ${p}__menu--top-level` }, r.map((L, k) => M(L, k)))), w = /* @__PURE__ */ e.createElement(
|
|
8352
8368
|
n1,
|
|
8353
8369
|
{
|
|
8354
8370
|
headingText: s,
|
|
@@ -8358,7 +8374,7 @@ const w4 = (u) => {
|
|
|
8358
8374
|
);
|
|
8359
8375
|
return /* @__PURE__ */ e.createElement(
|
|
8360
8376
|
"nav",
|
|
8361
|
-
|
|
8377
|
+
y({
|
|
8362
8378
|
"aria-label": t,
|
|
8363
8379
|
className: V([p, c != null ? c : ""])
|
|
8364
8380
|
}, o),
|
|
@@ -8372,7 +8388,7 @@ const w4 = (u) => {
|
|
|
8372
8388
|
minFilterItems: r = 5,
|
|
8373
8389
|
noResultsText: d = "No results found"
|
|
8374
8390
|
}) => {
|
|
8375
|
-
const [l, c] = G(!1), [o, m] = G(null), [h, p] = G(a), [u, _] = G(""), E = a.length >= r,
|
|
8391
|
+
const [l, c] = G(!1), [o, m] = G(null), [h, p] = G(a), [u, _] = G(""), E = a.length >= r, H = "pds-tab-menu", v = `${H}__dropdown-menu`, b = E ? `${v}--scroll` : null, f = `${H}__dropdown-item`, i = de([]), { context: g, refs: C } = Ie({
|
|
8376
8392
|
open: l,
|
|
8377
8393
|
onOpenChange: c,
|
|
8378
8394
|
whileElementsMounted: Oe
|
|
@@ -8385,7 +8401,7 @@ const w4 = (u) => {
|
|
|
8385
8401
|
loop: !0,
|
|
8386
8402
|
focusItemOnHover: !0,
|
|
8387
8403
|
focusItemOnOpen: !1
|
|
8388
|
-
}), { getReferenceProps:
|
|
8404
|
+
}), { getReferenceProps: L, getFloatingProps: k, getItemProps: N } = Ae(
|
|
8389
8405
|
[z, M, w, $]
|
|
8390
8406
|
), { isMounted: I, styles: x } = Qe(g, {
|
|
8391
8407
|
duration: {
|
|
@@ -8423,7 +8439,7 @@ const w4 = (u) => {
|
|
|
8423
8439
|
width: `${Ge(
|
|
8424
8440
|
U.linkContent
|
|
8425
8441
|
).length + 2}ch`
|
|
8426
|
-
}, Y = /* @__PURE__ */ e.createElement(F, { iconName: "check", className: `${
|
|
8442
|
+
}, Y = /* @__PURE__ */ e.createElement(F, { iconName: "check", className: `${H}__active-icon` }), j = E && /* @__PURE__ */ e.createElement("div", { className: `${H}__filter` }, /* @__PURE__ */ e.createElement(
|
|
8427
8443
|
V1,
|
|
8428
8444
|
{
|
|
8429
8445
|
hasClearButton: !0,
|
|
@@ -8440,7 +8456,7 @@ const w4 = (u) => {
|
|
|
8440
8456
|
const X = R.isActive ? `${f}--active` : null;
|
|
8441
8457
|
return /* @__PURE__ */ e.createElement(
|
|
8442
8458
|
"li",
|
|
8443
|
-
|
|
8459
|
+
y({
|
|
8444
8460
|
key: Q,
|
|
8445
8461
|
className: V([f, X]),
|
|
8446
8462
|
ref: (P) => {
|
|
@@ -8455,10 +8471,10 @@ const w4 = (u) => {
|
|
|
8455
8471
|
});
|
|
8456
8472
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8457
8473
|
"button",
|
|
8458
|
-
me(
|
|
8459
|
-
className: `${
|
|
8474
|
+
me(y({
|
|
8475
|
+
className: `${H}__dropdown-trigger`,
|
|
8460
8476
|
ref: C.setReference
|
|
8461
|
-
},
|
|
8477
|
+
}, L({
|
|
8462
8478
|
"aria-expanded": l,
|
|
8463
8479
|
"aria-label": t
|
|
8464
8480
|
})), {
|
|
@@ -8468,20 +8484,20 @@ const w4 = (u) => {
|
|
|
8468
8484
|
F,
|
|
8469
8485
|
{
|
|
8470
8486
|
iconName: "angleDown",
|
|
8471
|
-
className: `${
|
|
8487
|
+
className: `${H}__dropdown-trigger-icon`
|
|
8472
8488
|
}
|
|
8473
8489
|
)
|
|
8474
8490
|
), I && /* @__PURE__ */ e.createElement(
|
|
8475
8491
|
"div",
|
|
8476
|
-
|
|
8492
|
+
y({
|
|
8477
8493
|
ref: C.setFloating,
|
|
8478
|
-
className: `${
|
|
8494
|
+
className: `${H}__dropdown`
|
|
8479
8495
|
}, k({
|
|
8480
|
-
style:
|
|
8496
|
+
style: y({
|
|
8481
8497
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
8482
8498
|
}, ne)
|
|
8483
8499
|
})),
|
|
8484
|
-
/* @__PURE__ */ e.createElement("div", { style:
|
|
8500
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, x) }, j, /* @__PURE__ */ e.createElement("ul", { className: V([v, b]) }, q.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${H}__no-results` }, d) : q))
|
|
8485
8501
|
));
|
|
8486
8502
|
}, X4 = (r) => {
|
|
8487
8503
|
var d = r, {
|
|
@@ -8494,19 +8510,19 @@ const w4 = (u) => {
|
|
|
8494
8510
|
"className"
|
|
8495
8511
|
]);
|
|
8496
8512
|
let l = !1;
|
|
8497
|
-
const c = _e(
|
|
8513
|
+
const c = _e(Le);
|
|
8498
8514
|
c && (l = c.isMobile);
|
|
8499
8515
|
const o = "pds-tab-menu", m = l ? `${o}--isMobile` : null, h = ({
|
|
8500
8516
|
dropdownSettings: u,
|
|
8501
8517
|
icon: _,
|
|
8502
8518
|
isActive: E,
|
|
8503
|
-
linkContent:
|
|
8519
|
+
linkContent: H,
|
|
8504
8520
|
links: v,
|
|
8505
8521
|
promoteActiveChildLink: b = !1
|
|
8506
8522
|
}) => {
|
|
8507
8523
|
const f = `${o}__item`, i = t1(v), g = (C, $) => {
|
|
8508
8524
|
let M = null;
|
|
8509
|
-
return typeof C == "object" && ($ ? M = xe(C, me(
|
|
8525
|
+
return typeof C == "object" && ($ ? M = xe(C, me(y({}, C.props), {
|
|
8510
8526
|
children: [
|
|
8511
8527
|
/* @__PURE__ */ e.createElement("span", { key: $, className: `${o}__item-inner` }, /* @__PURE__ */ e.createElement(
|
|
8512
8528
|
F,
|
|
@@ -8527,7 +8543,7 @@ const w4 = (u) => {
|
|
|
8527
8543
|
E ? `${f}--active` : null
|
|
8528
8544
|
])
|
|
8529
8545
|
},
|
|
8530
|
-
g(b ? i :
|
|
8546
|
+
g(b ? i : H, _),
|
|
8531
8547
|
v && /* @__PURE__ */ e.createElement(
|
|
8532
8548
|
Pt,
|
|
8533
8549
|
{
|
|
@@ -8554,7 +8570,7 @@ const w4 = (u) => {
|
|
|
8554
8570
|
))) : null;
|
|
8555
8571
|
return /* @__PURE__ */ e.createElement(
|
|
8556
8572
|
"nav",
|
|
8557
|
-
|
|
8573
|
+
y({
|
|
8558
8574
|
"aria-label": t,
|
|
8559
8575
|
className: V([o, m, s != null ? s : ""])
|
|
8560
8576
|
}, a),
|
|
@@ -8578,9 +8594,9 @@ const w4 = (u) => {
|
|
|
8578
8594
|
"withinNavbar",
|
|
8579
8595
|
"className"
|
|
8580
8596
|
]);
|
|
8581
|
-
const [h, p] = G(null), [u, _] = G(!1), E = de([]),
|
|
8597
|
+
const [h, p] = G(null), [u, _] = G(!1), E = de([]), H = de([]);
|
|
8582
8598
|
let v = !1;
|
|
8583
|
-
const b = _e(
|
|
8599
|
+
const b = _e(Le);
|
|
8584
8600
|
b && (v = b.isMobile);
|
|
8585
8601
|
const f = d && v, i = "pds-user-menu", g = f ? `${i}--isMobile` : null, C = `${i}__menu`, { refs: $, floatingStyles: M, context: z } = Ie({
|
|
8586
8602
|
placement: "bottom-end",
|
|
@@ -8588,7 +8604,7 @@ const w4 = (u) => {
|
|
|
8588
8604
|
onOpenChange: _,
|
|
8589
8605
|
middleware: [M2(12), k2(), z2()],
|
|
8590
8606
|
whileElementsMounted: Oe
|
|
8591
|
-
}), w = Ye(z, { event: "mousedown" }),
|
|
8607
|
+
}), w = Ye(z, { event: "mousedown" }), L = Se(z), k = Te(z, { role: "menu" }), N = de([]), I = i2(z, {
|
|
8592
8608
|
listRef: N,
|
|
8593
8609
|
activeIndex: h,
|
|
8594
8610
|
onNavigate: p,
|
|
@@ -8597,7 +8613,7 @@ const w4 = (u) => {
|
|
|
8597
8613
|
focusItemOnOpen: !1,
|
|
8598
8614
|
focusItemOnHover: !0
|
|
8599
8615
|
}), { getReferenceProps: x, getFloatingProps: D, getItemProps: S } = Ae(
|
|
8600
|
-
[
|
|
8616
|
+
[L, k, w, I]
|
|
8601
8617
|
), { isMounted: T, styles: Z } = Qe(z, {
|
|
8602
8618
|
duration: {
|
|
8603
8619
|
open: 300,
|
|
@@ -8624,10 +8640,10 @@ const w4 = (u) => {
|
|
|
8624
8640
|
), K = /* @__PURE__ */ e.createElement(F, { iconName: "angleDown", className: `${i}__trigger-icon` }), ne = /* @__PURE__ */ e.createElement("li", { className: `${i}__user-details`, role: "presentation" }, f ? null : /* @__PURE__ */ e.createElement("div", { className: `${i}__user-name` }, r), /* @__PURE__ */ e.createElement("div", { className: `${i}__user-email` }, s));
|
|
8625
8641
|
n.forEach((B) => {
|
|
8626
8642
|
const J = B.id ? B.id : a2();
|
|
8627
|
-
E.current.push(J),
|
|
8643
|
+
E.current.push(J), H.current.push(B);
|
|
8628
8644
|
});
|
|
8629
8645
|
const Y = (B) => {
|
|
8630
|
-
const J = E.current.indexOf(B), te =
|
|
8646
|
+
const J = E.current.indexOf(B), te = H.current[J];
|
|
8631
8647
|
te.linkContent && !te.disabled && (N.current[J].querySelector("a").click(), _(!1)), te.callback && !te.disabled && (te.callback(te), _(!1));
|
|
8632
8648
|
}, j = (B) => {
|
|
8633
8649
|
B.preventDefault(), B.key === "Enter" && Y(B.currentTarget.id);
|
|
@@ -8637,7 +8653,7 @@ const w4 = (u) => {
|
|
|
8637
8653
|
const te = E.current[J], fe = `${i}__item`, ie = B.disabled ? `${fe}--disabled` : null;
|
|
8638
8654
|
return /* @__PURE__ */ e.createElement(
|
|
8639
8655
|
"li",
|
|
8640
|
-
|
|
8656
|
+
y({
|
|
8641
8657
|
key: te,
|
|
8642
8658
|
id: te,
|
|
8643
8659
|
className: V([fe, ie]),
|
|
@@ -8660,7 +8676,7 @@ const w4 = (u) => {
|
|
|
8660
8676
|
);
|
|
8661
8677
|
}), Q = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8662
8678
|
"button",
|
|
8663
|
-
|
|
8679
|
+
y({
|
|
8664
8680
|
className: `${i}__trigger`,
|
|
8665
8681
|
"aria-label": t,
|
|
8666
8682
|
ref: $.setReference,
|
|
@@ -8669,14 +8685,14 @@ const w4 = (u) => {
|
|
|
8669
8685
|
U
|
|
8670
8686
|
), T && /* @__PURE__ */ e.createElement(
|
|
8671
8687
|
"div",
|
|
8672
|
-
|
|
8688
|
+
y({
|
|
8673
8689
|
className: `${i}__dropdown`,
|
|
8674
8690
|
ref: $.setFloating,
|
|
8675
|
-
style: me(
|
|
8691
|
+
style: me(y({}, M), {
|
|
8676
8692
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
8677
8693
|
})
|
|
8678
8694
|
}, D()),
|
|
8679
|
-
/* @__PURE__ */ e.createElement("div", { style:
|
|
8695
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, Z) }, /* @__PURE__ */ e.createElement("ul", { className: C, role: "menu" }, ne, /* @__PURE__ */ e.createElement("li", { role: "separator" }), R))
|
|
8680
8696
|
)), X = (B) => {
|
|
8681
8697
|
const J = B.currentTarget;
|
|
8682
8698
|
J.classList.toggle(`${i}__toggle--expanded`), J.setAttribute(
|
|
@@ -8705,7 +8721,7 @@ const w4 = (u) => {
|
|
|
8705
8721
|
)));
|
|
8706
8722
|
return /* @__PURE__ */ e.createElement(
|
|
8707
8723
|
"span",
|
|
8708
|
-
|
|
8724
|
+
y({
|
|
8709
8725
|
className: V([i, g, l != null ? l : ""])
|
|
8710
8726
|
}, c),
|
|
8711
8727
|
f ? P : Q
|
|
@@ -8739,17 +8755,17 @@ const w4 = (u) => {
|
|
|
8739
8755
|
"workspaceList",
|
|
8740
8756
|
"className"
|
|
8741
8757
|
]);
|
|
8742
|
-
const [_, E] = G(!1), [
|
|
8758
|
+
const [_, E] = G(!1), [H, v] = G(null), [b, f] = G(o), i = de([]), g = de(null), C = o.length >= d;
|
|
8743
8759
|
let $ = !1;
|
|
8744
|
-
const M = _e(
|
|
8760
|
+
const M = _e(Le);
|
|
8745
8761
|
M && ($ = M.isMobile);
|
|
8746
|
-
const z = c && $, w = "pds-workspace-selector",
|
|
8762
|
+
const z = c && $, w = "pds-workspace-selector", L = z ? `${w}--isMobile` : null, k = `${w}__menu`, N = C ? `${k}--scroll` : null, { refs: I, floatingStyles: x, context: D } = Ie({
|
|
8747
8763
|
open: _,
|
|
8748
8764
|
onOpenChange: E,
|
|
8749
8765
|
whileElementsMounted: Oe
|
|
8750
8766
|
}), S = Ye(D, { event: "mousedown" }), T = Se(D), Z = Te(D, { role: "menu" }), U = i2(D, {
|
|
8751
8767
|
listRef: i,
|
|
8752
|
-
activeIndex:
|
|
8768
|
+
activeIndex: H,
|
|
8753
8769
|
onNavigate: v,
|
|
8754
8770
|
loop: !0,
|
|
8755
8771
|
openOnArrowKeyDown: !0,
|
|
@@ -8779,13 +8795,13 @@ const w4 = (u) => {
|
|
|
8779
8795
|
f(ge);
|
|
8780
8796
|
};
|
|
8781
8797
|
oe(() => {
|
|
8782
|
-
const ce = o.map((ae) => me(
|
|
8798
|
+
const ce = o.map((ae) => me(y({}, ae), {
|
|
8783
8799
|
isActive: ae.isActive
|
|
8784
8800
|
}));
|
|
8785
8801
|
f(ce);
|
|
8786
8802
|
}, [o]);
|
|
8787
8803
|
const X = (ce) => {
|
|
8788
|
-
ce.preventDefault(), ce.key === "Enter" && i.current[
|
|
8804
|
+
ce.preventDefault(), ce.key === "Enter" && i.current[H].querySelector("a").click(), ce.key === "Tab" && (ce.shiftKey ? C ? document.getElementById("workspace-filter").focus() : E(!1) : n ? g.current.querySelector("a").focus() : E(!1));
|
|
8789
8805
|
}, P = /* @__PURE__ */ e.createElement("div", { className: `${w}__button-content` }, /* @__PURE__ */ e.createElement(
|
|
8790
8806
|
K2,
|
|
8791
8807
|
{
|
|
@@ -8827,7 +8843,7 @@ const w4 = (u) => {
|
|
|
8827
8843
|
};
|
|
8828
8844
|
return /* @__PURE__ */ e.createElement(
|
|
8829
8845
|
"li",
|
|
8830
|
-
|
|
8846
|
+
y({
|
|
8831
8847
|
key: Ne,
|
|
8832
8848
|
id: Ne,
|
|
8833
8849
|
className: V([
|
|
@@ -8836,13 +8852,13 @@ const w4 = (u) => {
|
|
|
8836
8852
|
qe
|
|
8837
8853
|
]),
|
|
8838
8854
|
role: "menuitem",
|
|
8839
|
-
tabIndex:
|
|
8855
|
+
tabIndex: H === ae ? 0 : -1,
|
|
8840
8856
|
ref: t2,
|
|
8841
8857
|
onKeyDown: X
|
|
8842
8858
|
}, Y()),
|
|
8843
8859
|
/* @__PURE__ */ e.createElement(
|
|
8844
8860
|
e2,
|
|
8845
|
-
me(
|
|
8861
|
+
me(y({}, ce.workspaceLink.props), {
|
|
8846
8862
|
onClick: () => E(!1)
|
|
8847
8863
|
}),
|
|
8848
8864
|
/* @__PURE__ */ e.createElement("div", { className: `${w}__item-content` }, /* @__PURE__ */ e.createElement(
|
|
@@ -8859,7 +8875,7 @@ const w4 = (u) => {
|
|
|
8859
8875
|
);
|
|
8860
8876
|
}
|
|
8861
8877
|
), fe = n && /* @__PURE__ */ e.createElement("div", { className: `${w}__create-link`, ref: g }, /* @__PURE__ */ e.createElement(
|
|
8862
|
-
|
|
8878
|
+
L2,
|
|
8863
8879
|
{
|
|
8864
8880
|
displayType: "icon-end",
|
|
8865
8881
|
iconName: "plus",
|
|
@@ -8870,7 +8886,7 @@ const w4 = (u) => {
|
|
|
8870
8886
|
}
|
|
8871
8887
|
)), ie = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
8872
8888
|
"button",
|
|
8873
|
-
|
|
8889
|
+
y({
|
|
8874
8890
|
className: `${w}__trigger`,
|
|
8875
8891
|
"aria-label": t,
|
|
8876
8892
|
ref: I.setReference,
|
|
@@ -8880,14 +8896,14 @@ const w4 = (u) => {
|
|
|
8880
8896
|
B
|
|
8881
8897
|
), j && /* @__PURE__ */ e.createElement(
|
|
8882
8898
|
"div",
|
|
8883
|
-
|
|
8899
|
+
y({
|
|
8884
8900
|
className: `${w}__dropdown`,
|
|
8885
8901
|
ref: I.setFloating,
|
|
8886
8902
|
style: {
|
|
8887
8903
|
zIndex: "var(--pds-z-index-dropdown)"
|
|
8888
8904
|
}
|
|
8889
8905
|
}, ne()),
|
|
8890
|
-
/* @__PURE__ */ e.createElement("div", { style:
|
|
8906
|
+
/* @__PURE__ */ e.createElement("div", { style: y({}, q) }, J, /* @__PURE__ */ e.createElement("ul", { className: V([k, N]), role: "menu" }, /* @__PURE__ */ e.createElement("li", { className: `${w}__item-heading`, role: "presentation" }, r), te.length === 0 ? /* @__PURE__ */ e.createElement("p", { className: `${w}__no-results` }, l) : te), fe)
|
|
8891
8907
|
)), ve = (ce) => {
|
|
8892
8908
|
const ae = ce.target;
|
|
8893
8909
|
ae.classList.toggle(`${w}__toggle--expanded`), ae.setAttribute(
|
|
@@ -8916,8 +8932,8 @@ const w4 = (u) => {
|
|
|
8916
8932
|
), fe));
|
|
8917
8933
|
return /* @__PURE__ */ e.createElement(
|
|
8918
8934
|
"span",
|
|
8919
|
-
|
|
8920
|
-
className: V([w,
|
|
8935
|
+
y({
|
|
8936
|
+
className: V([w, L, m])
|
|
8921
8937
|
}, h),
|
|
8922
8938
|
z ? $e : ie
|
|
8923
8939
|
);
|
|
@@ -8956,7 +8972,7 @@ const w4 = (u) => {
|
|
|
8956
8972
|
info: `${u}--info`,
|
|
8957
8973
|
warning: `${u}--warning`,
|
|
8958
8974
|
critical: `${u}--critical`
|
|
8959
|
-
},
|
|
8975
|
+
}, H = p > 0 ? m[0].type : null, v = H ? `${u}-group--${H}` : null, b = (M) => ({
|
|
8960
8976
|
zIndex: T2 - M
|
|
8961
8977
|
}), f = (M) => M === 0 ? 0 : -1, i = () => {
|
|
8962
8978
|
const M = document.getElementsByClassName(
|
|
@@ -8981,7 +8997,7 @@ const w4 = (u) => {
|
|
|
8981
8997
|
]), document.getElementById(m[0].id).classList.remove(`${u}--fading`);
|
|
8982
8998
|
}, 200);
|
|
8983
8999
|
}, $ = (M, z) => {
|
|
8984
|
-
const { id: w, isDismissible:
|
|
9000
|
+
const { id: w, isDismissible: L, message: k, onDismiss: N, type: I } = M, D = ["critical", "warning"].includes(I) ? "alert" : "status", S = `${r[I]}: `, T = (Z) => {
|
|
8985
9001
|
Z.preventDefault(), document.getElementById(w).classList.add(`${u}--dismissing`), setTimeout(() => {
|
|
8986
9002
|
if (N && M.onDismiss(), p === 1) {
|
|
8987
9003
|
h([]);
|
|
@@ -9011,7 +9027,7 @@ const w4 = (u) => {
|
|
|
9011
9027
|
className: `${u}__icon ${u}__icon--${M.type}`
|
|
9012
9028
|
}
|
|
9013
9029
|
), /* @__PURE__ */ e.createElement("div", { className: `${u}__message` }, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, S, " "), k)),
|
|
9014
|
-
|
|
9030
|
+
L && /* @__PURE__ */ e.createElement(
|
|
9015
9031
|
"button",
|
|
9016
9032
|
{
|
|
9017
9033
|
className: `${u}__dismiss-button`,
|
|
@@ -9025,7 +9041,7 @@ const w4 = (u) => {
|
|
|
9025
9041
|
};
|
|
9026
9042
|
return /* @__PURE__ */ e.createElement(
|
|
9027
9043
|
"div",
|
|
9028
|
-
|
|
9044
|
+
y({
|
|
9029
9045
|
className: V([
|
|
9030
9046
|
`${u}-group`,
|
|
9031
9047
|
v,
|
|
@@ -9034,7 +9050,7 @@ const w4 = (u) => {
|
|
|
9034
9050
|
])
|
|
9035
9051
|
}, l),
|
|
9036
9052
|
p > 1 ? /* @__PURE__ */ e.createElement("div", { className: `${u}__navigation` }, /* @__PURE__ */ e.createElement(
|
|
9037
|
-
|
|
9053
|
+
H2,
|
|
9038
9054
|
{
|
|
9039
9055
|
iconName: "angleLeft",
|
|
9040
9056
|
size: "lg",
|
|
@@ -9043,7 +9059,7 @@ const w4 = (u) => {
|
|
|
9043
9059
|
onClick: C
|
|
9044
9060
|
}
|
|
9045
9061
|
), /* @__PURE__ */ e.createElement(
|
|
9046
|
-
|
|
9062
|
+
H2,
|
|
9047
9063
|
{
|
|
9048
9064
|
iconName: "angleRight",
|
|
9049
9065
|
size: "lg",
|
|
@@ -9088,7 +9104,7 @@ const w4 = (u) => {
|
|
|
9088
9104
|
}, h = t ? `${o}--hasTitle` : null, u = ["critical", "warning"].includes(s) ? "alert" : "status", _ = `${a[s]}: `;
|
|
9089
9105
|
return /* @__PURE__ */ e.createElement(
|
|
9090
9106
|
"div",
|
|
9091
|
-
|
|
9107
|
+
y({
|
|
9092
9108
|
className: [o, m[s], h, r != null ? r : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
9093
9109
|
role: u
|
|
9094
9110
|
}, d),
|
|
@@ -9143,7 +9159,7 @@ const w4 = (u) => {
|
|
|
9143
9159
|
discovery: `${_}--discovery`,
|
|
9144
9160
|
dismissing: `${_}--dismissing`,
|
|
9145
9161
|
dismissed: `${_}--dismissed`
|
|
9146
|
-
},
|
|
9162
|
+
}, H = d ? `${_}--hasTitle` : null, b = ["critical", "warning"].includes(l) ? "alert" : "status", f = `${c[l]}: `, i = () => {
|
|
9147
9163
|
u.current.addEventListener("animationend", g, {
|
|
9148
9164
|
once: !0
|
|
9149
9165
|
});
|
|
@@ -9156,8 +9172,8 @@ const w4 = (u) => {
|
|
|
9156
9172
|
};
|
|
9157
9173
|
return /* @__PURE__ */ e.createElement(
|
|
9158
9174
|
"div",
|
|
9159
|
-
|
|
9160
|
-
className: [_, E[l],
|
|
9175
|
+
y({
|
|
9176
|
+
className: [_, E[l], H, o != null ? o : ""].join(" ").trim().replace(/\s+/g, " "),
|
|
9161
9177
|
id: n,
|
|
9162
9178
|
ref: u,
|
|
9163
9179
|
role: b
|
|
@@ -9250,11 +9266,11 @@ var Ut = /* @__PURE__ */ ((t) => (t.Critical = "critical", t.Warning = "warning"
|
|
|
9250
9266
|
const s3 = () => {
|
|
9251
9267
|
const t = (s, a, r = {}) => {
|
|
9252
9268
|
const d = /* @__PURE__ */ e.createElement(Gt, { type: s }, a);
|
|
9253
|
-
let l =
|
|
9254
|
-
return (s === "critical" || s === "warning") && (l = me(
|
|
9269
|
+
let l = y({}, r);
|
|
9270
|
+
return (s === "critical" || s === "warning") && (l = me(y({}, l), {
|
|
9255
9271
|
autoClose: !1,
|
|
9256
9272
|
role: "alert"
|
|
9257
|
-
})), s === "working" && (l = me(
|
|
9273
|
+
})), s === "working" && (l = me(y({}, l), {
|
|
9258
9274
|
autoClose: !1,
|
|
9259
9275
|
closeButton: !1,
|
|
9260
9276
|
closeOnClick: !1
|
|
@@ -9334,12 +9350,12 @@ const s3 = () => {
|
|
|
9334
9350
|
itemsPerPage: r
|
|
9335
9351
|
}), _ = u[u.length - 1], E = () => {
|
|
9336
9352
|
l(n + 1);
|
|
9337
|
-
},
|
|
9353
|
+
}, H = () => {
|
|
9338
9354
|
l(n - 1);
|
|
9339
9355
|
}, v = "pds-pagination", b = `${v}__item`, f = `${b}--current`, i = `${b}--disabled`;
|
|
9340
9356
|
return n === 0 || u.length < 2 ? null : /* @__PURE__ */ e.createElement(
|
|
9341
9357
|
"nav",
|
|
9342
|
-
|
|
9358
|
+
y({
|
|
9343
9359
|
"aria-labelledby": "pagination",
|
|
9344
9360
|
className: V([v, o != null ? o : ""])
|
|
9345
9361
|
}, m),
|
|
@@ -9367,7 +9383,7 @@ const s3 = () => {
|
|
|
9367
9383
|
{
|
|
9368
9384
|
"aria-disabled": n === 1 ? !0 : void 0,
|
|
9369
9385
|
"aria-label": d.previous,
|
|
9370
|
-
onClick: n === 1 ? void 0 :
|
|
9386
|
+
onClick: n === 1 ? void 0 : H,
|
|
9371
9387
|
type: "button"
|
|
9372
9388
|
},
|
|
9373
9389
|
/* @__PURE__ */ e.createElement(F, { iconName: "arrowLeft" })
|
|
@@ -9434,38 +9450,38 @@ const s3 = () => {
|
|
|
9434
9450
|
]);
|
|
9435
9451
|
const [o, m] = G(s), h = n || `expansion-panel-${a2()}`, p = "pds-expansion-panel", u = de(null), _ = de(null), E = de(null);
|
|
9436
9452
|
return oe(() => {
|
|
9437
|
-
const
|
|
9438
|
-
if (!
|
|
9453
|
+
const H = u.current, v = _.current, b = E.current;
|
|
9454
|
+
if (!H || !v || !b) return;
|
|
9439
9455
|
let f = null, i = !1, g = !1;
|
|
9440
|
-
const C = (
|
|
9441
|
-
|
|
9456
|
+
const C = (L) => {
|
|
9457
|
+
L.preventDefault(), H.style.overflow = "hidden", i || !H.open ? M() : (g || H.open) && $();
|
|
9442
9458
|
}, $ = () => {
|
|
9443
9459
|
i = !0, m(!1);
|
|
9444
|
-
const
|
|
9445
|
-
f && f.cancel(), f =
|
|
9446
|
-
{ height: [
|
|
9460
|
+
const L = `${H.offsetHeight}px`, k = `${v.offsetHeight}px`;
|
|
9461
|
+
f && f.cancel(), f = H.animate(
|
|
9462
|
+
{ height: [L, k] },
|
|
9447
9463
|
{
|
|
9448
9464
|
duration: Ke,
|
|
9449
9465
|
easing: Xe
|
|
9450
9466
|
}
|
|
9451
9467
|
), f.onfinish = () => w(!1), f.oncancel = () => i = !1;
|
|
9452
9468
|
}, M = () => {
|
|
9453
|
-
|
|
9469
|
+
H.style.height = `${H.offsetHeight}px`, H.open = !0, m(!0), requestAnimationFrame(() => z());
|
|
9454
9470
|
}, z = () => {
|
|
9455
9471
|
g = !0;
|
|
9456
|
-
const
|
|
9457
|
-
f && f.cancel(), f =
|
|
9458
|
-
{ height: [
|
|
9472
|
+
const L = `${H.offsetHeight}px`, k = `${v.offsetHeight + b.offsetHeight}px`;
|
|
9473
|
+
f && f.cancel(), f = H.animate(
|
|
9474
|
+
{ height: [L, k] },
|
|
9459
9475
|
{
|
|
9460
9476
|
duration: Ke,
|
|
9461
9477
|
easing: Xe
|
|
9462
9478
|
}
|
|
9463
9479
|
), f.onfinish = () => w(!0), f.oncancel = () => g = !1;
|
|
9464
|
-
}, w = (
|
|
9465
|
-
|
|
9480
|
+
}, w = (L) => {
|
|
9481
|
+
H.open = L, f = null, i = !1, g = !1, H.style.height = H.style.overflow = "";
|
|
9466
9482
|
};
|
|
9467
9483
|
return v.addEventListener("click", C), () => v.removeEventListener("click", C);
|
|
9468
|
-
}, []), /* @__PURE__ */ e.createElement("div",
|
|
9484
|
+
}, []), /* @__PURE__ */ e.createElement("div", y({ className: V([p, r]) }, d), /* @__PURE__ */ e.createElement(
|
|
9469
9485
|
"details",
|
|
9470
9486
|
{
|
|
9471
9487
|
key: h,
|
|
@@ -9495,7 +9511,7 @@ const s3 = () => {
|
|
|
9495
9511
|
const l = "pds-expansion-panel-group", c = `${l}--${n}`;
|
|
9496
9512
|
return /* @__PURE__ */ e.createElement(
|
|
9497
9513
|
"div",
|
|
9498
|
-
|
|
9514
|
+
y({
|
|
9499
9515
|
className: V([l, c, s])
|
|
9500
9516
|
}, a),
|
|
9501
9517
|
t
|
|
@@ -9519,7 +9535,7 @@ const s3 = () => {
|
|
|
9519
9535
|
const m = "pds-panel", h = n ? `${m}__status ${m}__status-${a}` : null, p = `${m}--${r}`, u = `${m}__content`, _ = s !== "standard" ? `${u}--pad-${s}` : null;
|
|
9520
9536
|
return /* @__PURE__ */ e.createElement(
|
|
9521
9537
|
"div",
|
|
9522
|
-
|
|
9538
|
+
y({
|
|
9523
9539
|
className: [m, p, d != null ? d : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
9524
9540
|
}, l),
|
|
9525
9541
|
n && a && /* @__PURE__ */ e.createElement("span", { className: h }),
|
|
@@ -9540,7 +9556,7 @@ const s3 = () => {
|
|
|
9540
9556
|
const c = "pds-panel-list", o = t !== "default" ? `${c}--${t}` : null, m = s ? null : `${c}--borderless`;
|
|
9541
9557
|
return /* @__PURE__ */ e.createElement(
|
|
9542
9558
|
"ul",
|
|
9543
|
-
|
|
9559
|
+
y({
|
|
9544
9560
|
className: V([
|
|
9545
9561
|
c,
|
|
9546
9562
|
o,
|
|
@@ -9553,9 +9569,9 @@ const s3 = () => {
|
|
|
9553
9569
|
}, i3 = (a) => {
|
|
9554
9570
|
var r = a, { children: t, className: n } = r, s = A(r, ["children", "className"]);
|
|
9555
9571
|
const d = "pds-panel-row", l = Fe(t), c = l["items-left"], o = l["items-right"];
|
|
9556
|
-
return /* @__PURE__ */ e.createElement("li",
|
|
9557
|
-
}, l2 = 8, u1 = 14, jt = 6, d3 = (
|
|
9558
|
-
var v =
|
|
9572
|
+
return /* @__PURE__ */ e.createElement("li", y({ className: V([d, n != null ? n : ""]) }, s), c && /* @__PURE__ */ e.createElement("div", { className: `${d}__items ${d}__items--left` }, c), o && /* @__PURE__ */ e.createElement("div", { className: `${d}__items ${d}__items--right` }, o));
|
|
9573
|
+
}, l2 = 8, u1 = 14, jt = 6, d3 = (H) => {
|
|
9574
|
+
var v = H, {
|
|
9559
9575
|
content: t,
|
|
9560
9576
|
closeButtonLabel: n = "Close",
|
|
9561
9577
|
customTrigger: s = !1,
|
|
@@ -9598,7 +9614,7 @@ const s3 = () => {
|
|
|
9598
9614
|
const i = typeof s, g = "pds-popover", C = V([
|
|
9599
9615
|
`${g}__trigger-custom`,
|
|
9600
9616
|
i === "string" ? `${g}__trigger-text` : ""
|
|
9601
|
-
]), $ = s ? r : 0, M = de(null), { refs: z, floatingStyles: w, context:
|
|
9617
|
+
]), $ = s ? r : 0, M = de(null), { refs: z, floatingStyles: w, context: L, middlewareData: k } = Ie({
|
|
9602
9618
|
placement: l,
|
|
9603
9619
|
open: b,
|
|
9604
9620
|
onOpenChange(X) {
|
|
@@ -9613,11 +9629,11 @@ const s3 = () => {
|
|
|
9613
9629
|
whileElementsMounted: Oe
|
|
9614
9630
|
}), N = () => {
|
|
9615
9631
|
f(!1), d && d();
|
|
9616
|
-
}, I = Ye(
|
|
9632
|
+
}, I = Ye(L), x = Se(L), D = Te(L), { getReferenceProps: S, getFloatingProps: T } = Ae([
|
|
9617
9633
|
I,
|
|
9618
9634
|
x,
|
|
9619
9635
|
D
|
|
9620
|
-
]), Z = (q = (j = k.arrow) == null ? void 0 : j.x) != null ? q : 0, U = (Q = (R = k.arrow) == null ? void 0 : R.y) != null ? Q : 0, K = Z + u1 / 2, ne = U + l2, { isMounted: Y } = Qe(
|
|
9636
|
+
]), Z = (q = (j = k.arrow) == null ? void 0 : j.x) != null ? q : 0, U = (Q = (R = k.arrow) == null ? void 0 : R.y) != null ? Q : 0, K = Z + u1 / 2, ne = U + l2, { isMounted: Y } = Qe(L, {
|
|
9621
9637
|
initial: {
|
|
9622
9638
|
transform: "scale(0)"
|
|
9623
9639
|
},
|
|
@@ -9630,9 +9646,9 @@ const s3 = () => {
|
|
|
9630
9646
|
}[X]
|
|
9631
9647
|
})
|
|
9632
9648
|
});
|
|
9633
|
-
return /* @__PURE__ */ e.createElement("div",
|
|
9649
|
+
return /* @__PURE__ */ e.createElement("div", y({ className: V([g, u]) }, E), /* @__PURE__ */ e.createElement(
|
|
9634
9650
|
"span",
|
|
9635
|
-
|
|
9651
|
+
y({
|
|
9636
9652
|
className: `${g}__trigger`,
|
|
9637
9653
|
ref: z.setReference,
|
|
9638
9654
|
role: "button",
|
|
@@ -9649,13 +9665,13 @@ const s3 = () => {
|
|
|
9649
9665
|
), Y && /* @__PURE__ */ e.createElement(v1, null, /* @__PURE__ */ e.createElement(
|
|
9650
9666
|
b1,
|
|
9651
9667
|
{
|
|
9652
|
-
context:
|
|
9668
|
+
context: L,
|
|
9653
9669
|
modal: a,
|
|
9654
9670
|
initialFocus: -1
|
|
9655
9671
|
},
|
|
9656
9672
|
/* @__PURE__ */ e.createElement(
|
|
9657
9673
|
"div",
|
|
9658
|
-
|
|
9674
|
+
y({
|
|
9659
9675
|
className: V([`${g}__container`, _]),
|
|
9660
9676
|
ref: z.setFloating,
|
|
9661
9677
|
style: w
|
|
@@ -9664,7 +9680,7 @@ const s3 = () => {
|
|
|
9664
9680
|
K1,
|
|
9665
9681
|
{
|
|
9666
9682
|
ref: M,
|
|
9667
|
-
context:
|
|
9683
|
+
context: L,
|
|
9668
9684
|
height: l2,
|
|
9669
9685
|
width: u1,
|
|
9670
9686
|
tipRadius: 0,
|
|
@@ -9717,7 +9733,7 @@ const s3 = () => {
|
|
|
9717
9733
|
"size",
|
|
9718
9734
|
"className"
|
|
9719
9735
|
]);
|
|
9720
|
-
const _ = n || a2(), E = "pds-progress-bar",
|
|
9736
|
+
const _ = n || a2(), E = "pds-progress-bar", H = l ? `${E}__label` : "visually-hidden", v = `${E}__track ${E}__track--${o}`, b = d > 100 ? 100 : d;
|
|
9721
9737
|
let f = "neutral";
|
|
9722
9738
|
t.forEach(($) => {
|
|
9723
9739
|
d >= $.percentage && (f = $.colorType);
|
|
@@ -9725,11 +9741,11 @@ const s3 = () => {
|
|
|
9725
9741
|
const i = /* @__PURE__ */ e.createElement("div", { className: `${E}__message` }, a), g = a && r === "above", C = a && r === "below";
|
|
9726
9742
|
return /* @__PURE__ */ e.createElement(
|
|
9727
9743
|
"div",
|
|
9728
|
-
|
|
9744
|
+
y({
|
|
9729
9745
|
className: [E, m].join(" ").trim().replace(/\s+/g, " "),
|
|
9730
9746
|
style: { "--bar-percentage": `${b}%` }
|
|
9731
9747
|
}, h),
|
|
9732
|
-
/* @__PURE__ */ e.createElement("div", { id: _, className:
|
|
9748
|
+
/* @__PURE__ */ e.createElement("div", { id: _, className: H }, s),
|
|
9733
9749
|
(g || c) && /* @__PURE__ */ e.createElement("div", { className: `${E}__details` }, g && i, c && /* @__PURE__ */ e.createElement(
|
|
9734
9750
|
"div",
|
|
9735
9751
|
{
|
|
@@ -9782,14 +9798,14 @@ const s3 = () => {
|
|
|
9782
9798
|
"size",
|
|
9783
9799
|
"className"
|
|
9784
9800
|
]);
|
|
9785
|
-
const p = t || a2(), u = "pds-progress-ring", _ = r ? `${u}__label` : "visually-hidden", E = `${u}__loading-text ${u}__loading-text--${l}`,
|
|
9786
|
-
let v =
|
|
9787
|
-
l === "sm" && (v =
|
|
9801
|
+
const p = t || a2(), u = "pds-progress-ring", _ = r ? `${u}__label` : "visually-hidden", E = `${u}__loading-text ${u}__loading-text--${l}`, H = ($) => $ * 16;
|
|
9802
|
+
let v = H(It), b = 7;
|
|
9803
|
+
l === "sm" && (v = H(xt), b = b / 1.25), l === "lg" && (v = H(St), b = b * 1.25);
|
|
9788
9804
|
const f = v / 2 - b / 2, i = 2 * Math.PI * f, g = i - i * a / 100;
|
|
9789
9805
|
let C;
|
|
9790
9806
|
return n ? C = n : d ? C = `${a}%` : C = "", /* @__PURE__ */ e.createElement(
|
|
9791
9807
|
"div",
|
|
9792
|
-
|
|
9808
|
+
y({
|
|
9793
9809
|
className: [u, c].join(" ").trim().replace(/\s+/g, " "),
|
|
9794
9810
|
style: {
|
|
9795
9811
|
"--ring-stroke-dashoffset": g,
|
|
@@ -9868,7 +9884,7 @@ const s3 = () => {
|
|
|
9868
9884
|
const o = "pds-pull-quote", m = `${o}--${s}`;
|
|
9869
9885
|
return /* @__PURE__ */ e.createElement(
|
|
9870
9886
|
"div",
|
|
9871
|
-
|
|
9887
|
+
y({
|
|
9872
9888
|
className: [o, m, r].join(" ").trim().replace(/\s+/g, " ")
|
|
9873
9889
|
}, d),
|
|
9874
9890
|
n && s === "stand-alone" && /* @__PURE__ */ e.createElement("div", { className: `${o}__image` }, /* @__PURE__ */ e.createElement("img", { src: n, alt: "" })),
|
|
@@ -9903,7 +9919,7 @@ const p3 = (o) => {
|
|
|
9903
9919
|
const [h, p] = G(
|
|
9904
9920
|
s != null ? s : "default"
|
|
9905
9921
|
/* DEFAULT */
|
|
9906
|
-
), u =
|
|
9922
|
+
), u = y({
|
|
9907
9923
|
checkForUpdates: "Check for updates",
|
|
9908
9924
|
checking: "Checking...",
|
|
9909
9925
|
checked: "Last checked",
|
|
@@ -9916,16 +9932,16 @@ const p3 = (o) => {
|
|
|
9916
9932
|
return u.checking;
|
|
9917
9933
|
case "checked":
|
|
9918
9934
|
if (r) {
|
|
9919
|
-
const C = r instanceof Date ? r : new Date(r), $ = Date.now() - C.getTime(), M = Math.floor($ / 1e3), z = Math.floor(M / 60), w = Math.floor(z / 60),
|
|
9935
|
+
const C = r instanceof Date ? r : new Date(r), $ = Date.now() - C.getTime(), M = Math.floor($ / 1e3), z = Math.floor(M / 60), w = Math.floor(z / 60), L = Math.floor(w / 24), k = {
|
|
9920
9936
|
year: "numeric",
|
|
9921
9937
|
month: "short",
|
|
9922
9938
|
day: "numeric"
|
|
9923
9939
|
};
|
|
9924
9940
|
let N = "";
|
|
9925
|
-
return
|
|
9941
|
+
return L > 7 ? N = C.toLocaleDateString(
|
|
9926
9942
|
void 0,
|
|
9927
9943
|
k
|
|
9928
|
-
) :
|
|
9944
|
+
) : L > 0 && L <= 7 ? N = `${L} day${L !== 1 ? "s" : ""} ago` : w > 0 ? N = `${w} hour${w !== 1 ? "s" : ""} ago` : z > 0 ? N = `${z} minute${z !== 1 ? "s" : ""} ago` : N = `${M} second${M !== 1 ? "s" : ""} ago`, `${u.checked} ${N}`;
|
|
9929
9945
|
}
|
|
9930
9946
|
return u.checked;
|
|
9931
9947
|
}
|
|
@@ -9947,21 +9963,21 @@ const p3 = (o) => {
|
|
|
9947
9963
|
);
|
|
9948
9964
|
}
|
|
9949
9965
|
}
|
|
9950
|
-
}),
|
|
9951
|
-
`${
|
|
9952
|
-
h === "working" ? `${
|
|
9953
|
-
]), f = n !== null && n > 0 ? `${n}rem` : "100%", i = /* @__PURE__ */ e.createElement("span", { className: `${
|
|
9966
|
+
}), H = "pds-refresh-checker", v = `${H}--${t}`, b = V([
|
|
9967
|
+
`${H}__button`,
|
|
9968
|
+
h === "working" ? `${H}__button--spinning` : ""
|
|
9969
|
+
]), f = n !== null && n > 0 ? `${n}rem` : "100%", i = /* @__PURE__ */ e.createElement("span", { className: `${H}__tooltip-icon` }, /* @__PURE__ */ e.createElement(
|
|
9954
9970
|
F,
|
|
9955
9971
|
{
|
|
9956
9972
|
iconName: "rotate",
|
|
9957
9973
|
iconSize: "md",
|
|
9958
|
-
className: `${
|
|
9974
|
+
className: `${H}__icon ${h === "working" ? `${H}__icon--spinning` : ""}`
|
|
9959
9975
|
}
|
|
9960
|
-
)), g = /* @__PURE__ */ e.createElement("span", { className: `${
|
|
9976
|
+
)), g = /* @__PURE__ */ e.createElement("span", { className: `${H}__label` }, _());
|
|
9961
9977
|
return /* @__PURE__ */ e.createElement(
|
|
9962
9978
|
"div",
|
|
9963
|
-
|
|
9964
|
-
className: V([
|
|
9979
|
+
y({
|
|
9980
|
+
className: V([H, v, l != null ? l : ""]),
|
|
9965
9981
|
style: { width: f }
|
|
9966
9982
|
}, c),
|
|
9967
9983
|
/* @__PURE__ */ e.createElement(
|
|
@@ -10001,7 +10017,7 @@ const p3 = (o) => {
|
|
|
10001
10017
|
const c = "pds-site-dashboard-heading", o = Rt[n], m = s ? S1[s] : "bolt";
|
|
10002
10018
|
return /* @__PURE__ */ e.createElement(
|
|
10003
10019
|
"div",
|
|
10004
|
-
|
|
10020
|
+
y({
|
|
10005
10021
|
className: V([
|
|
10006
10022
|
c,
|
|
10007
10023
|
"pds-typography--product",
|
|
@@ -10059,7 +10075,7 @@ const p3 = (o) => {
|
|
|
10059
10075
|
const d = "pds-social-links";
|
|
10060
10076
|
return /* @__PURE__ */ e.createElement(
|
|
10061
10077
|
"ul",
|
|
10062
|
-
|
|
10078
|
+
y({
|
|
10063
10079
|
className: [d, n].join(" ").trim().replace(/\s+/g, " ")
|
|
10064
10080
|
}, s),
|
|
10065
10081
|
t.map((l, c) => /* @__PURE__ */ e.createElement("li", { key: c, className: `${d}__item` }, /* @__PURE__ */ e.createElement(
|
|
@@ -10088,7 +10104,7 @@ const p3 = (o) => {
|
|
|
10088
10104
|
const c = "pds-status-indicator", o = `${c}--${s}`, m = `${c}--${n}`;
|
|
10089
10105
|
return /* @__PURE__ */ e.createElement(
|
|
10090
10106
|
"div",
|
|
10091
|
-
|
|
10107
|
+
y({
|
|
10092
10108
|
className: [c, o, m, a != null ? a : ""].join(" ").trim().replace(/\s+/g, " ")
|
|
10093
10109
|
}, r),
|
|
10094
10110
|
s === "working" ? /* @__PURE__ */ e.createElement(
|
|
@@ -10118,8 +10134,8 @@ const p3 = (o) => {
|
|
|
10118
10134
|
]);
|
|
10119
10135
|
const l = "pds-stepper", c = "pds-stepper-mobile", o = de(), [m] = N2(o), h = m.width, p = Number(
|
|
10120
10136
|
getComputedStyle(document.body).getPropertyValue("--pds-stepper-step-content-width").replace("rem", "")
|
|
10121
|
-
) * 16, u = -40, _ = 2, E = 5,
|
|
10122
|
-
const C = g + 1, $ = g === v, M = g < v, z = i.hasError && $,
|
|
10137
|
+
) * 16, u = -40, _ = 2, E = 5, H = t.length, v = t.map((i) => i.isCurrent).lastIndexOf(!0), b = t.map((i, g) => {
|
|
10138
|
+
const C = g + 1, $ = g === v, M = g < v, z = i.hasError && $, L = (h - H * p) / (H + (H - 2)), k = p + L * 2, N = p + L, I = L + u * -1, x = g === 0, D = g === H - 1;
|
|
10123
10139
|
let S = k;
|
|
10124
10140
|
(x || D) && (S = N);
|
|
10125
10141
|
const T = `${l}__step`, Z = [T];
|
|
@@ -10157,7 +10173,7 @@ const p3 = (o) => {
|
|
|
10157
10173
|
id: i.id,
|
|
10158
10174
|
"aria-label": U,
|
|
10159
10175
|
"aria-posinset": C,
|
|
10160
|
-
"aria-setsize":
|
|
10176
|
+
"aria-setsize": H,
|
|
10161
10177
|
"aria-current": $ ? "step" : null,
|
|
10162
10178
|
className: Z.join(" ").trim().replace(/\s+/g, " "),
|
|
10163
10179
|
style: { width: S }
|
|
@@ -10182,9 +10198,9 @@ const p3 = (o) => {
|
|
|
10182
10198
|
)
|
|
10183
10199
|
);
|
|
10184
10200
|
}), f = t.map((i, g) => {
|
|
10185
|
-
const C = g + 1, $ = g === v, M = g ===
|
|
10201
|
+
const C = g + 1, $ = g === v, M = g === H - 1, z = i.hasError && $, w = t[v + 1] ? t[v + 1].label : null;
|
|
10186
10202
|
if ($) {
|
|
10187
|
-
const
|
|
10203
|
+
const L = /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("span", { className: "visually-hidden" }, n.step, " "), C, " of ", H), k = C / H * 100, N = z ? {
|
|
10188
10204
|
"--pds-color-status-info-foreground": "var(--pds-color-status-critical-foreground)"
|
|
10189
10205
|
} : {
|
|
10190
10206
|
"--pds-color-status-info-foreground": "var(--pds-color-brand-primary-default)"
|
|
@@ -10202,7 +10218,7 @@ const p3 = (o) => {
|
|
|
10202
10218
|
label: "Step progress",
|
|
10203
10219
|
size: "sm",
|
|
10204
10220
|
percentage: k,
|
|
10205
|
-
innerLabel:
|
|
10221
|
+
innerLabel: L,
|
|
10206
10222
|
style: N
|
|
10207
10223
|
}
|
|
10208
10224
|
)),
|
|
@@ -10217,19 +10233,19 @@ const p3 = (o) => {
|
|
|
10217
10233
|
);
|
|
10218
10234
|
}
|
|
10219
10235
|
});
|
|
10220
|
-
if (
|
|
10236
|
+
if (H >= _ && H <= E)
|
|
10221
10237
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10222
10238
|
"div",
|
|
10223
|
-
|
|
10239
|
+
y({
|
|
10224
10240
|
className: [l, s].join(" ").trim().replace(/\s+/g, " "),
|
|
10225
|
-
"data-steps":
|
|
10241
|
+
"data-steps": H
|
|
10226
10242
|
}, a),
|
|
10227
10243
|
/* @__PURE__ */ e.createElement("ol", { className: `${l}__steps`, ref: o }, b)
|
|
10228
10244
|
), /* @__PURE__ */ e.createElement(
|
|
10229
10245
|
"div",
|
|
10230
|
-
|
|
10246
|
+
y({
|
|
10231
10247
|
className: [c, s].join(" ").trim().replace(/\s+/g, " "),
|
|
10232
|
-
"data-steps":
|
|
10248
|
+
"data-steps": H
|
|
10233
10249
|
}, a),
|
|
10234
10250
|
/* @__PURE__ */ e.createElement("div", { className: `${c}__steps` }, f)
|
|
10235
10251
|
));
|
|
@@ -10248,19 +10264,19 @@ const p3 = (o) => {
|
|
|
10248
10264
|
}, u = (v) => {
|
|
10249
10265
|
o(c.sort((b, f) => f[v].localeCompare(b[v]))), h({ order: "asc", key: v });
|
|
10250
10266
|
}, _ = (v, b) => {
|
|
10251
|
-
h(me(
|
|
10252
|
-
}, E = (v, b) => /* @__PURE__ */ e.createElement("tr", { id: b, key: `table-row-${b}` }, v.map((f, i) => /* @__PURE__ */ e.createElement("td", { key: `${b}-cell-${i}` }, /* @__PURE__ */ e.createElement("span", null, f)))),
|
|
10253
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("table",
|
|
10267
|
+
h(me(y({}, m), { key: b })), m.order === "asc" ? p(b) : u(b);
|
|
10268
|
+
}, E = (v, b) => /* @__PURE__ */ e.createElement("tr", { id: b, key: `table-row-${b}` }, v.map((f, i) => /* @__PURE__ */ e.createElement("td", { key: `${b}-cell-${i}` }, /* @__PURE__ */ e.createElement("span", null, f)))), H = "pds-table";
|
|
10269
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("table", y({ className: V([H, s]) }, a), /* @__PURE__ */ e.createElement("thead", null, /* @__PURE__ */ e.createElement("tr", null, l.map((v, b) => /* @__PURE__ */ e.createElement("th", { key: `header-${b}` }, v.sortable ? /* @__PURE__ */ e.createElement("div", { className: `${H}__sort-wrapper` }, /* @__PURE__ */ e.createElement(
|
|
10254
10270
|
"span",
|
|
10255
10271
|
{
|
|
10256
|
-
className: `${
|
|
10272
|
+
className: `${H}__sort-header`,
|
|
10257
10273
|
onClick: (f) => _(f, b)
|
|
10258
10274
|
},
|
|
10259
10275
|
v.title
|
|
10260
10276
|
), /* @__PURE__ */ e.createElement(
|
|
10261
10277
|
"button",
|
|
10262
10278
|
{
|
|
10263
|
-
className: `${
|
|
10279
|
+
className: `${H}__sort-button`,
|
|
10264
10280
|
title: `Sort by ${v.title}`,
|
|
10265
10281
|
onClick: (f) => _(f, b),
|
|
10266
10282
|
type: "button"
|
|
@@ -10268,14 +10284,14 @@ const p3 = (o) => {
|
|
|
10268
10284
|
/* @__PURE__ */ e.createElement(
|
|
10269
10285
|
"span",
|
|
10270
10286
|
{
|
|
10271
|
-
className: `${
|
|
10287
|
+
className: `${H}__sort-button-top ${b != Number(m.key) && m.key !== "" ? "pds-table__sort-innactive" : Number(m.key) == b ? m.order : "asc"}`
|
|
10272
10288
|
},
|
|
10273
10289
|
/* @__PURE__ */ e.createElement(F, { iconName: "caretUp", iconSize: "sm" })
|
|
10274
10290
|
),
|
|
10275
10291
|
/* @__PURE__ */ e.createElement(
|
|
10276
10292
|
"span",
|
|
10277
10293
|
{
|
|
10278
|
-
className: `${
|
|
10294
|
+
className: `${H}__sort-button-bottom ${Number(m.key) == b ? m.order : "asc"}`
|
|
10279
10295
|
},
|
|
10280
10296
|
/* @__PURE__ */ e.createElement(F, { iconName: "caretDown", iconSize: "sm" })
|
|
10281
10297
|
)
|
|
@@ -10321,25 +10337,25 @@ const p3 = (o) => {
|
|
|
10321
10337
|
], _ = `#${l} h2:not(.${r}), h3:not(.${r})`, E = () => {
|
|
10322
10338
|
const [z, w] = G([]);
|
|
10323
10339
|
return oe(() => {
|
|
10324
|
-
const
|
|
10340
|
+
const L = Array.from(
|
|
10325
10341
|
document.querySelectorAll(_)
|
|
10326
10342
|
);
|
|
10327
|
-
|
|
10343
|
+
L.map((N) => {
|
|
10328
10344
|
u.forEach((I) => {
|
|
10329
10345
|
N.id.includes(I) && (N.id = N.id.replaceAll(I, "-"));
|
|
10330
10346
|
});
|
|
10331
|
-
}),
|
|
10347
|
+
}), L.map((N) => {
|
|
10332
10348
|
const I = `item-${a2()}`;
|
|
10333
10349
|
N.id || (N.id = I);
|
|
10334
10350
|
});
|
|
10335
|
-
const k = L
|
|
10351
|
+
const k = H(L);
|
|
10336
10352
|
w(k);
|
|
10337
10353
|
}, []), { nestedHeadings: z };
|
|
10338
|
-
},
|
|
10354
|
+
}, H = (z) => {
|
|
10339
10355
|
const w = [];
|
|
10340
|
-
return z.forEach((
|
|
10341
|
-
const { innerText: k, id: N } =
|
|
10342
|
-
|
|
10356
|
+
return z.forEach((L) => {
|
|
10357
|
+
const { innerText: k, id: N } = L;
|
|
10358
|
+
L.nodeName === "H2" ? w.push({ id: N, title: k, items: [] }) : L.nodeName === "H3" && w.length > 0 && w[w.length - 1].items.push({
|
|
10343
10359
|
id: N,
|
|
10344
10360
|
title: k
|
|
10345
10361
|
});
|
|
@@ -10348,7 +10364,7 @@ const p3 = (o) => {
|
|
|
10348
10364
|
((z) => {
|
|
10349
10365
|
const w = de({});
|
|
10350
10366
|
oe(() => {
|
|
10351
|
-
const
|
|
10367
|
+
const L = (I) => {
|
|
10352
10368
|
w.current = I.reduce((S, T) => (S[T.target.id] = T, S), w.current);
|
|
10353
10369
|
const x = [];
|
|
10354
10370
|
Object.keys(w.current).forEach((S) => {
|
|
@@ -10364,7 +10380,7 @@ const p3 = (o) => {
|
|
|
10364
10380
|
);
|
|
10365
10381
|
z(S[0].target.id);
|
|
10366
10382
|
}
|
|
10367
|
-
}, k = new IntersectionObserver(
|
|
10383
|
+
}, k = new IntersectionObserver(L, {
|
|
10368
10384
|
rootMargin: "0px 0px -20% 0px"
|
|
10369
10385
|
}), N = Array.from(
|
|
10370
10386
|
document.querySelectorAll(_)
|
|
@@ -10386,8 +10402,8 @@ const p3 = (o) => {
|
|
|
10386
10402
|
{
|
|
10387
10403
|
className: w.id === b ? `${p}__link ${p}__link--active` : `${p}__link`,
|
|
10388
10404
|
href: `#${w.id}`,
|
|
10389
|
-
onClick: (
|
|
10390
|
-
$(
|
|
10405
|
+
onClick: (L) => {
|
|
10406
|
+
$(L, w.id);
|
|
10391
10407
|
}
|
|
10392
10408
|
},
|
|
10393
10409
|
w.title
|
|
@@ -10396,21 +10412,21 @@ const p3 = (o) => {
|
|
|
10396
10412
|
{
|
|
10397
10413
|
className: `${p}__list ${p}__list--second-level`
|
|
10398
10414
|
},
|
|
10399
|
-
w.items.map((
|
|
10415
|
+
w.items.map((L) => /* @__PURE__ */ e.createElement("li", { key: L.id, className: `${p}__list-item` }, /* @__PURE__ */ e.createElement(
|
|
10400
10416
|
"a",
|
|
10401
10417
|
{
|
|
10402
|
-
className:
|
|
10403
|
-
href: `#${
|
|
10418
|
+
className: L.id === b ? `${p}__link ${p}__link--active` : `${p}__link`,
|
|
10419
|
+
href: `#${L.id}`,
|
|
10404
10420
|
onClick: (k) => {
|
|
10405
|
-
$(k,
|
|
10421
|
+
$(k, L.id);
|
|
10406
10422
|
}
|
|
10407
10423
|
},
|
|
10408
|
-
|
|
10424
|
+
L.title
|
|
10409
10425
|
)))
|
|
10410
10426
|
))));
|
|
10411
10427
|
return /* @__PURE__ */ e.createElement(
|
|
10412
10428
|
"nav",
|
|
10413
|
-
|
|
10429
|
+
y({
|
|
10414
10430
|
"aria-label": n,
|
|
10415
10431
|
className: V([p, c])
|
|
10416
10432
|
}, o),
|
|
@@ -10469,7 +10485,7 @@ const p3 = (o) => {
|
|
|
10469
10485
|
const f = h;
|
|
10470
10486
|
let i = _.current[b === "next" ? f + 1 < _.current.length ? f + 1 : 0 : f - 1 >= 0 ? f - 1 : _.current.length - 1];
|
|
10471
10487
|
i || (i = b == "next" ? _.current[v + 1] == null ? _.current[0] : _.current[v + 1] : _.current[v - 1]), i.focus();
|
|
10472
|
-
},
|
|
10488
|
+
}, H = (v) => {
|
|
10473
10489
|
const b = _.current.length, f = () => {
|
|
10474
10490
|
E((h + 1) % b, "next"), p(h + 1);
|
|
10475
10491
|
}, i = () => {
|
|
@@ -10490,7 +10506,7 @@ const p3 = (o) => {
|
|
|
10490
10506
|
}[v.code];
|
|
10491
10507
|
z && (v.preventDefault(), z());
|
|
10492
10508
|
};
|
|
10493
|
-
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div",
|
|
10509
|
+
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement("div", y({ className: V([m, d]) }, l), /* @__PURE__ */ e.createElement(
|
|
10494
10510
|
"div",
|
|
10495
10511
|
{
|
|
10496
10512
|
className: `${m}__tablist`,
|
|
@@ -10507,7 +10523,7 @@ const p3 = (o) => {
|
|
|
10507
10523
|
role: "tab",
|
|
10508
10524
|
id: f,
|
|
10509
10525
|
onKeyDown: ($) => {
|
|
10510
|
-
$.preventDefault(),
|
|
10526
|
+
$.preventDefault(), H($);
|
|
10511
10527
|
},
|
|
10512
10528
|
key: C,
|
|
10513
10529
|
ref: ($) => v ? null : _.current[C] = $,
|
|
@@ -10536,7 +10552,7 @@ const p3 = (o) => {
|
|
|
10536
10552
|
role: "tab",
|
|
10537
10553
|
"data-tabnumber": C,
|
|
10538
10554
|
key: C,
|
|
10539
|
-
onKeyDown:
|
|
10555
|
+
onKeyDown: H,
|
|
10540
10556
|
"aria-disabled": !!v,
|
|
10541
10557
|
"aria-controls": `tabpanel_${C}`,
|
|
10542
10558
|
tabIndex: h === C ? 1 : -1,
|
|
@@ -10569,8 +10585,7 @@ const p3 = (o) => {
|
|
|
10569
10585
|
f
|
|
10570
10586
|
)
|
|
10571
10587
|
))));
|
|
10572
|
-
}
|
|
10573
|
-
let h1 = [
|
|
10588
|
+
}, h1 = [
|
|
10574
10589
|
"color-1",
|
|
10575
10590
|
"color-2",
|
|
10576
10591
|
"color-3",
|
|
@@ -10591,8 +10606,7 @@ let h1 = [
|
|
|
10591
10606
|
"color-18",
|
|
10592
10607
|
"color-19",
|
|
10593
10608
|
"color-20"
|
|
10594
|
-
]
|
|
10595
|
-
const Yt = (t) => {
|
|
10609
|
+
], Yt = (t) => {
|
|
10596
10610
|
const n = parseInt(E1(t), 16);
|
|
10597
10611
|
return h1[n % h1.length];
|
|
10598
10612
|
}, Qt = (t, n) => t.length > n ? t.slice(0, n) + " ..." : t, b3 = (o) => {
|
|
@@ -10613,13 +10627,13 @@ const Yt = (t) => {
|
|
|
10613
10627
|
"tagLabel",
|
|
10614
10628
|
"className"
|
|
10615
10629
|
]);
|
|
10616
|
-
const [h, p] = G(!0), u = "pds-tag", _ = r ? `${u}--${r}` : `${u}--${Yt(d)}`, E = h ? null : "pds-tag--hide",
|
|
10630
|
+
const [h, p] = G(!0), u = "pds-tag", _ = r ? `${u}--${r}` : `${u}--${Yt(d)}`, E = h ? null : "pds-tag--hide", H = () => {
|
|
10617
10631
|
p((i) => !i);
|
|
10618
10632
|
};
|
|
10619
10633
|
let v, b, f;
|
|
10620
10634
|
return t && !n && we(t) ? (v = t.type, b = t.props.href ? "href" : "to", f = b === "href" ? t.props.href : t.props.to) : (v = "span", b = null, f = null), /* @__PURE__ */ e.createElement(
|
|
10621
10635
|
v,
|
|
10622
|
-
|
|
10636
|
+
y({
|
|
10623
10637
|
href: b === "href" ? f : null,
|
|
10624
10638
|
to: b === "to" ? f : null,
|
|
10625
10639
|
className: [u, _, E, l].join(" ").trim().replace(/\s+/g, " ")
|
|
@@ -10632,7 +10646,7 @@ const Yt = (t) => {
|
|
|
10632
10646
|
className: `${u}__remove`,
|
|
10633
10647
|
"aria-label": `${a}: ${d}`,
|
|
10634
10648
|
onClick: () => {
|
|
10635
|
-
|
|
10649
|
+
H(), s();
|
|
10636
10650
|
}
|
|
10637
10651
|
},
|
|
10638
10652
|
/* @__PURE__ */ e.createElement(
|
|
@@ -10660,12 +10674,12 @@ const Yt = (t) => {
|
|
|
10660
10674
|
title: _,
|
|
10661
10675
|
org: E
|
|
10662
10676
|
}) => /* @__PURE__ */ e.createElement(e.Fragment, null, h && /* @__PURE__ */ e.createElement("div", { className: `${l}__image ${l}__image--avatar` }, /* @__PURE__ */ e.createElement("img", { src: h, alt: p })), u && /* @__PURE__ */ e.createElement("div", { className: `${l}__name` }, u), _ && /* @__PURE__ */ e.createElement("div", { className: `${l}__title` }, _), E && /* @__PURE__ */ e.createElement("div", { className: `${l}__org` }, E)), o = (h) => we(h.linkContent) ? xe(h.linkContent, {
|
|
10663
|
-
children: /* @__PURE__ */ e.createElement(c,
|
|
10677
|
+
children: /* @__PURE__ */ e.createElement(c, y({}, h)),
|
|
10664
10678
|
className: `${l}__item`
|
|
10665
|
-
}) : /* @__PURE__ */ e.createElement("span", { className: `${l}__item` }, /* @__PURE__ */ e.createElement(c,
|
|
10679
|
+
}) : /* @__PURE__ */ e.createElement("span", { className: `${l}__item` }, /* @__PURE__ */ e.createElement(c, y({}, h))), m = () => t.map((h, p) => /* @__PURE__ */ e.createElement(G1, { key: `tile-${p}` }, o(h), /* @__PURE__ */ e.createElement("div", { className: "pds-tile__separator" })));
|
|
10666
10680
|
return /* @__PURE__ */ e.createElement(
|
|
10667
10681
|
"div",
|
|
10668
|
-
|
|
10682
|
+
y({
|
|
10669
10683
|
className: V([
|
|
10670
10684
|
d,
|
|
10671
10685
|
`${l}--avatar`,
|
|
@@ -10696,7 +10710,7 @@ const Yt = (t) => {
|
|
|
10696
10710
|
const h = "pds-tile", p = `${h}--${t}`;
|
|
10697
10711
|
return /* @__PURE__ */ e.createElement(e.Fragment, null, /* @__PURE__ */ e.createElement(
|
|
10698
10712
|
"div",
|
|
10699
|
-
|
|
10713
|
+
y({
|
|
10700
10714
|
className: V([h, p, l != null ? l : ""])
|
|
10701
10715
|
}, c),
|
|
10702
10716
|
a && /* @__PURE__ */ e.createElement("div", { className: `${h}__image` }, /* @__PURE__ */ e.createElement("img", { src: a, alt: "" })),
|
|
@@ -10711,7 +10725,7 @@ const Yt = (t) => {
|
|
|
10711
10725
|
),
|
|
10712
10726
|
d && /* @__PURE__ */ e.createElement("div", { className: `${h}__summary` }, /* @__PURE__ */ e.createElement("p", null, d)),
|
|
10713
10727
|
r && (t == "border" || t == "clean") && /* @__PURE__ */ e.createElement(
|
|
10714
|
-
|
|
10728
|
+
Lt,
|
|
10715
10729
|
{
|
|
10716
10730
|
linkContent: r,
|
|
10717
10731
|
size: "sm",
|
|
@@ -10734,7 +10748,7 @@ const Yt = (t) => {
|
|
|
10734
10748
|
const c = "pds-tile-grid", o = `${c}--${t}`;
|
|
10735
10749
|
return /* @__PURE__ */ e.createElement(
|
|
10736
10750
|
"div",
|
|
10737
|
-
|
|
10751
|
+
y({
|
|
10738
10752
|
className: V([c, o, a != null ? a : ""])
|
|
10739
10753
|
}, r),
|
|
10740
10754
|
s.map((m, h) => /* @__PURE__ */ e.createElement(
|
|
@@ -10751,7 +10765,7 @@ const Yt = (t) => {
|
|
|
10751
10765
|
}
|
|
10752
10766
|
))
|
|
10753
10767
|
);
|
|
10754
|
-
},
|
|
10768
|
+
}, L3 = (a) => {
|
|
10755
10769
|
var r = a, {
|
|
10756
10770
|
children: t,
|
|
10757
10771
|
className: n
|
|
@@ -10759,16 +10773,16 @@ const Yt = (t) => {
|
|
|
10759
10773
|
"children",
|
|
10760
10774
|
"className"
|
|
10761
10775
|
]);
|
|
10762
|
-
const { isMobile: d } = _e(
|
|
10776
|
+
const { isMobile: d } = _e(Le), l = "pds-dashboard-inner", c = d ? `${l}--isMobile` : `${l}--notMobile`, o = Fe(t), m = o["header-left"], h = o["header-right"], p = o.content;
|
|
10763
10777
|
return /* @__PURE__ */ e.createElement(
|
|
10764
10778
|
"div",
|
|
10765
|
-
|
|
10779
|
+
y({
|
|
10766
10780
|
className: V([l, c, n != null ? n : ""])
|
|
10767
10781
|
}, s),
|
|
10768
10782
|
(m || h) && /* @__PURE__ */ e.createElement("div", { className: `${l}__header` }, (m || h) && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-top` }, m && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-left` }, m), h && /* @__PURE__ */ e.createElement("div", { className: `${l}__header-right` }, h))),
|
|
10769
10783
|
p && p
|
|
10770
10784
|
);
|
|
10771
|
-
},
|
|
10785
|
+
}, H3 = (a) => {
|
|
10772
10786
|
var r = a, {
|
|
10773
10787
|
children: t,
|
|
10774
10788
|
className: n
|
|
@@ -10777,18 +10791,18 @@ const Yt = (t) => {
|
|
|
10777
10791
|
"className"
|
|
10778
10792
|
]);
|
|
10779
10793
|
let d = !1;
|
|
10780
|
-
const l = _e(
|
|
10794
|
+
const l = _e(Le);
|
|
10781
10795
|
l && (d = l.isMobile);
|
|
10782
10796
|
const c = "pds-docs-layout", o = d ? `${c}--isMobile` : null, m = Fe(t), h = m.navigation ? /* @__PURE__ */ e.createElement("div", { key: "navigation", className: `${c}__nav` }, m.navigation) : null, p = /* @__PURE__ */ e.createElement("div", { key: "content", className: `${c}__content` }, m.content);
|
|
10783
10797
|
return /* @__PURE__ */ e.createElement(
|
|
10784
10798
|
"div",
|
|
10785
|
-
|
|
10799
|
+
y({
|
|
10786
10800
|
className: V([c, o, n != null ? n : ""])
|
|
10787
10801
|
}, s),
|
|
10788
10802
|
[h, p]
|
|
10789
10803
|
);
|
|
10790
|
-
},
|
|
10791
|
-
var v =
|
|
10804
|
+
}, y3 = (H) => {
|
|
10805
|
+
var v = H, {
|
|
10792
10806
|
alignContent: t = "flex-start",
|
|
10793
10807
|
alignItems: n = "stretch",
|
|
10794
10808
|
flexDirection: s = "row",
|
|
@@ -10820,7 +10834,7 @@ const Yt = (t) => {
|
|
|
10820
10834
|
"className"
|
|
10821
10835
|
]);
|
|
10822
10836
|
let f = k1() <= 640;
|
|
10823
|
-
const i = _e(
|
|
10837
|
+
const i = _e(Le);
|
|
10824
10838
|
i && (f = i.isMobile);
|
|
10825
10839
|
const g = "pds-flex", C = `${g}-container`, $ = f ? `${C}--mobile` : null;
|
|
10826
10840
|
let M = null;
|
|
@@ -10829,21 +10843,21 @@ const Yt = (t) => {
|
|
|
10829
10843
|
f ? m ? m !== "nowrap" && (z = `${g}-wrap--${m}`) : a !== "nowrap" && (z = `${g}-wrap--${a}`) : a !== "nowrap" && (z = `${g}-wrap--${a}`);
|
|
10830
10844
|
let w = null;
|
|
10831
10845
|
f ? p ? p !== "flex-start" && (w = `${g}-justify--${p}`) : d !== "flex-start" && (w = `${g}-justify--${d}`) : d !== "flex-start" && (w = `${g}-justify--${d}`);
|
|
10832
|
-
let
|
|
10833
|
-
f ? l ? l !== "stretch" && (
|
|
10846
|
+
let L = null;
|
|
10847
|
+
f ? l ? l !== "stretch" && (L = `${g}-align-items--${l}`) : n !== "stretch" && (L = `${g}-align-items--${n}`) : n !== "stretch" && (L = `${g}-align-items--${n}`);
|
|
10834
10848
|
let k = null;
|
|
10835
10849
|
f ? c ? c !== "flex-start" && (k = `${g}-align-content--${c}`) : t !== "flex-start" && (k = `${g}-align-content--${t}`) : t !== "flex-start" && (k = `${g}-align-content--${t}`);
|
|
10836
10850
|
let N = null;
|
|
10837
10851
|
return f ? h ? h !== "none" && (N = `${g}-gap--${h}`) : r !== "none" && (N = `${g}-gap--${r}`) : r !== "none" && (N = `${g}-gap--${r}`), /* @__PURE__ */ e.createElement(
|
|
10838
10852
|
"div",
|
|
10839
|
-
|
|
10853
|
+
y({
|
|
10840
10854
|
className: V([
|
|
10841
10855
|
C,
|
|
10842
10856
|
$,
|
|
10843
10857
|
M,
|
|
10844
10858
|
z,
|
|
10845
10859
|
w,
|
|
10846
|
-
|
|
10860
|
+
L,
|
|
10847
10861
|
k,
|
|
10848
10862
|
N,
|
|
10849
10863
|
_ != null ? _ : ""
|
|
@@ -10872,16 +10886,16 @@ const Yt = (t) => {
|
|
|
10872
10886
|
]);
|
|
10873
10887
|
const m = "pds-sidebar-layout", h = `pds-grid pds-grid--${n}`, p = `${m}--${r}`;
|
|
10874
10888
|
let u = !1;
|
|
10875
|
-
const _ = _e(
|
|
10889
|
+
const _ = _e(Le);
|
|
10876
10890
|
_ && (u = _.isMobile);
|
|
10877
10891
|
const E = Fe(t);
|
|
10878
|
-
let
|
|
10879
|
-
r === "narrow" && (
|
|
10892
|
+
let H = "pds-grid-item pds-grid-item--md-8 pds-grid-item--lg-9 pds-grid-item--xl-10", v = "pds-grid-item pds-grid-item--md-4 pds-grid-item--lg-3 pds-grid-item--xl-2";
|
|
10893
|
+
r === "narrow" && (H = "pds-grid-item pds-grid-item--md-9 pds-grid-item--lg-10", v = "pds-grid-item pds-grid-item--md-3 pds-grid-item--lg-2"), r === "wide" && (H = "pds-grid-item pds-grid-item--md-7 pds-grid-item--lg-8", v = "pds-grid-item pds-grid-item--md-5 pds-grid-item--lg-4");
|
|
10880
10894
|
const b = /* @__PURE__ */ e.createElement(
|
|
10881
10895
|
"div",
|
|
10882
10896
|
{
|
|
10883
10897
|
key: "content",
|
|
10884
|
-
className: `${m}__main ${u ? "pds-grid-item" :
|
|
10898
|
+
className: `${m}__main ${u ? "pds-grid-item" : H}`
|
|
10885
10899
|
},
|
|
10886
10900
|
E.content
|
|
10887
10901
|
), f = /* @__PURE__ */ e.createElement(
|
|
@@ -10894,7 +10908,7 @@ const Yt = (t) => {
|
|
|
10894
10908
|
);
|
|
10895
10909
|
return /* @__PURE__ */ e.createElement(
|
|
10896
10910
|
"div",
|
|
10897
|
-
|
|
10911
|
+
y({
|
|
10898
10912
|
className: V([
|
|
10899
10913
|
m,
|
|
10900
10914
|
h,
|
|
@@ -10918,7 +10932,7 @@ const Yt = (t) => {
|
|
|
10918
10932
|
h + "px"
|
|
10919
10933
|
);
|
|
10920
10934
|
const p = "pds-stepper-layout";
|
|
10921
|
-
return /* @__PURE__ */ e.createElement(p2,
|
|
10935
|
+
return /* @__PURE__ */ e.createElement(p2, y({ className: V([p, n]) }, s), l && /* @__PURE__ */ e.createElement(
|
|
10922
10936
|
"div",
|
|
10923
10937
|
{
|
|
10924
10938
|
className: `${p}__stepper-container`,
|
|
@@ -10945,7 +10959,7 @@ const Yt = (t) => {
|
|
|
10945
10959
|
];
|
|
10946
10960
|
return /* @__PURE__ */ e.createElement(
|
|
10947
10961
|
"div",
|
|
10948
|
-
|
|
10962
|
+
y({
|
|
10949
10963
|
className: V([
|
|
10950
10964
|
c,
|
|
10951
10965
|
o,
|
|
@@ -10977,21 +10991,21 @@ const Yt = (t) => {
|
|
|
10977
10991
|
"className"
|
|
10978
10992
|
]);
|
|
10979
10993
|
const o = "pds-two-item-layout", m = n === "standard" ? "pds-grid" : `pds-grid pds-grid--${n}`, h = `${o}--${a}`, p = ["pds-grid-item--md-6"], u = ["pds-grid-item--md-4", "pds-grid-item--lg-3"], _ = ["pds-grid-item--md-8", "pds-grid-item--lg-9"], E = ["pds-grid-item", "pds-grid-item--sm-4"];
|
|
10980
|
-
let
|
|
10994
|
+
let H, v;
|
|
10981
10995
|
switch (s) {
|
|
10982
10996
|
case "equal":
|
|
10983
|
-
|
|
10997
|
+
H = E.concat(p), v = E.concat(p);
|
|
10984
10998
|
break;
|
|
10985
10999
|
case "one-third-start":
|
|
10986
|
-
|
|
11000
|
+
H = E.concat(u), v = E.concat(_);
|
|
10987
11001
|
break;
|
|
10988
11002
|
case "one-third-end":
|
|
10989
|
-
|
|
11003
|
+
H = E.concat(_), v = E.concat(u);
|
|
10990
11004
|
}
|
|
10991
11005
|
const b = Fe(t), f = b["first-item"], i = b["second-item"];
|
|
10992
11006
|
return /* @__PURE__ */ e.createElement(
|
|
10993
11007
|
"div",
|
|
10994
|
-
|
|
11008
|
+
y({
|
|
10995
11009
|
className: V([
|
|
10996
11010
|
o,
|
|
10997
11011
|
m,
|
|
@@ -10999,7 +11013,7 @@ const Yt = (t) => {
|
|
|
10999
11013
|
r
|
|
11000
11014
|
])
|
|
11001
11015
|
}, d),
|
|
11002
|
-
/* @__PURE__ */ e.createElement("div", { className:
|
|
11016
|
+
/* @__PURE__ */ e.createElement("div", { className: H.join(" ").trim() }, f),
|
|
11003
11017
|
/* @__PURE__ */ e.createElement("div", { className: v.join(" ").trim() }, i)
|
|
11004
11018
|
);
|
|
11005
11019
|
}, x3 = (t, n) => {
|
|
@@ -11025,15 +11039,15 @@ export {
|
|
|
11025
11039
|
p4 as BranchDiff,
|
|
11026
11040
|
F4 as Breadcrumb,
|
|
11027
11041
|
g2 as Button,
|
|
11028
|
-
|
|
11042
|
+
L2 as ButtonLink,
|
|
11029
11043
|
P4 as ButtonNav,
|
|
11030
|
-
|
|
11031
|
-
|
|
11044
|
+
Lt as CTALink,
|
|
11045
|
+
L4 as CTASlice,
|
|
11032
11046
|
g4 as Callout,
|
|
11033
11047
|
x2 as Card,
|
|
11034
11048
|
z1 as CardHeading,
|
|
11035
11049
|
C4 as CardSelectGroup,
|
|
11036
|
-
|
|
11050
|
+
yt as Checkbox,
|
|
11037
11051
|
N4 as CheckboxFieldset,
|
|
11038
11052
|
V4 as CheckboxGroup,
|
|
11039
11053
|
ot as ClipboardButton,
|
|
@@ -11045,23 +11059,23 @@ export {
|
|
|
11045
11059
|
p2 as Container,
|
|
11046
11060
|
I2 as DashboardContext,
|
|
11047
11061
|
B4 as DashboardGlobal,
|
|
11048
|
-
|
|
11062
|
+
L3 as DashboardInner,
|
|
11049
11063
|
Z4 as DashboardNav,
|
|
11050
11064
|
G4 as DashboardSearch,
|
|
11051
|
-
|
|
11052
|
-
|
|
11065
|
+
H4 as DashboardStat,
|
|
11066
|
+
H3 as DocsLayout,
|
|
11053
11067
|
n1 as DropdownMenu,
|
|
11054
11068
|
a3 as ExpansionPanel,
|
|
11055
11069
|
c3 as ExpansionPanelGroup,
|
|
11056
|
-
|
|
11070
|
+
y4 as FileDiff,
|
|
11057
11071
|
I4 as FileUpload,
|
|
11058
|
-
|
|
11072
|
+
y3 as FlexContainer,
|
|
11059
11073
|
M4 as FlowSteps,
|
|
11060
|
-
|
|
11074
|
+
Ht as FooterHeading,
|
|
11061
11075
|
k4 as FooterLinks,
|
|
11062
11076
|
M3 as GlobalWrapper,
|
|
11063
11077
|
F as Icon,
|
|
11064
|
-
|
|
11078
|
+
H2 as IconButton,
|
|
11065
11079
|
f2 as IndicatorBadge,
|
|
11066
11080
|
e3 as InlineMessage,
|
|
11067
11081
|
S4 as InputGroup,
|
|
@@ -11088,7 +11102,7 @@ export {
|
|
|
11088
11102
|
T4 as RadioGroup,
|
|
11089
11103
|
p3 as RefreshChecker,
|
|
11090
11104
|
Xt as RefreshCheckerState,
|
|
11091
|
-
|
|
11105
|
+
Le as ResponsiveContext,
|
|
11092
11106
|
t3 as SectionMessage,
|
|
11093
11107
|
h4 as SegmentedButton,
|
|
11094
11108
|
Et as Select,
|