@devtron-labs/devtron-fe-common-lib 1.9.9 → 1.10.0-beta-2
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-CHoIAnAq.js → @code-editor-DRt5IoO7.js} +8236 -7496
- package/dist/{@common-rjsf-BALKWZzq.js → @common-rjsf-JkVClwt2.js} +20 -20
- package/dist/{@framer-motion--UCnj55s.js → @framer-motion-DMD7dX-G.js} +972 -893
- package/dist/{@react-dates-B3_Y9Kyv.js → @react-dates-DxmDHBUI.js} +1 -1
- package/dist/{@react-select-DMzK6fkF.js → @react-select-BR4eLpVa.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-Ck5oyLp9.js → @react-virtualized-sticky-tree-Ca-pl6uN.js} +1 -1
- package/dist/{@vendor-DXbFZ041.js → @vendor-DZHtXPTX.js} +14866 -14544
- package/dist/Common/API/CoreAPI.d.ts +17 -0
- package/dist/Common/API/constants.d.ts +70 -0
- package/dist/Common/API/index.d.ts +3 -0
- package/dist/Common/API/types.d.ts +23 -0
- package/dist/Common/API/utils.d.ts +12 -0
- package/dist/Common/ClipboardButton/ClipboardButton.d.ts +1 -1
- package/dist/Common/ClipboardButton/types.d.ts +11 -0
- package/dist/Common/CodeMirror/utils.d.ts +1 -0
- package/dist/Common/Constants.d.ts +6 -0
- package/dist/Common/DevtronCopyright.d.ts +2 -0
- package/dist/Common/Helper.d.ts +1 -0
- package/dist/Common/Types.d.ts +11 -0
- package/dist/Common/index.d.ts +2 -1
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/index.d.ts +1 -0
- package/dist/Pages/GlobalConfigurations/ClustersAndEnvironments/types.d.ts +9 -0
- package/dist/Pages/GlobalConfigurations/index.d.ts +1 -0
- package/dist/Pages/ResourceBrowser/service.d.ts +1 -1
- package/dist/Pages/ResourceBrowser/types.d.ts +41 -1
- package/dist/Shared/Analytics/analytics.d.ts +2 -0
- package/dist/Shared/Analytics/index.d.ts +2 -0
- package/dist/Shared/Analytics/types.d.ts +3 -0
- package/dist/Shared/Components/Button/Button.component.d.ts +1 -1
- package/dist/Shared/Components/CICDHistory/service.d.ts +1 -1
- package/dist/Shared/Components/CountrySelect/CountrySelect.component.d.ts +3 -0
- package/dist/Shared/Components/CountrySelect/index.d.ts +1 -0
- package/dist/Shared/Components/CountrySelect/types.d.ts +7 -0
- package/dist/Shared/Components/CountrySelect/utils.d.ts +4 -0
- package/dist/Shared/Components/CustomInput/CustomInput.d.ts +1 -1
- package/dist/Shared/Components/CustomInput/types.d.ts +5 -1
- package/dist/Shared/Components/DevtronLicenseCard/DevtronLicenseCard.d.ts +3 -0
- package/dist/Shared/Components/DevtronLicenseCard/InstallationFingerprintInfo.d.ts +3 -0
- package/dist/Shared/Components/DevtronLicenseCard/index.d.ts +4 -0
- package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +26 -0
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +6 -0
- package/dist/Shared/Components/FlagImage/FlagImage.component.d.ts +3 -0
- package/dist/Shared/Components/FlagImage/index.d.ts +1 -0
- package/dist/Shared/Components/FlagImage/types.d.ts +5 -0
- package/dist/Shared/Components/FormFieldWrapper/FormFieldWrapper.d.ts +1 -1
- package/dist/Shared/Components/FormFieldWrapper/index.d.ts +1 -0
- package/dist/Shared/Components/FormFieldWrapper/types.d.ts +4 -0
- package/dist/Shared/Components/Header/constants.d.ts +1 -0
- package/dist/Shared/Components/Header/types.d.ts +0 -1
- package/dist/Shared/Components/Header/utils.d.ts +3 -0
- package/dist/Shared/Components/Icon/Icon.d.ts +24 -0
- package/dist/Shared/Components/LoginBanner/LoginBanner.d.ts +2 -0
- package/dist/Shared/Components/LoginBanner/constants.d.ts +4 -0
- package/dist/Shared/Components/LoginBanner/index.d.ts +1 -0
- package/dist/Shared/Components/LoginBanner/types.d.ts +7 -0
- package/dist/Shared/Components/PhoneInput/PhoneInput.component.d.ts +3 -0
- package/dist/Shared/Components/PhoneInput/index.d.ts +1 -0
- package/dist/Shared/Components/PhoneInput/types.d.ts +11 -0
- package/dist/Shared/Components/SelectPicker/SelectPicker.component.d.ts +1 -1
- package/dist/Shared/Components/Textarea/Textarea.component.d.ts +1 -1
- package/dist/Shared/Components/index.d.ts +6 -0
- package/dist/Shared/Helpers.d.ts +1 -0
- package/dist/Shared/Providers/ThemeProvider/utils.d.ts +1 -0
- package/dist/Shared/Providers/types.d.ts +8 -2
- package/dist/Shared/Services/types.d.ts +1 -0
- package/dist/Shared/constants.d.ts +4 -0
- package/dist/Shared/index.d.ts +1 -0
- package/dist/Shared/types.d.ts +64 -0
- package/dist/assets/@code-editor.css +1 -1
- package/dist/assets/ic-73strings.ed7da294.svg +5 -0
- package/dist/assets/ic-amazon-eks.13404569.svg +5 -0
- package/dist/assets/ic-apica.5a540546.svg +15 -0
- package/dist/assets/ic-app-group.068791a2.svg +19 -0
- package/dist/assets/ic-arrow-right.96f4142a.svg +19 -0
- package/dist/assets/ic-ather.39aed36c.svg +11 -0
- package/dist/assets/{ic-azure.49ec3dad.svg → ic-azure.a01ce3b4.svg} +16 -0
- package/dist/assets/ic-bharatpe.fc52fe6d.svg +15 -0
- package/dist/assets/ic-book-open.e839bbda.svg +3 -0
- package/dist/assets/ic-browser.f77a9d59.svg +19 -0
- package/dist/assets/ic-card-stack.0de57a3a.svg +19 -0
- package/dist/assets/{ic-arrow-right.06ad55f3.svg → ic-caret-left.3df25a7c.svg} +1 -1
- package/dist/assets/ic-chat-circle-dots.b5afd171.svg +3 -0
- package/dist/assets/{ic-copy.416d85f3.svg → ic-check.a0f5ee85.svg} +1 -1
- package/dist/assets/ic-close-large.fb6095e0.svg +3 -0
- package/dist/assets/ic-cluster.71ba9e26.svg +3 -0
- package/dist/assets/ic-code.3af36d5c.svg +19 -0
- package/dist/assets/ic-cookr.d1510986.svg +26 -0
- package/dist/assets/ic-copy.c4b628de.svg +19 -0
- package/dist/assets/{ic-crown.868ff2a9.svg → ic-crown.24ca27fc.svg} +16 -0
- package/dist/assets/ic-cube.be637e97.svg +19 -0
- package/dist/assets/ic-delhivery.7b49a398.svg +15 -0
- package/dist/assets/ic-devtron-header-logo.265be507.svg +4 -0
- package/dist/assets/ic-devtron.aca6cbaa.svg +3 -0
- package/dist/assets/{ic-dockerhub.19023887.svg → ic-dockerhub.03bd09a9.svg} +16 -0
- package/dist/assets/{ic-ecr.022619e3.svg → ic-ecr.302d6ccb.svg} +16 -0
- package/dist/assets/{ic-gear.51261b97.svg → ic-gear.7116a8bf.svg} +16 -0
- package/dist/assets/{ic-google-artifact-registry.536fe6c7.svg → ic-google-artifact-registry.2a167c8b.svg} +16 -0
- package/dist/assets/{ic-google-container-registry.20eeef45.svg → ic-google-container-registry.320c53ee.svg} +16 -0
- package/dist/assets/{ic-google.adce3079.svg → ic-google.475640a4.svg} +16 -0
- package/dist/assets/ic-grid-view.13207b99.svg +19 -0
- package/dist/assets/ic-helm.20583d75.svg +19 -0
- package/dist/assets/ic-k8s-job.c4f9ccc7.svg +19 -0
- package/dist/assets/{ic-ldap.1742ec39.svg → ic-ldap.0c5633d9.svg} +16 -0
- package/dist/assets/ic-livspace.fc75c45f.svg +13 -0
- package/dist/assets/ic-logout.f0a8b488.svg +19 -0
- package/dist/assets/{ic-medium-paintbucket.38ef52c1.svg → ic-medium-paintbucket.45544bb9.svg} +16 -0
- package/dist/assets/ic-microsoft.7c7bcaeb.svg +22 -0
- package/dist/assets/{ic-monitoring.6e5acb4a.svg → ic-monitoring.30910a3c.svg} +16 -0
- package/dist/assets/ic-new.1907a03f.svg +19 -0
- package/dist/assets/ic-oidc.5e06656d.svg +20 -0
- package/dist/assets/{ic-open-box.e672fe67.svg → ic-open-box.b15fcbbd.svg} +16 -0
- package/dist/assets/{ic-openshift.afcfadec.svg → ic-openshift.3886b54f.svg} +16 -0
- package/dist/assets/ic-pencil.a3e8275c.svg +3 -0
- package/dist/assets/{ic-quay.19eb5574.svg → ic-quay.d622b34f.svg} +16 -0
- package/dist/assets/ic-quote.68f093fe.svg +3 -0
- package/dist/assets/ic-shield-check.c26854d2.svg +19 -0
- package/dist/assets/ic-sliders-vertical.1c27a9e1.svg +3 -0
- package/dist/assets/ic-spinny.3884a5fb.svg +14 -0
- package/dist/assets/ic-stack.fbd3aea5.svg +19 -0
- package/dist/assets/ic-tata1mg.75b97a64.svg +13 -0
- package/dist/assets/ic-timer.ae5f10fa.svg +19 -0
- package/dist/assets/ic-travclan.29b9f4c3.svg +13 -0
- package/dist/assets/{ic-user-key.523f6939.svg → ic-user-key.5dc44524.svg} +16 -0
- package/dist/assets/licenseCardBG.9753c392.svg +259 -0
- package/dist/assets/login-screen-ui.a33a6496.webp +0 -0
- package/dist/index.d.ts +1 -3
- package/dist/index.js +803 -775
- package/package.json +2 -1
- package/dist/Common/Api.d.ts +0 -15
- package/dist/assets/ic-app-group.892e71ff.svg +0 -3
- package/dist/assets/ic-browser.b8afdf0d.svg +0 -3
- package/dist/assets/ic-card-stack.efd37c91.svg +0 -3
- package/dist/assets/ic-code.29c36e44.svg +0 -3
- package/dist/assets/ic-cube.643b8b57.svg +0 -3
- package/dist/assets/ic-grid-view.a1ff2479.svg +0 -3
- package/dist/assets/ic-helm.49cb43a3.svg +0 -3
- package/dist/assets/ic-k8s-job.d3310821.svg +0 -3
- package/dist/assets/ic-logout.e7e6bef0.svg +0 -3
- package/dist/assets/ic-microsoft.4767e309.svg +0 -6
- package/dist/assets/ic-new.2c179139.svg +0 -3
- package/dist/assets/ic-oidc.27839a0d.svg +0 -4
- package/dist/assets/ic-shield-check.5c033f06.svg +0 -3
- package/dist/assets/ic-stack.8b3b1bdd.svg +0 -3
@@ -1,7 +1,7 @@
|
|
1
|
-
import { j as n,
|
1
|
+
import { j as n, au as y, aw as k, av as W } from "./@vendor-DZHtXPTX.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-
|
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-DRt5IoO7.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";
|
@@ -65,14 +65,14 @@ import './assets/@common-rjsf.css';const O = {
|
|
65
65
|
}) => {
|
66
66
|
const u = B(a), f = $("ArrayFieldItemTemplate", c, u), p = u.title || x;
|
67
67
|
return /* @__PURE__ */ n.jsx("fieldset", { className: t, id: r.$id, children: i.length ? /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
68
|
-
i.map(({ key:
|
68
|
+
i.map(({ key: j, ..._ }, h) => {
|
69
69
|
const m = {
|
70
|
-
...
|
70
|
+
..._.children,
|
71
71
|
props: {
|
72
|
-
...
|
72
|
+
..._.children.props
|
73
73
|
}
|
74
74
|
};
|
75
|
-
return /* @__PURE__ */ n.jsx(f, { ...
|
75
|
+
return /* @__PURE__ */ n.jsx(f, { ..._, children: m }, j);
|
76
76
|
}),
|
77
77
|
/* @__PURE__ */ n.jsx(
|
78
78
|
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
|
-
),
|
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(
|
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
|
-
),
|
370
|
-
const h = c.properties?.[
|
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
|
-
}).
|
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:
|
477
|
-
f === "blur" ? o(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 ? [] : "",
|
510
|
+
} = e, { enumOptions: f = [] } = r, p = s ? [] : "", j = (h) => {
|
511
511
|
c(s ? h.map((m) => m.value) : h.value);
|
512
|
-
},
|
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 :
|
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),
|