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

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.
@@ -1,7 +1,7 @@
1
- import { j as n, J as y, b as k, a as W } from "./@vendor-BtL2Znh4.js";
1
+ import { j as n, J as y, b as k, a as W } from "./@vendor-BiSFCp-8.js";
2
2
  import J, { forwardRef as V, 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-C-5R5fdP.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";
@@ -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-BiSFCp-8.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-BiSFCp-8.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-BiSFCp-8.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-BiSFCp-8.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) {