@devtron-labs/devtron-fe-common-lib 1.4.8-beta-2 → 1.4.8-beta-3

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.
@@ -2,7 +2,7 @@ import { j as n, J as A } from "./@vendor-CwAQS8iU.js";
2
2
  import E, { forwardRef as $ } from "react";
3
3
  import L, { getDefaultRegistry as k } from "@rjsf/core";
4
4
  import D from "@rjsf/validator-ajv8";
5
- import { T as y, c as H, a as U, i as J, d as w } from "./@code-editor-DpUzvb5Q.js";
5
+ import { T as y, c as H, a as U, i as J, d as w } from "./@code-editor-BhKgnbkm.js";
6
6
  import M, { components as O } from "react-select";
7
7
  import { getUiOptions as B, getTemplate as I, getSubmitButtonOptions as W, ADDITIONAL_PROPERTY_FLAG as P, errorId as V, englishStringTranslator as q, TranslatableString as K, titleId as Y, canExpand as z, deepEquals as G } from "@rjsf/utils";
8
8
  import { ReactComponent as Q } from "./assets/ic-chevron-down.fc70d7a7.svg";
@@ -1,3 +1,3 @@
1
1
  import { SecurityCardProps } from './types';
2
- declare const SecurityCard: ({ category, subCategory, severityCount, handleCardClick }: SecurityCardProps) => JSX.Element;
2
+ declare const SecurityCard: ({ category, subCategory, severities, handleCardClick, scanFailed, }: SecurityCardProps) => JSX.Element;
3
3
  export default SecurityCard;
@@ -3,8 +3,9 @@ import { ScanCategories, ScanSubCategories } from '../types';
3
3
  export interface SecurityCardProps {
4
4
  category: ScanCategories;
5
5
  subCategory: ScanSubCategories;
6
- severityCount: Partial<Record<SeveritiesDTO, number>>;
6
+ severities: Partial<Record<SeveritiesDTO, number>>;
7
7
  handleCardClick: () => void;
8
+ scanFailed?: boolean;
8
9
  }
9
10
  export interface SecurityDetailsCardsProps extends Pick<SecurityModalPropsType, 'Sidebar'> {
10
11
  scanResult: ScanResultDTO;
@@ -1,6 +1,9 @@
1
1
  import { ScanResultDTO, SeveritiesDTO } from './SecurityModal';
2
+ import { ImageScanLicenseListType, ImageScanVulnerabilityListType, StatusType } from './SecurityModal/types';
2
3
  import { CategoriesConfig, SecurityConfigType } from './types';
3
4
  export declare const getCVEUrlFromCVEName: (cveName: string) => string;
4
5
  export declare const getTotalSeverities: (severityCount: Partial<Record<SeveritiesDTO, number>>) => number;
5
6
  export declare const getSecurityConfig: ({ imageScan, codeScan, kubernetesManifest, }: CategoriesConfig) => SecurityConfigType;
6
7
  export declare const getCompiledSecurityThreats: (scanResult: ScanResultDTO) => Partial<Record<SeveritiesDTO, number>>;
8
+ export declare const getStatusForScanList: (scanList: ImageScanVulnerabilityListType[] | ImageScanLicenseListType[]) => StatusType["status"];
9
+ export declare const getSecurityScanStatus: (scanResult: ScanResultDTO) => StatusType["status"];
package/dist/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import { iU as s, _ as t, dR as i, e8 as r, jA as o, js as n, eI as l, a9 as T, ja as g, Q as p, jo as S, j2 as d, f7 as E, cS as _, aH as c, aI as u, iM as A, hH as I, ff as D, k8 as C, jK as y, jq as O, d4 as R, fs as f, iB as m, cE as P, au as L, av as N, f2 as M, gs as h, fo as b, jF as U, dE as F, dM as B, dH as v, dP as V, dB as G, dN as j, dQ as K, dG as H, dF as k, dL as Y, dD as W, eX as x, e$ as w, B as X, S as z, e as q, dA as J, db as Q, dp as Z, d9 as $, da as aa, de as ea, dr as sa, dq as ta, dw as ia, dd as ra, dz as oa, dc as na, ds as la, du as Ta, dt as ga, L as pa, dv as Sa, hI as da, eS as Ea, eV as _a, eY as ca, eU as ua, hp as Aa, hs as Ia, hr as Da, hq as Ca, fg as ya, fh as Oa, hh as Ra, fq as fa, aB as ma, aA as Pa, az as La, iH as Na, ar as Ma, jw as ha, ap as ba, cB as Ua, iG as Fa, f0 as Ba, jN as va, iS as Va, jy as Ga, eu as ja, dK as Ka, n as Ha, cp as ka, g5 as Ya, c1 as Wa, C as xa, e9 as wa, ea as Xa, d1 as za, d3 as qa, d2 as Ja, h7 as Qa, gS as Za, gq as $a, eR as ae, el as ee, jt as se, cx as te, aR as ie, eq as re, jO as oe, et as ne, iR as le, bU as Te, hy as ge, hz as pe, cG as Se, cU as de, c5 as Ee, go as _e, gn as ce, af as ue, j9 as Ae, Y as Ie, ae as De, r as Ce, jz as ye, gK as Oe, gI as Re, gJ as fe, dC as me, jJ as Pe, jb as Le, w as Ne, gf as Me, dS as he, dT as be, h3 as Ue, ji as Fe, jk as Be, $ as ve, hF as Ve, jG as Ge, e4 as je, q as Ke, s as He, o as ke, p as Ye, ei as We, gb as xe, k as we, iD as Xe, D as ze, bW as qe, iO as Je, aD as Qe, gT as Ze, gU as $e, ft as as, g4 as es, g3 as ss, as as ts, bT as is, jd as rs, fr as os, je as ns, bH as ls, h4 as Ts, cR as gs, bX as ps, bY as Ss, hA as ds, jM as Es, jL as _s, cW as cs, cX as us, cV as As, bI as Is, bw as Ds, em as Cs, hB as ys, hC as Os, jh as Rs, z as fs, x as ms, a8 as Ps, j7 as Ls, jj as Ns, h6 as Ms, fc as hs, hx as bs, iV as Us, jQ as Fs, iz as Bs, fi as vs, jf as Vs, g8 as Gs, E as js, b as Ks, f4 as Hs, F as ks, a2 as Ys, fm as Ws, fl as xs, fw as ws, eH as Xs, cz as zs, hG as qs, f6 as Js, aE as Qs, gN as Zs, aw as $s, bV as at, ej as et, ep as st, c_ as tt, G as it, h as rt, f8 as ot, fW as nt, g7 as lt, iN as Tt, aj as gt, l as pt, eN as St, fe as dt, fv as Et, H as _t, j6 as ct, dU as ut, eE as At, eF as It, ai as Dt, gu as Ct, f1 as yt, f3 as Ot, gr as Rt, ay as ft, iY as mt, i_ as Pt, cI as Lt, cH as Nt, aq as Mt, fk as ht, k3 as bt, I as Ut, fb as Ft, cD as Bt, hv as vt, ht as Vt, jr as Gt, K as jt, f9 as Kt, fa as Ht, gL as kt, ad as Yt, eM as Wt, fU as xt, fu as wt, jp as Xt, ac as zt, V as qt, c$ as Jt, hK as Qt, Z as Zt, O as $t, gl as ai, ge as ei, iX as si, at as ti, cZ as ii, ax as ri, gt as oi, eP as ni, bJ as li, fj as Ti, j8 as gi, iF as pi, gc as Si, cw as di, eQ as Ei, c3 as _i, b$ as ci, c0 as ui, c2 as Ai, dI as Ii, fA as Di, dx as Ci, fz as yi, iA as Oi, hw as Ri, jB as fi, bZ as mi, es as Pi, eg as Li, t as Ni, ju as Mi, ab as hi, dJ as bi, fy as Ui, jn as Fi, fd as Bi, cY as vi, jc as Vi, gz as Gi, aF as ji, gy as Ki, gx as Hi, gv as ki, cF as Yi, gG as Wi, gw as xi, cu as wi, iK as Xi, P as zi, bG as qi, iP as Ji, bN as Qi, er as Zi, jD as $i, M as ar, v as er, f as sr, g as tr, a6 as ir, cy as rr, ct as or, iC as nr, eA as lr, R as Tr, N as gr, bS as pr, cJ as Sr, iI as dr, iJ as Er, iT as _r, j5 as cr, j4 as ur, W as Ar, eZ as Ir, ag as Dr, aa as Cr, jH as yr, ey as Or, j3 as Rr, fB as fr, f5 as mr, e1 as Pr, cv as Lr, fV as Nr, cq as Mr, hn as hr, ho as br, ha as Ur, d0 as Fr, d8 as Br, d7 as vr, m as Vr, eW as Gr, jv as jr, eL as Kr, gM as Hr, gP as kr, gQ as Yr, am as Wr, an as xr, he as wr, iE as Xr, gR as zr, fn as qr, ga as Jr, b_ as Qr, cr as Zr, X as $r, c7 as ao, fC as eo, g6 as so, j as to, eG as io, jE as ro, dO as oo, fx as no, jg as lo, a4 as To, gm as go, y as po, A as So, d6 as Eo, jx as _o, h5 as co, bQ as uo, bR as Ao, hD as Io, jP as Do, gd as Co, bM as yo, ao as Oo, jX as Ro, jY as fo, jZ as mo, a as Po, dy as Lo, T as No, aC as Mo, g2 as ho, fp as bo, J as Uo, al as Fo, jI as Bo, iQ as vo, U as Vo, dV as Go, cP as jo, j0 as Ko, dY as Ho, d$ as ko, d_ as Yo, dZ as Wo, dW as xo, jC as wo, ah as Xo, ek as zo, cA as qo, hJ as Jo, bK as Qo, bL as Zo, h8 as $o, a1 as an, cC as en, iL as sn, aG as tn, bq as rn, a7 as on, aO as nn, ih as ln, bm as Tn, a0 as gn, by as pn, fZ as Sn, bi as dn, fH as En, fI as _n, bo as cn, iy as un, b8 as An, b6 as In, eO as Dn, br as Cn, e2 as yn, c as On, b9 as Rn, cf as fn, ec as mn, e7 as Pn, gk as Ln, be as Nn, bn as Mn, ii as hn, d as bn, ee as Un, ed as Fn, h0 as Bn, h2 as vn, g$ as Vn, h1 as Gn, i0 as jn, ce as Kn, cg as Hn, bl as kn, cd as Yn, aM as Wn, ex as xn, e5 as wn, aX as Xn, jT as zn, gY as qn, jS as Jn, gC as Qn, bB as Zn, dn as $n, dg as al, dm as el, dl as sl, jR as tl, hj as il, cj as rl, ef as ol, eJ as nl, jU as ll, hm as Tl, b2 as gl, eK as pl, ch as Sl, gj as dl, is as El, gZ as _l, fR as cl, fM as ul, fL as Al, en as Il, eh as Dl, fJ as Cl, gV as yl, gW as Ol, aY as Rl, hE as fl, ci as ml, il as Pl, bf as Ll, ak as Nl, b4 as Ml, cn as hl, i5 as bl, co as Ul, bF as Fl, e3 as Bl, ir as vl, bD as Vl, e_ as Gl, hu as jl, iq as Kl, ip as Hl, i4 as kl, aP as Yl, eb as Wl, e6 as xl, id as wl, g1 as Xl, iv as zl, fK as ql, fT as Jl, cl as Ql, iu as Zl, a3 as $l, gD as aT, fY as eT, dj as sT, gB as tT, gA as iT, k2 as rT, k1 as oT, jW as nT, hg as lT, aW as TT, bj as gT, eo as pT, jV as ST, ck as dT, bC as ET, hl as _T, hi as cT, hb as uT, gO as AT, hf as IT, h9 as DT, f$ as CT, bE as yT, fG as OT, c6 as RT, ik as fT, a5 as mT, gg as PT, hk as LT, hc as NT, dk as MT, fF as hT, fS as bT, fX as UT, g0 as FT, ix as BT, gH as vT, bc as VT, dX as GT, e0 as jT, c8 as KT, iw as HT, i9 as kT, cm as YT, k0 as WT, j_ as xT, it as wT, cT as XT, ic as zT, bp as qT, b3 as JT, ew as QT, ev as ZT, i1 as $T, ez as ag, i as eg, ij as sg, bh as tg, bd as ig, bx as rg, gX as og, c4 as ng, aZ as lg, a_ as Tg, i7 as gg, hd as pg, di as Sg, gE as dg, cb as Eg, aL as _g, gF as cg, aJ as ug, bk as Ag, bz as Ig, fP as Dg, fN as Cg, fQ as yg, fO as Og, i2 as Rg, aU as fg, i3 as mg, cc as Pg, bb as Lg, ig as Ng, aK as Mg, gp as hg, bg, j$ as Ug, a$ as Fg, g_ as Bg, g9 as vg, f_ as Vg, ie as Gg, b0 as jg, hN as Kg, io as Hg, im as kg, ca as Yg, c9 as Wg, bs as xg, aQ as wg, aS as Xg, jm as zg, jl as qg, fE as Jg, aT as Qg, i6 as Zg, fD as $g, bA as ap, aN as ep, eC as sp, d5 as tp, gi as ip, gh as rp, eB as op, eD as np, dh as lp, ba as Tp, u as gp, df as pp, eT as Sp, cL as dp, k6 as Ep, b1 as _p, k7 as cp, k5 as up, iZ as Ap, ib as Ip, bt as Dp, b7 as Cp, bv as yp, iW as Op, k4 as Rp, cO as fp, cs as mp, bu as Pp, b5 as Lp, cQ as Np, cK as Mp, aV as hp, cN as bp, i$ as Up, cM as Fp, h_ as Bp, hP as vp, hY as Vp, hV as Gp, h$ as jp, hZ as Kp, hM as Hp, hL as kp, hO as Yp, hU as Wp, hS as xp, hR as wp, hX as Xp, hQ as zp, bO as qp, bP as Jp, hT as Qp, hW as Zp, i8 as $p, j1 as aS, ia as eS } from "./@code-editor-DpUzvb5Q.js";
2
- import { H as tS, R as iS, g as rS, a as oS } from "./@common-rjsf-DzlAHG__.js";
1
+ import { iW as s, _ as t, dR as i, e8 as r, jC as o, ju as n, eI as l, a9 as T, jc as g, Q as p, jq as S, j4 as d, f7 as E, cS as c, aH as _, aI as u, iO as A, hJ as I, ff as D, ka as C, jM as y, js as O, d4 as R, fs as f, iD as m, cE as P, au as L, av as N, f2 as M, gs as h, fo as b, jH as U, dE as F, dM as B, dH as v, dP as V, dB as G, dN as j, dQ as K, dG as H, dF as k, dL as Y, dD as W, eX as x, e$ as w, B as X, S as z, e as q, dA as J, db as Q, dp as Z, d9 as $, da as aa, de as ea, dr as sa, dq as ta, dw as ia, dd as ra, dz as oa, dc as na, ds as la, du as Ta, dt as ga, L as pa, dv as Sa, hK as da, eS as Ea, eV as ca, eY as _a, eU as ua, hr as Aa, hu as Ia, ht as Da, hs as Ca, fg as ya, fh as Oa, hh as Ra, fq as fa, aB as ma, aA as Pa, az as La, iJ as Na, ar as Ma, jy as ha, ap as ba, cB as Ua, iI as Fa, f0 as Ba, jP as va, iU as Va, jA as Ga, eu as ja, dK as Ka, n as Ha, cp as ka, g5 as Ya, c1 as Wa, C as xa, e9 as wa, ea as Xa, d1 as za, d3 as qa, d2 as Ja, h7 as Qa, gS as Za, gq as $a, eR as ae, el as ee, jv as se, cx as te, aR as ie, eq as re, jQ as oe, et as ne, iT as le, bU as Te, hA as ge, hB as pe, cG as Se, cU as de, c5 as Ee, go as ce, gn as _e, af as ue, jb as Ae, Y as Ie, ae as De, r as Ce, jB as ye, gK as Oe, gI as Re, gJ as fe, dC as me, jL as Pe, jd as Le, w as Ne, gf as Me, dS as he, dT as be, h3 as Ue, jk as Fe, jm as Be, $ as ve, hH as Ve, jI as Ge, e4 as je, q as Ke, s as He, o as ke, p as Ye, ei as We, gb as xe, k as we, iF as Xe, D as ze, bW as qe, iQ as Je, aD as Qe, gT as Ze, gU as $e, ft as as, g4 as es, g3 as ss, as as ts, bT as is, jf as rs, fr as os, jg as ns, bH as ls, h4 as Ts, cR as gs, bX as ps, bY as Ss, hC as ds, jO as Es, jN as cs, cW as _s, cX as us, cV as As, bI as Is, bw as Ds, em as Cs, hD as ys, hE as Os, jj as Rs, z as fs, x as ms, a8 as Ps, j9 as Ls, jl as Ns, h6 as Ms, fc as hs, hz as bs, iX as Us, jS as Fs, iB as Bs, fi as vs, jh as Vs, g8 as Gs, E as js, b as Ks, f4 as Hs, F as ks, a2 as Ys, fm as Ws, fl as xs, fw as ws, eH as Xs, cz as zs, hI as qs, f6 as Js, aE as Qs, gN as Zs, aw as $s, bV as at, ej as et, ep as st, c_ as tt, G as it, h as rt, f8 as ot, fW as nt, g7 as lt, iP as Tt, aj as gt, l as pt, eN as St, fe as dt, fv as Et, H as ct, j8 as _t, dU as ut, eE as At, eF as It, ai as Dt, gu as Ct, f1 as yt, f3 as Ot, gr as Rt, ay as ft, i_ as mt, j0 as Pt, cI as Lt, cH as Nt, aq as Mt, fk as ht, k5 as bt, I as Ut, fb as Ft, cD as Bt, hx as vt, hv as Vt, jt as Gt, K as jt, f9 as Kt, fa as Ht, gL as kt, ad as Yt, eM as Wt, fU as xt, fu as wt, jr as Xt, ac as zt, V as qt, c$ as Jt, hM as Qt, Z as Zt, O as $t, gl as ai, ge as ei, iZ as si, at as ti, cZ as ii, ax as ri, gt as oi, eP as ni, bJ as li, fj as Ti, ja as gi, iH as pi, gc as Si, cw as di, eQ as Ei, c3 as ci, b$ as _i, c0 as ui, c2 as Ai, dI as Ii, fA as Di, dx as Ci, fz as yi, iC as Oi, hy as Ri, jD as fi, bZ as mi, es as Pi, eg as Li, t as Ni, jw as Mi, ab as hi, dJ as bi, fy as Ui, jp as Fi, fd as Bi, cY as vi, je as Vi, gz as Gi, aF as ji, gy as Ki, gx as Hi, gv as ki, cF as Yi, gG as Wi, gw as xi, cu as wi, iM as Xi, P as zi, bG as qi, iR as Ji, bN as Qi, er as Zi, jF as $i, M as ar, v as er, f as sr, g as tr, a6 as ir, cy as rr, ct as or, iE as nr, eA as lr, R as Tr, N as gr, bS as pr, cJ as Sr, iK as dr, iL as Er, iV as cr, j7 as _r, j6 as ur, W as Ar, eZ as Ir, ag as Dr, aa as Cr, jJ as yr, ey as Or, j5 as Rr, fB as fr, f5 as mr, e1 as Pr, cv as Lr, fV as Nr, cq as Mr, hp as hr, hq as br, ha as Ur, d0 as Fr, d8 as Br, d7 as vr, m as Vr, eW as Gr, jx as jr, eL as Kr, gM as Hr, gP as kr, gQ as Yr, am as Wr, an as xr, he as wr, iG as Xr, gR as zr, fn as qr, ga as Jr, b_ as Qr, cr as Zr, X as $r, c7 as ao, fC as eo, g6 as so, j as to, eG as io, jG as ro, dO as oo, fx as no, ji as lo, a4 as To, gm as go, y as po, A as So, d6 as Eo, jz as co, h5 as _o, bQ as uo, bR as Ao, hF as Io, jR as Do, gd as Co, bM as yo, ao as Oo, jZ as Ro, j_ as fo, j$ as mo, a as Po, dy as Lo, T as No, aC as Mo, g2 as ho, fp as bo, J as Uo, al as Fo, jK as Bo, iS as vo, U as Vo, dV as Go, cP as jo, j2 as Ko, dY as Ho, d$ as ko, d_ as Yo, dZ as Wo, dW as xo, jE as wo, ah as Xo, ek as zo, cA as qo, hL as Jo, bK as Qo, bL as Zo, h8 as $o, a1 as an, cC as en, iN as sn, aG as tn, bq as rn, a7 as on, aO as nn, ij as ln, bm as Tn, a0 as gn, by as pn, fZ as Sn, bi as dn, fH as En, fI as cn, bo as _n, iA as un, b8 as An, b6 as In, eO as Dn, br as Cn, e2 as yn, c as On, b9 as Rn, cf as fn, ec as mn, e7 as Pn, gk as Ln, be as Nn, bn as Mn, ik as hn, d as bn, ee as Un, ed as Fn, h0 as Bn, h2 as vn, g$ as Vn, h1 as Gn, i2 as jn, ce as Kn, cg as Hn, bl as kn, cd as Yn, aM as Wn, ex as xn, e5 as wn, aX as Xn, jV as zn, gY as qn, jU as Jn, gC as Qn, bB as Zn, dn as $n, dg as al, dm as el, dl as sl, jT as tl, hj as il, cj as rl, ef as ol, eJ as nl, jW as ll, hm as Tl, b2 as gl, eK as pl, ch as Sl, gj as dl, iu as El, gZ as cl, fR as _l, fM as ul, fL as Al, en as Il, eh as Dl, fJ as Cl, gV as yl, gW as Ol, aY as Rl, hG as fl, ci as ml, io as Pl, bf as Ll, ak as Nl, b4 as Ml, cn as hl, i7 as bl, co as Ul, bF as Fl, e3 as Bl, it as vl, bD as Vl, e_ as Gl, hw as jl, is as Kl, ir as Hl, i6 as kl, aP as Yl, eb as Wl, e6 as xl, ig as wl, g1 as Xl, ix as zl, fK as ql, fT as Jl, cl as Ql, iw as Zl, a3 as $l, gD as aT, fY as eT, dj as sT, gB as tT, gA as iT, k4 as rT, k3 as oT, jY as nT, hg as lT, aW as TT, bj as gT, eo as pT, jX as ST, ck as dT, bC as ET, hl as cT, hi as _T, hb as uT, ho as AT, gO as IT, hf as DT, h9 as CT, f$ as yT, bE as OT, hn as RT, fG as fT, c6 as mT, im as PT, a5 as LT, gg as NT, hk as MT, hc as hT, dk as bT, fF as UT, fS as FT, fX as BT, g0 as vT, iz as VT, gH as GT, bc as jT, dX as KT, e0 as HT, c8 as kT, iy as YT, ib as WT, cm as xT, k2 as wT, k0 as XT, iv as zT, cT as qT, ie as JT, bp as QT, b3 as ZT, ew as $T, ev as ag, i3 as eg, ez as sg, i as tg, il as ig, bh as rg, bd as og, bx as ng, gX as lg, c4 as Tg, aZ as gg, a_ as pg, i9 as Sg, hd as dg, di as Eg, gE as cg, cb as _g, aL as ug, gF as Ag, aJ as Ig, bk as Dg, bz as Cg, fP as yg, fN as Og, fQ as Rg, fO as fg, i4 as mg, aU as Pg, i5 as Lg, cc as Ng, bb as Mg, ii as hg, aK as bg, gp as Ug, bg as Fg, k1 as Bg, a$ as vg, g_ as Vg, g9 as Gg, f_ as jg, ih as Kg, b0 as Hg, hP as kg, iq as Yg, ip as Wg, ca as xg, c9 as wg, bs as Xg, aQ as zg, aS as qg, jo as Jg, jn as Qg, fE as Zg, aT as $g, i8 as ap, fD as ep, bA as sp, aN as tp, eC as ip, d5 as rp, gi as op, gh as np, eB as lp, eD as Tp, dh as gp, ba as pp, u as Sp, df as dp, eT as Ep, cL as cp, k8 as _p, b1 as up, k9 as Ap, k7 as Ip, i$ as Dp, id as Cp, bt as yp, b7 as Op, bv as Rp, iY as fp, k6 as mp, cO as Pp, cs as Lp, bu as Np, b5 as Mp, cQ as hp, cK as bp, aV as Up, cN as Fp, j1 as Bp, cM as vp, i0 as Vp, hR as Gp, h_ as jp, hX as Kp, i1 as Hp, h$ as kp, hO as Yp, hN as Wp, hQ as xp, hW as wp, hU as Xp, hT as zp, hZ as qp, hS as Jp, bO as Qp, bP as Zp, hV as $p, hY as aS, ia as eS, j3 as sS, ic as tS } from "./@code-editor-BhKgnbkm.js";
2
+ import { H as rS, R as oS, g as nS, a as lS } from "./@common-rjsf-cagzEBlB.js";
3
3
  export {
4
4
  s as ACCESS_TYPE_MAP,
5
5
  t as ACTION_STATE,
@@ -14,8 +14,8 @@ export {
14
14
  S as APP_STATUS_HEADERS,
15
15
  d as ARTIFACT_STATUS,
16
16
  E as ActivityIndicator,
17
- _ as AddCDButton,
18
- c as AddCDPositions,
17
+ c as AddCDButton,
18
+ _ as AddCDPositions,
19
19
  u as AddPipelineType,
20
20
  A as AggregationKeys,
21
21
  I as AnimatedDeployButton,
@@ -68,8 +68,8 @@ export {
68
68
  Sa as BuildXDriverType,
69
69
  da as BulkOperations,
70
70
  Ea as BulkSelection,
71
- _a as BulkSelectionEvents,
72
- ca as BulkSelectionOptionsLabels,
71
+ ca as BulkSelectionEvents,
72
+ _a as BulkSelectionOptionsLabels,
73
73
  ua as BulkSelectionProvider,
74
74
  Aa as Button,
75
75
  Ia as ButtonComponentType,
@@ -122,8 +122,8 @@ export {
122
122
  Se as ConsequenceAction,
123
123
  de as CustomInput,
124
124
  Ee as CustomSelect,
125
- _e as DATE_PICKER_IDS,
126
- ce as DATE_PICKER_PLACEHOLDER,
125
+ ce as DATE_PICKER_IDS,
126
+ _e as DATE_PICKER_PLACEHOLDER,
127
127
  ue as DATE_TIME_FORMATS,
128
128
  Ae as DATE_TIME_FORMAT_STRING,
129
129
  Ie as DEFAULT_BASE_PAGE_SIZE,
@@ -176,8 +176,8 @@ export {
176
176
  Ss as DialogFormSubmit,
177
177
  ds as DiffViewer,
178
178
  Es as DraftAction,
179
- _s as DraftState,
180
- cs as DraggableButton,
179
+ cs as DraftState,
180
+ _s as DraggableButton,
181
181
  us as DraggablePositionVariant,
182
182
  As as DraggableWrapper,
183
183
  Is as Drawer,
@@ -228,11 +228,11 @@ export {
228
228
  gt as GitProviderType,
229
229
  pt as Grid,
230
230
  St as GroupHeading,
231
- tS as HIDE_SUBMIT_BUTTON_UI_SCHEMA,
231
+ rS as HIDE_SUBMIT_BUTTON_UI_SCHEMA,
232
232
  dt as HeaderWithCreateButton,
233
233
  Et as HistoryComponentType,
234
- _t as Host,
235
- ct as IMAGE_SCAN_TOOL,
234
+ ct as Host,
235
+ _t as IMAGE_SCAN_TOOL,
236
236
  ut as INFRA_CONFIG_NOT_SUPPORTED_BY_BUILD_X,
237
237
  At as IO_VARIABLES_VALUE_COLUMN_BOOL_OPTIONS,
238
238
  It as IO_VARIABLES_VALUE_COLUMN_DATE_OPTIONS,
@@ -285,8 +285,8 @@ export {
285
285
  Si as MonthlySelect,
286
286
  di as MountPath,
287
287
  Ei as MultiSelectValueContainer,
288
- _i as MultiValueChipContainer,
289
- ci as MultiValueContainer,
288
+ ci as MultiValueChipContainer,
289
+ _i as MultiValueContainer,
290
290
  ui as MultiValueContainerWithCount,
291
291
  Ai as MultiValueRemove,
292
292
  Ii as NUMERIC_BUILD_INFRA_FORM_FIELD_CONFIGURATION_MAP,
@@ -325,7 +325,7 @@ export {
325
325
  Zi as ProtectConfigTabsType,
326
326
  $i as RAISE_ISSUE,
327
327
  ar as REGISTRY_TYPE_MAP,
328
- iS as RJSFForm,
328
+ oS as RJSFForm,
329
329
  er as ROUTES,
330
330
  sr as RadioGroup,
331
331
  tr as RadioGroupItem,
@@ -340,8 +340,8 @@ export {
340
340
  Sr as ResizableTextarea,
341
341
  dr as ResourceKindType,
342
342
  Er as ResourceVersionType,
343
- _r as RuntimeParamsHeadingType,
344
- cr as SCAN_TOOL_ID_CLAIR,
343
+ cr as RuntimeParamsHeadingType,
344
+ _r as SCAN_TOOL_ID_CLAIR,
345
345
  ur as SCAN_TOOL_ID_TRIVY,
346
346
  Ar as SELECTED_APPROVAL_TAB_STATE,
347
347
  Ir as SELECT_ALL_ACROSS_PAGES_LOCATOR,
@@ -393,8 +393,8 @@ export {
393
393
  po as TOAST_ACCESS_DENIED,
394
394
  So as TOKEN_COOKIE_NAME,
395
395
  Eo as TOOLTIP_CONTENTS,
396
- _o as TRIGGER_STATUS_PROGRESSING,
397
- co as TabGroup,
396
+ co as TRIGGER_STATUS_PROGRESSING,
397
+ _o as TabGroup,
398
398
  uo as TagDetails,
399
399
  Ao as TagLabelValueSelector,
400
400
  Io as TagsContainer,
@@ -446,8 +446,8 @@ export {
446
446
  Sn as buildHoverHtmlForWebhook,
447
447
  dn as buildObjectFromPath,
448
448
  En as cancelCiTrigger,
449
- _n as cancelPrePostCdTrigger,
450
- cn as capitalizeFirstLetter,
449
+ cn as cancelPrePostCdTrigger,
450
+ _n as capitalizeFirstLetter,
451
451
  un as checkIfPathIsMatching,
452
452
  An as cleanKubeManifest,
453
453
  In as closeOnEscKeyPressed,
@@ -500,8 +500,8 @@ export {
500
500
  Sl as getDefaultConfig,
501
501
  dl as getDefaultDateFromTimeToLive,
502
502
  El as getDefaultValueFromType,
503
- _l as getDefaultVersionAndPreviousDeploymentOptions,
504
- cl as getDeploymentDiffSelector,
503
+ cl as getDefaultVersionAndPreviousDeploymentOptions,
504
+ _l as getDeploymentDiffSelector,
505
505
  ul as getDeploymentHistoryDetail,
506
506
  Al as getDeploymentHistoryList,
507
507
  Il as getDeploymentManifest,
@@ -523,7 +523,7 @@ export {
523
523
  Bl as getGuiSchemaFromChartName,
524
524
  vl as getHandleOpenURL,
525
525
  Vl as getIframeWithDefaultAttributes,
526
- rS as getInferredTypeFromValueType,
526
+ nS as getInferredTypeFromValueType,
527
527
  Gl as getInvalidActionMessage,
528
528
  jl as getInvalidTippyContent,
529
529
  Kl as getIsApprovalPolicyConfigured,
@@ -550,159 +550,161 @@ export {
550
550
  nT as getPolicyApiUrl,
551
551
  lT as getProgressingStateForStatus,
552
552
  TT as getRandomColor,
553
- oS as getRedirectionProps,
553
+ lS as getRedirectionProps,
554
554
  gT as getRegexMatchPositions,
555
555
  pT as getResolvedDeploymentTemplate,
556
556
  ST as getResourceApiUrl,
557
557
  dT as getResourceGroupListRaw,
558
558
  ET as getSanitizedIframe,
559
- _T as getSecurityConfig,
560
- cT as getSecurityScan,
559
+ cT as getSecurityConfig,
560
+ _T as getSecurityScan,
561
561
  uT as getSecurityScanSeveritiesCount,
562
- AT as getSelectPickerOptionByValue,
563
- IT as getSidebarData,
564
- DT as getSortedVulnerabilities,
565
- CT as getStageStatusIcon,
566
- yT as getStageTitle,
567
- OT as getTagDetails,
568
- RT as getTeamListMin,
569
- fT as getTimeDifference,
570
- mT as getTimeStampAMPMSuffix,
571
- PT as getTimeValue,
572
- LT as getTotalSeverities,
573
- NT as getTotalVulnerabilityCount,
574
- MT as getTransformedBuildInfraProfileResponse,
575
- hT as getTriggerDetails,
576
- bT as getTriggerHistory,
577
- UT as getTriggerHistoryFilterCriteria,
578
- FT as getTriggerStatusIcon,
579
- BT as getUniqueId,
580
- vT as getUpdatedPluginStore,
581
- VT as getUrlWithSearchParams,
582
- GT as getUserAndApiTokenOption,
583
- jT as getUserAndApiTokenOptions,
584
- KT as getUserRole,
585
- HT as getWebhookDate,
586
- kT as getWebhookEventIcon,
587
- YT as getWebhookEventsForEventId,
588
- WT as getiNodesByKindWithChildNodes,
589
- xT as getiNodesByRootNodeWithChildNodes,
590
- wT as groupArrayByObjectKey,
591
- XT as handleAddCD,
592
- zT as handleDisableSubmitOnEnter,
593
- qT as handleRelativeDateSorting,
594
- JT as handleUTCTime,
595
- QT as hasESO,
596
- ZT as hasHashiOrAWS,
597
- $T as highlightSearchText,
598
- ag as isImageActiveOnEnvironment,
599
- eg as isNullOrUndefined,
600
- sg as isTimeStringAvailable,
601
- tg as joinObjects,
602
- ig as logExceptionToSentry,
603
- rg as mapByKey,
604
- og as mergeConfigDataArraysByName,
605
- ng as multiSelectStyles,
606
- lg as noop,
607
- Tg as not,
608
- gg as numberComparatorBySortOrder,
609
- pg as parseGetResourceScanDetailsResponse,
610
- Sg as parsePlatformConfigIntoValue,
611
- dg as parsePluginDetailsDTOIntoPluginStore,
612
- Eg as parseRuntimeParams,
613
- _g as patch,
614
- cg as pluginTagSelectStyles,
615
- ug as post,
616
- Ag as powerSetOfSubstringsFromStart,
617
- Ig as prefixZeroIfSingleDigit,
618
- Dg as prepareConfigMapAndSecretData,
619
- Cg as prepareDeploymentTemplateData,
620
- yg as prepareHistoryData,
621
- Og as preparePipelineConfigData,
622
- Rg as preventBodyScroll,
623
- fg as preventDefault,
624
- mg as preventOutsideFocus,
625
- Pg as processCDMaterialServiceResponse,
626
- Lg as processDeployedTime,
627
- Ng as processDeploymentStatusDetailsData,
628
- Mg as put,
629
- hg as reactSelectStyles,
630
- bg as recursivelyRemoveSymbolFromArraysInObject,
631
- Ug as reduceKindStatus,
632
- Fg as refresh,
633
- Bg as renderDiffViewNoDifferenceState,
634
- vg as renderErrorHeaderMessage,
635
- Vg as renderIcon,
636
- Gg as renderValidInputButtonTippy,
637
- jg as reportIssue,
638
- Kg as requiredField,
639
- Hg as sanitizeApprovalConfigData,
640
- kg as sanitizeUserApprovalList,
641
- Yg as sanitizeUserApprovalMetadata,
642
- Wg as setImageTags,
643
- xg as shallowEqual,
644
- wg as showError,
645
- Xg as sortCallback,
646
- zg as statusColor,
647
- qg as statusIcon,
648
- Jg as statusSet,
649
- Qg as stopPropagation,
650
- Zg as stringComparatorBySortOrder,
651
- $g as terminalStatus,
652
- ap as throttle,
653
- ep as trash,
654
- sp as triggerCDNode,
655
- tp as triggerStatus,
656
- ip as updateDate,
657
- rp as updateTime,
658
- op as uploadCDPipelineFile,
659
- np as uploadCIPipelineFile,
660
- lp as upsertBuildInfraProfile,
661
- Tp as useAsync,
662
- gp as useBreadcrumb,
663
- pp as useBuildInfraForm,
664
- Sp as useBulkSelection,
665
- dp as useClickOutside,
666
- Ep as useDownload,
667
- _p as useEffectAfterMount,
668
- cp as useForm,
669
- up as useGetResourceKindsOptions,
670
- Ap as useImageSelectionUtilityContext,
671
- Ip as useIntersection,
672
- Dp as useInterval,
673
- Cp as useJsonYaml,
674
- yp as useKeyDown,
675
- Op as useMainContext,
676
- Rp as usePrompt,
677
- fp as useRegisterShortcut,
678
- mp as useResizableTableConfig,
679
- Pp as useScrollable,
680
- Lp as useSearchString,
681
- Np as useStateFilters,
682
- Mp as useSuperAdmin,
683
- hp as useThrottledEffect,
684
- bp as useUrlFilters,
685
- Up as useUserEmail,
686
- Fp as useWindowSize,
687
- Bp as validateDateAndTime,
688
- vp as validateDescription,
689
- Vp as validateDisplayName,
690
- Gp as validateIfImageExist,
691
- jp as validateIframe,
692
- Kp as validateJSON,
693
- Hp as validateLabelKey,
694
- kp as validateLabelValue,
695
- Yp as validateName,
696
- Wp as validateProtocols,
697
- xp as validateRequiredPositiveInteger,
698
- wp as validateRequiredPositiveNumber,
699
- Xp as validateSemanticVersioning,
700
- zp as validateStringLength,
701
- qp as validateTagKeyValue,
702
- Jp as validateTagValue,
703
- Qp as validateURL,
704
- Zp as validateUniqueKeys,
705
- $p as versionComparatorBySortOrder,
706
- aS as withUserEmail,
707
- eS as yamlComparatorBySortOrder
562
+ AT as getSecurityScanStatus,
563
+ IT as getSelectPickerOptionByValue,
564
+ DT as getSidebarData,
565
+ CT as getSortedVulnerabilities,
566
+ yT as getStageStatusIcon,
567
+ OT as getStageTitle,
568
+ RT as getStatusForScanList,
569
+ fT as getTagDetails,
570
+ mT as getTeamListMin,
571
+ PT as getTimeDifference,
572
+ LT as getTimeStampAMPMSuffix,
573
+ NT as getTimeValue,
574
+ MT as getTotalSeverities,
575
+ hT as getTotalVulnerabilityCount,
576
+ bT as getTransformedBuildInfraProfileResponse,
577
+ UT as getTriggerDetails,
578
+ FT as getTriggerHistory,
579
+ BT as getTriggerHistoryFilterCriteria,
580
+ vT as getTriggerStatusIcon,
581
+ VT as getUniqueId,
582
+ GT as getUpdatedPluginStore,
583
+ jT as getUrlWithSearchParams,
584
+ KT as getUserAndApiTokenOption,
585
+ HT as getUserAndApiTokenOptions,
586
+ kT as getUserRole,
587
+ YT as getWebhookDate,
588
+ WT as getWebhookEventIcon,
589
+ xT as getWebhookEventsForEventId,
590
+ wT as getiNodesByKindWithChildNodes,
591
+ XT as getiNodesByRootNodeWithChildNodes,
592
+ zT as groupArrayByObjectKey,
593
+ qT as handleAddCD,
594
+ JT as handleDisableSubmitOnEnter,
595
+ QT as handleRelativeDateSorting,
596
+ ZT as handleUTCTime,
597
+ $T as hasESO,
598
+ ag as hasHashiOrAWS,
599
+ eg as highlightSearchText,
600
+ sg as isImageActiveOnEnvironment,
601
+ tg as isNullOrUndefined,
602
+ ig as isTimeStringAvailable,
603
+ rg as joinObjects,
604
+ og as logExceptionToSentry,
605
+ ng as mapByKey,
606
+ lg as mergeConfigDataArraysByName,
607
+ Tg as multiSelectStyles,
608
+ gg as noop,
609
+ pg as not,
610
+ Sg as numberComparatorBySortOrder,
611
+ dg as parseGetResourceScanDetailsResponse,
612
+ Eg as parsePlatformConfigIntoValue,
613
+ cg as parsePluginDetailsDTOIntoPluginStore,
614
+ _g as parseRuntimeParams,
615
+ ug as patch,
616
+ Ag as pluginTagSelectStyles,
617
+ Ig as post,
618
+ Dg as powerSetOfSubstringsFromStart,
619
+ Cg as prefixZeroIfSingleDigit,
620
+ yg as prepareConfigMapAndSecretData,
621
+ Og as prepareDeploymentTemplateData,
622
+ Rg as prepareHistoryData,
623
+ fg as preparePipelineConfigData,
624
+ mg as preventBodyScroll,
625
+ Pg as preventDefault,
626
+ Lg as preventOutsideFocus,
627
+ Ng as processCDMaterialServiceResponse,
628
+ Mg as processDeployedTime,
629
+ hg as processDeploymentStatusDetailsData,
630
+ bg as put,
631
+ Ug as reactSelectStyles,
632
+ Fg as recursivelyRemoveSymbolFromArraysInObject,
633
+ Bg as reduceKindStatus,
634
+ vg as refresh,
635
+ Vg as renderDiffViewNoDifferenceState,
636
+ Gg as renderErrorHeaderMessage,
637
+ jg as renderIcon,
638
+ Kg as renderValidInputButtonTippy,
639
+ Hg as reportIssue,
640
+ kg as requiredField,
641
+ Yg as sanitizeApprovalConfigData,
642
+ Wg as sanitizeUserApprovalList,
643
+ xg as sanitizeUserApprovalMetadata,
644
+ wg as setImageTags,
645
+ Xg as shallowEqual,
646
+ zg as showError,
647
+ qg as sortCallback,
648
+ Jg as statusColor,
649
+ Qg as statusIcon,
650
+ Zg as statusSet,
651
+ $g as stopPropagation,
652
+ ap as stringComparatorBySortOrder,
653
+ ep as terminalStatus,
654
+ sp as throttle,
655
+ tp as trash,
656
+ ip as triggerCDNode,
657
+ rp as triggerStatus,
658
+ op as updateDate,
659
+ np as updateTime,
660
+ lp as uploadCDPipelineFile,
661
+ Tp as uploadCIPipelineFile,
662
+ gp as upsertBuildInfraProfile,
663
+ pp as useAsync,
664
+ Sp as useBreadcrumb,
665
+ dp as useBuildInfraForm,
666
+ Ep as useBulkSelection,
667
+ cp as useClickOutside,
668
+ _p as useDownload,
669
+ up as useEffectAfterMount,
670
+ Ap as useForm,
671
+ Ip as useGetResourceKindsOptions,
672
+ Dp as useImageSelectionUtilityContext,
673
+ Cp as useIntersection,
674
+ yp as useInterval,
675
+ Op as useJsonYaml,
676
+ Rp as useKeyDown,
677
+ fp as useMainContext,
678
+ mp as usePrompt,
679
+ Pp as useRegisterShortcut,
680
+ Lp as useResizableTableConfig,
681
+ Np as useScrollable,
682
+ Mp as useSearchString,
683
+ hp as useStateFilters,
684
+ bp as useSuperAdmin,
685
+ Up as useThrottledEffect,
686
+ Fp as useUrlFilters,
687
+ Bp as useUserEmail,
688
+ vp as useWindowSize,
689
+ Vp as validateDateAndTime,
690
+ Gp as validateDescription,
691
+ jp as validateDisplayName,
692
+ Kp as validateIfImageExist,
693
+ Hp as validateIframe,
694
+ kp as validateJSON,
695
+ Yp as validateLabelKey,
696
+ Wp as validateLabelValue,
697
+ xp as validateName,
698
+ wp as validateProtocols,
699
+ Xp as validateRequiredPositiveInteger,
700
+ zp as validateRequiredPositiveNumber,
701
+ qp as validateSemanticVersioning,
702
+ Jp as validateStringLength,
703
+ Qp as validateTagKeyValue,
704
+ Zp as validateTagValue,
705
+ $p as validateURL,
706
+ aS as validateUniqueKeys,
707
+ eS as versionComparatorBySortOrder,
708
+ sS as withUserEmail,
709
+ tS as yamlComparatorBySortOrder
708
710
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devtron-labs/devtron-fe-common-lib",
3
- "version": "1.4.8-beta-2",
3
+ "version": "1.4.8-beta-3",
4
4
  "description": "Supporting common component library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",