@devtron-labs/devtron-fe-common-lib 1.21.1-beta-5 → 1.21.1-beta-7
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.
|
@@ -6,13 +6,13 @@ var gf = (e, s, n) => s in e ? hf(e, s, { enumerable: !0, configurable: !0, writ
|
|
|
6
6
|
var pe = (e, s, n) => gf(e, typeof s != "symbol" ? s + "" : s, n), zc = (e, s, n) => s.has(e) || Kc("Cannot " + n);
|
|
7
7
|
var qs = (e, s, n) => (zc(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Ha = (e, s, n) => s.has(e) ? Kc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Ya = (e, s, n, a) => (zc(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
|
8
8
|
import { j as t, i as ye, Q as Wa, k as xf, F as Ef, n as Cf, D as Nr, t as ze, g as Nf, a as bf, E as na, S as Yi, b as vu, r as Iu, s as Tf, o as Sf, c as qc, d as vf, e as If, y as Rf, l as br, f as Af, h as yf, m as Xc, p as Jc, q as jf, u as Of, v as wf, w as Lf, x as Df, z as Pf, A as kf, B as Ru, T as Zc, C as Wi, G as Mf, H as Qc, I as Uf, J as $f, K as Au, L as el, M as Ff, N as Bf, O as Vf, P as Gf, R as tl, V as Hf, U as Yf, W as Wf, X as sl, Y as Kf, Z as nl, _ as al, $ as zf, a0 as qf, a1 as Xf, a2 as Jf, a3 as Zf, a4 as Qf, a5 as eh, a6 as Ao, a7 as th, a8 as sh, a9 as nh, aa as ah, ab as rh, ac as yu, ad as oh, ae as ih, af as ch, ag as lh, ah as dh, ai as rl, aj as ol, ak as uh, al as mh, am as ph, an as _h, ao as fh, ap as hh, aq as gh, ar as xh, as as ju, at as Ou, au as Eh, av as Ch, aw as Nh, ax as bh, ay as Th, az as Sh, aA as vh, aB as Ih, aC as Rh, aD as Ah, aE as yh, aF as Js } from "./@vendor-3ORIJA0h.js";
|
|
9
|
-
import He, { createContext as Mt, useContext as ss, useMemo as K, useState as O, useEffect as k, forwardRef as qr, createElement as Ki, Children as ti, useRef as B, useCallback as Ge, useLayoutEffect as zi, createRef as Tr, cloneElement as aa, Fragment as
|
|
9
|
+
import He, { createContext as Mt, useContext as ss, useMemo as K, useState as O, useEffect as k, forwardRef as qr, createElement as Ki, Children as ti, useRef as B, useCallback as Ge, useLayoutEffect as zi, createRef as Tr, cloneElement as aa, Fragment as xs, memo as yt, Component as qi } from "react";
|
|
10
10
|
import { ReactComponent as jh } from "./assets/ic-info-filled-override.99e8094a.svg";
|
|
11
11
|
import * as Oh from "yaml";
|
|
12
12
|
import Qt, { parse as wh, YAMLParseError as Lh } from "yaml";
|
|
13
13
|
import { ReactComponent as Xi } from "./assets/ic-info-outline.29f1089c.svg";
|
|
14
14
|
import { ReactComponent as Dh } from "./assets/ic-var-initial.afdaa854.svg";
|
|
15
|
-
import { Link as ns, useLocation as as, useHistory as jn, useParams as bt, generatePath as
|
|
15
|
+
import { Link as ns, useLocation as as, useHistory as jn, useParams as bt, generatePath as Ps, useRouteMatch as Ss, NavLink as Hs, Switch as wu, Route as en, Redirect as Ph, Prompt as kh } from "react-router-dom";
|
|
16
16
|
import { ReactComponent as Mh } from "./assets/ic-delete-interactive.304dd293.svg";
|
|
17
17
|
import { ReactComponent as Lu } from "./assets/ic-visibility-off.d91d3844.svg";
|
|
18
18
|
import { ReactComponent as Du } from "./assets/ic-visibility-on.7505dd12.svg";
|
|
@@ -22,10 +22,10 @@ import { ReactComponent as Jr } from "./assets/ic-tag.1613fc59.svg";
|
|
|
22
22
|
import { ReactComponent as Pu } from "./assets/ic-timer.b62145ec.svg";
|
|
23
23
|
import { ReactComponent as ku } from "./assets/ic-cpu.3024be12.svg";
|
|
24
24
|
import { ReactComponent as Mu } from "./assets/ic-memory.c3264de1.svg";
|
|
25
|
-
import
|
|
25
|
+
import Es from "react-ga4";
|
|
26
26
|
import { h as de } from "./@moment-CGWt8tF2.js";
|
|
27
27
|
import $h from "./assets/DeployAudio.566e45df.mp3";
|
|
28
|
-
import { m as Fe, A as on, a as ra, u as oa, b as
|
|
28
|
+
import { m as Fe, A as on, a as ra, u as oa, b as Ds, c as il, d as Fh } from "./@framer-motion-DZveCoIL.js";
|
|
29
29
|
import Ji, { components as Xe } from "react-select";
|
|
30
30
|
import { ReactComponent as Bh } from "./assets/ic-arrow-backward.d951202a.svg";
|
|
31
31
|
import { ReactComponent as Uu } from "./assets/ic-docker.48906f4d.svg";
|
|
@@ -36,11 +36,11 @@ import { ReactComponent as Fu } from "./assets/ic-arrow-forward.a2b8ab45.svg";
|
|
|
36
36
|
import Vh, { ReactComponent as Bu } from "./assets/ic-mechanical-operation.04a318d6.svg";
|
|
37
37
|
import Vu from "./assets/app-not-deployed.622dc6ba.svg";
|
|
38
38
|
import { BehaviorSubject as Zr, noop as Ka } from "rxjs";
|
|
39
|
-
import Gh, { ReactComponent as
|
|
39
|
+
import Gh, { ReactComponent as Cs } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
|
40
40
|
import { ReactComponent as Hh } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
|
|
41
41
|
import { ReactComponent as Yh } from "./assets/ic-fullscreen.b05e5087.svg";
|
|
42
42
|
import an from "dompurify";
|
|
43
|
-
import { ReactComponent as
|
|
43
|
+
import { ReactComponent as Ns } from "./assets/ic-caret-down.1666c029.svg";
|
|
44
44
|
import { ReactComponent as Wh } from "./assets/ic-collapse-all.56740920.svg";
|
|
45
45
|
import { ReactComponent as Kh } from "./assets/ic-expand-all.d1d223f2.svg";
|
|
46
46
|
import { ReactComponent as Gu } from "./assets/ic-arrow-out.6aea09d0.svg";
|
|
@@ -96,7 +96,7 @@ import { ReactComponent as em } from "./assets/ic-world.1f6a5eaf.svg";
|
|
|
96
96
|
import { r as Sr, C as tm, a as hg } from "./@react-dates-CZ1bNWJM.js";
|
|
97
97
|
import { ReactComponent as sc } from "./assets/ic-clock.c21a2d14.svg";
|
|
98
98
|
import gg from "./assets/ic-calender-blank.963e3423.svg";
|
|
99
|
-
import xg, { ReactComponent as
|
|
99
|
+
import xg, { ReactComponent as vs } from "./assets/ic-cross.01e03666.svg";
|
|
100
100
|
import { ReactComponent as ea } from "./assets/inject-tag.28e72db6.svg";
|
|
101
101
|
import { ReactComponent as to } from "./assets/ic-pencil.c75a6acc.svg";
|
|
102
102
|
import { ReactComponent as sm } from "./assets/ic-filter.8f403d6f.svg";
|
|
@@ -409,7 +409,7 @@ const qn = {
|
|
|
409
409
|
Security: "SECURITY",
|
|
410
410
|
Changes: "CHANGES"
|
|
411
411
|
};
|
|
412
|
-
var wt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(wt || {}), fm = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(fm || {}), kb = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(kb || {}), hm = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(hm || {}), ta = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(ta || {}), Mb = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Mb || {}), Ub = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Ub || {}), ii = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(ii || {}), $b = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))($b || {}), gm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(gm || {}), Fb = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Fb || {}), It = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(It || {}), Bb = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Bb || {}), xn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(xn || {}),
|
|
412
|
+
var wt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(wt || {}), fm = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(fm || {}), kb = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(kb || {}), hm = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(hm || {}), ta = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(ta || {}), Mb = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Mb || {}), Ub = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Ub || {}), ii = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(ii || {}), $b = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))($b || {}), gm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(gm || {}), Fb = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Fb || {}), It = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(It || {}), Bb = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Bb || {}), xn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(xn || {}), Us = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Us || {}), la = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(la || {}), ci = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(ci || {}), Vb = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(Vb || {});
|
|
413
413
|
const Gb = ({ tooltipContent: e }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "dc__white-space-pre-wrap", children: [
|
|
414
414
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 fw-6 lh-18", children: "Click to add" }),
|
|
415
415
|
e
|
|
@@ -463,7 +463,7 @@ function xV({
|
|
|
463
463
|
}
|
|
464
464
|
) : null;
|
|
465
465
|
}
|
|
466
|
-
const Hb = ({ startNode: e }) => e.type ===
|
|
466
|
+
const Hb = ({ startNode: e }) => e.type === Us.WEBHOOK ? xn.WEBHOOK : e.type === Us.CI ? xn.CI_PIPELINE : xn.CD_PIPELINE, EV = ({
|
|
467
467
|
position: e,
|
|
468
468
|
handleCDSelect: s,
|
|
469
469
|
startNode: n,
|
|
@@ -737,7 +737,7 @@ const wV = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), bm = Symbol(
|
|
|
737
737
|
`The element at this index remains unchanged from the original object.
|
|
738
738
|
This symbol is used by @buildObjectFromPath & later consumed by @recursivelyRemoveSymbolFromArraysInObject`
|
|
739
739
|
);
|
|
740
|
-
var
|
|
740
|
+
var ws = /* @__PURE__ */ ((e) => (e.google = "google", e.github = "github", e.gitlab = "gitlab", e.microsoft = "microsoft", e.ldap = "ldap", e.oidc = "oidc", e.openshift = "openshift", e))(ws || {});
|
|
741
741
|
const pl = {
|
|
742
742
|
value: "latest",
|
|
743
743
|
label: "latest"
|
|
@@ -770,7 +770,7 @@ const aT = async (e, s) => {
|
|
|
770
770
|
} catch {
|
|
771
771
|
}
|
|
772
772
|
}, di = ({ category: e, action: s }) => {
|
|
773
|
-
window._env_.GA_ENABLED &&
|
|
773
|
+
window._env_.GA_ENABLED && Es?.event && Es.event({
|
|
774
774
|
category: e,
|
|
775
775
|
action: s
|
|
776
776
|
});
|
|
@@ -1223,25 +1223,25 @@ const UT = {
|
|
|
1223
1223
|
var ao = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.ASK_DEVTRON = "ask-devtron", e))(ao || {});
|
|
1224
1224
|
const cc = "themePreference__v1", Pm = "(prefers-color-scheme: dark)";
|
|
1225
1225
|
var st = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(st || {});
|
|
1226
|
-
const
|
|
1226
|
+
const $s = {
|
|
1227
1227
|
...st,
|
|
1228
1228
|
auto: "auto"
|
|
1229
1229
|
}, lc = () => window.matchMedia && window.matchMedia(Pm).matches ? st.dark : st.light, GT = (e) => {
|
|
1230
1230
|
localStorage.setItem(cc, e);
|
|
1231
1231
|
}, HT = ({ appTheme: e, themePreference: s }) => {
|
|
1232
|
-
const n = s ===
|
|
1232
|
+
const n = s === $s.auto ? `system-${e}` : e;
|
|
1233
1233
|
"gtag" in window && window.gtag && typeof window.gtag == "function" && (window.gtag("set", "user_properties", {
|
|
1234
1234
|
appTheme: e,
|
|
1235
1235
|
themePreference: s
|
|
1236
|
-
}),
|
|
1236
|
+
}), Es.send("pageview")), Es.event({
|
|
1237
1237
|
category: "application-theme",
|
|
1238
1238
|
action: `theme-changed-to-${n}`
|
|
1239
1239
|
});
|
|
1240
1240
|
}, YT = () => {
|
|
1241
1241
|
const e = localStorage.getItem(cc);
|
|
1242
|
-
return !e || e ===
|
|
1242
|
+
return !e || e === $s.auto ? {
|
|
1243
1243
|
appTheme: lc(),
|
|
1244
|
-
themePreference:
|
|
1244
|
+
themePreference: $s.auto
|
|
1245
1245
|
} : {
|
|
1246
1246
|
appTheme: e,
|
|
1247
1247
|
themePreference: e
|
|
@@ -1260,19 +1260,19 @@ const Us = {
|
|
|
1260
1260
|
}, Mm = Mt(null), eG = ({ children: e }) => {
|
|
1261
1261
|
const [s, n] = O(!1), [a, r] = O(!1), [o, i] = O(YT), c = (p, _ = !1) => {
|
|
1262
1262
|
const h = {
|
|
1263
|
-
appTheme: p ===
|
|
1263
|
+
appTheme: p === $s.auto ? lc() : p,
|
|
1264
1264
|
themePreference: p
|
|
1265
1265
|
};
|
|
1266
1266
|
i(h), _ || (GT(p), HT(h));
|
|
1267
1267
|
}, l = () => {
|
|
1268
|
-
c(
|
|
1268
|
+
c($s.auto, s);
|
|
1269
1269
|
};
|
|
1270
1270
|
k(() => {
|
|
1271
1271
|
const p = document.querySelector("html");
|
|
1272
1272
|
p && p.setAttribute("class", `theme__${o.appTheme}`);
|
|
1273
1273
|
}, [o.appTheme]), k(() => {
|
|
1274
1274
|
const p = window.matchMedia(Pm);
|
|
1275
|
-
return o.themePreference ===
|
|
1275
|
+
return o.themePreference === $s.auto && p.addEventListener("change", l), () => {
|
|
1276
1276
|
p.removeEventListener("change", l);
|
|
1277
1277
|
};
|
|
1278
1278
|
}, [o.themePreference, s]);
|
|
@@ -1421,7 +1421,7 @@ const sS = {
|
|
|
1421
1421
|
closeButton: ({ closeToast: e }) => /* @__PURE__ */ t.jsx("div", { className: "custom-toast__close-btn", children: /* @__PURE__ */ t.jsx(
|
|
1422
1422
|
G,
|
|
1423
1423
|
{
|
|
1424
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1424
|
+
icon: /* @__PURE__ */ t.jsx(vs, { className: `fcn-0 ${Rn}` }),
|
|
1425
1425
|
onClick: e,
|
|
1426
1426
|
dataTestId: "close-toast",
|
|
1427
1427
|
ariaLabel: "Close toast",
|
|
@@ -1599,7 +1599,7 @@ const cG = {
|
|
|
1599
1599
|
data: "",
|
|
1600
1600
|
resolvedData: "",
|
|
1601
1601
|
areVariablesPresent: !1
|
|
1602
|
-
},
|
|
1602
|
+
}, Is = qr(
|
|
1603
1603
|
({ rootClassName: e, onClick: s, name: n, disabled: a, value: r, onChange: o, tabIndex: i, isChecked: c, id: l, dataTestId: d, children: u }, m) => {
|
|
1604
1604
|
const p = `${e || ""}`;
|
|
1605
1605
|
return (
|
|
@@ -1647,7 +1647,7 @@ const cG = {
|
|
|
1647
1647
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__no-shrink", children: "Application metrics" })
|
|
1648
1648
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
|
|
1649
1649
|
/* @__PURE__ */ t.jsx(sD, { parsingError: c, restoreLastSavedYAML: l, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
|
1650
|
-
|
|
1650
|
+
Is,
|
|
1651
1651
|
{
|
|
1652
1652
|
rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
|
|
1653
1653
|
isChecked: o,
|
|
@@ -2014,7 +2014,7 @@ const gl = (e) => ({
|
|
|
2014
2014
|
)) })
|
|
2015
2015
|
] });
|
|
2016
2016
|
};
|
|
2017
|
-
var TS = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(TS || {}), U = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Zt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Zt || {}), Oe = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(Oe || {}), Gm = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Gm || {}),
|
|
2017
|
+
var TS = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(TS || {}), U = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Zt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Zt || {}), Oe = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(Oe || {}), Gm = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Gm || {}), Fs = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Fs || {}), Hm = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Hm || {}), yr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(yr || {}), ma = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ma || {}), xi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(xi || {}), Ei = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(Ei || {}), jt = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(jt || {}), Ym = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(Ym || {});
|
|
2018
2018
|
const Gs = {
|
|
2019
2019
|
// Will not enforce any decimal specification on input field
|
|
2020
2020
|
STEP: "any",
|
|
@@ -2171,7 +2171,7 @@ const Gs = {
|
|
|
2171
2171
|
keyToPersist: "limit",
|
|
2172
2172
|
keyToPersistConfigType: U.MEMORY_LIMIT
|
|
2173
2173
|
}
|
|
2174
|
-
}, RS = Hm.NO_SCHEDULE, AS =
|
|
2174
|
+
}, RS = Hm.NO_SCHEDULE, AS = Fs.EQUALS, yS = {
|
|
2175
2175
|
[U.BUILD_TIMEOUT]: !0,
|
|
2176
2176
|
[U.CONFIG_MAP]: !0,
|
|
2177
2177
|
[U.SECRET]: !0
|
|
@@ -2935,7 +2935,7 @@ const Sl = (e) => {
|
|
|
2935
2935
|
isDisabled: s,
|
|
2936
2936
|
selectProps: { isLoading: n, keyboardShortcut: a }
|
|
2937
2937
|
} = e;
|
|
2938
|
-
return a ? null : /* @__PURE__ */ t.jsx(Xe.DropdownIndicator, { ...e, children: n ? /* @__PURE__ */ t.jsx(Ze, { fillColor: "var(--N500)" }) : /* @__PURE__ */ t.jsx(
|
|
2938
|
+
return a ? null : /* @__PURE__ */ t.jsx(Xe.DropdownIndicator, { ...e, children: n ? /* @__PURE__ */ t.jsx(Ze, { fillColor: "var(--N500)" }) : /* @__PURE__ */ t.jsx(Ns, { className: s ? "scn-3" : "scn-6" }) });
|
|
2939
2939
|
}, KS = (e) => /* @__PURE__ */ t.jsx(Xe.ClearIndicator, { ...e, children: /* @__PURE__ */ t.jsx(ds, { className: "icon-use-fill-n6" }) }), zS = (e) => {
|
|
2940
2940
|
const {
|
|
2941
2941
|
children: s,
|
|
@@ -2990,7 +2990,7 @@ const Sl = (e) => {
|
|
|
2990
2990
|
}, x = "dc__no-shrink icon-dim-16 flex dc__fill-available-space";
|
|
2991
2991
|
return /* @__PURE__ */ t.jsx(Xe.Option, { ...s, children: /* @__PURE__ */ t.jsx(Z, { ...qm(p), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
|
2992
2992
|
r && o && !h && /* @__PURE__ */ t.jsx(
|
|
2993
|
-
|
|
2993
|
+
Is,
|
|
2994
2994
|
{
|
|
2995
2995
|
onChange: Ee,
|
|
2996
2996
|
onClick: E,
|
|
@@ -3127,7 +3127,7 @@ const Sl = (e) => {
|
|
|
3127
3127
|
};
|
|
3128
3128
|
return /* @__PURE__ */ t.jsx(Xe.GroupHeading, { ...s, onClick: c, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
|
3129
3129
|
e && /* @__PURE__ */ t.jsx(
|
|
3130
|
-
|
|
3130
|
+
Is,
|
|
3131
3131
|
{
|
|
3132
3132
|
onChange: Ee,
|
|
3133
3133
|
onClick: l,
|
|
@@ -3344,7 +3344,7 @@ const Sl = (e) => {
|
|
|
3344
3344
|
isGroupHeadingSelectable: X = !1,
|
|
3345
3345
|
getIsOptionValid: ce = () => !0,
|
|
3346
3346
|
customDisplayText: Ae = null
|
|
3347
|
-
} = x, Ue = dt && !Ae, Ke = !g && i,
|
|
3347
|
+
} = x, Ue = dt && !Ae, Ke = !g && i, Rs = !N && S, Fn = j ?? !g, Bn = K(
|
|
3348
3348
|
() => HS({
|
|
3349
3349
|
error: e,
|
|
3350
3350
|
size: c,
|
|
@@ -3356,13 +3356,13 @@ const Sl = (e) => {
|
|
|
3356
3356
|
}),
|
|
3357
3357
|
[e, c, u, h, X, I]
|
|
3358
3358
|
), zs = (we) => {
|
|
3359
|
-
const
|
|
3360
|
-
return A && !!
|
|
3359
|
+
const As = we?.trim();
|
|
3360
|
+
return A && !!As && !An(
|
|
3361
3361
|
ht,
|
|
3362
|
-
|
|
3362
|
+
As,
|
|
3363
3363
|
null,
|
|
3364
3364
|
fe
|
|
3365
|
-
) && !An(gt,
|
|
3365
|
+
) && !An(gt, As, null, fe);
|
|
3366
3366
|
}, dn = Ge(
|
|
3367
3367
|
(we) => /* @__PURE__ */ t.jsx(
|
|
3368
3368
|
XS,
|
|
@@ -3382,11 +3382,11 @@ const Sl = (e) => {
|
|
|
3382
3382
|
), cf = () => m ? /* @__PURE__ */ t.jsx(Ln, { reload: p }) : P ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: $?.({
|
|
3383
3383
|
inputValue: ie
|
|
3384
3384
|
}) || "No options" }) : null, lf = (we) => /* @__PURE__ */ t.jsx(ye, { content: l, placement: "top", className: "default-tt", arrow: !1, children: we }), df = (we) => {
|
|
3385
|
-
const
|
|
3386
|
-
|
|
3387
|
-
}, uf = (we,
|
|
3385
|
+
const As = we?.trim();
|
|
3386
|
+
As && v?.(As);
|
|
3387
|
+
}, uf = (we, As) => {
|
|
3388
3388
|
if (ue.onInputChange) {
|
|
3389
|
-
ue.onInputChange(we,
|
|
3389
|
+
ue.onInputChange(we, As);
|
|
3390
3390
|
return;
|
|
3391
3391
|
}
|
|
3392
3392
|
Ie(we);
|
|
@@ -3442,7 +3442,7 @@ const Sl = (e) => {
|
|
|
3442
3442
|
},
|
|
3443
3443
|
name: f || Ne,
|
|
3444
3444
|
classNamePrefix: C || Ne,
|
|
3445
|
-
isSearchable:
|
|
3445
|
+
isSearchable: Rs,
|
|
3446
3446
|
placeholder: r,
|
|
3447
3447
|
styles: Bn,
|
|
3448
3448
|
menuPlacement: "auto",
|
|
@@ -4954,7 +4954,7 @@ ${d.slice(N)}`;
|
|
|
4954
4954
|
y && /* @__PURE__ */ t.jsx("span", { className: `fs-14 fw-6 lh-20 ${j ? "mr-12" : ""}`, children: y }),
|
|
4955
4955
|
b && /* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 cursor", onClick: l, children: /* @__PURE__ */ t.jsx(so, { className: "icon-dim-20" }) }),
|
|
4956
4956
|
j && /* @__PURE__ */ t.jsx("div", { className: "icon-dim-16 ml-auto", children: /* @__PURE__ */ t.jsx(
|
|
4957
|
-
|
|
4957
|
+
vs,
|
|
4958
4958
|
{
|
|
4959
4959
|
className: `icon-dim-16 cursor ${r ? "fcn-9" : "icon-fill__white"}`,
|
|
4960
4960
|
onClick: c
|
|
@@ -5786,14 +5786,14 @@ const BG = (e, s = !1) => {
|
|
|
5786
5786
|
const { id: b, key: R, effect: A, operator: v, value: j } = C, P = I[U.TOLERANCE].value.find(
|
|
5787
5787
|
(H) => H.id === b
|
|
5788
5788
|
);
|
|
5789
|
-
P ? (P.key = R, P.effect = A, P.operator = v, P.value = j, v ===
|
|
5789
|
+
P ? (P.key = R, P.effect = A, P.operator = v, P.value = j, v === Fs.EXISTS && delete P.value) : I[U.TOLERANCE].value.unshift({
|
|
5790
5790
|
id: b,
|
|
5791
5791
|
key: R,
|
|
5792
5792
|
effect: A,
|
|
5793
5793
|
operator: v,
|
|
5794
5794
|
value: j
|
|
5795
5795
|
});
|
|
5796
|
-
const w = xc(R).messages, D = v !==
|
|
5796
|
+
const w = xc(R).messages, D = v !== Fs.EXISTS ? cp(j).messages : [], V = !(v === Fs.EXISTS ? !R : !R && !j) && (w.length > 0 || D.length > 0);
|
|
5797
5797
|
S[U.TOLERANCE]?.[b] || (S[U.TOLERANCE] || (S[U.TOLERANCE] = {}), S[U.TOLERANCE][b] = {}), S[U.TOLERANCE][b] = {
|
|
5798
5798
|
...w.length > 0 && { [Ei.KEY]: w },
|
|
5799
5799
|
...D.length > 0 && { [Ei.VALUE]: D }
|
|
@@ -5887,13 +5887,13 @@ const BG = (e, s = !1) => {
|
|
|
5887
5887
|
effect: r,
|
|
5888
5888
|
id: s ? Rt() : null
|
|
5889
5889
|
};
|
|
5890
|
-
return o ===
|
|
5890
|
+
return o === Fs.EQUALS ? {
|
|
5891
5891
|
...c,
|
|
5892
|
-
operator:
|
|
5892
|
+
operator: Fs.EQUALS,
|
|
5893
5893
|
value: i
|
|
5894
5894
|
} : {
|
|
5895
5895
|
...c,
|
|
5896
|
-
operator:
|
|
5896
|
+
operator: Fs.EXISTS
|
|
5897
5897
|
};
|
|
5898
5898
|
}).filter((n) => n.key)
|
|
5899
5899
|
};
|
|
@@ -6416,7 +6416,7 @@ const Ll = {
|
|
|
6416
6416
|
};
|
|
6417
6417
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12 w-100", children: [
|
|
6418
6418
|
/* @__PURE__ */ t.jsx(
|
|
6419
|
-
|
|
6419
|
+
Is,
|
|
6420
6420
|
{
|
|
6421
6421
|
value: vt.CHECKED,
|
|
6422
6422
|
isChecked: a,
|
|
@@ -6563,7 +6563,7 @@ const aH = (e, s, n, a) => ({
|
|
|
6563
6563
|
] })
|
|
6564
6564
|
] }),
|
|
6565
6565
|
xI.map(({ key: c, infoText: l, label: d }) => /* @__PURE__ */ t.jsx(
|
|
6566
|
-
|
|
6566
|
+
Is,
|
|
6567
6567
|
{
|
|
6568
6568
|
value: vt.CHECKED,
|
|
6569
6569
|
isChecked: a[c],
|
|
@@ -6684,12 +6684,12 @@ function up(e, s) {
|
|
|
6684
6684
|
{ nodes: {}, aggregation: {}, statusCount: {}, nodeStatusCount: {}, aggregatorStatusCount: {} }
|
|
6685
6685
|
);
|
|
6686
6686
|
}
|
|
6687
|
-
const OI = (e, s = !1) => s ? btoa(e) : atob(e), Ti = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? OI(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}),
|
|
6687
|
+
const OI = (e, s = !1) => s ? btoa(e) : atob(e), Ti = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? OI(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}), Bs = (e) => !!e && e !== On, wI = ({
|
|
6688
6688
|
startTime: e,
|
|
6689
6689
|
endTime: s,
|
|
6690
6690
|
fallbackString: n = "-"
|
|
6691
6691
|
}) => {
|
|
6692
|
-
if (!
|
|
6692
|
+
if (!Bs(e) || !Bs(s))
|
|
6693
6693
|
return n;
|
|
6694
6694
|
const a = de(e), r = de(s);
|
|
6695
6695
|
if (!a.isValid() || !r.isValid())
|
|
@@ -7636,7 +7636,7 @@ const Ep = {
|
|
|
7636
7636
|
};
|
|
7637
7637
|
}, SR = () => {
|
|
7638
7638
|
const { currentServerInfo: e, isEnterprise: s, isFELibAvailable: n } = rs(), a = e?.serverInfo?.currentVersion, r = n === s, o = () => {
|
|
7639
|
-
|
|
7639
|
+
Es.event({
|
|
7640
7640
|
category: "about-devtron",
|
|
7641
7641
|
action: "ABOUT_DEVTRON_LICENSE_AGREEMENT_CLICKED"
|
|
7642
7642
|
});
|
|
@@ -7798,7 +7798,7 @@ const Ep = {
|
|
|
7798
7798
|
Z
|
|
7799
7799
|
`;
|
|
7800
7800
|
}, $H = ({ duration: e, onComplete: s, size: n = 24, tooltipContent: a }) => {
|
|
7801
|
-
const r = oa(IR), o =
|
|
7801
|
+
const r = oa(IR), o = Ds(r, (i) => AR($o, Fo, vR, i));
|
|
7802
7802
|
return k(() => ra(r, RR, {
|
|
7803
7803
|
duration: e,
|
|
7804
7804
|
ease: "easeInOut",
|
|
@@ -8309,7 +8309,7 @@ const HR = ({
|
|
|
8309
8309
|
const n = JSON.parse(s.value);
|
|
8310
8310
|
return {
|
|
8311
8311
|
pipelineRBACViewSelectedTab: n.viewPermittedEnvOnly ? wr.ACCESS_ONLY : wr.ALL_ENVIRONMENTS,
|
|
8312
|
-
themePreference: n.computedAppTheme === "system-dark" || n.computedAppTheme === "system-light" ?
|
|
8312
|
+
themePreference: n.computedAppTheme === "system-dark" || n.computedAppTheme === "system-light" ? $s.auto : n.computedAppTheme,
|
|
8313
8313
|
resources: YR(n.resources)
|
|
8314
8314
|
};
|
|
8315
8315
|
}, Tp = (e, s, n) => {
|
|
@@ -8330,7 +8330,7 @@ const HR = ({
|
|
|
8330
8330
|
switch (e) {
|
|
8331
8331
|
case "themePreference":
|
|
8332
8332
|
return {
|
|
8333
|
-
computedAppTheme: s.themePreference ===
|
|
8333
|
+
computedAppTheme: s.themePreference === $s.auto ? `system-${s.appTheme}` : s.appTheme
|
|
8334
8334
|
};
|
|
8335
8335
|
case "pipelineRBACViewSelectedTab":
|
|
8336
8336
|
return {
|
|
@@ -8754,7 +8754,7 @@ const HR = ({
|
|
|
8754
8754
|
style: { background: e.isFocused ? "var(--N100)" : "transparent" },
|
|
8755
8755
|
children: [
|
|
8756
8756
|
/* @__PURE__ */ t.jsx(
|
|
8757
|
-
|
|
8757
|
+
Is,
|
|
8758
8758
|
{
|
|
8759
8759
|
isChecked: e.isSelected || !1,
|
|
8760
8760
|
onChange: i,
|
|
@@ -8867,7 +8867,7 @@ const HR = ({
|
|
|
8867
8867
|
color: "var(--N900)"
|
|
8868
8868
|
})
|
|
8869
8869
|
}, ZH = (e) => /* @__PURE__ */ t.jsx(Ji, { ...e });
|
|
8870
|
-
var $e = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))($e || {}),
|
|
8870
|
+
var $e = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))($e || {}), ks = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(ks || {}), Ic = /* @__PURE__ */ ((e) => (e.WORKFLOW = "workflow", e.POD = "pod", e))(Ic || {}), ke = /* @__PURE__ */ ((e) => (e.NOT_STARTED = "NOT_STARTED", e.RUNNING = "RUNNING", e.SUCCEEDED = "SUCCEEDED", e.FAILED = "FAILED", e.ABORTED = "ABORTED", e.TIMEOUT = "TIMEOUT", e.UNKNOWN = "UNKNOWN", e))(ke || {}), Ii = /* @__PURE__ */ ((e) => (e.PREPARATION = "Preparation", e.EXECUTION = "Execution", e))(Ii || {}), Zn = /* @__PURE__ */ ((e) => (e.DEPLOY_DIALOG = "DEPLOY_DIALOG", e.RESOURCE_DETAIL_MODAL = "RESOURCE_DETAIL_MODAL", e))(Zn || {}), tA = /* @__PURE__ */ ((e) => (e.Healthy = "Healthy", e.Progressing = "Progressing", e.Unknown = "Unknown", e.Suspended = "Suspended", e.Degraded = "Degraded", e.Missing = "Missing", e))(tA || {}), fs = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(fs || {}), _o = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(_o || {});
|
|
8871
8871
|
const Xl = {
|
|
8872
8872
|
missing: 1,
|
|
8873
8873
|
degraded: 2,
|
|
@@ -9471,7 +9471,7 @@ const bA = (e, s) => {
|
|
|
9471
9471
|
status: n || ke.UNKNOWN,
|
|
9472
9472
|
message: a || "",
|
|
9473
9473
|
clusterId: o?.clusterId || fo,
|
|
9474
|
-
endTime:
|
|
9474
|
+
endTime: Bs(r) ? r : ""
|
|
9475
9475
|
};
|
|
9476
9476
|
}, Rc = (e) => {
|
|
9477
9477
|
if (!Object.keys(e || {}).length)
|
|
@@ -9489,9 +9489,9 @@ const bA = (e, s) => {
|
|
|
9489
9489
|
return s.forEach(({ status: c, endTime: l }, d) => {
|
|
9490
9490
|
(Dr[c] || d === s.length - 1 && c === ke.SUCCEEDED) && (i = l);
|
|
9491
9491
|
}), {
|
|
9492
|
-
triggeredOn:
|
|
9493
|
-
executionStartedOn:
|
|
9494
|
-
finishedOn:
|
|
9492
|
+
triggeredOn: Bs(r) ? r : "",
|
|
9493
|
+
executionStartedOn: Bs(a?.startTime) ? a?.startTime : "",
|
|
9494
|
+
finishedOn: Bs(i) ? i : "",
|
|
9495
9495
|
currentStatus: o,
|
|
9496
9496
|
workerDetails: OA(e)
|
|
9497
9497
|
};
|
|
@@ -9508,7 +9508,7 @@ const bA = (e, s) => {
|
|
|
9508
9508
|
}, wA = (e) => {
|
|
9509
9509
|
const s = Rc(e);
|
|
9510
9510
|
return s ? s.finishedOn ? !Dr[s.currentStatus] && Dr[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(F, { name: "ic-warning", size: 20, color: null }) : Ap(s.workerDetails.status) : /* @__PURE__ */ t.jsx(F, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(F, { name: "ic-help-outline", size: 20, color: "N500" });
|
|
9511
|
-
}, LA = (e = fo, s = cA) => `${be.RESOURCE_BROWSER}/${e}/${s}/pod/${lp}`, yp = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === rn.WAITING_TO_START ? "Waiting to start" : e : null, go = (e) =>
|
|
9511
|
+
}, LA = (e = fo, s = cA) => `${be.RESOURCE_BROWSER}/${e}/${s}/pod/${lp}`, yp = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === rn.WAITING_TO_START ? "Waiting to start" : e : null, go = (e) => Bs(e) ? de(e, "YYYY-MM-DDTHH:mm:ssZ").format(Pt.TWELVE_HOURS_FORMAT) : "", DA = (e) => (e || []).reduce(
|
|
9512
9512
|
(s, n) => {
|
|
9513
9513
|
const a = n.health?.status?.toLowerCase() ?? "";
|
|
9514
9514
|
switch (n.hasDrift && (s.driftedNodeCount += 1), a) {
|
|
@@ -10252,7 +10252,7 @@ const HA = {
|
|
|
10252
10252
|
children: [
|
|
10253
10253
|
/* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-12 fw-6 lh-20", children: c ? "Show less" : "Show more" }),
|
|
10254
10254
|
/* @__PURE__ */ t.jsx(
|
|
10255
|
-
|
|
10255
|
+
Ns,
|
|
10256
10256
|
{
|
|
10257
10257
|
className: `dc__no-shrink icon-dim-16 flex scb-5 dc__transition--transform ${c ? "dc__flip-180" : ""}`
|
|
10258
10258
|
}
|
|
@@ -10261,7 +10261,7 @@ const HA = {
|
|
|
10261
10261
|
}
|
|
10262
10262
|
)
|
|
10263
10263
|
] });
|
|
10264
|
-
}, nd = (e) => e && e ===
|
|
10264
|
+
}, nd = (e) => e && e === ks.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
|
|
10265
10265
|
async function s0({
|
|
10266
10266
|
appId: e,
|
|
10267
10267
|
envId: s,
|
|
@@ -10420,7 +10420,7 @@ const c0 = (e) => {
|
|
|
10420
10420
|
signal: a
|
|
10421
10421
|
}) => {
|
|
10422
10422
|
const { result: r } = await xe(
|
|
10423
|
-
|
|
10423
|
+
Ps(Y.RESOURCE_CONFLICTS_LIST, {
|
|
10424
10424
|
appId: e,
|
|
10425
10425
|
pipelineId: s,
|
|
10426
10426
|
wfrId: n
|
|
@@ -10557,7 +10557,7 @@ const c0 = (e) => {
|
|
|
10557
10557
|
style: ne.neutral,
|
|
10558
10558
|
size: L.small,
|
|
10559
10559
|
icon: /* @__PURE__ */ t.jsx(
|
|
10560
|
-
|
|
10560
|
+
Cs,
|
|
10561
10561
|
{
|
|
10562
10562
|
style: {
|
|
10563
10563
|
marginLeft: "auto",
|
|
@@ -10621,7 +10621,7 @@ const c0 = (e) => {
|
|
|
10621
10621
|
[
|
|
10622
10622
|
z.GIT_COMMIT,
|
|
10623
10623
|
...r === It.ARGO ? [z.ARGOCD_SYNC, z.KUBECTL_APPLY] : []
|
|
10624
|
-
].map((c) => /* @__PURE__ */ t.jsxs(
|
|
10624
|
+
].map((c) => /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
10625
10625
|
e.errorBarConfig?.nextTimelineToProcess === c && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
10626
10626
|
/* @__PURE__ */ t.jsx(
|
|
10627
10627
|
La,
|
|
@@ -10660,7 +10660,7 @@ const p0 = ({
|
|
|
10660
10660
|
renderDeploymentApprovalInfo: l,
|
|
10661
10661
|
isDeploymentWithoutApproval: d
|
|
10662
10662
|
}) => {
|
|
10663
|
-
const u = jn(), { url: m } =
|
|
10663
|
+
const u = jn(), { url: m } = Ss(), { appId: p, envId: _, triggerId: h } = bt(), [E, x] = O(
|
|
10664
10664
|
e?.toUpperCase() !== z.ABORTED
|
|
10665
10665
|
), g = GA.getAppDetails(), f = B(i), C = B(d), N = f.current && c ? c() : yi(s ?? g?.deploymentAppType), [S, T] = O(N), I = () => {
|
|
10666
10666
|
sr && clearTimeout(sr);
|
|
@@ -11335,7 +11335,7 @@ const Un = ({
|
|
|
11335
11335
|
const s = document.createElement("span");
|
|
11336
11336
|
s.className = `flex h-100 ${e ? "" : "is-closed"}`;
|
|
11337
11337
|
const n = /* @__PURE__ */ t.jsx(
|
|
11338
|
-
|
|
11338
|
+
Ns,
|
|
11339
11339
|
{
|
|
11340
11340
|
className: "icon-dim-12 scn-6 rotate",
|
|
11341
11341
|
style: { "--rotateBy": e ? "0deg" : "-90deg" }
|
|
@@ -11522,7 +11522,7 @@ const Un = ({
|
|
|
11522
11522
|
ariaLabel: "find-replace-expand-button",
|
|
11523
11523
|
showAriaLabelInTippy: !1,
|
|
11524
11524
|
icon: /* @__PURE__ */ t.jsx(
|
|
11525
|
-
|
|
11525
|
+
Ns,
|
|
11526
11526
|
{
|
|
11527
11527
|
className: "rotate",
|
|
11528
11528
|
style: {
|
|
@@ -12299,7 +12299,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12299
12299
|
onClick: c,
|
|
12300
12300
|
children: [
|
|
12301
12301
|
/* @__PURE__ */ t.jsx(
|
|
12302
|
-
|
|
12302
|
+
Ns,
|
|
12303
12303
|
{
|
|
12304
12304
|
className: "icon-dim-16 fsn-6 rotate",
|
|
12305
12305
|
style: { "--rotateBy": i ? "360deg" : "270deg" }
|
|
@@ -12443,7 +12443,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12443
12443
|
}, [i]);
|
|
12444
12444
|
const h = (C) => C.map((N, S) => {
|
|
12445
12445
|
if (N.type === "string")
|
|
12446
|
-
return /* @__PURE__ */ t.jsxs(
|
|
12446
|
+
return /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
12447
12447
|
typeof N.text == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-9 fs-13 lh-20 fw-6", children: N.text }) : N.text,
|
|
12448
12448
|
!r?.hideDivider && S !== C.length - 1 && /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 lh-20", children: "/" })
|
|
12449
12449
|
] }, N.id);
|
|
@@ -12456,7 +12456,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12456
12456
|
N.id
|
|
12457
12457
|
);
|
|
12458
12458
|
const { selectPickerProps: T } = N;
|
|
12459
|
-
return /* @__PURE__ */ t.jsxs(
|
|
12459
|
+
return /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
12460
12460
|
/* @__PURE__ */ t.jsx("div", { className: "dc__mxw-300", children: /* @__PURE__ */ t.jsx(
|
|
12461
12461
|
Ft,
|
|
12462
12462
|
{
|
|
@@ -12641,7 +12641,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12641
12641
|
l
|
|
12642
12642
|
);
|
|
12643
12643
|
};
|
|
12644
|
-
return /* @__PURE__ */ t.jsx("div", { className: "mw-none bg__primary", children: e.map(({ id: c, header: l, headerIconConfig: d, items: u, noItemsText: m, isExpanded: p }) => /* @__PURE__ */ t.jsxs(
|
|
12644
|
+
return /* @__PURE__ */ t.jsx("div", { className: "mw-none bg__primary", children: e.map(({ id: c, header: l, headerIconConfig: d, items: u, noItemsText: m, isExpanded: p }) => /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
12645
12645
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4 py-6 px-8 br-4 dc__hover-n50", children: [
|
|
12646
12646
|
/* @__PURE__ */ t.jsxs(
|
|
12647
12647
|
"button",
|
|
@@ -12880,7 +12880,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12880
12880
|
compareToObfuscatedData: Object.keys(i).length ? i : void 0,
|
|
12881
12881
|
compareWithObfuscatedData: Object.keys(c).length ? c : void 0
|
|
12882
12882
|
};
|
|
12883
|
-
},
|
|
12883
|
+
}, Ls = (e, s) => {
|
|
12884
12884
|
const { sortBy: n, sortOrder: a } = s ?? { sortBy: "", sortOrder: null };
|
|
12885
12885
|
try {
|
|
12886
12886
|
return JSON.stringify(
|
|
@@ -12907,26 +12907,26 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12907
12907
|
displayName: "data",
|
|
12908
12908
|
...md(e) ? {
|
|
12909
12909
|
value: null,
|
|
12910
|
-
resolvedValue:
|
|
12910
|
+
resolvedValue: Ls(u, o)
|
|
12911
12911
|
} : {
|
|
12912
|
-
value:
|
|
12912
|
+
value: Ls(u, o)
|
|
12913
12913
|
}
|
|
12914
12914
|
}, d = {
|
|
12915
12915
|
displayName: "data",
|
|
12916
12916
|
...md(s) ? {
|
|
12917
12917
|
value: null,
|
|
12918
|
-
resolvedValue:
|
|
12918
|
+
resolvedValue: Ls(m, o)
|
|
12919
12919
|
} : {
|
|
12920
|
-
value:
|
|
12920
|
+
value: Ls(m, o)
|
|
12921
12921
|
}
|
|
12922
12922
|
};
|
|
12923
12923
|
} else
|
|
12924
12924
|
l = {
|
|
12925
12925
|
displayName: "data",
|
|
12926
|
-
value:
|
|
12926
|
+
value: Ls(i, o)
|
|
12927
12927
|
}, d = {
|
|
12928
12928
|
displayName: "data",
|
|
12929
|
-
value:
|
|
12929
|
+
value: Ls(c, o)
|
|
12930
12930
|
};
|
|
12931
12931
|
return { compareToCodeEditorData: l, compareWithCodeEditorData: d };
|
|
12932
12932
|
}, pr = (e, s) => {
|
|
@@ -12966,7 +12966,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12966
12966
|
}, fd = (e, s, n) => {
|
|
12967
12967
|
const a = ly(e), r = {
|
|
12968
12968
|
displayName: "data",
|
|
12969
|
-
value: a ?
|
|
12969
|
+
value: a ? Ls(a, n) : ""
|
|
12970
12970
|
};
|
|
12971
12971
|
return fa(
|
|
12972
12972
|
{
|
|
@@ -12987,7 +12987,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
12987
12987
|
}, gd = (e, s) => {
|
|
12988
12988
|
const n = {
|
|
12989
12989
|
displayName: "data",
|
|
12990
|
-
value: e?.data ?
|
|
12990
|
+
value: e?.data ? Ls(e.data, s) : ""
|
|
12991
12991
|
};
|
|
12992
12992
|
return fa(
|
|
12993
12993
|
{ ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
|
|
@@ -13413,7 +13413,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13413
13413
|
isCompareDeploymentConfigNotAvailable: u,
|
|
13414
13414
|
...m
|
|
13415
13415
|
}) => {
|
|
13416
|
-
const { path: p, params: _ } =
|
|
13416
|
+
const { path: p, params: _ } = Ss(), { resourceType: h, resourceName: E, appId: x, envId: g } = _, { compareWfrId: f, updateSearchParams: C, sortBy: N, sortOrder: S, handleSorting: T } = r, [I, y] = O({
|
|
13417
13417
|
isLoading: !1,
|
|
13418
13418
|
data: c,
|
|
13419
13419
|
hasMore: c.size >= sn
|
|
@@ -13507,7 +13507,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13507
13507
|
scrollIntoViewId: `${h}${E ? `-${E}` : ""}`,
|
|
13508
13508
|
navHelpText: Q(),
|
|
13509
13509
|
isNavHelpTextShowingError: u,
|
|
13510
|
-
goBackURL:
|
|
13510
|
+
goBackURL: Ps(p.split("/:resourceType")[0], { ..._ }),
|
|
13511
13511
|
selectorsConfig: H,
|
|
13512
13512
|
sortingConfig: Se,
|
|
13513
13513
|
scopeVariablesConfig: Re
|
|
@@ -13523,7 +13523,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13523
13523
|
resourceId: i,
|
|
13524
13524
|
renderRunSource: c
|
|
13525
13525
|
}) => {
|
|
13526
|
-
const { path: l, params: d } =
|
|
13526
|
+
const { path: l, params: d } = Ss(), { pathname: u, search: m } = as(), { isSuperAdmin: p } = rs(), _ = K(() => Kp(r), [r]), { currentWfrId: h, previousWfrId: E } = K(
|
|
13527
13527
|
() => Ey({ pipelineDeployments: _, wfrId: a }),
|
|
13528
13528
|
[_, a]
|
|
13529
13529
|
), x = !!E, g = vc({
|
|
@@ -13553,7 +13553,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
13553
13553
|
return Q.status !== "fulfilled" || !Q.value || Q.value.forEach((Se, Re) => {
|
|
13554
13554
|
te[Re].status !== "fulfilled" || !te[Re].value || te[Re].value.result.isAppAdmin || (te[Re].value.result.secretsData = Se.secretsData);
|
|
13555
13555
|
}), te;
|
|
13556
|
-
}, [h, f]), R = (H, Q) => `${
|
|
13556
|
+
}, [h, f]), R = (H, Q) => `${Ps(l, { ...d })}/${H}${Q ? `/${Q}` : ""}${m}`, { deploymentConfigList: A, sortedDeploymentConfigList: v } = K(() => {
|
|
13557
13557
|
if (!I && y) {
|
|
13558
13558
|
const H = x && y[1].status === "fulfilled" ? y[1].value.result : {
|
|
13559
13559
|
configMapData: null,
|
|
@@ -14002,7 +14002,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14002
14002
|
type: "button",
|
|
14003
14003
|
onClick: e,
|
|
14004
14004
|
"aria-label": "scroll-to-top",
|
|
14005
|
-
children: /* @__PURE__ */ t.jsx(
|
|
14005
|
+
children: /* @__PURE__ */ t.jsx(Cs, { className: "rotate", style: { "--rotateBy": "180deg" } })
|
|
14006
14006
|
}
|
|
14007
14007
|
) }),
|
|
14008
14008
|
/* @__PURE__ */ t.jsx(Z, { alwaysShowTippyOnHover: !0, content: "Scroll to Bottom", placement: "left", children: /* @__PURE__ */ t.jsx(
|
|
@@ -14013,7 +14013,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14013
14013
|
type: "button",
|
|
14014
14014
|
onClick: s,
|
|
14015
14015
|
"aria-label": "scroll-to-button",
|
|
14016
|
-
children: /* @__PURE__ */ t.jsx(
|
|
14016
|
+
children: /* @__PURE__ */ t.jsx(Cs, { className: "rotate" })
|
|
14017
14017
|
}
|
|
14018
14018
|
) })
|
|
14019
14019
|
] }) }), wy = ({
|
|
@@ -14142,7 +14142,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14142
14142
|
children: [
|
|
14143
14143
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__transparent dc__align-items-center", children: [
|
|
14144
14144
|
/* @__PURE__ */ t.jsx(
|
|
14145
|
-
|
|
14145
|
+
Ns,
|
|
14146
14146
|
{
|
|
14147
14147
|
className: `icon-dim-16 dc__no-shrink dc__transition--transform icon-stroke__white ${s ? "" : "dc__flip-n90 dc__opacity-0_5"}`
|
|
14148
14148
|
}
|
|
@@ -14436,7 +14436,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14436
14436
|
"data-testid": "logs-previous-search-match",
|
|
14437
14437
|
"aria-label": "Focus the previous search result match",
|
|
14438
14438
|
disabled: !T,
|
|
14439
|
-
children: /* @__PURE__ */ t.jsx(
|
|
14439
|
+
children: /* @__PURE__ */ t.jsx(Ns, { className: "icon-stroke__white dc__flip-180 icon-dim-14 dc__no-shrink" })
|
|
14440
14440
|
}
|
|
14441
14441
|
),
|
|
14442
14442
|
/* @__PURE__ */ t.jsx(
|
|
@@ -14448,7 +14448,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14448
14448
|
"data-testid": "logs-next-search-match",
|
|
14449
14449
|
"aria-label": "Focus the next search result match",
|
|
14450
14450
|
disabled: !T,
|
|
14451
|
-
children: /* @__PURE__ */ t.jsx(
|
|
14451
|
+
children: /* @__PURE__ */ t.jsx(Ns, { className: "icon-stroke__white icon-dim-14 dc__no-shrink" })
|
|
14452
14452
|
}
|
|
14453
14453
|
)
|
|
14454
14454
|
] })
|
|
@@ -14689,7 +14689,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14689
14689
|
}, a4 = (e) => {
|
|
14690
14690
|
const { selectProps: s } = e;
|
|
14691
14691
|
return /* @__PURE__ */ t.jsx(Xe.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(
|
|
14692
|
-
|
|
14692
|
+
Cs,
|
|
14693
14693
|
{
|
|
14694
14694
|
className: "rotate",
|
|
14695
14695
|
style: {
|
|
@@ -14953,7 +14953,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
14953
14953
|
}) => {
|
|
14954
14954
|
if (!e && !s)
|
|
14955
14955
|
return null;
|
|
14956
|
-
const p = a && (!
|
|
14956
|
+
const p = a && (!Bs(r) || !de(r).isBefore(de().subtract(iA, "hours"))), _ = () => p ? /* @__PURE__ */ t.jsx(
|
|
14957
14957
|
Hs,
|
|
14958
14958
|
{
|
|
14959
14959
|
to: `${LA(o, i)}/${a}/logs`,
|
|
@@ -15084,13 +15084,13 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15084
15084
|
namespace: E,
|
|
15085
15085
|
workflowExecutionStages: x
|
|
15086
15086
|
}) => {
|
|
15087
|
-
const { path: g, params: f } =
|
|
15087
|
+
const { path: g, params: f } = Ss(), { pathname: C } = as(), N = C.split("/").pop(), { envId: S, ...T } = bt(), I = l === $e.CD || l === $e.GROUP_CD, y = I ? "triggerId" : "buildId", b = _ === p?.id, R = B(null), A = () => {
|
|
15088
15088
|
const D = {
|
|
15089
15089
|
...T,
|
|
15090
15090
|
envId: S,
|
|
15091
15091
|
[y]: e
|
|
15092
15092
|
};
|
|
15093
|
-
return `${
|
|
15093
|
+
return `${Ps(g, D)}/${N}`;
|
|
15094
15094
|
}, v = () => {
|
|
15095
15095
|
R?.current && R.current.scrollIntoView({ behavior: "smooth" });
|
|
15096
15096
|
};
|
|
@@ -15192,10 +15192,10 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15192
15192
|
renderRunSource: l,
|
|
15193
15193
|
resourceId: d
|
|
15194
15194
|
}) => {
|
|
15195
|
-
const { pipelineId: u, appId: m, envId: p } = bt(), { push: _ } = jn(), { path: h } =
|
|
15196
|
-
e === $e.CI ? (r({ offset: 0, size: 20 }), _(
|
|
15195
|
+
const { pipelineId: u, appId: m, envId: p } = bt(), { push: _ } = jn(), { path: h } = Ss(), E = (T) => {
|
|
15196
|
+
e === $e.CI ? (r({ offset: 0, size: 20 }), _(Ps(h, { appId: m, pipelineId: T.value }))) : e === $e.GROUP_CI ? (r({ offset: 0, size: 20 }), _(Ps(h, { envId: p, pipelineId: T.pipelineId }))) : e === $e.GROUP_CD ? (r({ offset: 0, size: 20 }), _(Ps(h, { envId: p, appId: T.value, pipelineId: T.pipelineId }))) : (r({ offset: 0, size: 20 }), _(Ps(h, { appId: m, envId: T.value, pipelineId: T.pipelineId })));
|
|
15197
15197
|
}, x = () => {
|
|
15198
|
-
|
|
15198
|
+
Es.event({
|
|
15199
15199
|
category: "pagination",
|
|
15200
15200
|
action: "auto",
|
|
15201
15201
|
label: `${e.toLowerCase()}-history`,
|
|
@@ -15247,7 +15247,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15247
15247
|
)
|
|
15248
15248
|
] }),
|
|
15249
15249
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column top left flex-grow-1 dc__overflow-auto p-8", children: [
|
|
15250
|
-
o ===
|
|
15250
|
+
o === ks.SUCCESS && /* @__PURE__ */ t.jsx(Wy, { handleViewAllHistory: i }),
|
|
15251
15251
|
jp(n).map(([T, I], y) => /* @__PURE__ */ t.jsx(
|
|
15252
15252
|
Ky,
|
|
15253
15253
|
{
|
|
@@ -15271,7 +15271,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15271
15271
|
},
|
|
15272
15272
|
T
|
|
15273
15273
|
)),
|
|
15274
|
-
a && (o ===
|
|
15274
|
+
a && (o === ks.SUSPEND || !o) && /* @__PURE__ */ t.jsx(Xp, { callback: x })
|
|
15275
15275
|
] })
|
|
15276
15276
|
] });
|
|
15277
15277
|
}
|
|
@@ -15331,7 +15331,7 @@ const jc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
|
15331
15331
|
{
|
|
15332
15332
|
isKebab: !0,
|
|
15333
15333
|
rootClassName: "flex p-4 dc__no-left-radius dc__right-radius-4 bg__primary dc__hover-n50",
|
|
15334
|
-
children: /* @__PURE__ */ t.jsx(
|
|
15334
|
+
children: /* @__PURE__ */ t.jsx(Ns, { className: "icon-dim-14 scn-6" })
|
|
15335
15335
|
}
|
|
15336
15336
|
),
|
|
15337
15337
|
/* @__PURE__ */ t.jsx(Lt.Body, { rootClassName: "w-150 py-4 mt-4", style: { left: "136px" }, children: l.map(({ status: x, count: g }, f) => /* @__PURE__ */ t.jsxs(
|
|
@@ -15511,7 +15511,7 @@ const Xy = (e) => {
|
|
|
15511
15511
|
setProps: a
|
|
15512
15512
|
};
|
|
15513
15513
|
}, []), /* @__PURE__ */ t.jsx(Tc, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(on, { children: !!e && /* @__PURE__ */ t.jsx(Qy, { ...n }) }) });
|
|
15514
|
-
},
|
|
15514
|
+
}, bs = (e) => {
|
|
15515
15515
|
const { setModalKey: s, settersRef: n } = t_();
|
|
15516
15516
|
return k(() => {
|
|
15517
15517
|
const a = Rt();
|
|
@@ -15522,7 +15522,7 @@ const Xy = (e) => {
|
|
|
15522
15522
|
n.current.setProps(e);
|
|
15523
15523
|
}, [e]), null;
|
|
15524
15524
|
}, ej = ({ title: e, component: s, subtitle: n, closeConfirmationModal: a }) => /* @__PURE__ */ t.jsx(
|
|
15525
|
-
|
|
15525
|
+
bs,
|
|
15526
15526
|
{
|
|
15527
15527
|
variant: Bt.info,
|
|
15528
15528
|
title: `Cannot delete ${s} '${e}'`,
|
|
@@ -15550,7 +15550,7 @@ const Xy = (e) => {
|
|
|
15550
15550
|
/* @__PURE__ */ t.jsx("p", { className: "m-0", children: "Do you want to force delete?" })
|
|
15551
15551
|
] });
|
|
15552
15552
|
return /* @__PURE__ */ t.jsx(
|
|
15553
|
-
|
|
15553
|
+
bs,
|
|
15554
15554
|
{
|
|
15555
15555
|
variant: Bt.delete,
|
|
15556
15556
|
title: e,
|
|
@@ -15615,7 +15615,7 @@ const Xy = (e) => {
|
|
|
15615
15615
|
closeConfirmationModal: y
|
|
15616
15616
|
}
|
|
15617
15617
|
), A = () => /* @__PURE__ */ t.jsx(
|
|
15618
|
-
|
|
15618
|
+
bs,
|
|
15619
15619
|
{
|
|
15620
15620
|
variant: Bt.delete,
|
|
15621
15621
|
title: `Delete ${n} '${e}'`,
|
|
@@ -15657,7 +15657,7 @@ const Xy = (e) => {
|
|
|
15657
15657
|
}
|
|
15658
15658
|
};
|
|
15659
15659
|
return /* @__PURE__ */ t.jsx(
|
|
15660
|
-
|
|
15660
|
+
bs,
|
|
15661
15661
|
{
|
|
15662
15662
|
variant: Bt.custom,
|
|
15663
15663
|
Icon: /* @__PURE__ */ t.jsx(F, { name: "ic-warning", color: null, size: 48 }),
|
|
@@ -15904,7 +15904,7 @@ const aj = "bulk-selection-pop-up-menu", Wo = {
|
|
|
15904
15904
|
);
|
|
15905
15905
|
return /* @__PURE__ */ t.jsx(pt, { wrap: h, condition: _, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
|
15906
15906
|
/* @__PURE__ */ t.jsx(
|
|
15907
|
-
|
|
15907
|
+
Is,
|
|
15908
15908
|
{
|
|
15909
15909
|
ref: r,
|
|
15910
15910
|
isChecked: i,
|
|
@@ -15915,7 +15915,7 @@ const aj = "bulk-selection-pop-up-menu", Wo = {
|
|
|
15915
15915
|
onClick: _ ? null : p
|
|
15916
15916
|
}
|
|
15917
15917
|
),
|
|
15918
|
-
n && /* @__PURE__ */ t.jsx(
|
|
15918
|
+
n && /* @__PURE__ */ t.jsx(Cs, { className: "icon-dim-20 fcn-6 dc__no-shrink" })
|
|
15919
15919
|
] }) });
|
|
15920
15920
|
}
|
|
15921
15921
|
), lj = 350, r_ = !!(Storage && localStorage), _r = "generic-table-configurable-columns", fr = "bulk-action-gutter", o_ = new EventTarget(), jd = "table-drag-selector", ar = [1, 2, 3], dj = new Error("Neither rows nor getRows function provided"), Od = {
|
|
@@ -16616,15 +16616,15 @@ const bj = ({
|
|
|
16616
16616
|
"data-active": X,
|
|
16617
16617
|
tabIndex: -1,
|
|
16618
16618
|
children: [
|
|
16619
|
-
r.map(({ field: Ke, horizontallySticky:
|
|
16620
|
-
const zs = Ke === fr, dn =
|
|
16619
|
+
r.map(({ field: Ke, horizontallySticky: Rs, CellComponent: Fn }, Bn) => {
|
|
16620
|
+
const zs = Ke === fr, dn = Rs || zs, { className: Va = "", left: Ga = "" } = dn ? Pd(ue, Bn) : {};
|
|
16621
16621
|
return zs ? /* @__PURE__ */ t.jsx(
|
|
16622
16622
|
"div",
|
|
16623
16623
|
{
|
|
16624
16624
|
className: `flexbox dc__align-items-center ${Va}`,
|
|
16625
16625
|
style: { left: Ga },
|
|
16626
16626
|
children: /* @__PURE__ */ t.jsx(
|
|
16627
|
-
|
|
16627
|
+
Is,
|
|
16628
16628
|
{
|
|
16629
16629
|
isChecked: ce,
|
|
16630
16630
|
onChange: Ue,
|
|
@@ -16700,7 +16700,7 @@ const bj = ({
|
|
|
16700
16700
|
showTippyOnTruncate: Ae,
|
|
16701
16701
|
horizontallySticky: Ue
|
|
16702
16702
|
}, Ke) => {
|
|
16703
|
-
const
|
|
16703
|
+
const Rs = !!ce?.range, Bn = Ue || $ === fr, { className: zs = "", left: dn = "" } = Bn ? Pd(ue, Ke) : {};
|
|
16704
16704
|
return $ === fr ? /* @__PURE__ */ t.jsx(
|
|
16705
16705
|
"div",
|
|
16706
16706
|
{
|
|
@@ -16733,7 +16733,7 @@ const bj = ({
|
|
|
16733
16733
|
triggerSorting: Qe($),
|
|
16734
16734
|
showTippyOnTruncate: Ae,
|
|
16735
16735
|
disabled: E,
|
|
16736
|
-
...
|
|
16736
|
+
...Rs ? { isResizable: Rs, handleResize: Ce, id: fe } : { isResizable: !1 }
|
|
16737
16737
|
},
|
|
16738
16738
|
$
|
|
16739
16739
|
)
|
|
@@ -16882,7 +16882,7 @@ const bj = ({
|
|
|
16882
16882
|
gt.reduce((X, ce) => (X[ce.id] = ce, X), {})
|
|
16883
16883
|
);
|
|
16884
16884
|
}, [gt]);
|
|
16885
|
-
const fe = o ??
|
|
16885
|
+
const fe = o ?? xs, $ = () => Ne && !ht && !h ? /* @__PURE__ */ t.jsx(Un, { code: Ne.code, reload: Qe }) : !ht && !De?.length && !h ? e !== xa.NONE && D ? /* @__PURE__ */ t.jsx(
|
|
16886
16886
|
wc,
|
|
16887
16887
|
{
|
|
16888
16888
|
...c.noRowsForFilterConfig,
|
|
@@ -17245,7 +17245,7 @@ const bj = ({
|
|
|
17245
17245
|
] })
|
|
17246
17246
|
] }),
|
|
17247
17247
|
o && /* @__PURE__ */ t.jsx(
|
|
17248
|
-
|
|
17248
|
+
bs,
|
|
17249
17249
|
{
|
|
17250
17250
|
variant: Bt.warning,
|
|
17251
17251
|
title: s === $e.CD ? `Abort ${e.toLowerCase()}-deployment?` : "Abort build?",
|
|
@@ -17266,7 +17266,7 @@ const bj = ({
|
|
|
17266
17266
|
}
|
|
17267
17267
|
),
|
|
17268
17268
|
c.status && /* @__PURE__ */ t.jsxs(
|
|
17269
|
-
|
|
17269
|
+
bs,
|
|
17270
17270
|
{
|
|
17271
17271
|
variant: Bt.warning,
|
|
17272
17272
|
title: "Could not abort build!",
|
|
@@ -17320,7 +17320,7 @@ const bj = ({
|
|
|
17320
17320
|
renderTargetConfigInfo: l,
|
|
17321
17321
|
stage: d
|
|
17322
17322
|
}) => {
|
|
17323
|
-
const { url: u } =
|
|
17323
|
+
const { url: u } = Ss(), { pathname: m } = as();
|
|
17324
17324
|
return /* @__PURE__ */ t.jsx("div", { className: "w-100 pr-20 flex column left", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center py-8 flex-wrap", children: [
|
|
17325
17325
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4 cn-9 fs-13 fw-6 lh-20", children: [
|
|
17326
17326
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__no-shrink dc__gap-4", "data-testid": "deployment-history-start-heading", children: [
|
|
@@ -17345,7 +17345,7 @@ const bj = ({
|
|
|
17345
17345
|
/* @__PURE__ */ t.jsx(t.Fragment, { children: o && /* @__PURE__ */ t.jsx(Oc, { imagePath: o, placement: "top" }) })
|
|
17346
17346
|
) : Object.keys(r ?? {}).length > 0 && a?.map((p) => {
|
|
17347
17347
|
const _ = r[p.id];
|
|
17348
|
-
return _ ? /* @__PURE__ */ t.jsxs(
|
|
17348
|
+
return _ ? /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
17349
17349
|
p.type !== "WEBHOOK" && _.Commit && /* @__PURE__ */ t.jsx(
|
|
17350
17350
|
Oi,
|
|
17351
17351
|
{
|
|
@@ -17759,7 +17759,7 @@ const bj = ({
|
|
|
17759
17759
|
triggerHistory: I,
|
|
17760
17760
|
targetPlatforms: y
|
|
17761
17761
|
}) => {
|
|
17762
|
-
const { path: b } =
|
|
17762
|
+
const { path: b } = Ss(), { appId: R, pipelineId: A, triggerId: v, envId: j } = bt(), P = {
|
|
17763
17763
|
appId: R,
|
|
17764
17764
|
envId: j,
|
|
17765
17765
|
appName: e.helmPackageName,
|
|
@@ -17901,7 +17901,7 @@ const bj = ({
|
|
|
17901
17901
|
!!b && !!A
|
|
17902
17902
|
), M = lo(v?.targetPlatforms), V = (J, ge, Ce) => {
|
|
17903
17903
|
if (Ce) {
|
|
17904
|
-
p?.result?.cdWorkflows?.length && n(K_(p.result.cdWorkflows, "id")), u(
|
|
17904
|
+
p?.result?.cdWorkflows?.length && n(K_(p.result.cdWorkflows, "id")), u(ks.SUSPEND);
|
|
17905
17905
|
return;
|
|
17906
17906
|
}
|
|
17907
17907
|
if (J === ge?.id) {
|
|
@@ -17913,10 +17913,10 @@ const bj = ({
|
|
|
17913
17913
|
...oe ? { targetConfig: oe } : {},
|
|
17914
17914
|
...ie ? { userApprovalMetadata: ie } : {}
|
|
17915
17915
|
};
|
|
17916
|
-
n((Ne) => (Ne.set(J, { ...ge, ...Ie }), new Map(Ne))), d ===
|
|
17916
|
+
n((Ne) => (Ne.set(J, { ...ge, ...Ie }), new Map(Ne))), d === ks.FETCHING && u(ks.SUCCESS);
|
|
17917
17917
|
}
|
|
17918
17918
|
};
|
|
17919
|
-
let H = !!d && d !==
|
|
17919
|
+
let H = !!d && d !== ks.SUSPEND;
|
|
17920
17920
|
(P?.result?.artifactId === 0 || v?.artifactId === 0) && (H = !1);
|
|
17921
17921
|
const [Q, te, Se] = At(
|
|
17922
17922
|
() => n0({
|
|
@@ -18574,7 +18574,7 @@ const rO = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
|
18574
18574
|
children: [
|
|
18575
18575
|
/* @__PURE__ */ t.jsxs("div", { className: "app-status-modal__header pt-12 flexbox-col px-20 dc__gap-12 border__primary--bottom dc__no-shrink", children: [
|
|
18576
18576
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__gap-4", children: [
|
|
18577
|
-
/* @__PURE__ */ t.jsx("h2", { className: "m-0 dc__truncate fs-16 fw-6 lh-1-5 dc__gap-4 flexbox cn-9", children: J.map((se, oe) => /* @__PURE__ */ t.jsxs(
|
|
18577
|
+
/* @__PURE__ */ t.jsx("h2", { className: "m-0 dc__truncate fs-16 fw-6 lh-1-5 dc__gap-4 flexbox cn-9", children: J.map((se, oe) => /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
18578
18578
|
se,
|
|
18579
18579
|
oe !== e.length - 1 && /* @__PURE__ */ t.jsx("span", { className: "cn-6 fs-16 fw-4", children: "/" })
|
|
18580
18580
|
] }, se)) }),
|
|
@@ -18961,7 +18961,7 @@ const pO = {
|
|
|
18961
18961
|
IMAGE_SCAN: "Image Scan",
|
|
18962
18962
|
CODE_SCAN: "Code Scan",
|
|
18963
18963
|
KUBERNETES_MANIFEST: "Kubernetes Manifest"
|
|
18964
|
-
},
|
|
18964
|
+
}, ys = {
|
|
18965
18965
|
VULNERABILITIES: "Vulnerability",
|
|
18966
18966
|
LICENSE: "License Risks",
|
|
18967
18967
|
MISCONFIGURATIONS: "Misconfigurations",
|
|
@@ -19016,7 +19016,7 @@ const pO = {
|
|
|
19016
19016
|
SvgImage: Bu,
|
|
19017
19017
|
title: "Scan in progress",
|
|
19018
19018
|
subTitle: "Scan result will be available once complete. Please check again later"
|
|
19019
|
-
}, xO = "https://cdn.devtron.ai/images/ic-trivy.webp",
|
|
19019
|
+
}, xO = "https://cdn.devtron.ai/images/ic-trivy.webp", Ts = (e) => (
|
|
19020
19020
|
/* for all the SEVERITY keys in @severities create @Entity */
|
|
19021
19021
|
e && $r.map(
|
|
19022
19022
|
(s) => e[s] && {
|
|
@@ -19444,7 +19444,7 @@ const pO = {
|
|
|
19444
19444
|
]
|
|
19445
19445
|
})) : null,
|
|
19446
19446
|
defaultSortIndex: 1,
|
|
19447
|
-
entities:
|
|
19447
|
+
entities: Ts(e.misConfSummary.status),
|
|
19448
19448
|
lastScanTimeString: s,
|
|
19449
19449
|
scanToolName: a,
|
|
19450
19450
|
scanToolUrl: r,
|
|
@@ -19526,7 +19526,7 @@ const pO = {
|
|
|
19526
19526
|
]
|
|
19527
19527
|
})) : null,
|
|
19528
19528
|
defaultSortIndex: 1,
|
|
19529
|
-
entities:
|
|
19529
|
+
entities: Ts(e.summary.severities),
|
|
19530
19530
|
lastScanTimeString: s,
|
|
19531
19531
|
scanToolName: a,
|
|
19532
19532
|
scanToolUrl: r,
|
|
@@ -19602,12 +19602,12 @@ const pO = {
|
|
|
19602
19602
|
case re.LICENSE:
|
|
19603
19603
|
case re.EXPOSED_SECRETS:
|
|
19604
19604
|
return {
|
|
19605
|
-
entities:
|
|
19605
|
+
entities: Ts(e[s]?.summary.severities),
|
|
19606
19606
|
...o
|
|
19607
19607
|
};
|
|
19608
19608
|
case re.MISCONFIGURATIONS:
|
|
19609
19609
|
return {
|
|
19610
|
-
entities:
|
|
19610
|
+
entities: Ts(e[s]?.misConfSummary.status),
|
|
19611
19611
|
...o
|
|
19612
19612
|
};
|
|
19613
19613
|
default:
|
|
@@ -19655,7 +19655,7 @@ const pO = {
|
|
|
19655
19655
|
}, ki = (e) => ({
|
|
19656
19656
|
titlePrefix: "Image",
|
|
19657
19657
|
title: e.image,
|
|
19658
|
-
entities:
|
|
19658
|
+
entities: Ts(e.summary.severities),
|
|
19659
19659
|
lastScanTimeString: e.StartedOn,
|
|
19660
19660
|
scanToolName: e.scanToolName,
|
|
19661
19661
|
scanToolUrl: e.scanToolUrl,
|
|
@@ -19798,7 +19798,7 @@ const pO = {
|
|
|
19798
19798
|
]
|
|
19799
19799
|
})) : null,
|
|
19800
19800
|
defaultSortIndex: 1,
|
|
19801
|
-
entities:
|
|
19801
|
+
entities: Ts(e.summary.severities),
|
|
19802
19802
|
lastScanTimeString: e.StartedOn,
|
|
19803
19803
|
scanToolName: e.scanToolName,
|
|
19804
19804
|
scanToolUrl: e.scanToolUrl,
|
|
@@ -19849,7 +19849,7 @@ const pO = {
|
|
|
19849
19849
|
}, FO = (e, s) => {
|
|
19850
19850
|
const n = e[s]?.list?.[0];
|
|
19851
19851
|
return {
|
|
19852
|
-
entities:
|
|
19852
|
+
entities: Ts(e[s]?.summary.severities),
|
|
19853
19853
|
scanToolName: n?.scanToolName,
|
|
19854
19854
|
scanToolUrl: n?.scanToolUrl,
|
|
19855
19855
|
lastScanTimeString: n?.StartedOn
|
|
@@ -19919,12 +19919,12 @@ const pO = {
|
|
|
19919
19919
|
switch (s) {
|
|
19920
19920
|
case re.MISCONFIGURATIONS:
|
|
19921
19921
|
return {
|
|
19922
|
-
entities:
|
|
19922
|
+
entities: Ts(e[s]?.misConfSummary.status),
|
|
19923
19923
|
...n
|
|
19924
19924
|
};
|
|
19925
19925
|
case re.EXPOSED_SECRETS:
|
|
19926
19926
|
return {
|
|
19927
|
-
entities:
|
|
19927
|
+
entities: Ts(e[s]?.summary.severities),
|
|
19928
19928
|
...n
|
|
19929
19929
|
};
|
|
19930
19930
|
default:
|
|
@@ -19971,7 +19971,7 @@ const pO = {
|
|
|
19971
19971
|
default:
|
|
19972
19972
|
return null;
|
|
19973
19973
|
}
|
|
19974
|
-
},
|
|
19974
|
+
}, js = ({ category: e, subCategory: s }) => JSON.stringify({ category: e, subCategory: s }), zO = (e) => {
|
|
19975
19975
|
const s = JSON.parse(e);
|
|
19976
19976
|
return {
|
|
19977
19977
|
category: s.category,
|
|
@@ -19993,8 +19993,8 @@ const pO = {
|
|
|
19993
19993
|
items: [
|
|
19994
19994
|
{
|
|
19995
19995
|
type: "item",
|
|
19996
|
-
title:
|
|
19997
|
-
id:
|
|
19996
|
+
title: ys.VULNERABILITIES,
|
|
19997
|
+
id: js({
|
|
19998
19998
|
category: _e.IMAGE_SCAN,
|
|
19999
19999
|
subCategory: re.VULNERABILITIES
|
|
20000
20000
|
})
|
|
@@ -20002,8 +20002,8 @@ const pO = {
|
|
|
20002
20002
|
...a ? [
|
|
20003
20003
|
{
|
|
20004
20004
|
type: "item",
|
|
20005
|
-
title:
|
|
20006
|
-
id:
|
|
20005
|
+
title: ys.LICENSE,
|
|
20006
|
+
id: js({
|
|
20007
20007
|
category: _e.IMAGE_SCAN,
|
|
20008
20008
|
subCategory: re.LICENSE
|
|
20009
20009
|
})
|
|
@@ -20020,32 +20020,32 @@ const pO = {
|
|
|
20020
20020
|
items: [
|
|
20021
20021
|
{
|
|
20022
20022
|
type: "item",
|
|
20023
|
-
title:
|
|
20024
|
-
id:
|
|
20023
|
+
title: ys.VULNERABILITIES,
|
|
20024
|
+
id: js({
|
|
20025
20025
|
category: _e.CODE_SCAN,
|
|
20026
20026
|
subCategory: re.VULNERABILITIES
|
|
20027
20027
|
})
|
|
20028
20028
|
},
|
|
20029
20029
|
{
|
|
20030
20030
|
type: "item",
|
|
20031
|
-
title:
|
|
20032
|
-
id:
|
|
20031
|
+
title: ys.LICENSE,
|
|
20032
|
+
id: js({
|
|
20033
20033
|
category: _e.CODE_SCAN,
|
|
20034
20034
|
subCategory: re.LICENSE
|
|
20035
20035
|
})
|
|
20036
20036
|
},
|
|
20037
20037
|
{
|
|
20038
20038
|
type: "item",
|
|
20039
|
-
title:
|
|
20040
|
-
id:
|
|
20039
|
+
title: ys.MISCONFIGURATIONS,
|
|
20040
|
+
id: js({
|
|
20041
20041
|
category: _e.CODE_SCAN,
|
|
20042
20042
|
subCategory: re.MISCONFIGURATIONS
|
|
20043
20043
|
})
|
|
20044
20044
|
},
|
|
20045
20045
|
{
|
|
20046
20046
|
type: "item",
|
|
20047
|
-
title:
|
|
20048
|
-
id:
|
|
20047
|
+
title: ys.EXPOSED_SECRETS,
|
|
20048
|
+
id: js({
|
|
20049
20049
|
category: _e.CODE_SCAN,
|
|
20050
20050
|
subCategory: re.EXPOSED_SECRETS
|
|
20051
20051
|
})
|
|
@@ -20061,16 +20061,16 @@ const pO = {
|
|
|
20061
20061
|
items: [
|
|
20062
20062
|
{
|
|
20063
20063
|
type: "item",
|
|
20064
|
-
title:
|
|
20065
|
-
id:
|
|
20064
|
+
title: ys.MISCONFIGURATIONS,
|
|
20065
|
+
id: js({
|
|
20066
20066
|
category: _e.KUBERNETES_MANIFEST,
|
|
20067
20067
|
subCategory: re.MISCONFIGURATIONS
|
|
20068
20068
|
})
|
|
20069
20069
|
},
|
|
20070
20070
|
{
|
|
20071
20071
|
type: "item",
|
|
20072
|
-
title:
|
|
20073
|
-
id:
|
|
20072
|
+
title: ys.EXPOSED_SECRETS,
|
|
20073
|
+
id: js({
|
|
20074
20074
|
category: _e.KUBERNETES_MANIFEST,
|
|
20075
20075
|
subCategory: re.EXPOSED_SECRETS
|
|
20076
20076
|
})
|
|
@@ -20803,7 +20803,7 @@ const T4 = ({
|
|
|
20803
20803
|
}, S = () => {
|
|
20804
20804
|
E.current.abort();
|
|
20805
20805
|
}, T = () => /* @__PURE__ */ t.jsx(
|
|
20806
|
-
|
|
20806
|
+
bs,
|
|
20807
20807
|
{
|
|
20808
20808
|
...c,
|
|
20809
20809
|
handleClose: g,
|
|
@@ -20891,7 +20891,7 @@ const S4 = ({
|
|
|
20891
20891
|
disabled: i,
|
|
20892
20892
|
rootClassName: "flex dc__transparent p-0 w-28 bcb-5 dc__right-radius-4 dc__no-left-radius dc__no-top-border dc__no-bottom-border dc__no-right-border button-with-selector",
|
|
20893
20893
|
children: /* @__PURE__ */ t.jsx(
|
|
20894
|
-
|
|
20894
|
+
Cs,
|
|
20895
20895
|
{
|
|
20896
20896
|
className: "icon-dim-16 fcn-0 dc__no-shrink rotate",
|
|
20897
20897
|
style: { "--rotateBy": l ? "180deg" : "0deg" }
|
|
@@ -22494,7 +22494,7 @@ const Wd = ({
|
|
|
22494
22494
|
let b = { isValid: !0, messages: [] };
|
|
22495
22495
|
return o === ps.KEY ? (m || s.value) && (b = E.propagateTagKey(m)) : (r || m || s.propagate) && (b = E.propagateTagValue(m, s.key)), b.isValid ? null : /* @__PURE__ */ t.jsxs("div", { className: "p-4", onClick: je, "data-testid": "tag-label-cross-stop-propagation", children: [
|
|
22496
22496
|
b.messages.map((R) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
|
22497
|
-
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(
|
|
22497
|
+
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(vs, { className: "icon-dim-14 scr-5 mt-3 mr-4" }) }),
|
|
22498
22498
|
/* @__PURE__ */ t.jsx("span", { children: R })
|
|
22499
22499
|
] }, R)),
|
|
22500
22500
|
o === ps.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
|
@@ -22622,7 +22622,7 @@ const Wd = ({
|
|
|
22622
22622
|
className: "dc__border pl-4 pr-4 dc__right-radius-4 pointer flex top",
|
|
22623
22623
|
onClick: u,
|
|
22624
22624
|
"data-testid": `delete-tag-${e}`,
|
|
22625
|
-
children: /* @__PURE__ */ t.jsx(
|
|
22625
|
+
children: /* @__PURE__ */ t.jsx(vs, { className: "icon-dim-20 mt-4" })
|
|
22626
22626
|
}
|
|
22627
22627
|
)
|
|
22628
22628
|
] });
|
|
@@ -22666,7 +22666,7 @@ const Gw = ({
|
|
|
22666
22666
|
dataTestId: "file-upload-remove-file-button",
|
|
22667
22667
|
ariaLabel: "Remove File",
|
|
22668
22668
|
showAriaLabelInTippy: !1,
|
|
22669
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
22669
|
+
icon: /* @__PURE__ */ t.jsx(vs, {}),
|
|
22670
22670
|
onClick: l,
|
|
22671
22671
|
variant: W.borderLess,
|
|
22672
22672
|
style: ne.negativeGrey,
|
|
@@ -22912,7 +22912,7 @@ const Gw = ({
|
|
|
22912
22912
|
gridTemplateColumns: x
|
|
22913
22913
|
},
|
|
22914
22914
|
children: e.map((v) => /* @__PURE__ */ t.jsxs("div", { className: "dynamic-data-table__row", children: [
|
|
22915
|
-
s.map(({ key: j }, P) => /* @__PURE__ */ t.jsx(
|
|
22915
|
+
s.map(({ key: j }, P) => /* @__PURE__ */ t.jsx(xs, { children: A(v, j, P) }, j)),
|
|
22916
22916
|
!a && !n && /* @__PURE__ */ t.jsx("div", { className: "dynamic-data-table__row-delete-btn bg__primary", children: /* @__PURE__ */ t.jsx(
|
|
22917
22917
|
G,
|
|
22918
22918
|
{
|
|
@@ -23596,7 +23596,7 @@ const qd = (e) => {
|
|
|
23596
23596
|
}
|
|
23597
23597
|
) })
|
|
23598
23598
|
] });
|
|
23599
|
-
},
|
|
23599
|
+
}, Os = {
|
|
23600
23600
|
width: 356,
|
|
23601
23601
|
height: 504
|
|
23602
23602
|
}, R_ = "No Defined Description", tL = "No Defined Value", sL = "What is scoped variable?", Zo = (e, s) => e && s ? `"${e}":${s},` : "", nL = ({
|
|
@@ -23714,7 +23714,7 @@ const qd = (e) => {
|
|
|
23714
23714
|
/* @__PURE__ */ t.jsx("div", { className: "flex center", children: /* @__PURE__ */ t.jsx(Ta, { className: "icon-dim-16 fcv-5" }) }),
|
|
23715
23715
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 cn-9 fw-6 lh-20", children: sL })
|
|
23716
23716
|
] }),
|
|
23717
|
-
/* @__PURE__ */ t.jsx(
|
|
23717
|
+
/* @__PURE__ */ t.jsx(Cs, { className: `icon-dim-16 fcn-6 ${e ? "" : "dc__flip-270"}` })
|
|
23718
23718
|
]
|
|
23719
23719
|
}
|
|
23720
23720
|
),
|
|
@@ -23774,7 +23774,7 @@ const qd = (e) => {
|
|
|
23774
23774
|
/* @__PURE__ */ t.jsx("div", { className: "h-100", children: /* @__PURE__ */ t.jsx(
|
|
23775
23775
|
G,
|
|
23776
23776
|
{
|
|
23777
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
23777
|
+
icon: /* @__PURE__ */ t.jsx(vs, { className: Rn }),
|
|
23778
23778
|
ariaLabel: "Close suggestions",
|
|
23779
23779
|
showAriaLabelInTippy: !1,
|
|
23780
23780
|
dataTestId: "deactivate-suggestions",
|
|
@@ -23879,15 +23879,15 @@ const qd = (e) => {
|
|
|
23879
23879
|
_({
|
|
23880
23880
|
x: u.x,
|
|
23881
23881
|
y: u.y
|
|
23882
|
-
}), b.y > f.height -
|
|
23882
|
+
}), b.y > f.height - Os.height && _({
|
|
23883
23883
|
x: u.x,
|
|
23884
|
-
y: f.height -
|
|
23885
|
-
}), b.x > f.width -
|
|
23886
|
-
x: f.width -
|
|
23884
|
+
y: f.height - Os.height - N.y
|
|
23885
|
+
}), b.x > f.width - Os.width && _({
|
|
23886
|
+
x: f.width - Os.width - N.x,
|
|
23887
23887
|
y: u.y
|
|
23888
|
-
}), b.x > f.width -
|
|
23889
|
-
x: f.width -
|
|
23890
|
-
y: f.height -
|
|
23888
|
+
}), b.x > f.width - Os.width && b.y > f.height - Os.height && _({
|
|
23889
|
+
x: f.width - Os.width - N.x,
|
|
23890
|
+
y: f.height - Os.height - N.y
|
|
23891
23891
|
}), d(!0);
|
|
23892
23892
|
}, T = Ge((b) => {
|
|
23893
23893
|
b.stopPropagation(), d(!1);
|
|
@@ -24618,7 +24618,7 @@ const LL = async (e, s) => {
|
|
|
24618
24618
|
FEATURE_PROMO_EMBEDDED_MODAL_TITLE: a,
|
|
24619
24619
|
FEATURE_PROMO_EMBEDDED_IFRAME_URL: r
|
|
24620
24620
|
} = window._env_, o = Ge(() => {
|
|
24621
|
-
s(!0),
|
|
24621
|
+
s(!0), Es.event({
|
|
24622
24622
|
category: "PRIMARY_HEADER",
|
|
24623
24623
|
action: "HEADER_IFRAME_BUTTON_CLICKED"
|
|
24624
24624
|
});
|
|
@@ -25151,19 +25151,19 @@ const HL = (e) => [
|
|
|
25151
25151
|
p(),
|
|
25152
25152
|
l ?? m()
|
|
25153
25153
|
] });
|
|
25154
|
-
},
|
|
25154
|
+
}, Ms = {
|
|
25155
25155
|
ACTIVE: "Active on",
|
|
25156
25156
|
VIRTUAL_ENV: "Last deployed on",
|
|
25157
25157
|
FAILED: "Last deployment failed on",
|
|
25158
25158
|
DEPLOYING: "Deploying on"
|
|
25159
25159
|
}, JL = (e) => {
|
|
25160
25160
|
switch (e) {
|
|
25161
|
-
case
|
|
25162
|
-
case
|
|
25161
|
+
case Ms.VIRTUAL_ENV:
|
|
25162
|
+
case Ms.ACTIVE:
|
|
25163
25163
|
return { Icon: /* @__PURE__ */ t.jsx(em, { className: "icon-dim-16 scg-5" }), stateClassName: "bcg-1 eg-2" };
|
|
25164
|
-
case
|
|
25164
|
+
case Ms.FAILED:
|
|
25165
25165
|
return { Icon: /* @__PURE__ */ t.jsx(vg, { className: "icon-dim-16" }), stateClassName: "bcr-1 er-2" };
|
|
25166
|
-
case
|
|
25166
|
+
case Ms.DEPLOYING:
|
|
25167
25167
|
return {
|
|
25168
25168
|
Icon: /* @__PURE__ */ t.jsx(F, { name: "ic-circle-loader", color: "O500" }),
|
|
25169
25169
|
stateClassName: "bcy-1 ey-2"
|
|
@@ -25204,7 +25204,7 @@ const HL = (e) => [
|
|
|
25204
25204
|
additionalInfo: d,
|
|
25205
25205
|
targetPlatforms: u
|
|
25206
25206
|
}) => {
|
|
25207
|
-
const m = () => c ?
|
|
25207
|
+
const m = () => c ? Ms.VIRTUAL_ENV : Ms.ACTIVE, p = () => {
|
|
25208
25208
|
if (l?.length) {
|
|
25209
25209
|
const g = l.length === 1 ? l[0] : `${l.length} environments`;
|
|
25210
25210
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -25228,8 +25228,8 @@ const HL = (e) => [
|
|
|
25228
25228
|
d
|
|
25229
25229
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
|
25230
25230
|
p(),
|
|
25231
|
-
n === qa.PROGRESSING && /* @__PURE__ */ t.jsx(Kn, { envStateText:
|
|
25232
|
-
(n === qa.DEGRADED || n === qa.FAILED) && /* @__PURE__ */ t.jsx(Kn, { envStateText:
|
|
25231
|
+
n === qa.PROGRESSING && /* @__PURE__ */ t.jsx(Kn, { envStateText: Ms.DEPLOYING, title: a }),
|
|
25232
|
+
(n === qa.DEGRADED || n === qa.FAILED) && /* @__PURE__ */ t.jsx(Kn, { envStateText: Ms.FAILED, title: a }),
|
|
25233
25233
|
i && /* @__PURE__ */ t.jsx(
|
|
25234
25234
|
zr,
|
|
25235
25235
|
{
|
|
@@ -25355,7 +25355,7 @@ const HL = (e) => [
|
|
|
25355
25355
|
children: [
|
|
25356
25356
|
l ? "Hide info" : "Show more info",
|
|
25357
25357
|
/* @__PURE__ */ t.jsx(
|
|
25358
|
-
|
|
25358
|
+
Cs,
|
|
25359
25359
|
{
|
|
25360
25360
|
className: "icon-dim-24 rotate fcn-6",
|
|
25361
25361
|
style: { "--rotateBy": l ? "-180deg" : "0deg" }
|
|
@@ -25616,7 +25616,7 @@ const eD = ({
|
|
|
25616
25616
|
}
|
|
25617
25617
|
);
|
|
25618
25618
|
}, dD = 2;
|
|
25619
|
-
var
|
|
25619
|
+
var gs = /* @__PURE__ */ ((e) => (e.ACTIVE = "ACTIVE", e.EXPIRED = "EXPIRED", e.REMINDER_THRESHOLD_REACHED = "REMINDER_THRESHOLD_REACHED", e))(gs || {});
|
|
25620
25620
|
const uD = ({
|
|
25621
25621
|
isFreemium: e,
|
|
25622
25622
|
licenseStatus: s,
|
|
@@ -25630,9 +25630,9 @@ const uD = ({
|
|
|
25630
25630
|
return { bgColor: "var(--G100)", textColor: "var(--G500)" };
|
|
25631
25631
|
}
|
|
25632
25632
|
switch (s) {
|
|
25633
|
-
case
|
|
25633
|
+
case gs.ACTIVE:
|
|
25634
25634
|
return { bgColor: "var(--G100)", textColor: "var(--G500)" };
|
|
25635
|
-
case
|
|
25635
|
+
case gs.REMINDER_THRESHOLD_REACHED:
|
|
25636
25636
|
return { bgColor: "var(--Y100)", textColor: "var(--Y700)" };
|
|
25637
25637
|
default:
|
|
25638
25638
|
return { bgColor: "var(--R100)", textColor: "var(--R500)" };
|
|
@@ -25640,7 +25640,7 @@ const uD = ({
|
|
|
25640
25640
|
}, mD = ({
|
|
25641
25641
|
ttl: e,
|
|
25642
25642
|
reminderThreshold: s
|
|
25643
|
-
}) => e <= 0 ?
|
|
25643
|
+
}) => e <= 0 ? gs.EXPIRED : e < s * 24 * 60 * 60 ? gs.REMINDER_THRESHOLD_REACHED : gs.ACTIVE, pD = (e, s) => {
|
|
25644
25644
|
const {
|
|
25645
25645
|
isTrial: n,
|
|
25646
25646
|
expiry: a,
|
|
@@ -25783,7 +25783,7 @@ const uD = ({
|
|
|
25783
25783
|
ariaLabel: "close activate license dialog",
|
|
25784
25784
|
onClick: n,
|
|
25785
25785
|
style: ne.negativeGrey,
|
|
25786
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
25786
|
+
icon: /* @__PURE__ */ t.jsx(vs, {}),
|
|
25787
25787
|
showAriaLabelInTippy: !1
|
|
25788
25788
|
}
|
|
25789
25789
|
)
|
|
@@ -25851,7 +25851,7 @@ const uD = ({
|
|
|
25851
25851
|
isFreeForever: a
|
|
25852
25852
|
}) => {
|
|
25853
25853
|
const r = e && n?.code === ic.ClusterLimitExceeded;
|
|
25854
|
-
if (a || r)
|
|
25854
|
+
if (a || r || e && s === gs.ACTIVE)
|
|
25855
25855
|
return /* @__PURE__ */ t.jsxs("div", { className: "p-16 fs-13 lh-1-5 flexbox-col dc__gap-8", children: [
|
|
25856
25856
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__content-space fs-13 fw-4 lh-20 cn-9", children: [
|
|
25857
25857
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
|
@@ -25882,9 +25882,9 @@ const uD = ({
|
|
|
25882
25882
|
/* @__PURE__ */ t.jsx(iu, {})
|
|
25883
25883
|
] })
|
|
25884
25884
|
] });
|
|
25885
|
-
if (s ===
|
|
25885
|
+
if (s === gs.ACTIVE)
|
|
25886
25886
|
return null;
|
|
25887
|
-
const
|
|
25887
|
+
const i = s === gs.EXPIRED;
|
|
25888
25888
|
return /* @__PURE__ */ t.jsxs("div", { className: "p-16 fs-13 lh-1-5 flexbox-col dc__gap-8", children: [
|
|
25889
25889
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__content-space", children: [
|
|
25890
25890
|
/* @__PURE__ */ t.jsxs("span", { children: [
|
|
@@ -25895,8 +25895,8 @@ const uD = ({
|
|
|
25895
25895
|
/* @__PURE__ */ t.jsx(
|
|
25896
25896
|
F,
|
|
25897
25897
|
{
|
|
25898
|
-
name:
|
|
25899
|
-
color:
|
|
25898
|
+
name: i ? "ic-error" : "ic-timer",
|
|
25899
|
+
color: i ? "R500" : "Y500",
|
|
25900
25900
|
size: 16
|
|
25901
25901
|
}
|
|
25902
25902
|
)
|
|
@@ -25922,11 +25922,11 @@ const uD = ({
|
|
|
25922
25922
|
licenseStatus: r,
|
|
25923
25923
|
licenseStatusError: u,
|
|
25924
25924
|
isSaasInstance: m
|
|
25925
|
-
}), E = l === st.dark, x = B(null), g = oa(window.innerWidth), f = oa(window.innerHeight), C =
|
|
25925
|
+
}), E = l === st.dark, x = B(null), g = oa(window.innerWidth), f = oa(window.innerHeight), C = Ds(f, (R) => {
|
|
25926
25926
|
if (!x.current) return 0;
|
|
25927
25927
|
const A = x.current.getBoundingClientRect();
|
|
25928
25928
|
return -(R - A.top - A.height / 2) / ou;
|
|
25929
|
-
}), N =
|
|
25929
|
+
}), N = Ds(g, (R) => {
|
|
25930
25930
|
if (!x.current) return 0;
|
|
25931
25931
|
const A = x.current.getBoundingClientRect();
|
|
25932
25932
|
return (R - A.left - A.width / 2) / ou;
|
|
@@ -25939,10 +25939,10 @@ const uD = ({
|
|
|
25939
25939
|
window.removeEventListener("mousemove", R);
|
|
25940
25940
|
};
|
|
25941
25941
|
}, []);
|
|
25942
|
-
const S =
|
|
25942
|
+
const S = Ds(
|
|
25943
25943
|
[C, N],
|
|
25944
25944
|
([R, A]) => R + A
|
|
25945
|
-
), T =
|
|
25945
|
+
), T = Ds(S, [-5, 5], [-100, 200]), I = Ds(T, [-100, 50, 200], [0, E ? 0.25 : 0.1, 0]), y = E ? il`linear-gradient(55deg, transparent, rgba(122, 127, 131, ${I}) ${T}%, transparent)` : il`linear-gradient(55deg, transparent, rgba(255, 255, 255, ${I}) ${T}%, transparent)`, b = () => {
|
|
25946
25946
|
if (p)
|
|
25947
25947
|
return null;
|
|
25948
25948
|
const R = _P(c);
|
|
@@ -26408,7 +26408,7 @@ const uD = ({
|
|
|
26408
26408
|
onKeyDown: h,
|
|
26409
26409
|
children: [
|
|
26410
26410
|
e && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink icon-dim-40 p-8 ${r ? "" : "dc__visible-hover--child"}`, children: /* @__PURE__ */ t.jsx(
|
|
26411
|
-
|
|
26411
|
+
Is,
|
|
26412
26412
|
{
|
|
26413
26413
|
isChecked: r,
|
|
26414
26414
|
onChange: h,
|
|
@@ -26866,7 +26866,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
26866
26866
|
};
|
|
26867
26867
|
}, [e, s]), a ? Ju(n, a) : null;
|
|
26868
26868
|
}, l6 = ({ isLoading: e, intervalTime: s = 50 }) => {
|
|
26869
|
-
const n = oa(0), a = Fh(n, { stiffness: 50, damping: 20 }), r =
|
|
26869
|
+
const n = oa(0), a = Fh(n, { stiffness: 50, damping: 20 }), r = Ds(a, (o) => `${o}%`);
|
|
26870
26870
|
return k(() => {
|
|
26871
26871
|
let o = null;
|
|
26872
26872
|
return e && (o = setInterval(() => {
|
|
@@ -26892,13 +26892,13 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
26892
26892
|
}
|
|
26893
26893
|
) });
|
|
26894
26894
|
}, DD = ({ title: e, value: s, size: n, bgColor: a, fgColor: r }) => /* @__PURE__ */ t.jsx(xh, { title: e, value: s, size: n, bgColor: `var(--${a})`, fgColor: `var(--${r})` }), PD = {
|
|
26895
|
-
[
|
|
26896
|
-
[
|
|
26897
|
-
[
|
|
26898
|
-
[
|
|
26899
|
-
[
|
|
26900
|
-
[
|
|
26901
|
-
[
|
|
26895
|
+
[ws.google]: "ic-google",
|
|
26896
|
+
[ws.github]: "ic-github",
|
|
26897
|
+
[ws.gitlab]: "ic-gitlab",
|
|
26898
|
+
[ws.ldap]: "ic-ldap",
|
|
26899
|
+
[ws.microsoft]: "ic-microsoft",
|
|
26900
|
+
[ws.oidc]: "ic-oidc",
|
|
26901
|
+
[ws.openshift]: "ic-openshift"
|
|
26902
26902
|
}, d6 = ({ provider: e, size: s = 20 }) => /* @__PURE__ */ t.jsx(F, { name: PD[e], size: s, color: null }), kD = {
|
|
26903
26903
|
[st.light]: null,
|
|
26904
26904
|
[st.dark]: null,
|
|
@@ -26990,7 +26990,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
26990
26990
|
o(e, !0), s();
|
|
26991
26991
|
};
|
|
26992
26992
|
return /* @__PURE__ */ t.jsx(
|
|
26993
|
-
|
|
26993
|
+
bs,
|
|
26994
26994
|
{
|
|
26995
26995
|
title: "Customize your theme",
|
|
26996
26996
|
subtitle: "Select a theme that suits your preference",
|
|
@@ -27061,7 +27061,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27061
27061
|
setTagErrors: c
|
|
27062
27062
|
}) => {
|
|
27063
27063
|
const l = (_) => {
|
|
27064
|
-
|
|
27064
|
+
Es.event({
|
|
27065
27065
|
category: "Tags",
|
|
27066
27066
|
action: `${e.toUpperCase()}_PROPAGATE_TAG_BUTTON_CLICKED`
|
|
27067
27067
|
});
|
|
@@ -27086,7 +27086,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27086
27086
|
}
|
|
27087
27087
|
) });
|
|
27088
27088
|
}, u = () => {
|
|
27089
|
-
|
|
27089
|
+
Es.event({
|
|
27090
27090
|
category: "Tags",
|
|
27091
27091
|
action: `${e.toUpperCase()}_ADD_TAG_BUTTON_CLICKED`
|
|
27092
27092
|
});
|
|
@@ -27596,7 +27596,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27596
27596
|
className: "w-8 h-20 bcn-9 ml-2 dc__inline-block br-2"
|
|
27597
27597
|
}
|
|
27598
27598
|
), f6 = (e) => {
|
|
27599
|
-
const s = oa(0), n =
|
|
27599
|
+
const s = oa(0), n = Ds(s, (a) => e.slice(0, Math.floor(a)));
|
|
27600
27600
|
return k(() => ra(s, e.length, {
|
|
27601
27601
|
type: "tween",
|
|
27602
27602
|
duration: 4,
|
|
@@ -27606,7 +27606,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27606
27606
|
/* @__PURE__ */ t.jsx(tc, { className: "icon-dim-20 dc__no-shrink" }),
|
|
27607
27607
|
/* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20", children: "Unsaved changes" })
|
|
27608
27608
|
] }), g6 = ({ handleClose: e, handleProceed: s }) => /* @__PURE__ */ t.jsx(
|
|
27609
|
-
|
|
27609
|
+
bs,
|
|
27610
27610
|
{
|
|
27611
27611
|
handleClose: e,
|
|
27612
27612
|
variant: Bt.warning,
|
|
@@ -27730,7 +27730,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27730
27730
|
title: "Deploy Image from External Service",
|
|
27731
27731
|
subtitle: "Receive images from an external service (eg. jenkins) & deploy to an environment.",
|
|
27732
27732
|
dataTestId: "deploy-image-external-service-link",
|
|
27733
|
-
type:
|
|
27733
|
+
type: Us.WEBHOOK,
|
|
27734
27734
|
icons: [
|
|
27735
27735
|
{ name: "ic-webhook", color: null },
|
|
27736
27736
|
{ name: "ic-deploy-color", color: null }
|
|
@@ -27780,7 +27780,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27780
27780
|
onClick: l ? void 0 : c,
|
|
27781
27781
|
onKeyDown: l ? void 0 : c,
|
|
27782
27782
|
children: [
|
|
27783
|
-
!!a.length && /* @__PURE__ */ t.jsx("div", { className: "source-type-card__icons flex bg__tertiary br-6 px-12 py-16 m-4", children: a.map(({ name: d, color: u }, m) => /* @__PURE__ */ t.jsxs(
|
|
27783
|
+
!!a.length && /* @__PURE__ */ t.jsx("div", { className: "source-type-card__icons flex bg__tertiary br-6 px-12 py-16 m-4", children: a.map(({ name: d, color: u }, m) => /* @__PURE__ */ t.jsxs(xs, { children: [
|
|
27784
27784
|
/* @__PURE__ */ t.jsx("div", { className: "flex p-8 br-8 bg__primary border__secondary-translucent", children: /* @__PURE__ */ t.jsx(F, { name: d, color: u, size: 20 }) }),
|
|
27785
27785
|
m !== a.length - 1 && /* @__PURE__ */ t.jsx("div", { className: "divider__secondary-translucent--horizontal w-16" })
|
|
27786
27786
|
] }, d)) }),
|
|
@@ -27811,9 +27811,9 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27811
27811
|
}) => {
|
|
27812
27812
|
if (!e || !s)
|
|
27813
27813
|
return null;
|
|
27814
|
-
const n = e.find((o) => +o.id === s.appWorkflowId), a = n.nodes.find((o) => o.type ===
|
|
27815
|
-
if (n.nodes.some((o) => o.type ===
|
|
27816
|
-
return
|
|
27814
|
+
const n = e.find((o) => +o.id === s.appWorkflowId), a = n.nodes.find((o) => o.type === Us.CI);
|
|
27815
|
+
if (n.nodes.some((o) => o.type === Us.WEBHOOK))
|
|
27816
|
+
return Us.WEBHOOK;
|
|
27817
27817
|
if (a) {
|
|
27818
27818
|
if (a.isJobCI)
|
|
27819
27819
|
return ut.JOB_CI;
|
|
@@ -27887,7 +27887,7 @@ const yD = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
|
27887
27887
|
), C = () => {
|
|
27888
27888
|
p(), l();
|
|
27889
27889
|
}, N = () => {
|
|
27890
|
-
if (o && i.find((A) => +A.id === o.appWorkflowId).nodes.some((A) => A.type ===
|
|
27890
|
+
if (o && i.find((A) => +A.id === o.appWorkflowId).nodes.some((A) => A.type === Us.CD)) {
|
|
27891
27891
|
h(!0), tS(QD(o), {
|
|
27892
27892
|
isTemplateView: m
|
|
27893
27893
|
}).then((A) => {
|
|
@@ -28413,7 +28413,7 @@ function $6() {
|
|
|
28413
28413
|
};
|
|
28414
28414
|
return e;
|
|
28415
28415
|
}
|
|
28416
|
-
const mP = (e) => /* @__PURE__ */ t.jsx(Xe.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(
|
|
28416
|
+
const mP = (e) => /* @__PURE__ */ t.jsx(Xe.DropdownIndicator, { ...e, children: /* @__PURE__ */ t.jsx(Cs, { className: "icon-dim-20 icon-n6" }) });
|
|
28417
28417
|
function K_(e, s) {
|
|
28418
28418
|
return Array.isArray(e) ? e.reduce((n, a) => n.set(a[s], a), /* @__PURE__ */ new Map()) : (console.error(e, "is not array"), /* @__PURE__ */ new Map());
|
|
28419
28419
|
}
|
|
@@ -28691,7 +28691,7 @@ He.createContext(null);
|
|
|
28691
28691
|
function Z6(e, s) {
|
|
28692
28692
|
const n = e?.sep || "/";
|
|
28693
28693
|
s = s || [];
|
|
28694
|
-
const { url: a, path: r } =
|
|
28694
|
+
const { url: a, path: r } = Ss(), o = bt(), { state: i, setState: c } = TP();
|
|
28695
28695
|
k(() => {
|
|
28696
28696
|
if (!(!e || !e.alias))
|
|
28697
28697
|
return c((p) => ({ ...p, alias: { ...p.alias, ...e.alias } })), () => d(Object.keys(e.alias));
|
|
@@ -28730,7 +28730,7 @@ const J_ = ({
|
|
|
28730
28730
|
sep: s = "/",
|
|
28731
28731
|
className: n = "dc__devtron-breadcrumb__item fs-16 fw-4 lh-1-5 dc__ellipsis-right dc__mxw-155"
|
|
28732
28732
|
}) => {
|
|
28733
|
-
const { url: a } =
|
|
28733
|
+
const { url: a } = Ss(), r = e.filter((o) => !!o.name);
|
|
28734
28734
|
return /* @__PURE__ */ t.jsx(t.Fragment, { children: r.map((o, i) => /* @__PURE__ */ t.jsxs(He.Fragment, { children: [
|
|
28735
28735
|
/* @__PURE__ */ t.jsx(
|
|
28736
28736
|
pt,
|
|
@@ -29538,7 +29538,7 @@ const Z_ = ({
|
|
|
29538
29538
|
} : Ue);
|
|
29539
29539
|
P(ce);
|
|
29540
29540
|
const Ae = b.map((Ue) => {
|
|
29541
|
-
const Ke = ce.find((
|
|
29541
|
+
const Ke = ce.find((Rs) => Rs.tagName === Ue.tagName);
|
|
29542
29542
|
return Ke ? { ...Ue, duplicateTag: Ke.duplicateTag } : Ue;
|
|
29543
29543
|
});
|
|
29544
29544
|
R(Ae);
|
|
@@ -29789,7 +29789,7 @@ const Z_ = ({
|
|
|
29789
29789
|
),
|
|
29790
29790
|
e,
|
|
29791
29791
|
/* @__PURE__ */ t.jsx(ye, { className: "default-tt", arrow: !0, placement: "top", content: "Remove tag", children: /* @__PURE__ */ t.jsx("div", { className: `action-icon ml-4 lh-16 pt-3 ${_ ? "show-icon" : ""}`, children: /* @__PURE__ */ t.jsx(
|
|
29792
|
-
|
|
29792
|
+
vs,
|
|
29793
29793
|
{
|
|
29794
29794
|
className: "icon-dim-12 fcn-6 cursor",
|
|
29795
29795
|
"data-testid": `${e}-tag-hard-delete`,
|
|
@@ -30015,7 +30015,7 @@ const GP = (e) => {
|
|
|
30015
30015
|
m ? /* @__PURE__ */ t.jsx("div", { className: "flex search-bar__clear-button dc__position-abs dc__transparent", children: /* @__PURE__ */ t.jsx(
|
|
30016
30016
|
G,
|
|
30017
30017
|
{
|
|
30018
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
30018
|
+
icon: /* @__PURE__ */ t.jsx(vs, {}),
|
|
30019
30019
|
size: L.xs,
|
|
30020
30020
|
variant: W.borderLess,
|
|
30021
30021
|
style: ne.negativeGrey,
|
|
@@ -30318,7 +30318,7 @@ export {
|
|
|
30318
30318
|
mj as I,
|
|
30319
30319
|
q_ as J,
|
|
30320
30320
|
z6 as K,
|
|
30321
|
-
|
|
30321
|
+
Is as L,
|
|
30322
30322
|
jr as M,
|
|
30323
30323
|
GI as N,
|
|
30324
30324
|
HI as O,
|
|
@@ -30410,7 +30410,7 @@ export {
|
|
|
30410
30410
|
Et as b6,
|
|
30411
30411
|
wV as b7,
|
|
30412
30412
|
bm as b8,
|
|
30413
|
-
|
|
30413
|
+
ws as b9,
|
|
30414
30414
|
je as bA,
|
|
30415
30415
|
rP as bB,
|
|
30416
30416
|
Io as bC,
|
|
@@ -30579,7 +30579,7 @@ export {
|
|
|
30579
30579
|
It as di,
|
|
30580
30580
|
Bb as dj,
|
|
30581
30581
|
xn as dk,
|
|
30582
|
-
|
|
30582
|
+
Us as dl,
|
|
30583
30583
|
la as dm,
|
|
30584
30584
|
ci as dn,
|
|
30585
30585
|
Vb as dp,
|
|
@@ -30612,7 +30612,7 @@ export {
|
|
|
30612
30612
|
Zt as eE,
|
|
30613
30613
|
Oe as eF,
|
|
30614
30614
|
Gm as eG,
|
|
30615
|
-
|
|
30615
|
+
Fs as eH,
|
|
30616
30616
|
Hm as eI,
|
|
30617
30617
|
yr as eJ,
|
|
30618
30618
|
ma as eK,
|
|
@@ -30782,7 +30782,7 @@ export {
|
|
|
30782
30782
|
m0 as gr,
|
|
30783
30783
|
zy as gs,
|
|
30784
30784
|
$e as gt,
|
|
30785
|
-
|
|
30785
|
+
ks as gu,
|
|
30786
30786
|
Ic as gv,
|
|
30787
30787
|
ke as gw,
|
|
30788
30788
|
Ii as gx,
|
|
@@ -30836,7 +30836,7 @@ export {
|
|
|
30836
30836
|
qy as hg,
|
|
30837
30837
|
ej as hh,
|
|
30838
30838
|
d4 as hi,
|
|
30839
|
-
|
|
30839
|
+
bs as hj,
|
|
30840
30840
|
l4 as hk,
|
|
30841
30841
|
sj as hl,
|
|
30842
30842
|
tj as hm,
|
|
@@ -30925,7 +30925,7 @@ export {
|
|
|
30925
30925
|
xD as j4,
|
|
30926
30926
|
X4 as j5,
|
|
30927
30927
|
pD as j6,
|
|
30928
|
-
|
|
30928
|
+
gs as j7,
|
|
30929
30929
|
cu as j8,
|
|
30930
30930
|
e6 as j9,
|
|
30931
30931
|
Jp as jA,
|
|
@@ -30944,7 +30944,7 @@ export {
|
|
|
30944
30944
|
N4 as jN,
|
|
30945
30945
|
Vr as jO,
|
|
30946
30946
|
zO as jP,
|
|
30947
|
-
|
|
30947
|
+
js as jQ,
|
|
30948
30948
|
C4 as jR,
|
|
30949
30949
|
_s as jS,
|
|
30950
30950
|
g_ as jT,
|
|
@@ -31082,7 +31082,7 @@ export {
|
|
|
31082
31082
|
NH as lV,
|
|
31083
31083
|
up as lW,
|
|
31084
31084
|
Ti as lX,
|
|
31085
|
-
|
|
31085
|
+
Bs as lY,
|
|
31086
31086
|
wI as lZ,
|
|
31087
31087
|
LI as l_,
|
|
31088
31088
|
BV as la,
|