@devtron-labs/devtron-fe-common-lib 1.12.0-beta-5 → 1.12.0-beta-6

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.
Files changed (57) hide show
  1. package/dist/{@code-editor-Bgkd1h1Y.js → @code-editor-O6rcFNCZ.js} +8286 -8453
  2. package/dist/{@common-rjsf-kqKDCxYD.js → @common-rjsf-X2jUWono.js} +20 -20
  3. package/dist/{@framer-motion-B-tsB4kf.js → @framer-motion-BaOj5B1h.js} +1 -1
  4. package/dist/{@react-dates-DQl_saOu.js → @react-dates-CdRpENvm.js} +1 -1
  5. package/dist/{@react-select-Cq3Neli-.js → @react-select-BLSAqXV1.js} +1 -1
  6. package/dist/{@react-virtualized-sticky-tree-DzwGuB_x.js → @react-virtualized-sticky-tree-BLmFnJWD.js} +1 -1
  7. package/dist/{@vendor-B47rbd8d.js → @vendor-SjXFleuT.js} +17314 -17314
  8. package/dist/Common/Common.service.d.ts +2 -2
  9. package/dist/Common/Constants.d.ts +1 -2
  10. package/dist/Common/Helper.d.ts +0 -2
  11. package/dist/Common/Toggle/Toggle.d.ts +1 -4
  12. package/dist/Common/Types.d.ts +0 -1
  13. package/dist/Common/index.d.ts +3 -2
  14. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
  15. package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +8 -0
  16. package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
  17. package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
  18. package/dist/Pages/ResourceBrowser/types.d.ts +38 -0
  19. package/dist/Shared/Components/CICDHistory/AppStatusDetailsChart.d.ts +3 -0
  20. package/dist/Shared/Components/CICDHistory/constants.d.ts +0 -1
  21. package/dist/Shared/Components/CICDHistory/index.d.ts +1 -0
  22. package/dist/Shared/Components/CICDHistory/types.d.ts +6 -0
  23. package/dist/Shared/Components/Error/ErrorBar.d.ts +1 -1
  24. package/dist/Shared/Components/Error/types.d.ts +0 -4
  25. package/dist/Shared/Components/Error/utils.d.ts +0 -1
  26. package/dist/Shared/Components/Icon/Icon.d.ts +5 -2
  27. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  28. package/dist/Shared/Components/LoginBanner/Testimonials.components.d.ts +3 -0
  29. package/dist/Shared/Components/LoginBanner/index.d.ts +2 -0
  30. package/dist/Shared/Components/SelectPicker/common.d.ts +1 -0
  31. package/dist/Shared/Components/SelectPicker/index.d.ts +1 -0
  32. package/dist/Shared/Components/StatusComponent/types.d.ts +2 -1
  33. package/dist/Shared/Components/index.d.ts +0 -2
  34. package/dist/Shared/types.d.ts +5 -5
  35. package/dist/assets/@code-editor.css +1 -1
  36. package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
  37. package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
  38. package/dist/assets/ic-delete-dots.5380e0d0.svg +62 -0
  39. package/dist/assets/ic-enterprise-feat.5ee25d5b.svg +3 -0
  40. package/dist/assets/ic-enterprise-tag.209dd129.svg +43 -0
  41. package/dist/index.js +693 -692
  42. package/package.json +1 -1
  43. package/dist/Common/Drawer/index.d.ts +0 -1
  44. package/dist/Common/EmptyState/index.d.ts +0 -2
  45. package/dist/Shared/Components/AppStatusModal/AppStatusBody.d.ts +0 -2
  46. package/dist/Shared/Components/AppStatusModal/AppStatusContent.d.ts +0 -3
  47. package/dist/Shared/Components/AppStatusModal/AppStatusModal.component.d.ts +0 -3
  48. package/dist/Shared/Components/AppStatusModal/constants.d.ts +0 -4
  49. package/dist/Shared/Components/AppStatusModal/index.d.ts +0 -2
  50. package/dist/Shared/Components/AppStatusModal/service.d.ts +0 -3
  51. package/dist/Shared/Components/AppStatusModal/types.d.ts +0 -35
  52. package/dist/Shared/Components/AppStatusModal/utils.d.ts +0 -5
  53. package/dist/Shared/Components/EnterpriseTag/EnterpriseTag.component.d.ts +0 -2
  54. package/dist/Shared/Components/EnterpriseTag/index.d.ts +0 -1
  55. package/dist/assets/ic-expand-sm.a9a724f8.svg +0 -3
  56. package/dist/assets/ic-login-devtron-logo.702a1d04.svg +0 -22
  57. package/dist/assets/ic-medal.a2e911f5.svg +0 -19
@@ -1,7 +1,7 @@
1
- import { j as n, av as y, ax as k, aw as W } from "./@vendor-B47rbd8d.js";
1
+ import { j as n, av as y, ax as k, aw as W } from "./@vendor-SjXFleuT.js";
2
2
  import V, { forwardRef as J, useMemo as P } from "react";
3
3
  import K, { getDefaultRegistry as q } from "@rjsf/core";
4
- import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-Bgkd1h1Y.js";
4
+ import { T as F, j as N, c as v, b as S, a as Y, i as z, d as w, e as E, S as G } from "./@code-editor-O6rcFNCZ.js";
5
5
  import Q, { components as D } from "react-select";
6
6
  import { ReactComponent as X } from "./assets/ic-chevron-down.fc70d7a7.svg";
7
7
  import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as Z, ADDITIONAL_PROPERTY_FLAG as L, errorId as ee, englishStringTranslator as te, TranslatableString as ne, titleId as re, canExpand as se, deepEquals as ae } from "@rjsf/utils";
@@ -89,14 +89,14 @@ import './assets/@common-rjsf.css';const O = {
89
89
  }) => {
90
90
  const u = B(a), f = $("ArrayFieldItemTemplate", c, u), p = u.title || x;
91
91
  return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: r.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
92
- i.map(({ key: _, ...j }, h) => {
92
+ i.map(({ key: j, ..._ }, h) => {
93
93
  const m = {
94
- ...j.children,
94
+ ..._.children,
95
95
  props: {
96
- ...j.children.props
96
+ ..._.children.props
97
97
  }
98
98
  };
99
- return /* @__PURE__ */ n.jsx(f, { ...j, children: m }, _);
99
+ return /* @__PURE__ */ n.jsx(f, { ..._, children: m }, j);
100
100
  }),
101
101
  /* @__PURE__ */ n.jsx(
102
102
  A,
@@ -178,11 +178,11 @@ import './assets/@common-rjsf.css';const O = {
178
178
  classNames: x,
179
179
  schema: u,
180
180
  rawDescription: f
181
- } = e, p = B(d), _ = $(
181
+ } = e, p = B(d), j = $(
182
182
  "WrapIfAdditionalTemplate",
183
183
  c,
184
184
  p
185
- ), j = L in u, h = (o || u.type === "boolean") && !j, m = u.type === "array";
185
+ ), _ = L in u, h = (o || u.type === "boolean") && !_, m = u.type === "array";
186
186
  return i ? /* @__PURE__ */ n.jsx("div", { className: "hidden", children: r }) : (
187
187
  // NOTE: need to override the margins of default rjsf css
188
188
  /* @__PURE__ */ n.jsxs("div", { className: `${x} mb-0`, children: [
@@ -206,7 +206,7 @@ import './assets/@common-rjsf.css';const O = {
206
206
  id: t,
207
207
  required: l,
208
208
  rawDescription: f,
209
- children: /* @__PURE__ */ n.jsx(_, { ...e, children: r })
209
+ children: /* @__PURE__ */ n.jsx(j, { ...e, children: r })
210
210
  }
211
211
  ),
212
212
  a
@@ -366,8 +366,8 @@ import './assets/@common-rjsf.css';const O = {
366
366
  uiSchema: x,
367
367
  registry: l
368
368
  }
369
- ), _ = a.filter((j) => {
370
- const h = c.properties?.[j.name]?.hidden;
369
+ ), j = a.filter((_) => {
370
+ const h = c.properties?.[_.name]?.hidden;
371
371
  if (!h)
372
372
  return !0;
373
373
  try {
@@ -384,7 +384,7 @@ import './assets/@common-rjsf.css';const O = {
384
384
  } catch {
385
385
  return !0;
386
386
  }
387
- }).sort((j) => c.properties?.[j.name]?.type === "boolean" ? -1 : 1).map((j) => j.content);
387
+ }).map((_) => _.content);
388
388
  return f ? a.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
389
389
  /* @__PURE__ */ n.jsx(
390
390
  T,
@@ -394,12 +394,12 @@ import './assets/@common-rjsf.css';const O = {
394
394
  showLabel: !0,
395
395
  id: s.$id,
396
396
  shouldAlignCenter: !1,
397
- children: /* @__PURE__ */ n.jsx("div", { children: _ })
397
+ children: /* @__PURE__ */ n.jsx("div", { children: j })
398
398
  }
399
399
  ),
400
400
  p
401
401
  ] }) : /* @__PURE__ */ n.jsx(T, { label: d, required: o, showLabel: !0, id: s.$id, children: p }) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
402
- _,
402
+ j,
403
403
  p
404
404
  ] });
405
405
  }, we = (e) => {
@@ -473,8 +473,8 @@ import './assets/@common-rjsf.css';const O = {
473
473
  onFocus: c
474
474
  }) => {
475
475
  const d = (u, f) => {
476
- const { id: p, checked: _ } = u.target;
477
- f === "blur" ? o(p, _) : f === "focus" && c(p, _);
476
+ const { id: p, checked: j } = u.target;
477
+ f === "blur" ? o(p, j) : f === "focus" && c(p, j);
478
478
  }, x = z(s) ? !1 : s;
479
479
  return /* @__PURE__ */ n.jsxs("div", { children: [
480
480
  /* @__PURE__ */ n.jsx(
@@ -507,18 +507,18 @@ import './assets/@common-rjsf.css';const O = {
507
507
  onBlur: d,
508
508
  onFocus: x,
509
509
  placeholder: u
510
- } = e, { enumOptions: f = [] } = r, p = s ? [] : "", _ = (h) => {
510
+ } = e, { enumOptions: f = [] } = r, p = s ? [] : "", j = (h) => {
511
511
  c(s ? h.map((m) => m.value) : h.value);
512
- }, j = (h) => s ? f.filter((m) => h.some((g) => E(g, m.value))) : f.find((m) => E(h, m.value));
512
+ }, _ = (h) => s ? f.filter((m) => h.some((g) => E(g, m.value))) : f.find((m) => E(h, m.value));
513
513
  return /* @__PURE__ */ n.jsx(
514
514
  Q,
515
515
  {
516
516
  id: t,
517
517
  name: t,
518
518
  isMulti: s,
519
- value: typeof a > "u" ? p : j(a),
519
+ value: typeof a > "u" ? p : _(a),
520
520
  autoFocus: o,
521
- onChange: _,
521
+ onChange: j,
522
522
  options: f,
523
523
  onBlur: () => d(t, a),
524
524
  onFocus: () => x(t, a),
@@ -1,4 +1,4 @@
1
- import { aA as ct, aB as m, aC as M, aD as Xr, aE as Ee, aF as T, aG as at, aH as Kt, aI as oe, aJ as We, aK as J, aL as Wr, aM as ei, aN as Zr, aO as ri, aP as ni, aQ as ii, aR as ai, aS as oi, aT as $r, aU as si, aV as ui, aW as li, aX as fi, aY as ci, aZ as vi, a_ as di, a$ as Pt, b0 as k, b1 as he, b2 as qr, b3 as pi, b4 as hi, b5 as W, b6 as Z, b7 as mi, b8 as me, b9 as Mt, ba as gi, bb as yi, bc as Jr, bd as It, be as O, bf as ge, bg as bi, bh as se, bi as Pi, bj as Vi } from "./@vendor-B47rbd8d.js";
1
+ import { aA as ct, aB as m, aC as M, aD as Xr, aE as Ee, aF as T, aG as at, aH as Kt, aI as oe, aJ as We, aK as J, aL as Wr, aM as ei, aN as Zr, aO as ri, aP as ni, aQ as ii, aR as ai, aS as oi, aT as $r, aU as si, aV as ui, aW as li, aX as fi, aY as ci, aZ as vi, a_ as di, a$ as Pt, b0 as k, b1 as he, b2 as qr, b3 as pi, b4 as hi, b5 as W, b6 as Z, b7 as mi, b8 as me, b9 as Mt, ba as gi, bb as yi, bc as Jr, bd as It, be as O, bf as ge, bg as bi, bh as se, bi as Pi, bj as Vi } from "./@vendor-SjXFleuT.js";
2
2
  import * as G from "react";
3
3
  import Le, { createContext as Vt, useContext as F, useLayoutEffect as Ti, useEffect as H, useState as Re, useRef as q, useCallback as ye, useMemo as Ot, forwardRef as Si, createElement as xi, cloneElement as Ci, Children as Ai, isValidElement as wi } from "react";
4
4
  var Ze = "production", De = typeof process > "u" || process.env === void 0 ? Ze : process.env.NODE_ENV || Ze, Q = function(t) {
@@ -1,5 +1,5 @@
1
1
  import Te from "react";
2
- import { bk as xe, bl as we, bm as ve, bn as lr, bo as Le, bp as Je, bq as tt, br as at, bs as et, bt as lt, bu as rt, bv as Xn, bw as sr, bx as Jn, by as Dt, bz as Go, bA as dr, bB as eo, bC as to, bD as ao, bE as ur, bF as Fe, bG as Rt, bH as $o, bI as cr, bJ as Yo, bK as Cr, bL as Uo, bM as Qo, bN as Zo, bO as Xo, bP as Jo } from "./@vendor-B47rbd8d.js";
2
+ import { bk as xe, bl as we, bm as ve, bn as lr, bo as Le, bp as Je, bq as tt, br as at, bs as et, bt as lt, bu as rt, bv as Xn, bw as sr, bx as Jn, by as Dt, bz as Go, bA as dr, bB as eo, bC as to, bD as ao, bE as ur, bF as Fe, bG as Rt, bH as $o, bI as cr, bJ as Yo, bK as Cr, bL as Uo, bM as Qo, bN as Zo, bO as Xo, bP as Jo } from "./@vendor-SjXFleuT.js";
3
3
  import { r as Ne, h as ei, g as ti } from "./@moment-C_WeV3Af.js";
4
4
  import './assets/@react-dates.css';var ro = {}, Wt = {}, jt = {}, Mr;
5
5
  function Ve() {
@@ -1,4 +1,4 @@
1
- import { bQ as xt, bR as Bt, bS as Ft, bT as v, bU as U, bV as xe, bE as re, bW as h, bM as f, bX as Y, bY as Vt, bZ as Ue, b_ as Et, b$ as yt, c0 as Wt, c1 as Xt, c2 as Zt, c3 as ne } from "./@vendor-B47rbd8d.js";
1
+ import { bQ as xt, bR as Bt, bS as Ft, bT as v, bU as U, bV as xe, bE as re, bW as h, bM as f, bX as Y, bY as Vt, bZ as Ue, b_ as Et, b$ as yt, c0 as Wt, c1 as Xt, c2 as Zt, c3 as ne } from "./@vendor-SjXFleuT.js";
2
2
  import * as y from "react";
3
3
  import { useContext as Nt, useRef as j, useState as ee, createContext as St, useMemo as q, useCallback as D, Component as Rt, Fragment as Be, useEffect as Qe, forwardRef as Ht } from "react";
4
4
  import { createPortal as Tt } from "react-dom";
@@ -2,7 +2,7 @@ var v = Object.defineProperty;
2
2
  var E = (a, h, e) => h in a ? v(a, h, { enumerable: !0, configurable: !0, writable: !0, value: e }) : a[h] = e;
3
3
  var f = (a, h, e) => E(a, typeof h != "symbol" ? h + "" : h, e);
4
4
  import u, { createRef as k } from "react";
5
- import { c4 as x } from "./@vendor-B47rbd8d.js";
5
+ import { c4 as x } from "./@vendor-SjXFleuT.js";
6
6
  const b = () => typeof navigator < "u" && /Safari/.test(navigator.userAgent) && /Apple Computer/.test(navigator.vendor) ? "-webkit-sticky" : "sticky";
7
7
  var g;
8
8
  (function(a) {