@devtron-labs/devtron-fe-common-lib 1.14.1-pre-3 → 1.14.1-pre-5

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 (45) hide show
  1. package/dist/{@code-editor-CRu2zup5.js → @code-editor-BerlFPcZ.js} +14575 -14679
  2. package/dist/{@common-rjsf-CdWy2S0B.js → @common-rjsf-LvBnybtX.js} +7 -7
  3. package/dist/{@framer-motion-u7P-WzAO.js → @framer-motion-BBrovRGX.js} +1 -1
  4. package/dist/{@react-dates-B9MPAm_X.js → @react-dates-BN55ZZis.js} +1 -1
  5. package/dist/{@react-select-BjvVd-sE.js → @react-select-Be-sUPBr.js} +6 -6
  6. package/dist/{@react-virtualized-sticky-tree-B8m_4lZW.js → @react-virtualized-sticky-tree-C1LT8GyU.js} +1 -1
  7. package/dist/{@vendor-BtL2Znh4.js → @vendor-DpX3lhti.js} +13633 -15527
  8. package/dist/Common/Hooks/UseRegisterShortcut/utils.d.ts +1 -1
  9. package/dist/Common/RJSF/Form.d.ts +1 -1
  10. package/dist/Common/Types.d.ts +6 -8
  11. package/dist/Common/index.d.ts +0 -1
  12. package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +11 -11
  13. package/dist/Shared/Components/CodeEditor/CodeEditor.d.ts +1 -1
  14. package/dist/Shared/Components/CodeEditor/CodeEditorRenderer.d.ts +1 -1
  15. package/dist/Shared/Components/CodeEditor/types.d.ts +8 -0
  16. package/dist/Shared/Components/DeploymentConfigDiff/DeploymentConfigDiff.utils.d.ts +0 -2
  17. package/dist/Shared/{DocLink → Components/DocLink}/DocLink.d.ts +1 -1
  18. package/dist/Shared/{DocLink → Components/DocLink}/constants.d.ts +6 -4
  19. package/dist/Shared/{DocLink → Components/DocLink}/index.d.ts +1 -0
  20. package/dist/Shared/Components/DocLink/types.d.ts +18 -0
  21. package/dist/Shared/Components/FeatureDescription/FeatureDescriptionModal.d.ts +1 -1
  22. package/dist/Shared/Components/FeatureDescription/FeatureTitleWithInfo.d.ts +1 -1
  23. package/dist/Shared/Components/FeatureDescription/types.d.ts +3 -5
  24. package/dist/Shared/Components/FramerComponents/index.d.ts +2 -3
  25. package/dist/Shared/Components/Header/PageHeader.d.ts +1 -1
  26. package/dist/Shared/Components/Header/types.d.ts +5 -10
  27. package/dist/Shared/Components/InfoIconTippy/InfoIconTippy.d.ts +1 -1
  28. package/dist/Shared/Components/ModalSidebarPanel/ModalSidebarPanel.component.d.ts +1 -1
  29. package/dist/Shared/Components/ModalSidebarPanel/types.d.ts +3 -4
  30. package/dist/Shared/Components/Popover/utils.d.ts +1 -1
  31. package/dist/Shared/Components/Security/SecurityModal/utils.d.ts +1 -1
  32. package/dist/Shared/Components/index.d.ts +1 -1
  33. package/dist/Shared/Providers/index.d.ts +1 -1
  34. package/dist/Shared/Providers/types.d.ts +16 -0
  35. package/dist/Shared/types.d.ts +5 -0
  36. package/dist/assets/@code-editor.css +1 -1
  37. package/dist/index.js +654 -653
  38. package/package.json +1 -2
  39. package/dist/Shared/Components/DiffViewer/DiffViewer.component.d.ts +0 -41
  40. package/dist/Shared/Components/DiffViewer/constants.d.ts +0 -2
  41. package/dist/Shared/Components/DiffViewer/index.d.ts +0 -1
  42. package/dist/Shared/Components/DiffViewer/types.d.ts +0 -9
  43. package/dist/Shared/Components/FramerComponents/MotionDiv.d.ts +0 -2
  44. package/dist/Shared/DocLink/types.d.ts +0 -11
  45. /package/dist/Shared/{DocLink → Components/DocLink}/utils.d.ts +0 -0
@@ -1,7 +1,7 @@
1
- import { j as n, J as y, b as k, a as W } from "./@vendor-BtL2Znh4.js";
2
- import J, { forwardRef as V, useMemo as P } from "react";
1
+ import { j as n, as as y, au as k, at as W } from "./@vendor-DpX3lhti.js";
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-CRu2zup5.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-BerlFPcZ.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";
@@ -12,7 +12,7 @@ import './assets/@common-rjsf.css';const O = {
12
12
  SELECT: "Please select an option",
13
13
  INPUT: "Please enter an input",
14
14
  OBJECT_KEY: "Please enter a value for the key"
15
- }, ce = "Key not available", Ve = {
15
+ }, ce = "Key not available", Je = {
16
16
  "ui:submitButtonOptions": {
17
17
  norender: !0
18
18
  }
@@ -214,7 +214,7 @@ import './assets/@common-rjsf.css';const O = {
214
214
  );
215
215
  }, je = ({ errors: e = [], idSchema: t }) => {
216
216
  const s = ee(t);
217
- return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: s, children: e.filter((r) => !!r).map((r, a) => /* @__PURE__ */ n.jsxs(J.Fragment, { children: [
217
+ return e.length > 0 && /* @__PURE__ */ n.jsx("span", { className: "display-grid rjsf-form-template__field--error dc__gap-12", id: s, children: e.filter((r) => !!r).map((r, a) => /* @__PURE__ */ n.jsxs(V.Fragment, { children: [
218
218
  /* @__PURE__ */ n.jsx("span", {}),
219
219
  /* @__PURE__ */ n.jsxs("span", { className: "form__error", children: [
220
220
  /* @__PURE__ */ n.jsx(le, { className: "form__icon form__icon--error" }),
@@ -556,7 +556,7 @@ import './assets/@common-rjsf.css';const O = {
556
556
  ObjectFieldTemplate: we,
557
557
  TitleFieldTemplate: C,
558
558
  WrapIfAdditionalTemplate: Ne
559
- }, Ae = K, Re = G, Ye = V((e, t) => {
559
+ }, Ae = K, Re = G, Ye = J((e, t) => {
560
560
  const { schemaPathToUpdatePathMap: s, isUpdatePathKeywordPresent: r } = P(() => {
561
561
  const o = be(e.schema);
562
562
  return {
@@ -608,7 +608,7 @@ import './assets/@common-rjsf.css';const O = {
608
608
  );
609
609
  });
610
610
  export {
611
- Ve as H,
611
+ Je as H,
612
612
  Ye as R,
613
613
  Ke as a,
614
614
  be as b,
@@ -1,4 +1,4 @@
1
- import { az as ct, aA as m, aB as M, aC as Xr, aD as Ee, aE as T, aF as at, aG as Kt, aH as oe, aI as We, aJ as J, aK as Wr, aL as ei, aM as Zr, aN as ri, aO as ni, aP as ii, aQ as ai, aR as oi, aS as $r, aT as si, aU as ui, aV as li, aW as fi, aX as ci, aY as vi, aZ as di, a_ as Pt, a$ as k, b0 as he, b1 as qr, b2 as pi, b3 as hi, b4 as W, b5 as Z, b6 as mi, b7 as me, b8 as Mt, b9 as gi, ba as yi, bb as Jr, bc as It, bd as O, be as ge, bf as bi, bg as se, bh as Pi, bi as Vi } from "./@vendor-BtL2Znh4.js";
1
+ import { ax as ct, ay as m, az as M, aA as Xr, aB as Ee, aC as T, aD as at, aE as Kt, aF as oe, aG as We, aH as J, aI as Wr, aJ as ei, aK as Zr, aL as ri, aM as ni, aN as ii, aO as ai, aP as oi, aQ as $r, aR as si, aS as ui, aT as li, aU as fi, aV as ci, aW as vi, aX as di, aY as Pt, aZ as k, a_ as he, a$ as qr, b0 as pi, b1 as hi, b2 as W, b3 as Z, b4 as mi, b5 as me, b6 as Mt, b7 as gi, b8 as yi, b9 as Jr, ba as It, bb as O, bc as ge, bd as bi, be as se, bf as Pi, bg as Vi } from "./@vendor-DpX3lhti.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 { bj as xe, bk as we, bl as ve, bm as lr, bn as Le, bo as Je, bp as tt, bq as at, br as et, bs as lt, bt as rt, bu as Xn, bv as sr, bw as Jn, bx as Dt, by as Go, bz as dr, bA as eo, bB as to, bC as ao, bD as ur, bE as Fe, bF as Rt, bG as $o, bH as cr, bI as Yo, bJ as Cr, bK as Uo, bL as Qo, bM as Zo, bN as Xo, bO as Jo } from "./@vendor-BtL2Znh4.js";
2
+ import { bh as xe, bi as we, bj as ve, bk as lr, bl as Le, bm as Je, bn as tt, bo as at, bp as et, bq as lt, br as rt, bs as Xn, bt as sr, bu as Jn, bv as Dt, bw as Go, bx as dr, by as eo, bz as to, bA as ao, bB as ur, bC as Fe, bD as Rt, bE as $o, bF as cr, bG as Yo, bH as Cr, bI as Uo, bJ as Qo, bK as Zo, bL as Xo, bM as Jo } from "./@vendor-DpX3lhti.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 { bP as xt, bQ as Bt, bR as Ft, bS as v, bT as U, bU as xe, bD as re, bV as h, bL as f, bW as Y, bX as Vt, bY as Ue, bZ as Et, b_ as yt, b$ as Wt, c0 as Xt, c1 as Zt, c2 as ne } from "./@vendor-BtL2Znh4.js";
1
+ import { bN as xt, bO as Bt, bP as Ft, bQ as v, bR as U, bS as xe, bB as re, bT as h, bJ as f, bU as Y, bV as Vt, bW as Ue, bX as Et, bY as yt, bZ as Wt, b_ as Xt, b$ as ne, c0 as Zt } from "./@vendor-DpX3lhti.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";
@@ -1224,7 +1224,7 @@ var lt = function(t) {
1224
1224
  return t.replace(Cu, function(i) {
1225
1225
  return rt[i];
1226
1226
  });
1227
- }, vu = Et(lt), Te = function(t) {
1227
+ }, vu = Zt(lt), Te = function(t) {
1228
1228
  return t.replace(/^\s+|\s+$/g, "");
1229
1229
  }, hu = function(t) {
1230
1230
  return "".concat(t.label, " ").concat(t.value);
@@ -1654,11 +1654,11 @@ var vt = function(t) {
1654
1654
  var i = t.hideSelectedOptions, n = t.isMulti;
1655
1655
  return i === void 0 ? n : i;
1656
1656
  }, $u = 1, ht = /* @__PURE__ */ function(a) {
1657
- yt(i, a);
1658
- var t = Wt(i);
1657
+ Et(i, a);
1658
+ var t = yt(i);
1659
1659
  function i(n) {
1660
1660
  var e;
1661
- if (Zt(this, i), e = t.call(this, n), e.state = {
1661
+ if (Xt(this, i), e = t.call(this, n), e.state = {
1662
1662
  ariaSelection: null,
1663
1663
  focusedOption: null,
1664
1664
  focusedOptionId: null,
@@ -1944,7 +1944,7 @@ var vt = function(t) {
1944
1944
  }
1945
1945
  return e;
1946
1946
  }
1947
- return Xt(i, [{
1947
+ return Wt(i, [{
1948
1948
  key: "componentDidMount",
1949
1949
  value: function() {
1950
1950
  this.startListeningComposition(), this.startListeningToTouch(), this.props.closeMenuOnScroll && document && document.addEventListener && document.addEventListener("scroll", this.onScroll, !0), this.props.autoFocus && this.focusInput(), this.props.menuIsOpen && this.state.focusedOption && this.menuListRef && this.focusedOptionRef && Ze(this.menuListRef, this.focusedOptionRef);
@@ -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 { c3 as x } from "./@vendor-BtL2Znh4.js";
5
+ import { c1 as x } from "./@vendor-DpX3lhti.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) {