@devtron-labs/devtron-fe-common-lib 1.17.0-pre-2 → 1.17.0-pre-3
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.
@@ -5,8 +5,8 @@ var Lc = (e) => {
|
|
5
5
|
var P_ = (e, s, n) => s in e ? D_(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
6
|
var ce = (e, s, n) => P_(e, typeof s != "symbol" ? s + "" : s, n), wc = (e, s, n) => s.has(e) || Lc("Cannot " + n);
|
7
7
|
var Gs = (e, s, n) => (wc(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Ma = (e, s, n) => s.has(e) ? Lc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), ka = (e, s, n, a) => (wc(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 po, k as M_, n as k_, D as lr, t as Ke, g as U_, a as $_, E as
|
9
|
-
import Ue, { createContext as Ut, useContext as os, useMemo as X, useState as O, useEffect as P, cloneElement as
|
8
|
+
import { j as t, i as Ie, Q as po, k as M_, n as k_, D as lr, t as Ke, g as U_, a as $_, E as Jn, S as yi, b as au, r as ru, s as F_, o as B_, c as Dc, d as V_, e as G_, y as H_, l as dr, f as Y_, h as W_, m as Pc, p as Mc, q as K_, u as z_, v as q_, w as X_, x as J_, z as Z_, A as Q_, B as ou, T as kc, C as ji, F as ef, G as Uc, H as tf, I as sf, J as iu, K as $c, L as nf, M as af, N as rf, O as of, P as Fc, V as cf, R as lf, U as df, W as Bc, X as uf, Y as Vc, Z as Gc, _ as mf, $ as pf, a0 as _f, a1 as ff, a2 as hf, a3 as gf, a4 as xf, a5 as _o, a6 as Ef, a7 as Cf, a8 as Nf, a9 as bf, aa as Tf, ab as cu, ac as Sf, ad as vf, ae as If, af as Af, ag as Rf, ah as Hc, ai as Yc, aj as yf, ak as jf, al as Of, am as Lf, an as wf, ao as Df, ap as Pf, aq as Mf, ar as lu, as as du, at as kf, au as Uf, av as $f, aw as Ff, ax as Ys } from "./@vendor-DbxoIktR.js";
|
9
|
+
import Ue, { createContext as Ut, useContext as os, useMemo as X, useState as O, useEffect as P, cloneElement as Zn, forwardRef as Ur, useRef as $, useCallback as Be, createElement as Oi, Children as Wc, useLayoutEffect as uu, createRef as ur, Fragment as fs, memo as vt, Component as Li } from "react";
|
10
10
|
import { ReactComponent as Bf } from "./assets/ic-info-filled-override.99e8094a.svg";
|
11
11
|
import * as Vf from "yaml";
|
12
12
|
import Zt, { parse as Gf, YAMLParseError as Hf } from "yaml";
|
@@ -25,12 +25,12 @@ import { ReactComponent as fu } from "./assets/ic-memory.82ba7e9b.svg";
|
|
25
25
|
import hs from "react-ga4";
|
26
26
|
import { h as Ve } from "./@moment-CGWt8tF2.js";
|
27
27
|
import Zf from "./assets/DeployAudio.566e45df.mp3";
|
28
|
-
import { m as Fe, A as An, a as
|
28
|
+
import { m as Fe, A as An, a as Qn, u as ea, b as ys, c as Kc, d as Qf } from "./@framer-motion-j6RIjEIR.js";
|
29
29
|
import Di, { components as Ye } from "react-select";
|
30
30
|
import eh, { ReactComponent as gs } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
31
31
|
import { ReactComponent as th } from "./assets/ic-arrow-backward.d951202a.svg";
|
32
32
|
import sh, { ReactComponent as hu } from "./assets/ic-docker.48906f4d.svg";
|
33
|
-
import { ReactComponent as
|
33
|
+
import { ReactComponent as ta } from "./assets/ic-calendar.1d9c66d2.svg";
|
34
34
|
import { ReactComponent as Bo } from "./assets/ic-person.d066bc6d.svg";
|
35
35
|
import { ReactComponent as gu } from "./assets/ic-branch.8db43d66.svg";
|
36
36
|
import { ReactComponent as xu } from "./assets/ic-arrow-forward.a2b8ab45.svg";
|
@@ -44,8 +44,8 @@ import { ReactComponent as xs } from "./assets/ic-caret-down.1666c029.svg";
|
|
44
44
|
import { ReactComponent as oh } from "./assets/ic-collapse-all.56740920.svg";
|
45
45
|
import { ReactComponent as ih } from "./assets/ic-expand-all.d1d223f2.svg";
|
46
46
|
import { ReactComponent as Nu } from "./assets/ic-arrow-out.6aea09d0.svg";
|
47
|
-
import { ReactComponent as
|
48
|
-
import { ReactComponent as
|
47
|
+
import { ReactComponent as _a } from "./assets/ic-help.39c58c34.svg";
|
48
|
+
import { ReactComponent as fa } from "./assets/ic-info-filled.f870ac11.svg";
|
49
49
|
import { ReactComponent as Pi } from "./assets/ic-stack.a6a11fe3.svg";
|
50
50
|
import { ReactComponent as bu } from "./assets/ic-aborted.d400d0e8.svg";
|
51
51
|
import { ReactComponent as ch } from "./assets/ic-arrow-right.eda141d3.svg";
|
@@ -61,9 +61,9 @@ import { ReactComponent as Tu } from "./assets/ic-arrow-up-down.945ee496.svg";
|
|
61
61
|
import { ReactComponent as Mi } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
|
62
62
|
import { ReactComponent as zt } from "./assets/ic-close.43adc42a.svg";
|
63
63
|
import { ReactComponent as Su } from "./assets/ic-error.9d61b25b.svg";
|
64
|
-
import { ReactComponent as
|
64
|
+
import { ReactComponent as sa } from "./assets/ic-info-outlined.f4fa3224.svg";
|
65
65
|
import { ReactComponent as Go } from "./assets/ic-expand.ab992205.svg";
|
66
|
-
import { ReactComponent as
|
66
|
+
import { ReactComponent as ha } from "./assets/ic-check.27c51fa1.svg";
|
67
67
|
import { ReactComponent as hh } from "./assets/ic-check-circle-dots.296c8a3b.svg";
|
68
68
|
import { ReactComponent as gh } from "./assets/ic-edit-file.aea811d8.svg";
|
69
69
|
import Gr from "./assets/no-artifact.fd2d84d9.webp";
|
@@ -85,7 +85,7 @@ import Ih from "./assets/ic-folder.051cd30d.svg";
|
|
85
85
|
import { ReactComponent as Iu } from "./assets/ic-vulnerability-not-found.7d75cc30.svg";
|
86
86
|
import { ReactComponent as Ah } from "./assets/ic-arrows-clockwise.5990b4f7.svg";
|
87
87
|
import { ReactComponent as Rh } from "./assets/ic-compare.0ee3e4cf.svg";
|
88
|
-
import { ReactComponent as
|
88
|
+
import { ReactComponent as ga } from "./assets/ic-error-exclamation.c224de09.svg";
|
89
89
|
import { ReactComponent as Ui } from "./assets/ic-warning-y5.d1fb03fe.svg";
|
90
90
|
import $i, { createPortal as yh, render as Au } from "react-dom";
|
91
91
|
import { ReactComponent as jh } from "./assets/ic-match-case.13b7a2fa.svg";
|
@@ -98,7 +98,7 @@ import { r as ju, C as Dh, a as Ph } from "./@react-dates-BVyHiOGU.js";
|
|
98
98
|
import { ReactComponent as Fi } from "./assets/ic-clock.c21a2d14.svg";
|
99
99
|
import Mh from "./assets/ic-calender-blank.963e3423.svg";
|
100
100
|
import kh, { ReactComponent as bs } from "./assets/ic-cross.01e03666.svg";
|
101
|
-
import { ReactComponent as
|
101
|
+
import { ReactComponent as zn } from "./assets/inject-tag.28e72db6.svg";
|
102
102
|
import { ReactComponent as Hr } from "./assets/ic-pencil.c75a6acc.svg";
|
103
103
|
import { ReactComponent as Ou } from "./assets/ic-filter.8f403d6f.svg";
|
104
104
|
import { ReactComponent as Lu } from "./assets/ic-filter-applied.9fc48d0f.svg";
|
@@ -377,12 +377,12 @@ import { ReactComponent as bN } from "./assets/ic-medium-clean-brush.f683d4d6.sv
|
|
377
377
|
import { ReactComponent as TN } from "./assets/ic-medium-pause.7449078a.svg";
|
378
378
|
import { ReactComponent as SN } from "./assets/ic-medium-play.f7a8ddb7.svg";
|
379
379
|
import { ReactComponent as vN } from "./assets/ic-locked.dab69058.svg";
|
380
|
-
var
|
381
|
-
const
|
380
|
+
var xa = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(xa || {}), Tt = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(Tt || {}), Vs = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(Vs || {});
|
381
|
+
const Hn = {
|
382
382
|
Security: "SECURITY",
|
383
383
|
Changes: "CHANGES"
|
384
384
|
};
|
385
|
-
var yt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(yt || {}), Yu = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Yu || {}), IN = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(IN || {}), AN = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(AN || {}),
|
385
|
+
var yt = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(yt || {}), Yu = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(Yu || {}), IN = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(IN || {}), AN = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(AN || {}), qn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(qn || {}), RN = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(RN || {}), yN = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(yN || {}), Wo = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Wo || {}), jN = /* @__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))(jN || {}), Wu = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Wu || {}), ON = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(ON || {}), 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 || {}), LN = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(LN || {}), fn = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(fn || {}), Ls = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Ls || {}), na = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(na || {}), Ko = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Ko || {}), wN = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(wN || {});
|
386
386
|
const DN = ({ tooltipContent: e }) => e ? /* @__PURE__ */ t.jsxs("div", { className: "dc__white-space-pre-wrap", children: [
|
387
387
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 fw-6 lh-18", children: "Click to add" }),
|
388
388
|
e
|
@@ -395,7 +395,7 @@ function Q$({
|
|
395
395
|
handleAddCD: r,
|
396
396
|
tooltipContent: o
|
397
397
|
}) {
|
398
|
-
const i = e ===
|
398
|
+
const i = e === na.RIGHT ? n : a, c = () => {
|
399
399
|
r(e);
|
400
400
|
};
|
401
401
|
return s?.includes(e) ? /* @__PURE__ */ t.jsx(
|
@@ -408,7 +408,7 @@ function Q$({
|
|
408
408
|
children: /* @__PURE__ */ t.jsxs(
|
409
409
|
"svg",
|
410
410
|
{
|
411
|
-
x: i.x + (e ===
|
411
|
+
x: i.x + (e === na.RIGHT ? -25 : i.width + 5),
|
412
412
|
y: i.y + i.height / 2 - 10,
|
413
413
|
width: "20",
|
414
414
|
height: "20",
|
@@ -448,9 +448,9 @@ const PN = ({ startNode: e }) => e.type === Ls.WEBHOOK ? fn.WEBHOOK : e.type ===
|
|
448
448
|
}) => {
|
449
449
|
if (!s)
|
450
450
|
return;
|
451
|
-
const l = PN({ startNode: n }), d = c && e ===
|
451
|
+
const l = PN({ startNode: n }), d = c && e === na.RIGHT ? Ko.PARALLEL : Ko.SEQUENTIAL, u = !c && e === na.RIGHT ? a.id : null;
|
452
452
|
s(r, o, l, n.id, i, u, d);
|
453
|
-
}, MN = 6e4, pr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator",
|
453
|
+
}, MN = 6e4, pr = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Ea = "https://docs.devtron.ai", tF = "https://devtron.ai/", kN = "/devtron/v0.7", Ca = "https://discord.devtron.ai/", UN = "https://json-schema.org/draft/2020-12/schema", sF = "https://license.devtron.ai/dashboard", $N = "https://chatgpt.com/g/g-6826efa4362c8191b23e7bfa0ac036db-devtron-expert", Gt = {
|
454
454
|
STRING: /^[a-zA-Z0-9_]+$/,
|
455
455
|
DECIMAL_NUMBERS: /^-?\d*\.?\d*$/,
|
456
456
|
POSITIVE_DECIMAL_NUMBERS: /^\d*\.?\d*$/,
|
@@ -658,7 +658,7 @@ const $a = {
|
|
658
658
|
const [s, n] = e.split(":"), a = parseInt(s, 10), r = parseInt(n, 10);
|
659
659
|
return a === 12 && r === 0 ? $a.NOON : a === 0 && r === 0 ? $a.MIDNIGHT : a >= 12 ? $a.PM : $a.AM;
|
660
660
|
};
|
661
|
-
var
|
661
|
+
var aa = /* @__PURE__ */ ((e) => (e.inputChange = "input-change", e.selectOption = "select-option", e.deselectOption = "deselect-option", e.removeValue = "remove-value", e.inputBlur = "input-blur", e))(aa || {});
|
662
662
|
const Rn = "0001-01-01T00:00:00Z", Ku = [void 0, null, "", NaN], Ft = {
|
663
663
|
OK: 200,
|
664
664
|
NO_CONTENT: 204,
|
@@ -737,7 +737,7 @@ const XN = async (e, s) => {
|
|
737
737
|
action: s
|
738
738
|
});
|
739
739
|
};
|
740
|
-
var Zu = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(Zu || {}), Vi = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Vi || {}), JN = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(JN || {}), _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 || {}), ht = /* @__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))(ht || {}), Qe = /* @__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))(Qe || {}), Gi = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Gi || {}), dn = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(dn || {}), ZN = /* @__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))(ZN || {}), QN = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(QN || {}), Qu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Qu || {}), qe = /* @__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))(qe || {}), Hi = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Hi || {}), eb = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(eb || {}),
|
740
|
+
var Zu = /* @__PURE__ */ ((e) => (e.GET_LICENSE_CLICKED = "getLicenseClicked", e))(Zu || {}), Vi = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(Vi || {}), JN = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(JN || {}), _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 || {}), ht = /* @__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))(ht || {}), Qe = /* @__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))(Qe || {}), Gi = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Gi || {}), dn = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(dn || {}), ZN = /* @__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))(ZN || {}), QN = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(QN || {}), Qu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Qu || {}), qe = /* @__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))(qe || {}), Hi = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(Hi || {}), eb = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(eb || {}), ra = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(ra || {}), 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 || {}), tb = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(tb || {}), sb = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(sb || {}), Xa = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(Xa || {}), nb = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(nb || {}), em = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(em || {});
|
741
741
|
const _F = [
|
742
742
|
{
|
743
743
|
label: "GUI",
|
@@ -1369,9 +1369,9 @@ const ws = {
|
|
1369
1369
|
...o,
|
1370
1370
|
...e ? { content: /* @__PURE__ */ t.jsx(Fb, { ...e }) } : {},
|
1371
1371
|
className: `${e ? "shortcut-keys__tippy" : "default-tt"} ${a ? "dc__word-break" : ""} dc__mxw-200 ${o.className ?? ""}`,
|
1372
|
-
children:
|
1372
|
+
children: Zn(r, { ...r.props, onMouseEnter: l })
|
1373
1373
|
}
|
1374
|
-
) :
|
1374
|
+
) : Zn(r, { ...r.props, onMouseEnter: l });
|
1375
1375
|
};
|
1376
1376
|
var q = /* @__PURE__ */ ((e) => (e.primary = "primary", e.secondary = "secondary", e.borderLess = "border-less", e.text = "text", e))(q || {}), me = /* @__PURE__ */ ((e) => (e.default = "default", e.negative = "negative", e.negativeGrey = "negative-grey", e.positive = "positive", e.warning = "warning", e.neutral = "neutral", e.neutralN0 = "neutral-n0", e.neutralWhite = "neutral-white", e))(me || {}), xt = /* @__PURE__ */ ((e) => (e.button = "button", e.link = "link", e.anchor = "anchor", e))(xt || {});
|
1377
1377
|
const Bb = {
|
@@ -1544,10 +1544,10 @@ const _m = {
|
|
1544
1544
|
value: n.value || "",
|
1545
1545
|
active: n.active || !1,
|
1546
1546
|
history: n.history.map((r, o) => ({
|
1547
|
-
commitURL: n.url ?
|
1547
|
+
commitURL: n.url ? Ta(n.url, r.Commit) : "",
|
1548
1548
|
commit: r.Commit || "",
|
1549
1549
|
author: r.Author || "",
|
1550
|
-
date:
|
1550
|
+
date: ma(r.Date, !1),
|
1551
1551
|
message: r.Message || "",
|
1552
1552
|
changes: r.Changes || [],
|
1553
1553
|
showChanges: o === 0,
|
@@ -1561,7 +1561,7 @@ const _m = {
|
|
1561
1561
|
ciPipelineId: e?.ciPipelineId,
|
1562
1562
|
materials: s,
|
1563
1563
|
triggeredByEmail: e?.triggeredByEmail || "",
|
1564
|
-
lastDeployedTime:
|
1564
|
+
lastDeployedTime: ma(e.lastDeployedTime, !1),
|
1565
1565
|
environmentName: e?.environmentName || "",
|
1566
1566
|
environmentId: e?.environmentId || 0,
|
1567
1567
|
appId: e?.appId,
|
@@ -1598,7 +1598,7 @@ const _m = {
|
|
1598
1598
|
appId: a
|
1599
1599
|
}) => {
|
1600
1600
|
const r = n ? zr({
|
1601
|
-
type:
|
1601
|
+
type: Na.CONFIG_DATA,
|
1602
1602
|
queryParams: {
|
1603
1603
|
id: a,
|
1604
1604
|
...e
|
@@ -1619,10 +1619,10 @@ const _m = {
|
|
1619
1619
|
n[r.index] = r;
|
1620
1620
|
}), n;
|
1621
1621
|
};
|
1622
|
-
var Qb = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Qb || {}),
|
1622
|
+
var Qb = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(Qb || {}), Yn = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Yn || {}), eT = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(eT || {}), Me = /* @__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))(Me || {}), Qt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Qt || {}), si = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(si || {}), mt = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(mt || {}), Us = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Us || {}), Kr = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Kr || {}), hm = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(hm || {});
|
1623
1623
|
const tT = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => He(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), kF = ({ kind: e, version: s, queryParams: n, suffix: a }) => He(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), sT = (e, { isTemplateView: s }) => {
|
1624
1624
|
const n = s ? zr({
|
1625
|
-
type:
|
1625
|
+
type: Na.CD_PIPELINE,
|
1626
1626
|
queryParams: {
|
1627
1627
|
id: e.appId
|
1628
1628
|
}
|
@@ -1661,7 +1661,7 @@ const nT = {
|
|
1661
1661
|
) })
|
1662
1662
|
}, aT = {
|
1663
1663
|
[Te.info]: {
|
1664
|
-
icon: /* @__PURE__ */ t.jsx(
|
1664
|
+
icon: /* @__PURE__ */ t.jsx(fa, {}),
|
1665
1665
|
type: "info",
|
1666
1666
|
title: "Information",
|
1667
1667
|
progressBarBg: "var(--B500)"
|
@@ -1758,7 +1758,7 @@ Nn = new WeakMap(), // eslint-disable-next-line no-use-before-define
|
|
1758
1758
|
Ma(qs, Nn);
|
1759
1759
|
let ni = qs;
|
1760
1760
|
const $F = () => /* @__PURE__ */ t.jsx(M_, { ...nT }), $e = ni.instance, oT = (e) => e === Me.AWSSecretsManager || e === Me.AWSSystemManager || e === Me.HashiCorpVault, gm = (e) => e === Me.ESO_GoogleSecretsManager || e === Me.ESO_AzureSecretsManager || e === Me.ESO_AWSSecretsManager || e === Me.ESO_HashiCorpVault;
|
1761
|
-
var mn = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(mn || {}), iT = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(iT || {}), zi = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(zi || {}), cT = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(cT || {}),
|
1761
|
+
var mn = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(mn || {}), iT = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(iT || {}), zi = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(zi || {}), cT = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(cT || {}), Na = /* @__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))(Na || {});
|
1762
1762
|
const FF = {
|
1763
1763
|
BASE_DEPLOYMENT_TEMPLATE: [mn.VALUES, mn.DRY_RUN],
|
1764
1764
|
OVERRIDE: [mn.INHERITED, mn.VALUES, mn.DRY_RUN]
|
@@ -2181,7 +2181,7 @@ const nl = (e) => ({
|
|
2181
2181
|
)) })
|
2182
2182
|
] });
|
2183
2183
|
};
|
2184
|
-
var NT = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(NT || {}), k = /* @__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))(k || {}), 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 || {}), Cm = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Cm || {}), Ds = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Ds || {}), Nm = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Nm || {}), hr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(hr || {}),
|
2184
|
+
var NT = /* @__PURE__ */ ((e) => (e.includeDeleted = "includeDeleted", e.excludeDelete = "excludeDelete", e.onlyDeleted = "onlyDeleted", e))(NT || {}), k = /* @__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))(k || {}), 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 || {}), Cm = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Cm || {}), Ds = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Ds || {}), Nm = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Nm || {}), hr = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(hr || {}), oa = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(oa || {}), ai = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(ai || {}), ri = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))(ri || {}), At = /* @__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))(At || {}), bm = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(bm || {});
|
2185
2185
|
const $s = {
|
2186
2186
|
// Will not enforce any decimal specification on input field
|
2187
2187
|
STEP: "any",
|
@@ -2294,7 +2294,7 @@ const $s = {
|
|
2294
2294
|
Object.values({
|
2295
2295
|
...k,
|
2296
2296
|
...Jt,
|
2297
|
-
...
|
2297
|
+
...oa
|
2298
2298
|
}).map((e) => [e, null])
|
2299
2299
|
), bT = [Jt.NAME], al = {
|
2300
2300
|
SUBMIT_BUTTON: "build-infra-submit-button",
|
@@ -2309,7 +2309,7 @@ const $s = {
|
|
2309
2309
|
[k.TOLERANCE]: !0,
|
2310
2310
|
[k.CONFIG_MAP]: !0,
|
2311
2311
|
[k.SECRET]: !0,
|
2312
|
-
[
|
2312
|
+
[oa.TARGET_PLATFORM]: !0
|
2313
2313
|
}, ol = Object.values(ye).reduce(
|
2314
2314
|
(e, s) => (e[`activate_${s}`] = s, e[`de_activate_${s}`] = s, e),
|
2315
2315
|
{}
|
@@ -2342,7 +2342,7 @@ const $s = {
|
|
2342
2342
|
[k.BUILD_TIMEOUT]: !0,
|
2343
2343
|
[k.CONFIG_MAP]: !0,
|
2344
2344
|
[k.SECRET]: !0
|
2345
|
-
},
|
2345
|
+
}, ba = {
|
2346
2346
|
[k.CONFIG_MAP]: !0,
|
2347
2347
|
[k.SECRET]: !0
|
2348
2348
|
}, Sm = {
|
@@ -2870,7 +2870,7 @@ const dl = (e) => {
|
|
2870
2870
|
getIsOptionValid: e,
|
2871
2871
|
...s
|
2872
2872
|
}) => {
|
2873
|
-
const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(
|
2873
|
+
const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(ga, {});
|
2874
2874
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4 mw-0 dc__truncate", children: [
|
2875
2875
|
o && /* @__PURE__ */ t.jsx(
|
2876
2876
|
"div",
|
@@ -2896,13 +2896,13 @@ const dl = (e) => {
|
|
2896
2896
|
);
|
2897
2897
|
if (i) {
|
2898
2898
|
a?.onChange?.(u, {
|
2899
|
-
action:
|
2899
|
+
action: aa.deselectOption,
|
2900
2900
|
option: null
|
2901
2901
|
});
|
2902
2902
|
return;
|
2903
2903
|
}
|
2904
2904
|
a?.onChange?.([...u, ...o], {
|
2905
|
-
action:
|
2905
|
+
action: aa.selectOption,
|
2906
2906
|
option: null
|
2907
2907
|
});
|
2908
2908
|
}, l = (d) => {
|
@@ -2983,16 +2983,16 @@ const Rm = (e) => ({
|
|
2983
2983
|
let c = r;
|
2984
2984
|
return e.map((d, u) => {
|
2985
2985
|
let m = "";
|
2986
|
-
const p = d.filterState ??
|
2986
|
+
const p = d.filterState ?? qn.ALLOWED;
|
2987
2987
|
n && a && d.id === n && (m = a);
|
2988
|
-
const _ = !c && o && p ===
|
2988
|
+
const _ = !c && o && p === qn.ALLOWED ? !d.vulnerable : !1;
|
2989
2989
|
return _ && (c = !0), {
|
2990
2990
|
index: i + u,
|
2991
2991
|
id: d.id,
|
2992
2992
|
deployedTime: d.deployed_time ? Ve(d.deployed_time).format("ddd, DD MMM YYYY, hh:mm A") : "Not Deployed",
|
2993
2993
|
deployedBy: d.deployedBy,
|
2994
2994
|
wfrId: d.wfrId,
|
2995
|
-
tab:
|
2995
|
+
tab: Hn.Changes,
|
2996
2996
|
image: xr(d.image),
|
2997
2997
|
showChanges: !1,
|
2998
2998
|
vulnerabilities: [],
|
@@ -3016,7 +3016,7 @@ const Rm = (e) => ({
|
|
3016
3016
|
lastExecution: d.lastExecution,
|
3017
3017
|
materialInfo: d.material_info ? d.material_info.map((h) => ({
|
3018
3018
|
modifiedTime: h.modifiedTime ? Ve(h.modifiedTime).format("ddd, DD MMM YYYY, hh:mm A") : "",
|
3019
|
-
commitLink:
|
3019
|
+
commitLink: Ta(h.url, h.revision),
|
3020
3020
|
author: h.author || "",
|
3021
3021
|
message: h.message || "",
|
3022
3022
|
revision: h.revision || "",
|
@@ -3029,7 +3029,7 @@ const Rm = (e) => ({
|
|
3029
3029
|
filterState: p,
|
3030
3030
|
appliedFiltersTimestamp: d.appliedFiltersTimestamp ?? "",
|
3031
3031
|
appliedFilters: d.appliedFilters ?? [],
|
3032
|
-
appliedFiltersState: d.appliedFiltersState ??
|
3032
|
+
appliedFiltersState: d.appliedFiltersState ?? qn.ALLOWED,
|
3033
3033
|
createdTime: d.createdTime ?? "",
|
3034
3034
|
dataSource: d.data_source ?? "",
|
3035
3035
|
registryType: d.registryType ?? "",
|
@@ -3132,7 +3132,7 @@ const Rm = (e) => ({
|
|
3132
3132
|
e
|
3133
3133
|
), c = ml(e), l = pl(e);
|
3134
3134
|
return {
|
3135
|
-
materials: a && a === Wu.RESOURCE ? o.filter((u) => u.filterState ===
|
3135
|
+
materials: a && a === Wu.RESOURCE ? o.filter((u) => u.filterState === qn.ALLOWED) : o,
|
3136
3136
|
...i,
|
3137
3137
|
...c,
|
3138
3138
|
...l
|
@@ -3168,7 +3168,7 @@ const Rm = (e) => ({
|
|
3168
3168
|
function xr(e) {
|
3169
3169
|
return e ? e.split(":").pop() : "";
|
3170
3170
|
}
|
3171
|
-
function
|
3171
|
+
function Ta(e, s) {
|
3172
3172
|
if (!e || !s)
|
3173
3173
|
return "NA";
|
3174
3174
|
if (e.indexOf("gitlab") > 0 || e.indexOf("github") > 0 || e.indexOf("azure") > 0) {
|
@@ -3634,7 +3634,7 @@ const Cl = () => ({
|
|
3634
3634
|
useInfoIcon: c = !1,
|
3635
3635
|
progressingProps: l
|
3636
3636
|
}) => {
|
3637
|
-
const d = () => l ? /* @__PURE__ */ t.jsx(B, { name: "ic-circle-loader", ...l }) : c ? /* @__PURE__ */ t.jsx(wi, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(
|
3637
|
+
const d = () => l ? /* @__PURE__ */ t.jsx(B, { name: "ic-circle-loader", ...l }) : c ? /* @__PURE__ */ t.jsx(wi, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ga, { 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;
|
3638
3638
|
return /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${i || ""}`, children: [
|
3639
3639
|
d(),
|
3640
3640
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
|
@@ -4065,7 +4065,7 @@ const Cl = () => ({
|
|
4065
4065
|
return null;
|
4066
4066
|
const n = document.createElement("div");
|
4067
4067
|
return n.setAttribute("id", e), s.parentElement.appendChild(n), n;
|
4068
|
-
},
|
4068
|
+
}, Sa = ({ children: e, onEscape: s, onClick: n, hasClearBackground: a = !1, onBackdropMount: r }) => {
|
4069
4069
|
const [o, i] = O(null), { registerShortcut: c, unregisterShortcut: l } = nn(), d = $(`backdrop-${kt()}`);
|
4070
4070
|
return P(() => (c({ keys: ["Escape"], callback: s }), () => {
|
4071
4071
|
l(["Escape"]);
|
@@ -4105,7 +4105,7 @@ const Cl = () => ({
|
|
4105
4105
|
children: c
|
4106
4106
|
}) => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
4107
4107
|
/* @__PURE__ */ t.jsx("div", { ...r, children: i || /* @__PURE__ */ t.jsx(Y, { ...o }) }),
|
4108
|
-
/* @__PURE__ */ t.jsx(An, { children: e && /* @__PURE__ */ t.jsx(
|
4108
|
+
/* @__PURE__ */ t.jsx(An, { children: e && /* @__PURE__ */ t.jsx(Sa, { ...n, children: /* @__PURE__ */ t.jsxs("div", { className: "dc__position-abs", style: { left: a.left, top: a.top }, children: [
|
4109
4109
|
/* @__PURE__ */ t.jsx("div", { className: "dc__visibility-hidden", style: { width: a.width, height: a.height } }),
|
4110
4110
|
/* @__PURE__ */ t.jsx(Fe.div, { ...s, "data-testid": s.id, children: c })
|
4111
4111
|
] }) }) })
|
@@ -4833,10 +4833,10 @@ const Cl = () => ({
|
|
4833
4833
|
}), r && f < r && (f = r), o && f > o && (f = o), _(f);
|
4834
4834
|
}, 500, [d]);
|
4835
4835
|
const x = (f, { action: C }) => {
|
4836
|
-
C ===
|
4836
|
+
C === aa.inputChange ? (u(f), f || a?.(null, {
|
4837
4837
|
action: "remove-value",
|
4838
4838
|
removedValue: e
|
4839
|
-
})) : C ===
|
4839
|
+
})) : C === aa.inputBlur && u(e?.value || "");
|
4840
4840
|
}, g = (f) => {
|
4841
4841
|
a?.(
|
4842
4842
|
{ label: f, value: f },
|
@@ -5096,7 +5096,7 @@ ${d.slice(N)}`;
|
|
5096
5096
|
throw new Error("Please wrap parent component with BuildInfraUtilityProvider");
|
5097
5097
|
return e;
|
5098
5098
|
}, nc = (e) => {
|
5099
|
-
const s = $(null), [n, a] = O(!1), r = e.theme ===
|
5099
|
+
const s = $(null), [n, a] = O(!1), r = e.theme === xa.white, o = (C) => {
|
5100
5100
|
C.keyCode === 27 && c(C);
|
5101
5101
|
}, i = (C) => {
|
5102
5102
|
s.current = C, document.addEventListener("keydown", o);
|
@@ -5155,7 +5155,7 @@ ${d.slice(N)}`;
|
|
5155
5155
|
{
|
5156
5156
|
className: `flex left top bcv-1 fs-13 fw-4 lh-20 pt-8 pb-8 ${r ? "pl-12 pr-12" : "pl-20 pr-20"}`,
|
5157
5157
|
children: [
|
5158
|
-
/* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 mr-8", children: /* @__PURE__ */ t.jsx(
|
5158
|
+
/* @__PURE__ */ t.jsx("div", { className: "icon-dim-20 mr-8", children: /* @__PURE__ */ t.jsx(_a, { className: "icon-dim-20 fcv-5" }) }),
|
5159
5159
|
/* @__PURE__ */ t.jsx("div", { className: "dc__word-break dc__hyphens-auto", children: b })
|
5160
5160
|
]
|
5161
5161
|
}
|
@@ -5226,11 +5226,11 @@ ${d.slice(N)}`;
|
|
5226
5226
|
}) => /* @__PURE__ */ t.jsx(
|
5227
5227
|
nc,
|
5228
5228
|
{
|
5229
|
-
theme:
|
5229
|
+
theme: xa.white,
|
5230
5230
|
headingInfo: u,
|
5231
5231
|
className: "w-300 h-100 dc__no-text-transform",
|
5232
5232
|
placement: c,
|
5233
|
-
Icon:
|
5233
|
+
Icon: _a,
|
5234
5234
|
heading: e,
|
5235
5235
|
infoText: s,
|
5236
5236
|
iconClass: n,
|
@@ -5501,24 +5501,38 @@ ${d.slice(N)}`;
|
|
5501
5501
|
} : {
|
5502
5502
|
isValid: !1,
|
5503
5503
|
message: "Please provide a version"
|
5504
|
-
}, IB = (e) => $m(e, Tl.MAX_LIMIT, Tl.MIN_LIMIT),
|
5504
|
+
}, IB = (e) => $m(e, Tl.MAX_LIMIT, Tl.MIN_LIMIT), Ln = Fu({
|
5505
5505
|
ajvOptionsOverrides: {
|
5506
5506
|
strict: !0,
|
5507
5507
|
allowUnionTypes: !0
|
5508
5508
|
}
|
5509
5509
|
});
|
5510
|
-
|
5511
|
-
|
5512
|
-
|
5513
|
-
|
5514
|
-
|
5515
|
-
|
5516
|
-
|
5517
|
-
|
5518
|
-
|
5510
|
+
Ln.ajv.addKeyword("hidden");
|
5511
|
+
Ln.ajv.addKeyword({
|
5512
|
+
keyword: "placeholder",
|
5513
|
+
type: ["string", "number"],
|
5514
|
+
schemaType: "string",
|
5515
|
+
// placeholder itself should be a string
|
5516
|
+
errors: !1
|
5517
|
+
});
|
5518
|
+
Ln.ajv.addKeyword("updatePath");
|
5519
|
+
Ln.ajv.addFormat("memory", /^\d+(\.\d+)?(Ki|Mi|Gi|Ti|Pi|Ei|KiB|MiB|GiB|TiB|PiB|EiB)?$/);
|
5520
|
+
Ln.ajv.addFormat("cpu", /^(?:\d+(\.\d+)?|(\d+)(m))$/);
|
5521
|
+
const wn = Fu({ ajvOptionsOverrides: { strict: !1 } });
|
5522
|
+
wn.ajv.addKeyword("hidden");
|
5523
|
+
wn.ajv.addKeyword({
|
5524
|
+
keyword: "placeholder",
|
5525
|
+
type: ["string", "number"],
|
5526
|
+
schemaType: "string",
|
5527
|
+
// placeholder itself should be a string
|
5528
|
+
errors: !1
|
5529
|
+
});
|
5530
|
+
wn.ajv.addKeyword("updatePath");
|
5531
|
+
wn.ajv.addFormat("memory", /^\d+(\.\d+)?(Ki|Mi|Gi|Ti|Pi|Ei|KiB|MiB|GiB|TiB|PiB|EiB)?$/);
|
5532
|
+
wn.ajv.addFormat("cpu", /^(?:\d+(\.\d+)?|(\d+)(m))$/);
|
5519
5533
|
const AB = (e, s = !1) => {
|
5520
5534
|
try {
|
5521
|
-
return e && (s ?
|
5535
|
+
return e && (s ? Ln : wn).ajv.compile(JSON.parse(e)), {
|
5522
5536
|
isValid: !0
|
5523
5537
|
};
|
5524
5538
|
} catch (n) {
|
@@ -5813,7 +5827,7 @@ const AB = (e, s = !1) => {
|
|
5813
5827
|
}
|
5814
5828
|
case At.ADD_TARGET_PLATFORM: {
|
5815
5829
|
const { handleCaptureSnapshot: b } = C;
|
5816
|
-
v[
|
5830
|
+
v[oa.TARGET_PLATFORM] = T ? Il(
|
5817
5831
|
T,
|
5818
5832
|
x(N.configurations)
|
5819
5833
|
).message : "", N.configurations[T] = i.fallbackPlatformConfigurationMap[T] || // Here need to update target platform name for each configuration
|
@@ -5849,7 +5863,7 @@ const AB = (e, s = !1) => {
|
|
5849
5863
|
});
|
5850
5864
|
return;
|
5851
5865
|
}
|
5852
|
-
v[
|
5866
|
+
v[oa.TARGET_PLATFORM] = Il(
|
5853
5867
|
I,
|
5854
5868
|
x(N.configurations)
|
5855
5869
|
).message;
|
@@ -6109,8 +6123,8 @@ const AB = (e, s = !1) => {
|
|
6109
6123
|
appCount: s.appCount,
|
6110
6124
|
useK8sDriver: r
|
6111
6125
|
};
|
6112
|
-
}, wB = (e) => !!
|
6113
|
-
if (!
|
6126
|
+
}, wB = (e) => !!ba[e], gv = (e, s) => {
|
6127
|
+
if (!ba[e.key])
|
6114
6128
|
return vn(e);
|
6115
6129
|
const n = e.value?.map(
|
6116
6130
|
(a) => {
|
@@ -6138,7 +6152,7 @@ const AB = (e, s = !1) => {
|
|
6138
6152
|
};
|
6139
6153
|
}, xv = (e) => {
|
6140
6154
|
const s = vn(e, !1);
|
6141
|
-
if (!
|
6155
|
+
if (!ba[s.key])
|
6142
6156
|
return s;
|
6143
6157
|
const a = s.value?.filter(
|
6144
6158
|
(r) => r.isOverridden
|
@@ -6178,7 +6192,7 @@ const AB = (e, s = !1) => {
|
|
6178
6192
|
const l = o[c], d = r[c]?.active ? r[c] : null;
|
6179
6193
|
if (!l)
|
6180
6194
|
return i;
|
6181
|
-
const u = vn(l), m =
|
6195
|
+
const u = vn(l), m = ba[c] && !a;
|
6182
6196
|
let p = d ? {
|
6183
6197
|
...d,
|
6184
6198
|
defaultValue: m ? null : u
|
@@ -6281,7 +6295,7 @@ const AB = (e, s = !1) => {
|
|
6281
6295
|
}, Nv = (e) => e ? hr.KUBERNETES : hr.DOCKER_CONTAINER, bv = (e, s) => {
|
6282
6296
|
const n = e.configurations || {}, a = Object.entries(n).reduce((o, [i, c]) => {
|
6283
6297
|
const l = Object.values(c).reduce((d, u) => {
|
6284
|
-
const m = !!
|
6298
|
+
const m = !!ba[u.key], p = m && u.value?.some(
|
6285
6299
|
(_) => _.isOverridden
|
6286
6300
|
);
|
6287
6301
|
if (u.id || u.active || p) {
|
@@ -6315,7 +6329,7 @@ const AB = (e, s = !1) => {
|
|
6315
6329
|
}
|
6316
6330
|
};
|
6317
6331
|
}, rc = () => `${V.INFRA_CONFIG_PROFILE}/${TT}`, DB = (e, s) => s ? `activate_${e}` : `de_activate_${e}`;
|
6318
|
-
var
|
6332
|
+
var Wn = /* @__PURE__ */ ((e) => (e.JOB_AND_CRONJOB_CHART_NAME = "Job & CronJob", e.ROLLOUT_DEPLOYMENT = "Rollout Deployment", e.DEPLOYMENT = "Deployment", e.STATEFUL_SET = "StatefulSet", e))(Wn || {});
|
6319
6333
|
const Tv = "object", Sv = { 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" } }, vv = {
|
6320
6334
|
type: Tv,
|
6321
6335
|
properties: Sv
|
@@ -6343,10 +6357,10 @@ const Tv = "object", Sv = { ContainerPort: { type: "array", description: "Define
|
|
6343
6357
|
return Object.values(s).map((a) => (a.versions.sort((r, o) => Vm(r.version, o.version)), a));
|
6344
6358
|
}, MB = (e) => {
|
6345
6359
|
switch (e) {
|
6346
|
-
case
|
6347
|
-
case
|
6348
|
-
case
|
6349
|
-
case
|
6360
|
+
case Wn.JOB_AND_CRONJOB_CHART_NAME:
|
6361
|
+
case Wn.DEPLOYMENT:
|
6362
|
+
case Wn.ROLLOUT_DEPLOYMENT:
|
6363
|
+
case Wn.STATEFUL_SET:
|
6350
6364
|
return vv;
|
6351
6365
|
default:
|
6352
6366
|
return {};
|
@@ -6641,9 +6655,9 @@ function Vm(e, s, n = Se.ASC) {
|
|
6641
6655
|
}
|
6642
6656
|
const sV = (e) => {
|
6643
6657
|
switch (e) {
|
6644
|
-
case
|
6658
|
+
case ra.PULL_REQUEST:
|
6645
6659
|
return /* @__PURE__ */ t.jsx(ki, { className: "icon-dim-12" });
|
6646
|
-
case
|
6660
|
+
case ra.TAG_CREATION:
|
6647
6661
|
return /* @__PURE__ */ t.jsx(Br, { className: "icon-dim-12" });
|
6648
6662
|
default:
|
6649
6663
|
return /* @__PURE__ */ t.jsx(Hu, { className: "icon-dim-12" });
|
@@ -6760,7 +6774,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
6760
6774
|
}), oV = (e) => (
|
6761
6775
|
// Added null check for backward compatibility
|
6762
6776
|
!!e?.type && e.type !== Yu.notConfigured
|
6763
|
-
), Ym = (e) => e?.requiredCount > 0,
|
6777
|
+
), Ym = (e) => e?.requiredCount > 0, ia = (e) => () => {
|
6764
6778
|
window.open(e, "_blank", "noreferrer");
|
6765
6779
|
}, iV = (e) => {
|
6766
6780
|
switch (typeof e) {
|
@@ -6837,7 +6851,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
6837
6851
|
return s ? `${n}/${s}` : n;
|
6838
6852
|
}, dV = (e, s) => {
|
6839
6853
|
const n = e.scrollTop;
|
6840
|
-
return
|
6854
|
+
return Qn(n, s, {
|
6841
6855
|
ease: Db,
|
6842
6856
|
onUpdate: (r) => {
|
6843
6857
|
e.scrollTop = r;
|
@@ -6902,7 +6916,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
6902
6916
|
"ic-browser": Wg,
|
6903
6917
|
"ic-bug": Kg,
|
6904
6918
|
"ic-build-color": zg,
|
6905
|
-
"ic-calendar":
|
6919
|
+
"ic-calendar": ta,
|
6906
6920
|
"ic-cancelled": qg,
|
6907
6921
|
"ic-card-stack": Xg,
|
6908
6922
|
"ic-caret-down-small": Jg,
|
@@ -7153,7 +7167,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
7153
7167
|
)
|
7154
7168
|
] })
|
7155
7169
|
] });
|
7156
|
-
}, mV = ({ handleCloseLicenseInfoDialog: e }) => /* @__PURE__ */ t.jsx(
|
7170
|
+
}, mV = ({ handleCloseLicenseInfoDialog: e }) => /* @__PURE__ */ t.jsx(Sa, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col w-400 br-12 bg__primary border__primary dc__m-auto mt-40", children: [
|
7157
7171
|
/* @__PURE__ */ t.jsx("div", { className: "p-24", children: /* @__PURE__ */ t.jsx(sI, {}) }),
|
7158
7172
|
/* @__PURE__ */ t.jsx("div", { className: "flex px-24 py-20 dc__content-end", children: /* @__PURE__ */ t.jsx(
|
7159
7173
|
Y,
|
@@ -7256,8 +7270,8 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
7256
7270
|
Z
|
7257
7271
|
`;
|
7258
7272
|
}, fV = ({ duration: e, onComplete: s, size: n = 24, tooltipContent: a }) => {
|
7259
|
-
const r =
|
7260
|
-
return P(() =>
|
7273
|
+
const r = ea(aI), o = ys(r, (i) => oI(vo, Io, nI, i));
|
7274
|
+
return P(() => Qn(r, rI, {
|
7261
7275
|
duration: e,
|
7262
7276
|
ease: "easeInOut",
|
7263
7277
|
onComplete: s
|
@@ -7298,13 +7312,13 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
7298
7312
|
genericSectionErrorProps: c,
|
7299
7313
|
errorScreenManagerProps: l,
|
7300
7314
|
children: d
|
7301
|
-
}) => r ? /* @__PURE__ */ t.jsx(Mw, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Je, { ...s }) : a ? c ? /* @__PURE__ */ t.jsx(jn, { ...c }) : l ? /* @__PURE__ */ t.jsx(
|
7315
|
+
}) => r ? /* @__PURE__ */ t.jsx(Mw, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Je, { ...s }) : a ? c ? /* @__PURE__ */ t.jsx(jn, { ...c }) : l ? /* @__PURE__ */ t.jsx(Pn, { ...l }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
|
7302
7316
|
Xe,
|
7303
7317
|
{
|
7304
7318
|
title: o?.title ?? jl.title,
|
7305
7319
|
subTitle: o?.subTitle ?? jl.subTitle
|
7306
7320
|
}
|
7307
|
-
) : /* @__PURE__ */ t.jsx(
|
7321
|
+
) : /* @__PURE__ */ t.jsx(la, { ...i }) : /* @__PURE__ */ t.jsx(t.Fragment, { children: d }), Qr = ({
|
7308
7322
|
isSorted: e,
|
7309
7323
|
triggerSorting: s,
|
7310
7324
|
sortOrder: n,
|
@@ -7472,7 +7486,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
7472
7486
|
return w;
|
7473
7487
|
});
|
7474
7488
|
const S = s.current;
|
7475
|
-
o((j) => ({ ...j, [T]: !
|
7489
|
+
o((j) => ({ ...j, [T]: !Xn(S[T], y) }));
|
7476
7490
|
}, g = (T, A) => () => {
|
7477
7491
|
if (A || a({ ...n, [T]: n[T]?.trim() }), e?.validationMode === "onBlur" || e?.validationMode === "all") {
|
7478
7492
|
const b = p(), I = cn(n[T], b[T]);
|
@@ -7518,7 +7532,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
7518
7532
|
}
|
7519
7533
|
if (R?.shouldDirty) {
|
7520
7534
|
const b = s.current;
|
7521
|
-
o((I) => ({ ...I, [T]: !
|
7535
|
+
o((I) => ({ ...I, [T]: !Xn(b[T], A) }));
|
7522
7536
|
}
|
7523
7537
|
R?.shouldTouch && c((b) => ({ ...b, [T]: !0 }));
|
7524
7538
|
},
|
@@ -7540,7 +7554,7 @@ const Vv = (e, s = !1) => s ? btoa(e) : atob(e), ci = (e, s = !1) => Object.keys
|
|
7540
7554
|
const M = s.current, D = Object.keys(T).reduce(
|
7541
7555
|
(U, H) => ({
|
7542
7556
|
...U,
|
7543
|
-
[H]: !
|
7557
|
+
[H]: !Xn(T[H], M[H])
|
7544
7558
|
}),
|
7545
7559
|
{}
|
7546
7560
|
);
|
@@ -7885,7 +7899,7 @@ const NI = (e) => ({
|
|
7885
7899
|
EXTERNAL_LINKS: "getting-started/global-configurations/external-links",
|
7886
7900
|
EXTERNAL_SECRET: "usage/applications/creating-application/secrets#external-secrets",
|
7887
7901
|
HOME_PAGE: "https://devtron.ai",
|
7888
|
-
DOC_HOME_PAGE:
|
7902
|
+
DOC_HOME_PAGE: Ea,
|
7889
7903
|
KUBE_CONFIG: "usage/resource-browser#running-kubectl-commands-locally",
|
7890
7904
|
JOBS: "usage/jobs",
|
7891
7905
|
TAINT: "usage/resource-browser#taint-a-node",
|
@@ -7960,7 +7974,7 @@ const NI = (e) => ({
|
|
7960
7974
|
if (n)
|
7961
7975
|
return e;
|
7962
7976
|
const r = SI[e];
|
7963
|
-
return r?.startsWith("http") ? r : `${
|
7977
|
+
return r?.startsWith("http") ? r : `${Ea}${kN}/${r || ""}${a ? "" : `?utm-source=product_${s ? "ent" : "oss"}`}`;
|
7964
7978
|
}, va = ({
|
7965
7979
|
docLinkKey: e,
|
7966
7980
|
text: s = "Learn more",
|
@@ -7981,7 +7995,7 @@ const NI = (e) => ({
|
|
7981
7995
|
isExternalLink: d,
|
7982
7996
|
isLicenseDashboard: h
|
7983
7997
|
}), g = (E) => {
|
7984
|
-
!d && !u && !E.metaKey && !h && x.startsWith(
|
7998
|
+
!d && !u && !E.metaKey && !h && x.startsWith(Ea) && (E.preventDefault(), _((f) => ({
|
7985
7999
|
...f,
|
7986
8000
|
state: Wr.DOCUMENTATION,
|
7987
8001
|
docLink: x,
|
@@ -8061,7 +8075,7 @@ const NI = (e) => ({
|
|
8061
8075
|
}, bV = (e) => {
|
8062
8076
|
const { selectOption: s, data: n } = e, a = { height: "16px", width: "16px", flex: "0 0 16px" }, r = (o) => s(n);
|
8063
8077
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left pl-12", style: { background: e.isFocused ? "var(--N100)" : "transparent" }, children: [
|
8064
|
-
e.isSelected ? /* @__PURE__ */ t.jsx(
|
8078
|
+
e.isSelected ? /* @__PURE__ */ t.jsx(ha, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
|
8065
8079
|
/* @__PURE__ */ t.jsx(Ye.Option, { ...e })
|
8066
8080
|
] });
|
8067
8081
|
}, TV = (e) => {
|
@@ -8419,7 +8433,7 @@ const LI = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8419
8433
|
] }) })
|
8420
8434
|
] }),
|
8421
8435
|
!n && /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__position-abs-b-20 dc__content-center w-100", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox pt-8 pr-12 pb-8 pl-12 bcv-1 ev-2 bw-1 br-4", children: [
|
8422
|
-
/* @__PURE__ */ t.jsx(
|
8436
|
+
/* @__PURE__ */ t.jsx(_a, { className: "icon-dim-20 fcv-5" }),
|
8423
8437
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 mr-8 ml-8", children: tt.ARTIFACTS_EMPTY_STATE_TEXTS.StoreFiles }),
|
8424
8438
|
/* @__PURE__ */ t.jsx(
|
8425
8439
|
va,
|
@@ -8469,7 +8483,7 @@ const LI = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
8469
8483
|
renderButton: d
|
8470
8484
|
}
|
8471
8485
|
) });
|
8472
|
-
},
|
8486
|
+
}, kn = {
|
8473
8487
|
NOT_AVAILABLE: "Not available",
|
8474
8488
|
NOT_DEPLOYED: "not-deployed",
|
8475
8489
|
NOT_DEPLOYED_NO_SPACE: "notdeployed",
|
@@ -8617,7 +8631,7 @@ const XI = (e, s) => {
|
|
8617
8631
|
hideMessage: a,
|
8618
8632
|
...r
|
8619
8633
|
}) => {
|
8620
|
-
const o = s ? QI(e) : e, i = n ?
|
8634
|
+
const o = s ? QI(e) : e, i = n ? kn.NOT_AVAILABLE : o ?? "", c = i.toLowerCase().replace(/ /g, "-") === kn.NOT_DEPLOYED || i.toLowerCase() === kn.NOT_DEPLOYED_NO_SPACE, l = s ? kn.JOB_VIEW_NOT_DEPLOYED_MESSAGE : kn.NOT_DEPLOYED_MESSAGE, d = c ? l : i;
|
8621
8635
|
return i ? /* @__PURE__ */ t.jsx(tA, { status: i, message: d, hideMessage: a, ...r }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-6", children: [
|
8622
8636
|
/* @__PURE__ */ t.jsx(
|
8623
8637
|
B,
|
@@ -8634,7 +8648,7 @@ const XI = (e, s) => {
|
|
8634
8648
|
),
|
8635
8649
|
!a && /* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20 cn-6", children: "-" })
|
8636
8650
|
] });
|
8637
|
-
},
|
8651
|
+
}, Dn = ({ status: e, ...s }) => /* @__PURE__ */ t.jsx(so, { status: ZI(e), ...s }), sA = ({
|
8638
8652
|
appId: e,
|
8639
8653
|
envId: s,
|
8640
8654
|
releaseId: n,
|
@@ -8691,7 +8705,7 @@ const XI = (e, s) => {
|
|
8691
8705
|
}, aA = (e) => {
|
8692
8706
|
switch (e) {
|
8693
8707
|
case xn.SUCCESS:
|
8694
|
-
return /* @__PURE__ */ t.jsx(
|
8708
|
+
return /* @__PURE__ */ t.jsx(ha, { className: "dc__no-shrink icon-dim-16 scg-5" });
|
8695
8709
|
case xn.FAILURE:
|
8696
8710
|
return /* @__PURE__ */ t.jsx(zt, { className: "dc__no-shrink icon-dim-16 fcr-5" });
|
8697
8711
|
default:
|
@@ -8739,7 +8753,7 @@ const XI = (e, s) => {
|
|
8739
8753
|
[we.NOT_STARTED]: bt.INPROGRESS,
|
8740
8754
|
[we.RUNNING]: bt.INPROGRESS
|
8741
8755
|
};
|
8742
|
-
return s[e] ? /* @__PURE__ */ t.jsx(
|
8756
|
+
return s[e] ? /* @__PURE__ */ t.jsx(Dn, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(B, { name: "ic-help-outline", size: 20, color: "N500" });
|
8743
8757
|
}, oA = (e) => {
|
8744
8758
|
const s = dc(e);
|
8745
8759
|
return s ? s.finishedOn ? !Cr[s.currentStatus] && Cr[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(B, { name: "ic-warning", size: 20, color: null }) : Qm(s.workerDetails.status) : /* @__PURE__ */ t.jsx(B, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(B, { name: "ic-help-outline", size: 20, color: "N500" });
|
@@ -8989,7 +9003,7 @@ const XI = (e, s) => {
|
|
8989
9003
|
children: m
|
8990
9004
|
}
|
8991
9005
|
),
|
8992
|
-
s !== MI && /* @__PURE__ */ t.jsx(
|
9006
|
+
s !== MI && /* @__PURE__ */ t.jsx(sa, { className: "icon-dim-12 fcn-5" })
|
8993
9007
|
] }),
|
8994
9008
|
r && /* @__PURE__ */ t.jsx("span", { className: "dc__border-dashed--n3-bottom fw-6 fs-13 lh-19-imp", children: r })
|
8995
9009
|
]
|
@@ -9291,7 +9305,7 @@ const xA = {
|
|
9291
9305
|
statusFetchCount: r
|
9292
9306
|
}) => {
|
9293
9307
|
e.icon = n === ne.UNABLE_TO_FETCH ? "disconnect" : "timed_out", e.displaySubText = "Unknown", e.isCollapsed = !1;
|
9294
|
-
const i = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${a ?
|
9308
|
+
const i = `Below resources did not become healthy within 10 mins. Resource status shown below was last fetched ${a ? ma(a, !0) : "--"}. ${r || "--"} retries failed.`;
|
9295
9309
|
e.timelineStatus = [z.KUBECTL_APPLY, z.APP_HEALTH].includes(
|
9296
9310
|
s
|
9297
9311
|
) ? i : "";
|
@@ -9608,7 +9622,7 @@ const MA = (e) => {
|
|
9608
9622
|
};
|
9609
9623
|
}
|
9610
9624
|
return s === "Secret" && e.roleARN && (r.roleARN = { displayName: "Role ARN", value: e.roleARN }), r;
|
9611
|
-
},
|
9625
|
+
}, ca = (e, s, n) => {
|
9612
9626
|
let a;
|
9613
9627
|
const r = { codeEditorValue: e.codeEditorValue, values: {} };
|
9614
9628
|
return delete e.codeEditorValue, s === Pt.DEPLOYMENT_TEMPLATE.VALUE ? a = MA(e) : s === Pt.PIPELINE_STRATEGY.VALUE ? a = kA(e) : a = UA(
|
@@ -9633,7 +9647,7 @@ const MA = (e) => {
|
|
9633
9647
|
}
|
9634
9648
|
), { result: i } = await he(o);
|
9635
9649
|
return { result: nA(i) };
|
9636
|
-
}, RV = (e) => he(`${V.MODULE_CONFIGURED}?name=${e}`),
|
9650
|
+
}, RV = (e) => he(`${V.MODULE_CONFIGURED}?name=${e}`), Un = ({
|
9637
9651
|
type: e,
|
9638
9652
|
hideVerticalConnector: s,
|
9639
9653
|
deploymentDetailedData: n,
|
@@ -9788,7 +9802,7 @@ const MA = (e) => {
|
|
9788
9802
|
"data-testid": "deployment-history-steps-status",
|
9789
9803
|
children: [
|
9790
9804
|
/* @__PURE__ */ t.jsx(
|
9791
|
-
|
9805
|
+
Un,
|
9792
9806
|
{
|
9793
9807
|
type: z.DEPLOYMENT_INITIATED,
|
9794
9808
|
...i
|
@@ -9796,7 +9810,7 @@ const MA = (e) => {
|
|
9796
9810
|
),
|
9797
9811
|
s && e.deploymentStatusBreakdown[z.HELM_PACKAGE_GENERATED] ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
9798
9812
|
/* @__PURE__ */ t.jsx(
|
9799
|
-
|
9813
|
+
Un,
|
9800
9814
|
{
|
9801
9815
|
type: z.HELM_PACKAGE_GENERATED,
|
9802
9816
|
hideVerticalConnector: !o,
|
@@ -9804,7 +9818,7 @@ const MA = (e) => {
|
|
9804
9818
|
}
|
9805
9819
|
),
|
9806
9820
|
o && /* @__PURE__ */ t.jsx(
|
9807
|
-
|
9821
|
+
Un,
|
9808
9822
|
{
|
9809
9823
|
type: z.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
|
9810
9824
|
hideVerticalConnector: !0,
|
@@ -9826,10 +9840,10 @@ const MA = (e) => {
|
|
9826
9840
|
),
|
9827
9841
|
/* @__PURE__ */ t.jsx("div", { className: "vertical-connector" })
|
9828
9842
|
] }),
|
9829
|
-
/* @__PURE__ */ t.jsx(
|
9843
|
+
/* @__PURE__ */ t.jsx(Un, { type: c, ...i })
|
9830
9844
|
] }, c)),
|
9831
9845
|
/* @__PURE__ */ t.jsx(
|
9832
|
-
|
9846
|
+
Un,
|
9833
9847
|
{
|
9834
9848
|
type: z.APP_HEALTH,
|
9835
9849
|
hideVerticalConnector: !0,
|
@@ -9889,12 +9903,12 @@ const FA = ({
|
|
9889
9903
|
}, 3e4), T(j);
|
9890
9904
|
}, I = () => {
|
9891
9905
|
if (n) {
|
9892
|
-
|
9906
|
+
ia(
|
9893
9907
|
`${window.__BASE_URL__}${Ne.APP}/${Ne.DEVTRON_CHARTS}/${Ne.APP_DEPLOYMNENT_HISTORY}/${p}/env/${_}/${Ne.DETAILS}/${Ne.APP_DETAILS_K8}?${Pl}`
|
9894
9908
|
)();
|
9895
9909
|
return;
|
9896
9910
|
}
|
9897
|
-
|
9911
|
+
ia(
|
9898
9912
|
`${window.__BASE_URL__}${Ne.APP}/${p}/${Ne.APP_DETAILS}/${_}/${Ne.APP_DETAILS_K8}?${Pl}`
|
9899
9913
|
)();
|
9900
9914
|
}, y = () => !f.current && !v?.deploymentStatusBreakdown?.APP_HEALTH?.isCollapsed ? /* @__PURE__ */ t.jsx("div", { className: "h-100 flex", children: /* @__PURE__ */ t.jsx(
|
@@ -10053,7 +10067,7 @@ const FA = ({
|
|
10053
10067
|
}
|
10054
10068
|
);
|
10055
10069
|
};
|
10056
|
-
function
|
10070
|
+
function la({ reload: e, className: s = "" }) {
|
10057
10071
|
return /* @__PURE__ */ t.jsx(
|
10058
10072
|
"article",
|
10059
10073
|
{
|
@@ -10067,7 +10081,7 @@ function ia({ reload: e, className: s = "" }) {
|
|
10067
10081
|
}
|
10068
10082
|
);
|
10069
10083
|
}
|
10070
|
-
const
|
10084
|
+
const Pn = ({
|
10071
10085
|
code: e,
|
10072
10086
|
reload: s,
|
10073
10087
|
subtitle: n,
|
@@ -10159,7 +10173,7 @@ const wn = ({
|
|
10159
10173
|
}
|
10160
10174
|
);
|
10161
10175
|
default:
|
10162
|
-
return /* @__PURE__ */ t.jsx(
|
10176
|
+
return /* @__PURE__ */ t.jsx(la, { reload: s, className: a });
|
10163
10177
|
}
|
10164
10178
|
})(), Yt = ({
|
10165
10179
|
content: e,
|
@@ -10200,7 +10214,7 @@ const wn = ({
|
|
10200
10214
|
className: `dc__outline-none-imp p-0 flex dc__transparent--unstyled dc__no-border ${o}`,
|
10201
10215
|
"aria-label": `Copy ${e}`,
|
10202
10216
|
onClick: _,
|
10203
|
-
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: l ? /* @__PURE__ */ t.jsx(
|
10217
|
+
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: l ? /* @__PURE__ */ t.jsx(ha, { className: h }) : /* @__PURE__ */ t.jsx(Uu, { className: h }) })
|
10204
10218
|
}
|
10205
10219
|
) });
|
10206
10220
|
}, ip = Ut(null), oo = () => {
|
@@ -10248,7 +10262,7 @@ const wn = ({
|
|
10248
10262
|
]
|
10249
10263
|
}
|
10250
10264
|
), HA = ({ className: e, text: s, children: n }) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__error fs-12 fw-4 lh-16 py-8 px-16 bco-1 co-5 dc__border-bottom ${e || ""}`, children: [
|
10251
|
-
/* @__PURE__ */ t.jsx(
|
10265
|
+
/* @__PURE__ */ t.jsx(ga, { className: "code-editor__status-info-icon" }),
|
10252
10266
|
s,
|
10253
10267
|
n
|
10254
10268
|
] }), YA = ({ className: e, children: s, text: n }) => /* @__PURE__ */ t.jsxs(
|
@@ -10256,7 +10270,7 @@ const wn = ({
|
|
10256
10270
|
{
|
10257
10271
|
className: `code-editor__information fs-12 fw-4 lh-16 cn-9 py-8 px-16 bcb-1 dc__border-bottom dc__height-auto ${e || ""}`,
|
10258
10272
|
children: [
|
10259
|
-
/* @__PURE__ */ t.jsx(
|
10273
|
+
/* @__PURE__ */ t.jsx(fa, { className: "code-editor__status-info-icon" }),
|
10260
10274
|
n,
|
10261
10275
|
s
|
10262
10276
|
]
|
@@ -10315,7 +10329,7 @@ const wn = ({
|
|
10315
10329
|
}
|
10316
10330
|
];
|
10317
10331
|
return {
|
10318
|
-
themeExtension:
|
10332
|
+
themeExtension: Jn.theme({
|
10319
10333
|
".cm-highlight-number": {
|
10320
10334
|
color: "var(--code-editor-number)"
|
10321
10335
|
},
|
@@ -10478,7 +10492,7 @@ const wn = ({
|
|
10478
10492
|
}, lR = ({
|
10479
10493
|
iconType: e,
|
10480
10494
|
isChecked: s
|
10481
|
-
}) => e === "stroke" ? s ? "scb-5" : "scn-7" : s ? "fcb-5" : "fcn-7",
|
10495
|
+
}) => e === "stroke" ? s ? "scb-5" : "scn-7" : s ? "fcb-5" : "fcn-7", $n = (e, s) => {
|
10482
10496
|
const n = e.getCursor(s.state), a = { count: 0, current: 1 }, { from: r, to: o } = s.state.selection.main;
|
10483
10497
|
let i = n.next();
|
10484
10498
|
for (; e.search !== "" && !i.done; )
|
@@ -10650,21 +10664,21 @@ const wn = ({
|
|
10650
10664
|
search: K,
|
10651
10665
|
wholeWord: ae
|
10652
10666
|
});
|
10653
|
-
ee.eq(r) || (o(ee), e.dispatch({ effects: iu.of(ee) }), c(
|
10667
|
+
ee.eq(r) || (o(ee), e.dispatch({ effects: iu.of(ee) }), c($n(ee, e)));
|
10654
10668
|
};
|
10655
10669
|
P(() => {
|
10656
|
-
s.eq(r) || (a(), c(
|
10670
|
+
s.eq(r) || (a(), c($n(s, e)), o(s));
|
10657
10671
|
}, [s]), P(() => {
|
10658
|
-
c(
|
10672
|
+
c($n(s, e));
|
10659
10673
|
}, [e.state.doc.length]), P(() => {
|
10660
10674
|
n !== l && d(n);
|
10661
10675
|
}, [n]), P(() => {
|
10662
10676
|
m && l && d(!1);
|
10663
10677
|
}, [m]);
|
10664
10678
|
const _ = (D) => {
|
10665
|
-
D?.preventDefault(), D?.stopPropagation(), a(), af(e), c(
|
10679
|
+
D?.preventDefault(), D?.stopPropagation(), a(), af(e), c($n(r, e));
|
10666
10680
|
}, h = (D) => {
|
10667
|
-
D?.preventDefault(), D?.stopPropagation(), a(), nf(e), c(
|
10681
|
+
D?.preventDefault(), D?.stopPropagation(), a(), nf(e), c($n(r, e));
|
10668
10682
|
}, x = (D) => {
|
10669
10683
|
p({ search: D.target.value });
|
10670
10684
|
}, g = (D) => {
|
@@ -11014,7 +11028,7 @@ const wn = ({
|
|
11014
11028
|
let n = e.map(s.changes);
|
11015
11029
|
return s.docChanged && (n = Kl(s.state)), n;
|
11016
11030
|
},
|
11017
|
-
provide: (e) =>
|
11031
|
+
provide: (e) => Jn.decorations.from(e)
|
11018
11032
|
}), bR = NR, TR = () => (e) => {
|
11019
11033
|
const s = [], n = e.state.doc.toString();
|
11020
11034
|
try {
|
@@ -11115,13 +11129,13 @@ const wn = ({
|
|
11115
11129
|
}), [I]);
|
11116
11130
|
const re = () => {
|
11117
11131
|
be();
|
11118
|
-
}, Z =
|
11132
|
+
}, Z = Jn.updateListener.of((de) => {
|
11119
11133
|
if (de.docChanged) {
|
11120
11134
|
const { doc: W } = de.state, Ce = W.toString();
|
11121
11135
|
c(Ce, de);
|
11122
11136
|
}
|
11123
11137
|
N || Gl(K.current, de.transactions, "a");
|
11124
|
-
}), ge =
|
11138
|
+
}), ge = Jn.updateListener.of((de) => {
|
11125
11139
|
if (de.docChanged) {
|
11126
11140
|
const { doc: W } = de.state, Ce = W.toString();
|
11127
11141
|
d(Ce, de);
|
@@ -11359,7 +11373,7 @@ const wn = ({
|
|
11359
11373
|
syntaxHighlighting: !1
|
11360
11374
|
}),
|
11361
11375
|
Wl(o, !0),
|
11362
|
-
|
11376
|
+
Jn.editable.of(!1),
|
11363
11377
|
_o.readOnly.of(!0)
|
11364
11378
|
];
|
11365
11379
|
return /* @__PURE__ */ t.jsxs(ip.Provider, { value: se, children: [
|
@@ -11438,7 +11452,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11438
11452
|
added: "Added",
|
11439
11453
|
deleted: "Deleted",
|
11440
11454
|
noDiff: "No change"
|
11441
|
-
},
|
11455
|
+
}, Kn = {
|
11442
11456
|
hasDiff: fh,
|
11443
11457
|
added: ph,
|
11444
11458
|
deleted: _h,
|
@@ -11728,7 +11742,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11728
11742
|
`${C}-${T}`
|
11729
11743
|
);
|
11730
11744
|
}), f = () => e ? /* @__PURE__ */ t.jsx(Je, { fullHeight: !0, pageLoader: !0 }) : s?.error ? /* @__PURE__ */ t.jsx(
|
11731
|
-
|
11745
|
+
Pn,
|
11732
11746
|
{
|
11733
11747
|
code: s.code,
|
11734
11748
|
subtitle: s.message,
|
@@ -11888,7 +11902,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11888
11902
|
strikeThrough: d && T === Vt.DELETED,
|
11889
11903
|
...!u && T !== Vt.NO_DIFF ? {
|
11890
11904
|
iconConfig: {
|
11891
|
-
Icon: d ?
|
11905
|
+
Icon: d ? Kn[T] : Kn.hasDiff,
|
11892
11906
|
tooltipProps: {
|
11893
11907
|
content: d ? Ka[T] : Ka.hasDiff,
|
11894
11908
|
arrow: !1,
|
@@ -11909,19 +11923,19 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11909
11923
|
] }), E = () => {
|
11910
11924
|
const { tabs: N, activeTab: v } = c;
|
11911
11925
|
return /* @__PURE__ */ t.jsx("div", { className: "p-12", children: /* @__PURE__ */ t.jsx(
|
11912
|
-
|
11926
|
+
pa,
|
11913
11927
|
{
|
11914
11928
|
name: "deployment-config-diff-tab-list",
|
11915
11929
|
initialTab: v,
|
11916
11930
|
onChange: x,
|
11917
11931
|
disabled: e,
|
11918
11932
|
className: "gui-yaml-switch deployment-config-diff__tab-list",
|
11919
|
-
children: N.map((T) => /* @__PURE__ */ t.jsx(
|
11933
|
+
children: N.map((T) => /* @__PURE__ */ t.jsx(pa.Radio, { value: T, className: "fs-12 lh-20 cn-7 fw-6", children: T }, T))
|
11920
11934
|
}
|
11921
11935
|
) });
|
11922
11936
|
}, f = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
11923
11937
|
n.map(({ title: N, href: v, onClick: T, diffState: A, Icon: R }) => {
|
11924
|
-
const b = d ?
|
11938
|
+
const b = d ? Kn[A] : Kn.hasDiff;
|
11925
11939
|
return /* @__PURE__ */ t.jsxs(
|
11926
11940
|
ks,
|
11927
11941
|
{
|
@@ -11949,11 +11963,11 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
11949
11963
|
}),
|
11950
11964
|
/* @__PURE__ */ t.jsx(LR, { config: _, tabType: "navLink", onCollapseBtnClick: h }),
|
11951
11965
|
o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
11952
|
-
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(Su, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(
|
11966
|
+
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(Su, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(sa, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
|
11953
11967
|
/* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${i ? "cr-5" : "cn-9"}`, children: o })
|
11954
11968
|
] })
|
11955
11969
|
] }), C = () => e ? ["90", "70", "50"].map((N) => /* @__PURE__ */ t.jsx(wR, { width: N }, N)) : l?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
11956
|
-
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(
|
11970
|
+
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(sa, { className: "icon-dim-16 fcn-7" }) }),
|
11957
11971
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-1-5 cn-9", children: "Failed to load files. Please reload or select a different reference to compare with." })
|
11958
11972
|
] }) : f();
|
11959
11973
|
return /* @__PURE__ */ t.jsxs("div", { className: "bg__primary dc__border-right flexbox-col dc__overflow-hidden", children: [
|
@@ -12105,7 +12119,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12105
12119
|
return { compareToCodeEditorData: l, compareWithCodeEditorData: d };
|
12106
12120
|
}, tr = (e, s) => {
|
12107
12121
|
const n = !!e.codeEditorValue.value, a = !!s.codeEditorValue.value;
|
12108
|
-
return !n && a ? Vt.DELETED : n && !a ? Vt.ADDED :
|
12122
|
+
return !n && a ? Vt.DELETED : n && !a ? Vt.ADDED : Xn(e, s) ? Vt.NO_DIFF : Vt.HAS_DIFF;
|
12109
12123
|
}, Zl = (e, s) => {
|
12110
12124
|
if (e && e.external && (e.externalType === "" || e.externalType === Me.KubernetesSecret)) {
|
12111
12125
|
const n = structuredClone(s);
|
@@ -12120,11 +12134,11 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12120
12134
|
a,
|
12121
12135
|
r,
|
12122
12136
|
o
|
12123
|
-
), l = n === Qt.Secret ? Pt.SECRET.VALUE : Pt.CONFIGMAP.VALUE, d =
|
12137
|
+
), l = n === Qt.Secret ? Pt.SECRET.VALUE : Pt.CONFIGMAP.VALUE, d = ca(
|
12124
12138
|
{ ...e || {}, codeEditorValue: i },
|
12125
12139
|
l,
|
12126
12140
|
n === Qt.Secret && !a
|
12127
|
-
), u =
|
12141
|
+
), u = ca(
|
12128
12142
|
{ ...s || {}, codeEditorValue: c },
|
12129
12143
|
l,
|
12130
12144
|
n === Qt.Secret && !r
|
@@ -12142,7 +12156,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12142
12156
|
displayName: "data",
|
12143
12157
|
value: a ? Rs(a, n) : ""
|
12144
12158
|
};
|
12145
|
-
return
|
12159
|
+
return ca(
|
12146
12160
|
{
|
12147
12161
|
...kR(e, s),
|
12148
12162
|
codeEditorValue: r
|
@@ -12154,7 +12168,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12154
12168
|
displayName: "data",
|
12155
12169
|
value: e.data
|
12156
12170
|
};
|
12157
|
-
return
|
12171
|
+
return ca(
|
12158
12172
|
{ codeEditorValue: s },
|
12159
12173
|
Pt.DEPLOYMENT_TEMPLATE.VALUE
|
12160
12174
|
);
|
@@ -12163,7 +12177,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12163
12177
|
displayName: "data",
|
12164
12178
|
value: e?.data ? Rs(e.data, s) : ""
|
12165
12179
|
};
|
12166
|
-
return
|
12180
|
+
return ca(
|
12167
12181
|
{ ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
|
12168
12182
|
Pt.PIPELINE_STRATEGY.VALUE
|
12169
12183
|
);
|
@@ -12173,10 +12187,10 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12173
12187
|
n = !0;
|
12174
12188
|
else if (s) {
|
12175
12189
|
const o = e;
|
12176
|
-
o.deploymentDraftData?.configData[0].draftMetadata.draftState ===
|
12190
|
+
o.deploymentDraftData?.configData[0].draftMetadata.draftState === Yn.Init ? a = !0 : o.deploymentDraftData?.configData[0].draftMetadata.draftState === Yn.AwaitApproval && (r = !0);
|
12177
12191
|
} else {
|
12178
12192
|
const o = e;
|
12179
|
-
o.draftMetadata?.draftState ===
|
12193
|
+
o.draftMetadata?.draftState === Yn.Init ? a = !0 : o.draftMetadata?.draftState === Yn.AwaitApproval && (r = !0);
|
12180
12194
|
}
|
12181
12195
|
return n ? /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Does not exist" }) : a ? /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
|
12182
12196
|
/* @__PURE__ */ t.jsx(gh, { className: "icon-dim-16 scr-5" }),
|
@@ -12185,7 +12199,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12185
12199
|
/* @__PURE__ */ t.jsx(hh, { className: "icon-dim-16 dc__no-shrink" }),
|
12186
12200
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cv-5", children: "Approval pending" })
|
12187
12201
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
|
12188
|
-
/* @__PURE__ */ t.jsx(
|
12202
|
+
/* @__PURE__ */ t.jsx(ha, { className: "scn-9 icon-dim-16" }),
|
12189
12203
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Published" })
|
12190
12204
|
] });
|
12191
12205
|
}, sd = (e, s) => {
|
@@ -12469,7 +12483,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12469
12483
|
previousDeployments: []
|
12470
12484
|
}
|
12471
12485
|
), GR = (e) => {
|
12472
|
-
const s =
|
12486
|
+
const s = Kn[e];
|
12473
12487
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-6", children: [
|
12474
12488
|
s && /* @__PURE__ */ t.jsx(s, { className: "icon-dim-16" }),
|
12475
12489
|
/* @__PURE__ */ t.jsx("span", { className: `fs-12 lh-20 ${_p[e]}`, children: pp[e] })
|
@@ -12549,7 +12563,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12549
12563
|
resourceId: a,
|
12550
12564
|
runSource: r.get(d).runSource
|
12551
12565
|
}),
|
12552
|
-
startIcon: /* @__PURE__ */ t.jsx(
|
12566
|
+
startIcon: /* @__PURE__ */ t.jsx(Dn, { status: h })
|
12553
12567
|
})
|
12554
12568
|
);
|
12555
12569
|
return { currentDeployment: Ve(e[o].startedOn).format(
|
@@ -12795,7 +12809,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12795
12809
|
isCompareDeploymentConfigNotAvailable: M
|
12796
12810
|
}
|
12797
12811
|
) }),
|
12798
|
-
/* @__PURE__ */ t.jsx(zs, { children: j && !A ? /* @__PURE__ */ t.jsx(
|
12812
|
+
/* @__PURE__ */ t.jsx(zs, { children: j && !A ? /* @__PURE__ */ t.jsx(Pn, { code: H.code, reload: H.reload }) : /* @__PURE__ */ t.jsx("div", { className: "p-16 flexbox-col dc__gap-16 bg__primary h-100", children: U ? /* @__PURE__ */ t.jsx(Je, { fullHeight: !0, size: 48 }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
12799
12813
|
/* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: D ? "Configurations used for this deployment trigger" : "Showing configuration change with respect to previous deployment" }),
|
12800
12814
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 dc__mxw-800", children: [
|
12801
12815
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-12", children: Object.keys(w).map(
|
@@ -12848,7 +12862,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12848
12862
|
};
|
12849
12863
|
return /* @__PURE__ */ t.jsxs("div", { className: "deployment-history-diff-view", children: [
|
12850
12864
|
!n && /* @__PURE__ */ t.jsxs("div", { className: "bcb-1 eb-2 pt-8 pb-8 br-4 flexbox pl-4 cn-9 fs-13 mt-16 mb-16 mr-20 ml-20", children: [
|
12851
|
-
/* @__PURE__ */ t.jsx(
|
12865
|
+
/* @__PURE__ */ t.jsx(fa, { className: "mr-8 ml-14 icon-dim-20" }),
|
12852
12866
|
/* @__PURE__ */ t.jsxs("span", { className: "lh-20", children: [
|
12853
12867
|
Pt[r.replace("-", "_").toUpperCase()]?.DISPLAY_NAME,
|
12854
12868
|
o ? ` “${o}”` : "",
|
@@ -12965,7 +12979,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12965
12979
|
index: i,
|
12966
12980
|
isExcluded: c = !1
|
12967
12981
|
}) => {
|
12968
|
-
const l = oc(n), d = e === ts.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl :
|
12982
|
+
const l = oc(n), d = e === ts.WEBHOOK || l && l.webhookdata && l.webhookdata.id !== 0, u = d ? l.webhookdata : {}, m = d ? null : l.commiturl ? l.commiturl : Ta(r, l.commit), p = (A) => A ? /* @__PURE__ */ t.jsx(
|
12969
12983
|
"a",
|
12970
12984
|
{
|
12971
12985
|
href: pS(r, A),
|
@@ -12994,7 +13008,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
12994
13008
|
u.data.author
|
12995
13009
|
] }) : null,
|
12996
13010
|
R ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 w-100", children: [
|
12997
|
-
/* @__PURE__ */ t.jsx(
|
13011
|
+
/* @__PURE__ */ t.jsx(ta, { className: "icon-dim-16 scn-7" }),
|
12998
13012
|
/* @__PURE__ */ t.jsx("time", { className: "cn-7 fs-12", children: R })
|
12999
13013
|
] }) : null,
|
13000
13014
|
u.data.message ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8 top material-history-text--padded w-100", children: [
|
@@ -13128,7 +13142,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13128
13142
|
] })
|
13129
13143
|
] }) : null,
|
13130
13144
|
l.date ? /* @__PURE__ */ t.jsxs("div", { className: "material-history__text lh-20 flex left dc__gap-8", children: [
|
13131
|
-
/* @__PURE__ */ t.jsx(
|
13145
|
+
/* @__PURE__ */ t.jsx(ta, { className: "icon-dim-16 scn-7" }),
|
13132
13146
|
/* @__PURE__ */ t.jsx("span", { className: "lh-20", children: Ve(l.date).format(Lt.TWELVE_HOURS_FORMAT) })
|
13133
13147
|
] }) : null
|
13134
13148
|
] })
|
@@ -13386,13 +13400,13 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
13386
13400
|
] })
|
13387
13401
|
] });
|
13388
13402
|
}, xp = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-align-center dc__height-inherit", children: /* @__PURE__ */ t.jsxs("div", { children: [
|
13389
|
-
/* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(
|
13403
|
+
/* @__PURE__ */ t.jsx("div", { className: "text-center", children: /* @__PURE__ */ t.jsx(fa, { className: "icon-dim-20" }) }),
|
13390
13404
|
/* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-14 fw-6", children: "Logs not available" }),
|
13391
13405
|
/* @__PURE__ */ t.jsx("div", { className: "text-center text__white fs-13 fw-4", children: e || "Blob storage was not configured at pipeline run." })
|
13392
13406
|
] }) }), o0 = () => /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
13393
13407
|
xp("Logs are available only at runtime."),
|
13394
13408
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox configure-blob-container pt-8 pr-12 pb-8 pl-12 bcv-1 br-4", children: [
|
13395
|
-
/* @__PURE__ */ t.jsx(
|
13409
|
+
/* @__PURE__ */ t.jsx(_a, { className: "icon-dim-20 fcv-5" }),
|
13396
13410
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 mr-8 ml-8 text__white", children: "Want to store logs to view later?" }),
|
13397
13411
|
/* @__PURE__ */ t.jsx(va, { docLinkKey: "BLOB_STORAGE", text: "Configure blob storage", dataTestId: "configure-blob-storage" }),
|
13398
13412
|
/* @__PURE__ */ t.jsx(Nu, { className: "icon-dim-20 ml-8" })
|
@@ -14055,7 +14069,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14055
14069
|
] });
|
14056
14070
|
return /* @__PURE__ */ t.jsx(Ye.ValueContainer, { ...s, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
|
14057
14071
|
i(),
|
14058
|
-
|
14072
|
+
Zn(n[1])
|
14059
14073
|
] }) });
|
14060
14074
|
}, fi = ({ handleClick: e = ve, commits: s }) => s?.length > 0 ? /* @__PURE__ */ t.jsx("div", { className: "flexbox", children: /* @__PURE__ */ t.jsxs(
|
14061
14075
|
"button",
|
@@ -14100,8 +14114,8 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14100
14114
|
fi,
|
14101
14115
|
{
|
14102
14116
|
commits: [r.Commit],
|
14103
|
-
handleClick:
|
14104
|
-
|
14117
|
+
handleClick: ia(
|
14118
|
+
Ta(a.url, r.Commit)
|
14105
14119
|
)
|
14106
14120
|
}
|
14107
14121
|
),
|
@@ -14174,7 +14188,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14174
14188
|
const c = dc(e);
|
14175
14189
|
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: [
|
14176
14190
|
/* @__PURE__ */ t.jsxs("div", { className: "dc__icon-text-layout", children: [
|
14177
|
-
/* @__PURE__ */ t.jsx(
|
14191
|
+
/* @__PURE__ */ t.jsx(ta, { className: `scn-7 ${ud}` }),
|
14178
14192
|
/* @__PURE__ */ t.jsx("time", { className: "cn-9 fs-12 cn-9 fw-4 lh-20", children: c?.triggeredOn ? no(c.triggeredOn) : "--" }),
|
14179
14193
|
/* @__PURE__ */ t.jsx(Bo, { className: `fcn-7 ${ud}` }),
|
14180
14194
|
/* @__PURE__ */ t.jsx(Q, { content: s, children: /* @__PURE__ */ t.jsx("span", { className: "cn-9 fs-12 fw-4 lh-20 dc__truncate", children: s }) }),
|
@@ -14318,7 +14332,7 @@ const _c = ({ expand: e, onTransitionEnd: s, children: n }) => /* @__PURE__ */ t
|
|
14318
14332
|
ref: w,
|
14319
14333
|
children: /* @__PURE__ */ t.jsxs("div", { className: "w-100 deployment-history-card", children: [
|
14320
14334
|
M ? oA(g) : /* @__PURE__ */ t.jsx(
|
14321
|
-
|
14335
|
+
Dn,
|
14322
14336
|
{
|
14323
14337
|
status: dA(s),
|
14324
14338
|
hideMessage: !0,
|
@@ -14803,7 +14817,7 @@ const S0 = (e) => {
|
|
14803
14817
|
const R = (b) => {
|
14804
14818
|
h(b.target.value);
|
14805
14819
|
};
|
14806
|
-
return /* @__PURE__ */ t.jsxs(
|
14820
|
+
return /* @__PURE__ */ t.jsxs(Sa, { onEscape: l ? A : ve, children: [
|
14807
14821
|
/* @__PURE__ */ t.jsxs(
|
14808
14822
|
Fe.div,
|
14809
14823
|
{
|
@@ -14814,7 +14828,7 @@ const S0 = (e) => {
|
|
14814
14828
|
onClick: Ae,
|
14815
14829
|
children: [
|
14816
14830
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 p-20", children: [
|
14817
|
-
N ? null :
|
14831
|
+
N ? null : Zn(C, {
|
14818
14832
|
className: `${C.props?.className ?? ""} icon-dim-48 dc__no-shrink`
|
14819
14833
|
}),
|
14820
14834
|
/* @__PURE__ */ t.jsxs("div", { className: `flexbox-col ${d ? "" : "dc__gap-8"}`, children: [
|
@@ -15191,8 +15205,8 @@ const S0 = (e) => {
|
|
15191
15205
|
fi,
|
15192
15206
|
{
|
15193
15207
|
commits: [_.Commit],
|
15194
|
-
handleClick:
|
15195
|
-
|
15208
|
+
handleClick: ia(
|
15209
|
+
Ta(p.url, _.Commit)
|
15196
15210
|
)
|
15197
15211
|
}
|
15198
15212
|
),
|
@@ -15738,7 +15752,7 @@ const S0 = (e) => {
|
|
15738
15752
|
title: tt.TRIGGER_NOT_FOUND.TITLE,
|
15739
15753
|
subTitle: tt.TRIGGER_NOT_FOUND.SUBTITLE
|
15740
15754
|
}
|
15741
|
-
) : !K && !j && !S ? /* @__PURE__ */ t.jsx(
|
15755
|
+
) : !K && !j && !S ? /* @__PURE__ */ t.jsx(la, {}) : K && !(ae || j) && !S ? /* @__PURE__ */ t.jsx(la, {}) : S?.id !== +b ? null : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
15742
15756
|
!e && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
15743
15757
|
/* @__PURE__ */ t.jsx(
|
15744
15758
|
P0,
|
@@ -16037,7 +16051,7 @@ const z0 = (e) => e?.appType === ht.DEVTRON_APP && e.resourceTree?.nodes?.length
|
|
16037
16051
|
/* @__PURE__ */ t.jsx(
|
16038
16052
|
"a",
|
16039
16053
|
{
|
16040
|
-
href:
|
16054
|
+
href: Ca,
|
16041
16055
|
className: "cb-5 fs-13 anchor w-auto dc__no-decor flex",
|
16042
16056
|
target: "_blank",
|
16043
16057
|
rel: "noreferrer",
|
@@ -16171,7 +16185,7 @@ const Z0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16171
16185
|
id: "deployment-status-row",
|
16172
16186
|
heading: "Deployment Status",
|
16173
16187
|
value: /* @__PURE__ */ t.jsx(gd, { type: s, appId: e.appId, envId: e.environmentId, children: a?.deploymentStatus ? /* @__PURE__ */ t.jsx(
|
16174
|
-
|
16188
|
+
Dn,
|
16175
16189
|
{
|
16176
16190
|
status: a.deploymentStatus,
|
16177
16191
|
message: xA[a.deploymentStatus],
|
@@ -16250,7 +16264,7 @@ const Z0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16250
16264
|
},
|
16251
16265
|
active: a === ft.DEPLOYMENT_STATUS,
|
16252
16266
|
iconElement: /* @__PURE__ */ t.jsx(
|
16253
|
-
|
16267
|
+
Dn,
|
16254
16268
|
{
|
16255
16269
|
status: r?.deploymentStatus,
|
16256
16270
|
hideMessage: !0,
|
@@ -16434,9 +16448,9 @@ const Z0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16434
16448
|
),
|
16435
16449
|
title: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-4 dc__align-items-center", children: [
|
16436
16450
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20", children: "Deployment status:" }),
|
16437
|
-
/* @__PURE__ */ t.jsx(
|
16451
|
+
/* @__PURE__ */ t.jsx(Dn, { status: w.deploymentStatus, hideIcon: !0 })
|
16438
16452
|
] }),
|
16439
|
-
subTitle: `Triggered at ${
|
16453
|
+
subTitle: `Triggered at ${ma(w.deploymentTriggerTime)} by ${w.triggeredBy}`,
|
16440
16454
|
imageType: Vs.Large
|
16441
16455
|
}
|
16442
16456
|
) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
@@ -16459,7 +16473,7 @@ const Z0 = ({ heading: e, value: s, isLast: n = !1, alignCenter: a = !1 }) => /*
|
|
16459
16473
|
dataTestId: "chat-with-support-button",
|
16460
16474
|
component: xt.anchor,
|
16461
16475
|
anchorProps: {
|
16462
|
-
href:
|
16476
|
+
href: Ca,
|
16463
16477
|
target: "_blank",
|
16464
16478
|
rel: "noreferrer noopener"
|
16465
16479
|
},
|
@@ -17233,7 +17247,7 @@ const oy = {
|
|
17233
17247
|
const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o = Ir(s), i = Ir(n);
|
17234
17248
|
return o === "Progressing" || i === "Progressing" || Ei(a) || Ei(r) ? "Progressing" : o === "Failed" || i === "Failed" || a === "Failed" || r === "Failed" ? "Failed" : "Completed";
|
17235
17249
|
}, Ey = ({ 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: [
|
17236
|
-
/* @__PURE__ */ t.jsx(
|
17250
|
+
/* @__PURE__ */ t.jsx(sa, { className: "icon-dim-24 fcn-3" }),
|
17237
17251
|
/* @__PURE__ */ t.jsx("span", { children: "Code snippet is not available" }),
|
17238
17252
|
e && /* @__PURE__ */ t.jsx("a", { href: e, rel: "noopener noreferrer", target: "_blank", children: "Go to file" })
|
17239
17253
|
] }) }), Rp = ({ title: e, lines: s, link: n }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__align-self-stretch bg__primary dc__outline dc__border-radius-4-imp", children: [
|
@@ -18124,7 +18138,7 @@ const oy = {
|
|
18124
18138
|
`${l.category}${l.subCategory}${p}`
|
18125
18139
|
)
|
18126
18140
|
] });
|
18127
|
-
}, E = () => n ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Je, { size: 24, pageLoader: !0 }) }) : a ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(
|
18141
|
+
}, E = () => n ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Je, { size: 24, pageLoader: !0 }) }) : a ? /* @__PURE__ */ t.jsx("div", { className: "h-100 w-100 flex", children: /* @__PURE__ */ t.jsx(Pn, { code: a.code }) }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox flex-grow-1 dc__overflow-auto", children: [
|
18128
18142
|
e && /* @__PURE__ */ t.jsx(e, { modalState: l, setModalState: d, scanResult: r }),
|
18129
18143
|
/* @__PURE__ */ t.jsx("div", { className: "dc__border-right-n1 h-100" }),
|
18130
18144
|
/* @__PURE__ */ t.jsxs("div", { className: "dc__overflow-auto flex-grow-1", style: { width: "744px" }, children: [
|
@@ -18186,7 +18200,7 @@ const oy = {
|
|
18186
18200
|
const o = Ip(n), i = !!o, c = Object.entries(Tr).map(([_, h]) => ({
|
18187
18201
|
...h,
|
18188
18202
|
value: n[_]
|
18189
|
-
})).filter((_) => !!_.value), l = () => r ? /* @__PURE__ */ t.jsx(
|
18203
|
+
})).filter((_) => !!_.value), l = () => r ? /* @__PURE__ */ t.jsx(ga, { className: "icon-dim-24 dc__no-shrink" }) : i ? /* @__PURE__ */ t.jsx(Xh, { className: "icon-dim-24 scr-5 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(qh, { className: "icon-dim-24 scg-5 dc__no-shrink" }), d = () => {
|
18190
18204
|
if (r)
|
18191
18205
|
return s === te.VULNERABILITIES ? { title: "Vulnerability scan failed", subtitle: "Failed" } : { title: "License scan failed", subtitle: "Failed" };
|
18192
18206
|
switch (s) {
|
@@ -18759,7 +18773,7 @@ const zy = "bulk-selection-pop-up-menu", Do = {
|
|
18759
18773
|
[ke.SELECT_ALL_ON_PAGE]: "All on this page",
|
18760
18774
|
[ke.SELECT_ALL_ACROSS_PAGES]: "All across pages",
|
18761
18775
|
[ke.CLEAR_ALL_SELECTIONS]: "Clear selection(s)"
|
18762
|
-
},
|
18776
|
+
}, Fn = "*", qy = (e) => `Invalid action ${e} passed to useBulkSelection`, Xy = "useBulkSelection must be used within BulkSelectionContext", Td = "Selections on other pages are cleared", Pp = Ut({
|
18763
18777
|
selectedIdentifiers: {},
|
18764
18778
|
handleBulkSelection: ve,
|
18765
18779
|
isChecked: !1,
|
@@ -18781,14 +18795,14 @@ const zy = "bulk-selection-pop-up-menu", Do = {
|
|
18781
18795
|
Pr(() => {
|
18782
18796
|
s && i(s);
|
18783
18797
|
}, [s]);
|
18784
|
-
const c = a[
|
18798
|
+
const c = a[Fn], l = () => Object.keys(a).length, d = (g, E) => {
|
18785
18799
|
const f = JSON.parse(JSON.stringify(g));
|
18786
18800
|
E.forEach((C) => {
|
18787
18801
|
delete f[C];
|
18788
18802
|
}), r(f);
|
18789
18803
|
}, u = (g) => {
|
18790
18804
|
const E = JSON.parse(JSON.stringify(a));
|
18791
|
-
c && delete E[
|
18805
|
+
c && delete E[Fn], r({
|
18792
18806
|
...E,
|
18793
18807
|
...g
|
18794
18808
|
});
|
@@ -18813,17 +18827,17 @@ const zy = "bulk-selection-pop-up-menu", Do = {
|
|
18813
18827
|
if (c || l() > 0 && n() === Dp.OPEN)
|
18814
18828
|
return;
|
18815
18829
|
r({
|
18816
|
-
[
|
18830
|
+
[Fn]: !0
|
18817
18831
|
});
|
18818
18832
|
break;
|
18819
18833
|
}
|
18820
18834
|
case ke.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES:
|
18821
18835
|
r({
|
18822
|
-
[
|
18836
|
+
[Fn]: !0
|
18823
18837
|
});
|
18824
18838
|
break;
|
18825
18839
|
case ke.SELECT_ALL_ON_PAGE: {
|
18826
|
-
a[
|
18840
|
+
a[Fn] && $e.showToast({
|
18827
18841
|
variant: Te.info,
|
18828
18842
|
description: Td
|
18829
18843
|
}), u(o);
|
@@ -19014,7 +19028,7 @@ const ZV = ({
|
|
19014
19028
|
] }),
|
19015
19029
|
variant: "warning"
|
19016
19030
|
}
|
19017
|
-
), Rr = "Please provide valid YAML",
|
19031
|
+
), Rr = "Please provide valid YAML", Bn = {
|
19018
19032
|
BOTH_STORE_AVAILABLE: "Please use either secretStore or secretStoreRef",
|
19019
19033
|
CHECK_KEY_SECRET_KEY: "Please check key and secretKey",
|
19020
19034
|
BOTH_STORE_UNAVAILABLE: "Please provide secretStore or secretStoreRef",
|
@@ -19024,7 +19038,7 @@ const ZV = ({
|
|
19024
19038
|
}, ej = [
|
19025
19039
|
{ value: "", label: "Kubernetes ConfigMap" },
|
19026
19040
|
{ value: Me.KubernetesConfigMap, label: "Kubernetes External ConfigMap" }
|
19027
|
-
],
|
19041
|
+
], da = [{ key: "", value: "", id: 0 }], yr = {
|
19028
19042
|
environment: { title: "Environment Variable", value: "environment" },
|
19029
19043
|
volume: { title: "Data Volume", value: "volume" }
|
19030
19044
|
}, tj = (e, s) => {
|
@@ -19081,7 +19095,7 @@ const ZV = ({
|
|
19081
19095
|
configMapSecretData: e,
|
19082
19096
|
cmSecretStateLabel: s,
|
19083
19097
|
isSecret: n
|
19084
|
-
}) => e.mergeStrategy === zi.PATCH ? e.patchData ? Po(e.patchData, n && e.externalType === "") :
|
19098
|
+
}) => e.mergeStrategy === zi.PATCH ? e.patchData ? Po(e.patchData, n && e.externalType === "") : da : e.data ? Po(e.data, n && e.externalType === "") : s === Kr.INHERITED && e.defaultData ? Po(e.defaultData, n && e.externalType === "") : da, nj = ({
|
19085
19099
|
data: e,
|
19086
19100
|
esoSubPath: s,
|
19087
19101
|
external: n,
|
@@ -19167,7 +19181,7 @@ const ZV = ({
|
|
19167
19181
|
externalSubpathValues: "",
|
19168
19182
|
yaml: `"": ""
|
19169
19183
|
`,
|
19170
|
-
currentData:
|
19184
|
+
currentData: da,
|
19171
19185
|
esoSecretYaml: "{}",
|
19172
19186
|
secretDataYaml: "[]",
|
19173
19187
|
mergeStrategy: null
|
@@ -19263,12 +19277,12 @@ const ZV = ({
|
|
19263
19277
|
throw new Error();
|
19264
19278
|
return Object.keys(s).reduce((a, r, o) => {
|
19265
19279
|
if (!r && !s[r])
|
19266
|
-
return
|
19280
|
+
return da;
|
19267
19281
|
const i = s[r] && typeof s[r] == "object" ? Ot(s[r]) : s[r].toString();
|
19268
19282
|
return [...a, { key: r, value: i ?? "", id: o }];
|
19269
19283
|
}, []);
|
19270
19284
|
} catch {
|
19271
|
-
return
|
19285
|
+
return da;
|
19272
19286
|
}
|
19273
19287
|
}, Up = (e) => {
|
19274
19288
|
try {
|
@@ -19448,7 +19462,7 @@ const ZV = ({
|
|
19448
19462
|
),
|
19449
19463
|
n
|
19450
19464
|
// Keep track of overall validity
|
19451
|
-
)), s.esoDataFrom && s.esoData ? a =
|
19465
|
+
)), s.esoDataFrom && s.esoData ? a = Bn.BOTH_ESO_DATA_AND_DATA_FROM_AVAILABLE : !s.esoDataFrom && !s.esoData ? a = Bn.BOTH_ESO_DATA_AND_DATA_FROM_UNAVAILABLE : s.secretStore && s.secretStoreRef ? a = Bn.BOTH_STORE_AVAILABLE : s.secretStore || s.secretStoreRef ? a = Bn.CHECK_KEY_SECRET_KEY : a = Bn.BOTH_STORE_UNAVAILABLE, {
|
19452
19466
|
custom: {
|
19453
19467
|
isValid: () => n,
|
19454
19468
|
// Validation is successful if all checks pass.
|
@@ -19812,7 +19826,7 @@ const ZV = ({
|
|
19812
19826
|
withFullScreenPortal: !1,
|
19813
19827
|
orientation: "horizontal",
|
19814
19828
|
readOnly: l || !1,
|
19815
|
-
customInputIcon: /* @__PURE__ */ t.jsx(
|
19829
|
+
customInputIcon: /* @__PURE__ */ t.jsx(ta, { className: "icon-dim-20 scn-6" }),
|
19816
19830
|
inputIconPosition: "after",
|
19817
19831
|
displayFormat: Lt.DD_MMM_YYYY,
|
19818
19832
|
"data-testid": m,
|
@@ -20024,7 +20038,7 @@ function jj({ isCreateApp: e }) {
|
|
20024
20038
|
/* @__PURE__ */ t.jsxs("div", { className: "mb-20", children: [
|
20025
20039
|
/* @__PURE__ */ t.jsxs("span", { className: "flex left", children: [
|
20026
20040
|
"Add a tag and click on the",
|
20027
|
-
/* @__PURE__ */ t.jsx(
|
20041
|
+
/* @__PURE__ */ t.jsx(zn, { className: "icon-dim-16 ml-4 mr-4" }),
|
20028
20042
|
"icon to"
|
20029
20043
|
] }),
|
20030
20044
|
"propagate tags as labels to Kubernetes resources"
|
@@ -20034,10 +20048,10 @@ function jj({ isCreateApp: e }) {
|
|
20034
20048
|
return /* @__PURE__ */ t.jsx(
|
20035
20049
|
nc,
|
20036
20050
|
{
|
20037
|
-
theme:
|
20051
|
+
theme: xa.white,
|
20038
20052
|
className: "w-300",
|
20039
20053
|
placement: "left",
|
20040
|
-
Icon:
|
20054
|
+
Icon: zn,
|
20041
20055
|
heading: "Propagate tags to K8s resources",
|
20042
20056
|
infoText: "",
|
20043
20057
|
additionalContent: s(),
|
@@ -20048,7 +20062,7 @@ function jj({ isCreateApp: e }) {
|
|
20048
20062
|
documentationLinkText: "View Documentation",
|
20049
20063
|
openInNewTab: !0,
|
20050
20064
|
children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox cursor", children: [
|
20051
|
-
/* @__PURE__ */ t.jsx(
|
20065
|
+
/* @__PURE__ */ t.jsx(zn, { className: "icon-dim-16 mt-2 mr-4" }),
|
20052
20066
|
/* @__PURE__ */ t.jsx("span", { children: "Propagate tags" }),
|
20053
20067
|
/* @__PURE__ */ t.jsx(Yr, { className: "icon-dim-16 mt-2 ml-4" })
|
20054
20068
|
] })
|
@@ -20130,7 +20144,7 @@ const Fp = ({
|
|
20130
20144
|
m.stopPropagation(), typeof r == "function" && (l && l.current?.contains(m.target) ? r(m, "in") : r(m, "out"));
|
20131
20145
|
}
|
20132
20146
|
function u(m) {
|
20133
|
-
i || (l?.
|
20147
|
+
i || (l.current?.contains(m.target) ? l.current.clientHeight === l.current.scrollHeight && m.preventDefault() : m.preventDefault());
|
20134
20148
|
}
|
20135
20149
|
return P(() => {
|
20136
20150
|
document.addEventListener("click", d);
|
@@ -20345,7 +20359,7 @@ const Sd = ({
|
|
20345
20359
|
/* @__PURE__ */ t.jsx("span", { children: I })
|
20346
20360
|
] }, I)),
|
20347
20361
|
o === us.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
20348
|
-
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(
|
20362
|
+
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(sa, { className: "icon-dim-14 mt-3 mr-4" }) }),
|
20349
20363
|
/* @__PURE__ */ t.jsx("span", { className: "dc__italic-font-style", children: "Key format: prefix/name or name" })
|
20350
20364
|
] })
|
20351
20365
|
] });
|
@@ -20433,7 +20447,7 @@ const Sd = ({
|
|
20433
20447
|
className: `dc__border h-30 pl-4 pr-4 br-4 mr-8 pointer ${s.propagate ? "bcn-7" : ""} ${s.key.startsWith("devtron.ai/") ? "cursor-not-allowed bcn-1" : ""}`,
|
20434
20448
|
onClick: s?.isPropagateDisabled ? null : m,
|
20435
20449
|
"data-testid": `propagate-tag-${e}`,
|
20436
|
-
children: /* @__PURE__ */ t.jsx(
|
20450
|
+
children: /* @__PURE__ */ t.jsx(zn, { className: `icon-dim-20 mt-4 ${s.propagate ? "scn-0" : ""}` })
|
20437
20451
|
}
|
20438
20452
|
),
|
20439
20453
|
/* @__PURE__ */ t.jsx(
|
@@ -21258,14 +21272,14 @@ const Ad = (e) => {
|
|
21258
21272
|
/* @__PURE__ */ t.jsx("div", { className: "flex left w-100 fs-16 fw-6 px-20 py-16", children: e }),
|
21259
21273
|
Array.isArray(l) ? m && l.length > 0 && /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
21260
21274
|
/* @__PURE__ */ t.jsx("div", { className: "px-20 pb-8 flex left w-100", children: /* @__PURE__ */ t.jsx(
|
21261
|
-
|
21275
|
+
pa,
|
21262
21276
|
{
|
21263
21277
|
className: "gui-yaml-switch",
|
21264
21278
|
name: "feature-description-modal-tabs",
|
21265
21279
|
initialTab: m.id,
|
21266
21280
|
disabled: !1,
|
21267
21281
|
onChange: p,
|
21268
|
-
children: l.map((_) => /* @__PURE__ */ t.jsx(
|
21282
|
+
children: l.map((_) => /* @__PURE__ */ t.jsx(pa.Radio, { value: _.id, children: _.title }, _.id))
|
21269
21283
|
}
|
21270
21284
|
) }),
|
21271
21285
|
/* @__PURE__ */ t.jsx(
|
@@ -21565,7 +21579,7 @@ const Ad = (e) => {
|
|
21565
21579
|
type: "button",
|
21566
21580
|
children: [
|
21567
21581
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
|
21568
|
-
/* @__PURE__ */ t.jsx("div", { className: "flex center", children: /* @__PURE__ */ t.jsx(
|
21582
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex center", children: /* @__PURE__ */ t.jsx(_a, { className: "icon-dim-16 fcv-5" }) }),
|
21569
21583
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 cn-9 fw-6 lh-20", children: Xj })
|
21570
21584
|
] }),
|
21571
21585
|
/* @__PURE__ */ t.jsx(gs, { className: `icon-dim-16 fcn-6 ${e ? "" : "dc__flip-270"}` })
|
@@ -21686,7 +21700,7 @@ const Ad = (e) => {
|
|
21686
21700
|
] }), f = () => s ? /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto bg__primary flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Je, { pageLoader: !0, size: 32 }) }) : n?.length === 0 ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
21687
21701
|
/* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__align-self-stretch dc__overflow-auto flex-grow-1 h-250", children: /* @__PURE__ */ t.jsx(Xe, { title: "No variables found", image: Gr }) }),
|
21688
21702
|
/* @__PURE__ */ t.jsx(jd, {})
|
21689
|
-
] }) : p ? E() : /* @__PURE__ */ t.jsx(
|
21703
|
+
] }) : p ? E() : /* @__PURE__ */ t.jsx(la, { reload: a, className: "bg__primary pb-16" });
|
21690
21704
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
21691
21705
|
g(),
|
21692
21706
|
f()
|
@@ -21848,7 +21862,7 @@ const aO = (e) => e === Wp.NONE ? "" : "dc__border-n1", ar = ({
|
|
21848
21862
|
{
|
21849
21863
|
className: `flexbox dc__gap-16 p-12 bg__primary generic-info-card br-8 ${aO(r)}`,
|
21850
21864
|
children: a ? d() : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
21851
|
-
|
21865
|
+
Zn(l, {
|
21852
21866
|
className: `${l.props?.className ?? ""} icon-dim-40 dc__no-shrink br-6 dc__fill-available-space`
|
21853
21867
|
}),
|
21854
21868
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 flex-grow-1", children: [
|
@@ -21889,7 +21903,7 @@ const aO = (e) => e === Wp.NONE ? "" : "dc__border-n1", ar = ({
|
|
21889
21903
|
const u = a.toLowerCase();
|
21890
21904
|
return d.filter(({ title: m }) => m.toLowerCase().includes(u));
|
21891
21905
|
}, [a, n, s]);
|
21892
|
-
return e ? /* @__PURE__ */ t.jsx(rO, { borderVariant: o }) : s ? /* @__PURE__ */ t.jsx(
|
21906
|
+
return e ? /* @__PURE__ */ t.jsx(rO, { borderVariant: o }) : s ? /* @__PURE__ */ t.jsx(Pn, { code: s?.code, reload: r }) : l.length === 0 ? a ? /* @__PURE__ */ t.jsx(gc, { handleClearFilters: i }) : /* @__PURE__ */ t.jsx(
|
21893
21907
|
Xe,
|
21894
21908
|
{
|
21895
21909
|
image: c.image ?? Fh,
|
@@ -21965,7 +21979,7 @@ const aO = (e) => e === Wp.NONE ? "" : "dc__border-n1", ar = ({
|
|
21965
21979
|
] })
|
21966
21980
|
] })
|
21967
21981
|
}
|
21968
|
-
), uO = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e }),
|
21982
|
+
), uO = ({ children: e }) => /* @__PURE__ */ t.jsx(t.Fragment, { children: e }), ua = ({
|
21969
21983
|
name: e,
|
21970
21984
|
open: s,
|
21971
21985
|
width: n = 600,
|
@@ -21973,7 +21987,7 @@ const aO = (e) => e === Wp.NONE ? "" : "dc__border-n1", ar = ({
|
|
21973
21987
|
onEscape: r = ve,
|
21974
21988
|
closeOnBackdropClick: o = !1,
|
21975
21989
|
children: i
|
21976
|
-
}) => /* @__PURE__ */ t.jsx(iO, { value: { name: e, onClose: a }, children: /* @__PURE__ */ t.jsx(An, { children: s && /* @__PURE__ */ t.jsx(
|
21990
|
+
}) => /* @__PURE__ */ t.jsx(iO, { value: { name: e, onClose: a }, children: /* @__PURE__ */ t.jsx(An, { children: s && /* @__PURE__ */ t.jsx(Sa, { onEscape: r, onClick: o ? a : void 0, children: /* @__PURE__ */ t.jsx(
|
21977
21991
|
Fe.div,
|
21978
21992
|
{
|
21979
21993
|
className: `shadow__modal flexbox-col bg__primary border__secondary br-8 dc__m-auto mt-40 dc__overflow-hidden ${oO[n]}`,
|
@@ -21984,9 +21998,9 @@ const aO = (e) => e === Wp.NONE ? "" : "dc__border-n1", ar = ({
|
|
21984
21998
|
children: i
|
21985
21999
|
}
|
21986
22000
|
) }) }) });
|
21987
|
-
|
21988
|
-
|
21989
|
-
|
22001
|
+
ua.Header = lO;
|
22002
|
+
ua.Body = uO;
|
22003
|
+
ua.Footer = dO;
|
21990
22004
|
const Ic = ({ id: e, className: s, isConnectable: n, children: a }) => {
|
21991
22005
|
const r = Rf(), { hasSource: o, hasTarget: i } = X(
|
21992
22006
|
() => ({
|
@@ -22209,7 +22223,7 @@ const bO = [
|
|
22209
22223
|
label: "View documentation",
|
22210
22224
|
startIcon: { name: "ic-book-open" },
|
22211
22225
|
componentType: "anchor",
|
22212
|
-
href:
|
22226
|
+
href: Ea
|
22213
22227
|
},
|
22214
22228
|
{
|
22215
22229
|
id: gt.DEVTRON_GPT,
|
@@ -22224,7 +22238,7 @@ const bO = [
|
|
22224
22238
|
label: "Join discord community",
|
22225
22239
|
startIcon: { name: "ic-discord-fill" },
|
22226
22240
|
componentType: "anchor",
|
22227
|
-
href:
|
22241
|
+
href: Ca
|
22228
22242
|
},
|
22229
22243
|
{
|
22230
22244
|
id: gt.ABOUT_DEVTRON,
|
@@ -22236,7 +22250,7 @@ const bO = [
|
|
22236
22250
|
id: gt.CHAT_WITH_SUPPORT,
|
22237
22251
|
label: "Chat with support",
|
22238
22252
|
componentType: "anchor",
|
22239
|
-
href:
|
22253
|
+
href: Ca,
|
22240
22254
|
startIcon: { name: "ic-chat-circle-online" }
|
22241
22255
|
},
|
22242
22256
|
{
|
@@ -22382,7 +22396,7 @@ const AO = async (e, s) => {
|
|
22382
22396
|
I.metaKey || (I.preventDefault(), p((y) => ({
|
22383
22397
|
...y,
|
22384
22398
|
state: Wr.DOCUMENTATION,
|
22385
|
-
docLink:
|
22399
|
+
docLink: Ea,
|
22386
22400
|
reinitialize: !0
|
22387
22401
|
})));
|
22388
22402
|
}, v = (b, I) => {
|
@@ -22671,7 +22685,7 @@ const AO = async (e, s) => {
|
|
22671
22685
|
!window._env_.K8S_CLIENT && /* @__PURE__ */ t.jsx(
|
22672
22686
|
nc,
|
22673
22687
|
{
|
22674
|
-
theme:
|
22688
|
+
theme: xa.black,
|
22675
22689
|
className: "w-250",
|
22676
22690
|
placement: "bottom",
|
22677
22691
|
visible: p,
|
@@ -22976,7 +22990,7 @@ const $O = (e) => [
|
|
22976
22990
|
stateClassName: ""
|
22977
22991
|
};
|
22978
22992
|
}
|
22979
|
-
},
|
22993
|
+
}, Vn = ({ envStateText: e, title: s, tooltipContent: n }) => {
|
22980
22994
|
const { Icon: a, stateClassName: r } = GO(e);
|
22981
22995
|
return /* @__PURE__ */ t.jsx(
|
22982
22996
|
Q,
|
@@ -23010,7 +23024,7 @@ const $O = (e) => [
|
|
23010
23024
|
if (l?.length) {
|
23011
23025
|
const E = l.length === 1 ? l[0] : `${l.length} environments`;
|
23012
23026
|
return /* @__PURE__ */ t.jsx(
|
23013
|
-
|
23027
|
+
Vn,
|
23014
23028
|
{
|
23015
23029
|
envStateText: m(),
|
23016
23030
|
title: E,
|
@@ -23019,8 +23033,8 @@ const $O = (e) => [
|
|
23019
23033
|
);
|
23020
23034
|
}
|
23021
23035
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
23022
|
-
e && a && /* @__PURE__ */ t.jsx(
|
23023
|
-
s && r && /* @__PURE__ */ t.jsx(
|
23036
|
+
e && a && /* @__PURE__ */ t.jsx(Vn, { envStateText: m(), title: a }),
|
23037
|
+
s && r && /* @__PURE__ */ t.jsx(Vn, { envStateText: m(), title: r })
|
23024
23038
|
] });
|
23025
23039
|
}, _ = o !== ho.CD;
|
23026
23040
|
if (!e && !d && (o !== ho.CD || !s && !Object.values(Fa).includes(n) && !i && !l?.length))
|
@@ -23030,8 +23044,8 @@ const $O = (e) => [
|
|
23030
23044
|
d
|
23031
23045
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
23032
23046
|
p(),
|
23033
|
-
n === Fa.PROGRESSING && /* @__PURE__ */ t.jsx(
|
23034
|
-
(n === Fa.DEGRADED || n === Fa.FAILED) && /* @__PURE__ */ t.jsx(
|
23047
|
+
n === Fa.PROGRESSING && /* @__PURE__ */ t.jsx(Vn, { envStateText: Os.DEPLOYING, title: a }),
|
23048
|
+
(n === Fa.DEGRADED || n === Fa.FAILED) && /* @__PURE__ */ t.jsx(Vn, { envStateText: Os.FAILED, title: a }),
|
23035
23049
|
i && /* @__PURE__ */ t.jsx(
|
23036
23050
|
kr,
|
23037
23051
|
{
|
@@ -23111,9 +23125,9 @@ const $O = (e) => [
|
|
23111
23125
|
isScanEnabled: i,
|
23112
23126
|
SecurityModalSidebar: c
|
23113
23127
|
}) => {
|
23114
|
-
const [l, d] = O(!1), [u, m] = O(
|
23128
|
+
const [l, d] = O(!1), [u, m] = O(Hn.Changes), [p, _] = O(null), h = () => {
|
23115
23129
|
d(!l);
|
23116
|
-
}, x = () => l ? u ===
|
23130
|
+
}, x = () => l ? u === Hn.Changes ? r : /* @__PURE__ */ t.jsx(
|
23117
23131
|
Hy,
|
23118
23132
|
{
|
23119
23133
|
isScanned: o,
|
@@ -23131,7 +23145,7 @@ const $O = (e) => [
|
|
23131
23145
|
/* @__PURE__ */ t.jsx(
|
23132
23146
|
Pd,
|
23133
23147
|
{
|
23134
|
-
currentTab:
|
23148
|
+
currentTab: Hn.Changes,
|
23135
23149
|
activeTab: u,
|
23136
23150
|
setActiveTab: m,
|
23137
23151
|
buttonText: "Changes"
|
@@ -23140,7 +23154,7 @@ const $O = (e) => [
|
|
23140
23154
|
/* @__PURE__ */ t.jsx(
|
23141
23155
|
Pd,
|
23142
23156
|
{
|
23143
|
-
currentTab:
|
23157
|
+
currentTab: Hn.Security,
|
23144
23158
|
activeTab: u,
|
23145
23159
|
setActiveTab: m,
|
23146
23160
|
buttonText: `Security ${p ? `(${p})` : ""}`
|
@@ -23466,7 +23480,7 @@ const sL = (e) => {
|
|
23466
23480
|
{
|
23467
23481
|
dataTestId: "copy-button",
|
23468
23482
|
text: "Copy link",
|
23469
|
-
startIcon: s ? /* @__PURE__ */ t.jsx(
|
23483
|
+
startIcon: s ? /* @__PURE__ */ t.jsx(ha, {}) : /* @__PURE__ */ t.jsx(Uu, {}),
|
23470
23484
|
style: me.neutral,
|
23471
23485
|
variant: q.borderLess,
|
23472
23486
|
onClick: r
|
@@ -23474,7 +23488,7 @@ const sL = (e) => {
|
|
23474
23488
|
);
|
23475
23489
|
}, oL = ({ handleClose: e, fingerprint: s }) => {
|
23476
23490
|
const n = Zp(s);
|
23477
|
-
return /* @__PURE__ */ t.jsx(
|
23491
|
+
return /* @__PURE__ */ t.jsx(Sa, { onEscape: e, children: /* @__PURE__ */ t.jsxs("div", { className: "dc__m-auto bg__menu--primary br-12 w-400 border__primary mt-40", children: [
|
23478
23492
|
/* @__PURE__ */ t.jsxs("div", { className: "p-24 flexbox-col dc__gap-20", children: [
|
23479
23493
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col cn-9 lh-1-5 dc__gap-4", children: [
|
23480
23494
|
/* @__PURE__ */ t.jsx("div", { className: "fs-16 fw-6", children: "Get Devtron Enterprise License" }),
|
@@ -23518,7 +23532,7 @@ const sL = (e) => {
|
|
23518
23532
|
const [r, o] = O(!1), [i, c] = O(""), [l, d] = O(!1), [u, m] = O(""), p = () => {
|
23519
23533
|
XN(Zu.GET_LICENSE_CLICKED, !0);
|
23520
23534
|
const E = Zp(e);
|
23521
|
-
|
23535
|
+
ia(E)(), o(!0);
|
23522
23536
|
}, _ = () => {
|
23523
23537
|
o(!1);
|
23524
23538
|
}, h = (E) => {
|
@@ -23616,7 +23630,7 @@ const sL = (e) => {
|
|
23616
23630
|
appTheme: c,
|
23617
23631
|
handleCopySuccess: l
|
23618
23632
|
}) => {
|
23619
|
-
const { bgColor: d, textColor: u } = sL(r), m = Nw(i), p = i < 0 ? `Expired ${m} ago` : `${m} remaining`, _ = r !== Ms.EXPIRED, h = c === st.dark, x = $(null), g =
|
23633
|
+
const { bgColor: d, textColor: u } = sL(r), m = Nw(i), p = i < 0 ? `Expired ${m} ago` : `${m} remaining`, _ = r !== Ms.EXPIRED, h = c === st.dark, x = $(null), g = ea(window.innerWidth), E = ea(window.innerHeight), f = ys(E, (R) => {
|
23620
23634
|
if (!x.current) return 0;
|
23621
23635
|
const b = x.current.getBoundingClientRect();
|
23622
23636
|
return -(R - b.top - b.height / 2) / Ud;
|
@@ -23627,7 +23641,7 @@ const sL = (e) => {
|
|
23627
23641
|
});
|
23628
23642
|
P(() => {
|
23629
23643
|
const R = (b) => {
|
23630
|
-
|
23644
|
+
Qn(g, b.clientX), Qn(E, b.clientY);
|
23631
23645
|
};
|
23632
23646
|
return window.addEventListener("mousemove", R), () => {
|
23633
23647
|
window.removeEventListener("mousemove", R);
|
@@ -24555,7 +24569,7 @@ const EL = (e) => e?.length ? e.map(({ id: s, description: n, name: a, pluginVer
|
|
24555
24569
|
)
|
24556
24570
|
] });
|
24557
24571
|
}, LG = ({ isLoading: e, intervalTime: s = 50 }) => {
|
24558
|
-
const n =
|
24572
|
+
const n = ea(0), a = Qf(n, { stiffness: 50, damping: 20 }), r = ys(a, (o) => `${o}%`);
|
24559
24573
|
return P(() => {
|
24560
24574
|
let o = null;
|
24561
24575
|
return e && (o = setInterval(() => {
|
@@ -25535,7 +25549,7 @@ const FL = ({
|
|
25535
25549
|
ge.reduce((ie, le) => (ie[le.id] = le, ie), {})
|
25536
25550
|
);
|
25537
25551
|
}, [ge]);
|
25538
|
-
const fe = o ?? fs, se = () => G && !Z && !h ? /* @__PURE__ */ t.jsx(
|
25552
|
+
const fe = o ?? fs, se = () => G && !Z && !h ? /* @__PURE__ */ t.jsx(Pn, { code: G.code, reload: re }) : !Z && !Ee?.length && !h ? e !== wr.NONE && D ? /* @__PURE__ */ t.jsx(gc, { handleClearFilters: T ?? M }) : /* @__PURE__ */ t.jsx(Xe, { ...c.noRowsConfig }) : /* @__PURE__ */ t.jsx(Xi, { shouldHookOntoWindow: !1, shortcutTimeout: 50, children: /* @__PURE__ */ t.jsx(
|
25539
25553
|
WL,
|
25540
25554
|
{
|
25541
25555
|
filteredRows: Ee,
|
@@ -25738,7 +25752,7 @@ const FL = ({
|
|
25738
25752
|
"data-index": _.id,
|
25739
25753
|
type: "button",
|
25740
25754
|
disabled: x,
|
25741
|
-
children: /* @__PURE__ */ t.jsx(
|
25755
|
+
children: /* @__PURE__ */ t.jsx(zn, { className: `icon-dim-20 ${h ? "scn-0" : ""}` })
|
25742
25756
|
}
|
25743
25757
|
) });
|
25744
25758
|
}, u = () => {
|
@@ -25816,8 +25830,8 @@ const FL = ({
|
|
25816
25830
|
className: "w-8 h-20 bcn-9 ml-2 dc__inline-block br-2"
|
25817
25831
|
}
|
25818
25832
|
), $G = (e) => {
|
25819
|
-
const s =
|
25820
|
-
return P(() =>
|
25833
|
+
const s = ea(0), n = ys(s, (a) => e.slice(0, Math.floor(a)));
|
25834
|
+
return P(() => Qn(s, e.length, {
|
25821
25835
|
type: "tween",
|
25822
25836
|
duration: 4,
|
25823
25837
|
ease: "linear"
|
@@ -26159,7 +26173,7 @@ const FL = ({
|
|
26159
26173
|
)) })
|
26160
26174
|
] });
|
26161
26175
|
return /* @__PURE__ */ t.jsx(
|
26162
|
-
|
26176
|
+
ua,
|
26163
26177
|
{
|
26164
26178
|
name: "workflow-options-modal",
|
26165
26179
|
open: e,
|
@@ -26167,7 +26181,7 @@ const FL = ({
|
|
26167
26181
|
onEscape: _ ? ve : C,
|
26168
26182
|
width: 800,
|
26169
26183
|
closeOnBackdropClick: !0,
|
26170
|
-
children: /* @__PURE__ */ t.jsx(
|
26184
|
+
children: /* @__PURE__ */ t.jsx(ua.Body, { children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col h-500", children: [
|
26171
26185
|
/* @__PURE__ */ t.jsxs("div", { className: "workflow-options-modal__header flex top dc__content-space dc__no-shrink p-24 dc__position-rel dc__overflow-hidden", children: [
|
26172
26186
|
/* @__PURE__ */ t.jsx(dg, { className: "workflow-options-modal__img dc__position-abs dc__right-0" }),
|
26173
26187
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
@@ -26273,7 +26287,7 @@ function pw(e) {
|
|
26273
26287
|
const i_ = () => {
|
26274
26288
|
window.location.reload();
|
26275
26289
|
}, _w = () => {
|
26276
|
-
window.open(
|
26290
|
+
window.open(Ca);
|
26277
26291
|
};
|
26278
26292
|
function Pr(e, s) {
|
26279
26293
|
const n = Ue.useRef(!0);
|
@@ -26289,7 +26303,7 @@ function WG(e) {
|
|
26289
26303
|
"$1"
|
26290
26304
|
) || null;
|
26291
26305
|
}
|
26292
|
-
function
|
26306
|
+
function ma(e, s = !1) {
|
26293
26307
|
let n = "";
|
26294
26308
|
try {
|
26295
26309
|
if (e && e.length && e !== Rn) {
|
@@ -26428,7 +26442,7 @@ function wt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
|
|
26428
26442
|
};
|
26429
26443
|
return [r.loading, r.result, r.error, l, d, r.dependencies];
|
26430
26444
|
}
|
26431
|
-
const JG = (e, s) => e ?
|
26445
|
+
const JG = (e, s) => e ? ma(e, !0) : s ? "" : "Not deployed", He = (e, s = {}) => {
|
26432
26446
|
const n = new URLSearchParams();
|
26433
26447
|
Object.keys(s).forEach((r) => {
|
26434
26448
|
Ku.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
|
@@ -26534,7 +26548,7 @@ const JG = (e, s) => e ? da(e, !0) : s ? "" : "Not deployed", He = (e, s = {}) =
|
|
26534
26548
|
const n = Array.isArray(e), a = Array.isArray(s);
|
26535
26549
|
return n && !a || !n && a ? !1 : !n && !a ? Object.keys(e).length === Object.keys(s).length : e.length === s.length;
|
26536
26550
|
};
|
26537
|
-
function
|
26551
|
+
function Xn(e, s) {
|
26538
26552
|
return Bu(e, s);
|
26539
26553
|
}
|
26540
26554
|
function gw(e, s) {
|
@@ -26645,7 +26659,7 @@ const uH = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, mH = (e, s = 300) => {
|
|
26645
26659
|
const r = Date.now();
|
26646
26660
|
r - n >= s && (n = r, e(...a));
|
26647
26661
|
};
|
26648
|
-
}, Cw = (e, s, n) => e === ts.WEBHOOK ? n ===
|
26662
|
+
}, Cw = (e, s, n) => e === ts.WEBHOOK ? n === ra.PULL_REQUEST ? /* @__PURE__ */ t.jsx(ki, { className: "scn-6" }) : n === ra.TAG_CREATION ? /* @__PURE__ */ t.jsx(Br, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(Hu, {}) : e === ts.BranchRegex || s ? /* @__PURE__ */ t.jsx(Ru, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(gu, { className: "fcn-6" }), p_ = (e) => Qs.sanitize(e, {
|
26649
26663
|
ADD_TAGS: ["iframe"],
|
26650
26664
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
26651
26665
|
}), pH = (e, s) => {
|
@@ -27125,7 +27139,7 @@ function Dw(e, {
|
|
27125
27139
|
}) {
|
27126
27140
|
let a;
|
27127
27141
|
return s ? a = `${ti.CI_PIPELINE_PATCH}/regex` : a = n ? zr({
|
27128
|
-
type:
|
27142
|
+
type: Na.CI_PIPELINE,
|
27129
27143
|
queryParams: {
|
27130
27144
|
id: e.appId
|
27131
27145
|
}
|
@@ -27133,7 +27147,7 @@ function Dw(e, {
|
|
27133
27147
|
}
|
27134
27148
|
function Pw(e, s, n) {
|
27135
27149
|
const a = n ? zr({
|
27136
|
-
type:
|
27150
|
+
type: Na.WORKFLOW,
|
27137
27151
|
queryParams: { id: e, appWorkflowId: s }
|
27138
27152
|
}) : `${ti.WORKFLOW}/${e}/${s}`;
|
27139
27153
|
return mo(a);
|
@@ -27325,7 +27339,7 @@ const qt = {
|
|
27325
27339
|
"unordered-list": "Add a bulleted list",
|
27326
27340
|
"ordered-list": "Add a numbered list",
|
27327
27341
|
"checked-list": "Add a task list"
|
27328
|
-
},
|
27342
|
+
}, Gn = new Ys.Renderer(), nu = ({
|
27329
27343
|
setExpandableIcon: e,
|
27330
27344
|
markdown: s,
|
27331
27345
|
className: n,
|
@@ -27345,10 +27359,10 @@ const qt = {
|
|
27345
27359
|
${m.map((p) => `<td align="${p.align}">${Ys(p.text)}</td>`).join("")}
|
27346
27360
|
</tr>
|
27347
27361
|
`;
|
27348
|
-
|
27362
|
+
Gn.listitem = ({ text: m, task: p, checked: _ }) => p ? `<li style="list-style: none">
|
27349
27363
|
<input disabled type="checkbox" ${_ ? "checked" : ""} class="dc__vertical-align-middle" style="margin: 0 0.2em 0.25em -1.4em">
|
27350
27364
|
${Ys(m)}
|
27351
|
-
</li>` : `<li>${Ys(m)}</li>`,
|
27365
|
+
</li>` : `<li>${Ys(m)}</li>`, Gn.image = ({ href: m, title: p, text: _ }) => `<img src="${m}" alt="${_}" title="${p}" class="max-w-100">`, Gn.table = ({ header: m, rows: p }) => `
|
27352
27366
|
<div class="table-container">
|
27353
27367
|
<table>
|
27354
27368
|
<thead>
|
@@ -27359,7 +27373,7 @@ const qt = {
|
|
27359
27373
|
</tbody>
|
27360
27374
|
</table>
|
27361
27375
|
</div>
|
27362
|
-
`,
|
27376
|
+
`, Gn.heading = ({ text: m, depth: p }) => {
|
27363
27377
|
const _ = r ? "" : m.toLowerCase().replace(/[^\w]+/g, "-");
|
27364
27378
|
return `
|
27365
27379
|
<a name="${_}" rel="noreferrer noopener" class="anchor" href="#${_}">
|
@@ -27369,7 +27383,7 @@ const qt = {
|
|
27369
27383
|
</h${p}>
|
27370
27384
|
</a>`;
|
27371
27385
|
}, Ys.setOptions({
|
27372
|
-
renderer:
|
27386
|
+
renderer: Gn,
|
27373
27387
|
gfm: !0,
|
27374
27388
|
...a && { breaks: !0 }
|
27375
27389
|
});
|
@@ -27529,7 +27543,7 @@ const Bw = (e) => {
|
|
27529
27543
|
minEditorHeight: i = 300,
|
27530
27544
|
emptyStateConfig: c
|
27531
27545
|
}) => {
|
27532
|
-
const [l, d] = O(!1), [u, m] = O(e ? "previewSaved" : "empty"), [p, _] = O(e), h = !
|
27546
|
+
const [l, d] = O(!1), [u, m] = O(e ? "previewSaved" : "empty"), [p, _] = O(e), h = !Xn(e, p), x = $(null);
|
27533
27547
|
P(() => {
|
27534
27548
|
_(e);
|
27535
27549
|
}, [e]);
|
@@ -27912,7 +27926,7 @@ const h_ = ({
|
|
27912
27926
|
F.id
|
27913
27927
|
)) }),
|
27914
27928
|
A && /* @__PURE__ */ t.jsxs("div", { className: "cn-7 mb-8 flex left", children: [
|
27915
|
-
/* @__PURE__ */ t.jsx(
|
27929
|
+
/* @__PURE__ */ t.jsx(fa, { className: "icon-dim-16 mr-2" }),
|
27916
27930
|
"Tags cannot be edited/removed later"
|
27917
27931
|
] }),
|
27918
27932
|
/* @__PURE__ */ t.jsx("div", { className: "mt-12", children: /* @__PURE__ */ t.jsx(
|
@@ -28015,7 +28029,7 @@ const h_ = ({
|
|
28015
28029
|
className: `br-4 en-2 bw-1 mr-8 bg__primary pt-2 pr-8 pb-2 pl-8 tag-class dc__word-break-all flex ${n ? "icon-hover" : ""} ${h()}`,
|
28016
28030
|
children: [
|
28017
28031
|
u,
|
28018
|
-
l ? /* @__PURE__ */ t.jsx(
|
28032
|
+
l ? /* @__PURE__ */ t.jsx(ga, { className: "icon-dim-12 mr-4" }) : /* @__PURE__ */ t.jsx(
|
28019
28033
|
Ie,
|
28020
28034
|
{
|
28021
28035
|
className: "default-tt",
|
@@ -28109,7 +28123,7 @@ function zw() {
|
|
28109
28123
|
throw new Error("Radio compound components cannot be rendered outside the Toggle component");
|
28110
28124
|
return e;
|
28111
28125
|
}
|
28112
|
-
const
|
28126
|
+
const pa = Ue.memo(
|
28113
28127
|
({ name: e, onChange: s, children: n, className: a = "", initialTab: r, disabled: o = !1 }) => {
|
28114
28128
|
const [i, c] = O(null);
|
28115
28129
|
P(() => {
|
@@ -28168,7 +28182,7 @@ const ua = Ue.memo(
|
|
28168
28182
|
}
|
28169
28183
|
);
|
28170
28184
|
};
|
28171
|
-
|
28185
|
+
pa.Radio = Xw;
|
28172
28186
|
const Jw = (e) => {
|
28173
28187
|
switch (e) {
|
28174
28188
|
case L.large:
|
@@ -28351,7 +28365,7 @@ function wa() {
|
|
28351
28365
|
throw new Error("Select compound components cannot be rendered outside the Toggle component");
|
28352
28366
|
return e;
|
28353
28367
|
}
|
28354
|
-
const
|
28368
|
+
const Mn = ({
|
28355
28369
|
children: e = null,
|
28356
28370
|
onChange: s,
|
28357
28371
|
value: n = null,
|
@@ -28521,19 +28535,19 @@ const Dn = ({
|
|
28521
28535
|
}
|
28522
28536
|
);
|
28523
28537
|
};
|
28524
|
-
|
28525
|
-
|
28526
|
-
|
28527
|
-
|
28528
|
-
|
28529
|
-
|
28538
|
+
Mn.Button = b_;
|
28539
|
+
Mn.OptGroup = N_;
|
28540
|
+
Mn.Option = C_;
|
28541
|
+
Mn.Search = nD;
|
28542
|
+
Mn.All = aD;
|
28543
|
+
Mn.Async = T_;
|
28530
28544
|
export {
|
28531
28545
|
rS as $,
|
28532
28546
|
Q$ as A,
|
28533
28547
|
f_ as B,
|
28534
28548
|
CH as C,
|
28535
28549
|
ww as D,
|
28536
|
-
|
28550
|
+
Pn as E,
|
28537
28551
|
Iw as F,
|
28538
28552
|
IH as G,
|
28539
28553
|
Ts as H,
|
@@ -28563,7 +28577,7 @@ export {
|
|
28563
28577
|
dS as a2,
|
28564
28578
|
lB as a3,
|
28565
28579
|
xr as a4,
|
28566
|
-
|
28580
|
+
Ta as a5,
|
28567
28581
|
mS as a6,
|
28568
28582
|
dB as a7,
|
28569
28583
|
uB as a8,
|
@@ -28584,7 +28598,7 @@ export {
|
|
28584
28598
|
lF as aN,
|
28585
28599
|
$a as aO,
|
28586
28600
|
dF as aP,
|
28587
|
-
|
28601
|
+
aa as aQ,
|
28588
28602
|
Rn as aR,
|
28589
28603
|
Ku as aS,
|
28590
28604
|
Ft as aT,
|
@@ -28603,10 +28617,10 @@ export {
|
|
28603
28617
|
hB as af,
|
28604
28618
|
MN as ag,
|
28605
28619
|
pr as ah,
|
28606
|
-
|
28620
|
+
Ea as ai,
|
28607
28621
|
tF as aj,
|
28608
28622
|
kN as ak,
|
28609
|
-
|
28623
|
+
Ca as al,
|
28610
28624
|
UN as am,
|
28611
28625
|
sF as an,
|
28612
28626
|
$N as ao,
|
@@ -28638,7 +28652,7 @@ export {
|
|
28638
28652
|
_w as bC,
|
28639
28653
|
Pr as bD,
|
28640
28654
|
WG as bE,
|
28641
|
-
|
28655
|
+
ma as bF,
|
28642
28656
|
KG as bG,
|
28643
28657
|
zG as bH,
|
28644
28658
|
qG as bI,
|
@@ -28720,10 +28734,10 @@ export {
|
|
28720
28734
|
lI as cT,
|
28721
28735
|
nc as cU,
|
28722
28736
|
MF as cV,
|
28723
|
-
|
28737
|
+
xa as cW,
|
28724
28738
|
Tt as cX,
|
28725
28739
|
Vs as cY,
|
28726
|
-
|
28740
|
+
Hn as cZ,
|
28727
28741
|
yt as c_,
|
28728
28742
|
Cw as ca,
|
28729
28743
|
p_ as cb,
|
@@ -28751,11 +28765,11 @@ export {
|
|
28751
28765
|
NV as cx,
|
28752
28766
|
bV as cy,
|
28753
28767
|
TV as cz,
|
28754
|
-
|
28768
|
+
Xn as d,
|
28755
28769
|
CB as d$,
|
28756
28770
|
IN as d0,
|
28757
28771
|
AN as d1,
|
28758
|
-
|
28772
|
+
qn as d2,
|
28759
28773
|
RN as d3,
|
28760
28774
|
yN as d4,
|
28761
28775
|
Wo as d5,
|
@@ -28793,7 +28807,7 @@ export {
|
|
28793
28807
|
LN as da,
|
28794
28808
|
fn as db,
|
28795
28809
|
Ls as dc,
|
28796
|
-
|
28810
|
+
na as dd,
|
28797
28811
|
Ko as de,
|
28798
28812
|
wN as df,
|
28799
28813
|
YF as dg,
|
@@ -28814,8 +28828,8 @@ export {
|
|
28814
28828
|
iT as dw,
|
28815
28829
|
zi as dx,
|
28816
28830
|
cT as dy,
|
28817
|
-
|
28818
|
-
|
28831
|
+
Na as dz,
|
28832
|
+
wn as e,
|
28819
28833
|
yv as e$,
|
28820
28834
|
$s as e0,
|
28821
28835
|
qr as e1,
|
@@ -28827,7 +28841,7 @@ export {
|
|
28827
28841
|
rB as e7,
|
28828
28842
|
Tm as e8,
|
28829
28843
|
bT as e9,
|
28830
|
-
|
28844
|
+
oa as eA,
|
28831
28845
|
ai as eB,
|
28832
28846
|
ri as eC,
|
28833
28847
|
At as eD,
|
@@ -28842,7 +28856,7 @@ export {
|
|
28842
28856
|
DB as eM,
|
28843
28857
|
PB as eN,
|
28844
28858
|
MB as eO,
|
28845
|
-
|
28859
|
+
Wn as eP,
|
28846
28860
|
Iv as eQ,
|
28847
28861
|
VB as eR,
|
28848
28862
|
YB as eS,
|
@@ -28864,7 +28878,7 @@ export {
|
|
28864
28878
|
vT as eh,
|
28865
28879
|
IT as ei,
|
28866
28880
|
AT as ej,
|
28867
|
-
|
28881
|
+
ba as ek,
|
28868
28882
|
Sm as el,
|
28869
28883
|
rt as em,
|
28870
28884
|
oB as en,
|
@@ -28897,7 +28911,7 @@ export {
|
|
28897
28911
|
Jy as fC,
|
28898
28912
|
zy as fD,
|
28899
28913
|
Do as fE,
|
28900
|
-
|
28914
|
+
Fn as fF,
|
28901
28915
|
qy as fG,
|
28902
28916
|
Xy as fH,
|
28903
28917
|
Td as fI,
|
@@ -28942,7 +28956,7 @@ export {
|
|
28942
28956
|
VV as fu,
|
28943
28957
|
ft as fv,
|
28944
28958
|
GV as fw,
|
28945
|
-
|
28959
|
+
Sa as fx,
|
28946
28960
|
ln as fy,
|
28947
28961
|
JV as fz,
|
28948
28962
|
gH as g,
|
@@ -28968,9 +28982,9 @@ export {
|
|
28968
28982
|
mA as gI,
|
28969
28983
|
QV as gJ,
|
28970
28984
|
Rr as gK,
|
28971
|
-
|
28985
|
+
Bn as gL,
|
28972
28986
|
ej as gM,
|
28973
|
-
|
28987
|
+
da as gN,
|
28974
28988
|
yr as gO,
|
28975
28989
|
Qy as gP,
|
28976
28990
|
tj as gQ,
|
@@ -28985,7 +28999,7 @@ export {
|
|
28985
28999
|
_c as gZ,
|
28986
29000
|
LR as g_,
|
28987
29001
|
PA as ga,
|
28988
|
-
|
29002
|
+
ca as gb,
|
28989
29003
|
$A as gc,
|
28990
29004
|
RV as gd,
|
28991
29005
|
N0 as ge,
|
@@ -29069,7 +29083,7 @@ export {
|
|
29069
29083
|
jR as hr,
|
29070
29084
|
PR as hs,
|
29071
29085
|
pp as ht,
|
29072
|
-
|
29086
|
+
Kn as hu,
|
29073
29087
|
Ka as hv,
|
29074
29088
|
_p as hw,
|
29075
29089
|
er as hx,
|
@@ -29086,7 +29100,7 @@ export {
|
|
29086
29100
|
rO as i6,
|
29087
29101
|
Wp as i7,
|
29088
29102
|
pG as i8,
|
29089
|
-
|
29103
|
+
ua as i9,
|
29090
29104
|
NG as iA,
|
29091
29105
|
bG as iB,
|
29092
29106
|
iL as iC,
|
@@ -29161,7 +29175,7 @@ export {
|
|
29161
29175
|
wG as jI,
|
29162
29176
|
ZI as jJ,
|
29163
29177
|
so as jK,
|
29164
|
-
|
29178
|
+
Dn as jL,
|
29165
29179
|
tA as jM,
|
29166
29180
|
bt as jN,
|
29167
29181
|
DG as jO,
|
@@ -29327,13 +29341,13 @@ export {
|
|
29327
29341
|
Hm as lr,
|
29328
29342
|
oV as ls,
|
29329
29343
|
Ym as lt,
|
29330
|
-
|
29344
|
+
ia as lu,
|
29331
29345
|
iV as lv,
|
29332
29346
|
Yv as lw,
|
29333
29347
|
Wv as lx,
|
29334
29348
|
oc as ly,
|
29335
29349
|
Wm as lz,
|
29336
|
-
|
29350
|
+
pa as m,
|
29337
29351
|
en as m$,
|
29338
29352
|
OF as m0,
|
29339
29353
|
Yi as m1,
|
@@ -29361,7 +29375,7 @@ export {
|
|
29361
29375
|
qe as mN,
|
29362
29376
|
Hi as mO,
|
29363
29377
|
eb as mP,
|
29364
|
-
|
29378
|
+
ra as mQ,
|
29365
29379
|
Xt as mR,
|
29366
29380
|
tb as mS,
|
29367
29381
|
sb as mT,
|
@@ -29377,7 +29391,7 @@ export {
|
|
29377
29391
|
Jb as mc,
|
29378
29392
|
Zb as md,
|
29379
29393
|
Qb as me,
|
29380
|
-
|
29394
|
+
Yn as mf,
|
29381
29395
|
eT as mg,
|
29382
29396
|
Me as mh,
|
29383
29397
|
Qt as mi,
|
@@ -29424,15 +29438,15 @@ export {
|
|
29424
29438
|
SB as nm,
|
29425
29439
|
vB as nn,
|
29426
29440
|
IB as no,
|
29427
|
-
|
29441
|
+
Ln as np,
|
29428
29442
|
AB as nq,
|
29429
29443
|
RB as nr,
|
29430
29444
|
yB as ns,
|
29431
29445
|
vl as nt,
|
29432
29446
|
jB as nu,
|
29433
29447
|
OB as nv,
|
29434
|
-
|
29435
|
-
|
29448
|
+
la as o,
|
29449
|
+
Mn as p,
|
29436
29450
|
eF as q,
|
29437
29451
|
Et as r,
|
29438
29452
|
Oc as s,
|