@devtron-labs/devtron-fe-common-lib 4.0.12-pre-1 → 4.0.13
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-CMwgV7T1.js → @code-editor-hntP4Wsm.js} +12184 -12239
- package/dist/{@common-rjsf-DtJLMDiW.js → @common-rjsf-Bb1IHwNz.js} +1859 -1898
- package/dist/{@framer-motion-Y9sqv_oR.js → @framer-motion-D_uOLaNd.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Dgcp2aT9.js → @react-virtualized-sticky-tree-DLXdzUf-.js} +7 -10
- package/dist/{@src-assets-images-D9R9o_Lo.js → @src-assets-images-CIKmEm_a.js} +1 -1
- package/dist/{@vendor-DSRy_DEo.js → @vendor-DMGS0Ztd.js} +29608 -12835
- package/dist/Shared/types.d.ts +5 -0
- package/dist/Shared/validations.d.ts +1 -1
- package/dist/assets/@vendor.css +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.js +497 -563
- package/dist/{rolldown-runtime-CEFd7nDs.js → rolldown-runtime-jwUa06l-.js} +3 -10
- package/package.json +14 -23
package/dist/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { o as e } from "./rolldown-runtime-
|
|
2
|
-
import { $a as t, $i as n, $l as r, $n as i, $o as a, $r as o, $t as s, $u as c, Ad as l, Ai as u, Ao as d, Ar as f, As as p, At as m, Au as h, Ba as g, Bn as _, Bo as v, Br as y, Bs as b, Bt as x, Bu as S, Ci as C, Co as w, Cr as T, Cs as E, Ct as D, Cu as O, Di as k, Do as A, Dr as j, Ds as M, Dt as ee, Du as te, Ea as ne, Ed as re, Ei as ie, Eo as ae, Er as oe, Es as se, Et as ce, Eu as le, Fa as ue, Fi as de, Fo as fe, Fr as pe, Fs as me, Ft as he, Fu as ge, Ga as _e, Gi as ve, Gn as ye, Go as be, Gr as xe, Gt as Se, Gu as Ce, Ha as we, Hn as Te, Ho as Ee, Hr as De, Ht as Oe, Hu as ke, Ia as Ae, Ii as je, Io as Me, Ir as Ne, Is as Pe, It as Fe, Iu as Ie, Ja as Le, Ji as Re, Jn as N, Jo as ze, Jr as Be, Jt as Ve, Ju as He, Ka as Ue, Ki as We, Kn as Ge, Ko as Ke, Kr as qe, Kt as Je, Ku as Ye, La as Xe, Li as Ze, Lo as Qe, Lr as $e, Ls as et, Lt as tt, Lu as nt, Ma as rt, Md as it, Mi as at, Mo as ot, Mr as st, Ms as P, Mt as ct, Mu as lt, Na as ut, Ni as dt, No as ft, Nr as pt, Ns as mt, Nt as ht, Nu as gt, Oi as _t, Oo as vt, Or as yt, Os as bt, Ot as xt, Ou as St, Pa as Ct, Pi as wt, Po as Tt, Pr as Et, Ps as Dt, Pt as Ot, Pu as kt, Qa as At, Qi as jt, Ql as Mt, Qn as F, Qo as Nt, Qr as Pt, Qt as Ft, Qu as It, Ra as Lt, Ri as Rt, Rn as zt, Ro as Bt, Rr as Vt, Rs as Ht, Rt as Ut, Ru as Wt, Sd as Gt, Si as Kt, Sn as qt, So as Jt, Sr as Yt, Ss as Xt, St as Zt, Su as Qt, Td as $t, Ti as en, To as tn, Tr as nn, Ts as rn, Tt as an, Tu as on, Ua as sn, Un as cn, Uo as ln, Ur as un, Ut as dn, Uu as fn, Va as pn, Vi as mn, Vn as hn, Vo as gn, Vr as _n, Vt as vn, Vu as yn, Wa as bn, Wi as I, Wn as xn, Wo as Sn, Wr as Cn, Wt as wn, Wu as Tn, Xa as En, Xi as Dn, Xn as L, Xo as On, Xr as kn, Xt as An, Xu as jn, Ya as Mn, Yi as Nn, Yn as Pn, Yo as Fn, Yr as In, Yt as Ln, Yu as Rn, Za as zn, Zi as Bn, Zl as Vn, Zn as R, Zo as Hn, Zr as Un, Zt as z, Zu as Wn, _d as Gn, _i as Kn, _n as qn, _o as Jn, _r as Yn, _s as Xn, _t as Zn, _u as Qn, a as $n, aa as er, ad as tr, ai as nr, an as rr, ao as ir, ar, as as or, au as sr, bd as cr, bi as lr, bn as ur, bo as dr, br as fr, bs as pr, bt as mr, bu as hr, c as gr, ca as _r, cd as vr, ci as yr, cn as br, co as xr, cr as Sr, cs as Cr, cu as wr, da as Tr, dd as Er, di as Dr, dn as Or, do as kr, dr as Ar, ds as jr, dt as Mr, du as Nr, ea as Pr, ed as Fr, ei as Ir, en as Lr, eo as Rr, er as zr, es as Br, eu as Vr, fa as Hr, fd as Ur, fi as Wr, fn as Gr, fo as B, fr as Kr, fs as qr, ft as Jr, fu as Yr, gd as Xr, gi as Zr, gn as Qr, go as $r, gr as ei, gs as ti, gt as ni, gu as ri, hd as ii, hi as ai, hl as oi, hn as si, ho as ci, hr as li, hs as ui, ht as di, hu as fi, i as pi, ia as mi, id as hi, ii as gi, in as _i, io as V, ir as vi, is as yi, iu as bi, ja as xi, ji as Si, jo as Ci, jr as wi, js as Ti, jt as Ei, ju as H, kd as Di, ki as Oi, ko as ki, kr as Ai, ks as ji, kt as Mi, ku as Ni, l as Pi, la as Fi, ld as Ii, li as Li, ln as
|
|
3
|
-
import { $ as es, A as ts, B as ns, C as rs, D as is, E as as, F as os, G as ss, H as cs, I as ls, J as us, K as ds, L as fs, M as ps, N as ms, O as hs, P as gs, Q as _s, R as vs, S as ys, T as bs, U as xs, V as Ss, W as Cs, Y as ws, Z as Ts, _ as Es, a as Ds, at as Os, b as ks, c as As, ct as js, d as Ms, et as Ns, f as Ps, g as Fs, h as Is, i as Ls, it as Rs, j as zs, k as Bs, l as Vs, lt as Hs, m as Us, n as Ws, nt as Gs, o as Ks, ot as qs, p as Js, q as Ys, r as Xs, rt as Zs, s as Qs, st as $s, t as ec, tt as tc, u as nc, v as rc, w as ic, x as ac, y as oc, z as sc } from "./@common-rjsf-
|
|
4
|
-
import { a as cc, i as lc, n as uc, o as dc, r as fc, t as pc } from "./@framer-motion-
|
|
5
|
-
import { t as mc } from "./@react-virtualized-sticky-tree-
|
|
6
|
-
import { $ as hc, A as gc, B as _c, C as vc, D as yc, E as bc, F as xc, G as Sc, H as Cc, I as wc, J as Tc, K as Ec, L as Dc, M as Oc, N as kc, O as Ac, P as jc, Q as Mc, R as Nc, S as Pc, T as Fc, U as Ic, V as Lc, W as Rc, X as zc, Y as Bc, Z as Vc, _ as Hc, b as Uc, c as Wc, d as Gc, et as Kc, f as qc, g as Jc, h as Yc, it as Xc, j as Zc, k as Qc, l as $c, m as el, nt as tl, o as nl, p as rl, q as il, rt as al, s as ol, tt as sl, u as cl, v as ll, w as ul, x as dl, y as fl, z as pl } from "./@vendor-
|
|
7
|
-
import { a as ml, c as hl, i as gl, l as _l, n as vl, r as yl, s as bl, t as xl } from "./@src-assets-images-
|
|
1
|
+
import { o as e } from "./rolldown-runtime-jwUa06l-.js";
|
|
2
|
+
import { $a as t, $i as n, $l as r, $n as i, $o as a, $r as o, $t as s, $u as c, Ad as l, Ai as u, Ao as d, Ar as f, As as p, At as m, Au as h, Ba as g, Bn as _, Bo as v, Br as y, Bs as b, Bt as x, Bu as S, Ci as C, Co as w, Cr as T, Cs as E, Ct as D, Cu as O, Di as k, Do as A, Dr as j, Ds as M, Dt as ee, Du as te, Ea as ne, Ed as re, Ei as ie, Eo as ae, Er as oe, Es as se, Et as ce, Eu as le, Fa as ue, Fi as de, Fo as fe, Fr as pe, Fs as me, Ft as he, Fu as ge, Ga as _e, Gi as ve, Gn as ye, Go as be, Gr as xe, Gt as Se, Gu as Ce, Ha as we, Hn as Te, Ho as Ee, Hr as De, Ht as Oe, Hu as ke, Ia as Ae, Ii as je, Io as Me, Ir as Ne, Is as Pe, It as Fe, Iu as Ie, Ja as Le, Ji as Re, Jn as N, Jo as ze, Jr as Be, Jt as Ve, Ju as He, Ka as Ue, Ki as We, Kn as Ge, Ko as Ke, Kr as qe, Kt as Je, Ku as Ye, La as Xe, Li as Ze, Lo as Qe, Lr as $e, Ls as et, Lt as tt, Lu as nt, Ma as rt, Md as it, Mi as at, Mo as ot, Mr as st, Ms as P, Mt as ct, Mu as lt, Na as ut, Ni as dt, No as ft, Nr as pt, Ns as mt, Nt as ht, Nu as gt, Oi as _t, Oo as vt, Or as yt, Os as bt, Ot as xt, Ou as St, Pa as Ct, Pi as wt, Po as Tt, Pr as Et, Ps as Dt, Pt as Ot, Pu as kt, Qa as At, Qi as jt, Ql as Mt, Qn as F, Qo as Nt, Qr as Pt, Qt as Ft, Qu as It, Ra as Lt, Ri as Rt, Rn as zt, Ro as Bt, Rr as Vt, Rs as Ht, Rt as Ut, Ru as Wt, Sd as Gt, Si as Kt, Sn as qt, So as Jt, Sr as Yt, Ss as Xt, St as Zt, Su as Qt, Td as $t, Ti as en, To as tn, Tr as nn, Ts as rn, Tt as an, Tu as on, Ua as sn, Un as cn, Uo as ln, Ur as un, Ut as dn, Uu as fn, Va as pn, Vi as mn, Vn as hn, Vo as gn, Vr as _n, Vt as vn, Vu as yn, Wa as bn, Wi as I, Wn as xn, Wo as Sn, Wr as Cn, Wt as wn, Wu as Tn, Xa as En, Xi as Dn, Xn as L, Xo as On, Xr as kn, Xt as An, Xu as jn, Ya as Mn, Yi as Nn, Yn as Pn, Yo as Fn, Yr as In, Yt as Ln, Yu as Rn, Za as zn, Zi as Bn, Zl as Vn, Zn as R, Zo as Hn, Zr as Un, Zt as z, Zu as Wn, _d as Gn, _i as Kn, _n as qn, _o as Jn, _r as Yn, _s as Xn, _t as Zn, _u as Qn, a as $n, aa as er, ad as tr, ai as nr, an as rr, ao as ir, ar, as as or, au as sr, bd as cr, bi as lr, bn as ur, bo as dr, br as fr, bs as pr, bt as mr, bu as hr, c as gr, ca as _r, cd as vr, ci as yr, cn as br, co as xr, cr as Sr, cs as Cr, cu as wr, da as Tr, dd as Er, di as Dr, dn as Or, do as kr, dr as Ar, ds as jr, dt as Mr, du as Nr, ea as Pr, ed as Fr, ei as Ir, en as Lr, eo as Rr, er as zr, es as Br, eu as Vr, fa as Hr, fd as Ur, fi as Wr, fn as Gr, fo as B, fr as Kr, fs as qr, ft as Jr, fu as Yr, gd as Xr, gi as Zr, gn as Qr, go as $r, gr as ei, gs as ti, gt as ni, gu as ri, hd as ii, hi as ai, hl as oi, hn as si, ho as ci, hr as li, hs as ui, ht as di, hu as fi, i as pi, ia as mi, id as hi, ii as gi, in as _i, io as V, ir as vi, is as yi, iu as bi, ja as xi, ji as Si, jo as Ci, jr as wi, js as Ti, jt as Ei, ju as H, kd as Di, ki as Oi, ko as ki, kr as Ai, ks as ji, kt as Mi, ku as Ni, l as Pi, la as Fi, ld as Ii, li as Li, ln as Ri, lo as zi, lr as Bi, ls as Vi, lt as Hi, lu as Ui, ma as Wi, md as Gi, mi as Ki, mn as qi, mo as Ji, mr as Yi, ms as Xi, mt as Zi, mu as Qi, n as $i, na as ea, nd as ta, ni as na, nn as ra, no as ia, nr as aa, ns as oa, nu as sa, o as ca, oa as la, od as ua, oi as da, on as fa, oo as pa, or as ma, os as ha, ou as ga, pa as _a, pd as va, pi as ya, pn as ba, po as xa, pr as Sa, ps as Ca, pt as wa, pu as Ta, qa as Ea, qi as Da, ql as Oa, qo as ka, qr as Aa, qt as ja, qu as Ma, r as Na, ra as Pa, rd as Fa, ri as Ia, rn as La, ro as Ra, rr as za, rs as Ba, ru as Va, s as Ha, sa as Ua, sd as Wa, si as Ga, sn as Ka, so as qa, sr as Ja, ss as Ya, su as Xa, t as U, ta as Za, td as Qa, ti as $a, tn as eo, to, tr as no, ts as ro, tu as io, u as ao, ua as oo, ud as so, ui as co, un as lo, uo, ur as fo, us as po, ut as mo, uu as ho, vd as go, vi as _o, vn as vo, vo as yo, vr as bo, vs as xo, vt as So, vu as Co, wi as wo, wo as To, wr as Eo, ws as Do, wt as Oo, wu as ko, xd as Ao, xi as jo, xn as Mo, xo as No, xr as Po, xs as Fo, xt as Io, xu as Lo, yd as Ro, yi as zo, yn as Bo, yo as Vo, yr as Ho, ys as Uo, yt as Wo, yu as Go, za as Ko, zi as qo, zn as Jo, zo as Yo, zr as Xo, zs as Zo, zt as Qo, zu as $o } from "./@code-editor-hntP4Wsm.js";
|
|
3
|
+
import { $ as es, A as ts, B as ns, C as rs, D as is, E as as, F as os, G as ss, H as cs, I as ls, J as us, K as ds, L as fs, M as ps, N as ms, O as hs, P as gs, Q as _s, R as vs, S as ys, T as bs, U as xs, V as Ss, W as Cs, Y as ws, Z as Ts, _ as Es, a as Ds, at as Os, b as ks, c as As, ct as js, d as Ms, et as Ns, f as Ps, g as Fs, h as Is, i as Ls, it as Rs, j as zs, k as Bs, l as Vs, lt as Hs, m as Us, n as Ws, nt as Gs, o as Ks, ot as qs, p as Js, q as Ys, r as Xs, rt as Zs, s as Qs, st as $s, t as ec, tt as tc, u as nc, v as rc, w as ic, x as ac, y as oc, z as sc } from "./@common-rjsf-Bb1IHwNz.js";
|
|
4
|
+
import { a as cc, i as lc, n as uc, o as dc, r as fc, t as pc } from "./@framer-motion-D_uOLaNd.js";
|
|
5
|
+
import { t as mc } from "./@react-virtualized-sticky-tree-DLXdzUf-.js";
|
|
6
|
+
import { $ as hc, A as gc, B as _c, C as vc, D as yc, E as bc, F as xc, G as Sc, H as Cc, I as wc, J as Tc, K as Ec, L as Dc, M as Oc, N as kc, O as Ac, P as jc, Q as Mc, R as Nc, S as Pc, T as Fc, U as Ic, V as Lc, W as Rc, X as zc, Y as Bc, Z as Vc, _ as Hc, b as Uc, c as Wc, d as Gc, et as Kc, f as qc, g as Jc, h as Yc, it as Xc, j as Zc, k as Qc, l as $c, m as el, nt as tl, o as nl, p as rl, q as il, rt as al, s as ol, tt as sl, u as cl, v as ll, w as ul, x as dl, y as fl, z as pl } from "./@vendor-DMGS0Ztd.js";
|
|
7
|
+
import { a as ml, c as hl, i as gl, l as _l, n as vl, r as yl, s as bl, t as xl } from "./@src-assets-images-CIKmEm_a.js";
|
|
8
8
|
import Sl, { Component as Cl, Fragment as wl, cloneElement as Tl, createContext as El, createElement as Dl, createRef as Ol, memo as kl, useCallback as Al, useContext as jl, useEffect as W, useLayoutEffect as Ml, useMemo as G, useRef as K, useState as q } from "react";
|
|
9
9
|
import { createPortal as Nl } from "react-dom";
|
|
10
10
|
import Pl from "dompurify";
|
|
@@ -81,7 +81,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
81
81
|
t(i, a, l, n.id, o, d, u);
|
|
82
82
|
}, mu = async (e, t) => {
|
|
83
83
|
try {
|
|
84
|
-
await
|
|
84
|
+
await U(`${H.DASHBOARD_EVENT}/${e}`, { preventLicenseRedirect: t });
|
|
85
85
|
} catch {}
|
|
86
86
|
}, hu = ({ category: e, action: t }) => {
|
|
87
87
|
window._env_.GA_ENABLED && et?.event && et.event({
|
|
@@ -125,17 +125,14 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
125
125
|
};
|
|
126
126
|
for (let n = 0; n < a.concurrentCount && n < e.length; n++, a.lastIndex++) _u(a, e, r, i, t);
|
|
127
127
|
});
|
|
128
|
-
}, yu = () => {
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
]
|
|
137
|
-
});
|
|
138
|
-
}, bu = El(null), xu = () => {
|
|
128
|
+
}, yu = () => /* @__PURE__ */ (0, J.jsxs)("p", {
|
|
129
|
+
className: "fs-13 cn-5 fw-4 lh-20 m-0",
|
|
130
|
+
children: [
|
|
131
|
+
"Copyright © ",
|
|
132
|
+
Oa().year(),
|
|
133
|
+
" Devtron Inc. All rights reserved."
|
|
134
|
+
]
|
|
135
|
+
}), bu = El(null), xu = () => {
|
|
139
136
|
let e = jl(bu);
|
|
140
137
|
if (!e) throw Error("useImageSelectionUtilityContext must be used within ImageSelectionUtilityProvider");
|
|
141
138
|
return e;
|
|
@@ -170,20 +167,17 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
170
167
|
document.removeEventListener("click", n);
|
|
171
168
|
};
|
|
172
169
|
}, [e, t]);
|
|
173
|
-
}, ku = async (e) =>
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
}) : Se(H.CONFIG_DATA, e);
|
|
181
|
-
return Xa(i, { signal: t });
|
|
182
|
-
}, Mu = async (e) => {
|
|
170
|
+
}, ku = async (e) => U(`${H.APP}/material-info/${e.envId}/${e.ciArtifactId}`), Au = (e) => U(`${H.APP}/material-info/${e.ciArtifactId}`), ju = ({ params: e, signal: t, isTemplateView: n, appId: r }) => U(n ? Yu({
|
|
171
|
+
type: rd.CONFIG_DATA,
|
|
172
|
+
queryParams: {
|
|
173
|
+
id: r,
|
|
174
|
+
...e
|
|
175
|
+
}
|
|
176
|
+
}) : Se(H.CONFIG_DATA, e), { signal: t }), Mu = async (e) => {
|
|
183
177
|
let t = { comparisonItems: e.filter((e) => !!e).map((e, t) => ({
|
|
184
178
|
index: t,
|
|
185
179
|
...e
|
|
186
|
-
})) }, n = Array(e.length).fill(null), { result: { comparisonItemResponse: r } } = await
|
|
180
|
+
})) }, n = Array(e.length).fill(null), { result: { comparisonItemResponse: r } } = await U(Se(H.CONFIG_COMPARE_SECRET, { compareConfig: JSON.stringify(t) }));
|
|
187
181
|
return r.forEach((e) => {
|
|
188
182
|
n[e.index] = e;
|
|
189
183
|
}), n;
|
|
@@ -207,21 +201,18 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
207
201
|
return e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e;
|
|
208
202
|
}({}), Hu = /* @__PURE__ */ function(e) {
|
|
209
203
|
return e.DATA = "data", e.SAMPLE = "sample", e;
|
|
210
|
-
}({}), Uu = ({ baseUrl: e, kind: t, version: n, suffix: r, queryParams: i }) => Se(`${e}/${t}/${n}${r ? `/${r}` : ""}`, i), Wu = ({ kind: e, version: t, queryParams: n, suffix: r }) => Se(`global/policy/${e}/${t}${r ? `/${r}` : ""}`, n), Gu = (e, { isTemplateView: t }) => {
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
return Ma(n, e);
|
|
216
|
-
}, Ku = () => Xa(H.ENVIRONMENT_DATA), qu = async (e) => {
|
|
217
|
-
let { result: t } = await Xa(H.CLUSTER_LIST_MIN, { signal: e });
|
|
204
|
+
}({}), Uu = ({ baseUrl: e, kind: t, version: n, suffix: r, queryParams: i }) => Se(`${e}/${t}/${n}${r ? `/${r}` : ""}`, i), Wu = ({ kind: e, version: t, queryParams: n, suffix: r }) => Se(`global/policy/${e}/${t}${r ? `/${r}` : ""}`, n), Gu = (e, { isTemplateView: t }) => Na(t ? Yu({
|
|
205
|
+
type: rd.CD_PIPELINE,
|
|
206
|
+
queryParams: { id: e.appId }
|
|
207
|
+
}) : H.CD_CONFIG, e), Ku = () => U(H.ENVIRONMENT_DATA), qu = async (e) => {
|
|
208
|
+
let { result: t } = await U(H.CLUSTER_LIST_MIN, { signal: e });
|
|
218
209
|
return t ? t.map(({ id: e, cluster_name: t, isVirtualCluster: n, isProd: r }) => ({
|
|
219
210
|
id: e,
|
|
220
211
|
name: t,
|
|
221
212
|
isVirtual: n ?? !1,
|
|
222
213
|
isProd: r ?? !1
|
|
223
214
|
})).sort((e, t) => en(e.name, t.name)) : [];
|
|
224
|
-
}, Ju = async (e) => await
|
|
215
|
+
}, Ju = async (e) => await U(H.CLUSTER_MIN, { signal: e }), Yu = ({ type: e, queryParams: { id: t, ...n } }) => Se(`${Uu({
|
|
225
216
|
baseUrl: H.RESOURCE_TEMPLATE,
|
|
226
217
|
kind: M.devtronApplication,
|
|
227
218
|
version: bt.alpha1
|
|
@@ -238,10 +229,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
238
229
|
value: e.value || "",
|
|
239
230
|
active: e.active || !1,
|
|
240
231
|
history: e.history.map((t, n) => ({
|
|
241
|
-
commitURL: e.url ?
|
|
232
|
+
commitURL: e.url ? aa(e.url, t.Commit) : "",
|
|
242
233
|
commit: t.Commit || "",
|
|
243
234
|
author: t.Author || "",
|
|
244
|
-
date:
|
|
235
|
+
date: ja(t.Date, !1),
|
|
245
236
|
message: t.Message || "",
|
|
246
237
|
changes: t.Changes || [],
|
|
247
238
|
showChanges: n === 0,
|
|
@@ -255,7 +246,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
255
246
|
ciPipelineId: e?.ciPipelineId,
|
|
256
247
|
materials: t,
|
|
257
248
|
triggeredByEmail: e?.triggeredByEmail || "",
|
|
258
|
-
lastDeployedTime:
|
|
249
|
+
lastDeployedTime: ja(e.lastDeployedTime, !1),
|
|
259
250
|
environmentName: e?.environmentName || "",
|
|
260
251
|
environmentId: e?.environmentId || 0,
|
|
261
252
|
appId: e?.appId,
|
|
@@ -327,7 +318,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
327
318
|
children: /* @__PURE__ */ (0, J.jsx)("div", { children: /* @__PURE__ */ (0, J.jsx)(Os, {
|
|
328
319
|
rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
|
|
329
320
|
isChecked: a,
|
|
330
|
-
value:
|
|
321
|
+
value: Wa.CHECKED,
|
|
331
322
|
onChange: i,
|
|
332
323
|
dataTestId: "app-metrics-checkbox",
|
|
333
324
|
disabled: r || !n.isAppMetricsSupported,
|
|
@@ -378,23 +369,23 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
378
369
|
...e,
|
|
379
370
|
valuesAndManifestFlag: ld.MANIFEST
|
|
380
371
|
};
|
|
381
|
-
return await
|
|
372
|
+
return await Na(H.APP_TEMPLATE_DATA, n, { signal: t });
|
|
382
373
|
} catch (e) {
|
|
383
|
-
throw Mr(e) ||
|
|
374
|
+
throw Mr(e) || Ka(e), e;
|
|
384
375
|
}
|
|
385
376
|
}, md = async (e, t) => {
|
|
386
377
|
try {
|
|
387
378
|
let n = {
|
|
388
379
|
...e,
|
|
389
380
|
valuesAndManifestFlag: ld.DEPLOYMENT_TEMPLATE
|
|
390
|
-
}, { result: r } = await
|
|
381
|
+
}, { result: r } = await Na(H.APP_TEMPLATE_DATA, n, { signal: t }), i = Object.keys(r.variableSnapshot || {}).length > 0, a = ql.parse(r.data), o = ql.parse(r.resolvedData);
|
|
391
382
|
return {
|
|
392
383
|
data: di(a),
|
|
393
384
|
resolvedData: di(o),
|
|
394
385
|
areVariablesPresent: i
|
|
395
386
|
};
|
|
396
387
|
} catch (e) {
|
|
397
|
-
if (!Mr(e)) throw
|
|
388
|
+
if (!Mr(e)) throw Ka(e), e;
|
|
398
389
|
return ad;
|
|
399
390
|
}
|
|
400
391
|
}, hd = ({ children: e }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -426,26 +417,26 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
426
417
|
let o = new FormData();
|
|
427
418
|
o.append("file", e[0]);
|
|
428
419
|
try {
|
|
429
|
-
let { result: e } = await
|
|
420
|
+
let { result: e } = await Na(Se(`${H.CD_CONFIG}/${t}/${n}/${H.FILE_UPLOAD}`, {
|
|
430
421
|
allowedExtensions: r,
|
|
431
422
|
maxUploadSize: i
|
|
432
423
|
}), o, { abortControllerRef: a }, !0);
|
|
433
424
|
return e;
|
|
434
425
|
} catch (e) {
|
|
435
|
-
throw Mr(e) ||
|
|
426
|
+
throw Mr(e) || Ka(e), e;
|
|
436
427
|
}
|
|
437
428
|
}, bd = ({ pipelineId: e, ciArtifactId: t, appId: n, stageType: r, deploymentWithConfig: i, wfrId: a, runtimeParamsPayload: o, abortControllerRef: s, skipIfHibernated: c, isRollbackTrigger: l = !1, strategy: u }) => {
|
|
438
429
|
let d = o && (r === Ii.POSTCD || r === Ii.PRECD), f = {
|
|
439
430
|
pipelineId: e,
|
|
440
431
|
appId: n,
|
|
441
432
|
ciArtifactId: t,
|
|
442
|
-
cdWorkflowType:
|
|
433
|
+
cdWorkflowType: ea[r],
|
|
443
434
|
isRollbackDeployment: l,
|
|
444
435
|
...d && o,
|
|
445
436
|
...c ? { skipIfHibernated: !0 } : {},
|
|
446
437
|
...u ? { strategy: u } : {}
|
|
447
438
|
};
|
|
448
|
-
return i && (f.deploymentWithConfig = i === $r.LAST_SAVED_CONFIG ? i : $r.SPECIFIC_TRIGGER_CONFIG, i !== $r.LAST_SAVED_CONFIG && (f.wfrIdForDeploymentWithSpecificTrigger = a)),
|
|
439
|
+
return i && (f.deploymentWithConfig = i === $r.LAST_SAVED_CONFIG ? i : $r.SPECIFIC_TRIGGER_CONFIG, i !== $r.LAST_SAVED_CONFIG && (f.wfrIdForDeploymentWithSpecificTrigger = a)), Na(H.CD_TRIGGER_POST, f, {
|
|
449
440
|
..._d(),
|
|
450
441
|
abortControllerRef: s
|
|
451
442
|
});
|
|
@@ -568,14 +559,14 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
568
559
|
let s = new FormData();
|
|
569
560
|
s.append("file", e[0]);
|
|
570
561
|
try {
|
|
571
|
-
let { result: e } = await
|
|
562
|
+
let { result: e } = await Na(Se(`${H.CI_CONFIG_GET}/${t}/${n}/${H.FILE_UPLOAD}`, {
|
|
572
563
|
envId: r,
|
|
573
564
|
allowedExtensions: i,
|
|
574
565
|
maxUploadSize: a
|
|
575
566
|
}), s, { abortControllerRef: o }, !0);
|
|
576
567
|
return e;
|
|
577
568
|
} catch (e) {
|
|
578
|
-
throw Mr(e) ||
|
|
569
|
+
throw Mr(e) || Ka(e), e;
|
|
579
570
|
}
|
|
580
571
|
}, Ad = /* @__PURE__ */ function(e) {
|
|
581
572
|
return e.v1 = "batch/v1beta1", e.v2 = "batch/v1beta2", e;
|
|
@@ -589,7 +580,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
589
580
|
label: e.startsWith("API-TOKEN:") ? e.split(":")[1] : e,
|
|
590
581
|
value: e
|
|
591
582
|
}), Fd = async () => {
|
|
592
|
-
let { result: e } = await
|
|
583
|
+
let { result: e } = await U(H.USER_LIST_MIN);
|
|
593
584
|
if (!e) return [];
|
|
594
585
|
let t = e.map(({ emailId: e }) => e).sort(en);
|
|
595
586
|
return [{
|
|
@@ -720,10 +711,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
720
711
|
})]
|
|
721
712
|
}), Zd = ({ dataTestId: e, metricTitle: t, metricValue: n, metricUnit: r, valueOutOf: i, iconName: a, subtitle: o, redirectionLink: s, tooltipContent: c, subtitleRedirection: l }) => {
|
|
722
713
|
let [u, d] = q(!1);
|
|
723
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
714
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
724
715
|
condition: !!s,
|
|
725
716
|
wrap: Yd(s),
|
|
726
|
-
children: /* @__PURE__ */ (0, J.jsxs)(
|
|
717
|
+
children: /* @__PURE__ */ (0, J.jsxs)(Wi.div, {
|
|
727
718
|
"data-testid": e,
|
|
728
719
|
onHoverStart: () => d(!0),
|
|
729
720
|
onHoverEnd: () => d(!1),
|
|
@@ -773,7 +764,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
773
764
|
}) })]
|
|
774
765
|
}), o && /* @__PURE__ */ (0, J.jsx)("div", {
|
|
775
766
|
className: "border__secondary--top px-16 py-8",
|
|
776
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
767
|
+
children: /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
777
768
|
condition: !!l,
|
|
778
769
|
wrap: Yd(l),
|
|
779
770
|
children: /* @__PURE__ */ (0, J.jsx)("span", {
|
|
@@ -1325,7 +1316,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
1325
1316
|
vectorEffect: "non-scaling-stroke"
|
|
1326
1317
|
})]
|
|
1327
1318
|
}), np = ({ onFocus: e, onBlur: t, shouldShowDefaultPlaceholderOnBlur: n, ...r }) => {
|
|
1328
|
-
let [i, a] = q("password"), [o, s] = q(!1), c = i === "password", l = G(() => n && o && r.value === "••••••••" ? "" : !n || o || typeof r.value == "string" && r.value?.length > 0 ? r.value :
|
|
1319
|
+
let [i, a] = q("password"), [o, s] = q(!1), c = i === "password", l = G(() => n && o && r.value === "••••••••" ? "" : !n || o || typeof r.value == "string" && r.value?.length > 0 ? r.value : zi, [
|
|
1329
1320
|
n,
|
|
1330
1321
|
o,
|
|
1331
1322
|
r.value
|
|
@@ -1369,7 +1360,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
1369
1360
|
children: n
|
|
1370
1361
|
});
|
|
1371
1362
|
}, ap = (e) => {
|
|
1372
|
-
let t = document.getElementById(
|
|
1363
|
+
let t = document.getElementById(xa);
|
|
1373
1364
|
if (!t) return null;
|
|
1374
1365
|
let n = document.createElement("div");
|
|
1375
1366
|
return n.setAttribute("id", e), t.parentElement.appendChild(n), n;
|
|
@@ -1387,7 +1378,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
1387
1378
|
deactivateFocusOnEscape: a,
|
|
1388
1379
|
initialFocus: o ?? void 0,
|
|
1389
1380
|
returnFocusOnDeactivate: s,
|
|
1390
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
1381
|
+
children: /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
1391
1382
|
initial: { opacity: 0 },
|
|
1392
1383
|
animate: { opacity: 1 },
|
|
1393
1384
|
exit: {
|
|
@@ -1417,7 +1408,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
1417
1408
|
width: r.width,
|
|
1418
1409
|
height: r.height
|
|
1419
1410
|
}
|
|
1420
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
1411
|
+
}), /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
1421
1412
|
...t,
|
|
1422
1413
|
"data-testid": t.id,
|
|
1423
1414
|
children: s
|
|
@@ -1566,7 +1557,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
1566
1557
|
ref: x,
|
|
1567
1558
|
role: "listbox",
|
|
1568
1559
|
className: `dc__position-abs dc__outline-none-imp ${i === "menu" ? "bg__menu--primary shadow__menu" : "bg__overlay--primary shadow__overlay"} border__primary br-6 dc__overflow-hidden ${y ? "dc_width-max-content dc__mxw-250" : ""}`,
|
|
1569
|
-
onClick:
|
|
1560
|
+
onClick: Ri,
|
|
1570
1561
|
onKeyDown: (e) => o?.(e, l, E),
|
|
1571
1562
|
style: {
|
|
1572
1563
|
width: y ? void 0 : `${r}px`,
|
|
@@ -1785,6 +1776,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
1785
1776
|
!t.isDisabled && n && n.click();
|
|
1786
1777
|
break;
|
|
1787
1778
|
}
|
|
1779
|
+
default:
|
|
1788
1780
|
}
|
|
1789
1781
|
},
|
|
1790
1782
|
onTriggerKeyDown: (e, t) => {
|
|
@@ -2029,10 +2021,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2029
2021
|
}, x = (e) => {
|
|
2030
2022
|
if (e.key === "Enter" && e.shiftKey) {
|
|
2031
2023
|
e.preventDefault();
|
|
2032
|
-
let { selectionStart: t, selectionEnd: n } = m.current.inputRef
|
|
2033
|
-
d(
|
|
2034
|
-
let
|
|
2035
|
-
|
|
2024
|
+
let { selectionStart: t, selectionEnd: n } = m.current.inputRef;
|
|
2025
|
+
d(`${u.slice(0, t)}\n${u.slice(n)}`);
|
|
2026
|
+
let r = m.current.inputRef, i = r.selectionStart, a = r.value.substring(0, i).split("\n"), o = parseInt(getComputedStyle(r).lineHeight, 10), s = a.length * o - r.scrollTop;
|
|
2027
|
+
s < 0 ? r.scrollTop += s : s > r.offsetHeight - o && (r.scrollTop += s - r.offsetHeight + o), setTimeout(() => {
|
|
2036
2028
|
m.current.inputRef.selectionStart = t + 1, m.current.inputRef.selectionEnd = t + 1;
|
|
2037
2029
|
}), v();
|
|
2038
2030
|
}
|
|
@@ -2062,17 +2054,15 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2062
2054
|
}
|
|
2063
2055
|
});
|
|
2064
2056
|
}, p = (e) => {
|
|
2065
|
-
|
|
2057
|
+
f({
|
|
2066
2058
|
unit: e.label,
|
|
2067
2059
|
value: ai(c) ? c : +c
|
|
2068
|
-
};
|
|
2069
|
-
f(t);
|
|
2060
|
+
});
|
|
2070
2061
|
}, m = (e) => {
|
|
2071
|
-
|
|
2062
|
+
f({
|
|
2072
2063
|
unit: s,
|
|
2073
2064
|
value: e.currentTarget.value === "" ? null : +e.currentTarget.value
|
|
2074
|
-
};
|
|
2075
|
-
f(t);
|
|
2065
|
+
});
|
|
2076
2066
|
}, h = G(() => (Object.values(a)?.map((e) => ({
|
|
2077
2067
|
label: e.name,
|
|
2078
2068
|
value: String(e.conversionFactor)
|
|
@@ -2121,7 +2111,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2121
2111
|
}),
|
|
2122
2112
|
r && /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
2123
2113
|
className: "form__error",
|
|
2124
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
2114
|
+
children: [/* @__PURE__ */ (0, J.jsx)(la, { className: "form__icon form__icon--error" }), r]
|
|
2125
2115
|
})
|
|
2126
2116
|
]
|
|
2127
2117
|
});
|
|
@@ -2241,7 +2231,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2241
2231
|
let i = e ? Cf.SUBMIT_BUTTON_TIPPY.INVALID_INPUT : Cf.SUBMIT_BUTTON_TIPPY.REQUEST_IN_PROGRESS;
|
|
2242
2232
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
2243
2233
|
className: "flex pl pr pb pt h-64 dc__gap-12 dc__border-top dc__content-start",
|
|
2244
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
2234
|
+
children: [/* @__PURE__ */ (0, J.jsx)(wa, {
|
|
2245
2235
|
condition: e || r,
|
|
2246
2236
|
wrap: (e) => /* @__PURE__ */ (0, J.jsx)(Ao, {
|
|
2247
2237
|
content: i,
|
|
@@ -2271,7 +2261,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2271
2261
|
});
|
|
2272
2262
|
}, Fp = async ({ name: e, fromCreateView: t, canConfigureUseK8sDriver: n }) => {
|
|
2273
2263
|
try {
|
|
2274
|
-
let r = { name: e }, { result: { configurationUnits: i, defaultConfigurations: a, profile: o } } = await
|
|
2264
|
+
let r = { name: e }, { result: { configurationUnits: i, defaultConfigurations: a, profile: o } } = await U(Se(nm(), r));
|
|
2275
2265
|
return $p({
|
|
2276
2266
|
configurationUnits: i,
|
|
2277
2267
|
defaultConfigurations: a,
|
|
@@ -2280,9 +2270,9 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2280
2270
|
canConfigureUseK8sDriver: n
|
|
2281
2271
|
});
|
|
2282
2272
|
} catch (e) {
|
|
2283
|
-
throw
|
|
2273
|
+
throw Ka(e), e;
|
|
2284
2274
|
}
|
|
2285
|
-
}, Ip = async (e) => await
|
|
2275
|
+
}, Ip = async (e) => await Na(nm(), e), Lp = async ({ name: e, profileInput: t, canConfigureUseK8sDriver: n }) => {
|
|
2286
2276
|
let r = !!e, i = tm(t, n);
|
|
2287
2277
|
if (r) {
|
|
2288
2278
|
let t = { name: e };
|
|
@@ -2648,6 +2638,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2648
2638
|
a[Hf[n]].value = i, r[Hf[n]] && (delete r[Hf[n]][e], Object.keys(r[Hf[n]]).length === 0 && (r[Hf[n]] = null));
|
|
2649
2639
|
break;
|
|
2650
2640
|
}
|
|
2641
|
+
default: break;
|
|
2651
2642
|
}
|
|
2652
2643
|
u(n), f(r);
|
|
2653
2644
|
},
|
|
@@ -2671,7 +2662,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2671
2662
|
description: Cf.getSubmitSuccessMessage(l.name, t)
|
|
2672
2663
|
}), n ? n() : c();
|
|
2673
2664
|
} catch (e) {
|
|
2674
|
-
|
|
2665
|
+
Ka(e), m(!1);
|
|
2675
2666
|
}
|
|
2676
2667
|
}
|
|
2677
2668
|
};
|
|
@@ -2719,7 +2710,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2719
2710
|
};
|
|
2720
2711
|
default: return null;
|
|
2721
2712
|
}
|
|
2722
|
-
}, Kp = (e) =>
|
|
2713
|
+
}, Kp = (e) => e ? e === hf.KUBERNETES : !0, qp = ({ fromCreateView: e, profile: t, canConfigureUseK8sDriver: n }) => {
|
|
2723
2714
|
let r = Kp(t?.buildxDriverType), i = n ? r : null;
|
|
2724
2715
|
return e || !t ? {
|
|
2725
2716
|
name: "",
|
|
@@ -2862,7 +2853,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
2862
2853
|
if (n.id || n.active || i) {
|
|
2863
2854
|
let i = Xp(n);
|
|
2864
2855
|
if (!i) return t;
|
|
2865
|
-
let a = r ? i.value?.length > 0 : n.active, o = e.name === "global"
|
|
2856
|
+
let a = r ? i.value?.length > 0 : n.active, o = e.name === "global" ? !0 : a, s = {
|
|
2866
2857
|
...i,
|
|
2867
2858
|
id: n.id,
|
|
2868
2859
|
active: o
|
|
@@ -3037,7 +3028,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3037
3028
|
}, t)), y = () => e ? null : /* @__PURE__ */ (0, J.jsx)("div", {
|
|
3038
3029
|
className: `flexbox flex-wrap dc__row-gap-4 ${a ? "dc__gap-24" : "dc__gap-16"}`,
|
|
3039
3030
|
children: v()
|
|
3040
|
-
}), b = () => /* @__PURE__ */ (0, J.jsx)(
|
|
3031
|
+
}), b = () => /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
3041
3032
|
...c ? {
|
|
3042
3033
|
initial: { width: 0 },
|
|
3043
3034
|
animate: { width: "100%" },
|
|
@@ -3065,7 +3056,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3065
3056
|
case "unhealthy":
|
|
3066
3057
|
e.unhealthyCount += 1;
|
|
3067
3058
|
break;
|
|
3068
|
-
case "connection failed":
|
|
3059
|
+
case "connection failed":
|
|
3060
|
+
e.connectionFailedCount += 1;
|
|
3061
|
+
break;
|
|
3062
|
+
default: break;
|
|
3069
3063
|
}
|
|
3070
3064
|
return e;
|
|
3071
3065
|
}, {
|
|
@@ -3146,7 +3140,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3146
3140
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
3147
3141
|
className: "flexbox-col dc__gap-12 w-100",
|
|
3148
3142
|
children: [/* @__PURE__ */ (0, J.jsx)(Os, {
|
|
3149
|
-
value:
|
|
3143
|
+
value: Wa.CHECKED,
|
|
3150
3144
|
isChecked: r,
|
|
3151
3145
|
dataTestId: "force-delete-resource",
|
|
3152
3146
|
rootClassName: "m-0",
|
|
@@ -3212,7 +3206,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3212
3206
|
})
|
|
3213
3207
|
]
|
|
3214
3208
|
}), qo.map(({ key: e, infoText: t, label: n }) => /* @__PURE__ */ (0, J.jsx)(Os, {
|
|
3215
|
-
value:
|
|
3209
|
+
value: Wa.CHECKED,
|
|
3216
3210
|
isChecked: r[e],
|
|
3217
3211
|
dataTestId: "disable-eviction",
|
|
3218
3212
|
rootClassName: "mt-0 mb-0 ml-8 mr-8 cn-9 fs-13 py-6 px-8 form__checkbox__root--gap-8",
|
|
@@ -3229,7 +3223,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3229
3223
|
});
|
|
3230
3224
|
}, vm = /* @__PURE__ */ function(e) {
|
|
3231
3225
|
return e.NAME = "name", e.NAMESPACE = "namespace", e.KIND = "kind", e.API_VERSION = "apiVersion", e.CONTAINER_NAME = "containerName", e.CPU_REQUEST = "cpuRequest", e.CPU_LIMIT = "cpuLimit", e.MEMORY_REQUEST = "memoryRequest", e.MEMORY_LIMIT = "memoryLimit", e;
|
|
3232
|
-
}({}), ym = (e, t) =>
|
|
3226
|
+
}({}), ym = (e, t) => Na(H.K8S_RESOURCE_LIST, e, { signal: t }), bm = (e, t) => Na(H.K8S_RESOURCE_CREATE, e, { abortControllerRef: t }), xm = (e, t) => Na(H.DELETE_RESOURCE, e, { abortControllerRef: t }), Sm = (e, t) => ca(H.NODE_CAPACITY, e, { abortControllerRef: t }), Cm = (e, t) => pi(`${H.NODE_CAPACITY}/cordon`, e, { abortControllerRef: t }), wm = (e, t) => pi(`${H.NODE_CAPACITY}/drain`, e, { abortControllerRef: t }), Tm = (e) => U(H.CLUSTER_LIST_RAW, { abortControllerRef: e }), Em = /* @__PURE__ */ function(e) {
|
|
3233
3227
|
return e.ALL_CLUSTERS = "all", e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e.CONNECTION_FAILED = "connectionFailed", e;
|
|
3234
3228
|
}({}), Dm = /* @__PURE__ */ function(e) {
|
|
3235
3229
|
return e.Creating = "Creating", e.Updated = "Updated", e.Updating = "Updating", e.Installed = "Installed", e.Failed = "Failed", e.Deleting = "Deleting", e.Deleted = "Deleted", e;
|
|
@@ -3254,7 +3248,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3254
3248
|
hasManagerPermissions: n
|
|
3255
3249
|
});
|
|
3256
3250
|
}).catch((e) => {
|
|
3257
|
-
|
|
3251
|
+
Ka(e);
|
|
3258
3252
|
});
|
|
3259
3253
|
}, []), e;
|
|
3260
3254
|
}, Mm = El(null), Nm = () => jl(Mm), Pm = (e) => {
|
|
@@ -3436,8 +3430,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3436
3430
|
parsedParams: c
|
|
3437
3431
|
};
|
|
3438
3432
|
}, [l]), _ = d * (f - 1), v = (e, t) => {
|
|
3439
|
-
|
|
3440
|
-
o(n, { replace: i === "replace" });
|
|
3433
|
+
o({ search: e }, { replace: (t.redirectionMethod ?? r) === "replace" });
|
|
3441
3434
|
}, y = (e, t, n = {}) => {
|
|
3442
3435
|
l.set(e, String(t)), v(l.toString(), n);
|
|
3443
3436
|
}, b = (e = {}) => {
|
|
@@ -3598,7 +3591,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3598
3591
|
W(() => () => {
|
|
3599
3592
|
clearTimeout(d.current);
|
|
3600
3593
|
}, []);
|
|
3601
|
-
let _ = l && i ? /* @__PURE__ */ (0, J.jsx)(
|
|
3594
|
+
let _ = l && i ? /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
3602
3595
|
variants: h,
|
|
3603
3596
|
animate: p ? {
|
|
3604
3597
|
x: 200,
|
|
@@ -3610,7 +3603,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3610
3603
|
} : {},
|
|
3611
3604
|
children: i
|
|
3612
3605
|
}) : i;
|
|
3613
|
-
return /* @__PURE__ */ (0, J.jsxs)(
|
|
3606
|
+
return /* @__PURE__ */ (0, J.jsxs)(Wi.div, {
|
|
3614
3607
|
whileHover: "hover",
|
|
3615
3608
|
className: `${p ? "hide-button-text" : ""}`,
|
|
3616
3609
|
children: [/* @__PURE__ */ (0, J.jsx)(N, {
|
|
@@ -3646,7 +3639,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3646
3639
|
`;
|
|
3647
3640
|
}, ah = ({ duration: e, onComplete: t, size: n = 24, tooltipContent: r }) => {
|
|
3648
3641
|
let i = dc(0), a = fc(i, (e) => ih(12, 12, 6, e));
|
|
3649
|
-
return W(() =>
|
|
3642
|
+
return W(() => _a(i, 360, {
|
|
3650
3643
|
duration: e,
|
|
3651
3644
|
ease: "easeInOut",
|
|
3652
3645
|
onComplete: t
|
|
@@ -3667,7 +3660,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3667
3660
|
clipRule: "evenodd",
|
|
3668
3661
|
d: "M12 3C7.02944 3 3 7.02944 3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3ZM1 12C1 5.92487 5.92487 1 12 1C18.0751 1 23 5.92487 23 12C23 18.0751 18.0751 23 12 23C5.92487 23 1 18.0751 1 12Z",
|
|
3669
3662
|
fill: "var(--O500)"
|
|
3670
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
3663
|
+
}), /* @__PURE__ */ (0, J.jsx)(Wi.path, {
|
|
3671
3664
|
fill: "var(--O200)",
|
|
3672
3665
|
d: a
|
|
3673
3666
|
})]
|
|
@@ -3852,12 +3845,9 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3852
3845
|
description: o
|
|
3853
3846
|
});
|
|
3854
3847
|
} else if (e.status === Mt.NO_CONTENT) throw Error("No content to download");
|
|
3855
|
-
else
|
|
3856
|
-
let t = await e?.json();
|
|
3857
|
-
throw new Zo(t);
|
|
3858
|
-
}
|
|
3848
|
+
else throw new Zo(await e?.json());
|
|
3859
3849
|
} catch (e) {
|
|
3860
|
-
return n(!1),
|
|
3850
|
+
return n(!1), Ka(e), e;
|
|
3861
3851
|
}
|
|
3862
3852
|
return n(!1), null;
|
|
3863
3853
|
},
|
|
@@ -3906,10 +3896,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
3906
3896
|
[n]: p
|
|
3907
3897
|
}, i = e?.validationMode ?? "onChange";
|
|
3908
3898
|
if (i === "onChange" || i === "all" || u[n] || c[n]) {
|
|
3909
|
-
let e =
|
|
3899
|
+
let e = vh(p, f(r)[n]);
|
|
3910
3900
|
l({
|
|
3911
3901
|
...c,
|
|
3912
|
-
[n]:
|
|
3902
|
+
[n]: e
|
|
3913
3903
|
});
|
|
3914
3904
|
}
|
|
3915
3905
|
return r;
|
|
@@ -4001,16 +3991,12 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4001
3991
|
},
|
|
4002
3992
|
reset: (e, n) => {
|
|
4003
3993
|
let { keepDirty: i = !1, keepTouched: o = !1, keepErrors: c = !1, triggerDirty: u = !1, triggerError: d = !1, keepInitialValues: f = !1, formInitialValues: m = {} } = n ?? {};
|
|
4004
|
-
if (r(e), Object.keys(m).length ? t.current = m : f || (t.current = e), d) {
|
|
4005
|
-
let
|
|
4006
|
-
|
|
4007
|
-
} else c || l({});
|
|
4008
|
-
if (u) {
|
|
4009
|
-
let n = t.current, r = Object.keys(e).reduce((t, r) => ({
|
|
3994
|
+
if (r(e), Object.keys(m).length ? t.current = m : f || (t.current = e), d ? l(p(e)) : c || l({}), u) {
|
|
3995
|
+
let n = t.current;
|
|
3996
|
+
a(Object.keys(e).reduce((t, r) => ({
|
|
4010
3997
|
...t,
|
|
4011
3998
|
[r]: !ee(e[r], n[r])
|
|
4012
|
-
}), {});
|
|
4013
|
-
a(r);
|
|
3999
|
+
}), {}));
|
|
4014
4000
|
} else i || a({});
|
|
4015
4001
|
o || s({});
|
|
4016
4002
|
},
|
|
@@ -4034,10 +4020,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4034
4020
|
[M.environment]: !1
|
|
4035
4021
|
}), Sh = ({ resourcesToFetch: e }) => {
|
|
4036
4022
|
let t = G(() => xh(e), [e]), [n, r, i, a] = Or(() => Promise.all([
|
|
4037
|
-
t[M.devtronApplication] ?
|
|
4023
|
+
t[M.devtronApplication] ? ma() : null,
|
|
4038
4024
|
t[M.project] ? bh() : null,
|
|
4039
4025
|
t[M.cluster] ? qu() : null,
|
|
4040
|
-
t[M.environment] ?
|
|
4026
|
+
t[M.environment] ? Sa() : null
|
|
4041
4027
|
]), [`${t}`], e.length > 0);
|
|
4042
4028
|
return {
|
|
4043
4029
|
isResourcesOptionsLoading: n,
|
|
@@ -4059,8 +4045,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4059
4045
|
}, Th = ({ localStorageKey: e }) => {
|
|
4060
4046
|
let [t, n] = q(!0), r = K(!1);
|
|
4061
4047
|
W(() => {
|
|
4062
|
-
|
|
4063
|
-
n(t[e]);
|
|
4048
|
+
n(wh()[e]);
|
|
4064
4049
|
}, []);
|
|
4065
4050
|
let i = () => {
|
|
4066
4051
|
r.current = !0, n(!0);
|
|
@@ -4143,7 +4128,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4143
4128
|
}({}), Nh = /* @__PURE__ */ function(e) {
|
|
4144
4129
|
return e.RECENTLY_VISITED = "recently-visited", e;
|
|
4145
4130
|
}({}), Ph = ({ userPreferencesResponse: e, id: t, name: n, resourceKind: r }) => {
|
|
4146
|
-
let i = e?.resources?.[r]?.[Nh.RECENTLY_VISITED] || [], a = t && !n, o = i.filter((e) => !e?.id || !e.name ? !1 :
|
|
4131
|
+
let i = e?.resources?.[r]?.[Nh.RECENTLY_VISITED] || [], a = t && !n, o = i.filter((e) => !e?.id || !e.name ? !1 : a ? e.id !== t : !0);
|
|
4147
4132
|
return (t && n ? [{
|
|
4148
4133
|
id: t,
|
|
4149
4134
|
name: n
|
|
@@ -4154,7 +4139,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4154
4139
|
t[n] = e?.[n];
|
|
4155
4140
|
}), t || {};
|
|
4156
4141
|
}, Ih = async (e) => {
|
|
4157
|
-
let t = { key: Ah }, { result: n } = await
|
|
4142
|
+
let t = { key: Ah }, { result: n } = await U(Se(`${H.ATTRIBUTES_USER}/${H.GET}`, t), { signal: e });
|
|
4158
4143
|
if (!n?.value) return null;
|
|
4159
4144
|
let r = JSON.parse(n.value);
|
|
4160
4145
|
return {
|
|
@@ -4197,10 +4182,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4197
4182
|
userPreferencesResponse: r
|
|
4198
4183
|
}))
|
|
4199
4184
|
};
|
|
4200
|
-
return await
|
|
4185
|
+
return await $i(`${H.ATTRIBUTES_USER}/${H.PATCH}`, a), !0;
|
|
4201
4186
|
} catch (e) {
|
|
4202
4187
|
if (r) throw e;
|
|
4203
|
-
return
|
|
4188
|
+
return Ka(e), !1;
|
|
4204
4189
|
}
|
|
4205
4190
|
}, Bh = async () => {
|
|
4206
4191
|
try {
|
|
@@ -4274,10 +4259,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4274
4259
|
try {
|
|
4275
4260
|
a(null);
|
|
4276
4261
|
let t = await Ih();
|
|
4277
|
-
|
|
4278
|
-
let n = await e(t);
|
|
4279
|
-
g(n);
|
|
4280
|
-
} else g(t);
|
|
4262
|
+
g(e ? await e(t) : t);
|
|
4281
4263
|
} catch (e) {
|
|
4282
4264
|
a(e);
|
|
4283
4265
|
}
|
|
@@ -4544,7 +4526,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4544
4526
|
})]
|
|
4545
4527
|
}) : null, Zh = ({ targetPlatforms: e }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
4546
4528
|
className: "flexbox-col dc__gap-4 cursor-text",
|
|
4547
|
-
onClick:
|
|
4529
|
+
onClick: Ri,
|
|
4548
4530
|
children: [/* @__PURE__ */ (0, J.jsx)("h6", {
|
|
4549
4531
|
className: "m-0 fw-6 lh-18 fs-12",
|
|
4550
4532
|
children: "Target platforms"
|
|
@@ -4629,7 +4611,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4629
4611
|
})
|
|
4630
4612
|
}), ng = (e) => {
|
|
4631
4613
|
let { selectOption: t, data: n, isDisabled: r, showTippy: i, tippyPlacement: a } = e;
|
|
4632
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
4614
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
4633
4615
|
condition: i,
|
|
4634
4616
|
wrap: (e) => {
|
|
4635
4617
|
let t = a === "left" || a === "right" ? a : "auto";
|
|
@@ -4649,7 +4631,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4649
4631
|
onChange: (e) => {
|
|
4650
4632
|
t(n);
|
|
4651
4633
|
},
|
|
4652
|
-
value:
|
|
4634
|
+
value: Wa.CHECKED,
|
|
4653
4635
|
rootClassName: "mb-0 w-20",
|
|
4654
4636
|
disabled: r || !1
|
|
4655
4637
|
}), /* @__PURE__ */ (0, J.jsx)(Il.Option, { ...e })]
|
|
@@ -4726,7 +4708,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4726
4708
|
})
|
|
4727
4709
|
});
|
|
4728
4710
|
}, cg = ({ validator: e, isAllSelected: t = !1, ...n }) => {
|
|
4729
|
-
let { children: r, data: i, innerProps: a, selectProps: o } = n, { label: s, value: c } = i, l =
|
|
4711
|
+
let { children: r, data: i, innerProps: a, selectProps: o } = n, { label: s, value: c } = i, l = e ? e(c) : !0;
|
|
4730
4712
|
return t && c !== "*" ? null : /* @__PURE__ */ (0, J.jsxs)(Il.MultiValueContainer, {
|
|
4731
4713
|
data: i,
|
|
4732
4714
|
innerProps: a,
|
|
@@ -4798,14 +4780,14 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
4798
4780
|
healthy: 4
|
|
4799
4781
|
}, xg = /* @__PURE__ */ function(e) {
|
|
4800
4782
|
return e.SUCCESS = "Success", e.FAILURE = "Failure", e.PROGRESSING = "Progressing", e;
|
|
4801
|
-
}({}), Sg =
|
|
4783
|
+
}({}), Sg = new Set([
|
|
4802
4784
|
"error",
|
|
4803
4785
|
"healthy",
|
|
4804
4786
|
"succeeded",
|
|
4805
4787
|
"cancelled",
|
|
4806
4788
|
"failed",
|
|
4807
4789
|
"aborted"
|
|
4808
|
-
]), Cg =
|
|
4790
|
+
]), Cg = new Set([
|
|
4809
4791
|
"starting",
|
|
4810
4792
|
"running",
|
|
4811
4793
|
"pending"
|
|
@@ -5050,9 +5032,9 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
5050
5032
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
5051
5033
|
className: "cn-9 fs-14 flex left",
|
|
5052
5034
|
"data-testid": "artifact-text-visibility",
|
|
5053
|
-
children: [
|
|
5035
|
+
children: [za(t), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
5054
5036
|
className: "pl-4",
|
|
5055
|
-
children: /* @__PURE__ */ (0, J.jsx)(hn, { content:
|
|
5037
|
+
children: /* @__PURE__ */ (0, J.jsx)(hn, { content: za(t) })
|
|
5056
5038
|
})]
|
|
5057
5039
|
}), /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
5058
5040
|
className: "cn-7 fs-12 flex left",
|
|
@@ -5107,7 +5089,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
5107
5089
|
title: t || Jn.CD_EMPTY_STATE.TITLE,
|
|
5108
5090
|
subTitle: n || Jn.CD_EMPTY_STATE.SUBTITLE,
|
|
5109
5091
|
isButtonAvailable: !0,
|
|
5110
|
-
imageType:
|
|
5092
|
+
imageType: va.Large,
|
|
5111
5093
|
renderButton: () => o ? /* @__PURE__ */ (0, J.jsxs)("button", {
|
|
5112
5094
|
type: "button",
|
|
5113
5095
|
className: `${i || ""} cta secondary flex h-32`,
|
|
@@ -5236,7 +5218,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
5236
5218
|
children: e
|
|
5237
5219
|
}), $g = ({ status: e, hideIcon: t = !1, hideMessage: n = !1, iconSize: r = 16, showAnimatedIcon: i = !1, hideIconTooltip: a = !1, message: o }) => {
|
|
5238
5220
|
let s = (e || "").toLowerCase().replace(/ /g, "-"), c = o || e || "";
|
|
5239
|
-
return /* @__PURE__ */ (0, J.jsxs)(
|
|
5221
|
+
return /* @__PURE__ */ (0, J.jsxs)(wa, {
|
|
5240
5222
|
condition: !t && !n,
|
|
5241
5223
|
wrap: Qg,
|
|
5242
5224
|
children: [!t && (() => {
|
|
@@ -5399,7 +5381,7 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
5399
5381
|
size: 20,
|
|
5400
5382
|
color: "N500"
|
|
5401
5383
|
});
|
|
5402
|
-
}, d_ = (e = 1, t = kg) => `${n.RESOURCE_BROWSER.ROOT}/${e}/${t}/pod/${Rt}`, f_ = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === Pe.WAITING_TO_START ? "Waiting to start" : e : null, p_ = (e) => Zr(e) ?
|
|
5384
|
+
}, d_ = (e = 1, t = kg) => `${n.RESOURCE_BROWSER.ROOT}/${e}/${t}/pod/${Rt}`, f_ = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === Pe.WAITING_TO_START ? "Waiting to start" : e : null, p_ = (e) => Zr(e) ? Oa(e, "YYYY-MM-DDTHH:mm:ssZ").format(Va.TWELVE_HOURS_FORMAT) : "", m_ = (e) => (e || []).reduce((e, t) => {
|
|
5403
5385
|
let n = t.health?.status?.toLowerCase() ?? "";
|
|
5404
5386
|
switch (t.hasDrift && (e.driftedNodeCount += 1), n) {
|
|
5405
5387
|
case vg.Healthy:
|
|
@@ -5411,7 +5393,10 @@ var fu = ({ startNode: e }) => e.type === cr.WEBHOOK ? Gn.WEBHOOK : e.type === c
|
|
|
5411
5393
|
case vg.Progressing:
|
|
5412
5394
|
e.progressingNodeCount += 1;
|
|
5413
5395
|
break;
|
|
5414
|
-
case vg.Missing:
|
|
5396
|
+
case vg.Missing:
|
|
5397
|
+
e.missingNodeCount += 1;
|
|
5398
|
+
break;
|
|
5399
|
+
default:
|
|
5415
5400
|
}
|
|
5416
5401
|
return e.allNodeCount += 1, e;
|
|
5417
5402
|
}, {
|
|
@@ -5924,7 +5909,7 @@ var P_ = (e, t) => {
|
|
|
5924
5909
|
}
|
|
5925
5910
|
}, J_ = ({ timelineData: e, timelineStatusType: t, deploymentStatus: n, statusLastFetchedAt: r, statusFetchCount: i }) => {
|
|
5926
5911
|
e.icon = n === B.UNABLE_TO_FETCH ? "disconnect" : "timed_out", e.displaySubText = "Unknown", e.isCollapsed = !1;
|
|
5927
|
-
let a = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${r ?
|
|
5912
|
+
let a = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${r ? ja(r, !0) : "--"}. ${i || "--"} retries failed.`;
|
|
5928
5913
|
e.timelineStatus = [P.KUBECTL_APPLY, P.APP_HEALTH].includes(t) ? a : "";
|
|
5929
5914
|
}, Y_ = (e, t, n, r) => {
|
|
5930
5915
|
let i = {
|
|
@@ -6007,7 +5992,10 @@ var P_ = (e, t) => {
|
|
|
6007
5992
|
case P.KUBECTL_APPLY:
|
|
6008
5993
|
o || (n.deploymentStatusBreakdown.ARGOCD_SYNC.icon = "success", n.deploymentStatusBreakdown.ARGOCD_SYNC.displaySubText = "", n.deploymentStatusBreakdown.ARGOCD_SYNC.time = u.statusTime, n.deploymentStatusBreakdown.ARGOCD_SYNC.isCollapsed = !0), Y_(d, u, r, t);
|
|
6009
5994
|
break;
|
|
6010
|
-
case P.APP_HEALTH:
|
|
5995
|
+
case P.APP_HEALTH:
|
|
5996
|
+
d.time = u.statusTime, d.icon = "success", d.displaySubText = u.status === P.HEALTHY ? "" : "Degraded";
|
|
5997
|
+
break;
|
|
5998
|
+
default: break;
|
|
6011
5999
|
}
|
|
6012
6000
|
if (d.icon === "success" && l !== s.length - 1) {
|
|
6013
6001
|
let e = s[l + 1], t = n.deploymentStatusBreakdown[e];
|
|
@@ -6125,7 +6113,7 @@ var P_ = (e, t) => {
|
|
|
6125
6113
|
});
|
|
6126
6114
|
}, iv = (e) => e && e === fg.FETCHING ? "?SHOW_APPLIED_FILTERS=true" : "";
|
|
6127
6115
|
async function av({ appId: e, envId: t, pipelineId: n, triggerId: r, fetchIdData: i }) {
|
|
6128
|
-
let a = await
|
|
6116
|
+
let a = await U(r ? `${H.APP}/cd-pipeline/workflow/trigger-info/${e}/${t}/${n}/${r}${iv(i)}` : `${H.APP}/cd-pipeline/workflow/trigger-info/${e}/${t}/${n}/last${iv(i)}`);
|
|
6129
6117
|
return {
|
|
6130
6118
|
...a,
|
|
6131
6119
|
result: {
|
|
@@ -6134,22 +6122,13 @@ async function av({ appId: e, envId: t, pipelineId: n, triggerId: r, fetchIdData
|
|
|
6134
6122
|
}
|
|
6135
6123
|
};
|
|
6136
6124
|
}
|
|
6137
|
-
var ov = (e) => {
|
|
6138
|
-
let t = `${H.IMAGE_TAGGING}/${e.pipelineId}/${e.artifactId}`;
|
|
6139
|
-
return Xa(t);
|
|
6140
|
-
}, sv = (e, t) => {
|
|
6141
|
-
let n = `${H.CI_CONFIG_GET}/${e.pipelineId}/workflow/${e.workflowId}?forceAbort=${t}`;
|
|
6142
|
-
return sa(n);
|
|
6143
|
-
}, cv = (e, t, n) => {
|
|
6144
|
-
let r = Se(`${H.CD_MATERIAL_GET}/${e}/workflowRunner/${t}`, { forceAbort: n });
|
|
6145
|
-
return sa(r);
|
|
6146
|
-
};
|
|
6125
|
+
var ov = (e) => U(`${H.IMAGE_TAGGING}/${e.pipelineId}/${e.artifactId}`), sv = (e, t) => ca(`${H.CI_CONFIG_GET}/${e.pipelineId}/workflow/${e.workflowId}?forceAbort=${t}`), cv = (e, t, n) => ca(Se(`${H.CD_MATERIAL_GET}/${e}/workflowRunner/${t}`, { forceAbort: n }));
|
|
6147
6126
|
function lv(e, t, n, r, i, a) {
|
|
6148
6127
|
let o;
|
|
6149
|
-
return o = i ? H.HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP : H.DEPLOYMENT_STATUS,
|
|
6128
|
+
return o = i ? H.HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP : H.DEPLOYMENT_STATUS, U(`${o}/${e}/${t}${`?showTimeline=${n}`}${r ? `&wfrId=${r}` : ""}${a ? `&installedAppVersionHistoryId=${a}` : ""}`);
|
|
6150
6129
|
}
|
|
6151
6130
|
function uv(e) {
|
|
6152
|
-
return
|
|
6131
|
+
return U(`${H.MANUAL_SYNC}/${e.appId}/${e.envId}`);
|
|
6153
6132
|
}
|
|
6154
6133
|
var dv = (e) => {
|
|
6155
6134
|
let t = {};
|
|
@@ -6177,7 +6156,7 @@ var dv = (e) => {
|
|
|
6177
6156
|
children: i ? "Selected at runtime" : "Default Strategy"
|
|
6178
6157
|
}), /* @__PURE__ */ (0, J.jsx)("span", {
|
|
6179
6158
|
className: "fw-4",
|
|
6180
|
-
children: `${i ? "" : "Last updated "}by ${n} at ${
|
|
6159
|
+
children: `${i ? "" : "Last updated "}by ${n} at ${Oa(r).format(ir)}`
|
|
6181
6160
|
})]
|
|
6182
6161
|
}) } : {}
|
|
6183
6162
|
};
|
|
@@ -6186,10 +6165,10 @@ var dv = (e) => {
|
|
|
6186
6165
|
}, pv = (e, t, n, r) => {
|
|
6187
6166
|
let i = {};
|
|
6188
6167
|
if (e.external !== void 0) {
|
|
6189
|
-
if (e.external) i.external =
|
|
6168
|
+
if (e.external) e.externalType ? i.external = {
|
|
6190
6169
|
displayName: "Data type",
|
|
6191
6170
|
value: No[t][e.externalType]
|
|
6192
|
-
} : {
|
|
6171
|
+
} : i.external = {
|
|
6193
6172
|
displayName: "Data type",
|
|
6194
6173
|
value: t === "Secret" ? No[t].KubernetesSecret : No[t].KubernetesConfigMap
|
|
6195
6174
|
};
|
|
@@ -6246,7 +6225,7 @@ var dv = (e) => {
|
|
|
6246
6225
|
};
|
|
6247
6226
|
return delete e.codeEditorValue, r = t === uo.DEPLOYMENT_TEMPLATE.VALUE ? dv(e) : t === uo.PIPELINE_STRATEGY.VALUE ? fv(e) : pv(e, t === uo.CONFIGMAP.VALUE ? uo.CONFIGMAP.DISPLAY_NAME : uo.SECRET.DISPLAY_NAME, i, n), i.values = r, i;
|
|
6248
6227
|
}, hv = async ({ appId: e, envId: t, pagination: n, releaseId: r, showCurrentReleaseDeployments: i = !1 }) => {
|
|
6249
|
-
let a = Se(`${H.RESOURCE_HISTORY_DEPLOYMENT}/${M.cdPipeline}/${bt.v1}`, {
|
|
6228
|
+
let { result: a } = await U(Se(`${H.RESOURCE_HISTORY_DEPLOYMENT}/${M.cdPipeline}/${bt.v1}`, {
|
|
6250
6229
|
filterCriteria: n_({
|
|
6251
6230
|
appId: e,
|
|
6252
6231
|
envId: t,
|
|
@@ -6255,10 +6234,10 @@ var dv = (e) => {
|
|
|
6255
6234
|
}),
|
|
6256
6235
|
offset: n.offset,
|
|
6257
6236
|
limit: n.size
|
|
6258
|
-
})
|
|
6259
|
-
return { result: r_(
|
|
6260
|
-
}, gv = (e) =>
|
|
6261
|
-
await
|
|
6237
|
+
}));
|
|
6238
|
+
return { result: r_(a) };
|
|
6239
|
+
}, gv = (e) => U(`${H.MODULE_CONFIGURED}?name=${e}`), _v = async ({ pipelineId: e, triggerId: t, appId: n }) => {
|
|
6240
|
+
await Na(H.CD_TRIGGER_POST, {
|
|
6262
6241
|
pipelineId: +e,
|
|
6263
6242
|
wfrIdForDeploymentWithSpecificTrigger: +t,
|
|
6264
6243
|
appId: +n,
|
|
@@ -6269,7 +6248,7 @@ var dv = (e) => {
|
|
|
6269
6248
|
description: "Redeployment for application has been successfully initiated."
|
|
6270
6249
|
});
|
|
6271
6250
|
}, vv = async ({ appId: e, pipelineId: t, triggerId: n, signal: r }) => {
|
|
6272
|
-
let { result: i } = await
|
|
6251
|
+
let { result: i } = await U(Hl(H.RESOURCE_CONFLICTS_LIST, {
|
|
6273
6252
|
appId: e,
|
|
6274
6253
|
pipelineId: t,
|
|
6275
6254
|
wfrId: n
|
|
@@ -6294,13 +6273,13 @@ var dv = (e) => {
|
|
|
6294
6273
|
let d = async () => {
|
|
6295
6274
|
try {
|
|
6296
6275
|
s(!0);
|
|
6297
|
-
let { appId: e, appType: t, environmentId: n, installedAppId: o } = r || {}, c = t ===
|
|
6276
|
+
let { appId: e, appType: t, environmentId: n, installedAppId: o } = r || {}, c = t === Ba.DEVTRON_HELM_CHART ? o : e;
|
|
6298
6277
|
await uv({
|
|
6299
6278
|
appId: i || String(c),
|
|
6300
6279
|
envId: a || String(n)
|
|
6301
6280
|
});
|
|
6302
6281
|
} catch (e) {
|
|
6303
|
-
|
|
6282
|
+
Ka(e);
|
|
6304
6283
|
} finally {
|
|
6305
6284
|
s(!1);
|
|
6306
6285
|
}
|
|
@@ -6368,7 +6347,7 @@ var dv = (e) => {
|
|
|
6368
6347
|
c.time !== "" && c.icon !== "inprogress" && /* @__PURE__ */ (0, J.jsx)("span", {
|
|
6369
6348
|
"data-testid": "deployment-status-kubernetes-dropdown dc__no-shrink",
|
|
6370
6349
|
className: `px-8 py-4 br-12 ${y_(c.icon)}`,
|
|
6371
|
-
children:
|
|
6350
|
+
children: Oa(c.time, "YYYY-MM-DDTHH:mm:ssZ").format(Va.TWELVE_HOURS_FORMAT)
|
|
6372
6351
|
})
|
|
6373
6352
|
]
|
|
6374
6353
|
}), m && /* @__PURE__ */ (0, J.jsx)(N, {
|
|
@@ -6441,11 +6420,11 @@ var dv = (e) => {
|
|
|
6441
6420
|
})] })]
|
|
6442
6421
|
});
|
|
6443
6422
|
}, xv = null, Sv = ({ deploymentStatus: e, deploymentAppType: t, isHelmApps: r = !1, installedAppVersionHistoryId: i, isGitops: a, userApprovalMetadata: o, isVirtualEnvironment: s, processVirtualEnvironmentDeploymentData: c, renderDeploymentApprovalInfo: l, isDeploymentWithoutApproval: u }) => {
|
|
6444
|
-
let d = Gl(), { pathname: f } = Wl(), { appId: p, envId: m, triggerId: h } = Kl(), [g, _] = q(e?.toUpperCase() !== P.ABORTED), v = F_.getAppDetails(), y = K(s), b = K(u), x = y.current && c ? c() : X_(t ?? v?.deploymentAppType),
|
|
6423
|
+
let d = Gl(), { pathname: f } = Wl(), { appId: p, envId: m, triggerId: h } = Kl(), [g, _] = q(e?.toUpperCase() !== P.ABORTED), v = F_.getAppDetails(), y = K(s), b = K(u), [x, S] = q(y.current && c ? c() : X_(t ?? v?.deploymentAppType)), C = () => {
|
|
6445
6424
|
xv && clearTimeout(xv);
|
|
6446
|
-
},
|
|
6425
|
+
}, w = () => {
|
|
6447
6426
|
lv(p, m, !0, h, r, i).then((t) => {
|
|
6448
|
-
e !== "Aborted" &&
|
|
6427
|
+
e !== "Aborted" && T({
|
|
6449
6428
|
...t.result,
|
|
6450
6429
|
isDeploymentWithoutApproval: b.current
|
|
6451
6430
|
});
|
|
@@ -6455,29 +6434,29 @@ var dv = (e) => {
|
|
|
6455
6434
|
_(!1);
|
|
6456
6435
|
});
|
|
6457
6436
|
};
|
|
6458
|
-
W(() => (t === vr.HELM && d(`${f.replace("deployment-steps", "source-code")}`, { replace: !0 }), a &&
|
|
6459
|
-
|
|
6437
|
+
W(() => (t === vr.HELM && d(`${f.replace("deployment-steps", "source-code")}`, { replace: !0 }), a && w(), () => {
|
|
6438
|
+
C();
|
|
6460
6439
|
}), [i]), W(() => {
|
|
6461
6440
|
y.current = s;
|
|
6462
6441
|
}, [s]), W(() => {
|
|
6463
6442
|
b.current = u;
|
|
6464
6443
|
}, [u]);
|
|
6465
|
-
let
|
|
6444
|
+
let T = (e) => {
|
|
6466
6445
|
let t = y.current && c ? c(e) : X_(e.deploymentAppType, e);
|
|
6467
|
-
|
|
6468
|
-
|
|
6446
|
+
C(), xv = t.deploymentStatus === B.INPROGRESS ? setTimeout(() => {
|
|
6447
|
+
w();
|
|
6469
6448
|
}, 1e4) : setTimeout(() => {
|
|
6470
|
-
|
|
6471
|
-
}, 3e4),
|
|
6449
|
+
w();
|
|
6450
|
+
}, 3e4), S(t);
|
|
6472
6451
|
};
|
|
6473
|
-
return e?.toUpperCase() === P.ABORTED ||
|
|
6452
|
+
return e?.toUpperCase() === P.ABORTED || x.deploymentStatus === B.SUPERSEDED ? /* @__PURE__ */ (0, J.jsx)("div", {
|
|
6474
6453
|
className: "flexbox flex-grow-1 dc__content-center",
|
|
6475
6454
|
"data-testid": "deployment-history-steps-failed-message",
|
|
6476
6455
|
children: /* @__PURE__ */ (0, J.jsx)(Cv, {
|
|
6477
6456
|
title: Jn.DEPLOYMENT_DETAILS_SETPS_FAILED.TITLE,
|
|
6478
6457
|
subTitle: Jn.DEPLOYMENT_DETAILS_SETPS_FAILED.SUBTITLE
|
|
6479
6458
|
})
|
|
6480
|
-
}) : g ? /* @__PURE__ */ (0, J.jsx)(rt, { pageLoader: !0 }) : !y.current && !
|
|
6459
|
+
}) : g ? /* @__PURE__ */ (0, J.jsx)(rt, { pageLoader: !0 }) : !y.current && !x?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ (0, J.jsx)("div", {
|
|
6481
6460
|
className: "h-100 flex",
|
|
6482
6461
|
children: /* @__PURE__ */ (0, J.jsx)(Wg, {
|
|
6483
6462
|
title: Jn.DEPLOYMENT_DETAILS_SETPS_PROGRESSING.TITLE,
|
|
@@ -6499,17 +6478,17 @@ var dv = (e) => {
|
|
|
6499
6478
|
}) : /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
6500
6479
|
className: "dc__mxw-1000 min-w-800",
|
|
6501
6480
|
children: [l && $a(o?.approvalConfigData) && l(o), /* @__PURE__ */ (0, J.jsx)(bv, {
|
|
6502
|
-
deploymentStatusDetailsBreakdownData:
|
|
6481
|
+
deploymentStatusDetailsBreakdownData: x,
|
|
6503
6482
|
isVirtualEnvironment: y.current,
|
|
6504
6483
|
appDetails: v,
|
|
6505
6484
|
rootClassName: "p-20",
|
|
6506
|
-
deploymentAppType:
|
|
6485
|
+
deploymentAppType: x.deploymentAppType
|
|
6507
6486
|
})]
|
|
6508
6487
|
});
|
|
6509
6488
|
}, Cv = ({ title: e, image: t, subTitle: n, isButtonAvailable: r, classname: i, styles: a, imageType: o, renderButton: s, imageClassName: c, children: l, SvgImage: u, noImage: d, layout: f = "column", contentClassName: p = "", imageStyles: m = {}, imgName: h }) => {
|
|
6510
6489
|
let g = f === "row", _ = () => {
|
|
6511
6490
|
switch (o) {
|
|
6512
|
-
case
|
|
6491
|
+
case va.Large: return {
|
|
6513
6492
|
width: "250px",
|
|
6514
6493
|
height: "200px"
|
|
6515
6494
|
};
|
|
@@ -6575,19 +6554,19 @@ var dv = (e) => {
|
|
|
6575
6554
|
switch (e) {
|
|
6576
6555
|
case fi.NOT_FOUND: return {
|
|
6577
6556
|
onClick: u,
|
|
6578
|
-
renderButtonText:
|
|
6557
|
+
renderButtonText: Qi.TAKE_BACK_HOME,
|
|
6579
6558
|
isButtonAvailable: !0
|
|
6580
6559
|
};
|
|
6581
6560
|
case fi.INTERNAL_SERVER_ERROR: return {
|
|
6582
6561
|
onClick: rr,
|
|
6583
|
-
renderButtonText:
|
|
6562
|
+
renderButtonText: Qi.REPORT_ISSUE,
|
|
6584
6563
|
isButtonAvailable: !0
|
|
6585
6564
|
};
|
|
6586
6565
|
case fi.BAD_REQUEST:
|
|
6587
6566
|
case fi.BAD_GATEWAY:
|
|
6588
6567
|
case fi.SERVICE_TEMPORARY_UNAVAILABLE: return {
|
|
6589
6568
|
onClick: s ?? _i,
|
|
6590
|
-
renderButtonText:
|
|
6569
|
+
renderButtonText: Qi.TRY_AGAIN,
|
|
6591
6570
|
isButtonAvailable: !0
|
|
6592
6571
|
};
|
|
6593
6572
|
default: return {
|
|
@@ -6647,34 +6626,34 @@ function Tv({ reload: e, className: t = "" }) {
|
|
|
6647
6626
|
}
|
|
6648
6627
|
//#endregion
|
|
6649
6628
|
//#region src/Common/ErrorScreenManager.tsx
|
|
6650
|
-
var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on404Redirect: a, imageType: o =
|
|
6629
|
+
var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on404Redirect: a, imageType: o = va.Large }) => (() => {
|
|
6651
6630
|
switch (e) {
|
|
6652
6631
|
case fi.BAD_REQUEST: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6653
6632
|
code: fi.BAD_REQUEST,
|
|
6654
|
-
title:
|
|
6655
|
-
subTitle: n ||
|
|
6633
|
+
title: Qi.BAD_REQUEST,
|
|
6634
|
+
subTitle: n || Qi.BAD_REQUEST_MESSAGE,
|
|
6656
6635
|
image: bl,
|
|
6657
6636
|
imageType: o,
|
|
6658
6637
|
reload: t
|
|
6659
6638
|
});
|
|
6660
6639
|
case fi.UNAUTHORIZED: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6661
6640
|
code: fi.UNAUTHORIZED,
|
|
6662
|
-
title:
|
|
6663
|
-
subTitle: n ||
|
|
6641
|
+
title: Qi.UNAUTHORIZED,
|
|
6642
|
+
subTitle: n || Qi.UNAUTHORIZED_MESSAGE,
|
|
6664
6643
|
image: _l,
|
|
6665
6644
|
imageType: o
|
|
6666
6645
|
});
|
|
6667
6646
|
case fi.PERMISSION_DENIED: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6668
6647
|
code: fi.PERMISSION_DENIED,
|
|
6669
|
-
title:
|
|
6670
|
-
subTitle: n ||
|
|
6648
|
+
title: Qi.FORBIDDEN,
|
|
6649
|
+
subTitle: n || Qi.FORBIDDEN_MESSAGE,
|
|
6671
6650
|
image: _l,
|
|
6672
6651
|
imageType: o
|
|
6673
6652
|
});
|
|
6674
6653
|
case fi.NOT_FOUND: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6675
6654
|
code: fi.NOT_FOUND,
|
|
6676
|
-
title:
|
|
6677
|
-
subTitle: n ||
|
|
6655
|
+
title: Qi.PAGE_NOT_FOUND,
|
|
6656
|
+
subTitle: n || Qi.PAGE_NOT_EXIST,
|
|
6678
6657
|
image: hl,
|
|
6679
6658
|
imageType: o,
|
|
6680
6659
|
redirectURL: i,
|
|
@@ -6682,24 +6661,24 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
6682
6661
|
});
|
|
6683
6662
|
case fi.INTERNAL_SERVER_ERROR: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6684
6663
|
code: fi.INTERNAL_SERVER_ERROR,
|
|
6685
|
-
title:
|
|
6686
|
-
subTitle: n ||
|
|
6664
|
+
title: Qi.INTERNAL_SERVER_ERROR,
|
|
6665
|
+
subTitle: n || Qi.INTERNAL_SERVER_ERROR_MESSAGE,
|
|
6687
6666
|
image: bl,
|
|
6688
6667
|
imageType: o,
|
|
6689
6668
|
reload: t
|
|
6690
6669
|
});
|
|
6691
6670
|
case fi.BAD_GATEWAY: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6692
6671
|
code: fi.BAD_GATEWAY,
|
|
6693
|
-
title:
|
|
6694
|
-
subTitle: n ||
|
|
6672
|
+
title: Qi.BAD_GATEWAY,
|
|
6673
|
+
subTitle: n || Qi.BAD_GATEWAY_MESSAGE,
|
|
6695
6674
|
image: bl,
|
|
6696
6675
|
imageType: o,
|
|
6697
6676
|
reload: t
|
|
6698
6677
|
});
|
|
6699
6678
|
case fi.SERVICE_TEMPORARY_UNAVAILABLE: return /* @__PURE__ */ (0, J.jsx)(wv, {
|
|
6700
6679
|
code: fi.SERVICE_TEMPORARY_UNAVAILABLE,
|
|
6701
|
-
title:
|
|
6702
|
-
subTitle: n ||
|
|
6680
|
+
title: Qi.SERVICE_TEMPORARY_UNAVAILABLE,
|
|
6681
|
+
subTitle: n || Qi.SERVICE_TEMPORARY_UNAVAILABLE_MESSAGE,
|
|
6703
6682
|
image: bl,
|
|
6704
6683
|
imageType: o,
|
|
6705
6684
|
reload: t
|
|
@@ -7165,7 +7144,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
7165
7144
|
children: n
|
|
7166
7145
|
})
|
|
7167
7146
|
})]
|
|
7168
|
-
}), i && /* @__PURE__ */ (0, J.jsx)(
|
|
7147
|
+
}), i && /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
7169
7148
|
condition: !!i.tooltipProps,
|
|
7170
7149
|
wrap: Wv(i.tooltipProps),
|
|
7171
7150
|
children: /* @__PURE__ */ (0, J.jsx)(i.Icon, {
|
|
@@ -7216,7 +7195,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
7216
7195
|
children: r
|
|
7217
7196
|
})
|
|
7218
7197
|
})]
|
|
7219
|
-
}), i && /* @__PURE__ */ (0, J.jsx)(
|
|
7198
|
+
}), i && /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
7220
7199
|
condition: !!i.tooltipProps,
|
|
7221
7200
|
wrap: Wv(i.tooltipProps),
|
|
7222
7201
|
children: /* @__PURE__ */ (0, J.jsx)("button", {
|
|
@@ -7490,7 +7469,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
7490
7469
|
}
|
|
7491
7470
|
return e[["data", "defaultData"].find((t) => Object.keys(e?.[t] ?? {}).length > 0)];
|
|
7492
7471
|
}, iy = (e, t, n = !1, r = !1) => {
|
|
7493
|
-
let i = Object.keys(e).reduce((n, r) => (t[r] && e[r] === t[r] && (n[r] = !0), n), {}), a = (e, t, n = !1) => t ? e : Object.keys(e).reduce((e, t) => (e[t] =
|
|
7472
|
+
let i = Object.keys(e).reduce((n, r) => (t[r] && e[r] === t[r] && (n[r] = !0), n), {}), a = (e, t, n = !1) => t ? e : Object.keys(e).reduce((e, t) => (n ? e[t] = i[t] ? "********" : "************" : e[t] = "********", e), {}), o = a(e, n, !0), s = a(t, r);
|
|
7494
7473
|
return {
|
|
7495
7474
|
compareToObfuscatedData: Object.keys(o).length ? o : void 0,
|
|
7496
7475
|
compareWithObfuscatedData: Object.keys(s).length ? s : void 0
|
|
@@ -7889,7 +7868,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
7889
7868
|
}, Dy = ({ pipelineDeployments: e, wfrId: t, renderRunSource: n, resourceId: r, triggerHistory: i }) => {
|
|
7890
7869
|
let a = e.findIndex(({ id: e }) => e === t), o = e.slice(a + 1).map(({ id: e, startedOn: t, stage: a, triggeredBy: o, triggeredByEmail: s, status: c, artifact: l }) => ({
|
|
7891
7870
|
value: e,
|
|
7892
|
-
label:
|
|
7871
|
+
label: Oa(t).format(Va.TWELVE_HOURS_FORMAT),
|
|
7893
7872
|
description: wy({
|
|
7894
7873
|
stage: a,
|
|
7895
7874
|
triggeredByEmail: s,
|
|
@@ -7902,7 +7881,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
7902
7881
|
startIcon: /* @__PURE__ */ (0, J.jsx)(t_, { status: c })
|
|
7903
7882
|
}));
|
|
7904
7883
|
return {
|
|
7905
|
-
currentDeployment:
|
|
7884
|
+
currentDeployment: Oa(e[a].startedOn).format(Va.TWELVE_HOURS_FORMAT),
|
|
7906
7885
|
pipelineDeploymentsOptions: o
|
|
7907
7886
|
};
|
|
7908
7887
|
}, Oy = (e) => (t) => ({ compareWfrId: +(t.get("compareWfrId") || e) }), ky = (e) => e.status === "rejected" && e.reason?.code === fi.NOT_FOUND, Ay = (e) => e.status === "rejected" && e.reason?.code !== fi.NOT_FOUND ? e.reason : null, jy = (e, t, n) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -8447,12 +8426,12 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8447
8426
|
})]
|
|
8448
8427
|
});
|
|
8449
8428
|
}, Zy = ({ materialSourceType: e, materialSourceValue: t, commitInfo: n, selectedCommitInfo: r, materialUrl: i, showMaterialInfoHeader: a, index: o, isExcluded: s = !1 }) => {
|
|
8450
|
-
let c = nr(n), l = e === no.WEBHOOK || c && c.webhookdata && c.webhookdata.id !== 0, u = l ? c.webhookdata : {}, d = l ? null : c.commiturl ? c.commiturl :
|
|
8451
|
-
href:
|
|
8429
|
+
let c = nr(n), l = e === no.WEBHOOK || c && c.webhookdata && c.webhookdata.id !== 0, u = l ? c.webhookdata : {}, d = l ? null : c.commiturl ? c.commiturl : aa(i, c.commit), f = (e) => e ? /* @__PURE__ */ (0, J.jsx)("a", {
|
|
8430
|
+
href: Yi(i, e),
|
|
8452
8431
|
target: "_blank",
|
|
8453
8432
|
rel: "noopener noreferrer",
|
|
8454
8433
|
className: "commit-hash fs-14 px-6 mono",
|
|
8455
|
-
onClick:
|
|
8434
|
+
onClick: Ri,
|
|
8456
8435
|
children: e
|
|
8457
8436
|
}) : null;
|
|
8458
8437
|
function p(t) {
|
|
@@ -8520,7 +8499,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8520
8499
|
target: "_blank",
|
|
8521
8500
|
rel: "noopener noreferrer",
|
|
8522
8501
|
className: "commit-hash fs-13 px-6 dc__w-fit-content cursor flex left dc__gap-4",
|
|
8523
|
-
onClick:
|
|
8502
|
+
onClick: Ri,
|
|
8524
8503
|
children: [
|
|
8525
8504
|
/* @__PURE__ */ (0, J.jsx)(Hy, {}),
|
|
8526
8505
|
" ",
|
|
@@ -8568,7 +8547,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8568
8547
|
target: "_blank",
|
|
8569
8548
|
rel: "noopener noreferrer",
|
|
8570
8549
|
className: "commit-hash",
|
|
8571
|
-
onClick:
|
|
8550
|
+
onClick: Ri,
|
|
8572
8551
|
"data-testid": `deployment-history-source-code-material-history${o}`,
|
|
8573
8552
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
8574
8553
|
className: "material-history__header flex dc__gap-4",
|
|
@@ -8602,7 +8581,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8602
8581
|
className: "material-history__text lh-20 flex left dc__gap-8",
|
|
8603
8582
|
children: [/* @__PURE__ */ (0, J.jsx)(Ry, { className: "icon-dim-16 scn-7" }), /* @__PURE__ */ (0, J.jsx)("span", {
|
|
8604
8583
|
className: "lh-20",
|
|
8605
|
-
children:
|
|
8584
|
+
children: Oa(c.date).format(Va.TWELVE_HOURS_FORMAT)
|
|
8606
8585
|
})]
|
|
8607
8586
|
}) : null]
|
|
8608
8587
|
})
|
|
@@ -8679,7 +8658,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8679
8658
|
title: Jn.DATA_NOT_AVAILABLE,
|
|
8680
8659
|
subTitle: Jn.DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE.SUBTITLE
|
|
8681
8660
|
});
|
|
8682
|
-
let b =
|
|
8661
|
+
let b = za(n);
|
|
8683
8662
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
8684
8663
|
className: "history-component__wrapper flex column left w-100 p-16 dc__gap-12",
|
|
8685
8664
|
children: [t?.map((t, n) => {
|
|
@@ -8802,7 +8781,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8802
8781
|
}), !!i && /* @__PURE__ */ (0, J.jsx)("div", { className: "dc__bullet--white dc__bullet" })] }), !!i && /* @__PURE__ */ (0, J.jsx)("span", {
|
|
8803
8782
|
className: "text__white fs-13 fw-4 lh-20",
|
|
8804
8783
|
children: (() => {
|
|
8805
|
-
let e =
|
|
8784
|
+
let e = Ga({
|
|
8806
8785
|
startTime: r,
|
|
8807
8786
|
endTime: i
|
|
8808
8787
|
});
|
|
@@ -8850,7 +8829,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8850
8829
|
let e = l.current;
|
|
8851
8830
|
l.current = [], r((t) => [...t, ...e]);
|
|
8852
8831
|
}
|
|
8853
|
-
|
|
8832
|
+
qi(d, s);
|
|
8854
8833
|
function f() {
|
|
8855
8834
|
u.current && u.current.close && u.current.close();
|
|
8856
8835
|
}
|
|
@@ -8937,31 +8916,30 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
8937
8916
|
return a;
|
|
8938
8917
|
}
|
|
8939
8918
|
if (a.length > 0) {
|
|
8940
|
-
let s = a[a.length - 1], c =
|
|
8941
|
-
stageIndex: a.length - 1,
|
|
8942
|
-
lineNumberInsideStage: s.logs.length
|
|
8943
|
-
}), { __html: l, isSearchKeyPresent: u } = te({
|
|
8919
|
+
let s = a[a.length - 1], { __html: c, isSearchKeyPresent: l } = te({
|
|
8944
8920
|
log: o,
|
|
8945
8921
|
currentIndex: e,
|
|
8946
8922
|
searchMatchResults: i,
|
|
8947
8923
|
targetSearchKey: t,
|
|
8948
|
-
searchIndex:
|
|
8924
|
+
searchIndex: o_({
|
|
8925
|
+
stageIndex: a.length - 1,
|
|
8926
|
+
lineNumberInsideStage: s.logs.length
|
|
8927
|
+
})
|
|
8949
8928
|
});
|
|
8950
|
-
s.logs.push(
|
|
8929
|
+
s.logs.push(c), l && (s.isOpen = ne(s.status, n[s.stage]?.[s.startTime]?.isOpen, !0, !!t), r[s.stage] || (r[s.stage] = {}), r[s.stage][s.startTime] = !0);
|
|
8951
8930
|
}
|
|
8952
8931
|
return a;
|
|
8953
8932
|
}, []);
|
|
8954
8933
|
return x(i), a;
|
|
8955
8934
|
};
|
|
8956
8935
|
W(() => {
|
|
8957
|
-
if (
|
|
8958
|
-
|
|
8959
|
-
|
|
8960
|
-
|
|
8961
|
-
|
|
8936
|
+
if (h?.length) {
|
|
8937
|
+
if (!ee) {
|
|
8938
|
+
T(h.map((e) => te({ log: e }).__html));
|
|
8939
|
+
return;
|
|
8940
|
+
}
|
|
8941
|
+
y(ie(S));
|
|
8962
8942
|
}
|
|
8963
|
-
let e = ie(S);
|
|
8964
|
-
y(e);
|
|
8965
8943
|
}, [h, re]);
|
|
8966
8944
|
let ae = Al(() => {
|
|
8967
8945
|
y((e) => e.map((e) => ({
|
|
@@ -9401,7 +9379,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9401
9379
|
}
|
|
9402
9380
|
})
|
|
9403
9381
|
});
|
|
9404
|
-
}, vb = () => d, yb = (e) => e && (e.inputValue === "" || e.inputValue.length < 3) ?
|
|
9382
|
+
}, vb = () => d, yb = (e) => e && (e.inputValue === "" || e.inputValue.length < 3) ? ka : vb(), bb = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
9405
9383
|
xmlns: "http://www.w3.org/2000/svg",
|
|
9406
9384
|
viewBox: "0 0 24 24",
|
|
9407
9385
|
...e,
|
|
@@ -9649,7 +9627,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9649
9627
|
}),
|
|
9650
9628
|
r?.Commit && /* @__PURE__ */ (0, J.jsx)(Ab, {
|
|
9651
9629
|
commits: [r.Commit],
|
|
9652
|
-
handleClick: Ir(
|
|
9630
|
+
handleClick: Ir(aa(e.url, r.Commit))
|
|
9653
9631
|
}),
|
|
9654
9632
|
r?.Message && /* @__PURE__ */ (0, J.jsx)("p", {
|
|
9655
9633
|
className: "m-0 cn-9 fs-13 fw-4 lh-20 dc__truncate--clamp-3",
|
|
@@ -9674,7 +9652,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9674
9652
|
})
|
|
9675
9653
|
}), Nb = kl(({ message: e, podStatus: t, stage: n, workerPodName: r, finishedOn: i, clusterId: a, namespace: o, workerMessageContainerClassName: s, titleClassName: c = "cn-9 fs-13 fw-4 lh-20", viewWorkerPodClassName: l = "fs-13", hideShowMoreMessageButton: u = !1, children: d }) => {
|
|
9676
9654
|
if (!e && !t) return null;
|
|
9677
|
-
let f = r && (!Zr(i) || !
|
|
9655
|
+
let f = r && (!Zr(i) || !Oa(i).isBefore(Oa().subtract("1", "hours")));
|
|
9678
9656
|
return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
9679
9657
|
className: "flexbox dc__content-center",
|
|
9680
9658
|
children: Rg[t] ? /* @__PURE__ */ (0, J.jsx)(I, {
|
|
@@ -9771,7 +9749,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9771
9749
|
children: [
|
|
9772
9750
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
9773
9751
|
className: "dc__no-shrink",
|
|
9774
|
-
children:
|
|
9752
|
+
children: Oa(t).format(Va.TWELVE_HOURS_FORMAT)
|
|
9775
9753
|
}),
|
|
9776
9754
|
/* @__PURE__ */ (0, J.jsx)("div", { className: "dc__bullet ml-6 mr-6 dc__no-shrink" }),
|
|
9777
9755
|
/* @__PURE__ */ (0, J.jsx)(F, {
|
|
@@ -9821,7 +9799,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9821
9799
|
let k = v[w], A = (t) => {
|
|
9822
9800
|
+k == +e && (E.current = t);
|
|
9823
9801
|
}, j = l !== ci.DEPLOY && Object.keys(g || {}).length > 0;
|
|
9824
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
9802
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
9825
9803
|
condition: Array.isArray(a),
|
|
9826
9804
|
wrap: (e) => /* @__PURE__ */ (0, J.jsx)(hc, {
|
|
9827
9805
|
placement: "right",
|
|
@@ -9862,7 +9840,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9862
9840
|
className: "flex column left",
|
|
9863
9841
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
9864
9842
|
className: "cn-9 fs-13 lh-20",
|
|
9865
|
-
children:
|
|
9843
|
+
children: Oa(n).format(Va.TWELVE_HOURS_FORMAT)
|
|
9866
9844
|
}), /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
9867
9845
|
className: "flex left cn-7 fs-12",
|
|
9868
9846
|
children: [C && /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
|
|
@@ -9953,7 +9931,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
9953
9931
|
}), /* @__PURE__ */ (0, J.jsx)("span", { children: t.label })]
|
|
9954
9932
|
})
|
|
9955
9933
|
})),
|
|
9956
|
-
DropdownIndicator:
|
|
9934
|
+
DropdownIndicator: Zi
|
|
9957
9935
|
},
|
|
9958
9936
|
styles: Tg,
|
|
9959
9937
|
menuPosition: "fixed",
|
|
@@ -10016,12 +9994,12 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10016
9994
|
content: e,
|
|
10017
9995
|
className: "w-100 dc__first-letter-capitalize"
|
|
10018
9996
|
}
|
|
10019
|
-
}))]
|
|
9997
|
+
}))];
|
|
10020
9998
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
10021
9999
|
className: "flexbox status-filter__container",
|
|
10022
10000
|
children: [/* @__PURE__ */ (0, J.jsx)(SM, {
|
|
10023
10001
|
segments: p,
|
|
10024
|
-
value:
|
|
10002
|
+
value: p.find(({ value: e }) => e === t)?.value || null,
|
|
10025
10003
|
onChange: d,
|
|
10026
10004
|
name: i.current,
|
|
10027
10005
|
size: V.small
|
|
@@ -10230,8 +10208,8 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10230
10208
|
}), [g, b]), /* @__PURE__ */ (0, J.jsx)(op, {
|
|
10231
10209
|
onEscape: c ? S : z,
|
|
10232
10210
|
deactivateFocusOnEscape: c,
|
|
10233
|
-
initialFocus:
|
|
10234
|
-
children: /* @__PURE__ */ (0, J.jsxs)(
|
|
10211
|
+
initialFocus: a ? !1 : `#${ex}`,
|
|
10212
|
+
children: /* @__PURE__ */ (0, J.jsxs)(Wi.div, {
|
|
10235
10213
|
className: `${l ? "w-500" : "w-400"} confirmation-modal border__secondary flexbox-col br-8 bg__primary dc__m-auto mt-40`,
|
|
10236
10214
|
exit: {
|
|
10237
10215
|
y: 100,
|
|
@@ -10249,7 +10227,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10249
10227
|
opacity: 1,
|
|
10250
10228
|
scale: 1
|
|
10251
10229
|
},
|
|
10252
|
-
onClick:
|
|
10230
|
+
onClick: Ri,
|
|
10253
10231
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
10254
10232
|
className: "flexbox-col dc__gap-16 p-20",
|
|
10255
10233
|
children: [
|
|
@@ -10374,14 +10352,14 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10374
10352
|
primaryButtonConfig: {
|
|
10375
10353
|
text: r,
|
|
10376
10354
|
onClick: async (e) => {
|
|
10377
|
-
e &&
|
|
10355
|
+
e && Ri(e), x(!0);
|
|
10378
10356
|
try {
|
|
10379
10357
|
await o(), mi.showToast({
|
|
10380
10358
|
variant: er.success,
|
|
10381
10359
|
description: f || "Successfully deleted"
|
|
10382
10360
|
}), x(!1), c();
|
|
10383
10361
|
} catch (e) {
|
|
10384
|
-
e instanceof Zo && e.code === d ? (h(!0), Array.isArray(e.errors) && e.errors.length > 0 && !u && y(e.errors[0].userMessage)) : typeof s == "function" ? s(e) :
|
|
10362
|
+
e instanceof Zo && e.code === d ? (h(!0), Array.isArray(e.errors) && e.errors.length > 0 && !u && y(e.errors[0].userMessage)) : typeof s == "function" ? s(e) : Ka(e), x(!1);
|
|
10385
10363
|
}
|
|
10386
10364
|
},
|
|
10387
10365
|
isLoading: a || b,
|
|
@@ -10439,7 +10417,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10439
10417
|
envId: o
|
|
10440
10418
|
}));
|
|
10441
10419
|
} catch (e) {
|
|
10442
|
-
|
|
10420
|
+
Ka(e), u(!1);
|
|
10443
10421
|
}
|
|
10444
10422
|
},
|
|
10445
10423
|
style: L.warning
|
|
@@ -10500,7 +10478,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10500
10478
|
selectedIdentifiers: {},
|
|
10501
10479
|
handleBulkSelection: z,
|
|
10502
10480
|
isChecked: !1,
|
|
10503
|
-
checkboxValue:
|
|
10481
|
+
checkboxValue: Wa.CHECKED,
|
|
10504
10482
|
isBulkSelectionApplied: !1,
|
|
10505
10483
|
setIdentifiers: z,
|
|
10506
10484
|
getSelectedIdentifiersCount: z
|
|
@@ -10510,7 +10488,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10510
10488
|
return e;
|
|
10511
10489
|
}, bx = ({ children: e, identifiers: t = null, getSelectAllDialogStatus: n }) => {
|
|
10512
10490
|
let [r, i] = q({}), [a, o] = q(t ?? {});
|
|
10513
|
-
|
|
10491
|
+
ba(() => {
|
|
10514
10492
|
t && o(t);
|
|
10515
10493
|
}, [t]);
|
|
10516
10494
|
let s = r["*"], c = () => Object.keys(r).length, l = (e, t) => {
|
|
@@ -10559,16 +10537,16 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10559
10537
|
}
|
|
10560
10538
|
}, { isChecked: f, checkboxValue: p } = Object.keys(r).length === 0 ? {
|
|
10561
10539
|
isChecked: !1,
|
|
10562
|
-
checkboxValue:
|
|
10540
|
+
checkboxValue: Wa.CHECKED
|
|
10563
10541
|
} : s ? {
|
|
10564
10542
|
isChecked: !0,
|
|
10565
|
-
checkboxValue:
|
|
10543
|
+
checkboxValue: Wa.BULK_CHECKED
|
|
10566
10544
|
} : Object.keys(a).every((e) => r[e]) ? {
|
|
10567
10545
|
isChecked: !0,
|
|
10568
|
-
checkboxValue:
|
|
10546
|
+
checkboxValue: Wa.CHECKED
|
|
10569
10547
|
} : {
|
|
10570
10548
|
isChecked: !0,
|
|
10571
|
-
checkboxValue:
|
|
10549
|
+
checkboxValue: Wa.INTERMEDIATE
|
|
10572
10550
|
}, m = G(() => ({
|
|
10573
10551
|
selectedIdentifiers: r,
|
|
10574
10552
|
handleBulkSelection: d,
|
|
@@ -10613,7 +10591,7 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10613
10591
|
}, f = (e) => {
|
|
10614
10592
|
e.stopPropagation(), a({ action: l ? ux.CLEAR_ALL_SELECTIONS : ux.SELECT_ALL_ON_PAGE });
|
|
10615
10593
|
}, p = !r || e;
|
|
10616
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
10594
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
10617
10595
|
wrap: (e) => /* @__PURE__ */ (0, J.jsx)(Cp, {
|
|
10618
10596
|
id: fx,
|
|
10619
10597
|
onClick: d,
|
|
@@ -10746,33 +10724,28 @@ var Ev = ({ code: e, reload: t, subtitle: n, reloadClass: r, redirectURL: i, on4
|
|
|
10746
10724
|
}, Lx = ({ size: e, pageSize: t, offset: n, changePage: r, changePageSize: i, isPageSizeFix: a, pageSizeOptions: o, rootClassName: s }) => {
|
|
10747
10725
|
let [c, l] = q([]);
|
|
10748
10726
|
W(() => {
|
|
10749
|
-
|
|
10727
|
+
l(Mx({
|
|
10750
10728
|
size: e,
|
|
10751
10729
|
pageSize: t,
|
|
10752
10730
|
selectedPageNo: 1
|
|
10753
|
-
});
|
|
10754
|
-
l(n);
|
|
10731
|
+
}));
|
|
10755
10732
|
}, [e, t]), W(() => {
|
|
10756
|
-
|
|
10733
|
+
l(Mx({
|
|
10757
10734
|
size: e,
|
|
10758
10735
|
pageSize: t,
|
|
10759
10736
|
selectedPageNo: 1 + Math.floor(n / t)
|
|
10760
|
-
});
|
|
10761
|
-
l(r);
|
|
10737
|
+
}));
|
|
10762
10738
|
}, [n]);
|
|
10763
10739
|
let u = (n) => {
|
|
10764
|
-
|
|
10740
|
+
l(Mx({
|
|
10765
10741
|
size: e,
|
|
10766
10742
|
pageSize: t,
|
|
10767
10743
|
selectedPageNo: n
|
|
10768
|
-
});
|
|
10769
|
-
l(i), r(n);
|
|
10744
|
+
})), r(n);
|
|
10770
10745
|
}, d = () => {
|
|
10771
|
-
|
|
10772
|
-
u(e);
|
|
10746
|
+
u(c.find((e) => e.selected).value - 1);
|
|
10773
10747
|
}, f = () => {
|
|
10774
|
-
|
|
10775
|
-
u(e);
|
|
10748
|
+
u(c.find((e) => e.selected).value + 1);
|
|
10776
10749
|
}, p = n + t < e ? n + t : e, m = c.findIndex((e) => e.selected), h = c.filter((e) => e.isVisible);
|
|
10777
10750
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
10778
10751
|
className: s || "",
|
|
@@ -10926,7 +10899,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
10926
10899
|
};
|
|
10927
10900
|
}
|
|
10928
10901
|
})(),
|
|
10929
|
-
bounds: `#${
|
|
10902
|
+
bounds: `#${xa}`,
|
|
10930
10903
|
nodeRef: c,
|
|
10931
10904
|
children: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
10932
10905
|
ref: c,
|
|
@@ -11158,7 +11131,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11158
11131
|
try {
|
|
11159
11132
|
n(await t());
|
|
11160
11133
|
} catch (e) {
|
|
11161
|
-
|
|
11134
|
+
Ka(e), r(e);
|
|
11162
11135
|
}
|
|
11163
11136
|
e.current = -1;
|
|
11164
11137
|
}, 350);
|
|
@@ -11201,7 +11174,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11201
11174
|
bulkSelectionReturnValue: c,
|
|
11202
11175
|
handleToggleBulkSelectionOnRow: u
|
|
11203
11176
|
}, xe, De, S);
|
|
11204
|
-
|
|
11177
|
+
ba(() => {
|
|
11205
11178
|
ke(0);
|
|
11206
11179
|
}, [de]), W(() => {
|
|
11207
11180
|
_e?.(xe.reduce((e, t) => (e[t.id] = t, e), {}));
|
|
@@ -11309,7 +11282,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11309
11282
|
isChecked: o,
|
|
11310
11283
|
onChange: d,
|
|
11311
11284
|
rootClassName: "mb-0",
|
|
11312
|
-
value:
|
|
11285
|
+
value: Wa.CHECKED
|
|
11313
11286
|
})
|
|
11314
11287
|
}, n) : /* @__PURE__ */ (0, J.jsx)("div", {
|
|
11315
11288
|
className: `${f} generic-table__cell`,
|
|
@@ -11392,7 +11365,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11392
11365
|
style: { left: u },
|
|
11393
11366
|
children: /* @__PURE__ */ (0, J.jsx)(xx, {
|
|
11394
11367
|
ref: S,
|
|
11395
|
-
showPagination:
|
|
11368
|
+
showPagination: ae ? !1 : De,
|
|
11396
11369
|
showChevronDownIcon: !1,
|
|
11397
11370
|
selectAllIfNotPaginated: !0
|
|
11398
11371
|
}, t)
|
|
@@ -11481,7 +11454,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11481
11454
|
n,
|
|
11482
11455
|
JSON.stringify(ae),
|
|
11483
11456
|
f
|
|
11484
|
-
], !!n),
|
|
11457
|
+
], !!n), { isFetching: fe, data: pe, error: me, refetch: he } = Pi({
|
|
11485
11458
|
queryFn: async ({ signal: e }) => {
|
|
11486
11459
|
let { rows: n, totalRows: i } = await r(t, e);
|
|
11487
11460
|
return {
|
|
@@ -11493,28 +11466,28 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11493
11466
|
k,
|
|
11494
11467
|
D,
|
|
11495
11468
|
O,
|
|
11496
|
-
|
|
11469
|
+
G(() => (/* @__PURE__ */ new Date()).toISOString(), [r]),
|
|
11497
11470
|
M,
|
|
11498
11471
|
j,
|
|
11499
11472
|
JSON.stringify(ae),
|
|
11500
11473
|
f
|
|
11501
11474
|
],
|
|
11502
11475
|
enabled: !!r
|
|
11503
|
-
}),
|
|
11476
|
+
}), ge = r ? fe : ce, _e = r ? pe : le, ve = r ? me : ue, ye = r ? he : de, { filteredRows: be, totalRows: xe } = G(() => _e ?? {
|
|
11504
11477
|
filteredRows: [],
|
|
11505
11478
|
totalRows: 0
|
|
11506
|
-
}, [
|
|
11507
|
-
code:
|
|
11508
|
-
reload:
|
|
11509
|
-
}) : !
|
|
11479
|
+
}, [_e]), Se = ge || ve === Ox, Ce = a ?? wl, we = () => ve && !Se && !m ? /* @__PURE__ */ (0, J.jsx)(Ev, {
|
|
11480
|
+
code: ve.code,
|
|
11481
|
+
reload: ye
|
|
11482
|
+
}) : !Se && !be?.length && !m ? e !== Wx.NONE && (E === void 0 ? re : E) ? /* @__PURE__ */ (0, J.jsx)(kx, {
|
|
11510
11483
|
...s.noRowsForFilterConfig,
|
|
11511
11484
|
handleClearFilters: s.noRowsForFilterConfig?.handleClearFilters || (C ?? ne)
|
|
11512
11485
|
}) : /* @__PURE__ */ (0, J.jsx)(Cv, { ...s.noRowsConfig }) : /* @__PURE__ */ (0, J.jsx)(Rm, {
|
|
11513
11486
|
shouldHookOntoWindow: !1,
|
|
11514
11487
|
shortcutTimeout: 50,
|
|
11515
11488
|
children: /* @__PURE__ */ (0, J.jsx)(eS, {
|
|
11516
|
-
filteredRows:
|
|
11517
|
-
areFilteredRowsLoading:
|
|
11489
|
+
filteredRows: be,
|
|
11490
|
+
areFilteredRowsLoading: Se,
|
|
11518
11491
|
visibleColumns: f,
|
|
11519
11492
|
bulkSelectionReturnValue: g,
|
|
11520
11493
|
paginationVariant: b,
|
|
@@ -11530,7 +11503,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11530
11503
|
rows: n,
|
|
11531
11504
|
stylesConfig: p,
|
|
11532
11505
|
getRows: r,
|
|
11533
|
-
totalRows:
|
|
11506
|
+
totalRows: xe,
|
|
11534
11507
|
rowStartIconConfig: w,
|
|
11535
11508
|
onRowClick: T
|
|
11536
11509
|
})
|
|
@@ -11539,12 +11512,12 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11539
11512
|
ref: oe,
|
|
11540
11513
|
className: "flexbox-col flex-grow-1 dc__overflow-hidden",
|
|
11541
11514
|
id: `table-wrapper-${_}`,
|
|
11542
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
11543
|
-
areRowsLoading:
|
|
11515
|
+
children: /* @__PURE__ */ (0, J.jsx)(Ce, {
|
|
11516
|
+
areRowsLoading: Se,
|
|
11544
11517
|
clearFilters: ne,
|
|
11545
11518
|
rows: n,
|
|
11546
|
-
filteredRows:
|
|
11547
|
-
totalRows:
|
|
11519
|
+
filteredRows: be,
|
|
11520
|
+
totalRows: xe,
|
|
11548
11521
|
handleSearch: ie,
|
|
11549
11522
|
updateSearchParams: z,
|
|
11550
11523
|
offset: M,
|
|
@@ -11558,7 +11531,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11558
11531
|
visibleColumns: f
|
|
11559
11532
|
} : {},
|
|
11560
11533
|
...c,
|
|
11561
|
-
children:
|
|
11534
|
+
children: we()
|
|
11562
11535
|
})
|
|
11563
11536
|
});
|
|
11564
11537
|
}, nS = (e) => {
|
|
@@ -11675,29 +11648,26 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11675
11648
|
}, uS = ({ children: e }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
11676
11649
|
className: "dc__overflow-hidden flexbox-col flex-grow-1",
|
|
11677
11650
|
children: e
|
|
11678
|
-
}), dS = ({ resourceConflictDetails: e }) => {
|
|
11679
|
-
|
|
11651
|
+
}), dS = ({ resourceConflictDetails: e }) => /* @__PURE__ */ (0, J.jsx)(lS, {
|
|
11652
|
+
id: "table__resource-conflict-details",
|
|
11653
|
+
columns: Bg,
|
|
11654
|
+
rows: G(() => (e || []).map((e) => ({
|
|
11680
11655
|
data: e,
|
|
11681
11656
|
id: e.id
|
|
11682
|
-
})), [e])
|
|
11683
|
-
|
|
11684
|
-
|
|
11685
|
-
|
|
11686
|
-
|
|
11687
|
-
|
|
11688
|
-
|
|
11689
|
-
|
|
11690
|
-
|
|
11691
|
-
|
|
11692
|
-
|
|
11693
|
-
|
|
11694
|
-
|
|
11695
|
-
|
|
11696
|
-
filtersVariant: Wx.STATE,
|
|
11697
|
-
ViewWrapper: uS,
|
|
11698
|
-
filter: null
|
|
11699
|
-
});
|
|
11700
|
-
}, fS = ({ appName: e, environmentName: t, handleClose: r }) => {
|
|
11657
|
+
})), [e]),
|
|
11658
|
+
emptyStateConfig: {
|
|
11659
|
+
noRowsConfig: { title: "No resource found" },
|
|
11660
|
+
noRowsForFilterConfig: {
|
|
11661
|
+
title: "No results",
|
|
11662
|
+
subTitle: "We couldn't find any matching results"
|
|
11663
|
+
}
|
|
11664
|
+
},
|
|
11665
|
+
paginationVariant: Gx.NOT_PAGINATED,
|
|
11666
|
+
additionalFilterProps: { initialSortKey: "name" },
|
|
11667
|
+
filtersVariant: Wx.STATE,
|
|
11668
|
+
ViewWrapper: uS,
|
|
11669
|
+
filter: null
|
|
11670
|
+
}), fS = ({ appName: e, environmentName: t, handleClose: r }) => {
|
|
11701
11671
|
let { appId: i, envId: a, pipelineId: o, triggerId: s } = Kl(), c = Gl(), { isFetching: l, data: u, refetch: d, error: f } = Pi({
|
|
11702
11672
|
queryKey: [
|
|
11703
11673
|
"getResourceConflictDetails",
|
|
@@ -11719,7 +11689,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11719
11689
|
position: "right",
|
|
11720
11690
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
11721
11691
|
className: "flexbox-col dc__content-space h-100 bg__modal--primary shadow__modal dc__overflow-auto",
|
|
11722
|
-
onClick:
|
|
11692
|
+
onClick: Ri,
|
|
11723
11693
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
11724
11694
|
className: "flexbox-col dc__overflow-auto flex-grow-1",
|
|
11725
11695
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -11801,7 +11771,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
11801
11771
|
envId: a
|
|
11802
11772
|
}));
|
|
11803
11773
|
} catch (e) {
|
|
11804
|
-
|
|
11774
|
+
Ka(e), m(!1);
|
|
11805
11775
|
}
|
|
11806
11776
|
}
|
|
11807
11777
|
})
|
|
@@ -12007,7 +11977,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12007
11977
|
let t = i[e.id];
|
|
12008
11978
|
return t ? /* @__PURE__ */ (0, J.jsxs)(wl, { children: [e.type !== "WEBHOOK" && t.Commit && /* @__PURE__ */ (0, J.jsx)(Ab, {
|
|
12009
11979
|
commits: [t.Commit],
|
|
12010
|
-
handleClick: Ir(
|
|
11980
|
+
handleClick: Ir(aa(e.url, t.Commit))
|
|
12011
11981
|
}), e.type === "WEBHOOK" && t.WebhookData && t.WebhookData.Data && t.WebhookData.Data["target checkout"] && /* @__PURE__ */ (0, J.jsx)(Ab, { commits: t.WebhookData.EventActionType === "merged" ? t.WebhookData.Data["target checkout"].substr(0, 7) : t.WebhookData.Data["target checkout"] })] }, e.id) : null;
|
|
12012
11982
|
}),
|
|
12013
11983
|
!u.includes("source-code") && /* @__PURE__ */ (0, J.jsx)(Ll, {
|
|
@@ -12272,7 +12242,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12272
12242
|
className: "flex dc__gap-4",
|
|
12273
12243
|
children: [!!t && /* @__PURE__ */ (0, J.jsx)("span", { className: "dc__bullet" }), e]
|
|
12274
12244
|
}, e)) : e
|
|
12275
|
-
}), kS = ({ layoutId: e }) => /* @__PURE__ */ (0, J.jsx)(
|
|
12245
|
+
}), kS = ({ layoutId: e }) => /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
12276
12246
|
layout: "position",
|
|
12277
12247
|
transformTemplate: (e, t) => t.replace(/translate3d\(([^,]+),\s*[^,]+,\s*([^)]+)\)/, "translate3d($1, 0px, $2)"),
|
|
12278
12248
|
layoutId: e,
|
|
@@ -12548,10 +12518,8 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12548
12518
|
ie,
|
|
12549
12519
|
ae,
|
|
12550
12520
|
oe
|
|
12551
|
-
]);
|
|
12552
|
-
let se = G(() =>
|
|
12553
|
-
Ki(ee, se);
|
|
12554
|
-
let ce = G(() => x_(t)?.[0]?.[0], [t]);
|
|
12521
|
+
]), qi(ee, G(() => !k || Sg.has(k.podStatus?.toLowerCase() || k.status?.toLowerCase()) ? null : Cg.has(k.status?.toLowerCase() || k.podStatus?.toLowerCase()) ? 1e4 : 3e4, [k]));
|
|
12522
|
+
let se = G(() => x_(t)?.[0]?.[0], [t]);
|
|
12555
12523
|
return !re && A && !k || !E || re && (ie || A) && !k ? /* @__PURE__ */ (0, J.jsx)(rt, { pageLoader: !0 }) : M?.code === 404 ? /* @__PURE__ */ (0, J.jsx)(Cv, {
|
|
12556
12524
|
title: Jn.TRIGGER_NOT_FOUND.TITLE,
|
|
12557
12525
|
subTitle: Jn.TRIGGER_NOT_FOUND.SUBTITLE
|
|
@@ -12574,7 +12542,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12574
12542
|
renderTargetConfigInfo: S,
|
|
12575
12543
|
workflowExecutionStages: k.workflowExecutionStages,
|
|
12576
12544
|
namespace: k.namespace,
|
|
12577
|
-
isLatest:
|
|
12545
|
+
isLatest: se === k.id,
|
|
12578
12546
|
appName: C
|
|
12579
12547
|
}), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
12580
12548
|
className: "pl-50 pr-20 pt-8 dc__border-bottom dc__position-sticky dc__top-0 bg__primary dc__zi-3",
|
|
@@ -12620,7 +12588,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12620
12588
|
e.health && r.push(e);
|
|
12621
12589
|
});
|
|
12622
12590
|
}), r.sort((e, t) => bg[e.health.status?.toLowerCase()] - bg[t.health.status?.toLowerCase()]), t ? r.filter((e) => e.health.status?.toLowerCase() !== B.HEALTHY) : r;
|
|
12623
|
-
}, IS = (e) => `${e.kind}/${e.name}`, LS = ({ type: e, appDetails: t }) => !t || e === "stack-manager" || t.appType !==
|
|
12591
|
+
}, IS = (e) => `${e.kind}/${e.name}`, LS = ({ type: e, appDetails: t }) => !t || e === "stack-manager" || t.appType !== Ba.DEVTRON_APP && t.appType !== Ba.DEVTRON_HELM_CHART ? !1 : t.appType === Ba.DEVTRON_HELM_CHART ? !!t.lastDeployedTime && t.deploymentAppType !== vr.HELM : t.releaseMode !== xd.MIGRATE_EXTERNAL_APPS || t.isPipelineTriggered, RS = (e) => B_.includes(e) ? yl : V_.includes(e) ? gl : H_.includes(e) ? bl : Yl, zS = "px-16 py-8 dc__grid dc__column-gap-16 app-status-content__row", BS = ({ appDetails: e, handleShowConfigDriftModal: t, filterHealthyNodes: n = !1, isCardLayout: r = !0 }) => {
|
|
12624
12592
|
let [i, a] = q("all"), { appId: o, environmentId: s } = e, c = FS({
|
|
12625
12593
|
appDetails: e,
|
|
12626
12594
|
filterHealthyNodes: n
|
|
@@ -12703,7 +12671,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12703
12671
|
});
|
|
12704
12672
|
}, VS = /* @__PURE__ */ function(e) {
|
|
12705
12673
|
return e.ERRIMAGEPULL = "errimagepull", e.IMAGEPULLBACKOFF = "imagepullbackoff", e;
|
|
12706
|
-
}({}), HS = (e) => e?.appType ===
|
|
12674
|
+
}({}), HS = (e) => e?.appType === Ba.DEVTRON_APP && e.resourceTree?.nodes?.length ? e.resourceTree.nodes.some((e) => (e.info || []).some((e) => {
|
|
12707
12675
|
let t = e.value?.toLowerCase();
|
|
12708
12676
|
return t === VS.ERRIMAGEPULL || t === VS.IMAGEPULLBACKOFF;
|
|
12709
12677
|
})) : !1, US = (e, t, n) => /* @__PURE__ */ (0, J.jsxs)("div", { children: [
|
|
@@ -12719,7 +12687,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12719
12687
|
onClick: n,
|
|
12720
12688
|
children: e.ipsAccessProvided ? "Possible issues?" : "How to resolve?"
|
|
12721
12689
|
})
|
|
12722
|
-
] }), WS = ({ appDetails: e, useParentMargin: t = !0 }) => !e || e.appType !==
|
|
12690
|
+
] }), WS = ({ appDetails: e, useParentMargin: t = !0 }) => !e || e.appType !== Ba.DEVTRON_APP || !e.resourceTree || !e.resourceTree.nodes || e.externalCi ? null : HS(e) && /* @__PURE__ */ (0, J.jsx)("div", {
|
|
12723
12691
|
className: `flexbox-col dc__gap-16 ${t ? "m-20" : ""} fs-13`,
|
|
12724
12692
|
children: /* @__PURE__ */ (0, J.jsx)(nv, {
|
|
12725
12693
|
heading: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -12782,7 +12750,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12782
12750
|
}),
|
|
12783
12751
|
text: "Visit app",
|
|
12784
12752
|
linkProps: {
|
|
12785
|
-
to:
|
|
12753
|
+
to: Aa(n, r),
|
|
12786
12754
|
target: "_blank",
|
|
12787
12755
|
rel: "noopener noreferrer"
|
|
12788
12756
|
}
|
|
@@ -12937,20 +12905,20 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12937
12905
|
let r = Se("", {
|
|
12938
12906
|
"app-id": e,
|
|
12939
12907
|
"env-id": t
|
|
12940
|
-
}), [i, a] = await Promise.allSettled([
|
|
12908
|
+
}), [i, a] = await Promise.allSettled([U(`${H.APP_DETAIL}/v2${r}`, { abortControllerRef: n }), U(`${H.APP_DETAIL}/resource-tree${r}`, { abortControllerRef: n })]);
|
|
12941
12909
|
if (i.status === "rejected") throw i.reason;
|
|
12942
12910
|
let o = i.value, s = a.status === "fulfilled" ? a.value : null;
|
|
12943
12911
|
return {
|
|
12944
12912
|
...o.result || {},
|
|
12945
12913
|
resourceTree: s?.result,
|
|
12946
|
-
appType:
|
|
12914
|
+
appType: Ba.DEVTRON_APP
|
|
12947
12915
|
};
|
|
12948
12916
|
}, QS = async ({ abortControllerRef: e, appId: t, envId: n, showTimeline: r, virtualEnvironmentConfig: i, isHelmApp: a, deploymentAppType: o }) => {
|
|
12949
|
-
let s = a ? H.HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP : H.DEPLOYMENT_STATUS
|
|
12917
|
+
let s = await U(Se(`${a ? H.HELM_DEPLOYMENT_STATUS_TIMELINE_INSTALLED_APP : H.DEPLOYMENT_STATUS}/${t}/${n}`, {
|
|
12950
12918
|
showTimeline: r,
|
|
12951
12919
|
...i && { wfrId: i.wfrId }
|
|
12952
12920
|
}), { abortControllerRef: e });
|
|
12953
|
-
return i ? i.processVirtualEnvironmentDeploymentData(
|
|
12921
|
+
return i ? i.processVirtualEnvironmentDeploymentData(s.result) : X_(s.result.deploymentAppType ?? o, s.result);
|
|
12954
12922
|
}, $S = ({ titleSegments: e, handleClose: t, type: n, appDetails: r, processVirtualEnvironmentDeploymentData: i, updateDeploymentStatusDetailsBreakdownData: a, isConfigDriftEnabled: o, configDriftModal: s, appId: c, envId: l, initialTab: u, debugWithAIButton: d }) => {
|
|
12955
12923
|
let { setTempAppWindowConfig: f } = Hs(), [p, m] = q(u || null), h = K(new AbortController()), g = K(null), _ = async () => await mo(() => ZS({
|
|
12956
12924
|
appId: c,
|
|
@@ -12962,31 +12930,29 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
12962
12930
|
}), T = K(new AbortController()), E = K(null), D = async () => {
|
|
12963
12931
|
let e = await mo(() => QS({
|
|
12964
12932
|
abortControllerRef: T,
|
|
12965
|
-
appId: C.appType ===
|
|
12933
|
+
appId: C.appType === Ba.DEVTRON_HELM_CHART ? C.installedAppId : C.appId,
|
|
12966
12934
|
envId: C.environmentId,
|
|
12967
12935
|
showTimeline: p === KS.DEPLOYMENT_STATUS && C.deploymentAppType !== vr.HELM && !C.isVirtualEnvironment,
|
|
12968
12936
|
virtualEnvironmentConfig: C.isVirtualEnvironment ? {
|
|
12969
12937
|
processVirtualEnvironmentDeploymentData: i,
|
|
12970
12938
|
wfrId: C.resourceTree?.wfrId
|
|
12971
12939
|
} : null,
|
|
12972
|
-
isHelmApp: C.appType ===
|
|
12940
|
+
isHelmApp: C.appType === Ba.DEVTRON_HELM_CHART,
|
|
12973
12941
|
deploymentAppType: C.deploymentAppType
|
|
12974
12942
|
}), T);
|
|
12975
12943
|
return a?.(e), e;
|
|
12976
12944
|
}, [O, k, A, j, M] = Or(D, [w, p], !!w, { resetOnChange: !1 }), ee = async () => {
|
|
12977
12945
|
g.current = setTimeout(async () => {
|
|
12978
12946
|
try {
|
|
12979
|
-
|
|
12980
|
-
S(e);
|
|
12947
|
+
S(await _());
|
|
12981
12948
|
} catch {}
|
|
12982
12949
|
ee();
|
|
12983
12950
|
}, Number(window._env_.DEVTRON_APP_DETAILS_POLLING_INTERVAL) || 3e4);
|
|
12984
12951
|
}, te = async () => {
|
|
12985
|
-
let e = B_.includes(k?.deploymentStatus), t = Number(C.appType ===
|
|
12952
|
+
let e = B_.includes(k?.deploymentStatus), t = Number(C.appType === Ba.DEVTRON_HELM_CHART ? window._env_.HELM_APP_DETAILS_POLLING_INTERVAL : window._env_.DEVTRON_APP_DETAILS_POLLING_INTERVAL) || 3e4;
|
|
12986
12953
|
E.current = setTimeout(async () => {
|
|
12987
12954
|
try {
|
|
12988
|
-
|
|
12989
|
-
M(e);
|
|
12955
|
+
M(await D());
|
|
12990
12956
|
} catch {}
|
|
12991
12957
|
te();
|
|
12992
12958
|
}, e ? Tt : t);
|
|
@@ -13041,8 +13007,8 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
13041
13007
|
hideIcon: !0
|
|
13042
13008
|
})]
|
|
13043
13009
|
}),
|
|
13044
|
-
subTitle: `Triggered at ${
|
|
13045
|
-
imageType:
|
|
13010
|
+
subTitle: `Triggered at ${ja(k.deploymentTriggerTime)} by ${k.triggeredBy}`,
|
|
13011
|
+
imageType: va.Large
|
|
13046
13012
|
}) : /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(YS, {
|
|
13047
13013
|
appDetails: C,
|
|
13048
13014
|
type: n,
|
|
@@ -13079,7 +13045,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
13079
13045
|
onEscape: t,
|
|
13080
13046
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
13081
13047
|
className: "flexbox-col dc__content-space h-100 bg__modal--primary shadow__modal app-status-modal",
|
|
13082
|
-
onClick:
|
|
13048
|
+
onClick: Ri,
|
|
13083
13049
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
13084
13050
|
className: "app-status-modal__header pt-12 flexbox-col px-20 dc__gap-12 border__primary--bottom dc__no-shrink",
|
|
13085
13051
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -13131,10 +13097,10 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
13131
13097
|
}, a = G(() => e.history.reduce((t, n) => {
|
|
13132
13098
|
let r = e.type === no.WEBHOOK ? Li(e.type, n).substring(0, 16) : n.date.substring(0, 16);
|
|
13133
13099
|
return t[r] || (t[r] = []), t[r].push(n), t;
|
|
13134
|
-
}, {}), [e.history, e.type])
|
|
13100
|
+
}, {}), [e.history, e.type]);
|
|
13135
13101
|
return /* @__PURE__ */ (0, J.jsx)("div", {
|
|
13136
13102
|
className: "flexbox-col dc__gap-12",
|
|
13137
|
-
children:
|
|
13103
|
+
children: Object.keys(a).map((o) => {
|
|
13138
13104
|
let s = a[o];
|
|
13139
13105
|
return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [!r && /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
13140
13106
|
className: "flex left dc__gap-8",
|
|
@@ -13466,7 +13432,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
13466
13432
|
children: [/* @__PURE__ */ (0, J.jsx)(uC, { className: "icon-dim-16" }), /* @__PURE__ */ (0, J.jsx)("span", {
|
|
13467
13433
|
className: "fs-12 lh-20 fw-4 fcn-8",
|
|
13468
13434
|
"data-testid": "security-info-card-last-scan-time",
|
|
13469
|
-
children: `Scanned on ${(0, mC.default)(t).format(
|
|
13435
|
+
children: `Scanned on ${(0, mC.default)(t).format(Va.TWELVE_HOURS_FORMAT)}`
|
|
13470
13436
|
})]
|
|
13471
13437
|
}), n && /* @__PURE__ */ (0, J.jsx)(pC, {
|
|
13472
13438
|
scanToolName: n,
|
|
@@ -14568,7 +14534,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
14568
14534
|
...ew(e, n)
|
|
14569
14535
|
}, pw = (e) => {
|
|
14570
14536
|
switch (e) {
|
|
14571
|
-
case "Completed": return /* @__PURE__ */ (0, J.jsx)(
|
|
14537
|
+
case "Completed": return /* @__PURE__ */ (0, J.jsx)(Ua, { className: "icon-dim-16 dc__no-shrink" });
|
|
14572
14538
|
case "Failed": return /* @__PURE__ */ (0, J.jsx)($h, { className: "icon-dim-16 ic-error-cross-red dc__no-shrink" });
|
|
14573
14539
|
case "Progressing": return /* @__PURE__ */ (0, J.jsx)(rt, {
|
|
14574
14540
|
fillColor: "var(--Y500)",
|
|
@@ -14579,7 +14545,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
14579
14545
|
});
|
|
14580
14546
|
default: return null;
|
|
14581
14547
|
}
|
|
14582
|
-
}, mw = (e, t) => e && e !== "0001-01-01T00:00:00Z" && t === "Completed" ? (0, mC.default)(e).format(
|
|
14548
|
+
}, mw = (e, t) => e && e !== "0001-01-01T00:00:00Z" && t === "Completed" ? (0, mC.default)(e).format(Va.TWELVE_HOURS_FORMAT) : t === "Progressing" ? "Scan in progress" : null, hw = (e, t, n) => ({
|
|
14583
14549
|
headers: [
|
|
14584
14550
|
{
|
|
14585
14551
|
headerText: "image",
|
|
@@ -14976,7 +14942,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
14976
14942
|
close: t,
|
|
14977
14943
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
14978
14944
|
className: `${e ? "w-1024" : "w-800"} h-100 bg__modal--primary flexbox-col dc__right-0 dc__top-0 dc__position-abs dc__overflow-hidden`,
|
|
14979
|
-
onClick:
|
|
14945
|
+
onClick: Ri,
|
|
14980
14946
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
14981
14947
|
className: "flexbox dc__content-space dc__align-items-center pl-20 pr-20 pt-12 pb-12 dc__border-bottom dc__no-shrink",
|
|
14982
14948
|
children: [/* @__PURE__ */ (0, J.jsx)("span", {
|
|
@@ -15043,7 +15009,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
15043
15009
|
let e = Mw(s, c.category, c.subCategory, p);
|
|
15044
15010
|
if (e) return /* @__PURE__ */ (0, J.jsx)(Cv, {
|
|
15045
15011
|
...e,
|
|
15046
|
-
imageType:
|
|
15012
|
+
imageType: va.Large
|
|
15047
15013
|
});
|
|
15048
15014
|
let { headers: t, rows: n, defaultSortIndex: r, hasExpandableRows: i } = p || Aw(s, c.category, c.subCategory, u, a), { entities: o, lastScanTimeString: l, scanToolName: d, scanToolUrl: m } = p || Ew(s, c.category, c.subCategory);
|
|
15049
15015
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -15074,14 +15040,14 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
15074
15040
|
installedAppId: n,
|
|
15075
15041
|
artifactId: r,
|
|
15076
15042
|
installedAppVersionHistoryId: i
|
|
15077
|
-
}
|
|
15078
|
-
return await
|
|
15043
|
+
};
|
|
15044
|
+
return await U(Se(H.SCAN_RESULT, a));
|
|
15079
15045
|
}, Fw = async ({ appId: e, buildId: t }) => {
|
|
15080
15046
|
let n = {
|
|
15081
15047
|
appId: e,
|
|
15082
15048
|
buildId: t
|
|
15083
|
-
}
|
|
15084
|
-
return await
|
|
15049
|
+
};
|
|
15050
|
+
return await U(Se(H.SCAN_RESULT_RECOMMENDATIONS, n));
|
|
15085
15051
|
}, Iw = {
|
|
15086
15052
|
[Z.IMAGE_SCAN]: {
|
|
15087
15053
|
label: CC.IMAGE_SCAN,
|
|
@@ -15309,11 +15275,11 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
15309
15275
|
className: "dc__grid security-cards",
|
|
15310
15276
|
children: p[t].subCategories.map((n) => {
|
|
15311
15277
|
if (!e[t][n]) return null;
|
|
15312
|
-
let r = t === Z.IMAGE_SCAN && XC(e[t][n].list ?? []) === "Failed"
|
|
15278
|
+
let r = t === Z.IMAGE_SCAN && XC(e[t][n].list ?? []) === "Failed";
|
|
15313
15279
|
return /* @__PURE__ */ (0, J.jsx)(Hw, {
|
|
15314
15280
|
category: t,
|
|
15315
15281
|
subCategory: n,
|
|
15316
|
-
severities:
|
|
15282
|
+
severities: n === Q.MISCONFIGURATIONS ? e[t][n]?.misConfSummary?.status : e[t][n]?.summary?.severities,
|
|
15317
15283
|
handleCardClick: h(t, n),
|
|
15318
15284
|
scanFailed: r
|
|
15319
15285
|
});
|
|
@@ -15441,11 +15407,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
15441
15407
|
l(e);
|
|
15442
15408
|
}, m = Al((e, t) => {
|
|
15443
15409
|
let n = Yw.some((e) => e.label === u), r = Qw[u] ?? ((e) => e);
|
|
15444
|
-
|
|
15445
|
-
let n = e.additionalKeys?.find((e) => e.label === u)?.value || "", r = t.additionalKeys?.find((e) => e.label === u)?.value || "";
|
|
15446
|
-
return en(n, r, d);
|
|
15447
|
-
}
|
|
15448
|
-
return (d === Wt.ASC ? 1 : -1) * (r(e[Xw[u]]) < r(t[Xw[u]]) ? -1 : 1);
|
|
15410
|
+
return n ? (d === Wt.ASC ? 1 : -1) * (r(e[Xw[u]]) < r(t[Xw[u]]) ? -1 : 1) : en(e.additionalKeys?.find((e) => e.label === u)?.value || "", t.additionalKeys?.find((e) => e.label === u)?.value || "", d);
|
|
15449
15411
|
}, [d, u]), h = r.getResults(e ? null : m), g = Yw.reduce((e, t, n) => {
|
|
15450
15412
|
if (e.push(t), n === 0) {
|
|
15451
15413
|
let t = h?.[0]?.additionalKeys;
|
|
@@ -15468,7 +15430,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
15468
15430
|
parentClassName: "h-100",
|
|
15469
15431
|
children: /* @__PURE__ */ (0, J.jsxs)("dialog", {
|
|
15470
15432
|
className: "bg__primary h-100 cn-9 w-100 flexbox-col dc__overflow-hidden p-0 bulk-operation__results-modal",
|
|
15471
|
-
onClick:
|
|
15433
|
+
onClick: Ri,
|
|
15472
15434
|
children: [
|
|
15473
15435
|
/* @__PURE__ */ (0, J.jsxs)("header", {
|
|
15474
15436
|
className: "px-20 py-12 lh-24 flexbox dc__content-space dc__align-items-center dc__border-bottom",
|
|
@@ -15663,7 +15625,7 @@ var Bx = /* @__PURE__ */ function(e) {
|
|
|
15663
15625
|
description: "Action completed"
|
|
15664
15626
|
}), i && _();
|
|
15665
15627
|
} catch (e) {
|
|
15666
|
-
|
|
15628
|
+
Ka(e);
|
|
15667
15629
|
} finally {
|
|
15668
15630
|
d(!1);
|
|
15669
15631
|
}
|
|
@@ -16486,34 +16448,30 @@ var NT = (e) => {
|
|
|
16486
16448
|
return;
|
|
16487
16449
|
}
|
|
16488
16450
|
let { caretX: n, caretY: r } = t, { offsetLeft: i, offsetTop: a } = e.chart.canvas;
|
|
16489
|
-
_.current.style.transform = `translate(${i + n}px, ${a + r}px)`, _.current.style.pointerEvents = "none"
|
|
16490
|
-
let o = p ? p(e) : jT({
|
|
16451
|
+
_.current.style.transform = `translate(${i + n}px, ${a + r}px)`, _.current.style.pointerEvents = "none", S(p ? p(e) : jT({
|
|
16491
16452
|
title: t.title,
|
|
16492
16453
|
body: t.body,
|
|
16493
16454
|
labelColors: t.labelColors
|
|
16494
|
-
});
|
|
16495
|
-
S(o), b(!0);
|
|
16455
|
+
})), b(!0);
|
|
16496
16456
|
}, 50);
|
|
16497
16457
|
return W(() => {
|
|
16498
16458
|
let a = h.current?.getContext("2d");
|
|
16499
|
-
|
|
16500
|
-
|
|
16501
|
-
|
|
16502
|
-
|
|
16503
|
-
|
|
16504
|
-
|
|
16505
|
-
|
|
16506
|
-
|
|
16507
|
-
|
|
16508
|
-
|
|
16509
|
-
|
|
16510
|
-
|
|
16511
|
-
|
|
16512
|
-
|
|
16513
|
-
|
|
16514
|
-
|
|
16515
|
-
data: l,
|
|
16516
|
-
options: { ...u },
|
|
16459
|
+
return a ? (g.current = new Lc(a, {
|
|
16460
|
+
type: yT(o),
|
|
16461
|
+
data: {
|
|
16462
|
+
labels: n,
|
|
16463
|
+
datasets: OT({
|
|
16464
|
+
type: o,
|
|
16465
|
+
datasets: s,
|
|
16466
|
+
appTheme: C
|
|
16467
|
+
})
|
|
16468
|
+
},
|
|
16469
|
+
options: { ...CT({
|
|
16470
|
+
chartProps: e,
|
|
16471
|
+
appTheme: C,
|
|
16472
|
+
externalTooltipHandler: w,
|
|
16473
|
+
setTooltipVisible: b
|
|
16474
|
+
}) },
|
|
16517
16475
|
plugins: [
|
|
16518
16476
|
...(i ?? []).map((e, t) => hT(e, `reference-line-${t}`, C)),
|
|
16519
16477
|
...f && (o === "pie" || o === "semiPie") ? [vT(f, C)] : [],
|
|
@@ -16521,7 +16479,7 @@ var NT = (e) => {
|
|
|
16521
16479
|
]
|
|
16522
16480
|
}), () => {
|
|
16523
16481
|
g.current.destroy();
|
|
16524
|
-
};
|
|
16482
|
+
}) : z;
|
|
16525
16483
|
}, [
|
|
16526
16484
|
o,
|
|
16527
16485
|
s,
|
|
@@ -16552,7 +16510,7 @@ var NT = (e) => {
|
|
|
16552
16510
|
content: x,
|
|
16553
16511
|
visible: y,
|
|
16554
16512
|
placement: m,
|
|
16555
|
-
appendTo: document.getElementById(
|
|
16513
|
+
appendTo: document.getElementById(xa),
|
|
16556
16514
|
className: "default-tt dc__mxw-400 dc__word-break",
|
|
16557
16515
|
moveTransition: "transform 200ms cubic-bezier(.42,.61,.64,.81)",
|
|
16558
16516
|
children: /* @__PURE__ */ (0, J.jsx)("span", {
|
|
@@ -17384,7 +17342,7 @@ var NT = (e) => {
|
|
|
17384
17342
|
menuIsOpen: !1,
|
|
17385
17343
|
isSearchable: !1,
|
|
17386
17344
|
value: {
|
|
17387
|
-
label: f ? `${t.from ? (0, mC.default)(t.from).format(
|
|
17345
|
+
label: f ? `${t.from ? (0, mC.default)(t.from).format(Va.DD_MMM_YYYY) : ""} - ${t.to ? (0, mC.default)(t.to).format(Va.DD_MMM_YYYY) : "..."}` : (0, mC.default)(e).format(Va.DD_MMM_YYYY),
|
|
17388
17346
|
value: "",
|
|
17389
17347
|
startIcon: /* @__PURE__ */ (0, J.jsx)(I, {
|
|
17390
17348
|
name: "ic-calendar",
|
|
@@ -17437,7 +17395,7 @@ var NT = (e) => {
|
|
|
17437
17395
|
}),
|
|
17438
17396
|
d && /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
17439
17397
|
className: "form__error",
|
|
17440
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
17398
|
+
children: [/* @__PURE__ */ (0, J.jsx)(la, { className: "form__icon form__icon--error" }), d]
|
|
17441
17399
|
})
|
|
17442
17400
|
]
|
|
17443
17401
|
});
|
|
@@ -17815,7 +17773,7 @@ var VE = class {
|
|
|
17815
17773
|
}, v = (e) => {
|
|
17816
17774
|
f(e.target.value);
|
|
17817
17775
|
}, y = (r) => {
|
|
17818
|
-
|
|
17776
|
+
Ri(r);
|
|
17819
17777
|
let i = { ...t };
|
|
17820
17778
|
i[a] = r.currentTarget.dataset.key, i.propagate = r.currentTarget.dataset.propagate === "true", n(e, i), m("");
|
|
17821
17779
|
}, b = () => {
|
|
@@ -17825,7 +17783,7 @@ var VE = class {
|
|
|
17825
17783
|
};
|
|
17826
17784
|
return a === Qt.KEY ? (d || t.value) && (e = h.propagateTagKey(d)) : (i || d || t.propagate) && (e = h.propagateTagValue(d, t.key)), e.isValid ? null : /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
17827
17785
|
className: "p-4",
|
|
17828
|
-
onClick:
|
|
17786
|
+
onClick: Ri,
|
|
17829
17787
|
"data-testid": "tag-label-cross-stop-propagation",
|
|
17830
17788
|
children: [e.messages.map((e) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
17831
17789
|
className: "flexbox pr-4 pl-4",
|
|
@@ -17929,7 +17887,7 @@ var VE = class {
|
|
|
17929
17887
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
17930
17888
|
className: "dc__border pl-4 pr-4 dc__right-radius-4 pointer flex top",
|
|
17931
17889
|
onClick: (t) => {
|
|
17932
|
-
|
|
17890
|
+
Ri(t), r(e);
|
|
17933
17891
|
},
|
|
17934
17892
|
"data-testid": `delete-tag-${e}`,
|
|
17935
17893
|
children: /* @__PURE__ */ (0, J.jsx)(oo, { className: "icon-dim-20 mt-4" })
|
|
@@ -18056,11 +18014,10 @@ var VE = class {
|
|
|
18056
18014
|
}), {}), e), {});
|
|
18057
18015
|
let y = G(() => e.map(({ id: e }) => e), [e]);
|
|
18058
18016
|
W(() => {
|
|
18059
|
-
|
|
18017
|
+
v.current = y.reduce((e, n) => (v.current[n] ? e[n] = v.current[n] : e[n] = t.reduce((e, { key: t }) => ({
|
|
18060
18018
|
...e,
|
|
18061
18019
|
[t]: Ol()
|
|
18062
18020
|
}), {}), e), {});
|
|
18063
|
-
v.current = e;
|
|
18064
18021
|
}, [JSON.stringify(y)]);
|
|
18065
18022
|
let b = (e, t) => (n) => {
|
|
18066
18023
|
let r = "", i = {
|
|
@@ -18076,7 +18033,9 @@ var VE = class {
|
|
|
18076
18033
|
r = n[0]?.name || "", i.files = n;
|
|
18077
18034
|
break;
|
|
18078
18035
|
case OE.TEXT:
|
|
18079
|
-
default:
|
|
18036
|
+
default:
|
|
18037
|
+
r = n.target.value;
|
|
18038
|
+
break;
|
|
18080
18039
|
}
|
|
18081
18040
|
o(e, t, r, i);
|
|
18082
18041
|
}, x = (e) => () => {
|
|
@@ -18127,7 +18086,7 @@ var VE = class {
|
|
|
18127
18086
|
}
|
|
18128
18087
|
case OE.BUTTON: return /* @__PURE__ */ (0, J.jsx)("div", {
|
|
18129
18088
|
className: "w-100 h-100 flex top",
|
|
18130
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
18089
|
+
children: /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
18131
18090
|
condition: !!u,
|
|
18132
18091
|
wrap: XE(u, e),
|
|
18133
18092
|
children: /* @__PURE__ */ (0, J.jsxs)("button", {
|
|
@@ -18423,7 +18382,7 @@ var VE = class {
|
|
|
18423
18382
|
onClick: () => a(!i)
|
|
18424
18383
|
})]
|
|
18425
18384
|
});
|
|
18426
|
-
}, aD =
|
|
18385
|
+
}, aD = 2 * 1024 * 1024, oD = {
|
|
18427
18386
|
width: 72,
|
|
18428
18387
|
height: 72
|
|
18429
18388
|
}, sD = "Please provide image URL to preview", cD = "edit-image-form-field__figure-container--base-image", lD = ({ showEditIcon: e, defaultIcon: t }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
@@ -18472,12 +18431,12 @@ var VE = class {
|
|
|
18472
18431
|
let e = await fetch(r, { mode: "cors" });
|
|
18473
18432
|
if (!e.ok) throw Error("Invalid network response");
|
|
18474
18433
|
let t = await e.blob();
|
|
18475
|
-
if (t.size > 2097152) throw Error(`Please add an image smaller than ${aD /
|
|
18434
|
+
if (t.size > 2097152) throw Error(`Please add an image smaller than ${aD / (1024 * 1024)} MB`);
|
|
18476
18435
|
let n = URL.createObjectURL(t), i = await ic(n);
|
|
18477
18436
|
if (URL.revokeObjectURL(n), !i.isValid) throw Error(i.message);
|
|
18478
18437
|
y();
|
|
18479
18438
|
} catch (e) {
|
|
18480
|
-
n(e.message || "Failed to load image"),
|
|
18439
|
+
n(e.message || "Failed to load image"), Ka(e);
|
|
18481
18440
|
} finally {
|
|
18482
18441
|
p(!1);
|
|
18483
18442
|
}
|
|
@@ -18559,10 +18518,10 @@ var VE = class {
|
|
|
18559
18518
|
return [...t, ...r];
|
|
18560
18519
|
}, []) : [], mD = async () => {
|
|
18561
18520
|
try {
|
|
18562
|
-
let { result: e } = await
|
|
18521
|
+
let { result: e } = await U(H.ENVIRONMENT_LIST_MIN);
|
|
18563
18522
|
return e ? fD(e) : [];
|
|
18564
18523
|
} catch (e) {
|
|
18565
|
-
return
|
|
18524
|
+
return Ka(e), e;
|
|
18566
18525
|
}
|
|
18567
18526
|
}, hD = ({ handleEnvironmentChange: e, selectedEnvironmentsMap: t, isMulti: n, placeholder: r = dD.DEFAULT_PLACEHOLDER, processOptions: i, styles: a, isClearable: o, autoFocus: s }) => {
|
|
18568
18527
|
let [c, l, u, d] = Or(mD), f = G(() => l ? i?.(l) || l : [], [l, i]), p = G(() => {
|
|
@@ -18683,11 +18642,9 @@ var VE = class {
|
|
|
18683
18642
|
}), vD = ({ apiPromise: e, fileName: t, triggerElementConfig: n, disabled: r, modalConfig: i, headers: a, downloadRequestId: o }) => {
|
|
18684
18643
|
let s = K(null), c = K(null), [l, u] = q([]), [d, f] = q(null), [p, m] = q(!1), [h, g] = q(null), [_, v] = q(!1), y = async () => {
|
|
18685
18644
|
if (!r) try {
|
|
18686
|
-
m(!0), g(null);
|
|
18687
|
-
let t = await e({ signal: c.current.signal });
|
|
18688
|
-
u(t), v(!0);
|
|
18645
|
+
m(!0), g(null), u(await e({ signal: c.current.signal })), v(!0);
|
|
18689
18646
|
} catch (e) {
|
|
18690
|
-
Mr(e) || (
|
|
18647
|
+
Mr(e) || (Ka(e), g(e));
|
|
18691
18648
|
} finally {
|
|
18692
18649
|
c.current = new AbortController(), m(!1);
|
|
18693
18650
|
}
|
|
@@ -18737,7 +18694,7 @@ var VE = class {
|
|
|
18737
18694
|
}) : null,
|
|
18738
18695
|
/* @__PURE__ */ (0, J.jsx)(Zc, {
|
|
18739
18696
|
ref: s,
|
|
18740
|
-
filename: `${t}_${
|
|
18697
|
+
filename: `${t}_${Oa().format(Va.TWELVE_HOURS_EXPORT_FORMAT)}.csv`,
|
|
18741
18698
|
headers: a,
|
|
18742
18699
|
data: l || [],
|
|
18743
18700
|
className: pn
|
|
@@ -18761,7 +18718,7 @@ var VE = class {
|
|
|
18761
18718
|
return e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e;
|
|
18762
18719
|
}({}), bD = (e) => {
|
|
18763
18720
|
switch (e) {
|
|
18764
|
-
case
|
|
18721
|
+
case va.SMALL: return {
|
|
18765
18722
|
width: "100%",
|
|
18766
18723
|
height: "200px"
|
|
18767
18724
|
};
|
|
@@ -18802,7 +18759,7 @@ var VE = class {
|
|
|
18802
18759
|
close: i,
|
|
18803
18760
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
18804
18761
|
className: "feature-description modal__body w-600 mt-40 flex column p-0 fs-13 dc__overflow-hidden",
|
|
18805
|
-
onClick:
|
|
18762
|
+
onClick: Ri,
|
|
18806
18763
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
18807
18764
|
className: "flex left w-100 fs-16 fw-6 px-20 py-16",
|
|
18808
18765
|
children: e
|
|
@@ -18942,7 +18899,7 @@ var VE = class {
|
|
|
18942
18899
|
let i = `?${r ? "" : `appId=${e}&`}scope={`;
|
|
18943
18900
|
return r || (i += kD("appId", e)), i += kD("envId", t), i += kD("clusterId", n), i.endsWith(",") && (i = i.slice(0, -1)), i += "}", i;
|
|
18944
18901
|
}, jD = async (e, t, n, { hideObjectVariables: r, isTemplateView: i }) => {
|
|
18945
|
-
let { result: a } = await
|
|
18902
|
+
let { result: a } = await U(`${H.SCOPED_GLOBAL_VARIABLES}${AD({
|
|
18946
18903
|
appId: e,
|
|
18947
18904
|
envId: t,
|
|
18948
18905
|
clusterId: n,
|
|
@@ -18980,7 +18937,7 @@ var VE = class {
|
|
|
18980
18937
|
return e;
|
|
18981
18938
|
}
|
|
18982
18939
|
};
|
|
18983
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
18940
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
18984
18941
|
condition: a,
|
|
18985
18942
|
wrap: (e) => /* @__PURE__ */ (0, J.jsx)(F, {
|
|
18986
18943
|
className: "default-tt dc__word-break-all",
|
|
@@ -19075,8 +19032,8 @@ var VE = class {
|
|
|
19075
19032
|
s(n);
|
|
19076
19033
|
}, [n]);
|
|
19077
19034
|
let p = (e) => {
|
|
19078
|
-
let t = e.trim().toLowerCase()
|
|
19079
|
-
s(
|
|
19035
|
+
let t = e.trim().toLowerCase();
|
|
19036
|
+
s(n.filter((e) => e.variableName.toLowerCase().includes(t) || e.shortDescription?.toLowerCase().includes(t))), d(t);
|
|
19080
19037
|
}, m = () => {
|
|
19081
19038
|
l(!c);
|
|
19082
19039
|
};
|
|
@@ -19394,7 +19351,7 @@ var VE = class {
|
|
|
19394
19351
|
children: /* @__PURE__ */ (0, J.jsx)(op, {
|
|
19395
19352
|
onEscape: a,
|
|
19396
19353
|
onClick: o ? i : z,
|
|
19397
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
19354
|
+
children: /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
19398
19355
|
className: `shadow__modal flexbox-col bg__primary ${HD[c]} br-${r} dc__m-auto ${l ? "" : "mt-40"} dc__overflow-hidden ${VD[n]}`,
|
|
19399
19356
|
exit: {
|
|
19400
19357
|
y: 100,
|
|
@@ -19412,7 +19369,7 @@ var VE = class {
|
|
|
19412
19369
|
opacity: 1,
|
|
19413
19370
|
scale: 1
|
|
19414
19371
|
},
|
|
19415
|
-
onClick:
|
|
19372
|
+
onClick: Ri,
|
|
19416
19373
|
children: s
|
|
19417
19374
|
})
|
|
19418
19375
|
})
|
|
@@ -19630,7 +19587,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19630
19587
|
config: { name: "ic-arrow-square-out" }
|
|
19631
19588
|
},
|
|
19632
19589
|
componentType: "anchor",
|
|
19633
|
-
href:
|
|
19590
|
+
href: Ui
|
|
19634
19591
|
},
|
|
19635
19592
|
{
|
|
19636
19593
|
id: cO.JOIN_DISCORD_COMMUNITY,
|
|
@@ -19671,7 +19628,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19671
19628
|
label: "Request Support",
|
|
19672
19629
|
startIcon: { name: "ic-file-edit" },
|
|
19673
19630
|
componentType: "anchor",
|
|
19674
|
-
href:
|
|
19631
|
+
href: ia
|
|
19675
19632
|
}], fO = [
|
|
19676
19633
|
{
|
|
19677
19634
|
id: cO.OPEN_NEW_TICKET,
|
|
@@ -19692,7 +19649,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19692
19649
|
label: "Give feedback",
|
|
19693
19650
|
startIcon: { name: "ic-megaphone-right" }
|
|
19694
19651
|
}
|
|
19695
|
-
], pO = (e) =>
|
|
19652
|
+
], pO = (e) => Na(H.TELEMETRY_EVENT, e), mO, hO = (e) => !!(e?.result && e.result.releaseName && e.result.installationType), gO = () => {
|
|
19696
19653
|
if (!hO(mO) && typeof Storage < "u" && localStorage.serverInfo) {
|
|
19697
19654
|
let e = JSON.parse(localStorage.serverInfo);
|
|
19698
19655
|
hO(e) && (mO = e);
|
|
@@ -19703,7 +19660,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19703
19660
|
let e = gO();
|
|
19704
19661
|
if (e) return Promise.resolve(e);
|
|
19705
19662
|
}
|
|
19706
|
-
let n = await
|
|
19663
|
+
let n = await U(`${H.SERVER_INFO_API}${e ? "?showServerStatus=false" : ""}`);
|
|
19707
19664
|
return mO = n, typeof Storage < "u" && (localStorage.serverInfo = JSON.stringify(mO)), Promise.resolve(n);
|
|
19708
19665
|
}, vO = 864e5, yO = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * vO, bO = async (e) => {
|
|
19709
19666
|
await pO({
|
|
@@ -19717,9 +19674,9 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19717
19674
|
}, SO = ({ isEnterprise: e, isTrialOrFreemium: t, docPath: n }) => [{ items: lO({ docPath: n }) }, ...e ? [{
|
|
19718
19675
|
groupLabel: "Enterprise Support",
|
|
19719
19676
|
items: t ? dO : fO
|
|
19720
|
-
}] : [{ items: uO }]], CO = (e) =>
|
|
19677
|
+
}] : [{ items: uO }]], CO = (e) => Na(`${H.ATTRIBUTES_USER}/${H.UPDATE}`, e), wO = ({ hideGettingStartedCard: e }) => /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
19721
19678
|
className: "cn-0 p-20 br-8 fs-13 bg__overlay--primary dc__border w-300",
|
|
19722
|
-
onClick:
|
|
19679
|
+
onClick: Ri,
|
|
19723
19680
|
children: [
|
|
19724
19681
|
/* @__PURE__ */ (0, J.jsx)("img", {
|
|
19725
19682
|
className: "mb-12 icon-dim-32",
|
|
@@ -19806,7 +19763,10 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19806
19763
|
case cO.VIEW_DOCUMENTATION:
|
|
19807
19764
|
C(e, t);
|
|
19808
19765
|
break;
|
|
19809
|
-
case cO.UPGRADE_TO_OSS_PLUS:
|
|
19766
|
+
case cO.UPGRADE_TO_OSS_PLUS:
|
|
19767
|
+
g?.(!0);
|
|
19768
|
+
break;
|
|
19769
|
+
default:
|
|
19810
19770
|
}
|
|
19811
19771
|
}, T = () => (/* @__PURE__ */ new Date()).valueOf() > s;
|
|
19812
19772
|
W(() => {
|
|
@@ -19881,7 +19841,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
19881
19841
|
close: o,
|
|
19882
19842
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
19883
19843
|
className: "modal-body--ci-material h-100 dc__overflow-hidden dc__border-left flex column dc__content-space w-100",
|
|
19884
|
-
onClick:
|
|
19844
|
+
onClick: Ri,
|
|
19885
19845
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
19886
19846
|
className: "trigger-modal__header w-100",
|
|
19887
19847
|
children: [/* @__PURE__ */ (0, J.jsx)("h1", {
|
|
@@ -20321,7 +20281,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
20321
20281
|
close: d,
|
|
20322
20282
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20323
20283
|
className: "dc__overflow-auto br-8 dc__position-rel bg__primary custom-panel--iframe-element flexbox-col dc__content-space",
|
|
20324
|
-
onClick:
|
|
20284
|
+
onClick: Ri,
|
|
20325
20285
|
children: [/* @__PURE__ */ (0, J.jsxs)("div", {
|
|
20326
20286
|
className: "flexbox dc__align-items-center dc__content-space dc__border-bottom py-20 px-16",
|
|
20327
20287
|
children: [/* @__PURE__ */ (0, J.jsx)("h3", {
|
|
@@ -20347,20 +20307,17 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
20347
20307
|
})]
|
|
20348
20308
|
})
|
|
20349
20309
|
})] });
|
|
20350
|
-
}, IO = ({ iframeList: e, maxHeight: t = 300, maxWidth: n = 300 }) => {
|
|
20351
|
-
|
|
20352
|
-
|
|
20353
|
-
|
|
20354
|
-
|
|
20355
|
-
|
|
20356
|
-
|
|
20357
|
-
|
|
20358
|
-
|
|
20359
|
-
|
|
20360
|
-
|
|
20361
|
-
}, r))
|
|
20362
|
-
});
|
|
20363
|
-
}, LO = (e) => /* @__PURE__ */ (0, J.jsxs)("svg", {
|
|
20310
|
+
}, IO = ({ iframeList: e, maxHeight: t = 300, maxWidth: n = 300 }) => /* @__PURE__ */ (0, J.jsx)("div", {
|
|
20311
|
+
className: "flexbox dc__gap-16 flex-wrap w-100",
|
|
20312
|
+
children: e.sort((e, t) => (e?.order || 0) - (t?.order || 0)).map((e, r) => /* @__PURE__ */ (0, J.jsx)(FO, {
|
|
20313
|
+
URL: e.URL,
|
|
20314
|
+
width: e.width,
|
|
20315
|
+
height: e.height,
|
|
20316
|
+
title: e.title,
|
|
20317
|
+
maxHeight: t,
|
|
20318
|
+
maxWidth: n
|
|
20319
|
+
}, r))
|
|
20320
|
+
}), LO = (e) => /* @__PURE__ */ (0, J.jsxs)("svg", {
|
|
20364
20321
|
"data-style-override": "false",
|
|
20365
20322
|
width: 250,
|
|
20366
20323
|
height: 200,
|
|
@@ -24458,7 +24415,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24458
24415
|
}), /* @__PURE__ */ (0, J.jsx)("div", { children: e })] }), ek = ({ imagePath: e, registryName: t, registryType: n, image: r, deployedTime: i, deployedBy: a, isRollbackTrigger: o, excludedImagePathNode: s, approvalChecksNode: c, approvalInfoTippy: l }) => /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
|
|
24459
24416
|
/* @__PURE__ */ (0, J.jsx)("div", {
|
|
24460
24417
|
className: "flex left column",
|
|
24461
|
-
children: s ?? /* @__PURE__ */ (0, J.jsx)(
|
|
24418
|
+
children: s ?? /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
24462
24419
|
condition: !!e,
|
|
24463
24420
|
wrap: (n) => /* @__PURE__ */ (0, J.jsx)(Ao, {
|
|
24464
24421
|
className: "default-tt dc__mxw-500",
|
|
@@ -24601,15 +24558,15 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24601
24558
|
title: i
|
|
24602
24559
|
})] });
|
|
24603
24560
|
}, p = a !== v.CD;
|
|
24604
|
-
return !e && !l && (a !== v.CD || !t && !Object.values(
|
|
24561
|
+
return !e && !l && (a !== v.CD || !t && !Object.values(Ea).includes(n) && !o && !c?.length) ? null : /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
24605
24562
|
className: `bg__primary pb-8 br-4 flex left flex-wrap ${p ? "dc__gap-8" : ""}`,
|
|
24606
24563
|
children: [a === v.CD ? /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [
|
|
24607
24564
|
f(),
|
|
24608
|
-
n ===
|
|
24565
|
+
n === Ea.PROGRESSING && /* @__PURE__ */ (0, J.jsx)(ik, {
|
|
24609
24566
|
envStateText: tk.DEPLOYING,
|
|
24610
24567
|
title: r
|
|
24611
24568
|
}),
|
|
24612
|
-
(n ===
|
|
24569
|
+
(n === Ea.DEGRADED || n === Ea.FAILED) && /* @__PURE__ */ (0, J.jsx)(ik, {
|
|
24613
24570
|
envStateText: tk.FAILED,
|
|
24614
24571
|
title: r
|
|
24615
24572
|
}),
|
|
@@ -24671,16 +24628,16 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24671
24628
|
children: r
|
|
24672
24629
|
})
|
|
24673
24630
|
}), ck = ({ isSecurityModuleInstalled: e, artifactId: t, applicationId: n, environmentId: r, changesCard: i, isScanned: a, isScanEnabled: o, SecurityModalSidebar: s }) => {
|
|
24674
|
-
let [c, l] = q(!1), [u, d] = q(
|
|
24631
|
+
let [c, l] = q(!1), [u, d] = q(ua.Changes), [f, p] = q(null);
|
|
24675
24632
|
return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsxs)("ul", {
|
|
24676
24633
|
className: `tab-list tab-list--vulnerability ${c ? "" : "tab-bottom-radius"}`,
|
|
24677
24634
|
children: [c && (e ? /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(sk, {
|
|
24678
|
-
currentTab:
|
|
24635
|
+
currentTab: ua.Changes,
|
|
24679
24636
|
activeTab: u,
|
|
24680
24637
|
setActiveTab: d,
|
|
24681
24638
|
buttonText: "Changes"
|
|
24682
24639
|
}), /* @__PURE__ */ (0, J.jsx)(sk, {
|
|
24683
|
-
currentTab:
|
|
24640
|
+
currentTab: ua.Security,
|
|
24684
24641
|
activeTab: u,
|
|
24685
24642
|
setActiveTab: d,
|
|
24686
24643
|
buttonText: `Security ${f ? `(${f})` : ""}`
|
|
@@ -24702,7 +24659,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24702
24659
|
})]
|
|
24703
24660
|
})
|
|
24704
24661
|
})]
|
|
24705
|
-
}), c ? u ===
|
|
24662
|
+
}), c ? u === ua.Changes ? i : /* @__PURE__ */ (0, J.jsx)(qw, {
|
|
24706
24663
|
isScanned: a,
|
|
24707
24664
|
isScanEnabled: o,
|
|
24708
24665
|
artifactId: t,
|
|
@@ -24827,13 +24784,13 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24827
24784
|
key: {
|
|
24828
24785
|
...e,
|
|
24829
24786
|
type: OE.TEXT,
|
|
24830
|
-
value: r && n.key ?
|
|
24787
|
+
value: r && n.key ? zi : e.value,
|
|
24831
24788
|
props: { placeholder: t.key }
|
|
24832
24789
|
},
|
|
24833
24790
|
value: {
|
|
24834
24791
|
...i,
|
|
24835
24792
|
type: OE.TEXT,
|
|
24836
|
-
value: r && n.value ?
|
|
24793
|
+
value: r && n.value ? zi : i.value,
|
|
24837
24794
|
props: { placeholder: t.value }
|
|
24838
24795
|
}
|
|
24839
24796
|
},
|
|
@@ -24925,14 +24882,14 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24925
24882
|
validationSchema: d
|
|
24926
24883
|
});
|
|
24927
24884
|
g(t), f?.(!e), C();
|
|
24928
|
-
}, []),
|
|
24885
|
+
}, []), ba(() => {
|
|
24929
24886
|
if (!i) {
|
|
24930
24887
|
v(S);
|
|
24931
24888
|
return;
|
|
24932
24889
|
}
|
|
24933
|
-
let e = new Map(S.map((e) => [e.id, e])), t = new Set(_.map((e) => e.id)), n = _.map((t) => e.get(t.id)).filter(Boolean)
|
|
24934
|
-
v([...
|
|
24935
|
-
}, [S]),
|
|
24890
|
+
let e = new Map(S.map((e) => [e.id, e])), t = new Set(_.map((e) => e.id)), n = _.map((t) => e.get(t.id)).filter(Boolean);
|
|
24891
|
+
v([...S.filter((e) => !t.has(e.id)), ...n]);
|
|
24892
|
+
}, [S]), ba(() => {
|
|
24936
24893
|
C();
|
|
24937
24894
|
}, [y, b]);
|
|
24938
24895
|
let w = (e) => {
|
|
@@ -24952,14 +24909,12 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
24952
24909
|
rows: _,
|
|
24953
24910
|
cellError: u ? h : {},
|
|
24954
24911
|
onRowAdd: () => {
|
|
24955
|
-
|
|
24956
|
-
w(e);
|
|
24912
|
+
w([yk(n), ...S]);
|
|
24957
24913
|
},
|
|
24958
24914
|
onRowDelete: (e) => {
|
|
24959
24915
|
let t = S.filter(({ id: t }) => t !== e.id);
|
|
24960
24916
|
if (t.length === 0 && !s) {
|
|
24961
|
-
|
|
24962
|
-
w([e]);
|
|
24917
|
+
w([yk(n)]);
|
|
24963
24918
|
return;
|
|
24964
24919
|
}
|
|
24965
24920
|
w(t);
|
|
@@ -25006,10 +24961,10 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25006
24961
|
};
|
|
25007
24962
|
}
|
|
25008
24963
|
}, kk = ({ ttl: e, reminderThreshold: t }) => e <= 0 ? Dk.EXPIRED : e < t * 24 * 60 * 60 ? Dk.REMINDER_THRESHOLD_REACHED : Dk.ACTIVE, Ak = (e, t) => {
|
|
25009
|
-
let { isTrial: n, expiry: r, ttl: i, reminderThreshold: a, organisationMetadata: o, license: s, claimedByUserDetails: c, isFreemium: l, licenseStatusError: u, isSaasInstance: d, timeElapsedSinceCreation: f, creationTime: p } = e || {}, m = d && p ?
|
|
24964
|
+
let { isTrial: n, expiry: r, ttl: i, reminderThreshold: a, organisationMetadata: o, license: s, claimedByUserDetails: c, isFreemium: l, licenseStatusError: u, isSaasInstance: d, timeElapsedSinceCreation: f, creationTime: p } = e || {}, m = d && p ? Oa(p).add(30, "days").toISOString() : r, h = d && f ? 720 * 60 * 60 - f : i;
|
|
25010
24965
|
return {
|
|
25011
24966
|
enterpriseName: o?.name || "Devtron Enterprise",
|
|
25012
|
-
expiryDate: m ?
|
|
24967
|
+
expiryDate: m ? Oa(m).format(Va["DD/MM/YYYY"]) : "",
|
|
25013
24968
|
ttl: h,
|
|
25014
24969
|
licenseStatus: kk({
|
|
25015
24970
|
ttl: h,
|
|
@@ -25046,7 +25001,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25046
25001
|
n(!1);
|
|
25047
25002
|
}, 1e3);
|
|
25048
25003
|
} catch (e) {
|
|
25049
|
-
|
|
25004
|
+
Ka(e);
|
|
25050
25005
|
}
|
|
25051
25006
|
}
|
|
25052
25007
|
});
|
|
@@ -25120,12 +25075,10 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25120
25075
|
}), /* @__PURE__ */ (0, J.jsx)(hn, { content: e })]
|
|
25121
25076
|
})]
|
|
25122
25077
|
}), Lk = async (e) => {
|
|
25123
|
-
await
|
|
25078
|
+
await Na(H.LICENSE_DATA, { license: e }, { preventLicenseRedirect: !0 });
|
|
25124
25079
|
}, Rk = ({ fingerprint: e, enterpriseName: t, handleClose: n, handleLicenseActivateSuccess: r }) => {
|
|
25125
25080
|
let [i, a] = q(!1), [o, s] = q(""), [c, l] = q(!1), [u, d] = q(""), f = () => {
|
|
25126
|
-
mu(gu.GET_LICENSE_CLICKED, !0);
|
|
25127
|
-
let t = Mk(e);
|
|
25128
|
-
Ir(t)(), a(!0);
|
|
25081
|
+
mu(gu.GET_LICENSE_CLICKED, !0), Ir(Mk(e))(), a(!0);
|
|
25129
25082
|
}, p = () => {
|
|
25130
25083
|
a(!1);
|
|
25131
25084
|
}, m = (e) => {
|
|
@@ -25190,7 +25143,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25190
25143
|
variant: er.success
|
|
25191
25144
|
}), r();
|
|
25192
25145
|
} catch (e) {
|
|
25193
|
-
e.code === Mt.BAD_REQUEST && d("Invalid license key"),
|
|
25146
|
+
e.code === Mt.BAD_REQUEST && d("Invalid license key"), Ka(e);
|
|
25194
25147
|
} finally {
|
|
25195
25148
|
l(!1);
|
|
25196
25149
|
}
|
|
@@ -25217,11 +25170,11 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25217
25170
|
});
|
|
25218
25171
|
}, zk = 50, Bk = () => /* @__PURE__ */ (0, J.jsx)(N, {
|
|
25219
25172
|
dataTestId: "contact-support",
|
|
25220
|
-
startIcon: /* @__PURE__ */ (0, J.jsx)(
|
|
25173
|
+
startIcon: /* @__PURE__ */ (0, J.jsx)(Da, {}),
|
|
25221
25174
|
text: "Contact support",
|
|
25222
25175
|
variant: R.text,
|
|
25223
25176
|
component: Pn.anchor,
|
|
25224
|
-
anchorProps: { href:
|
|
25177
|
+
anchorProps: { href: ia }
|
|
25225
25178
|
}), Vk = ({ isFreemium: e, licenseStatus: t, licenseStatusError: n, isFreeForever: r }) => {
|
|
25226
25179
|
let i = e && n?.code === Uo.ClusterLimitExceeded;
|
|
25227
25180
|
if (r || i || e && t === Dk.ACTIVE) return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -25294,13 +25247,13 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25294
25247
|
});
|
|
25295
25248
|
W(() => {
|
|
25296
25249
|
let e = (e) => {
|
|
25297
|
-
|
|
25250
|
+
_a(_, e.clientX), _a(v, e.clientY);
|
|
25298
25251
|
};
|
|
25299
25252
|
return window.addEventListener("mousemove", e), () => {
|
|
25300
25253
|
window.removeEventListener("mousemove", e);
|
|
25301
25254
|
};
|
|
25302
25255
|
}, []);
|
|
25303
|
-
let x = fc([y, b], ([e, t]) => e + t),
|
|
25256
|
+
let x = fc(fc([y, b], ([e, t]) => e + t), [-5, 5], [-100, 200]), S = fc(x, [
|
|
25304
25257
|
-100,
|
|
25305
25258
|
50,
|
|
25306
25259
|
200
|
|
@@ -25308,19 +25261,19 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25308
25261
|
0,
|
|
25309
25262
|
h ? .25 : .1,
|
|
25310
25263
|
0
|
|
25311
|
-
]),
|
|
25264
|
+
]), C = h ? cc`linear-gradient(55deg, transparent, rgba(122, 127, 131, ${S}) ${x}%, transparent)` : cc`linear-gradient(55deg, transparent, rgba(255, 255, 255, ${S}) ${x}%, transparent)`;
|
|
25312
25265
|
return /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
25313
25266
|
className: "license-card-wrapper flexbox-col p-8 br-16",
|
|
25314
25267
|
style: { backgroundColor: p },
|
|
25315
25268
|
children: [/* @__PURE__ */ (0, J.jsx)("div", {
|
|
25316
25269
|
style: { perspective: "1000px" },
|
|
25317
|
-
children: /* @__PURE__ */ (0, J.jsxs)(
|
|
25270
|
+
children: /* @__PURE__ */ (0, J.jsxs)(Wi.div, {
|
|
25318
25271
|
className: `license-card shadow__overlay border__secondary flexbox-col br-12 h-200 dc__overflow-hidden bg__tertiary ${Ae(c)}`,
|
|
25319
25272
|
ref: g,
|
|
25320
25273
|
style: {
|
|
25321
25274
|
rotateX: y,
|
|
25322
25275
|
rotateY: b,
|
|
25323
|
-
backgroundImage:
|
|
25276
|
+
backgroundImage: C,
|
|
25324
25277
|
transformStyle: "preserve-3d",
|
|
25325
25278
|
transform: "translateZ(0)"
|
|
25326
25279
|
},
|
|
@@ -25446,7 +25399,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25446
25399
|
.8,
|
|
25447
25400
|
.25,
|
|
25448
25401
|
1
|
|
25449
|
-
], qk = () => /* @__PURE__ */ (0, J.jsx)(
|
|
25402
|
+
], qk = () => /* @__PURE__ */ (0, J.jsx)(Wi.div, { children: /* @__PURE__ */ (0, J.jsxs)("svg", {
|
|
25450
25403
|
width: "2400",
|
|
25451
25404
|
height: "3600",
|
|
25452
25405
|
viewBox: "0 0 2400 3600",
|
|
@@ -25461,7 +25414,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25461
25414
|
filter: "blur(55px)"
|
|
25462
25415
|
},
|
|
25463
25416
|
children: [
|
|
25464
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25417
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.circle, {
|
|
25465
25418
|
cx: "1200",
|
|
25466
25419
|
cy: "2257",
|
|
25467
25420
|
r: "2000",
|
|
@@ -25476,7 +25429,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25476
25429
|
repeatType: "reverse"
|
|
25477
25430
|
}
|
|
25478
25431
|
}),
|
|
25479
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25432
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.circle, {
|
|
25480
25433
|
cx: "418",
|
|
25481
25434
|
cy: "2953",
|
|
25482
25435
|
r: "1750",
|
|
@@ -25492,7 +25445,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25492
25445
|
repeatType: "reverse"
|
|
25493
25446
|
}
|
|
25494
25447
|
}),
|
|
25495
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25448
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.circle, {
|
|
25496
25449
|
cx: "418",
|
|
25497
25450
|
cy: "2953",
|
|
25498
25451
|
r: "1525",
|
|
@@ -25508,7 +25461,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25508
25461
|
repeatType: "reverse"
|
|
25509
25462
|
}
|
|
25510
25463
|
}),
|
|
25511
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25464
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.circle, {
|
|
25512
25465
|
cx: "418",
|
|
25513
25466
|
cy: "2953",
|
|
25514
25467
|
r: "1315",
|
|
@@ -25524,7 +25477,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25524
25477
|
repeatType: "reverse"
|
|
25525
25478
|
}
|
|
25526
25479
|
}),
|
|
25527
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25480
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.ellipse, {
|
|
25528
25481
|
cx: "759.5",
|
|
25529
25482
|
cy: "2893",
|
|
25530
25483
|
rx: "973.5",
|
|
@@ -25541,7 +25494,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25541
25494
|
repeatType: "reverse"
|
|
25542
25495
|
}
|
|
25543
25496
|
}),
|
|
25544
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25497
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.path, {
|
|
25545
25498
|
d: "M1449.92 730.265C1649.97 261.314 2460.84 884.083 2656.59 1131.43C2852.35 1378.78 3240.21 2146.55 2913.48 2307.57C2508.24 2507.29 2384.89 1871.7 2116.5 1567.52C1848.1 1263.34 1326.48 1019.64 1449.92 730.265Z",
|
|
25546
25499
|
fill: "white",
|
|
25547
25500
|
animate: { d: ["M1449.92 730.265C1649.97 261.314 2460.84 884.083 2656.59 1131.43C2852.35 1378.78 3240.21 2146.55 2913.48 2307.57C2508.24 2507.29 2384.89 1871.7 2116.5 1567.52C1848.1 1263.34 1326.48 1019.64 1449.92 730.265Z", "M659.5 743.5C527.947 250.927 1702.5 356.5 2267 825.5C2831.5 1294.5 2825.95 1970.73 2476.5 2073.5C1657 2314.5 1824.89 1047.68 1556.5 743.5C1288.11 439.319 769 1153.5 659.5 743.5Z"] },
|
|
@@ -25551,7 +25504,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25551
25504
|
repeatType: "reverse"
|
|
25552
25505
|
}
|
|
25553
25506
|
}),
|
|
25554
|
-
/* @__PURE__ */ (0, J.jsx)(
|
|
25507
|
+
/* @__PURE__ */ (0, J.jsx)(Wi.circle, {
|
|
25555
25508
|
cx: "1479",
|
|
25556
25509
|
cy: "915",
|
|
25557
25510
|
r: "215",
|
|
@@ -25614,7 +25567,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25614
25567
|
name: "ic-quote",
|
|
25615
25568
|
color: "N900"
|
|
25616
25569
|
}), /* @__PURE__ */ (0, J.jsx)("div", { className: "border__primary--left w-1 flex-grow-1" })]
|
|
25617
|
-
}), /* @__PURE__ */ (0, J.jsxs)(
|
|
25570
|
+
}), /* @__PURE__ */ (0, J.jsxs)(Wi.div, {
|
|
25618
25571
|
variants: {
|
|
25619
25572
|
hidden: {
|
|
25620
25573
|
opacity: 0,
|
|
@@ -25913,7 +25866,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25913
25866
|
isChecked: i,
|
|
25914
25867
|
onChange: m,
|
|
25915
25868
|
rootClassName: "icon-dim-40 p-8 w-100 mb-0 dc__no-shrink",
|
|
25916
|
-
value:
|
|
25869
|
+
value: Wa.CHECKED
|
|
25917
25870
|
})
|
|
25918
25871
|
}),
|
|
25919
25872
|
!i && /* @__PURE__ */ (0, J.jsx)(nA, {
|
|
@@ -25954,7 +25907,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
25954
25907
|
className: "anchor fs-12 fw-6 lh-20",
|
|
25955
25908
|
target: "_blank",
|
|
25956
25909
|
rel: "noopener noreferrer",
|
|
25957
|
-
onClick:
|
|
25910
|
+
onClick: Ri,
|
|
25958
25911
|
children: "Learn more"
|
|
25959
25912
|
}), /* @__PURE__ */ (0, J.jsx)(aA, { className: "icon-dim-12 dc__no-shrink scb-5" })]
|
|
25960
25913
|
})]
|
|
@@ -26034,10 +25987,10 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26034
25987
|
parentPluginIds: t,
|
|
26035
25988
|
pluginIds: n,
|
|
26036
25989
|
parentPluginIdentifiers: a
|
|
26037
|
-
}, { result: o } = await
|
|
25990
|
+
}, { result: o } = await Na(H.PLUGIN_GLOBAL_LIST_DETAIL_V2, i, { signal: r });
|
|
26038
25991
|
return { pluginStore: dA(o?.parentPlugins) };
|
|
26039
25992
|
} catch (e) {
|
|
26040
|
-
throw i && !Mr(e) &&
|
|
25993
|
+
throw i && !Mr(e) && Ka(e), e;
|
|
26041
25994
|
}
|
|
26042
25995
|
}, mA = async ({ searchKey: e, selectedTags: t, appId: n, offset: r = 0, signal: i }) => {
|
|
26043
25996
|
try {
|
|
@@ -26047,26 +26000,26 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26047
26000
|
appId: n,
|
|
26048
26001
|
size: 20,
|
|
26049
26002
|
tag: t
|
|
26050
|
-
}, { result: o } = await
|
|
26003
|
+
}, { result: o } = await U(Se(H.PLUGIN_GLOBAL_LIST_V2, a), { signal: i }), s = dA(o?.parentPlugins);
|
|
26051
26004
|
return {
|
|
26052
26005
|
totalCount: o?.totalCount || 0,
|
|
26053
26006
|
pluginStore: s,
|
|
26054
26007
|
parentPluginIdList: o?.parentPlugins?.map((e) => e.id) || []
|
|
26055
26008
|
};
|
|
26056
26009
|
} catch (e) {
|
|
26057
|
-
throw Mr(e) ||
|
|
26010
|
+
throw Mr(e) || Ka(e), e;
|
|
26058
26011
|
}
|
|
26059
26012
|
}, hA = async (e) => {
|
|
26060
26013
|
try {
|
|
26061
|
-
let t = { appId: e }, { result: n } = await
|
|
26014
|
+
let t = { appId: e }, { result: n } = await U(Se(H.PLUGIN_GLOBAL_LIST_TAGS, t));
|
|
26062
26015
|
if (!n?.tagNames) return [];
|
|
26063
26016
|
let r = new Set(n.tagNames);
|
|
26064
26017
|
return Array.from(r).sort(en);
|
|
26065
26018
|
} catch (e) {
|
|
26066
|
-
throw
|
|
26019
|
+
throw Ka(e), e;
|
|
26067
26020
|
}
|
|
26068
26021
|
}, gA = async (e) => {
|
|
26069
|
-
let t = await
|
|
26022
|
+
let t = await U(Se(H.PLUGIN_LIST_MIN, e));
|
|
26070
26023
|
return {
|
|
26071
26024
|
...t,
|
|
26072
26025
|
result: (t?.result ?? []).sort((e, t) => en(e.name, t.name))
|
|
@@ -26104,7 +26057,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26104
26057
|
})
|
|
26105
26058
|
] }) : a || i.length ? /* @__PURE__ */ (0, J.jsx)(kx, {
|
|
26106
26059
|
handleClearFilters: l,
|
|
26107
|
-
imageType:
|
|
26060
|
+
imageType: va.Large
|
|
26108
26061
|
}) : /* @__PURE__ */ (0, J.jsx)(Cv, {
|
|
26109
26062
|
title: "No plugins found",
|
|
26110
26063
|
subTitle: "We are unable to locate any plugin in our system"
|
|
@@ -26152,7 +26105,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26152
26105
|
D,
|
|
26153
26106
|
g,
|
|
26154
26107
|
O
|
|
26155
|
-
],
|
|
26108
|
+
], s ? !_.length : !0), [ee, te, ne, re] = Or(() => hA(g ? +g : null), [], !e?.length);
|
|
26156
26109
|
W(() => {
|
|
26157
26110
|
!ee && !ne && te && t(te);
|
|
26158
26111
|
}, [
|
|
@@ -26271,17 +26224,17 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26271
26224
|
};
|
|
26272
26225
|
}, [e, t]), r ? Nl(n, r) : null;
|
|
26273
26226
|
}, xA = ({ isLoading: e, intervalTime: t = 50 }) => {
|
|
26274
|
-
let n = dc(0), r = lc(n, {
|
|
26227
|
+
let n = dc(0), r = fc(lc(n, {
|
|
26275
26228
|
stiffness: 50,
|
|
26276
26229
|
damping: 20
|
|
26277
|
-
}),
|
|
26230
|
+
}), (e) => `${e}%`);
|
|
26278
26231
|
return W(() => {
|
|
26279
26232
|
let r = null;
|
|
26280
26233
|
return e && (r = setInterval(() => {
|
|
26281
26234
|
let e = n.get() + Math.random() * 5;
|
|
26282
26235
|
n.set(e < 95 ? e : 95);
|
|
26283
26236
|
}, t)), () => clearInterval(r);
|
|
26284
|
-
}, [e]), /* @__PURE__ */ (0, J.jsx)(ne, { children: e && /* @__PURE__ */ (0, J.jsx)(
|
|
26237
|
+
}, [e]), /* @__PURE__ */ (0, J.jsx)(ne, { children: e && /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
26285
26238
|
initial: { opacity: 1 },
|
|
26286
26239
|
exit: { opacity: 0 },
|
|
26287
26240
|
transition: {
|
|
@@ -26289,9 +26242,9 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26289
26242
|
ease: "easeOut"
|
|
26290
26243
|
},
|
|
26291
26244
|
className: "dc__position-abs dc__top-0 dc__left-0 dc__zi-10 h-2 w-100 bcn-2",
|
|
26292
|
-
children: /* @__PURE__ */ (0, J.jsx)(
|
|
26245
|
+
children: /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
26293
26246
|
className: "h-100 bcb-5",
|
|
26294
|
-
style: { width:
|
|
26247
|
+
style: { width: r }
|
|
26295
26248
|
})
|
|
26296
26249
|
}) });
|
|
26297
26250
|
}, SA = ({ prometheusConfig: e, handleOnChange: t, onPrometheusAuthTypeChange: n }) => {
|
|
@@ -26767,7 +26720,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26767
26720
|
color: e.color,
|
|
26768
26721
|
size: 16
|
|
26769
26722
|
})
|
|
26770
|
-
}), /* @__PURE__ */ (0, J.jsx)(
|
|
26723
|
+
}), /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
26771
26724
|
wrap: qA(i, f, t, n),
|
|
26772
26725
|
condition: !!i || f,
|
|
26773
26726
|
children: /* @__PURE__ */ (0, J.jsxs)("span", {
|
|
@@ -26989,7 +26942,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
26989
26942
|
})
|
|
26990
26943
|
}), /* @__PURE__ */ (0, J.jsx)(ne, {
|
|
26991
26944
|
initial: !1,
|
|
26992
|
-
children: c && /* @__PURE__ */ (0, J.jsx)(
|
|
26945
|
+
children: c && /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
26993
26946
|
role: "group",
|
|
26994
26947
|
className: "flexbox",
|
|
26995
26948
|
initial: {
|
|
@@ -27055,7 +27008,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27055
27008
|
}, e.id);
|
|
27056
27009
|
})
|
|
27057
27010
|
});
|
|
27058
|
-
}, ej = () => /* @__PURE__ */ (0, J.jsx)(
|
|
27011
|
+
}, ej = () => /* @__PURE__ */ (0, J.jsx)(Wi.span, {
|
|
27059
27012
|
animate: { opacity: [
|
|
27060
27013
|
0,
|
|
27061
27014
|
0,
|
|
@@ -27077,7 +27030,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27077
27030
|
className: "w-8 h-20 bcn-9 ml-2 dc__inline-block br-2"
|
|
27078
27031
|
}), tj = (e) => {
|
|
27079
27032
|
let t = dc(0), n = fc(t, (t) => e.slice(0, Math.floor(t)));
|
|
27080
|
-
return W(() =>
|
|
27033
|
+
return W(() => _a(t, e.length, {
|
|
27081
27034
|
type: "tween",
|
|
27082
27035
|
duration: 4,
|
|
27083
27036
|
ease: "linear"
|
|
@@ -27182,7 +27135,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27182
27135
|
title: "Build & Deploy from Source Code",
|
|
27183
27136
|
subtitle: "Build container image from a Git repo and deploy to an environment.",
|
|
27184
27137
|
dataTestId: "build-and-deploy-from-source-code-button",
|
|
27185
|
-
type:
|
|
27138
|
+
type: Ya.CI_CD,
|
|
27186
27139
|
icons: [
|
|
27187
27140
|
{
|
|
27188
27141
|
name: "ic-git-branch",
|
|
@@ -27202,7 +27155,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27202
27155
|
title: "Build from Source Code",
|
|
27203
27156
|
subtitle: "Build container image from a Git repo",
|
|
27204
27157
|
dataTestId: "build-from-source-code-button",
|
|
27205
|
-
type:
|
|
27158
|
+
type: Ya.CI,
|
|
27206
27159
|
icons: [{
|
|
27207
27160
|
name: "ic-git-branch",
|
|
27208
27161
|
color: "N700"
|
|
@@ -27215,7 +27168,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27215
27168
|
title: "Create a Job",
|
|
27216
27169
|
subtitle: "Create and trigger a job. Such as trigger Jenkins build trigger",
|
|
27217
27170
|
dataTestId: "job-ci-pipeline-button",
|
|
27218
|
-
type:
|
|
27171
|
+
type: Ya.JOB_CI,
|
|
27219
27172
|
icons: [{
|
|
27220
27173
|
name: "ic-job-color",
|
|
27221
27174
|
color: null
|
|
@@ -27240,7 +27193,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27240
27193
|
title: "Linked Build Pipeline",
|
|
27241
27194
|
subtitle: "Use image built by another build pipeline within Devtron.",
|
|
27242
27195
|
dataTestId: "linked-build-pipeline-button",
|
|
27243
|
-
type:
|
|
27196
|
+
type: Ya.LINKED_CI,
|
|
27244
27197
|
icons: [{
|
|
27245
27198
|
name: "ic-linked-build-color",
|
|
27246
27199
|
color: null
|
|
@@ -27251,7 +27204,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27251
27204
|
title: "Create a Job",
|
|
27252
27205
|
subtitle: "Create and trigger a job. Such as trigger Jenkins build trigger",
|
|
27253
27206
|
dataTestId: "job-ci-pipeline-button",
|
|
27254
|
-
type:
|
|
27207
|
+
type: Ya.JOB_CI,
|
|
27255
27208
|
icons: [{
|
|
27256
27209
|
name: "ic-job-color",
|
|
27257
27210
|
color: null
|
|
@@ -27268,7 +27221,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27268
27221
|
children: /* @__PURE__ */ (0, J.jsx)("span", { children: t })
|
|
27269
27222
|
}), pj = ({ title: e, subtitle: t, dataTestId: n, icons: r, type: i, disableInfo: a, disabled: o = !1, onCardAction: s }) => {
|
|
27270
27223
|
let c = !!a || o;
|
|
27271
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
27224
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
27272
27225
|
wrap: fj({ disableInfo: a }),
|
|
27273
27226
|
condition: !!a,
|
|
27274
27227
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -27319,27 +27272,27 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27319
27272
|
let n = e.find((e) => +e.id === t.appWorkflowId), r = n.nodes.find((e) => e.type === cr.CI);
|
|
27320
27273
|
if (n.nodes.some((e) => e.type === cr.WEBHOOK)) return cr.WEBHOOK;
|
|
27321
27274
|
if (r) {
|
|
27322
|
-
if (r.isJobCI) return
|
|
27323
|
-
if (r.isLinkedCI) return
|
|
27324
|
-
if (r.isExternalCI) return
|
|
27325
|
-
if (r.isLinkedCD) return
|
|
27275
|
+
if (r.isJobCI) return Ya.JOB_CI;
|
|
27276
|
+
if (r.isLinkedCI) return Ya.LINKED_CI;
|
|
27277
|
+
if (r.isExternalCI) return Ya.EXTERNAL_CI;
|
|
27278
|
+
if (r.isLinkedCD) return Ya.LINKED_CD;
|
|
27326
27279
|
}
|
|
27327
|
-
return
|
|
27328
|
-
}, gj = ({ currentPipelineType: e, changeCIPayload: t, isAppGroup: n }) => Object.values(cj.BUILD).map(({ type: r, ...i }) => e === r || r ===
|
|
27280
|
+
return Ya.CI;
|
|
27281
|
+
}, gj = ({ currentPipelineType: e, changeCIPayload: t, isAppGroup: n }) => Object.values(cj.BUILD).map(({ type: r, ...i }) => e === r || r === Ya.JOB_CI && !window._env_.ENABLE_CI_JOB || r === Ya.CI_CD && (n || t) ? null : {
|
|
27329
27282
|
...i,
|
|
27330
27283
|
type: r,
|
|
27331
|
-
disabled: r ===
|
|
27284
|
+
disabled: r === Ya.JOB_CI && n
|
|
27332
27285
|
}).filter(Boolean), _j = ({ currentPipelineType: e, linkedCDSourceVariant: t, isAppGroup: n }) => {
|
|
27333
27286
|
let r = Object.values(cj.RECEIVE).map(({ type: t, ...r }) => e === t ? null : {
|
|
27334
27287
|
...r,
|
|
27335
27288
|
type: t,
|
|
27336
27289
|
disabled: n
|
|
27337
27290
|
}).filter(Boolean);
|
|
27338
|
-
return t && e !==
|
|
27339
|
-
}, vj = ({ currentPipelineType: e, isAppGroup: t }) => Object.values(cj.JOB).map(({ type: n, ...r }) => e === n || n ===
|
|
27291
|
+
return t && e !== Ya.LINKED_CD && r.push(t), r;
|
|
27292
|
+
}, vj = ({ currentPipelineType: e, isAppGroup: t }) => Object.values(cj.JOB).map(({ type: n, ...r }) => e === n || n === Ya.JOB_CI && !window._env_.ENABLE_CI_JOB ? null : {
|
|
27340
27293
|
...r,
|
|
27341
27294
|
type: n,
|
|
27342
|
-
disabled: n ===
|
|
27295
|
+
disabled: n === Ya.JOB_CI && t
|
|
27343
27296
|
}).filter(Boolean), yj = ({ open: e, addCIPipeline: t, addWebhookCD: n, addLinkedCD: r, showLinkedCDSource: i, changeCIPayload: a, workflows: o, getWorkflows: s, resetChangeCIPayload: c, linkedCDSourceVariant: l, isAppGroup: u = !1, isTemplateView: d, onClose: f }) => {
|
|
27344
27297
|
let [p, m] = q(!1), h = G(() => hj({
|
|
27345
27298
|
workflows: o,
|
|
@@ -27373,7 +27326,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27373
27326
|
description: dj.SUCCESS_CHANGE_TO_WEBHOOK
|
|
27374
27327
|
}), s(), y());
|
|
27375
27328
|
}).catch((e) => {
|
|
27376
|
-
|
|
27329
|
+
Ka(e), m(!1);
|
|
27377
27330
|
});
|
|
27378
27331
|
return;
|
|
27379
27332
|
}
|
|
@@ -27391,7 +27344,7 @@ var XD = ({ id: e, className: t, isConnectable: n, children: r }) => {
|
|
|
27391
27344
|
return;
|
|
27392
27345
|
}
|
|
27393
27346
|
t(n, a?.appWorkflowId ?? 0), f();
|
|
27394
|
-
}, S = (e) => !i && e ===
|
|
27347
|
+
}, S = (e) => !i && e === Ya.LINKED_CD ? lj : p ? uj : null;
|
|
27395
27348
|
W(() => {
|
|
27396
27349
|
a && o && (o.find((e) => +e.id === a.appWorkflowId) || (y(), mi.showToast({
|
|
27397
27350
|
variant: er.error,
|
|
@@ -27546,16 +27499,16 @@ function Ej(e, t, n) {
|
|
|
27546
27499
|
};
|
|
27547
27500
|
}
|
|
27548
27501
|
var Dj = ({ breadcrumbs: e, path: t, sep: n = "/", className: r = "dc__devtron-breadcrumb__item fs-16 fw-4 lh-1-5 dc__ellipsis-right dc__mxw-155" }) => {
|
|
27549
|
-
let i =
|
|
27550
|
-
return /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children:
|
|
27502
|
+
let i = Hl(t, Kl()), a = e.filter((e) => !!e.name);
|
|
27503
|
+
return /* @__PURE__ */ (0, J.jsx)(J.Fragment, { children: a.map((e, t) => /* @__PURE__ */ (0, J.jsxs)(Sl.Fragment, { children: [/* @__PURE__ */ (0, J.jsx)(wa, {
|
|
27551
27504
|
condition: !!e.to,
|
|
27552
27505
|
wrap: (t) => /* @__PURE__ */ (0, J.jsx)(Ll, {
|
|
27553
|
-
className: `${
|
|
27506
|
+
className: `${i === e.to ? "active" : ""} ${r} ${e.className || ""}`,
|
|
27554
27507
|
to: e.to,
|
|
27555
27508
|
children: t
|
|
27556
27509
|
}),
|
|
27557
27510
|
children: e.name
|
|
27558
|
-
}), t + 1 !==
|
|
27511
|
+
}), t + 1 !== a.length && e.name && Sj(n)] }, t)) });
|
|
27559
27512
|
}, Oj = ({ redirectUrl: e, linkText: t, profileName: n, nestedBreadCrumbsText: r }) => {
|
|
27560
27513
|
let i = [{
|
|
27561
27514
|
type: "link",
|
|
@@ -27593,11 +27546,9 @@ var Dj = ({ breadcrumbs: e, path: t, sep: n = "/", className: r = "dc__devtron-b
|
|
|
27593
27546
|
value: e,
|
|
27594
27547
|
label: e
|
|
27595
27548
|
}));
|
|
27596
|
-
c(r);
|
|
27597
|
-
let i = he(t, r[0]);
|
|
27598
|
-
d(i);
|
|
27549
|
+
c(r), d(he(t, r[0]));
|
|
27599
27550
|
}).catch((e) => {
|
|
27600
|
-
|
|
27551
|
+
Ka(e);
|
|
27601
27552
|
});
|
|
27602
27553
|
}, []);
|
|
27603
27554
|
let d = (t) => {
|
|
@@ -27616,9 +27567,7 @@ var Dj = ({ breadcrumbs: e, path: t, sep: n = "/", className: r = "dc__devtron-b
|
|
|
27616
27567
|
value: r ?? s[0],
|
|
27617
27568
|
options: s,
|
|
27618
27569
|
onChange: (e) => {
|
|
27619
|
-
i(e);
|
|
27620
|
-
let n = he(t, e);
|
|
27621
|
-
d(n);
|
|
27570
|
+
i(e), d(he(t, e));
|
|
27622
27571
|
},
|
|
27623
27572
|
variant: Gs.COMPACT
|
|
27624
27573
|
})]
|
|
@@ -27698,17 +27647,16 @@ function Mj(e, { isRegexMaterial: t = !1, isTemplateView: n }) {
|
|
|
27698
27647
|
return r = t ? `${Bt.CI_PIPELINE_PATCH}/regex` : n ? Yu({
|
|
27699
27648
|
type: rd.CI_PIPELINE,
|
|
27700
27649
|
queryParams: { id: e.appId }
|
|
27701
|
-
}) : Bt.CI_PIPELINE_PATCH,
|
|
27650
|
+
}) : Bt.CI_PIPELINE_PATCH, Na(r, e);
|
|
27702
27651
|
}
|
|
27703
27652
|
function Nj(e, t, n) {
|
|
27704
|
-
|
|
27653
|
+
return ca(n ? Yu({
|
|
27705
27654
|
type: rd.WORKFLOW,
|
|
27706
27655
|
queryParams: {
|
|
27707
27656
|
id: e,
|
|
27708
27657
|
appWorkflowId: t
|
|
27709
27658
|
}
|
|
27710
|
-
}) : `${Bt.WORKFLOW}/${e}/${t}
|
|
27711
|
-
return sa(r);
|
|
27659
|
+
}) : `${Bt.WORKFLOW}/${e}/${t}`);
|
|
27712
27660
|
}
|
|
27713
27661
|
//#endregion
|
|
27714
27662
|
//#region src/Common/DeleteCINodeButton/DeleteCINodeButton.tsx
|
|
@@ -27716,7 +27664,7 @@ var Pj = ({ testId: e, showIconOnly: t = !0, disabled: n = !1, title: r, isJobVi
|
|
|
27716
27664
|
let [l, u] = q(!1), d = () => {
|
|
27717
27665
|
u(!1);
|
|
27718
27666
|
}, f = (e) => {
|
|
27719
|
-
|
|
27667
|
+
Ri(e), eo(e), u(!0);
|
|
27720
27668
|
}, p = async () => {
|
|
27721
27669
|
try {
|
|
27722
27670
|
let e = await Nj(String(a.appId), Number(a.appWorkflowId), c);
|
|
@@ -27733,7 +27681,7 @@ var Pj = ({ testId: e, showIconOnly: t = !0, disabled: n = !1, title: r, isJobVi
|
|
|
27733
27681
|
description: "Workflow Deleted"
|
|
27734
27682
|
}), s());
|
|
27735
27683
|
} catch (e) {
|
|
27736
|
-
|
|
27684
|
+
Ka(e);
|
|
27737
27685
|
}
|
|
27738
27686
|
};
|
|
27739
27687
|
return /* @__PURE__ */ (0, J.jsxs)(J.Fragment, { children: [t ? /* @__PURE__ */ (0, J.jsx)(N, {
|
|
@@ -27765,7 +27713,7 @@ var Pj = ({ testId: e, showIconOnly: t = !0, disabled: n = !1, title: r, isJobVi
|
|
|
27765
27713
|
style: L.negative
|
|
27766
27714
|
}), l && /* @__PURE__ */ (0, J.jsx)(ox, {
|
|
27767
27715
|
title: r,
|
|
27768
|
-
component: i ?
|
|
27716
|
+
component: i ? Ji.Job : Ji.BuildPipeline,
|
|
27769
27717
|
subtitle: `Are you sure you want to delete this pipeline from '${r}' ?`,
|
|
27770
27718
|
closeConfirmationModal: d,
|
|
27771
27719
|
onDelete: async () => {
|
|
@@ -27887,8 +27835,8 @@ var Pj = ({ testId: e, showIconOnly: t = !0, disabled: n = !1, title: r, isJobVi
|
|
|
27887
27835
|
}
|
|
27888
27836
|
}, Bj = ({ subtitle: e, title: t }) => /* @__PURE__ */ (0, J.jsx)(Cv, {
|
|
27889
27837
|
image: _l,
|
|
27890
|
-
title: t ??
|
|
27891
|
-
subTitle: e ??
|
|
27838
|
+
title: t ?? Qi.NOT_AUTHORIZED,
|
|
27839
|
+
subTitle: e ?? Qi.ONLY_FOR_SUPERADMIN
|
|
27892
27840
|
}), Vj = (e) => /* @__PURE__ */ (0, J.jsxs)("svg", {
|
|
27893
27841
|
width: 16,
|
|
27894
27842
|
height: 16,
|
|
@@ -28178,8 +28126,8 @@ var Pj = ({ testId: e, showIconOnly: t = !0, disabled: n = !1, title: r, isJobVi
|
|
|
28178
28126
|
}
|
|
28179
28127
|
], rM = (e) => {
|
|
28180
28128
|
if (!e || e === "0001-01-01T00:00:00Z") return "";
|
|
28181
|
-
let t =
|
|
28182
|
-
return t.isValid() ? t.format(
|
|
28129
|
+
let t = Oa(e);
|
|
28130
|
+
return t.isValid() ? t.format(Va.TWELVE_HOURS_FORMAT) : e;
|
|
28183
28131
|
}, iM = ({ text: e, updatedBy: t, updatedOn: n, updateDescription: r, title: i, emptyStateConfig: a }) => {
|
|
28184
28132
|
let o = e || "", [s, c] = q(!1), [l, u] = q(o), [d, f] = q(!1), [p, m] = q("write"), h = rM(n);
|
|
28185
28133
|
W(() => {
|
|
@@ -28214,7 +28162,7 @@ var Pj = ({ testId: e, showIconOnly: t = !0, disabled: n = !1, title: r, isJobVi
|
|
|
28214
28162
|
try {
|
|
28215
28163
|
c(!0), await r(e);
|
|
28216
28164
|
} catch (e) {
|
|
28217
|
-
|
|
28165
|
+
Ka(e);
|
|
28218
28166
|
} finally {
|
|
28219
28167
|
c(!1), f(!1);
|
|
28220
28168
|
}
|
|
@@ -28442,30 +28390,23 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28442
28390
|
let n = t[e], r = [...j], i = r.findIndex((e) => e.tagName === n.tagName);
|
|
28443
28391
|
i === -1 ? r.push(n) : r.splice(i, 1), E(t), M(r);
|
|
28444
28392
|
}, he = (e) => {
|
|
28445
|
-
let t = T[e]
|
|
28446
|
-
A(
|
|
28447
|
-
let
|
|
28448
|
-
|
|
28449
|
-
let i = _.filter((e) => e.toLowerCase() !== t.tagName.toLowerCase());
|
|
28450
|
-
if (v(i), t.id !== 0) {
|
|
28451
|
-
let e = [...ee, t];
|
|
28452
|
-
te(e);
|
|
28453
|
-
}
|
|
28393
|
+
let t = T[e];
|
|
28394
|
+
A(k.filter((e) => e.tagName !== t.tagName));
|
|
28395
|
+
let n = [...T];
|
|
28396
|
+
n.splice(e, 1), E(n), v(_.filter((e) => e.toLowerCase() !== t.tagName.toLowerCase())), t.id !== 0 && te([...ee, t]);
|
|
28454
28397
|
}, ge = (e) => {
|
|
28455
28398
|
e.forEach(({ userMessage: e }) => {
|
|
28456
28399
|
let t = k.map((t) => e?.appReleaseTags?.includes(t.tagName) ? {
|
|
28457
28400
|
...t,
|
|
28458
28401
|
duplicateTag: !0
|
|
28459
28402
|
} : t);
|
|
28460
|
-
A(t)
|
|
28461
|
-
let n = T.map((e) => {
|
|
28403
|
+
A(t), E(T.map((e) => {
|
|
28462
28404
|
let n = t.find((t) => t.tagName === e.tagName);
|
|
28463
28405
|
return n ? {
|
|
28464
28406
|
...e,
|
|
28465
28407
|
duplicateTag: n.duplicateTag
|
|
28466
28408
|
} : e;
|
|
28467
|
-
});
|
|
28468
|
-
E(n);
|
|
28409
|
+
}));
|
|
28469
28410
|
});
|
|
28470
28411
|
}, _e = async (n) => {
|
|
28471
28412
|
if (D) return;
|
|
@@ -28492,7 +28433,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28492
28433
|
e.errors?.[0]?.userMessage?.appReleaseTags?.length ? (mi.showToast({
|
|
28493
28434
|
variant: er.error,
|
|
28494
28435
|
description: e.errors?.[0]?.internalMessage
|
|
28495
|
-
}), ge(e.errors)) :
|
|
28436
|
+
}), ge(e.errors)) : Ka(e);
|
|
28496
28437
|
}).finally(() => {
|
|
28497
28438
|
se(!1);
|
|
28498
28439
|
});
|
|
@@ -28521,7 +28462,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28521
28462
|
}, Se = (e) => {
|
|
28522
28463
|
e.target.value && fe(e.target.value), ae(e.target.value);
|
|
28523
28464
|
}, Ce = (e) => {
|
|
28524
|
-
|
|
28465
|
+
Ri(e), ie.trim() && pe(ie.trim());
|
|
28525
28466
|
}, we = () => {
|
|
28526
28467
|
let e = k;
|
|
28527
28468
|
ie.trim() && (e = pe(ie)), _e(e);
|
|
@@ -28560,7 +28501,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28560
28501
|
}),
|
|
28561
28502
|
D && /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
28562
28503
|
className: "flex left",
|
|
28563
|
-
children: [/* @__PURE__ */ (0, J.jsx)(
|
|
28504
|
+
children: [/* @__PURE__ */ (0, J.jsx)(la, { className: "form__icon form__icon--error" }), /* @__PURE__ */ (0, J.jsx)("div", {
|
|
28564
28505
|
className: "form__error",
|
|
28565
28506
|
children: D
|
|
28566
28507
|
})]
|
|
@@ -28572,10 +28513,10 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28572
28513
|
isSoftDeleted: e?.deleted,
|
|
28573
28514
|
isEditing: x,
|
|
28574
28515
|
onSoftDeleteClick: (e) => {
|
|
28575
|
-
|
|
28516
|
+
Ri(e), me(t);
|
|
28576
28517
|
},
|
|
28577
28518
|
onHardDeleteClick: (e) => {
|
|
28578
|
-
|
|
28519
|
+
Ri(e), he(t);
|
|
28579
28520
|
},
|
|
28580
28521
|
tagId: e.id,
|
|
28581
28522
|
softDeleteTags: j,
|
|
@@ -28605,7 +28546,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28605
28546
|
className: "cta flex cancel h-32 lh-32-imp",
|
|
28606
28547
|
type: "button",
|
|
28607
28548
|
onClick: (e) => {
|
|
28608
|
-
|
|
28549
|
+
Ri(e), de();
|
|
28609
28550
|
},
|
|
28610
28551
|
disabled: oe,
|
|
28611
28552
|
children: "Cancel"
|
|
@@ -28614,7 +28555,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28614
28555
|
"data-testid": "save-tags-button",
|
|
28615
28556
|
type: "button",
|
|
28616
28557
|
onClick: (e) => {
|
|
28617
|
-
|
|
28558
|
+
Ri(e), we();
|
|
28618
28559
|
},
|
|
28619
28560
|
disabled: oe,
|
|
28620
28561
|
children: oe ? /* @__PURE__ */ (0, J.jsx)(rt, {}) : "Save"
|
|
@@ -28638,10 +28579,10 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28638
28579
|
isSoftDeleted: e?.deleted,
|
|
28639
28580
|
isEditing: x,
|
|
28640
28581
|
onSoftDeleteClick: (e) => {
|
|
28641
|
-
|
|
28582
|
+
Ri(e), me(t);
|
|
28642
28583
|
},
|
|
28643
28584
|
onHardDeleteClick: (e) => {
|
|
28644
|
-
|
|
28585
|
+
Ri(e), he(t);
|
|
28645
28586
|
},
|
|
28646
28587
|
tagId: e.id,
|
|
28647
28588
|
softDeleteTags: j,
|
|
@@ -28657,7 +28598,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28657
28598
|
className: "icon-dim-16 image-tags-container-edit__icon cursor",
|
|
28658
28599
|
"data-testid": "edit-tags-icon",
|
|
28659
28600
|
onClick: (e) => {
|
|
28660
|
-
|
|
28601
|
+
Ri(e), le();
|
|
28661
28602
|
}
|
|
28662
28603
|
})
|
|
28663
28604
|
})]
|
|
@@ -28704,7 +28645,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28704
28645
|
className: "dc__transparent px-8 py-4 flexbox dc__align-items-center dc__gap-4 dc__border-dashed--n3 br-4",
|
|
28705
28646
|
"data-testid": "add-tags-button",
|
|
28706
28647
|
onClick: (t) => {
|
|
28707
|
-
|
|
28648
|
+
Ri(t), e();
|
|
28708
28649
|
},
|
|
28709
28650
|
children: [/* @__PURE__ */ (0, J.jsx)(Qs, { className: "icon-dim-16 cn-6 dc__no-shrink" }), /* @__PURE__ */ (0, J.jsx)("span", {
|
|
28710
28651
|
className: "cn-7 lh-16",
|
|
@@ -28775,11 +28716,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28775
28716
|
m(!!n), a ? g(n) : t(n);
|
|
28776
28717
|
}, S = (e) => {
|
|
28777
28718
|
let { key: t } = e;
|
|
28778
|
-
|
|
28779
|
-
e.preventDefault();
|
|
28780
|
-
let t = e.target.value.trim();
|
|
28781
|
-
y(t);
|
|
28782
|
-
}
|
|
28719
|
+
t === "Enter" && (e.preventDefault(), y(e.target.value.trim()));
|
|
28783
28720
|
}, C = (e = null) => {
|
|
28784
28721
|
r.ref && (r.ref.current = e), h.current = e;
|
|
28785
28722
|
}, w = (e) => {
|
|
@@ -28851,7 +28788,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28851
28788
|
children: t
|
|
28852
28789
|
}), xM = ({ segment: e, isSelected: t, name: n, onChange: r, fullWidth: i, size: a, disabled: o }) => {
|
|
28853
28790
|
let s = G(yr, []), { value: c, icon: l, isError: u, label: d, tooltipProps: f, ariaLabel: p } = e;
|
|
28854
|
-
return /* @__PURE__ */ (0, J.jsx)(
|
|
28791
|
+
return /* @__PURE__ */ (0, J.jsx)(wa, {
|
|
28855
28792
|
condition: !!f?.content,
|
|
28856
28793
|
wrap: bM(f),
|
|
28857
28794
|
children: /* @__PURE__ */ (0, J.jsxs)("div", {
|
|
@@ -28872,7 +28809,7 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28872
28809
|
className: `pointer m-0 dc__position-rel flex ${i ? "" : "left"} dc__gap-4 br-4 segmented-control__segment segmented-control__segment--${a} ${t ? "fw-6 segmented-control__segment--selected" : "fw-4"} ${e.isError ? "cr-5" : "cn-9"} ${o ? "cursor-not-allowed" : ""} ${vM[a]}`,
|
|
28873
28810
|
"aria-label": p,
|
|
28874
28811
|
children: [
|
|
28875
|
-
/* @__PURE__ */ (0, J.jsx)(ne, { children: t && /* @__PURE__ */ (0, J.jsx)(
|
|
28812
|
+
/* @__PURE__ */ (0, J.jsx)(ne, { children: t && /* @__PURE__ */ (0, J.jsx)(Wi.div, {
|
|
28876
28813
|
layoutId: `active-segment-control-${n}`,
|
|
28877
28814
|
className: "dc__position-abs active-mask dc__top-0 dc__left-0 dc__right-0 dc__bottom-0 bg__primary br-4",
|
|
28878
28815
|
transition: {
|
|
@@ -28906,18 +28843,15 @@ var oM = (e) => /* @__PURE__ */ (0, J.jsx)("svg", {
|
|
|
28906
28843
|
className: `segmented-control ${a ? "" : "dc__inline-flex"} ${o ? "dc__disabled" : ""} br-6 ${r === V.xs ? "p-1" : "p-2"}`,
|
|
28907
28844
|
children: /* @__PURE__ */ (0, J.jsx)("div", {
|
|
28908
28845
|
className: "segmented-control__container flex left dc__position-rel dc__align-items-center dc__gap-2",
|
|
28909
|
-
children: e.map((e) => {
|
|
28910
|
-
|
|
28911
|
-
|
|
28912
|
-
|
|
28913
|
-
|
|
28914
|
-
|
|
28915
|
-
|
|
28916
|
-
|
|
28917
|
-
|
|
28918
|
-
disabled: o || e.isDisabled
|
|
28919
|
-
}, e.value);
|
|
28920
|
-
})
|
|
28846
|
+
children: e.map((e) => /* @__PURE__ */ (0, J.jsx)(xM, {
|
|
28847
|
+
segment: e,
|
|
28848
|
+
name: n,
|
|
28849
|
+
onChange: d,
|
|
28850
|
+
isSelected: e.value === u,
|
|
28851
|
+
fullWidth: a,
|
|
28852
|
+
size: r,
|
|
28853
|
+
disabled: o || e.isDisabled
|
|
28854
|
+
}, e.value))
|
|
28921
28855
|
})
|
|
28922
28856
|
});
|
|
28923
28857
|
}, CM = Sl.createContext(null);
|
|
@@ -29036,7 +28970,7 @@ var TM = ({ children: e = null, onChange: t, value: n = null, valueComparator: r
|
|
|
29036
28970
|
try {
|
|
29037
28971
|
await e();
|
|
29038
28972
|
} catch (e) {
|
|
29039
|
-
|
|
28973
|
+
Ka(e);
|
|
29040
28974
|
} finally {
|
|
29041
28975
|
n(!1);
|
|
29042
28976
|
}
|
|
@@ -29056,4 +28990,4 @@ TM.Button = OM, TM.OptGroup = DM, TM.Option = EM, TM.Search = kM, TM.All = ({ ro
|
|
|
29056
28990
|
});
|
|
29057
28991
|
}, TM.Async = AM;
|
|
29058
28992
|
//#endregion
|
|
29059
|
-
export { ro as ACCESS_TYPE_MAP, Vn as ACTION_STATE, If as ACTION_TO_PERSISTED_VALUE_MAP, qs as AIAgentContextSourceType, pn as ALLOW_ACTION_OUTSIDE_FOCUS_TRAP, at as ALL_NAMESPACE_OPTION, we as ALL_RESOURCE_KIND_FILTER, sn as ANSI_UP_REGEX, sh as APIResponseHandler, Mt as API_STATUS_CODES, bn as API_TOKEN_PREFIX, r as APPROVAL_MODAL_TYPE, _e as APP_DETAILS_FALLBACK_POLLING_INTERVAL, gb as APP_SELECTOR_STYLES, Ue as APP_STATUS_HEADERS, Ta as ARTIFACT_STATUS, $m as AboutDevtronBody, eh as AboutDevtronDialog, Cp as ActionMenu, It as ActionTypes, Rk as ActivateLicenseDialog, th as ActivityIndicator, du as AddCDButton, c as AddCDPositions, Fr as AddPipelineType, aa as AggregationKeys, ne as AnimatePresence, nh as AnimatedDeployButton, ah as AnimatedTimer, vu as ApiQueuingWithBatch, Nu as AppEnvDeploymentConfigType, Le as AppListConstants, _b as AppSelectorDropdownIndicator, yb as AppSelectorNoOptionsMessage, e_ as AppStatus, BS as AppStatusContent, $S as AppStatusModal, KS as AppStatusModalTabType, Lt as AppThemeType, za as AppType, Id as ApplicationManagementIcon, pM as ApplyPolicyToStage, Qa as ApprovalConfigDataKindType, ea as ApprovalRuntimeStateType, ek as ArtifactInfo, tC as ArtifactInfoModal, Ug as Artifacts, yi as AuthenticationType, Rd as AutomationEnablementIcon, Mn as BASE_CONFIGURATION_ENV_ID, jt as BASE_ROUTES, jf as BUILD_INFRA_DEFAULT_PLATFORM_NAME, Ef as BUILD_INFRA_FORM_FIELDS, Pf as BUILD_INFRA_INHERIT_ACTIONS, xf as BUILD_INFRA_INPUT_CONSTRAINTS, Mf as BUILD_INFRA_LATEST_API_VERSION, Ff as BUILD_INFRA_LOCATOR_CONFIG_TYPES_MAP, Tf as BUILD_INFRA_LOCATOR_LABEL_MAP, wf as BUILD_INFRA_LOCATOR_MARKER_MAP, Gf as BUILD_INFRA_SUB_VALUES_INHERIT_ACTIONS, Af as BUILD_INFRA_TEST_IDS, Cf as BUILD_INFRA_TEXT, Vr as BULK_DEPLOY_ACTIVE_IMAGE_TAG, io as BULK_DEPLOY_LATEST_IMAGE_TAG, fx as BULK_DROPDOWN_TEST_ID, gx as BULK_SELECTION_CONTEXT_ERROR, op as Backdrop, Ud as BackupAndScheduleListViewEnum, Hd as BackupLocationsTypes, aC as Badge, nx as BaseConfirmationModal, ej as BlinkingCursor, Dj as BreadCrumb, Cj as BreadcrumbStore, xj as BreadcrumbText, bf as BuildInfraAPIVersionType, Ap as BuildInfraConfigForm, Y as BuildInfraConfigTypes, Np as BuildInfraDescriptor, Pp as BuildInfraFooter, Ep as BuildInfraFormAction, X as BuildInfraLocators, df as BuildInfraMetaConfigTypes, gf as BuildInfraProfileAdditionalErrorKeysType, Kf as BuildInfraProfileDescriptionField, yf as BuildInfraProfileInputActionType, Op as BuildInfraProfileNameField, ff as BuildInfraProfileVariants, mf as BuildInfraToleranceEffectType, pf as BuildInfraToleranceOperatorType, jp as BuildInfraUtilityContext, oa as BuildStageVariable, hf as BuildXDriverType, Ad as BulkEditVersion, rT as BulkOperations, xx as BulkSelection, ux as BulkSelectionEvents, px as BulkSelectionOptionsLabels, bx as BulkSelectionProvider, N as Button, Pn as ButtonComponentType, L as ButtonStyleType, R as ButtonVariantType, iT as ButtonWithLoader, aT as ButtonWithSelector, CC as CATEGORY_LABELS, Wg as CDEmptyState, Pa as CDMaterialFilterQuery, hi as CDMaterialResourceQuery, tr as CDMaterialServiceEnum, or as CDMaterialSidebarType, la as CDModalTab, En as CD_MATERIAL_SIDEBAR_TABS, cT as CHART_COLORS, Ua as CHECKBOX_VALUE, oe as CIBuildType, ma as CIMaterialSidebarType, Ja as CIPipelineNodeType, _x as CLEAR_SELECTIONS_WARNING, Bd as CLUSTER_PROVIDER_TO_ICON_NAME, Vd as CLUSTER_PROVIDER_TO_LABEL, Bu as CMSecretComponentType, Iu as CMSecretExternalType, Hf as CM_SECRET_COMPONENT_TYPE_TO_INFRA_CONFIG_MAP, Uf as CM_SECRET_COMPONENT_TYPE_TO_LOCATOR_MAP, Vu as CM_SECRET_STATE, Hu as CODE_EDITOR_RADIO_STATE, zn as COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP, At as COMPONENT_SIZE_TYPE_TO_ICON_SIZE_MAP, t as COMPONENT_SIZE_TYPE_TO_INLINE_PADDING_MAP, Cr as CONFIGURATION_TYPE_OPTIONS, Rr as CONFIGURATION_TYPE_VALUES, id as CONFIG_HEADER_TAB_VALUES, BT as CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA, LT as CONFIG_MAP_SECRET_YAML_PARSE_ERROR, to as CONTACT_SALES_LINK, ra as CONTACT_SUPPORT_LINK, dt as CORDON_NODE_MODAL_MESSAGING, kf as CREATE_MODE_REQUIRED_INPUT_FIELDS, La as CUBIC_BEZIER_CURVE, ix as CannotDeleteModal, sT as Card, NT as Chart, kj as ChartVersionAndTypeSelector, Os as Checkbox, Zs as Chip, C_ as CiPipelineSourceConfig, og as ClearIndicator, hn as ClipboardButton, Em as ClusterFiltersType, hm as ClusterMap, FT as ClusterStatusIcon, Om as ClusterStatusType, qt as CodeEditor, Mo as Collapse, Gv as CollapsibleList, Ab as CommitChipCell, hb as CommonGroupedDropdownStyles, dd as CompareFromApprovalOptionsValuesType, V as ComponentSizeType, j as ConditionDataTableHeaderKeys, yt as ConditionType, Ca as ConditionalWrap, $u as ConfigHeaderTabType, $T as ConfigMapSecretReadyOnly, Lu as ConfigResourceType, nd as ConfigToolbarPopupNodeType, Bi as ConfigurationType, rx as ConfirmationModal, qb as ConfirmationModalProvider, Yb as ConfirmationModalVariantType, hM as ConsequenceAction, oE as ContextSwitcher, Vi as CoreAPI, Pr as CostBreakdownItemViewParamsType, Za as CostBreakdownViewType, lE as CountrySelect, $f as CustomInput, ug as CustomSelect, mE as DATE_PICKER_CUSTOM_COMPONENTS, pE as DATE_PICKER_IDS, fE as DATE_PICKER_PLACEHOLDER, Ba as DATE_TIME_FORMATS, ir as DATE_TIME_FORMAT_STRING, fa as DC_DELETE_SUBTITLES, bi as DEFAULT_BASE_PAGE_SIZE, sr as DEFAULT_ENV, ha as DEFAULT_JSON_SCHEMA_URI, Ka as DEFAULT_LOCKED_KEYS_CONFIG, eA as DEFAULT_PLUGIN_CREATED_BY, Qk as DEFAULT_PLUGIN_DATA_STORE, $k as DEFAULT_PLUGIN_LIST_FILTERS, Sf as DEFAULT_PROFILE_NAME, jh as DEFAULT_RESOURCES_MAP, xr as DEFAULT_ROUTE_PROMPT_MESSAGE, Ri as DEFAULT_SECRET_PLACEHOLDER, Ya as DEFAULT_TAG_DATA, gE as DEFAULT_TIME_OPTIONS, Lf as DEFAULT_TOLERANCE_EFFECT, Rf as DEFAULT_TOLERANCE_OPERATOR, wt as DELETE_NODE_MODAL_MESSAGING, Iv as DEPLOYMENT_CONFIG_DIFF_SORT_KEY, uo as DEPLOYMENT_HISTORY_CONFIGURATION_LIST_MAP, G_ as DEPLOYMENT_PHASES, kr as DEPLOYMENT_STAGE_TO_NODE_MAP, B as DEPLOYMENT_STATUS, R_ as DEPLOYMENT_STATUS_TEXT_MAP, wr as DEPLOYMENT_WINDOW_TYPE, FA as DEVTRON_AI_URL, ba as DEVTRON_BASE_MAIN_ID, am as DEVTRON_DEPLOYMENT_CHART_NAMES, Hi as DEVTRON_GPT_LINK, ho as DEVTRON_HOME_PAGE, Nr as DISCORD_LINK, Cs as DOCUMENTATION, Yr as DOCUMENTATION_HOME_PAGE, wa as DOCUMENTATION_VERSION, de as DRAIN_NODE_MODAL_MESSAGING, sd as DTApplicationMetricsFormField, Ss as DTSwitch, wE as DateTimePicker, jj as DebouncedSearch, po as DefaultUserKey, Pj as DeleteCINodeButton, qi as DeleteComponentsName, ox as DeleteConfirmationModal, jr as DependencyType, vr as DeploymentAppTypes, Jv as DeploymentConfigDiff, Vv as DeploymentConfigDiffRadioSelect, Ov as DeploymentConfigDiffState, Sv as DeploymentDetailSteps, Ny as DeploymentHistoryConfigDiff, Py as DeploymentHistoryDiffView, Ii as DeploymentNodeType, qr as DeploymentPhaseType, KE as DeploymentPolicy, ci as DeploymentStageType, t_ as DeploymentStatus, bv as DeploymentStatusDetailBreakdown, $r as DeploymentWithConfigType, xi as DetailsProgressing, mb as DetectBottom, yu as DevtronCopyright, Hk as DevtronLicenseCard, Ij as DevtronProgressing, Rj as DialogForm, zj as DialogFormSubmit, As as DocLink, Fu as DraftAction, Pu as DraftState, zx as DraggableButton, Bx as DraggablePositionVariant, Vx as DraggableWrapper, lx as Drawer, Xi as DropdownIndicator, fd as DryRunEditorMode, QE as DynamicDataTable, OE as DynamicDataTableRowDataType, Jn as EMPTY_STATE_STATUS, yo as ENTERPRISE_SUPPORT_LINK, Zi as ERROR_EMPTY_SCREEN, fi as ERROR_STATUS_CODE, Vo as EULA_LINK, ri as EXCLUDED_FALSY_VALUES, dr as EXCLUDED_IMAGE_TOOLTIP, No as EXTERNAL_TYPES, uD as EditImageFormField, iD as EditableTextArea, Sa as EntityTypes, zu as EnvResourceType, Yi as EnvType, hD as EnvironmentSelector, Jt as EnvironmentTypeEnum, WS as ErrorBar, Ev as ErrorScreenManager, Bj as ErrorScreenNotAuthorized, gD as ExcludedImageNode, vD as ExportToCsv, H_ as FAILED_DEPLOYMENT_STATUS, Qn as FALLBACK_REQUEST_TIMEOUT, Co as FREQUENCY_ENUM, SD as FeatureDescriptionModal, CD as FeatureTitleWithInfo, fg as FetchIdDataStatus, Sd as FileConfigTippy, Ai as FilePropertyTypeSizeUnit, YE as FileUpload, TD as FilterChips, so as FilterConditionType, Zf as FilterSelectPicker, Er as FilterStates, Wx as FiltersTypeEnum, Gw as FixAvailabilityOptions, sE as FlagImage, FD as FloatingVariablesSuggestions, ax as ForceDeleteConfirmationModal, gm as ForceDeleteOption, ad as GET_RESOLVED_DEPLOYMENT_TEMPLATE_EMPTY_RESPONSE, cd as GUIViewError, je as GVK_FILTER_API_VERSION_QUERY_PARAM_KEY, Ze as GVK_FILTER_KIND_QUERY_PARAM_KEY, iM as GenericDescription, Cv as GenericEmptyState, kx as GenericFilterEmptyState, RD as GenericInfoCard, ID as GenericInfoCardBorderVariant, BD as GenericInfoCardListing, zD as GenericInfoListSkeleton, YD as GenericModal, ds as GenericSectionErrorState, rd as GetTemplateAPIRouteType, eb as GitChanges, Zy as GitCommitInfoGeneric, ui as GitOpsAuthModeType, Yy as GitProviderIcon, Go as GitProviderType, sO as GraphVisualizer, aM as Grid, Tb as GroupHeading, wp as GroupedFilterSelectPicker, Ks as HIDE_SUBMIT_BUTTON_UI_SCHEMA, NO as HeaderWithCreateButton, dg as HistoryComponentType, hr as Host, Fk as ICDevtronWithBorder, w as IMAGE_SCAN_TOOL, Bf as INFRA_CONFIG_CONTAINING_SUB_VALUES, zf as INFRA_CONFIG_NOT_SUPPORTED_BY_BUILD_X, Vf as INFRA_CONFIG_TO_CM_SECRET_COMPONENT_TYPE_MAP, To as INVALID_LICENSE_KEY, Ed as IO_VARIABLES_VALUE_COLUMN_BOOL_OPTIONS, Dd as IO_VARIABLES_VALUE_COLUMN_DATE_OPTIONS, Lo as IS_PLATFORM_MAC_OS, I as Icon, IO as IframeContainer, ZO as Illustration, ok as ImageCard, ck as ImageCardAccordion, Gb as ImageChipCell, Ur as ImagePromotionRuntimeState, bu as ImageSelectionUtilityContext, Su as ImageSelectionUtilityProvider, lM as ImageTagButton, cM as ImageTagsContainer, _a as ImageType, fC as ImageWithFallback, F_ as IndexStore, nv as InfoBlock, tn as InfoBlockVariant, fs as InfoIconTippy, Wi as InfrastructureManagementAppListType, Wd as InfrastructureManagementIcon, f as InputOutputVariablesHeaderKeys, Dm as InstallationClusterStatus, ti as InstallationClusterType, Ik as InstallationFingerprintInfo, Xn as InstallationType, dM as InteractiveCellText, uk as InvalidTippyTypeEnum, pk as InvalidYAMLTippyWrapper, Rt as K8S_EMPTY_GROUP, ae as K8sResourcePayloadAppType, Qt as KEY_VALUE, Ek as KeyValueTable, hk as KeyboardShortcut, jx as LARGE_PAGE_SIZE_OPTIONS, O as LICENSE_DASHBOARD_HOME_PAGE, A as LICENSE_KEY_QUERY_PARAM, ko as LOGIN_COUNT, xo as LicenseInfoDialogType, Dk as LicenseStatus, Uo as LicensingErrorCodes, Uk as LoadingCard, Qd as LoadingDonutChart, wb as LoadingIndicator, Qy as LogResizeButton, Jk as LoginBanner, fb as LogsRenderer, vt as MATERIAL_EXCLUDE_TIPPY_TEXT, nc as MAX_DESCRIPTION_LENGTH, on as MAX_LOGIN_COUNT, le as MAX_Z_INDEX, Ms as MESSAGES, te as MODAL_TYPE, St as MODES, uE as MONTHLY_DATES_CONFIG, hE as MONTHLY_DATE_OPTIONS, js as MainContextProvider, ii as ManualApprovalType, Uj as MarkDown, Xr as MaterialDataSource, eC as MaterialHistory, Db as MenuListWithApplyButton, Zd as MetricsInfoCard, Xd as MetricsInfoLoadingCard, LE as Modal, Xk as ModalSidebarPanel, ki as ModuleNameMap, pr as ModuleStatus, TE as MonthlySelect, wi as MountPath, Ob as MultiSelectValueContainer, cg as MultiValueChipContainer, ig as MultiValueContainer, ag as MultiValueContainerWithCount, sg as MultiValueRemove, qo as NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG, d as NO_MATCHING_RESULT, Df as NUMERIC_BUILD_INFRA_FORM_FIELD_CONFIGURATION_MAP, Oj as NestedBreadCrumb, km as NodeActionMenuOptionIdEnum, _m as NodeDrainOptions, yg as NodeFilters, _f as NodeSelectorHeaderType, vg as NodeStatus, _g as NodeStatusDTO, Fo as Nodes, hp as NumbersCount, Ci as OPEN_NEW_TICKET, ef as OVERVIEW_PAGE_SIZE_OPTIONS, tf as OVERVIEW_PAGE_SIZE_OPTIONS_SMALL, ng as Option, td as OverrideMergeStrategyType, hd as OverrideStrategyTippyContent, Ni as PATTERNS, U_ as PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_ARGO, W_ as PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_FLUX, ot as POP_UP_MENU_MODAL_ID, h as POSTHOG_EVENT_ONBOARDING, ft as PRIVACY_POLICY_LINK, Of as PROFILE_INPUT_ERROR_FIELDS, B_ as PROGRESSING_DEPLOYMENT_STATUS, Tt as PROGRESSING_DEPLOYMENT_STATUS_POLLING_INTERVAL, AO as PageHeader, Lx as Pagination, Gx as PaginationEnum, np as PasswordField, fe as PatchOperationType, Zk as PhoneInput, ud as PipelineMigratedFromType, lA as PipelineStageTaskActionModalType, Gn as PipelineType, cA as PluginCreationType, nA as PluginImageContainer, yA as PluginListContainer, mM as PluginRequiredStage, oA as PluginTagsContainer, st as PluginType, Xt as PolicyKindType, sp as Popover, BE as PopupMenu, bA as PortalContainer, nf as ProdNonProdSelectValueTypes, xA as ProgressBar, rt as Progressing, E as PromiseAllStatusType, SA as PromoetheusConfigCard, FE as PropagateTagInfo, ed as ProtectConfigTabsType, CA as QRCode, ao as QueryClientProvider, Me as RAISE_ISSUE, qh as REGISTRY_TYPE_MAP, Qe as REMOTE_CONNECTION_TYPE_LABEL_MAP, ec as RJSFForm, n as ROUTER_URLS, H as ROUTES, zv as RadioGroup, Bv as RadioGroupItem, lt as ReactSelectInputAction, pt as RefVariableStageType, Et as RefVariableType, Do as RegistryCredentialsType, Kh as RegistryIcon, rn as RegistryType, xd as ReleaseMode, Tv as Reload, se as RemoteConnectionType, Rw as ReportTabEmptyState, gt as RepositoryAction, IE as ResizableTagTextArea, Am as ResourceBrowserActionMenuEnum, gg as ResourceConflictModalType, M as ResourceKindType, vm as ResourceRecommenderHeaderType, bt as ResourceVersionType, ji as ResponseHeaders, Bt as Routes, p as RuntimeParamsHeadingType, Ps as SCHEMA_07_VALIDATOR, Js as SCHEMA_07_VALIDATOR_STRICT, RT as SECRET_TOAST_INFO, kt as SELECTED_APPROVAL_TAB_STATE, mx as SELECT_ALL_ACROSS_PAGES_LOCATOR, ge as SEMANTIC_VERSION_DOCUMENTATION_LINK, Ie as SERVER_MODE, TC as SEVERITIES_LABEL_COLOR_MAP, Lw as SEVERITY_LABEL_MAP, Yo as SKIP_LABEL_KEY_VALIDATION_PREFIX, nt as SSOProvider, DA as SSOProviderIcon, $i as STAGE_MAP, v as STAGE_TYPE, bg as STATUS_SORTING_ORDER, gn as STRATEGY_TYPE_TO_TITLE_MAP, V_ as SUCCESSFUL_DEPLOYMENT_STATUS, pC as ScannedByToolModal, lm as ScopedVariablesFileViewType, pe as ScriptType, $y as Scroller, _M as SearchBar, Jd as SectionEmptyState, Hw as SecurityCard, Uw as SecurityDetailsCards, Nw as SecurityModal, fm as SegmentedBarChart, SM as SegmentedControl, TM as Select, dx as SelectAllDialogStatus, Ee as SelectAllGroupedResourceIdentifiers, ss as SelectPicker, Tp as SelectPickerTextArea, Gs as SelectPickerVariantType, gu as ServerAnalyticsEventType, Ht as ServerError, Zo as ServerErrors, $ as SeveritiesDTO, Ti as Severity, lC as SeverityChip, rv as ShowMoreText, TA as SideNavigation, $s as SidePanelTab, zb as Sidebar, rg as SingleSelectOption, dh as SortableTableHeaderCell, Wt as SortingOrder, no as SourceTypeMap, xg as StageStatusType, $g as StatusComponent, Bb as StatusFilterButtonComponent, ye as StatusType, NA as SwitchThemeDialog, Td as SystemVariableIcon, ln as TARGET_IDS, Sn as TARGET_K8S_VERSION_SEARCH_KEY, Nf as TARGET_PLATFORM_ERROR_FIELDS_MAP, be as TERMS_OF_USE_LINK, Wk as TESTIMONIAL_CARD_DATA, g as THEME_PREFERENCE_STORAGE_KEY, P as TIMELINE_STATUS, $o as TIME_HOUR_SUFFIX_FOR_12_HOUR_FORMAT, dE as TIME_OPTIONS_CONFIG, S as TOAST_ACCESS_DENIED, yn as TOKEN_COOKIE_NAME, Du as TOOLTIP_CONTENTS, Ke as TRIGGER_STATUS_PROGRESSING, Oa as TYPE_3_CHARACTERS_TO_SEE_MATCHING_RESULTS, ze as TYPE_TO_SEE_MATCHING_RESULTS, jS as TabGroup, lS as Table, Ux as TableSignalEnum, UE as TagDetails, HE as TagLabelValueSelector, RA as TagsContainer, Xh as TargetPlatformBadgeList, Qh as TargetPlatformListTooltip, VA as TempAppWindow, Ru as TemplateListType, Yk as TestimonialContent, nD as Textarea, ut as ThemeProvider, OO as ThemeSwitcher, EE as TimePickerSelect, vs as TippyCustomized, go as TippyTheme, mi as ToastManager, Na as ToastManagerContainer, er as ToastVariantType, Dv as ToggleResolveScopedVariables, vf as ToleranceHeaderType, F as Tooltip, $A as TreeView, Ro as TriggerBlockType, xS as TriggerDetails, NS as TriggerOutput, mt as TriggerType, ke as TriggerTypeMap, fn as UNCHANGED_ARRAY_ELEMENT_SYMBOL, Fn as UNSAVED_CHANGES_PROMPT_MESSAGE, Dt as URLProtocolType, Tn as URLS, zm as URL_FILTER_KEYS, Ah as USER_PREFERENCES_ATTRIBUTE_KEY, Wf as USE_BUILD_X_DRIVER_FALLBACK, nj as UnsavedChanges, rj as UnsavedChangesDialog, Rm as UseRegisterShortcutProvider, Tu as UserEmailProvider, aj as UserIdentifier, jd as UserListSortableKeys, Nh as UserPreferenceResourceActions, sf as UserRoleGroupsTable, Nd as UserStatus, Md as UserStatusDto, cf as UserTypeToFetchType, Od as VALUE_COLUMN_DROPDOWN_LABEL, On as VARIANT_TO_BG_MAP, Hn as VARIANT_TO_BORDER_MAP, Nt as VARIANT_TO_ICON_COLOR_MAP, a as VIEW_ALL_TICKETS, Ce as VULNERABILITIES_SORT_PRIORITY, _s as ValueContainerWithLoadingShimmer, ld as ValuesAndManifestFlagDTO, Ne as VariableTypeFormat, Mh as ViewIsPipelineRBACConfiguredRadioTabs, im as VirtualClusterSidebar, sj as VirtualizedList, cx as VisibleModal, fM as VisibleModal2, qw as Vulnerabilities, Ww as VulnerabilityDiscoveryAgeOptions, Ye as WEEK_DAYS_ENUM, z_ as WFR_STATUS_DTO_TO_DEPLOYMENT_STATUS_MAP, $e as WORKFLOW_CACHE_CONFIG_ENUM, me as WebhookEventNameType, hg as WorkflowExecutionStageNameType, pg as WorkflowExecutionStageType, cr as WorkflowNodeType, yj as WorkflowOptionsModal, L_ as WorkflowRunnerStatusDTO, mg as WorkflowStageStatusType, Pe as WorkflowStatusEnum, di as YAMLStringify, Vt as YAMLtoJSON, ja as ZERO_TIME_STRING, mo as abortPreviousRequests, Lk as activateLicense, Xo as aggregateNodes, ga as animate, ni as applyCompareDiffOnUneditedDocument, He as arrowUnicode, Zn as asyncWrap, i_ as buildHoverHtmlForWebhook, So as buildObjectFromPath, sv as cancelCiTrigger, cv as cancelPrePostCdTrigger, Wo as capitalizeFirstLetter, kT as chartColorGenerator, mr as cleanKubeManifest, y as clearCookieOnLogout, Io as closeOnEscKeyPressed, Eb as commonSelectStyles, Zt as compareObjectLength, zT as configMapDataTypeOptions, VT as configMapSecretMountDataMap, Ws as conformPathToPointers, sm as convertDeploymentChartListToChartType, D as convertJSONPointerToJSONPath, KT as convertKeyValuePairToYAML, XT as convertYAMLToKeyValuePair, Oo as copyToClipboard, Cm as cordonNodeCapacity, Ip as createBuildInfraProfileService, ia as createGitCommitUrl, bm as createNewResource, Oi as createResourceRequestBody, an as customStyles, _n as dateComparatorBySortOrder, ce as debounce, De as decode, ee as deepEqual, Sm as deleteNodeCapacity, xm as deleteResource, Nj as deleteWorkflow, un as deriveBorderRadiusAndBorderClassFromConfig, Nv as diffStateIconMap, Fv as diffStateTextColorMap, Mv as diffStateTextMap, Pv as diffStateTooltipTextMap, Us as doesJSONConformToSchema07, wm as drainNodeCapacity, Cn as escapeRegExp, xe as explainCronExpression, Ra as extractImage, vi as fetchChartTemplateVersions, xt as findRight, S_ as findScrollableAncestor, Mi as flatMapOfJSONPaths, qe as formatNumberToCurrency, ar as genericCDMaterialsService, Xa as get, m as getAIAnalyticsEvents, _d as getAPIOptionsWithTriggerTimeout, u as getAggregator, Ju as getAllClusterListMin, Ei as getAlphabetIcon, ka as getAppDetailsURL, ju as getAppEnvDeploymentConfig, yy as getAppEnvDeploymentConfigList, pa as getAppOptionsGroupedByProjects, g_ as getAppStatusIcon, Ld as getApplicationManagementBreadcrumb, qa as getAppsInfoForEnv, Au as getArtifactInfo, zd as getAutomationEnablementBreadcrumb, hA as getAvailablePluginTags, ct as getBranchIcon, rm as getBuildInfraInheritActionFromLocator, Fp as getBuildInfraProfileByName, nm as getBuildInfraProfileEndpoint, tm as getBuildInfraProfilePayload, em as getBuildxDriverTypeFromUseK8sDriver, ku as getCITriggerInfo, GC as getCVEUrlFromCVEName, Be as getClassNameForStickyHeaderWithShadow, Sr as getClusterListMin, Tm as getClusterListRaw, qu as getClusterOptions, xb as getCommonSelectStyle, Mu as getCompareSecretsData, JC as getCompiledSecurityThreats, ue as getComponentSpecificThemeClass, JT as getConfigMapSecretFormInitialValues, nE as getConfigMapSecretFormValidations, QT as getConfigMapSecretPayload, YT as getConfigMapSecretReadOnlyValues, Qb as getConfirmationLabel, ht as getCookie, Cb as getCustomOptionSelectionStyle, yO as getDateInMilliseconds, zi as getDefaultConfig, xE as getDefaultDateFromTimeToLive, In as getDefaultValueFromType, by as getDefaultVersionAndPreviousDeploymentOptions, pd as getDeploymentManifest, gd as getDeploymentStageTitle, lv as getDeploymentStatusDetail, Xg as getDeploymentStatusFromStatus, Qv as getDeploymentTemplateData, y_ as getDeploymentTimelineBGColorFromIcon, fo as getDetailedClusterList, Ar as getDockerRegistriesListMin, cs as getDocumentationUrl, Jp as getDoesInfraConfigContainsSubValue, ey as getDraftData, ZT as getESOSecretDataFromYAML, Ot as getEmptyArrayOfLength, IA as getEmptyTagTableRow, Ku as getEnvironmentData, Kr as getEnvironmentListMinPublic, xa as getEnvironmentOptionsGroupedByClusters, kn as getFileNameFromHeaders, he as getFilteredChartVersions, Rn as getFormattedSchema, p_ as getFormattedTriggerTime, Fe as getFormattedUTCTimeForExport, Un as getGVKTitle, Ji as getGitBranchUrl, Pt as getGitCommitInfo, li as getGitProvidersListMin, ei as getGlobalVariables, tt as getGoLangFormattedDateWithTimezone, o as getGroupVersionFromApiVersion, cm as getGuiSchemaFromChartName, Ir as getHandleOpenURL, Ut as getHashedValue, SO as getHelpActionMenuOptions, u_ as getHistoryItemStatusIconFromWorkflowStages, l_ as getIconFromWorkflowStageStatusType, Qo as getIframeWithDefaultAttributes, Xs as getInferredTypeFromValueType, Gd as getInfrastructureManagementBreadcrumb, hx as getInvalidActionMessage, dk as getInvalidTippyContent, $a as getIsApprovalPolicyConfigured, HS as getIsImagePullBackOff, ta as getIsManualApprovalConfigured, Fa as getIsMaterialInfoAvailable, Is as getIsRegexValid, Mr as getIsRequestAborted, ym as getK8sResourceList, Si as getK8sResourceListPayload, gi as getKeyToBooleanMapFromArray, o_ as getLogSearchIndex, nr as getLowerCaseObject, uv as getManualSync, aE as getMinCharSearchPlaceholderGroup, gv as getModuleConfigured, Yn as getNamespaceListMin, vb as getNoMatchingResultText, m_ as getNodesCount, ua as getNullValueFromType, jn as getOrdinal, gA as getParentPluginList, Xu as getParsedCIMaterialInfo, r_ as getParsedTriggerHistory, Kp as getParsedValueForUseK8sDriver, mA as getPluginStoreData, pA as getPluginsDetail, P_ as getPodsForRootNodeName, N_ as getPodsRootParentNameAndStatus, Wu as getPolicyApiUrl, pw as getProgressingStateForStatus, bh as getProjectOptions, x as getRandomColor, Ls as getRedirectionProps, vn as getRegexMatchPositions, md as getResolvedDeploymentTemplate, Uu as getResourceApiUrl, vv as getResourceConflictDetails, bo as getResourceGroupListRaw, Oe as getSanitizedIframe, Ds as getSchemaPathToUpdatePathMap, HT as getSecretDataTypeOptions, qd as getSecurityCenterBreadcrumb, qC as getSecurityConfig, Ow as getSecurityModalSidebarChildFromId, Dw as getSecurityModalSidebarId, Pw as getSecurityScan, Fw as getSecurityScanRecommendations, FC as getSecurityScanSeveritiesCount, ZC as getSecurityScanStatus, Ns as getSelectPickerOptionByValue, tc as getSelectPickerOptionsByValue, kw as getSidebarData, x_ as getSortedTriggerHistory, Kw as getSortedVulnerabilities, a_ as getStageStatusIcon, dn as getStageTitle, h_ as getStatusFilters, XC as getStatusForScanList, wn as getTTLInHumanReadableFormat, ov as getTagDetails, Ho as getTeamListMin, Yu as getTemplateAPIRoute, Xe as getThemePreferenceText, Wa as getTimeDifference, Wn as getTimeStampAMPMSuffix, vE as getTimeValue, KC as getTotalSeverities, VC as getTotalVulnerabilityCount, $p as getTransformedBuildInfraProfileResponse, av as getTriggerDetails, hv as getTriggerHistory, n_ as getTriggerHistoryFilterCriteria, b_ as getTriggerOutputTabs, __ as getTriggerStatusIcon, yr as getUniqueId, fA as getUpdatedPluginStore, Se as getUrlWithSearchParams, Pd as getUserAndApiTokenOption, Fd as getUserAndApiTokenOptions, Ih as getUserPreferences, fr as getUserRole, Li as getWebhookDate, co as getWebhookEventIcon, Po as getWebhookEventsForEventId, d_ as getWorkerPodBaseUrl, f_ as getWorkflowNodeStatusTitle, M_ as getiNodesByKindWithChildNodes, A_ as getiNodesByRootNodeWithChildNodes, Dr as groupArrayByObjectKey, pu as handleAddCD, hu as handleAnalyticsEvent, Wr as handleDisableSubmitOnEnter, bO as handlePostHogEventUpdate, Jr as handleRedirectToLicenseActivation, Je as handleRelativeDateSorting, mu as handleSendAnalyticsEventToServer, Aa as handleUTCTime, Qu as hasESO, Zu as hasHashiOrAWS, va as highlightSearchText, ve as iconMap, XO as illustrationMap, Gi as isAWSCodeCommitURL, vd as isImageActiveOnEnvironment, ai as isNullOrUndefined, Zr as isTimeStringAvailable, Ve as joinObjects, Ln as logExceptionToSentry, An as mapByKey, ty as mergeConfigDataArraysByName, Ui as motion, lg as multiSelectStyles, z as noop, Ft as not, Kn as numberComparatorBySortOrder, Ak as parseDevtronLicenseDTOIntoLicenseCardData, jk as parseDevtronLicenseData, BC as parseGetResourceScanDetailsResponse, Gp as parsePlatformConfigIntoValue, dA as parsePluginDetailsDTOIntoPluginStore, Yt as parseRuntimeParams, Qi as patch, Ma as post, s as powerSetOfSubstringsFromStart, Lr as prefixZeroIfSingleDigit, mv as prepareHistoryData, _o as preventBodyScroll, eo as preventDefault, T as processCDMaterialServiceResponse, na as processDeployedTime, X_ as processDeploymentStatusDetailsData, pi as put, Ia as recursivelyRemoveSymbolFromArraysInObject, j_ as reduceKindStatus, _i as refresh, v_ as renderDeploymentTimelineIcon, US as renderErrorHeaderMessage, IT as renderHashiOrAwsDeprecatedInfo, zo as renderMaterialIcon, lr as renderValidInputButtonTippy, rr as reportIssue, Fs as requiredField, _v as resourceConflictRedeploy, jo as sanitizeApprovalConfigData, Kt as sanitizeTargetPlatforms, C as sanitizeUserApprovalList, Eo as sanitizeUserApprovalMetadata, c_ as sanitizeWorkflowExecutionStages, Gu as saveCDPipeline, Mj as savePipeline, xO as setActionWithExpiry, $n as setGlobalAPITimeout, nn as setImageTags, da as shallowEqual, Ga as showError, wo as smoothScrollToTop, br as sortCallback, Mg as statusColor, Br as statusIcon, Cg as statusSet, U as stopPropagation, en as stringComparatorBySortOrder, Sg as terminalStatus, lo as throttle, sa as trash, bd as triggerCDNode, bE as updateDate, yE as updateTime, zh as updateUserPreferences, yd as uploadCDPipelineFile, kd as uploadCIPipelineFile, Lp as upsertBuildInfraProfile, pc as useAnimation, uc as useAnimationControls, Or as useAsync, Ej as useBreadcrumb, Wp as useBuildInfraForm, Mp as useBuildInfraUtilityContext, yx as useBulkSelection, Ou as useClickOutside, Gr as useDebounce, _h as useDownload, ya as useEffectAfterMount, yh as useForm, Sh as useGetResourceKindsOptions, jm as useGetUserRoles, xu as useImageSelectionUtilityContext, Va as useInfiniteQuery, ie as useIntersection, Ki as useInterval, Vs as useIsSecureConnection, zr as useIsTextTruncated, si as useJsonYaml, Qr as useKeyDown, Hs as useMainContext, cc as useMotionTemplate, dc as useMotionValue, gr as useMutation, Th as useOneTimePrompt, pp as usePopover, Eh as usePrompt, Pi as useQuery, $t as useQueryClient, Nm as useRegisterShortcut, fh as useResizableTableConfig, qn as useScrollable, vo as useSearchString, Bm as useStateFilters, kh as useStickyEvent, Ct as useTheme, Bo as useThrottledEffect, Qm as useTriggerAutoClickTimestamp, tj as useTypewriter, Jm as useUrlFilters, wu as useUserEmail, Uh as useUserPreferences, Zm as useWindowSize, Es as validateAppName, rc as validateCMVolumeMountPath, oc as validateCronExpression, ks as validateDateAndTime, ac as validateDescription, ys as validateDisplayName, rs as validateEmail, ic as validateIfImageExist, bs as validateIframe, as as validateLabelKey, is as validateLabelValue, hs as validateName, Bs as validateProtocols, ts as validateRequiredPositiveInteger, zs as validateRequiredPositiveNumber, ps as validateSemanticVersioning, ms as validateStringLength, WE as validateTagKeyValue, GE as validateTagValue, gs as validateURL, os as validateUniqueKeys, ls as validateYAML, k as versionComparatorBySortOrder, Eu as withUserEmail, _t as yamlComparatorBySortOrder };
|
|
28993
|
+
export { ro as ACCESS_TYPE_MAP, Vn as ACTION_STATE, If as ACTION_TO_PERSISTED_VALUE_MAP, qs as AIAgentContextSourceType, pn as ALLOW_ACTION_OUTSIDE_FOCUS_TRAP, at as ALL_NAMESPACE_OPTION, we as ALL_RESOURCE_KIND_FILTER, sn as ANSI_UP_REGEX, sh as APIResponseHandler, Mt as API_STATUS_CODES, bn as API_TOKEN_PREFIX, r as APPROVAL_MODAL_TYPE, _e as APP_DETAILS_FALLBACK_POLLING_INTERVAL, gb as APP_SELECTOR_STYLES, Ue as APP_STATUS_HEADERS, Ea as ARTIFACT_STATUS, $m as AboutDevtronBody, eh as AboutDevtronDialog, Cp as ActionMenu, It as ActionTypes, Rk as ActivateLicenseDialog, th as ActivityIndicator, du as AddCDButton, c as AddCDPositions, Fr as AddPipelineType, oa as AggregationKeys, ne as AnimatePresence, nh as AnimatedDeployButton, ah as AnimatedTimer, vu as ApiQueuingWithBatch, Nu as AppEnvDeploymentConfigType, Le as AppListConstants, _b as AppSelectorDropdownIndicator, yb as AppSelectorNoOptionsMessage, e_ as AppStatus, BS as AppStatusContent, $S as AppStatusModal, KS as AppStatusModalTabType, Lt as AppThemeType, Ba as AppType, Id as ApplicationManagementIcon, pM as ApplyPolicyToStage, Qa as ApprovalConfigDataKindType, ta as ApprovalRuntimeStateType, ek as ArtifactInfo, tC as ArtifactInfoModal, Ug as Artifacts, yi as AuthenticationType, Rd as AutomationEnablementIcon, Mn as BASE_CONFIGURATION_ENV_ID, jt as BASE_ROUTES, jf as BUILD_INFRA_DEFAULT_PLATFORM_NAME, Ef as BUILD_INFRA_FORM_FIELDS, Pf as BUILD_INFRA_INHERIT_ACTIONS, xf as BUILD_INFRA_INPUT_CONSTRAINTS, Mf as BUILD_INFRA_LATEST_API_VERSION, Ff as BUILD_INFRA_LOCATOR_CONFIG_TYPES_MAP, Tf as BUILD_INFRA_LOCATOR_LABEL_MAP, wf as BUILD_INFRA_LOCATOR_MARKER_MAP, Gf as BUILD_INFRA_SUB_VALUES_INHERIT_ACTIONS, Af as BUILD_INFRA_TEST_IDS, Cf as BUILD_INFRA_TEXT, Vr as BULK_DEPLOY_ACTIVE_IMAGE_TAG, io as BULK_DEPLOY_LATEST_IMAGE_TAG, fx as BULK_DROPDOWN_TEST_ID, gx as BULK_SELECTION_CONTEXT_ERROR, op as Backdrop, Ud as BackupAndScheduleListViewEnum, Hd as BackupLocationsTypes, aC as Badge, nx as BaseConfirmationModal, ej as BlinkingCursor, Dj as BreadCrumb, Cj as BreadcrumbStore, xj as BreadcrumbText, bf as BuildInfraAPIVersionType, Ap as BuildInfraConfigForm, Y as BuildInfraConfigTypes, Np as BuildInfraDescriptor, Pp as BuildInfraFooter, Ep as BuildInfraFormAction, X as BuildInfraLocators, df as BuildInfraMetaConfigTypes, gf as BuildInfraProfileAdditionalErrorKeysType, Kf as BuildInfraProfileDescriptionField, yf as BuildInfraProfileInputActionType, Op as BuildInfraProfileNameField, ff as BuildInfraProfileVariants, mf as BuildInfraToleranceEffectType, pf as BuildInfraToleranceOperatorType, jp as BuildInfraUtilityContext, sa as BuildStageVariable, hf as BuildXDriverType, Ad as BulkEditVersion, rT as BulkOperations, xx as BulkSelection, ux as BulkSelectionEvents, px as BulkSelectionOptionsLabels, bx as BulkSelectionProvider, N as Button, Pn as ButtonComponentType, L as ButtonStyleType, R as ButtonVariantType, iT as ButtonWithLoader, aT as ButtonWithSelector, CC as CATEGORY_LABELS, Wg as CDEmptyState, Fa as CDMaterialFilterQuery, hi as CDMaterialResourceQuery, tr as CDMaterialServiceEnum, or as CDMaterialSidebarType, ua as CDModalTab, En as CD_MATERIAL_SIDEBAR_TABS, cT as CHART_COLORS, Wa as CHECKBOX_VALUE, oe as CIBuildType, ha as CIMaterialSidebarType, Ya as CIPipelineNodeType, _x as CLEAR_SELECTIONS_WARNING, Bd as CLUSTER_PROVIDER_TO_ICON_NAME, Vd as CLUSTER_PROVIDER_TO_LABEL, Bu as CMSecretComponentType, Iu as CMSecretExternalType, Hf as CM_SECRET_COMPONENT_TYPE_TO_INFRA_CONFIG_MAP, Uf as CM_SECRET_COMPONENT_TYPE_TO_LOCATOR_MAP, Vu as CM_SECRET_STATE, Hu as CODE_EDITOR_RADIO_STATE, zn as COMPONENT_SIZE_TYPE_TO_FONT_AND_BLOCK_PADDING_MAP, At as COMPONENT_SIZE_TYPE_TO_ICON_SIZE_MAP, t as COMPONENT_SIZE_TYPE_TO_INLINE_PADDING_MAP, Cr as CONFIGURATION_TYPE_OPTIONS, Rr as CONFIGURATION_TYPE_VALUES, id as CONFIG_HEADER_TAB_VALUES, BT as CONFIG_MAP_SECRET_DEFAULT_CURRENT_DATA, LT as CONFIG_MAP_SECRET_YAML_PARSE_ERROR, to as CONTACT_SALES_LINK, ia as CONTACT_SUPPORT_LINK, dt as CORDON_NODE_MODAL_MESSAGING, kf as CREATE_MODE_REQUIRED_INPUT_FIELDS, Ra as CUBIC_BEZIER_CURVE, ix as CannotDeleteModal, sT as Card, NT as Chart, kj as ChartVersionAndTypeSelector, Os as Checkbox, Zs as Chip, C_ as CiPipelineSourceConfig, og as ClearIndicator, hn as ClipboardButton, Em as ClusterFiltersType, hm as ClusterMap, FT as ClusterStatusIcon, Om as ClusterStatusType, qt as CodeEditor, Mo as Collapse, Gv as CollapsibleList, Ab as CommitChipCell, hb as CommonGroupedDropdownStyles, dd as CompareFromApprovalOptionsValuesType, V as ComponentSizeType, j as ConditionDataTableHeaderKeys, yt as ConditionType, wa as ConditionalWrap, $u as ConfigHeaderTabType, $T as ConfigMapSecretReadyOnly, Lu as ConfigResourceType, nd as ConfigToolbarPopupNodeType, Vi as ConfigurationType, rx as ConfirmationModal, qb as ConfirmationModalProvider, Yb as ConfirmationModalVariantType, hM as ConsequenceAction, oE as ContextSwitcher, Hi as CoreAPI, Pr as CostBreakdownItemViewParamsType, Za as CostBreakdownViewType, lE as CountrySelect, $f as CustomInput, ug as CustomSelect, mE as DATE_PICKER_CUSTOM_COMPONENTS, pE as DATE_PICKER_IDS, fE as DATE_PICKER_PLACEHOLDER, Va as DATE_TIME_FORMATS, ir as DATE_TIME_FORMAT_STRING, pa as DC_DELETE_SUBTITLES, bi as DEFAULT_BASE_PAGE_SIZE, sr as DEFAULT_ENV, ga as DEFAULT_JSON_SCHEMA_URI, qa as DEFAULT_LOCKED_KEYS_CONFIG, eA as DEFAULT_PLUGIN_CREATED_BY, Qk as DEFAULT_PLUGIN_DATA_STORE, $k as DEFAULT_PLUGIN_LIST_FILTERS, Sf as DEFAULT_PROFILE_NAME, jh as DEFAULT_RESOURCES_MAP, xr as DEFAULT_ROUTE_PROMPT_MESSAGE, zi as DEFAULT_SECRET_PLACEHOLDER, Xa as DEFAULT_TAG_DATA, gE as DEFAULT_TIME_OPTIONS, Lf as DEFAULT_TOLERANCE_EFFECT, Rf as DEFAULT_TOLERANCE_OPERATOR, wt as DELETE_NODE_MODAL_MESSAGING, Iv as DEPLOYMENT_CONFIG_DIFF_SORT_KEY, uo as DEPLOYMENT_HISTORY_CONFIGURATION_LIST_MAP, G_ as DEPLOYMENT_PHASES, kr as DEPLOYMENT_STAGE_TO_NODE_MAP, B as DEPLOYMENT_STATUS, R_ as DEPLOYMENT_STATUS_TEXT_MAP, wr as DEPLOYMENT_WINDOW_TYPE, FA as DEVTRON_AI_URL, xa as DEVTRON_BASE_MAIN_ID, am as DEVTRON_DEPLOYMENT_CHART_NAMES, Ui as DEVTRON_GPT_LINK, ho as DEVTRON_HOME_PAGE, Nr as DISCORD_LINK, Cs as DOCUMENTATION, Yr as DOCUMENTATION_HOME_PAGE, Ta as DOCUMENTATION_VERSION, de as DRAIN_NODE_MODAL_MESSAGING, sd as DTApplicationMetricsFormField, Ss as DTSwitch, wE as DateTimePicker, jj as DebouncedSearch, po as DefaultUserKey, Pj as DeleteCINodeButton, Ji as DeleteComponentsName, ox as DeleteConfirmationModal, jr as DependencyType, vr as DeploymentAppTypes, Jv as DeploymentConfigDiff, Vv as DeploymentConfigDiffRadioSelect, Ov as DeploymentConfigDiffState, Sv as DeploymentDetailSteps, Ny as DeploymentHistoryConfigDiff, Py as DeploymentHistoryDiffView, Ii as DeploymentNodeType, qr as DeploymentPhaseType, KE as DeploymentPolicy, ci as DeploymentStageType, t_ as DeploymentStatus, bv as DeploymentStatusDetailBreakdown, $r as DeploymentWithConfigType, xi as DetailsProgressing, mb as DetectBottom, yu as DevtronCopyright, Hk as DevtronLicenseCard, Ij as DevtronProgressing, Rj as DialogForm, zj as DialogFormSubmit, As as DocLink, Fu as DraftAction, Pu as DraftState, zx as DraggableButton, Bx as DraggablePositionVariant, Vx as DraggableWrapper, lx as Drawer, Zi as DropdownIndicator, fd as DryRunEditorMode, QE as DynamicDataTable, OE as DynamicDataTableRowDataType, Jn as EMPTY_STATE_STATUS, yo as ENTERPRISE_SUPPORT_LINK, Qi as ERROR_EMPTY_SCREEN, fi as ERROR_STATUS_CODE, Vo as EULA_LINK, ri as EXCLUDED_FALSY_VALUES, dr as EXCLUDED_IMAGE_TOOLTIP, No as EXTERNAL_TYPES, uD as EditImageFormField, iD as EditableTextArea, Ca as EntityTypes, zu as EnvResourceType, Xi as EnvType, hD as EnvironmentSelector, Jt as EnvironmentTypeEnum, WS as ErrorBar, Ev as ErrorScreenManager, Bj as ErrorScreenNotAuthorized, gD as ExcludedImageNode, vD as ExportToCsv, H_ as FAILED_DEPLOYMENT_STATUS, Qn as FALLBACK_REQUEST_TIMEOUT, Co as FREQUENCY_ENUM, SD as FeatureDescriptionModal, CD as FeatureTitleWithInfo, fg as FetchIdDataStatus, Sd as FileConfigTippy, Ai as FilePropertyTypeSizeUnit, YE as FileUpload, TD as FilterChips, so as FilterConditionType, Zf as FilterSelectPicker, Er as FilterStates, Wx as FiltersTypeEnum, Gw as FixAvailabilityOptions, sE as FlagImage, FD as FloatingVariablesSuggestions, ax as ForceDeleteConfirmationModal, gm as ForceDeleteOption, ad as GET_RESOLVED_DEPLOYMENT_TEMPLATE_EMPTY_RESPONSE, cd as GUIViewError, je as GVK_FILTER_API_VERSION_QUERY_PARAM_KEY, Ze as GVK_FILTER_KIND_QUERY_PARAM_KEY, iM as GenericDescription, Cv as GenericEmptyState, kx as GenericFilterEmptyState, RD as GenericInfoCard, ID as GenericInfoCardBorderVariant, BD as GenericInfoCardListing, zD as GenericInfoListSkeleton, YD as GenericModal, ds as GenericSectionErrorState, rd as GetTemplateAPIRouteType, eb as GitChanges, Zy as GitCommitInfoGeneric, ui as GitOpsAuthModeType, Yy as GitProviderIcon, Go as GitProviderType, sO as GraphVisualizer, aM as Grid, Tb as GroupHeading, wp as GroupedFilterSelectPicker, Ks as HIDE_SUBMIT_BUTTON_UI_SCHEMA, NO as HeaderWithCreateButton, dg as HistoryComponentType, hr as Host, Fk as ICDevtronWithBorder, w as IMAGE_SCAN_TOOL, Bf as INFRA_CONFIG_CONTAINING_SUB_VALUES, zf as INFRA_CONFIG_NOT_SUPPORTED_BY_BUILD_X, Vf as INFRA_CONFIG_TO_CM_SECRET_COMPONENT_TYPE_MAP, To as INVALID_LICENSE_KEY, Ed as IO_VARIABLES_VALUE_COLUMN_BOOL_OPTIONS, Dd as IO_VARIABLES_VALUE_COLUMN_DATE_OPTIONS, Lo as IS_PLATFORM_MAC_OS, I as Icon, IO as IframeContainer, ZO as Illustration, ok as ImageCard, ck as ImageCardAccordion, Gb as ImageChipCell, Ur as ImagePromotionRuntimeState, bu as ImageSelectionUtilityContext, Su as ImageSelectionUtilityProvider, lM as ImageTagButton, cM as ImageTagsContainer, va as ImageType, fC as ImageWithFallback, F_ as IndexStore, nv as InfoBlock, tn as InfoBlockVariant, fs as InfoIconTippy, Gi as InfrastructureManagementAppListType, Wd as InfrastructureManagementIcon, f as InputOutputVariablesHeaderKeys, Dm as InstallationClusterStatus, ti as InstallationClusterType, Ik as InstallationFingerprintInfo, Xn as InstallationType, dM as InteractiveCellText, uk as InvalidTippyTypeEnum, pk as InvalidYAMLTippyWrapper, Rt as K8S_EMPTY_GROUP, ae as K8sResourcePayloadAppType, Qt as KEY_VALUE, Ek as KeyValueTable, hk as KeyboardShortcut, jx as LARGE_PAGE_SIZE_OPTIONS, O as LICENSE_DASHBOARD_HOME_PAGE, A as LICENSE_KEY_QUERY_PARAM, ko as LOGIN_COUNT, xo as LicenseInfoDialogType, Dk as LicenseStatus, Uo as LicensingErrorCodes, Uk as LoadingCard, Qd as LoadingDonutChart, wb as LoadingIndicator, Qy as LogResizeButton, Jk as LoginBanner, fb as LogsRenderer, vt as MATERIAL_EXCLUDE_TIPPY_TEXT, nc as MAX_DESCRIPTION_LENGTH, on as MAX_LOGIN_COUNT, le as MAX_Z_INDEX, Ms as MESSAGES, te as MODAL_TYPE, St as MODES, uE as MONTHLY_DATES_CONFIG, hE as MONTHLY_DATE_OPTIONS, js as MainContextProvider, ii as ManualApprovalType, Uj as MarkDown, Xr as MaterialDataSource, eC as MaterialHistory, Db as MenuListWithApplyButton, Zd as MetricsInfoCard, Xd as MetricsInfoLoadingCard, LE as Modal, Xk as ModalSidebarPanel, ki as ModuleNameMap, pr as ModuleStatus, TE as MonthlySelect, wi as MountPath, Ob as MultiSelectValueContainer, cg as MultiValueChipContainer, ig as MultiValueContainer, ag as MultiValueContainerWithCount, sg as MultiValueRemove, qo as NODE_DRAIN_OPTIONS_CHECKBOX_CONFIG, d as NO_MATCHING_RESULT, Df as NUMERIC_BUILD_INFRA_FORM_FIELD_CONFIGURATION_MAP, Oj as NestedBreadCrumb, km as NodeActionMenuOptionIdEnum, _m as NodeDrainOptions, yg as NodeFilters, _f as NodeSelectorHeaderType, vg as NodeStatus, _g as NodeStatusDTO, Fo as Nodes, hp as NumbersCount, Ci as OPEN_NEW_TICKET, ef as OVERVIEW_PAGE_SIZE_OPTIONS, tf as OVERVIEW_PAGE_SIZE_OPTIONS_SMALL, ng as Option, td as OverrideMergeStrategyType, hd as OverrideStrategyTippyContent, Ni as PATTERNS, U_ as PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_ARGO, W_ as PHYSICAL_ENV_DEPLOYMENT_TIMELINE_ORDER_FLUX, ot as POP_UP_MENU_MODAL_ID, h as POSTHOG_EVENT_ONBOARDING, ft as PRIVACY_POLICY_LINK, Of as PROFILE_INPUT_ERROR_FIELDS, B_ as PROGRESSING_DEPLOYMENT_STATUS, Tt as PROGRESSING_DEPLOYMENT_STATUS_POLLING_INTERVAL, AO as PageHeader, Lx as Pagination, Gx as PaginationEnum, np as PasswordField, fe as PatchOperationType, Zk as PhoneInput, ud as PipelineMigratedFromType, lA as PipelineStageTaskActionModalType, Gn as PipelineType, cA as PluginCreationType, nA as PluginImageContainer, yA as PluginListContainer, mM as PluginRequiredStage, oA as PluginTagsContainer, st as PluginType, Xt as PolicyKindType, sp as Popover, BE as PopupMenu, bA as PortalContainer, nf as ProdNonProdSelectValueTypes, xA as ProgressBar, rt as Progressing, E as PromiseAllStatusType, SA as PromoetheusConfigCard, FE as PropagateTagInfo, ed as ProtectConfigTabsType, CA as QRCode, ao as QueryClientProvider, Me as RAISE_ISSUE, qh as REGISTRY_TYPE_MAP, Qe as REMOTE_CONNECTION_TYPE_LABEL_MAP, ec as RJSFForm, n as ROUTER_URLS, H as ROUTES, zv as RadioGroup, Bv as RadioGroupItem, lt as ReactSelectInputAction, pt as RefVariableStageType, Et as RefVariableType, Do as RegistryCredentialsType, Kh as RegistryIcon, rn as RegistryType, xd as ReleaseMode, Tv as Reload, se as RemoteConnectionType, Rw as ReportTabEmptyState, gt as RepositoryAction, IE as ResizableTagTextArea, Am as ResourceBrowserActionMenuEnum, gg as ResourceConflictModalType, M as ResourceKindType, vm as ResourceRecommenderHeaderType, bt as ResourceVersionType, ji as ResponseHeaders, Bt as Routes, p as RuntimeParamsHeadingType, Ps as SCHEMA_07_VALIDATOR, Js as SCHEMA_07_VALIDATOR_STRICT, RT as SECRET_TOAST_INFO, kt as SELECTED_APPROVAL_TAB_STATE, mx as SELECT_ALL_ACROSS_PAGES_LOCATOR, ge as SEMANTIC_VERSION_DOCUMENTATION_LINK, Ie as SERVER_MODE, TC as SEVERITIES_LABEL_COLOR_MAP, Lw as SEVERITY_LABEL_MAP, Yo as SKIP_LABEL_KEY_VALIDATION_PREFIX, nt as SSOProvider, DA as SSOProviderIcon, ea as STAGE_MAP, v as STAGE_TYPE, bg as STATUS_SORTING_ORDER, gn as STRATEGY_TYPE_TO_TITLE_MAP, V_ as SUCCESSFUL_DEPLOYMENT_STATUS, pC as ScannedByToolModal, lm as ScopedVariablesFileViewType, pe as ScriptType, $y as Scroller, _M as SearchBar, Jd as SectionEmptyState, Hw as SecurityCard, Uw as SecurityDetailsCards, Nw as SecurityModal, fm as SegmentedBarChart, SM as SegmentedControl, TM as Select, dx as SelectAllDialogStatus, Ee as SelectAllGroupedResourceIdentifiers, ss as SelectPicker, Tp as SelectPickerTextArea, Gs as SelectPickerVariantType, gu as ServerAnalyticsEventType, Ht as ServerError, Zo as ServerErrors, $ as SeveritiesDTO, Ti as Severity, lC as SeverityChip, rv as ShowMoreText, TA as SideNavigation, $s as SidePanelTab, zb as Sidebar, rg as SingleSelectOption, dh as SortableTableHeaderCell, Wt as SortingOrder, no as SourceTypeMap, xg as StageStatusType, $g as StatusComponent, Bb as StatusFilterButtonComponent, ye as StatusType, NA as SwitchThemeDialog, Td as SystemVariableIcon, ln as TARGET_IDS, Sn as TARGET_K8S_VERSION_SEARCH_KEY, Nf as TARGET_PLATFORM_ERROR_FIELDS_MAP, be as TERMS_OF_USE_LINK, Wk as TESTIMONIAL_CARD_DATA, g as THEME_PREFERENCE_STORAGE_KEY, P as TIMELINE_STATUS, $o as TIME_HOUR_SUFFIX_FOR_12_HOUR_FORMAT, dE as TIME_OPTIONS_CONFIG, S as TOAST_ACCESS_DENIED, yn as TOKEN_COOKIE_NAME, Du as TOOLTIP_CONTENTS, Ke as TRIGGER_STATUS_PROGRESSING, ka as TYPE_3_CHARACTERS_TO_SEE_MATCHING_RESULTS, ze as TYPE_TO_SEE_MATCHING_RESULTS, jS as TabGroup, lS as Table, Ux as TableSignalEnum, UE as TagDetails, HE as TagLabelValueSelector, RA as TagsContainer, Xh as TargetPlatformBadgeList, Qh as TargetPlatformListTooltip, VA as TempAppWindow, Ru as TemplateListType, Yk as TestimonialContent, nD as Textarea, ut as ThemeProvider, OO as ThemeSwitcher, EE as TimePickerSelect, vs as TippyCustomized, go as TippyTheme, mi as ToastManager, Pa as ToastManagerContainer, er as ToastVariantType, Dv as ToggleResolveScopedVariables, vf as ToleranceHeaderType, F as Tooltip, $A as TreeView, Ro as TriggerBlockType, xS as TriggerDetails, NS as TriggerOutput, mt as TriggerType, ke as TriggerTypeMap, fn as UNCHANGED_ARRAY_ELEMENT_SYMBOL, Fn as UNSAVED_CHANGES_PROMPT_MESSAGE, Dt as URLProtocolType, Tn as URLS, zm as URL_FILTER_KEYS, Ah as USER_PREFERENCES_ATTRIBUTE_KEY, Wf as USE_BUILD_X_DRIVER_FALLBACK, nj as UnsavedChanges, rj as UnsavedChangesDialog, Rm as UseRegisterShortcutProvider, Tu as UserEmailProvider, aj as UserIdentifier, jd as UserListSortableKeys, Nh as UserPreferenceResourceActions, sf as UserRoleGroupsTable, Nd as UserStatus, Md as UserStatusDto, cf as UserTypeToFetchType, Od as VALUE_COLUMN_DROPDOWN_LABEL, On as VARIANT_TO_BG_MAP, Hn as VARIANT_TO_BORDER_MAP, Nt as VARIANT_TO_ICON_COLOR_MAP, a as VIEW_ALL_TICKETS, Ce as VULNERABILITIES_SORT_PRIORITY, _s as ValueContainerWithLoadingShimmer, ld as ValuesAndManifestFlagDTO, Ne as VariableTypeFormat, Mh as ViewIsPipelineRBACConfiguredRadioTabs, im as VirtualClusterSidebar, sj as VirtualizedList, cx as VisibleModal, fM as VisibleModal2, qw as Vulnerabilities, Ww as VulnerabilityDiscoveryAgeOptions, Ye as WEEK_DAYS_ENUM, z_ as WFR_STATUS_DTO_TO_DEPLOYMENT_STATUS_MAP, $e as WORKFLOW_CACHE_CONFIG_ENUM, me as WebhookEventNameType, hg as WorkflowExecutionStageNameType, pg as WorkflowExecutionStageType, cr as WorkflowNodeType, yj as WorkflowOptionsModal, L_ as WorkflowRunnerStatusDTO, mg as WorkflowStageStatusType, Pe as WorkflowStatusEnum, di as YAMLStringify, Vt as YAMLtoJSON, Ma as ZERO_TIME_STRING, mo as abortPreviousRequests, Lk as activateLicense, Xo as aggregateNodes, _a as animate, ni as applyCompareDiffOnUneditedDocument, He as arrowUnicode, Zn as asyncWrap, i_ as buildHoverHtmlForWebhook, So as buildObjectFromPath, sv as cancelCiTrigger, cv as cancelPrePostCdTrigger, Wo as capitalizeFirstLetter, kT as chartColorGenerator, mr as cleanKubeManifest, y as clearCookieOnLogout, Io as closeOnEscKeyPressed, Eb as commonSelectStyles, Zt as compareObjectLength, zT as configMapDataTypeOptions, VT as configMapSecretMountDataMap, Ws as conformPathToPointers, sm as convertDeploymentChartListToChartType, D as convertJSONPointerToJSONPath, KT as convertKeyValuePairToYAML, XT as convertYAMLToKeyValuePair, Oo as copyToClipboard, Cm as cordonNodeCapacity, Ip as createBuildInfraProfileService, aa as createGitCommitUrl, bm as createNewResource, Oi as createResourceRequestBody, an as customStyles, _n as dateComparatorBySortOrder, ce as debounce, De as decode, ee as deepEqual, Sm as deleteNodeCapacity, xm as deleteResource, Nj as deleteWorkflow, un as deriveBorderRadiusAndBorderClassFromConfig, Nv as diffStateIconMap, Fv as diffStateTextColorMap, Mv as diffStateTextMap, Pv as diffStateTooltipTextMap, Us as doesJSONConformToSchema07, wm as drainNodeCapacity, Cn as escapeRegExp, xe as explainCronExpression, za as extractImage, vi as fetchChartTemplateVersions, xt as findRight, S_ as findScrollableAncestor, Mi as flatMapOfJSONPaths, qe as formatNumberToCurrency, ar as genericCDMaterialsService, U as get, m as getAIAnalyticsEvents, _d as getAPIOptionsWithTriggerTimeout, u as getAggregator, Ju as getAllClusterListMin, Ei as getAlphabetIcon, Aa as getAppDetailsURL, ju as getAppEnvDeploymentConfig, yy as getAppEnvDeploymentConfigList, ma as getAppOptionsGroupedByProjects, g_ as getAppStatusIcon, Ld as getApplicationManagementBreadcrumb, Ja as getAppsInfoForEnv, Au as getArtifactInfo, zd as getAutomationEnablementBreadcrumb, hA as getAvailablePluginTags, ct as getBranchIcon, rm as getBuildInfraInheritActionFromLocator, Fp as getBuildInfraProfileByName, nm as getBuildInfraProfileEndpoint, tm as getBuildInfraProfilePayload, em as getBuildxDriverTypeFromUseK8sDriver, ku as getCITriggerInfo, GC as getCVEUrlFromCVEName, Be as getClassNameForStickyHeaderWithShadow, Sr as getClusterListMin, Tm as getClusterListRaw, qu as getClusterOptions, xb as getCommonSelectStyle, Mu as getCompareSecretsData, JC as getCompiledSecurityThreats, ue as getComponentSpecificThemeClass, JT as getConfigMapSecretFormInitialValues, nE as getConfigMapSecretFormValidations, QT as getConfigMapSecretPayload, YT as getConfigMapSecretReadOnlyValues, Qb as getConfirmationLabel, ht as getCookie, Cb as getCustomOptionSelectionStyle, yO as getDateInMilliseconds, Bi as getDefaultConfig, xE as getDefaultDateFromTimeToLive, In as getDefaultValueFromType, by as getDefaultVersionAndPreviousDeploymentOptions, pd as getDeploymentManifest, gd as getDeploymentStageTitle, lv as getDeploymentStatusDetail, Xg as getDeploymentStatusFromStatus, Qv as getDeploymentTemplateData, y_ as getDeploymentTimelineBGColorFromIcon, fo as getDetailedClusterList, Ar as getDockerRegistriesListMin, cs as getDocumentationUrl, Jp as getDoesInfraConfigContainsSubValue, ey as getDraftData, ZT as getESOSecretDataFromYAML, Ot as getEmptyArrayOfLength, IA as getEmptyTagTableRow, Ku as getEnvironmentData, Kr as getEnvironmentListMinPublic, Sa as getEnvironmentOptionsGroupedByClusters, kn as getFileNameFromHeaders, he as getFilteredChartVersions, Rn as getFormattedSchema, p_ as getFormattedTriggerTime, Fe as getFormattedUTCTimeForExport, Un as getGVKTitle, Yi as getGitBranchUrl, Pt as getGitCommitInfo, li as getGitProvidersListMin, ei as getGlobalVariables, tt as getGoLangFormattedDateWithTimezone, o as getGroupVersionFromApiVersion, cm as getGuiSchemaFromChartName, Ir as getHandleOpenURL, Ut as getHashedValue, SO as getHelpActionMenuOptions, u_ as getHistoryItemStatusIconFromWorkflowStages, l_ as getIconFromWorkflowStageStatusType, Qo as getIframeWithDefaultAttributes, Xs as getInferredTypeFromValueType, Gd as getInfrastructureManagementBreadcrumb, hx as getInvalidActionMessage, dk as getInvalidTippyContent, $a as getIsApprovalPolicyConfigured, HS as getIsImagePullBackOff, na as getIsManualApprovalConfigured, Ia as getIsMaterialInfoAvailable, Is as getIsRegexValid, Mr as getIsRequestAborted, ym as getK8sResourceList, Si as getK8sResourceListPayload, gi as getKeyToBooleanMapFromArray, o_ as getLogSearchIndex, nr as getLowerCaseObject, uv as getManualSync, aE as getMinCharSearchPlaceholderGroup, gv as getModuleConfigured, Yn as getNamespaceListMin, vb as getNoMatchingResultText, m_ as getNodesCount, da as getNullValueFromType, jn as getOrdinal, gA as getParentPluginList, Xu as getParsedCIMaterialInfo, r_ as getParsedTriggerHistory, Kp as getParsedValueForUseK8sDriver, mA as getPluginStoreData, pA as getPluginsDetail, P_ as getPodsForRootNodeName, N_ as getPodsRootParentNameAndStatus, Wu as getPolicyApiUrl, pw as getProgressingStateForStatus, bh as getProjectOptions, x as getRandomColor, Ls as getRedirectionProps, vn as getRegexMatchPositions, md as getResolvedDeploymentTemplate, Uu as getResourceApiUrl, vv as getResourceConflictDetails, bo as getResourceGroupListRaw, Oe as getSanitizedIframe, Ds as getSchemaPathToUpdatePathMap, HT as getSecretDataTypeOptions, qd as getSecurityCenterBreadcrumb, qC as getSecurityConfig, Ow as getSecurityModalSidebarChildFromId, Dw as getSecurityModalSidebarId, Pw as getSecurityScan, Fw as getSecurityScanRecommendations, FC as getSecurityScanSeveritiesCount, ZC as getSecurityScanStatus, Ns as getSelectPickerOptionByValue, tc as getSelectPickerOptionsByValue, kw as getSidebarData, x_ as getSortedTriggerHistory, Kw as getSortedVulnerabilities, a_ as getStageStatusIcon, dn as getStageTitle, h_ as getStatusFilters, XC as getStatusForScanList, wn as getTTLInHumanReadableFormat, ov as getTagDetails, Ho as getTeamListMin, Yu as getTemplateAPIRoute, Xe as getThemePreferenceText, Ga as getTimeDifference, Wn as getTimeStampAMPMSuffix, vE as getTimeValue, KC as getTotalSeverities, VC as getTotalVulnerabilityCount, $p as getTransformedBuildInfraProfileResponse, av as getTriggerDetails, hv as getTriggerHistory, n_ as getTriggerHistoryFilterCriteria, b_ as getTriggerOutputTabs, __ as getTriggerStatusIcon, yr as getUniqueId, fA as getUpdatedPluginStore, Se as getUrlWithSearchParams, Pd as getUserAndApiTokenOption, Fd as getUserAndApiTokenOptions, Ih as getUserPreferences, fr as getUserRole, Li as getWebhookDate, co as getWebhookEventIcon, Po as getWebhookEventsForEventId, d_ as getWorkerPodBaseUrl, f_ as getWorkflowNodeStatusTitle, M_ as getiNodesByKindWithChildNodes, A_ as getiNodesByRootNodeWithChildNodes, Dr as groupArrayByObjectKey, pu as handleAddCD, hu as handleAnalyticsEvent, Wr as handleDisableSubmitOnEnter, bO as handlePostHogEventUpdate, Jr as handleRedirectToLicenseActivation, Je as handleRelativeDateSorting, mu as handleSendAnalyticsEventToServer, ja as handleUTCTime, Qu as hasESO, Zu as hasHashiOrAWS, ya as highlightSearchText, ve as iconMap, XO as illustrationMap, Ki as isAWSCodeCommitURL, vd as isImageActiveOnEnvironment, ai as isNullOrUndefined, Zr as isTimeStringAvailable, Ve as joinObjects, Ln as logExceptionToSentry, An as mapByKey, ty as mergeConfigDataArraysByName, Wi as motion, lg as multiSelectStyles, z as noop, Ft as not, Kn as numberComparatorBySortOrder, Ak as parseDevtronLicenseDTOIntoLicenseCardData, jk as parseDevtronLicenseData, BC as parseGetResourceScanDetailsResponse, Gp as parsePlatformConfigIntoValue, dA as parsePluginDetailsDTOIntoPluginStore, Yt as parseRuntimeParams, $i as patch, Na as post, s as powerSetOfSubstringsFromStart, Lr as prefixZeroIfSingleDigit, mv as prepareHistoryData, _o as preventBodyScroll, eo as preventDefault, T as processCDMaterialServiceResponse, ra as processDeployedTime, X_ as processDeploymentStatusDetailsData, pi as put, La as recursivelyRemoveSymbolFromArraysInObject, j_ as reduceKindStatus, _i as refresh, v_ as renderDeploymentTimelineIcon, US as renderErrorHeaderMessage, IT as renderHashiOrAwsDeprecatedInfo, zo as renderMaterialIcon, lr as renderValidInputButtonTippy, rr as reportIssue, Fs as requiredField, _v as resourceConflictRedeploy, jo as sanitizeApprovalConfigData, Kt as sanitizeTargetPlatforms, C as sanitizeUserApprovalList, Eo as sanitizeUserApprovalMetadata, c_ as sanitizeWorkflowExecutionStages, Gu as saveCDPipeline, Mj as savePipeline, xO as setActionWithExpiry, $n as setGlobalAPITimeout, nn as setImageTags, fa as shallowEqual, Ka as showError, wo as smoothScrollToTop, br as sortCallback, Mg as statusColor, Br as statusIcon, Cg as statusSet, Ri as stopPropagation, en as stringComparatorBySortOrder, Sg as terminalStatus, lo as throttle, ca as trash, bd as triggerCDNode, bE as updateDate, yE as updateTime, zh as updateUserPreferences, yd as uploadCDPipelineFile, kd as uploadCIPipelineFile, Lp as upsertBuildInfraProfile, pc as useAnimation, uc as useAnimationControls, Or as useAsync, Ej as useBreadcrumb, Wp as useBuildInfraForm, Mp as useBuildInfraUtilityContext, yx as useBulkSelection, Ou as useClickOutside, Gr as useDebounce, _h as useDownload, ba as useEffectAfterMount, yh as useForm, Sh as useGetResourceKindsOptions, jm as useGetUserRoles, xu as useImageSelectionUtilityContext, Ha as useInfiniteQuery, ie as useIntersection, qi as useInterval, Vs as useIsSecureConnection, zr as useIsTextTruncated, si as useJsonYaml, Qr as useKeyDown, Hs as useMainContext, cc as useMotionTemplate, dc as useMotionValue, gr as useMutation, Th as useOneTimePrompt, pp as usePopover, Eh as usePrompt, Pi as useQuery, $t as useQueryClient, Nm as useRegisterShortcut, fh as useResizableTableConfig, qn as useScrollable, vo as useSearchString, Bm as useStateFilters, kh as useStickyEvent, Ct as useTheme, Bo as useThrottledEffect, Qm as useTriggerAutoClickTimestamp, tj as useTypewriter, Jm as useUrlFilters, wu as useUserEmail, Uh as useUserPreferences, Zm as useWindowSize, Es as validateAppName, rc as validateCMVolumeMountPath, oc as validateCronExpression, ks as validateDateAndTime, ac as validateDescription, ys as validateDisplayName, rs as validateEmail, ic as validateIfImageExist, bs as validateIframe, as as validateLabelKey, is as validateLabelValue, hs as validateName, Bs as validateProtocols, ts as validateRequiredPositiveInteger, zs as validateRequiredPositiveNumber, ps as validateSemanticVersioning, ms as validateStringLength, WE as validateTagKeyValue, GE as validateTagValue, gs as validateURL, os as validateUniqueKeys, ls as validateYAML, k as versionComparatorBySortOrder, Eu as withUserEmail, _t as yamlComparatorBySortOrder };
|