@devtron-labs/devtron-fe-common-lib 1.23.3-alpha-1 → 1.23.3-alpha-2
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.
|
@@ -1615,7 +1615,7 @@ const iR = {
|
|
|
1615
1615
|
ariaLabel: "Close toast",
|
|
1616
1616
|
size: j.xs,
|
|
1617
1617
|
variant: W.borderLess,
|
|
1618
|
-
style:
|
|
1618
|
+
style: te.neutral,
|
|
1619
1619
|
showAriaLabelInTippy: !1
|
|
1620
1620
|
}
|
|
1621
1621
|
) })
|
|
@@ -1665,7 +1665,7 @@ const iR = {
|
|
|
1665
1665
|
...n,
|
|
1666
1666
|
variant: W.text,
|
|
1667
1667
|
size: j.small,
|
|
1668
|
-
style:
|
|
1668
|
+
style: te.neutral
|
|
1669
1669
|
}
|
|
1670
1670
|
)
|
|
1671
1671
|
] }), dR = ({ shortcuts: e, text: s }) => /* @__PURE__ */ t.jsxs("div", { className: "p-12 br-12 dc__border ev-5 bcv-1 flex dc__gap-6 dc__w-fit-content", children: [
|
|
@@ -1848,7 +1848,7 @@ const G2 = {
|
|
|
1848
1848
|
) }) }),
|
|
1849
1849
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6 pl-6 dc__align-items-center", children: [
|
|
1850
1850
|
!n.isAppMetricsSupported && /* @__PURE__ */ t.jsx(
|
|
1851
|
-
|
|
1851
|
+
se,
|
|
1852
1852
|
{
|
|
1853
1853
|
alwaysShowTippyOnHover: !0,
|
|
1854
1854
|
content: `Application metrics is not supported for chart '${n.name}' version ${n.version}.`,
|
|
@@ -2001,7 +2001,7 @@ const J2 = ({ fileMountDir: e }) => /* @__PURE__ */ t.jsx(
|
|
|
2001
2001
|
] }),
|
|
2002
2002
|
children: /* @__PURE__ */ t.jsx("div", { className: "cursor flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(Ic, { className: "icon-dim-18" }) })
|
|
2003
2003
|
}
|
|
2004
|
-
), NR = "This is a variable. It will be replaced with the value during execution.", Z2 = () => /* @__PURE__ */ t.jsx(
|
|
2004
|
+
), NR = "This is a variable. It will be replaced with the value during execution.", Z2 = () => /* @__PURE__ */ t.jsx(se, { content: NR, placement: "left", animation: "shift-away", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ug, { className: "icon-dim-18 icon-n4" }) }) }), Q2 = [
|
|
2005
2005
|
{ label: "TRUE", value: "TRUE" },
|
|
2006
2006
|
{ label: "FALSE", value: "FALSE" }
|
|
2007
2007
|
], e3 = [
|
|
@@ -2155,7 +2155,7 @@ const rd = (e) => ({
|
|
|
2155
2155
|
onClick: _,
|
|
2156
2156
|
size: j.xs,
|
|
2157
2157
|
variant: W.borderLess,
|
|
2158
|
-
style:
|
|
2158
|
+
style: te.negativeGrey
|
|
2159
2159
|
}
|
|
2160
2160
|
)
|
|
2161
2161
|
]
|
|
@@ -2402,7 +2402,7 @@ const tn = {
|
|
|
2402
2402
|
}, ii = {
|
|
2403
2403
|
10: 1,
|
|
2404
2404
|
12: 1
|
|
2405
|
-
}, kR = (e) => (s) => /* @__PURE__ */ t.jsx(
|
|
2405
|
+
}, kR = (e) => (s) => /* @__PURE__ */ t.jsx(se, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: s }) }), $R = ({
|
|
2406
2406
|
name: e,
|
|
2407
2407
|
iconMap: s,
|
|
2408
2408
|
size: n = 16,
|
|
@@ -2817,7 +2817,7 @@ const tn = {
|
|
|
2817
2817
|
const m = VR(a), p = FR(m), _ = BR(m), h = GR(m), E = () => s ? /* @__PURE__ */ t.jsx($, { ...s, size: p }) : n ?? null, x = (C = !0) => /* @__PURE__ */ t.jsxs("div", { className: `flex dc__gap-4 ${_} dc__no-shrink dc__mxw-120`, children: [
|
|
2818
2818
|
i === "error" && C && /* @__PURE__ */ t.jsx($, { name: "ic-error", color: "R500", size: p }),
|
|
2819
2819
|
(i === "neutral" || i === "error" && !C) && E(),
|
|
2820
|
-
/* @__PURE__ */ t.jsx(
|
|
2820
|
+
/* @__PURE__ */ t.jsx(se, { content: e, children: /* @__PURE__ */ t.jsx(
|
|
2821
2821
|
"span",
|
|
2822
2822
|
{
|
|
2823
2823
|
className: `${h} ${d ? "dc__capitalize" : ""} cn-9 ${C ? "fw-4" : "fw-6"} dc__open-sans dc__truncate`,
|
|
@@ -2830,7 +2830,7 @@ const tn = {
|
|
|
2830
2830
|
x(!r),
|
|
2831
2831
|
r && /* @__PURE__ */ t.jsxs("div", { className: `flex border__secondary--left dc__gap-4 ${_}`, children: [
|
|
2832
2832
|
i === "error" && /* @__PURE__ */ t.jsx($, { name: "ic-error", color: "R500", size: p }),
|
|
2833
|
-
/* @__PURE__ */ t.jsx(
|
|
2833
|
+
/* @__PURE__ */ t.jsx(se, { content: r, children: /* @__PURE__ */ t.jsx("span", { className: `${h} cn-9 fw-4 dc__open-sans dc__truncate`, children: r }) })
|
|
2834
2834
|
] })
|
|
2835
2835
|
] })
|
|
2836
2836
|
), f = (C) => {
|
|
@@ -2842,7 +2842,7 @@ const tn = {
|
|
|
2842
2842
|
H,
|
|
2843
2843
|
{
|
|
2844
2844
|
variant: W.borderLess,
|
|
2845
|
-
style:
|
|
2845
|
+
style: te.negativeGrey,
|
|
2846
2846
|
dataTestId: "chip__remove-btn",
|
|
2847
2847
|
showAriaLabelInTippy: !1,
|
|
2848
2848
|
ariaLabel: "Remove filter",
|
|
@@ -2862,7 +2862,7 @@ const tn = {
|
|
|
2862
2862
|
component: it.link,
|
|
2863
2863
|
linkProps: { to: u },
|
|
2864
2864
|
variant: W.borderLess,
|
|
2865
|
-
style:
|
|
2865
|
+
style: te.neutral,
|
|
2866
2866
|
dataTestId: "chip__visit-link",
|
|
2867
2867
|
showAriaLabelInTippy: !1,
|
|
2868
2868
|
ariaLabel: "Visit link",
|
|
@@ -3278,7 +3278,7 @@ const md = (e) => {
|
|
|
3278
3278
|
{
|
|
3279
3279
|
...n,
|
|
3280
3280
|
className: `${n.className || ""} ${f ? "dc__visible-hover dc__visible-hover--parent" : ""}`,
|
|
3281
|
-
children: /* @__PURE__ */ t.jsx(
|
|
3281
|
+
children: /* @__PURE__ */ t.jsx(se, { ...qp(_), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
|
3282
3282
|
f && N(),
|
|
3283
3283
|
o && i && !E && /* @__PURE__ */ t.jsx(
|
|
3284
3284
|
$s,
|
|
@@ -3295,7 +3295,7 @@ const md = (e) => {
|
|
|
3295
3295
|
m && /* @__PURE__ */ t.jsx("div", { className: `${g} mt-2`, children: m }),
|
|
3296
3296
|
/* @__PURE__ */ t.jsxs("div", { className: "flex-grow-1", children: [
|
|
3297
3297
|
/* @__PURE__ */ t.jsx(
|
|
3298
|
-
|
|
3298
|
+
se,
|
|
3299
3299
|
{
|
|
3300
3300
|
...typeof a != "string" ? { alwaysShowTippyOnHover: !1, content: null } : {
|
|
3301
3301
|
content: a
|
|
@@ -3475,7 +3475,7 @@ const md = (e) => {
|
|
|
3475
3475
|
if (!e)
|
|
3476
3476
|
return null;
|
|
3477
3477
|
const i = Zp(s), c = a === "row", l = c && !!r?.content, d = (u) => /* @__PURE__ */ t.jsx(
|
|
3478
|
-
|
|
3478
|
+
se,
|
|
3479
3479
|
{
|
|
3480
3480
|
placement: "bottom",
|
|
3481
3481
|
alwaysShowTippyOnHover: !0,
|
|
@@ -3622,13 +3622,13 @@ const md = (e) => {
|
|
|
3622
3622
|
borderConfig: oe,
|
|
3623
3623
|
borderRadiusConfig: fe,
|
|
3624
3624
|
labelTippyCustomizedConfig: K,
|
|
3625
|
-
labelTooltipConfig:
|
|
3625
|
+
labelTooltipConfig: ee,
|
|
3626
3626
|
hideFormFieldInfo: ge,
|
|
3627
3627
|
autoFocus: Ee,
|
|
3628
3628
|
showCheckboxForMultiSelect: Te = !0,
|
|
3629
|
-
...
|
|
3629
|
+
...ne
|
|
3630
3630
|
}) => {
|
|
3631
|
-
const Ne = B(null),
|
|
3631
|
+
const Ne = B(null), Z = S ?? Ne, [de, re] = w(!1), [Ie, Oe] = w(""), {
|
|
3632
3632
|
inputId: ze,
|
|
3633
3633
|
required: Me,
|
|
3634
3634
|
isDisabled: nt,
|
|
@@ -3637,7 +3637,7 @@ const md = (e) => {
|
|
|
3637
3637
|
options: Bt,
|
|
3638
3638
|
getOptionValue: V,
|
|
3639
3639
|
noOptionsMessage: be
|
|
3640
|
-
} =
|
|
3640
|
+
} = ne, {
|
|
3641
3641
|
isGroupHeadingSelectable: ce = !1,
|
|
3642
3642
|
getIsOptionValid: Le = () => !0,
|
|
3643
3643
|
customDisplayText: Fe = null
|
|
@@ -3683,29 +3683,29 @@ const md = (e) => {
|
|
|
3683
3683
|
), si = (Ae) => /* @__PURE__ */ t.jsx(aA, { ...Ae, getIsOptionValid: Le }), ir = We(
|
|
3684
3684
|
(Ae) => /* @__PURE__ */ t.jsx(rA, { ...Ae, isGroupHeadingSelectable: ce }),
|
|
3685
3685
|
[ce]
|
|
3686
|
-
),
|
|
3686
|
+
), Q = () => m ? /* @__PURE__ */ t.jsx(Tn, { reload: p }) : k ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: be?.({
|
|
3687
3687
|
inputValue: Ie
|
|
3688
3688
|
}) || "No options" }) : null, Re = (Ae) => /* @__PURE__ */ t.jsx(ye, { content: l, placement: "top", className: "default-tt", arrow: !1, children: Ae }), Je = (Ae) => {
|
|
3689
3689
|
const Tt = Ae?.trim();
|
|
3690
3690
|
Tt && I?.(Tt);
|
|
3691
3691
|
}, Gt = (Ae, Tt) => {
|
|
3692
|
-
if (
|
|
3693
|
-
|
|
3692
|
+
if (ne.onInputChange) {
|
|
3693
|
+
ne.onInputChange(Ae, Tt);
|
|
3694
3694
|
return;
|
|
3695
3695
|
}
|
|
3696
3696
|
Oe(Ae);
|
|
3697
3697
|
}, ht = (Ae) => {
|
|
3698
|
-
(Ae.metaKey || Ae.ctrlKey) && Ae.key === "Enter" && Ae.preventDefault(), Ae.key === "Escape" && (Ae.stopPropagation(),
|
|
3698
|
+
(Ae.metaKey || Ae.ctrlKey) && Ae.key === "Enter" && Ae.preventDefault(), Ae.key === "Escape" && (Ae.stopPropagation(), Z.current.props.menuIsOpen || Z.current.blur()), U?.(Ae);
|
|
3699
3699
|
}, pt = (Ae) => {
|
|
3700
|
-
P || re(!0),
|
|
3700
|
+
P || re(!0), ne.onFocus?.(Ae);
|
|
3701
3701
|
}, gs = (Ae) => {
|
|
3702
|
-
re(!1),
|
|
3702
|
+
re(!1), ne.onBlur?.(Ae);
|
|
3703
3703
|
}, vn = (...Ae) => {
|
|
3704
|
-
f && ps(
|
|
3704
|
+
f && ps(ne.inputValue) && Oe(Ie), ne.onChange?.(...Ae);
|
|
3705
3705
|
};
|
|
3706
3706
|
return M(() => {
|
|
3707
3707
|
Ee && setTimeout(() => {
|
|
3708
|
-
|
|
3708
|
+
Z.current?.focus();
|
|
3709
3709
|
}, 100);
|
|
3710
3710
|
}, [Ee]), /* @__PURE__ */ t.jsx(
|
|
3711
3711
|
qc,
|
|
@@ -3722,12 +3722,12 @@ const md = (e) => {
|
|
|
3722
3722
|
borderConfig: oe,
|
|
3723
3723
|
borderRadiusConfig: fe,
|
|
3724
3724
|
labelTippyCustomizedConfig: K,
|
|
3725
|
-
labelTooltipConfig:
|
|
3725
|
+
labelTooltipConfig: ee,
|
|
3726
3726
|
hideFormFieldInfo: ge,
|
|
3727
3727
|
children: /* @__PURE__ */ t.jsx(Ct, { condition: nt && !!l, wrap: Re, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
|
|
3728
3728
|
Xx,
|
|
3729
3729
|
{
|
|
3730
|
-
...
|
|
3730
|
+
...ne,
|
|
3731
3731
|
...zc({
|
|
3732
3732
|
inputId: ze,
|
|
3733
3733
|
required: Me,
|
|
@@ -3756,7 +3756,7 @@ const md = (e) => {
|
|
|
3756
3756
|
hideSelectedOptions: !1,
|
|
3757
3757
|
shouldRenderCustomOptions: b || !1,
|
|
3758
3758
|
isMulti: f,
|
|
3759
|
-
ref:
|
|
3759
|
+
ref: Z,
|
|
3760
3760
|
components: {
|
|
3761
3761
|
IndicatorSeparator: null,
|
|
3762
3762
|
LoadingIndicator: null,
|
|
@@ -3768,7 +3768,7 @@ const md = (e) => {
|
|
|
3768
3768
|
ValueContainer: ti,
|
|
3769
3769
|
MultiValue: si,
|
|
3770
3770
|
GroupHeading: ir,
|
|
3771
|
-
NoOptionsMessage:
|
|
3771
|
+
NoOptionsMessage: Q,
|
|
3772
3772
|
LoadingMessage: oA,
|
|
3773
3773
|
Input: eA,
|
|
3774
3774
|
...L && {
|
|
@@ -3782,7 +3782,7 @@ const md = (e) => {
|
|
|
3782
3782
|
createOptionPosition: "first",
|
|
3783
3783
|
onCreateOption: Je,
|
|
3784
3784
|
menuListFooterConfig: m ? null : y,
|
|
3785
|
-
inputValue:
|
|
3785
|
+
inputValue: ne.inputValue ?? Ie,
|
|
3786
3786
|
onInputChange: Gt,
|
|
3787
3787
|
icon: s,
|
|
3788
3788
|
keyboardShortcut: n,
|
|
@@ -3962,7 +3962,7 @@ const md = (e) => {
|
|
|
3962
3962
|
x && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink dc__position-abs custom-input__icon-button--${u}`, children: /* @__PURE__ */ t.jsx(
|
|
3963
3963
|
H,
|
|
3964
3964
|
{
|
|
3965
|
-
style:
|
|
3965
|
+
style: te.neutral,
|
|
3966
3966
|
...x,
|
|
3967
3967
|
dataTestId: `${e}-end-icon`,
|
|
3968
3968
|
variant: W.borderLess,
|
|
@@ -4509,7 +4509,7 @@ const md = (e) => {
|
|
|
4509
4509
|
)
|
|
4510
4510
|
}
|
|
4511
4511
|
);
|
|
4512
|
-
return /* @__PURE__ */ t.jsx(
|
|
4512
|
+
return /* @__PURE__ */ t.jsx(se, { alwaysShowTippyOnHover: !!r, content: r, children: /* @__PURE__ */ t.jsxs(
|
|
4513
4513
|
"label",
|
|
4514
4514
|
{
|
|
4515
4515
|
htmlFor: E.current,
|
|
@@ -4619,7 +4619,7 @@ const md = (e) => {
|
|
|
4619
4619
|
}, N = (O) => O && /* @__PURE__ */ t.jsx("span", { className: "mt-2 flex dc__no-shrink", children: /* @__PURE__ */ t.jsx($, { ...O, color: O.color || (g ? "R500" : "N800") }) }), b = () => u ? /* @__PURE__ */ t.jsx(Ji, { ...u, variant: p }) : null, T = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
4620
4620
|
N(d),
|
|
4621
4621
|
/* @__PURE__ */ t.jsxs("span", { className: "flex-grow-1", children: [
|
|
4622
|
-
/* @__PURE__ */ t.jsx(
|
|
4622
|
+
/* @__PURE__ */ t.jsx(se, { content: l, placement: "right", children: /* @__PURE__ */ t.jsx("span", { className: `m-0 fs-13 fw-4 lh-20 dc__truncate ${g ? "cr-5" : "cn-9"}`, children: l }) }),
|
|
4623
4623
|
c && (typeof c == "string" ? /* @__PURE__ */ t.jsx(
|
|
4624
4624
|
"span",
|
|
4625
4625
|
{
|
|
@@ -4672,7 +4672,7 @@ const md = (e) => {
|
|
|
4672
4672
|
);
|
|
4673
4673
|
}
|
|
4674
4674
|
};
|
|
4675
|
-
return /* @__PURE__ */ t.jsx(
|
|
4675
|
+
return /* @__PURE__ */ t.jsx(se, { ...qp(m), children: /* @__PURE__ */ t.jsx(
|
|
4676
4676
|
"li",
|
|
4677
4677
|
{
|
|
4678
4678
|
ref: x,
|
|
@@ -6930,7 +6930,7 @@ const B3 = (e, s, n, a) => ({
|
|
|
6930
6930
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
|
6931
6931
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center px-8 py-2", children: [
|
|
6932
6932
|
/* @__PURE__ */ t.jsx(Om, { className: "icon-dim-20 dc__no-shrink scn-7" }),
|
|
6933
|
-
/* @__PURE__ */ t.jsx(
|
|
6933
|
+
/* @__PURE__ */ t.jsx(se, { content: Ss.GracePeriod.infoText, alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 cn-9 lh-20 dc__underline-dotted", children: "Grace period" }) }),
|
|
6934
6934
|
/* @__PURE__ */ t.jsxs("span", { className: "flex left dc__border br-4 cn-9 fw-4 fs-13 lh-20 dc__overflow-hidden", children: [
|
|
6935
6935
|
/* @__PURE__ */ t.jsx(
|
|
6936
6936
|
"input",
|
|
@@ -6956,7 +6956,7 @@ const B3 = (e, s, n, a) => ({
|
|
|
6956
6956
|
dataTestId: "disable-eviction",
|
|
6957
6957
|
rootClassName: "mt-0 mb-0 ml-8 mr-8 cn-9 fs-13 py-6 px-8 form__checkbox__root--gap-8",
|
|
6958
6958
|
onChange: i(c),
|
|
6959
|
-
children: /* @__PURE__ */ t.jsx(
|
|
6959
|
+
children: /* @__PURE__ */ t.jsx(se, { content: l, alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("span", { className: "dc__underline-dotted", children: d }) })
|
|
6960
6960
|
},
|
|
6961
6961
|
c
|
|
6962
6962
|
))
|
|
@@ -7925,7 +7925,7 @@ const Ld = () => ({
|
|
|
7925
7925
|
}, Ny = ({ text: e, combo: s }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 px-8 py-4 flex-wrap", children: [
|
|
7926
7926
|
/* @__PURE__ */ t.jsx("span", { className: "lh-18 fs-12 fw-4 text__white", children: e }),
|
|
7927
7927
|
!!s?.length && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-4 dc__align-items-center flex-wrap", children: s.map((n) => /* @__PURE__ */ t.jsx("kbd", { className: "shortcut-keys__chip dc__capitalize lh-16 fs-11 fw-5 flex text__white", children: g_[n] }, n)) })
|
|
7928
|
-
] }),
|
|
7928
|
+
] }), se = ({
|
|
7929
7929
|
shortcutKeyCombo: e,
|
|
7930
7930
|
alwaysShowTippyOnHover: s,
|
|
7931
7931
|
// NOTE: if alwaysShowTippyOnHover or shortcutKeyCombo are being passed by user don't apply truncation logic at all
|
|
@@ -7950,7 +7950,7 @@ const Ld = () => ({
|
|
|
7950
7950
|
}
|
|
7951
7951
|
) : Ra(r, { ...r.props, onMouseEnter: l });
|
|
7952
7952
|
};
|
|
7953
|
-
var W = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(W || {}),
|
|
7953
|
+
var W = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(W || {}), te = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e.neutralN0 = "neutral-n0", e.neutralWhite = "neutral-white", e))(te || {}), it = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e.anchor = "anchor", e))(it || {});
|
|
7954
7954
|
const by = {
|
|
7955
7955
|
[j.xxs_small_icon]: `${xs[j.xxs]} px-9 dc__gap-6 mw-48`,
|
|
7956
7956
|
[j.xxxs]: `${xs[j.xxs]} px-9 dc__gap-6 mw-48`,
|
|
@@ -8034,7 +8034,7 @@ const x_ = {
|
|
|
8034
8034
|
text: s,
|
|
8035
8035
|
variant: n = W.primary,
|
|
8036
8036
|
size: a = j.large,
|
|
8037
|
-
style: r =
|
|
8037
|
+
style: r = te.default,
|
|
8038
8038
|
fontWeight: o = "bold",
|
|
8039
8039
|
startIcon: i = null,
|
|
8040
8040
|
endIcon: c = null,
|
|
@@ -8070,7 +8070,7 @@ const x_ = {
|
|
|
8070
8070
|
alwaysShowTippyOnHover: u && !!m?.content,
|
|
8071
8071
|
...m
|
|
8072
8072
|
};
|
|
8073
|
-
return /* @__PURE__ */ t.jsx(
|
|
8073
|
+
return /* @__PURE__ */ t.jsx(se, { ...y(), children: /* @__PURE__ */ t.jsx("div", { className: `dc__inline-block flex ${E ? "w-100" : "dc__w-fit-content"}`, children: /* @__PURE__ */ t.jsxs(
|
|
8074
8074
|
Iy,
|
|
8075
8075
|
{
|
|
8076
8076
|
ref: C,
|
|
@@ -8134,7 +8134,7 @@ const x_ = {
|
|
|
8134
8134
|
dataTestId: "terms-of-service",
|
|
8135
8135
|
text: "Terms of service",
|
|
8136
8136
|
variant: W.text,
|
|
8137
|
-
style:
|
|
8137
|
+
style: te.neutral,
|
|
8138
8138
|
component: it.anchor,
|
|
8139
8139
|
anchorProps: {
|
|
8140
8140
|
href: $v
|
|
@@ -8148,7 +8148,7 @@ const x_ = {
|
|
|
8148
8148
|
dataTestId: "privacy-policy",
|
|
8149
8149
|
text: "Privacy policy",
|
|
8150
8150
|
variant: W.text,
|
|
8151
|
-
style:
|
|
8151
|
+
style: te.neutral,
|
|
8152
8152
|
component: it.anchor,
|
|
8153
8153
|
anchorProps: {
|
|
8154
8154
|
href: kv
|
|
@@ -8162,7 +8162,7 @@ const x_ = {
|
|
|
8162
8162
|
dataTestId: "license-agreement",
|
|
8163
8163
|
text: "End-User License agreement",
|
|
8164
8164
|
variant: W.text,
|
|
8165
|
-
style:
|
|
8165
|
+
style: te.neutral,
|
|
8166
8166
|
onClick: o,
|
|
8167
8167
|
component: it.anchor,
|
|
8168
8168
|
anchorProps: {
|
|
@@ -8280,7 +8280,7 @@ const x_ = {
|
|
|
8280
8280
|
duration: e,
|
|
8281
8281
|
ease: "easeInOut",
|
|
8282
8282
|
onComplete: s
|
|
8283
|
-
}).stop, [e]), /* @__PURE__ */ t.jsx(
|
|
8283
|
+
}).stop, [e]), /* @__PURE__ */ t.jsx(se, { alwaysShowTippyOnHover: !!a, content: a, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsxs(
|
|
8284
8284
|
"svg",
|
|
8285
8285
|
{
|
|
8286
8286
|
width: pi * 2,
|
|
@@ -8361,7 +8361,7 @@ const x_ = {
|
|
|
8361
8361
|
tabIndex: r || !o ? -1 : 0,
|
|
8362
8362
|
"data-testid": a,
|
|
8363
8363
|
children: [
|
|
8364
|
-
/* @__PURE__ */ t.jsx(
|
|
8364
|
+
/* @__PURE__ */ t.jsx(se, { showOnTruncate: i, content: a, children: /* @__PURE__ */ t.jsxs("div", { className: "dc__gap-4 flex left", children: [
|
|
8365
8365
|
/* @__PURE__ */ t.jsx("span", { className: "dc__uppercase dc__truncate", children: a }),
|
|
8366
8366
|
u && /* @__PURE__ */ t.jsx(
|
|
8367
8367
|
$,
|
|
@@ -9187,14 +9187,14 @@ const Ky = ({
|
|
|
9187
9187
|
},
|
|
9188
9188
|
startIcon: /* @__PURE__ */ t.jsx(cs, { registryType: Ke.OTHER })
|
|
9189
9189
|
}
|
|
9190
|
-
}, Qy = ({ name: e }) => /* @__PURE__ */ t.jsx("div", { className: "bg__secondary py-2 px-6 dc__mxw-200 br-4", children: /* @__PURE__ */ t.jsx(
|
|
9190
|
+
}, Qy = ({ name: e }) => /* @__PURE__ */ t.jsx("div", { className: "bg__secondary py-2 px-6 dc__mxw-200 br-4", children: /* @__PURE__ */ t.jsx(se, { content: e, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate cn-7 fs-12 fw-5 lh-16", children: e }) }) }), eO = ({ targetPlatforms: e }) => e?.length ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-start", children: [
|
|
9191
9191
|
/* @__PURE__ */ t.jsx(Oc, { className: "icon-dim-20 dc__no-shrink scn-7 p-2" }),
|
|
9192
9192
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-6 flex-wrap", children: e.map(({ name: s }) => /* @__PURE__ */ t.jsx(Qy, { name: s }, s)) })
|
|
9193
9193
|
] }) : null, tO = ({ targetPlatforms: e }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4 cursor-text", onClick: je, children: [
|
|
9194
9194
|
/* @__PURE__ */ t.jsx("h6", { className: "m-0 fw-6 lh-18 fs-12", children: "Target platforms" }),
|
|
9195
9195
|
/* @__PURE__ */ t.jsx("ul", { className: "pl-12 m-0 dc__overflow-auto mxh-140", children: e.map(({ name: s }) => /* @__PURE__ */ t.jsx("li", { className: "dc__word-break lh-18", children: s }, s)) })
|
|
9196
9196
|
] }), S_ = ({ targetPlatforms: e, children: s, appendTo: n }) => /* @__PURE__ */ t.jsx(
|
|
9197
|
-
|
|
9197
|
+
se,
|
|
9198
9198
|
{
|
|
9199
9199
|
content: /* @__PURE__ */ t.jsx(tO, { targetPlatforms: e }),
|
|
9200
9200
|
placement: "right",
|
|
@@ -9826,7 +9826,7 @@ const vO = (e, s) => {
|
|
|
9826
9826
|
}
|
|
9827
9827
|
}
|
|
9828
9828
|
) : null;
|
|
9829
|
-
}, u = () => l ? /* @__PURE__ */ t.jsx(
|
|
9829
|
+
}, u = () => l ? /* @__PURE__ */ t.jsx(se, { content: l, children: /* @__PURE__ */ t.jsx(
|
|
9830
9830
|
"p",
|
|
9831
9831
|
{
|
|
9832
9832
|
"data-testid": `${e || "status-is-null"}-status`,
|
|
@@ -10196,7 +10196,7 @@ const vO = (e, s) => {
|
|
|
10196
10196
|
!E && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-start", children: [
|
|
10197
10197
|
a && /* @__PURE__ */ t.jsx("span", { className: "icon-dim-12 flex dc__no-shrink dc__fill-available-space mt-4", children: Wk(e, u, m) }),
|
|
10198
10198
|
n ? /* @__PURE__ */ t.jsx(
|
|
10199
|
-
|
|
10199
|
+
se,
|
|
10200
10200
|
{
|
|
10201
10201
|
wordBreak: !0,
|
|
10202
10202
|
alwaysShowTippyOnHover: !0,
|
|
@@ -11017,7 +11017,7 @@ const uj = (e) => {
|
|
|
11017
11017
|
dataTestId: "steps-deployment-history-dropdown",
|
|
11018
11018
|
onClick: p,
|
|
11019
11019
|
variant: W.borderLess,
|
|
11020
|
-
style:
|
|
11020
|
+
style: te.neutral,
|
|
11021
11021
|
size: j.small,
|
|
11022
11022
|
icon: /* @__PURE__ */ t.jsx(
|
|
11023
11023
|
ws,
|
|
@@ -11497,9 +11497,9 @@ const ea = ({
|
|
|
11497
11497
|
},
|
|
11498
11498
|
showTooltip: !0,
|
|
11499
11499
|
ariaLabel: "Copy to Clipboard",
|
|
11500
|
-
style:
|
|
11500
|
+
style: te.neutral
|
|
11501
11501
|
}
|
|
11502
|
-
) : /* @__PURE__ */ t.jsx(
|
|
11502
|
+
) : /* @__PURE__ */ t.jsx(se, { content: f, alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx(
|
|
11503
11503
|
"button",
|
|
11504
11504
|
{
|
|
11505
11505
|
type: "button",
|
|
@@ -11852,7 +11852,7 @@ const ea = ({
|
|
|
11852
11852
|
}, Gj = () => {
|
|
11853
11853
|
const e = document.createElement("button");
|
|
11854
11854
|
return Lc(
|
|
11855
|
-
/* @__PURE__ */ t.jsx(
|
|
11855
|
+
/* @__PURE__ */ t.jsx(se, { content: "Revert this chunk", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx($, { name: "ic-arrow-right", color: "N600", size: 20 }) }) }),
|
|
11856
11856
|
e
|
|
11857
11857
|
), e;
|
|
11858
11858
|
}, Xd = (e, s = !1) => {
|
|
@@ -11919,7 +11919,7 @@ const ea = ({
|
|
|
11919
11919
|
const o = (i) => {
|
|
11920
11920
|
i.stopPropagation(), s(!e);
|
|
11921
11921
|
};
|
|
11922
|
-
return /* @__PURE__ */ t.jsx(
|
|
11922
|
+
return /* @__PURE__ */ t.jsx(se, { alwaysShowTippyOnHover: !0, content: r, placement: "bottom", children: /* @__PURE__ */ t.jsxs(
|
|
11923
11923
|
"label",
|
|
11924
11924
|
{
|
|
11925
11925
|
htmlFor: `find-replace-${r}-toggle-button`,
|
|
@@ -12011,7 +12011,7 @@ const ea = ({
|
|
|
12011
12011
|
}
|
|
12012
12012
|
),
|
|
12013
12013
|
variant: W.borderLess,
|
|
12014
|
-
style:
|
|
12014
|
+
style: te.neutral,
|
|
12015
12015
|
size: j.xxs,
|
|
12016
12016
|
onClick: R,
|
|
12017
12017
|
showTooltip: !0,
|
|
@@ -12071,7 +12071,7 @@ const ea = ({
|
|
|
12071
12071
|
showAriaLabelInTippy: !1,
|
|
12072
12072
|
icon: /* @__PURE__ */ t.jsx(Pi, { className: "rotate", style: { "--rotateBy": "180deg" } }),
|
|
12073
12073
|
variant: W.borderLess,
|
|
12074
|
-
style:
|
|
12074
|
+
style: te.neutral,
|
|
12075
12075
|
size: j.xxs,
|
|
12076
12076
|
onClick: h,
|
|
12077
12077
|
disabled: u,
|
|
@@ -12093,7 +12093,7 @@ const ea = ({
|
|
|
12093
12093
|
showAriaLabelInTippy: !1,
|
|
12094
12094
|
icon: /* @__PURE__ */ t.jsx(Pi, {}),
|
|
12095
12095
|
variant: W.borderLess,
|
|
12096
|
-
style:
|
|
12096
|
+
style: te.neutral,
|
|
12097
12097
|
size: j.xxs,
|
|
12098
12098
|
onClick: _,
|
|
12099
12099
|
disabled: u,
|
|
@@ -12115,7 +12115,7 @@ const ea = ({
|
|
|
12115
12115
|
showAriaLabelInTippy: !1,
|
|
12116
12116
|
icon: /* @__PURE__ */ t.jsx(zm, {}),
|
|
12117
12117
|
variant: W.borderLess,
|
|
12118
|
-
style:
|
|
12118
|
+
style: te.neutral,
|
|
12119
12119
|
size: j.xxs,
|
|
12120
12120
|
onClick: C,
|
|
12121
12121
|
showTooltip: !0,
|
|
@@ -12133,7 +12133,7 @@ const ea = ({
|
|
|
12133
12133
|
showAriaLabelInTippy: !1,
|
|
12134
12134
|
icon: /* @__PURE__ */ t.jsx(Ts, {}),
|
|
12135
12135
|
variant: W.borderLess,
|
|
12136
|
-
style:
|
|
12136
|
+
style: te.neutral,
|
|
12137
12137
|
size: j.xxs,
|
|
12138
12138
|
onClick: A,
|
|
12139
12139
|
showTooltip: !0,
|
|
@@ -12167,7 +12167,7 @@ const ea = ({
|
|
|
12167
12167
|
showAriaLabelInTippy: !1,
|
|
12168
12168
|
icon: /* @__PURE__ */ t.jsx(Cx, {}),
|
|
12169
12169
|
variant: W.borderLess,
|
|
12170
|
-
style:
|
|
12170
|
+
style: te.neutral,
|
|
12171
12171
|
size: j.xxs,
|
|
12172
12172
|
onClick: N,
|
|
12173
12173
|
showTooltip: !0,
|
|
@@ -12188,7 +12188,7 @@ const ea = ({
|
|
|
12188
12188
|
showAriaLabelInTippy: !1,
|
|
12189
12189
|
icon: /* @__PURE__ */ t.jsx(Ex, {}),
|
|
12190
12190
|
variant: W.borderLess,
|
|
12191
|
-
style:
|
|
12191
|
+
style: te.neutral,
|
|
12192
12192
|
size: j.xxs,
|
|
12193
12193
|
onClick: b,
|
|
12194
12194
|
showTooltip: !0,
|
|
@@ -12419,7 +12419,7 @@ const ea = ({
|
|
|
12419
12419
|
M(() => (n || A && (A.a.scrollDOM.addEventListener("scroll", K), A.b.scrollDOM.addEventListener("scroll", fe)), () => {
|
|
12420
12420
|
A && (A.b.scrollDOM.removeEventListener("scroll", fe), A.a.scrollDOM.removeEventListener("scroll", K));
|
|
12421
12421
|
}), [A]);
|
|
12422
|
-
const
|
|
12422
|
+
const ee = () => {
|
|
12423
12423
|
oe();
|
|
12424
12424
|
}, ge = va.updateListener.of((de) => {
|
|
12425
12425
|
if (de.docChanged) {
|
|
@@ -12484,12 +12484,12 @@ const ea = ({
|
|
|
12484
12484
|
);
|
|
12485
12485
|
}, 100);
|
|
12486
12486
|
}, [T, b, A, N]);
|
|
12487
|
-
const { codeEditorClassName:
|
|
12487
|
+
const { codeEditorClassName: ne, codeEditorHeight: Ne, codeEditorParentClassName: Z } = $j(r);
|
|
12488
12488
|
return n ? a || /* @__PURE__ */ t.jsx("div", { className: "flex mh-250", style: { height: Ne }, children: /* @__PURE__ */ t.jsx(st, { pageLoader: !0 }) }) : S ? /* @__PURE__ */ t.jsxs(
|
|
12489
12489
|
"div",
|
|
12490
12490
|
{
|
|
12491
12491
|
ref: m,
|
|
12492
|
-
className: `flexbox w-100 ${J} ${
|
|
12492
|
+
className: `flexbox w-100 ${J} ${Z}`,
|
|
12493
12493
|
children: [
|
|
12494
12494
|
!A && /* @__PURE__ */ t.jsx("div", { className: "flex h-100 w-100", children: /* @__PURE__ */ t.jsx("p", { children: "Calculating diff for large file. Please wait..." }) }),
|
|
12495
12495
|
/* @__PURE__ */ t.jsx(
|
|
@@ -12514,7 +12514,7 @@ const ea = ({
|
|
|
12514
12514
|
"div",
|
|
12515
12515
|
{
|
|
12516
12516
|
ref: m,
|
|
12517
|
-
className: `w-100 ${J} ${
|
|
12517
|
+
className: `w-100 ${J} ${Z}`,
|
|
12518
12518
|
children: [
|
|
12519
12519
|
p && /* @__PURE__ */ t.jsxs("p", { className: "m-0 flexbox cn-9 code-editor__shebang", children: [
|
|
12520
12520
|
/* @__PURE__ */ t.jsx(
|
|
@@ -12531,14 +12531,14 @@ const ea = ({
|
|
|
12531
12531
|
{
|
|
12532
12532
|
ref: P,
|
|
12533
12533
|
theme: o,
|
|
12534
|
-
className:
|
|
12534
|
+
className: ne,
|
|
12535
12535
|
basicSetup: !1,
|
|
12536
12536
|
value: b,
|
|
12537
12537
|
placeholder: _,
|
|
12538
12538
|
readOnly: i,
|
|
12539
12539
|
height: Ne,
|
|
12540
12540
|
minHeight: "250px",
|
|
12541
|
-
onCreateEditor:
|
|
12541
|
+
onCreateEditor: ee,
|
|
12542
12542
|
onFocus: h,
|
|
12543
12543
|
onBlur: E,
|
|
12544
12544
|
onChange: d,
|
|
@@ -12586,9 +12586,9 @@ const ea = ({
|
|
|
12586
12586
|
}, [s, a, E, i]), L = z(() => {
|
|
12587
12587
|
const V = N ? lm(n) : n;
|
|
12588
12588
|
return V !== P.current.lhsCode ? ![_t.JSON, _t.YAML].includes(o) || i ? V : Wd(V, o, l) : P.current.lhsCode;
|
|
12589
|
-
}, [n, i]), G = e ?? D, X = G === we.dark, { codeEditorTheme: J, themeExtension: oe } = jj(X), [fe, K] = w(), [
|
|
12590
|
-
() => ({ setDiffMode: Te, diffMode: Ee, hasCodeEditorContainer:
|
|
12591
|
-
[Ee,
|
|
12589
|
+
}, [n, i]), G = e ?? D, X = G === we.dark, { codeEditorTheme: J, themeExtension: oe } = jj(X), [fe, K] = w(), [ee, ge] = w(!1), [Ee, Te] = w(E), ne = z(
|
|
12590
|
+
() => ({ setDiffMode: Te, diffMode: Ee, hasCodeEditorContainer: ee, lhsValue: L, value: U, readOnly: I, theme: G }),
|
|
12591
|
+
[Ee, ee, L, U, I, G]
|
|
12592
12592
|
);
|
|
12593
12593
|
M(() => {
|
|
12594
12594
|
k.current && ge(
|
|
@@ -12605,7 +12605,7 @@ const ea = ({
|
|
|
12605
12605
|
);
|
|
12606
12606
|
const Ne = (V) => {
|
|
12607
12607
|
P.current.code = V, Ee ? _?.(V) : m?.(V);
|
|
12608
|
-
},
|
|
12608
|
+
}, Z = (V) => {
|
|
12609
12609
|
P.current.lhsCode = V, p?.(V);
|
|
12610
12610
|
}, de = {
|
|
12611
12611
|
defaultKeymap: !1,
|
|
@@ -12618,7 +12618,7 @@ const ea = ({
|
|
|
12618
12618
|
}, re = (V) => {
|
|
12619
12619
|
Ne(V);
|
|
12620
12620
|
}, Ie = (V) => {
|
|
12621
|
-
|
|
12621
|
+
Z(V);
|
|
12622
12622
|
}, Oe = (V) => (O(), F_(V)), ze = (V) => (O(), Lj(V)), Me = () => [
|
|
12623
12623
|
Yl(de),
|
|
12624
12624
|
Fh({ closeOnBlur: !1 }),
|
|
@@ -12668,7 +12668,7 @@ const ea = ({
|
|
|
12668
12668
|
va.editable.of(!1),
|
|
12669
12669
|
ni.readOnly.of(!0)
|
|
12670
12670
|
];
|
|
12671
|
-
return /* @__PURE__ */ t.jsxs(k_.Provider, { value:
|
|
12671
|
+
return /* @__PURE__ */ t.jsxs(k_.Provider, { value: ne, children: [
|
|
12672
12672
|
c,
|
|
12673
12673
|
/* @__PURE__ */ t.jsx(
|
|
12674
12674
|
ew,
|
|
@@ -12860,7 +12860,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12860
12860
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-close-small", color: null }),
|
|
12861
12861
|
showAriaLabelInTippy: !1,
|
|
12862
12862
|
ariaLabel: "close button",
|
|
12863
|
-
style:
|
|
12863
|
+
style: te.negativeGrey,
|
|
12864
12864
|
variant: W.borderLess,
|
|
12865
12865
|
size: j.xxs,
|
|
12866
12866
|
onClick: a
|
|
@@ -12955,7 +12955,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12955
12955
|
dataTestId: "config-diff-sort-button",
|
|
12956
12956
|
text: "Sort keys",
|
|
12957
12957
|
variant: W.borderLess,
|
|
12958
|
-
style:
|
|
12958
|
+
style: te.neutral,
|
|
12959
12959
|
size: j.small,
|
|
12960
12960
|
startIcon: N ? /* @__PURE__ */ t.jsx(
|
|
12961
12961
|
jc,
|
|
@@ -13067,14 +13067,14 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13067
13067
|
const { title: l, subtitle: d, strikeThrough: u, iconConfig: m } = c;
|
|
13068
13068
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
13069
13069
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col flex-grow-1 mw-none", children: [
|
|
13070
|
-
/* @__PURE__ */ t.jsx(
|
|
13070
|
+
/* @__PURE__ */ t.jsx(se, { content: l, placement: "right", children: /* @__PURE__ */ t.jsx(
|
|
13071
13071
|
"span",
|
|
13072
13072
|
{
|
|
13073
13073
|
className: `collapsible__item__title dc__truncate fs-13 lh-20 ${u ? "dc__strike-through" : ""}`,
|
|
13074
13074
|
children: l
|
|
13075
13075
|
}
|
|
13076
13076
|
) }),
|
|
13077
|
-
d && /* @__PURE__ */ t.jsx(
|
|
13077
|
+
d && /* @__PURE__ */ t.jsx(se, { content: d, placement: "right", children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate fw-4 lh-1-5 cn-7", children: d }) })
|
|
13078
13078
|
] }),
|
|
13079
13079
|
m && /* @__PURE__ */ t.jsx(
|
|
13080
13080
|
Ct,
|
|
@@ -13137,7 +13137,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13137
13137
|
style: { "--rotateBy": p ? "0deg" : "-90deg" }
|
|
13138
13138
|
}
|
|
13139
13139
|
),
|
|
13140
|
-
/* @__PURE__ */ t.jsx(
|
|
13140
|
+
/* @__PURE__ */ t.jsx(se, { content: l, placement: "right", children: /* @__PURE__ */ t.jsx("span", { className: "flex-grow-1 dc__align-left dc__truncate", children: l }) })
|
|
13141
13141
|
]
|
|
13142
13142
|
}
|
|
13143
13143
|
),
|
|
@@ -13902,15 +13902,15 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13902
13902
|
const y = async (K) => {
|
|
13903
13903
|
O({ ...S, isLoading: !0 });
|
|
13904
13904
|
try {
|
|
13905
|
-
const { result:
|
|
13905
|
+
const { result: ee } = await _j({
|
|
13906
13906
|
appId: +x,
|
|
13907
13907
|
envId: +g,
|
|
13908
13908
|
pagination: { offset: K, size: Pn }
|
|
13909
|
-
}), ge = new Map((
|
|
13909
|
+
}), ge = new Map((ee.cdWorkflows || []).map((Te) => [Te.id, Te])), Ee = new Map([...S.data, ...ge]);
|
|
13910
13910
|
O({
|
|
13911
13911
|
isLoading: !1,
|
|
13912
13912
|
data: Ee,
|
|
13913
|
-
hasMore:
|
|
13913
|
+
hasMore: ee.cdWorkflows?.length === Pn
|
|
13914
13914
|
}), A(K_(Ee));
|
|
13915
13915
|
} catch {
|
|
13916
13916
|
O({ ...S, isLoading: !1 });
|
|
@@ -14452,7 +14452,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14452
14452
|
return M(() => (l && e.length && o({ callback: c, keys: e }), () => {
|
|
14453
14453
|
i(e);
|
|
14454
14454
|
}), [l, c]), l && /* @__PURE__ */ t.jsx("div", { className: Nn(we.dark), children: /* @__PURE__ */ t.jsx(
|
|
14455
|
-
|
|
14455
|
+
se,
|
|
14456
14456
|
{
|
|
14457
14457
|
placement: "left",
|
|
14458
14458
|
shortcutKeyCombo: {
|
|
@@ -14472,7 +14472,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14472
14472
|
}
|
|
14473
14473
|
) });
|
|
14474
14474
|
}, ww = ({ scrollToTop: e, scrollToBottom: s, style: n }) => /* @__PURE__ */ t.jsx("div", { className: Nn(we.dark), children: /* @__PURE__ */ t.jsxs("div", { style: n, className: "dc__element-scroller flex column top br-4", children: [
|
|
14475
|
-
/* @__PURE__ */ t.jsx(
|
|
14475
|
+
/* @__PURE__ */ t.jsx(se, { alwaysShowTippyOnHover: !0, content: "Scroll to Top", placement: "left", children: /* @__PURE__ */ t.jsx(
|
|
14476
14476
|
"button",
|
|
14477
14477
|
{
|
|
14478
14478
|
className: "flex",
|
|
@@ -14483,7 +14483,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14483
14483
|
children: /* @__PURE__ */ t.jsx(ws, { className: "rotate", style: { "--rotateBy": "180deg" } })
|
|
14484
14484
|
}
|
|
14485
14485
|
) }),
|
|
14486
|
-
/* @__PURE__ */ t.jsx(
|
|
14486
|
+
/* @__PURE__ */ t.jsx(se, { alwaysShowTippyOnHover: !0, content: "Scroll to Bottom", placement: "left", children: /* @__PURE__ */ t.jsx(
|
|
14487
14487
|
"button",
|
|
14488
14488
|
{
|
|
14489
14489
|
className: "flex",
|
|
@@ -14735,53 +14735,53 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14735
14735
|
), [p, _] = w([]), [h, E] = w([]), [x, g] = w(0), [f, C] = w([]), { searchKey: N, handleSearch: b } = ol(), T = h.length > 0, S = z(() => p.every((K) => K.isOpen), [p]), O = S ? "Collapse all stages" : "Expand all stages", { registerShortcut: R, unregisterShortcut: A } = on(), y = d[0]?.startsWith(Fd) || !1;
|
|
14736
14736
|
function v({
|
|
14737
14737
|
log: K,
|
|
14738
|
-
currentIndex:
|
|
14738
|
+
currentIndex: ee = -1,
|
|
14739
14739
|
targetSearchKey: ge = N,
|
|
14740
14740
|
searchMatchResults: Ee = null,
|
|
14741
14741
|
searchIndex: Te = ""
|
|
14742
14742
|
}) {
|
|
14743
|
-
let
|
|
14743
|
+
let ne = !1;
|
|
14744
14744
|
try {
|
|
14745
|
-
if (K = K.replace(/\[[.]*m/, (
|
|
14746
|
-
const
|
|
14747
|
-
K =
|
|
14745
|
+
if (K = K.replace(/\[[.]*m/, (Z) => `\x1B[${Z}m`), ge && y) {
|
|
14746
|
+
const Z = K.split(nd), de = K.match(nd) || [], re = new RegExp(`(${OI(ge)})`, "ig");
|
|
14747
|
+
K = Z.reduce((Oe, ze, Me) => {
|
|
14748
14748
|
try {
|
|
14749
|
-
|
|
14750
|
-
ze.replace(re, (nt) => (Te && Ee?.push(Te), `\x1B[0m\x1B[48;2;${Ee &&
|
|
14749
|
+
ne = ne || re.test(ze), Oe.push(
|
|
14750
|
+
ze.replace(re, (nt) => (Te && Ee?.push(Te), `\x1B[0m\x1B[48;2;${Ee && ee === Ee.length - 1 ? "0;102;204" : "197;141;54"}m${nt}\x1B[0m${Me > 0 ? de[Me - 1] : ""}`))
|
|
14751
14751
|
);
|
|
14752
14752
|
} catch {
|
|
14753
14753
|
Oe.push(ze);
|
|
14754
14754
|
}
|
|
14755
|
-
return Me <
|
|
14755
|
+
return Me < Z.length - 1 && Oe.push(de[Me]), Oe;
|
|
14756
14756
|
}, []).join("");
|
|
14757
14757
|
}
|
|
14758
14758
|
return {
|
|
14759
14759
|
__html: new qh().ansi_to_html(K),
|
|
14760
|
-
isSearchKeyPresent:
|
|
14760
|
+
isSearchKeyPresent: ne
|
|
14761
14761
|
};
|
|
14762
14762
|
} catch {
|
|
14763
|
-
return { __html: K, isSearchKeyPresent:
|
|
14763
|
+
return { __html: K, isSearchKeyPresent: ne };
|
|
14764
14764
|
}
|
|
14765
14765
|
}
|
|
14766
|
-
const I = (K,
|
|
14767
|
-
const Te = p.length === 0,
|
|
14768
|
-
return Ee ? ge ||
|
|
14769
|
-
}, D = e.podStatus === hi.PENDING || !!(u && u.readyState <= 1), k = (K,
|
|
14766
|
+
const I = (K, ee, ge, Ee) => {
|
|
14767
|
+
const Te = p.length === 0, ne = ee ?? !0;
|
|
14768
|
+
return Ee ? ge || ne : Te ? K !== $n.SUCCESS || ge : ne;
|
|
14769
|
+
}, D = e.podStatus === hi.PENDING || !!(u && u.readyState <= 1), k = (K, ee) => {
|
|
14770
14770
|
const ge = p.reduce(
|
|
14771
|
-
(Ne,
|
|
14771
|
+
(Ne, Z) => (Ne[Z.stage] || (Ne[Z.stage] = {}), Ne[Z.stage][Z.startTime] = Z, Ne),
|
|
14772
14772
|
{}
|
|
14773
|
-
), Ee = {}, Te = [],
|
|
14774
|
-
if (
|
|
14773
|
+
), Ee = {}, Te = [], ne = d.reduce((Ne, Z, de) => {
|
|
14774
|
+
if (Z.startsWith(Fd))
|
|
14775
14775
|
try {
|
|
14776
14776
|
const { stage: re, startTime: Ie, endTime: Oe, status: ze, metadata: Me } = JSON.parse(
|
|
14777
|
-
|
|
14777
|
+
Z.split(_O)[1]
|
|
14778
14778
|
), nt = Ne.find((Xe) => Xe.stage === re && Xe.startTime === Ie), bt = ge[re]?.[Ie] ?? {};
|
|
14779
14779
|
if (nt)
|
|
14780
14780
|
nt.endTime = Oe, nt.status = ze, nt.isOpen = I(
|
|
14781
14781
|
ze,
|
|
14782
14782
|
bt.isOpen,
|
|
14783
14783
|
!!Ee[re]?.[Ie],
|
|
14784
|
-
!!
|
|
14784
|
+
!!ee
|
|
14785
14785
|
);
|
|
14786
14786
|
else {
|
|
14787
14787
|
const Xe = D ? $n.PROGRESSING : $n.FAILURE;
|
|
@@ -14795,7 +14795,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14795
14795
|
bt.isOpen,
|
|
14796
14796
|
// Wont be present in case of start stage since no logs are present yet
|
|
14797
14797
|
!!Ee[re]?.[Ie],
|
|
14798
|
-
!!
|
|
14798
|
+
!!ee
|
|
14799
14799
|
),
|
|
14800
14800
|
status: Xe,
|
|
14801
14801
|
targetPlatforms: Do(Me?.targetPlatforms),
|
|
@@ -14811,29 +14811,29 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14811
14811
|
stageIndex: Ne.length - 1,
|
|
14812
14812
|
lineNumberInsideStage: re.logs.length
|
|
14813
14813
|
}), { __html: Oe, isSearchKeyPresent: ze } = v({
|
|
14814
|
-
log:
|
|
14814
|
+
log: Z,
|
|
14815
14815
|
currentIndex: K,
|
|
14816
14816
|
searchMatchResults: Te,
|
|
14817
|
-
targetSearchKey:
|
|
14817
|
+
targetSearchKey: ee,
|
|
14818
14818
|
searchIndex: Ie
|
|
14819
14819
|
});
|
|
14820
14820
|
re.logs.push(Oe), ze && (re.isOpen = I(
|
|
14821
14821
|
re.status,
|
|
14822
14822
|
ge[re.stage]?.[re.startTime]?.isOpen,
|
|
14823
14823
|
!0,
|
|
14824
|
-
!!
|
|
14824
|
+
!!ee
|
|
14825
14825
|
), Ee[re.stage] || (Ee[re.stage] = {}), Ee[re.stage][re.startTime] = !0);
|
|
14826
14826
|
}
|
|
14827
14827
|
return Ne;
|
|
14828
14828
|
}, []);
|
|
14829
|
-
return E(Te),
|
|
14829
|
+
return E(Te), ne;
|
|
14830
14830
|
};
|
|
14831
14831
|
M(() => {
|
|
14832
14832
|
if (!d?.length)
|
|
14833
14833
|
return;
|
|
14834
14834
|
if (!y) {
|
|
14835
|
-
const
|
|
14836
|
-
C(
|
|
14835
|
+
const ee = d.map((ge) => v({ log: ge }).__html);
|
|
14836
|
+
C(ee);
|
|
14837
14837
|
return;
|
|
14838
14838
|
}
|
|
14839
14839
|
const K = k(x);
|
|
@@ -14841,8 +14841,8 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14841
14841
|
}, [d, D]);
|
|
14842
14842
|
const P = We(() => {
|
|
14843
14843
|
_(
|
|
14844
|
-
(K) => K.map((
|
|
14845
|
-
...
|
|
14844
|
+
(K) => K.map((ee) => ({
|
|
14845
|
+
...ee,
|
|
14846
14846
|
isOpen: !S
|
|
14847
14847
|
}))
|
|
14848
14848
|
);
|
|
@@ -14850,10 +14850,10 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14850
14850
|
M(() => (R({ callback: P, keys: ["E"] }), () => {
|
|
14851
14851
|
A(["E"]);
|
|
14852
14852
|
}), [P]);
|
|
14853
|
-
const U = (K,
|
|
14853
|
+
const U = (K, ee = N) => {
|
|
14854
14854
|
if (h.length > 0 || K === "reset") {
|
|
14855
14855
|
let ge = 0;
|
|
14856
|
-
K === "next" ? ge = (x + 1) % h.length : K === "prev" && (ge = x > 0 ? x - 1 : h.length - 1), g(ge), _(k(ge,
|
|
14856
|
+
K === "next" ? ge = (x + 1) % h.length : K === "prev" && (ge = x > 0 ? x - 1 : h.length - 1), g(ge), _(k(ge, ee));
|
|
14857
14857
|
}
|
|
14858
14858
|
}, L = () => {
|
|
14859
14859
|
U("next");
|
|
@@ -14862,11 +14862,11 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14862
14862
|
}, X = (K) => {
|
|
14863
14863
|
b(K), N === K ? L() : U("reset", K);
|
|
14864
14864
|
}, J = (K) => {
|
|
14865
|
-
const
|
|
14866
|
-
|
|
14865
|
+
const ee = structuredClone(p);
|
|
14866
|
+
ee[K].isOpen = !1, _(ee);
|
|
14867
14867
|
}, oe = (K) => {
|
|
14868
|
-
const
|
|
14869
|
-
|
|
14868
|
+
const ee = structuredClone(p);
|
|
14869
|
+
ee[K].isOpen = !0, _(ee);
|
|
14870
14870
|
}, fe = () => y ? /* @__PURE__ */ t.jsxs(
|
|
14871
14871
|
"div",
|
|
14872
14872
|
{
|
|
@@ -14932,7 +14932,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14932
14932
|
] })
|
|
14933
14933
|
] }),
|
|
14934
14934
|
/* @__PURE__ */ t.jsx(
|
|
14935
|
-
|
|
14935
|
+
se,
|
|
14936
14936
|
{
|
|
14937
14937
|
shortcutKeyCombo: {
|
|
14938
14938
|
text: O,
|
|
@@ -14956,20 +14956,20 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14956
14956
|
}
|
|
14957
14957
|
),
|
|
14958
14958
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col px-12 dc__gap-4", children: p.map(
|
|
14959
|
-
({ stage: K, isOpen:
|
|
14959
|
+
({ stage: K, isOpen: ee, logs: ge, endTime: Ee, startTime: Te, status: ne, targetPlatforms: Ne }, Z) => /* @__PURE__ */ t.jsx(
|
|
14960
14960
|
Dw,
|
|
14961
14961
|
{
|
|
14962
14962
|
stage: K,
|
|
14963
|
-
isOpen:
|
|
14963
|
+
isOpen: ee,
|
|
14964
14964
|
logs: ge,
|
|
14965
14965
|
endTime: Ee,
|
|
14966
14966
|
startTime: Te,
|
|
14967
14967
|
targetPlatforms: Ne,
|
|
14968
|
-
status:
|
|
14968
|
+
status: ne,
|
|
14969
14969
|
handleStageClose: J,
|
|
14970
14970
|
handleStageOpen: oe,
|
|
14971
|
-
stageIndex:
|
|
14972
|
-
isLoading:
|
|
14971
|
+
stageIndex: Z,
|
|
14972
|
+
isLoading: Z === p.length - 1 && D,
|
|
14973
14973
|
fullScreenView: a,
|
|
14974
14974
|
searchIndex: h[x],
|
|
14975
14975
|
logsRendererRef: c
|
|
@@ -14980,10 +14980,10 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14980
14980
|
]
|
|
14981
14981
|
}
|
|
14982
14982
|
) : /* @__PURE__ */ t.jsxs("div", { className: "logs__body dark-background flex-grow-1", "data-testid": "check-logs-detail", children: [
|
|
14983
|
-
f.map((K,
|
|
14983
|
+
f.map((K, ee) => (
|
|
14984
14984
|
// eslint-disable-next-line react/no-array-index-key
|
|
14985
14985
|
/* @__PURE__ */ t.jsxs("div", { className: "flex top left mb-10 lh-24", children: [
|
|
14986
|
-
/* @__PURE__ */ t.jsx("span", { className: "cn-4 col-2 pr-10", children:
|
|
14986
|
+
/* @__PURE__ */ t.jsx("span", { className: "cn-4 col-2 pr-10", children: ee + 1 }),
|
|
14987
14987
|
/* @__PURE__ */ t.jsx(
|
|
14988
14988
|
"p",
|
|
14989
14989
|
{
|
|
@@ -14993,7 +14993,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14993
14993
|
}
|
|
14994
14994
|
}
|
|
14995
14995
|
)
|
|
14996
|
-
] }, `logs-${
|
|
14996
|
+
] }, `logs-${ee}`)
|
|
14997
14997
|
)),
|
|
14998
14998
|
D && /* @__PURE__ */ t.jsx("div", { className: "flex left event-source-status", children: /* @__PURE__ */ t.jsx(st, {}) })
|
|
14999
14999
|
] });
|
|
@@ -15484,7 +15484,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15484
15484
|
/* @__PURE__ */ t.jsx(ya, { className: `scn-7 ${fu}` }),
|
|
15485
15485
|
/* @__PURE__ */ t.jsx("time", { className: "cn-9 fs-12 cn-9 fw-4 lh-20", children: c?.triggeredOn ? Bo(c.triggeredOn) : "--" }),
|
|
15486
15486
|
/* @__PURE__ */ t.jsx(wi, { className: `fcn-7 ${fu}` }),
|
|
15487
|
-
/* @__PURE__ */ t.jsx(
|
|
15487
|
+
/* @__PURE__ */ t.jsx(se, { content: s, children: /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-12 fw-4 lh-20 dc__truncate", children: s }) }),
|
|
15488
15488
|
/* @__PURE__ */ t.jsx(
|
|
15489
15489
|
Q_,
|
|
15490
15490
|
{
|
|
@@ -15522,7 +15522,7 @@ const ul = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15522
15522
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 cn-7", children: [
|
|
15523
15523
|
/* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: ue(s).format(jt.TWELVE_HOURS_FORMAT) }),
|
|
15524
15524
|
/* @__PURE__ */ t.jsx("div", { className: "dc__bullet ml-6 mr-6 dc__no-shrink" }),
|
|
15525
|
-
/* @__PURE__ */ t.jsx(
|
|
15525
|
+
/* @__PURE__ */ t.jsx(se, { content: i, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate", children: i }) })
|
|
15526
15526
|
] }),
|
|
15527
15527
|
/* @__PURE__ */ t.jsx(Z_, { addMarginTop: !0, ciMaterials: r, gitTriggers: o })
|
|
15528
15528
|
] })
|
|
@@ -15880,7 +15880,7 @@ const Jw = (e) => {
|
|
|
15880
15880
|
"’"
|
|
15881
15881
|
] }),
|
|
15882
15882
|
" to confirm"
|
|
15883
|
-
] }), Qw = (e) => e === zt.delete ?
|
|
15883
|
+
] }), Qw = (e) => e === zt.delete ? te.negative : te.default, hu = "confirmation-primary-button", eL = ({
|
|
15884
15884
|
title: e,
|
|
15885
15885
|
subtitle: s,
|
|
15886
15886
|
Icon: n,
|
|
@@ -15952,7 +15952,7 @@ const Jw = (e) => {
|
|
|
15952
15952
|
dataTestId: "confirmation-modal-secondary-button",
|
|
15953
15953
|
size: j.large,
|
|
15954
15954
|
variant: W.secondary,
|
|
15955
|
-
style: "style" in C ? C.style :
|
|
15955
|
+
style: "style" in C ? C.style : te.neutral,
|
|
15956
15956
|
disabled: C.disabled,
|
|
15957
15957
|
text: C.text,
|
|
15958
15958
|
onClick: C.onClick,
|
|
@@ -16153,7 +16153,7 @@ const Jw = (e) => {
|
|
|
16153
16153
|
isLoading: l,
|
|
16154
16154
|
text: "Re-deploy",
|
|
16155
16155
|
onClick: u,
|
|
16156
|
-
style:
|
|
16156
|
+
style: te.warning
|
|
16157
16157
|
}
|
|
16158
16158
|
}
|
|
16159
16159
|
}
|
|
@@ -16694,7 +16694,7 @@ const dc = ({
|
|
|
16694
16694
|
icon: /* @__PURE__ */ t.jsx(Ts, {}),
|
|
16695
16695
|
dataTestId: "table__action-widget--close",
|
|
16696
16696
|
component: it.button,
|
|
16697
|
-
style:
|
|
16697
|
+
style: te.negativeGrey,
|
|
16698
16698
|
variant: W.borderLess,
|
|
16699
16699
|
ariaLabel: "Clear selection(s)",
|
|
16700
16700
|
size: j.small,
|
|
@@ -16938,37 +16938,37 @@ const NL = ({
|
|
|
16938
16938
|
rowStartIconConfig: f,
|
|
16939
16939
|
onRowClick: C
|
|
16940
16940
|
}) => {
|
|
16941
|
-
const N = B(null), b = B(null), T = B(null), S = B(null), O = B(!1), [R, A] = w(null), [y, v] = w(!1), [I, D] = w({}), k = (
|
|
16942
|
-
O.current = !0, D(
|
|
16941
|
+
const N = B(null), b = B(null), T = B(null), S = B(null), O = B(!1), [R, A] = w(null), [y, v] = w(!1), [I, D] = w({}), k = (Q) => {
|
|
16942
|
+
O.current = !0, D(Q);
|
|
16943
16943
|
}, { width: P, Component: U } = p || {}, {
|
|
16944
16944
|
BulkActionsComponent: L,
|
|
16945
16945
|
bulkActionsData: G = null,
|
|
16946
16946
|
BulkOperationModal: X,
|
|
16947
16947
|
bulkOperationModalData: J = null,
|
|
16948
16948
|
disableSelectAllAcrossEvenIfPaginated: oe = !1
|
|
16949
|
-
} = c ?? {}, { showSeparatorBetweenRows: fe = !0 } = o ?? {}, { sortBy: K, sortOrder:
|
|
16949
|
+
} = c ?? {}, { showSeparatorBetweenRows: fe = !0 } = o ?? {}, { sortBy: K, sortOrder: ee, handleSorting: ge, pageSize: Ee, offset: Te, changePage: ne, changePageSize: Ne } = e ?? {}, Z = !!c, {
|
|
16950
16950
|
selectedIdentifiers: de = {},
|
|
16951
16951
|
isBulkSelectionApplied: re = !1,
|
|
16952
16952
|
setIdentifiers: Ie,
|
|
16953
16953
|
getSelectedIdentifiersCount: Oe
|
|
16954
16954
|
} = l ?? {}, {
|
|
16955
16955
|
handleResize: ze,
|
|
16956
|
-
gridTemplateColumns: Me = r.map((
|
|
16956
|
+
gridTemplateColumns: Me = r.map((Q) => typeof Q.size?.fixed == "number" ? `${Q.size.fixed}px` : "minmax(200px, 1fr)").join(" ")
|
|
16957
16957
|
} = n ?? {}, { visibleRows: nt, areAllRowsExpanded: bt, isAnyRowExpandable: Xe } = z(() => {
|
|
16958
|
-
const
|
|
16958
|
+
const Q = h ?? [], Re = m !== Ta.PAGINATED || m === Ta.PAGINATED && x ? Q : Q.slice(Te, Te + Ee), Je = Re.some((pt) => !!pt.expandableRows), Gt = Je && Re.reduce((pt, gs) => gs.expandableRows ? pt && !!I[gs.id] : pt, !0);
|
|
16959
16959
|
return {
|
|
16960
16960
|
visibleRows: Re.flatMap((pt) => pt.expandableRows && I[pt.id] ? [pt, ...pt.expandableRows] : [pt]),
|
|
16961
16961
|
areAllRowsExpanded: Gt,
|
|
16962
16962
|
isAnyRowExpandable: Je
|
|
16963
16963
|
};
|
|
16964
|
-
}, [m, Te, Ee, h, I]), Bt = P ? `${Me} ${typeof P == "number" ? `minmax(${P}px, 1fr)` : P}` : Me, V = Xe || f ? `${mL}px ${Bt}` : Bt;
|
|
16964
|
+
}, [m, Te, Ee, h, I]), Bt = P ? `${Me} ${typeof P == "number" ? `minmax(${P}px, 1fr)` : P}` : Me, V = (Xe || f) && !Z ? `${mL}px ${Bt}` : Bt;
|
|
16965
16965
|
M(() => {
|
|
16966
|
-
const
|
|
16966
|
+
const Q = () => {
|
|
16967
16967
|
v(N.current?.scrollLeft > 0);
|
|
16968
16968
|
}, Re = (Je) => {
|
|
16969
16969
|
["ArrowUp", "ArrowDown"].includes(Je.key) && Je.preventDefault();
|
|
16970
16970
|
};
|
|
16971
|
-
N.current.addEventListener("scroll",
|
|
16971
|
+
N.current.addEventListener("scroll", Q), N.current.addEventListener("keydown", Re);
|
|
16972
16972
|
}, []);
|
|
16973
16973
|
const be = re ? g : Oe?.() ?? 0, ce = m === Ta.PAGINATED && g > (_?.[0]?.value ?? Pn), { activeRowIndex: Le, setActiveRowIndex: Fe, shortcutContainerProps: lt } = NL(
|
|
16974
16974
|
{ bulkSelectionConfig: c, bulkSelectionReturnValue: l, handleToggleBulkSelectionOnRow: u },
|
|
@@ -16980,25 +16980,25 @@ const NL = ({
|
|
|
16980
16980
|
Fe(0);
|
|
16981
16981
|
}, [Te]), M(() => {
|
|
16982
16982
|
Ie?.(
|
|
16983
|
-
nt.reduce((
|
|
16983
|
+
nt.reduce((Q, Re) => (Q[Re.id] = Re, Q), {})
|
|
16984
16984
|
);
|
|
16985
16985
|
}, [nt]);
|
|
16986
16986
|
const hs = z(
|
|
16987
|
-
() => r.filter(({ field:
|
|
16987
|
+
() => r.filter(({ field: Q }) => Q !== Ca),
|
|
16988
16988
|
[r]
|
|
16989
|
-
), Jo = (
|
|
16990
|
-
ge(
|
|
16989
|
+
), Jo = (Q) => () => {
|
|
16990
|
+
ge(Q);
|
|
16991
16991
|
};
|
|
16992
16992
|
M(() => {
|
|
16993
16993
|
if (!Xe)
|
|
16994
16994
|
return () => {
|
|
16995
16995
|
};
|
|
16996
|
-
const
|
|
16996
|
+
const Q = (ht) => ({ detail: { activeRowData: pt } }) => {
|
|
16997
16997
|
pt.expandableRows && k((gs) => ({
|
|
16998
16998
|
...gs,
|
|
16999
16999
|
[pt.id]: ht
|
|
17000
17000
|
}));
|
|
17001
|
-
}, Re =
|
|
17001
|
+
}, Re = Q(!0), Je = Q(!1), Gt = Br;
|
|
17002
17002
|
return Gt.addEventListener(Qt.EXPAND_ROW, Re), Gt.addEventListener(Qt.COLLAPSE_ROW, Je), () => {
|
|
17003
17003
|
Gt.removeEventListener(Qt.EXPAND_ROW, Re), Gt.removeEventListener(Qt.COLLAPSE_ROW, Je);
|
|
17004
17004
|
};
|
|
@@ -17006,36 +17006,36 @@ const NL = ({
|
|
|
17006
17006
|
if (!C)
|
|
17007
17007
|
return () => {
|
|
17008
17008
|
};
|
|
17009
|
-
const
|
|
17009
|
+
const Q = ({ detail: { activeRowData: Je } }) => {
|
|
17010
17010
|
C(Je, Je.id.startsWith("expanded-row-"));
|
|
17011
17011
|
}, Re = Br;
|
|
17012
|
-
return Re.addEventListener(Qt.ENTER_PRESSED,
|
|
17013
|
-
Re.removeEventListener(Qt.ENTER_PRESSED,
|
|
17012
|
+
return Re.addEventListener(Qt.ENTER_PRESSED, Q), () => {
|
|
17013
|
+
Re.removeEventListener(Qt.ENTER_PRESSED, Q);
|
|
17014
17014
|
};
|
|
17015
17015
|
}, [C]);
|
|
17016
|
-
const Zo = (
|
|
17017
|
-
|
|
17016
|
+
const Zo = (Q) => {
|
|
17017
|
+
Q.stopPropagation(), k(
|
|
17018
17018
|
nt.reduce((Re, Je) => (Je.expandableRows && (Re[Je.id] = !bt), Re), {})
|
|
17019
17019
|
);
|
|
17020
|
-
}, Qo = (
|
|
17020
|
+
}, Qo = (Q) => {
|
|
17021
17021
|
if (O.current) {
|
|
17022
17022
|
O.current = !1;
|
|
17023
17023
|
return;
|
|
17024
17024
|
}
|
|
17025
|
-
|
|
17025
|
+
Q && !["INPUT", "TEXTAREA"].includes(document.activeElement.tagName.toUpperCase()) && Q.dataset.active === "true" && (Q.focus({ preventScroll: !0 }), RL(Q, N.current, S.current?.offsetHeight), Q.dataset.active = "false");
|
|
17026
17026
|
}, ei = () => {
|
|
17027
17027
|
A(null);
|
|
17028
|
-
}, ti = () => re && s ? h : Object.values(de), na = !!f || Xe, si = () => i && !hs.length ? Tr.map((
|
|
17028
|
+
}, ti = () => re && s ? h : Object.values(de), na = !!f || Xe, si = () => i && !hs.length ? Tr.map((Q) => /* @__PURE__ */ t.jsxs(
|
|
17029
17029
|
"div",
|
|
17030
17030
|
{
|
|
17031
17031
|
className: `px-20 flex left py-12 dc__gap-16 ${fe ? "border__secondary--bottom" : ""}`,
|
|
17032
17032
|
children: [
|
|
17033
|
-
na ||
|
|
17033
|
+
na || Z ? /* @__PURE__ */ t.jsx("div", { className: "shimmer w-20" }) : null,
|
|
17034
17034
|
Tr.map((Re) => /* @__PURE__ */ t.jsx("div", { className: "shimmer w-200" }, Re))
|
|
17035
17035
|
]
|
|
17036
17036
|
},
|
|
17037
|
-
|
|
17038
|
-
)) : i && hs.length || E ? Tr.map((
|
|
17037
|
+
Q
|
|
17038
|
+
)) : i && hs.length || E ? Tr.map((Q) => /* @__PURE__ */ t.jsxs(
|
|
17039
17039
|
"div",
|
|
17040
17040
|
{
|
|
17041
17041
|
className: "dc__grid px-20 border__secondary--bottom dc__gap-16",
|
|
@@ -17047,24 +17047,24 @@ const NL = ({
|
|
|
17047
17047
|
r.map(({ label: Re }) => /* @__PURE__ */ t.jsx("div", { className: "py-12 flex", "aria-label": "Loading...", children: /* @__PURE__ */ t.jsx("div", { className: "shimmer h-16 w-100" }) }, Re))
|
|
17048
17048
|
]
|
|
17049
17049
|
},
|
|
17050
|
-
|
|
17051
|
-
)) : nt.map((
|
|
17052
|
-
const Je = Le === Re, Gt = !!de[
|
|
17053
|
-
Vt.stopPropagation(), Fe(Re), C?.(
|
|
17050
|
+
Q
|
|
17051
|
+
)) : nt.map((Q, Re) => {
|
|
17052
|
+
const Je = Le === Re, Gt = !!de[Q.id] || re, ht = Q.id.startsWith("expanded-row-"), pt = (Vt) => {
|
|
17053
|
+
Vt.stopPropagation(), Fe(Re), C?.(Q, ht);
|
|
17054
17054
|
}, gs = () => {
|
|
17055
|
-
u(
|
|
17055
|
+
u(Q);
|
|
17056
17056
|
}, vn = (Vt) => {
|
|
17057
|
-
Vt.stopPropagation(),
|
|
17057
|
+
Vt.stopPropagation(), Q.expandableRows && k({
|
|
17058
17058
|
...I,
|
|
17059
|
-
[
|
|
17059
|
+
[Q.id]: !I[Q.id]
|
|
17060
17060
|
});
|
|
17061
|
-
}, Ae = Xe && !ht && !!
|
|
17061
|
+
}, Ae = Xe && !ht && !!Q.expandableRows || !!l, Tt = Sr(V, 0);
|
|
17062
17062
|
return /* @__PURE__ */ t.jsxs(
|
|
17063
17063
|
"div",
|
|
17064
17064
|
{
|
|
17065
17065
|
ref: Je ? Qo : null,
|
|
17066
17066
|
onClick: pt,
|
|
17067
|
-
className: `dc__grid px-20 dc__min-width-fit-content checkbox__parent-container dc__opacity-hover dc__opacity-hover--parent ${fe ? "border__secondary--bottom" : ""} fs-13 fw-4 lh-20 cn-9 generic-table__row dc__gap-16 ${Je ? "generic-table__row--active checkbox__parent-container--active" : ""} ${p ? "dc__opacity-hover dc__opacity-hover--parent" : ""} ${Gt ? "generic-table__row--bulk-selected" : ""} ${ht ? "generic-table__row--expanded-row" : ""} ${f && Ae ? "with-start-icon-and-bulk-or-expand-action" : ""} ${!ht && I[
|
|
17067
|
+
className: `dc__grid px-20 dc__min-width-fit-content checkbox__parent-container dc__opacity-hover dc__opacity-hover--parent ${fe ? "border__secondary--bottom" : ""} fs-13 fw-4 lh-20 cn-9 generic-table__row dc__gap-16 ${Je ? "generic-table__row--active checkbox__parent-container--active" : ""} ${p ? "dc__opacity-hover dc__opacity-hover--parent" : ""} ${Gt ? "generic-table__row--bulk-selected" : ""} ${ht ? "generic-table__row--expanded-row" : ""} ${f && Ae ? "with-start-icon-and-bulk-or-expand-action" : ""} ${!ht && I[Q.id] ? "generic-table__row--is-expanded" : ""} ${C ? "pointer" : ""}`,
|
|
17068
17068
|
style: {
|
|
17069
17069
|
gridTemplateColumns: V
|
|
17070
17070
|
},
|
|
@@ -17079,7 +17079,7 @@ const NL = ({
|
|
|
17079
17079
|
children: /* @__PURE__ */ t.jsx($, { ...f })
|
|
17080
17080
|
}
|
|
17081
17081
|
),
|
|
17082
|
-
!ht &&
|
|
17082
|
+
!ht && Q.expandableRows ? /* @__PURE__ */ t.jsx(
|
|
17083
17083
|
"div",
|
|
17084
17084
|
{
|
|
17085
17085
|
className: `flex expand-row-btn ${Tt.className}`,
|
|
@@ -17087,26 +17087,26 @@ const NL = ({
|
|
|
17087
17087
|
children: /* @__PURE__ */ t.jsx(
|
|
17088
17088
|
H,
|
|
17089
17089
|
{
|
|
17090
|
-
dataTestId: `expand-row-${
|
|
17090
|
+
dataTestId: `expand-row-${Q.id}`,
|
|
17091
17091
|
icon: /* @__PURE__ */ t.jsx(
|
|
17092
17092
|
$,
|
|
17093
17093
|
{
|
|
17094
17094
|
name: "ic-expand-right-sm",
|
|
17095
17095
|
color: null,
|
|
17096
|
-
rotateBy: I[
|
|
17096
|
+
rotateBy: I[Q.id] ? 90 : 0
|
|
17097
17097
|
}
|
|
17098
17098
|
),
|
|
17099
17099
|
ariaLabel: "Expand/Collapse row",
|
|
17100
17100
|
showAriaLabelInTippy: !1,
|
|
17101
17101
|
variant: W.borderLess,
|
|
17102
17102
|
size: j.xxs,
|
|
17103
|
-
style:
|
|
17103
|
+
style: te.neutral,
|
|
17104
17104
|
onClick: vn
|
|
17105
17105
|
}
|
|
17106
17106
|
)
|
|
17107
17107
|
}
|
|
17108
17108
|
) : null,
|
|
17109
|
-
Xe && (ht || !
|
|
17109
|
+
Xe && (ht || !Q.expandableRows && !f) && /* @__PURE__ */ t.jsx(
|
|
17110
17110
|
"div",
|
|
17111
17111
|
{
|
|
17112
17112
|
...ht ? {
|
|
@@ -17118,7 +17118,7 @@ const NL = ({
|
|
|
17118
17118
|
r.map(({ field: Vt, horizontallySticky: cr, CellComponent: aa }, rh) => {
|
|
17119
17119
|
const jl = Vt === Ca, oh = cr || jl, { className: wl = "", left: Ll = "" } = oh ? Sr(
|
|
17120
17120
|
V,
|
|
17121
|
-
rh + (Xe || f ? 1 : 0)
|
|
17121
|
+
rh + ((Xe || f) && !Z ? 1 : 0)
|
|
17122
17122
|
) : {};
|
|
17123
17123
|
return jl && !ht ? /* @__PURE__ */ t.jsx(
|
|
17124
17124
|
"div",
|
|
@@ -17145,17 +17145,17 @@ const NL = ({
|
|
|
17145
17145
|
aa,
|
|
17146
17146
|
{
|
|
17147
17147
|
field: Vt,
|
|
17148
|
-
value:
|
|
17148
|
+
value: Q.data[Vt],
|
|
17149
17149
|
signals: Br,
|
|
17150
|
-
row:
|
|
17150
|
+
row: Q,
|
|
17151
17151
|
filterData: e,
|
|
17152
17152
|
isRowActive: Je,
|
|
17153
17153
|
isExpandedRow: ht,
|
|
17154
|
-
isRowInExpandState: I[
|
|
17154
|
+
isRowInExpandState: I[Q.id],
|
|
17155
17155
|
expandRowCallback: vn,
|
|
17156
17156
|
...a
|
|
17157
17157
|
}
|
|
17158
|
-
) : /* @__PURE__ */ t.jsx("div", { className: "flex left", children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 cn-9 lh-20 dc__truncate", children:
|
|
17158
|
+
) : /* @__PURE__ */ t.jsx("div", { className: "flex left", children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 cn-9 lh-20 dc__truncate", children: Q.data[Vt] }, Vt) })
|
|
17159
17159
|
},
|
|
17160
17160
|
Vt
|
|
17161
17161
|
);
|
|
@@ -17164,12 +17164,12 @@ const NL = ({
|
|
|
17164
17164
|
"div",
|
|
17165
17165
|
{
|
|
17166
17166
|
className: `dc__position-sticky dc__right-0 dc__zi-1 ${Je ? "" : "dc__opacity-hover--child"}`,
|
|
17167
|
-
children: /* @__PURE__ */ t.jsx(U, { row:
|
|
17167
|
+
children: /* @__PURE__ */ t.jsx(U, { row: Q, ...a })
|
|
17168
17168
|
}
|
|
17169
17169
|
)
|
|
17170
17170
|
]
|
|
17171
17171
|
},
|
|
17172
|
-
|
|
17172
|
+
Q.id
|
|
17173
17173
|
);
|
|
17174
17174
|
}), ir = Sr(V, 0);
|
|
17175
17175
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -17193,8 +17193,8 @@ const NL = ({
|
|
|
17193
17193
|
ref: S,
|
|
17194
17194
|
className: "bg__primary dc__min-width-fit-content px-20 border__secondary--bottom dc__position-sticky dc__zi-2 dc__top-0 generic-table__header",
|
|
17195
17195
|
children: i && !hs.length ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox py-12 dc__gap-16", children: [
|
|
17196
|
-
na ||
|
|
17197
|
-
Tr.map((
|
|
17196
|
+
na || Z ? /* @__PURE__ */ t.jsx("div", { className: "shimmer w-20" }) : null,
|
|
17197
|
+
Tr.map((Q) => /* @__PURE__ */ t.jsx("div", { className: "shimmer w-200" }, Q))
|
|
17198
17198
|
] }) : /* @__PURE__ */ t.jsxs(
|
|
17199
17199
|
"div",
|
|
17200
17200
|
{
|
|
@@ -17224,16 +17224,16 @@ const NL = ({
|
|
|
17224
17224
|
showAriaLabelInTippy: !1,
|
|
17225
17225
|
variant: W.borderLess,
|
|
17226
17226
|
size: j.xxs,
|
|
17227
|
-
style:
|
|
17227
|
+
style: te.neutral,
|
|
17228
17228
|
onClick: Zo
|
|
17229
17229
|
}
|
|
17230
17230
|
)
|
|
17231
17231
|
}
|
|
17232
17232
|
) : null,
|
|
17233
|
-
!Xe && f && /* @__PURE__ */ t.jsx("div", {}),
|
|
17233
|
+
!Xe && f && !Z && /* @__PURE__ */ t.jsx("div", {}),
|
|
17234
17234
|
r.map(
|
|
17235
17235
|
({
|
|
17236
|
-
label:
|
|
17236
|
+
label: Q,
|
|
17237
17237
|
field: Re,
|
|
17238
17238
|
isSortable: Je,
|
|
17239
17239
|
size: Gt,
|
|
@@ -17270,15 +17270,15 @@ const NL = ({
|
|
|
17270
17270
|
children: /* @__PURE__ */ t.jsx(
|
|
17271
17271
|
ko,
|
|
17272
17272
|
{
|
|
17273
|
-
title:
|
|
17273
|
+
title: Q,
|
|
17274
17274
|
isSortable: !!Je,
|
|
17275
|
-
sortOrder:
|
|
17275
|
+
sortOrder: ee,
|
|
17276
17276
|
isSorted: K === Re,
|
|
17277
17277
|
triggerSorting: Jo(Re),
|
|
17278
17278
|
showTippyOnTruncate: ht,
|
|
17279
17279
|
disabled: E,
|
|
17280
17280
|
infoTooltipText: gs,
|
|
17281
|
-
...Ae ? { isResizable: Ae, handleResize: ze, id:
|
|
17281
|
+
...Ae ? { isResizable: Ae, handleResize: ze, id: Q } : { isResizable: !1 }
|
|
17282
17282
|
},
|
|
17283
17283
|
Re
|
|
17284
17284
|
)
|
|
@@ -17312,7 +17312,7 @@ const NL = ({
|
|
|
17312
17312
|
xL,
|
|
17313
17313
|
{
|
|
17314
17314
|
pageSize: Ee,
|
|
17315
|
-
changePage:
|
|
17315
|
+
changePage: ne,
|
|
17316
17316
|
changePageSize: Ne,
|
|
17317
17317
|
offset: Te,
|
|
17318
17318
|
rootClassName: "border__secondary--top flex dc__content-space px-20",
|
|
@@ -17396,7 +17396,7 @@ const NL = ({
|
|
|
17396
17396
|
}, []), M(() => {
|
|
17397
17397
|
f();
|
|
17398
17398
|
}, [n]);
|
|
17399
|
-
const
|
|
17399
|
+
const ee = async () => {
|
|
17400
17400
|
let ce = n.length;
|
|
17401
17401
|
return { filteredRows: await vL({
|
|
17402
17402
|
searchSortTimeoutRef: K,
|
|
@@ -17411,12 +17411,12 @@ const NL = ({
|
|
|
17411
17411
|
return ce = lt, Fe;
|
|
17412
17412
|
}
|
|
17413
17413
|
}), totalRows: ce };
|
|
17414
|
-
}, [ge, Ee, Te,
|
|
17415
|
-
|
|
17414
|
+
}, [ge, Ee, Te, ne] = Ft(
|
|
17415
|
+
ee,
|
|
17416
17416
|
[I, u, y, v, n, JSON.stringify(oe), p],
|
|
17417
17417
|
!!n
|
|
17418
17418
|
), Ne = z(() => (/* @__PURE__ */ new Date()).toISOString(), [a]), {
|
|
17419
|
-
isFetching:
|
|
17419
|
+
isFetching: Z,
|
|
17420
17420
|
data: de,
|
|
17421
17421
|
error: re,
|
|
17422
17422
|
refetch: Ie
|
|
@@ -17437,14 +17437,14 @@ const NL = ({
|
|
|
17437
17437
|
p
|
|
17438
17438
|
],
|
|
17439
17439
|
enabled: !!a
|
|
17440
|
-
}), Oe = a ?
|
|
17440
|
+
}), Oe = a ? Z : ge, ze = a ? de : Ee, Me = a ? re : Te, nt = a ? Ie : ne, { filteredRows: bt, totalRows: Xe } = z(
|
|
17441
17441
|
() => ze ?? { filteredRows: [], totalRows: 0 },
|
|
17442
17442
|
[ze]
|
|
17443
17443
|
), Bt = Oe || Me === uL, V = o ?? Ns, be = () => Me && !Bt && !h ? /* @__PURE__ */ t.jsx(ea, { code: Me.code, reload: nt }) : !Bt && !bt?.length && !h ? e !== Ua.NONE && (A !== void 0 ? A : X) ? /* @__PURE__ */ t.jsx(
|
|
17444
17444
|
pl,
|
|
17445
17445
|
{
|
|
17446
17446
|
...c.noRowsForFilterConfig,
|
|
17447
|
-
handleClearFilters: S ?? G
|
|
17447
|
+
handleClearFilters: c.noRowsForFilterConfig.handleClearFilters !== void 0 ? c.noRowsForFilterConfig.handleClearFilters : S ?? G
|
|
17448
17448
|
}
|
|
17449
17449
|
) : /* @__PURE__ */ t.jsx(tt, { ...c.noRowsConfig }) : /* @__PURE__ */ t.jsx(al, { shouldHookOntoWindow: !1, shortcutTimeout: 50, children: /* @__PURE__ */ t.jsx(
|
|
17450
17450
|
AL,
|
|
@@ -17673,7 +17673,7 @@ const NL = ({
|
|
|
17673
17673
|
showAriaLabelInTippy: !1,
|
|
17674
17674
|
onClick: n,
|
|
17675
17675
|
variant: W.borderLess,
|
|
17676
|
-
style:
|
|
17676
|
+
style: te.negativeGrey,
|
|
17677
17677
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-close-large", color: null }),
|
|
17678
17678
|
size: j.xs
|
|
17679
17679
|
}
|
|
@@ -17715,7 +17715,7 @@ const NL = ({
|
|
|
17715
17715
|
{
|
|
17716
17716
|
dataTestId: "footer-redeploy-button",
|
|
17717
17717
|
variant: W.primary,
|
|
17718
|
-
style:
|
|
17718
|
+
style: te.warning,
|
|
17719
17719
|
size: j.large,
|
|
17720
17720
|
text: "Re-deploy",
|
|
17721
17721
|
startIcon: /* @__PURE__ */ t.jsx($, { name: "ic-rocket-launch", color: null }),
|
|
@@ -17798,7 +17798,7 @@ const NL = ({
|
|
|
17798
17798
|
startIcon: /* @__PURE__ */ t.jsx(Um, {}),
|
|
17799
17799
|
text: "Abort",
|
|
17800
17800
|
variant: W.text,
|
|
17801
|
-
style:
|
|
17801
|
+
style: te.negative,
|
|
17802
17802
|
size: j.small
|
|
17803
17803
|
}
|
|
17804
17804
|
)
|
|
@@ -17983,7 +17983,7 @@ const NL = ({
|
|
|
17983
17983
|
text: "Some Resources",
|
|
17984
17984
|
variant: W.text,
|
|
17985
17985
|
size: j.medium,
|
|
17986
|
-
style:
|
|
17986
|
+
style: te.warning,
|
|
17987
17987
|
onClick: I
|
|
17988
17988
|
}
|
|
17989
17989
|
),
|
|
@@ -18102,7 +18102,7 @@ const NL = ({
|
|
|
18102
18102
|
startIcon: /* @__PURE__ */ t.jsx($, { name: "ic-rocket-launch", color: null }),
|
|
18103
18103
|
onClick: v,
|
|
18104
18104
|
variant: W.text,
|
|
18105
|
-
style:
|
|
18105
|
+
style: te.warning,
|
|
18106
18106
|
size: j.medium
|
|
18107
18107
|
}
|
|
18108
18108
|
}
|
|
@@ -18208,7 +18208,7 @@ const NL = ({
|
|
|
18208
18208
|
const v = /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
18209
18209
|
/* @__PURE__ */ t.jsxs("span", { className: "m-0 flexbox dc__align-items-center dc__gap-6", children: [
|
|
18210
18210
|
HL({ className: S, icon: r, showError: d, showWarning: u, size: o, active: a, iconElement: x }),
|
|
18211
|
-
/* @__PURE__ */ t.jsx(
|
|
18211
|
+
/* @__PURE__ */ t.jsx(se, { content: e, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate", children: e }) }),
|
|
18212
18212
|
YL(i, O),
|
|
18213
18213
|
WL(l)
|
|
18214
18214
|
] }),
|
|
@@ -18270,7 +18270,7 @@ const NL = ({
|
|
|
18270
18270
|
]
|
|
18271
18271
|
}
|
|
18272
18272
|
);
|
|
18273
|
-
return _ ? /* @__PURE__ */ t.jsx(
|
|
18273
|
+
return _ ? /* @__PURE__ */ t.jsx(se, { ...h, children: y() }) : y();
|
|
18274
18274
|
}, lf = ({
|
|
18275
18275
|
tabs: e = [],
|
|
18276
18276
|
size: s = j.large,
|
|
@@ -18459,21 +18459,21 @@ const NL = ({
|
|
|
18459
18459
|
// TODO: Ask if fetchIdData is required here as dependency
|
|
18460
18460
|
[R, O, A],
|
|
18461
18461
|
!!R && !!y
|
|
18462
|
-
), U = Do(v?.targetPlatforms), L = (
|
|
18462
|
+
), U = Do(v?.targetPlatforms), L = (ee, ge, Ee) => {
|
|
18463
18463
|
if (Ee) {
|
|
18464
18464
|
p?.result?.cdWorkflows?.length && n(Kf(p.result.cdWorkflows, "id")), u(zs.SUSPEND);
|
|
18465
18465
|
return;
|
|
18466
18466
|
}
|
|
18467
|
-
if (
|
|
18468
|
-
const Te = s.get(
|
|
18467
|
+
if (ee === ge?.id) {
|
|
18468
|
+
const Te = s.get(ee)?.appliedFilters ?? [], ne = s.get(ee)?.appliedFiltersTimestamp, Ne = s.get(ee)?.promotionApprovalMetadata, Z = s.get(ee)?.runSource, de = s.get(ee)?.targetConfig, re = s.get(ee)?.userApprovalMetadata, Ie = {
|
|
18469
18469
|
...Te.length ? { appliedFilters: Te } : {},
|
|
18470
|
-
...
|
|
18470
|
+
...ne ? { appliedFiltersTimestamp: ne } : {},
|
|
18471
18471
|
...Ne ? { promotionApprovalMetadata: Ne } : {},
|
|
18472
|
-
...
|
|
18472
|
+
...Z ? { runSource: Z } : {},
|
|
18473
18473
|
...de ? { targetConfig: de } : {},
|
|
18474
18474
|
...re ? { userApprovalMetadata: re } : {}
|
|
18475
18475
|
};
|
|
18476
|
-
n((Oe) => (Oe.set(
|
|
18476
|
+
n((Oe) => (Oe.set(ee, { ...ge, ...Ie }), new Map(Oe))), d === zs.FETCHING && u(zs.SUCCESS);
|
|
18477
18477
|
}
|
|
18478
18478
|
};
|
|
18479
18479
|
let G = !!d && d !== zs.SUSPEND;
|
|
@@ -18489,21 +18489,21 @@ const NL = ({
|
|
|
18489
18489
|
M(() => {
|
|
18490
18490
|
if (I)
|
|
18491
18491
|
return;
|
|
18492
|
-
let
|
|
18492
|
+
let ee = {
|
|
18493
18493
|
...D?.result,
|
|
18494
18494
|
imageComment: v?.imageComment,
|
|
18495
18495
|
imageReleaseTags: v?.imageReleaseTags
|
|
18496
18496
|
};
|
|
18497
|
-
G && (
|
|
18497
|
+
G && (ee = null), L(+R, ee, k);
|
|
18498
18498
|
}, [I, D, k]), M(() => {
|
|
18499
18499
|
if (X || !D || !G)
|
|
18500
18500
|
return;
|
|
18501
|
-
const
|
|
18501
|
+
const ee = {
|
|
18502
18502
|
...D?.result,
|
|
18503
18503
|
imageReleaseTags: J?.result?.imageReleaseTags,
|
|
18504
18504
|
imageComment: J?.result?.imageComment
|
|
18505
18505
|
};
|
|
18506
|
-
L(+R,
|
|
18506
|
+
L(+R, ee, oe);
|
|
18507
18507
|
}, [X, J, oe]);
|
|
18508
18508
|
const fe = z(() => !v || rO.has(v.podStatus?.toLowerCase() || v.status?.toLowerCase()) ? null : oO.has(v.status?.toLowerCase() || v.podStatus?.toLowerCase()) ? 1e4 : 3e4, [v]);
|
|
18509
18509
|
Wf(P, fe);
|
|
@@ -18627,9 +18627,9 @@ const NL = ({
|
|
|
18627
18627
|
{
|
|
18628
18628
|
className: `${vu} cn-9 fs-13 fw-4 lh-20`,
|
|
18629
18629
|
children: [
|
|
18630
|
-
/* @__PURE__ */ t.jsx(
|
|
18630
|
+
/* @__PURE__ */ t.jsx(se, { content: h.kind, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: h.kind }) }),
|
|
18631
18631
|
/* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: h.name }),
|
|
18632
|
-
/* @__PURE__ */ t.jsx(
|
|
18632
|
+
/* @__PURE__ */ t.jsx(se, { content: p(h), children: /* @__PURE__ */ t.jsx(
|
|
18633
18633
|
"span",
|
|
18634
18634
|
{
|
|
18635
18635
|
className: `app-summary__status-name f-${p(h)?.toLowerCase() || ""} dc__first-letter-capitalize--imp fs-13 fw-4 lh-20 dc__ellipsis-right`,
|
|
@@ -18645,7 +18645,7 @@ const NL = ({
|
|
|
18645
18645
|
dataTestId: "show-config-drift",
|
|
18646
18646
|
text: "Compare with desired",
|
|
18647
18647
|
variant: W.text,
|
|
18648
|
-
style:
|
|
18648
|
+
style: te.default,
|
|
18649
18649
|
onClick: s,
|
|
18650
18650
|
size: j.small
|
|
18651
18651
|
}
|
|
@@ -18741,7 +18741,7 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
18741
18741
|
{
|
|
18742
18742
|
className: `py-12 px-16 dc__grid dc__column-gap-16 info-card-item ${a ? "dc__align-items-center" : ""} ${n ? "" : "border__secondary--bottom"}`,
|
|
18743
18743
|
children: [
|
|
18744
|
-
/* @__PURE__ */ t.jsx(
|
|
18744
|
+
/* @__PURE__ */ t.jsx(se, { content: e, children: /* @__PURE__ */ t.jsx("h3", { className: "cn-9 fs-13 fw-4 lh-1-5 dc__truncate m-0 dc__no-shrink", children: e }) }),
|
|
18745
18745
|
typeof s == "string" ? /* @__PURE__ */ t.jsx(
|
|
18746
18746
|
Vo,
|
|
18747
18747
|
{
|
|
@@ -19017,7 +19017,7 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19017
19017
|
b,
|
|
19018
19018
|
T
|
|
19019
19019
|
] = Ft(g, [], n === "release"), S = n === "release" ? C : a, O = uc({ type: n, appDetails: S }), R = B(new AbortController()), A = B(null), y = async () => {
|
|
19020
|
-
const
|
|
19020
|
+
const Z = await Eo(
|
|
19021
19021
|
() => iD({
|
|
19022
19022
|
abortControllerRef: R,
|
|
19023
19023
|
appId: S.appType === Rt.DEVTRON_HELM_CHART ? S.installedAppId : S.appId,
|
|
@@ -19032,7 +19032,7 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19032
19032
|
}),
|
|
19033
19033
|
R
|
|
19034
19034
|
);
|
|
19035
|
-
return o?.(
|
|
19035
|
+
return o?.(Z), Z;
|
|
19036
19036
|
}, [
|
|
19037
19037
|
v,
|
|
19038
19038
|
I,
|
|
@@ -19045,8 +19045,8 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19045
19045
|
x.current = setTimeout(
|
|
19046
19046
|
async () => {
|
|
19047
19047
|
try {
|
|
19048
|
-
const
|
|
19049
|
-
T(
|
|
19048
|
+
const Z = await g();
|
|
19049
|
+
T(Z);
|
|
19050
19050
|
} catch {
|
|
19051
19051
|
}
|
|
19052
19052
|
U();
|
|
@@ -19054,7 +19054,7 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19054
19054
|
Number(window._env_.DEVTRON_APP_DETAILS_POLLING_INTERVAL) || ad
|
|
19055
19055
|
);
|
|
19056
19056
|
}, L = async () => {
|
|
19057
|
-
const
|
|
19057
|
+
const Z = Go.includes(
|
|
19058
19058
|
I?.deploymentStatus
|
|
19059
19059
|
), de = Number(
|
|
19060
19060
|
S.appType !== Rt.DEVTRON_HELM_CHART ? window._env_.DEVTRON_APP_DETAILS_POLLING_INTERVAL : window._env_.HELM_APP_DETAILS_POLLING_INTERVAL
|
|
@@ -19068,7 +19068,7 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19068
19068
|
}
|
|
19069
19069
|
L();
|
|
19070
19070
|
},
|
|
19071
|
-
|
|
19071
|
+
Z ? Vv : de
|
|
19072
19072
|
);
|
|
19073
19073
|
}, G = f || qt(N), X = v || qt(D), J = _ === St.DEPLOYMENT_STATUS && X;
|
|
19074
19074
|
M(() => {
|
|
@@ -19091,11 +19091,11 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19091
19091
|
title: `${S.appName} / Live and desired manifest comparison`,
|
|
19092
19092
|
component: /* @__PURE__ */ t.jsx(c, { appId: S.appId, envId: S.environmentId })
|
|
19093
19093
|
});
|
|
19094
|
-
} : null, K = async (
|
|
19095
|
-
oe(), h(
|
|
19096
|
-
},
|
|
19097
|
-
const
|
|
19098
|
-
return
|
|
19094
|
+
} : null, K = async (Z) => {
|
|
19095
|
+
oe(), h(Z);
|
|
19096
|
+
}, ee = (e || []).filter((Z) => !!Z), ge = () => _ ? _ === St.APP_STATUS ? S?.resourceTree ? "" : "Application status is not available" : !I || !uc({ type: n, appDetails: S }) ? "Deployment status is not available" : "" : "Status is not available", Ee = () => {
|
|
19097
|
+
const Z = ge();
|
|
19098
|
+
return Z ? /* @__PURE__ */ t.jsx(tt, { image: Ro, title: Z }) : _ === St.DEPLOYMENT_STATUS && S.deploymentAppType === Ot.HELM ? /* @__PURE__ */ t.jsx(
|
|
19099
19099
|
tt,
|
|
19100
19100
|
{
|
|
19101
19101
|
image: QL(
|
|
@@ -19139,7 +19139,7 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19139
19139
|
)
|
|
19140
19140
|
] })
|
|
19141
19141
|
] });
|
|
19142
|
-
}, Te = _ === St.DEPLOYMENT_STATUS ? D : null,
|
|
19142
|
+
}, Te = _ === St.DEPLOYMENT_STATUS ? D : null, ne = N || Te, Ne = N ? b : k;
|
|
19143
19143
|
return /* @__PURE__ */ t.jsx(Yo, { position: "right", width: "1024px", onClose: s, onEscape: s, children: /* @__PURE__ */ t.jsxs(
|
|
19144
19144
|
"div",
|
|
19145
19145
|
{
|
|
@@ -19148,16 +19148,16 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19148
19148
|
children: [
|
|
19149
19149
|
/* @__PURE__ */ t.jsxs("div", { className: "app-status-modal__header pt-12 flexbox-col px-20 dc__gap-12 border__primary--bottom dc__no-shrink", children: [
|
|
19150
19150
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__gap-4", children: [
|
|
19151
|
-
/* @__PURE__ */ t.jsx("h2", { className: "m-0 dc__truncate fs-16 fw-6 lh-1-5 dc__gap-4 flexbox cn-9", children:
|
|
19152
|
-
|
|
19151
|
+
/* @__PURE__ */ t.jsx("h2", { className: "m-0 dc__truncate fs-16 fw-6 lh-1-5 dc__gap-4 flexbox cn-9", children: ee.map((Z, de) => /* @__PURE__ */ t.jsxs(Ns, { children: [
|
|
19152
|
+
Z,
|
|
19153
19153
|
de !== e.length - 1 && /* @__PURE__ */ t.jsx("span", { className: "cn-6 fs-16 fw-4", children: "/" })
|
|
19154
|
-
] },
|
|
19154
|
+
] }, Z)) }),
|
|
19155
19155
|
/* @__PURE__ */ t.jsx(
|
|
19156
19156
|
H,
|
|
19157
19157
|
{
|
|
19158
19158
|
dataTestId: "close-modal-header-icon-button",
|
|
19159
19159
|
variant: W.borderLess,
|
|
19160
|
-
style:
|
|
19160
|
+
style: te.negativeGrey,
|
|
19161
19161
|
size: j.xs,
|
|
19162
19162
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-close-large", color: null }),
|
|
19163
19163
|
ariaLabel: "Close modal",
|
|
@@ -19184,9 +19184,9 @@ const nD = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
19184
19184
|
progressingProps: {
|
|
19185
19185
|
pageLoader: !0
|
|
19186
19186
|
},
|
|
19187
|
-
error:
|
|
19187
|
+
error: ne,
|
|
19188
19188
|
errorScreenManagerProps: {
|
|
19189
|
-
code:
|
|
19189
|
+
code: ne?.code,
|
|
19190
19190
|
reload: Ne
|
|
19191
19191
|
},
|
|
19192
19192
|
children: Ee()
|
|
@@ -20739,7 +20739,7 @@ const mD = {
|
|
|
20739
20739
|
onClick: s,
|
|
20740
20740
|
showAriaLabelInTippy: !1,
|
|
20741
20741
|
size: j.xs,
|
|
20742
|
-
style:
|
|
20742
|
+
style: te.negativeGrey,
|
|
20743
20743
|
variant: W.borderLess
|
|
20744
20744
|
}
|
|
20745
20745
|
)
|
|
@@ -21147,7 +21147,7 @@ const m8 = (e) => e.sort(
|
|
|
21147
21147
|
icon: /* @__PURE__ */ t.jsx(Ts, {}),
|
|
21148
21148
|
dataTestId: "rb-bulk-action__cross",
|
|
21149
21149
|
component: it.button,
|
|
21150
|
-
style:
|
|
21150
|
+
style: te.negativeGrey,
|
|
21151
21151
|
size: j.xs,
|
|
21152
21152
|
variant: W.borderLess,
|
|
21153
21153
|
ariaLabel: `Close ${i} drawer`,
|
|
@@ -21205,8 +21205,8 @@ const m8 = (e) => e.sort(
|
|
|
21205
21205
|
gridTemplateColumns: f.renderContentAtResultRowEnd ? `${g} min-content` : g
|
|
21206
21206
|
},
|
|
21207
21207
|
children: [
|
|
21208
|
-
/* @__PURE__ */ t.jsx(
|
|
21209
|
-
f.additionalKeys?.map((b) => /* @__PURE__ */ t.jsx(
|
|
21208
|
+
/* @__PURE__ */ t.jsx(se, { content: f.name, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: f.name }) }),
|
|
21209
|
+
f.additionalKeys?.map((b) => /* @__PURE__ */ t.jsx(se, { content: b.value, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: b.value || "-" }) })),
|
|
21210
21210
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6 dc__align-items-center dc__align-self-start", children: [
|
|
21211
21211
|
f.status !== "Pending" && uo(f.status),
|
|
21212
21212
|
/* @__PURE__ */ t.jsx("span", { children: f.status })
|
|
@@ -21227,7 +21227,7 @@ const m8 = (e) => e.sort(
|
|
|
21227
21227
|
dataTestId: "rb-bulk-action__abort",
|
|
21228
21228
|
size: j.large,
|
|
21229
21229
|
variant: W.secondary,
|
|
21230
|
-
style:
|
|
21230
|
+
style: te.negative,
|
|
21231
21231
|
onClick: r,
|
|
21232
21232
|
startIcon: /* @__PURE__ */ t.jsx(Um, {}),
|
|
21233
21233
|
text: "Abort",
|
|
@@ -21241,7 +21241,7 @@ const m8 = (e) => e.sort(
|
|
|
21241
21241
|
dataTestId: "rb-bulk-action__close",
|
|
21242
21242
|
size: j.large,
|
|
21243
21243
|
variant: W.secondary,
|
|
21244
|
-
style:
|
|
21244
|
+
style: te.neutral,
|
|
21245
21245
|
isLoading: e,
|
|
21246
21246
|
onClick: s,
|
|
21247
21247
|
text: "Close"
|
|
@@ -21253,7 +21253,7 @@ const m8 = (e) => e.sort(
|
|
|
21253
21253
|
dataTestId: "rb-bulk-action__retry",
|
|
21254
21254
|
size: j.large,
|
|
21255
21255
|
variant: W.primary,
|
|
21256
|
-
style:
|
|
21256
|
+
style: te.default,
|
|
21257
21257
|
component: it.button,
|
|
21258
21258
|
isLoading: e,
|
|
21259
21259
|
onClick: o,
|
|
@@ -21869,7 +21869,7 @@ const _8 = ({
|
|
|
21869
21869
|
style: { backgroundColor: e }
|
|
21870
21870
|
}
|
|
21871
21871
|
),
|
|
21872
|
-
/* @__PURE__ */ t.jsx(
|
|
21872
|
+
/* @__PURE__ */ t.jsx(se, { content: s, children: /* @__PURE__ */ t.jsx(
|
|
21873
21873
|
"span",
|
|
21874
21874
|
{
|
|
21875
21875
|
className: `fs-13 cn-9 font-ibm-plex-sans fw-4 lh-1-5 dc__truncate ${a ? "dc__strike-through" : ""}`,
|
|
@@ -23103,7 +23103,7 @@ const g8 = (e) => {
|
|
|
23103
23103
|
value: n,
|
|
23104
23104
|
label: e === "selectPhoneCode" ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
|
|
23105
23105
|
/* @__PURE__ */ t.jsx(hc, { country: n.iso2, size: 16 }),
|
|
23106
|
-
/* @__PURE__ */ t.jsx(
|
|
23106
|
+
/* @__PURE__ */ t.jsx(se, { content: a, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__truncate", children: a }) })
|
|
23107
23107
|
] }) : n.name,
|
|
23108
23108
|
startIcon: e === "default" ? /* @__PURE__ */ t.jsx(hc, { country: n.iso2 }) : null
|
|
23109
23109
|
};
|
|
@@ -24206,7 +24206,7 @@ const dP = ({
|
|
|
24206
24206
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 lh-20", children: "Uploading..." })
|
|
24207
24207
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
24208
24208
|
/* @__PURE__ */ t.jsx(Vx, { className: "icon-dim-16 dc__no-shrink scb-5" }),
|
|
24209
|
-
/* @__PURE__ */ t.jsx(
|
|
24209
|
+
/* @__PURE__ */ t.jsx(se, { content: n, children: /* @__PURE__ */ t.jsx("span", { className: "fs-12 lh-20 dc__ellipsis-right", children: n }) })
|
|
24210
24210
|
] }) }),
|
|
24211
24211
|
!e && /* @__PURE__ */ t.jsx("div", { className: "file-upload__remove-file", children: /* @__PURE__ */ t.jsx(
|
|
24212
24212
|
H,
|
|
@@ -24217,7 +24217,7 @@ const dP = ({
|
|
|
24217
24217
|
icon: /* @__PURE__ */ t.jsx(nn, {}),
|
|
24218
24218
|
onClick: l,
|
|
24219
24219
|
variant: W.borderLess,
|
|
24220
|
-
style:
|
|
24220
|
+
style: te.negativeGrey,
|
|
24221
24221
|
size: j.small
|
|
24222
24222
|
}
|
|
24223
24223
|
) })
|
|
@@ -24412,7 +24412,7 @@ const dP = ({
|
|
|
24412
24412
|
);
|
|
24413
24413
|
}, y = (v, I, D) => {
|
|
24414
24414
|
const k = n || v.data[I].disabled || !1, P = !(r[v.id]?.[I]?.isValid ?? !0), U = /* @__PURE__ */ t.jsx(
|
|
24415
|
-
|
|
24415
|
+
se,
|
|
24416
24416
|
{
|
|
24417
24417
|
alwaysShowTippyOnHover: !!v.data[I].tooltip?.content || k,
|
|
24418
24418
|
className: v.data[I].tooltip?.className,
|
|
@@ -24471,7 +24471,7 @@ const dP = ({
|
|
|
24471
24471
|
disabled: E || v.disableDelete,
|
|
24472
24472
|
onClick: b(v),
|
|
24473
24473
|
variant: W.borderLess,
|
|
24474
|
-
style:
|
|
24474
|
+
style: te.negativeGrey,
|
|
24475
24475
|
size: j.small
|
|
24476
24476
|
}
|
|
24477
24477
|
) })
|
|
@@ -24638,7 +24638,7 @@ const dP = ({
|
|
|
24638
24638
|
H,
|
|
24639
24639
|
{
|
|
24640
24640
|
size: j.small,
|
|
24641
|
-
style:
|
|
24641
|
+
style: te.neutral,
|
|
24642
24642
|
variant: W.secondary,
|
|
24643
24643
|
disabled: l,
|
|
24644
24644
|
onClick: p,
|
|
@@ -24913,7 +24913,7 @@ const dP = ({
|
|
|
24913
24913
|
{
|
|
24914
24914
|
variant: W.secondary,
|
|
24915
24915
|
size: j.medium,
|
|
24916
|
-
style:
|
|
24916
|
+
style: te.neutral,
|
|
24917
24917
|
onClick: a,
|
|
24918
24918
|
text: s ? "Cancel" : "Close",
|
|
24919
24919
|
dataTestId: "close-export-csv-button"
|
|
@@ -25355,7 +25355,7 @@ const ku = (e) => {
|
|
|
25355
25355
|
dangerouslySetInnerHTML: { __html: gn.sanitize(m(e)) }
|
|
25356
25356
|
}
|
|
25357
25357
|
), h = (E) => /* @__PURE__ */ t.jsx(
|
|
25358
|
-
|
|
25358
|
+
se,
|
|
25359
25359
|
{
|
|
25360
25360
|
className: "default-tt dc__word-break-all",
|
|
25361
25361
|
content: /* @__PURE__ */ t.jsxs("div", { className: "mw-200 flex column dc__content-start dc__align-start mxh-140 dc__overflow-auto", children: [
|
|
@@ -25481,7 +25481,7 @@ const ku = (e) => {
|
|
|
25481
25481
|
onClick: e,
|
|
25482
25482
|
size: j.xs,
|
|
25483
25483
|
variant: W.borderLess,
|
|
25484
|
-
style:
|
|
25484
|
+
style: te.negativeGrey
|
|
25485
25485
|
}
|
|
25486
25486
|
) })
|
|
25487
25487
|
]
|
|
@@ -25652,10 +25652,10 @@ const wP = (e) => e === If.NONE ? "" : "dc__border-n1", Yr = ({
|
|
|
25652
25652
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 flex-grow-1", children: [
|
|
25653
25653
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
|
25654
25654
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
|
|
25655
|
-
/* @__PURE__ */ t.jsx(
|
|
25655
|
+
/* @__PURE__ */ t.jsx(se, { content: e, children: /* @__PURE__ */ t.jsx("h3", { className: "fw-6 fs-13 lh-20 cn-9 m-0 generic-info-card__title dc__truncate dc__mxw-600", children: e }) }),
|
|
25656
25656
|
/* @__PURE__ */ t.jsx("div", { className: "generic-info-card__arrow dc__no-shrink flex", children: /* @__PURE__ */ t.jsx($, { color: "B500", name: "ic-caret-down-small", rotateBy: 270 }) })
|
|
25657
25657
|
] }),
|
|
25658
|
-
/* @__PURE__ */ t.jsx(
|
|
25658
|
+
/* @__PURE__ */ t.jsx(se, { content: n, children: /* @__PURE__ */ t.jsxs("h4", { className: "fw-4 fs-12 lh-16 cn-7 m-0 dc__truncate w-300", children: [
|
|
25659
25659
|
"By ",
|
|
25660
25660
|
n
|
|
25661
25661
|
] }) })
|
|
@@ -25739,7 +25739,7 @@ const wP = (e) => e === If.NONE ? "" : "dc__border-n1", Yr = ({
|
|
|
25739
25739
|
ariaLabel: `${s}-close-button`,
|
|
25740
25740
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-close-large", color: null }),
|
|
25741
25741
|
variant: W.borderLess,
|
|
25742
|
-
style:
|
|
25742
|
+
style: te.negativeGrey,
|
|
25743
25743
|
size: j.xs,
|
|
25744
25744
|
onClick: n,
|
|
25745
25745
|
showAriaLabelInTippy: !1
|
|
@@ -25761,7 +25761,7 @@ const wP = (e) => e === If.NONE ? "" : "dc__border-n1", Yr = ({
|
|
|
25761
25761
|
H,
|
|
25762
25762
|
{
|
|
25763
25763
|
variant: W.secondary,
|
|
25764
|
-
style:
|
|
25764
|
+
style: te.neutral,
|
|
25765
25765
|
...s.secondaryButton
|
|
25766
25766
|
}
|
|
25767
25767
|
),
|
|
@@ -25858,7 +25858,7 @@ const Tl = ({ id: e, className: s, isConnectable: n, children: a }) => {
|
|
|
25858
25858
|
isConnectable: n,
|
|
25859
25859
|
children: [
|
|
25860
25860
|
!!a && /* @__PURE__ */ t.jsx("span", { className: "dc__no-shrink flex dc__fill-available-space icon-dim-20", children: a }),
|
|
25861
|
-
/* @__PURE__ */ t.jsx(
|
|
25861
|
+
/* @__PURE__ */ t.jsx(se, { content: r, children: /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-20 fw-6 cn-9 dc__truncate", children: r }) })
|
|
25862
25862
|
]
|
|
25863
25863
|
}
|
|
25864
25864
|
);
|
|
@@ -26222,7 +26222,7 @@ const iM = async (e, s) => {
|
|
|
26222
26222
|
size: j.xs,
|
|
26223
26223
|
dataTestId: "getting-started-don't-show-again",
|
|
26224
26224
|
onClick: n,
|
|
26225
|
-
style:
|
|
26225
|
+
style: te.neutral,
|
|
26226
26226
|
variant: W.secondary
|
|
26227
26227
|
}
|
|
26228
26228
|
)
|
|
@@ -26386,7 +26386,7 @@ const iM = async (e, s) => {
|
|
|
26386
26386
|
dataTestId: "iframe-modal-close-button",
|
|
26387
26387
|
size: j.small,
|
|
26388
26388
|
onClick: i,
|
|
26389
|
-
style:
|
|
26389
|
+
style: te.negativeGrey,
|
|
26390
26390
|
variant: W.borderLess,
|
|
26391
26391
|
icon: /* @__PURE__ */ t.jsx(Ts, {}),
|
|
26392
26392
|
showAriaLabelInTippy: !1
|
|
@@ -26604,7 +26604,7 @@ const iM = async (e, s) => {
|
|
|
26604
26604
|
ariaLabel: "page-header-close-button",
|
|
26605
26605
|
icon: u ?? /* @__PURE__ */ t.jsx($, { name: "ic-close-large", color: null }),
|
|
26606
26606
|
variant: W.secondary,
|
|
26607
|
-
style:
|
|
26607
|
+
style: te.negativeGrey,
|
|
26608
26608
|
size: j.xs,
|
|
26609
26609
|
onClick: l,
|
|
26610
26610
|
showAriaLabelInTippy: !1
|
|
@@ -26927,7 +26927,7 @@ const xM = (e) => [
|
|
|
26927
26927
|
children: o[0]
|
|
26928
26928
|
}
|
|
26929
26929
|
),
|
|
26930
|
-
/* @__PURE__ */ t.jsx(
|
|
26930
|
+
/* @__PURE__ */ t.jsx(se, { content: o, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 dc__truncate dc__mxw-200", children: o }) })
|
|
26931
26931
|
] });
|
|
26932
26932
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
26933
26933
|
/* @__PURE__ */ t.jsx("div", { className: "flex left column", children: c ?? /* @__PURE__ */ t.jsx(Ct, { condition: !!e, wrap: u, children: /* @__PURE__ */ t.jsxs(
|
|
@@ -26971,7 +26971,7 @@ const xM = (e) => [
|
|
|
26971
26971
|
}, ua = ({ envStateText: e, title: s, tooltipContent: n }) => {
|
|
26972
26972
|
const { Icon: a, stateClassName: r } = vM(e);
|
|
26973
26973
|
return /* @__PURE__ */ t.jsx(
|
|
26974
|
-
|
|
26974
|
+
se,
|
|
26975
26975
|
{
|
|
26976
26976
|
alwaysShowTippyOnHover: !!n,
|
|
26977
26977
|
content: n,
|
|
@@ -27193,7 +27193,7 @@ const IM = ({
|
|
|
27193
27193
|
)
|
|
27194
27194
|
] });
|
|
27195
27195
|
}, yM = ({ parsingError: e, restoreLastSavedYAML: s, children: n }) => /* @__PURE__ */ t.jsx(
|
|
27196
|
-
|
|
27196
|
+
se,
|
|
27197
27197
|
{
|
|
27198
27198
|
alwaysShowTippyOnHover: !0,
|
|
27199
27199
|
interactive: !0,
|
|
@@ -27521,7 +27521,7 @@ const UM = ({
|
|
|
27521
27521
|
dataTestId: "copy-button",
|
|
27522
27522
|
text: "Copy link",
|
|
27523
27523
|
startIcon: s ? /* @__PURE__ */ t.jsx(Ya, {}) : /* @__PURE__ */ t.jsx(tp, {}),
|
|
27524
|
-
style:
|
|
27524
|
+
style: te.neutral,
|
|
27525
27525
|
variant: W.borderLess,
|
|
27526
27526
|
onClick: r
|
|
27527
27527
|
}
|
|
@@ -27607,7 +27607,7 @@ const UM = ({
|
|
|
27607
27607
|
variant: W.borderLess,
|
|
27608
27608
|
ariaLabel: "close activate license dialog",
|
|
27609
27609
|
onClick: n,
|
|
27610
|
-
style:
|
|
27610
|
+
style: te.negativeGrey,
|
|
27611
27611
|
icon: /* @__PURE__ */ t.jsx(nn, {}),
|
|
27612
27612
|
showAriaLabelInTippy: !1
|
|
27613
27613
|
}
|
|
@@ -28528,12 +28528,12 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
28528
28528
|
}) => {
|
|
28529
28529
|
const { appId: x } = Dt(), [g, f] = w(l || []), [C, N] = w(u || 0), [b, T] = w(
|
|
28530
28530
|
p || structuredClone(JM)
|
|
28531
|
-
), S = B(new AbortController()), O = (
|
|
28532
|
-
f(
|
|
28533
|
-
}, R = (
|
|
28534
|
-
N(
|
|
28535
|
-
}, A = (
|
|
28536
|
-
T(
|
|
28531
|
+
), S = B(new AbortController()), O = (ne) => {
|
|
28532
|
+
f(ne), d?.(ne);
|
|
28533
|
+
}, R = (ne) => {
|
|
28534
|
+
N(ne), m?.(ne);
|
|
28535
|
+
}, A = (ne) => {
|
|
28536
|
+
T(ne), _?.(ne);
|
|
28537
28537
|
}, { searchKey: y, selectedTags: v } = b || {}, I = () => Eo(
|
|
28538
28538
|
() => Uf({
|
|
28539
28539
|
searchKey: y,
|
|
@@ -28556,13 +28556,13 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
28556
28556
|
M(() => {
|
|
28557
28557
|
!L && !X && G && s(G);
|
|
28558
28558
|
}, [L, G, X]);
|
|
28559
|
-
const oe = (
|
|
28559
|
+
const oe = (ne, Ne = !1) => {
|
|
28560
28560
|
const {
|
|
28561
|
-
pluginStore: { parentPluginStore:
|
|
28561
|
+
pluginStore: { parentPluginStore: Z, pluginVersionStore: de },
|
|
28562
28562
|
totalCount: re,
|
|
28563
28563
|
parentPluginIdList: Ie
|
|
28564
|
-
} =
|
|
28565
|
-
a(rk(n,
|
|
28564
|
+
} = ne;
|
|
28565
|
+
a(rk(n, Z, de)), R(re);
|
|
28566
28566
|
const Oe = Ne ? structuredClone(g) : [], ze = Oe.reduce(
|
|
28567
28567
|
(Me, nt) => (Me[nt.parentPluginId] = !0, Me),
|
|
28568
28568
|
{}
|
|
@@ -28583,23 +28583,23 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
28583
28583
|
searchKey: "",
|
|
28584
28584
|
selectedTags: []
|
|
28585
28585
|
}), fe();
|
|
28586
|
-
},
|
|
28586
|
+
}, ee = (ne) => {
|
|
28587
28587
|
A({
|
|
28588
28588
|
...b,
|
|
28589
|
-
searchKey:
|
|
28589
|
+
searchKey: ne
|
|
28590
28590
|
}), fe();
|
|
28591
|
-
}, ge = (
|
|
28591
|
+
}, ge = (ne) => {
|
|
28592
28592
|
A({
|
|
28593
28593
|
...b,
|
|
28594
|
-
selectedTags:
|
|
28594
|
+
selectedTags: ne
|
|
28595
28595
|
}), fe();
|
|
28596
|
-
}, Ee = (
|
|
28596
|
+
}, Ee = (ne) => {
|
|
28597
28597
|
A({
|
|
28598
28598
|
...b,
|
|
28599
|
-
selectedTags:
|
|
28599
|
+
selectedTags: ne.selectedTags
|
|
28600
28600
|
}), fe();
|
|
28601
|
-
}, Te = (
|
|
28602
|
-
r(
|
|
28601
|
+
}, Te = (ne) => {
|
|
28602
|
+
r(ne);
|
|
28603
28603
|
};
|
|
28604
28604
|
return /* @__PURE__ */ t.jsxs("div", { className: `flexbox-col w-100 ${h}`, children: [
|
|
28605
28605
|
/* @__PURE__ */ t.jsxs("div", { className: "w-100 flexbox dc__gap-12 py-12 dc__position-sticky dc__top-0 bg__primary dc__zi-1 flex-wrap", children: [
|
|
@@ -28608,7 +28608,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
28608
28608
|
{
|
|
28609
28609
|
initialSearchText: y,
|
|
28610
28610
|
containerClassName: "flex-grow-1",
|
|
28611
|
-
handleEnter:
|
|
28611
|
+
handleEnter: ee,
|
|
28612
28612
|
inputProps: {
|
|
28613
28613
|
placeholder: "Search plugins",
|
|
28614
28614
|
autoFocus: !0
|
|
@@ -28810,7 +28810,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
28810
28810
|
}
|
|
28811
28811
|
)
|
|
28812
28812
|
] });
|
|
28813
|
-
}, lk = ({ title: e, value: s, size: n, bgColor: a, fgColor: r }) => /* @__PURE__ */ t.jsx(Tg, { title: e, value: s, size: n, bgColor: `var(--${a})`, fgColor: `var(--${r})` }), Zu = ({ dataTestId: e, href: s, title: n, tooltipProps: a }) => /* @__PURE__ */ t.jsx(
|
|
28813
|
+
}, lk = ({ title: e, value: s, size: n, bgColor: a, fgColor: r }) => /* @__PURE__ */ t.jsx(Tg, { title: e, value: s, size: n, bgColor: `var(--${a})`, fgColor: `var(--${r})` }), Zu = ({ dataTestId: e, href: s, title: n, tooltipProps: a }) => /* @__PURE__ */ t.jsx(se, { ...a, children: /* @__PURE__ */ t.jsx(
|
|
28814
28814
|
ks,
|
|
28815
28815
|
{
|
|
28816
28816
|
to: s,
|
|
@@ -29007,7 +29007,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29007
29007
|
n(h);
|
|
29008
29008
|
}, d = (_) => {
|
|
29009
29009
|
const h = _.customState?.propagateTag || !1, E = _.customState?.disablePropagateButton || _.data.tagKey.value.startsWith(Qu) || !1;
|
|
29010
|
-
return /* @__PURE__ */ t.jsx(
|
|
29010
|
+
return /* @__PURE__ */ t.jsx(se, { content: "Propagate tags to K8s resources", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx(
|
|
29011
29011
|
"button",
|
|
29012
29012
|
{
|
|
29013
29013
|
onClick: () => l(_.id),
|
|
@@ -29086,7 +29086,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29086
29086
|
ariaLabel: "Open in new tab",
|
|
29087
29087
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-arrow-square-out", color: null }),
|
|
29088
29088
|
variant: W.borderLess,
|
|
29089
|
-
style:
|
|
29089
|
+
style: te.neutral,
|
|
29090
29090
|
size: j.xs,
|
|
29091
29091
|
component: it.anchor,
|
|
29092
29092
|
anchorProps: {
|
|
@@ -29155,8 +29155,8 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29155
29155
|
primary: "bcb-1",
|
|
29156
29156
|
secondary: "bcb-1",
|
|
29157
29157
|
sidenav: "bg__sidenav-subsection-item"
|
|
29158
|
-
}, Tk = (e, s, n, a) => (r) => e ? /* @__PURE__ */ t.jsx(
|
|
29159
|
-
|
|
29158
|
+
}, Tk = (e, s, n, a) => (r) => e ? /* @__PURE__ */ t.jsx(se, { ...e, children: r }) : s ? /* @__PURE__ */ t.jsx(
|
|
29159
|
+
se,
|
|
29160
29160
|
{
|
|
29161
29161
|
alwaysShowTippyOnHover: !0,
|
|
29162
29162
|
className: "mxh-250 dc__overflow-auto mr-42",
|
|
@@ -29187,7 +29187,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29187
29187
|
const { isTextTruncated: l, handleMouseEnterEvent: d } = tc(), { isTextTruncated: u, handleMouseEnterEvent: m } = tc(), p = l || u;
|
|
29188
29188
|
return /* @__PURE__ */ t.jsxs("span", { className: "flexbox flex-grow-1 px-8 py-6 flexbox dc__gap-8 dc__align-start", children: [
|
|
29189
29189
|
e && /* @__PURE__ */ t.jsx(
|
|
29190
|
-
|
|
29190
|
+
se,
|
|
29191
29191
|
{
|
|
29192
29192
|
alwaysShowTippyOnHover: !!e.tooltipContent,
|
|
29193
29193
|
content: e.tooltipContent,
|
|
@@ -29599,7 +29599,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29599
29599
|
), Rk = ({
|
|
29600
29600
|
children: e,
|
|
29601
29601
|
tooltipContent: s
|
|
29602
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
29602
|
+
}) => /* @__PURE__ */ t.jsx(se, { alwaysShowTippyOnHover: !!s, content: s, children: /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: e }) }), fW = ({
|
|
29603
29603
|
identifier: e,
|
|
29604
29604
|
children: s,
|
|
29605
29605
|
rootClassName: n,
|
|
@@ -29615,7 +29615,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29615
29615
|
d(),
|
|
29616
29616
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-2", children: [
|
|
29617
29617
|
/* @__PURE__ */ t.jsx(
|
|
29618
|
-
|
|
29618
|
+
se,
|
|
29619
29619
|
{
|
|
29620
29620
|
...a ? { content: e, alwaysShowTippyOnHover: !1 } : { content: e },
|
|
29621
29621
|
children: /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20 dc__truncate", children: u() })
|
|
@@ -29934,7 +29934,7 @@ const ak = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
29934
29934
|
ariaLabel: "workflow-options-modal-close-button",
|
|
29935
29935
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-close-large", color: null }),
|
|
29936
29936
|
variant: W.secondary,
|
|
29937
|
-
style:
|
|
29937
|
+
style: te.negativeGrey,
|
|
29938
29938
|
size: j.medium,
|
|
29939
29939
|
onClick: p,
|
|
29940
29940
|
showAriaLabelInTippy: !1
|
|
@@ -31039,7 +31039,7 @@ const qW = ({
|
|
|
31039
31039
|
size: j.xxs_small_icon,
|
|
31040
31040
|
showAriaLabelInTippy: !0,
|
|
31041
31041
|
onClick: p,
|
|
31042
|
-
style:
|
|
31042
|
+
style: te.negativeGrey,
|
|
31043
31043
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-delete", color: null, size: 12 }),
|
|
31044
31044
|
disabled: n,
|
|
31045
31045
|
showTooltip: !0,
|
|
@@ -31057,7 +31057,7 @@ const qW = ({
|
|
|
31057
31057
|
onClick: p,
|
|
31058
31058
|
text: "Delete Pipeline",
|
|
31059
31059
|
variant: W.secondary,
|
|
31060
|
-
style:
|
|
31060
|
+
style: te.negative
|
|
31061
31061
|
}
|
|
31062
31062
|
), x = () => d && /* @__PURE__ */ t.jsx(
|
|
31063
31063
|
nL,
|
|
@@ -31507,7 +31507,7 @@ const f$ = (e) => {
|
|
|
31507
31507
|
disabled: l,
|
|
31508
31508
|
onClick: f,
|
|
31509
31509
|
variant: W.secondary,
|
|
31510
|
-
style:
|
|
31510
|
+
style: te.neutral
|
|
31511
31511
|
}
|
|
31512
31512
|
),
|
|
31513
31513
|
/* @__PURE__ */ t.jsx(
|
|
@@ -31570,11 +31570,11 @@ const Zf = ({
|
|
|
31570
31570
|
}) => {
|
|
31571
31571
|
const [_, h] = w(a || []), [E, x] = w(n ? n.comment : ""), [g, f] = w(o || []), [C, N] = w(n ? n.comment : ""), [b, T] = w(!1), [S, O] = w(!1), [R, A] = w(a || []), [y, v] = w(""), [I, D] = w([]), [k, P] = w([]), [U, L] = w([]), [G, X] = w(""), [J, oe] = w(""), [fe, K] = w(!1);
|
|
31572
31572
|
M(() => {
|
|
31573
|
-
|
|
31573
|
+
ee();
|
|
31574
31574
|
}, [a, n, c]), M(() => {
|
|
31575
31575
|
f(o || []);
|
|
31576
31576
|
}, [o]);
|
|
31577
|
-
const
|
|
31577
|
+
const ee = () => {
|
|
31578
31578
|
(m || !b) && (h(a || []), x(n ? n.comment : ""), N(n ? n.comment : ""), A(a || []), T(!1));
|
|
31579
31579
|
}, ge = () => {
|
|
31580
31580
|
T(!b), typeof d == "function" && d(s);
|
|
@@ -31583,7 +31583,7 @@ const Zf = ({
|
|
|
31583
31583
|
be?.length > 500 ? X("comment length cannot exceed 500 characters") : X(""), N(be);
|
|
31584
31584
|
}, Te = () => {
|
|
31585
31585
|
A(_), N(E), D([]), P([]), L([]), ge(), O(!1), v("");
|
|
31586
|
-
},
|
|
31586
|
+
}, ne = (V) => {
|
|
31587
31587
|
if (V.length == 0 || V.length >= 128 || V[0] == "." || V[0] == "-")
|
|
31588
31588
|
return v("Label name cannot be empty or exceed 128 characters or cannot start with . or -"), !1;
|
|
31589
31589
|
v("");
|
|
@@ -31594,7 +31594,7 @@ const Zf = ({
|
|
|
31594
31594
|
return V === sd.value || V === sd.value ? (v('Label name cannot be "latest" or "active"'), !1) : be || ce ? (v("This label is already being used in this application"), !1) : !0;
|
|
31595
31595
|
}, Ne = (V) => {
|
|
31596
31596
|
const be = V.toLowerCase().trim();
|
|
31597
|
-
if (
|
|
31597
|
+
if (ne(be)) {
|
|
31598
31598
|
const ce = {
|
|
31599
31599
|
id: 0,
|
|
31600
31600
|
tagName: be,
|
|
@@ -31606,7 +31606,7 @@ const Zf = ({
|
|
|
31606
31606
|
return D(Le), A([...R, ce]), O(!0), oe(""), Le;
|
|
31607
31607
|
}
|
|
31608
31608
|
return I;
|
|
31609
|
-
},
|
|
31609
|
+
}, Z = (V) => {
|
|
31610
31610
|
const be = [...R];
|
|
31611
31611
|
be[V] = {
|
|
31612
31612
|
...be[V],
|
|
@@ -31687,7 +31687,7 @@ const Zf = ({
|
|
|
31687
31687
|
const nt = (V) => {
|
|
31688
31688
|
V.key === "Enter" && V.target.value.trim() && Ne(V.target.value.trim());
|
|
31689
31689
|
}, bt = (V) => {
|
|
31690
|
-
V.target.value &&
|
|
31690
|
+
V.target.value && ne(V.target.value), oe(V.target.value);
|
|
31691
31691
|
}, Xe = (V) => {
|
|
31692
31692
|
je(V), J.trim() && Ne(J.trim());
|
|
31693
31693
|
}, Bt = () => {
|
|
@@ -31741,7 +31741,7 @@ const Zf = ({
|
|
|
31741
31741
|
isSoftDeleted: V?.deleted,
|
|
31742
31742
|
isEditing: b,
|
|
31743
31743
|
onSoftDeleteClick: (ce) => {
|
|
31744
|
-
je(ce),
|
|
31744
|
+
je(ce), Z(be);
|
|
31745
31745
|
},
|
|
31746
31746
|
onHardDeleteClick: (ce) => {
|
|
31747
31747
|
je(ce), de(be);
|
|
@@ -31811,7 +31811,7 @@ const Zf = ({
|
|
|
31811
31811
|
isSoftDeleted: V?.deleted,
|
|
31812
31812
|
isEditing: b,
|
|
31813
31813
|
onSoftDeleteClick: (ce) => {
|
|
31814
|
-
je(ce),
|
|
31814
|
+
je(ce), Z(be);
|
|
31815
31815
|
},
|
|
31816
31816
|
onHardDeleteClick: (ce) => {
|
|
31817
31817
|
je(ce), de(be);
|
|
@@ -31918,7 +31918,7 @@ const Zf = ({
|
|
|
31918
31918
|
fontSize: o = 13,
|
|
31919
31919
|
tippyContent: i = null
|
|
31920
31920
|
}) => /* @__PURE__ */ t.jsx(
|
|
31921
|
-
|
|
31921
|
+
se,
|
|
31922
31922
|
{
|
|
31923
31923
|
content: i || e,
|
|
31924
31924
|
placement: "bottom",
|
|
@@ -32065,7 +32065,7 @@ const b$ = (e) => {
|
|
|
32065
32065
|
icon: /* @__PURE__ */ t.jsx($, { name: "ic-close-small", color: null }),
|
|
32066
32066
|
size: j.xs,
|
|
32067
32067
|
variant: W.borderLess,
|
|
32068
|
-
style:
|
|
32068
|
+
style: te.negativeGrey,
|
|
32069
32069
|
dataTestId: "clear-search",
|
|
32070
32070
|
ariaLabel: "Clear search",
|
|
32071
32071
|
onClick: N,
|
|
@@ -32087,7 +32087,7 @@ const b$ = (e) => {
|
|
|
32087
32087
|
[j.small]: "py-2",
|
|
32088
32088
|
[j.medium]: "py-2",
|
|
32089
32089
|
[j.large]: "py-3"
|
|
32090
|
-
}, v$ = (e) => (s) => /* @__PURE__ */ t.jsx(
|
|
32090
|
+
}, v$ = (e) => (s) => /* @__PURE__ */ t.jsx(se, { content: e.content, placement: "bottom", ...e, alwaysShowTippyOnHover: !0, children: s }), R$ = ({
|
|
32091
32091
|
segment: e,
|
|
32092
32092
|
isSelected: s,
|
|
32093
32093
|
name: n,
|
|
@@ -32385,7 +32385,7 @@ export {
|
|
|
32385
32385
|
VW as Q,
|
|
32386
32386
|
W_ as R,
|
|
32387
32387
|
s_ as S,
|
|
32388
|
-
|
|
32388
|
+
se as T,
|
|
32389
32389
|
Ce as U,
|
|
32390
32390
|
Zk as V,
|
|
32391
32391
|
Il as W,
|
|
@@ -33105,7 +33105,7 @@ export {
|
|
|
33105
33105
|
c8 as kx,
|
|
33106
33106
|
QD as ky,
|
|
33107
33107
|
m8 as kz,
|
|
33108
|
-
|
|
33108
|
+
te as l,
|
|
33109
33109
|
Uv as l$,
|
|
33110
33110
|
hM as l0,
|
|
33111
33111
|
G_ as l1,
|