@devtron-labs/devtron-fe-common-lib 1.5.7-beta-7 → 1.5.7-beta-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-DKJexd7n.js → @code-editor-DR9cSow3.js} +359 -363
- package/dist/{@common-rjsf-BObv0w1e.js → @common-rjsf-0-xOPw_S.js} +1 -1
- package/dist/Shared/Components/ConfirmationModal/CannotDeleteModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +5 -2
- package/dist/Shared/Components/ConfirmationModal/utils.d.ts +1 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
- package/dist/Shared/Components/ConfirmationModal/constants.d.ts +0 -4
@@ -5,16 +5,16 @@ var Ho = (e) => {
|
|
5
5
|
var Tu = (e, s, n) => s in e ? Cu(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
6
|
var de = (e, s, n) => Tu(e, typeof s != "symbol" ? s + "" : s, n), Yo = (e, s, n) => s.has(e) || Ho("Cannot " + n);
|
7
7
|
var Ns = (e, s, n) => (Yo(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Zn = (e, s, n) => s.has(e) ? Ho("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Qn = (e, s, n, a) => (Yo(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
|
-
import { j as t, i as ae, n as Su, Q as gr, k as vu, D as Ca, d as Ml, h as Au, A as Iu, R as ju, s as yu, c as Ru, f as Ul, a as Bl, u as
|
9
|
-
import se, { useState as y, cloneElement as Pr, useRef as J, Component as qa, Children as Ko, createElement as mo, useMemo as ne, useCallback as
|
8
|
+
import { j as t, i as ae, n as Su, Q as gr, k as vu, D as Ca, d as Ml, h as Au, A as Iu, R as ju, s as yu, c as Ru, f as Ul, a as Bl, u as $l, J as Lu, b as Ou, e as wu, _ as Du, m as Ss } from "./@vendor-ROKJESOw.js";
|
9
|
+
import se, { useState as y, cloneElement as Pr, useRef as J, Component as qa, Children as Ko, createElement as mo, useMemo as ne, useCallback as Ge, useEffect as M, createContext as Vt, useContext as Os, Fragment as Xs, useReducer as Pu, createRef as ns, memo as po } from "react";
|
10
10
|
import { ReactComponent as Ut } from "./assets/ic-warning.10bcf8bd.svg";
|
11
11
|
import { ReactComponent as ku } from "./assets/ic-cpu.8be677ee.svg";
|
12
12
|
import { ReactComponent as Mu } from "./assets/ic-memory.c4159f96.svg";
|
13
|
-
import { ReactComponent as
|
13
|
+
import { ReactComponent as Fl } from "./assets/ic-timer.b62145ec.svg";
|
14
14
|
import { ReactComponent as Uu } from "./assets/ic-spray-can.44e87582.svg";
|
15
15
|
import { ReactComponent as Xa } from "./assets/ic-tag.1613fc59.svg";
|
16
|
-
import { Link as gs, useLocation as Es, useHistory as Jt, NavLink as rt, useParams as pt, useRouteMatch as Gt, generatePath as Is, Switch as Vl, Route as vs, Redirect as Bu, Prompt as
|
17
|
-
import { ReactComponent as
|
16
|
+
import { Link as gs, useLocation as Es, useHistory as Jt, NavLink as rt, useParams as pt, useRouteMatch as Gt, generatePath as Is, Switch as Vl, Route as vs, Redirect as Bu, Prompt as $u } from "react-router-dom";
|
17
|
+
import { ReactComponent as Fu } from "./assets/ic-delete-interactive.304dd293.svg";
|
18
18
|
import yt from "yaml";
|
19
19
|
import { ReactComponent as _o } from "./assets/ic-info-filled-override.99e8094a.svg";
|
20
20
|
import { ReactComponent as Vu } from "./assets/ic-var-initial.afdaa854.svg";
|
@@ -113,9 +113,9 @@ import { ReactComponent as Mm } from "./assets/ic-disconnected.551d6161.svg";
|
|
113
113
|
import { ReactComponent as Um } from "./assets/ic-timeout-red.5eda1010.svg";
|
114
114
|
import { ReactComponent as rc } from "./assets/ic-in-progress.0598554b.svg";
|
115
115
|
import { ReactComponent as Bm } from "./assets/ic-download.c30437cd.svg";
|
116
|
-
import
|
116
|
+
import $m from "./assets/ic-folder.051cd30d.svg";
|
117
117
|
import oc from "./assets/no-artifact.fd2d84d9.webp";
|
118
|
-
import
|
118
|
+
import Fm, { ReactComponent as Zt } from "./assets/ic-cross.01e03666.svg";
|
119
119
|
import { ReactComponent as ic } from "./assets/ic-arrow-counter-clockwise.01cbb0e1.svg";
|
120
120
|
import { ReactComponent as Vm } from "./assets/ic-minus.df865aaf.svg";
|
121
121
|
import { ReactComponent as Gm } from "./assets/ic-enter.cab07082.svg";
|
@@ -295,11 +295,11 @@ const pA = {
|
|
295
295
|
isInvalidValue: !1,
|
296
296
|
isSuggested: !0
|
297
297
|
};
|
298
|
-
var
|
298
|
+
var Be = /* @__PURE__ */ ((e) => (e[e.BAD_REQUEST = 400] = "BAD_REQUEST", e[e.UNAUTHORIZED = 401] = "UNAUTHORIZED", e[e.PERMISSION_DENIED = 403] = "PERMISSION_DENIED", e[e.NOT_FOUND = 404] = "NOT_FOUND", e[e.EXPECTATION_FAILED = 417] = "EXPECTATION_FAILED", e[e.INTERNAL_SERVER_ERROR = 500] = "INTERNAL_SERVER_ERROR", e[e.BAD_GATEWAY = 502] = "BAD_GATEWAY", e[e.SERVICE_TEMPORARY_UNAVAILABLE = 503] = "SERVICE_TEMPORARY_UNAVAILABLE", e))(Be || {});
|
299
299
|
const Bp = {
|
300
300
|
TITLE: "Access denied",
|
301
301
|
SUBTITLE: "You do not have required access to perform this action"
|
302
|
-
},
|
302
|
+
}, Ve = {
|
303
303
|
PAGE_NOT_FOUND: "Not found",
|
304
304
|
PAGE_NOT_EXIST: "Error 404: The requested resource could not be found. Please check the URL and try again.",
|
305
305
|
TAKE_BACK_HOME: "Go back home",
|
@@ -501,8 +501,8 @@ const Bp = {
|
|
501
501
|
CHART_PULL: "CHART_PULL",
|
502
502
|
CHART_PUSH: "CHART_PUSH"
|
503
503
|
};
|
504
|
-
var us = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.JSON = "json", e.SHELL = "shell", e.DOCKERFILE = "dockerfile", e.PLAINTEXT = "plaintext", e))(us || {}),
|
505
|
-
const
|
504
|
+
var us = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.JSON = "json", e.SHELL = "shell", e.DOCKERFILE = "dockerfile", e.PLAINTEXT = "plaintext", e))(us || {}), $p = /* @__PURE__ */ ((e) => (e.CONFIG = "CONFIG", e.DEPLOYMENT = "DEPLOYMENT", e.IMAGE_PROMOTION = "IMAGE-PROMOTION", e))($p || {});
|
505
|
+
const Fp = 2147483647, xA = {
|
506
506
|
APPROVAL: "approval",
|
507
507
|
PENDING: "pending"
|
508
508
|
};
|
@@ -549,7 +549,7 @@ const an = "0001-01-01T00:00:00Z", mc = [void 0, null, "", NaN], Qo = {
|
|
549
549
|
UNPROCESSABLE_CONTENT: 422
|
550
550
|
};
|
551
551
|
var pc = /* @__PURE__ */ ((e) => (e.EA_ONLY = "EA_ONLY", e.FULL = "FULL", e))(pc || {});
|
552
|
-
const
|
552
|
+
const $r = {
|
553
553
|
PREVIEW: "Preview",
|
554
554
|
DEPLOY_CUSTOM_APP_CI_CD: "Deploy custom app using CI/CD pipelines",
|
555
555
|
INSTALL_CUSTOM_CI_CD: "Install CI/CD",
|
@@ -573,8 +573,8 @@ const Fr = {
|
|
573
573
|
medium: 3,
|
574
574
|
low: 4,
|
575
575
|
unknown: 5
|
576
|
-
},
|
577
|
-
var
|
576
|
+
}, Fr = window.navigator.userAgent.toUpperCase().includes("MAC");
|
577
|
+
var $s = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e))($s || {});
|
578
578
|
const vA = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), hc = Symbol(
|
579
579
|
`The element at this index remains unchanged from the original object.
|
580
580
|
This symbol is used by @buildObjectFromPath & later consumed by @recursivelyRemoveSymbolFromArraysInObject`
|
@@ -742,7 +742,7 @@ async function n_(e, s, n, a, r = !1, o) {
|
|
742
742
|
}
|
743
743
|
);
|
744
744
|
}
|
745
|
-
function
|
745
|
+
function $n(e, s, n, a, r) {
|
746
746
|
const o = a?.abortControllerRef?.current ?? new AbortController(), i = a?.abortControllerRef?.current?.signal || a?.signal || o.signal, l = new Promise((c, d) => {
|
747
747
|
const u = window?._env_?.GLOBAL_API_TIMEOUT || Mp, m = a?.timeout ? a.timeout : u;
|
748
748
|
setTimeout(() => {
|
@@ -775,7 +775,7 @@ function Fn(e, s, n, a, r) {
|
|
775
775
|
});
|
776
776
|
});
|
777
777
|
}
|
778
|
-
const _t = (e, s, n, a) =>
|
778
|
+
const _t = (e, s, n, a) => $n(e, "POST", s, n, a), a_ = (e, s, n) => $n(e, "PUT", s, n), AA = (e, s, n) => $n(e, "PATCH", s, n), ie = (e, s) => $n(e, "GET", null, s), vo = (e, s, n) => $n(e, "DELETE", s, n), xc = (e, s) => (s.current.abort(), s.current = new AbortController(), e()), Bt = (e) => (
|
779
779
|
// The 0 code is common for aborted and blocked requests
|
780
780
|
e && e.code === 0 && e.message.search("abort|aborted") > -1
|
781
781
|
);
|
@@ -807,7 +807,7 @@ const h_ = {
|
|
807
807
|
PRECD: "PRECD",
|
808
808
|
POSTCD: "POSTCD",
|
809
809
|
ROLLBACK: "ROLLBACK"
|
810
|
-
},
|
810
|
+
}, Fs = 3, pa = 2, si = {
|
811
811
|
Clair: "Clair",
|
812
812
|
Trivy: "Trivy"
|
813
813
|
}, g_ = "This image is excluded for new deployment as it does not match the filter conditions configured for this environment.", jA = {
|
@@ -1173,8 +1173,8 @@ const yA = Object.values(
|
|
1173
1173
|
), L_ = {
|
1174
1174
|
Control: "Ctrl",
|
1175
1175
|
Shift: "⇧",
|
1176
|
-
Meta:
|
1177
|
-
Alt:
|
1176
|
+
Meta: Fr ? "⌘" : "Win",
|
1177
|
+
Alt: Fr ? "⌥" : "Alt",
|
1178
1178
|
F: "F",
|
1179
1179
|
E: "E",
|
1180
1180
|
R: "R",
|
@@ -1496,9 +1496,9 @@ const w_ = {
|
|
1496
1496
|
paddingLeft: 0
|
1497
1497
|
}),
|
1498
1498
|
...e
|
1499
|
-
}),
|
1499
|
+
}), $_ = (e, s) => e ? "var(--B100)" : s ? "var(--bg-secondary)" : "var(--bg-primary)", Ic = (e = {}) => (s, n) => ({
|
1500
1500
|
...s,
|
1501
|
-
backgroundColor:
|
1501
|
+
backgroundColor: $_(n.isSelected, n.isFocused),
|
1502
1502
|
color: n.isSelected ? "var(--B500)" : "var(--N900)",
|
1503
1503
|
textOverflow: "ellipsis",
|
1504
1504
|
fontWeight: "500",
|
@@ -1522,7 +1522,7 @@ const w_ = {
|
|
1522
1522
|
children: c()
|
1523
1523
|
}
|
1524
1524
|
) : c();
|
1525
|
-
},
|
1525
|
+
}, F_ = () => /* @__PURE__ */ t.jsx(ke, {}), V_ = (e) => {
|
1526
1526
|
const { data: s } = e;
|
1527
1527
|
return s.label ? /* @__PURE__ */ t.jsx(Pe.GroupHeading, { ...e, children: /* @__PURE__ */ t.jsx("div", { className: "flex dc__no-text-transform flex-justify dc__truncate-text h-100", children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate-text", children: s.label }) }) }) : null;
|
1528
1528
|
}, G_ = B_(), BA = ({
|
@@ -1548,7 +1548,7 @@ const w_ = {
|
|
1548
1548
|
}
|
1549
1549
|
) })
|
1550
1550
|
] });
|
1551
|
-
},
|
1551
|
+
}, $A = ({
|
1552
1552
|
title: e,
|
1553
1553
|
...s
|
1554
1554
|
}) => {
|
@@ -1566,7 +1566,7 @@ const w_ = {
|
|
1566
1566
|
i(),
|
1567
1567
|
Pr(n[1])
|
1568
1568
|
] }) });
|
1569
|
-
},
|
1569
|
+
}, FA = {
|
1570
1570
|
container: (e, s) => ({
|
1571
1571
|
...e,
|
1572
1572
|
...s.isDisabled && {
|
@@ -1801,7 +1801,7 @@ const yc = (e) => {
|
|
1801
1801
|
children: h
|
1802
1802
|
}
|
1803
1803
|
);
|
1804
|
-
},
|
1804
|
+
}, Fn = ({
|
1805
1805
|
heading: e,
|
1806
1806
|
infoText: s,
|
1807
1807
|
iconClass: n = "fcv-5",
|
@@ -1888,7 +1888,7 @@ const ps = {
|
|
1888
1888
|
}, xr = {
|
1889
1889
|
[Ee.CPU]: ku,
|
1890
1890
|
[Ee.MEMORY]: Mu,
|
1891
|
-
[Ee.BUILD_TIMEOUT]:
|
1891
|
+
[Ee.BUILD_TIMEOUT]: Fl,
|
1892
1892
|
[Ee.NODE_SELECTOR]: Uu,
|
1893
1893
|
[Ee.TOLERANCE]: Xa,
|
1894
1894
|
[Ee.CONFIG_MAP]: null,
|
@@ -2032,7 +2032,7 @@ const ps = {
|
|
2032
2032
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__align-items-center dc__gap-4", children: o || /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2033
2033
|
/* @__PURE__ */ t.jsx(pu, { breadcrumbs: s }),
|
2034
2034
|
/* @__PURE__ */ t.jsx(
|
2035
|
-
|
2035
|
+
Fn,
|
2036
2036
|
{
|
2037
2037
|
infoText: a ?? Ke.EDIT_DEFAULT_TOOLTIP,
|
2038
2038
|
additionalContent: r,
|
@@ -2543,7 +2543,7 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2543
2543
|
),
|
2544
2544
|
/* @__PURE__ */ t.jsx("div", { className: "dc__truncate", children: s.data.label })
|
2545
2545
|
] }) });
|
2546
|
-
},
|
2546
|
+
}, $t = ({
|
2547
2547
|
error: e,
|
2548
2548
|
icon: s,
|
2549
2549
|
helperText: n,
|
@@ -2577,7 +2577,7 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2577
2577
|
shouldRenderTextArea: O = !1,
|
2578
2578
|
onKeyDown: w,
|
2579
2579
|
shouldHideMenu: B = !1,
|
2580
|
-
|
2580
|
+
...F
|
2581
2581
|
}) => {
|
2582
2582
|
const [G, Z] = y(!1), [oe, me] = y(""), {
|
2583
2583
|
inputId: le,
|
@@ -2587,17 +2587,17 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2587
2587
|
value: fe,
|
2588
2588
|
options: Ce,
|
2589
2589
|
getOptionValue: k
|
2590
|
-
} =
|
2590
|
+
} = F, {
|
2591
2591
|
isGroupHeadingSelectable: D = !1,
|
2592
|
-
getIsOptionValid:
|
2592
|
+
getIsOptionValid: $ = () => !0,
|
2593
2593
|
customDisplayText: re = null
|
2594
|
-
} = x, ee = pe && !re, Te = _ && ee ? U.large : i, H = !_ && o, Ae = !N && S,
|
2594
|
+
} = x, ee = pe && !re, Te = _ && ee ? U.large : i, H = !_ && o, Ae = !N && S, Fe = `${le}-label`, Oe = `${le}-error-msg`, Yt = ne(
|
2595
2595
|
() => sf({
|
2596
2596
|
error: e,
|
2597
2597
|
size: Te,
|
2598
2598
|
menuSize: d,
|
2599
2599
|
variant: f,
|
2600
|
-
getIsOptionValid:
|
2600
|
+
getIsOptionValid: $,
|
2601
2601
|
isGroupHeadingSelectable: D,
|
2602
2602
|
shouldMenuAlignRight: C
|
2603
2603
|
}),
|
@@ -2610,7 +2610,7 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2610
2610
|
null,
|
2611
2611
|
k
|
2612
2612
|
) && !en(Ce, Qt, null, k);
|
2613
|
-
}, _r =
|
2613
|
+
}, _r = Ge(
|
2614
2614
|
(Ie) => /* @__PURE__ */ t.jsx(
|
2615
2615
|
df,
|
2616
2616
|
{
|
@@ -2620,18 +2620,18 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2620
2620
|
}
|
2621
2621
|
),
|
2622
2622
|
[c, I]
|
2623
|
-
), fr =
|
2623
|
+
), fr = Ge(
|
2624
2624
|
(Ie) => /* @__PURE__ */ t.jsx(mf, { ...Ie, disableDescriptionEllipsis: g }),
|
2625
2625
|
[g]
|
2626
|
-
), z = (Ie) => /* @__PURE__ */ t.jsx(_f, { ...Ie, getIsOptionValid:
|
2626
|
+
), z = (Ie) => /* @__PURE__ */ t.jsx(_f, { ...Ie, getIsOptionValid: $ }), xe = Ge(
|
2627
2627
|
(Ie) => /* @__PURE__ */ t.jsx(hf, { ...Ie, isGroupHeadingSelectable: D }),
|
2628
2628
|
[D]
|
2629
|
-
), ce = () => u ? /* @__PURE__ */ t.jsx(Ds, { reload: m }) : R ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null,
|
2629
|
+
), ce = () => u ? /* @__PURE__ */ t.jsx(Ds, { reload: m }) : R ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, Ue = (Ie) => /* @__PURE__ */ t.jsx(ae, { content: l, placement: "top", className: "default-tt", arrow: !1, children: Ie }), qe = (Ie) => {
|
2630
2630
|
const Qt = Ie?.trim();
|
2631
2631
|
Qt && L?.(Qt);
|
2632
2632
|
}, Et = (Ie, Qt) => {
|
2633
|
-
if (
|
2634
|
-
|
2633
|
+
if (F.onInputChange) {
|
2634
|
+
F.onInputChange(Ie, Qt);
|
2635
2635
|
return;
|
2636
2636
|
}
|
2637
2637
|
me(Ie);
|
@@ -2640,9 +2640,9 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2640
2640
|
}, Eu = () => {
|
2641
2641
|
Z(!0);
|
2642
2642
|
}, xu = (Ie) => {
|
2643
|
-
Z(!1),
|
2643
|
+
Z(!1), F.onBlur?.(Ie);
|
2644
2644
|
}, Nu = (...Ie) => {
|
2645
|
-
_ && Ra(
|
2645
|
+
_ && Ra(F.inputValue) && me(oe), F.onChange?.(...Ie);
|
2646
2646
|
}, bu = ne(
|
2647
2647
|
() => ({
|
2648
2648
|
name: E || le,
|
@@ -2656,7 +2656,7 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2656
2656
|
backspaceRemovesValue: _ && ee,
|
2657
2657
|
"aria-errormessage": Oe,
|
2658
2658
|
"aria-invalid": !!e,
|
2659
|
-
"aria-labelledby":
|
2659
|
+
"aria-labelledby": Fe,
|
2660
2660
|
hideSelectedOptions: !1,
|
2661
2661
|
shouldRenderCustomOptions: N || !1
|
2662
2662
|
}),
|
@@ -2670,7 +2670,7 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2670
2670
|
p,
|
2671
2671
|
Oe,
|
2672
2672
|
e,
|
2673
|
-
|
2673
|
+
Fe,
|
2674
2674
|
N,
|
2675
2675
|
ee,
|
2676
2676
|
re
|
@@ -2684,17 +2684,17 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2684
2684
|
className: "fs-13 lh-20 cn-7 fw-4 dc__block mb-0",
|
2685
2685
|
htmlFor: le,
|
2686
2686
|
"data-testid": `label-${le}`,
|
2687
|
-
id:
|
2687
|
+
id: Fe,
|
2688
2688
|
children: typeof r == "string" ? /* @__PURE__ */ t.jsxs("span", { className: `flex left ${K ? "dc__required-field" : ""}`, children: [
|
2689
2689
|
/* @__PURE__ */ t.jsx("span", { className: "dc__truncate", children: r }),
|
2690
2690
|
K && /* @__PURE__ */ t.jsx("span", { children: " " })
|
2691
2691
|
] }) : r
|
2692
2692
|
}
|
2693
2693
|
),
|
2694
|
-
/* @__PURE__ */ t.jsx(ot, { condition: V && !!l, wrap:
|
2694
|
+
/* @__PURE__ */ t.jsx(ot, { condition: V && !!l, wrap: Ue, children: /* @__PURE__ */ t.jsx("div", { className: "w-100", children: /* @__PURE__ */ t.jsx(
|
2695
2695
|
Tp,
|
2696
2696
|
{
|
2697
|
-
|
2697
|
+
...F,
|
2698
2698
|
...bu,
|
2699
2699
|
isMulti: _,
|
2700
2700
|
ref: v,
|
@@ -2723,7 +2723,7 @@ const af = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2723
2723
|
createOptionPosition: "first",
|
2724
2724
|
onCreateOption: qe,
|
2725
2725
|
renderMenuListFooter: !u && b,
|
2726
|
-
inputValue:
|
2726
|
+
inputValue: F.inputValue ?? oe,
|
2727
2727
|
onInputChange: Et,
|
2728
2728
|
icon: s,
|
2729
2729
|
showSelectedOptionIcon: H,
|
@@ -2808,7 +2808,7 @@ ${d.slice(S)}`;
|
|
2808
2808
|
n && h.key === "Enter" && _(d);
|
2809
2809
|
};
|
2810
2810
|
return /* @__PURE__ */ t.jsx(
|
2811
|
-
|
2811
|
+
$t,
|
2812
2812
|
{
|
2813
2813
|
...c,
|
2814
2814
|
isCreatable: n,
|
@@ -3099,7 +3099,7 @@ function Ei(e) {
|
|
3099
3099
|
const Mf = (e, s) => {
|
3100
3100
|
if (!e) return null;
|
3101
3101
|
const n = e.trim().replace(/\.git$/, "").replace(/\/$/, "");
|
3102
|
-
return n.includes(
|
3102
|
+
return n.includes($s.GITLAB) ? `${n}/-/tree/${s}` : n.includes($s.GITHUB) ? `${n}/tree/${s}` : n.includes($s.BITBUCKET) ? `${n}/branch/${s}` : n.includes($s.AZURE) ? `${n}/src/branch/${s}` : null;
|
3103
3103
|
}, tI = async ({
|
3104
3104
|
appId: e,
|
3105
3105
|
isCD: s = !1,
|
@@ -3251,13 +3251,13 @@ const xi = () => ({
|
|
3251
3251
|
}, oa = (e) => {
|
3252
3252
|
if (!e || !Array.isArray(e) || !e.every((s) => typeof s == "function"))
|
3253
3253
|
throw new Error("callback stack is undefined");
|
3254
|
-
},
|
3254
|
+
}, $f = ["input", "textarea", "select"], Ff = 300, $c = ({
|
3255
3255
|
ignoreTags: e,
|
3256
3256
|
preventDefault: s = !1,
|
3257
3257
|
shortcutTimeout: n,
|
3258
3258
|
children: a
|
3259
3259
|
}) => {
|
3260
|
-
const r = J(!1), o = J({}), i = J(/* @__PURE__ */ new Set()), l = J(-1), c = e ??
|
3260
|
+
const r = J(!1), o = J({}), i = J(/* @__PURE__ */ new Set()), l = J(-1), c = e ?? $f, d = Ge(
|
3261
3261
|
({ keys: E, callback: h, description: N = "" }) => {
|
3262
3262
|
const { keys: S, id: v } = ra(E);
|
3263
3263
|
if (typeof h != "function")
|
@@ -3270,21 +3270,21 @@ const xi = () => ({
|
|
3270
3270
|
o.current[v] = { keys: S, callbackStack: [h], description: N };
|
3271
3271
|
},
|
3272
3272
|
[]
|
3273
|
-
), u =
|
3273
|
+
), u = Ge((E) => {
|
3274
3274
|
const { id: h } = ra(E);
|
3275
3275
|
if (!o.current[h])
|
3276
3276
|
return;
|
3277
3277
|
const { callbackStack: N } = o.current[h];
|
3278
3278
|
oa(N), N.pop(), N.length || delete o.current[h];
|
3279
|
-
}, []), m =
|
3279
|
+
}, []), m = Ge((E) => {
|
3280
3280
|
r.current = E;
|
3281
|
-
}, []), p =
|
3281
|
+
}, []), p = Ge((E) => {
|
3282
3282
|
const { id: h } = ra(E);
|
3283
3283
|
if (!o.current[h])
|
3284
3284
|
return;
|
3285
3285
|
const { callbackStack: N } = o.current[h];
|
3286
3286
|
oa(N), N[N.length - 1]();
|
3287
|
-
}, []), f =
|
3287
|
+
}, []), f = Ge(() => {
|
3288
3288
|
if (!i.current.size)
|
3289
3289
|
return;
|
3290
3290
|
const { id: E } = ra(Array.from(i.current.values()));
|
@@ -3293,11 +3293,11 @@ const xi = () => ({
|
|
3293
3293
|
oa(h), h[h.length - 1]();
|
3294
3294
|
}
|
3295
3295
|
i.current.clear(), l.current > -1 && (clearTimeout(l.current), l.current = -1);
|
3296
|
-
}, []), g =
|
3296
|
+
}, []), g = Ge((E) => {
|
3297
3297
|
s && E.preventDefault(), !(c.map((h) => h.toUpperCase()).indexOf(E.target.tagName.toUpperCase()) > -1 || r.current) && (i.current.add(E.key.toUpperCase()), E.ctrlKey && i.current.add("CONTROL"), E.metaKey && i.current.add("META"), E.altKey && i.current.add("ALT"), E.shiftKey && i.current.add("SHIFT"), l.current === -1 && (l.current = setTimeout(() => {
|
3298
3298
|
f();
|
3299
|
-
}, n ??
|
3300
|
-
}, []), x =
|
3299
|
+
}, n ?? Ff)));
|
3300
|
+
}, []), x = Ge(() => {
|
3301
3301
|
i.current.clear();
|
3302
3302
|
}, []);
|
3303
3303
|
M(() => (window.addEventListener("keydown", g), window.addEventListener("keyup", f), window.addEventListener("blur", x), () => {
|
@@ -3313,7 +3313,7 @@ const xi = () => ({
|
|
3313
3313
|
[d, u, m, p]
|
3314
3314
|
);
|
3315
3315
|
return /* @__PURE__ */ t.jsx(Bc.Provider, { value: _, children: a });
|
3316
|
-
},
|
3316
|
+
}, Fc = ({
|
3317
3317
|
initialSortKey: e
|
3318
3318
|
} = {}) => {
|
3319
3319
|
const [s, n] = y({
|
@@ -3366,7 +3366,7 @@ const xi = () => ({
|
|
3366
3366
|
},
|
3367
3367
|
offset: d
|
3368
3368
|
};
|
3369
|
-
}, Cr = [
|
3369
|
+
}, Cr = [Fr ? "Meta" : "Control", "Enter"], Vf = ({
|
3370
3370
|
appliedFilterOptions: e,
|
3371
3371
|
handleApplyFilter: s,
|
3372
3372
|
options: n,
|
@@ -3411,7 +3411,7 @@ const xi = () => ({
|
|
3411
3411
|
return M(() => (r && c({ keys: Cr, callback: _ }), () => {
|
3412
3412
|
d(Cr);
|
3413
3413
|
}), [_, r]), /* @__PURE__ */ t.jsx("div", { className: "dc__mxw-250", children: /* @__PURE__ */ t.jsx(
|
3414
|
-
|
3414
|
+
$t,
|
3415
3415
|
{
|
3416
3416
|
...a,
|
3417
3417
|
options: n,
|
@@ -3430,7 +3430,7 @@ const xi = () => ({
|
|
3430
3430
|
icon: m
|
3431
3431
|
}
|
3432
3432
|
) });
|
3433
|
-
}, Gf = (e) => /* @__PURE__ */ t.jsx(
|
3433
|
+
}, Gf = (e) => /* @__PURE__ */ t.jsx($c, { ignoreTags: [], children: /* @__PURE__ */ t.jsx(Vf, { ...e }) }), Hf = ({
|
3434
3434
|
actionType: e,
|
3435
3435
|
label: s,
|
3436
3436
|
placeholder: n,
|
@@ -3501,7 +3501,7 @@ const xi = () => ({
|
|
3501
3501
|
}
|
3502
3502
|
) }),
|
3503
3503
|
o && /* @__PURE__ */ t.jsx(
|
3504
|
-
|
3504
|
+
$t,
|
3505
3505
|
{
|
3506
3506
|
inputId: `${e}-unit`,
|
3507
3507
|
classNamePrefix: "build-infra-unit-select",
|
@@ -4112,7 +4112,7 @@ const xi = () => ({
|
|
4112
4112
|
}
|
4113
4113
|
const O = h === "activate_cm" || h === "activate_cs";
|
4114
4114
|
if (T[R].isOverridden = O, O) {
|
4115
|
-
const B = (I[L]?.value || []).find((
|
4115
|
+
const B = (I[L]?.value || []).find((F) => F.id === b) || T[R];
|
4116
4116
|
T[R].useFormProps = B?.useFormProps, T[R].initialResponse = B?.initialResponse;
|
4117
4117
|
} else
|
4118
4118
|
T[R].useFormProps = T[R].defaultValue, T[R].initialResponse = T[R].defaultValueInitialResponse;
|
@@ -4167,12 +4167,12 @@ const xi = () => ({
|
|
4167
4167
|
T
|
4168
4168
|
).reduce(
|
4169
4169
|
(O, [w, B]) => {
|
4170
|
-
const
|
4170
|
+
const F = R[w]?.defaultValue, G = B?.active ? {} : F;
|
4171
4171
|
return O[w] = {
|
4172
4172
|
...B,
|
4173
4173
|
...G,
|
4174
4174
|
targetPlatform: A,
|
4175
|
-
defaultValue:
|
4175
|
+
defaultValue: F
|
4176
4176
|
}, O;
|
4177
4177
|
},
|
4178
4178
|
{}
|
@@ -4713,7 +4713,7 @@ const Nh = ({
|
|
4713
4713
|
m && /* @__PURE__ */ t.jsx(
|
4714
4714
|
be,
|
4715
4715
|
{
|
4716
|
-
icon: /* @__PURE__ */ t.jsx(
|
4716
|
+
icon: /* @__PURE__ */ t.jsx(Fu, {}),
|
4717
4717
|
ariaLabel: "Delete",
|
4718
4718
|
dataTestId: "user-role-groups__delete-button",
|
4719
4719
|
onClick: f,
|
@@ -5060,7 +5060,7 @@ const Oh = {
|
|
5060
5060
|
}
|
5061
5061
|
),
|
5062
5062
|
/* @__PURE__ */ t.jsx(
|
5063
|
-
|
5063
|
+
Fn,
|
5064
5064
|
{
|
5065
5065
|
heading: "Application Metrics",
|
5066
5066
|
infoText: "Capture and show key application metrics over time. (E.g. Status codes 2xx, 3xx, 5xx; throughput and latency).",
|
@@ -5244,7 +5244,7 @@ const Uh = (e) => {
|
|
5244
5244
|
] }),
|
5245
5245
|
children: /* @__PURE__ */ t.jsx("div", { className: "cursor flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(fo, { className: "icon-dim-18" }) })
|
5246
5246
|
}
|
5247
|
-
),
|
5247
|
+
), $h = (e) => e.replace(Rt.ESCAPED_CHARACTERS, "\\$&"), BI = ({ searchText: e, text: s, highlightClasses: n }) => {
|
5248
5248
|
if (!e)
|
5249
5249
|
return s;
|
5250
5250
|
try {
|
@@ -5258,7 +5258,7 @@ const Uh = (e) => {
|
|
5258
5258
|
}, wi = ({ identifier: e, preventFocus: s }) => {
|
5259
5259
|
const n = document.getElementById(e);
|
5260
5260
|
n && (s ? n.setAttribute("inert", "true") : n.removeAttribute("inert"));
|
5261
|
-
},
|
5261
|
+
}, Fh = (e) => !!(e.webhookData || e.author || e.message || e.modifiedTime || e.revision), $I = (e) => !!e?.every(Fh), FI = (e) => ({
|
5262
5262
|
Commit: e.revision,
|
5263
5263
|
Author: e.author,
|
5264
5264
|
Date: e.modifiedTime,
|
@@ -6222,7 +6222,7 @@ const Ng = {
|
|
6222
6222
|
title: "Scan in progress",
|
6223
6223
|
subTitle: "Scan result will be available once complete. Please check again later"
|
6224
6224
|
}, Nt = {
|
6225
|
-
TRIVY:
|
6225
|
+
TRIVY: Fs,
|
6226
6226
|
CLAIR: pa
|
6227
6227
|
}, ed = ({
|
6228
6228
|
isSorted: e,
|
@@ -6305,7 +6305,7 @@ const Ng = {
|
|
6305
6305
|
fontSize: s = 13,
|
6306
6306
|
spacingBetweenTextAndIcon: n = 6
|
6307
6307
|
}) => {
|
6308
|
-
const a = e ===
|
6308
|
+
const a = e === Fs;
|
6309
6309
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox", style: { gap: `${n}px` }, children: [
|
6310
6310
|
/* @__PURE__ */ t.jsxs("span", { className: `dc__italic-font-style fs-${s}`, children: [
|
6311
6311
|
"Scanned by",
|
@@ -6953,7 +6953,7 @@ const Ng = {
|
|
6953
6953
|
lastScanTimeString: e.StartedOn,
|
6954
6954
|
scanToolId: Nt[e.scanToolName],
|
6955
6955
|
status: e.status
|
6956
|
-
}),
|
6956
|
+
}), $g = (e, s, n) => {
|
6957
6957
|
const a = e?.list?.length ? yg(e.list) : null;
|
6958
6958
|
return {
|
6959
6959
|
...so(e),
|
@@ -6996,7 +6996,7 @@ const Ng = {
|
|
6996
6996
|
]
|
6997
6997
|
})) : null
|
6998
6998
|
};
|
6999
|
-
},
|
6999
|
+
}, Fg = (e, s, n) => e.list?.every((r) => !!r.target) ? $g(e, s, n) : {
|
7000
7000
|
...so(e),
|
7001
7001
|
...Uo(e, n)
|
7002
7002
|
}, Pa = (e) => {
|
@@ -7033,7 +7033,7 @@ const Ng = {
|
|
7033
7033
|
component: /* @__PURE__ */ t.jsx(
|
7034
7034
|
zn,
|
7035
7035
|
{
|
7036
|
-
detailViewData:
|
7036
|
+
detailViewData: Fg(a, s, n),
|
7037
7037
|
setDetailViewData: s,
|
7038
7038
|
children: /* @__PURE__ */ t.jsx("span", { className: "cb-5 fw-4 cursor", children: a.image })
|
7039
7039
|
}
|
@@ -7598,13 +7598,13 @@ const Ng = {
|
|
7598
7598
|
}), p = (_) => {
|
7599
7599
|
switch (_) {
|
7600
7600
|
case Q.CODE_SCAN:
|
7601
|
-
return l?.scanToolName === "TRIVY" ?
|
7601
|
+
return l?.scanToolName === "TRIVY" ? Fs : pa;
|
7602
7602
|
case Q.KUBERNETES_MANIFEST:
|
7603
|
-
return c?.scanToolName === "TRIVY" ?
|
7603
|
+
return c?.scanToolName === "TRIVY" ? Fs : pa;
|
7604
7604
|
case Q.IMAGE_SCAN:
|
7605
|
-
return i?.vulnerability?.list?.[0].scanToolName === "TRIVY" ?
|
7605
|
+
return i?.vulnerability?.list?.[0].scanToolName === "TRIVY" ? Fs : pa;
|
7606
7606
|
default:
|
7607
|
-
return
|
7607
|
+
return Fs;
|
7608
7608
|
}
|
7609
7609
|
}, f = (_, E) => {
|
7610
7610
|
a(!0), o({
|
@@ -8299,7 +8299,7 @@ const mE = {
|
|
8299
8299
|
d.value
|
8300
8300
|
))
|
8301
8301
|
}
|
8302
|
-
),
|
8302
|
+
), $i = {
|
8303
8303
|
[hs.light]: {
|
8304
8304
|
tippyContent: "Light",
|
8305
8305
|
icon: /* @__PURE__ */ t.jsx(em, { className: "scn-9" })
|
@@ -8317,10 +8317,10 @@ const mE = {
|
|
8317
8317
|
const i = Object.values(qt);
|
8318
8318
|
return {
|
8319
8319
|
tabs: i.map((l) => ({
|
8320
|
-
label: /* @__PURE__ */ t.jsx("span", { className: "dc__no-shrink icon-dim-20 flex dc__fill-available-space", children:
|
8320
|
+
label: /* @__PURE__ */ t.jsx("span", { className: "dc__no-shrink icon-dim-20 flex dc__fill-available-space", children: $i[l].icon }),
|
8321
8321
|
value: l
|
8322
8322
|
})),
|
8323
|
-
tooltips: i.map((l) =>
|
8323
|
+
tooltips: i.map((l) => $i[l].tippyContent)
|
8324
8324
|
};
|
8325
8325
|
}, []);
|
8326
8326
|
if (!window._env_.FEATURE_EXPERIMENTAL_THEMING_ENABLE)
|
@@ -8380,10 +8380,10 @@ const mE = {
|
|
8380
8380
|
] })
|
8381
8381
|
] }) });
|
8382
8382
|
}, hE = (e) => _t(Y.TELEMETRY_EVENT, e);
|
8383
|
-
let
|
8383
|
+
let Fi;
|
8384
8384
|
const gE = async (e, s) => {
|
8385
8385
|
const n = await ie(`${Y.SERVER_INFO_API}?showServerStatus=false`);
|
8386
|
-
return
|
8386
|
+
return Fi = n, typeof Storage < "u" && (localStorage.serverInfo = JSON.stringify(Fi)), Promise.resolve(n);
|
8387
8387
|
}, EE = 864e5, xn = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * EE, ao = async (e, s) => {
|
8388
8388
|
const n = {
|
8389
8389
|
eventType: s || e.target?.dataset.posthog,
|
@@ -8420,7 +8420,7 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
8420
8420
|
size: U.xs,
|
8421
8421
|
dataTestId: "getting-started-okay",
|
8422
8422
|
onClick: n,
|
8423
|
-
"data-posthog":
|
8423
|
+
"data-posthog": $r.TOOLTIP_OKAY
|
8424
8424
|
}
|
8425
8425
|
),
|
8426
8426
|
/* @__PURE__ */ t.jsx(
|
@@ -8431,7 +8431,7 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
8431
8431
|
dataTestId: "getting-started-don't-show-again",
|
8432
8432
|
onClick: a,
|
8433
8433
|
style: He.neutral,
|
8434
|
-
"data-posthog":
|
8434
|
+
"data-posthog": $r.TOOLTIP_DONT_SHOW_AGAIN,
|
8435
8435
|
variant: Le.secondary
|
8436
8436
|
}
|
8437
8437
|
)
|
@@ -8591,12 +8591,12 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
8591
8591
|
FEATURE_PROMO_EMBEDDED_BUTTON_TEXT: n,
|
8592
8592
|
FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
|
8593
8593
|
FEATURE_PROMO_EMBEDDED_IFRAME_URL: r
|
8594
|
-
} = window._env_, o =
|
8594
|
+
} = window._env_, o = Ge(() => {
|
8595
8595
|
s(!0), ds.event({
|
8596
8596
|
category: "PRIMARY_HEADER",
|
8597
8597
|
action: "HEADER_IFRAME_BUTTON_CLICKED"
|
8598
8598
|
});
|
8599
|
-
}, []), i =
|
8599
|
+
}, []), i = Ge(() => s(!1), []), l = () => /* @__PURE__ */ t.jsx(on, { close: i, children: /* @__PURE__ */ t.jsxs(
|
8600
8600
|
"div",
|
8601
8601
|
{
|
8602
8602
|
className: "modal-body--ci-material h-100 dc__overflow-hidden dc__border-left flex column dc__content-space w-100",
|
@@ -8688,12 +8688,12 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
8688
8688
|
M(() => {
|
8689
8689
|
w(+localStorage.getItem("clickedOkay"));
|
8690
8690
|
}, []);
|
8691
|
-
const
|
8691
|
+
const F = (V) => {
|
8692
8692
|
x(!1), V && f(+V);
|
8693
8693
|
}, G = () => {
|
8694
|
-
A(!b), j && I(!1), Ma("clickedOkay", 1),
|
8694
|
+
A(!b), j && I(!1), Ma("clickedOkay", 1), F();
|
8695
8695
|
}, Z = async (V) => {
|
8696
|
-
!window._env_.K8S_CLIENT && T.serverInfo?.installationType !== Ua.ENTERPRISE && await B(), I(!j), b && A(!1), Ma("clickedOkay", 1),
|
8696
|
+
!window._env_.K8S_CLIENT && T.serverInfo?.installationType !== Ua.ENTERPRISE && await B(), I(!j), b && A(!1), Ma("clickedOkay", 1), F(), await ao(V, $r.HELP), ds.event({
|
8697
8697
|
category: "Main Navigation",
|
8698
8698
|
action: "Help Clicked"
|
8699
8699
|
});
|
@@ -8741,7 +8741,7 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
8741
8741
|
s && s(),
|
8742
8742
|
r && o(),
|
8743
8743
|
m && (E ? /* @__PURE__ */ t.jsx(
|
8744
|
-
|
8744
|
+
Fn,
|
8745
8745
|
{
|
8746
8746
|
infoText: S,
|
8747
8747
|
heading: e,
|
@@ -8802,7 +8802,7 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
8802
8802
|
{
|
8803
8803
|
className: "w-300",
|
8804
8804
|
showHelpCard: !1,
|
8805
|
-
hideGettingStartedCard:
|
8805
|
+
hideGettingStartedCard: F,
|
8806
8806
|
loginCount: p
|
8807
8807
|
}
|
8808
8808
|
),
|
@@ -9018,7 +9018,7 @@ const xE = (e) => _t(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), NE = ({ className:
|
|
9018
9018
|
placeholder: a,
|
9019
9019
|
components: {
|
9020
9020
|
IndicatorSeparator: null,
|
9021
|
-
LoadingIndicator:
|
9021
|
+
LoadingIndicator: F_,
|
9022
9022
|
NoOptionsMessage: g,
|
9023
9023
|
GroupHeading: V_,
|
9024
9024
|
ClearIndicator: LE
|
@@ -9219,7 +9219,7 @@ const Vi = (e) => {
|
|
9219
9219
|
}, N = () => d ? /* @__PURE__ */ t.jsxs("div", { className: "flex left fs-16 cn-9 fw-6 dc__gap-4", children: [
|
9220
9220
|
/* @__PURE__ */ t.jsx("span", { "data-testid": m, className: "lh-32", children: r }),
|
9221
9221
|
/* @__PURE__ */ t.jsx(
|
9222
|
-
|
9222
|
+
Fn,
|
9223
9223
|
{
|
9224
9224
|
heading: r,
|
9225
9225
|
infoText: o(),
|
@@ -9421,9 +9421,9 @@ const Vi = (e) => {
|
|
9421
9421
|
ERROR: "error"
|
9422
9422
|
}, Ir = {
|
9423
9423
|
PENDING: "Pending"
|
9424
|
-
}, kE = "1", ME = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup", UE = "devtron-ci", la = 3, Hi = "deployment-status", BE = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], Yi = "STAGE_INFO",
|
9424
|
+
}, kE = "1", ME = "/resource-browser/1/devtron-ci/pod/k8sEmptyGroup", UE = "devtron-ci", la = 3, Hi = "deployment-status", BE = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], Yi = "STAGE_INFO", $E = "|";
|
9425
9425
|
var De = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(De || {}), ls = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(ls || {});
|
9426
|
-
const
|
9426
|
+
const FE = {
|
9427
9427
|
[je.SUCCEEDED]: "cg-5",
|
9428
9428
|
[je.HEALTHY]: "cg-5",
|
9429
9429
|
[je.FAILED]: "cr-5",
|
@@ -9525,7 +9525,7 @@ const GE = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9525
9525
|
case "time_out":
|
9526
9526
|
return /* @__PURE__ */ t.jsx(Um, { className: "icon-dim-20" });
|
9527
9527
|
default:
|
9528
|
-
return /* @__PURE__ */ t.jsx(
|
9528
|
+
return /* @__PURE__ */ t.jsx(Fl, { className: "icon-dim-20 timer-icon" });
|
9529
9529
|
}
|
9530
9530
|
}, WE = (e) => {
|
9531
9531
|
switch (e) {
|
@@ -9913,7 +9913,7 @@ const GE = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
9913
9913
|
] });
|
9914
9914
|
}
|
9915
9915
|
), ZE = ({ shouldPrompt: e }) => {
|
9916
|
-
const s =
|
9916
|
+
const s = Ge(
|
9917
9917
|
(n) => {
|
9918
9918
|
e && n.preventDefault();
|
9919
9919
|
},
|
@@ -10077,8 +10077,8 @@ const GE = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10077
10077
|
a((R) => {
|
10078
10078
|
const O = { ...R, [C]: L }, w = e?.validationMode ?? "onChange";
|
10079
10079
|
if (w === "onChange" || w === "all" || u[C] || c[C]) {
|
10080
|
-
const B = p(O),
|
10081
|
-
d({ ...c, [C]:
|
10080
|
+
const B = p(O), F = un(L, B[C]);
|
10081
|
+
d({ ...c, [C]: F });
|
10082
10082
|
}
|
10083
10083
|
return O;
|
10084
10084
|
});
|
@@ -10209,7 +10209,7 @@ const GE = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10209
10209
|
"data-testid": "hover-on-report-artifact",
|
10210
10210
|
children: [
|
10211
10211
|
/* @__PURE__ */ t.jsxs("div", { className: "ci-artifacts-grid flex left", children: [
|
10212
|
-
/* @__PURE__ */ t.jsx("div", { className: "bcn-1 flex br-4 icon-dim-40", children: /* @__PURE__ */ t.jsx("img", { src: e === "report" ?
|
10212
|
+
/* @__PURE__ */ t.jsx("div", { className: "bcn-1 flex br-4 icon-dim-40", children: /* @__PURE__ */ t.jsx("img", { src: e === "report" ? $m : um, className: "icon-dim-20", alt: "type" }) }),
|
10213
10213
|
a
|
10214
10214
|
] }),
|
10215
10215
|
e !== "report" && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
@@ -10708,17 +10708,17 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10708
10708
|
}) {
|
10709
10709
|
let k = !1;
|
10710
10710
|
try {
|
10711
|
-
if (K = K.replace(/\[[.]*m/, (
|
10712
|
-
const
|
10713
|
-
K =
|
10711
|
+
if (K = K.replace(/\[[.]*m/, ($) => `\x1B[${$}m`), pe && A) {
|
10712
|
+
const $ = K.split(ai), re = K.match(ai) || [], ee = new RegExp(`(${$h(pe)})`, "ig");
|
10713
|
+
K = $.reduce((H, Ae, Fe) => {
|
10714
10714
|
try {
|
10715
10715
|
k = k || ee.test(Ae), H.push(
|
10716
|
-
Ae.replace(ee, (Oe) => (Ce && fe?.push(Ce), `\x1B[0m\x1B[48;2;${fe && V === fe.length - 1 ? "0;102;204" : "197;141;54"}m${Oe}\x1B[0m${
|
10716
|
+
Ae.replace(ee, (Oe) => (Ce && fe?.push(Ce), `\x1B[0m\x1B[48;2;${fe && V === fe.length - 1 ? "0;102;204" : "197;141;54"}m${Oe}\x1B[0m${Fe > 0 ? re[Fe - 1] : ""}`))
|
10717
10717
|
);
|
10718
10718
|
} catch {
|
10719
10719
|
H.push(Ae);
|
10720
10720
|
}
|
10721
|
-
return
|
10721
|
+
return Fe < $.length - 1 && H.push(re[Fe]), H;
|
10722
10722
|
}, []).join("");
|
10723
10723
|
}
|
10724
10724
|
return {
|
@@ -10734,13 +10734,13 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10734
10734
|
return fe ? pe || k : Ce ? K !== Ks.SUCCESS || pe : k;
|
10735
10735
|
}, R = e.podStatus === Ir.PENDING || !!(d && d.readyState <= 1), O = (K, V) => {
|
10736
10736
|
const pe = m.reduce(
|
10737
|
-
(D,
|
10737
|
+
(D, $) => (D[$.stage] || (D[$.stage] = {}), D[$.stage][$.startTime] = $, D),
|
10738
10738
|
{}
|
10739
|
-
), fe = {}, Ce = [], k = c.reduce((D,
|
10740
|
-
if (
|
10739
|
+
), fe = {}, Ce = [], k = c.reduce((D, $, re) => {
|
10740
|
+
if ($.startsWith(Yi))
|
10741
10741
|
try {
|
10742
|
-
const { stage: ee, startTime: Te, endTime: H, status: Ae, metadata:
|
10743
|
-
|
10742
|
+
const { stage: ee, startTime: Te, endTime: H, status: Ae, metadata: Fe } = JSON.parse(
|
10743
|
+
$.split($E)[1]
|
10744
10744
|
), Oe = D.find((Pt) => Pt.stage === ee && Pt.startTime === Te), Yt = pe[ee]?.[Te] ?? {};
|
10745
10745
|
if (Oe)
|
10746
10746
|
Oe.endTime = H, Oe.status = Ae, Oe.isOpen = T(
|
@@ -10764,7 +10764,7 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10764
10764
|
!!V
|
10765
10765
|
),
|
10766
10766
|
status: Pt,
|
10767
|
-
targetPlatforms: ir(
|
10767
|
+
targetPlatforms: ir(Fe?.targetPlatforms),
|
10768
10768
|
logs: []
|
10769
10769
|
});
|
10770
10770
|
}
|
@@ -10777,7 +10777,7 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10777
10777
|
stageIndex: D.length - 1,
|
10778
10778
|
lineNumberInsideStage: ee.logs.length
|
10779
10779
|
}), { __html: H, isSearchKeyPresent: Ae } = L({
|
10780
|
-
log:
|
10780
|
+
log: $,
|
10781
10781
|
currentIndex: K,
|
10782
10782
|
searchMatchResults: Ce,
|
10783
10783
|
targetSearchKey: V,
|
@@ -10805,7 +10805,7 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10805
10805
|
const K = O(x);
|
10806
10806
|
p(K);
|
10807
10807
|
}, [c, R]);
|
10808
|
-
const w =
|
10808
|
+
const w = Ge(() => {
|
10809
10809
|
p(
|
10810
10810
|
(K) => K.map((V) => ({
|
10811
10811
|
...V,
|
@@ -10821,12 +10821,12 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10821
10821
|
let pe = 0;
|
10822
10822
|
K === "next" ? pe = (x + 1) % f.length : K === "prev" && (pe = x > 0 ? x - 1 : f.length - 1), _(pe), p(O(pe, V));
|
10823
10823
|
}
|
10824
|
-
},
|
10824
|
+
}, F = () => {
|
10825
10825
|
B("next");
|
10826
10826
|
}, G = () => {
|
10827
10827
|
B("prev");
|
10828
10828
|
}, Z = (K) => {
|
10829
|
-
S(K), N === K ?
|
10829
|
+
S(K), N === K ? F() : B("reset", K);
|
10830
10830
|
}, oe = (K) => {
|
10831
10831
|
const V = structuredClone(m);
|
10832
10832
|
V[K].isOpen = !1, p(V);
|
@@ -10888,7 +10888,7 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10888
10888
|
{
|
10889
10889
|
type: "button",
|
10890
10890
|
className: `dc__unset-button-styles flex p-6 br-4 dc__bg-n0--opacity-0_2 ${v ? "" : "dc__disabled"}`,
|
10891
|
-
onClick:
|
10891
|
+
onClick: F,
|
10892
10892
|
"data-testid": "logs-next-search-match",
|
10893
10893
|
"aria-label": "Focus the next search result match",
|
10894
10894
|
disabled: !v,
|
@@ -10922,7 +10922,7 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10922
10922
|
}
|
10923
10923
|
),
|
10924
10924
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col px-12 dc__gap-4", children: m.map(
|
10925
|
-
({ stage: K, isOpen: V, logs: pe, endTime: fe, startTime: Ce, status: k, targetPlatforms: D },
|
10925
|
+
({ stage: K, isOpen: V, logs: pe, endTime: fe, startTime: Ce, status: k, targetPlatforms: D }, $) => /* @__PURE__ */ t.jsx(
|
10926
10926
|
gx,
|
10927
10927
|
{
|
10928
10928
|
stage: K,
|
@@ -10934,8 +10934,8 @@ const P0 = (e, s, n) => ie(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
10934
10934
|
status: k,
|
10935
10935
|
handleStageClose: oe,
|
10936
10936
|
handleStageOpen: me,
|
10937
|
-
stageIndex:
|
10938
|
-
isLoading:
|
10937
|
+
stageIndex: $,
|
10938
|
+
isLoading: $ === m.length - 1 && R,
|
10939
10939
|
fullScreenView: a,
|
10940
10940
|
searchIndex: f[x]
|
10941
10941
|
},
|
@@ -11121,7 +11121,7 @@ const sl = () => {
|
|
11121
11121
|
const e = Kt.getValue().filter((s) => !!(!kt.filterType && !kt.searchString || kt.filterType === "ALL" || kt.filterType.toLowerCase() === s.health?.status?.toLowerCase() || kt.filterType.toLowerCase() === On.drifted && s.hasDrift));
|
11122
11122
|
Ea.next([...e]);
|
11123
11123
|
};
|
11124
|
-
function
|
11124
|
+
function $o(e, s, n) {
|
11125
11125
|
if (s.some((i) => i.childNodes))
|
11126
11126
|
return s;
|
11127
11127
|
let a = s;
|
@@ -11153,7 +11153,7 @@ function Fo(e, s, n) {
|
|
11153
11153
|
const Sx = (e, s) => e?.toLowerCase() == "degraded" || s?.toLowerCase() == "degraded" ? "degraded" : e?.toLowerCase() == "progressing" || s?.toLowerCase() == "progressing" ? "progressing" : "healthy";
|
11154
11154
|
function vx(e, s) {
|
11155
11155
|
const n = e.filter((a) => a.kind.toLowerCase() == s.toLowerCase()).map((a) => a);
|
11156
|
-
return
|
11156
|
+
return $o(e, n);
|
11157
11157
|
}
|
11158
11158
|
function Ax(e) {
|
11159
11159
|
const s = [...e.filter((o) => o.kind.toLowerCase() == te.Pod.toLowerCase())], n = /* @__PURE__ */ new Map();
|
@@ -11185,7 +11185,7 @@ function Ax(e) {
|
|
11185
11185
|
}
|
11186
11186
|
const Ix = (e, s) => {
|
11187
11187
|
const n = s.filter((o) => o.name.toLowerCase() == e.toLowerCase() && !o.parentRefs).map((o) => o);
|
11188
|
-
let a =
|
11188
|
+
let a = $o(s, n), r = [];
|
11189
11189
|
for (; a?.length > 0; )
|
11190
11190
|
r = r.concat(a.filter((o) => o.kind.toLowerCase() == te.Pod.toLowerCase())), a = a.flatMap((o) => o.childNodes ?? []);
|
11191
11191
|
return r;
|
@@ -11201,7 +11201,7 @@ const Ix = (e, s) => {
|
|
11201
11201
|
getEnvDetailsObservable: () => jr.asObservable(),
|
11202
11202
|
publishAppDetails: (e, s) => {
|
11203
11203
|
const n = e.resourceTree?.nodes || [], a = e.resourceTree?.podMetadata || [];
|
11204
|
-
|
11204
|
+
$o(
|
11205
11205
|
n,
|
11206
11206
|
n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
|
11207
11207
|
a
|
@@ -12119,24 +12119,24 @@ const Ld = {
|
|
12119
12119
|
c(i || `/${Y.APP_LIST}`);
|
12120
12120
|
}, u = (x) => {
|
12121
12121
|
switch (x) {
|
12122
|
-
case
|
12122
|
+
case Be.NOT_FOUND:
|
12123
12123
|
return {
|
12124
12124
|
onClick: d,
|
12125
|
-
renderButtonText:
|
12125
|
+
renderButtonText: Ve.TAKE_BACK_HOME,
|
12126
12126
|
isButtonAvailable: !0
|
12127
12127
|
};
|
12128
|
-
case
|
12128
|
+
case Be.INTERNAL_SERVER_ERROR:
|
12129
12129
|
return {
|
12130
12130
|
onClick: SC,
|
12131
|
-
renderButtonText:
|
12131
|
+
renderButtonText: Ve.REPORT_ISSUE,
|
12132
12132
|
isButtonAvailable: !0
|
12133
12133
|
};
|
12134
|
-
case
|
12135
|
-
case
|
12136
|
-
case
|
12134
|
+
case Be.BAD_REQUEST:
|
12135
|
+
case Be.BAD_GATEWAY:
|
12136
|
+
case Be.SERVICE_TEMPORARY_UNAVAILABLE:
|
12137
12137
|
return {
|
12138
12138
|
onClick: l ?? nu,
|
12139
|
-
renderButtonText:
|
12139
|
+
renderButtonText: Ve.TRY_AGAIN,
|
12140
12140
|
isButtonAvailable: !0
|
12141
12141
|
};
|
12142
12142
|
default:
|
@@ -12169,89 +12169,89 @@ const Ld = {
|
|
12169
12169
|
imageType: i = ws.Large
|
12170
12170
|
}) => (() => {
|
12171
12171
|
switch (e) {
|
12172
|
-
case
|
12172
|
+
case Be.BAD_REQUEST:
|
12173
12173
|
return /* @__PURE__ */ t.jsx(
|
12174
12174
|
Ts,
|
12175
12175
|
{
|
12176
|
-
code:
|
12177
|
-
title:
|
12178
|
-
subTitle: n ||
|
12176
|
+
code: Be.BAD_REQUEST,
|
12177
|
+
title: Ve.BAD_REQUEST,
|
12178
|
+
subTitle: n || Ve.BAD_REQUEST_MESSAGE,
|
12179
12179
|
image: fn,
|
12180
12180
|
imageType: i,
|
12181
12181
|
heightToDeduct: r,
|
12182
12182
|
reload: s
|
12183
12183
|
}
|
12184
12184
|
);
|
12185
|
-
case
|
12185
|
+
case Be.UNAUTHORIZED:
|
12186
12186
|
return /* @__PURE__ */ t.jsx(
|
12187
12187
|
Ts,
|
12188
12188
|
{
|
12189
|
-
code:
|
12190
|
-
title:
|
12191
|
-
subTitle: n ||
|
12189
|
+
code: Be.UNAUTHORIZED,
|
12190
|
+
title: Ve.UNAUTHORIZED,
|
12191
|
+
subTitle: n || Ve.UNAUTHORIZED_MESSAGE,
|
12192
12192
|
image: Br,
|
12193
12193
|
imageType: i,
|
12194
12194
|
heightToDeduct: r
|
12195
12195
|
}
|
12196
12196
|
);
|
12197
|
-
case
|
12197
|
+
case Be.PERMISSION_DENIED:
|
12198
12198
|
return /* @__PURE__ */ t.jsx(
|
12199
12199
|
Ts,
|
12200
12200
|
{
|
12201
|
-
code:
|
12202
|
-
title:
|
12203
|
-
subTitle: n ||
|
12201
|
+
code: Be.PERMISSION_DENIED,
|
12202
|
+
title: Ve.FORBIDDEN,
|
12203
|
+
subTitle: n || Ve.FORBIDDEN_MESSAGE,
|
12204
12204
|
image: Br,
|
12205
12205
|
imageType: i,
|
12206
12206
|
heightToDeduct: r
|
12207
12207
|
}
|
12208
12208
|
);
|
12209
|
-
case
|
12209
|
+
case Be.NOT_FOUND:
|
12210
12210
|
return /* @__PURE__ */ t.jsx(
|
12211
12211
|
Ts,
|
12212
12212
|
{
|
12213
|
-
code:
|
12214
|
-
title:
|
12215
|
-
subTitle: n ||
|
12213
|
+
code: Be.NOT_FOUND,
|
12214
|
+
title: Ve.PAGE_NOT_FOUND,
|
12215
|
+
subTitle: n || Ve.PAGE_NOT_EXIST,
|
12216
12216
|
image: zm,
|
12217
12217
|
imageType: i,
|
12218
12218
|
heightToDeduct: r,
|
12219
12219
|
redirectURL: o
|
12220
12220
|
}
|
12221
12221
|
);
|
12222
|
-
case
|
12222
|
+
case Be.INTERNAL_SERVER_ERROR:
|
12223
12223
|
return /* @__PURE__ */ t.jsx(
|
12224
12224
|
Ts,
|
12225
12225
|
{
|
12226
|
-
code:
|
12227
|
-
title:
|
12228
|
-
subTitle: n ||
|
12226
|
+
code: Be.INTERNAL_SERVER_ERROR,
|
12227
|
+
title: Ve.INTERNAL_SERVER_ERROR,
|
12228
|
+
subTitle: n || Ve.INTERNAL_SERVER_ERROR_MESSAGE,
|
12229
12229
|
image: fn,
|
12230
12230
|
imageType: i,
|
12231
12231
|
heightToDeduct: r,
|
12232
12232
|
reload: s
|
12233
12233
|
}
|
12234
12234
|
);
|
12235
|
-
case
|
12235
|
+
case Be.BAD_GATEWAY:
|
12236
12236
|
return /* @__PURE__ */ t.jsx(
|
12237
12237
|
Ts,
|
12238
12238
|
{
|
12239
|
-
code:
|
12240
|
-
title:
|
12241
|
-
subTitle: n ||
|
12239
|
+
code: Be.BAD_GATEWAY,
|
12240
|
+
title: Ve.BAD_GATEWAY,
|
12241
|
+
subTitle: n || Ve.BAD_GATEWAY_MESSAGE,
|
12242
12242
|
image: fn,
|
12243
12243
|
imageType: i,
|
12244
12244
|
heightToDeduct: r,
|
12245
12245
|
reload: s
|
12246
12246
|
}
|
12247
12247
|
);
|
12248
|
-
case
|
12248
|
+
case Be.SERVICE_TEMPORARY_UNAVAILABLE:
|
12249
12249
|
return /* @__PURE__ */ t.jsx(
|
12250
12250
|
Ts,
|
12251
12251
|
{
|
12252
|
-
code:
|
12253
|
-
title:
|
12254
|
-
subTitle: n ||
|
12252
|
+
code: Be.SERVICE_TEMPORARY_UNAVAILABLE,
|
12253
|
+
title: Ve.SERVICE_TEMPORARY_UNAVAILABLE,
|
12254
|
+
subTitle: n || Ve.SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE,
|
12255
12255
|
image: fn,
|
12256
12256
|
imageType: i,
|
12257
12257
|
heightToDeduct: r,
|
@@ -12428,7 +12428,7 @@ const Ld = {
|
|
12428
12428
|
};
|
12429
12429
|
}
|
12430
12430
|
return e;
|
12431
|
-
},
|
12431
|
+
}, $x = (e, s) => {
|
12432
12432
|
const n = /* @__PURE__ */ new Map(), a = e.map(ol).sort((o, i) => Ze(o.name, i.name)), r = s.map(ol).sort((o, i) => Ze(o.name, i.name));
|
12433
12433
|
return a.forEach((o) => n.set(o.name, [o, null])), r.forEach((o) => {
|
12434
12434
|
const i = o.name;
|
@@ -12445,7 +12445,7 @@ const Ld = {
|
|
12445
12445
|
}
|
12446
12446
|
const r = ["data", "defaultData"].find((o) => Object.keys(e?.[o] ?? {}).length > 0);
|
12447
12447
|
return e[r];
|
12448
|
-
},
|
12448
|
+
}, Fx = (e, s, n = !1, a = !1) => {
|
12449
12449
|
const r = Object.keys(e).reduce((c, d) => (s[d] && e[d] === s[d] && (c[d] = !0), c), {}), o = (c, d, u = !1) => d ? c : Object.keys(c).reduce((m, p) => (u ? m[p] = r[p] ? "********" : "************" : m[p] = "********", m), {}), i = o(e, n, !0), l = o(s, a);
|
12450
12450
|
return {
|
12451
12451
|
compareToObfuscatedData: Object.keys(i).length ? i : void 0,
|
@@ -12468,7 +12468,7 @@ const Ld = {
|
|
12468
12468
|
const i = ll(e, n), l = ll(s, n);
|
12469
12469
|
let c, d;
|
12470
12470
|
if (n === Lt.Secret) {
|
12471
|
-
const { compareToObfuscatedData: u, compareWithObfuscatedData: m } =
|
12471
|
+
const { compareToObfuscatedData: u, compareWithObfuscatedData: m } = Fx(
|
12472
12472
|
i ?? {},
|
12473
12473
|
l ?? {},
|
12474
12474
|
a || e?.external,
|
@@ -12564,7 +12564,7 @@ const Ld = {
|
|
12564
12564
|
{ ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
|
12565
12565
|
ht.PIPELINE_STRATEGY.VALUE
|
12566
12566
|
);
|
12567
|
-
},
|
12567
|
+
}, $a = (e, s) => {
|
12568
12568
|
let n = !1, a = !1, r = !1;
|
12569
12569
|
if (!e)
|
12570
12570
|
n = !0;
|
@@ -12600,7 +12600,7 @@ const Ld = {
|
|
12600
12600
|
}
|
12601
12601
|
return r;
|
12602
12602
|
}) || n;
|
12603
|
-
}, _l = (e, s, n, a, r, o, i) =>
|
12603
|
+
}, _l = (e, s, n, a, r, o, i) => $x(
|
12604
12604
|
pl(e, o),
|
12605
12605
|
pl(s, o)
|
12606
12606
|
).map(([d, u]) => {
|
@@ -12618,11 +12618,11 @@ const Ld = {
|
|
12618
12618
|
title: `${n === Lt.ConfigMap ? "ConfigMap" : "Secret"} / ${d?.name || u?.name}`,
|
12619
12619
|
name: d?.name || u?.name,
|
12620
12620
|
primaryConfig: {
|
12621
|
-
heading:
|
12621
|
+
heading: $a(u),
|
12622
12622
|
list: p
|
12623
12623
|
},
|
12624
12624
|
secondaryConfig: {
|
12625
|
-
heading:
|
12625
|
+
heading: $a(d),
|
12626
12626
|
list: m
|
12627
12627
|
},
|
12628
12628
|
diffState: f,
|
@@ -12701,11 +12701,11 @@ const Ld = {
|
|
12701
12701
|
pathType: Qe.DeploymentTemplate,
|
12702
12702
|
title: "Deployment Template",
|
12703
12703
|
primaryConfig: {
|
12704
|
-
heading:
|
12704
|
+
heading: $a(_.deploymentTemplate, !0),
|
12705
12705
|
list: h
|
12706
12706
|
},
|
12707
12707
|
secondaryConfig: {
|
12708
|
-
heading:
|
12708
|
+
heading: $a(x.deploymentTemplate, !0),
|
12709
12709
|
list: E
|
12710
12710
|
},
|
12711
12711
|
diffState: xa(E, h)
|
@@ -12926,7 +12926,7 @@ const Ld = {
|
|
12926
12926
|
const { selectPickerProps: C } = S;
|
12927
12927
|
return /* @__PURE__ */ t.jsxs(Xs, { children: [
|
12928
12928
|
/* @__PURE__ */ t.jsx("div", { className: "dc__mxw-300", children: /* @__PURE__ */ t.jsx(
|
12929
|
-
|
12929
|
+
$t,
|
12930
12930
|
{
|
12931
12931
|
...C,
|
12932
12932
|
isDisabled: e || C?.isDisabled
|
@@ -13187,7 +13187,7 @@ const Ld = {
|
|
13187
13187
|
), pipelineDeploymentsOptions: l };
|
13188
13188
|
}, tN = (e) => (s) => ({
|
13189
13189
|
compareWfrId: +(s.get("compareWfrId") || e)
|
13190
|
-
}), hl = (e) => e.status === "rejected" && e.reason?.code ===
|
13190
|
+
}), hl = (e) => e.status === "rejected" && e.reason?.code === Be.NOT_FOUND, gl = (e) => e.status === "rejected" && e.reason?.code !== Be.NOT_FOUND ? e.reason : null, sN = ({
|
13191
13191
|
envName: e,
|
13192
13192
|
setFullScreenView: s,
|
13193
13193
|
pipelineDeployments: n,
|
@@ -13242,10 +13242,10 @@ const Ld = {
|
|
13242
13242
|
triggerHistory: j.data,
|
13243
13243
|
renderRunSource: c,
|
13244
13244
|
resourceId: d
|
13245
|
-
}), B = w.find(({ value: V }) => V === h),
|
13245
|
+
}), B = w.find(({ value: V }) => V === h), F = !!w.length, G = ({ value: V }) => {
|
13246
13246
|
N({ compareWfrId: V });
|
13247
13247
|
}, Z = {
|
13248
|
-
primaryConfig:
|
13248
|
+
primaryConfig: F ? [
|
13249
13249
|
{
|
13250
13250
|
id: "deployment-config-diff-deployment-selector",
|
13251
13251
|
type: "selectPicker",
|
@@ -13277,7 +13277,7 @@ const Ld = {
|
|
13277
13277
|
text: `Deployed on ${O}`
|
13278
13278
|
}
|
13279
13279
|
]
|
13280
|
-
}, oe = () =>
|
13280
|
+
}, oe = () => F ? u ? `Diff unavailable: Configurations for deployment execution ‘${B?.label || "N/A"}’ not found` : `Showing diff in configuration deployed on: ${B?.label || "N/A"} & ${O}` : null, le = {
|
13281
13281
|
handleSorting: () => C(v !== _e.DESC ? al : ""),
|
13282
13282
|
sortBy: S,
|
13283
13283
|
sortOrder: v
|
@@ -13291,7 +13291,7 @@ const Ld = {
|
|
13291
13291
|
...m,
|
13292
13292
|
showDetailedDiffState: !0,
|
13293
13293
|
navHeading: `Comparing ${e}`,
|
13294
|
-
headerText:
|
13294
|
+
headerText: F ? void 0 : "",
|
13295
13295
|
scrollIntoViewId: `${g}${x ? `-${x}` : ""}`,
|
13296
13296
|
navHelpText: oe(),
|
13297
13297
|
isNavHelpTextShowingError: u,
|
@@ -13369,7 +13369,7 @@ const Ld = {
|
|
13369
13369
|
), R = ne(
|
13370
13370
|
() => L ? Jh(L.configList, "groupHeader") : [],
|
13371
13371
|
[L]
|
13372
|
-
), O = I && hl(I[1]), w = !_ || O, B = j || !T && !L,
|
13372
|
+
), O = I && hl(I[1]), w = !_ || O, B = j || !T && !L, F = {
|
13373
13373
|
code: T?.code,
|
13374
13374
|
error: T && !j,
|
13375
13375
|
reload: b
|
@@ -13386,7 +13386,7 @@ const Ld = {
|
|
13386
13386
|
{
|
13387
13387
|
...L,
|
13388
13388
|
isLoading: B,
|
13389
|
-
errorConfig:
|
13389
|
+
errorConfig: F,
|
13390
13390
|
envName: s,
|
13391
13391
|
wfrId: a,
|
13392
13392
|
urlFilters: E,
|
@@ -13401,7 +13401,7 @@ const Ld = {
|
|
13401
13401
|
isCompareDeploymentConfigNotAvailable: O
|
13402
13402
|
}
|
13403
13403
|
) }),
|
13404
|
-
/* @__PURE__ */ t.jsx(vs, { children: T && !j ? /* @__PURE__ */ t.jsx(dr, { code:
|
13404
|
+
/* @__PURE__ */ t.jsx(vs, { children: T && !j ? /* @__PURE__ */ t.jsx(dr, { code: F.code, reload: F.reload }) : /* @__PURE__ */ t.jsx("div", { className: "p-16 flexbox-col dc__gap-16 bg__primary h-100", children: B ? /* @__PURE__ */ t.jsx(ke, { fullHeight: !0, size: 48 }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
13405
13405
|
/* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: w ? "Configurations used for this deployment trigger" : "Showing configuration change with respect to previous deployment" }),
|
13406
13406
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__mxw-800", children: [
|
13407
13407
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-12", children: Object.keys(R).map(
|
@@ -13507,7 +13507,7 @@ const st = ({
|
|
13507
13507
|
width: O,
|
13508
13508
|
left: w,
|
13509
13509
|
right: B,
|
13510
|
-
top:
|
13510
|
+
top: F,
|
13511
13511
|
bottom: G
|
13512
13512
|
} = u.current.getBoundingClientRect();
|
13513
13513
|
I + b > C.height && (i({ left: L, bottom: document.documentElement.clientHeight - T }), c(1)), j + A > C.width && (i((Z) => ({ ...Z, right: "20px", left: "unset" })), c(1));
|
@@ -13634,7 +13634,7 @@ const Mt = ({
|
|
13634
13634
|
}
|
13635
13635
|
if (!e) return null;
|
13636
13636
|
const { button: S, body: v, optionLength: C, AsyncComponent: j } = se.Children.toArray(e).reduce(
|
13637
|
-
(I, b) => (b.type === Vd ? I.button = b : b.type === Gd ? I.AsyncComponent = b : ((b.type ===
|
13637
|
+
(I, b) => (b.type === Vd ? I.button = b : b.type === Gd ? I.AsyncComponent = b : ((b.type === $d || b.type === Fd) && (I.optionLength += 1), I.body.push(b)), I),
|
13638
13638
|
{ button: null, body: [], optionLength: 0, AsyncComponent: null }
|
13639
13639
|
);
|
13640
13640
|
return /* @__PURE__ */ t.jsx(
|
@@ -13672,7 +13672,7 @@ const Mt = ({
|
|
13672
13672
|
] })
|
13673
13673
|
}
|
13674
13674
|
);
|
13675
|
-
},
|
13675
|
+
}, $d = ({
|
13676
13676
|
dataTestIdMenuList: e,
|
13677
13677
|
children: s,
|
13678
13678
|
value: n,
|
@@ -13695,7 +13695,7 @@ const Mt = ({
|
|
13695
13695
|
children: s
|
13696
13696
|
}
|
13697
13697
|
) : null;
|
13698
|
-
},
|
13698
|
+
}, Fd = ({ children: e, label: s, rootClassName: n = "" }) => /* @__PURE__ */ t.jsxs("div", { className: `select__option-group ${n}`, children: [
|
13699
13699
|
/* @__PURE__ */ t.jsx("span", { className: "option-group__label", children: s }),
|
13700
13700
|
e
|
13701
13701
|
] }), Vd = ({
|
@@ -13781,8 +13781,8 @@ const Mt = ({
|
|
13781
13781
|
);
|
13782
13782
|
};
|
13783
13783
|
Mt.Button = Vd;
|
13784
|
-
Mt.OptGroup =
|
13785
|
-
Mt.Option =
|
13784
|
+
Mt.OptGroup = Fd;
|
13785
|
+
Mt.Option = $d;
|
13786
13786
|
Mt.Search = oN;
|
13787
13787
|
Mt.All = iN;
|
13788
13788
|
Mt.Async = Gd;
|
@@ -13843,7 +13843,7 @@ const Hd = (e, s) => e || (s === hs.dark ? Dn.vsDarkDT : Dn.vs), cN = (e, s) =>
|
|
13843
13843
|
default:
|
13844
13844
|
return e;
|
13845
13845
|
}
|
13846
|
-
},
|
13846
|
+
}, Fa = (e, s, n) => {
|
13847
13847
|
let a = null;
|
13848
13848
|
try {
|
13849
13849
|
a = JSON.parse(e);
|
@@ -13876,8 +13876,8 @@ const Hd = (e, s) => e || (s === hs.dark ? Dn.vsDarkDT : Dn.vs), cN = (e, s) =>
|
|
13876
13876
|
}) => ({
|
13877
13877
|
mode: e,
|
13878
13878
|
theme: Hd(s, l),
|
13879
|
-
code: o ? n :
|
13880
|
-
defaultCode: o ? a :
|
13879
|
+
code: o ? n : Fa(n, e, i),
|
13880
|
+
defaultCode: o ? a : Fa(a, e, i),
|
13881
13881
|
diffMode: r,
|
13882
13882
|
noParsing: [us.JSON, us.YAML].includes(e) ? o : !0
|
13883
13883
|
}), Yd = se.createContext(null);
|
@@ -13929,7 +13929,7 @@ const uN = 100, Ht = se.memo(
|
|
13929
13929
|
tabSize: o,
|
13930
13930
|
appTheme: b
|
13931
13931
|
})
|
13932
|
-
), [,
|
13932
|
+
), [, F, G, Z] = Ll(w.code, o, w.mode, !w.noParsing), [, oe, me] = Ll(w.defaultCode, o, w.mode, !w.noParsing), [le, K] = y(
|
13933
13933
|
j ? uN : l
|
13934
13934
|
), V = J(u);
|
13935
13935
|
V.current = u, Er.defineTheme(Dn.vsDarkDT, {
|
@@ -13968,12 +13968,12 @@ const uN = 100, Ht = se.memo(
|
|
13968
13968
|
K(H.getContentHeight());
|
13969
13969
|
}), K(H.getContentHeight())), A.current = H, L.current = Xo;
|
13970
13970
|
}, fe = (H, Ae) => {
|
13971
|
-
const
|
13972
|
-
j && (
|
13971
|
+
const Fe = H.getOriginalEditor(), Oe = H.getModifiedEditor();
|
13972
|
+
j && (Fe.onDidContentSizeChange(() => {
|
13973
13973
|
K(
|
13974
13974
|
Math.max(
|
13975
13975
|
typeof le == "number" ? le : Number.MIN_SAFE_INTEGER,
|
13976
|
-
|
13976
|
+
Fe.getContentHeight()
|
13977
13977
|
)
|
13978
13978
|
);
|
13979
13979
|
}), Oe.onDidContentSizeChange(() => {
|
@@ -13983,8 +13983,8 @@ const uN = 100, Ht = se.memo(
|
|
13983
13983
|
Oe.getContentHeight()
|
13984
13984
|
)
|
13985
13985
|
);
|
13986
|
-
}), K(Math.max(
|
13987
|
-
D(Oe.getValue(),
|
13986
|
+
}), K(Math.max(Fe.getContentHeight(), Oe.getContentHeight()))), Fe.onDidChangeModelContent(() => {
|
13987
|
+
D(Oe.getValue(), Fe.getValue());
|
13988
13988
|
}), A.current = H, L.current = Ae;
|
13989
13989
|
}, Ce = ne(() => j ? le : l, [l, le, j]);
|
13990
13990
|
M(() => {
|
@@ -14018,7 +14018,7 @@ const uN = 100, Ht = se.memo(
|
|
14018
14018
|
k(e, a);
|
14019
14019
|
return;
|
14020
14020
|
}
|
14021
|
-
e !== w.code && k(
|
14021
|
+
e !== w.code && k(Fa(e, w.mode, o), Fa(a, w.mode, o));
|
14022
14022
|
}, [e, a, n]), M(() => {
|
14023
14023
|
B({ type: "setDiff", value: p });
|
14024
14024
|
}, [p]), M(() => {
|
@@ -14026,11 +14026,11 @@ const uN = 100, Ht = se.memo(
|
|
14026
14026
|
}, [_]);
|
14027
14027
|
const D = (H, Ae) => {
|
14028
14028
|
k(H, Ae);
|
14029
|
-
},
|
14029
|
+
}, $ = (H) => {
|
14030
14030
|
D(H, A.current?.getOriginalEditor?.().getValue?.() ?? "");
|
14031
14031
|
};
|
14032
14032
|
function re(H) {
|
14033
|
-
B({ type: "changeLanguage", value: H }), k(H === "json" ?
|
14033
|
+
B({ type: "changeLanguage", value: H }), k(H === "json" ? F : G, H === "json" ? oe : me);
|
14034
14034
|
}
|
14035
14035
|
const ee = {
|
14036
14036
|
selectOnLineNumbers: !0,
|
@@ -14076,7 +14076,7 @@ const uN = 100, Ht = se.memo(
|
|
14076
14076
|
original: w.defaultCode,
|
14077
14077
|
value: w.code,
|
14078
14078
|
language: w.mode,
|
14079
|
-
onChange:
|
14079
|
+
onChange: $,
|
14080
14080
|
options: Te,
|
14081
14081
|
theme: w.theme.toLowerCase().split(" ").join("-"),
|
14082
14082
|
editorDidMount: fe,
|
@@ -14090,7 +14090,7 @@ const uN = 100, Ht = se.memo(
|
|
14090
14090
|
value: w.code,
|
14091
14091
|
theme: w.theme.toLowerCase().split(" ").join("-"),
|
14092
14092
|
options: ee,
|
14093
|
-
onChange:
|
14093
|
+
onChange: $,
|
14094
14094
|
editorDidMount: pe,
|
14095
14095
|
height: Ce,
|
14096
14096
|
width: "100%"
|
@@ -14435,7 +14435,7 @@ const SN = ({
|
|
14435
14435
|
] }), C = () => {
|
14436
14436
|
if (!d) return null;
|
14437
14437
|
const j = u.eventactiontype === vN.MERGED;
|
14438
|
-
return r.includes(
|
14438
|
+
return r.includes($s.GITLAB) ? j ? v() : S() : j ? S() : v();
|
14439
14439
|
};
|
14440
14440
|
return /* @__PURE__ */ t.jsxs("div", { className: "git-commit-info-generic__wrapper cn-9 fs-12", children: [
|
14441
14441
|
o && (d || c.commit) && /* @__PURE__ */ t.jsx(
|
@@ -14509,13 +14509,13 @@ const SN = ({
|
|
14509
14509
|
C()
|
14510
14510
|
] })
|
14511
14511
|
] });
|
14512
|
-
},
|
14512
|
+
}, $0 = ({
|
14513
14513
|
shortcutCombo: e = ["Shift", "F"],
|
14514
14514
|
showOnlyWhenPathIncludesLogs: s = !0,
|
14515
14515
|
fullScreenView: n,
|
14516
14516
|
setFullScreenView: a
|
14517
14517
|
}) => {
|
14518
|
-
const { pathname: r } = Es(), { registerShortcut: o, unregisterShortcut: i } = Hn(), l =
|
14518
|
+
const { pathname: r } = Es(), { registerShortcut: o, unregisterShortcut: i } = Hn(), l = Ge(() => {
|
14519
14519
|
a(!n);
|
14520
14520
|
}, [n]), c = !s || r.includes("/logs");
|
14521
14521
|
return M(() => (c && e.length && o({ callback: l, keys: e }), () => {
|
@@ -14652,12 +14652,12 @@ const SN = ({
|
|
14652
14652
|
) })
|
14653
14653
|
] });
|
14654
14654
|
};
|
14655
|
-
var
|
14655
|
+
var Ft = /* @__PURE__ */ ((e) => (e.info = "info", e.delete = "delete", e.warning = "warning", e.custom = "custom", e))(Ft || {}), Va = /* @__PURE__ */ ((e) => (e.DELETE = "delete", e.CANCEL = "cancel", e))(Va || {});
|
14656
14656
|
const jN = (e) => {
|
14657
14657
|
switch (e) {
|
14658
|
-
case
|
14658
|
+
case Ft.delete:
|
14659
14659
|
return Np;
|
14660
|
-
case
|
14660
|
+
case Ft.warning:
|
14661
14661
|
return nr;
|
14662
14662
|
default:
|
14663
14663
|
return Ep;
|
@@ -14670,7 +14670,7 @@ const jN = (e) => {
|
|
14670
14670
|
"’"
|
14671
14671
|
] }),
|
14672
14672
|
" to confirm"
|
14673
|
-
] }), RN = (e) => e ===
|
14673
|
+
] }), RN = (e) => e === Ft.delete ? He.negative : He.default, El = (e, s) => e === Va.CANCEL ? `${s}-${e}` || "confirmation-modal-secondary-button" : `${s}-${e}` || "confirmation-modal-primary-button", LN = ({ children: e, onEscape: s }) => {
|
14674
14674
|
const { registerShortcut: n, unregisterShortcut: a } = Hn();
|
14675
14675
|
return M(() => (n({ keys: ["Escape"], callback: s }), () => {
|
14676
14676
|
a(["Escape"]);
|
@@ -14703,7 +14703,7 @@ const jN = (e) => {
|
|
14703
14703
|
}) => {
|
14704
14704
|
const { registerShortcut: u, unregisterShortcut: m } = Hn(), [p, f] = y(""), g = o?.identifier, x = o?.confirmationKeyword, { primaryButtonConfig: _, secondaryButtonConfig: E } = r, h = n ?? jN(a), N = x && p.trim() !== x, S = () => {
|
14705
14705
|
_ && !N && _.onClick();
|
14706
|
-
}, v =
|
14706
|
+
}, v = Ge(() => {
|
14707
14707
|
!_?.isLoading && !E?.disabled && l();
|
14708
14708
|
}, [_, E]);
|
14709
14709
|
M(() => (u({ keys: ["Enter"], callback: S }), () => {
|
@@ -14773,16 +14773,16 @@ const jN = (e) => {
|
|
14773
14773
|
]
|
14774
14774
|
}
|
14775
14775
|
) });
|
14776
|
-
}, wN = ({ showConfirmationModal: e, ...s }) => /* @__PURE__ */ t.jsx(Qm, { children: e ? /* @__PURE__ */ t.jsx(ON, { ...s }) : null }), Ls = (e) => /* @__PURE__ */ t.jsx(
|
14776
|
+
}, wN = ({ showConfirmationModal: e, ...s }) => /* @__PURE__ */ t.jsx(Qm, { children: e ? /* @__PURE__ */ t.jsx(ON, { ...s }) : null }), Ls = (e) => /* @__PURE__ */ t.jsx($c, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(wN, { ...e }) }), DN = ({
|
14777
14777
|
title: e,
|
14778
14778
|
component: s,
|
14779
14779
|
description: n,
|
14780
|
-
|
14780
|
+
closeConfirmationModal: a,
|
14781
14781
|
showCannotDeleteDialogModal: r
|
14782
14782
|
}) => /* @__PURE__ */ t.jsx(
|
14783
14783
|
Ls,
|
14784
14784
|
{
|
14785
|
-
variant:
|
14785
|
+
variant: Ft.info,
|
14786
14786
|
title: `Cannot delete ${s} '${e}'`,
|
14787
14787
|
subtitle: n,
|
14788
14788
|
buttonConfig: {
|
@@ -14811,7 +14811,7 @@ const jN = (e) => {
|
|
14811
14811
|
return /* @__PURE__ */ t.jsx(
|
14812
14812
|
Ls,
|
14813
14813
|
{
|
14814
|
-
variant:
|
14814
|
+
variant: Ft.delete,
|
14815
14815
|
title: e,
|
14816
14816
|
subtitle: o(),
|
14817
14817
|
buttonConfig: {
|
@@ -14828,7 +14828,7 @@ const jN = (e) => {
|
|
14828
14828
|
handleClose: a
|
14829
14829
|
}
|
14830
14830
|
);
|
14831
|
-
},
|
14831
|
+
}, F0 = ({
|
14832
14832
|
title: e,
|
14833
14833
|
description: s,
|
14834
14834
|
showConfirmationModal: n,
|
@@ -14860,17 +14860,13 @@ const jN = (e) => {
|
|
14860
14860
|
} finally {
|
14861
14861
|
S(!1);
|
14862
14862
|
}
|
14863
|
-
}, A =
|
14864
|
-
C(!1);
|
14865
|
-
}, []), L = Ue(() => {
|
14866
|
-
I(!1);
|
14867
|
-
}, []), T = () => /* @__PURE__ */ t.jsx(
|
14863
|
+
}, A = () => C(!1), L = () => I(!1), T = () => /* @__PURE__ */ t.jsx(
|
14868
14864
|
DN,
|
14869
14865
|
{
|
14870
14866
|
title: e,
|
14871
14867
|
description: u,
|
14872
14868
|
showCannotDeleteDialogModal: v,
|
14873
|
-
|
14869
|
+
closeConfirmationModal: A,
|
14874
14870
|
component: i
|
14875
14871
|
}
|
14876
14872
|
), R = () => /* @__PURE__ */ t.jsx(
|
@@ -14885,7 +14881,7 @@ const jN = (e) => {
|
|
14885
14881
|
), O = () => /* @__PURE__ */ t.jsx(
|
14886
14882
|
Ls,
|
14887
14883
|
{
|
14888
|
-
variant:
|
14884
|
+
variant: Ft.delete,
|
14889
14885
|
title: `Delete ${i} '${e}'`,
|
14890
14886
|
subtitle: s ?? `Are you sure you want to delete this ${i}?`,
|
14891
14887
|
buttonConfig: {
|
@@ -14915,7 +14911,7 @@ const jN = (e) => {
|
|
14915
14911
|
/* @__PURE__ */ t.jsx(
|
14916
14912
|
"div",
|
14917
14913
|
{
|
14918
|
-
className: `${e} fs-13 fw-6 ${
|
14914
|
+
className: `${e} fs-13 fw-6 ${FE[e.toLowerCase()] || "cn-5"}`,
|
14919
14915
|
"data-testid": "deployment-status-text",
|
14920
14916
|
children: e && e.toLowerCase() === "cancelled" ? "Aborted" : e
|
14921
14917
|
}
|
@@ -15005,7 +15001,7 @@ const jN = (e) => {
|
|
15005
15001
|
/* @__PURE__ */ t.jsx(
|
15006
15002
|
Ls,
|
15007
15003
|
{
|
15008
|
-
variant:
|
15004
|
+
variant: Ft.warning,
|
15009
15005
|
title: n === De.CD ? `Abort ${s.toLowerCase()}-deployment?` : "Abort build?",
|
15010
15006
|
subtitle: n === De.CD ? "Are you sure you want to abort this stage?" : "Are you sure you want to abort this build?",
|
15011
15007
|
buttonConfig: {
|
@@ -15027,7 +15023,7 @@ const jN = (e) => {
|
|
15027
15023
|
/* @__PURE__ */ t.jsxs(
|
15028
15024
|
Ls,
|
15029
15025
|
{
|
15030
|
-
variant:
|
15026
|
+
variant: Ft.warning,
|
15031
15027
|
title: "Could not abort build!",
|
15032
15028
|
subtitle: `Error: ${l.message}`,
|
15033
15029
|
buttonConfig: {
|
@@ -15051,7 +15047,7 @@ const jN = (e) => {
|
|
15051
15047
|
}
|
15052
15048
|
)
|
15053
15049
|
] });
|
15054
|
-
}), BN = se.memo(({ status: e, finishedOn: s, artifact: n, stage: a, type: r }) => VE[e.toLowerCase()] ? /* @__PURE__ */ t.jsx(UN, { status: e, stage: a, type: r }) : /* @__PURE__ */ t.jsx(kN, { status: e, finishedOn: s, artifact: n, type: r })),
|
15050
|
+
}), BN = se.memo(({ status: e, finishedOn: s, artifact: n, stage: a, type: r }) => VE[e.toLowerCase()] ? /* @__PURE__ */ t.jsx(UN, { status: e, stage: a, type: r }) : /* @__PURE__ */ t.jsx(kN, { status: e, finishedOn: s, artifact: n, type: r })), $N = ({
|
15055
15051
|
startedOn: e,
|
15056
15052
|
triggeredBy: s,
|
15057
15053
|
triggeredByEmail: n,
|
@@ -15119,7 +15115,7 @@ const jN = (e) => {
|
|
15119
15115
|
l === "" && /* @__PURE__ */ t.jsx("i", { className: "fw-4 fs-12 lh-20", children: "(Default)" })
|
15120
15116
|
] })
|
15121
15117
|
] });
|
15122
|
-
},
|
15118
|
+
}, FN = se.memo(
|
15123
15119
|
({ status: e }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
15124
15120
|
/* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsxs("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
15125
15121
|
/* @__PURE__ */ t.jsx("circle", { cx: "10", cy: "10", r: "5", stroke: "var(--N700)" }),
|
@@ -15164,10 +15160,10 @@ const jN = (e) => {
|
|
15164
15160
|
renderTargetConfigInfo: E
|
15165
15161
|
}) => /* @__PURE__ */ t.jsxs("div", { className: "trigger-details flexbox-col pb-12", children: [
|
15166
15162
|
/* @__PURE__ */ t.jsxs("div", { className: "display-grid trigger-details__grid py-12", children: [
|
15167
|
-
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsx(
|
15163
|
+
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: /* @__PURE__ */ t.jsx(FN, { status: e?.toLowerCase() }) }),
|
15168
15164
|
/* @__PURE__ */ t.jsxs("div", { className: "trigger-details__summary flexbox-col flex-grow-1 lh-20", children: [
|
15169
15165
|
/* @__PURE__ */ t.jsx(
|
15170
|
-
|
15166
|
+
$N,
|
15171
15167
|
{
|
15172
15168
|
startedOn: s,
|
15173
15169
|
triggeredBy: a,
|
@@ -15371,17 +15367,17 @@ const jN = (e) => {
|
|
15371
15367
|
// TODO: Ask if fetchIdData is required here as dependency
|
15372
15368
|
[b, I, A],
|
15373
15369
|
!!b && !!L
|
15374
|
-
),
|
15370
|
+
), F = ir(T?.targetPlatforms), G = (V, pe, fe) => {
|
15375
15371
|
if (fe) {
|
15376
15372
|
p?.result?.cdWorkflows?.length && n(lu(p.result.cdWorkflows, "id")), u(ls.SUSPEND);
|
15377
15373
|
return;
|
15378
15374
|
}
|
15379
15375
|
if (V === pe?.id) {
|
15380
|
-
const Ce = s.get(V)?.appliedFilters ?? [], k = s.get(V)?.appliedFiltersTimestamp, D = s.get(V)?.promotionApprovalMetadata,
|
15376
|
+
const Ce = s.get(V)?.appliedFilters ?? [], k = s.get(V)?.appliedFiltersTimestamp, D = s.get(V)?.promotionApprovalMetadata, $ = s.get(V)?.runSource, re = s.get(V)?.targetConfig, ee = s.get(V)?.userApprovalMetadata, Te = {
|
15381
15377
|
...Ce.length ? { appliedFilters: Ce } : {},
|
15382
15378
|
...k ? { appliedFiltersTimestamp: k } : {},
|
15383
15379
|
...D ? { promotionApprovalMetadata: D } : {},
|
15384
|
-
|
15380
|
+
...$ ? { runSource: $ } : {},
|
15385
15381
|
...re ? { targetConfig: re } : {},
|
15386
15382
|
...ee ? { userApprovalMetadata: ee } : {}
|
15387
15383
|
};
|
@@ -15527,7 +15523,7 @@ const jN = (e) => {
|
|
15527
15523
|
fullScreenView: e,
|
15528
15524
|
appName: j,
|
15529
15525
|
triggerHistory: s,
|
15530
|
-
targetPlatforms:
|
15526
|
+
targetPlatforms: F
|
15531
15527
|
},
|
15532
15528
|
T.id
|
15533
15529
|
)
|
@@ -15771,7 +15767,7 @@ const jN = (e) => {
|
|
15771
15767
|
onChange: s,
|
15772
15768
|
dataTestId: n = ys.MONTH
|
15773
15769
|
}) => /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
15774
|
-
|
15770
|
+
$t,
|
15775
15771
|
{
|
15776
15772
|
inputId: ys.MONTH,
|
15777
15773
|
placeholder: "Day 1",
|
@@ -15788,7 +15784,7 @@ const jN = (e) => {
|
|
15788
15784
|
error: a,
|
15789
15785
|
selectedTimeOption: r
|
15790
15786
|
}) => /* @__PURE__ */ t.jsx(
|
15791
|
-
|
15787
|
+
$t,
|
15792
15788
|
{
|
15793
15789
|
inputId: ys.TIME,
|
15794
15790
|
placeholder: "12:00 AM",
|
@@ -15855,7 +15851,7 @@ const jN = (e) => {
|
|
15855
15851
|
}
|
15856
15852
|
),
|
15857
15853
|
!l && /* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
15858
|
-
|
15854
|
+
$t,
|
15859
15855
|
{
|
15860
15856
|
inputId: ys.TIME,
|
15861
15857
|
placeholder: zN.DEFAULT_TIME,
|
@@ -16441,7 +16437,7 @@ const J0 = {
|
|
16441
16437
|
)),
|
16442
16438
|
f && /* @__PURE__ */ t.jsx(Jd, {}),
|
16443
16439
|
n > s.length && !f && /* @__PURE__ */ t.jsx(Cd, { callback: E, hasError: x })
|
16444
|
-
] }) : o || r.length ? /* @__PURE__ */ t.jsx(
|
16440
|
+
] }) : o || r.length ? /* @__PURE__ */ t.jsx($C, { handleClearFilters: d, imageType: ws.Large }) : /* @__PURE__ */ t.jsx(ze, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
|
16445
16441
|
}, ej = ({
|
16446
16442
|
availableTags: e,
|
16447
16443
|
handleUpdateAvailableTags: s,
|
@@ -16479,7 +16475,7 @@ const J0 = {
|
|
16479
16475
|
signal: j.current.signal
|
16480
16476
|
}),
|
16481
16477
|
j
|
16482
|
-
), [O, w, B,
|
16478
|
+
), [O, w, B, F] = Dt(
|
16483
16479
|
R,
|
16484
16480
|
// In case of persistFilters with change of searchKey or selectedTags we anyways clear the pluginList so no need to add dependency
|
16485
16481
|
[L, _, T],
|
@@ -16492,21 +16488,21 @@ const J0 = {
|
|
16492
16488
|
M(() => {
|
16493
16489
|
!G && !oe && Z && s(Z);
|
16494
16490
|
}, [G, Z, oe]);
|
16495
|
-
const le = (D,
|
16491
|
+
const le = (D, $ = !1) => {
|
16496
16492
|
const {
|
16497
16493
|
pluginStore: { parentPluginStore: re, pluginVersionStore: ee },
|
16498
16494
|
totalCount: Te,
|
16499
16495
|
parentPluginIdList: H
|
16500
16496
|
} = D;
|
16501
16497
|
a(ib(n, re, ee)), b(Te);
|
16502
|
-
const Ae =
|
16498
|
+
const Ae = $ ? structuredClone(E) : [], Fe = Ae.reduce(
|
16503
16499
|
(Oe, Yt) => (Oe[Yt.parentPluginId] = !0, Oe),
|
16504
16500
|
{}
|
16505
16501
|
);
|
16506
16502
|
H.forEach((Oe) => {
|
16507
|
-
|
16503
|
+
Fe[Oe] || (Ae.push({
|
16508
16504
|
parentPluginId: Oe
|
16509
|
-
}),
|
16505
|
+
}), Fe[Oe] = !0);
|
16510
16506
|
}), I(Ae);
|
16511
16507
|
};
|
16512
16508
|
M(() => {
|
@@ -16584,7 +16580,7 @@ const J0 = {
|
|
16584
16580
|
error: B,
|
16585
16581
|
errorScreenManagerProps: {
|
16586
16582
|
code: B?.code,
|
16587
|
-
reload:
|
16583
|
+
reload: F
|
16588
16584
|
},
|
16589
16585
|
children: /* @__PURE__ */ t.jsx(
|
16590
16586
|
_b,
|
@@ -16633,31 +16629,31 @@ const J0 = {
|
|
16633
16629
|
validateDuplicateKeys: f = !1,
|
16634
16630
|
validateEmptyKeys: g = !1
|
16635
16631
|
}) => {
|
16636
|
-
const { headers: x, rows: _ } = e, E = x[0].key, h = x[1].key, [N, S] = y(_), [v, C] = y(!1), j = c || l, I = !c && !l || !!N.length, b = !N[0]?.data[E].value && !N[0]?.data[h].value, A = N.length === 1 && b, { sortBy: L, sortOrder: T, handleSorting: R } =
|
16632
|
+
const { headers: x, rows: _ } = e, E = x[0].key, h = x[1].key, [N, S] = y(_), [v, C] = y(!1), j = c || l, I = !c && !l || !!N.length, b = !N[0]?.data[E].value && !N[0]?.data[h].value, A = N.length === 1 && b, { sortBy: L, sortOrder: T, handleSorting: R } = Fc({
|
16637
16633
|
initialSortKey: n ? E : null
|
16638
16634
|
}), O = J(), w = J();
|
16639
16635
|
O.current || (O.current = N.reduce((k, D) => ({ ...k, [D.id]: ns() }), {})), w.current || (w.current = N.reduce((k, D) => ({ ...k, [D.id]: ns() }), {}));
|
16640
16636
|
const B = ne(
|
16641
16637
|
() => N.reduce(
|
16642
16638
|
(k, D) => {
|
16643
|
-
const
|
16644
|
-
return
|
16639
|
+
const $ = D.data[E].value;
|
16640
|
+
return $ && (k[$] = (k[$] || 0) + 1), k;
|
16645
16641
|
},
|
16646
16642
|
{}
|
16647
16643
|
),
|
16648
16644
|
[N]
|
16649
|
-
),
|
16645
|
+
), F = (k, D, $, re = !0) => {
|
16650
16646
|
if (re) {
|
16651
16647
|
const ee = k.trim();
|
16652
16648
|
if (f && D === E && B[ee] > 1 || g && D === E && !ee && N.some(
|
16653
|
-
({ id: H, data: Ae }) => H ===
|
16649
|
+
({ id: H, data: Ae }) => H === $ && Ae[h].value.trim()
|
16654
16650
|
))
|
16655
16651
|
return !1;
|
16656
16652
|
}
|
16657
|
-
return u ? u(k, D,
|
16653
|
+
return u ? u(k, D, $) : !0;
|
16658
16654
|
}, G = (k) => {
|
16659
16655
|
if (f) {
|
16660
|
-
const { isAnyKeyDuplicated:
|
16656
|
+
const { isAnyKeyDuplicated: $ } = k.reduce(
|
16661
16657
|
(re, ee) => {
|
16662
16658
|
const { keysFrequency: Te } = re, H = ee.data[E].value.trim();
|
16663
16659
|
return H && (Te[H] = (Te[H] || 0) + 1), {
|
@@ -16667,13 +16663,13 @@ const J0 = {
|
|
16667
16663
|
},
|
16668
16664
|
{ isAnyKeyDuplicated: !1, keysFrequency: {} }
|
16669
16665
|
);
|
16670
|
-
if (
|
16666
|
+
if ($)
|
16671
16667
|
return !1;
|
16672
16668
|
}
|
16673
16669
|
return g && k.some(
|
16674
16670
|
(re) => !re.data[E].value.trim() && re.data[h].value.trim()
|
16675
16671
|
) ? !1 : k.every(
|
16676
|
-
({ data:
|
16672
|
+
({ data: $, id: re }) => F($[E].value, E, re, !1) && F($[h].value, h, re, !1)
|
16677
16673
|
);
|
16678
16674
|
}, Z = () => {
|
16679
16675
|
const k = (Date.now() * Math.random()).toString(16);
|
@@ -16689,13 +16685,13 @@ const J0 = {
|
|
16689
16685
|
id: k
|
16690
16686
|
};
|
16691
16687
|
}, oe = () => {
|
16692
|
-
const k = Z(), D = [k, ...N], { id:
|
16688
|
+
const k = Z(), D = [k, ...N], { id: $ } = k;
|
16693
16689
|
p?.(!G(D)), C(!0), S(D), O.current = {
|
16694
16690
|
...O.current || {},
|
16695
|
-
[
|
16691
|
+
[$]: ns()
|
16696
16692
|
}, w.current = {
|
16697
16693
|
...w.current || {},
|
16698
|
-
[
|
16694
|
+
[$]: ns()
|
16699
16695
|
};
|
16700
16696
|
};
|
16701
16697
|
M(() => {
|
@@ -16704,7 +16700,7 @@ const J0 = {
|
|
16704
16700
|
n && S((k) => {
|
16705
16701
|
const D = structuredClone(k);
|
16706
16702
|
return D.sort(
|
16707
|
-
(
|
16703
|
+
($, re) => Ze($.data[L].value, re.data[L].value, T)
|
16708
16704
|
), D;
|
16709
16705
|
});
|
16710
16706
|
}, [T]), M(() => {
|
@@ -16716,10 +16712,10 @@ const J0 = {
|
|
16716
16712
|
}
|
16717
16713
|
}, [v]);
|
16718
16714
|
const me = () => R(L), le = (k) => () => {
|
16719
|
-
const D = N.filter(({ id:
|
16715
|
+
const D = N.filter(({ id: $ }) => $ !== k.id);
|
16720
16716
|
if (D.length === 0 && !l) {
|
16721
|
-
const
|
16722
|
-
C(!0), p?.(!G([
|
16717
|
+
const $ = Z(), { id: re } = $;
|
16718
|
+
C(!0), p?.(!G([$])), S([$]), O.current = {
|
16723
16719
|
[re]: ns()
|
16724
16720
|
}, w.current = {
|
16725
16721
|
[re]: ns()
|
@@ -16727,8 +16723,8 @@ const J0 = {
|
|
16727
16723
|
return;
|
16728
16724
|
}
|
16729
16725
|
p?.(!G(D)), S(D), delete O.current[k.id], delete w.current[k.id], o?.(k.id);
|
16730
|
-
}, K = (k, D) => (
|
16731
|
-
const { value: re } =
|
16726
|
+
}, K = (k, D) => ($) => {
|
16727
|
+
const { value: re } = $.target, ee = {
|
16732
16728
|
...k,
|
16733
16729
|
data: {
|
16734
16730
|
...k.data,
|
@@ -16739,13 +16735,13 @@ const J0 = {
|
|
16739
16735
|
}
|
16740
16736
|
}, Te = N.map((H) => H.id === k.id ? ee : H);
|
16741
16737
|
p?.(!G(Te)), S(Te);
|
16742
|
-
}, V = (k, D) => (
|
16743
|
-
const { value: re } =
|
16738
|
+
}, V = (k, D) => ($) => {
|
16739
|
+
const { value: re } = $.target;
|
16744
16740
|
r?.(k.id, D, re), p?.(!G(N));
|
16745
|
-
}, pe = (k, D,
|
16741
|
+
}, pe = (k, D, $) => /* @__PURE__ */ t.jsxs(
|
16746
16742
|
"div",
|
16747
16743
|
{
|
16748
|
-
className: `bg__secondary py-8 px-12 flexbox dc__content-space dc__align-items-center ${N.length || !j ? "dc__top-left-radius" : "dc__left-radius-4"} ${
|
16744
|
+
className: `bg__secondary py-8 px-12 flexbox dc__content-space dc__align-items-center ${N.length || !j ? "dc__top-left-radius" : "dc__left-radius-4"} ${$ || ""}`,
|
16749
16745
|
children: [
|
16750
16746
|
n ? /* @__PURE__ */ t.jsxs(
|
16751
16747
|
"button",
|
@@ -16795,17 +16791,17 @@ const J0 = {
|
|
16795
16791
|
), fe = (k) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox align-items-center dc__gap-4", children: [
|
16796
16792
|
/* @__PURE__ */ t.jsx(Je, { className: "icon-dim-16 fcr-5 dc__align-self-start dc__no-shrink" }),
|
16797
16793
|
/* @__PURE__ */ t.jsx("p", { className: "fs-12 lh-16 cn-7 m-0", children: k })
|
16798
|
-
] }, k), Ce = (k, D,
|
16794
|
+
] }, k), Ce = (k, D, $) => d && !F(k, D, $) ? /* @__PURE__ */ t.jsxs("div", { className: "key-value-table__error bg__primary dc__border br-4 py-7 px-8 flexbox-col dc__gap-4", children: [
|
16799
16795
|
f && fe(fb),
|
16800
16796
|
g && fe(hb),
|
16801
16797
|
m.map((ee) => fe(ee))
|
16802
16798
|
] }) : null;
|
16803
16799
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
16804
16800
|
/* @__PURE__ */ t.jsx("div", { className: `bcn-2 p-1 ${I ? "dc__top-radius-4" : "br-4"}`, children: /* @__PURE__ */ t.jsx("div", { className: "key-value-table two-columns w-100 bcn-1 br-4", children: /* @__PURE__ */ t.jsx("div", { className: "key-value-table__row", children: x.map(
|
16805
|
-
({ key: k, label: D, className:
|
16801
|
+
({ key: k, label: D, className: $ }) => k === E ? pe(k, D, $) : /* @__PURE__ */ t.jsxs(
|
16806
16802
|
"div",
|
16807
16803
|
{
|
16808
|
-
className: `bg__secondary cn-9 fs-13 lh-20 py-8 px-12 fw-6 flexbox dc__align-items-center dc__content-space dc__gap-2 ${k === E ? `${I ? "dc__top-left-radius" : "dc__left-radius-4"}` : `${I ? "dc__top-right-radius-4" : "dc__right-radius-4"}`} ${
|
16804
|
+
className: `bg__secondary cn-9 fs-13 lh-20 py-8 px-12 fw-6 flexbox dc__align-items-center dc__content-space dc__gap-2 ${k === E ? `${I ? "dc__top-left-radius" : "dc__left-radius-4"}` : `${I ? "dc__top-right-radius-4" : "dc__right-radius-4"}`} ${$ || ""}`,
|
16809
16805
|
children: [
|
16810
16806
|
D,
|
16811
16807
|
!!a && a
|
@@ -16822,10 +16818,10 @@ const J0 = {
|
|
16822
16818
|
x.map(({ key: D }) => /* @__PURE__ */ t.jsx(Xs, { children: /* @__PURE__ */ t.jsx(ot, { wrap: gb, condition: c, children: /* @__PURE__ */ t.jsx(
|
16823
16819
|
"div",
|
16824
16820
|
{
|
16825
|
-
className: `key-value-table__cell bg__primary flexbox dc__align-items-center dc__gap-4 dc__position-rel ${c || k.data[D].disabled ? "cursor-not-allowed no-hover" : ""} ${d &&
|
16821
|
+
className: `key-value-table__cell bg__primary flexbox dc__align-items-center dc__gap-4 dc__position-rel ${c || k.data[D].disabled ? "cursor-not-allowed no-hover" : ""} ${d && !F(k.data[D].value, D, k.id) ? "key-value-table__cell--error no-hover" : ""}`,
|
16826
16822
|
children: s?.[D] && k.data[D].value ? /* @__PURE__ */ t.jsx("div", { className: "py-8 px-12 h-36 flex", children: Cc }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
16827
16823
|
/* @__PURE__ */ t.jsx(
|
16828
|
-
|
16824
|
+
Fo,
|
16829
16825
|
{
|
16830
16826
|
...k.data[D],
|
16831
16827
|
className: `key-value-table__cell-input placeholder-cn5 py-8 px-12 cn-9 fs-13 lh-20 dc__no-border-radius ${c || k.data[D].disabled ? "cursor-not-allowed" : ""}`,
|
@@ -17051,9 +17047,9 @@ const J0 = {
|
|
17051
17047
|
/* @__PURE__ */ t.jsx(Ut, { className: "icon-dim-16 p-1 form__icon--error dc__align-self-start dc__no-shrink" }),
|
17052
17048
|
/* @__PURE__ */ t.jsx("span", { children: G }),
|
17053
17049
|
G && typeof I == "function" && I()
|
17054
|
-
] }, G), w = () => n?.length ? typeof n == "object" ? T(n).map((G) => O(G)) : O(n) : null, B = () => typeof o == "string" ? /* @__PURE__ */ t.jsx("span", { className: `${p ? "dc__required-field" : ""}`, children: o }) : o,
|
17050
|
+
] }, G), w = () => n?.length ? typeof n == "object" ? T(n).map((G) => O(G)) : O(n) : null, B = () => typeof o == "string" ? /* @__PURE__ */ t.jsx("span", { className: `${p ? "dc__required-field" : ""}`, children: o }) : o, F = () => o ? /* @__PURE__ */ t.jsx("label", { className: `form__label ${c}`, "data-testid": `label-${m}`, children: B() }) : null;
|
17055
17051
|
return /* @__PURE__ */ t.jsxs("div", { className: `flex column left top ${b}`, children: [
|
17056
|
-
|
17052
|
+
F(),
|
17057
17053
|
/* @__PURE__ */ t.jsx(
|
17058
17054
|
"input",
|
17059
17055
|
{
|
@@ -17425,7 +17421,7 @@ function kb({ isCreateApp: e }) {
|
|
17425
17421
|
}
|
17426
17422
|
);
|
17427
17423
|
}
|
17428
|
-
const
|
17424
|
+
const Fo = ({
|
17429
17425
|
value: e,
|
17430
17426
|
minHeight: s,
|
17431
17427
|
maxHeight: n,
|
@@ -17573,7 +17569,7 @@ const bl = ({
|
|
17573
17569
|
}, I = f === `tag-${o}-${e}` ? j() : null;
|
17574
17570
|
return /* @__PURE__ */ t.jsxs(st, { autoClose: !0, autoPosition: !0, children: [
|
17575
17571
|
/* @__PURE__ */ t.jsx(st.Button, { rootClassName: "bg__secondary flex top dc__no-border-imp", children: /* @__PURE__ */ t.jsx(
|
17576
|
-
|
17572
|
+
Fo,
|
17577
17573
|
{
|
17578
17574
|
minHeight: 30,
|
17579
17575
|
maxHeight: 80,
|
@@ -17670,7 +17666,7 @@ const Ub = (e) => {
|
|
17670
17666
|
}, Bb = (e, s) => {
|
17671
17667
|
const { propagateTagValue: n } = new mr(), { isValid: a, messages: r } = n(e, s);
|
17672
17668
|
return { isValid: a, errorMessages: r };
|
17673
|
-
},
|
17669
|
+
}, $b = ({
|
17674
17670
|
isLoading: e,
|
17675
17671
|
label: s,
|
17676
17672
|
fileName: n = "",
|
@@ -17723,7 +17719,7 @@ const Ub = (e) => {
|
|
17723
17719
|
}
|
17724
17720
|
)
|
17725
17721
|
] }) });
|
17726
|
-
},
|
17722
|
+
}, Fb = (e, s) => (n) => {
|
17727
17723
|
if (e) {
|
17728
17724
|
const { props: a, type: r } = e(s);
|
17729
17725
|
return mo(r, a, n);
|
@@ -17790,7 +17786,7 @@ const Ub = (e) => {
|
|
17790
17786
|
switch (T.data[R].type) {
|
17791
17787
|
case et.DROPDOWN:
|
17792
17788
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top dc__align-self-start", children: /* @__PURE__ */ t.jsx(
|
17793
|
-
|
17789
|
+
$t,
|
17794
17790
|
{
|
17795
17791
|
...T.data[R].props,
|
17796
17792
|
inputId: `data-table-${T.id}-${R}-cell`,
|
@@ -17807,11 +17803,11 @@ const Ub = (e) => {
|
|
17807
17803
|
}
|
17808
17804
|
) });
|
17809
17805
|
case et.SELECT_TEXT: {
|
17810
|
-
const { value: w, props: B } = T.data[R], { isCreatable:
|
17806
|
+
const { value: w, props: B } = T.data[R], { isCreatable: F = !0 } = B;
|
17811
17807
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 h-100 flex top dc__align-self-start", children: /* @__PURE__ */ t.jsx(
|
17812
17808
|
gf,
|
17813
17809
|
{
|
17814
|
-
isCreatable:
|
17810
|
+
isCreatable: F,
|
17815
17811
|
isClearable: !0,
|
17816
17812
|
...B,
|
17817
17813
|
variant: _s.BORDER_LESS,
|
@@ -17822,7 +17818,7 @@ const Ub = (e) => {
|
|
17822
17818
|
value: en(
|
17823
17819
|
B?.options,
|
17824
17820
|
w,
|
17825
|
-
|
17821
|
+
F && w ? { label: w, value: w } : null
|
17826
17822
|
),
|
17827
17823
|
onChange: S(T, R),
|
17828
17824
|
isDisabled: O,
|
@@ -17838,7 +17834,7 @@ const Ub = (e) => {
|
|
17838
17834
|
ot,
|
17839
17835
|
{
|
17840
17836
|
condition: !!u,
|
17841
|
-
wrap:
|
17837
|
+
wrap: Fb(u, T),
|
17842
17838
|
children: /* @__PURE__ */ t.jsxs(
|
17843
17839
|
"button",
|
17844
17840
|
{
|
@@ -17858,7 +17854,7 @@ const Ub = (e) => {
|
|
17858
17854
|
{
|
17859
17855
|
className: `mw-none w-100 h-100 flex top left px-8 ${T.data[R].props?.isLoading || T.data[R].value ? "py-3" : "py-8"}`,
|
17860
17856
|
children: /* @__PURE__ */ t.jsx(
|
17861
|
-
|
17857
|
+
$b,
|
17862
17858
|
{
|
17863
17859
|
...T.data[R].props,
|
17864
17860
|
fileName: T.data[R].value,
|
@@ -17869,7 +17865,7 @@ const Ub = (e) => {
|
|
17869
17865
|
);
|
17870
17866
|
default:
|
17871
17867
|
return /* @__PURE__ */ t.jsx(
|
17872
|
-
|
17868
|
+
Fo,
|
17873
17869
|
{
|
17874
17870
|
...T.data[R].props,
|
17875
17871
|
id: `data-table-${T.id}-${R}-cell`,
|
@@ -17903,11 +17899,11 @@ const Ub = (e) => {
|
|
17903
17899
|
"div",
|
17904
17900
|
{
|
17905
17901
|
className: `dynamic-data-table__error bg__primary dc__border br-4 py-7 px-8 flexbox-col dc__gap-4 ${B ? "no-error" : ""}`,
|
17906
|
-
children: w.map((
|
17902
|
+
children: w.map((F) => b(F))
|
17907
17903
|
}
|
17908
17904
|
);
|
17909
17905
|
}, L = (T, R, O) => {
|
17910
|
-
const w = n || T.data[R].disabled || !1, B = !(r[T.id]?.[R]?.isValid ?? !0),
|
17906
|
+
const w = n || T.data[R].disabled || !1, B = !(r[T.id]?.[R]?.isValid ?? !0), F = /* @__PURE__ */ t.jsx(
|
17911
17907
|
Ne,
|
17912
17908
|
{
|
17913
17909
|
alwaysShowTippyOnHover: !!T.data[R].tooltip?.content || w,
|
@@ -17940,13 +17936,13 @@ const Ub = (e) => {
|
|
17940
17936
|
);
|
17941
17937
|
return oe === "start" ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
17942
17938
|
me,
|
17943
|
-
|
17939
|
+
F
|
17944
17940
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
17945
|
-
|
17941
|
+
F,
|
17946
17942
|
me
|
17947
17943
|
] });
|
17948
17944
|
}
|
17949
|
-
return
|
17945
|
+
return F;
|
17950
17946
|
};
|
17951
17947
|
return f ? /* @__PURE__ */ t.jsx("div", { className: "bcn-2 px-1 pb-1 dc__bottom-radius-4", children: /* @__PURE__ */ t.jsx(
|
17952
17948
|
"div",
|
@@ -19004,7 +19000,7 @@ const Ub = (e) => {
|
|
19004
19000
|
x: E.width - ts.width - N.x,
|
19005
19001
|
y: E.height - ts.height - N.y
|
19006
19002
|
}), c(!0);
|
19007
|
-
}, v =
|
19003
|
+
}, v = Ge((I) => {
|
19008
19004
|
I.stopPropagation(), c(!1);
|
19009
19005
|
}, []), C = (I, b) => {
|
19010
19006
|
const A = {
|
@@ -19185,7 +19181,7 @@ const gC = ({
|
|
19185
19181
|
getResultsChartSummaryText: l,
|
19186
19182
|
disableTransition: c
|
19187
19183
|
}) => {
|
19188
|
-
const { handleSorting: d, sortBy: u, sortOrder: m, clearFilters: p } =
|
19184
|
+
const { handleSorting: d, sortBy: u, sortOrder: m, clearFilters: p } = Fc({
|
19189
19185
|
initialSortKey: Or[1].label
|
19190
19186
|
});
|
19191
19187
|
M(
|
@@ -19196,7 +19192,7 @@ const gC = ({
|
|
19196
19192
|
);
|
19197
19193
|
const f = (h) => () => {
|
19198
19194
|
d(h);
|
19199
|
-
}, g =
|
19195
|
+
}, g = Ge(
|
19200
19196
|
(h, N) => {
|
19201
19197
|
const S = Or.some((C) => C.label === u), v = hC[u] ?? ((C) => C);
|
19202
19198
|
if (!S) {
|
@@ -19403,15 +19399,15 @@ const gC = ({
|
|
19403
19399
|
status: "Progressing",
|
19404
19400
|
message: "-"
|
19405
19401
|
}), b();
|
19406
|
-
const
|
19402
|
+
const F = await T(x, c);
|
19407
19403
|
g.current.updateResultStatus(B, {
|
19408
19404
|
status: "Completed",
|
19409
19405
|
...w ? {
|
19410
|
-
renderContentAtResultRowEnd: () => w(
|
19406
|
+
renderContentAtResultRowEnd: () => w(F)
|
19411
19407
|
} : {}
|
19412
19408
|
}), b();
|
19413
|
-
} catch (
|
19414
|
-
if (Bt(
|
19409
|
+
} catch (F) {
|
19410
|
+
if (Bt(F)) {
|
19415
19411
|
g.current.updateResultStatus(B, {
|
19416
19412
|
status: "Failed",
|
19417
19413
|
message: "Aborted by you",
|
@@ -19421,7 +19417,7 @@ const gC = ({
|
|
19421
19417
|
}
|
19422
19418
|
g.current.updateResultStatus(B, {
|
19423
19419
|
status: "Failed",
|
19424
|
-
message: (
|
19420
|
+
message: (F && (F.message || F instanceof gt && Array.isArray(F.errors) && F.errors[0].userMessage)) ?? "",
|
19425
19421
|
retryOperation: L
|
19426
19422
|
}), b();
|
19427
19423
|
}
|
@@ -19478,7 +19474,7 @@ const gC = ({
|
|
19478
19474
|
}
|
19479
19475
|
);
|
19480
19476
|
return /* @__PURE__ */ t.jsxs("div", { className: "bulk-operations", children: [
|
19481
|
-
/* @__PURE__ */ t.jsx(
|
19477
|
+
/* @__PURE__ */ t.jsx($u, { when: u, message: o.prompt }),
|
19482
19478
|
!i && !_ ? C() : j()
|
19483
19479
|
] });
|
19484
19480
|
}, pn = ({
|
@@ -19812,7 +19808,7 @@ const gC = ({
|
|
19812
19808
|
{
|
19813
19809
|
showConfirmationModal: e,
|
19814
19810
|
handleClose: s,
|
19815
|
-
variant:
|
19811
|
+
variant: Ft.warning,
|
19816
19812
|
shouldCloseOnEscape: !1,
|
19817
19813
|
title: "Unsaved changes available",
|
19818
19814
|
subtitle: "Unsaved changes will be lost, are you sure you want to close the window?",
|
@@ -19831,7 +19827,7 @@ const gC = ({
|
|
19831
19827
|
function Me(e, s = !0, n = !1) {
|
19832
19828
|
e instanceof gt && Array.isArray(e.errors) ? e.errors.map(({ userMessage: a, internalMessage: r }) => {
|
19833
19829
|
const o = a?.toLowerCase();
|
19834
|
-
e.code === 403 && (o ===
|
19830
|
+
e.code === 403 && (o === Ve.UNAUTHORIZED.toLowerCase() || o === Ve.FORBIDDEN.toLowerCase()) ? n || Re.showToast({
|
19835
19831
|
variant: he.notAuthorized,
|
19836
19832
|
description: Bp.SUBTITLE
|
19837
19833
|
}) : Re.showToast({
|
@@ -20120,7 +20116,7 @@ const Sj = (e, s) => e ? Wa(e, !0) : s ? "" : "Not deployed", We = (e, s = {}) =
|
|
20120
20116
|
if (e === s.length)
|
20121
20117
|
return n;
|
20122
20118
|
const a = s[e], r = Number(a);
|
20123
|
-
return !Number.isNaN(r) ? [...Array(r).fill(hc), lo(e + 1, s, n)] : { [
|
20119
|
+
return !Number.isNaN(r) ? [...Array(r).fill(hc), lo(e + 1, s, n)] : { [$l(a)]: lo(e + 1, s, n) };
|
20124
20120
|
}, Ij = (e, s) => {
|
20125
20121
|
const n = e.split("/");
|
20126
20122
|
return n.splice(0, 1), lo(0, n, s);
|
@@ -20135,7 +20131,7 @@ const Sj = (e, s) => e ? Wa(e, !0) : s ? "" : "Not deployed", We = (e, s = {}) =
|
|
20135
20131
|
return ou(n, s).forEach((o) => {
|
20136
20132
|
a.push(n.slice(0, o));
|
20137
20133
|
}), a;
|
20138
|
-
}), yj = (e) =>
|
20134
|
+
}), yj = (e) => $l(e.replace(/\/([\*0-9]+)\//g, "[$1].").replace(/\//g, ".").replace(/\./, "$.")), Rj = (e, s, n = "path") => e.flatMap((a) => Lu({ path: a, json: s, resultType: n })), Lj = (e, s) => {
|
20139
20135
|
const n = Ou(e, s);
|
20140
20136
|
return wu(Du(e), n).newDocument;
|
20141
20137
|
}, IC = (e, s = 500) => {
|
@@ -20187,7 +20183,7 @@ function iu(e, s) {
|
|
20187
20183
|
}, [s]);
|
20188
20184
|
}
|
20189
20185
|
function Pj(e) {
|
20190
|
-
const s = J(null), n = J(0), a = J(null), [r, o] = y(0), [i, l] = y(0), [c, d] = y(!1), u =
|
20186
|
+
const s = J(null), n = J(0), a = J(null), [r, o] = y(0), [i, l] = y(0), [c, d] = y(!1), u = Ge((E) => {
|
20191
20187
|
if (E !== null)
|
20192
20188
|
return s.current = E, a.current = E.addEventListener("wheel", m), n.current = requestAnimationFrame(_), () => {
|
20193
20189
|
E.removeEventListener("wheel", m), cancelAnimationFrame(n.current);
|
@@ -20274,7 +20270,7 @@ const Uj = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, LC = (e, s = 300) => {
|
|
20274
20270
|
n.innerHTML = cu(e);
|
20275
20271
|
const a = n.querySelector("iframe");
|
20276
20272
|
return a ? (!a.hasAttribute("title") && s && a.setAttribute("title", s), a.hasAttribute("loading") || a.setAttribute("loading", "lazy"), a.hasAttribute("width") || a.setAttribute("width", "100%"), a.hasAttribute("height") || a.setAttribute("height", "100%"), n.innerHTML) : e;
|
20277
|
-
},
|
20273
|
+
}, $j = (e) => {
|
20278
20274
|
switch (e) {
|
20279
20275
|
case At.PRECD:
|
20280
20276
|
return "Pre-deployment";
|
@@ -20283,7 +20279,7 @@ const Uj = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, LC = (e, s = 300) => {
|
|
20283
20279
|
default:
|
20284
20280
|
return "Deployment";
|
20285
20281
|
}
|
20286
|
-
},
|
20282
|
+
}, Fj = (e) => {
|
20287
20283
|
const s = ye(), n = s.format(e), a = s.format("Z").replace(/([+/-])(\d{2})[:.](\d{2})/, "$1$2$3");
|
20288
20284
|
return n.replace("Z", a);
|
20289
20285
|
}, Vj = async (e) => {
|
@@ -20313,8 +20309,8 @@ const wC = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
|
|
20313
20309
|
ze,
|
20314
20310
|
{
|
20315
20311
|
image: Br,
|
20316
|
-
title: s ??
|
20317
|
-
subTitle: e ??
|
20312
|
+
title: s ?? Ve.NOT_AUTHORIZED,
|
20313
|
+
subTitle: e ?? Ve.ONLY_FOR_SUPERADMIN
|
20318
20314
|
}
|
20319
20315
|
);
|
20320
20316
|
class on extends se.Component {
|
@@ -20618,7 +20614,7 @@ class zj extends qa {
|
|
20618
20614
|
/* @__PURE__ */ t.jsx("h1", { className: "modal__title", children: this.props.title }),
|
20619
20615
|
/* @__PURE__ */ t.jsxs("button", { type: "button", className: "dc__transparent", onClick: this.props.close, children: [
|
20620
20616
|
" ",
|
20621
|
-
/* @__PURE__ */ t.jsx("img", { src:
|
20617
|
+
/* @__PURE__ */ t.jsx("img", { src: Fm, alt: "close" })
|
20622
20618
|
] })
|
20623
20619
|
] }),
|
20624
20620
|
/* @__PURE__ */ t.jsx(co.Consumer, { children: (s) => /* @__PURE__ */ t.jsx(
|
@@ -20735,7 +20731,7 @@ const Go = ({
|
|
20735
20731
|
]
|
20736
20732
|
}
|
20737
20733
|
) });
|
20738
|
-
},
|
20734
|
+
}, $C = ({
|
20739
20735
|
handleClearFilters: e,
|
20740
20736
|
isButtonAvailable: s,
|
20741
20737
|
renderButton: n,
|
@@ -20762,7 +20758,7 @@ const Go = ({
|
|
20762
20758
|
renderButton: r ? o : n
|
20763
20759
|
}
|
20764
20760
|
);
|
20765
|
-
},
|
20761
|
+
}, FC = (e) => {
|
20766
20762
|
switch (e) {
|
20767
20763
|
case U.large:
|
20768
20764
|
return "h-36";
|
@@ -20783,7 +20779,7 @@ const Go = ({
|
|
20783
20779
|
noBackgroundAndBorder: c = !1,
|
20784
20780
|
size: d = U.medium
|
20785
20781
|
}) => {
|
20786
|
-
const [u, m] = y(!!e), p = J(), f =
|
20782
|
+
const [u, m] = y(!!e), p = J(), f = Ge(IC(s, i), [
|
20787
20783
|
s,
|
20788
20784
|
i
|
20789
20785
|
]);
|
@@ -20810,7 +20806,7 @@ const Go = ({
|
|
20810
20806
|
return /* @__PURE__ */ t.jsx("div", { className: `search-bar-container ${r || ""}`, children: /* @__PURE__ */ t.jsxs(
|
20811
20807
|
"div",
|
20812
20808
|
{
|
20813
|
-
className: `search-bar ${c ? "dc__no-border dc__no-background dc__hover-n50" : "bg__secondary en-2 dc__hover-border-n300"} focus-within-border-b5 dc__block w-100 min-w-200 dc__position-rel br-4 bw-1 ${
|
20809
|
+
className: `search-bar ${c ? "dc__no-border dc__no-background dc__hover-n50" : "bg__secondary en-2 dc__hover-border-n300"} focus-within-border-b5 dc__block w-100 min-w-200 dc__position-rel br-4 bw-1 ${FC(d)}`,
|
20814
20810
|
children: [
|
20815
20811
|
/* @__PURE__ */ t.jsx(Ta, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-16" }),
|
20816
20812
|
/* @__PURE__ */ t.jsx(
|
@@ -20864,7 +20860,7 @@ const Go = ({
|
|
20864
20860
|
function p(g) {
|
20865
20861
|
r || m((x) => !x);
|
20866
20862
|
}
|
20867
|
-
const f =
|
20863
|
+
const f = Ge(LC(p, 500), [r]);
|
20868
20864
|
return /* @__PURE__ */ t.jsxs(
|
20869
20865
|
"label",
|
20870
20866
|
{
|
@@ -20957,7 +20953,7 @@ const Jj = ({
|
|
20957
20953
|
forceReInit: m,
|
20958
20954
|
isSuperAdmin: p
|
20959
20955
|
}) => {
|
20960
|
-
const [f, g] = y(a || []), [x, _] = y(n ? n.comment : ""), [E, h] = y(o || []), [N, S] = y(n ? n.comment : ""), [v, C] = y(!1), [j, I] = y(!1), [b, A] = y(a || []), [L, T] = y(""), [R, O] = y([]), [w, B] = y([]), [
|
20956
|
+
const [f, g] = y(a || []), [x, _] = y(n ? n.comment : ""), [E, h] = y(o || []), [N, S] = y(n ? n.comment : ""), [v, C] = y(!1), [j, I] = y(!1), [b, A] = y(a || []), [L, T] = y(""), [R, O] = y([]), [w, B] = y([]), [F, G] = y([]), [Z, oe] = y(""), [me, le] = y(""), [K, V] = y(!1);
|
20961
20957
|
M(() => {
|
20962
20958
|
pe();
|
20963
20959
|
}, [a, n, l]), M(() => {
|
@@ -20978,10 +20974,10 @@ const Jj = ({
|
|
20978
20974
|
T("");
|
20979
20975
|
const xe = E.includes(z);
|
20980
20976
|
let ce = !1;
|
20981
|
-
for (let
|
20982
|
-
b[
|
20977
|
+
for (let Ue = 0; Ue < b?.length; Ue++)
|
20978
|
+
b[Ue].tagName.toLowerCase() === z && (ce = !0);
|
20983
20979
|
return xe || ce || z === "latest" ? (T("This label is already being used in this application"), !1) : !0;
|
20984
|
-
},
|
20980
|
+
}, $ = (z) => {
|
20985
20981
|
const xe = z.toLowerCase().trim();
|
20986
20982
|
if (D(xe)) {
|
20987
20983
|
const ce = {
|
@@ -20991,8 +20987,8 @@ const Jj = ({
|
|
20991
20987
|
deleted: !1,
|
20992
20988
|
artifactId: 0,
|
20993
20989
|
duplicateTag: !1
|
20994
|
-
},
|
20995
|
-
return O(
|
20990
|
+
}, Ue = [...R, ce];
|
20991
|
+
return O(Ue), A([...b, ce]), I(!0), le(""), Ue;
|
20996
20992
|
}
|
20997
20993
|
return R;
|
20998
20994
|
}, re = (z) => {
|
@@ -21001,16 +20997,16 @@ const Jj = ({
|
|
21001
20997
|
...xe[z],
|
21002
20998
|
deleted: !xe[z].deleted
|
21003
20999
|
};
|
21004
|
-
const ce = xe[z],
|
21005
|
-
qe !== -1 ?
|
21000
|
+
const ce = xe[z], Ue = [...w], qe = Ue.findIndex((Et) => Et.tagName === ce.tagName);
|
21001
|
+
qe !== -1 ? Ue.splice(qe, 1) : Ue.push(ce), A(xe), B(Ue);
|
21006
21002
|
}, ee = (z) => {
|
21007
21003
|
const xe = b[z], ce = R.filter((Et) => Et.tagName !== xe.tagName);
|
21008
21004
|
O(ce);
|
21009
|
-
const
|
21010
|
-
|
21005
|
+
const Ue = [...b];
|
21006
|
+
Ue.splice(z, 1), A(Ue);
|
21011
21007
|
const qe = E.filter((Et) => Et.toLowerCase() !== xe.tagName.toLowerCase());
|
21012
21008
|
if (h(qe), xe.id !== 0) {
|
21013
|
-
const Et = [
|
21009
|
+
const Et = [...F, xe];
|
21014
21010
|
G(Et);
|
21015
21011
|
}
|
21016
21012
|
}, Te = (z) => {
|
@@ -21020,11 +21016,11 @@ const Jj = ({
|
|
21020
21016
|
duplicateTag: !0
|
21021
21017
|
} : qe);
|
21022
21018
|
O(ce);
|
21023
|
-
const
|
21019
|
+
const Ue = b.map((qe) => {
|
21024
21020
|
const Et = ce.find((hr) => hr.tagName === qe.tagName);
|
21025
21021
|
return Et ? { ...qe, duplicateTag: Et.duplicateTag } : qe;
|
21026
21022
|
});
|
21027
|
-
A(
|
21023
|
+
A(Ue);
|
21028
21024
|
});
|
21029
21025
|
}, H = async (z) => {
|
21030
21026
|
if (L) return;
|
@@ -21036,17 +21032,17 @@ const Jj = ({
|
|
21036
21032
|
comment: N.trim(),
|
21037
21033
|
artifactId: 0
|
21038
21034
|
},
|
21039
|
-
hardDeleteTags:
|
21035
|
+
hardDeleteTags: F
|
21040
21036
|
};
|
21041
21037
|
V(!0), yf(xe, e ?? 0, s).then((ce) => {
|
21042
|
-
const
|
21038
|
+
const Ue = ce.result?.imageReleaseTags?.map((qe) => ({
|
21043
21039
|
id: qe.id,
|
21044
21040
|
tagName: qe.tagName,
|
21045
21041
|
deleted: qe.deleted,
|
21046
21042
|
appId: 0,
|
21047
21043
|
artifactId: 0
|
21048
21044
|
}));
|
21049
|
-
i && i(ce.result?.appReleaseTags), c && c(ce.result?.tagsEditable), g(
|
21045
|
+
i && i(ce.result?.appReleaseTags), c && c(ce.result?.tagsEditable), g(Ue), _(ce.result?.imageComment?.comment), A(Ue), S(ce.result?.imageComment?.comment), O([]), B([]), G([]), fe(), I(!1), T(""), r && r(s, Ue, ce.result?.imageComment);
|
21050
21046
|
}).catch((ce) => {
|
21051
21047
|
ce.errors?.[0]?.userMessage?.appReleaseTags?.length ? (Re.showToast({
|
21052
21048
|
variant: he.error,
|
@@ -21056,13 +21052,13 @@ const Jj = ({
|
|
21056
21052
|
V(!1);
|
21057
21053
|
});
|
21058
21054
|
}, Ae = () => /* @__PURE__ */ t.jsx(
|
21059
|
-
|
21055
|
+
Fn,
|
21060
21056
|
{
|
21061
21057
|
heading: "Image labels",
|
21062
|
-
additionalContent:
|
21058
|
+
additionalContent: Fe(),
|
21063
21059
|
iconClassName: "fcn-5 ml-4 icon-dim-16"
|
21064
21060
|
}
|
21065
|
-
),
|
21061
|
+
), Fe = () => /* @__PURE__ */ t.jsxs("div", { className: "h-250 fs-13 dc__overflow-auto p-12", children: [
|
21066
21062
|
/* @__PURE__ */ t.jsx("div", { children: "Image labels allow you to tag container images with readable and relatable labels eg. v1.0." }),
|
21067
21063
|
/* @__PURE__ */ t.jsxs("ul", { className: "pl-20 mt-8", children: [
|
21068
21064
|
/* @__PURE__ */ t.jsx("li", { children: "A label can only be added if a workflow has CD pipelines deploying to Production environments." }),
|
@@ -21074,14 +21070,14 @@ const Jj = ({
|
|
21074
21070
|
if (N === "" && b.length === 0 && !v)
|
21075
21071
|
return l ? /* @__PURE__ */ t.jsx("div", { className: "bg__primary mt-8 add-image-button", children: /* @__PURE__ */ t.jsx(YC, { handleEditClick: fe }) }) : /* @__PURE__ */ t.jsx("div", {});
|
21076
21072
|
const Yt = (z) => {
|
21077
|
-
z.key === "Enter" && z.target.value.trim() &&
|
21073
|
+
z.key === "Enter" && z.target.value.trim() && $(z.target.value.trim());
|
21078
21074
|
}, Pt = (z) => {
|
21079
21075
|
z.target.value && D(z.target.value), le(z.target.value);
|
21080
21076
|
}, _r = (z) => {
|
21081
|
-
ge(z), me.trim() &&
|
21077
|
+
ge(z), me.trim() && $(me.trim());
|
21082
21078
|
}, fr = () => {
|
21083
21079
|
let z = R;
|
21084
|
-
me.trim() && (z =
|
21080
|
+
me.trim() && (z = $(me)), H(z);
|
21085
21081
|
};
|
21086
21082
|
return /* @__PURE__ */ t.jsx("div", { className: "mt-8", children: v && l ? /* @__PURE__ */ t.jsxs("div", { className: "bg__primary dc__border-top-n1 ", children: [
|
21087
21083
|
/* @__PURE__ */ t.jsxs("div", { className: "cn-7 mt-12 flex left", children: [
|
@@ -21475,7 +21471,7 @@ const ey = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", {
|
|
21475
21471
|
/* @__PURE__ */ t.jsxs("div", { className: "chart-type-options flex", "data-testid": "chart-type-options", children: [
|
21476
21472
|
/* @__PURE__ */ t.jsx("span", { className: "cn-7 mr-4", children: "Chart Type" }),
|
21477
21473
|
/* @__PURE__ */ t.jsx(
|
21478
|
-
|
21474
|
+
$t,
|
21479
21475
|
{
|
21480
21476
|
inputId: "chart-type-select",
|
21481
21477
|
value: a ?? l[0],
|
@@ -21488,7 +21484,7 @@ const ey = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", {
|
|
21488
21484
|
/* @__PURE__ */ t.jsxs("div", { className: "chart-version-options flex", "data-testid": "chart-version-options", children: [
|
21489
21485
|
/* @__PURE__ */ t.jsx("span", { className: "cn-7 mr-4", children: "Chart Version" }),
|
21490
21486
|
/* @__PURE__ */ t.jsx(
|
21491
|
-
|
21487
|
+
$t,
|
21492
21488
|
{
|
21493
21489
|
inputId: "chart-version-select",
|
21494
21490
|
value: d ?? o[0],
|
@@ -21570,7 +21566,7 @@ const qC = ({ startNode: e }) => e.type === rs.WEBHOOK ? js.WEBHOOK : e.type ===
|
|
21570
21566
|
var uo = /* @__PURE__ */ ((e) => (e.PARENT_BOTTOM_CENTER = "PARENT_BOTTOM_CENTER", e.SCREEN_BOTTOM_CENTER = "SCREEN_BOTTOM_CENTER", e.SCREEN_BOTTOM_RIGHT = "SCREEN_BOTTOM_RIGHT", e))(uo || {});
|
21571
21567
|
function ay({
|
21572
21568
|
children: e,
|
21573
|
-
zIndex: s =
|
21569
|
+
zIndex: s = Fp,
|
21574
21570
|
positionVariant: n,
|
21575
21571
|
dragSelector: a,
|
21576
21572
|
parentRef: r,
|
@@ -22214,7 +22210,7 @@ function ly({
|
|
22214
22210
|
}
|
22215
22211
|
export {
|
22216
22212
|
Gp as $,
|
22217
|
-
|
22213
|
+
Ve as A,
|
22218
22214
|
pu as B,
|
22219
22215
|
wt as C,
|
22220
22216
|
Jj as D,
|
@@ -22235,8 +22231,8 @@ export {
|
|
22235
22231
|
Hj as S,
|
22236
22232
|
Ne as T,
|
22237
22233
|
Se as U,
|
22238
|
-
|
22239
|
-
|
22234
|
+
$p as V,
|
22235
|
+
Fp as W,
|
22240
22236
|
xA as X,
|
22241
22237
|
_e as Y,
|
22242
22238
|
Vs as Z,
|
@@ -22282,15 +22278,15 @@ export {
|
|
22282
22278
|
at as a_,
|
22283
22279
|
Qo as aa,
|
22284
22280
|
pc as ab,
|
22285
|
-
|
22281
|
+
$r as ac,
|
22286
22282
|
_c as ad,
|
22287
22283
|
fc as ae,
|
22288
22284
|
TA as af,
|
22289
22285
|
mt as ag,
|
22290
22286
|
SA as ah,
|
22291
22287
|
ei as ai,
|
22292
|
-
|
22293
|
-
|
22288
|
+
Fr as aj,
|
22289
|
+
$s as ak,
|
22294
22290
|
vA as al,
|
22295
22291
|
hc as am,
|
22296
22292
|
Wp as an,
|
@@ -22323,8 +22319,8 @@ export {
|
|
22323
22319
|
OC as bC,
|
22324
22320
|
cu as bD,
|
22325
22321
|
Bj as bE,
|
22326
|
-
|
22327
|
-
|
22322
|
+
$j as bF,
|
22323
|
+
Fj as bG,
|
22328
22324
|
Vj as bH,
|
22329
22325
|
ke as bI,
|
22330
22326
|
kA as bJ,
|
@@ -22338,7 +22334,7 @@ export {
|
|
22338
22334
|
Bb as bR,
|
22339
22335
|
oj as bS,
|
22340
22336
|
bl as bT,
|
22341
|
-
|
22337
|
+
Fo as bU,
|
22342
22338
|
Mb as bV,
|
22343
22339
|
jt as bW,
|
22344
22340
|
Xj as bX,
|
@@ -22400,8 +22396,8 @@ export {
|
|
22400
22396
|
jo as cO,
|
22401
22397
|
Uc as cP,
|
22402
22398
|
Hn as cQ,
|
22403
|
-
|
22404
|
-
|
22399
|
+
$c as cR,
|
22400
|
+
Fc as cS,
|
22405
22401
|
ey as cT,
|
22406
22402
|
sy as cU,
|
22407
22403
|
ny as cV,
|
@@ -22501,7 +22497,7 @@ export {
|
|
22501
22497
|
Ee as dy,
|
22502
22498
|
Rc as dz,
|
22503
22499
|
wC as e,
|
22504
|
-
|
22500
|
+
$A as e$,
|
22505
22501
|
Vn as e0,
|
22506
22502
|
Dc as e1,
|
22507
22503
|
Ye as e2,
|
@@ -22536,7 +22532,7 @@ export {
|
|
22536
22532
|
B_ as eV,
|
22537
22533
|
Ic as eW,
|
22538
22534
|
UA as eX,
|
22539
|
-
|
22535
|
+
F_ as eY,
|
22540
22536
|
V_ as eZ,
|
22541
22537
|
BA as e_,
|
22542
22538
|
Eh as ea,
|
@@ -22567,7 +22563,7 @@ export {
|
|
22567
22563
|
vI as ez,
|
22568
22564
|
Gj as f,
|
22569
22565
|
wn as f$,
|
22570
|
-
|
22566
|
+
FA as f0,
|
22571
22567
|
QI as f1,
|
22572
22568
|
dg as f2,
|
22573
22569
|
ZI as f3,
|
@@ -22585,7 +22581,7 @@ export {
|
|
22585
22581
|
bx as fF,
|
22586
22582
|
De as fG,
|
22587
22583
|
ls as fH,
|
22588
|
-
|
22584
|
+
FE as fI,
|
22589
22585
|
VE as fJ,
|
22590
22586
|
ft as fK,
|
22591
22587
|
On as fL,
|
@@ -22616,7 +22612,7 @@ export {
|
|
22616
22612
|
Ds as fj,
|
22617
22613
|
m0 as fk,
|
22618
22614
|
Sn as fl,
|
22619
|
-
|
22615
|
+
Fn as fm,
|
22620
22616
|
p0 as fn,
|
22621
22617
|
AE as fo,
|
22622
22618
|
N0 as fp,
|
@@ -22635,7 +22631,7 @@ export {
|
|
22635
22631
|
M0 as g0,
|
22636
22632
|
hx as g1,
|
22637
22633
|
U0 as g2,
|
22638
|
-
|
22634
|
+
$0 as g3,
|
22639
22635
|
AN as g4,
|
22640
22636
|
IN as g5,
|
22641
22637
|
YE as g6,
|
@@ -22663,7 +22659,7 @@ export {
|
|
22663
22659
|
ab as gS,
|
22664
22660
|
rb as gT,
|
22665
22661
|
tj as gU,
|
22666
|
-
|
22662
|
+
$t as gV,
|
22667
22663
|
Gf as gW,
|
22668
22664
|
en as gX,
|
22669
22665
|
gf as gY,
|
@@ -22701,7 +22697,7 @@ export {
|
|
22701
22697
|
Ct as h1,
|
22702
22698
|
Ux as h2,
|
22703
22699
|
ol as h3,
|
22704
|
-
|
22700
|
+
$x as h4,
|
22705
22701
|
Yx as h5,
|
22706
22702
|
B0 as h6,
|
22707
22703
|
Dd as h7,
|
@@ -22717,17 +22713,17 @@ export {
|
|
22717
22713
|
aj as hH,
|
22718
22714
|
rj as hI,
|
22719
22715
|
Ls as hJ,
|
22720
|
-
|
22716
|
+
F0 as hK,
|
22721
22717
|
PN as hL,
|
22722
22718
|
DN as hM,
|
22723
|
-
|
22719
|
+
Ft as hN,
|
22724
22720
|
wd as hO,
|
22725
22721
|
Gb as hP,
|
22726
22722
|
et as hQ,
|
22727
22723
|
ij as hR,
|
22728
22724
|
Yb as hS,
|
22729
22725
|
Cl as hT,
|
22730
|
-
|
22726
|
+
$b as hU,
|
22731
22727
|
lj as hV,
|
22732
22728
|
cj as hW,
|
22733
22729
|
dj as hX,
|
@@ -22775,12 +22771,12 @@ export {
|
|
22775
22771
|
lI as iA,
|
22776
22772
|
cI as iB,
|
22777
22773
|
ji as iC,
|
22778
|
-
|
22774
|
+
$h as iD,
|
22779
22775
|
BI as iE,
|
22780
22776
|
fs as iF,
|
22781
22777
|
wi as iG,
|
22782
|
-
|
22783
|
-
|
22778
|
+
$I as iH,
|
22779
|
+
FI as iI,
|
22784
22780
|
Ze as iJ,
|
22785
22781
|
Vh as iK,
|
22786
22782
|
Wc as iL,
|
@@ -22823,7 +22819,7 @@ export {
|
|
22823
22819
|
rI as ix,
|
22824
22820
|
oI as iy,
|
22825
22821
|
iI as iz,
|
22826
|
-
|
22822
|
+
$C as j,
|
22827
22823
|
ue as j$,
|
22828
22824
|
Xh as j0,
|
22829
22825
|
WI as j1,
|
@@ -22846,7 +22842,7 @@ export {
|
|
22846
22842
|
x0 as jI,
|
22847
22843
|
sa as jJ,
|
22848
22844
|
na as jK,
|
22849
|
-
|
22845
|
+
Fs as jL,
|
22850
22846
|
pa as jM,
|
22851
22847
|
si as jN,
|
22852
22848
|
g_ as jO,
|
@@ -22909,7 +22905,7 @@ export {
|
|
22909
22905
|
JI as kH,
|
22910
22906
|
he as kI,
|
22911
22907
|
Xc as kJ,
|
22912
|
-
|
22908
|
+
$o as kK,
|
22913
22909
|
Sx as kL,
|
22914
22910
|
vx as kM,
|
22915
22911
|
Ax as kN,
|
@@ -22959,6 +22955,6 @@ export {
|
|
22959
22955
|
Rt as v,
|
22960
22956
|
Y as w,
|
22961
22957
|
pA as x,
|
22962
|
-
|
22958
|
+
Be as y,
|
22963
22959
|
Bp as z
|
22964
22960
|
};
|