@devtron-labs/devtron-fe-common-lib 1.18.0-alpha-2 → 1.18.0-alpha-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.
- package/dist/{@code-editor-DcFE4VU-.js → @code-editor-ChaJKm10.js} +458 -446
- package/dist/{@common-rjsf-CymJqYyT.js → @common-rjsf-BGWOTI-F.js} +1 -1
- package/dist/Shared/Components/Chip/types.d.ts +3 -2
- package/dist/assets/@code-editor.css +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
@@ -1,16 +1,16 @@
|
|
1
1
|
import './assets/@code-editor.css';var X_ = Object.defineProperty;
|
2
|
-
var
|
2
|
+
var Pc = (e) => {
|
3
3
|
throw TypeError(e);
|
4
4
|
};
|
5
5
|
var J_ = (e, s, n) => s in e ? X_(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
|
-
var me = (e, s, n) => J_(e, typeof s != "symbol" ? s + "" : s, n),
|
7
|
-
var Ws = (e, s, n) => (
|
8
|
-
import { j as t, i as Ie, Q as fo, k as Z_, F as Q_, n as ef, D as ir, t as Ke, g as tf, a as sf, E as Xn, S as
|
9
|
-
import Be, { createContext as $t, useContext as cs, useMemo as X, useState as w, useEffect as M, forwardRef as kr, createElement as
|
6
|
+
var me = (e, s, n) => J_(e, typeof s != "symbol" ? s + "" : s, n), Mc = (e, s, n) => s.has(e) || Pc("Cannot " + n);
|
7
|
+
var Ws = (e, s, n) => (Mc(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Da = (e, s, n) => s.has(e) ? Pc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Pa = (e, s, n, a) => (Mc(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
|
+
import { j as t, i as Ie, Q as fo, k as Z_, F as Q_, n as ef, D as ir, t as Ke, g as tf, a as sf, E as Xn, S as Li, b as pu, r as _u, s as nf, o as af, c as kc, d as rf, e as of, y as cf, l as cr, f as lf, h as df, m as Uc, p as $c, q as uf, u as mf, v as pf, w as _f, x as ff, z as hf, A as gf, B as fu, T as Fc, C as Di, G as xf, H as Bc, I as Ef, J as Cf, K as hu, L as Vc, M as Nf, N as bf, O as Tf, P as Sf, R as Gc, V as vf, U as If, W as Af, X as Hc, Y as Rf, Z as Yc, _ as Wc, $ as yf, a0 as jf, a1 as Of, a2 as wf, a3 as Lf, a4 as Df, a5 as Pf, a6 as ho, a7 as Mf, a8 as kf, a9 as Uf, aa as $f, ab as Ff, ac as gu, ad as Bf, ae as Vf, af as Gf, ag as Hf, ah as Yf, ai as Kc, aj as zc, ak as Wf, al as Kf, am as zf, an as qf, ao as Xf, ap as Jf, aq as Zf, ar as Qf, as as xu, at as Eu, au as eh, av as th, aw as sh, ax as nh, ay as ah, az as rh, aA as oh, aB as ih, aC as ch, aD as lh, aE as zs } from "./@vendor-Dkf3d5cm.js";
|
9
|
+
import Be, { createContext as $t, useContext as cs, useMemo as X, useState as w, useEffect as M, forwardRef as kr, createElement as Pi, Children as Go, useRef as $, useCallback as Fe, useLayoutEffect as Mi, createRef as lr, cloneElement as Jn, Fragment as gs, memo as It, Component as ki } from "react";
|
10
10
|
import { ReactComponent as dh } from "./assets/ic-info-filled-override.99e8094a.svg";
|
11
11
|
import * as uh from "yaml";
|
12
12
|
import Zt, { parse as mh, YAMLParseError as ph } from "yaml";
|
13
|
-
import { ReactComponent as
|
13
|
+
import { ReactComponent as Ui } from "./assets/ic-info-outline.29f1089c.svg";
|
14
14
|
import { ReactComponent as _h } from "./assets/ic-var-initial.afdaa854.svg";
|
15
15
|
import { Link as ts, useLocation as ss, useHistory as Ur, useParams as Pt, useRouteMatch as bs, NavLink as Gs, generatePath as Qs, Switch as Cu, Route as Js, Redirect as fh, Prompt as hh } from "react-router-dom";
|
16
16
|
import { ReactComponent as gh } from "./assets/ic-delete-interactive.304dd293.svg";
|
@@ -26,11 +26,11 @@ import xs from "react-ga4";
|
|
26
26
|
import { h as Oe } from "./@moment-CGWt8tF2.js";
|
27
27
|
import Nh from "./assets/DeployAudio.566e45df.mp3";
|
28
28
|
import { m as ke, A as an, a as Zn, u as Qn, b as ws, c as qc, d as bh } from "./@framer-motion-BcOlP2tv.js";
|
29
|
-
import
|
29
|
+
import $i, { components as Ye } from "react-select";
|
30
30
|
import { ReactComponent as Th } from "./assets/ic-arrow-backward.d951202a.svg";
|
31
31
|
import Sh, { ReactComponent as Su } from "./assets/ic-docker.48906f4d.svg";
|
32
32
|
import { ReactComponent as ea } from "./assets/ic-calendar.1d9c66d2.svg";
|
33
|
-
import { ReactComponent as
|
33
|
+
import { ReactComponent as Ho } from "./assets/ic-person.d066bc6d.svg";
|
34
34
|
import { ReactComponent as vu } from "./assets/ic-branch.8db43d66.svg";
|
35
35
|
import { ReactComponent as Iu } from "./assets/ic-arrow-forward.a2b8ab45.svg";
|
36
36
|
import vh, { ReactComponent as Au } from "./assets/ic-mechanical-operation.04a318d6.svg";
|
@@ -46,23 +46,23 @@ import { ReactComponent as jh } from "./assets/ic-expand-all.d1d223f2.svg";
|
|
46
46
|
import { ReactComponent as yu } from "./assets/ic-arrow-out.6aea09d0.svg";
|
47
47
|
import { ReactComponent as pa } from "./assets/ic-help.39c58c34.svg";
|
48
48
|
import { ReactComponent as _a } from "./assets/ic-info-filled.f870ac11.svg";
|
49
|
-
import { ReactComponent as
|
49
|
+
import { ReactComponent as Fi } from "./assets/ic-stack.a6a11fe3.svg";
|
50
50
|
import { ReactComponent as ju } from "./assets/ic-aborted.d400d0e8.svg";
|
51
51
|
import { ReactComponent as Oh } from "./assets/ic-arrow-right.eda141d3.svg";
|
52
52
|
import { ReactComponent as wh } from "./assets/ic-environment.d241eccb.svg";
|
53
53
|
import { ReactComponent as Lh } from "./assets/ic-pulsate-status.2ca548fd.svg";
|
54
54
|
import { ReactComponent as Dh } from "./assets/ic-lines.0a53b80a.svg";
|
55
55
|
import { ReactComponent as Ph } from "./assets/ic-code-commit.161a6b3c.svg";
|
56
|
-
import { ReactComponent as
|
56
|
+
import { ReactComponent as Yo } from "./assets/ic-file-code.ed2812f3.svg";
|
57
57
|
import { ReactComponent as Mh } from "./assets/ic-diff-file-added.e111ba14.svg";
|
58
58
|
import { ReactComponent as kh } from "./assets/ic-diff-file-removed.7863a55f.svg";
|
59
59
|
import { ReactComponent as Uh } from "./assets/ic-diff-file-updated.a8293158.svg";
|
60
60
|
import { ReactComponent as Ou } from "./assets/ic-arrow-up-down.945ee496.svg";
|
61
|
-
import { ReactComponent as
|
61
|
+
import { ReactComponent as Bi } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
|
62
62
|
import { ReactComponent as ns } from "./assets/ic-close.43adc42a.svg";
|
63
63
|
import { ReactComponent as wu } from "./assets/ic-error.9d61b25b.svg";
|
64
64
|
import { ReactComponent as ta } from "./assets/ic-info-outlined.f4fa3224.svg";
|
65
|
-
import { ReactComponent as
|
65
|
+
import { ReactComponent as Wo } from "./assets/ic-expand.ab992205.svg";
|
66
66
|
import { ReactComponent as fa } from "./assets/ic-check.27c51fa1.svg";
|
67
67
|
import { ReactComponent as $h } from "./assets/ic-check-circle-dots.296c8a3b.svg";
|
68
68
|
import { ReactComponent as Fh } from "./assets/ic-edit-file.aea811d8.svg";
|
@@ -70,14 +70,14 @@ import Vr from "./assets/no-artifact.fd2d84d9.webp";
|
|
70
70
|
import Bh from "./assets/ic-celebration.77350694.svg";
|
71
71
|
import Vh from "./assets/ic-man-on-rocket.7f67e914.svg";
|
72
72
|
import fn from "./assets/ic-page-not-found.3c4f114b.svg";
|
73
|
-
import { ReactComponent as
|
73
|
+
import { ReactComponent as Ko } from "./assets/ic-arrow-down.18e5e332.svg";
|
74
74
|
import { ReactComponent as Lu } from "./assets/ic-abort.0d2773e9.svg";
|
75
75
|
import { ReactComponent as Xc } from "./assets/ic-check-circle.ad80d835.svg";
|
76
76
|
import { ReactComponent as Jc } from "./assets/ic-circle.98fce2b0.svg";
|
77
77
|
import { ReactComponent as Gh } from "./assets/ic-commit.e3113dd9.svg";
|
78
78
|
import { ReactComponent as Hh } from "./assets/ic-hash.2d8669eb.svg";
|
79
79
|
import { ReactComponent as Yh } from "./assets/ic-message.be6dba43.svg";
|
80
|
-
import { ReactComponent as
|
80
|
+
import { ReactComponent as Vi } from "./assets/ic-pull-request.31d0c981.svg";
|
81
81
|
import { ReactComponent as Wh } from "./assets/ic-in-progress.53ef18ae.svg";
|
82
82
|
import { ReactComponent as Kh } from "./assets/ic-download.c30437cd.svg";
|
83
83
|
import zh from "./assets/ic-folder.051cd30d.svg";
|
@@ -85,7 +85,7 @@ import { ReactComponent as Du } from "./assets/ic-vulnerability-not-found.7d75cc
|
|
85
85
|
import { ReactComponent as qh } from "./assets/ic-arrows-clockwise.5990b4f7.svg";
|
86
86
|
import { ReactComponent as Xh } from "./assets/ic-compare.0ee3e4cf.svg";
|
87
87
|
import { ReactComponent as ha } from "./assets/ic-error-exclamation.c224de09.svg";
|
88
|
-
import { ReactComponent as
|
88
|
+
import { ReactComponent as Gi } from "./assets/ic-warning-y5.d1fb03fe.svg";
|
89
89
|
import { createPortal as Pu, render as Mu } from "react-dom";
|
90
90
|
import { ReactComponent as Jh } from "./assets/ic-match-case.13b7a2fa.svg";
|
91
91
|
import { ReactComponent as Zh } from "./assets/ic-match-word.d92addc3.svg";
|
@@ -94,7 +94,7 @@ import { ReactComponent as Qh } from "./assets/ic-replace-all-text.a87fd342.svg"
|
|
94
94
|
import { ReactComponent as eg } from "./assets/ic-replace-text.cc5433be.svg";
|
95
95
|
import { ReactComponent as Uu } from "./assets/ic-world.1f6a5eaf.svg";
|
96
96
|
import { r as $u, C as tg, a as sg } from "./@react-dates-BkJF0N9I.js";
|
97
|
-
import { ReactComponent as
|
97
|
+
import { ReactComponent as Hi } from "./assets/ic-clock.c21a2d14.svg";
|
98
98
|
import ng from "./assets/ic-calender-blank.963e3423.svg";
|
99
99
|
import ag, { ReactComponent as Ts } from "./assets/ic-cross.01e03666.svg";
|
100
100
|
import { ReactComponent as Kn } from "./assets/inject-tag.28e72db6.svg";
|
@@ -102,7 +102,7 @@ import { ReactComponent as Gr } from "./assets/ic-pencil.c75a6acc.svg";
|
|
102
102
|
import { ReactComponent as Fu } from "./assets/ic-filter.8f403d6f.svg";
|
103
103
|
import { ReactComponent as Bu } from "./assets/ic-filter-applied.9fc48d0f.svg";
|
104
104
|
import { ReactComponent as dr } from "./assets/ic-search.976327f1.svg";
|
105
|
-
import { ReactComponent as
|
105
|
+
import { ReactComponent as Yi } from "./assets/ic-error-cross.bf21e563.svg";
|
106
106
|
import { ReactComponent as rg } from "./assets/ic-appstatus-cancelled.05bb3352.svg";
|
107
107
|
import { ReactComponent as og } from "./assets/ic-error-medium.ea542259.svg";
|
108
108
|
import { ReactComponent as Hr } from "./assets/ic-help-outline.9c012a0c.svg";
|
@@ -127,7 +127,7 @@ import { ReactComponent as xg } from "./assets/licenseCardBG.9753c392.svg";
|
|
127
127
|
import Eg from "./assets/login-screen-ui.a33a6496.webp";
|
128
128
|
import { ReactComponent as Cg } from "./assets/ic-book-open.7cb94ee8.svg";
|
129
129
|
import { ReactComponent as Ng } from "./assets/ic-lego-block.ee4b63f1.svg";
|
130
|
-
import
|
130
|
+
import zo from "./assets/ic-not-authorized.cb3b5ff2.svg";
|
131
131
|
import bg from "./assets/ic-not-found.f5857c12.svg";
|
132
132
|
import Tg from "./assets/ic-loading-failure.aa68693d.png";
|
133
133
|
import { customizeValidator as zu } from "@rjsf/validator-ajv8";
|
@@ -385,7 +385,7 @@ const Gn = {
|
|
385
385
|
Security: "SECURITY",
|
386
386
|
Changes: "CHANGES"
|
387
387
|
};
|
388
|
-
var jt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(jt || {}), em = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(em || {}), JN = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(JN || {}), ZN = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(ZN || {}), zn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(zn || {}), QN = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(QN || {}), eb = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(eb || {}),
|
388
|
+
var jt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(jt || {}), em = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(em || {}), JN = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(JN || {}), ZN = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(ZN || {}), zn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(zn || {}), QN = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(QN || {}), eb = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(eb || {}), qo = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(qo || {}), tb = /* @__PURE__ */ ((e) => (e.PENDING_APPROVAL = "PENDING_APPROVAL", e.PROMOTION_APPROVAL_PENDING_NODE = "PROMOTION_APPROVAL_PENDING_NODE", e.CI = "CI", e.ENVIRONMENT = "ENVIRONMENT", e.WEBHOOK = "WEBHOOK", e.LINKED_CI = "LINKED-CI", e.CI_JOB = "CI-JOB", e.LINKED_CD = "LINKED-CD", e))(tb || {}), tm = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(tm || {}), sb = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(sb || {}), St = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.ARGO = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux_cd", e))(St || {}), nb = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(nb || {}), hn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(hn || {}), Ps = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Ps || {}), sa = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(sa || {}), Xo = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Xo || {}), ab = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(ab || {});
|
389
389
|
const rb = ({ tooltipContent: e }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "dc__white-space-pre-wrap", children: [
|
390
390
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 fw-6 lh-18", children: "Click to add" }),
|
391
391
|
e
|
@@ -451,7 +451,7 @@ const ob = ({ startNode: e }) => e.type === Ps.WEBHOOK ? hn.WEBHOOK : e.type ===
|
|
451
451
|
}) => {
|
452
452
|
if (!s)
|
453
453
|
return;
|
454
|
-
const l = ob({ startNode: n }), d = c && e === sa.RIGHT ?
|
454
|
+
const l = ob({ startNode: n }), d = c && e === sa.RIGHT ? Xo.PARALLEL : Xo.SEQUENTIAL, u = !c && e === sa.RIGHT ? a.id : null;
|
455
455
|
s(r, o, l, n.id, i, u, d);
|
456
456
|
}, ib = 6e4, ur = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", xa = "https://docs.devtron.ai", KF = "https://devtron.ai/", cb = "/devtron/v0.7", Yr = "https://discord.devtron.ai/", lb = "https://json-schema.org/draft/2020-12/schema", zF = "https://license.devtron.ai/dashboard", db = "https://chatgpt.com/g/g-6826efa4362c8191b23e7bfa0ac036db-devtron-expert", Ht = {
|
457
457
|
STRING: /^[a-zA-Z0-9_]+$/,
|
@@ -678,7 +678,7 @@ const In = "0001-01-01T00:00:00Z", sm = [void 0, null, "", NaN], Bt = {
|
|
678
678
|
FAILED_DEPENDENCY: 424
|
679
679
|
};
|
680
680
|
var nm = /* @__PURE__ */ ((e) => (e.EA_ONLY = "EA_ONLY", e.FULL = "FULL", e))(nm || {});
|
681
|
-
const
|
681
|
+
const Jo = {
|
682
682
|
PREVIEW: "Preview",
|
683
683
|
DEPLOY_CUSTOM_APP_CI_CD: "Deploy custom app using CI/CD pipelines",
|
684
684
|
INSTALL_CUSTOM_CI_CD: "Install CI/CD",
|
@@ -734,13 +734,13 @@ const Nb = async (e, s) => {
|
|
734
734
|
await he(`${Y.DASHBOARD_EVENT}/${e}`, { preventLicenseRedirect: s });
|
735
735
|
} catch {
|
736
736
|
}
|
737
|
-
},
|
737
|
+
}, Zo = ({ category: e, action: s }) => {
|
738
738
|
window._env_.GA_ENABLED && xs?.event && xs.event({
|
739
739
|
category: e,
|
740
740
|
action: s
|
741
741
|
});
|
742
742
|
};
|
743
|
-
var im = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(im || {}),
|
743
|
+
var im = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(im || {}), Wi = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Wi || {}), bb = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(bb || {}), _e = /* @__PURE__ */ ((e) => (e.Service = "Service", e.Alertmanager = "Alertmanager", e.PodSecurity = "PodSecurityPolicy", e.ConfigMap = "ConfigMap", e.ServiceAccount = "ServiceAccount", e.ClusterRoleBinding = "ClusterRoleBinding", e.RoleBinding = "RoleBinding", e.ClusterRole = "ClusterRole", e.Role = "Role", e.Prometheus = "Prometheus", e.ServiceMonitor = "ServiceMonitor", e.Deployment = "Deployment", e.MutatingWebhookConfiguration = "MutatingWebhookConfiguration", e.DaemonSet = "DaemonSet", e.Secret = "Secret", e.ValidatingWebhookConfiguration = "ValidatingWebhookConfiguration", e.Pod = "Pod", e.Ingress = "Ingress", e.ReplicaSet = "ReplicaSet", e.Endpoints = "Endpoints", e.Cluster = "ClusterRoleBinding", e.PodSecurityPolicy = "PodSecurityPolicy", e.CronJob = "CronJob", e.Job = "Job", e.ReplicationController = "ReplicationController", e.StatefulSet = "StatefulSet", e.Rollout = "Rollout", e.PersistentVolumeClaim = "PersistentVolumeClaim", e.PersistentVolume = "PersistentVolume", e.Containers = "Containers", e.InitContainers = "InitContainers", e.EndpointSlice = "EndpointSlice", e.NetworkPolicy = "NetworkPolicy", e.StorageClass = "StorageClass", e.VolumeSnapshot = "VolumeSnapshot", e.VolumeSnapshotContent = "VolumeSnapshotContent", e.VolumeSnapshotClass = "VolumeSnapshotClass", e.PodDisruptionBudget = "PodDisruptionBudget", e.Event = "Event", e.Namespace = "Namespace", e.Node = "Node", e.Overview = "Overview", e.MonitoringDashboard = "MonitoringDashboard", e.UpgradeCluster = "UpgradeCluster", e.ResourceRecommender = "ResourceRecommender", e))(_e || {}), gt = /* @__PURE__ */ ((e) => (e.DEVTRON_APP = "devtron_app", e.DEVTRON_HELM_CHART = "devtron_helm_chart", e.EXTERNAL_HELM_CHART = "external_helm_chart", e.EXTERNAL_ARGO_APP = "external_argo_app", e.EXTERNAL_FLUX_APP = "external_flux_app", e))(gt || {}), Ze = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(Ze || {}), Ki = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ki || {}), un = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(un || {}), Tb = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.NONE = "none", e.UNKNOWN = "unknown", e.UPGRADING = "upgrading", e.UPGRADE_FAILED = "upgradeFailed", e.INSTALLED = "installed", e.INSTALLING = "installing", e.INSTALL_FAILED = "installFailed", e.NOT_INSTALLED = "notInstalled", e.TIMEOUT = "timeout", e))(Tb || {}), Sb = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Sb || {}), cm = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(cm || {}), rt = /* @__PURE__ */ ((e) => (e.devtronApplication = "application/devtron-application", e.helmChart = "application/helm-application", e.job = "job", e.cluster = "cluster", e.release = "release", e.releaseTrack = "release-track", e.releaseChannel = "release-channel", e.tenant = "tenant", e.installation = "installation", e.infrastructureInstallation = "installations", e.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(rt || {}), zi = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(zi || {}), vb = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(vb || {}), aa = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(aa || {}), Xt = /* @__PURE__ */ ((e) => (e.Workloads = "Workloads", e.Networking = "Networking", e["Config & Storage"] = "Config & Storage", e.RBAC = "RBAC", e.Administration = "Administration", e["Custom Resource"] = "Custom Resource", e["Other Resources"] = "Other Resources", e.Events = "Events", e.Namespaces = "Namespaces", e.Nodes = "Nodes", e))(Xt || {}), Ib = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Ib || {}), Ab = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(Ab || {}), za = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(za || {}), Rb = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(Rb || {}), lm = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(lm || {});
|
744
744
|
const oB = [
|
745
745
|
{
|
746
746
|
label: "GUI",
|
@@ -819,11 +819,11 @@ const um = (e, s, n, a, r) => {
|
|
819
819
|
SECURITY_TRIVY: "security.trivy",
|
820
820
|
SECURITY_CLAIR: "security.clair"
|
821
821
|
}, mm = "ddd DD MMM YYYY HH:mm:ss", pr = "API-TOKEN:", gn = "••••••••";
|
822
|
-
var Fb = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(Fb || {}), fs = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(fs || {}), qa = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(qa || {}),
|
823
|
-
const
|
822
|
+
var Fb = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(Fb || {}), fs = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(fs || {}), qa = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(qa || {}), Qo = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(Qo || {});
|
823
|
+
const ei = "No matching results", Bb = "Type 3 chars to see matching results", lB = "Type to see matching results", et = {
|
824
824
|
DATA_NOT_AVAILABLE: "Data not available",
|
825
825
|
API_TOKEN: {
|
826
|
-
TITLE:
|
826
|
+
TITLE: ei,
|
827
827
|
SUBTITLE: "We couldn't find any matching token"
|
828
828
|
},
|
829
829
|
ARTIFACTS_EMPTY_STATE_TEXTS: {
|
@@ -930,7 +930,7 @@ const Qo = "No matching results", Bb = "Type 3 chars to see matching results", l
|
|
930
930
|
SUBTITLE: "Please wait while the kubeconfig is verified and cluster details are fetched."
|
931
931
|
},
|
932
932
|
NO_MATCHING_RESULT: {
|
933
|
-
TITLE:
|
933
|
+
TITLE: ei,
|
934
934
|
SUBTITLE: "We couldn't find any matching cluster"
|
935
935
|
},
|
936
936
|
CLUSTER_NODE_EMPTY_STATE: {
|
@@ -1126,14 +1126,14 @@ const uB = Object.values(
|
|
1126
1126
|
})), mB = ["progressing", "initiating", "running", "starting"], pB = Object.values(lm), _B = {
|
1127
1127
|
config: [],
|
1128
1128
|
allowed: !1
|
1129
|
-
},
|
1129
|
+
}, ti = "all", Wb = "https://enterprise.devtron.ai/portal/en/newticket", Kb = "https://enterprise.devtron.ai/portal/en/myarea", zb = "https://github.com/devtron-labs/devtron/issues/new/choose", fB = {
|
1130
1130
|
WORKFLOW_EDITOR_CONTAINER: "workflow-editor-container"
|
1131
1131
|
}, hB = -1, qb = "devtron-base-main-identifier", Xb = "devtron.ai/", Jb = "You have unsaved changes. Are you sure you want to leave?", gB = "Please don't wander off! Reloading or going back might disrupt the ongoing operation.", xB = {
|
1132
1132
|
DELETE_ENVIRONMENT_SUBTITLE: "Are you sure you want to delete this environment?",
|
1133
1133
|
DELETE_CLUSTER_SUBTITLES: "Are you sure you want to delete this cluster?"
|
1134
1134
|
}, Zb = "https://devtron.ai/end-user-license-agreement-eula", hm = "https://devtron.ai/enterprise-support", Qb = "https://devtron.ai/privacy-policy", eT = "https://devtron.ai/terms-of-use";
|
1135
|
-
var
|
1136
|
-
const
|
1135
|
+
var si = /* @__PURE__ */ ((e) => (e.Cluster = "cluster", e.Job = "job pipeline", e.BuildPipeline = "build pipeline", e))(si || {});
|
1136
|
+
const ni = {
|
1137
1137
|
CI_PIPELINE_PATCH: "app/ci-pipeline/patch",
|
1138
1138
|
WORKFLOW: "app/app-wf"
|
1139
1139
|
}, sl = "enterprise@devtron.ai", tT = "inValid";
|
@@ -1186,13 +1186,13 @@ const sT = {
|
|
1186
1186
|
return e;
|
1187
1187
|
}, TB = ({ children: e, value: s }) => /* @__PURE__ */ t.jsx(xm.Provider, { value: s, children: e });
|
1188
1188
|
var Wr = /* @__PURE__ */ ((e) => (e.DOCUMENTATION = "documentation", e.ASK_DEVTRON = "ask-devtron", e))(Wr || {});
|
1189
|
-
const
|
1189
|
+
const qi = "themePreference__v1", Em = "(prefers-color-scheme: dark)";
|
1190
1190
|
var tt = /* @__PURE__ */ ((e) => (e.light = "light", e.dark = "dark", e))(tt || {});
|
1191
1191
|
const Ms = {
|
1192
1192
|
...tt,
|
1193
1193
|
auto: "auto"
|
1194
|
-
},
|
1195
|
-
localStorage.setItem(
|
1194
|
+
}, Xi = () => window.matchMedia && window.matchMedia(Em).matches ? tt.dark : tt.light, iT = (e) => {
|
1195
|
+
localStorage.setItem(qi, e);
|
1196
1196
|
}, cT = ({ appTheme: e, themePreference: s }) => {
|
1197
1197
|
const n = s === Ms.auto ? `system-${e}` : e;
|
1198
1198
|
"gtag" in window && window.gtag && typeof window.gtag == "function" && (window.gtag("set", "user_properties", {
|
@@ -1203,9 +1203,9 @@ const Ms = {
|
|
1203
1203
|
action: `theme-changed-to-${n}`
|
1204
1204
|
});
|
1205
1205
|
}, lT = () => {
|
1206
|
-
const e = localStorage.getItem(
|
1206
|
+
const e = localStorage.getItem(qi);
|
1207
1207
|
return !e || e === Ms.auto ? {
|
1208
|
-
appTheme:
|
1208
|
+
appTheme: Xi(),
|
1209
1209
|
themePreference: Ms.auto
|
1210
1210
|
} : {
|
1211
1211
|
appTheme: e,
|
@@ -1214,7 +1214,7 @@ const Ms = {
|
|
1214
1214
|
}, rn = (e) => `component-specific-theme__${e}`, dT = (e) => e === tt.dark ? `component-specific-theme__${tt.light}` : `component-specific-theme__${tt.dark}`, Cm = (e) => {
|
1215
1215
|
switch (e) {
|
1216
1216
|
case "auto":
|
1217
|
-
return `System (${
|
1217
|
+
return `System (${Xi() === tt.dark ? "Dark" : "Light"})`;
|
1218
1218
|
case tt.dark:
|
1219
1219
|
return "Dark";
|
1220
1220
|
case tt.light:
|
@@ -1225,7 +1225,7 @@ const Ms = {
|
|
1225
1225
|
}, Nm = $t(null), SB = ({ children: e }) => {
|
1226
1226
|
const [s, n] = w(!1), [a, r] = w(!1), [o, i] = w(lT), c = (p, _ = !1) => {
|
1227
1227
|
const h = {
|
1228
|
-
appTheme: p === Ms.auto ?
|
1228
|
+
appTheme: p === Ms.auto ? Xi() : p,
|
1229
1229
|
themePreference: p
|
1230
1230
|
};
|
1231
1231
|
i(h), _ || (iT(p), cT(h));
|
@@ -1262,7 +1262,7 @@ const Ms = {
|
|
1262
1262
|
if (!e)
|
1263
1263
|
throw new Error("useTheme must be used within ThemeProvider");
|
1264
1264
|
return e;
|
1265
|
-
}, bm = $t(null),
|
1265
|
+
}, bm = $t(null), Ji = () => cs(bm), vB = ({ children: e }) => {
|
1266
1266
|
const [s, n] = w(""), a = X(
|
1267
1267
|
() => ({
|
1268
1268
|
email: s,
|
@@ -1272,7 +1272,7 @@ const Ms = {
|
|
1272
1272
|
);
|
1273
1273
|
return /* @__PURE__ */ t.jsx(bm.Provider, { value: a, children: e });
|
1274
1274
|
}, IB = (e) => (s) => {
|
1275
|
-
const { email: n, setEmail: a } =
|
1275
|
+
const { email: n, setEmail: a } = Ji();
|
1276
1276
|
return /* @__PURE__ */ t.jsx(e, { ...s, email: n, setEmail: a });
|
1277
1277
|
}, Xe = ({ pageLoader: e, size: s, theme: n, styles: a, fillColor: r }) => {
|
1278
1278
|
const o = s ? `${s}px` : e ? "48px" : "20px";
|
@@ -1413,7 +1413,7 @@ const Ms = {
|
|
1413
1413
|
n[r.index] = r;
|
1414
1414
|
}), n;
|
1415
1415
|
};
|
1416
|
-
var hT = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(hT || {}), Hn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Hn || {}), gT = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(gT || {}), Ue = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Ue || {}), Qt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Qt || {}),
|
1416
|
+
var hT = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(hT || {}), Hn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Hn || {}), gT = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(gT || {}), Ue = /* @__PURE__ */ ((e) => (e.Internal = "", e.KubernetesConfigMap = "KubernetesConfigMap", e.KubernetesSecret = "KubernetesSecret", e.AWSSecretsManager = "AWSSecretsManager", e.AWSSystemManager = "AWSSystemManager", e.HashiCorpVault = "HashiCorpVault", e.ESO_GoogleSecretsManager = "ESO_GoogleSecretsManager", e.ESO_AWSSecretsManager = "ESO_AWSSecretsManager", e.ESO_AzureSecretsManager = "ESO_AzureSecretsManager", e.ESO_HashiCorpVault = "ESO_HashiCorpVault", e))(Ue || {}), Qt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Qt || {}), ai = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(ai || {}), _t = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(_t || {}), Fs = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Fs || {}), Kr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Kr || {}), Sm = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(Sm || {});
|
1417
1417
|
const xT = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => He(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), yB = ({ kind: e, version: s, queryParams: n, suffix: a }) => He(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), ET = (e, { isTemplateView: s }) => {
|
1418
1418
|
const n = s ? zr({
|
1419
1419
|
type: Ea.CD_PIPELINE,
|
@@ -1426,7 +1426,7 @@ const xT = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => H
|
|
1426
1426
|
`${xT({
|
1427
1427
|
baseUrl: Y.RESOURCE_TEMPLATE,
|
1428
1428
|
kind: rt.devtronApplication,
|
1429
|
-
version:
|
1429
|
+
version: zi.alpha1
|
1430
1430
|
})}/${e}`,
|
1431
1431
|
{ templateId: s, ...n }
|
1432
1432
|
);
|
@@ -1550,9 +1550,9 @@ const Zs = class Zs {
|
|
1550
1550
|
};
|
1551
1551
|
Nn = new WeakMap(), // eslint-disable-next-line no-use-before-define
|
1552
1552
|
Da(Zs, Nn);
|
1553
|
-
let
|
1554
|
-
const OB = () => /* @__PURE__ */ t.jsx(Z_, { ...CT }), Ve =
|
1555
|
-
var pn = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(pn || {}), ST = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(ST || {}),
|
1553
|
+
let ri = Zs;
|
1554
|
+
const OB = () => /* @__PURE__ */ t.jsx(Z_, { ...CT }), Ve = ri.instance, TT = (e) => e === Ue.AWSSecretsManager || e === Ue.AWSSystemManager || e === Ue.HashiCorpVault, vm = (e) => e === Ue.ESO_GoogleSecretsManager || e === Ue.ESO_AzureSecretsManager || e === Ue.ESO_AWSSecretsManager || e === Ue.ESO_HashiCorpVault;
|
1555
|
+
var pn = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(pn || {}), ST = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(ST || {}), Zi = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(Zi || {}), vT = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(vT || {}), Ea = /* @__PURE__ */ ((e) => (e.GIT_MATERIAL = "git-material", e.CI_BUILD_CONFIG = "ci-build-config", e.STAGE_STATUS = "stage-status", e.CD_DEPLOY_CONFIG = "cd-deploy-config", e.CD_ENV_LIST = "cd-env-list", e.CONFIG_DEPLOYMENT_TEMPLATE = "config/deployment-template", e.CONFIG_DEPLOYMENT_TEMPLATE_ENV = "config/deployment-template/env", e.CONFIG_DATA = "config-data", e.CONFIG_CM = "config/config-map", e.CONFIG_CS = "config/secret", e.WORKFLOW = "workflow", e.WORKFLOW_LIST = "workflow/list", e.OVERVIEW = "overview", e.README = "readme", e.CD_PIPELINE_LIST = "cd-pipeline/list", e.EXTERNAL_CI_LIST = "external-ci/list", e.EXTERNAL_CI = "external-ci", e.CI_PIPELINE = "ci-pipeline", e.CD_PIPELINE = "cd-pipeline", e.CONFIG_STRATEGY = "config/strategy", e.CHART_REF = "chartRef", e.PIPELINE_SUGGEST_CI = "pipeline/suggest/ci", e.PIPELINE_SUGGEST_CD = "pipeline/suggest/cd", e))(Ea || {});
|
1556
1556
|
const wB = {
|
1557
1557
|
BASE_DEPLOYMENT_TEMPLATE: [pn.VALUES, pn.DRY_RUN],
|
1558
1558
|
OVERRIDE: [pn.INHERITED, pn.VALUES, pn.DRY_RUN]
|
@@ -1648,12 +1648,12 @@ class DB {
|
|
1648
1648
|
this.title = s, this.subTitle = n;
|
1649
1649
|
}
|
1650
1650
|
}
|
1651
|
-
var
|
1651
|
+
var Qi = /* @__PURE__ */ ((e) => (e[e.DEPLOYMENT_TEMPLATE = 1] = "DEPLOYMENT_TEMPLATE", e[e.MANIFEST = 2] = "MANIFEST", e))(Qi || {}), AT = /* @__PURE__ */ ((e) => (e.HELM_RELEASE = "helmRelease", e.ARGO_APPLICATION = "argoApplication", e))(AT || {}), RT = /* @__PURE__ */ ((e) => (e[e.APPROVAL_PENDING = 1] = "APPROVAL_PENDING", e[e.VALUES_FROM_DRAFT = 2] = "VALUES_FROM_DRAFT", e))(RT || {}), yT = /* @__PURE__ */ ((e) => (e.APPROVAL_PENDING = "approvalPending", e.VALUES_FROM_DRAFT = "valuesFromDraft", e.PUBLISHED_VALUES = "publishedValues", e))(yT || {});
|
1652
1652
|
const PB = async (e, s) => {
|
1653
1653
|
try {
|
1654
1654
|
const n = {
|
1655
1655
|
...e,
|
1656
|
-
valuesAndManifestFlag:
|
1656
|
+
valuesAndManifestFlag: Qi.MANIFEST
|
1657
1657
|
};
|
1658
1658
|
return await Et(Y.APP_TEMPLATE_DATA, n, {
|
1659
1659
|
signal: s
|
@@ -1665,7 +1665,7 @@ const PB = async (e, s) => {
|
|
1665
1665
|
try {
|
1666
1666
|
const n = {
|
1667
1667
|
...e,
|
1668
|
-
valuesAndManifestFlag:
|
1668
|
+
valuesAndManifestFlag: Qi.DEPLOYMENT_TEMPLATE
|
1669
1669
|
}, { result: a } = await Et(Y.APP_TEMPLATE_DATA, n, {
|
1670
1670
|
signal: s
|
1671
1671
|
}), r = Object.keys(a.variableSnapshot || {}).length > 0, o = Zt.parse(a.data), i = Zt.parse(a.resolvedData);
|
@@ -1772,7 +1772,7 @@ const BB = ({ fileMountDir: e }) => /* @__PURE__ */ t.jsx(
|
|
1772
1772
|
"Ensure the uploaded file name is unique to avoid conflicts or overrides."
|
1773
1773
|
] })
|
1774
1774
|
] }),
|
1775
|
-
children: /* @__PURE__ */ t.jsx("div", { className: "cursor flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
1775
|
+
children: /* @__PURE__ */ t.jsx("div", { className: "cursor flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(Ui, { className: "icon-dim-18" }) })
|
1776
1776
|
}
|
1777
1777
|
), wT = "This is a variable. It will be replaced with the value during execution.", VB = () => /* @__PURE__ */ t.jsx(ee, { content: wT, placement: "left", animation: "shift-away", alwaysShowTippyOnHover: !0, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(_h, { className: "icon-dim-18 icon-n4" }) }) }), GB = [
|
1778
1778
|
{ label: "TRUE", value: "TRUE" },
|
@@ -1864,7 +1864,7 @@ const al = (e) => ({
|
|
1864
1864
|
return [
|
1865
1865
|
{
|
1866
1866
|
label: "Users",
|
1867
|
-
options: s.filter((n) => n !==
|
1867
|
+
options: s.filter((n) => n !== Ki.system && !n.startsWith(pr)).map((n) => al(n))
|
1868
1868
|
},
|
1869
1869
|
{
|
1870
1870
|
label: "API Tokens",
|
@@ -1899,7 +1899,7 @@ const al = (e) => ({
|
|
1899
1899
|
"div",
|
1900
1900
|
{
|
1901
1901
|
className: "icon-dim-20 mw-20 flexbox flex-justify-center flex-align-center dc__border-radius-50-per dc__uppercase cn-0",
|
1902
|
-
style: { backgroundColor:
|
1902
|
+
style: { backgroundColor: Oc(s) },
|
1903
1903
|
children: s[0]
|
1904
1904
|
}
|
1905
1905
|
),
|
@@ -1959,7 +1959,7 @@ const al = (e) => ({
|
|
1959
1959
|
]
|
1960
1960
|
}
|
1961
1961
|
),
|
1962
|
-
/* @__PURE__ */ t.jsx("div", { className: "fs-13 fw-4 lh-20 cn-9", children: e.map((d) => /* @__PURE__ */
|
1962
|
+
/* @__PURE__ */ t.jsx("div", { className: "fs-13 fw-4 lh-20 cn-9", children: e.map((d) => /* @__PURE__ */ Pi(
|
1963
1963
|
MT,
|
1964
1964
|
{
|
1965
1965
|
...d,
|
@@ -1975,7 +1975,7 @@ const al = (e) => ({
|
|
1975
1975
|
)) })
|
1976
1976
|
] });
|
1977
1977
|
};
|
1978
|
-
var UT = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(UT || {}), U = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Jt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Jt || {}), ye = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(ye || {}), Rm = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Rm || {}), ks = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(ks || {}), ym = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(ym || {}), _r = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(_r || {}), ra = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ra || {}),
|
1978
|
+
var UT = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(UT || {}), U = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Jt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Jt || {}), ye = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node selector", e.TOLERANCE = "tolerance", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(ye || {}), Rm = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Rm || {}), ks = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(ks || {}), ym = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(ym || {}), _r = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(_r || {}), ra = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ra || {}), oi = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(oi || {}), ii = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(ii || {}), Rt = /* @__PURE__ */ ((e) => (e.ADD_TARGET_PLATFORM = "add_target_platform", e.REMOVE_TARGET_PLATFORM = "remove_target_platform", e.RENAME_TARGET_PLATFORM = "rename_target_platform", e.RESTORE_PROFILE_CONFIG_SNAPSHOT = "restore_profile_config_snapshot", e.DELETE_NODE_SELECTOR_ITEM = "delete_node_selector_item", e.ADD_NODE_SELECTOR_ITEM = "add_node_selector_item", e.EDIT_NODE_SELECTOR_ITEM = "edit_node_selector_item", e.DELETE_TOLERANCE_ITEM = "delete_tolerance_item", e.ADD_TOLERANCE_ITEM = "add_tolerance_item", e.EDIT_TOLERANCE_ITEM = "edit_tolerance_item", e.ADD_CM_CS_ITEM = "add_cm_cs_item", e.SYNC_CM_CS_ITEM = "sync_cm_cs_item", e.DELETE_CM_CS_ITEM = "delete_cm_cs_item", e))(Rt || {}), jm = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(jm || {});
|
1979
1979
|
const Bs = {
|
1980
1980
|
// Will not enforce any decimal specification on input field
|
1981
1981
|
STEP: "any",
|
@@ -2034,7 +2034,7 @@ const Bs = {
|
|
2034
2034
|
[ye.TOLERANCE]: "Toleration",
|
2035
2035
|
[ye.CONFIG_MAP]: "ConfigMaps",
|
2036
2036
|
[ye.SECRET]: "Secret"
|
2037
|
-
},
|
2037
|
+
}, ci = [
|
2038
2038
|
{
|
2039
2039
|
heading: /* @__PURE__ */ t.jsx("h3", { className: "m-0 cn-9 fs-13 fw-6 lh-20 w-240 dc__no-shrink", children: "CPU (Request - Limit)" }),
|
2040
2040
|
marker: Eo[ye.CPU],
|
@@ -2081,7 +2081,7 @@ const Bs = {
|
|
2081
2081
|
],
|
2082
2082
|
locator: ye.BUILD_TIMEOUT
|
2083
2083
|
}
|
2084
|
-
], JB =
|
2084
|
+
], JB = ci.reduce(
|
2085
2085
|
(e, s) => (e[s.locator] = s, e),
|
2086
2086
|
{}
|
2087
2087
|
), Om = Object.fromEntries(
|
@@ -2793,11 +2793,11 @@ const ul = (e) => {
|
|
2793
2793
|
} = n;
|
2794
2794
|
if (o)
|
2795
2795
|
return /* @__PURE__ */ t.jsx(Ye.ValueContainer, { ...n });
|
2796
|
-
const l = is(s) ? (a() ?? []).length : s, d =
|
2796
|
+
const l = is(s) ? (a() ?? []).length : s, d = Go.count(c);
|
2797
2797
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-8 flex-grow-1", children: [
|
2798
2798
|
/* @__PURE__ */ t.jsx("div", { className: "flex left flex-grow-1", children: /* @__PURE__ */ t.jsx(Ye.ValueContainer, { ...n, children: r && l > 0 && !i ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2799
2799
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 fw-4 lh-20 cn-9 dc__truncate", children: r }),
|
2800
|
-
/* @__PURE__ */ t.jsx("div", { className: "dc__position-abs", children:
|
2800
|
+
/* @__PURE__ */ t.jsx("div", { className: "dc__position-abs", children: Go.map(c, (u, m) => m === d - 1 ? u : null) })
|
2801
2801
|
] }) : c }) }),
|
2802
2802
|
e && l > 0 && /* @__PURE__ */ t.jsx("div", { className: "bcb-50 dc__border eb-2 dc__border-radius-4-imp pl-5 pr-5 cb-5 fs-12 fw-6 lh-18 dc__truncate dc__no-shrink", children: l })
|
2803
2803
|
] });
|
@@ -2900,7 +2900,7 @@ const ul = (e) => {
|
|
2900
2900
|
}
|
2901
2901
|
} = e;
|
2902
2902
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2903
|
-
/* @__PURE__ */
|
2903
|
+
/* @__PURE__ */ Pi(Ye.MenuList, { ...e, key: n }, /* @__PURE__ */ t.jsx("div", { className: "py-4 cursor", children: r ? o() : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
2904
2904
|
s,
|
2905
2905
|
i?.()
|
2906
2906
|
] }) })),
|
@@ -2966,7 +2966,7 @@ const ul = (e) => {
|
|
2966
2966
|
selectProps: { isLoading: s }
|
2967
2967
|
} = e;
|
2968
2968
|
return s ? /* @__PURE__ */ t.jsx("div", { className: "shimmer w-150 h-22" }) : /* @__PURE__ */ t.jsx(Ye.ValueContainer, { ...e });
|
2969
|
-
}, Pm = (e) => `${e}-error-msg`, Mm = (e) => `${e}-label`, mS = (e) => `${e}-helper-text`,
|
2969
|
+
}, Pm = (e) => `${e}-error-msg`, Mm = (e) => `${e}-label`, mS = (e) => `${e}-helper-text`, ec = ({
|
2970
2970
|
inputId: e,
|
2971
2971
|
label: s,
|
2972
2972
|
ariaLabel: n,
|
@@ -3029,7 +3029,7 @@ const ul = (e) => {
|
|
3029
3029
|
] }),
|
3030
3030
|
!c && o && /* @__PURE__ */ t.jsx(on, { placement: "bottom-start", iconClass: "fcv-5", ...o })
|
3031
3031
|
] });
|
3032
|
-
},
|
3032
|
+
}, tc = ({
|
3033
3033
|
layout: e,
|
3034
3034
|
fullWidth: s,
|
3035
3035
|
label: n,
|
@@ -3086,7 +3086,7 @@ const ul = (e) => {
|
|
3086
3086
|
useInfoIcon: c = !1,
|
3087
3087
|
progressingProps: l
|
3088
3088
|
}) => {
|
3089
|
-
const d = () => l ? /* @__PURE__ */ t.jsx(F, { name: "ic-circle-loader", ...l }) : c ? /* @__PURE__ */ t.jsx(
|
3089
|
+
const d = () => l ? /* @__PURE__ */ t.jsx(F, { name: "ic-circle-loader", ...l }) : c ? /* @__PURE__ */ t.jsx(Ui, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ha, { className: "icon-dim-24 alert-icon-r5-imp" }), u = (m) => m ? typeof m == "string" ? /* @__PURE__ */ t.jsx("p", { className: "m-0 dc__truncate--clamp-6", children: m }) : m : null;
|
3090
3090
|
return /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${i || ""}`, children: [
|
3091
3091
|
d(),
|
3092
3092
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
|
@@ -3225,7 +3225,7 @@ const ul = (e) => {
|
|
3225
3225
|
fe.current?.focus();
|
3226
3226
|
}, 100);
|
3227
3227
|
}, [re]), /* @__PURE__ */ t.jsx(
|
3228
|
-
|
3228
|
+
tc,
|
3229
3229
|
{
|
3230
3230
|
inputId: K,
|
3231
3231
|
layout: B,
|
@@ -3245,7 +3245,7 @@ const ul = (e) => {
|
|
3245
3245
|
Og,
|
3246
3246
|
{
|
3247
3247
|
...te,
|
3248
|
-
...
|
3248
|
+
...ec({
|
3249
3249
|
inputId: K,
|
3250
3250
|
required: Ce,
|
3251
3251
|
label: r,
|
@@ -3387,7 +3387,7 @@ const ul = (e) => {
|
|
3387
3387
|
icon: E
|
3388
3388
|
}
|
3389
3389
|
) });
|
3390
|
-
}, Um = (e) => /* @__PURE__ */ t.jsx(
|
3390
|
+
}, Um = (e) => /* @__PURE__ */ t.jsx(lc, { ignoreTags: [], children: /* @__PURE__ */ t.jsx(_S, { ...e }) }), fS = {
|
3391
3391
|
[L.medium]: L.xxs,
|
3392
3392
|
[L.large]: L.xs
|
3393
3393
|
}, yn = ({
|
@@ -3432,7 +3432,7 @@ const ul = (e) => {
|
|
3432
3432
|
R.key === "Escape" && I.current.blur(), S.onKeyDown?.(R);
|
3433
3433
|
};
|
3434
3434
|
return /* @__PURE__ */ t.jsx(
|
3435
|
-
|
3435
|
+
tc,
|
3436
3436
|
{
|
3437
3437
|
inputId: e,
|
3438
3438
|
layout: i,
|
@@ -3453,7 +3453,7 @@ const ul = (e) => {
|
|
3453
3453
|
"input",
|
3454
3454
|
{
|
3455
3455
|
...S,
|
3456
|
-
...
|
3456
|
+
...ec({
|
3457
3457
|
inputId: e,
|
3458
3458
|
required: c,
|
3459
3459
|
label: s,
|
@@ -3551,7 +3551,7 @@ const ul = (e) => {
|
|
3551
3551
|
const [c, l] = w(null), d = $(`backdrop-${Dt()}`);
|
3552
3552
|
return M(() => {
|
3553
3553
|
r?.(!!c);
|
3554
|
-
}, [c]),
|
3554
|
+
}, [c]), Mi(() => {
|
3555
3555
|
let u = document.getElementById(d.current), m = !1;
|
3556
3556
|
return u || (m = !0, u = gS(d.current)), l(u), () => {
|
3557
3557
|
m && u?.parentNode && u.parentNode.removeChild(u);
|
@@ -3578,7 +3578,7 @@ const ul = (e) => {
|
|
3578
3578
|
),
|
3579
3579
|
c
|
3580
3580
|
);
|
3581
|
-
},
|
3581
|
+
}, sc = ({
|
3582
3582
|
open: e,
|
3583
3583
|
popoverProps: s,
|
3584
3584
|
overlayProps: n,
|
@@ -3666,7 +3666,7 @@ const ul = (e) => {
|
|
3666
3666
|
end: n.bottom - a.height >= 0
|
3667
3667
|
}, l = c[s] && s || c.start && "start" || c.middle && "middle" || c.end && "end" || s;
|
3668
3668
|
return { fallbackPosition: i, fallbackAlignment: l };
|
3669
|
-
},
|
3669
|
+
}, nc = ({
|
3670
3670
|
id: e,
|
3671
3671
|
position: s = "bottom",
|
3672
3672
|
alignment: n = "start",
|
@@ -3690,7 +3690,7 @@ const ul = (e) => {
|
|
3690
3690
|
}, R = (j) => i?.(j, d, T), v = () => {
|
3691
3691
|
T();
|
3692
3692
|
};
|
3693
|
-
return
|
3693
|
+
return Mi(() => {
|
3694
3694
|
if (!d || !E || !N.current || !S.current || !b.current)
|
3695
3695
|
return;
|
3696
3696
|
const j = () => {
|
@@ -4035,7 +4035,7 @@ const ul = (e) => {
|
|
4035
4035
|
]
|
4036
4036
|
}
|
4037
4037
|
) });
|
4038
|
-
},
|
4038
|
+
}, li = ({ type: e, config: s, variant: n = "neutral" }) => {
|
4039
4039
|
const a = n === "negative", r = (i) => {
|
4040
4040
|
if (e === "switch") {
|
4041
4041
|
const { onChange: c } = s;
|
@@ -4093,7 +4093,7 @@ const ul = (e) => {
|
|
4093
4093
|
n && I && I.scrollIntoView({ block: "nearest", behavior: "smooth" });
|
4094
4094
|
}, E = p === "negative", f = (I) => {
|
4095
4095
|
a(e, I);
|
4096
|
-
}, C = (I) => I && /* @__PURE__ */ t.jsx("span", { className: "mt-2 flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(F, { ...I, color: I.color || (E ? "R500" : "N800") }) }), N = () => u ? /* @__PURE__ */ t.jsx(
|
4096
|
+
}, C = (I) => I && /* @__PURE__ */ t.jsx("span", { className: "mt-2 flex dc__no-shrink", children: /* @__PURE__ */ t.jsx(F, { ...I, color: I.color || (E ? "R500" : "N800") }) }), N = () => u ? /* @__PURE__ */ t.jsx(li, { ...u, variant: p }) : null, S = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
4097
4097
|
C(d),
|
4098
4098
|
/* @__PURE__ */ t.jsxs("span", { className: "flex-grow-1", children: [
|
4099
4099
|
/* @__PURE__ */ t.jsx(ee, { content: l, placement: "right", children: /* @__PURE__ */ t.jsx("span", { className: `m-0 fs-13 fw-4 lh-20 dc__truncate ${E ? "cr-5" : "cn-9"}`, children: l }) }),
|
@@ -4225,7 +4225,7 @@ const ul = (e) => {
|
|
4225
4225
|
}
|
4226
4226
|
}, E = (y, T) => {
|
4227
4227
|
!T && (y.key === "Enter" || y.key === " ") && l(0);
|
4228
|
-
}, { open: f, closePopover: C, overlayProps: N, popoverProps: S, triggerProps: b, scrollableRef: I } =
|
4228
|
+
}, { open: f, closePopover: C, overlayProps: N, popoverProps: S, triggerProps: b, scrollableRef: I } = nc({
|
4229
4229
|
id: e,
|
4230
4230
|
position: s,
|
4231
4231
|
alignment: n,
|
@@ -4291,7 +4291,7 @@ const ul = (e) => {
|
|
4291
4291
|
n(R, v), I();
|
4292
4292
|
};
|
4293
4293
|
return /* @__PURE__ */ t.jsx(
|
4294
|
-
|
4294
|
+
sc,
|
4295
4295
|
{
|
4296
4296
|
open: p,
|
4297
4297
|
overlayProps: g,
|
@@ -4658,7 +4658,7 @@ ${d.slice(N)}`;
|
|
4658
4658
|
] }),
|
4659
4659
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
4660
4660
|
o,
|
4661
|
-
/* @__PURE__ */ t.jsx("div", { className: "w-100 flexbox-col dc__gap-16 br-4 dc__border-n1 p-16", children:
|
4661
|
+
/* @__PURE__ */ t.jsx("div", { className: "w-100 flexbox-col dc__gap-16 br-4 dc__border-n1 p-16", children: ci.map((l, d) => /* @__PURE__ */ t.jsx(
|
4662
4662
|
JS,
|
4663
4663
|
{
|
4664
4664
|
marker: l.marker,
|
@@ -4673,7 +4673,7 @@ ${d.slice(N)}`;
|
|
4673
4673
|
isGlobalProfile: a
|
4674
4674
|
}
|
4675
4675
|
),
|
4676
|
-
showDivider: d !==
|
4676
|
+
showDivider: d !== ci.length - 1,
|
4677
4677
|
isInheriting: c(l.actions),
|
4678
4678
|
children: /* @__PURE__ */ t.jsx("div", { className: "w-50 flexbox dc__gap-12 w-100 dc__align-start", children: l.actions.map((u) => /* @__PURE__ */ t.jsx(
|
4679
4679
|
XS,
|
@@ -4700,7 +4700,7 @@ ${d.slice(N)}`;
|
|
4700
4700
|
if (!e)
|
4701
4701
|
throw new Error("Please wrap parent component with BuildInfraUtilityProvider");
|
4702
4702
|
return e;
|
4703
|
-
},
|
4703
|
+
}, ac = (e) => {
|
4704
4704
|
const s = $(null), [n, a] = w(!1), r = e.theme === ga.white, o = (C) => {
|
4705
4705
|
C.keyCode === 27 && c(C);
|
4706
4706
|
}, i = (C) => {
|
@@ -4829,7 +4829,7 @@ ${d.slice(N)}`;
|
|
4829
4829
|
isExternalLink: p,
|
4830
4830
|
openInNewTab: _
|
4831
4831
|
}) => /* @__PURE__ */ t.jsx(
|
4832
|
-
|
4832
|
+
ac,
|
4833
4833
|
{
|
4834
4834
|
theme: ga.white,
|
4835
4835
|
headingInfo: u,
|
@@ -4917,7 +4917,7 @@ ${d.slice(N)}`;
|
|
4917
4917
|
try {
|
4918
4918
|
const a = { name: e }, {
|
4919
4919
|
result: { configurationUnits: r, defaultConfigurations: o, profile: i }
|
4920
|
-
} = await he(He(
|
4920
|
+
} = await he(He(oc(), a));
|
4921
4921
|
return gv({
|
4922
4922
|
configurationUnits: r,
|
4923
4923
|
defaultConfigurations: o,
|
@@ -4928,7 +4928,7 @@ ${d.slice(N)}`;
|
|
4928
4928
|
} catch (a) {
|
4929
4929
|
throw we(a), a;
|
4930
4930
|
}
|
4931
|
-
}, sv = async (e) => await Et(
|
4931
|
+
}, sv = async (e) => await Et(oc(), e), nv = async ({
|
4932
4932
|
name: e,
|
4933
4933
|
profileInput: s,
|
4934
4934
|
canConfigureUseK8sDriver: n
|
@@ -4936,8 +4936,8 @@ ${d.slice(N)}`;
|
|
4936
4936
|
const a = !!e, r = Ev(s, n);
|
4937
4937
|
if (a) {
|
4938
4938
|
const i = { name: e };
|
4939
|
-
return await
|
4940
|
-
He(
|
4939
|
+
return await Dc(
|
4940
|
+
He(oc(), i),
|
4941
4941
|
r
|
4942
4942
|
);
|
4943
4943
|
}
|
@@ -4958,10 +4958,10 @@ ${d.slice(N)}`;
|
|
4958
4958
|
}, pl = 350, _l = {
|
4959
4959
|
MAX_LIMIT: 50,
|
4960
4960
|
MIN_LIMIT: 3
|
4961
|
-
},
|
4961
|
+
}, di = (e) => {
|
4962
4962
|
const s = [];
|
4963
4963
|
return e.length > 63 && s.push("Can be max 63 characters"), Ht.START_END_ALPHANUMERIC.test(e) || s.push("Must start and end with an alphanumeric character"), Ht.ALPHANUMERIC_WITH_SPECIAL_CHAR.test(e) || s.push("Can only contain alphanumeric chars and (-), (_), (.)"), s;
|
4964
|
-
},
|
4964
|
+
}, rc = (e, s = !0) => {
|
4965
4965
|
const n = [], a = s && e.startsWith(Xb);
|
4966
4966
|
if (!e)
|
4967
4967
|
n.push("Key is required");
|
@@ -4971,9 +4971,9 @@ ${d.slice(N)}`;
|
|
4971
4971
|
n.push("Key: Max 1 ( / ) allowed");
|
4972
4972
|
else if (r === 1) {
|
4973
4973
|
const [o, i] = e.split("/");
|
4974
|
-
n.push(...
|
4974
|
+
n.push(...di(i).map((l) => `Name: ${l}`)), o.length > 253 && n.push("Prefix: Can be max 253 characters"), Ht.KUBERNETES_KEY_PREFIX.test(o) || n.push("Prefix: Must be a DNS subdomain (a series of DNS labels separated by dots (.)");
|
4975
4975
|
} else
|
4976
|
-
n.push(...
|
4976
|
+
n.push(...di(e).map((o) => `Name: ${o}`));
|
4977
4977
|
}
|
4978
4978
|
return { isValid: n.length === 0, messages: n };
|
4979
4979
|
}, Vm = (e) => e?.trim() ? { isValid: !0 } : { message: "This field is required", isValid: !1 }, av = (e) => /^.{3,50}$/.test(e) ? /^[a-z0-9-._]+$/.test(e) ? /^(?![-._]).*[^-._]$/.test(e) ? {
|
@@ -5226,7 +5226,7 @@ const uV = (e, s = !1) => {
|
|
5226
5226
|
messages: []
|
5227
5227
|
};
|
5228
5228
|
}, lv = (e, s) => {
|
5229
|
-
const n =
|
5229
|
+
const n = rc(e, !1);
|
5230
5230
|
return n.isValid ? s.filter((r) => r === e).length > 1 ? {
|
5231
5231
|
isValid: !1,
|
5232
5232
|
messages: ["Key should be unique"]
|
@@ -5281,8 +5281,8 @@ const uV = (e, s = !1) => {
|
|
5281
5281
|
}) => {
|
5282
5282
|
const o = lv(e, a).messages, i = Ym(s).messages, l = !(!e && !s) && (o.length > 0 || i.length > 0);
|
5283
5283
|
r[U.NODE_SELECTOR]?.[n] || (r[U.NODE_SELECTOR] || (r[U.NODE_SELECTOR] = {}), r[U.NODE_SELECTOR][n] = {}), r[U.NODE_SELECTOR][n] = {
|
5284
|
-
...o.length > 0 && { [
|
5285
|
-
...i.length > 0 && { [
|
5284
|
+
...o.length > 0 && { [oi.KEY]: o },
|
5285
|
+
...i.length > 0 && { [oi.VALUE]: i }
|
5286
5286
|
}, l || (delete r[U.NODE_SELECTOR][n], Object.keys(r[U.NODE_SELECTOR]).length === 0 && (r[U.NODE_SELECTOR] = null));
|
5287
5287
|
}, uv = (e) => {
|
5288
5288
|
const s = structuredClone(Om);
|
@@ -5585,16 +5585,16 @@ const uV = (e, s = !1) => {
|
|
5585
5585
|
operator: v,
|
5586
5586
|
value: j
|
5587
5587
|
});
|
5588
|
-
const O =
|
5588
|
+
const O = rc(A).messages, D = v !== ks.EXISTS ? Ym(j).messages : [], B = !(v === ks.EXISTS ? !A : !A && !j) && (O.length > 0 || D.length > 0);
|
5589
5589
|
S[U.TOLERANCE]?.[T] || (S[U.TOLERANCE] || (S[U.TOLERANCE] = {}), S[U.TOLERANCE][T] = {}), S[U.TOLERANCE][T] = {
|
5590
|
-
...O.length > 0 && { [
|
5591
|
-
...D.length > 0 && { [
|
5590
|
+
...O.length > 0 && { [ii.KEY]: O },
|
5591
|
+
...D.length > 0 && { [ii.VALUE]: D }
|
5592
5592
|
}, B || (delete S[U.TOLERANCE][T], Object.keys(S[U.TOLERANCE]).length === 0 && (S[U.TOLERANCE] = null));
|
5593
5593
|
break;
|
5594
5594
|
}
|
5595
5595
|
case Rt.ADD_CM_CS_ITEM: {
|
5596
5596
|
const { id: T, infraConfigType: A } = C, v = {
|
5597
|
-
useFormProps:
|
5597
|
+
useFormProps: Ac({
|
5598
5598
|
configMapSecretData: null,
|
5599
5599
|
componentType: wm[A],
|
5600
5600
|
cmSecretStateLabel: Kr.BASE,
|
@@ -5733,7 +5733,7 @@ const uV = (e, s = !1) => {
|
|
5733
5733
|
return vn(e);
|
5734
5734
|
const n = e.value?.map(
|
5735
5735
|
(a) => {
|
5736
|
-
const r =
|
5736
|
+
const r = Ac({
|
5737
5737
|
configMapSecretData: a,
|
5738
5738
|
componentType: wm[e.key],
|
5739
5739
|
cmSecretStateLabel: null,
|
@@ -5933,7 +5933,7 @@ const uV = (e, s = !1) => {
|
|
5933
5933
|
buildxDriverType: xv(e.useK8sDriver)
|
5934
5934
|
}
|
5935
5935
|
};
|
5936
|
-
},
|
5936
|
+
}, oc = () => `${Y.INFRA_CONFIG_PROFILE}/${FT}`, xV = (e, s) => s ? `activate_${e}` : `de_activate_${e}`;
|
5937
5937
|
var Yn = /* @__PURE__ */ ((e) => (e.JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob", e.ROLLOUT_DEPLOYMENT = "Rollout Deployment", e.DEPLOYMENT = "Deployment", e.STATEFUL_SET = "StatefulSet", e))(Yn || {});
|
5938
5938
|
const Cv = "object", Nv = { ContainerPort: { type: "array", description: "Defines ports on which application services will be exposed to other services", items: { type: "object", properties: { port: { type: "integer", description: "Port at which your application will run" } } }, title: "Container Port" }, Limits: { type: "object", description: "Maximum RAM and CPU available to the application", required: ["CPU", "Memory"], properties: { CPU: { type: "string", description: "Maximum allowed CPU limit", updatePath: "/resources/limits/cpu" }, Memory: { type: "string", description: "Maximum allowed memory limit", updatePath: "/resources/limits/memory" } } }, Requests: { type: "object", description: "Minimum RAM and CPU available to the application", properties: { CPU: { type: "string", description: "Minimum CPU value", updatePath: "/resources/requests/cpu" }, Memory: { type: "string", description: "Minimum memory value", updatePath: "/resources/requests/memory" } } }, EnvVariables: { type: "array", description: "Contains environment variables needed by the containers", items: { type: "object", properties: { name: { type: "string", description: "Name of the environment variables" }, value: { type: "string", description: "Value of the environment variables" } } }, title: "Environment Variables" } }, bv = {
|
5939
5939
|
type: Cv,
|
@@ -6227,7 +6227,7 @@ const AV = (e, s, n, a) => ({
|
|
6227
6227
|
var Rv = /* @__PURE__ */ ((e) => (e.NAME = "name", e.NAMESPACE = "namespace", e.KIND = "kind", e.API_VERSION = "apiVersion", e.CONTAINER_NAME = "containerName", e.CPU_REQUEST = "cpuRequest", e.CPU_LIMIT = "cpuLimit", e.MEMORY_REQUEST = "memoryRequest", e.MEMORY_LIMIT = "memoryLimit", e))(Rv || {});
|
6228
6228
|
const jV = (e, s) => Et(Y.K8S_RESOURCE_LIST, e, {
|
6229
6229
|
signal: s
|
6230
|
-
}), OV = (e, s) => Et(Y.K8S_RESOURCE_CREATE, e, { abortControllerRef: s }), wV = (e, s) => Et(Y.DELETE_RESOURCE, e, { abortControllerRef: s }), LV = (e, s) => _o(Y.NODE_CAPACITY, e, { abortControllerRef: s }), DV = (e, s) =>
|
6230
|
+
}), OV = (e, s) => Et(Y.K8S_RESOURCE_CREATE, e, { abortControllerRef: s }), wV = (e, s) => Et(Y.DELETE_RESOURCE, e, { abortControllerRef: s }), LV = (e, s) => _o(Y.NODE_CAPACITY, e, { abortControllerRef: s }), DV = (e, s) => Dc(`${Y.NODE_CAPACITY}/cordon`, e, { abortControllerRef: s }), PV = (e, s) => Dc(`${Y.NODE_CAPACITY}/drain`, e, { abortControllerRef: s }), MV = (e) => he(Y.CLUSTER_LIST_RAW, { abortControllerRef: e });
|
6231
6231
|
var yv = /* @__PURE__ */ ((e) => (e.ALL_CLUSTERS = "all", e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e))(yv || {}), jv = /* @__PURE__ */ ((e) => (e.Creating = "Creating", e.Updated = "Updated", e.Updating = "Updating", e.Installed = "Installed", e.Failed = "Failed", e.Deleting = "Deleting", e.Deleted = "Deleted", e))(jv || {}), Ov = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e.CONNECTION_FAILED = "connection failed", e))(Ov || {}), wv = /* @__PURE__ */ ((e) => (e.terminal = "terminal", e.cordon = "cordon", e.uncordon = "uncordon", e.drain = "drain", e.editTaints = "edit-taints", e.editYaml = "edit-yaml", e.delete = "delete", e))(wv || {}), Lv = /* @__PURE__ */ ((e) => (e.manifest = "manifest", e.events = "events", e.logs = "logs", e.terminal = "terminal", e.delete = "delete", e.vulnerability = "vulnerability", e))(Lv || {});
|
6232
6232
|
const Dv = (e) => e.replace(Ht.ESCAPED_CHARACTERS, "\\$&"), kV = ({ searchText: e, text: s, highlightClasses: n }) => {
|
6233
6233
|
if (!e)
|
@@ -6258,7 +6258,7 @@ function Wm(e, s, n = be.ASC) {
|
|
6258
6258
|
const FV = (e, s, n = be.ASC) => n === be.ASC ? Oe(s).diff(Oe(e)) : Oe(e).diff(Oe(s)), BV = (e) => {
|
6259
6259
|
switch (e) {
|
6260
6260
|
case aa.PULL_REQUEST:
|
6261
|
-
return /* @__PURE__ */ t.jsx(
|
6261
|
+
return /* @__PURE__ */ t.jsx(Vi, { className: "icon-dim-12" });
|
6262
6262
|
case aa.TAG_CREATION:
|
6263
6263
|
return /* @__PURE__ */ t.jsx(Fr, { className: "icon-dim-12" });
|
6264
6264
|
default:
|
@@ -6330,7 +6330,7 @@ function Km(e, s) {
|
|
6330
6330
|
{ nodes: {}, aggregation: {}, statusCount: {}, nodeStatusCount: {}, aggregatorStatusCount: {} }
|
6331
6331
|
);
|
6332
6332
|
}
|
6333
|
-
const $v = (e, s = !1) => s ? btoa(e) : atob(e),
|
6333
|
+
const $v = (e, s = !1) => s ? btoa(e) : atob(e), ui = (e, s = !1) => Object.keys(e).map((n) => ({ key: n, value: e[n] ? $v(e[n], s) : e[n] })).reduce((n, a) => (n[a.key] = a.value, n), {}), Us = (e) => !!e && e !== In, Fv = ({
|
6334
6334
|
startTime: e,
|
6335
6335
|
endTime: s,
|
6336
6336
|
fallbackString: n = "-"
|
@@ -6415,11 +6415,11 @@ const $v = (e, s = !1) => s ? btoa(e) : atob(e), di = (e, s = !1) => Object.keys
|
|
6415
6415
|
default:
|
6416
6416
|
return null;
|
6417
6417
|
}
|
6418
|
-
},
|
6418
|
+
}, ic = (e) => !e || typeof e != "object" ? e : Object.keys(e).reduce((s, n) => {
|
6419
6419
|
const a = n.toLowerCase(), r = e[n];
|
6420
|
-
return r && typeof r == "object" ? s[a] =
|
6420
|
+
return r && typeof r == "object" ? s[a] = ic(r) : s[a] = r, s;
|
6421
6421
|
}, {}), Xm = (e, s) => {
|
6422
|
-
const n =
|
6422
|
+
const n = ic(s), r = e === es.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = Oe(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
|
6423
6423
|
return o.isValid() ? o.format(Lt.TWELVE_HOURS_FORMAT) : r.data.date;
|
6424
6424
|
}, Dt = (e) => ef(e), KV = (e, s = "") => ({ pathname: n }) => e === n || s || Jb, Jr = (e) => {
|
6425
6425
|
if (!e?.length)
|
@@ -6431,20 +6431,20 @@ const $v = (e, s = !1) => s ? btoa(e) : atob(e), di = (e, s = !1) => Object.keys
|
|
6431
6431
|
}, Hv = (e = "") => e.includes("git-codecommit.") && e.includes(".amazonaws.com"), Yv = (e = "") => {
|
6432
6432
|
const s = "dc__vertical-align-middle icon-dim-20 dc__no-shrink";
|
6433
6433
|
return e.includes("gitlab") ? /* @__PURE__ */ t.jsx(WN, { className: s }) : e.includes("github") ? /* @__PURE__ */ t.jsx(YN, { className: `${s} fcn-8` }) : e.includes("bitbucket") ? /* @__PURE__ */ t.jsx(Zu, { className: s }) : Hv(e) ? /* @__PURE__ */ t.jsx(GN, { className: "dc__vertical-align-middle icon-dim-18" }) : /* @__PURE__ */ t.jsx(HN, { className: s });
|
6434
|
-
},
|
6434
|
+
}, cc = (e = {}) => {
|
6435
6435
|
const { top: s = !0, right: n = !0, bottom: a = !0, left: r = !0 } = e;
|
6436
6436
|
return { top: s, right: n, bottom: a, left: r };
|
6437
6437
|
}, Wv = (e = {}) => {
|
6438
|
-
const { top: s, right: n, bottom: a, left: r } =
|
6438
|
+
const { top: s, right: n, bottom: a, left: r } = cc(e);
|
6439
6439
|
return `${s ? "" : "dc__no-top-radius"} ${n ? "" : "dc__no-right-radius"} ${a ? "" : "dc__no-bottom-radius"} ${r ? "" : "dc__no-left-radius"}`;
|
6440
6440
|
}, Kv = (e = {}) => {
|
6441
|
-
const { top: s, right: n, bottom: a, left: r } =
|
6441
|
+
const { top: s, right: n, bottom: a, left: r } = cc(e);
|
6442
6442
|
return `${s ? "" : "dc__no-border-top-imp"} ${n ? "" : "dc__no-border-right-imp"} ${a ? "" : "dc__no-border-bottom-imp"} ${r ? "" : "dc__no-border-left-imp"}`;
|
6443
6443
|
}, Zr = ({
|
6444
6444
|
borderConfig: e,
|
6445
6445
|
borderRadiusConfig: s
|
6446
6446
|
}) => {
|
6447
|
-
const { top: n, right: a, bottom: r, left: o } =
|
6447
|
+
const { top: n, right: a, bottom: r, left: o } = cc(s);
|
6448
6448
|
return `${Kv(e)} ${Wv({ top: n, right: a, bottom: r, left: o })}`;
|
6449
6449
|
}, zV = (e, s = "dc__top-0") => `dc__position-sticky ${s} dc__transition--box-shadow ${e ? "dc__box-shadow--header" : ""}`, zv = () => {
|
6450
6450
|
document.cookie = `${mb}=; expires=Thu, 01-Jan-1970 00:00:01 GMT;path=/`;
|
@@ -6673,13 +6673,13 @@ const Zm = (e) => ({
|
|
6673
6673
|
const o = _I(r);
|
6674
6674
|
let i;
|
6675
6675
|
switch (e) {
|
6676
|
-
case
|
6676
|
+
case qo.ROLLBACK:
|
6677
6677
|
i = He(
|
6678
6678
|
`${Y.CD_MATERIAL_GET}/${s}/material/rollback`,
|
6679
6679
|
o
|
6680
6680
|
);
|
6681
6681
|
break;
|
6682
|
-
case
|
6682
|
+
case qo.IMAGE_PROMOTION:
|
6683
6683
|
i = He(Y.APP_ARTIFACT_PROMOTE_MATERIAL, r);
|
6684
6684
|
break;
|
6685
6685
|
// Meant for handling getCDMaterialList
|
@@ -6797,7 +6797,7 @@ const hI = (e, s) => {
|
|
6797
6797
|
we(n);
|
6798
6798
|
});
|
6799
6799
|
}, []), e;
|
6800
|
-
}, vl = 1,
|
6800
|
+
}, vl = 1, mi = () => {
|
6801
6801
|
const [e, s] = w(!1);
|
6802
6802
|
return {
|
6803
6803
|
isTextTruncated: e,
|
@@ -6817,7 +6817,7 @@ const hI = (e, s) => {
|
|
6817
6817
|
}, Ba = (e) => {
|
6818
6818
|
if (!e || !Array.isArray(e) || !e.every((s) => typeof s == "function"))
|
6819
6819
|
throw new Error("callback stack is undefined");
|
6820
|
-
}, gI = ["input", "textarea", "select"], xI = 300,
|
6820
|
+
}, gI = ["input", "textarea", "select"], xI = 300, lc = ({
|
6821
6821
|
shouldHookOntoWindow: e = !0,
|
6822
6822
|
ignoreTags: s,
|
6823
6823
|
preventDefault: n = !1,
|
@@ -6900,7 +6900,7 @@ const hI = (e, s) => {
|
|
6900
6900
|
SEARCH_KEY: "searchKey",
|
6901
6901
|
SORT_BY: "sortBy",
|
6902
6902
|
SORT_ORDER: "sortOrder"
|
6903
|
-
},
|
6903
|
+
}, dc = ({
|
6904
6904
|
initialSortKey: e,
|
6905
6905
|
defaultPageSize: s = en
|
6906
6906
|
} = {}) => {
|
@@ -6957,7 +6957,7 @@ const hI = (e, s) => {
|
|
6957
6957
|
};
|
6958
6958
|
}, Il = (e, s) => {
|
6959
6959
|
e && localStorage.setItem(e, s);
|
6960
|
-
}, CI = (e) => !e || !Object.keys(e).length ? !1 : Object.keys(e).some((s) => is(e[s]) ? !1 : Array.isArray(e[s]) || typeof e[s] == "string" ? e[s].length > 0 : !0), { PAGE_SIZE: Al, PAGE_NUMBER: vo, SEARCH_KEY: Rl, SORT_BY: yl, SORT_ORDER: jl } = EI,
|
6960
|
+
}, CI = (e) => !e || !Object.keys(e).length ? !1 : Object.keys(e).some((s) => is(e[s]) ? !1 : Array.isArray(e[s]) || typeof e[s] == "string" ? e[s].length > 0 : !0), { PAGE_SIZE: Al, PAGE_NUMBER: vo, SEARCH_KEY: Rl, SORT_BY: yl, SORT_ORDER: jl } = EI, uc = ({
|
6961
6961
|
initialSortKey: e,
|
6962
6962
|
parseSearchParams: s,
|
6963
6963
|
localStorageKey: n,
|
@@ -7092,7 +7092,7 @@ const Ol = () => ({
|
|
7092
7092
|
children: r,
|
7093
7093
|
...o
|
7094
7094
|
}) => {
|
7095
|
-
const { isTextTruncated: i, handleMouseEnterEvent: c } =
|
7095
|
+
const { isTextTruncated: i, handleMouseEnterEvent: c } = mi();
|
7096
7096
|
return n && i || !!e && (s === void 0 || s) || s ? /* @__PURE__ */ t.jsx(
|
7097
7097
|
Ie,
|
7098
7098
|
{
|
@@ -7226,7 +7226,7 @@ const sp = {
|
|
7226
7226
|
alwaysShowTippyOnHover: u && !!m?.content,
|
7227
7227
|
...m
|
7228
7228
|
};
|
7229
|
-
return /* @__PURE__ */ t.jsx(ee, { ...R(), children: /* @__PURE__ */ t.jsx("div", { className: `dc__inline-block ${x ? "w-100" : ""}`, children: /* @__PURE__ */ t.jsxs(
|
7229
|
+
return /* @__PURE__ */ t.jsx(ee, { ...R(), children: /* @__PURE__ */ t.jsx("div", { className: `dc__inline-block flex ${x ? "w-100" : ""}`, children: /* @__PURE__ */ t.jsxs(
|
7230
7230
|
yI,
|
7231
7231
|
{
|
7232
7232
|
ref: C,
|
@@ -7462,7 +7462,7 @@ const sp = {
|
|
7462
7462
|
}, Ll = {
|
7463
7463
|
title: "Resource not found",
|
7464
7464
|
subTitle: "The resource you are looking for does not exist"
|
7465
|
-
},
|
7465
|
+
}, mc = ({
|
7466
7466
|
isLoading: e,
|
7467
7467
|
progressingProps: s,
|
7468
7468
|
customLoader: n,
|
@@ -7492,7 +7492,7 @@ const sp = {
|
|
7492
7492
|
isResizable: d
|
7493
7493
|
}) => {
|
7494
7494
|
const u = !!(d && c && l), m = () => o ? e ? /* @__PURE__ */ t.jsx(
|
7495
|
-
|
7495
|
+
Bi,
|
7496
7496
|
{
|
7497
7497
|
className: `icon-dim-12 mw-12 scn-7 dc__no-shrink dc__transition--transform ${n !== be.DESC ? "dc__flip-180" : ""}`
|
7498
7498
|
}
|
@@ -7771,7 +7771,7 @@ const sp = {
|
|
7771
7771
|
name: r,
|
7772
7772
|
isVirtual: o ?? !1,
|
7773
7773
|
cluster: i,
|
7774
|
-
environmentType: c ?
|
7774
|
+
environmentType: c ? Qo.production : Qo.nonProduction,
|
7775
7775
|
namespace: l
|
7776
7776
|
})
|
7777
7777
|
).sort((a, r) => mt(a.name, r.name));
|
@@ -7856,16 +7856,16 @@ const sp = {
|
|
7856
7856
|
M(() => (window.addEventListener("beforeunload", s), () => {
|
7857
7857
|
window.removeEventListener("beforeunload", s);
|
7858
7858
|
}), [s]);
|
7859
|
-
},
|
7859
|
+
}, pi = 2, Pl = `${pi}px`, KI = 1, zI = "1px", qI = ({
|
7860
7860
|
stickyElementRef: e
|
7861
7861
|
}) => {
|
7862
7862
|
const s = window.getComputedStyle(e.current).top;
|
7863
7863
|
if (!s)
|
7864
7864
|
return Pl;
|
7865
7865
|
const n = /calc\(.*\)/g;
|
7866
|
-
return n.test(s) ? s.replace(n, (r) => `calc(${r} + ${
|
7866
|
+
return n.test(s) ? s.replace(n, (r) => `calc(${r} + ${pi}px)`) : s.replace(/\d+(\.\d+)?/g, (r) => {
|
7867
7867
|
const o = Number(r);
|
7868
|
-
return Number.isNaN(o) ? Pl : `${o +
|
7868
|
+
return Number.isNaN(o) ? Pl : `${o + pi}`;
|
7869
7869
|
});
|
7870
7870
|
}, mG = ({
|
7871
7871
|
containerSelector: e,
|
@@ -8143,7 +8143,7 @@ const JI = ({
|
|
8143
8143
|
}
|
8144
8144
|
);
|
8145
8145
|
}, sA = ({ name: e }) => /* @__PURE__ */ t.jsx("div", { className: "bg__secondary py-2 px-6 dc__mxw-200 br-4", children: /* @__PURE__ */ t.jsx(ee, { content: e, children: /* @__PURE__ */ t.jsx("span", { className: "dc__truncate cn-7 fs-12 fw-5 lh-16", children: e }) }) }), nA = ({ targetPlatforms: e }) => e?.length ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-start", children: [
|
8146
|
-
/* @__PURE__ */ t.jsx(
|
8146
|
+
/* @__PURE__ */ t.jsx(Fi, { className: "icon-dim-20 dc__no-shrink scn-7 p-2" }),
|
8147
8147
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__gap-6 flex-wrap", children: e.map(({ name: s }) => /* @__PURE__ */ t.jsx(sA, { name: s }, s)) })
|
8148
8148
|
] }) : null, aA = ({ targetPlatforms: e }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4 cursor-text", onClick: Re, children: [
|
8149
8149
|
/* @__PURE__ */ t.jsx("h6", { className: "m-0 fw-6 lh-18 fs-12", children: "Target platforms" }),
|
@@ -8228,7 +8228,7 @@ const JI = ({
|
|
8228
8228
|
innerProps: { onClick: n, onMouseDown: a }
|
8229
8229
|
} = e;
|
8230
8230
|
return /* @__PURE__ */ t.jsx(Ye.MultiValueRemove, { ...e, children: /* @__PURE__ */ t.jsx(
|
8231
|
-
|
8231
|
+
Yi,
|
8232
8232
|
{
|
8233
8233
|
onClick: n,
|
8234
8234
|
onMouseDown: a,
|
@@ -8280,8 +8280,8 @@ const JI = ({
|
|
8280
8280
|
...e,
|
8281
8281
|
color: "var(--N900)"
|
8282
8282
|
})
|
8283
|
-
}, CG = (e) => /* @__PURE__ */ t.jsx(
|
8284
|
-
var Ge = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(Ge || {}), Ls = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Ls || {}),
|
8283
|
+
}, CG = (e) => /* @__PURE__ */ t.jsx($i, { ...e });
|
8284
|
+
var Ge = /* @__PURE__ */ ((e) => (e.CI = "CI", e.CD = "CD", e.GROUP_CI = "GROUP_CI", e.GROUP_CD = "GROUP_CD", e))(Ge || {}), Ls = /* @__PURE__ */ ((e) => (e.SUCCESS = "SUCCESS", e.FETCHING = "FETCHING", e.SUSPEND = "SUSPEND", e))(Ls || {}), pc = /* @__PURE__ */ ((e) => (e.WORKFLOW = "workflow", e.POD = "pod", e))(pc || {}), Pe = /* @__PURE__ */ ((e) => (e.NOT_STARTED = "NOT_STARTED", e.RUNNING = "RUNNING", e.SUCCEEDED = "SUCCEEDED", e.FAILED = "FAILED", e.ABORTED = "ABORTED", e.TIMEOUT = "TIMEOUT", e.UNKNOWN = "UNKNOWN", e))(Pe || {}), _i = /* @__PURE__ */ ((e) => (e.PREPARATION = "Preparation", e.EXECUTION = "Execution", e))(_i || {}), iA = /* @__PURE__ */ ((e) => (e.Healthy = "Healthy", e.Progressing = "Progressing", e.Unknown = "Unknown", e.Suspended = "Suspended", e.Degraded = "Degraded", e.Missing = "Missing", e))(iA || {}), _s = /* @__PURE__ */ ((e) => (e.Degraded = "degraded", e.Healthy = "healthy", e.Progressing = "progressing", e.Missing = "missing", e.Suspended = "suspended", e.Unknown = "unknown", e))(_s || {}), eo = /* @__PURE__ */ ((e) => (e.drifted = "drifted", e))(eo || {});
|
8285
8285
|
const Ml = {
|
8286
8286
|
missing: 1,
|
8287
8287
|
degraded: 2,
|
@@ -8327,7 +8327,7 @@ const cA = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8327
8327
|
ERROR: "error"
|
8328
8328
|
}, jo = {
|
8329
8329
|
PENDING: "Pending"
|
8330
|
-
}, pA = "1", to = 1, _A = "devtron-ci", fA = "devtron-ci", Ga = 3, kl = "deployment-status", hA = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], Ul = "STAGE_INFO", gA = "|",
|
8330
|
+
}, pA = "1", to = 1, _A = "devtron-ci", fA = "devtron-ci", Ga = 3, kl = "deployment-status", hA = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], Ul = "STAGE_INFO", gA = "|", fi = {
|
8331
8331
|
suspended: "var(--Y500)",
|
8332
8332
|
unknown: "var(--N700)",
|
8333
8333
|
queued: "var(--N700)",
|
@@ -8395,7 +8395,7 @@ const cA = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8395
8395
|
title: et.CI_PROGRESS_VIEW.TITLE,
|
8396
8396
|
subTitle: et.CI_PROGRESS_VIEW.SUBTITLE
|
8397
8397
|
}
|
8398
|
-
),
|
8398
|
+
), hi = ({
|
8399
8399
|
type: e,
|
8400
8400
|
userApprovalMetadata: s,
|
8401
8401
|
triggeredBy: n,
|
@@ -8513,7 +8513,7 @@ const cA = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8513
8513
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
8514
8514
|
/* @__PURE__ */ t.jsxs("div", { className: `flex left column dc__gap-12 dc__content-start ${_ ?? ""}`, children: [
|
8515
8515
|
!!i && /* @__PURE__ */ t.jsx(
|
8516
|
-
|
8516
|
+
hi,
|
8517
8517
|
{
|
8518
8518
|
type: "artifact",
|
8519
8519
|
ciPipelineId: o,
|
@@ -8538,7 +8538,7 @@ const cA = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8538
8538
|
] })
|
8539
8539
|
}
|
8540
8540
|
),
|
8541
|
-
n && r && a && /* @__PURE__ */ t.jsx(
|
8541
|
+
n && r && a && /* @__PURE__ */ t.jsx(hi, { type: "report", renderCIListHeader: h, children: /* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
8542
8542
|
/* @__PURE__ */ t.jsx("div", { className: "cn-9 fs-14", children: "Reports.zip" }),
|
8543
8543
|
/* @__PURE__ */ t.jsxs(
|
8544
8544
|
"button",
|
@@ -8837,20 +8837,20 @@ const IA = (e, s) => {
|
|
8837
8837
|
stageIndex: e,
|
8838
8838
|
lineNumberInsideStage: s
|
8839
8839
|
}) => `${e}-${s}`, PA = (e) => {
|
8840
|
-
const s = e?.[
|
8840
|
+
const s = e?.[pc.POD]?.[0], { status: n, message: a, endTime: r, metadata: o } = s || {};
|
8841
8841
|
return {
|
8842
8842
|
status: n || Pe.UNKNOWN,
|
8843
8843
|
message: a || "",
|
8844
8844
|
clusterId: o?.clusterId || to,
|
8845
8845
|
endTime: Us(r) ? r : ""
|
8846
8846
|
};
|
8847
|
-
},
|
8847
|
+
}, _c = (e) => {
|
8848
8848
|
if (!Object.keys(e || {}).length)
|
8849
8849
|
return null;
|
8850
|
-
const s = e[
|
8851
|
-
(c) => c?.stageName ===
|
8850
|
+
const s = e[pc.WORKFLOW] || [], n = s.find(
|
8851
|
+
(c) => c?.stageName === _i.PREPARATION
|
8852
8852
|
), a = s.find(
|
8853
|
-
(c) => c?.stageName ===
|
8853
|
+
(c) => c?.stageName === _i.EXECUTION
|
8854
8854
|
), r = n?.startTime;
|
8855
8855
|
let o = Pe.UNKNOWN;
|
8856
8856
|
s.forEach(({ status: c }) => {
|
@@ -8877,7 +8877,7 @@ const IA = (e, s) => {
|
|
8877
8877
|
};
|
8878
8878
|
return s[e] ? /* @__PURE__ */ t.jsx(Ln, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(F, { name: "ic-help-outline", size: 20, color: "N500" });
|
8879
8879
|
}, MA = (e) => {
|
8880
|
-
const s =
|
8880
|
+
const s = _c(e);
|
8881
8881
|
return s ? s.finishedOn ? !Er[s.currentStatus] && Er[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(F, { name: "ic-warning", size: 20, color: null }) : up(s.workerDetails.status) : /* @__PURE__ */ t.jsx(F, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(F, { name: "ic-help-outline", size: 20, color: "N500" });
|
8882
8882
|
}, kA = (e = to, s = _A) => `${Se.RESOURCE_BROWSER}/${e}/${s}/pod/${Iv}`, mp = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === nn.WAITING_TO_START ? "Waiting to start" : e : null, no = (e) => Us(e) ? Oe(e, "YYYY-MM-DDTHH:mm:ssZ").format(Lt.TWELVE_HOURS_FORMAT) : "", UA = (e) => (e || []).reduce(
|
8883
8883
|
(s, n) => {
|
@@ -8914,7 +8914,7 @@ const IA = (e, s) => {
|
|
8914
8914
|
healthyNodeCount: r,
|
8915
8915
|
driftedNodeCount: o
|
8916
8916
|
}) => {
|
8917
|
-
const i = { status:
|
8917
|
+
const i = { status: ti, count: e }, c = [
|
8918
8918
|
{ status: _s.Missing, count: s },
|
8919
8919
|
{ status: _s.Degraded, count: n },
|
8920
8920
|
{
|
@@ -9144,7 +9144,7 @@ const Vl = () => {
|
|
9144
9144
|
const e = us.getValue().filter((s) => !!(!os.filterType && !os.searchString || os.filterType === "ALL" || os.filterType.toLowerCase() === s.health?.status?.toLowerCase() || os.filterType.toLowerCase() === eo.drifted && s.hasDrift));
|
9145
9145
|
Ja.next([...e]);
|
9146
9146
|
};
|
9147
|
-
function
|
9147
|
+
function fc(e, s, n) {
|
9148
9148
|
if (s.some((i) => i.childNodes))
|
9149
9149
|
return s;
|
9150
9150
|
let a = s;
|
@@ -9176,7 +9176,7 @@ function _c(e, s, n) {
|
|
9176
9176
|
const GA = (e, s) => e?.toLowerCase() == "degraded" || s?.toLowerCase() == "degraded" ? "degraded" : e?.toLowerCase() == "progressing" || s?.toLowerCase() == "progressing" ? "progressing" : "healthy";
|
9177
9177
|
function HA(e, s) {
|
9178
9178
|
const n = e.filter((a) => a.kind.toLowerCase() == s.toLowerCase()).map((a) => a);
|
9179
|
-
return
|
9179
|
+
return fc(e, n);
|
9180
9180
|
}
|
9181
9181
|
function YA(e) {
|
9182
9182
|
const s = [...e.filter((o) => o.kind.toLowerCase() == _e.Pod.toLowerCase())], n = /* @__PURE__ */ new Map();
|
@@ -9208,7 +9208,7 @@ function YA(e) {
|
|
9208
9208
|
}
|
9209
9209
|
const WA = (e, s) => {
|
9210
9210
|
const n = s.filter((o) => o.name.toLowerCase() == e.toLowerCase() && !o.parentRefs).map((o) => o);
|
9211
|
-
let a =
|
9211
|
+
let a = fc(s, n), r = [];
|
9212
9212
|
for (; a?.length > 0; )
|
9213
9213
|
r = r.concat(a.filter((o) => o.kind.toLowerCase() == _e.Pod.toLowerCase())), a = a.flatMap((o) => o.childNodes ?? []);
|
9214
9214
|
return r;
|
@@ -9224,7 +9224,7 @@ const WA = (e, s) => {
|
|
9224
9224
|
getEnvDetailsObservable: () => Oo.asObservable(),
|
9225
9225
|
publishAppDetails: (e, s) => {
|
9226
9226
|
const n = e.resourceTree?.nodes || [], a = e.resourceTree?.podMetadata || [];
|
9227
|
-
|
9227
|
+
fc(
|
9228
9228
|
n,
|
9229
9229
|
n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
|
9230
9230
|
a
|
@@ -9474,7 +9474,7 @@ const zA = {
|
|
9474
9474
|
return;
|
9475
9475
|
}
|
9476
9476
|
s.status === q.KUBECTL_APPLY_SYNCED && (e.resourceDetails = [], e.displaySubText = "", e.time = s.statusTime, e.icon = "success", e.subSteps = r.currentTableData);
|
9477
|
-
},
|
9477
|
+
}, gi = (e, s) => {
|
9478
9478
|
s && !_p[s.wfrStatus] && Cn(new Error(`New WFR status found: ${s?.wfrStatus}`));
|
9479
9479
|
const n = ZA(e, s), { deploymentStatus: a } = n;
|
9480
9480
|
if (!s?.timelines)
|
@@ -9713,7 +9713,7 @@ const mR = (e) => {
|
|
9713
9713
|
let i = {};
|
9714
9714
|
n.codeEditorValue?.resolvedValue && (i = JSON.parse(n.codeEditorValue.resolvedValue));
|
9715
9715
|
const c = a || Object.keys(o).some((l) => o[l] === "*****");
|
9716
|
-
n.codeEditorValue.value = c ? n.codeEditorValue.value : JSON.stringify(
|
9716
|
+
n.codeEditorValue.value = c ? n.codeEditorValue.value : JSON.stringify(ui(o)), n.codeEditorValue.resolvedValue = c ? n.codeEditorValue.resolvedValue : JSON.stringify(ui(i));
|
9717
9717
|
}
|
9718
9718
|
}
|
9719
9719
|
if (e.type) {
|
@@ -9761,7 +9761,7 @@ const mR = (e) => {
|
|
9761
9761
|
showCurrentReleaseDeployments: r = !1
|
9762
9762
|
}) => {
|
9763
9763
|
const o = He(
|
9764
|
-
`${Y.RESOURCE_HISTORY_DEPLOYMENT}/${rt.cdPipeline}/${
|
9764
|
+
`${Y.RESOURCE_HISTORY_DEPLOYMENT}/${rt.cdPipeline}/${zi.v1}`,
|
9765
9765
|
{
|
9766
9766
|
filterCriteria: wA({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
|
9767
9767
|
offset: n.offset,
|
@@ -9992,7 +9992,7 @@ const hR = ({
|
|
9992
9992
|
}) => {
|
9993
9993
|
const u = Ur(), { url: m } = bs(), { appId: p, envId: _, triggerId: h } = Pt(), [x, g] = w(
|
9994
9994
|
e?.toUpperCase() !== q.ABORTED
|
9995
|
-
), E = KA.getAppDetails(), f = $(i), C = $(d), N = f.current && c ? c() :
|
9995
|
+
), E = KA.getAppDetails(), f = $(i), C = $(d), N = f.current && c ? c() : gi(s ?? E?.deploymentAppType), [S, b] = w(N), I = () => {
|
9996
9996
|
Ha && clearTimeout(Ha);
|
9997
9997
|
}, y = () => {
|
9998
9998
|
dR(p, _, !0, h, n, a).then((v) => {
|
@@ -10014,7 +10014,7 @@ const hR = ({
|
|
10014
10014
|
C.current = d;
|
10015
10015
|
}, [d]);
|
10016
10016
|
const T = (v) => {
|
10017
|
-
const j = f.current && c ? c(v) :
|
10017
|
+
const j = f.current && c ? c(v) : gi(
|
10018
10018
|
v.deploymentAppType,
|
10019
10019
|
v
|
10020
10020
|
);
|
@@ -10245,7 +10245,7 @@ const Dn = ({
|
|
10245
10245
|
code: ze.UNAUTHORIZED,
|
10246
10246
|
title: nt.UNAUTHORIZED,
|
10247
10247
|
subTitle: n || nt.UNAUTHORIZED_MESSAGE,
|
10248
|
-
image:
|
10248
|
+
image: zo,
|
10249
10249
|
imageType: o
|
10250
10250
|
}
|
10251
10251
|
);
|
@@ -10256,7 +10256,7 @@ const Dn = ({
|
|
10256
10256
|
code: ze.PERMISSION_DENIED,
|
10257
10257
|
title: nt.FORBIDDEN,
|
10258
10258
|
subTitle: n || nt.FORBIDDEN_MESSAGE,
|
10259
|
-
image:
|
10259
|
+
image: zo,
|
10260
10260
|
imageType: o
|
10261
10261
|
}
|
10262
10262
|
);
|
@@ -10327,7 +10327,7 @@ const Dn = ({
|
|
10327
10327
|
}, a);
|
10328
10328
|
}, p = async (x) => {
|
10329
10329
|
try {
|
10330
|
-
x ? await
|
10330
|
+
x ? await wc(e) : await r, c?.(), m();
|
10331
10331
|
} catch {
|
10332
10332
|
Ne();
|
10333
10333
|
}
|
@@ -10392,7 +10392,7 @@ const Dn = ({
|
|
10392
10392
|
{
|
10393
10393
|
className: `code-editor__warning fs-12 fw-4 lh-16 cn-9 py-8 px-16 bcy-1 dc__border-bottom-y2 dc__height-auto ${e || ""}`,
|
10394
10394
|
children: [
|
10395
|
-
/* @__PURE__ */ t.jsx(
|
10395
|
+
/* @__PURE__ */ t.jsx(Gi, { className: "code-editor__status-info-icon" }),
|
10396
10396
|
s,
|
10397
10397
|
n
|
10398
10398
|
]
|
@@ -10566,7 +10566,7 @@ const Dn = ({
|
|
10566
10566
|
]
|
10567
10567
|
}
|
10568
10568
|
);
|
10569
|
-
}, Sa = pu.define(), Np =
|
10569
|
+
}, Sa = pu.define(), Np = Li.define({
|
10570
10570
|
create() {
|
10571
10571
|
return !1;
|
10572
10572
|
},
|
@@ -10574,9 +10574,9 @@ const Dn = ({
|
|
10574
10574
|
const n = s.effects.find((a) => a.is(Sa));
|
10575
10575
|
return n ? n.value : e;
|
10576
10576
|
}
|
10577
|
-
}),
|
10578
|
-
effects: [Sa.of(nf(e.state) ?
|
10579
|
-
}), af(e), !0), LR = (e) => (bp(e), e.dispatch({ effects: [Sa.of(!e.state.readOnly && !0)] }), !0), DR = (e) => (
|
10577
|
+
}), hc = (e) => e.field(Np, !1) || !1, bp = (e) => (e.dispatch({
|
10578
|
+
effects: [Sa.of(nf(e.state) ? hc(e.state) : !1)]
|
10579
|
+
}), af(e), !0), LR = (e) => (bp(e), e.dispatch({ effects: [Sa.of(!e.state.readOnly && !0)] }), !0), DR = (e) => (hc(e.state) && _u(e), !0), PR = (e) => (e.contentDOM.blur(), !0), MR = fu.define(), kR = fu.define(), Hl = (e, s, n) => {
|
10580
10580
|
let a = null;
|
10581
10581
|
try {
|
10582
10582
|
a = JSON.parse(e);
|
@@ -10640,8 +10640,8 @@ const Dn = ({
|
|
10640
10640
|
const a = n === "a" ? MR : kR;
|
10641
10641
|
s.forEach((r) => {
|
10642
10642
|
if (!r.changes.empty && !r.annotation(a)) {
|
10643
|
-
const o = [a.of(!0)], i = r.annotation(
|
10644
|
-
i && o.push(
|
10643
|
+
const o = [a.of(!0)], i = r.annotation(Fc.userEvent);
|
10644
|
+
i && o.push(Fc.userEvent.of(i)), I_(
|
10645
10645
|
() => e[n].dispatch({
|
10646
10646
|
changes: r.changes,
|
10647
10647
|
annotations: o
|
@@ -10665,7 +10665,7 @@ const Dn = ({
|
|
10665
10665
|
style: { "--rotateBy": e ? "0deg" : "-90deg" }
|
10666
10666
|
}
|
10667
10667
|
);
|
10668
|
-
return s.innerHTML =
|
10668
|
+
return s.innerHTML = Di.renderToString(n), s;
|
10669
10669
|
}, Kl = (e) => (s) => {
|
10670
10670
|
const n = document.createElement("div"), a = /* @__PURE__ */ t.jsxs("div", { className: "code-editor__schema-tooltip dc__mxw-300 flexbox-col px-10 py-6 br-4 fs-12 lh-18 text__white", children: [
|
10671
10671
|
s.message && /* @__PURE__ */ t.jsx("p", { className: "m-0", children: s.message }),
|
@@ -10689,10 +10689,10 @@ const Dn = ({
|
|
10689
10689
|
}
|
10690
10690
|
)
|
10691
10691
|
] });
|
10692
|
-
return n.innerHTML =
|
10692
|
+
return n.innerHTML = Di.renderToString(a), n;
|
10693
10693
|
}, BR = () => {
|
10694
10694
|
const e = document.createElement("div"), s = /* @__PURE__ */ t.jsx("div", { className: "code-editor__read-only-tooltip py-6 px-10 br-4 text__white", children: /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-18", children: "Cannot edit in read-only editor" }) });
|
10695
|
-
return e.innerHTML =
|
10695
|
+
return e.innerHTML = Di.renderToString(s), e;
|
10696
10696
|
}, VR = () => {
|
10697
10697
|
const e = document.createElement("button");
|
10698
10698
|
return Mu(
|
@@ -10706,9 +10706,9 @@ const Dn = ({
|
|
10706
10706
|
case it.YAML:
|
10707
10707
|
return [cf(), ...s ? [] : [cr(QR())]];
|
10708
10708
|
case it.SHELL:
|
10709
|
-
return
|
10709
|
+
return kc.define(of);
|
10710
10710
|
case it.DOCKERFILE:
|
10711
|
-
return
|
10711
|
+
return kc.define(rf);
|
10712
10712
|
default:
|
10713
10713
|
return [];
|
10714
10714
|
}
|
@@ -10723,32 +10723,32 @@ const Dn = ({
|
|
10723
10723
|
case it.JSON:
|
10724
10724
|
return [
|
10725
10725
|
cr(ff(), {
|
10726
|
-
needsRefresh:
|
10726
|
+
needsRefresh: Bc
|
10727
10727
|
}),
|
10728
10728
|
_f.data.of({
|
10729
10729
|
autocomplete: hf()
|
10730
10730
|
}),
|
10731
|
-
|
10731
|
+
Uc(
|
10732
10732
|
gf({
|
10733
10733
|
formatHover: Kl(n)
|
10734
10734
|
})
|
10735
10735
|
),
|
10736
|
-
|
10736
|
+
$c(s)
|
10737
10737
|
];
|
10738
10738
|
case it.YAML:
|
10739
10739
|
return [
|
10740
10740
|
cr(uf(), {
|
10741
|
-
needsRefresh:
|
10741
|
+
needsRefresh: Bc
|
10742
10742
|
}),
|
10743
10743
|
df.data.of({
|
10744
10744
|
autocomplete: mf()
|
10745
10745
|
}),
|
10746
|
-
|
10746
|
+
Uc(
|
10747
10747
|
pf({
|
10748
10748
|
formatHover: Kl(n)
|
10749
10749
|
})
|
10750
10750
|
),
|
10751
|
-
|
10751
|
+
$c(s)
|
10752
10752
|
];
|
10753
10753
|
default:
|
10754
10754
|
return [];
|
@@ -10785,7 +10785,7 @@ const Dn = ({
|
|
10785
10785
|
}
|
10786
10786
|
) });
|
10787
10787
|
}, HR = ({ view: e, defaultQuery: s, defaultShowReplace: n, onSearchBarAction: a }) => {
|
10788
|
-
const [r, o] = w(new
|
10788
|
+
const [r, o] = w(new Vc({ search: "" })), [i, c] = w({ count: 0, current: 1 }), [l, d] = w(n), u = !i.count, m = e.state.readOnly, p = ({
|
10789
10789
|
caseSensitive: D = r.caseSensitive,
|
10790
10790
|
regexp: k = r.regexp,
|
10791
10791
|
replace: B = r.replace,
|
@@ -10793,7 +10793,7 @@ const Dn = ({
|
|
10793
10793
|
wholeWord: Q = r.wholeWord
|
10794
10794
|
}) => {
|
10795
10795
|
a();
|
10796
|
-
const J = new
|
10796
|
+
const J = new Vc({
|
10797
10797
|
caseSensitive: D,
|
10798
10798
|
regexp: k,
|
10799
10799
|
replace: B,
|
@@ -10822,11 +10822,11 @@ const Dn = ({
|
|
10822
10822
|
}, E = (D) => {
|
10823
10823
|
p({ replace: D.target.value });
|
10824
10824
|
}, f = (D) => {
|
10825
|
-
D.stopPropagation(), D.key === "Enter" && (D.preventDefault(), a(),
|
10825
|
+
D.stopPropagation(), D.key === "Enter" && (D.preventDefault(), a(), Gc(e));
|
10826
10826
|
}, C = () => {
|
10827
10827
|
Tf(e);
|
10828
10828
|
}, N = () => {
|
10829
|
-
a(),
|
10829
|
+
a(), Gc(e);
|
10830
10830
|
}, S = () => {
|
10831
10831
|
a(), _u(e);
|
10832
10832
|
}, b = (D) => {
|
@@ -10913,7 +10913,7 @@ const Dn = ({
|
|
10913
10913
|
dataTestId: "find-previous-button",
|
10914
10914
|
ariaLabel: "find-previous-button",
|
10915
10915
|
showAriaLabelInTippy: !1,
|
10916
|
-
icon: /* @__PURE__ */ t.jsx(
|
10916
|
+
icon: /* @__PURE__ */ t.jsx(Ko, { className: "rotate", style: { "--rotateBy": "180deg" } }),
|
10917
10917
|
variant: z.borderLess,
|
10918
10918
|
style: ce.neutral,
|
10919
10919
|
size: L.xxs,
|
@@ -10935,7 +10935,7 @@ const Dn = ({
|
|
10935
10935
|
dataTestId: "find-next-button",
|
10936
10936
|
ariaLabel: "find-next-button",
|
10937
10937
|
showAriaLabelInTippy: !1,
|
10938
|
-
icon: /* @__PURE__ */ t.jsx(
|
10938
|
+
icon: /* @__PURE__ */ t.jsx(Ko, {}),
|
10939
10939
|
variant: z.borderLess,
|
10940
10940
|
style: ce.neutral,
|
10941
10941
|
size: L.xxs,
|
@@ -11056,7 +11056,7 @@ const Dn = ({
|
|
11056
11056
|
j(),
|
11057
11057
|
P()
|
11058
11058
|
] }),
|
11059
|
-
/* @__PURE__ */ t.jsx(
|
11059
|
+
/* @__PURE__ */ t.jsx(gc, { expand: l, children: O() })
|
11060
11060
|
] })
|
11061
11061
|
] });
|
11062
11062
|
}, YR = (e) => (s) => {
|
@@ -11071,7 +11071,7 @@ const Dn = ({
|
|
11071
11071
|
{
|
11072
11072
|
view: s,
|
11073
11073
|
defaultQuery: Cf(s.state),
|
11074
|
-
defaultShowReplace:
|
11074
|
+
defaultShowReplace: hc(s.state),
|
11075
11075
|
onSearchBarAction: e
|
11076
11076
|
}
|
11077
11077
|
),
|
@@ -11095,12 +11095,12 @@ const Dn = ({
|
|
11095
11095
|
mount: o,
|
11096
11096
|
update: i
|
11097
11097
|
};
|
11098
|
-
}, WR = ["ArrowUp", "ArrowRight", "ArrowDown", "ArrowLeft", "Enter", "Escape"],
|
11098
|
+
}, WR = ["ArrowUp", "ArrowRight", "ArrowDown", "ArrowLeft", "Enter", "Escape"], xi = pu.define(), KR = Li.define({
|
11099
11099
|
// Initializes the tooltip state as null
|
11100
11100
|
create: () => null,
|
11101
11101
|
// Updates the tooltip state based on the dispatched effects
|
11102
11102
|
update: (e, s) => {
|
11103
|
-
const n = s.effects.find((a) => a.is(
|
11103
|
+
const n = s.effects.find((a) => a.is(xi));
|
11104
11104
|
return n ? n.value : e;
|
11105
11105
|
},
|
11106
11106
|
// Provides the tooltip to the editor's UI
|
@@ -11127,8 +11127,8 @@ const Dn = ({
|
|
11127
11127
|
if (!this.view.state.readOnly || WR.includes(e.key) || e.metaKey || e.shiftKey || e.altKey || e.ctrlKey)
|
11128
11128
|
return;
|
11129
11129
|
const s = zR(this.view);
|
11130
|
-
this.view.dispatch({ effects:
|
11131
|
-
this.view.dispatch({ effects:
|
11130
|
+
this.view.dispatch({ effects: xi.of(s) }), this.timeoutId && clearTimeout(this.timeoutId), this.timeoutId = setTimeout(() => {
|
11131
|
+
this.view.dispatch({ effects: xi.of(null) });
|
11132
11132
|
}, yR);
|
11133
11133
|
});
|
11134
11134
|
this.view = e, this.view.dom.addEventListener("keydown", this.handleKeyPress);
|
@@ -11148,15 +11148,15 @@ const Dn = ({
|
|
11148
11148
|
if (r) {
|
11149
11149
|
const o = e.sliceDoc(r.from, r.to).trim();
|
11150
11150
|
XR(o) && s.push(
|
11151
|
-
|
11151
|
+
Hc.mark({
|
11152
11152
|
class: Tp(o) ? "cm-highlight-bool" : "cm-highlight-number"
|
11153
11153
|
}).range(r.from, r.to)
|
11154
11154
|
);
|
11155
11155
|
}
|
11156
11156
|
}
|
11157
11157
|
}
|
11158
|
-
}),
|
11159
|
-
}, JR =
|
11158
|
+
}), Hc.set(s);
|
11159
|
+
}, JR = Li.define({
|
11160
11160
|
create(e) {
|
11161
11161
|
return ql(e);
|
11162
11162
|
},
|
@@ -11279,7 +11279,7 @@ const Dn = ({
|
|
11279
11279
|
N || Yl(G.current, de.transactions, "b");
|
11280
11280
|
}), fe = () => {
|
11281
11281
|
A?.destroy(), B.current?.destroy();
|
11282
|
-
const de = new
|
11282
|
+
const de = new Yc({
|
11283
11283
|
a: {
|
11284
11284
|
doc: b,
|
11285
11285
|
extensions: [...l, te]
|
@@ -11295,7 +11295,7 @@ const Dn = ({
|
|
11295
11295
|
});
|
11296
11296
|
if (B.current = de, R(de), !N && de && Q.current) {
|
11297
11297
|
v?.destroy(), G.current?.destroy();
|
11298
|
-
const K = new
|
11298
|
+
const K = new Yc({
|
11299
11299
|
a: {
|
11300
11300
|
doc: b,
|
11301
11301
|
extensions: f
|
@@ -11464,7 +11464,7 @@ const Dn = ({
|
|
11464
11464
|
}, Ce = (V) => {
|
11465
11465
|
le(V);
|
11466
11466
|
}, Le = (V) => (y(), bp(V)), ot = (V) => (y(), LR(V)), We = () => [
|
11467
|
-
|
11467
|
+
Wc(de),
|
11468
11468
|
yf({ closeOnBlur: !1 }),
|
11469
11469
|
Te,
|
11470
11470
|
jf.of([
|
@@ -11500,7 +11500,7 @@ const Dn = ({
|
|
11500
11500
|
ho.readOnly.of(j)
|
11501
11501
|
], At = [
|
11502
11502
|
J,
|
11503
|
-
|
11503
|
+
Wc({
|
11504
11504
|
...de,
|
11505
11505
|
drawSelection: !1,
|
11506
11506
|
lineNumbers: !1,
|
@@ -11572,7 +11572,7 @@ const Sp = ({
|
|
11572
11572
|
);
|
11573
11573
|
};
|
11574
11574
|
var Gt = /* @__PURE__ */ ((e) => (e.NO_DIFF = "noDiff", e.HAS_DIFF = "hasDiff", e.ADDED = "added", e.DELETED = "deleted", e))(Gt || {});
|
11575
|
-
const
|
11575
|
+
const gc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t.jsx(an, { children: e && /* @__PURE__ */ t.jsx(
|
11576
11576
|
ke.div,
|
11577
11577
|
{
|
11578
11578
|
initial: { height: 0, opacity: 0 },
|
@@ -11640,7 +11640,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11640
11640
|
]
|
11641
11641
|
}
|
11642
11642
|
),
|
11643
|
-
/* @__PURE__ */ t.jsx(
|
11643
|
+
/* @__PURE__ */ t.jsx(gc, { expand: i, onTransitionEnd: l, children: a })
|
11644
11644
|
] }), Ap = $t({
|
11645
11645
|
name: "",
|
11646
11646
|
value: "",
|
@@ -11676,7 +11676,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11676
11676
|
radioSelectConfig: e,
|
11677
11677
|
position: s = "bottom"
|
11678
11678
|
}) => {
|
11679
|
-
const { open: n, closePopover: a, overlayProps: r, popoverProps: o, triggerProps: i, scrollableRef: c } =
|
11679
|
+
const { open: n, closePopover: a, overlayProps: r, popoverProps: o, triggerProps: i, scrollableRef: c } = nc({
|
11680
11680
|
id: "deployment-config",
|
11681
11681
|
width: 300,
|
11682
11682
|
position: s,
|
@@ -11686,7 +11686,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11686
11686
|
/* @__PURE__ */ t.jsx(F, { name: "ic-caret-left", color: null, size: 20, rotateBy: n ? 90 : -90 })
|
11687
11687
|
] });
|
11688
11688
|
return /* @__PURE__ */ t.jsx(
|
11689
|
-
|
11689
|
+
sc,
|
11690
11690
|
{
|
11691
11691
|
open: n,
|
11692
11692
|
triggerElement: u(),
|
@@ -11802,7 +11802,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11802
11802
|
style: ce.neutral,
|
11803
11803
|
size: L.small,
|
11804
11804
|
startIcon: N ? /* @__PURE__ */ t.jsx(
|
11805
|
-
|
11805
|
+
Bi,
|
11806
11806
|
{
|
11807
11807
|
className: "rotate",
|
11808
11808
|
style: {
|
@@ -11975,7 +11975,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11975
11975
|
onClick: (_) => n(c, _),
|
11976
11976
|
children: [
|
11977
11977
|
/* @__PURE__ */ t.jsx(
|
11978
|
-
|
11978
|
+
Wo,
|
11979
11979
|
{
|
11980
11980
|
className: "icon-dim-20 fcn-6 dc__no-shrink cursor rotate",
|
11981
11981
|
style: { "--rotateBy": p ? "0deg" : "-90deg" }
|
@@ -12008,7 +12008,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12008
12008
|
}
|
12009
12009
|
)
|
12010
12010
|
] }),
|
12011
|
-
/* @__PURE__ */ t.jsx(
|
12011
|
+
/* @__PURE__ */ t.jsx(gc, { expand: p, children: /* @__PURE__ */ t.jsx("div", { className: "collapsible ml-18 pl-4 dc__border-left", children: u.length ? u.map(
|
12012
12012
|
(_) => s === "button" ? o(_) : i(_)
|
12013
12013
|
) : /* @__PURE__ */ t.jsx("div", { className: "collapsible__item flexbox dc__gap-8 dc__no-decor no-hover br-4 py-6 px-8", children: /* @__PURE__ */ t.jsx("span", { className: "collapsible__item__title dc__truncate fs-13 lh-20 cn-5", children: m || "No items found." }) }) }) })
|
12014
12014
|
] }, c)) });
|
@@ -12528,7 +12528,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12528
12528
|
onClick: () => {
|
12529
12529
|
document.querySelector(`#${C.id}`)?.scrollIntoView({ block: "start" });
|
12530
12530
|
},
|
12531
|
-
Icon:
|
12531
|
+
Icon: Yo
|
12532
12532
|
},
|
12533
12533
|
...b ? [
|
12534
12534
|
{
|
@@ -12538,7 +12538,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12538
12538
|
onClick: () => {
|
12539
12539
|
document.querySelector(`#${b.id}`)?.scrollIntoView({ block: "start" });
|
12540
12540
|
},
|
12541
|
-
Icon:
|
12541
|
+
Icon: Yo
|
12542
12542
|
}
|
12543
12543
|
] : []
|
12544
12544
|
], R = [
|
@@ -12607,10 +12607,10 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12607
12607
|
}, bG = (e) => e.reduce(
|
12608
12608
|
(s, n) => ({
|
12609
12609
|
...s,
|
12610
|
-
...n.type ===
|
12610
|
+
...n.type === ai.DefaultVersions && n.chartType === "Deployment" ? {
|
12611
12611
|
defaultVersions: [...s.defaultVersions, n]
|
12612
12612
|
} : s.defaultVersions,
|
12613
|
-
...n.type ===
|
12613
|
+
...n.type === ai.DeployedOnSelfEnvironment ? {
|
12614
12614
|
previousDeployments: [...s.previousDeployments, n]
|
12615
12615
|
} : s.previousDeployments
|
12616
12616
|
}),
|
@@ -12635,7 +12635,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12635
12635
|
to: u,
|
12636
12636
|
children: [
|
12637
12637
|
/* @__PURE__ */ t.jsxs("p", { className: "m-0 flex dc__gap-8", children: [
|
12638
|
-
/* @__PURE__ */ t.jsx(
|
12638
|
+
/* @__PURE__ */ t.jsx(Yo, { className: "icon-dim-20 scn-6" }),
|
12639
12639
|
/* @__PURE__ */ t.jsx(
|
12640
12640
|
"span",
|
12641
12641
|
{
|
@@ -12850,7 +12850,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12850
12850
|
const { path: l, params: d } = bs(), { pathname: u, search: m } = ss(), { isSuperAdmin: p } = Ss(), _ = X(() => Rp(r), [r]), { currentWfrId: h, previousWfrId: x } = X(
|
12851
12851
|
() => b0({ pipelineDeployments: _, wfrId: a }),
|
12852
12852
|
[_, a]
|
12853
|
-
), g = !!x, E =
|
12853
|
+
), g = !!x, E = uc({
|
12854
12854
|
parseSearchParams: S0(x)
|
12855
12855
|
}), { compareWfrId: f, sortBy: C, sortOrder: N } = E, [S, b] = w(!1), [I, y, , T] = vt(async () => {
|
12856
12856
|
const G = [
|
@@ -13115,7 +13115,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13115
13115
|
index: i,
|
13116
13116
|
isExcluded: c = !1
|
13117
13117
|
}) => {
|
13118
|
-
const l =
|
13118
|
+
const l = ic(n), d = e === es.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl : Na(r, l.commit), p = (I) => I ? /* @__PURE__ */ t.jsx(
|
13119
13119
|
"a",
|
13120
13120
|
{
|
13121
13121
|
href: hI(r, I),
|
@@ -13130,7 +13130,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13130
13130
|
const y = Xm(e, n);
|
13131
13131
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 w-100", children: [
|
13132
13132
|
I ? /* @__PURE__ */ t.jsxs("div", { className: "flex left lh-20 dc__gap-8 w-100", children: [
|
13133
|
-
/* @__PURE__ */ t.jsx(
|
13133
|
+
/* @__PURE__ */ t.jsx(Vi, { className: "icon-dim-16" }),
|
13134
13134
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left dc__gap-4", children: [
|
13135
13135
|
"Merge commit into ",
|
13136
13136
|
p(u.data["target branch name"]),
|
@@ -13139,7 +13139,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13139
13139
|
] })
|
13140
13140
|
] }) : null,
|
13141
13141
|
u.data.author ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
|
13142
|
-
/* @__PURE__ */ t.jsx(
|
13142
|
+
/* @__PURE__ */ t.jsx(Ho, { className: "icon-dim-16 scn-7" }),
|
13143
13143
|
" ",
|
13144
13144
|
u.data.author
|
13145
13145
|
] }) : null,
|
@@ -13271,7 +13271,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13271
13271
|
) : null,
|
13272
13272
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
13273
13273
|
l.author ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
13274
|
-
/* @__PURE__ */ t.jsx(
|
13274
|
+
/* @__PURE__ */ t.jsx(Ho, { className: "icon-dim-16 scn-7" }),
|
13275
13275
|
/* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
|
13276
13276
|
" ",
|
13277
13277
|
l.author
|
@@ -13397,7 +13397,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13397
13397
|
) : null;
|
13398
13398
|
}),
|
13399
13399
|
n && /* @__PURE__ */ t.jsx("div", { className: "history-component__artifact flex left column", children: /* @__PURE__ */ t.jsx(
|
13400
|
-
|
13400
|
+
hi,
|
13401
13401
|
{
|
13402
13402
|
type: "deployed-artifact",
|
13403
13403
|
userApprovalMetadata: a,
|
@@ -13483,7 +13483,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13483
13483
|
targetPlatforms: p,
|
13484
13484
|
appendTo: E,
|
13485
13485
|
children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
13486
|
-
/* @__PURE__ */ t.jsx(
|
13486
|
+
/* @__PURE__ */ t.jsx(Fi, { className: "dc__no-shrink icon-stroke__white icon-dim-12" }),
|
13487
13487
|
/* @__PURE__ */ t.jsxs("span", { className: "text__white fs-13 fw-4 lh-20", children: [
|
13488
13488
|
p.length,
|
13489
13489
|
" target platform",
|
@@ -13577,7 +13577,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13577
13577
|
}, $0 = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
|
13578
13578
|
const { pipelineId: r, envId: o, appId: i } = Pt(), c = $(null), l = n === Ge.CI ? `${ur}/${Y.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${ur}/${Y.CD_MATERIAL_GET}/workflow/logs/${i}/${o}/${r}/${e.id}`, [d, u, m] = U0(
|
13579
13579
|
e.podStatus && e.podStatus !== jo.PENDING && l
|
13580
|
-
), [p, _] = w([]), [h, x] = w([]), [g, E] = w(0), [f, C] = w([]), { searchKey: N, handleSearch: S } =
|
13580
|
+
), [p, _] = w([]), [h, x] = w([]), [g, E] = w(0), [f, C] = w([]), { searchKey: N, handleSearch: S } = uc(), b = h.length > 0, I = X(() => p.every((W) => W.isOpen), [p]), y = I ? "Collapse all stages" : "Expand all stages", { registerShortcut: T, unregisterShortcut: A } = wn(), R = d[0]?.startsWith(Ul) || !1;
|
13581
13581
|
function v({
|
13582
13582
|
log: W,
|
13583
13583
|
currentIndex: re = -1,
|
@@ -14022,7 +14022,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14022
14022
|
}
|
14023
14023
|
}
|
14024
14024
|
) });
|
14025
|
-
}, wp = () =>
|
14025
|
+
}, wp = () => ei, AG = (e) => e && (e.inputValue === "" || e.inputValue.length < 3) ? Bb : wp(), F0 = (e = {}) => ({
|
14026
14026
|
container: (s, n) => ({
|
14027
14027
|
...s,
|
14028
14028
|
...n.isDisabled && {
|
@@ -14207,7 +14207,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14207
14207
|
i(),
|
14208
14208
|
Jn(n[1])
|
14209
14209
|
] }) });
|
14210
|
-
},
|
14210
|
+
}, Ei = ({ handleClick: e = Ne, commits: s }) => s?.length > 0 ? /* @__PURE__ */ t.jsx("div", { className: "flexbox", children: /* @__PURE__ */ t.jsxs(
|
14211
14211
|
"button",
|
14212
14212
|
{
|
14213
14213
|
type: "button",
|
@@ -14247,7 +14247,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14247
14247
|
/* @__PURE__ */ t.jsx("span", { className: "cn-7 dc__word-break fs-13 fw-4 lh-16", children: i })
|
14248
14248
|
] }),
|
14249
14249
|
r?.Commit && /* @__PURE__ */ t.jsx(
|
14250
|
-
|
14250
|
+
Ei,
|
14251
14251
|
{
|
14252
14252
|
commits: [r.Commit],
|
14253
14253
|
handleClick: oa(
|
@@ -14321,12 +14321,12 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14321
14321
|
gitTriggers: o,
|
14322
14322
|
ciMaterials: i
|
14323
14323
|
}) => {
|
14324
|
-
const c =
|
14324
|
+
const c = _c(e);
|
14325
14325
|
return /* @__PURE__ */ t.jsxs("div", { className: "shadow__overlay p-16 br-4 w-350 bg__overlay--primary border__primary mxh-300 dc__overflow-auto flexbox-col dc__gap-16", children: [
|
14326
14326
|
/* @__PURE__ */ t.jsxs("div", { className: "dc__icon-text-layout", children: [
|
14327
14327
|
/* @__PURE__ */ t.jsx(ea, { className: `scn-7 ${pd}` }),
|
14328
14328
|
/* @__PURE__ */ t.jsx("time", { className: "cn-9 fs-12 cn-9 fw-4 lh-20", children: c?.triggeredOn ? no(c.triggeredOn) : "--" }),
|
14329
|
-
/* @__PURE__ */ t.jsx(
|
14329
|
+
/* @__PURE__ */ t.jsx(Ho, { className: `fcn-7 ${pd}` }),
|
14330
14330
|
/* @__PURE__ */ t.jsx(ee, { content: s, children: /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-12 fw-4 lh-20 dc__truncate", children: s }) }),
|
14331
14331
|
/* @__PURE__ */ t.jsx(
|
14332
14332
|
Dp,
|
@@ -14360,7 +14360,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14360
14360
|
}) => {
|
14361
14361
|
const i = n === 1 ? "auto trigger" : a;
|
14362
14362
|
return /* @__PURE__ */ t.jsxs("div", { className: "shadow__overlay p-16 br-4 w-400 bg__overlay--primary border__primary mxh-300 dc__overflow-auto", children: [
|
14363
|
-
/* @__PURE__ */ t.jsx("span", { className: "fw-6 fs-16 mb-4", style: { color:
|
14363
|
+
/* @__PURE__ */ t.jsx("span", { className: "fw-6 fs-16 mb-4", style: { color: fi[e.toLowerCase()] }, children: mp(e) }),
|
14364
14364
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column left", children: [
|
14365
14365
|
/* @__PURE__ */ t.jsxs("div", { className: "flex left fs-12 cn-7", children: [
|
14366
14366
|
/* @__PURE__ */ t.jsx("div", { className: "dc__no-shrink", children: Oe(s).format(Lt.TWELVE_HOURS_FORMAT) }),
|
@@ -14550,7 +14550,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14550
14550
|
}
|
14551
14551
|
),
|
14552
14552
|
/* @__PURE__ */ t.jsx(
|
14553
|
-
|
14553
|
+
$i,
|
14554
14554
|
{
|
14555
14555
|
classNamePrefix: "history-pipeline-dropdown",
|
14556
14556
|
value: f,
|
@@ -14876,7 +14876,7 @@ const hc = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14876
14876
|
},
|
14877
14877
|
startIcon: /* @__PURE__ */ t.jsx(rs, { registryType: Ze.OTHER })
|
14878
14878
|
}
|
14879
|
-
},
|
14879
|
+
}, xc = ({
|
14880
14880
|
imagePath: e,
|
14881
14881
|
registryType: s,
|
14882
14882
|
handleClick: n,
|
@@ -14917,7 +14917,7 @@ const Q0 = (e) => {
|
|
14917
14917
|
case Kt.delete:
|
14918
14918
|
return /* @__PURE__ */ t.jsx(Lg, {});
|
14919
14919
|
case Kt.warning:
|
14920
|
-
return /* @__PURE__ */ t.jsx(
|
14920
|
+
return /* @__PURE__ */ t.jsx(Gi, {});
|
14921
14921
|
default:
|
14922
14922
|
return /* @__PURE__ */ t.jsx(wg, {});
|
14923
14923
|
}
|
@@ -15037,7 +15037,7 @@ const Q0 = (e) => {
|
|
15037
15037
|
s.current = {
|
15038
15038
|
setProps: a
|
15039
15039
|
};
|
15040
|
-
}, []), /* @__PURE__ */ t.jsx(
|
15040
|
+
}, []), /* @__PURE__ */ t.jsx(lc, { ignoreTags: ["button"], children: /* @__PURE__ */ t.jsx(an, { children: !!e && /* @__PURE__ */ t.jsx(sy, { ...n }) }) });
|
15041
15041
|
}, Vs = (e) => {
|
15042
15042
|
const { setModalKey: s, settersRef: n } = Mp();
|
15043
15043
|
return M(() => {
|
@@ -15185,7 +15185,7 @@ const Q0 = (e) => {
|
|
15185
15185
|
o && o !== In && /* @__PURE__ */ t.jsx("time", { className: "dc__vertical-align-middle fs-13", children: no(o) }),
|
15186
15186
|
a === Ge.CI && n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
15187
15187
|
/* @__PURE__ */ t.jsx("div", { className: "dc__bullet" }),
|
15188
|
-
/* @__PURE__ */ t.jsx(
|
15188
|
+
/* @__PURE__ */ t.jsx(xc, { imagePath: n, placement: "top" })
|
15189
15189
|
] })
|
15190
15190
|
] });
|
15191
15191
|
}), hd = It(({ stage: e, type: s, label: n = "In progress" }) => {
|
@@ -15305,7 +15305,7 @@ const Q0 = (e) => {
|
|
15305
15305
|
/* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-6 lh-20", children: "Unknown status" }),
|
15306
15306
|
r === Ge.CI && n && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
15307
15307
|
/* @__PURE__ */ t.jsx("div", { className: "dc__bullet" }),
|
15308
|
-
/* @__PURE__ */ t.jsx(
|
15308
|
+
/* @__PURE__ */ t.jsx(xc, { imagePath: n, placement: "top" })
|
15309
15309
|
] })
|
15310
15310
|
] }) : null : bA[e.toLowerCase()] ? /* @__PURE__ */ t.jsx(hd, { stage: a, type: r }) : /* @__PURE__ */ t.jsx(fd, { status: e, finishedOn: s, artifact: n, type: r })
|
15311
15311
|
), iy = ({
|
@@ -15342,12 +15342,12 @@ const Q0 = (e) => {
|
|
15342
15342
|
/* @__PURE__ */ t.jsx("div", {}),
|
15343
15343
|
i === Ge.CD ? (
|
15344
15344
|
// eslint-disable-next-line react/jsx-no-useless-fragment
|
15345
|
-
/* @__PURE__ */ t.jsx(t.Fragment, { children: o && /* @__PURE__ */ t.jsx(
|
15345
|
+
/* @__PURE__ */ t.jsx(t.Fragment, { children: o && /* @__PURE__ */ t.jsx(xc, { imagePath: o, placement: "top" }) })
|
15346
15346
|
) : Object.keys(r ?? {}).length > 0 && a?.map((p) => {
|
15347
15347
|
const _ = r[p.id];
|
15348
15348
|
return _ ? /* @__PURE__ */ t.jsxs(gs, { children: [
|
15349
15349
|
p.type !== "WEBHOOK" && _.Commit && /* @__PURE__ */ t.jsx(
|
15350
|
-
|
15350
|
+
Ei,
|
15351
15351
|
{
|
15352
15352
|
commits: [_.Commit],
|
15353
15353
|
handleClick: oa(
|
@@ -15356,7 +15356,7 @@ const Q0 = (e) => {
|
|
15356
15356
|
}
|
15357
15357
|
),
|
15358
15358
|
p.type === "WEBHOOK" && _.WebhookData && _.WebhookData.Data && _.WebhookData.Data["target checkout"] && /* @__PURE__ */ t.jsx(
|
15359
|
-
|
15359
|
+
Ei,
|
15360
15360
|
{
|
15361
15361
|
commits: _.WebhookData.EventActionType === "merged" ? _.WebhookData.Data["target checkout"].substr(0, 7) : _.WebhookData.Data["target checkout"]
|
15362
15362
|
}
|
@@ -15375,8 +15375,8 @@ const Q0 = (e) => {
|
|
15375
15375
|
cx: "10",
|
15376
15376
|
cy: "10",
|
15377
15377
|
r: "5",
|
15378
|
-
fill:
|
15379
|
-
stroke:
|
15378
|
+
fill: fi[e] || "var(--N500",
|
15379
|
+
stroke: fi[e] || "var(--N500",
|
15380
15380
|
strokeOpacity: "0.3",
|
15381
15381
|
strokeWidth: "10"
|
15382
15382
|
}
|
@@ -15405,7 +15405,7 @@ const Q0 = (e) => {
|
|
15405
15405
|
namespace: C
|
15406
15406
|
}) => {
|
15407
15407
|
const N = X(
|
15408
|
-
() =>
|
15408
|
+
() => _c(f),
|
15409
15409
|
[f]
|
15410
15410
|
);
|
15411
15411
|
return /* @__PURE__ */ t.jsx("div", { className: "trigger-details flexbox-col", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col py-8 trigger-details__summary lh-20", children: [
|
@@ -15982,7 +15982,7 @@ const Q0 = (e) => {
|
|
15982
15982
|
}), a.sort(
|
15983
15983
|
(r, o) => Ml[r.health.status?.toLowerCase()] - Ml[o.health.status?.toLowerCase()]
|
15984
15984
|
), s ? a.filter((r) => r.health.status?.toLowerCase() !== ae.HEALTHY) : a;
|
15985
|
-
}, xd = (e) => `${e.kind}/${e.name}`,
|
15985
|
+
}, xd = (e) => `${e.kind}/${e.name}`, Ci = ({
|
15986
15986
|
type: e,
|
15987
15987
|
appDetails: s
|
15988
15988
|
}) => !s || e === "stack-manager" || s.appType !== gt.DEVTRON_APP && s.appType !== gt.DEVTRON_HELM_CHART ? !1 : s.appType === gt.DEVTRON_HELM_CHART ? !!s.lastDeployedTime && s.deploymentAppType !== St.HELM : s.releaseMode !== Am.MIGRATE_EXTERNAL_APPS || s.isPipelineTriggered, by = (e) => ao.includes(e) ? Vh : fp.includes(e) ? Bh : hp.includes(e) ? fn : Vr, Ed = "px-16 py-8 dc__grid dc__column-gap-16 app-status-content__row", Up = ({
|
@@ -15991,11 +15991,11 @@ const Q0 = (e) => {
|
|
15991
15991
|
filterHealthyNodes: n = !1,
|
15992
15992
|
isCardLayout: a = !0
|
15993
15993
|
}) => {
|
15994
|
-
const [r, o] = w(
|
15994
|
+
const [r, o] = w(ti), { appId: i, environmentId: c } = e, l = Ny({
|
15995
15995
|
appDetails: e,
|
15996
15996
|
filterHealthyNodes: n
|
15997
15997
|
}), d = l.filter(
|
15998
|
-
(h) => r ===
|
15998
|
+
(h) => r === ti || r === eo.drifted && h.hasDrift || h.health.status?.toLowerCase() === r
|
15999
15999
|
), u = (h) => {
|
16000
16000
|
const x = h.toLowerCase();
|
16001
16001
|
r !== x && o(x);
|
@@ -16090,7 +16090,7 @@ class va extends Be.Component {
|
|
16090
16090
|
);
|
16091
16091
|
}
|
16092
16092
|
}
|
16093
|
-
const
|
16093
|
+
const Ec = ({
|
16094
16094
|
children: e,
|
16095
16095
|
position: s,
|
16096
16096
|
height: n,
|
@@ -16127,7 +16127,7 @@ const xc = ({
|
|
16127
16127
|
)
|
16128
16128
|
}
|
16129
16129
|
);
|
16130
|
-
},
|
16130
|
+
}, Cc = ({
|
16131
16131
|
handleClearFilters: e,
|
16132
16132
|
isButtonAvailable: s,
|
16133
16133
|
renderButton: n,
|
@@ -16155,11 +16155,11 @@ const xc = ({
|
|
16155
16155
|
}
|
16156
16156
|
);
|
16157
16157
|
};
|
16158
|
-
var
|
16158
|
+
var Ni = /* @__PURE__ */ ((e) => (e.ERRIMAGEPULL = "errimagepull", e.IMAGEPULLBACKOFF = "imagepullbackoff", e))(Ni || {});
|
16159
16159
|
const Ty = (e) => e?.appType === gt.DEVTRON_APP && e.resourceTree?.nodes?.length ? e.resourceTree.nodes.some(
|
16160
16160
|
(s) => (s.info || []).some((n) => {
|
16161
16161
|
const a = n.value?.toLowerCase();
|
16162
|
-
return a ===
|
16162
|
+
return a === Ni.ERRIMAGEPULL || a === Ni.IMAGEPULLBACKOFF;
|
16163
16163
|
})
|
16164
16164
|
) : !1, PG = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
16165
16165
|
"'",
|
@@ -16343,7 +16343,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16343
16343
|
selectedTab: a,
|
16344
16344
|
deploymentStatusDetailsBreakdownData: r
|
16345
16345
|
}) => {
|
16346
|
-
const o = a === ht.DEPLOYMENT_STATUS ||
|
16346
|
+
const o = a === ht.DEPLOYMENT_STATUS || Ci({
|
16347
16347
|
type: n,
|
16348
16348
|
appDetails: s
|
16349
16349
|
}), i = a === ht.APP_STATUS || !!s?.resourceTree, c = () => {
|
@@ -16441,7 +16441,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16441
16441
|
abortControllerRef: e
|
16442
16442
|
}
|
16443
16443
|
);
|
16444
|
-
return r ? r.processVirtualEnvironmentDeploymentData(l.result) :
|
16444
|
+
return r ? r.processVirtualEnvironmentDeploymentData(l.result) : gi(
|
16445
16445
|
l.result.deploymentAppType ?? i,
|
16446
16446
|
l.result
|
16447
16447
|
);
|
@@ -16472,7 +16472,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16472
16472
|
S,
|
16473
16473
|
b,
|
16474
16474
|
I
|
16475
|
-
] = vt(f, [], n === "release"), y = n === "release" ? N : a, T =
|
16475
|
+
] = vt(f, [], n === "release"), y = n === "release" ? N : a, T = Ci({ type: n, appDetails: y }), A = $(new AbortController()), R = $(null), v = async () => {
|
16476
16476
|
const K = await Pr(
|
16477
16477
|
() => jy({
|
16478
16478
|
abortControllerRef: A,
|
@@ -16557,7 +16557,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16557
16557
|
handleCloseModal: re
|
16558
16558
|
}
|
16559
16559
|
);
|
16560
|
-
const ge = (e || []).filter((K) => !!K), fe = () => h ? h === ht.APP_STATUS ? y?.resourceTree ? "" : "Application status is not available" : !P || !
|
16560
|
+
const ge = (e || []).filter((K) => !!K), fe = () => h ? h === ht.APP_STATUS ? y?.resourceTree ? "" : "Application status is not available" : !P || !Ci({ type: n, appDetails: y }) ? "Deployment status is not available" : "" : "Status is not available", ne = () => {
|
16561
16561
|
const K = fe();
|
16562
16562
|
return K ? /* @__PURE__ */ t.jsx(qe, { image: Vr, title: K }) : h === ht.DEPLOYMENT_STATUS && y.deploymentAppType === St.HELM ? /* @__PURE__ */ t.jsx(
|
16563
16563
|
qe,
|
@@ -16603,7 +16603,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16603
16603
|
] })
|
16604
16604
|
] });
|
16605
16605
|
}, ie = h === ht.DEPLOYMENT_STATUS ? O : null, le = S || ie, de = S ? b : D;
|
16606
|
-
return /* @__PURE__ */ t.jsx(
|
16606
|
+
return /* @__PURE__ */ t.jsx(Ec, { position: "right", width: "1024px", onClose: s, onEscape: s, children: /* @__PURE__ */ t.jsxs(
|
16607
16607
|
"div",
|
16608
16608
|
{
|
16609
16609
|
className: "flexbox-col dc__content-space h-100 bg__modal--primary shadow__modal app-status-modal",
|
@@ -16641,7 +16641,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16641
16641
|
)
|
16642
16642
|
] }),
|
16643
16643
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col flex-grow-1 dc__overflow-auto dc__gap-16 dc__content-space", children: /* @__PURE__ */ t.jsx(
|
16644
|
-
|
16644
|
+
mc,
|
16645
16645
|
{
|
16646
16646
|
isLoading: Q || Te,
|
16647
16647
|
progressingProps: {
|
@@ -16728,7 +16728,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16728
16728
|
}),
|
16729
16729
|
[s, e, r]
|
16730
16730
|
), d = !!i?.materials?.length, u = d && !r;
|
16731
|
-
return /* @__PURE__ */ t.jsx(
|
16731
|
+
return /* @__PURE__ */ t.jsx(Ec, { position: "right", width: "800px", onEscape: n, children: /* @__PURE__ */ t.jsxs("div", { "data-testid": "visible-modal-commit-info", className: "flexbox-col h-100", children: [
|
16732
16732
|
/* @__PURE__ */ t.jsxs("div", { className: "flex dc__content-space py-10 px-20 cn-9 bg__primary dc__border-bottom", children: [
|
16733
16733
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__content-center", children: !c && (o ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
16734
16734
|
/* @__PURE__ */ t.jsx("div", { className: "shimmer h-24 mb-2 w-200" }),
|
@@ -16758,7 +16758,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16758
16758
|
)
|
16759
16759
|
] }),
|
16760
16760
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col flex-grow-1 dc__overflow-auto bg__tertiary h-100", children: /* @__PURE__ */ t.jsx(
|
16761
|
-
|
16761
|
+
mc,
|
16762
16762
|
{
|
16763
16763
|
isLoading: o,
|
16764
16764
|
progressingProps: {
|
@@ -16781,7 +16781,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16781
16781
|
)),
|
16782
16782
|
/* @__PURE__ */ t.jsxs("div", { className: "dc__dashed_icon_grid-container", children: [
|
16783
16783
|
/* @__PURE__ */ t.jsx("hr", { className: "dc__dotted-line" }),
|
16784
|
-
/* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(
|
16784
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ko, { className: "scn-6" }) }),
|
16785
16785
|
/* @__PURE__ */ t.jsx("hr", { className: "dc__dotted-line" })
|
16786
16786
|
] }),
|
16787
16787
|
/* @__PURE__ */ t.jsx(
|
@@ -16870,7 +16870,7 @@ const Iy = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16870
16870
|
color: "var(--N300)",
|
16871
16871
|
label: "-",
|
16872
16872
|
value: 1
|
16873
|
-
},
|
16873
|
+
}, Nc = ({
|
16874
16874
|
hideLegend: e,
|
16875
16875
|
entities: s = [Nd],
|
16876
16876
|
rootClassName: n,
|
@@ -16979,7 +16979,7 @@ const Dy = {
|
|
16979
16979
|
}
|
16980
16980
|
) : s })
|
16981
16981
|
);
|
16982
|
-
},
|
16982
|
+
}, bc = ({
|
16983
16983
|
scanToolName: e,
|
16984
16984
|
scanToolUrl: s,
|
16985
16985
|
fontSize: n = 13,
|
@@ -17003,12 +17003,12 @@ const Dy = {
|
|
17003
17003
|
}
|
17004
17004
|
)
|
17005
17005
|
] }), Py = ({ entities: e, lastScanTimeString: s, scanToolName: n, scanToolUrl: a }) => /* @__PURE__ */ t.jsxs("div", { className: "info-card", children: [
|
17006
|
-
/* @__PURE__ */ t.jsx(
|
17006
|
+
/* @__PURE__ */ t.jsx(Nc, { entities: e, rootClassName: "p-16 fs-13", countClassName: "fw-6", showAnimationOnBar: !0 }),
|
17007
17007
|
(s || n) && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
17008
17008
|
/* @__PURE__ */ t.jsx("div", { className: "dc__border-bottom-n1 w-100 h-1" }),
|
17009
17009
|
/* @__PURE__ */ t.jsxs("div", { className: "w-100 flexbox dc__content-space pl-16 pr-16 pb-8 pt-8", children: [
|
17010
17010
|
s && s !== In && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
17011
|
-
/* @__PURE__ */ t.jsx(
|
17011
|
+
/* @__PURE__ */ t.jsx(Hi, { className: "icon-dim-16" }),
|
17012
17012
|
/* @__PURE__ */ t.jsx(
|
17013
17013
|
"span",
|
17014
17014
|
{
|
@@ -17019,7 +17019,7 @@ const Dy = {
|
|
17019
17019
|
)
|
17020
17020
|
] }),
|
17021
17021
|
n && /* @__PURE__ */ t.jsx(
|
17022
|
-
|
17022
|
+
bc,
|
17023
17023
|
{
|
17024
17024
|
scanToolName: n,
|
17025
17025
|
scanToolUrl: a,
|
@@ -17038,7 +17038,7 @@ const Dy = {
|
|
17038
17038
|
n(s);
|
17039
17039
|
};
|
17040
17040
|
return /* @__PURE__ */ t.jsx("button", { type: "button", className: "dc__unset-button-styles dc__align-left", onClick: a, children: e });
|
17041
|
-
},
|
17041
|
+
}, bi = {
|
17042
17042
|
category: pe.IMAGE_SCAN,
|
17043
17043
|
subCategory: se.VULNERABILITIES,
|
17044
17044
|
detailViewData: null
|
@@ -17050,7 +17050,7 @@ const Dy = {
|
|
17050
17050
|
category: pe.KUBERNETES_MANIFEST,
|
17051
17051
|
subCategory: se.MISCONFIGURATIONS,
|
17052
17052
|
detailViewData: null
|
17053
|
-
}, Uy = (e) => e.imageScan ?
|
17053
|
+
}, Uy = (e) => e.imageScan ? bi : e.codeScan ? My : e.kubernetesManifest ? ky : bi, ps = {
|
17054
17054
|
IMAGE_SCAN: "Image Scan",
|
17055
17055
|
CODE_SCAN: "Code Scan",
|
17056
17056
|
KUBERNETES_MANIFEST: "Kubernetes Manifest"
|
@@ -17101,7 +17101,7 @@ const Dy = {
|
|
17101
17101
|
Z.FAILURES,
|
17102
17102
|
Z.EXCEPTIONS,
|
17103
17103
|
Z.SUCCESSES
|
17104
|
-
], Ra = Nr.DESC,
|
17104
|
+
], Ra = Nr.DESC, Tc = {
|
17105
17105
|
image: fn,
|
17106
17106
|
title: "Scan failed",
|
17107
17107
|
subTitle: "Error: Security scan failed"
|
@@ -17138,10 +17138,10 @@ const Dy = {
|
|
17138
17138
|
low: (s?.[Z.LOW] || 0) + (n?.[Z.LOW] || 0),
|
17139
17139
|
unknown: (s?.[Z.UNKNOWN] || 0) + (n?.[Z.UNKNOWN] || 0)
|
17140
17140
|
};
|
17141
|
-
},
|
17141
|
+
}, Sc = (e, s) => Tr.reduce((n, a) => n || e[a] - s[a], 0), vc = (e, s) => ({
|
17142
17142
|
SvgImage: Du,
|
17143
17143
|
title: "You're secure!",
|
17144
|
-
children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(
|
17144
|
+
children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(bc, { scanToolName: e, scanToolUrl: s }) })
|
17145
17145
|
}), Fy = (e, s) => e.toString().localeCompare(s.toString()), By = (e) => {
|
17146
17146
|
switch (e.toLowerCase()) {
|
17147
17147
|
case un.HIGH:
|
@@ -17271,7 +17271,7 @@ const Dy = {
|
|
17271
17271
|
onClick: p,
|
17272
17272
|
"aria-label": "Expand all rows",
|
17273
17273
|
children: /* @__PURE__ */ t.jsx(
|
17274
|
-
|
17274
|
+
Wo,
|
17275
17275
|
{
|
17276
17276
|
className: "icon-dim-20 rotate",
|
17277
17277
|
style: {
|
@@ -17309,7 +17309,7 @@ const Dy = {
|
|
17309
17309
|
"aria-label": `Expand row ${x}`,
|
17310
17310
|
"data-testid": `security-table-expand-${x}`,
|
17311
17311
|
children: /* @__PURE__ */ t.jsx(
|
17312
|
-
|
17312
|
+
Wo,
|
17313
17313
|
{
|
17314
17314
|
className: "icon-dim-20 rotate",
|
17315
17315
|
style: {
|
@@ -17362,9 +17362,9 @@ const Dy = {
|
|
17362
17362
|
}), o.reduce((c, l) => (Object.keys(l).forEach((d) => {
|
17363
17363
|
c[d] ? c[d] += l[d] : c[d] = l[d];
|
17364
17364
|
}), c), {});
|
17365
|
-
},
|
17365
|
+
}, Ti = (e) => e === "Progressing" || e === "Running", vr = (e) => e.some((a) => Ti(a.status)) ? "Progressing" : e.some((a) => a.status === "Failed") ? "Failed" : "Completed", BG = (e) => {
|
17366
17366
|
const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o = vr(s), i = vr(n);
|
17367
|
-
return o === "Progressing" || i === "Progressing" ||
|
17367
|
+
return o === "Progressing" || i === "Progressing" || Ti(a) || Ti(r) ? "Progressing" : o === "Failed" || i === "Failed" || a === "Failed" || r === "Failed" ? "Failed" : "Completed";
|
17368
17368
|
}, Ky = ({ href: e }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 dc__align-items-center fs-13 fw-6", children: [
|
17369
17369
|
/* @__PURE__ */ t.jsx(ta, { className: "icon-dim-24 fcn-3" }),
|
17370
17370
|
/* @__PURE__ */ t.jsx("span", { children: "Code snippet is not available" }),
|
@@ -17378,7 +17378,7 @@ const Dy = {
|
|
17378
17378
|
/* @__PURE__ */ t.jsx("span", { className: a.isCause ? "cr-5" : "", children: a.number }),
|
17379
17379
|
/* @__PURE__ */ t.jsx("span", { children: a.content }, a.number)
|
17380
17380
|
] })) || /* @__PURE__ */ t.jsx(Ky, { href: n }) })
|
17381
|
-
] }),
|
17381
|
+
] }), Ic = (e, s) => ({
|
17382
17382
|
headers: [
|
17383
17383
|
{ headerText: "cve id", isSortable: !1, width: 150 },
|
17384
17384
|
{
|
@@ -17546,7 +17546,7 @@ const Dy = {
|
|
17546
17546
|
}), Vp = (e, s, n, a, r, o) => ({
|
17547
17547
|
headers: [
|
17548
17548
|
{ headerText: "file path (relative)", isSortable: !0, width: 289 },
|
17549
|
-
{ headerText: "scan summary", isSortable: !0, width: 289, compareFunc:
|
17549
|
+
{ headerText: "scan summary", isSortable: !0, width: 289, compareFunc: Sc },
|
17550
17550
|
{ headerText: "type", isSortable: !0, width: 150 }
|
17551
17551
|
],
|
17552
17552
|
rows: e?.list?.length ? e.list.map((i, c) => ({
|
@@ -17628,7 +17628,7 @@ const Dy = {
|
|
17628
17628
|
}), Gp = (e, s, n, a, r, o) => ({
|
17629
17629
|
headers: [
|
17630
17630
|
{ headerText: "file path (relative)", isSortable: !0, width: 372 },
|
17631
|
-
{ headerText: "scan summary", isSortable: !0, width: 372, compareFunc:
|
17631
|
+
{ headerText: "scan summary", isSortable: !0, width: 372, compareFunc: Sc }
|
17632
17632
|
],
|
17633
17633
|
rows: e?.list?.length ? e.list.map((i, c) => ({
|
17634
17634
|
id: c,
|
@@ -17660,7 +17660,7 @@ const Dy = {
|
|
17660
17660
|
}), Jy = (e, s, n, a) => {
|
17661
17661
|
switch (s) {
|
17662
17662
|
case se.VULNERABILITIES:
|
17663
|
-
return
|
17663
|
+
return Ic(e[s], a);
|
17664
17664
|
case se.LICENSE:
|
17665
17665
|
return zy(e[s]);
|
17666
17666
|
case se.MISCONFIGURATIONS:
|
@@ -17709,7 +17709,7 @@ const Dy = {
|
|
17709
17709
|
}, Qy = (e, s, n) => {
|
17710
17710
|
if (e[s]?.list?.length && !n || n?.rows)
|
17711
17711
|
return null;
|
17712
|
-
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "code scan", { scanToolName: o, scanToolUrl: i } = e, c =
|
17712
|
+
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "code scan", { scanToolName: o, scanToolUrl: i } = e, c = vc(o, i);
|
17713
17713
|
switch (s) {
|
17714
17714
|
case se.VULNERABILITIES:
|
17715
17715
|
return {
|
@@ -17737,7 +17737,7 @@ const Dy = {
|
|
17737
17737
|
}, ej = (e, s, n) => {
|
17738
17738
|
switch (e[pe.CODE_SCAN].status) {
|
17739
17739
|
case "Failed":
|
17740
|
-
return
|
17740
|
+
return Tc;
|
17741
17741
|
case "Completed":
|
17742
17742
|
return Qy(e[pe.CODE_SCAN], s, n);
|
17743
17743
|
case "Progressing":
|
@@ -17745,7 +17745,7 @@ const Dy = {
|
|
17745
17745
|
default:
|
17746
17746
|
return Sr;
|
17747
17747
|
}
|
17748
|
-
},
|
17748
|
+
}, Si = (e) => ({
|
17749
17749
|
titlePrefix: "Image",
|
17750
17750
|
title: e.image,
|
17751
17751
|
entities: Ns(e.summary.severities),
|
@@ -17756,14 +17756,14 @@ const Dy = {
|
|
17756
17756
|
}), tj = (e, s, n) => {
|
17757
17757
|
const a = e?.list?.length ? Gy(e.list) : null;
|
17758
17758
|
return {
|
17759
|
-
...
|
17759
|
+
...Si(e),
|
17760
17760
|
headers: [
|
17761
17761
|
{ headerText: "source", isSortable: !1, width: 428 },
|
17762
17762
|
{
|
17763
17763
|
headerText: "vulnerability",
|
17764
17764
|
isSortable: !0,
|
17765
17765
|
width: 300,
|
17766
|
-
compareFunc:
|
17766
|
+
compareFunc: Sc
|
17767
17767
|
}
|
17768
17768
|
],
|
17769
17769
|
rows: a?.length ? a.map((r, o) => ({
|
@@ -17775,13 +17775,13 @@ const Dy = {
|
|
17775
17775
|
Aa,
|
17776
17776
|
{
|
17777
17777
|
detailViewData: {
|
17778
|
-
...
|
17778
|
+
...Si({
|
17779
17779
|
...e,
|
17780
17780
|
image: r.source,
|
17781
17781
|
summary: r.summary
|
17782
17782
|
}),
|
17783
17783
|
titlePrefix: "Source",
|
17784
|
-
...
|
17784
|
+
...Ic(r, n)
|
17785
17785
|
},
|
17786
17786
|
setDetailViewData: s,
|
17787
17787
|
children: /* @__PURE__ */ t.jsx("span", { className: "cb-5 fw-4 cursor", children: r.source })
|
@@ -17797,14 +17797,14 @@ const Dy = {
|
|
17797
17797
|
})) : null
|
17798
17798
|
};
|
17799
17799
|
}, sj = (e, s, n) => e.list?.every((r) => !!r.target) ? tj(e, s, n) : {
|
17800
|
-
...
|
17801
|
-
...
|
17800
|
+
...Si(e),
|
17801
|
+
...Ic(e, n)
|
17802
17802
|
}, Ir = (e) => {
|
17803
17803
|
switch (e) {
|
17804
17804
|
case "Completed":
|
17805
17805
|
return /* @__PURE__ */ t.jsx(Yu, { className: "icon-dim-16 dc__no-shrink" });
|
17806
17806
|
case "Failed":
|
17807
|
-
return /* @__PURE__ */ t.jsx(
|
17807
|
+
return /* @__PURE__ */ t.jsx(Yi, { className: "icon-dim-16 ic-error-cross-red dc__no-shrink" });
|
17808
17808
|
case "Progressing":
|
17809
17809
|
return /* @__PURE__ */ t.jsx(
|
17810
17810
|
Xe,
|
@@ -17950,7 +17950,7 @@ const Dy = {
|
|
17950
17950
|
}, cj = (e, s) => {
|
17951
17951
|
if (s.rows)
|
17952
17952
|
return null;
|
17953
|
-
const n = `${s.titlePrefix}: ${s.title}`, a =
|
17953
|
+
const n = `${s.titlePrefix}: ${s.title}`, a = vc(s.scanToolName, s.scanToolUrl);
|
17954
17954
|
switch (e) {
|
17955
17955
|
case se.VULNERABILITIES:
|
17956
17956
|
return {
|
@@ -17972,7 +17972,7 @@ const Dy = {
|
|
17972
17972
|
return null;
|
17973
17973
|
switch (n.status) {
|
17974
17974
|
case "Failed":
|
17975
|
-
return
|
17975
|
+
return Tc;
|
17976
17976
|
case "Completed":
|
17977
17977
|
return cj(s, n);
|
17978
17978
|
case "Progressing":
|
@@ -18026,7 +18026,7 @@ const Dy = {
|
|
18026
18026
|
}, mj = (e, s, n) => {
|
18027
18027
|
if (s !== se.EXPOSED_SECRETS && s !== se.MISCONFIGURATIONS || e[s]?.list?.length && !n || n?.rows)
|
18028
18028
|
return null;
|
18029
|
-
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "Kubernetes manifests", { scanToolName: o, scanToolUrl: i } = e, c =
|
18029
|
+
const r = (n ? `${n.titlePrefix}: ${n.title}` : "") || "Kubernetes manifests", { scanToolName: o, scanToolUrl: i } = e, c = vc(o, i);
|
18030
18030
|
switch (s) {
|
18031
18031
|
case se.MISCONFIGURATIONS:
|
18032
18032
|
return {
|
@@ -18044,7 +18044,7 @@ const Dy = {
|
|
18044
18044
|
}, pj = (e, s, n) => {
|
18045
18045
|
switch (e[pe.KUBERNETES_MANIFEST].status) {
|
18046
18046
|
case "Failed":
|
18047
|
-
return
|
18047
|
+
return Tc;
|
18048
18048
|
/* FIXME: api is sending empty state for status after re-deployment */
|
18049
18049
|
case "Completed":
|
18050
18050
|
return mj(e[pe.KUBERNETES_MANIFEST], s, n);
|
@@ -18405,7 +18405,7 @@ const Dy = {
|
|
18405
18405
|
] }),
|
18406
18406
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
18407
18407
|
r || !(i || n.success) ? /* @__PURE__ */ t.jsx("div", { className: "bcn-1 br-4 h-8" }) : /* @__PURE__ */ t.jsx(
|
18408
|
-
|
18408
|
+
Nc,
|
18409
18409
|
{
|
18410
18410
|
entities: c,
|
18411
18411
|
labelClassName: "fs-13 fw-4 lh-20 cn-9",
|
@@ -18420,7 +18420,7 @@ const Dy = {
|
|
18420
18420
|
}
|
18421
18421
|
);
|
18422
18422
|
}, GG = ({ scanResult: e, Sidebar: s }) => {
|
18423
|
-
const [n, a] = w(!1), [r, o] = w(
|
18423
|
+
const [n, a] = w(!1), [r, o] = w(bi), { imageScan: i, codeScan: c, kubernetesManifest: l } = e, d = Wy(e);
|
18424
18424
|
if (!$p(d))
|
18425
18425
|
return /* @__PURE__ */ t.jsx(
|
18426
18426
|
qe,
|
@@ -18462,7 +18462,7 @@ const Dy = {
|
|
18462
18462
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-12", children: [
|
18463
18463
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space pb-8 dc__border-bottom-n1", children: [
|
18464
18464
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-6 lh-1-5 cn-9", children: m[g].label }),
|
18465
|
-
/* @__PURE__ */ t.jsx(
|
18465
|
+
/* @__PURE__ */ t.jsx(bc, { scanToolName: f, scanToolUrl: C })
|
18466
18466
|
] }),
|
18467
18467
|
E ? /* @__PURE__ */ t.jsx("div", { className: "dc__border br-8", children: /* @__PURE__ */ t.jsx(
|
18468
18468
|
Rn,
|
@@ -18592,7 +18592,7 @@ const Dy = {
|
|
18592
18592
|
getResultsChartSummaryText: c,
|
18593
18593
|
disableTransition: l
|
18594
18594
|
}) => {
|
18595
|
-
const { handleSorting: d, sortBy: u, sortOrder: m, clearFilters: p } =
|
18595
|
+
const { handleSorting: d, sortBy: u, sortOrder: m, clearFilters: p } = dc({
|
18596
18596
|
initialSortKey: Po[1].label
|
18597
18597
|
});
|
18598
18598
|
M(
|
@@ -18630,7 +18630,7 @@ const Dy = {
|
|
18630
18630
|
[]
|
18631
18631
|
), E = g.map((f) => f.width).join(" ");
|
18632
18632
|
return /* @__PURE__ */ t.jsx(
|
18633
|
-
|
18633
|
+
Ec,
|
18634
18634
|
{
|
18635
18635
|
onClose: s,
|
18636
18636
|
onEscape: s,
|
@@ -18669,7 +18669,7 @@ const Dy = {
|
|
18669
18669
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__overflow-hidden pt-20 flex-grow-1 bulk-operations__results-modal__content", children: [
|
18670
18670
|
/* @__PURE__ */ t.jsxs("div", { className: "bulk-operations__results-modal__bar-chart br-8 flexbox-col dc__align-start dc__align-self-stretch dc__border bg__primary ml-20 mr-20", children: [
|
18671
18671
|
/* @__PURE__ */ t.jsx(
|
18672
|
-
|
18672
|
+
Nc,
|
18673
18673
|
{
|
18674
18674
|
entities: a.getBarChartEntities(),
|
18675
18675
|
rootClassName: "p-16 fs-13 dc__border-bottom-n1",
|
@@ -18677,7 +18677,7 @@ const Dy = {
|
|
18677
18677
|
}
|
18678
18678
|
),
|
18679
18679
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 py-8 px-16 dc__align-items-center", children: [
|
18680
|
-
e ? Ir("Progressing") : /* @__PURE__ */ t.jsx(
|
18680
|
+
e ? Ir("Progressing") : /* @__PURE__ */ t.jsx(Ui, { className: "dc__no-shrink icon-dim-16" }),
|
18681
18681
|
c(a.getResultsStatusCount())
|
18682
18682
|
] })
|
18683
18683
|
] }),
|
@@ -19112,7 +19112,7 @@ const Tj = "bulk-selection-pop-up-menu", Mo = {
|
|
19112
19112
|
] }) });
|
19113
19113
|
}
|
19114
19114
|
);
|
19115
|
-
class Xp extends
|
19115
|
+
class Xp extends ki {
|
19116
19116
|
constructor(s) {
|
19117
19117
|
super(s), this.clickHandler = this.clickHandler.bind(this);
|
19118
19118
|
}
|
@@ -19209,8 +19209,15 @@ const WG = ({
|
|
19209
19209
|
href: r,
|
19210
19210
|
size: o
|
19211
19211
|
}) => {
|
19212
|
-
const i = `flexbox chip dc__w-fit-content br-4 ${n === "error" ? "chip--error" : "border__primary"} bg__primary dc__transition--background dc__user-select-none dc__overflow-hidden dc__mxw-250 ${`chip--${o}
|
19213
|
-
|
19212
|
+
const i = `flexbox chip dc__w-fit-content br-4 ${n === "error" ? "chip--error" : "border__primary"} bg__primary dc__transition--background dc__user-select-none dc__overflow-hidden dc__mxw-250 ${`chip--${o}`}`;
|
19213
|
+
if (s === "button") {
|
19214
|
+
const c = Go.toArray(e), l = c[0];
|
19215
|
+
return /* @__PURE__ */ t.jsxs("div", { className: `${i} chip--button`, children: [
|
19216
|
+
/* @__PURE__ */ t.jsx("button", { onClick: a, className: "p-0 m-0 flex dc__transparent", type: "button", children: l }),
|
19217
|
+
...c.slice(1)
|
19218
|
+
] });
|
19219
|
+
}
|
19220
|
+
return s === "link" ? /* @__PURE__ */ t.jsx(ts, { to: r, className: `${i} chip--link dc__no-decor`, children: e }) : /* @__PURE__ */ t.jsx("div", { className: i, children: e });
|
19214
19221
|
}, wj = ({
|
19215
19222
|
label: e,
|
19216
19223
|
startIconProps: s,
|
@@ -19222,17 +19229,22 @@ const WG = ({
|
|
19222
19229
|
onClick: c,
|
19223
19230
|
href: l
|
19224
19231
|
}) => {
|
19225
|
-
const d = Rj(n), u = yj(n), m = jj(n), p = (
|
19226
|
-
o === "error" &&
|
19227
|
-
(o === "neutral" || o === "error" && !
|
19228
|
-
/* @__PURE__ */ t.jsx("span", { className: `${m} lh-1-5 cn-9 fw-6 dc__open-sans
|
19229
|
-
] }), _ = () =>
|
19230
|
-
|
19231
|
-
|
19232
|
-
|
19233
|
-
/* @__PURE__ */ t.
|
19232
|
+
const d = Rj(n), u = yj(n), m = jj(n), p = (x = !0) => /* @__PURE__ */ t.jsxs("div", { className: `flex dc__gap-4 px-6 ${u} dc__no-shrink dc__mxw-120`, children: [
|
19233
|
+
o === "error" && x && /* @__PURE__ */ t.jsx(F, { name: "ic-error", color: "R500", size: d }),
|
19234
|
+
(o === "neutral" || o === "error" && !x) && s && /* @__PURE__ */ t.jsx(F, { ...s, size: d }),
|
19235
|
+
/* @__PURE__ */ t.jsx("span", { className: `${m} lh-1-5 cn-9 fw-6 dc__open-sans dc__truncate`, children: e })
|
19236
|
+
] }), _ = () => (
|
19237
|
+
// NOTE: always render label and value in a fragment or an element to ensure consistent structure
|
19238
|
+
/* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
19239
|
+
p(!a),
|
19240
|
+
a && /* @__PURE__ */ t.jsxs("div", { className: `px-6 flex border__secondary--left dc__gap-4 ${u}`, children: [
|
19241
|
+
o === "error" && /* @__PURE__ */ t.jsx(F, { name: "ic-error", color: "R500", size: d }),
|
19242
|
+
/* @__PURE__ */ t.jsx("span", { className: `${m} lh-1-5 cn-9 fw-4 dc__open-sans dc__truncate`, children: a })
|
19243
|
+
] })
|
19234
19244
|
] })
|
19235
|
-
|
19245
|
+
), h = (x) => {
|
19246
|
+
x.stopPropagation(), r(x);
|
19247
|
+
};
|
19236
19248
|
return /* @__PURE__ */ t.jsxs(Oj, { style: o, type: i, onClick: c, href: l, size: n, children: [
|
19237
19249
|
_(),
|
19238
19250
|
r && /* @__PURE__ */ t.jsx(
|
@@ -19245,7 +19257,7 @@ const WG = ({
|
|
19245
19257
|
ariaLabel: "Remove filter",
|
19246
19258
|
icon: /* @__PURE__ */ t.jsx(F, { name: "ic-close-small", color: null }),
|
19247
19259
|
size: Ad(n),
|
19248
|
-
onClick:
|
19260
|
+
onClick: h
|
19249
19261
|
}
|
19250
19262
|
),
|
19251
19263
|
i === "link" && /* @__PURE__ */ t.jsx(
|
@@ -19336,7 +19348,7 @@ const WG = ({
|
|
19336
19348
|
let n = e || gn;
|
19337
19349
|
if (s)
|
19338
19350
|
try {
|
19339
|
-
n =
|
19351
|
+
n = ui(e);
|
19340
19352
|
} catch {
|
19341
19353
|
Ne();
|
19342
19354
|
}
|
@@ -19349,7 +19361,7 @@ const WG = ({
|
|
19349
19361
|
configMapSecretData: e,
|
19350
19362
|
cmSecretStateLabel: s,
|
19351
19363
|
isSecret: n
|
19352
|
-
}) => e.mergeStrategy ===
|
19364
|
+
}) => e.mergeStrategy === Zi.PATCH ? e.patchData ? ko(e.patchData, n && e.externalType === "") : la : e.data ? ko(e.data, n && e.externalType === "") : s === Kr.INHERITED && e.defaultData ? ko(e.defaultData, n && e.externalType === "") : la, kj = ({
|
19353
19365
|
data: e,
|
19354
19366
|
esoSubPath: s,
|
19355
19367
|
external: n,
|
@@ -19367,7 +19379,7 @@ const WG = ({
|
|
19367
19379
|
secretDataYaml: r ?? "",
|
19368
19380
|
esoSecretYaml: i ? wt(o) : ""
|
19369
19381
|
};
|
19370
|
-
},
|
19382
|
+
}, Ac = ({
|
19371
19383
|
isJob: e,
|
19372
19384
|
configMapSecretData: s,
|
19373
19385
|
cmSecretStateLabel: n,
|
@@ -19411,7 +19423,7 @@ const WG = ({
|
|
19411
19423
|
yaml: null
|
19412
19424
|
};
|
19413
19425
|
if (s) {
|
19414
|
-
const N = e || l ?
|
19426
|
+
const N = e || l ? Zi.REPLACE : o, S = s.mergeStrategy || (n === Kr.INHERITED ? N : null), b = Mj({
|
19415
19427
|
configMapSecretData: { ...s, mergeStrategy: S },
|
19416
19428
|
cmSecretStateLabel: n,
|
19417
19429
|
isSecret: i
|
@@ -19467,7 +19479,7 @@ const WG = ({
|
|
19467
19479
|
yaml: g,
|
19468
19480
|
currentData: E,
|
19469
19481
|
isSecret: f
|
19470
|
-
} =
|
19482
|
+
} = Ac({
|
19471
19483
|
isJob: a,
|
19472
19484
|
configMapSecretData: e,
|
19473
19485
|
cmSecretStateLabel: s,
|
@@ -19876,7 +19888,7 @@ const WG = ({
|
|
19876
19888
|
classNamePrefix: p
|
19877
19889
|
}
|
19878
19890
|
);
|
19879
|
-
},
|
19891
|
+
}, vi = ({ country: e, size: s }) => /* @__PURE__ */ t.jsx(
|
19880
19892
|
Bf,
|
19881
19893
|
{
|
19882
19894
|
iso2: e,
|
@@ -19888,10 +19900,10 @@ const WG = ({
|
|
19888
19900
|
return {
|
19889
19901
|
value: n,
|
19890
19902
|
label: e === "selectPhoneCode" ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 dc__align-items-center", children: [
|
19891
|
-
/* @__PURE__ */ t.jsx(
|
19903
|
+
/* @__PURE__ */ t.jsx(vi, { country: n.iso2, size: 16 }),
|
19892
19904
|
/* @__PURE__ */ t.jsx(ee, { content: a, children: /* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__truncate", children: a }) })
|
19893
19905
|
] }) : n.name,
|
19894
|
-
startIcon: e === "default" ? /* @__PURE__ */ t.jsx(
|
19906
|
+
startIcon: e === "default" ? /* @__PURE__ */ t.jsx(vi, { country: n.iso2 }) : null
|
19895
19907
|
};
|
19896
19908
|
}), zj = ({
|
19897
19909
|
selectedCountry: e,
|
@@ -19932,7 +19944,7 @@ const WG = ({
|
|
19932
19944
|
getOptionValue: x,
|
19933
19945
|
onMenuClose: d,
|
19934
19946
|
onMenuOpen: u,
|
19935
|
-
icon: c === "selectPhoneCode" && _?.value?.iso2 ? /* @__PURE__ */ t.jsx(
|
19947
|
+
icon: c === "selectPhoneCode" && _?.value?.iso2 ? /* @__PURE__ */ t.jsx(vi, { country: _?.value?.iso2, size: 20 }) : null,
|
19936
19948
|
formatOptionLabel: g,
|
19937
19949
|
fullWidth: !0,
|
19938
19950
|
ariaLabel: c === "default" ? "Country" : "Phone Code"
|
@@ -20142,7 +20154,7 @@ const WG = ({
|
|
20142
20154
|
inputId: tn.TIME,
|
20143
20155
|
placeholder: Qj.DEFAULT_TIME,
|
20144
20156
|
options: tr,
|
20145
|
-
icon: /* @__PURE__ */ t.jsx(
|
20157
|
+
icon: /* @__PURE__ */ t.jsx(Hi, { className: "icon-dim-20 fcn-6" }),
|
20146
20158
|
isSearchable: !1,
|
20147
20159
|
hideSelectedOptions: !0,
|
20148
20160
|
isDisabled: a,
|
@@ -20226,7 +20238,7 @@ const WG = ({
|
|
20226
20238
|
isDisabled: e,
|
20227
20239
|
...n,
|
20228
20240
|
value: r,
|
20229
|
-
icon: /* @__PURE__ */ t.jsx(
|
20241
|
+
icon: /* @__PURE__ */ t.jsx(Hi, { className: "icon-dim-20 fcn-6" }),
|
20230
20242
|
onChange: s,
|
20231
20243
|
"data-testid": tn.TIME,
|
20232
20244
|
size: L.large,
|
@@ -20279,7 +20291,7 @@ const lo = ({
|
|
20279
20291
|
children: [
|
20280
20292
|
C,
|
20281
20293
|
/* @__PURE__ */ t.jsx(
|
20282
|
-
|
20294
|
+
Bi,
|
20283
20295
|
{
|
20284
20296
|
className: "icon-dim-16 dc__no-shrink scn-7 rotate cursor",
|
20285
20297
|
style: {
|
@@ -20347,7 +20359,7 @@ function mO({ isCreateApp: e }) {
|
|
20347
20359
|
/* @__PURE__ */ t.jsx("div", { children: "Use these tags to filter/identify resources via CLI or in other Kubernetes tools." })
|
20348
20360
|
] });
|
20349
20361
|
return /* @__PURE__ */ t.jsx(
|
20350
|
-
|
20362
|
+
ac,
|
20351
20363
|
{
|
20352
20364
|
theme: ga.white,
|
20353
20365
|
className: "w-300",
|
@@ -20605,10 +20617,10 @@ Ot.Button = _O;
|
|
20605
20617
|
Ot.Body = fO;
|
20606
20618
|
class uo {
|
20607
20619
|
constructor() {
|
20608
|
-
me(this, "propagateTagKey", (s) =>
|
20620
|
+
me(this, "propagateTagKey", (s) => rc(s));
|
20609
20621
|
me(this, "propagateTagValue", (s, n) => {
|
20610
20622
|
const a = [];
|
20611
|
-
return s ? n.startsWith("devtron.ai/") || a.push(...
|
20623
|
+
return s ? n.startsWith("devtron.ai/") || a.push(...di(s)) : a.push("Value is required"), { isValid: a.length === 0, messages: a };
|
20612
20624
|
});
|
20613
20625
|
}
|
20614
20626
|
}
|
@@ -20845,7 +20857,7 @@ const EO = ({
|
|
20845
20857
|
}, CO = (e, s) => (n) => {
|
20846
20858
|
if (e) {
|
20847
20859
|
const { props: a, type: r } = e(s);
|
20848
|
-
return
|
20860
|
+
return Pi(r, a, n);
|
20849
20861
|
}
|
20850
20862
|
return null;
|
20851
20863
|
}, NO = ({
|
@@ -21149,7 +21161,7 @@ const EO = ({
|
|
21149
21161
|
(k.key === "Enter" || k.key === "Escape") && (k.stopPropagation(), N && k.key === "Enter" && !k.shiftKey && k.preventDefault(), k.key === "Escape" && b.current.blur());
|
21150
21162
|
};
|
21151
21163
|
return /* @__PURE__ */ t.jsx(
|
21152
|
-
|
21164
|
+
tc,
|
21153
21165
|
{
|
21154
21166
|
inputId: e,
|
21155
21167
|
layout: c,
|
@@ -21169,7 +21181,7 @@ const EO = ({
|
|
21169
21181
|
"textarea",
|
21170
21182
|
{
|
21171
21183
|
...S,
|
21172
|
-
...
|
21184
|
+
...ec({
|
21173
21185
|
inputId: e,
|
21174
21186
|
required: l,
|
21175
21187
|
label: s,
|
@@ -21413,7 +21425,7 @@ const EO = ({
|
|
21413
21425
|
]
|
21414
21426
|
}
|
21415
21427
|
);
|
21416
|
-
},
|
21428
|
+
}, Ii = {
|
21417
21429
|
DEFAULT_PLACEHOLDER: "Select Environment",
|
21418
21430
|
GROUP_HEADING_PREFIX: "Cluster:",
|
21419
21431
|
NO_ENVIRONMENTS_AVAILABLE: "No environments available"
|
@@ -21423,7 +21435,7 @@ const EO = ({
|
|
21423
21435
|
{}
|
21424
21436
|
);
|
21425
21437
|
return Object.entries(s).map(([n, a]) => ({
|
21426
|
-
label: `${
|
21438
|
+
label: `${Ii.GROUP_HEADING_PREFIX} ${n}`,
|
21427
21439
|
options: a.map((r) => ({
|
21428
21440
|
label: r.environment_name,
|
21429
21441
|
value: String(r.id)
|
@@ -21443,7 +21455,7 @@ const EO = ({
|
|
21443
21455
|
handleEnvironmentChange: e,
|
21444
21456
|
selectedEnvironmentsMap: s,
|
21445
21457
|
isMulti: n,
|
21446
|
-
placeholder: a =
|
21458
|
+
placeholder: a = Ii.DEFAULT_PLACEHOLDER,
|
21447
21459
|
processOptions: r,
|
21448
21460
|
styles: o,
|
21449
21461
|
isClearable: i,
|
@@ -21454,9 +21466,9 @@ const EO = ({
|
|
21454
21466
|
), p = X(() => d ? r?.(d) || d : [], [d, r]), _ = X(() => {
|
21455
21467
|
const x = AO(s, p);
|
21456
21468
|
return n ? x : x?.[0] || null;
|
21457
|
-
}, [s, p, n]), h = () => u ? /* @__PURE__ */ t.jsx(Rn, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children:
|
21469
|
+
}, [s, p, n]), h = () => u ? /* @__PURE__ */ t.jsx(Rn, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: Ii.NO_ENVIRONMENTS_AVAILABLE });
|
21458
21470
|
return /* @__PURE__ */ t.jsx(
|
21459
|
-
|
21471
|
+
$i,
|
21460
21472
|
{
|
21461
21473
|
isMulti: n,
|
21462
21474
|
options: p,
|
@@ -21784,7 +21796,7 @@ const Od = (e) => {
|
|
21784
21796
|
showValueOnHover: o
|
21785
21797
|
}) => {
|
21786
21798
|
const [i, c] = w(null), l = `@{{${e}}}`, d = () => {
|
21787
|
-
c(
|
21799
|
+
c(wc(l));
|
21788
21800
|
}, u = (x) => {
|
21789
21801
|
if (a)
|
21790
21802
|
return /* @__PURE__ */ t.jsx("i", { className: "text__white fs-12 fw-6 lh-18 m-0", children: "is sensitive & hidden" });
|
@@ -22188,7 +22200,7 @@ const FO = (e) => e === r_.NONE ? "" : "dc__border-n1", sr = ({
|
|
22188
22200
|
const u = a.toLowerCase();
|
22189
22201
|
return d.filter(({ title: m }) => m.toLowerCase().includes(u));
|
22190
22202
|
}, [a, n, s]);
|
22191
|
-
return e ? /* @__PURE__ */ t.jsx(BO, { borderVariant: o }) : s ? /* @__PURE__ */ t.jsx(Dn, { code: s?.code, reload: r }) : l.length === 0 ? a ? /* @__PURE__ */ t.jsx(
|
22203
|
+
return e ? /* @__PURE__ */ t.jsx(BO, { borderVariant: o }) : s ? /* @__PURE__ */ t.jsx(Dn, { code: s?.code, reload: r }) : l.length === 0 ? a ? /* @__PURE__ */ t.jsx(Cc, { handleClearFilters: i }) : /* @__PURE__ */ t.jsx(
|
22192
22204
|
qe,
|
22193
22205
|
{
|
22194
22206
|
image: c.image ?? ig,
|
@@ -22286,7 +22298,7 @@ const FO = (e) => e === r_.NONE ? "" : "dc__border-n1", sr = ({
|
|
22286
22298
|
da.Header = YO;
|
22287
22299
|
da.Body = KO;
|
22288
22300
|
da.Footer = WO;
|
22289
|
-
const
|
22301
|
+
const Rc = ({ id: e, className: s, isConnectable: n, children: a }) => {
|
22290
22302
|
const r = Yf(), { hasSource: o, hasTarget: i } = X(
|
22291
22303
|
() => ({
|
22292
22304
|
hasSource: r.some(({ source: c }) => c === e),
|
@@ -22296,13 +22308,13 @@ const Ac = ({ id: e, className: s, isConnectable: n, children: a }) => {
|
|
22296
22308
|
);
|
22297
22309
|
return /* @__PURE__ */ t.jsxs("div", { className: s, children: [
|
22298
22310
|
a,
|
22299
|
-
o && /* @__PURE__ */ t.jsx(
|
22300
|
-
i && /* @__PURE__ */ t.jsx(
|
22311
|
+
o && /* @__PURE__ */ t.jsx(Kc, { type: "source", position: zc.Right, isConnectable: n }),
|
22312
|
+
i && /* @__PURE__ */ t.jsx(Kc, { type: "target", position: zc.Left, isConnectable: n })
|
22301
22313
|
] });
|
22302
22314
|
}, zO = ({ id: e, data: s, isConnectable: n }) => {
|
22303
22315
|
const { isError: a, ...r } = s;
|
22304
22316
|
return /* @__PURE__ */ t.jsx(
|
22305
|
-
|
22317
|
+
Rc,
|
22306
22318
|
{
|
22307
22319
|
id: e,
|
22308
22320
|
className: `bg__primary border__primary br-6 dc__inline-flex w-180 ${a ? "er-5" : ""}`,
|
@@ -22323,7 +22335,7 @@ const Ac = ({ id: e, className: s, isConnectable: n, children: a }) => {
|
|
22323
22335
|
}, qO = ({ data: e, id: s, isConnectable: n }) => {
|
22324
22336
|
const { icon: a } = e;
|
22325
22337
|
return /* @__PURE__ */ t.jsx(
|
22326
|
-
|
22338
|
+
Rc,
|
22327
22339
|
{
|
22328
22340
|
id: s,
|
22329
22341
|
isConnectable: n,
|
@@ -22334,7 +22346,7 @@ const Ac = ({ id: e, className: s, isConnectable: n, children: a }) => {
|
|
22334
22346
|
}, XO = ({ id: e, data: s, isConnectable: n }) => {
|
22335
22347
|
const { icon: a, text: r } = s;
|
22336
22348
|
return /* @__PURE__ */ t.jsxs(
|
22337
|
-
|
22349
|
+
Rc,
|
22338
22350
|
{
|
22339
22351
|
id: e,
|
22340
22352
|
className: "bg__primary border__primary br-6 p-7 dc__inline-flex dc__align-items-center dc__gap-8 w-180",
|
@@ -22578,14 +22590,14 @@ let Ud;
|
|
22578
22590
|
const lw = async (e, s) => {
|
22579
22591
|
const n = await he(`${Y.SERVER_INFO_API}?showServerStatus=false`);
|
22580
22592
|
return Ud = n, typeof Storage < "u" && (localStorage.serverInfo = JSON.stringify(Ud)), Promise.resolve(n);
|
22581
|
-
}, dw = 864e5, uw = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * dw,
|
22593
|
+
}, dw = 864e5, uw = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ?? 0) * dw, Ai = async (e) => {
|
22582
22594
|
await cw({
|
22583
22595
|
eventType: e,
|
22584
22596
|
key: rm,
|
22585
22597
|
value: "",
|
22586
22598
|
active: !0
|
22587
22599
|
});
|
22588
|
-
},
|
22600
|
+
}, Ri = (e, s) => {
|
22589
22601
|
localStorage.setItem(e, `${uw(s)}`);
|
22590
22602
|
}, mw = ({
|
22591
22603
|
isEnterprise: e,
|
@@ -22606,13 +22618,13 @@ const lw = async (e, s) => {
|
|
22606
22618
|
]
|
22607
22619
|
], pw = (e) => Et(`${Y.ATTRIBUTES_USER}/${Y.UPDATE}`, e), _w = ({ hideGettingStartedCard: e }) => {
|
22608
22620
|
const s = async () => {
|
22609
|
-
|
22621
|
+
Ri("clickedOkay", 1), e(), await Ai(Jo.TOOLTIP_OKAY);
|
22610
22622
|
}, n = async () => {
|
22611
22623
|
const a = {
|
22612
22624
|
key: rm,
|
22613
22625
|
value: `${am}`
|
22614
22626
|
};
|
22615
|
-
await pw(a), e(a.value), await
|
22627
|
+
await pw(a), e(a.value), await Ai(Jo.TOOLTIP_DONT_SHOW_AGAIN);
|
22616
22628
|
};
|
22617
22629
|
return /* @__PURE__ */ t.jsxs("div", { className: "cn-0 p-20 br-8 fs-13 bg__overlay--primary dc__border w-300", onClick: Re, children: [
|
22618
22630
|
/* @__PURE__ */ t.jsx("img", { className: "mb-12 icon-dim-32", src: Ag, alt: "getting started icon" }),
|
@@ -22685,7 +22697,7 @@ const lw = async (e, s) => {
|
|
22685
22697
|
reinitialize: !0
|
22686
22698
|
})));
|
22687
22699
|
}, b = (A, R) => {
|
22688
|
-
switch (
|
22700
|
+
switch (Zo({
|
22689
22701
|
category: "Help Nav",
|
22690
22702
|
action: `HELP_${A.id.toUpperCase().replace("-", "_")}`
|
22691
22703
|
}), A.id) {
|
@@ -22720,7 +22732,7 @@ const lw = async (e, s) => {
|
|
22720
22732
|
}),
|
22721
22733
|
onClick: b,
|
22722
22734
|
onOpen: o,
|
22723
|
-
...e?.installationType ===
|
22735
|
+
...e?.installationType === Wi.OSS_HELM ? {
|
22724
22736
|
footerConfig: {
|
22725
22737
|
type: "customNode",
|
22726
22738
|
value: /* @__PURE__ */ t.jsx(fw, { serverInfo: e, fetchingServerInfo: s })
|
@@ -22850,7 +22862,7 @@ const lw = async (e, s) => {
|
|
22850
22862
|
}
|
22851
22863
|
);
|
22852
22864
|
}, Ew = ({ user: e, onClick: s }) => {
|
22853
|
-
const { viewIsPipelineRBACConfiguredNode: n } = Ss(), { open: a, overlayProps: r, popoverProps: o, triggerProps: i, scrollableRef: c, closePopover: l } =
|
22865
|
+
const { viewIsPipelineRBACConfiguredNode: n } = Ss(), { open: a, overlayProps: r, popoverProps: o, triggerProps: i, scrollableRef: c, closePopover: l } = nc({
|
22854
22866
|
id: "profile-menu",
|
22855
22867
|
alignment: "end",
|
22856
22868
|
width: 250
|
@@ -22863,7 +22875,7 @@ const lw = async (e, s) => {
|
|
22863
22875
|
className: "dc__transparent bg__secondary border__secondary br-18 flex dc__gap-4 p-4",
|
22864
22876
|
onClick: s,
|
22865
22877
|
children: [
|
22866
|
-
|
22878
|
+
ji(e, "dc__no-shrink m-0-imp icon-dim-24"),
|
22867
22879
|
/* @__PURE__ */ t.jsx(F, { name: "ic-caret-down-small", color: "N700", rotateBy: a ? 180 : 0 })
|
22868
22880
|
]
|
22869
22881
|
}
|
@@ -22873,7 +22885,7 @@ const lw = async (e, s) => {
|
|
22873
22885
|
l(), zv();
|
22874
22886
|
};
|
22875
22887
|
return /* @__PURE__ */ t.jsx(
|
22876
|
-
|
22888
|
+
sc,
|
22877
22889
|
{
|
22878
22890
|
open: a,
|
22879
22891
|
overlayProps: r,
|
@@ -22884,7 +22896,7 @@ const lw = async (e, s) => {
|
|
22884
22896
|
children: /* @__PURE__ */ t.jsxs("div", { ref: c, className: "dc__overflow-auto", children: [
|
22885
22897
|
/* @__PURE__ */ t.jsx("div", { className: "p-4", children: /* @__PURE__ */ t.jsxs("div", { className: "flex dc__content-space dc__gap-8 px-8 py-6", children: [
|
22886
22898
|
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 lh-1-5 fw-4 cn-9 dc__truncate", children: e }) }),
|
22887
|
-
|
22899
|
+
ji(e, "dc__no-shrink m-0-imp fs-16 icon-dim-36")
|
22888
22900
|
] }) }),
|
22889
22901
|
/* @__PURE__ */ t.jsxs("div", { className: "px-4 py-2 border__secondary-translucent--top border__secondary-translucent--bottom", children: [
|
22890
22902
|
/* @__PURE__ */ t.jsx(xw, { onClick: l }),
|
@@ -22909,7 +22921,7 @@ const lw = async (e, s) => {
|
|
22909
22921
|
onClose: l,
|
22910
22922
|
tippyProps: d
|
22911
22923
|
}) => {
|
22912
|
-
const { setLoginCount: u, setShowGettingStartedCard: m, setSidePanelConfig: p, sidePanelConfig: _ } = Ss(), { showSwitchThemeLocationTippy: h, handleShowSwitchThemeLocationTippyChange: x } = An(), { isTippyCustomized: g, tippyRedirectLink: E, TippyIcon: f, tippyMessage: C, onClickTippyButton: N, additionalContent: S } = d || {}, { email: b } =
|
22924
|
+
const { setLoginCount: u, setShowGettingStartedCard: m, setSidePanelConfig: p, sidePanelConfig: _ } = Ss(), { showSwitchThemeLocationTippy: h, handleShowSwitchThemeLocationTippyChange: x } = An(), { isTippyCustomized: g, tippyRedirectLink: E, TippyIcon: f, tippyMessage: C, onClickTippyButton: N, additionalContent: S } = d || {}, { email: b } = Ji(), [I, y] = w(
|
22913
22925
|
{
|
22914
22926
|
serverInfo: void 0,
|
22915
22927
|
fetchingServerInfo: !1
|
@@ -22932,9 +22944,9 @@ const lw = async (e, s) => {
|
|
22932
22944
|
}, R = () => {
|
22933
22945
|
x(!1);
|
22934
22946
|
}, v = () => {
|
22935
|
-
R(),
|
22947
|
+
R(), Ri("clickedOkay", 1), A();
|
22936
22948
|
}, j = async () => {
|
22937
|
-
!window._env_.K8S_CLIENT && I.serverInfo?.installationType !==
|
22949
|
+
!window._env_.K8S_CLIENT && I.serverInfo?.installationType !== Wi.ENTERPRISE && await T(), Ri("clickedOkay", 1), A(), await Ai(Jo.HELP), Zo({
|
22938
22950
|
category: "Main Navigation",
|
22939
22951
|
action: "Help Clicked"
|
22940
22952
|
});
|
@@ -22942,7 +22954,7 @@ const lw = async (e, s) => {
|
|
22942
22954
|
/* @__PURE__ */ t.jsx("h6", { className: "m-0 fs-14 fw-6 lh-20", children: "Theme Preference" }),
|
22943
22955
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 fw-4 lh-20", children: "You can change your theme preference here" })
|
22944
22956
|
] }), O = () => {
|
22945
|
-
|
22957
|
+
Zo({
|
22946
22958
|
category: "AI",
|
22947
22959
|
action: "HELP_ASK_DEVTRON_AI"
|
22948
22960
|
}), p((B) => ({ ...B, state: Wr.ASK_DEVTRON }));
|
@@ -22967,7 +22979,7 @@ const lw = async (e, s) => {
|
|
22967
22979
|
}
|
22968
22980
|
),
|
22969
22981
|
!window._env_.K8S_CLIENT && /* @__PURE__ */ t.jsx(
|
22970
|
-
|
22982
|
+
ac,
|
22971
22983
|
{
|
22972
22984
|
theme: ga.black,
|
22973
22985
|
className: "w-250",
|
@@ -23264,7 +23276,7 @@ const Cw = (e) => [
|
|
23264
23276
|
}, m = () => r ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__info flex left fs-13 dc__gap-8", children: [
|
23265
23277
|
/* @__PURE__ */ t.jsx(F, { name: "ic-rocket-launch", color: "N600" }),
|
23266
23278
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4", children: r })
|
23267
|
-
] }) : null, p = () => !o || !i ? null : o ===
|
23279
|
+
] }) : null, p = () => !o || !i ? null : o === Ki.system ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__deployed-by flex left", children: [
|
23268
23280
|
/* @__PURE__ */ t.jsx(mg, { className: "icon-dim-16 mr-6" }),
|
23269
23281
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4", children: "Auto triggered" })
|
23270
23282
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "material-history__deployed-by flex left", children: [
|
@@ -23273,7 +23285,7 @@ const Cw = (e) => [
|
|
23273
23285
|
{
|
23274
23286
|
className: "flex fs-13 fw-6 lh-18 icon-dim-20 mr-6 cn-0 m-auto dc__border-transparent dc__uppercase dc__border-radius-50-per",
|
23275
23287
|
style: {
|
23276
|
-
backgroundColor:
|
23288
|
+
backgroundColor: Oc(o)
|
23277
23289
|
},
|
23278
23290
|
children: o[0]
|
23279
23291
|
}
|
@@ -23394,7 +23406,7 @@ const Cw = (e) => [
|
|
23394
23406
|
Mr,
|
23395
23407
|
{
|
23396
23408
|
text: "Multi-arch image",
|
23397
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
23409
|
+
startIcon: /* @__PURE__ */ t.jsx(Fi, { className: "dc__no-shrink scn-6 icon-dim-16 mr-6" }),
|
23398
23410
|
isSoftDeleted: !1,
|
23399
23411
|
isEditing: !1,
|
23400
23412
|
tagId: 0,
|
@@ -23554,7 +23566,7 @@ const jw = ({
|
|
23554
23566
|
}),
|
23555
23567
|
children: n
|
23556
23568
|
}
|
23557
|
-
), ww = ({ parsingError: e, restoreLastSavedYAML: s, children: n }) => e ? /* @__PURE__ */ t.jsx(Ow, { parsingError: e, restoreLastSavedYAML: s, children: n }) : n, Lw = "Keys must be unique", Dw = "Key cannot be empty", Pw = (e) => e.map(({ data: s, id: n }) => ({ id: n, key: s.key.value, value: s.value.value })),
|
23569
|
+
), ww = ({ parsingError: e, restoreLastSavedYAML: s, children: n }) => e ? /* @__PURE__ */ t.jsx(Ow, { parsingError: e, restoreLastSavedYAML: s, children: n }) : n, Lw = "Keys must be unique", Dw = "Key cannot be empty", Pw = (e) => e.map(({ data: s, id: n }) => ({ id: n, key: s.key.value, value: s.value.value })), yi = (e) => ({
|
23558
23570
|
id: Dt(),
|
23559
23571
|
data: {
|
23560
23572
|
key: {
|
@@ -23590,7 +23602,7 @@ const jw = ({
|
|
23590
23602
|
}
|
23591
23603
|
},
|
23592
23604
|
id: c
|
23593
|
-
})) : [
|
23605
|
+
})) : [yi(s)];
|
23594
23606
|
}, kw = ({
|
23595
23607
|
rows: e,
|
23596
23608
|
sortBy: s,
|
@@ -23685,7 +23697,7 @@ const jw = ({
|
|
23685
23697
|
validateDuplicateKeys: _ = !1,
|
23686
23698
|
validateEmptyKeys: h = !1
|
23687
23699
|
}) => {
|
23688
|
-
const [x, g] = w({}), [E, f] = w([]), { sortBy: C, sortOrder: N, handleSorting: S } =
|
23700
|
+
const [x, g] = w({}), [E, f] = w([]), { sortBy: C, sortOrder: N, handleSorting: S } = dc({
|
23689
23701
|
initialSortKey: r ? "key" : null
|
23690
23702
|
}), b = X(
|
23691
23703
|
() => Mw({ rows: s, placeholder: n, maskValue: a }),
|
@@ -23726,12 +23738,12 @@ const jw = ({
|
|
23726
23738
|
});
|
23727
23739
|
g(P), p?.(!j), i(Pw(v));
|
23728
23740
|
}, T = () => {
|
23729
|
-
const j = [
|
23741
|
+
const j = [yi(n), ...b];
|
23730
23742
|
y(j);
|
23731
23743
|
}, A = (v) => {
|
23732
23744
|
const j = b.filter(({ id: P }) => P !== v.id);
|
23733
23745
|
if (j.length === 0 && !c) {
|
23734
|
-
const P =
|
23746
|
+
const P = yi(n);
|
23735
23747
|
y([P]);
|
23736
23748
|
return;
|
23737
23749
|
}
|
@@ -23792,7 +23804,7 @@ const Fw = (e) => {
|
|
23792
23804
|
}), m_ = (e) => He(window._env_.GATEKEEPER_URL, { fingerprint: e }), Gw = ({ copyContent: e }) => {
|
23793
23805
|
const [s, n] = w(!1), a = $(null), r = async () => {
|
23794
23806
|
try {
|
23795
|
-
await
|
23807
|
+
await wc(e), n(!0), a.current = setTimeout(() => {
|
23796
23808
|
n(!1);
|
23797
23809
|
}, 1e3);
|
23798
23810
|
} catch (o) {
|
@@ -24695,7 +24707,7 @@ const nL = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
24695
24707
|
)),
|
24696
24708
|
_ && /* @__PURE__ */ t.jsx(p_, {}),
|
24697
24709
|
n > s.length && !_ && /* @__PURE__ */ t.jsx(Op, { callback: E, hasError: x })
|
24698
|
-
] }) : o || r.length ? /* @__PURE__ */ t.jsx(
|
24710
|
+
] }) : o || r.length ? /* @__PURE__ */ t.jsx(Cc, { handleClearFilters: d, imageType: Hs.Large }) : /* @__PURE__ */ t.jsx(qe, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
|
24699
24711
|
}, iL = ({
|
24700
24712
|
availableTags: e,
|
24701
24713
|
handleUpdateSelectedTags: s,
|
@@ -24869,7 +24881,7 @@ const nL = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
24869
24881
|
}
|
24870
24882
|
),
|
24871
24883
|
/* @__PURE__ */ t.jsx(
|
24872
|
-
|
24884
|
+
mc,
|
24873
24885
|
{
|
24874
24886
|
isLoading: P || zt(D),
|
24875
24887
|
customLoader: /* @__PURE__ */ t.jsx(p_, {}),
|
@@ -24903,7 +24915,7 @@ const nL = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
24903
24915
|
children: n
|
24904
24916
|
}) => {
|
24905
24917
|
const [a, r] = w(null), o = $(`portal-container-${Dt()}`);
|
24906
|
-
return
|
24918
|
+
return Mi(() => {
|
24907
24919
|
const i = document.getElementById(s);
|
24908
24920
|
let c = document.getElementById(o.current), l = !1;
|
24909
24921
|
if (e && i) {
|
@@ -25025,7 +25037,7 @@ const nL = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
25025
25037
|
let x = null;
|
25026
25038
|
return e || (x = setInterval(() => {
|
25027
25039
|
const g = localStorage.getItem(
|
25028
|
-
|
25040
|
+
qi
|
25029
25041
|
);
|
25030
25042
|
g && m(g);
|
25031
25043
|
}, 1e4)), () => {
|
@@ -25901,12 +25913,12 @@ const SL = ({
|
|
25901
25913
|
);
|
25902
25914
|
}, [ge]);
|
25903
25915
|
const fe = o ?? gs, ne = () => W && !te && !h ? /* @__PURE__ */ t.jsx(Dn, { code: W.code, reload: re }) : !te && !Ee?.length && !h ? e !== wr.NONE && D ? /* @__PURE__ */ t.jsx(
|
25904
|
-
|
25916
|
+
Cc,
|
25905
25917
|
{
|
25906
25918
|
...c.noRowsForFilterConfig,
|
25907
25919
|
handleClearFilters: b ?? O
|
25908
25920
|
}
|
25909
|
-
) : /* @__PURE__ */ t.jsx(qe, { ...c.noRowsConfig }) : /* @__PURE__ */ t.jsx(
|
25921
|
+
) : /* @__PURE__ */ t.jsx(qe, { ...c.noRowsConfig }) : /* @__PURE__ */ t.jsx(lc, { shouldHookOntoWindow: !1, shortcutTimeout: 50, children: /* @__PURE__ */ t.jsx(
|
25910
25922
|
jL,
|
25911
25923
|
{
|
25912
25924
|
filteredRows: Ee,
|
@@ -26029,7 +26041,7 @@ const SL = ({
|
|
26029
26041
|
handleToggleBulkSelectionOnRow: Ne
|
26030
26042
|
}
|
26031
26043
|
);
|
26032
|
-
},
|
26044
|
+
}, yc = (e) => {
|
26033
26045
|
const { columns: s, id: n, areColumnsConfigurable: a } = e, [r, o] = w(zd({ columns: s, id: n, areColumnsConfigurable: a })), i = (c) => {
|
26034
26046
|
o(c), AL({ id: n, visibleColumns: c });
|
26035
26047
|
};
|
@@ -26044,15 +26056,15 @@ const SL = ({
|
|
26044
26056
|
}
|
26045
26057
|
);
|
26046
26058
|
}, DL = (e) => {
|
26047
|
-
const { additionalFilterProps: s } = e, n = lc(s);
|
26048
|
-
return /* @__PURE__ */ t.jsx(Rc, { ...e, filterData: n });
|
26049
|
-
}, PL = (e) => {
|
26050
26059
|
const { additionalFilterProps: s } = e, n = dc(s);
|
26051
|
-
return /* @__PURE__ */ t.jsx(
|
26060
|
+
return /* @__PURE__ */ t.jsx(yc, { ...e, filterData: n });
|
26061
|
+
}, PL = (e) => {
|
26062
|
+
const { additionalFilterProps: s } = e, n = uc(s);
|
26063
|
+
return /* @__PURE__ */ t.jsx(yc, { ...e, filterData: n });
|
26052
26064
|
}, LH = (e) => {
|
26053
26065
|
const { filtersVariant: s } = e;
|
26054
26066
|
return s === wr.STATE ? /* @__PURE__ */ t.jsx(DL, { ...e }) : s === wr.URL ? /* @__PURE__ */ t.jsx(PL, { ...e }) : /* @__PURE__ */ t.jsx(
|
26055
|
-
|
26067
|
+
yc,
|
26056
26068
|
{
|
26057
26069
|
...e,
|
26058
26070
|
filterData: null
|
@@ -26275,7 +26287,7 @@ const SL = ({
|
|
26275
26287
|
strikeThrough: o,
|
26276
26288
|
isSelected: i
|
26277
26289
|
}) => {
|
26278
|
-
const { isTextTruncated: c, handleMouseEnterEvent: l } =
|
26290
|
+
const { isTextTruncated: c, handleMouseEnterEvent: l } = mi(), { isTextTruncated: d, handleMouseEnterEvent: u } = mi(), m = c || d;
|
26279
26291
|
return /* @__PURE__ */ t.jsxs("span", { className: "flexbox flex-grow-1 px-8 py-6 flexbox dc__gap-8 dc__align-start", children: [
|
26280
26292
|
e && /* @__PURE__ */ t.jsx(
|
26281
26293
|
ee,
|
@@ -26550,7 +26562,7 @@ const SL = ({
|
|
26550
26562
|
]
|
26551
26563
|
}
|
26552
26564
|
),
|
26553
|
-
O.trailingItem && /* @__PURE__ */ t.jsx("div", { className: "flex py-6 pr-8 dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
26565
|
+
O.trailingItem && /* @__PURE__ */ t.jsx("div", { className: "flex py-6 pr-8 dc__no-shrink", children: /* @__PURE__ */ t.jsx(li, { ...O.trailingItem }) })
|
26554
26566
|
]
|
26555
26567
|
}
|
26556
26568
|
)
|
@@ -26611,7 +26623,7 @@ const SL = ({
|
|
26611
26623
|
className: `flexbox flex-grow-1 w-100 br-4 ${D ? "bcb-1" : Qd[u]}`,
|
26612
26624
|
children: [
|
26613
26625
|
P(O, G, B),
|
26614
|
-
O.trailingItem && /* @__PURE__ */ t.jsx("div", { className: "flex py-6 pr-8 dc__no-shrink", children: /* @__PURE__ */ t.jsx(
|
26626
|
+
O.trailingItem && /* @__PURE__ */ t.jsx("div", { className: "flex py-6 pr-8 dc__no-shrink", children: /* @__PURE__ */ t.jsx(li, { ...O.trailingItem }) })
|
26615
26627
|
]
|
26616
26628
|
}
|
26617
26629
|
)
|
@@ -26643,7 +26655,7 @@ const SL = ({
|
|
26643
26655
|
ease: "linear"
|
26644
26656
|
}).stop, [e]), n;
|
26645
26657
|
}, UH = () => /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-item-center dc__gap-6", children: [
|
26646
|
-
/* @__PURE__ */ t.jsx(
|
26658
|
+
/* @__PURE__ */ t.jsx(Gi, { className: "icon-dim-20 dc__no-shrink" }),
|
26647
26659
|
/* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-13 fw-4 lh-20", children: "Unsaved changes" })
|
26648
26660
|
] }), $H = ({ handleClose: e, handleProceed: s }) => /* @__PURE__ */ t.jsx(
|
26649
26661
|
Vs,
|
@@ -26675,10 +26687,10 @@ const SL = ({
|
|
26675
26687
|
isUserGroup: r = !1,
|
26676
26688
|
displayYouLabelForCurrentUser: o = !0
|
26677
26689
|
}) => {
|
26678
|
-
const { email: i } =
|
26690
|
+
const { email: i } = Ji();
|
26679
26691
|
if (!e)
|
26680
26692
|
return null;
|
26681
|
-
const c = e === i, l = e.startsWith(pr), d = () => l ? /* @__PURE__ */ t.jsx(F, { name: "ic-key", color: "N700", size: 20 }) : r ? /* @__PURE__ */ t.jsx(F, { name: "ic-users", color: "N700", size: 20 }) :
|
26693
|
+
const c = e === i, l = e.startsWith(pr), d = () => l ? /* @__PURE__ */ t.jsx(F, { name: "ic-key", color: "N700", size: 20 }) : r ? /* @__PURE__ */ t.jsx(F, { name: "ic-users", color: "N700", size: 20 }) : ji(e, "dc__no-shrink m-0-imp"), u = () => c && o ? "You" : l ? e.split(":")?.[1] || "-" : e;
|
26682
26694
|
return /* @__PURE__ */ t.jsx("div", { className: `flexbox dc__gap-8 ${n || ""}`, children: /* @__PURE__ */ t.jsxs(HL, { tooltipContent: a, children: [
|
26683
26695
|
d(),
|
26684
26696
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-2", children: [
|
@@ -26734,7 +26746,7 @@ const SL = ({
|
|
26734
26746
|
rowRenderer: i
|
26735
26747
|
}
|
26736
26748
|
);
|
26737
|
-
},
|
26749
|
+
}, jc = {
|
26738
26750
|
BUILD: {
|
26739
26751
|
BUILD_AND_DEPLOY_FROM_SOURCE_CODE: {
|
26740
26752
|
title: "Build & Deploy from Source Code",
|
@@ -26869,7 +26881,7 @@ const SL = ({
|
|
26869
26881
|
currentPipelineType: e,
|
26870
26882
|
changeCIPayload: s,
|
26871
26883
|
isAppGroup: n
|
26872
|
-
}) => Object.values(
|
26884
|
+
}) => Object.values(jc.BUILD).map(
|
26873
26885
|
({ type: a, ...r }) => e === a || a === lt.JOB_CI && !window._env_.ENABLE_CI_JOB || a === lt.CI_CD && (n || !!s) ? null : {
|
26874
26886
|
...r,
|
26875
26887
|
type: a,
|
@@ -26880,7 +26892,7 @@ const SL = ({
|
|
26880
26892
|
linkedCDSourceVariant: s,
|
26881
26893
|
isAppGroup: n
|
26882
26894
|
}) => {
|
26883
|
-
const a = Object.values(
|
26895
|
+
const a = Object.values(jc.RECEIVE).map(
|
26884
26896
|
({ type: r, ...o }) => e === r ? null : {
|
26885
26897
|
...o,
|
26886
26898
|
type: r,
|
@@ -26891,7 +26903,7 @@ const SL = ({
|
|
26891
26903
|
}, QL = ({
|
26892
26904
|
currentPipelineType: e,
|
26893
26905
|
isAppGroup: s
|
26894
|
-
}) => Object.values(
|
26906
|
+
}) => Object.values(jc.JOB).map(
|
26895
26907
|
({ type: n, ...a }) => e === n || n === lt.JOB_CI && !window._env_.ENABLE_CI_JOB ? null : {
|
26896
26908
|
...a,
|
26897
26909
|
type: n,
|
@@ -27072,17 +27084,17 @@ const ru = [
|
|
27072
27084
|
"var(--G500)",
|
27073
27085
|
"var(--G700)"
|
27074
27086
|
];
|
27075
|
-
function
|
27087
|
+
function Oc(e) {
|
27076
27088
|
let s = 0;
|
27077
27089
|
for (let n = 0; n < e.length; n++)
|
27078
27090
|
s += e.charCodeAt(n);
|
27079
27091
|
return ru[s % ru.length];
|
27080
27092
|
}
|
27081
|
-
const
|
27093
|
+
const ji = (e, s = "") => e ? /* @__PURE__ */ t.jsx(
|
27082
27094
|
"span",
|
27083
27095
|
{
|
27084
27096
|
className: `${s} alphabet-icon__initial fs-13 icon-dim-20 flex cn-0 mr-8 dc__no-shrink`,
|
27085
|
-
style: { backgroundColor:
|
27097
|
+
style: { backgroundColor: Oc(e) },
|
27086
27098
|
children: e[0]
|
27087
27099
|
}
|
27088
27100
|
) : null, GH = (e) => Array.from({ length: e });
|
@@ -27184,7 +27196,7 @@ const rD = (e) => {
|
|
27184
27196
|
};
|
27185
27197
|
document.addEventListener("copy", s), document.execCommand("copy"), document.removeEventListener("copy", s);
|
27186
27198
|
};
|
27187
|
-
function
|
27199
|
+
function wc(e) {
|
27188
27200
|
return new Promise((s, n) => {
|
27189
27201
|
if (!e) {
|
27190
27202
|
s();
|
@@ -27306,17 +27318,17 @@ const qH = (e, s) => e ? ua(e, !0) : s ? "" : "Not deployed", He = (e, s = {}) =
|
|
27306
27318
|
return e.forEach((n) => {
|
27307
27319
|
S_(s, n);
|
27308
27320
|
}), s;
|
27309
|
-
},
|
27321
|
+
}, Oi = (e, s, n) => {
|
27310
27322
|
if (e === s.length)
|
27311
27323
|
return n;
|
27312
27324
|
const a = s[e], r = Number(a);
|
27313
27325
|
return !Number.isNaN(r) ? [
|
27314
27326
|
...Array(r).fill(om),
|
27315
|
-
|
27316
|
-
] : { [Eu(a)]:
|
27327
|
+
Oi(e + 1, s, n)
|
27328
|
+
] : { [Eu(a)]: Oi(e + 1, s, n) };
|
27317
27329
|
}, ZH = (e, s) => {
|
27318
27330
|
const n = e.split("/");
|
27319
|
-
return n.splice(0, 1),
|
27331
|
+
return n.splice(0, 1), Oi(0, n, s);
|
27320
27332
|
}, v_ = (e, s) => {
|
27321
27333
|
const n = e.search(s);
|
27322
27334
|
if (n < 0)
|
@@ -27466,7 +27478,7 @@ const l4 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, d4 = (e, s = 300) => {
|
|
27466
27478
|
const r = Date.now();
|
27467
27479
|
r - n >= s && (n = r, e(...a));
|
27468
27480
|
};
|
27469
|
-
}, lD = (e, s, n) => e === es.WEBHOOK ? n === aa.PULL_REQUEST ? /* @__PURE__ */ t.jsx(
|
27481
|
+
}, lD = (e, s, n) => e === es.WEBHOOK ? n === aa.PULL_REQUEST ? /* @__PURE__ */ t.jsx(Vi, { className: "scn-6" }) : n === aa.TAG_CREATION ? /* @__PURE__ */ t.jsx(Fr, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Qu, {}) : e === es.BranchRegex || s ? /* @__PURE__ */ t.jsx(ku, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(vu, { className: "fcn-6" }), y_ = (e) => sn.sanitize(e, {
|
27470
27482
|
ADD_TAGS: ["iframe"],
|
27471
27483
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
27472
27484
|
}), u4 = (e, s) => {
|
@@ -27604,7 +27616,7 @@ const l4 = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, d4 = (e, s = 300) => {
|
|
27604
27616
|
}, fD = () => {
|
27605
27617
|
window.location.href = `${window.location.origin}${window.__BASE_URL__}${Se.LICENSE_AUTH}`;
|
27606
27618
|
};
|
27607
|
-
class
|
27619
|
+
class Lc {
|
27608
27620
|
constructor({ handleLogout: s, host: n, timeout: a, handleRedirectToLicenseActivation: r }) {
|
27609
27621
|
me(this, "handleLogout");
|
27610
27622
|
me(this, "handleRedirectToLicenseActivation");
|
@@ -27692,7 +27704,7 @@ class wc {
|
|
27692
27704
|
options: r,
|
27693
27705
|
isMultipartRequest: o
|
27694
27706
|
}) => {
|
27695
|
-
const i = r?.abortControllerRef?.current ?? new AbortController(), c = i.signal, l =
|
27707
|
+
const i = r?.abortControllerRef?.current ?? new AbortController(), c = i.signal, l = Lc.mergeAbortSignals(r?.signal, c), d = r?.timeout || this.timeout, u = new Promise((m, p) => {
|
27696
27708
|
setTimeout(() => {
|
27697
27709
|
i.abort(), r?.abortControllerRef?.current && (r.abortControllerRef.current = new AbortController()), p({
|
27698
27710
|
code: Bt.REQUEST_TIMEOUT,
|
@@ -27790,11 +27802,11 @@ const hD = new rh({
|
|
27790
27802
|
a.meta.showToastError && we(e);
|
27791
27803
|
}
|
27792
27804
|
})
|
27793
|
-
}), f4 = ({ children: e }) => /* @__PURE__ */ t.jsx(ah, { client: hD, children: e }), h4 = (e) => ch(e), g4 = (e) => lh(e), gD = new
|
27805
|
+
}), f4 = ({ children: e }) => /* @__PURE__ */ t.jsx(ah, { client: hD, children: e }), h4 = (e) => ch(e), g4 = (e) => lh(e), gD = new Lc({
|
27794
27806
|
handleLogout: _D,
|
27795
27807
|
timeout: window?._env_?.GLOBAL_API_TIMEOUT,
|
27796
27808
|
handleRedirectToLicenseActivation: fD
|
27797
|
-
}), { post: Et, put:
|
27809
|
+
}), { post: Et, put: Dc, patch: xD, get: he, trash: _o } = gD, ED = {
|
27798
27810
|
alias: {}
|
27799
27811
|
}, x4 = ({ heading: e, isActive: s, shouldTruncate: n = !1 }) => /* @__PURE__ */ t.jsx("h2", { className: `m-0 fs-16 fw-6 lh-32 ${n ? "dc__truncate" : ""} ${s ? "cn-9" : "cb-5"}`, children: e }), E4 = ({ children: e }) => {
|
27800
27812
|
const [s, n] = w(ED);
|
@@ -27984,7 +27996,7 @@ function bD({
|
|
27984
27996
|
className: "dc__outline-none-imp dc__no-border p-0 bg__secondary flex",
|
27985
27997
|
onClick: h,
|
27986
27998
|
"data-testid": "clear-search",
|
27987
|
-
children: /* @__PURE__ */ t.jsx(
|
27999
|
+
children: /* @__PURE__ */ t.jsx(Yi, { className: "icon-dim-20 icon-n6" })
|
27988
28000
|
}
|
27989
28001
|
),
|
27990
28002
|
n
|
@@ -27995,18 +28007,18 @@ function TD(e, {
|
|
27995
28007
|
isTemplateView: n
|
27996
28008
|
}) {
|
27997
28009
|
let a;
|
27998
|
-
return s ? a = `${
|
28010
|
+
return s ? a = `${ni.CI_PIPELINE_PATCH}/regex` : a = n ? zr({
|
27999
28011
|
type: Ea.CI_PIPELINE,
|
28000
28012
|
queryParams: {
|
28001
28013
|
id: e.appId
|
28002
28014
|
}
|
28003
|
-
}) :
|
28015
|
+
}) : ni.CI_PIPELINE_PATCH, Et(a, e);
|
28004
28016
|
}
|
28005
28017
|
function SD(e, s, n) {
|
28006
28018
|
const a = n ? zr({
|
28007
28019
|
type: Ea.WORKFLOW,
|
28008
28020
|
queryParams: { id: e, appWorkflowId: s }
|
28009
|
-
}) : `${
|
28021
|
+
}) : `${ni.WORKFLOW}/${e}/${s}`;
|
28010
28022
|
return _o(a);
|
28011
28023
|
}
|
28012
28024
|
const b4 = ({
|
@@ -28091,7 +28103,7 @@ const b4 = ({
|
|
28091
28103
|
ry,
|
28092
28104
|
{
|
28093
28105
|
title: a,
|
28094
|
-
component: r ?
|
28106
|
+
component: r ? si.Job : si.BuildPipeline,
|
28095
28107
|
subtitle: `Are you sure you want to delete this pipeline from '${a}' ?`,
|
28096
28108
|
closeConfirmationModal: m,
|
28097
28109
|
onDelete: h,
|
@@ -28104,10 +28116,10 @@ const b4 = ({
|
|
28104
28116
|
x(),
|
28105
28117
|
g()
|
28106
28118
|
] });
|
28107
|
-
}, T4 = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", { className: s || "", children: /* @__PURE__ */ t.jsx(Dg, { className: e || "" }) }),
|
28119
|
+
}, T4 = ({ classes: e, parentClasses: s }) => /* @__PURE__ */ t.jsx("div", { className: s || "", children: /* @__PURE__ */ t.jsx(Dg, { className: e || "" }) }), wi = $t({ title: "", isLoading: !1, close: (e) => {
|
28108
28120
|
}, onSave: (e) => {
|
28109
28121
|
} });
|
28110
|
-
class S4 extends
|
28122
|
+
class S4 extends ki {
|
28111
28123
|
constructor(s) {
|
28112
28124
|
super(s), this.escFunction = this.escFunction.bind(this);
|
28113
28125
|
}
|
@@ -28122,7 +28134,7 @@ class S4 extends Mi {
|
|
28122
28134
|
}
|
28123
28135
|
render() {
|
28124
28136
|
return /* @__PURE__ */ t.jsx(
|
28125
|
-
|
28137
|
+
wi.Provider,
|
28126
28138
|
{
|
28127
28139
|
value: {
|
28128
28140
|
title: this.props.title,
|
@@ -28138,7 +28150,7 @@ class S4 extends Mi {
|
|
28138
28150
|
/* @__PURE__ */ t.jsx("img", { src: ag, alt: "close" })
|
28139
28151
|
] })
|
28140
28152
|
] }),
|
28141
|
-
/* @__PURE__ */ t.jsx(
|
28153
|
+
/* @__PURE__ */ t.jsx(wi.Consumer, { children: (s) => /* @__PURE__ */ t.jsx(
|
28142
28154
|
"form",
|
28143
28155
|
{
|
28144
28156
|
noValidate: !0,
|
@@ -28153,15 +28165,15 @@ class S4 extends Mi {
|
|
28153
28165
|
);
|
28154
28166
|
}
|
28155
28167
|
}
|
28156
|
-
class v4 extends
|
28168
|
+
class v4 extends ki {
|
28157
28169
|
render() {
|
28158
|
-
return /* @__PURE__ */ t.jsx(
|
28170
|
+
return /* @__PURE__ */ t.jsx(wi.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(Xe, {}) : this.props.children }) });
|
28159
28171
|
}
|
28160
28172
|
}
|
28161
28173
|
const vD = ({ subtitle: e, title: s }) => /* @__PURE__ */ t.jsx(
|
28162
28174
|
qe,
|
28163
28175
|
{
|
28164
|
-
image:
|
28176
|
+
image: zo,
|
28165
28177
|
title: s ?? nt.NOT_AUTHORIZED,
|
28166
28178
|
subTitle: e ?? nt.ONLY_FOR_SUPERADMIN
|
28167
28179
|
}
|
@@ -29448,7 +29460,7 @@ export {
|
|
29448
29460
|
sm as aV,
|
29449
29461
|
Bt as aW,
|
29450
29462
|
nm as aX,
|
29451
|
-
|
29463
|
+
Jo as aY,
|
29452
29464
|
am as aZ,
|
29453
29465
|
rm as a_,
|
29454
29466
|
ZV as aa,
|
@@ -29489,7 +29501,7 @@ export {
|
|
29489
29501
|
js as b7,
|
29490
29502
|
mO as b8,
|
29491
29503
|
hO as b9,
|
29492
|
-
|
29504
|
+
ji as bA,
|
29493
29505
|
GH as bB,
|
29494
29506
|
Ne as bC,
|
29495
29507
|
sD as bD,
|
@@ -29503,7 +29515,7 @@ export {
|
|
29503
29515
|
KH as bL,
|
29504
29516
|
zH as bM,
|
29505
29517
|
ou as bN,
|
29506
|
-
|
29518
|
+
wc as bO,
|
29507
29519
|
vt as bP,
|
29508
29520
|
qH as bQ,
|
29509
29521
|
He as bR,
|
@@ -29530,9 +29542,9 @@ export {
|
|
29530
29542
|
NL as bl,
|
29531
29543
|
bL as bm,
|
29532
29544
|
Or as bn,
|
29533
|
-
|
29545
|
+
Ec as bo,
|
29534
29546
|
qe as bp,
|
29535
|
-
|
29547
|
+
Cc as bq,
|
29536
29548
|
I4 as br,
|
29537
29549
|
_n as bs,
|
29538
29550
|
we as bt,
|
@@ -29541,7 +29553,7 @@ export {
|
|
29541
29553
|
Re as bw,
|
29542
29554
|
tD as bx,
|
29543
29555
|
po as by,
|
29544
|
-
|
29556
|
+
Oc as bz,
|
29545
29557
|
e4 as c,
|
29546
29558
|
Tt as c$,
|
29547
29559
|
lu as c0,
|
@@ -29572,13 +29584,13 @@ export {
|
|
29572
29584
|
Xe as cP,
|
29573
29585
|
AB as cQ,
|
29574
29586
|
D_ as cR,
|
29575
|
-
|
29587
|
+
Nc as cS,
|
29576
29588
|
YD as cT,
|
29577
29589
|
Cb as cU,
|
29578
29590
|
Vt as cV,
|
29579
29591
|
Qr as cW,
|
29580
29592
|
UI as cX,
|
29581
|
-
|
29593
|
+
ac as cY,
|
29582
29594
|
RB as cZ,
|
29583
29595
|
ga as c_,
|
29584
29596
|
c4 as ca,
|
@@ -29595,13 +29607,13 @@ export {
|
|
29595
29607
|
pD as cl,
|
29596
29608
|
uT as cm,
|
29597
29609
|
Qm as cn,
|
29598
|
-
|
29610
|
+
mi as co,
|
29599
29611
|
tp as cp,
|
29600
29612
|
wn as cq,
|
29601
|
-
|
29602
|
-
|
29613
|
+
lc as cr,
|
29614
|
+
dc as cs,
|
29603
29615
|
EI as ct,
|
29604
|
-
|
29616
|
+
uc as cu,
|
29605
29617
|
w_ as cv,
|
29606
29618
|
Mr as cw,
|
29607
29619
|
mu as cx,
|
@@ -29618,9 +29630,9 @@ export {
|
|
29618
29630
|
zn as d6,
|
29619
29631
|
QN as d7,
|
29620
29632
|
eb as d8,
|
29621
|
-
|
29633
|
+
qo as d9,
|
29622
29634
|
ST as dA,
|
29623
|
-
|
29635
|
+
Zi as dB,
|
29624
29636
|
vT as dC,
|
29625
29637
|
Ea as dD,
|
29626
29638
|
Im as dE,
|
@@ -29654,7 +29666,7 @@ export {
|
|
29654
29666
|
hn as df,
|
29655
29667
|
Ps as dg,
|
29656
29668
|
sa as dh,
|
29657
|
-
|
29669
|
+
Xo as di,
|
29658
29670
|
ab as dj,
|
29659
29671
|
kB as dk,
|
29660
29672
|
jT as dl,
|
@@ -29666,7 +29678,7 @@ export {
|
|
29666
29678
|
DB as ds,
|
29667
29679
|
PB as dt,
|
29668
29680
|
MB as du,
|
29669
|
-
|
29681
|
+
Qi as dv,
|
29670
29682
|
AT as dw,
|
29671
29683
|
RT as dx,
|
29672
29684
|
yT as dy,
|
@@ -29688,8 +29700,8 @@ export {
|
|
29688
29700
|
ym as eC,
|
29689
29701
|
_r as eD,
|
29690
29702
|
ra as eE,
|
29691
|
-
|
29692
|
-
|
29703
|
+
oi as eF,
|
29704
|
+
ii as eG,
|
29693
29705
|
Rt as eH,
|
29694
29706
|
jm as eI,
|
29695
29707
|
vn as eJ,
|
@@ -29698,7 +29710,7 @@ export {
|
|
29698
29710
|
gv as eM,
|
29699
29711
|
xv as eN,
|
29700
29712
|
Ev as eO,
|
29701
|
-
|
29713
|
+
oc as eP,
|
29702
29714
|
xV as eQ,
|
29703
29715
|
EV as eR,
|
29704
29716
|
CV as eS,
|
@@ -29710,7 +29722,7 @@ export {
|
|
29710
29722
|
ds as eY,
|
29711
29723
|
NV as eZ,
|
29712
29724
|
bV as e_,
|
29713
|
-
|
29725
|
+
ci as ea,
|
29714
29726
|
JB as eb,
|
29715
29727
|
Om as ec,
|
29716
29728
|
$T as ed,
|
@@ -29773,7 +29785,7 @@ export {
|
|
29773
29785
|
wj as fW,
|
29774
29786
|
lp as fX,
|
29775
29787
|
vA as fY,
|
29776
|
-
|
29788
|
+
fi as fZ,
|
29777
29789
|
hR as f_,
|
29778
29790
|
wV as fa,
|
29779
29791
|
LV as fb,
|
@@ -29786,7 +29798,7 @@ export {
|
|
29786
29798
|
wv as fi,
|
29787
29799
|
Lv as fj,
|
29788
29800
|
Nb as fk,
|
29789
|
-
|
29801
|
+
Zo as fl,
|
29790
29802
|
im as fm,
|
29791
29803
|
kb as fn,
|
29792
29804
|
EH as fo,
|
@@ -29797,7 +29809,7 @@ export {
|
|
29797
29809
|
oG as ft,
|
29798
29810
|
iG as fu,
|
29799
29811
|
cG as fv,
|
29800
|
-
|
29812
|
+
mc as fw,
|
29801
29813
|
Up as fx,
|
29802
29814
|
MG as fy,
|
29803
29815
|
ht as fz,
|
@@ -29814,7 +29826,7 @@ export {
|
|
29814
29826
|
L0 as g8,
|
29815
29827
|
D0 as g9,
|
29816
29828
|
dp as gA,
|
29817
|
-
|
29829
|
+
_c as gB,
|
29818
29830
|
up as gC,
|
29819
29831
|
MA as gD,
|
29820
29832
|
kA as gE,
|
@@ -29836,7 +29848,7 @@ export {
|
|
29836
29848
|
Lj as gU,
|
29837
29849
|
Pj as gV,
|
29838
29850
|
Uj as gW,
|
29839
|
-
|
29851
|
+
Ac as gX,
|
29840
29852
|
Fj as gY,
|
29841
29853
|
Bj as gZ,
|
29842
29854
|
Jp as g_,
|
@@ -29852,9 +29864,9 @@ export {
|
|
29852
29864
|
X0 as gj,
|
29853
29865
|
Ge as gk,
|
29854
29866
|
Ls as gl,
|
29855
|
-
|
29867
|
+
pc as gm,
|
29856
29868
|
Pe as gn,
|
29857
|
-
|
29869
|
+
_i as go,
|
29858
29870
|
iA as gp,
|
29859
29871
|
_s as gq,
|
29860
29872
|
eo as gr,
|
@@ -29870,9 +29882,9 @@ export {
|
|
29870
29882
|
nH as h$,
|
29871
29883
|
zG as h0,
|
29872
29884
|
kt as h1,
|
29873
|
-
|
29885
|
+
gc as h2,
|
29874
29886
|
c0 as h3,
|
29875
|
-
|
29887
|
+
Ei as h4,
|
29876
29888
|
Z0 as h5,
|
29877
29889
|
ny as h6,
|
29878
29890
|
LG as h7,
|
@@ -29898,7 +29910,7 @@ export {
|
|
29898
29910
|
XA as hR,
|
29899
29911
|
JA as hS,
|
29900
29912
|
Ct as hT,
|
29901
|
-
|
29913
|
+
gi as hU,
|
29902
29914
|
Op as hV,
|
29903
29915
|
bS as hW,
|
29904
29916
|
Ta as hX,
|
@@ -29944,7 +29956,7 @@ export {
|
|
29944
29956
|
EO as i8,
|
29945
29957
|
jO as i9,
|
29946
29958
|
_H as iA,
|
29947
|
-
|
29959
|
+
xc as iB,
|
29948
29960
|
co as iC,
|
29949
29961
|
ro as iD,
|
29950
29962
|
on as iE,
|
@@ -29970,7 +29982,7 @@ export {
|
|
29970
29982
|
AH as iY,
|
29971
29983
|
eL as iZ,
|
29972
29984
|
SH as i_,
|
29973
|
-
|
29985
|
+
vi as ia,
|
29974
29986
|
cH as ib,
|
29975
29987
|
sr as ic,
|
29976
29988
|
BO as id,
|
@@ -29984,8 +29996,8 @@ export {
|
|
29984
29996
|
d_ as im,
|
29985
29997
|
uH as io,
|
29986
29998
|
uw as ip,
|
29987
|
-
|
29988
|
-
|
29999
|
+
Ai as iq,
|
30000
|
+
Ri as ir,
|
29989
30001
|
mw as is,
|
29990
30002
|
qT as it,
|
29991
30003
|
F as iu,
|
@@ -30005,7 +30017,7 @@ export {
|
|
30005
30017
|
sL as j6,
|
30006
30018
|
f_ as j7,
|
30007
30019
|
aL as j8,
|
30008
|
-
|
30020
|
+
sc as j9,
|
30009
30021
|
xj as jA,
|
30010
30022
|
Z as jB,
|
30011
30023
|
UG as jC,
|
@@ -30033,7 +30045,7 @@ export {
|
|
30033
30045
|
OA as jY,
|
30034
30046
|
bt as jZ,
|
30035
30047
|
OH as j_,
|
30036
|
-
|
30048
|
+
nc as ja,
|
30037
30049
|
RH as jb,
|
30038
30050
|
yH as jc,
|
30039
30051
|
SG as jd,
|
@@ -30050,7 +30062,7 @@ export {
|
|
30050
30062
|
yG as jo,
|
30051
30063
|
OG as jp,
|
30052
30064
|
rs as jq,
|
30053
|
-
|
30065
|
+
bc as jr,
|
30054
30066
|
Wp as js,
|
30055
30067
|
GG as jt,
|
30056
30068
|
Ir as ju,
|
@@ -30091,7 +30103,7 @@ export {
|
|
30091
30103
|
mB as kR,
|
30092
30104
|
pB as kS,
|
30093
30105
|
_B as kT,
|
30094
|
-
|
30106
|
+
ti as kU,
|
30095
30107
|
Wb as kV,
|
30096
30108
|
Kb as kW,
|
30097
30109
|
zb as kX,
|
@@ -30120,8 +30132,8 @@ export {
|
|
30120
30132
|
Fb as kt,
|
30121
30133
|
fs as ku,
|
30122
30134
|
qa as kv,
|
30123
|
-
|
30124
|
-
|
30135
|
+
Qo as kw,
|
30136
|
+
ei as kx,
|
30125
30137
|
Bb as ky,
|
30126
30138
|
lB as kz,
|
30127
30139
|
vD as l,
|
@@ -30133,10 +30145,10 @@ export {
|
|
30133
30145
|
hm as l4,
|
30134
30146
|
Qb as l5,
|
30135
30147
|
eT as l6,
|
30136
|
-
|
30137
|
-
|
30148
|
+
si as l7,
|
30149
|
+
ni as l8,
|
30138
30150
|
sl as l9,
|
30139
|
-
|
30151
|
+
ui as lA,
|
30140
30152
|
Us as lB,
|
30141
30153
|
Fv as lC,
|
30142
30154
|
Bv as lD,
|
@@ -30148,7 +30160,7 @@ export {
|
|
30148
30160
|
WV as lJ,
|
30149
30161
|
Vv as lK,
|
30150
30162
|
Gv as lL,
|
30151
|
-
|
30163
|
+
ic as lM,
|
30152
30164
|
Xm as lN,
|
30153
30165
|
Dt as lO,
|
30154
30166
|
KV as lP,
|
@@ -30201,7 +30213,7 @@ export {
|
|
30201
30213
|
pG as m7,
|
30202
30214
|
rp as m8,
|
30203
30215
|
XI as m9,
|
30204
|
-
|
30216
|
+
ai as mA,
|
30205
30217
|
_t as mB,
|
30206
30218
|
Fs as mC,
|
30207
30219
|
Kr as mD,
|
@@ -30215,18 +30227,18 @@ export {
|
|
30215
30227
|
OB as mL,
|
30216
30228
|
ve as mM,
|
30217
30229
|
Tm as mN,
|
30218
|
-
|
30230
|
+
fc as mO,
|
30219
30231
|
GA as mP,
|
30220
30232
|
HA as mQ,
|
30221
30233
|
YA as mR,
|
30222
30234
|
WA as mS,
|
30223
30235
|
KA as mT,
|
30224
|
-
|
30236
|
+
Wi as mU,
|
30225
30237
|
bb as mV,
|
30226
30238
|
_e as mW,
|
30227
30239
|
gt as mX,
|
30228
30240
|
Ze as mY,
|
30229
|
-
|
30241
|
+
Ki as mZ,
|
30230
30242
|
un as m_,
|
30231
30243
|
gr as ma,
|
30232
30244
|
ba as mb,
|
@@ -30236,13 +30248,13 @@ export {
|
|
30236
30248
|
Wr as mf,
|
30237
30249
|
Ss as mg,
|
30238
30250
|
TB as mh,
|
30239
|
-
|
30251
|
+
qi as mi,
|
30240
30252
|
tt as mj,
|
30241
30253
|
rn as mk,
|
30242
30254
|
Cm as ml,
|
30243
30255
|
SB as mm,
|
30244
30256
|
An as mn,
|
30245
|
-
|
30257
|
+
Ji as mo,
|
30246
30258
|
vB as mp,
|
30247
30259
|
IB as mq,
|
30248
30260
|
mT as mr,
|
@@ -30258,7 +30270,7 @@ export {
|
|
30258
30270
|
Sb as n0,
|
30259
30271
|
cm as n1,
|
30260
30272
|
rt as n2,
|
30261
|
-
|
30273
|
+
zi as n3,
|
30262
30274
|
vb as n4,
|
30263
30275
|
aa as n5,
|
30264
30276
|
Xt as n6,
|
@@ -30296,8 +30308,8 @@ export {
|
|
30296
30308
|
mn as np,
|
30297
30309
|
dt as nq,
|
30298
30310
|
pl as nr,
|
30299
|
-
|
30300
|
-
|
30311
|
+
di as ns,
|
30312
|
+
rc as nt,
|
30301
30313
|
Vm as nu,
|
30302
30314
|
av as nv,
|
30303
30315
|
rv as nw,
|
@@ -30308,12 +30320,12 @@ export {
|
|
30308
30320
|
Pn as p,
|
30309
30321
|
WF as q,
|
30310
30322
|
Et as r,
|
30311
|
-
|
30323
|
+
Dc as s,
|
30312
30324
|
xD as t,
|
30313
30325
|
C4 as u,
|
30314
30326
|
he as v,
|
30315
30327
|
_o as w,
|
30316
|
-
|
30328
|
+
Lc as x,
|
30317
30329
|
Pr as y,
|
30318
30330
|
zt as z
|
30319
30331
|
};
|