@devtron-labs/devtron-fe-common-lib 1.9.8-beta-6 → 1.9.8-beta-8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-CxnwqbVc.js → @code-editor-DP-C8MU8.js} +364 -363
- package/dist/{@common-rjsf-C1oZYHGG.js → @common-rjsf-Bi_gbIQ2.js} +2 -2
- package/dist/{@framer-motion-Cf_DT0EA.js → @framer-motion-DMD7dX-G.js} +1 -1
- package/dist/{@react-dates-w6NVlA2D.js → @react-dates-DxmDHBUI.js} +20 -20
- package/dist/{@react-select-BMhYKusP.js → @react-select-BR4eLpVa.js} +1 -1
- package/dist/{@react-virtualized-sticky-tree-BQj7-dPW.js → @react-virtualized-sticky-tree-Ca-pl6uN.js} +1 -1
- package/dist/{@vendor-BV07y2h1.js → @vendor-DZHtXPTX.js} +8594 -8555
- package/dist/Shared/Components/DevtronLicenseCard/DevtronLicenseCard.d.ts +1 -1
- package/dist/Shared/Components/DevtronLicenseCard/types.d.ts +3 -2
- package/dist/Shared/Components/DevtronLicenseCard/utils.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
@@ -4,9 +4,9 @@ var tc = (e) => {
|
|
4
4
|
};
|
5
5
|
var Fp = (e, s, n) => s in e ? Bp(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
6
|
var ne = (e, s, n) => Fp(e, typeof s != "symbol" ? s + "" : s, n), sc = (e, s, n) => s.has(e) || tc("Cannot " + n);
|
7
|
-
var ks = (e, s, n) => (sc(e, s, "read from private field"), n ? n.call(e) : s.get(e)),
|
8
|
-
import { j as t, i as _e, n as Vp, Q as zr, k as Hp, D as
|
9
|
-
import Te, { useState as j, cloneElement as Wn, useRef as Y, useEffect as k, Component as
|
7
|
+
var ks = (e, s, n) => (sc(e, s, "read from private field"), n ? n.call(e) : s.get(e)), Ta = (e, s, n) => s.has(e) ? tc("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Sa = (e, s, n, a) => (sc(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
|
+
import { j as t, i as _e, n as Vp, Q as zr, k as Hp, D as Ka, d as xd, h as Gp, A as Yp, R as Kp, s as Wp, c as zp, S as nc, a as qp, b as Xp, y as Jp, l as Wa, e as Zp, f as Qp, g as ef, m as tf, o as ac, p as sf, q as rc, r as nf, t as af, u as rf, v as of, T as oc, w as ri, x as cf, z as ic, B as Ed, C as Nd, E as oi, F as lf, V as df, G as uf, H as mf, I as Cd, J as pf, K as ff, L as bd, M as cc, N as _f, O as hf, P as lc, U as gf, W as xf, X as Kn, Y as Ef, Z as dc, _ as Ve, $ as Nf, a0 as Cf, a1 as uc, a2 as bf, a3 as Tf, a4 as qr, a5 as mc, a6 as Sf, a7 as vf, a8 as If, a9 as Af, aa as yf, ab as Rf, ac as jf, ad as Of, ae as Td, af as Lf, ag as pc, ah as fc, ai as wf, aj as Df, ak as Pf, al as Mf, am as kf, an as Uf, ao as $f, ap as Bf, aq as Ff, ar as Vf, as as Sd, at as vd, au as Hf, av as Gf, aw as Yf, ax as Kf, ay as Bs } from "./@vendor-DZHtXPTX.js";
|
9
|
+
import Te, { useState as j, cloneElement as Wn, useRef as Y, useEffect as k, Component as Cr, Children as _c, createElement as ii, useMemo as q, useCallback as qe, createContext as Ut, useContext as hs, Fragment as zs, memo as Nt, useReducer as Wf, createRef as Ss } from "react";
|
10
10
|
import ci, { components as Be } from "react-select";
|
11
11
|
import zf, { ReactComponent as us } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
12
12
|
import { ReactComponent as oa } from "./assets/ic-warning.ecf7ff97.svg";
|
@@ -14,7 +14,7 @@ import { ReactComponent as qf } from "./assets/ic-cpu.8be677ee.svg";
|
|
14
14
|
import { ReactComponent as Xf } from "./assets/ic-memory.c4159f96.svg";
|
15
15
|
import { ReactComponent as li } from "./assets/ic-timer.b62145ec.svg";
|
16
16
|
import { ReactComponent as Jf } from "./assets/ic-spray-can.955302fc.svg";
|
17
|
-
import { ReactComponent as
|
17
|
+
import { ReactComponent as br } from "./assets/ic-tag.1613fc59.svg";
|
18
18
|
import { Link as gs, useLocation as Ps, useHistory as Zs, NavLink as xt, useParams as It, useRouteMatch as Qt, generatePath as Ys, Switch as Id, Route as Vs, Redirect as Zf, Prompt as Qf } from "react-router-dom";
|
19
19
|
import { ReactComponent as e_ } from "./assets/ic-delete-interactive.304dd293.svg";
|
20
20
|
import * as t_ from "yaml";
|
@@ -34,17 +34,17 @@ import { ReactComponent as Rd } from "./assets/ic-vulnerability-not-found.7d75cc
|
|
34
34
|
import { ReactComponent as d_ } from "./assets/ic-shield-warning-outline.e6832dbc.svg";
|
35
35
|
import { ReactComponent as u_ } from "./assets/ic-shield-check.ecde083d.svg";
|
36
36
|
import { ReactComponent as xs } from "./assets/ic-error-exclamation.c224de09.svg";
|
37
|
-
import { ReactComponent as
|
37
|
+
import { ReactComponent as za } from "./assets/ic-caret-down-small.66339dda.svg";
|
38
38
|
import { ReactComponent as mi } from "./assets/ic-caret-left-small.fe00c98d.svg";
|
39
39
|
import { ReactComponent as pi } from "./assets/ic-clock.c21a2d14.svg";
|
40
40
|
import { ReactComponent as To } from "./assets/ic-expand.ab992205.svg";
|
41
41
|
import { ReactComponent as jd } from "./assets/ic-abort.0d2773e9.svg";
|
42
|
-
import { ReactComponent as
|
42
|
+
import { ReactComponent as Tr } from "./assets/ic-pencil.c75a6acc.svg";
|
43
43
|
import { ReactComponent as Od } from "./assets/ic-chat-circle-dots.b5afd171.svg";
|
44
44
|
import { h as Oe } from "./@moment-C_WeV3Af.js";
|
45
|
-
import { m as mt, u as hc, a as In, b as m_, c as gc, A as Ld } from "./@framer-motion-
|
45
|
+
import { m as mt, u as hc, a as In, b as m_, c as gc, A as Ld } from "./@framer-motion-DMD7dX-G.js";
|
46
46
|
import { ReactComponent as p_ } from "./assets/ic-charts.f41e185f.svg";
|
47
|
-
import { ReactComponent as
|
47
|
+
import { ReactComponent as Sr } from "./assets/ic-add.cfaa779b.svg";
|
48
48
|
import { ReactComponent as f_ } from "./assets/ic-k8s-job.f4414c10.svg";
|
49
49
|
import ms from "react-ga4";
|
50
50
|
import { ReactComponent as wd } from "./assets/ic-medium-paintbucket.38ef52c1.svg";
|
@@ -66,7 +66,7 @@ import T_, { ReactComponent as kd } from "./assets/ic-docker.48906f4d.svg";
|
|
66
66
|
import { ReactComponent as zn } from "./assets/ic-calendar.1d9c66d2.svg";
|
67
67
|
import { ReactComponent as So } from "./assets/ic-person.d066bc6d.svg";
|
68
68
|
import { ReactComponent as Ud } from "./assets/ic-branch.8db43d66.svg";
|
69
|
-
import { ReactComponent as
|
69
|
+
import { ReactComponent as qa } from "./assets/ic-search.976327f1.svg";
|
70
70
|
import { ReactComponent as $d } from "./assets/ic-filter.8f403d6f.svg";
|
71
71
|
import { ReactComponent as Bd } from "./assets/ic-filter-applied.9fc48d0f.svg";
|
72
72
|
import { ReactComponent as S_ } from "./assets/ic-visibility-on.7505dd12.svg";
|
@@ -80,7 +80,7 @@ import { ReactComponent as Fd } from "./assets/ic-arrow-out.6aea09d0.svg";
|
|
80
80
|
import { ReactComponent as Vd } from "./assets/ic-arrow-forward.a2b8ab45.svg";
|
81
81
|
import y_, { ReactComponent as Hd } from "./assets/ic-mechanical-operation.3c3f4672.svg";
|
82
82
|
import Gd from "./assets/app-not-deployed.622dc6ba.svg";
|
83
|
-
import { BehaviorSubject as
|
83
|
+
import { BehaviorSubject as vr, noop as va } from "rxjs";
|
84
84
|
import { ReactComponent as R_ } from "./assets/ic-errorInfo.d8d674b8.svg";
|
85
85
|
import { ReactComponent as j_ } from "./assets/ic-fullscreen.b05e5087.svg";
|
86
86
|
import { ReactComponent as O_ } from "./assets/ic-exit-fullscreen.1ae582d1.svg";
|
@@ -90,18 +90,18 @@ import { ReactComponent as w_ } from "./assets/ic-arrow-right.eda141d3.svg";
|
|
90
90
|
import { ReactComponent as D_ } from "./assets/ic-environment.d241eccb.svg";
|
91
91
|
import { ReactComponent as P_ } from "./assets/ic-lines.0a53b80a.svg";
|
92
92
|
import { ReactComponent as M_ } from "./assets/ic-code-commit.161a6b3c.svg";
|
93
|
-
import { ReactComponent as
|
93
|
+
import { ReactComponent as Ir } from "./assets/ic-error.9d61b25b.svg";
|
94
94
|
import { ReactComponent as vo } from "./assets/ic-file-code.ed2812f3.svg";
|
95
95
|
import { ReactComponent as k_ } from "./assets/ic-diff-file-updated.a8293158.svg";
|
96
96
|
import { ReactComponent as U_ } from "./assets/ic-diff-file-added.e111ba14.svg";
|
97
97
|
import { ReactComponent as $_ } from "./assets/ic-diff-file-removed.7863a55f.svg";
|
98
98
|
import { ReactComponent as qn } from "./assets/ic-info-outlined.f4fa3224.svg";
|
99
|
-
import { ReactComponent as
|
99
|
+
import { ReactComponent as Ar } from "./assets/ic-sort-arrow-down.5cf54d08.svg";
|
100
100
|
import { ReactComponent as Kd } from "./assets/ic-arrow-up-down.945ee496.svg";
|
101
|
-
import { ReactComponent as
|
101
|
+
import { ReactComponent as yr } from "./assets/ic-check.27c51fa1.svg";
|
102
102
|
import { ReactComponent as B_ } from "./assets/ic-check-circle-dots.296c8a3b.svg";
|
103
|
-
import { ReactComponent as
|
104
|
-
import { r as Wd, C as F_, a as V_ } from "./@react-dates-
|
103
|
+
import { ReactComponent as Rr } from "./assets/ic-view-variable-toggle.93c3599f.svg";
|
104
|
+
import { r as Wd, C as F_, a as V_ } from "./@react-dates-DxmDHBUI.js";
|
105
105
|
import H_ from "./assets/ic-calender-blank.963e3423.svg";
|
106
106
|
import { ReactComponent as Io } from "./assets/ic-arrow-down.18e5e332.svg";
|
107
107
|
import { ReactComponent as xc } from "./assets/ic-circle.98fce2b0.svg";
|
@@ -158,10 +158,10 @@ import yh from "./assets/ic-source-linked-build.f24ecbed.svg";
|
|
158
158
|
import Rh from "./assets/ic-source-build.7d776b10.svg";
|
159
159
|
import jh from "./assets/ic-source-webhook.ee64a29a.svg";
|
160
160
|
import Oh from "./assets/ic-source-job.a40f06cf.svg";
|
161
|
-
import { A as Lh } from "./@react-virtualized-sticky-tree-
|
161
|
+
import { A as Lh } from "./@react-virtualized-sticky-tree-Ca-pl6uN.js";
|
162
162
|
import wh from "./assets/login-screen-ui.a33a6496.webp";
|
163
163
|
import { ReactComponent as Dh } from "./assets/ic-rotate-devtron.5a8363d8.svg";
|
164
|
-
import { C as Ph } from "./@react-select-
|
164
|
+
import { C as Ph } from "./@react-select-BR4eLpVa.js";
|
165
165
|
import Cc from "react-mde";
|
166
166
|
import { ReactComponent as Mh } from "./assets/ic-header.a91a9800.svg";
|
167
167
|
import { ReactComponent as kh } from "./assets/ic-bold.2140b7c6.svg";
|
@@ -271,7 +271,7 @@ import { ReactComponent as Ix } from "./assets/ic-travclan.29b9f4c3.svg";
|
|
271
271
|
import { ReactComponent as Ax } from "./assets/ic-unknown.89dc351a.svg";
|
272
272
|
import { ReactComponent as yx } from "./assets/ic-user-key.523f6939.svg";
|
273
273
|
import { ReactComponent as Rx } from "./assets/ic-warning.414e37e3.svg";
|
274
|
-
const jx = 6e4,
|
274
|
+
const jx = 6e4, Xa = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", Hs = "https://docs.devtron.ai", tD = "https://devtron.ai/", An = "/v/v0.7", Ei = "https://discord.devtron.ai/", ou = "https://json-schema.org/draft/2020-12/schema", hn = {
|
275
275
|
APP_METRICS: `${Hs}${An}/usage/applications/app-details/app-metrics`,
|
276
276
|
APP_TAGS: `${Hs}${An}/usage/applications/create-application#tags`,
|
277
277
|
APP_OVERVIEW_TAGS: `${Hs}${An}/usage/applications/overview#manage-tags`,
|
@@ -467,14 +467,14 @@ function cD(e) {
|
|
467
467
|
return `${e}th`;
|
468
468
|
}
|
469
469
|
}
|
470
|
-
const
|
470
|
+
const Ia = {
|
471
471
|
AM: "AM",
|
472
472
|
PM: "PM",
|
473
473
|
MIDNIGHT: "midnight",
|
474
474
|
NOON: "noon"
|
475
475
|
}, lD = (e) => {
|
476
476
|
const [s, n] = e.split(":"), a = parseInt(s, 10), r = parseInt(n, 10);
|
477
|
-
return a === 12 && r === 0 ?
|
477
|
+
return a === 12 && r === 0 ? Ia.NOON : a === 0 && r === 0 ? Ia.MIDNIGHT : a >= 12 ? Ia.PM : Ia.AM;
|
478
478
|
};
|
479
479
|
var Xn = /* @__PURE__ */ ((e) => (e.inputChange = "input-change", e.selectOption = "select-option", e.deselectOption = "deselect-option", e.removeValue = "remove-value", e.inputBlur = "input-blur", e))(Xn || {});
|
480
480
|
const bn = "0001-01-01T00:00:00Z", iu = [void 0, null, "", NaN], Vt = {
|
@@ -517,7 +517,7 @@ const yo = {
|
|
517
517
|
medium: 3,
|
518
518
|
low: 4,
|
519
519
|
unknown: 5
|
520
|
-
},
|
520
|
+
}, Ja = window.navigator.userAgent.toUpperCase().includes("MAC");
|
521
521
|
var gt = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e.GIT = "git", e))(gt || {});
|
522
522
|
const mD = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2), uu = Symbol(
|
523
523
|
`The element at this index remains unchanged from the original object.
|
@@ -548,7 +548,7 @@ const kn = {
|
|
548
548
|
Security: "SECURITY",
|
549
549
|
Changes: "CHANGES"
|
550
550
|
};
|
551
|
-
var Ht = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Ht || {}), mu = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(mu || {}), Fx = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Fx || {}), Vx = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Vx || {}), Hn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Hn || {}), Hx = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Hx || {}), Gx = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Gx || {}), Ro = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ro || {}), Yx = /* @__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))(Yx || {}), pu = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(pu || {}), Kx = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Kx || {}), ln = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(ln || {}), Wx = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Wx || {}), Ks = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Ks || {}), Is = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Is || {}), Jn = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Jn || {}), jo = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(jo || {}), zx = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(zx || {}), qx = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(qx || {}), ce = /* @__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))(ce || {}), Oo = /* @__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))(Oo || {}), ze = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(ze || {}), Ni = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ni || {}), an = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(an || {}), Xx = /* @__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))(Xx || {}), Jx = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Jx || {}), fu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(fu || {}), ct = /* @__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.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(ct || {}),
|
551
|
+
var Ht = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(Ht || {}), mu = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(mu || {}), Fx = /* @__PURE__ */ ((e) => (e.configMap = "configuration/config-map", e.configSecret = "configuration/config-secret", e.deploymentTemplate = "configuration/deployment-template", e.deploymentTrigger = "approval/deployment", e))(Fx || {}), Vx = /* @__PURE__ */ ((e) => (e[e.init = 0] = "init", e[e.requested = 1] = "requested", e[e.approved = 2] = "approved", e[e.consumed = 3] = "consumed", e))(Vx || {}), Hn = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Hn || {}), Hx = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Hx || {}), Gx = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(Gx || {}), Ro = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ro || {}), Yx = /* @__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))(Yx || {}), pu = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(pu || {}), Kx = /* @__PURE__ */ ((e) => (e.MANDATORY_TAG = "mandatory-tags", e.MANDATORY_PLUGIN = "mandatory-plugins", e.SECURITY_SCAN = "security-scan", e))(Kx || {}), ln = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(ln || {}), Wx = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Wx || {}), Ks = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(Ks || {}), Is = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Is || {}), Jn = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Jn || {}), jo = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(jo || {}), zx = /* @__PURE__ */ ((e) => (e.MANAGER = "manager", e.ADMIN = "admin", e.TRIGGER = "trigger", e.VIEW = "view", e.UPDATE = "update", e.EDIT = "edit", e.APPROVER = "approver", e))(zx || {}), qx = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(qx || {}), ce = /* @__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))(ce || {}), Oo = /* @__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))(Oo || {}), ze = /* @__PURE__ */ ((e) => (e.GIT = "git", e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.DOCKER = "docker", e.DOCKER_HUB = "docker-hub", e.ACR = "acr", e.QUAY = "quay", e.ECR = "ecr", e.ARTIFACT_REGISTRY = "artifact-registry", e.GCR = "gcr", e.OTHER = "other", e))(ze || {}), Ni = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ni || {}), an = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(an || {}), Xx = /* @__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))(Xx || {}), Jx = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Jx || {}), fu = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(fu || {}), ct = /* @__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.environment = "environment", e.cdPipeline = "cd-pipeline", e.ciPipeline = "ci-pipeline", e.project = "project", e))(ct || {}), jr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(jr || {}), Zx = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e.approval = "approval", e))(Zx || {}), Zn = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Zn || {}), Ft = /* @__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))(Ft || {}), Qx = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Qx || {}), eE = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(eE || {}), ka = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(ka || {}), tE = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(tE || {}), _u = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(_u || {});
|
552
552
|
const pD = [
|
553
553
|
{
|
554
554
|
label: "GUI",
|
@@ -566,8 +566,8 @@ const rE = {
|
|
566
566
|
Auto: "AUTOMATIC",
|
567
567
|
Manual: "MANUAL"
|
568
568
|
};
|
569
|
-
var
|
570
|
-
const
|
569
|
+
var Za = /* @__PURE__ */ ((e) => (e.ALL_ENVIRONMENTS = "All environments", e.ACCESS_ONLY = "Access only", e))(Za || {}), oE = /* @__PURE__ */ ((e) => (e.ABOUT = "about", e.LICENSE = "license", e.UPDATE = "update", e))(oE || {}), iE = /* @__PURE__ */ ((e) => (e.FingerPrintMisMatch = "11001", e.LicenseExpired = "11002", e.TamperedCertificate = "11003", e.NoPublicKey = "11004", e.InstallationModeMismatch = "11005", e.LicKeyMismatch = "11006", e.NoCertFound = "11007", e.LicKeyNotFound = "11008", e))(iE || {}), hu = /* @__PURE__ */ ((e) => (e.LICENSE_STATUS = "X-License-Status", e))(hu || {});
|
570
|
+
const Aa = {
|
571
571
|
PROGRESSING: "Progressing",
|
572
572
|
DEGRADED: "Degraded",
|
573
573
|
FAILED: "Failed"
|
@@ -591,7 +591,7 @@ const ya = {
|
|
591
591
|
SECURITY_TRIVY: "security.trivy",
|
592
592
|
SECURITY_CLAIR: "security.clair"
|
593
593
|
}, lE = "ddd DD MMM YYYY HH:mm:ss", Lo = "API-TOKEN:", Gn = "••••••••";
|
594
|
-
var dE = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(dE || {}), is = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(is || {}),
|
594
|
+
var dE = /* @__PURE__ */ ((e) => (e.add = "add", e.replace = "replace", e.remove = "remove", e))(dE || {}), is = /* @__PURE__ */ ((e) => (e.PRE = "PRE", e.DEPLOY = "DEPLOY", e.POST = "POST", e))(is || {}), Ua = /* @__PURE__ */ ((e) => (e.LAST_SAVED_CONFIG = "LAST_SAVED_CONFIG", e.LATEST_TRIGGER_CONFIG = "LATEST_TRIGGER_CONFIG", e.SPECIFIC_TRIGGER_CONFIG = "SPECIFIC_TRIGGER_CONFIG", e))(Ua || {}), wo = /* @__PURE__ */ ((e) => (e.production = "Production", e.nonProduction = "Non-Production", e))(wo || {}), z = /* @__PURE__ */ ((e) => (e.DEPLOYMENT_INITIATED = "DEPLOYMENT_INITIATED", e.GIT_COMMIT = "GIT_COMMIT", e.GIT_COMMIT_FAILED = "GIT_COMMIT_FAILED", e.ARGOCD_SYNC = "ARGOCD_SYNC", e.ARGOCD_SYNC_FAILED = "ARGOCD_SYNC_FAILED", e.KUBECTL_APPLY = "KUBECTL_APPLY", e.KUBECTL_APPLY_STARTED = "KUBECTL_APPLY_STARTED", e.KUBECTL_APPLY_SYNCED = "KUBECTL_APPLY_SYNCED", e.HEALTHY = "HEALTHY", e.APP_HEALTH = "APP_HEALTH", e.DEPLOYMENT_FAILED = "FAILED", e.FETCH_TIMED_OUT = "TIMED_OUT", e.UNABLE_TO_FETCH_STATUS = "UNABLE_TO_FETCH_STATUS", e.DEGRADED = "DEGRADED", e.DEPLOYMENT_SUPERSEDED = "DEPLOYMENT_SUPERSEDED", e.ABORTED = "ABORTED", e.INPROGRESS = "INPROGRESS", e.HELM_PACKAGE_GENERATED = "HELM_PACKAGE_GENERATED", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO = "HELM_MANIFEST_PUSHED_TO_HELM_REPO", e.HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED = "HELM_MANIFEST_PUSHED_TO_HELM_REPO_FAILED", e))(z || {});
|
595
595
|
const Ke = {
|
596
596
|
DATA_NOT_AVAILABLE: "Data not available",
|
597
597
|
API_TOKEN: {
|
@@ -787,7 +787,7 @@ const Ke = {
|
|
787
787
|
DISPLAY_NAME: "Secret",
|
788
788
|
VALUE: "secret"
|
789
789
|
}
|
790
|
-
},
|
790
|
+
}, ya = {
|
791
791
|
[yt.SECRET.DISPLAY_NAME]: {
|
792
792
|
"": "Kubernetes Secret",
|
793
793
|
KubernetesSecret: "Kubernetes External Secret",
|
@@ -908,8 +908,8 @@ const Mo = {
|
|
908
908
|
}, Ac = "enterprise@devtron.ai", yc = "central-api-connection-config", bE = "inValid", TE = {
|
909
909
|
Control: "Ctrl",
|
910
910
|
Shift: "⇧",
|
911
|
-
Meta:
|
912
|
-
Alt:
|
911
|
+
Meta: Ja ? "⌘" : "Win",
|
912
|
+
Alt: Ja ? "⌥" : "Alt",
|
913
913
|
F: "F",
|
914
914
|
E: "E",
|
915
915
|
R: "R",
|
@@ -1448,8 +1448,8 @@ const Nu = {
|
|
1448
1448
|
title: e,
|
1449
1449
|
...s
|
1450
1450
|
}) => {
|
1451
|
-
const { children: n, selectProps: a, getValue: r } = s, o = r() || [], i = () => a.menuIsOpen ? a.inputValue ? /* @__PURE__ */ t.jsx(
|
1452
|
-
/* @__PURE__ */ t.jsx(
|
1451
|
+
const { children: n, selectProps: a, getValue: r } = s, o = r() || [], i = () => a.menuIsOpen ? a.inputValue ? /* @__PURE__ */ t.jsx(qa, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
1452
|
+
/* @__PURE__ */ t.jsx(qa, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }),
|
1453
1453
|
/* @__PURE__ */ t.jsx("span", { className: "dc__position-abs dc__left-35 cn-5 ml-2", children: a.placeholder })
|
1454
1454
|
] }) : o.length ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
1455
1455
|
/* @__PURE__ */ t.jsx(Bd, { className: "icon-dim-16 dc__no-shrink mr-4 mw-18" }),
|
@@ -1653,7 +1653,7 @@ const Nu = {
|
|
1653
1653
|
}
|
1654
1654
|
);
|
1655
1655
|
};
|
1656
|
-
var FE = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(FE || {}), Un = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Un || {}), VE = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(VE || {}), De = /* @__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))(De || {}), Kt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Kt || {}), ko = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(ko || {}), ot = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(ot || {}), Ls = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Ls || {}),
|
1656
|
+
var FE = /* @__PURE__ */ ((e) => (e.PUBLISHED_ONLY = "PublishedOnly", e.DRAFT_ONLY = "DraftOnly", e.PUBLISHED_WITH_DRAFT = "PublishedWithDraft", e.PREVIOUS_DEPLOYMENTS = "PreviousDeployments", e.DEFAULT_VERSION = "DefaultVersion", e))(FE || {}), Un = /* @__PURE__ */ ((e) => (e[e.Init = 1] = "Init", e[e.Discarded = 2] = "Discarded", e[e.Published = 3] = "Published", e[e.AwaitApproval = 4] = "AwaitApproval", e))(Un || {}), VE = /* @__PURE__ */ ((e) => (e[e.Add = 1] = "Add", e[e.Update = 2] = "Update", e[e.Delete = 3] = "Delete", e))(VE || {}), De = /* @__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))(De || {}), Kt = /* @__PURE__ */ ((e) => (e.ConfigMap = "ConfigMap", e.Secret = "Secret", e.DeploymentTemplate = "Deployment Template", e.PipelineStrategy = "Pipeline Strategy", e))(Kt || {}), ko = /* @__PURE__ */ ((e) => (e[e.DefaultVersions = 1] = "DefaultVersions", e[e.PublishedOnEnvironments = 2] = "PublishedOnEnvironments", e[e.DeployedOnSelfEnvironment = 3] = "DeployedOnSelfEnvironment", e[e.DeployedOnOtherEnvironment = 4] = "DeployedOnOtherEnvironment", e))(ko || {}), ot = /* @__PURE__ */ ((e) => (e.ConfigMap = "configmap", e.Secret = "secrets", e.DeploymentTemplate = "deployment-template", e.Manifest = "manifest", e.PipelineStrategy = "pipeline-strategy", e))(ot || {}), Ls = /* @__PURE__ */ ((e) => (e[e.ConfigMap = 1] = "ConfigMap", e[e.Secret = 2] = "Secret", e))(Ls || {}), Or = /* @__PURE__ */ ((e) => (e.BASE = "", e.INHERITED = "INHERITING", e.OVERRIDDEN = "OVERRIDDEN", e.ENV = "ENV", e.UNPUBLISHED = "UNPUBLISHED", e))(Or || {}), bu = /* @__PURE__ */ ((e) => (e.DATA = "data", e.SAMPLE = "sample", e))(bu || {});
|
1657
1657
|
const Ci = (e) => {
|
1658
1658
|
const s = Y(null), [n, a] = j(!1), r = e.theme === ia.white, o = (N) => {
|
1659
1659
|
N.keyCode === 27 && c(N);
|
@@ -1810,14 +1810,14 @@ const Ci = (e) => {
|
|
1810
1810
|
)
|
1811
1811
|
}
|
1812
1812
|
);
|
1813
|
-
var U = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Gt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Gt || {}), Se = /* @__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))(Se || {}), Tu = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Tu || {}), Rs = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Rs || {}), Su = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Su || {}),
|
1813
|
+
var U = /* @__PURE__ */ ((e) => (e.CPU_LIMIT = "cpu_limit", e.CPU_REQUEST = "cpu_request", e.MEMORY_LIMIT = "memory_limit", e.MEMORY_REQUEST = "memory_request", e.BUILD_TIMEOUT = "timeout", e.NODE_SELECTOR = "node_selector", e.TOLERANCE = "tolerations", e.CONFIG_MAP = "cm", e.SECRET = "cs", e))(U || {}), Gt = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(Gt || {}), Se = /* @__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))(Se || {}), Tu = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.NORMAL = "NORMAL", e.CUSTOM = "CUSTOM", e))(Tu || {}), Rs = /* @__PURE__ */ ((e) => (e.EXISTS = "Exists", e.EQUALS = "Equal", e))(Rs || {}), Su = /* @__PURE__ */ ((e) => (e.NO_EXECUTE = "NoExecute", e.NO_SCHEDULE = "NoSchedule", e.PREFER_NO_SCHEDULE = "PreferNoSchedule", e))(Su || {}), Qa = /* @__PURE__ */ ((e) => (e.KUBERNETES = "kubernetes", e.DOCKER_CONTAINER = "docker-container", e))(Qa || {}), ea = /* @__PURE__ */ ((e) => (e.TARGET_PLATFORM = "target_platform", e))(ea || {}), Uo = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.VALUE = "VALUE", e))(Uo || {}), $o = /* @__PURE__ */ ((e) => (e.KEY = "KEY", e.OPERATOR = "OPERATOR", e.VALUE = "VALUE", e.EFFECT = "EFFECT", e))($o || {}), Ct = /* @__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))(Ct || {}), vu = /* @__PURE__ */ ((e) => (e.ALPHA1 = "alpha1", e))(vu || {});
|
1814
1814
|
const ws = {
|
1815
1815
|
// Will not enforce any decimal specification on input field
|
1816
1816
|
STEP: "any",
|
1817
1817
|
MIN: 0,
|
1818
1818
|
DECIMAL_PLACES: 2,
|
1819
1819
|
MAX_LABEL_VALUE_LENGTH: 63
|
1820
|
-
},
|
1820
|
+
}, Lr = "global", Ze = {
|
1821
1821
|
HEADING: "Build Infra Configuration",
|
1822
1822
|
EDIT_SUBMIT: "Save changes",
|
1823
1823
|
SAVE_SUBMIT: "Save",
|
@@ -1827,7 +1827,7 @@ const ws = {
|
|
1827
1827
|
DESCRIPTION_PLACEHOLDER: "Enter a description here",
|
1828
1828
|
PROFILE_LABEL: "Profile name",
|
1829
1829
|
PROFILE_PLACEHOLDER: "Enter a name eg. java/node/small/medium/large",
|
1830
|
-
INHERITING_HEADING_DESCRIPTION: `Inheriting from ${
|
1830
|
+
INHERITING_HEADING_DESCRIPTION: `Inheriting from ${Lr}`,
|
1831
1831
|
SUBMIT_BUTTON_TIPPY: {
|
1832
1832
|
INVALID_INPUT: "Valid input is required for all mandatory fields.",
|
1833
1833
|
REQUEST_IN_PROGRESS: "Request in progress."
|
@@ -1858,7 +1858,7 @@ const ws = {
|
|
1858
1858
|
[Se.MEMORY]: Xf,
|
1859
1859
|
[Se.BUILD_TIMEOUT]: li,
|
1860
1860
|
[Se.NODE_SELECTOR]: Jf,
|
1861
|
-
[Se.TOLERANCE]:
|
1861
|
+
[Se.TOLERANCE]: br,
|
1862
1862
|
[Se.CONFIG_MAP]: null,
|
1863
1863
|
[Se.SECRET]: null
|
1864
1864
|
}, DD = {
|
@@ -2071,7 +2071,7 @@ const HD = (e) => {
|
|
2071
2071
|
case Zn.PULL_REQUEST:
|
2072
2072
|
return /* @__PURE__ */ t.jsx(_i, { className: "icon-dim-12" });
|
2073
2073
|
case Zn.TAG_CREATION:
|
2074
|
-
return /* @__PURE__ */ t.jsx(
|
2074
|
+
return /* @__PURE__ */ t.jsx(br, { className: "icon-dim-12" });
|
2075
2075
|
default:
|
2076
2076
|
return /* @__PURE__ */ t.jsx(su, { className: "icon-dim-12" });
|
2077
2077
|
}
|
@@ -2167,7 +2167,7 @@ const HD = (e) => {
|
|
2167
2167
|
isCollapsed: !0
|
2168
2168
|
}
|
2169
2169
|
}
|
2170
|
-
}, n =
|
2170
|
+
}, n = xr(e?.statusLastFetchedAt, !0), a = ["PreSync", "Sync", "PostSync", "Skip", "SyncFail"], r = {
|
2171
2171
|
currentPhase: "",
|
2172
2172
|
currentTableData: [{ icon: "success", message: "Started by Argo CD" }]
|
2173
2173
|
};
|
@@ -2241,14 +2241,14 @@ const sN = (e, s = !1) => s ? btoa(e) : atob(e), Fo = (e, s = !1) => Object.keys
|
|
2241
2241
|
return `${a}m ${n % 60}s`;
|
2242
2242
|
const o = a - r * 60, i = n - a * 60;
|
2243
2243
|
return `${r}h ${o}m ${i}s`;
|
2244
|
-
}, aN = (e) => e?.get("content-disposition")?.split(";")?.find((s) => s.includes("filename="))?.replace("filename=", "").trim(),
|
2244
|
+
}, aN = (e) => e?.get("content-disposition")?.split(";")?.find((s) => s.includes("filename="))?.replace("filename=", "").trim(), $a = (e) => (e ?? []).map(({ hasApproved: s, identifier: n, canApprove: a }) => ({
|
2245
2245
|
canApprove: a ?? !1,
|
2246
2246
|
hasApproved: s ?? !1,
|
2247
2247
|
identifier: n
|
2248
2248
|
})), to = (e) => ({
|
2249
2249
|
currentCount: e?.currentCount ?? 0,
|
2250
2250
|
requiredCount: e?.requiredCount ?? 0,
|
2251
|
-
approverList:
|
2251
|
+
approverList: $a(e?.approverList)
|
2252
2252
|
}), Ru = (e) => ({
|
2253
2253
|
kind: e?.kind ?? null,
|
2254
2254
|
requiredCount: e?.requiredCount ?? 0,
|
@@ -2314,7 +2314,7 @@ const sN = (e, s = !1) => s ? btoa(e) : atob(e), Fo = (e, s = !1) => Object.keys
|
|
2314
2314
|
}, {}), Ou = (e, s) => {
|
2315
2315
|
const n = Ti(s), r = e === Wt.WEBHOOK || n?.webhookdata?.id !== 0 ? n.webhookdata : {}, o = Oe(r.data.date, "YYYY-MM-DDTHH:mm:ssZ");
|
2316
2316
|
return o.isValid() ? o.format(vt.TWELVE_HOURS_FORMAT) : r.data.date;
|
2317
|
-
}, Xs = (e) => Vp(e), qD = (e, s = "") => ({ pathname: n }) => e === n || s || NE,
|
2317
|
+
}, Xs = (e) => Vp(e), qD = (e, s = "") => ({ pathname: n }) => e === n || s || NE, wr = (e) => {
|
2318
2318
|
if (!e?.length)
|
2319
2319
|
return [];
|
2320
2320
|
const s = e.filter(({ name: r }) => !!r).sort(({ name: r }, { name: o }) => rt(r, o)), n = [], a = {};
|
@@ -2333,7 +2333,7 @@ const sN = (e, s = !1) => s ? btoa(e) : atob(e), Fo = (e, s = !1) => Object.keys
|
|
2333
2333
|
}, dN = (e = {}) => {
|
2334
2334
|
const { top: s, right: n, bottom: a, left: r } = Si(e);
|
2335
2335
|
return `${s ? "" : "dc__no-border-top-imp"} ${n ? "" : "dc__no-border-right-imp"} ${a ? "" : "dc__no-border-bottom-imp"} ${r ? "" : "dc__no-border-left-imp"}`;
|
2336
|
-
},
|
2336
|
+
}, Dr = ({
|
2337
2337
|
borderConfig: e,
|
2338
2338
|
borderRadiusConfig: s
|
2339
2339
|
}) => {
|
@@ -2639,7 +2639,7 @@ const kc = {
|
|
2639
2639
|
}, gn = (e, s, n = { label: "", value: "" }, a = null) => Array.isArray(e) ? e.flatMap(
|
2640
2640
|
(o) => "options" in o ? o.options : [o]
|
2641
2641
|
).find((o) => (a ? a(o) : o.value) === s) ?? n : n;
|
2642
|
-
class Ms extends
|
2642
|
+
class Ms extends Cr {
|
2643
2643
|
render() {
|
2644
2644
|
const s = `${this.props.rootClassName ? this.props.rootClassName : ""}`;
|
2645
2645
|
return /* @__PURE__ */ t.jsxs("label", { className: `dc__position-rel flex left cursor ${s}`, onClick: this.props?.onClick, children: [
|
@@ -2995,8 +2995,8 @@ const gN = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
2995
2995
|
} = se, {
|
2996
2996
|
isGroupHeadingSelectable: ut = !1,
|
2997
2997
|
getIsOptionValid: $t = () => !0,
|
2998
|
-
customDisplayText:
|
2999
|
-
} = E, vn = ve && !
|
2998
|
+
customDisplayText: ba = null
|
2999
|
+
} = E, vn = ve && !ba, K = g && vn ? P.large : i, Ie = !g && o, fe = !N && C, Ye = q(
|
3000
3000
|
() => _N({
|
3001
3001
|
error: e,
|
3002
3002
|
size: K,
|
@@ -3081,7 +3081,7 @@ const gN = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
3081
3081
|
helperText: n
|
3082
3082
|
}),
|
3083
3083
|
classNames: {
|
3084
|
-
control: () =>
|
3084
|
+
control: () => Dr({ borderConfig: ee, borderRadiusConfig: de })
|
3085
3085
|
},
|
3086
3086
|
name: h || B,
|
3087
3087
|
classNamePrefix: _ || B,
|
@@ -3127,7 +3127,7 @@ const gN = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
3127
3127
|
showSelectedOptionIcon: Ie,
|
3128
3128
|
onKeyDown: Mp,
|
3129
3129
|
shouldRenderTextArea: w,
|
3130
|
-
customDisplayText:
|
3130
|
+
customDisplayText: ba,
|
3131
3131
|
...w ? {} : { onFocus: kp },
|
3132
3132
|
onBlur: Up,
|
3133
3133
|
onChange: $p,
|
@@ -3215,7 +3215,7 @@ ${d.slice(C)}`;
|
|
3215
3215
|
}
|
3216
3216
|
);
|
3217
3217
|
};
|
3218
|
-
var
|
3218
|
+
var er = /* @__PURE__ */ ((e) => (e.GLOBAL = "GLOBAL", e.FROM_PREVIOUS_STEP = "FROM_PREVIOUS_STEP", e.NEW = "NEW", e))(er || {}), LN = /* @__PURE__ */ ((e) => (e.INLINE = "INLINE", e.PLUGIN_REF = "REF_PLUGIN", e))(LN || {}), wN = /* @__PURE__ */ ((e) => (e.SHELL = "SHELL", e.DOCKERFILE = "DOCKERFILE", e.CONTAINERIMAGE = "CONTAINER_IMAGE", e))(wN || {}), DN = /* @__PURE__ */ ((e) => (e.TRUE = "Yes", e.FALSE = "No", e))(DN || {}), PN = /* @__PURE__ */ ((e) => (e.SKIP = "SKIP", e.TRIGGER = "TRIGGER", e.PASS = "PASS", e.FAIL = "FAIL", e))(PN || {}), MN = /* @__PURE__ */ ((e) => (e.PRE_CI = "PRE_CI", e.POST_CI = "POST_CI", e))(MN || {}), kN = /* @__PURE__ */ ((e) => (e.KB = "KB", e.MB = "MB", e))(kN || {}), Pu = /* @__PURE__ */ ((e) => (e.STRING = "STRING", e.NUMBER = "NUMBER", e.BOOL = "BOOL", e.DATE = "DATE", e.FILE = "FILE", e))(Pu || {}), UN = /* @__PURE__ */ ((e) => (e.SELF_DOCKERFILE_BUILD_TYPE = "self-dockerfile-build", e.MANAGED_DOCKERFILE_BUILD_TYPE = "managed-dockerfile-build", e.BUILDPACK_BUILD_TYPE = "buildpack-build", e))(UN || {}), $N = /* @__PURE__ */ ((e) => (e.INHERIT = "INHERIT", e.OVERRIDE = "OVERRIDE", e))($N || {}), BN = /* @__PURE__ */ ((e) => (e.VARIABLE = "variable", e.FORMAT = "format", e.VALUE = "val", e))(BN || {});
|
3219
3219
|
const Fc = {
|
3220
3220
|
100: "Continue",
|
3221
3221
|
101: "Switching Protocols",
|
@@ -3438,14 +3438,14 @@ class HN {
|
|
3438
3438
|
ne(this, "patch", (s, n, a) => this.fetchInTime({ url: s, type: "PATCH", data: n, options: a }));
|
3439
3439
|
ne(this, "get", (s, n) => this.fetchInTime({ url: s, type: "GET", data: null, options: n }));
|
3440
3440
|
ne(this, "trash", (s, n, a) => this.fetchInTime({ url: s, type: "DELETE", data: n, options: a }));
|
3441
|
-
this.handleLogout = s, this.host = n ||
|
3441
|
+
this.handleLogout = s, this.host = n || Xa, this.timeout = a || jx, this.handleRedirectToLicenseActivation = r || Qe;
|
3442
3442
|
}
|
3443
3443
|
}
|
3444
3444
|
const GN = new HN({
|
3445
3445
|
handleLogout: FN,
|
3446
3446
|
timeout: window?._env_?.GLOBAL_API_TIMEOUT,
|
3447
3447
|
handleRedirectToLicenseActivation: VN
|
3448
|
-
}), { post: ht, put: Ai, patch: ZD, get: me, trash:
|
3448
|
+
}), { post: ht, put: Ai, patch: ZD, get: me, trash: Pr } = GN, YN = () => {
|
3449
3449
|
const e = `${V.PROJECT_LIST_MIN}`;
|
3450
3450
|
return me(e).then((s) => {
|
3451
3451
|
let n = [];
|
@@ -3501,7 +3501,7 @@ const ku = (e) => ({
|
|
3501
3501
|
deployedBy: d.deployedBy,
|
3502
3502
|
wfrId: d.wfrId,
|
3503
3503
|
tab: kn.Changes,
|
3504
|
-
image:
|
3504
|
+
image: tr(d.image),
|
3505
3505
|
showChanges: !1,
|
3506
3506
|
vulnerabilities: [],
|
3507
3507
|
buildTime: d.build_time || "",
|
@@ -3549,16 +3549,16 @@ const ku = (e) => ({
|
|
3549
3549
|
configuredInReleases: d.configuredInReleases ?? [],
|
3550
3550
|
appWorkflowId: d.appWorkflowId ?? null,
|
3551
3551
|
deploymentBlockedState: zN(d.deploymentBlockedState),
|
3552
|
-
targetPlatforms:
|
3552
|
+
targetPlatforms: wr(d.targetPlatforms)
|
3553
3553
|
};
|
3554
3554
|
});
|
3555
3555
|
}, XN = (e) => ({
|
3556
3556
|
eligibleApprovers: {
|
3557
3557
|
anyUsers: {
|
3558
|
-
approverList:
|
3558
|
+
approverList: $a(e?.eligibleApprovers?.anyUsers?.approverList)
|
3559
3559
|
},
|
3560
3560
|
specificUsers: {
|
3561
|
-
approverList:
|
3561
|
+
approverList: $a(
|
3562
3562
|
e?.eligibleApprovers?.specificUsers?.approverList
|
3563
3563
|
)
|
3564
3564
|
},
|
@@ -3566,7 +3566,7 @@ const ku = (e) => ({
|
|
3566
3566
|
({ groupName: s, groupIdentifier: n, approverList: a }) => ({
|
3567
3567
|
groupIdentifier: n,
|
3568
3568
|
groupName: s,
|
3569
|
-
approverList:
|
3569
|
+
approverList: $a(a)
|
3570
3570
|
})
|
3571
3571
|
)
|
3572
3572
|
},
|
@@ -3584,8 +3584,8 @@ const ku = (e) => ({
|
|
3584
3584
|
defaultValue: "",
|
3585
3585
|
format: Pu.STRING,
|
3586
3586
|
isRequired: !1,
|
3587
|
-
valueType:
|
3588
|
-
variableStepScope:
|
3587
|
+
valueType: er.NEW,
|
3588
|
+
variableStepScope: er.GLOBAL,
|
3589
3589
|
stepName: null,
|
3590
3590
|
stepType: null,
|
3591
3591
|
stepVariableId: Math.floor((/* @__PURE__ */ new Date()).valueOf() * Math.random()),
|
@@ -3672,7 +3672,7 @@ const ku = (e) => ({
|
|
3672
3672
|
(c) => ZN(c.result, n, r.offset, r.filter)
|
3673
3673
|
);
|
3674
3674
|
};
|
3675
|
-
function
|
3675
|
+
function tr(e) {
|
3676
3676
|
return e ? e.split(":").pop() : "";
|
3677
3677
|
}
|
3678
3678
|
function la(e, s) {
|
@@ -3739,7 +3739,7 @@ const tC = (e, s) => {
|
|
3739
3739
|
label: i,
|
3740
3740
|
value: i,
|
3741
3741
|
description: c.description || "",
|
3742
|
-
variableType:
|
3742
|
+
variableType: er.GLOBAL
|
3743
3743
|
};
|
3744
3744
|
});
|
3745
3745
|
} catch (a) {
|
@@ -3873,7 +3873,7 @@ const Wc = () => ({
|
|
3873
3873
|
}), zc(n, JSON.stringify(d(l))), N(R);
|
3874
3874
|
}
|
3875
3875
|
};
|
3876
|
-
}, Bu = Ut(null), da = () => hs(Bu),
|
3876
|
+
}, Bu = Ut(null), da = () => hs(Bu), Ra = (e) => {
|
3877
3877
|
if (!e)
|
3878
3878
|
throw new Error("keys undefined");
|
3879
3879
|
const s = e.map((n) => `${n}`.toUpperCase()).sort();
|
@@ -3881,7 +3881,7 @@ const Wc = () => ({
|
|
3881
3881
|
keys: s,
|
3882
3882
|
id: s.join()
|
3883
3883
|
};
|
3884
|
-
},
|
3884
|
+
}, ja = (e) => {
|
3885
3885
|
if (!e || !Array.isArray(e) || !e.every((s) => typeof s == "function"))
|
3886
3886
|
throw new Error("callback stack is undefined");
|
3887
3887
|
}, aC = ["input", "textarea", "select"], rC = 300, Fu = ({
|
@@ -3892,38 +3892,38 @@ const Wc = () => ({
|
|
3892
3892
|
}) => {
|
3893
3893
|
const r = Y(!1), o = Y({}), i = Y(/* @__PURE__ */ new Set()), c = Y(-1), l = e ?? aC, d = qe(
|
3894
3894
|
({ keys: h, callback: _, description: N = "" }) => {
|
3895
|
-
const { keys: C, id: S } =
|
3895
|
+
const { keys: C, id: S } = Ra(h);
|
3896
3896
|
if (typeof _ != "function")
|
3897
3897
|
throw new Error("callback provided is not a function");
|
3898
3898
|
const T = o.current[S] && tu(o.current[S].keys, h) ? o.current[S] : null;
|
3899
3899
|
if (T) {
|
3900
|
-
|
3900
|
+
ja(T.callbackStack), T.callbackStack.push(_);
|
3901
3901
|
return;
|
3902
3902
|
}
|
3903
3903
|
o.current[S] = { keys: C, callbackStack: [_], description: N };
|
3904
3904
|
},
|
3905
3905
|
[]
|
3906
3906
|
), u = qe((h) => {
|
3907
|
-
const { id: _ } =
|
3907
|
+
const { id: _ } = Ra(h);
|
3908
3908
|
if (!o.current[_])
|
3909
3909
|
return;
|
3910
3910
|
const { callbackStack: N } = o.current[_];
|
3911
|
-
|
3911
|
+
ja(N), N.pop(), N.length || delete o.current[_];
|
3912
3912
|
}, []), m = qe((h) => {
|
3913
3913
|
r.current = h;
|
3914
3914
|
}, []), p = qe((h) => {
|
3915
|
-
const { id: _ } =
|
3915
|
+
const { id: _ } = Ra(h);
|
3916
3916
|
if (!o.current[_])
|
3917
3917
|
return;
|
3918
3918
|
const { callbackStack: N } = o.current[_];
|
3919
|
-
|
3919
|
+
ja(N), N[N.length - 1]();
|
3920
3920
|
}, []), f = qe(() => {
|
3921
3921
|
if (!i.current.size)
|
3922
3922
|
return;
|
3923
|
-
const { id: h } =
|
3923
|
+
const { id: h } = Ra(Array.from(i.current.values()));
|
3924
3924
|
if (o.current[h]) {
|
3925
3925
|
const { callbackStack: _ } = o.current[h];
|
3926
|
-
|
3926
|
+
ja(_), _[_.length - 1]();
|
3927
3927
|
}
|
3928
3928
|
i.current.clear(), c.current > -1 && (clearTimeout(c.current), c.current = -1);
|
3929
3929
|
}, []), x = qe((h) => {
|
@@ -3999,7 +3999,7 @@ const Wc = () => ({
|
|
3999
3999
|
},
|
4000
4000
|
offset: d
|
4001
4001
|
};
|
4002
|
-
}, ro = [
|
4002
|
+
}, ro = [Ja ? "Meta" : "Control", "Enter"], oC = ({
|
4003
4003
|
appliedFilterOptions: e,
|
4004
4004
|
handleApplyFilter: s,
|
4005
4005
|
options: n,
|
@@ -4217,7 +4217,7 @@ const Wc = () => ({
|
|
4217
4217
|
e(o);
|
4218
4218
|
};
|
4219
4219
|
return /* @__PURE__ */ t.jsx(
|
4220
|
-
|
4220
|
+
Ca,
|
4221
4221
|
{
|
4222
4222
|
name: "profile-name",
|
4223
4223
|
label: Ze.PROFILE_LABEL,
|
@@ -4639,7 +4639,7 @@ const uP = (e, s = !1) => {
|
|
4639
4639
|
}) => {
|
4640
4640
|
const r = !e, [o, i, c, l] = qt(
|
4641
4641
|
() => TC({
|
4642
|
-
name: e ??
|
4642
|
+
name: e ?? Lr,
|
4643
4643
|
fromCreateView: r,
|
4644
4644
|
canConfigureUseK8sDriver: a
|
4645
4645
|
}),
|
@@ -4760,7 +4760,7 @@ const uP = (e, s = !1) => {
|
|
4760
4760
|
Me.showToast({
|
4761
4761
|
variant: Ne.error,
|
4762
4762
|
description: L
|
4763
|
-
}),
|
4763
|
+
}), Ya(new Error(L));
|
4764
4764
|
return;
|
4765
4765
|
}
|
4766
4766
|
const w = _ === "activate_cm" || _ === "activate_cs";
|
@@ -4791,7 +4791,7 @@ const uP = (e, s = !1) => {
|
|
4791
4791
|
Me.showToast({
|
4792
4792
|
variant: Ne.error,
|
4793
4793
|
description: "Platform does not exist"
|
4794
|
-
}),
|
4794
|
+
}), Ya(new Error("Platform does not exist"));
|
4795
4795
|
return;
|
4796
4796
|
}
|
4797
4797
|
delete C.configurations[T], Object.keys(S).forEach((I) => {
|
@@ -4939,7 +4939,7 @@ const uP = (e, s = !1) => {
|
|
4939
4939
|
useFormProps: Ji({
|
4940
4940
|
configMapSecretData: null,
|
4941
4941
|
componentType: Au[A],
|
4942
|
-
cmSecretStateLabel:
|
4942
|
+
cmSecretStateLabel: Or.BASE,
|
4943
4943
|
isJob: !0,
|
4944
4944
|
fallbackMergeStrategy: null
|
4945
4945
|
}),
|
@@ -4959,7 +4959,7 @@ const uP = (e, s = !1) => {
|
|
4959
4959
|
Me.showToast({
|
4960
4960
|
variant: Ne.error,
|
4961
4961
|
description: "ConfigMap does not exist"
|
4962
|
-
}),
|
4962
|
+
}), Ya(new Error("ConfigMap does not exist"));
|
4963
4963
|
return;
|
4964
4964
|
}
|
4965
4965
|
v[Je[b]].value[O].useFormProps = A, S[Je[b]] || (S[Je[b]] = {}), R ? S[Je[b]][I] = !0 : S[Je[b]][I] && delete S[Je[b]][I], Object.keys(
|
@@ -5088,7 +5088,7 @@ const uP = (e, s = !1) => {
|
|
5088
5088
|
default:
|
5089
5089
|
return null;
|
5090
5090
|
}
|
5091
|
-
}, IC = (e) => e ? e ===
|
5091
|
+
}, IC = (e) => e ? e === Qa.KUBERNETES : qE, AC = ({
|
5092
5092
|
fromCreateView: e,
|
5093
5093
|
profile: s,
|
5094
5094
|
canConfigureUseK8sDriver: n
|
@@ -5229,7 +5229,7 @@ const uP = (e, s = !1) => {
|
|
5229
5229
|
fromCreateView: a,
|
5230
5230
|
canConfigureUseK8sDriver: r
|
5231
5231
|
}) => {
|
5232
|
-
const o = !a && n?.name ===
|
5232
|
+
const o = !a && n?.name === Lr, i = rl(
|
5233
5233
|
s,
|
5234
5234
|
o
|
5235
5235
|
), c = rl(
|
@@ -5277,7 +5277,7 @@ const uP = (e, s = !1) => {
|
|
5277
5277
|
configurations: l
|
5278
5278
|
}
|
5279
5279
|
};
|
5280
|
-
}, LC = (e) => e ?
|
5280
|
+
}, LC = (e) => e ? Qa.KUBERNETES : Qa.DOCKER_CONTAINER, wC = (e, s) => {
|
5281
5281
|
const n = e.configurations || {}, a = Object.entries(n).reduce((o, [i, c]) => {
|
5282
5282
|
const l = Object.values(c).reduce((d, u) => {
|
5283
5283
|
const m = !!ca[u.key], p = m && u.value?.some(
|
@@ -5287,7 +5287,7 @@ const uP = (e, s = !1) => {
|
|
5287
5287
|
const f = RC(u);
|
5288
5288
|
if (!f)
|
5289
5289
|
return d;
|
5290
|
-
const x = m ? f.value?.length > 0 : u.active, E = e.name ===
|
5290
|
+
const x = m ? f.value?.length > 0 : u.active, E = e.name === Lr ? !0 : x, g = {
|
5291
5291
|
...f,
|
5292
5292
|
id: u.id,
|
5293
5293
|
active: E
|
@@ -5701,7 +5701,7 @@ const vP = (e, s, n, a) => ({
|
|
5701
5701
|
var WC = /* @__PURE__ */ ((e) => (e.ALL_CLUSTERS = "all", e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e))(WC || {}), zC = /* @__PURE__ */ ((e) => (e.HEALTHY = "healthy", e.UNHEALTHY = "unhealthy", e.CONNECTION_FAILED = "connection failed", e))(zC || {});
|
5702
5702
|
const AP = (e, s) => ht(V.K8S_RESOURCE_LIST, e, {
|
5703
5703
|
signal: s
|
5704
|
-
}), yP = (e) => ht(V.K8S_RESOURCE_CREATE, e), RP = (e, s) => ht(V.DELETE_RESOURCE, e, { abortControllerRef: s }), jP = (e, s) =>
|
5704
|
+
}), yP = (e) => ht(V.K8S_RESOURCE_CREATE, e), RP = (e, s) => ht(V.DELETE_RESOURCE, e, { abortControllerRef: s }), jP = (e, s) => Pr(V.NODE_CAPACITY, e, { abortControllerRef: s }), OP = (e, s) => Ai(`${V.NODE_CAPACITY}/cordon`, e, { abortControllerRef: s }), LP = (e, s) => Ai(`${V.NODE_CAPACITY}/drain`, e, { abortControllerRef: s }), wP = () => me(V.CLUSTER_LIST_RAW), DP = ({
|
5705
5705
|
optionsData: e,
|
5706
5706
|
setOptionsData: s,
|
5707
5707
|
children: n
|
@@ -5958,7 +5958,7 @@ const ab = (e) => {
|
|
5958
5958
|
isRollbackDeployment: l,
|
5959
5959
|
...d && i
|
5960
5960
|
};
|
5961
|
-
return r && (u.deploymentWithConfig = r ===
|
5961
|
+
return r && (u.deploymentWithConfig = r === Ua.LAST_SAVED_CONFIG ? r : Ua.SPECIFIC_TRIGGER_CONFIG, r !== Ua.LAST_SAVED_CONFIG && (u.wfrIdForDeploymentWithSpecificTrigger = o)), ht(V.CD_TRIGGER_POST, u, { ...ab(), abortControllerRef: c });
|
5962
5962
|
}, YP = async ({
|
5963
5963
|
file: e,
|
5964
5964
|
appId: s,
|
@@ -6059,7 +6059,7 @@ const ab = (e) => {
|
|
6059
6059
|
commitURL: n.url ? la(n.url, r.Commit) : "",
|
6060
6060
|
commit: r.Commit || "",
|
6061
6061
|
author: r.Author || "",
|
6062
|
-
date:
|
6062
|
+
date: xr(r.Date, !1),
|
6063
6063
|
message: r.Message || "",
|
6064
6064
|
changes: r.Changes || [],
|
6065
6065
|
showChanges: o === 0,
|
@@ -6073,7 +6073,7 @@ const ab = (e) => {
|
|
6073
6073
|
ciPipelineId: e?.ciPipelineId,
|
6074
6074
|
materials: s,
|
6075
6075
|
triggeredByEmail: e?.triggeredByEmail || "",
|
6076
|
-
lastDeployedTime:
|
6076
|
+
lastDeployedTime: xr(e.lastDeployedTime, !1),
|
6077
6077
|
environmentName: e?.environmentName || "",
|
6078
6078
|
environmentId: e?.environmentId || 0,
|
6079
6079
|
appId: e?.appId,
|
@@ -6083,7 +6083,7 @@ const ab = (e) => {
|
|
6083
6083
|
imageReleaseTags: e?.imageTaggingData?.imageReleaseTags,
|
6084
6084
|
image: e?.image,
|
6085
6085
|
tagsEditable: e?.imageTaggingData?.tagsEditable,
|
6086
|
-
targetPlatforms:
|
6086
|
+
targetPlatforms: wr(e?.targetPlatforms)
|
6087
6087
|
};
|
6088
6088
|
}, ob = async (e) => {
|
6089
6089
|
try {
|
@@ -6109,7 +6109,7 @@ const ab = (e) => {
|
|
6109
6109
|
isTemplateView: n,
|
6110
6110
|
appId: a
|
6111
6111
|
}) => {
|
6112
|
-
const r = n ?
|
6112
|
+
const r = n ? Mr({
|
6113
6113
|
type: pa.CONFIG_DATA,
|
6114
6114
|
queryParams: {
|
6115
6115
|
id: a,
|
@@ -6136,7 +6136,7 @@ const ls = {
|
|
6136
6136
|
...ft,
|
6137
6137
|
auto: "auto"
|
6138
6138
|
}, qu = "userPreferences", db = ({ baseUrl: e, kind: s, version: n, suffix: a, queryParams: r }) => Xe(`${e}/${s}/${n}${a ? `/${a}` : ""}`, r), XP = ({ kind: e, version: s, queryParams: n, suffix: a }) => Xe(`global/policy/${e}/${s}${a ? `/${a}` : ""}`, n), ub = (e, { isTemplateView: s }) => {
|
6139
|
-
const n = s ?
|
6139
|
+
const n = s ? Mr({
|
6140
6140
|
type: pa.CD_PIPELINE,
|
6141
6141
|
queryParams: {
|
6142
6142
|
id: e.appId
|
@@ -6153,13 +6153,13 @@ const ls = {
|
|
6153
6153
|
return null;
|
6154
6154
|
const n = JSON.parse(s.value);
|
6155
6155
|
return {
|
6156
|
-
pipelineRBACViewSelectedTab: n.viewPermittedEnvOnly ?
|
6156
|
+
pipelineRBACViewSelectedTab: n.viewPermittedEnvOnly ? Za.ACCESS_ONLY : Za.ALL_ENVIRONMENTS,
|
6157
6157
|
themePreference: n.computedAppTheme === "system-dark" || n.computedAppTheme === "system-light" ? ls.auto : n.computedAppTheme
|
6158
6158
|
};
|
6159
6159
|
}, QP = async (e, s = !1) => {
|
6160
6160
|
try {
|
6161
6161
|
const { themePreference: n, appTheme: a } = e, r = {
|
6162
|
-
viewPermittedEnvOnly: e.pipelineRBACViewSelectedTab ===
|
6162
|
+
viewPermittedEnvOnly: e.pipelineRBACViewSelectedTab === Za.ACCESS_ONLY,
|
6163
6163
|
computedAppTheme: n === ls.auto ? `system-${a}` : a
|
6164
6164
|
}, o = {
|
6165
6165
|
key: qu,
|
@@ -6209,7 +6209,7 @@ const mb = {
|
|
6209
6209
|
progressBarBg: "var(--G500)"
|
6210
6210
|
},
|
6211
6211
|
[Ne.error]: {
|
6212
|
-
icon: /* @__PURE__ */ t.jsx(
|
6212
|
+
icon: /* @__PURE__ */ t.jsx(Ir, {}),
|
6213
6213
|
type: "error",
|
6214
6214
|
title: "Error",
|
6215
6215
|
progressBarBg: "var(--R500)"
|
@@ -6287,17 +6287,17 @@ const Gs = class Gs {
|
|
6287
6287
|
ne(this, "isToastActive", zr.isActive);
|
6288
6288
|
}
|
6289
6289
|
static get instance() {
|
6290
|
-
return ks(Gs, pn) ||
|
6290
|
+
return ks(Gs, pn) || Sa(Gs, pn, new Gs()), ks(Gs, pn);
|
6291
6291
|
}
|
6292
6292
|
};
|
6293
6293
|
pn = new WeakMap(), // eslint-disable-next-line no-use-before-define
|
6294
|
-
|
6294
|
+
Ta(Gs, pn);
|
6295
6295
|
let Ho = Gs;
|
6296
|
-
const e1 = () => /* @__PURE__ */ t.jsx(Hp, { ...mb }), Me = Ho.instance,
|
6296
|
+
const e1 = () => /* @__PURE__ */ t.jsx(Hp, { ...mb }), Me = Ho.instance, Mr = ({ type: e, queryParams: { id: s, ...n } }) => Xe(
|
6297
6297
|
`${db({
|
6298
6298
|
baseUrl: V.RESOURCE_TEMPLATE,
|
6299
6299
|
kind: ct.devtronApplication,
|
6300
|
-
version:
|
6300
|
+
version: jr.alpha1
|
6301
6301
|
})}/${e}`,
|
6302
6302
|
{ templateId: s, ...n }
|
6303
6303
|
);
|
@@ -6325,7 +6325,7 @@ const _b = "bulk-selection-pop-up-menu", oo = {
|
|
6325
6325
|
getSelectAllDialogStatus: n
|
6326
6326
|
}) => {
|
6327
6327
|
const [a, r] = j({}), [o, i] = j(s ?? {});
|
6328
|
-
|
6328
|
+
gr(() => {
|
6329
6329
|
s && i(s);
|
6330
6330
|
}, [s]);
|
6331
6331
|
const c = a[yn], l = () => Object.keys(a).length, d = (g, h) => {
|
@@ -6800,17 +6800,17 @@ const _b = "bulk-selection-pop-up-menu", oo = {
|
|
6800
6800
|
s && r && /* @__PURE__ */ t.jsx(Rn, { envStateText: m(), title: r })
|
6801
6801
|
] });
|
6802
6802
|
}, f = o !== Zr.CD;
|
6803
|
-
if (!e && !d && (o !== Zr.CD || !s && !Object.values(
|
6803
|
+
if (!e && !d && (o !== Zr.CD || !s && !Object.values(Aa).includes(n) && !i && !l?.length))
|
6804
6804
|
return null;
|
6805
6805
|
const g = () => o !== Zr.CD ? /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
6806
6806
|
e && /* @__PURE__ */ t.jsx("span", { className: "last-deployed-status", children: "Last Run" }),
|
6807
6807
|
d
|
6808
6808
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
6809
6809
|
p(),
|
6810
|
-
n ===
|
6811
|
-
(n ===
|
6810
|
+
n === Aa.PROGRESSING && /* @__PURE__ */ t.jsx(Rn, { envStateText: As.DEPLOYING, title: a }),
|
6811
|
+
(n === Aa.DEGRADED || n === Aa.FAILED) && /* @__PURE__ */ t.jsx(Rn, { envStateText: As.FAILED, title: a }),
|
6812
6812
|
i && /* @__PURE__ */ t.jsx(
|
6813
|
-
|
6813
|
+
Nr,
|
6814
6814
|
{
|
6815
6815
|
text: "Latest",
|
6816
6816
|
isSoftDeleted: !1,
|
@@ -6825,7 +6825,7 @@ const _b = "bulk-selection-pop-up-menu", oo = {
|
|
6825
6825
|
return /* @__PURE__ */ t.jsxs("div", { className: `bg__primary pb-8 br-4 flex left flex-wrap ${f ? "dc__gap-8" : ""}`, children: [
|
6826
6826
|
g(),
|
6827
6827
|
!!u?.length && /* @__PURE__ */ t.jsx(Zu, { targetPlatforms: u, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
6828
|
-
|
6828
|
+
Nr,
|
6829
6829
|
{
|
6830
6830
|
text: "Multi-arch image",
|
6831
6831
|
startIcon: /* @__PURE__ */ t.jsx(ui, { className: "dc__no-shrink scn-6 icon-dim-16 mr-6" }),
|
@@ -6946,7 +6946,7 @@ const _b = "bulk-selection-pop-up-menu", oo = {
|
|
6946
6946
|
MISCONFIGURATIONS: "misConfigurations",
|
6947
6947
|
EXPOSED_SECRETS: "exposedSecrets"
|
6948
6948
|
};
|
6949
|
-
var
|
6949
|
+
var sr = /* @__PURE__ */ ((e) => (e[e.ASC = 1] = "ASC", e[e.DESC = -1] = "DESC", e))(sr || {}), Q = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e.FAILURES = "fail", e.SUCCESSES = "success", e.EXCEPTIONS = "exceptions", e))(Q || {});
|
6950
6950
|
const yb = {
|
6951
6951
|
[-1]: "Failed",
|
6952
6952
|
0: "Progressing",
|
@@ -6972,7 +6972,7 @@ const yb = {
|
|
6972
6972
|
LICENSE: "License Risks",
|
6973
6973
|
MISCONFIGURATIONS: "Misconfigurations",
|
6974
6974
|
EXPOSED_SECRETS: "Exposed Secrets"
|
6975
|
-
},
|
6975
|
+
}, nr = {
|
6976
6976
|
[Q.CRITICAL]: {
|
6977
6977
|
label: "Critical",
|
6978
6978
|
color: "var(--R700)"
|
@@ -7005,7 +7005,7 @@ const yb = {
|
|
7005
7005
|
label: "Exceptions",
|
7006
7006
|
color: "var(--N300)"
|
7007
7007
|
}
|
7008
|
-
},
|
7008
|
+
}, ar = [
|
7009
7009
|
Q.CRITICAL,
|
7010
7010
|
Q.HIGH,
|
7011
7011
|
Q.MEDIUM,
|
@@ -7014,11 +7014,11 @@ const yb = {
|
|
7014
7014
|
Q.FAILURES,
|
7015
7015
|
Q.EXCEPTIONS,
|
7016
7016
|
Q.SUCCESSES
|
7017
|
-
], fa =
|
7017
|
+
], fa = sr.DESC, Di = {
|
7018
7018
|
image: Mn,
|
7019
7019
|
title: "Scan failed",
|
7020
7020
|
subTitle: "Error: Security scan failed"
|
7021
|
-
},
|
7021
|
+
}, rr = {
|
7022
7022
|
SvgImage: Hd,
|
7023
7023
|
title: "Scan in progress",
|
7024
7024
|
subTitle: "Scan result will be available once complete. Please check again later"
|
@@ -7035,7 +7035,7 @@ const yb = {
|
|
7035
7035
|
isResizable: d
|
7036
7036
|
}) => {
|
7037
7037
|
const u = !!(d && c && l), m = () => o ? e ? /* @__PURE__ */ t.jsx(
|
7038
|
-
|
7038
|
+
Ar,
|
7039
7039
|
{
|
7040
7040
|
className: `icon-dim-12 mw-12 scn-7 dc__no-shrink dc__transition--transform ${n !== Ce.DESC ? "dc__flip-180" : ""}`
|
7041
7041
|
}
|
@@ -7061,7 +7061,7 @@ const yb = {
|
|
7061
7061
|
}
|
7062
7062
|
),
|
7063
7063
|
u && /* @__PURE__ */ t.jsx(
|
7064
|
-
|
7064
|
+
Ka,
|
7065
7065
|
{
|
7066
7066
|
handle: ".sortable-table-header__resize-btn",
|
7067
7067
|
defaultClassNameDragging: "sortable-table-header__resize-btn--dragging",
|
@@ -7146,16 +7146,16 @@ const yb = {
|
|
7146
7146
|
)
|
7147
7147
|
] }), _s = (e) => (
|
7148
7148
|
/* for all the SEVERITY keys in @severities create @Entity */
|
7149
|
-
e &&
|
7149
|
+
e && ar.map(
|
7150
7150
|
(s) => e[s] && {
|
7151
|
-
color:
|
7152
|
-
label:
|
7151
|
+
color: nr[s].color,
|
7152
|
+
label: nr[s].label,
|
7153
7153
|
value: e[s]
|
7154
7154
|
}
|
7155
7155
|
).filter((s) => !!s)
|
7156
7156
|
), _a = (e) => e && Object.keys(e).sort(
|
7157
|
-
(s, n) =>
|
7158
|
-
).map((s) => `${e[s]} ${
|
7157
|
+
(s, n) => ar.indexOf(s) - ar.indexOf(n)
|
7158
|
+
).map((s) => `${e[s]} ${nr[s].label}`).join(", "), ll = (e) => ({
|
7159
7159
|
[Q.UNKNOWN]: 1,
|
7160
7160
|
[Q.LOW]: 2,
|
7161
7161
|
[Q.MEDIUM]: 3,
|
@@ -7173,7 +7173,7 @@ const yb = {
|
|
7173
7173
|
low: (s?.[Q.LOW] || 0) + (n?.[Q.LOW] || 0),
|
7174
7174
|
unknown: (s?.[Q.UNKNOWN] || 0) + (n?.[Q.UNKNOWN] || 0)
|
7175
7175
|
};
|
7176
|
-
}, ki = (e, s) =>
|
7176
|
+
}, ki = (e, s) => ar.reduce((n, a) => n || e[a] - s[a], 0), Ui = (e, s) => ({
|
7177
7177
|
SvgImage: Rd,
|
7178
7178
|
title: "You're secure!",
|
7179
7179
|
children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bg__primary pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(Mi, { scanToolName: e, scanToolUrl: s }) })
|
@@ -7281,14 +7281,14 @@ const yb = {
|
|
7281
7281
|
}, $b = ({ headers: e, rows: s, defaultSortIndex: n, hasExpandableRows: a, headerTopPosition: r }) => {
|
7282
7282
|
const [o, i] = j({
|
7283
7283
|
index: n || 0,
|
7284
|
-
order: e[n]?.defaultSortOrder ||
|
7284
|
+
order: e[n]?.defaultSortOrder || sr.ASC
|
7285
7285
|
}), [c, l] = j(Array(s.length).fill(!1)), d = q(
|
7286
7286
|
() => s.sort((x, E) => {
|
7287
7287
|
const g = x.cells[o.index].cellContent, h = E.cells[o.index].cellContent, _ = e[o.index].compareFunc || Pb;
|
7288
7288
|
return o.order * _(g, h);
|
7289
7289
|
}),
|
7290
7290
|
[s, o]
|
7291
|
-
), u = () => i({ ...o, order: -1 * o.order }), m = (x) => () => i({ index: x, order: e[x]?.defaultSortOrder ||
|
7291
|
+
), u = () => i({ ...o, order: -1 * o.order }), m = (x) => () => i({ index: x, order: e[x]?.defaultSortOrder || sr.ASC }), p = () => l(Array(s.length).fill(!c.every((x) => x))), f = (x) => () => {
|
7292
7292
|
c[x] = !c[x], l([...c]);
|
7293
7293
|
};
|
7294
7294
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
@@ -7783,7 +7783,7 @@ const yb = {
|
|
7783
7783
|
case "Progressing":
|
7784
7784
|
case "Running":
|
7785
7785
|
default:
|
7786
|
-
return
|
7786
|
+
return rr;
|
7787
7787
|
}
|
7788
7788
|
}, Yo = (e) => ({
|
7789
7789
|
titlePrefix: "Image",
|
@@ -7839,7 +7839,7 @@ const yb = {
|
|
7839
7839
|
}, Xb = (e, s, n) => e.list?.every((r) => !!r.target) ? qb(e, s, n) : {
|
7840
7840
|
...Yo(e),
|
7841
7841
|
...$i(e, n)
|
7842
|
-
},
|
7842
|
+
}, or = (e) => {
|
7843
7843
|
switch (e) {
|
7844
7844
|
case "Completed":
|
7845
7845
|
return /* @__PURE__ */ t.jsx(xi, { className: "icon-dim-16 dc__no-shrink" });
|
@@ -7886,7 +7886,7 @@ const yb = {
|
|
7886
7886
|
},
|
7887
7887
|
{
|
7888
7888
|
component: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4", children: [
|
7889
|
-
|
7889
|
+
or(a.status),
|
7890
7890
|
/* @__PURE__ */ t.jsx("span", { children: nm(a.StartedOn, a.status) })
|
7891
7891
|
] }),
|
7892
7892
|
cellContent: a.status
|
@@ -7963,7 +7963,7 @@ const yb = {
|
|
7963
7963
|
},
|
7964
7964
|
{
|
7965
7965
|
component: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4", children: [
|
7966
|
-
|
7966
|
+
or(n.status),
|
7967
7967
|
/* @__PURE__ */ t.jsx("span", { children: nm(n.StartedOn, n.status) })
|
7968
7968
|
] }),
|
7969
7969
|
cellContent: n.status
|
@@ -8007,7 +8007,7 @@ const yb = {
|
|
8007
8007
|
}
|
8008
8008
|
}, nT = (e, s, n) => {
|
8009
8009
|
if (!e[re.IMAGE_SCAN]?.[s]?.list?.length)
|
8010
|
-
return
|
8010
|
+
return rr;
|
8011
8011
|
if (!n)
|
8012
8012
|
return null;
|
8013
8013
|
switch (n.status) {
|
@@ -8018,7 +8018,7 @@ const yb = {
|
|
8018
8018
|
case "Progressing":
|
8019
8019
|
case "Running":
|
8020
8020
|
default:
|
8021
|
-
return
|
8021
|
+
return rr;
|
8022
8022
|
}
|
8023
8023
|
}, aT = (e, s, n) => {
|
8024
8024
|
switch (s) {
|
@@ -8090,7 +8090,7 @@ const yb = {
|
|
8090
8090
|
case "Progressing":
|
8091
8091
|
case "Running":
|
8092
8092
|
default:
|
8093
|
-
return
|
8093
|
+
return rr;
|
8094
8094
|
}
|
8095
8095
|
}, cT = (e, s, n, a, r) => {
|
8096
8096
|
switch (s) {
|
@@ -8315,7 +8315,7 @@ const yb = {
|
|
8315
8315
|
]
|
8316
8316
|
}
|
8317
8317
|
) });
|
8318
|
-
},
|
8318
|
+
}, Ba = {
|
8319
8319
|
[re.IMAGE_SCAN]: {
|
8320
8320
|
label: un.IMAGE_SCAN,
|
8321
8321
|
subCategories: [J.VULNERABILITIES, J.LICENSE]
|
@@ -8339,13 +8339,13 @@ const yb = {
|
|
8339
8339
|
kubernetesManifest: n
|
8340
8340
|
}) => ({
|
8341
8341
|
...e && {
|
8342
|
-
[re.IMAGE_SCAN]:
|
8342
|
+
[re.IMAGE_SCAN]: Ba[re.IMAGE_SCAN]
|
8343
8343
|
},
|
8344
8344
|
...s && {
|
8345
|
-
[re.CODE_SCAN]:
|
8345
|
+
[re.CODE_SCAN]: Ba[re.CODE_SCAN]
|
8346
8346
|
},
|
8347
8347
|
...n && {
|
8348
|
-
[re.KUBERNETES_MANIFEST]:
|
8348
|
+
[re.KUBERNETES_MANIFEST]: Ba[re.KUBERNETES_MANIFEST]
|
8349
8349
|
}
|
8350
8350
|
}), mT = (e) => {
|
8351
8351
|
const { imageScan: s, codeScan: n, kubernetesManifest: a } = e, r = om({
|
@@ -8361,8 +8361,8 @@ const yb = {
|
|
8361
8361
|
}), o.reduce((c, l) => (Object.keys(l).forEach((d) => {
|
8362
8362
|
c[d] ? c[d] += l[d] : c[d] = l[d];
|
8363
8363
|
}), c), {});
|
8364
|
-
}, Ko = (e) => e === "Progressing" || e === "Running",
|
8365
|
-
const s = e.imageScan?.vulnerability?.list ?? [], n = e.imageScan?.license?.list ?? [], a = e.codeScan?.status, r = e.kubernetesManifest?.status, o =
|
8364
|
+
}, Ko = (e) => e === "Progressing" || e === "Running", ir = (e) => e.some((a) => Ko(a.status)) ? "Progressing" : e.some((a) => a.status === "Failed") ? "Failed" : "Completed", d1 = (e) => {
|
8365
|
+
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);
|
8366
8366
|
return o === "Progressing" || i === "Progressing" || Ko(a) || Ko(r) ? "Progressing" : o === "Failed" || i === "Failed" || a === "Failed" || r === "Failed" ? "Failed" : "Completed";
|
8367
8367
|
}, im = ({
|
8368
8368
|
category: e,
|
@@ -8371,7 +8371,7 @@ const yb = {
|
|
8371
8371
|
handleCardClick: a,
|
8372
8372
|
scanFailed: r = !1
|
8373
8373
|
}) => {
|
8374
|
-
const o = rm(n), i = !!o, c = Object.entries(
|
8374
|
+
const o = rm(n), i = !!o, c = Object.entries(nr).map(([f, x]) => ({
|
8375
8375
|
...x,
|
8376
8376
|
value: n[f]
|
8377
8377
|
})).filter((f) => !!f.value), l = () => r ? /* @__PURE__ */ t.jsx(xs, { className: "icon-dim-24 dc__no-shrink" }) : i ? /* @__PURE__ */ t.jsx(d_, { className: "icon-dim-24 scr-5 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(u_, { className: "icon-dim-24 scg-5 dc__no-shrink" }), d = () => {
|
@@ -8404,10 +8404,10 @@ const yb = {
|
|
8404
8404
|
children: [
|
8405
8405
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space", children: [
|
8406
8406
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
8407
|
-
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-1-5 cn-7", children:
|
8407
|
+
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-4 lh-1-5 cn-7", children: Ba[e].label }),
|
8408
8408
|
/* @__PURE__ */ t.jsxs("div", { className: "fs-15 fw-6 lh-1-5 cn-9 flex", children: [
|
8409
8409
|
/* @__PURE__ */ t.jsx("span", { className: "security-card-title", children: u }),
|
8410
|
-
/* @__PURE__ */ t.jsx(
|
8410
|
+
/* @__PURE__ */ t.jsx(za, { className: "icon-dim-20 dc__flip-270 scb-5 arrow-right" })
|
8411
8411
|
] })
|
8412
8412
|
] }),
|
8413
8413
|
l()
|
@@ -8483,7 +8483,7 @@ const yb = {
|
|
8483
8483
|
) }) : /* @__PURE__ */ t.jsx("div", { className: "dc__grid security-cards", children: m[g].subCategories.map((C) => {
|
8484
8484
|
if (!e[g][C])
|
8485
8485
|
return null;
|
8486
|
-
const S = g === re.IMAGE_SCAN &&
|
8486
|
+
const S = g === re.IMAGE_SCAN && ir(e[g][C].list ?? []) === "Failed", T = C === J.MISCONFIGURATIONS ? e[g][C]?.misConfSummary?.status : e[g][C]?.summary?.severities;
|
8487
8487
|
return /* @__PURE__ */ t.jsx(
|
8488
8488
|
im,
|
8489
8489
|
{
|
@@ -8543,7 +8543,7 @@ const yb = {
|
|
8543
8543
|
l(!0);
|
8544
8544
|
}, x = () => {
|
8545
8545
|
l(!1);
|
8546
|
-
}, E = u.result?.imageScan?.vulnerability, g = E?.list || [], h =
|
8546
|
+
}, E = u.result?.imageScan?.vulnerability, g = E?.list || [], h = ir(g) === "Failed";
|
8547
8547
|
return /* @__PURE__ */ t.jsxs("div", { className: "p-12", children: [
|
8548
8548
|
/* @__PURE__ */ t.jsx(
|
8549
8549
|
im,
|
@@ -8834,7 +8834,7 @@ const yb = {
|
|
8834
8834
|
onChange: y,
|
8835
8835
|
onBlur: I,
|
8836
8836
|
onKeyDown: A,
|
8837
|
-
className: `${ns[u]} ${gu[u]} ${
|
8837
|
+
className: `${ns[u]} ${gu[u]} ${Dr({ borderConfig: h, borderRadiusConfig: p })} w-100 dc__overflow-auto textarea`,
|
8838
8838
|
ref: N,
|
8839
8839
|
style: {
|
8840
8840
|
// No max height when user is expanding
|
@@ -8912,7 +8912,7 @@ const yb = {
|
|
8912
8912
|
const { initialText: s = "", emptyState: n, ...a } = e, [r, o] = j(!1);
|
8913
8913
|
return r ? /* @__PURE__ */ t.jsx(hT, { ...a, initialText: s, setIsEditable: o }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox flex-justify dc__gap-10", children: [
|
8914
8914
|
/* @__PURE__ */ t.jsx("div", { className: "fs-13 fw-4 lh-20 cn-9 dc__word-break", children: s || n }),
|
8915
|
-
/* @__PURE__ */ t.jsx(
|
8915
|
+
/* @__PURE__ */ t.jsx(Tr, { className: "icon-dim-16 cursor mw-16", onClick: () => o(!r) })
|
8916
8916
|
] });
|
8917
8917
|
}, cm = Ut(null), xa = () => {
|
8918
8918
|
const e = hs(cm);
|
@@ -8998,7 +8998,7 @@ const yb = {
|
|
8998
8998
|
[o, s, a]
|
8999
8999
|
);
|
9000
9000
|
return /* @__PURE__ */ t.jsx(mm.Provider, { value: m, children: e });
|
9001
|
-
},
|
9001
|
+
}, kr = () => {
|
9002
9002
|
const e = hs(mm);
|
9003
9003
|
if (!e)
|
9004
9004
|
throw new Error("useTheme must be used within ThemeProvider");
|
@@ -9016,7 +9016,7 @@ const yb = {
|
|
9016
9016
|
const { email: n, setEmail: a } = fm();
|
9017
9017
|
return /* @__PURE__ */ t.jsx(e, { ...s, email: n, setEmail: a });
|
9018
9018
|
}, bT = ({ onChange: e }) => {
|
9019
|
-
const { handleThemeSwitcherDialogVisibilityChange: s, themePreference: n } =
|
9019
|
+
const { handleThemeSwitcherDialogVisibilityChange: s, themePreference: n } = kr();
|
9020
9020
|
if (!window._env_.FEATURE_EXPERIMENTAL_THEMING_ENABLE)
|
9021
9021
|
return null;
|
9022
9022
|
const a = () => {
|
@@ -9111,9 +9111,10 @@ const vT = async (e, s) => {
|
|
9111
9111
|
expiryDate: a,
|
9112
9112
|
licenseStatus: r,
|
9113
9113
|
isTrial: o,
|
9114
|
-
ttl: i
|
9114
|
+
ttl: i,
|
9115
|
+
appTheme: c
|
9115
9116
|
}) => {
|
9116
|
-
const { bgColor:
|
9117
|
+
const { bgColor: l, textColor: d } = IT(r), u = Ry(i), m = i < 0 ? `Expired ${u} ago` : `${u} remaining`, p = r !== ds.EXPIRED, f = Y(null), x = hc(window.innerWidth), E = hc(window.innerHeight), g = In(E, (T) => {
|
9117
9118
|
if (!f.current) return 0;
|
9118
9119
|
const v = f.current.getBoundingClientRect();
|
9119
9120
|
return -(T - v.top - v.height / 2) / pl;
|
@@ -9138,11 +9139,11 @@ const vT = async (e, s) => {
|
|
9138
9139
|
transparent,
|
9139
9140
|
rgba(255 255 255 / ${C}) ${N}%,
|
9140
9141
|
transparent)`;
|
9141
|
-
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-8 br-16", style: { backgroundColor:
|
9142
|
+
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-8 br-16", style: { backgroundColor: l }, children: [
|
9142
9143
|
/* @__PURE__ */ t.jsx("div", { style: { perspective: "1000px" }, children: /* @__PURE__ */ t.jsxs(
|
9143
9144
|
mt.div,
|
9144
9145
|
{
|
9145
|
-
className: `license-card shadow__overlay border__secondary flexbox-col br-12 h-200 dc__overflow-hidden bg__tertiary ${NT(
|
9146
|
+
className: `license-card shadow__overlay border__secondary flexbox-col br-12 h-200 dc__overflow-hidden bg__tertiary ${NT(c)}`,
|
9146
9147
|
ref: f,
|
9147
9148
|
style: {
|
9148
9149
|
rotateX: g,
|
@@ -9169,7 +9170,7 @@ const vT = async (e, s) => {
|
|
9169
9170
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-4 flex-wrap", children: [
|
9170
9171
|
/* @__PURE__ */ t.jsx("span", { className: "font-ibm-plex-mono cn-9", children: a }),
|
9171
9172
|
/* @__PURE__ */ t.jsx("span", { className: "cn-9", children: "·" }),
|
9172
|
-
/* @__PURE__ */ t.jsx("span", { style: { color:
|
9173
|
+
/* @__PURE__ */ t.jsx("span", { style: { color: d }, children: m })
|
9173
9174
|
] })
|
9174
9175
|
] })
|
9175
9176
|
] }),
|
@@ -9233,13 +9234,13 @@ const yT = 864e5, Bn = (e) => 1 + (/* @__PURE__ */ new Date()).valueOf() + (e ??
|
|
9233
9234
|
value: "",
|
9234
9235
|
active: !0
|
9235
9236
|
});
|
9236
|
-
},
|
9237
|
+
}, cr = (e, s) => {
|
9237
9238
|
localStorage.setItem(e, `${Bn(s)}`);
|
9238
9239
|
}, hm = (e) => e && (e.licenseStatus !== ds.ACTIVE || e.isTrial);
|
9239
|
-
var
|
9240
|
+
var lr = /* @__PURE__ */ ((e) => (e.OSS_KUBECTL = "oss_kubectl", e.OSS_HELM = "oss_helm", e.ENTERPRISE = "enterprise", e))(lr || {});
|
9240
9241
|
const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className: e, hideGettingStartedCard: s }) => {
|
9241
9242
|
const n = async () => {
|
9242
|
-
|
9243
|
+
cr("clickedOkay", 1), s(), await Wo(yo.TOOLTIP_OKAY);
|
9243
9244
|
}, a = async () => {
|
9244
9245
|
const r = {
|
9245
9246
|
key: du,
|
@@ -9307,7 +9308,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9307
9308
|
setGettingStartedClicked: r,
|
9308
9309
|
showHelpCard: o
|
9309
9310
|
}) => {
|
9310
|
-
const { currentServerInfo: i, handleOpenLicenseInfoDialog: c, licenseData: l } = xa(), d = i?.serverInfo?.installationType ===
|
9311
|
+
const { currentServerInfo: i, handleOpenLicenseInfoDialog: c, licenseData: l } = xa(), d = i?.serverInfo?.installationType === lr.ENTERPRISE, u = `UheGN3KJ#source=${window.location.hostname}`, m = [
|
9311
9312
|
{
|
9312
9313
|
name: "View documentation",
|
9313
9314
|
link: Hs,
|
@@ -9395,7 +9396,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9395
9396
|
),
|
9396
9397
|
_(),
|
9397
9398
|
d && E(),
|
9398
|
-
n?.installationType ===
|
9399
|
+
n?.installationType === lr.OSS_HELM && /* @__PURE__ */ t.jsxs("div", { className: "help-card__update-option fs-11 fw-6 mt-4", children: [
|
9399
9400
|
a ? /* @__PURE__ */ t.jsx("span", { className: "dc__loading-dots", children: "Checking current version" }) : /* @__PURE__ */ t.jsxs("span", { children: [
|
9400
9401
|
"version ",
|
9401
9402
|
n?.currentVersion || ""
|
@@ -9415,7 +9416,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9415
9416
|
if (!a)
|
9416
9417
|
return null;
|
9417
9418
|
const c = () => {
|
9418
|
-
i(!1), typeof Storage < "u" &&
|
9419
|
+
i(!1), typeof Storage < "u" && cr("expiryDateOfHidingAnnouncementBanner", 1);
|
9419
9420
|
}, l = () => /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4", children: [
|
9420
9421
|
/* @__PURE__ */ t.jsx(
|
9421
9422
|
"div",
|
@@ -9529,7 +9530,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9529
9530
|
setShowGettingStartedCard: E,
|
9530
9531
|
setGettingStartedClicked: g,
|
9531
9532
|
licenseData: h
|
9532
|
-
} = xa(), { showSwitchThemeLocationTippy: _, handleShowSwitchThemeLocationTippyChange: N } =
|
9533
|
+
} = xa(), { showSwitchThemeLocationTippy: _, handleShowSwitchThemeLocationTippyChange: N } = kr(), { isTippyCustomized: C, tippyRedirectLink: S, TippyIcon: T, tippyMessage: v, onClickTippyButton: y, additionalContent: I } = m || {}, [A, R] = j(!1), [b, O] = j(!1), { email: w } = fm(), [L, $] = j(
|
9533
9534
|
{
|
9534
9535
|
serverInfo: void 0,
|
9535
9536
|
fetchingServerInfo: !1
|
@@ -9556,9 +9557,9 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9556
9557
|
}, de = () => {
|
9557
9558
|
N(!1);
|
9558
9559
|
}, Ae = () => {
|
9559
|
-
de(), O(!b), A && R(!1),
|
9560
|
+
de(), O(!b), A && R(!1), cr("clickedOkay", 1), ee();
|
9560
9561
|
}, G = async () => {
|
9561
|
-
!window._env_.K8S_CLIENT && L.serverInfo?.installationType !==
|
9562
|
+
!window._env_.K8S_CLIENT && L.serverInfo?.installationType !== lr.ENTERPRISE && await Z(), R(!A), b && O(!1), cr("clickedOkay", 1), ee(), await Wo(yo.HELP), ms.event({
|
9562
9563
|
category: "Main Navigation",
|
9563
9564
|
action: "Help Clicked"
|
9564
9565
|
});
|
@@ -9570,7 +9571,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9570
9571
|
/* @__PURE__ */ t.jsx("span", { className: "icon-dim-24 fcn-9", children: /* @__PURE__ */ t.jsx(En, {}) }),
|
9571
9572
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 cn-9", "data-testid": "go-to-get-started", children: "Help" }),
|
9572
9573
|
/* @__PURE__ */ t.jsx(
|
9573
|
-
|
9574
|
+
za,
|
9574
9575
|
{
|
9575
9576
|
style: { "--rotateBy": `${180 * Number(A)}deg` },
|
9576
9577
|
className: "scn-7 icon-dim-16 rotate pointer"
|
@@ -9603,7 +9604,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9603
9604
|
children: [
|
9604
9605
|
Ey(w, "m-0-imp h-24 w-24-imp"),
|
9605
9606
|
/* @__PURE__ */ t.jsx(
|
9606
|
-
|
9607
|
+
za,
|
9607
9608
|
{
|
9608
9609
|
className: `scn-7 icon-dim-16 ${b ? "dc__flip-180" : ""} dc__transition--transform`
|
9609
9610
|
}
|
@@ -9734,7 +9735,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9734
9735
|
text: "Create",
|
9735
9736
|
onClick: d,
|
9736
9737
|
dataTestId: "create-app-button-on-header",
|
9737
|
-
endIcon: /* @__PURE__ */ t.jsx(
|
9738
|
+
endIcon: /* @__PURE__ */ t.jsx(za, { className: "icon-dim-20" }),
|
9738
9739
|
size: P.small
|
9739
9740
|
}
|
9740
9741
|
) : /* @__PURE__ */ t.jsx(
|
@@ -9759,7 +9760,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9759
9760
|
onClick: m,
|
9760
9761
|
"data-testid": "create-custom-app-button-in-dropdown",
|
9761
9762
|
children: [
|
9762
|
-
/* @__PURE__ */ t.jsx(
|
9763
|
+
/* @__PURE__ */ t.jsx(Sr, { className: "icon-dim-20 fcn-9" }),
|
9763
9764
|
/* @__PURE__ */ t.jsxs("div", { className: "ml-8", children: [
|
9764
9765
|
/* @__PURE__ */ t.jsx("strong", { children: "Custom app" }),
|
9765
9766
|
/* @__PURE__ */ t.jsxs("div", { children: [
|
@@ -9817,7 +9818,7 @@ const RT = (e) => ht(`${V.ATTRIBUTES_USER}/${V.UPDATE}`, e), jT = ({ className:
|
|
9817
9818
|
i && x()
|
9818
9819
|
] });
|
9819
9820
|
};
|
9820
|
-
class Vi extends
|
9821
|
+
class Vi extends Cr {
|
9821
9822
|
constructor(s) {
|
9822
9823
|
super(s), this.clickHandler = this.clickHandler.bind(this);
|
9823
9824
|
}
|
@@ -9975,7 +9976,7 @@ const A1 = ({
|
|
9975
9976
|
)
|
9976
9977
|
] })
|
9977
9978
|
] });
|
9978
|
-
var
|
9979
|
+
var dr = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(dr || {});
|
9979
9980
|
const fl = (e) => {
|
9980
9981
|
switch (e) {
|
9981
9982
|
case en.SMALL:
|
@@ -9985,7 +9986,7 @@ const fl = (e) => {
|
|
9985
9986
|
}
|
9986
9987
|
}, _l = ({
|
9987
9988
|
renderDescriptionContent: e,
|
9988
|
-
closeModalText: s =
|
9989
|
+
closeModalText: s = dr.GOT_IT,
|
9989
9990
|
docLink: n = "",
|
9990
9991
|
closeModal: a,
|
9991
9992
|
imageVariant: r,
|
@@ -10017,7 +10018,7 @@ const fl = (e) => {
|
|
10017
10018
|
target: "_blank",
|
10018
10019
|
rel: "noreferrer",
|
10019
10020
|
children: [
|
10020
|
-
|
10021
|
+
dr.VIEW_DOCUMENTATION,
|
10021
10022
|
/* @__PURE__ */ t.jsx(Md, { className: "icon-dim-16 scb-5" })
|
10022
10023
|
]
|
10023
10024
|
}
|
@@ -10041,7 +10042,7 @@ const fl = (e) => {
|
|
10041
10042
|
}, BT = ({
|
10042
10043
|
title: e,
|
10043
10044
|
renderDescriptionContent: s,
|
10044
|
-
closeModalText: n =
|
10045
|
+
closeModalText: n = dr.GOT_IT,
|
10045
10046
|
docLink: a = "",
|
10046
10047
|
closeModal: r,
|
10047
10048
|
imageVariant: o,
|
@@ -10212,7 +10213,7 @@ const VT = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10212
10213
|
}, L1 = (e) => {
|
10213
10214
|
const { selectOption: s, data: n } = e, a = { height: "16px", width: "16px", flex: "0 0 16px" }, r = (o) => s(n);
|
10214
10215
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex left pl-12", style: { background: e.isFocused ? "var(--N100)" : "transparent" }, children: [
|
10215
|
-
e.isSelected ? /* @__PURE__ */ t.jsx(
|
10216
|
+
e.isSelected ? /* @__PURE__ */ t.jsx(yr, { onClick: r, className: "mr-8 icon-dim-16", style: a }) : /* @__PURE__ */ t.jsx("span", { onClick: r, className: "mr-8", style: a }),
|
10216
10217
|
/* @__PURE__ */ t.jsx(Be.Option, { ...e })
|
10217
10218
|
] });
|
10218
10219
|
}, w1 = (e) => {
|
@@ -10327,14 +10328,14 @@ const VT = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10327
10328
|
UNABLE_TO_FETCH: "unabletofetch",
|
10328
10329
|
TIMED_OUT: qs.TIMED_OUT.toLowerCase(),
|
10329
10330
|
WAITING_TO_START: qs.WAITING_TO_START.toLowerCase()
|
10330
|
-
},
|
10331
|
+
}, Oa = {
|
10331
10332
|
MESSAGE: "message",
|
10332
10333
|
START_OF_STREAM: "START_OF_STREAM",
|
10333
10334
|
END_OF_STREAM: "END_OF_STREAM",
|
10334
10335
|
ERROR: "error"
|
10335
10336
|
}, uo = {
|
10336
10337
|
PENDING: "Pending"
|
10337
|
-
}, qT = "1", $r = 1, XT = "devtron-ci", JT = "devtron-ci",
|
10338
|
+
}, qT = "1", $r = 1, XT = "devtron-ci", JT = "devtron-ci", La = 3, gl = "deployment-status", ZT = ["KIND", "NAME", "SYNC STATUS", "MESSAGE"], xl = "STAGE_INFO", QT = "|", Xo = {
|
10338
10339
|
suspended: "var(--Y500)",
|
10339
10340
|
unknown: "var(--N700)",
|
10340
10341
|
queued: "var(--N700)",
|
@@ -10391,7 +10392,7 @@ const VT = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
10391
10392
|
[ye.STARTING]: "starting",
|
10392
10393
|
[ye.INITIATING]: "initiating",
|
10393
10394
|
[ye.QUEUED]: "queued"
|
10394
|
-
},
|
10395
|
+
}, ur = {
|
10395
10396
|
[Re.ABORTED]: !0,
|
10396
10397
|
[Re.FAILED]: !0,
|
10397
10398
|
[Re.TIMEOUT]: !0
|
@@ -10623,7 +10624,7 @@ const rS = (e, s) => {
|
|
10623
10624
|
}, pS = (e) => {
|
10624
10625
|
switch (e) {
|
10625
10626
|
case mn.SUCCESS:
|
10626
|
-
return /* @__PURE__ */ t.jsx(
|
10627
|
+
return /* @__PURE__ */ t.jsx(yr, { className: "dc__no-shrink icon-dim-16 scg-5" });
|
10627
10628
|
case mn.FAILURE:
|
10628
10629
|
return /* @__PURE__ */ t.jsx(at, { className: "dc__no-shrink icon-dim-16 fcr-5" });
|
10629
10630
|
default:
|
@@ -10654,7 +10655,7 @@ const rS = (e, s) => {
|
|
10654
10655
|
});
|
10655
10656
|
let i = "";
|
10656
10657
|
return s.forEach(({ status: c, endTime: l }, d) => {
|
10657
|
-
(
|
10658
|
+
(ur[c] || d === s.length - 1 && c === Re.SUCCEEDED) && (i = l);
|
10658
10659
|
}), {
|
10659
10660
|
triggeredOn: js(r) ? r : "",
|
10660
10661
|
executionStartedOn: js(a?.startTime) ? a?.startTime : "",
|
@@ -10674,7 +10675,7 @@ const rS = (e, s) => {
|
|
10674
10675
|
return s[e] ? /* @__PURE__ */ t.jsx(Gi, { status: s[e], iconSize: 20, hideMessage: !0, hideIconTooltip: !0 }) : /* @__PURE__ */ t.jsx(Le, { name: "ic-help-outline", size: 20, color: "N500" });
|
10675
10676
|
}, _S = (e) => {
|
10676
10677
|
const s = Yi(e);
|
10677
|
-
return s ? s.finishedOn ? !
|
10678
|
+
return s ? s.finishedOn ? !ur[s.currentStatus] && ur[s.workerDetails.status] ? /* @__PURE__ */ t.jsx(Le, { name: "ic-warning", size: 20, color: null }) : Em(s.workerDetails.status) : /* @__PURE__ */ t.jsx(Le, { name: "ic-in-progress", size: 20, color: null }) : /* @__PURE__ */ t.jsx(Le, { name: "ic-help-outline", size: 20, color: "N500" });
|
10678
10679
|
}, hS = (e = $r, s = XT) => `/resource-browser/${e}/${s}/pod/k8sEmptyGroup`, Nm = (e) => e ? e.toLowerCase() === "cancelled" ? "Aborted" : e === qs.WAITING_TO_START ? "Waiting to start" : e : null, Br = (e) => js(e) ? Oe(e, "YYYY-MM-DDTHH:mm:ssZ").format(vt.TWELVE_HOURS_FORMAT) : "", gS = (e) => (e || []).reduce(
|
10679
10680
|
(s, n) => {
|
10680
10681
|
const a = n.health?.status?.toLowerCase() ?? "";
|
@@ -10946,7 +10947,7 @@ const rS = (e, s) => {
|
|
10946
10947
|
}
|
10947
10948
|
) : null;
|
10948
10949
|
return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
10949
|
-
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children:
|
10950
|
+
/* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center", children: ur[s] ? /* @__PURE__ */ t.jsx(Le, { size: 20, name: "ic-warning", color: null }) : /* @__PURE__ */ t.jsx(P_, { className: "icon-dim-20 dc__no-shrink scn-7" }) }),
|
10950
10951
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col", children: [
|
10951
10952
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8", children: [
|
10952
10953
|
/* @__PURE__ */ t.jsxs("div", { className: `flexbox cn-9 ${l}`, children: [
|
@@ -11364,7 +11365,7 @@ const rS = (e, s) => {
|
|
11364
11365
|
showSuccessfulToast: c = !0,
|
11365
11366
|
downloadSuccessToastContent: l = "Downloaded Successfully"
|
11366
11367
|
}) => {
|
11367
|
-
const d = `${
|
11368
|
+
const d = `${Xa}/${r}`;
|
11368
11369
|
if (e)
|
11369
11370
|
return window.open(d, "_blank"), null;
|
11370
11371
|
n(!0);
|
@@ -11710,8 +11711,8 @@ const rS = (e, s) => {
|
|
11710
11711
|
targetPlatforms: E,
|
11711
11712
|
children: /* @__PURE__ */ t.jsxs("div", { className: "flex column left hover-trigger", children: [
|
11712
11713
|
/* @__PURE__ */ t.jsxs("div", { className: "cn-9 fs-14 flex left", "data-testid": "artifact-text-visibility", children: [
|
11713
|
-
|
11714
|
-
/* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(jt, { content:
|
11714
|
+
tr(s),
|
11715
|
+
/* @__PURE__ */ t.jsx("div", { className: "pl-4", children: /* @__PURE__ */ t.jsx(jt, { content: tr(s) }) })
|
11715
11716
|
] }),
|
11716
11717
|
/* @__PURE__ */ t.jsxs("div", { className: "cn-7 fs-12 flex left", "data-testid": "artifact-image-text", children: [
|
11717
11718
|
s,
|
@@ -11776,10 +11777,10 @@ const kS = (e) => {
|
|
11776
11777
|
return me(s);
|
11777
11778
|
}, US = (e, s) => {
|
11778
11779
|
const n = `${V.CI_CONFIG_GET}/${e.pipelineId}/workflow/${e.workflowId}?forceAbort=${s}`;
|
11779
|
-
return
|
11780
|
+
return Pr(n);
|
11780
11781
|
}, $S = (e, s) => {
|
11781
11782
|
const n = `${V.CD_MATERIAL_GET}/${e}/workflowRunner/${s}`;
|
11782
|
-
return
|
11783
|
+
return Pr(n);
|
11783
11784
|
};
|
11784
11785
|
function BS(e, s, n, a, r, o) {
|
11785
11786
|
let i;
|
@@ -11813,12 +11814,12 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11813
11814
|
if (e.external)
|
11814
11815
|
e.externalType ? r.external = {
|
11815
11816
|
displayName: "Data type",
|
11816
|
-
value:
|
11817
|
+
value: ya[s][e.externalType]
|
11817
11818
|
} : r.external = {
|
11818
11819
|
displayName: "Data type",
|
11819
|
-
value: s === "Secret" ?
|
11820
|
+
value: s === "Secret" ? ya[s].KubernetesSecret : ya[s].KubernetesConfigMap
|
11820
11821
|
};
|
11821
|
-
else if (r.external = { displayName: "Data type", value:
|
11822
|
+
else if (r.external = { displayName: "Data type", value: ya[s][""] }, s === "Secret" && n.codeEditorValue.value) {
|
11822
11823
|
const o = JSON.parse(n.codeEditorValue.value);
|
11823
11824
|
let i = {};
|
11824
11825
|
n.codeEditorValue?.resolvedValue && (i = JSON.parse(n.codeEditorValue.resolvedValue));
|
@@ -11865,7 +11866,7 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11865
11866
|
), r.values = a, r;
|
11866
11867
|
}, G1 = (e, s, n, a) => {
|
11867
11868
|
const r = Xe(
|
11868
|
-
`${V.RESOURCE_HISTORY_DEPLOYMENT}/${V.CONFIG_CD_PIPELINE}/${
|
11869
|
+
`${V.RESOURCE_HISTORY_DEPLOYMENT}/${V.CONFIG_CD_PIPELINE}/${jr.v1}`,
|
11869
11870
|
{
|
11870
11871
|
baseConfigurationId: n,
|
11871
11872
|
historyComponent: s.replace("-", "_").toUpperCase(),
|
@@ -11882,7 +11883,7 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
11882
11883
|
showCurrentReleaseDeployments: r = !1
|
11883
11884
|
}) => {
|
11884
11885
|
const o = Xe(
|
11885
|
-
`${V.RESOURCE_HISTORY_DEPLOYMENT}/${ct.cdPipeline}/${
|
11886
|
+
`${V.RESOURCE_HISTORY_DEPLOYMENT}/${ct.cdPipeline}/${jr.v1}`,
|
11886
11887
|
{
|
11887
11888
|
filterCriteria: uS({ appId: e, envId: s, releaseId: a, showCurrentReleaseDeployments: r }),
|
11888
11889
|
offset: n.offset,
|
@@ -12010,7 +12011,7 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
12010
12011
|
] })
|
12011
12012
|
] }), zS = (e) => /* @__PURE__ */ t.jsx("div", { className: "flexbox dc__content-center flex-grow-1 flex-align-center dc__height-inherit dark-background", children: e ? Am() : WS() }), qS = (e, s) => {
|
12012
12013
|
const [n, a] = j([]);
|
12013
|
-
let r =
|
12014
|
+
let r = La;
|
12014
12015
|
const [o, i] = j(!1), [c, l] = j(1e3), d = Y([]), u = Y(null);
|
12015
12016
|
function m() {
|
12016
12017
|
a((_) => [..._, ...d.current]), d.current = [];
|
@@ -12020,23 +12021,23 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
12020
12021
|
u.current && u.current.close && u.current.close();
|
12021
12022
|
}
|
12022
12023
|
function f(_) {
|
12023
|
-
_.type === "message" && (r =
|
12024
|
+
_.type === "message" && (r = La, d.current.push(_.data));
|
12024
12025
|
}
|
12025
12026
|
function x() {
|
12026
|
-
r =
|
12027
|
+
r = La, d.current = [], a([]);
|
12027
12028
|
}
|
12028
12029
|
function E() {
|
12029
|
-
r =
|
12030
|
+
r = La, a((_) => [..._, ...d.current]), d.current = [], u.current.close(), l(null);
|
12030
12031
|
}
|
12031
12032
|
function g() {
|
12032
|
-
d.current = [], u.current = new EventSource(e, { withCredentials: !0 }), u.current.addEventListener(
|
12033
|
+
d.current = [], u.current = new EventSource(e, { withCredentials: !0 }), u.current.addEventListener(Oa.MESSAGE, f), u.current.addEventListener(Oa.START_OF_STREAM, x), u.current.addEventListener(Oa.END_OF_STREAM, E), u.current.addEventListener(Oa.ERROR, h);
|
12033
12034
|
}
|
12034
12035
|
function h(_) {
|
12035
12036
|
r -= 1, u.current && u.current.close(), r > 0 ? g() : (i(!0), l(null));
|
12036
12037
|
}
|
12037
12038
|
return k(() => (e && g(), p), [e, s]), [n, u.current, o];
|
12038
12039
|
}, XS = ({ triggerDetails: e, isBlobStorageConfigured: s, parentType: n, fullScreenView: a }) => {
|
12039
|
-
const { pipelineId: r, envId: o, appId: i } = It(), c = n === ke.CI ? `${
|
12040
|
+
const { pipelineId: r, envId: o, appId: i } = It(), c = n === ke.CI ? `${Xa}/${V.CI_CONFIG_GET}/${r}/workflow/${e.id}/logs` : `${Xa}/${V.CD_MATERIAL_GET}/workflow/logs/${i}/${o}/${r}/${e.id}`, [l, d, u] = qS(
|
12040
12041
|
e.podStatus && e.podStatus !== uo.PENDING && c
|
12041
12042
|
), [m, p] = j([]), [f, x] = j([]), [E, g] = j(0), [h, _] = j([]), { searchKey: N, handleSearch: C } = $u(), S = f.length > 0, T = q(() => m.every((G) => G.isOpen), [m]), v = T ? "Collapse all stages" : "Expand all stages", { registerShortcut: y, unregisterShortcut: I } = da(), A = l[0]?.startsWith(xl) || !1;
|
12042
12043
|
function R({
|
@@ -12104,7 +12105,7 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
12104
12105
|
!!H
|
12105
12106
|
),
|
12106
12107
|
status: $t,
|
12107
|
-
targetPlatforms:
|
12108
|
+
targetPlatforms: wr(ie?.targetPlatforms),
|
12108
12109
|
logs: []
|
12109
12110
|
});
|
12110
12111
|
}
|
@@ -12340,7 +12341,7 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
12340
12341
|
renderButton: d
|
12341
12342
|
}
|
12342
12343
|
) });
|
12343
|
-
},
|
12344
|
+
}, Fa = ({
|
12344
12345
|
nonDeploymentError: e,
|
12345
12346
|
type: s,
|
12346
12347
|
errorMessage: n,
|
@@ -12438,14 +12439,14 @@ const V1 = (e, s, n) => me(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
12438
12439
|
)) })
|
12439
12440
|
] })
|
12440
12441
|
] });
|
12441
|
-
}, bt = new
|
12442
|
+
}, bt = new vr({}), ss = new vr([]), Va = new vr([]), mo = new vr({});
|
12442
12443
|
let Xt = {
|
12443
12444
|
filterType: "",
|
12444
12445
|
searchString: ""
|
12445
12446
|
};
|
12446
12447
|
const Il = () => {
|
12447
12448
|
const e = ss.getValue().filter((s) => !!(!Xt.filterType && !Xt.searchString || Xt.filterType === "ALL" || Xt.filterType.toLowerCase() === s.health?.status?.toLowerCase() || Xt.filterType.toLowerCase() === Ur.drifted && s.hasDrift));
|
12448
|
-
|
12449
|
+
Va.next([...e]);
|
12449
12450
|
};
|
12450
12451
|
function Ki(e, s, n) {
|
12451
12452
|
if (s.some((i) => i.childNodes))
|
@@ -12531,7 +12532,7 @@ const sv = (e, s) => {
|
|
12531
12532
|
n,
|
12532
12533
|
n.filter((r) => (r.parentRefs ?? []).length == 0).map((r) => r),
|
12533
12534
|
a
|
12534
|
-
), bt.next({ ...e, appType: s }), ss.next([...n]),
|
12535
|
+
), bt.next({ ...e, appType: s }), ss.next([...n]), Va.next([...n]);
|
12535
12536
|
},
|
12536
12537
|
clearAppDetails() {
|
12537
12538
|
this.publishAppDetails({}, null);
|
@@ -12540,8 +12541,8 @@ const sv = (e, s) => {
|
|
12540
12541
|
getAppDetailsObservable: () => bt.asObservable(),
|
12541
12542
|
getAppDetailsNodes: () => ss.getValue(),
|
12542
12543
|
getAppDetailsNodesObservable: () => ss.asObservable(),
|
12543
|
-
getAppDetailsFilteredNodes: () =>
|
12544
|
-
getAppDetailsNodesFilteredObservable: () =>
|
12544
|
+
getAppDetailsFilteredNodes: () => Va.getValue(),
|
12545
|
+
getAppDetailsNodesFilteredObservable: () => Va.asObservable(),
|
12545
12546
|
getiNodesByKind: (e) => {
|
12546
12547
|
const s = ss.getValue();
|
12547
12548
|
return ev(s, e);
|
@@ -12791,7 +12792,7 @@ const sv = (e, s) => {
|
|
12791
12792
|
),
|
12792
12793
|
/* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(nv, { filterRemoveHealth: !0, showFooter: !1 }) })
|
12793
12794
|
] }), x = () => /* @__PURE__ */ t.jsx(
|
12794
|
-
|
12795
|
+
Fa,
|
12795
12796
|
{
|
12796
12797
|
type: z.HELM_MANIFEST_PUSHED_TO_HELM_REPO,
|
12797
12798
|
nonDeploymentError: n.nonDeploymentError,
|
@@ -12978,7 +12979,7 @@ const av = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
12978
12979
|
)
|
12979
12980
|
] }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
12980
12981
|
/* @__PURE__ */ t.jsx(
|
12981
|
-
|
12982
|
+
Fa,
|
12982
12983
|
{
|
12983
12984
|
type: z.GIT_COMMIT,
|
12984
12985
|
nonDeploymentError: e.nonDeploymentError,
|
@@ -12993,7 +12994,7 @@ const av = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
12993
12994
|
}
|
12994
12995
|
),
|
12995
12996
|
/* @__PURE__ */ t.jsx(
|
12996
|
-
|
12997
|
+
Fa,
|
12997
12998
|
{
|
12998
12999
|
type: z.ARGOCD_SYNC,
|
12999
13000
|
nonDeploymentError: e.nonDeploymentError,
|
@@ -13008,7 +13009,7 @@ const av = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
13008
13009
|
}
|
13009
13010
|
),
|
13010
13011
|
/* @__PURE__ */ t.jsx(
|
13011
|
-
|
13012
|
+
Fa,
|
13012
13013
|
{
|
13013
13014
|
type: z.KUBECTL_APPLY,
|
13014
13015
|
nonDeploymentError: e.nonDeploymentError,
|
@@ -13036,7 +13037,7 @@ const av = (e, s, n) => /* @__PURE__ */ t.jsxs("div", { children: [
|
|
13036
13037
|
)
|
13037
13038
|
] });
|
13038
13039
|
};
|
13039
|
-
let
|
13040
|
+
let wa = null;
|
13040
13041
|
const iv = ({
|
13041
13042
|
deploymentStatus: e,
|
13042
13043
|
deploymentAppType: s,
|
@@ -13051,7 +13052,7 @@ const iv = ({
|
|
13051
13052
|
const d = Zs(), { url: u } = Qt(), { appId: m, envId: p, triggerId: f } = It(), [x, E] = j(
|
13052
13053
|
e?.toUpperCase() !== z.ABORTED
|
13053
13054
|
), g = Y(i), h = g.current && c ? c() : Mc(), [_, N] = j(h), C = () => {
|
13054
|
-
|
13055
|
+
wa && clearTimeout(wa);
|
13055
13056
|
}, S = () => {
|
13056
13057
|
BS(m, p, !0, f, n, a).then((I) => {
|
13057
13058
|
e !== "Aborted" && T(I.result);
|
@@ -13068,9 +13069,9 @@ const iv = ({
|
|
13068
13069
|
}, [i]);
|
13069
13070
|
const T = (I) => {
|
13070
13071
|
const A = g.current && c ? c(I) : Mc(I);
|
13071
|
-
C(), A.deploymentStatus === ge.INPROGRESS ?
|
13072
|
+
C(), A.deploymentStatus === ge.INPROGRESS ? wa = setTimeout(() => {
|
13072
13073
|
S();
|
13073
|
-
}, 1e4) :
|
13074
|
+
}, 1e4) : wa = setTimeout(() => {
|
13074
13075
|
S();
|
13075
13076
|
}, 3e4), N(A);
|
13076
13077
|
}, v = () => {
|
@@ -13255,7 +13256,7 @@ const Rm = {
|
|
13255
13256
|
added: U_,
|
13256
13257
|
deleted: $_,
|
13257
13258
|
noDiff: null
|
13258
|
-
},
|
13259
|
+
}, Da = {
|
13259
13260
|
hasDiff: "File has difference",
|
13260
13261
|
added: "File has been added",
|
13261
13262
|
deleted: "File has been deleted",
|
@@ -13293,7 +13294,7 @@ const Rm = {
|
|
13293
13294
|
iconConfig: {
|
13294
13295
|
Icon: d ? Fn[T] : Fn.hasDiff,
|
13295
13296
|
tooltipProps: {
|
13296
|
-
content: d ?
|
13297
|
+
content: d ? Da[T] : Da.hasDiff,
|
13297
13298
|
arrow: !1,
|
13298
13299
|
placement: "right"
|
13299
13300
|
}
|
@@ -13339,7 +13340,7 @@ const Rm = {
|
|
13339
13340
|
_e,
|
13340
13341
|
{
|
13341
13342
|
className: "default-tt",
|
13342
|
-
content: d ?
|
13343
|
+
content: d ? Da[v] : Da.hasDiff,
|
13343
13344
|
arrow: !1,
|
13344
13345
|
placement: "right",
|
13345
13346
|
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(I, { className: "icon-dim-20 p-2 dc__no-shrink" }) })
|
@@ -13352,7 +13353,7 @@ const Rm = {
|
|
13352
13353
|
}),
|
13353
13354
|
/* @__PURE__ */ t.jsx(cv, { config: f, tabType: "navLink", onCollapseBtnClick: x }),
|
13354
13355
|
o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
13355
|
-
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(
|
13356
|
+
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: i ? /* @__PURE__ */ t.jsx(Ir, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(qn, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
|
13356
13357
|
/* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${i ? "cr-5" : "cn-9"}`, children: o })
|
13357
13358
|
] })
|
13358
13359
|
] }), N = () => e ? ["90", "70", "50"].map((C) => /* @__PURE__ */ t.jsx(lv, { width: C }, C)) : l?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
@@ -13812,7 +13813,7 @@ const Rm = {
|
|
13812
13813
|
value: vs(c, o)
|
13813
13814
|
};
|
13814
13815
|
return { compareToCodeEditorData: l, compareWithCodeEditorData: d };
|
13815
|
-
},
|
13816
|
+
}, Ha = (e, s) => {
|
13816
13817
|
const n = !!e.codeEditorValue.value, a = !!s.codeEditorValue.value;
|
13817
13818
|
return !n && a ? Pt.DELETED : n && !a ? Pt.ADDED : Yn(e, s) ? Pt.NO_DIFF : Pt.HAS_DIFF;
|
13818
13819
|
}, Ll = (e, s) => {
|
@@ -13841,7 +13842,7 @@ const Rm = {
|
|
13841
13842
|
return {
|
13842
13843
|
compareToDiff: d,
|
13843
13844
|
compareWithDiff: u,
|
13844
|
-
diffState:
|
13845
|
+
diffState: Ha(
|
13845
13846
|
Ll(e, d),
|
13846
13847
|
Ll(s, u)
|
13847
13848
|
)
|
@@ -13876,7 +13877,7 @@ const Rm = {
|
|
13876
13877
|
{ ...e || {}, strategy: e?.Strategy, codeEditorValue: n },
|
13877
13878
|
yt.PIPELINE_STRATEGY.VALUE
|
13878
13879
|
);
|
13879
|
-
},
|
13880
|
+
}, mr = (e, s) => {
|
13880
13881
|
let n = !1, a = !1, r = !1;
|
13881
13882
|
if (!e)
|
13882
13883
|
n = !0;
|
@@ -13894,7 +13895,7 @@ const Rm = {
|
|
13894
13895
|
/* @__PURE__ */ t.jsx(B_, { className: "icon-dim-16 dc__no-shrink" }),
|
13895
13896
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cv-5", children: "Approval pending" })
|
13896
13897
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 ", children: [
|
13897
|
-
/* @__PURE__ */ t.jsx(
|
13898
|
+
/* @__PURE__ */ t.jsx(yr, { className: "scn-9 icon-dim-16" }),
|
13898
13899
|
/* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Published" })
|
13899
13900
|
] });
|
13900
13901
|
}, Ml = (e, s) => {
|
@@ -13930,11 +13931,11 @@ const Rm = {
|
|
13930
13931
|
title: `${n === Kt.ConfigMap ? "ConfigMap" : "Secret"} / ${d?.name || u?.name}`,
|
13931
13932
|
name: d?.name || u?.name,
|
13932
13933
|
primaryConfig: {
|
13933
|
-
heading:
|
13934
|
+
heading: mr(u),
|
13934
13935
|
list: p
|
13935
13936
|
},
|
13936
13937
|
secondaryConfig: {
|
13937
|
-
heading:
|
13938
|
+
heading: mr(d),
|
13938
13939
|
list: m
|
13939
13940
|
},
|
13940
13941
|
diffState: f,
|
@@ -14013,14 +14014,14 @@ const Rm = {
|
|
14013
14014
|
pathType: ot.DeploymentTemplate,
|
14014
14015
|
title: "Deployment Template",
|
14015
14016
|
primaryConfig: {
|
14016
|
-
heading:
|
14017
|
+
heading: mr(g.deploymentTemplate, !0),
|
14017
14018
|
list: _
|
14018
14019
|
},
|
14019
14020
|
secondaryConfig: {
|
14020
|
-
heading:
|
14021
|
+
heading: mr(E.deploymentTemplate, !0),
|
14021
14022
|
list: h
|
14022
14023
|
},
|
14023
|
-
diffState:
|
14024
|
+
diffState: Ha(h, _)
|
14024
14025
|
};
|
14025
14026
|
let C, S, T;
|
14026
14027
|
(E.pipelineConfigData || g.pipelineConfigData) && (C = Pl(E.pipelineConfigData, c), S = Pl(
|
@@ -14038,7 +14039,7 @@ const Rm = {
|
|
14038
14039
|
heading: null,
|
14039
14040
|
list: C
|
14040
14041
|
},
|
14041
|
-
diffState:
|
14042
|
+
diffState: Ha(C, S)
|
14042
14043
|
});
|
14043
14044
|
const v = kl(
|
14044
14045
|
E.configMapData,
|
@@ -14128,7 +14129,7 @@ const Rm = {
|
|
14128
14129
|
heading: /* @__PURE__ */ t.jsx("span", { className: "fs-12 fw-6 cn-9", children: "Generated Manifest" }),
|
14129
14130
|
list: u
|
14130
14131
|
},
|
14131
|
-
diffState:
|
14132
|
+
diffState: Ha(u, m),
|
14132
14133
|
singleView: !0
|
14133
14134
|
}, f = [p], x = [
|
14134
14135
|
{
|
@@ -14186,7 +14187,7 @@ const Rm = {
|
|
14186
14187
|
selected: e,
|
14187
14188
|
color: e ? "var(--B300)" : "var(--N200)",
|
14188
14189
|
onSelect: s,
|
14189
|
-
Icon:
|
14190
|
+
Icon: Rr,
|
14190
14191
|
disabled: n,
|
14191
14192
|
rootClassName: "dc__toggle-square-toggle",
|
14192
14193
|
throttleOnChange: r,
|
@@ -14258,7 +14259,7 @@ const Rm = {
|
|
14258
14259
|
style: Ee.neutral,
|
14259
14260
|
size: P.small,
|
14260
14261
|
startIcon: C ? /* @__PURE__ */ t.jsx(
|
14261
|
-
|
14262
|
+
Ar,
|
14262
14263
|
{
|
14263
14264
|
className: "rotate",
|
14264
14265
|
style: {
|
@@ -14725,7 +14726,7 @@ const Rm = {
|
|
14725
14726
|
ec,
|
14726
14727
|
{
|
14727
14728
|
classname: "error_bar cn-9 fs-13 lh-20",
|
14728
|
-
Icon:
|
14729
|
+
Icon: Ir,
|
14729
14730
|
message: "Diff unavailable: Configurations for previous deployment not found."
|
14730
14731
|
}
|
14731
14732
|
)
|
@@ -14913,7 +14914,7 @@ const dt = ({
|
|
14913
14914
|
dt.Button = Lv;
|
14914
14915
|
dt.Body = wv;
|
14915
14916
|
const km = Te.createContext(null);
|
14916
|
-
function
|
14917
|
+
function Ea() {
|
14917
14918
|
const e = Te.useContext(km);
|
14918
14919
|
if (!e)
|
14919
14920
|
throw new Error("Select compound components cannot be rendered outside the Toggle component");
|
@@ -14991,7 +14992,7 @@ const Jt = ({
|
|
14991
14992
|
name: i = "",
|
14992
14993
|
rootClassName: c = ""
|
14993
14994
|
}) => {
|
14994
|
-
const { selected: l, searchString: d, valueComparator: u, handleClick: m } =
|
14995
|
+
const { selected: l, searchString: d, valueComparator: u, handleClick: m } = Ea();
|
14995
14996
|
return o = o || l === n, typeof n == "object" && (o = o || u(n)), i.includes(d) ? /* @__PURE__ */ t.jsx(
|
14996
14997
|
"div",
|
14997
14998
|
{
|
@@ -15015,7 +15016,7 @@ const Jt = ({
|
|
15015
15016
|
arrowAsset: r = "",
|
15016
15017
|
hideArrow: o = !1
|
15017
15018
|
}) => {
|
15018
|
-
const { popupOpen: i, loading: c } =
|
15019
|
+
const { popupOpen: i, loading: c } = Ea();
|
15019
15020
|
return /* @__PURE__ */ t.jsxs(
|
15020
15021
|
"div",
|
15021
15022
|
{
|
@@ -15036,7 +15037,7 @@ const Jt = ({
|
|
15036
15037
|
}
|
15037
15038
|
);
|
15038
15039
|
}, Dv = ({ placeholder: e = "search", style: s = {}, inputStyle: n = {}, rootClassName: a = "" }) => {
|
15039
|
-
const { searchString: r, search: o } =
|
15040
|
+
const { searchString: r, search: o } = Ea();
|
15040
15041
|
return /* @__PURE__ */ t.jsxs(
|
15041
15042
|
"div",
|
15042
15043
|
{
|
@@ -15061,7 +15062,7 @@ const Jt = ({
|
|
15061
15062
|
}
|
15062
15063
|
);
|
15063
15064
|
}, Fm = ({ api: e }) => {
|
15064
|
-
const { loading: s, setLoading: n } =
|
15065
|
+
const { loading: s, setLoading: n } = Ea();
|
15065
15066
|
return k(() => {
|
15066
15067
|
async function a() {
|
15067
15068
|
n(!0);
|
@@ -15076,7 +15077,7 @@ const Jt = ({
|
|
15076
15077
|
a();
|
15077
15078
|
}, []), null;
|
15078
15079
|
}, Pv = ({ rootClassName: e = "", style: s = {} }) => {
|
15079
|
-
const { handleClick: n } =
|
15080
|
+
const { handleClick: n } = Ea();
|
15080
15081
|
return /* @__PURE__ */ t.jsx(
|
15081
15082
|
"div",
|
15082
15083
|
{
|
@@ -15197,7 +15198,7 @@ const jt = ({
|
|
15197
15198
|
type: "button",
|
15198
15199
|
className: `dc__outline-none-imp p-0 flex dc__transparent--unstyled dc__no-border ${r}`,
|
15199
15200
|
onClick: m,
|
15200
|
-
children: /* @__PURE__ */ t.jsx(oe, { content: s, alwaysShowTippyOnHover: !0, visible: i, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: i ? /* @__PURE__ */ t.jsx(
|
15201
|
+
children: /* @__PURE__ */ t.jsx(oe, { content: s, alwaysShowTippyOnHover: !0, visible: i, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: i ? /* @__PURE__ */ t.jsx(yr, { className: p }) : /* @__PURE__ */ t.jsx(vh, { className: p }) }) })
|
15201
15202
|
}
|
15202
15203
|
) });
|
15203
15204
|
};
|
@@ -15219,7 +15220,7 @@ const Hm = (e, s) => e || (s === ft.dark ? na.vsDarkDT : na.vs), Bv = (e, s) =>
|
|
15219
15220
|
default:
|
15220
15221
|
return e;
|
15221
15222
|
}
|
15222
|
-
},
|
15223
|
+
}, pr = (e, s, n) => {
|
15223
15224
|
let a = null;
|
15224
15225
|
try {
|
15225
15226
|
a = JSON.parse(e);
|
@@ -15252,8 +15253,8 @@ const Hm = (e, s) => e || (s === ft.dark ? na.vsDarkDT : na.vs), Bv = (e, s) =>
|
|
15252
15253
|
}) => ({
|
15253
15254
|
mode: e,
|
15254
15255
|
theme: Hm(s, c),
|
15255
|
-
code: o ? n :
|
15256
|
-
defaultCode: o ? a :
|
15256
|
+
code: o ? n : pr(n, e, i),
|
15257
|
+
defaultCode: o ? a : pr(a, e, i),
|
15257
15258
|
diffMode: r,
|
15258
15259
|
noParsing: [Ge.JSON, Ge.YAML].includes(e) ? o : !0
|
15259
15260
|
}), Gm = Te.createContext(null);
|
@@ -15292,8 +15293,8 @@ const Vv = 100, tt = Te.memo(
|
|
15292
15293
|
disableSearch: y = !1,
|
15293
15294
|
originalEditable: I = !1
|
15294
15295
|
}) => {
|
15295
|
-
const { appTheme: A } =
|
15296
|
-
C && (e =
|
15296
|
+
const { appTheme: A } = kr();
|
15297
|
+
C && (e = Er(e), a = Er(a));
|
15297
15298
|
const R = Y(null), b = Y(null), { width: O, height: w } = yi(), L = Te.useCallback(Bv, []), [$, F] = Wf(
|
15298
15299
|
L,
|
15299
15300
|
Fv({
|
@@ -15390,12 +15391,12 @@ const Vv = 100, tt = Te.memo(
|
|
15390
15391
|
const M = (W, ie) => {
|
15391
15392
|
F({ type: "setCode", value: W }), F({ type: "setDefaultCode", value: ie }), se.current?.(W, ie);
|
15392
15393
|
};
|
15393
|
-
|
15394
|
+
gr(() => {
|
15394
15395
|
if (n) {
|
15395
15396
|
M(e, a);
|
15396
15397
|
return;
|
15397
15398
|
}
|
15398
|
-
e !== $.code && M(
|
15399
|
+
e !== $.code && M(pr(e, $.mode, o), pr(a, $.mode, o));
|
15399
15400
|
}, [e, a, n]), k(() => {
|
15400
15401
|
F({ type: "setDiff", value: p });
|
15401
15402
|
}, [p]), k(() => {
|
@@ -15737,9 +15738,9 @@ const eI = () => (e) => {
|
|
15737
15738
|
}, Gl = (e, s = !1) => {
|
15738
15739
|
switch (e) {
|
15739
15740
|
case Ge.JSON:
|
15740
|
-
return [Zp(), ...s ? [] : [
|
15741
|
+
return [Zp(), ...s ? [] : [Wa(cf())]];
|
15741
15742
|
case Ge.YAML:
|
15742
|
-
return [Jp(), ...s ? [] : [
|
15743
|
+
return [Jp(), ...s ? [] : [Wa(eI())]];
|
15743
15744
|
case Ge.SHELL:
|
15744
15745
|
return nc.define(Xp);
|
15745
15746
|
case Ge.DOCKERFILE:
|
@@ -15757,7 +15758,7 @@ const eI = () => (e) => {
|
|
15757
15758
|
switch (e) {
|
15758
15759
|
case Ge.JSON:
|
15759
15760
|
return [
|
15760
|
-
|
15761
|
+
Wa(nf(), {
|
15761
15762
|
needsRefresh: ic
|
15762
15763
|
}),
|
15763
15764
|
af.data.of({
|
@@ -15772,7 +15773,7 @@ const eI = () => (e) => {
|
|
15772
15773
|
];
|
15773
15774
|
case Ge.YAML:
|
15774
15775
|
return [
|
15775
|
-
|
15776
|
+
Wa(Qp(), {
|
15776
15777
|
needsRefresh: ic
|
15777
15778
|
}),
|
15778
15779
|
ef.data.of({
|
@@ -15789,7 +15790,7 @@ const eI = () => (e) => {
|
|
15789
15790
|
return [];
|
15790
15791
|
}
|
15791
15792
|
}, lI = ["Shift", "Enter"], dI = ["Enter"], uI = ["Enter"], mI = [
|
15792
|
-
|
15793
|
+
Ja ? "Meta" : "Control",
|
15793
15794
|
"Alt",
|
15794
15795
|
"Enter"
|
15795
15796
|
], pI = ["Escape"], fI = 2e3, Ym = 14, _I = 20, hI = ["ArrowUp", "ArrowRight", "ArrowDown", "ArrowLeft", "Enter", "Escape"], ei = Nd.define(), gI = oi.define({
|
@@ -15834,17 +15835,17 @@ const eI = () => (e) => {
|
|
15834
15835
|
this.view.dom.removeEventListener("keydown", this.handleKeyPress), this.timeoutId && clearTimeout(this.timeoutId);
|
15835
15836
|
}
|
15836
15837
|
}
|
15837
|
-
), fo = [gI, EI],
|
15838
|
+
), fo = [gI, EI], Na = Nd.define(), Km = oi.define({
|
15838
15839
|
create() {
|
15839
15840
|
return !1;
|
15840
15841
|
},
|
15841
15842
|
update(e, s) {
|
15842
|
-
const n = s.effects.find((a) => a.is(
|
15843
|
+
const n = s.effects.find((a) => a.is(Na));
|
15843
15844
|
return n ? n.value : e;
|
15844
15845
|
}
|
15845
15846
|
}), zi = (e) => e.field(Km, !1) || !1, Wm = (e) => (e.dispatch({
|
15846
|
-
effects: [
|
15847
|
-
}), mf(e), !0), NI = (e) => (Wm(e), e.dispatch({ effects: [
|
15847
|
+
effects: [Na.of(uf(e.state) ? zi(e.state) : !1)]
|
15848
|
+
}), mf(e), !0), NI = (e) => (Wm(e), e.dispatch({ effects: [Na.of(!e.state.readOnly && !0)] }), !0), CI = (e) => (zi(e.state) && Cd(e), !0), bI = (e) => (e.contentDOM.blur(), !0), _o = ({
|
15848
15849
|
isChecked: e,
|
15849
15850
|
onChange: s,
|
15850
15851
|
Icon: n,
|
@@ -15926,7 +15927,7 @@ const eI = () => (e) => {
|
|
15926
15927
|
}, v = (L) => {
|
15927
15928
|
m({ regexp: L });
|
15928
15929
|
}, y = () => {
|
15929
|
-
l(!c), e.dispatch({ effects: [
|
15930
|
+
l(!c), e.dispatch({ effects: [Na.of(!c)] });
|
15930
15931
|
}, I = (L) => {
|
15931
15932
|
L.preventDefault(), L.stopPropagation(), xf(e);
|
15932
15933
|
}, A = () => /* @__PURE__ */ t.jsx("div", { className: "code-editor__search__replace-expand-button flexbox dc__align-self-stretch", children: /* @__PURE__ */ t.jsx(
|
@@ -16172,7 +16173,7 @@ const eI = () => (e) => {
|
|
16172
16173
|
}, o = ({ transactions: i, docChanged: c, state: l, startState: d }) => {
|
16173
16174
|
i.forEach((u) => {
|
16174
16175
|
u.effects.forEach((m) => {
|
16175
|
-
m.is(bd) && a(), m.is(
|
16176
|
+
m.is(bd) && a(), m.is(Na) && a();
|
16176
16177
|
});
|
16177
16178
|
}), (c || l.readOnly !== d.readOnly) && a();
|
16178
16179
|
};
|
@@ -16628,11 +16629,11 @@ const eI = () => (e) => {
|
|
16628
16629
|
autoFocus: y,
|
16629
16630
|
disableSearch: I = !1
|
16630
16631
|
}) => {
|
16631
|
-
const { appTheme: A } =
|
16632
|
-
const ie = g ? a : s, we = S ?
|
16632
|
+
const { appTheme: A } = kr(), R = Y(), b = Y({ code: "", lhsCode: "" }), O = q(() => {
|
16633
|
+
const ie = g ? a : s, we = S ? Er(ie) : ie;
|
16633
16634
|
return we !== b.current.code ? ![Ge.JSON, Ge.YAML].includes(o) || i ? we : Fl(we, o, l) : b.current.code;
|
16634
16635
|
}, [s, a, g, i]), w = q(() => {
|
16635
|
-
const ie = S ?
|
16636
|
+
const ie = S ? Er(n) : n;
|
16636
16637
|
return ie !== b.current.lhsCode ? ![Ge.JSON, Ge.YAML].includes(o) || i ? ie : Fl(ie, o, l) : b.current.lhsCode;
|
16637
16638
|
}, [n, i]), L = e ?? A, $ = L === ft.dark, { codeEditorTheme: F, themeExtension: X } = MI($), [Z, ee] = j(), [de, Ae] = j(!1), [G, H] = j(g), se = q(
|
16638
16639
|
() => ({ setDiffMode: H, diffMode: G, hasCodeEditorContainer: de, lhsValue: w, value: O, readOnly: x, theme: L }),
|
@@ -16863,7 +16864,7 @@ const qI = ({
|
|
16863
16864
|
selected: c,
|
16864
16865
|
color: "var(--B500)",
|
16865
16866
|
onSelect: f,
|
16866
|
-
Icon:
|
16867
|
+
Icon: Rr
|
16867
16868
|
}
|
16868
16869
|
) }) }) })
|
16869
16870
|
]
|
@@ -17013,7 +17014,7 @@ const qI = ({
|
|
17013
17014
|
/* @__PURE__ */ t.jsx("span", { className: "git-commit-info-generic__copy dc__visibility-hidden p-2", "data-testid": "git-commit-copy", children: /* @__PURE__ */ t.jsx(jt, { content: v }) })
|
17014
17015
|
] });
|
17015
17016
|
}, _ = (v) => /* @__PURE__ */ t.jsxs("div", { className: "commit-hash px-6 dc__w-fit-content dc__gap-4 fs-13", children: [
|
17016
|
-
/* @__PURE__ */ t.jsx(
|
17017
|
+
/* @__PURE__ */ t.jsx(br, { className: "icon-dim-14 scb-5" }),
|
17017
17018
|
v
|
17018
17019
|
] }), N = () => a ? l.isselected ? /* @__PURE__ */ t.jsx(Ec, { className: "dc__align-right icon-dim-20" }) : /* @__PURE__ */ t.jsx(xc, { "data-testid": "valid-git-commit icon-dim-20" }) : null, C = () => /* @__PURE__ */ t.jsxs("div", { className: "flex column left dc__gap-8", children: [
|
17019
17020
|
/* @__PURE__ */ t.jsxs("div", { className: "flex dc__content-space w-100", children: [
|
@@ -17188,7 +17189,7 @@ const qI = ({
|
|
17188
17189
|
subTitle: Ke.DEVTRON_APP_DEPLOYMENT_HISTORY_SOURCE_CODE.SUBTITLE
|
17189
17190
|
}
|
17190
17191
|
);
|
17191
|
-
const N =
|
17192
|
+
const N = tr(n);
|
17192
17193
|
return /* @__PURE__ */ t.jsxs("div", { className: "history-component__wrapper flex column left w-100 p-16 dc__gap-12", children: [
|
17193
17194
|
s?.map((C, S) => {
|
17194
17195
|
const T = e[C.id];
|
@@ -17316,7 +17317,7 @@ const nA = (e) => {
|
|
17316
17317
|
}, Zm = () => hs(Jm), iA = {
|
17317
17318
|
[P.medium]: P.xxs,
|
17318
17319
|
[P.large]: P.xs
|
17319
|
-
},
|
17320
|
+
}, Ca = ({
|
17320
17321
|
name: e,
|
17321
17322
|
label: s,
|
17322
17323
|
fullWidth: n,
|
@@ -17394,7 +17395,7 @@ const nA = (e) => {
|
|
17394
17395
|
onBlur: y,
|
17395
17396
|
type: x,
|
17396
17397
|
ref: v,
|
17397
|
-
className: `${ns[u]} ${gu[u]} ${
|
17398
|
+
className: `${ns[u]} ${gu[u]} ${Dr({ borderConfig: p, borderRadiusConfig: f })} ${g ? `custom-input__with-icon-button--${u}` : ""} w-100 dc__overflow-auto`
|
17398
17399
|
}
|
17399
17400
|
),
|
17400
17401
|
g && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink dc__position-abs custom-input__icon-button--${u}`, children: /* @__PURE__ */ t.jsx(
|
@@ -17418,7 +17419,7 @@ const nA = (e) => {
|
|
17418
17419
|
c(!1), o("password"), s?.(p);
|
17419
17420
|
};
|
17420
17421
|
return /* @__PURE__ */ t.jsx(
|
17421
|
-
|
17422
|
+
Ca,
|
17422
17423
|
{
|
17423
17424
|
...a,
|
17424
17425
|
value: d,
|
@@ -17484,7 +17485,7 @@ const nA = (e) => {
|
|
17484
17485
|
] }),
|
17485
17486
|
i,
|
17486
17487
|
o && /* @__PURE__ */ t.jsx(
|
17487
|
-
|
17488
|
+
Ca,
|
17488
17489
|
{
|
17489
17490
|
name: E,
|
17490
17491
|
value: f,
|
@@ -18164,7 +18165,7 @@ const nA = (e) => {
|
|
18164
18165
|
// TODO: Ask if fetchIdData is required here as dependency
|
18165
18166
|
[I, y, A],
|
18166
18167
|
!!I && !!R
|
18167
|
-
), F =
|
18168
|
+
), F = wr(b?.targetPlatforms), X = (H, se, ue) => {
|
18168
18169
|
if (ue) {
|
18169
18170
|
p?.result?.cdWorkflows?.length && n(Ep(p.result.cdWorkflows, "id")), u(ys.SUSPEND);
|
18170
18171
|
return;
|
@@ -18532,7 +18533,7 @@ const nA = (e) => {
|
|
18532
18533
|
}, vA = Object.entries(CA).map(([e, s]) => ({
|
18533
18534
|
label: e,
|
18534
18535
|
value: s
|
18535
|
-
})),
|
18536
|
+
})), Ga = Object.entries(bA).map(
|
18536
18537
|
([e, s]) => ({
|
18537
18538
|
label: e,
|
18538
18539
|
value: s
|
@@ -18587,7 +18588,7 @@ const nA = (e) => {
|
|
18587
18588
|
{
|
18588
18589
|
inputId: Ws.TIME,
|
18589
18590
|
placeholder: "12:00 AM",
|
18590
|
-
options:
|
18591
|
+
options: Ga,
|
18591
18592
|
isSearchable: !1,
|
18592
18593
|
isDisabled: e,
|
18593
18594
|
...n,
|
@@ -18614,7 +18615,7 @@ const nA = (e) => {
|
|
18614
18615
|
openDirection: p = "down",
|
18615
18616
|
error: f = ""
|
18616
18617
|
}) => {
|
18617
|
-
const x = AA(e), E =
|
18618
|
+
const x = AA(e), E = Ga.find((v) => v.value === x) ?? Ga[0], [g, h] = j(!1), _ = ({ focused: v }) => {
|
18618
18619
|
h(v);
|
18619
18620
|
}, N = (v) => {
|
18620
18621
|
s(RA(e, v?.toDate()));
|
@@ -18654,7 +18655,7 @@ const nA = (e) => {
|
|
18654
18655
|
{
|
18655
18656
|
inputId: Ws.TIME,
|
18656
18657
|
placeholder: TA.DEFAULT_TIME,
|
18657
|
-
options:
|
18658
|
+
options: Ga,
|
18658
18659
|
icon: /* @__PURE__ */ t.jsx(pi, { className: "icon-dim-20 fcn-6" }),
|
18659
18660
|
isSearchable: !1,
|
18660
18661
|
hideSelectedOptions: !0,
|
@@ -19551,7 +19552,7 @@ const oM = {
|
|
19551
19552
|
children: [
|
19552
19553
|
M,
|
19553
19554
|
/* @__PURE__ */ t.jsx(
|
19554
|
-
|
19555
|
+
Ar,
|
19555
19556
|
{
|
19556
19557
|
className: "icon-dim-16 dc__no-shrink scn-7 rotate cursor",
|
19557
19558
|
style: {
|
@@ -19579,7 +19580,7 @@ const oM = {
|
|
19579
19580
|
disabled: v,
|
19580
19581
|
onClick: ee,
|
19581
19582
|
children: [
|
19582
|
-
/* @__PURE__ */ t.jsx(
|
19583
|
+
/* @__PURE__ */ t.jsx(Sr, { className: "icon-dim-12 fcb-5 dc__no-shrink" }),
|
19583
19584
|
/* @__PURE__ */ t.jsx("span", { className: "cb-5 fs-12 fw-6 lh-20", children: "Add" })
|
19584
19585
|
]
|
19585
19586
|
}
|
@@ -19797,7 +19798,7 @@ const oM = {
|
|
19797
19798
|
o
|
19798
19799
|
)) }),
|
19799
19800
|
n || null
|
19800
|
-
] }), ql = 2 * 1024 * 1024,
|
19801
|
+
] }), ql = 2 * 1024 * 1024, fr = {
|
19801
19802
|
width: 72,
|
19802
19803
|
height: 72
|
19803
19804
|
}, Xl = "Please provide image URL to preview", ap = "edit-image-form-field__figure-container--base-image", e0 = ({ showEditIcon: e, defaultIcon: s }) => /* @__PURE__ */ t.jsx(
|
@@ -19805,8 +19806,8 @@ const oM = {
|
|
19805
19806
|
{
|
19806
19807
|
className: `flex dc__align-self-start dc__no-shrink br-4 edit-image-form-field__fallback-image p-12 ${e ? ap : ""}`,
|
19807
19808
|
style: {
|
19808
|
-
height:
|
19809
|
-
width:
|
19809
|
+
height: fr.height,
|
19810
|
+
width: fr.width
|
19810
19811
|
},
|
19811
19812
|
children: s
|
19812
19813
|
}
|
@@ -19878,8 +19879,8 @@ const oM = {
|
|
19878
19879
|
imageProps: {
|
19879
19880
|
alt: c,
|
19880
19881
|
src: l,
|
19881
|
-
height:
|
19882
|
-
width:
|
19882
|
+
height: fr.height,
|
19883
|
+
width: fr.width,
|
19883
19884
|
className: `br-4 dc__no-shrink ${A || ""}`
|
19884
19885
|
},
|
19885
19886
|
fallbackImage: /* @__PURE__ */ t.jsx(e0, { defaultIcon: e, showEditIcon: I })
|
@@ -19889,7 +19890,7 @@ const oM = {
|
|
19889
19890
|
y(!1),
|
19890
19891
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-16 flex-grow-1", children: [
|
19891
19892
|
/* @__PURE__ */ t.jsx(
|
19892
|
-
|
19893
|
+
Ca,
|
19893
19894
|
{
|
19894
19895
|
name: `${o}-url-input`,
|
19895
19896
|
label: "Image URL",
|
@@ -19938,7 +19939,7 @@ const oM = {
|
|
19938
19939
|
onClick: g,
|
19939
19940
|
children: [
|
19940
19941
|
y(!0, ap),
|
19941
|
-
/* @__PURE__ */ t.jsx("div", { className: "flex p-4 br-4 bg__primary dc__border edit-image-form-field__figure-container--edit-image-icon dc__zi-1 bg__primary dc__hover-n50 icon-dim-24", children: /* @__PURE__ */ t.jsx(
|
19942
|
+
/* @__PURE__ */ t.jsx("div", { className: "flex p-4 br-4 bg__primary dc__border edit-image-form-field__figure-container--edit-image-icon dc__zi-1 bg__primary dc__hover-n50 icon-dim-24", children: /* @__PURE__ */ t.jsx(Tr, { className: "dc__no-shrink icon-dim-16" }) })
|
19942
19943
|
]
|
19943
19944
|
}
|
19944
19945
|
);
|
@@ -20042,7 +20043,7 @@ const Hr = ({
|
|
20042
20043
|
children: [
|
20043
20044
|
_,
|
20044
20045
|
/* @__PURE__ */ t.jsx(
|
20045
|
-
|
20046
|
+
Ar,
|
20046
20047
|
{
|
20047
20048
|
className: "icon-dim-16 dc__no-shrink scn-7 rotate cursor",
|
20048
20049
|
style: {
|
@@ -20069,7 +20070,7 @@ const Hr = ({
|
|
20069
20070
|
dataTestId: "data-table-add-row-button",
|
20070
20071
|
ariaLabel: "Add",
|
20071
20072
|
onClick: a,
|
20072
|
-
icon: /* @__PURE__ */ t.jsx(
|
20073
|
+
icon: /* @__PURE__ */ t.jsx(Sr, {}),
|
20073
20074
|
variant: pe.borderLess,
|
20074
20075
|
size: P.xs,
|
20075
20076
|
showAriaLabelInTippy: !1
|
@@ -20868,7 +20869,7 @@ const p0 = (e) => {
|
|
20868
20869
|
),
|
20869
20870
|
/* @__PURE__ */ t.jsx("audio", { hidden: !0, ref: n, src: mh })
|
20870
20871
|
] });
|
20871
|
-
},
|
20872
|
+
}, _r = "Please provide valid YAML", wn = {
|
20872
20873
|
BOTH_STORE_AVAILABLE: "Please use either secretStore or secretStoreRef",
|
20873
20874
|
CHECK_KEY_SECRET_KEY: "Please check key and secretKey",
|
20874
20875
|
BOTH_STORE_UNAVAILABLE: "Please provide secretStore or secretStoreRef",
|
@@ -20878,7 +20879,7 @@ const p0 = (e) => {
|
|
20878
20879
|
}, b0 = [
|
20879
20880
|
{ value: "", label: "Kubernetes ConfigMap" },
|
20880
20881
|
{ value: De.KubernetesConfigMap, label: "Kubernetes External ConfigMap" }
|
20881
|
-
], aa = [{ k: "", v: "", id: 0 }],
|
20882
|
+
], aa = [{ k: "", v: "", id: 0 }], hr = {
|
20882
20883
|
environment: { title: "Environment Variable", value: "environment" },
|
20883
20884
|
volume: { title: "Data Volume", value: "volume" }
|
20884
20885
|
}, T0 = (e, s) => {
|
@@ -20934,7 +20935,7 @@ const p0 = (e) => {
|
|
20934
20935
|
configMapSecretData: e,
|
20935
20936
|
cmSecretStateLabel: s,
|
20936
20937
|
isSecret: n
|
20937
|
-
}) => e.mergeStrategy === Li.PATCH ? e.patchData ? go(e.patchData, n && e.externalType === "") : aa : e.data ? go(e.data, n && e.externalType === "") : s ===
|
20938
|
+
}) => e.mergeStrategy === Li.PATCH ? e.patchData ? go(e.patchData, n && e.externalType === "") : aa : e.data ? go(e.data, n && e.externalType === "") : s === Or.INHERITED && e.defaultData ? go(e.defaultData, n && e.externalType === "") : aa, v0 = ({
|
20938
20939
|
data: e,
|
20939
20940
|
esoSubPath: s,
|
20940
20941
|
external: n,
|
@@ -20978,7 +20979,7 @@ const p0 = (e) => {
|
|
20978
20979
|
isSecret: i,
|
20979
20980
|
external: l ?? !1,
|
20980
20981
|
externalType: d ?? De.Internal,
|
20981
|
-
selectedType: u ??
|
20982
|
+
selectedType: u ?? hr.environment.value,
|
20982
20983
|
isFilePermissionChecked: !!g,
|
20983
20984
|
isSubPathChecked: !!f,
|
20984
20985
|
filePermission: g ?? "",
|
@@ -20996,7 +20997,7 @@ const p0 = (e) => {
|
|
20996
20997
|
yaml: null
|
20997
20998
|
};
|
20998
20999
|
if (s) {
|
20999
|
-
const C = e || l ? Li.REPLACE : o, S = s.mergeStrategy || (n ===
|
21000
|
+
const C = e || l ? Li.REPLACE : o, S = s.mergeStrategy || (n === Or.INHERITED ? C : null), T = S0({
|
21000
21001
|
configMapSecretData: { ...s, mergeStrategy: S },
|
21001
21002
|
cmSecretStateLabel: n,
|
21002
21003
|
isSecret: i
|
@@ -21071,7 +21072,7 @@ const p0 = (e) => {
|
|
21071
21072
|
},
|
21072
21073
|
{
|
21073
21074
|
displayName: "Mount data as",
|
21074
|
-
value:
|
21075
|
+
value: hr[x].title,
|
21075
21076
|
key: "mountDataAs"
|
21076
21077
|
},
|
21077
21078
|
{
|
@@ -21081,7 +21082,7 @@ const p0 = (e) => {
|
|
21081
21082
|
},
|
21082
21083
|
{
|
21083
21084
|
displayName: "Set Sub Path",
|
21084
|
-
value:
|
21085
|
+
value: hr[x].value === "volume" && (m ? "True" : "False") || "",
|
21085
21086
|
key: "setSubPath"
|
21086
21087
|
},
|
21087
21088
|
{
|
@@ -21193,7 +21194,7 @@ const p0 = (e) => {
|
|
21193
21194
|
template: C.template
|
21194
21195
|
}, N.roleARN = p, x && a && (N.esoSubPath = a.replace(/\s+/g, "").split(",")));
|
21195
21196
|
}
|
21196
|
-
if (u ===
|
21197
|
+
if (u === hr.volume.value && (N.mountPath = f, N.subPath = x, m && (N.filePermission = l.length === 3 ? `0${l}` : `${l}`), x && (e && n === De.KubernetesSecret || !e && s))) {
|
21197
21198
|
const C = a.replace(/\s+/g, "").split(","), S = {};
|
21198
21199
|
C.forEach((T) => {
|
21199
21200
|
S[T] = "";
|
@@ -21304,13 +21305,13 @@ const p0 = (e) => {
|
|
21304
21305
|
// The generated error message (if any).
|
21305
21306
|
};
|
21306
21307
|
}
|
21307
|
-
throw new Error(
|
21308
|
+
throw new Error(_r);
|
21308
21309
|
} catch (s) {
|
21309
21310
|
return {
|
21310
21311
|
// Always return false when an error occurs.
|
21311
21312
|
isValid: () => !1,
|
21312
21313
|
// Display a parsing error.
|
21313
|
-
message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") :
|
21314
|
+
message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") : _r
|
21314
21315
|
};
|
21315
21316
|
}
|
21316
21317
|
}, w0 = (e) => {
|
@@ -21338,14 +21339,14 @@ const p0 = (e) => {
|
|
21338
21339
|
}
|
21339
21340
|
};
|
21340
21341
|
}
|
21341
|
-
throw new Error(
|
21342
|
+
throw new Error(_r);
|
21342
21343
|
} catch (s) {
|
21343
21344
|
return {
|
21344
21345
|
custom: {
|
21345
21346
|
// Always return false when an error occurs.
|
21346
21347
|
isValid: () => !1,
|
21347
21348
|
// Display a parsing error message.
|
21348
|
-
message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") :
|
21349
|
+
message: s.name === "YAMLParseError" ? s.message.replace(/[\s]+/g, " ") : _r
|
21349
21350
|
}
|
21350
21351
|
};
|
21351
21352
|
}
|
@@ -21590,7 +21591,7 @@ const p0 = (e) => {
|
|
21590
21591
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__content-center dc__align-start flex-grow-1 dc__no-shrink", children: [
|
21591
21592
|
/* @__PURE__ */ t.jsxs("div", { className: "flex center dc__gap-4", children: [
|
21592
21593
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-6 lh-20 dc__align-self-stretch", children: "Scoped variables" }),
|
21593
|
-
/* @__PURE__ */ t.jsx(
|
21594
|
+
/* @__PURE__ */ t.jsx(Rr, { className: "icon-dim-16 scn-7" })
|
21594
21595
|
] }),
|
21595
21596
|
/* @__PURE__ */ t.jsx("p", { className: "dc__align-self-stretch cn-7 fs-12 fw-1 lh-20", children: "Use variable to set dynamic value" })
|
21596
21597
|
] }),
|
@@ -21622,7 +21623,7 @@ const p0 = (e) => {
|
|
21622
21623
|
placeholder: "Search variables",
|
21623
21624
|
containerClass: "flexbox flex-grow-1 pt-8 pb-8 pl-10 pr-10 dc__gap-8 dc__align-self-stretch dc__align-items-center bg__secondary dc__border dc__border-radius-4-imp focus-within-border-b5 dc__hover-border-n300",
|
21624
21625
|
inputClass: "flex-grow-1 dc__no-border dc__outline-none-imp bg__secondary lh-20 fs-13 cn-9 fw-4 p-0 placeholder-cn5",
|
21625
|
-
Icon:
|
21626
|
+
Icon: qa,
|
21626
21627
|
iconClass: "icon-dim-16",
|
21627
21628
|
clearSearch: l
|
21628
21629
|
}
|
@@ -21751,7 +21752,7 @@ const p0 = (e) => {
|
|
21751
21752
|
R.y < 0 || R.x < 0 || R.x + (N.current?.getBoundingClientRect().width || 0) > _.width || R.y + (N.current?.getBoundingClientRect().height || 0) > _.height || (f(A), m(A));
|
21752
21753
|
};
|
21753
21754
|
return l ? /* @__PURE__ */ t.jsx(
|
21754
|
-
|
21755
|
+
Ka,
|
21755
21756
|
{
|
21756
21757
|
bounds: r,
|
21757
21758
|
handle: ".handle-drag",
|
@@ -21782,7 +21783,7 @@ const p0 = (e) => {
|
|
21782
21783
|
)
|
21783
21784
|
}
|
21784
21785
|
) : /* @__PURE__ */ t.jsx(
|
21785
|
-
|
21786
|
+
Ka,
|
21786
21787
|
{
|
21787
21788
|
bounds: r,
|
21788
21789
|
handle: ".handle-drag",
|
@@ -21805,7 +21806,7 @@ const p0 = (e) => {
|
|
21805
21806
|
type: "button",
|
21806
21807
|
onClick: S,
|
21807
21808
|
"data-testid": "activate-suggestions",
|
21808
|
-
children: /* @__PURE__ */ t.jsx(
|
21809
|
+
children: /* @__PURE__ */ t.jsx(Rr, { className: "scn-0 icon-dim-20" })
|
21809
21810
|
}
|
21810
21811
|
) })
|
21811
21812
|
]
|
@@ -21816,11 +21817,11 @@ const p0 = (e) => {
|
|
21816
21817
|
}, NM = Nt(V0), cp = (e, s, n, a, r) => {
|
21817
21818
|
const o = e.lastIndex;
|
21818
21819
|
Promise.resolve(s[o]()).then((i) => {
|
21819
|
-
e.results[o] = { status:
|
21820
|
+
e.results[o] = { status: ka.FULFILLED, value: i };
|
21820
21821
|
}).catch((i) => {
|
21821
|
-
e.results[o] = { status:
|
21822
|
+
e.results[o] = { status: ka.REJECTED, reason: i };
|
21822
21823
|
}).finally(() => {
|
21823
|
-
if (r && e.results[o].status ===
|
21824
|
+
if (r && e.results[o].status === ka.REJECTED) {
|
21824
21825
|
a(e.results[o].reason);
|
21825
21826
|
return;
|
21826
21827
|
}
|
@@ -21875,10 +21876,10 @@ class sd {
|
|
21875
21876
|
Progressing: 0,
|
21876
21877
|
Pending: 0
|
21877
21878
|
});
|
21878
|
-
|
21879
|
-
|
21879
|
+
Ta(this, fn, !1);
|
21880
|
+
Ta(this, _n, !1);
|
21880
21881
|
ne(this, "updateStatus", (s, n) => {
|
21881
|
-
n.status === "Completed" && !ks(this, _n) &&
|
21882
|
+
n.status === "Completed" && !ks(this, _n) && Sa(this, _n, !0), n.status === "Failed" && !ks(this, fn) && Sa(this, fn, !0), n.status === "Failed" && n.retryOperation && this.retryOperationsSet.has(s) && (this.retryOperations.push(n.retryOperation), this.retryOperationsSet.add(s)), n.status !== "Progressing" && (this.barChartEntities[n.status] ? this.barChartEntities[n.status] += 1 : this.barChartEntities[n.status] = 1), this.barChartEntities.Pending = this.size - (this.barChartEntities.Failed ?? 0) - (this.barChartEntities.Completed ?? 0), this.barChartEntities.Pending <= 0 && delete this.barChartEntities.Pending;
|
21882
21883
|
});
|
21883
21884
|
ne(this, "addResult", (s) => {
|
21884
21885
|
const n = structuredClone(s), a = this.results.length, r = { ...n, id: a };
|
@@ -22001,7 +22002,7 @@ const K0 = ({
|
|
22001
22002
|
}
|
22002
22003
|
),
|
22003
22004
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-8 py-8 px-16 dc__align-items-center", children: [
|
22004
|
-
e ?
|
22005
|
+
e ? or("Progressing") : /* @__PURE__ */ t.jsx(di, { className: "dc__no-shrink icon-dim-16" }),
|
22005
22006
|
c(a.getResultsStatusCount())
|
22006
22007
|
] })
|
22007
22008
|
] }),
|
@@ -22037,7 +22038,7 @@ const K0 = ({
|
|
22037
22038
|
/* @__PURE__ */ t.jsx(oe, { content: _.name, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: _.name }) }),
|
22038
22039
|
_.additionalKeys?.map((S) => /* @__PURE__ */ t.jsx(oe, { content: S.value, children: /* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: S.value || "-" }) })),
|
22039
22040
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__gap-6 dc__align-items-center dc__align-self-start", children: [
|
22040
|
-
_.status !== "Pending" &&
|
22041
|
+
_.status !== "Pending" && or(_.status),
|
22041
22042
|
/* @__PURE__ */ t.jsx("span", { children: _.status })
|
22042
22043
|
] }),
|
22043
22044
|
/* @__PURE__ */ t.jsx("span", { className: "dc__word-break", children: _.message }),
|
@@ -22100,7 +22101,7 @@ const K0 = ({
|
|
22100
22101
|
handleModalClose: e,
|
22101
22102
|
operations: s = [],
|
22102
22103
|
getResultsChartSummaryText: n,
|
22103
|
-
handleReloadDataAfterBulkOperation: a =
|
22104
|
+
handleReloadDataAfterBulkOperation: a = va,
|
22104
22105
|
hideResultsDrawer: r = !1,
|
22105
22106
|
textConfig: o,
|
22106
22107
|
shouldSkipConfirmation: i,
|
@@ -22167,10 +22168,10 @@ const K0 = ({
|
|
22167
22168
|
m(!1);
|
22168
22169
|
}
|
22169
22170
|
};
|
22170
|
-
k(() => (i && _().then(
|
22171
|
+
k(() => (i && _().then(va).catch(va), () => {
|
22171
22172
|
E.current?.abort();
|
22172
22173
|
}), []);
|
22173
|
-
const N = u ?
|
22174
|
+
const N = u ? va : h, C = async () => {
|
22174
22175
|
f.current = x.current.getRetryOperations(), x.current = new sd(f.current.length), E.current = new AbortController(), await _();
|
22175
22176
|
}, S = () => {
|
22176
22177
|
E.current.abort();
|
@@ -22243,7 +22244,7 @@ const K0 = ({
|
|
22243
22244
|
]
|
22244
22245
|
}
|
22245
22246
|
) }) });
|
22246
|
-
},
|
22247
|
+
}, Pa = {
|
22247
22248
|
ACTION_TEXT: "Select an image source for new workflow",
|
22248
22249
|
ACTION_NOTE: "You can switch between image sources later",
|
22249
22250
|
CHANGE_CI_TEXT: "Change image source",
|
@@ -22398,8 +22399,8 @@ const K0 = ({
|
|
22398
22399
|
children: [
|
22399
22400
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col w-250 pt-32 bg__tertiary dc__content-space", children: [
|
22400
22401
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-6 dc__align-self-stretch pt-0 pb-0 pl-24 pr-24", children: [
|
22401
|
-
/* @__PURE__ */ t.jsx("h2", { className: "m-0 cn-9 fs-16 fw-6 lh-24", children: o ?
|
22402
|
-
/* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20", children: o ?
|
22402
|
+
/* @__PURE__ */ t.jsx("h2", { className: "m-0 cn-9 fs-16 fw-6 lh-24", children: o ? Pa.CHANGE_CI_TEXT : Pa.ACTION_TEXT }),
|
22403
|
+
/* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20", children: o ? Pa.CHANGE_CI_NOTE : Pa.ACTION_NOTE })
|
22403
22404
|
] }),
|
22404
22405
|
/* @__PURE__ */ t.jsx(
|
22405
22406
|
"img",
|
@@ -22630,7 +22631,7 @@ const K0 = ({
|
|
22630
22631
|
iconNode: 36,
|
22631
22632
|
textNode: 36,
|
22632
22633
|
dropdownNode: 36
|
22633
|
-
}, Co = 16,
|
22634
|
+
}, Co = 16, Ma = 20, ny = 50, dp = 12, od = { x: 16, y: 20, zoom: 1 }, id = (e) => e.map((s) => ({
|
22634
22635
|
...s,
|
22635
22636
|
type: "step",
|
22636
22637
|
markerEnd: {
|
@@ -22690,9 +22691,9 @@ const K0 = ({
|
|
22690
22691
|
if (r.current && u.length) {
|
22691
22692
|
const _ = r.current.getNodesBounds(u);
|
22692
22693
|
return [
|
22693
|
-
[_.x - Co, _.y -
|
22694
|
+
[_.x - Co, _.y - Ma],
|
22694
22695
|
// minX, minY
|
22695
|
-
[_.x + _.width + Co, _.y + _.height +
|
22696
|
+
[_.x + _.width + Co, _.y + _.height + Ma]
|
22696
22697
|
// maxX, maxY
|
22697
22698
|
];
|
22698
22699
|
}
|
@@ -22700,7 +22701,7 @@ const K0 = ({
|
|
22700
22701
|
[-1 / 0, -1 / 0],
|
22701
22702
|
[1 / 0, 1 / 0]
|
22702
22703
|
];
|
22703
|
-
}, [r.current, u]), f = q(() => r.current && u.length ? r.current.getNodesBounds(u).height +
|
22704
|
+
}, [r.current, u]), f = q(() => r.current && u.length ? r.current.getNodesBounds(u).height + Ma * 2 : 0, [r.current, u]);
|
22704
22705
|
k(() => {
|
22705
22706
|
if (!o.current || !r.current) return () => {
|
22706
22707
|
};
|
@@ -22726,7 +22727,7 @@ const K0 = ({
|
|
22726
22727
|
a((N) => Uf(_, id(N)).map(({ type: C, ...S }) => S));
|
22727
22728
|
}, g = (_) => {
|
22728
22729
|
const N = r.current.getNodesBounds(u), C = _;
|
22729
|
-
C.x = Math.min(_.x, od.x), C.y = Math.abs(N.y -
|
22730
|
+
C.x = Math.min(_.x, od.x), C.y = Math.abs(N.y - Ma), c(C);
|
22730
22731
|
}, h = async (_) => {
|
22731
22732
|
r.current = _, await _.setViewport(od);
|
22732
22733
|
};
|
@@ -22818,7 +22819,7 @@ const iy = (e) => e === mp.NONE ? "" : "dc__border-n1", AM = ({
|
|
22818
22819
|
warning: "bcy-1 ey-2",
|
22819
22820
|
neutral: "bcn-1 en-2"
|
22820
22821
|
}, ly = {
|
22821
|
-
error: /* @__PURE__ */ t.jsx(
|
22822
|
+
error: /* @__PURE__ */ t.jsx(Ir, {}),
|
22822
22823
|
help: /* @__PURE__ */ t.jsx(Nn, { className: "fcv-5" }),
|
22823
22824
|
information: /* @__PURE__ */ t.jsx(Le, { name: "ic-info-filled", color: "B500" }),
|
22824
22825
|
success: /* @__PURE__ */ t.jsx(xi, {}),
|
@@ -22844,7 +22845,7 @@ const iy = (e) => e === mp.NONE ? "" : "dc__border-n1", AM = ({
|
|
22844
22845
|
borderRadiusConfig: c,
|
22845
22846
|
borderConfig: l
|
22846
22847
|
}) => {
|
22847
|
-
const d = `${dy[n]} ${cy[s]} ${
|
22848
|
+
const d = `${dy[n]} ${cy[s]} ${Dr({ borderConfig: l, borderRadiusConfig: c })} w-100 py-8 br-4 bw-1`, u = `dc__no-shrink flex dc__fill-available-space ${uy[n]}`, m = a ?? ly[s], p = () => /* @__PURE__ */ t.jsx("span", { className: u, children: m }), f = () => o ? typeof o == "string" ? /* @__PURE__ */ t.jsx(
|
22848
22849
|
"h6",
|
22849
22850
|
{
|
22850
22851
|
className: `cn-9 ${n === P.large ? "fs-13 lh-20" : "fs-12 lh-18"} fw-6 m-0 dc__truncate--clamp-3 dc__word-break`,
|
@@ -22990,7 +22991,7 @@ const iy = (e) => e === mp.NONE ? "" : "dc__border-n1", AM = ({
|
|
22990
22991
|
}
|
22991
22992
|
) }),
|
22992
22993
|
/* @__PURE__ */ t.jsx(
|
22993
|
-
|
22994
|
+
Ca,
|
22994
22995
|
{
|
22995
22996
|
placeholder: "Phone Number",
|
22996
22997
|
name: a,
|
@@ -23320,7 +23321,7 @@ const pp = () => {
|
|
23320
23321
|
}, Cy = () => {
|
23321
23322
|
window.open(Ei);
|
23322
23323
|
};
|
23323
|
-
function
|
23324
|
+
function gr(e, s) {
|
23324
23325
|
const n = Te.useRef(!0);
|
23325
23326
|
Te.useEffect(() => {
|
23326
23327
|
if (!n.current)
|
@@ -23334,7 +23335,7 @@ function wM(e) {
|
|
23334
23335
|
"$1"
|
23335
23336
|
) || null;
|
23336
23337
|
}
|
23337
|
-
function
|
23338
|
+
function xr(e, s = !1) {
|
23338
23339
|
let n = "";
|
23339
23340
|
try {
|
23340
23341
|
if (e && e.length && e !== bn) {
|
@@ -23387,7 +23388,7 @@ function pd(e, s = 4, n = "json", a = !1) {
|
|
23387
23388
|
}, [e, s, n, a]), [l, r, i, u];
|
23388
23389
|
}
|
23389
23390
|
const by = ["name", "namespace", "labels", "annotations"];
|
23390
|
-
function
|
23391
|
+
function Er(e) {
|
23391
23392
|
if (!e)
|
23392
23393
|
return e;
|
23393
23394
|
try {
|
@@ -23473,7 +23474,7 @@ function qt(e, s = [], n = !0, a = { resetOnChange: !0 }) {
|
|
23473
23474
|
};
|
23474
23475
|
return [r.loading, r.result, r.error, l, d, r.dependencies];
|
23475
23476
|
}
|
23476
|
-
const kM = (e, s) => e ?
|
23477
|
+
const kM = (e, s) => e ? xr(e, !0) : s ? "" : "Not deployed", Xe = (e, s = {}) => {
|
23477
23478
|
const n = new URLSearchParams();
|
23478
23479
|
Object.keys(s).forEach((r) => {
|
23479
23480
|
iu.includes(s[r]) || (Array.isArray(s[r]) ? s[r].forEach((o) => {
|
@@ -23482,7 +23483,7 @@ const kM = (e, s) => e ? Er(e, !0) : s ? "" : "Not deployed", Xe = (e, s = {}) =
|
|
23482
23483
|
});
|
23483
23484
|
const a = n.toString();
|
23484
23485
|
return e + (a ? `?${a}` : "");
|
23485
|
-
},
|
23486
|
+
}, Ya = Sd.bind(window), UM = {
|
23486
23487
|
control: (e, s) => ({
|
23487
23488
|
...e,
|
23488
23489
|
minHeight: "32px",
|
@@ -23680,7 +23681,7 @@ const JM = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, Ay = (e, s = 300) => {
|
|
23680
23681
|
const r = Date.now();
|
23681
23682
|
r - n >= s && (n = r, e(...a));
|
23682
23683
|
};
|
23683
|
-
}, yy = (e, s, n) => e === Wt.WEBHOOK ? n === Zn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(_i, { className: "scn-6" }) : n === Zn.TAG_CREATION ? /* @__PURE__ */ t.jsx(
|
23684
|
+
}, yy = (e, s, n) => e === Wt.WEBHOOK ? n === Zn.PULL_REQUEST ? /* @__PURE__ */ t.jsx(_i, { className: "scn-6" }) : n === Zn.TAG_CREATION ? /* @__PURE__ */ t.jsx(br, { className: "scn-6" }) : /* @__PURE__ */ t.jsx(su, {}) : e === Wt.BranchRegex || s ? /* @__PURE__ */ t.jsx(Zd, { className: "fcn-6" }) : /* @__PURE__ */ t.jsx(Ud, { className: "fcn-6" }), Np = (e) => Os.sanitize(e, {
|
23684
23685
|
ADD_TAGS: ["iframe"],
|
23685
23686
|
ADD_ATTR: ["allow", "allowfullscreen", "frameborder", "scrolling"]
|
23686
23687
|
}), ZM = (e, s) => {
|
@@ -23705,7 +23706,7 @@ const JM = (e = 0) => e > 0 && e < 10 ? `0${e}` : e, Ay = (e, s = 300) => {
|
|
23705
23706
|
const n = new TextEncoder().encode(e), a = await window.crypto.subtle.digest("SHA-256", n);
|
23706
23707
|
return Array.from(new Uint8Array(a)).map((r) => r.toString(16).padStart(2, "0")).join("");
|
23707
23708
|
} catch (s) {
|
23708
|
-
return
|
23709
|
+
return Ya(s), null;
|
23709
23710
|
}
|
23710
23711
|
}, Ry = (e) => {
|
23711
23712
|
const s = Math.abs(e);
|
@@ -23937,7 +23938,7 @@ Qi.ButtonGroup = Py;
|
|
23937
23938
|
const ni = Ut({ title: "", isLoading: !1, close: (e) => {
|
23938
23939
|
}, onSave: (e) => {
|
23939
23940
|
} });
|
23940
|
-
class ik extends
|
23941
|
+
class ik extends Cr {
|
23941
23942
|
constructor(s) {
|
23942
23943
|
super(s), this.escFunction = this.escFunction.bind(this);
|
23943
23944
|
}
|
@@ -23983,7 +23984,7 @@ class ik extends br {
|
|
23983
23984
|
);
|
23984
23985
|
}
|
23985
23986
|
}
|
23986
|
-
class ck extends
|
23987
|
+
class ck extends Cr {
|
23987
23988
|
render() {
|
23988
23989
|
return /* @__PURE__ */ t.jsx(ni.Consumer, { children: (s) => /* @__PURE__ */ t.jsx("button", { type: "submit", className: "cta dc__align-right", tabIndex: this.props.tabIndex, children: s.isLoading ? /* @__PURE__ */ t.jsx(Fe, {}) : this.props.children }) });
|
23989
23990
|
}
|
@@ -24144,7 +24145,7 @@ const ec = ({
|
|
24144
24145
|
{
|
24145
24146
|
className: `search-bar ${l ? "dc__no-border dc__no-background dc__hover-n50" : "bg__secondary en-2 dc__hover-border-n300"} focus-within-border-b5 dc__block w-100 min-w-200 dc__position-rel br-4 bw-1 ${ky(d)}`,
|
24146
24147
|
children: [
|
24147
|
-
/* @__PURE__ */ t.jsx(
|
24148
|
+
/* @__PURE__ */ t.jsx(qa, { className: "search-bar__icon dc__position-abs icon-color-n6 icon-dim-16" }),
|
24148
24149
|
/* @__PURE__ */ t.jsx(
|
24149
24150
|
"input",
|
24150
24151
|
{
|
@@ -24189,9 +24190,9 @@ const ec = ({
|
|
24189
24190
|
...u
|
24190
24191
|
}) => {
|
24191
24192
|
const [m, p] = Te.useState(e);
|
24192
|
-
|
24193
|
+
gr(() => {
|
24193
24194
|
typeof s == "function" && m !== e && s(m);
|
24194
|
-
}, [m]),
|
24195
|
+
}, [m]), gr(() => {
|
24195
24196
|
p(e);
|
24196
24197
|
}, [e]);
|
24197
24198
|
function f() {
|
@@ -24357,7 +24358,7 @@ const yp = ({
|
|
24357
24358
|
K.key === "Enter" && K.target.value.trim() && B(K.target.value.trim());
|
24358
24359
|
}, $t = (K) => {
|
24359
24360
|
K.target.value && M(K.target.value), Ae(K.target.value);
|
24360
|
-
},
|
24361
|
+
}, ba = (K) => {
|
24361
24362
|
xe(K), de.trim() && B(de.trim());
|
24362
24363
|
}, vn = () => {
|
24363
24364
|
let K = O;
|
@@ -24384,7 +24385,7 @@ const yp = ({
|
|
24384
24385
|
de.length > 0 && /* @__PURE__ */ t.jsxs(
|
24385
24386
|
"div",
|
24386
24387
|
{
|
24387
|
-
onClick:
|
24388
|
+
onClick: ba,
|
24388
24389
|
className: "dc__position-abs bg__primary flex cursor pt-2 pb-2 pr-4 pl-4 br-2 cn-7 dc__border dc__border-bottom-2",
|
24389
24390
|
style: {
|
24390
24391
|
top: "50%",
|
@@ -24404,7 +24405,7 @@ const yp = ({
|
|
24404
24405
|
/* @__PURE__ */ t.jsx("div", { className: "form__error", children: R })
|
24405
24406
|
] }),
|
24406
24407
|
/* @__PURE__ */ t.jsx("div", { className: "flex-wrap mt-8 flex left", children: I?.map((K, Ie) => /* @__PURE__ */ t.jsx(
|
24407
|
-
|
24408
|
+
Nr,
|
24408
24409
|
{
|
24409
24410
|
text: K?.tagName,
|
24410
24411
|
isSoftDeleted: K?.deleted,
|
@@ -24474,7 +24475,7 @@ const yp = ({
|
|
24474
24475
|
children: /* @__PURE__ */ t.jsxs("div", { className: "w-100", children: [
|
24475
24476
|
E && /* @__PURE__ */ t.jsx("div", { className: "mb-6 fs-13 lh-20 dc__word-break-all", children: E }),
|
24476
24477
|
/* @__PURE__ */ t.jsx("div", { className: "flex-wrap flex left", children: f?.map((K, Ie) => /* @__PURE__ */ t.jsx(
|
24477
|
-
|
24478
|
+
Nr,
|
24478
24479
|
{
|
24479
24480
|
text: K?.tagName,
|
24480
24481
|
isSoftDeleted: K?.deleted,
|
@@ -24497,7 +24498,7 @@ const yp = ({
|
|
24497
24498
|
}
|
24498
24499
|
),
|
24499
24500
|
/* @__PURE__ */ t.jsx("div", { className: "mt-8 mr-10 icon-dim-16", children: c && /* @__PURE__ */ t.jsx(
|
24500
|
-
|
24501
|
+
Tr,
|
24501
24502
|
{
|
24502
24503
|
className: "icon-dim-16 image-tags-container-edit__icon cursor",
|
24503
24504
|
"data-testid": "edit-tags-icon",
|
@@ -24507,7 +24508,7 @@ const yp = ({
|
|
24507
24508
|
}
|
24508
24509
|
) })
|
24509
24510
|
] }) });
|
24510
|
-
},
|
24511
|
+
}, Nr = ({
|
24511
24512
|
text: e,
|
24512
24513
|
isSoftDeleted: s,
|
24513
24514
|
isEditing: n,
|
@@ -24567,7 +24568,7 @@ const yp = ({
|
|
24567
24568
|
xe(n), e();
|
24568
24569
|
};
|
24569
24570
|
return /* @__PURE__ */ t.jsx("div", { className: "add-tag-button flex pt-12 pr-12", "data-testid": "add-tags-button", onClick: s, children: /* @__PURE__ */ t.jsxs("div", { className: "lh-16 flex", children: [
|
24570
|
-
/* @__PURE__ */ t.jsx(
|
24571
|
+
/* @__PURE__ */ t.jsx(Sr, { className: "icon-dim-16 cn-6" }),
|
24571
24572
|
/* @__PURE__ */ t.jsx("span", { className: "cn-7", children: "Add labels/comment" })
|
24572
24573
|
] }) });
|
24573
24574
|
};
|
@@ -24841,7 +24842,7 @@ function fk({
|
|
24841
24842
|
style: {
|
24842
24843
|
zIndex: s
|
24843
24844
|
},
|
24844
|
-
children: /* @__PURE__ */ t.jsx(
|
24845
|
+
children: /* @__PURE__ */ t.jsx(Ka, { handle: a, nodeRef: d, position: u, onDrag: f, children: /* @__PURE__ */ t.jsx(
|
24845
24846
|
"div",
|
24846
24847
|
{
|
24847
24848
|
ref: d,
|
@@ -25284,7 +25285,7 @@ const Bt = {
|
|
25284
25285
|
className: "dc__align-right pencil-icon cursor flex fw-6 cn-7",
|
25285
25286
|
onClick: C,
|
25286
25287
|
children: [
|
25287
|
-
/* @__PURE__ */ t.jsx(
|
25288
|
+
/* @__PURE__ */ t.jsx(Tr, { className: "icon-dim-16 mr-4 scn-7" }),
|
25288
25289
|
" Edit"
|
25289
25290
|
]
|
25290
25291
|
}
|
@@ -25411,7 +25412,7 @@ function nR(e, {
|
|
25411
25412
|
isTemplateView: n
|
25412
25413
|
}) {
|
25413
25414
|
let a;
|
25414
|
-
return s ? a = `${Mo.CI_PIPELINE_PATCH}/regex` : a = n ?
|
25415
|
+
return s ? a = `${Mo.CI_PIPELINE_PATCH}/regex` : a = n ? Mr({
|
25415
25416
|
type: pa.CI_PIPELINE,
|
25416
25417
|
queryParams: {
|
25417
25418
|
id: e.appId
|
@@ -25419,11 +25420,11 @@ function nR(e, {
|
|
25419
25420
|
}) : Mo.CI_PIPELINE_PATCH, ht(a, e);
|
25420
25421
|
}
|
25421
25422
|
function aR(e, s, n) {
|
25422
|
-
const a = n ?
|
25423
|
+
const a = n ? Mr({
|
25423
25424
|
type: pa.WORKFLOW,
|
25424
25425
|
queryParams: { id: e, appWorkflowId: s }
|
25425
25426
|
}) : `${Mo.WORKFLOW}/${e}/${s}`;
|
25426
|
-
return
|
25427
|
+
return Pr(a);
|
25427
25428
|
}
|
25428
25429
|
const Ek = ({
|
25429
25430
|
testId: e,
|
@@ -25536,7 +25537,7 @@ export {
|
|
25536
25537
|
Fr as E,
|
25537
25538
|
jx as F,
|
25538
25539
|
et as G,
|
25539
|
-
|
25540
|
+
Xa as H,
|
25540
25541
|
ec as I,
|
25541
25542
|
sD as J,
|
25542
25543
|
rs as K,
|
@@ -25566,7 +25567,7 @@ export {
|
|
25566
25567
|
Ux as a5,
|
25567
25568
|
$x as a6,
|
25568
25569
|
cD as a7,
|
25569
|
-
|
25570
|
+
Ia as a8,
|
25570
25571
|
lD as a9,
|
25571
25572
|
Vx as aA,
|
25572
25573
|
Hn as aB,
|
@@ -25607,7 +25608,7 @@ export {
|
|
25607
25608
|
vt as aj,
|
25608
25609
|
uD as ak,
|
25609
25610
|
Tc as al,
|
25610
|
-
|
25611
|
+
Ja as am,
|
25611
25612
|
gt as an,
|
25612
25613
|
mD as ao,
|
25613
25614
|
uu as ap,
|
@@ -25623,14 +25624,14 @@ export {
|
|
25623
25624
|
Fx as az,
|
25624
25625
|
BM as b,
|
25625
25626
|
P1 as b$,
|
25626
|
-
|
25627
|
+
gr as b0,
|
25627
25628
|
wM as b1,
|
25628
|
-
|
25629
|
+
xr as b2,
|
25629
25630
|
DM as b3,
|
25630
25631
|
PM as b4,
|
25631
25632
|
MM as b5,
|
25632
25633
|
pd as b6,
|
25633
|
-
|
25634
|
+
Er as b7,
|
25634
25635
|
fp as b8,
|
25635
25636
|
qt as b9,
|
25636
25637
|
ZM as bA,
|
@@ -25662,7 +25663,7 @@ export {
|
|
25662
25663
|
GT as b_,
|
25663
25664
|
kM as ba,
|
25664
25665
|
Xe as bb,
|
25665
|
-
|
25666
|
+
Ya as bc,
|
25666
25667
|
UM as bd,
|
25667
25668
|
fd as be,
|
25668
25669
|
_d as bf,
|
@@ -25703,7 +25704,7 @@ export {
|
|
25703
25704
|
$y as cC,
|
25704
25705
|
By as cD,
|
25705
25706
|
yp as cE,
|
25706
|
-
|
25707
|
+
Nr as cF,
|
25707
25708
|
Uu as cG,
|
25708
25709
|
sC as cH,
|
25709
25710
|
yi as cI,
|
@@ -25726,7 +25727,7 @@ export {
|
|
25726
25727
|
$v as cZ,
|
25727
25728
|
vD as c_,
|
25728
25729
|
QD as ca,
|
25729
|
-
|
25730
|
+
tr as cb,
|
25730
25731
|
la as cc,
|
25731
25732
|
eC as cd,
|
25732
25733
|
eP as ce,
|
@@ -25741,7 +25742,7 @@ export {
|
|
25741
25742
|
Ip as cn,
|
25742
25743
|
Qu as co,
|
25743
25744
|
r1 as cp,
|
25744
|
-
|
25745
|
+
er as cq,
|
25745
25746
|
LN as cr,
|
25746
25747
|
wN as cs,
|
25747
25748
|
DN as ct,
|
@@ -25758,7 +25759,7 @@ export {
|
|
25758
25759
|
Ai as d2,
|
25759
25760
|
ZD as d3,
|
25760
25761
|
me as d4,
|
25761
|
-
|
25762
|
+
Pr as d5,
|
25762
25763
|
Zt as d6,
|
25763
25764
|
Mu as d7,
|
25764
25765
|
VN as d8,
|
@@ -25767,14 +25768,14 @@ export {
|
|
25767
25768
|
Tu as dB,
|
25768
25769
|
Rs as dC,
|
25769
25770
|
Su as dD,
|
25770
|
-
|
25771
|
+
Qa as dE,
|
25771
25772
|
ea as dF,
|
25772
25773
|
Uo as dG,
|
25773
25774
|
$o as dH,
|
25774
25775
|
Ct as dI,
|
25775
25776
|
vu as dJ,
|
25776
25777
|
ws as dK,
|
25777
|
-
|
25778
|
+
Lr as dL,
|
25778
25779
|
Ze as dM,
|
25779
25780
|
wD as dN,
|
25780
25781
|
eo as dO,
|
@@ -25896,7 +25897,7 @@ export {
|
|
25896
25897
|
I1 as fB,
|
25897
25898
|
Bn as fC,
|
25898
25899
|
Wo as fD,
|
25899
|
-
|
25900
|
+
cr as fE,
|
25900
25901
|
hm as fF,
|
25901
25902
|
DT as fG,
|
25902
25903
|
Vi as fH,
|
@@ -25975,7 +25976,7 @@ export {
|
|
25975
25976
|
tM as gP,
|
25976
25977
|
sM as gQ,
|
25977
25978
|
vA as gR,
|
25978
|
-
|
25979
|
+
Ga as gS,
|
25979
25980
|
AA as gT,
|
25980
25981
|
yA as gU,
|
25981
25982
|
RA as gV,
|
@@ -26024,7 +26025,7 @@ export {
|
|
26024
26025
|
ep as h9,
|
26025
26026
|
Rm as hA,
|
26026
26027
|
Fn as hB,
|
26027
|
-
|
26028
|
+
Da as hC,
|
26028
26029
|
jm as hD,
|
26029
26030
|
po as hE,
|
26030
26031
|
vm as hF,
|
@@ -26039,14 +26040,14 @@ export {
|
|
26039
26040
|
i1 as hO,
|
26040
26041
|
Q as hP,
|
26041
26042
|
l1 as hQ,
|
26042
|
-
|
26043
|
+
or as hR,
|
26043
26044
|
un as hS,
|
26044
26045
|
Ab as hT,
|
26045
26046
|
uT as hU,
|
26046
26047
|
rm as hV,
|
26047
26048
|
om as hW,
|
26048
26049
|
mT as hX,
|
26049
|
-
|
26050
|
+
ir as hY,
|
26050
26051
|
d1 as hZ,
|
26051
26052
|
im as h_,
|
26052
26053
|
LA as ha,
|
@@ -26087,11 +26088,11 @@ export {
|
|
26087
26088
|
pM as i7,
|
26088
26089
|
fM as i8,
|
26089
26090
|
Js as i9,
|
26090
|
-
|
26091
|
+
_r as iA,
|
26091
26092
|
wn as iB,
|
26092
26093
|
b0 as iC,
|
26093
26094
|
aa as iD,
|
26094
|
-
|
26095
|
+
hr as iE,
|
26095
26096
|
NM as iF,
|
26096
26097
|
Cv as iG,
|
26097
26098
|
CM as iH,
|
@@ -26141,7 +26142,7 @@ export {
|
|
26141
26142
|
$M as j,
|
26142
26143
|
ju as j$,
|
26143
26144
|
ZI as j0,
|
26144
|
-
|
26145
|
+
Ca as j1,
|
26145
26146
|
q1 as j2,
|
26146
26147
|
yM as j3,
|
26147
26148
|
St as j4,
|
@@ -26174,7 +26175,7 @@ export {
|
|
26174
26175
|
js as jV,
|
26175
26176
|
nN as jW,
|
26176
26177
|
aN as jX,
|
26177
|
-
|
26178
|
+
$a as jY,
|
26178
26179
|
Ru as jZ,
|
26179
26180
|
WD as j_,
|
26180
26181
|
ti as ja,
|
@@ -26213,7 +26214,7 @@ export {
|
|
26213
26214
|
Ou as k5,
|
26214
26215
|
Xs as k6,
|
26215
26216
|
qD as k7,
|
26216
|
-
|
26217
|
+
wr as k8,
|
26217
26218
|
iN as k9,
|
26218
26219
|
sE as kA,
|
26219
26220
|
nE as kB,
|
@@ -26221,7 +26222,7 @@ export {
|
|
26221
26222
|
qs as kD,
|
26222
26223
|
Tt as kE,
|
26223
26224
|
rE as kF,
|
26224
|
-
|
26225
|
+
Za as kG,
|
26225
26226
|
oE as kH,
|
26226
26227
|
iE as kI,
|
26227
26228
|
hu as kJ,
|
@@ -26235,15 +26236,15 @@ export {
|
|
26235
26236
|
CT as kR,
|
26236
26237
|
dm as kS,
|
26237
26238
|
N1 as kT,
|
26238
|
-
|
26239
|
+
kr as kU,
|
26239
26240
|
fm as kV,
|
26240
26241
|
C1 as kW,
|
26241
26242
|
b1 as kX,
|
26242
|
-
|
26243
|
+
Aa as kY,
|
26243
26244
|
Zr as kZ,
|
26244
26245
|
fD as k_,
|
26245
26246
|
cN as ka,
|
26246
|
-
|
26247
|
+
Dr as kb,
|
26247
26248
|
XD as kc,
|
26248
26249
|
uN as kd,
|
26249
26250
|
mN as ke,
|
@@ -26258,13 +26259,13 @@ export {
|
|
26258
26259
|
Jx as kn,
|
26259
26260
|
fu as ko,
|
26260
26261
|
ct as kp,
|
26261
|
-
|
26262
|
+
jr as kq,
|
26262
26263
|
Zx as kr,
|
26263
26264
|
Zn as ks,
|
26264
26265
|
Ft as kt,
|
26265
26266
|
Qx as ku,
|
26266
26267
|
eE as kv,
|
26267
|
-
|
26268
|
+
ka as kw,
|
26268
26269
|
tE as kx,
|
26269
26270
|
_u as ky,
|
26270
26271
|
pD as kz,
|
@@ -26276,7 +26277,7 @@ export {
|
|
26276
26277
|
Gn as l3,
|
26277
26278
|
dE as l4,
|
26278
26279
|
is as l5,
|
26279
|
-
|
26280
|
+
Ua as l6,
|
26280
26281
|
wo as l7,
|
26281
26282
|
z as l8,
|
26282
26283
|
Ke as l9,
|
@@ -26299,7 +26300,7 @@ export {
|
|
26299
26300
|
ko as lQ,
|
26300
26301
|
ot as lR,
|
26301
26302
|
Ls as lS,
|
26302
|
-
|
26303
|
+
Or as lT,
|
26303
26304
|
bu as lU,
|
26304
26305
|
ob as lV,
|
26305
26306
|
ib as lW,
|
@@ -26308,7 +26309,7 @@ export {
|
|
26308
26309
|
db as lZ,
|
26309
26310
|
XP as l_,
|
26310
26311
|
yt as la,
|
26311
|
-
|
26312
|
+
ya as lb,
|
26312
26313
|
ge as lc,
|
26313
26314
|
uE as ld,
|
26314
26315
|
mE as le,
|
@@ -26341,7 +26342,7 @@ export {
|
|
26341
26342
|
e1 as m4,
|
26342
26343
|
Ne as m5,
|
26343
26344
|
zu as m6,
|
26344
|
-
|
26345
|
+
Mr as m7,
|
26345
26346
|
Ki as m8,
|
26346
26347
|
QS as m9,
|
26347
26348
|
ev as ma,
|