@devtron-labs/devtron-fe-common-lib 1.20.3-pre-10 → 1.20.4-pre-1
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-DSCCeHlr.js → @code-editor-cEeqCE4Q.js} +7450 -7891
- package/dist/{@common-rjsf-BuYoyjSG.js → @common-rjsf-LytvGdGR.js} +18 -18
- package/dist/{@framer-motion-DMkBQPN0.js → @framer-motion-D-YaCAW-.js} +1 -1
- package/dist/{@react-dates-BjZWpiVv.js → @react-dates-Bo3yT8LF.js} +1 -1
- package/dist/{@react-select-DtwlfcIG.js → @react-select-DTi_5fIc.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-M81Af3Qs.js → @react-virtualized-sticky-tree-CuvDiqTo.js} +1 -1
- package/dist/{@vendor-DceGoESd.js → @vendor-DMIFbFhR.js} +14363 -14522
- package/dist/Common/API/CoreAPI.d.ts +6 -1
- package/dist/Common/API/index.d.ts +1 -1
- package/dist/Common/Common.service.d.ts +1 -2
- package/dist/Common/Constants.d.ts +5 -1
- package/dist/Common/Types.d.ts +1 -38
- package/dist/Pages/ResourceBrowser/ResourceBrowser.Types.d.ts +3 -3
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/PageHeader.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/constants.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/index.d.ts +1 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/types.d.ts +12 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/PageHeader/utils.d.ts +2 -0
- package/dist/Pages-Devtron-2.0/ApplicationManagement/Shared/index.d.ts +1 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/index.d.ts +0 -1
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/types.d.ts +0 -20
- package/dist/Pages-Devtron-2.0/InfrastructureManagement/Shared/index.d.ts +1 -0
- package/dist/Shared/Components/ActionMenu/types.d.ts +0 -1
- package/dist/Shared/Components/ActionMenu/useActionMenu.hook.d.ts +1 -1
- package/dist/Shared/Components/Charts/constants.d.ts +11 -3
- package/dist/Shared/Components/Charts/index.d.ts +1 -2
- package/dist/Shared/Components/Charts/plugins.d.ts +3 -2
- package/dist/Shared/Components/Charts/types.d.ts +26 -51
- package/dist/Shared/Components/Charts/utils.d.ts +6 -64
- package/dist/Shared/Components/ConfirmationModal/ForceDeleteConfirmationModal.d.ts +1 -1
- package/dist/Shared/Components/ConfirmationModal/types.d.ts +1 -1
- package/dist/Shared/Components/DocLink/constants.d.ts +0 -1
- package/dist/Shared/Components/Icon/Icon.d.ts +2 -8
- package/dist/Shared/Components/Icon/types.d.ts +1 -1
- package/dist/Shared/Components/Illustration/Illustration.d.ts +0 -1
- package/dist/Shared/Components/PrometheusConfigurations/PrometheusConfigCard.d.ts +1 -1
- package/dist/Shared/Components/PrometheusConfigurations/types.d.ts +1 -0
- package/dist/Shared/Components/SelectPicker/GroupedFilterSelectPicker.example.d.ts +0 -0
- package/dist/Shared/Components/Table/types.d.ts +4 -6
- package/dist/Shared/Components/index.d.ts +0 -2
- package/dist/Shared/Helpers.d.ts +0 -1
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/{ic-bg-build.8609d0ea.svg → ic-bg-build.7de825b3.svg} +1 -1
- package/dist/assets/{ic-bg-production-pipelines.2951cdc0.svg → ic-bg-production-pipelines.5965401c.svg} +2 -3
- package/dist/assets/{ic-priority-medium-fill.7bab0ff8.svg → ic-graph-negative.d49ba2b7.svg} +2 -2
- package/dist/assets/ic-new-chat.f7c90f8e.svg +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1018 -1005
- package/package.json +1 -3
- package/dist/Pages-Devtron-2.0/CostVisibility/Shared/constants.d.ts +0 -4
- package/dist/Shared/Components/ClusterStatusIcon/ClusterStatusIcon.d.ts +0 -3
- package/dist/Shared/Components/ClusterStatusIcon/index.d.ts +0 -1
- package/dist/Shared/Components/ClusterStatusIcon/types.d.ts +0 -5
- package/dist/Shared/Components/ClusterStatusIcon/utils.d.ts +0 -2
- package/dist/Shared/Components/ExportToCsv/ExportToCsv.d.ts +0 -3
- package/dist/Shared/Components/ExportToCsv/ExportToCsvDialog.d.ts +0 -3
- package/dist/Shared/Components/ExportToCsv/index.d.ts +0 -2
- package/dist/Shared/Components/ExportToCsv/types.d.ts +0 -64
- package/dist/assets/ic-arrow-line-down.b6a98848.svg +0 -3
- package/dist/assets/ic-bg-webhook.b455152d.svg +0 -13
- package/dist/assets/ic-edit-lines.57927b07.svg +0 -3
- package/dist/assets/ic-file-download.ca57c068.svg +0 -5
- package/dist/assets/ic-gift-animated.d848dfa3.svg +0 -1
- package/dist/assets/ic-ratings.a1d31244.svg +0 -13
- package/dist/assets/ic-success-blue.7b3a2720.svg +0 -4
- package/dist/assets/img-devtron-freemium.d0657c61.webp +0 -0
- /package/dist/Pages-Devtron-2.0/{ApplicationManagement → InfrastructureManagement}/Shared/ApplicationManagementIcon/ApplicationManagementIcon.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{ApplicationManagement → InfrastructureManagement}/Shared/ApplicationManagementIcon/index.d.ts +0 -0
- /package/dist/Pages-Devtron-2.0/{ApplicationManagement → InfrastructureManagement}/Shared/ApplicationManagementIcon/utils.d.ts +0 -0
@@ -1,7 +1,7 @@
|
|
1
|
-
import { j as n,
|
1
|
+
import { j as n, aI as v, aK as W, aJ as K } from "./@vendor-DMIFbFhR.js";
|
2
2
|
import V, { useState as q, useEffect as Y, forwardRef as G, useMemo as E } from "react";
|
3
3
|
import z, { getDefaultRegistry as Q } from "@rjsf/core";
|
4
|
-
import { T as O, j as F, c as S, b as N, S as X, i as Z, g as ee, a as te, d as
|
4
|
+
import { T as O, j as F, c as S, b as N, S as X, i as Z, g as ee, a as te, d as I, e as ne } from "./@code-editor-cEeqCE4Q.js";
|
5
5
|
import { getUiOptions as B, getTemplate as $, getSubmitButtonOptions as re, ADDITIONAL_PROPERTY_FLAG as L, errorId as se, englishStringTranslator as ae, TranslatableString as oe, titleId as le, canExpand as ie, deepEquals as ce } from "@rjsf/utils";
|
6
6
|
import { ReactComponent as de } from "./assets/ic-add.cfaa779b.svg";
|
7
7
|
import { ReactComponent as ue } from "./assets/ic-warning.ecf7ff97.svg";
|
@@ -10,7 +10,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
10
10
|
SELECT: "Please select an option",
|
11
11
|
INPUT: "Please enter an input",
|
12
12
|
OBJECT_KEY: "Please enter a value for the key"
|
13
|
-
}, pe = "Key not available",
|
13
|
+
}, pe = "Key not available", We = {
|
14
14
|
"ui:submitButtonOptions": {
|
15
15
|
norender: !0
|
16
16
|
}
|
@@ -58,7 +58,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
58
58
|
r
|
59
59
|
]
|
60
60
|
}
|
61
|
-
),
|
61
|
+
), R = ({ label: e, canAdd: t, onAddClick: s, disabled: r, readonly: a, uiSchema: i, registry: l }) => {
|
62
62
|
const {
|
63
63
|
ButtonTemplates: { AddButton: o }
|
64
64
|
} = l.templates;
|
@@ -97,7 +97,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
97
97
|
return /* @__PURE__ */ n.jsx(h, { ...p, children: _ }, x);
|
98
98
|
}),
|
99
99
|
/* @__PURE__ */ n.jsx(
|
100
|
-
|
100
|
+
R,
|
101
101
|
{
|
102
102
|
label: u,
|
103
103
|
canAdd: e,
|
@@ -109,7 +109,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
109
109
|
}
|
110
110
|
)
|
111
111
|
] }) : /* @__PURE__ */ n.jsx(w, { label: u, required: d, showLabel: !0, id: r.$id, children: /* @__PURE__ */ n.jsx(
|
112
|
-
|
112
|
+
R,
|
113
113
|
{
|
114
114
|
label: u,
|
115
115
|
canAdd: e,
|
@@ -262,7 +262,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
262
262
|
return "";
|
263
263
|
const t = e.trim(), r = (/^\/.+$/g.test(t) ? t : `/${t}`).replaceAll(/\./g, "/");
|
264
264
|
return /(\/(([^/~])|(~[01]))*)/g.test(r) ? r : "";
|
265
|
-
},
|
265
|
+
}, A = {
|
266
266
|
value: !1,
|
267
267
|
path: ""
|
268
268
|
}, ve = (e) => {
|
@@ -272,13 +272,13 @@ import './assets/@common-rjsf.css';const P = {
|
|
272
272
|
return typeof t == "string" ? {
|
273
273
|
value: !0,
|
274
274
|
path: T(t)
|
275
|
-
} : typeof t != "object" ? structuredClone(
|
275
|
+
} : typeof t != "object" ? structuredClone(A) : Object.hasOwn(t, "condition") && "condition" in t && Object.hasOwn(t, "value") && "value" in t ? {
|
276
276
|
value: t.condition,
|
277
277
|
path: T(t.value)
|
278
278
|
} : Object.hasOwn(t, "value") && "value" in t && Object.hasOwn(t, "path") && "path" in t ? {
|
279
279
|
value: t.value,
|
280
280
|
path: T(t.path)
|
281
|
-
} : structuredClone(
|
281
|
+
} : structuredClone(A);
|
282
282
|
}, H = (e, t, s) => {
|
283
283
|
e && (e.type === "object" && e.properties && typeof e.properties == "object" && Object.entries(e.properties).forEach(([r, a]) => {
|
284
284
|
H(a, `${t}/${r}`, s);
|
@@ -329,7 +329,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
329
329
|
wrap: !1
|
330
330
|
});
|
331
331
|
o !== void 0 && (r = F([N(i, o), r]));
|
332
|
-
}), t && r ?
|
332
|
+
}), t && r ? W(t, K(t, r), !1, !1).newDocument : r);
|
333
333
|
}, Fe = ({ formData: e, schemaPathToUpdatePathMap: t }) => F([
|
334
334
|
...Object.entries(t).map(([s, r]) => {
|
335
335
|
if (s === r || !r)
|
@@ -507,7 +507,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
507
507
|
Y(() => {
|
508
508
|
_(ee(8));
|
509
509
|
}, []);
|
510
|
-
const y = (g) => s ? u.filter((b) => g.some((
|
510
|
+
const y = (g) => s ? u.filter((b) => g.some((J) => I(J, b.value))) : u.find((b) => I(g, b.value));
|
511
511
|
return /* @__PURE__ */ n.jsx(
|
512
512
|
te,
|
513
513
|
{
|
@@ -527,10 +527,10 @@ import './assets/@common-rjsf.css';const P = {
|
|
527
527
|
},
|
528
528
|
j
|
529
529
|
);
|
530
|
-
},
|
530
|
+
}, Ie = {
|
531
531
|
CheckboxWidget: Ce,
|
532
532
|
SelectWidget: Ee
|
533
|
-
},
|
533
|
+
}, Re = {
|
534
534
|
ArrayFieldItemTemplate: fe,
|
535
535
|
ArrayFieldTemplate: he,
|
536
536
|
BaseInputTemplate: xe,
|
@@ -540,7 +540,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
540
540
|
ObjectFieldTemplate: Oe,
|
541
541
|
TitleFieldTemplate: C,
|
542
542
|
WrapIfAdditionalTemplate: Pe
|
543
|
-
},
|
543
|
+
}, Ae = z, De = ne, qe = G((e, t) => {
|
544
544
|
const { schemaPathToUpdatePathMap: s, isUpdatePathKeywordPresent: r } = E(() => {
|
545
545
|
const o = Se(e.schema);
|
546
546
|
return {
|
@@ -568,7 +568,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
568
568
|
};
|
569
569
|
return /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
570
570
|
/* @__PURE__ */ n.jsx(
|
571
|
-
|
571
|
+
Ae,
|
572
572
|
{
|
573
573
|
noHtml5Validate: !0,
|
574
574
|
showErrorList: !1,
|
@@ -582,11 +582,11 @@ import './assets/@common-rjsf.css';const P = {
|
|
582
582
|
className: `rjsf-form-template__container ${e.className || ""}`,
|
583
583
|
validator: De,
|
584
584
|
templates: {
|
585
|
-
...
|
585
|
+
...Re,
|
586
586
|
...e.templates
|
587
587
|
},
|
588
588
|
formContext: a,
|
589
|
-
widgets: { ...
|
589
|
+
widgets: { ...Ie, ...e.widgets },
|
590
590
|
translateString: Te,
|
591
591
|
ref: t
|
592
592
|
}
|
@@ -595,7 +595,7 @@ import './assets/@common-rjsf.css';const P = {
|
|
595
595
|
] });
|
596
596
|
});
|
597
597
|
export {
|
598
|
-
|
598
|
+
We as H,
|
599
599
|
qe as R,
|
600
600
|
Ke as a,
|
601
601
|
Se as b,
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { aU as m, aV as lt, aW as R, aX as Zr, aY as Le, aZ as oe, a_ as T, a$ as $e, b0 as at, b1 as Gt, b2 as Q, b3 as $r, b4 as oi, b5 as si, b6 as ui, b7 as li, b8 as fi, b9 as ci, ba as vi, bb as di, bc as qr, bd as pi, be as hi, bf as mi, bg as gi, bh as yi, bi as Jr, bj as Pt, bk as he, bl as X, bm as bi, bn as Qr, bo as z, bp as tn, bq as me, br as Z, bs as Pi, bt as Ot, bu as Vi, bv as Ti, bw as en, bx as Ft, by as O, bz as ge, bA as Si, bB as se, bC as xi, bD as Ci } from "./@vendor-DMIFbFhR.js";
|
2
2
|
import * as Y from "react";
|
3
3
|
import Re, { createContext as St, useContext as F, useLayoutEffect as Ai, useEffect as N, useState as De, useRef as $, useCallback as ye, useMemo as Vt, forwardRef as wi, createElement as Ei, cloneElement as Li, Children as Ri, isValidElement as Di } from "react";
|
4
4
|
var qe = "production", Me = typeof process > "u" || process.env === void 0 ? qe : process.env.NODE_ENV || qe, tt = function(t) {
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import Te from "react";
|
2
|
-
import {
|
2
|
+
import { bE as he, bF as Ke, bG as we, bH as cn, bI as Le, bJ as Je, bK as tt, bL as at, bM as et, bN as lt, bO as nt, bP as so, bQ as fn, bR as uo, bS as bt, bT as ei, bU as hn, bV as co, bW as fo, bX as ho, bY as vn, bZ as Fe, b_ as pn, b$ as ti, c0 as wn, c1 as ai, c2 as ni, c3 as ri, c4 as Rt, c5 as oi, c6 as ii, c7 as li } from "./@vendor-DMIFbFhR.js";
|
3
3
|
import { r as Ne, h as si, g as di } from "./@moment-CGWt8tF2.js";
|
4
4
|
import './assets/@react-dates.css';var Wt = {}, jt = {}, zt = {}, Nn;
|
5
5
|
function Ve() {
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { c8 as xt, c9 as v, bY as re, ca as h, c3 as f, cb as Y, cc as U, cd as xe, ce as Bt, cf as Ue, cg as Ft, ch as Vt, ci as Et, cj as yt, ck as Wt, cl as Xt, cm as ne, cn as Zt } from "./@vendor-DMIFbFhR.js";
|
2
2
|
import * as y from "react";
|
3
3
|
import { useRef as j, useState as ee, useMemo as q, useCallback as D, createContext as Nt, useContext as St, 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 {
|
5
|
+
import { co as x } from "./@vendor-DMIFbFhR.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) {
|