@devtron-labs/devtron-fe-common-lib 1.2.3 → 1.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{@code-editor-kxDt4p4d.js → @code-editor-BJnp-BE4.js} +156 -155
- package/dist/{@common-rjsf-BOkhz4Ft.js → @common-rjsf-DO0g3_cl.js} +2 -2
- package/dist/{@framer-motion-ttHHVvcU.js → @framer-motion-DHY98qq3.js} +1 -1
- package/dist/{@react-dates-BYL_9BKq.js → @react-dates-WNnwjI5S.js} +20 -20
- package/dist/{@react-select-C2X4wjQ5.js → @react-select-BbR996pa.js} +1 -1
- package/dist/{@vendor-qw62fvSw.js → @vendor-RU8AW1bK.js} +3948 -3909
- package/dist/Common/Constants.d.ts +1 -0
- package/dist/index.js +2 -2
- package/package.json +1 -1
@@ -5,8 +5,8 @@ var Er = (e) => {
|
|
5
5
|
var uc = (e, s, n) => s in e ? dc(e, s, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[s] = n;
|
6
6
|
var Ge = (e, s, n) => uc(e, typeof s != "symbol" ? s + "" : s, n), Nr = (e, s, n) => s.has(e) || Er("Cannot " + n);
|
7
7
|
var ca = (e, s, n) => (Nr(e, s, "read from private field"), n ? n.call(e) : s.get(e)), br = (e, s, n) => s.has(e) ? Er("Cannot add the same private member more than once") : s instanceof WeakSet ? s.add(e) : s.set(e, n), Cr = (e, s, n, a) => (Nr(e, s, "write to private field"), a ? a.call(e, n) : s.set(e, n), n);
|
8
|
-
import { j as t, i as Q, Q as da, k as mc, d as Zo, h as pc, A as fc, R as hc, s as _c, f as gc, c as ei, u as ti, J as xc, a as Ec, b as Nc, m as Sn } from "./@vendor-
|
9
|
-
import J, { useState as A, cloneElement as Ca, createContext as Bt, useContext as Zs, useMemo as te, useEffect as O, Component as Kn, createElement as si, useCallback as ye, useRef as X, Fragment as Hs, useReducer as bc, createRef as
|
8
|
+
import { j as t, i as Q, Q as da, k as mc, d as Zo, h as pc, A as fc, R as hc, s as _c, f as gc, c as ei, u as ti, J as xc, a as Ec, b as Nc, m as Sn } from "./@vendor-RU8AW1bK.js";
|
9
|
+
import J, { useState as A, cloneElement as Ca, createContext as Bt, useContext as Zs, useMemo as te, useEffect as O, Component as Kn, createElement as si, useCallback as ye, useRef as X, Fragment as Hs, useReducer as bc, createRef as ls } from "react";
|
10
10
|
import Cc, { ReactComponent as Mt } from "./assets/ic-chevron-down.fc70d7a7.svg";
|
11
11
|
import { ReactComponent as Tc } from "./assets/ic-check-square.2a3d3fb9.svg";
|
12
12
|
import { ReactComponent as Sc } from "./assets/ic-check-all.0376437d.svg";
|
@@ -21,7 +21,7 @@ import { ReactComponent as Tt } from "./assets/ic-warning.10bcf8bd.svg";
|
|
21
21
|
import { ReactComponent as yc } from "./assets/ic-cpu.8be677ee.svg";
|
22
22
|
import { ReactComponent as Lc } from "./assets/ic-memory.c4159f96.svg";
|
23
23
|
import { ReactComponent as ri } from "./assets/ic-timer.b62145ec.svg";
|
24
|
-
import { Link as
|
24
|
+
import { Link as ss, useHistory as $t, NavLink as ze, useParams as Ze, useLocation as Ft, useRouteMatch as vt, generatePath as Jt, Switch as oi, Route as zt, Redirect as wc } from "react-router-dom";
|
25
25
|
import { ReactComponent as Rc } from "./assets/ic-delete-interactive.304dd293.svg";
|
26
26
|
import Xt from "yaml";
|
27
27
|
import { ReactComponent as er } from "./assets/ic-info-filled-override.99e8094a.svg";
|
@@ -32,7 +32,7 @@ import Pc, { ReactComponent as ii } from "./assets/ic-mechanical-operation.08b38
|
|
32
32
|
import { ReactComponent as Dc } from "./assets/ic-clair.ba79956f.svg";
|
33
33
|
import { ReactComponent as Mc } from "./assets/ic-trivy.d5338454.svg";
|
34
34
|
import { ReactComponent as kc } from "./assets/ic-caret-left-small.fe00c98d.svg";
|
35
|
-
import { ReactComponent as
|
35
|
+
import { ReactComponent as Es } from "./assets/ic-info-outlined.f4fa3224.svg";
|
36
36
|
import { ReactComponent as vs } from "./assets/ic-error-cross.bf21e563.svg";
|
37
37
|
import { ReactComponent as li } from "./assets/ic-success.8c8fe69d.svg";
|
38
38
|
import { ReactComponent as tr } from "./assets/ic-clock.c21a2d14.svg";
|
@@ -74,7 +74,7 @@ import { ReactComponent as Qn } from "./assets/ic-help.39c58c34.svg";
|
|
74
74
|
import { ReactComponent as fi } from "./assets/ic-arrow-out.6aea09d0.svg";
|
75
75
|
import { ReactComponent as hi } from "./assets/ic-arrow-forward.a2b8ab45.svg";
|
76
76
|
import _i from "./assets/app-not-deployed.acdf0271.png";
|
77
|
-
import { ReactComponent as
|
77
|
+
import { ReactComponent as ns } from "./assets/ic-error-exclamation.c224de09.svg";
|
78
78
|
import { BehaviorSubject as Zn } from "rxjs";
|
79
79
|
import { ReactComponent as nd } from "./assets/ic-errorInfo.d8d674b8.svg";
|
80
80
|
import { ReactComponent as ad } from "./assets/ic-fullscreen.b05e5087.svg";
|
@@ -83,7 +83,7 @@ import { ReactComponent as od } from "./assets/ic-medium-info.eee4a07b.svg";
|
|
83
83
|
import { ReactComponent as gi } from "./assets/ic-warning-y5.2ad9d7f4.svg";
|
84
84
|
import id, { ReactComponent as ld } from "./assets/delete-medium.baa284da.svg";
|
85
85
|
import { deepEquals as xi } from "@rjsf/utils";
|
86
|
-
import { m as Ei, A as cd } from "./@framer-motion-
|
86
|
+
import { m as Ei, A as cd } from "./@framer-motion-DHY98qq3.js";
|
87
87
|
import rr, { createPortal as dd } from "react-dom";
|
88
88
|
import { ReactComponent as ud } from "./assets/ic-code-commit.161a6b3c.svg";
|
89
89
|
import { ReactComponent as or } from "./assets/ic-error.a25d2f0d.svg";
|
@@ -98,7 +98,7 @@ import _d, { MonacoDiffEditor as gd } from "react-monaco-editor";
|
|
98
98
|
import { e as ys, K as xd, a as Ed, m as Nd } from "./@monaco-editor-34kqzg3G.js";
|
99
99
|
import { configureMonacoYaml as bd } from "monaco-yaml";
|
100
100
|
import "monaco-editor";
|
101
|
-
import { r as bi, C as Cd, a as Td } from "./@react-dates-
|
101
|
+
import { r as bi, C as Cd, a as Td } from "./@react-dates-WNnwjI5S.js";
|
102
102
|
import Sd from "./assets/ic-calender-blank.963e3423.svg";
|
103
103
|
import { ReactComponent as va } from "./assets/ic-calendar.984accc5.svg";
|
104
104
|
import { ReactComponent as vd } from "./assets/ic-arrow-down.18e5e332.svg";
|
@@ -136,7 +136,7 @@ import qd from "./assets/ic-loading-failure.aa68693d.png";
|
|
136
136
|
import { ReactComponent as vn } from "./assets/inject-tag.28e72db6.svg";
|
137
137
|
import { ReactComponent as Jd } from "./assets/ic-open-in-new.6aea09d0.svg";
|
138
138
|
import { ReactComponent as Xd } from "./assets/ic-rotate-devtron.200e165b.svg";
|
139
|
-
import { C as Qd } from "./@react-select-
|
139
|
+
import { C as Qd } from "./@react-select-BbR996pa.js";
|
140
140
|
import { ReactComponent as Zd } from "./assets/ic-info-outline.f4be8a1e.svg";
|
141
141
|
import { ReactComponent as eu } from "./assets/ic-drag.3f71e8aa.svg";
|
142
142
|
import Ir from "react-mde";
|
@@ -155,12 +155,12 @@ import uu, { ReactComponent as mu } from "./assets/ic-webhook.d4431b07.svg";
|
|
155
155
|
import pu from "./assets/ic-branch.8db43d66.svg";
|
156
156
|
import fu from "./assets/ic-regex.e14a4ea3.svg";
|
157
157
|
import { ReactComponent as hu } from "./assets/ic-locked.3b9eff02.svg";
|
158
|
-
const Ht = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon dc__git-logo ${e}` }), _u = 6e4, On = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator",
|
159
|
-
APP_METRICS: `${
|
160
|
-
APP_TAGS: `${
|
161
|
-
APP_OVERVIEW_TAGS: `${
|
162
|
-
BLOB_STORAGE: `${
|
163
|
-
GLOBAL_CONFIG_BUILD_INFRA: `${
|
158
|
+
const Ht = (e) => /* @__PURE__ */ t.jsx("div", { className: `dc__registry-icon dc__git-logo ${e}` }), _u = 6e4, On = window?.__ORCHESTRATOR_ROOT__ ?? "/orchestrator", cs = "https://docs.devtron.ai", Ls = "/v/v0.7", ir = "https://discord.devtron.ai/", Ns = {
|
159
|
+
APP_METRICS: `${cs}${Ls}/usage/applications/app-details/app-metrics`,
|
160
|
+
APP_TAGS: `${cs}${Ls}/usage/applications/create-application#tags`,
|
161
|
+
APP_OVERVIEW_TAGS: `${cs}${Ls}/usage/applications/overview#manage-tags`,
|
162
|
+
BLOB_STORAGE: `${cs}${Ls}/getting-started/install/installation-configuration#configuration-of-blob-storage`,
|
163
|
+
GLOBAL_CONFIG_BUILD_INFRA: `${cs}${Ls}/global-configurations/build-infra`
|
164
164
|
}, Pn = {
|
165
165
|
KUBERNETES_KEY_PREFIX: /^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$/,
|
166
166
|
KUBERNETES_KEY_NAME: /^(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$/,
|
@@ -460,7 +460,7 @@ const xu = {
|
|
460
460
|
CHART_PULL: "CHART_PULL",
|
461
461
|
CHART_PUSH: "CHART_PUSH"
|
462
462
|
};
|
463
|
-
var
|
463
|
+
var bs = /* @__PURE__ */ ((e) => (e.YAML = "yaml", e.JSON = "json", e.SHELL = "shell", e.DOCKERFILE = "dockerfile", e.PLAINTEXT = "plaintext", e))(bs || {}), Eu = /* @__PURE__ */ ((e) => (e.CONFIG = "CONFIG", e.DEPLOYMENT = "DEPLOYMENT", e.IMAGE_PROMOTION = "IMAGE-PROMOTION", e))(Eu || {});
|
464
464
|
const Nu = 2147483647, hC = {
|
465
465
|
APPROVAL: "approval",
|
466
466
|
PENDING: "pending"
|
@@ -501,6 +501,7 @@ const Vt = "0001-01-01T00:00:00Z", Ii = [void 0, null, "", NaN], jr = {
|
|
501
501
|
UNAUTHORIZED: 401,
|
502
502
|
PERMISSION_DENIED: 403,
|
503
503
|
NOT_FOUND: 404,
|
504
|
+
REQUEST_TIMEOUT: 408,
|
504
505
|
EXPECTATION_FAILED: 417,
|
505
506
|
UNPROCESSABLE_ENTITY: 422,
|
506
507
|
LOCKED: 423
|
@@ -531,7 +532,7 @@ const La = {
|
|
531
532
|
low: 4,
|
532
533
|
unknown: 5
|
533
534
|
}, Lr = window.navigator.userAgent.toUpperCase().includes("MAC");
|
534
|
-
var
|
535
|
+
var ps = /* @__PURE__ */ ((e) => (e.GITHUB = "github", e.GITLAB = "gitlab", e.BITBUCKET = "bitbucket", e.AZURE = "azure", e.GITEA = "gitea", e))(ps || {});
|
535
536
|
const bC = (e) => JSON.stringify(JSON.parse(e ?? "{}"), null, 2);
|
536
537
|
class Iu {
|
537
538
|
constructor(s) {
|
@@ -552,12 +553,12 @@ class ht extends Error {
|
|
552
553
|
this.name = `[${n.code.toString()}]`, this.message = a, this.errors = n.errors.map((r) => new Iu(r)), Object.setPrototypeOf(this, ht.prototype);
|
553
554
|
}
|
554
555
|
}
|
555
|
-
var ta = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(ta || {}), qe = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(qe || {}),
|
556
|
+
var ta = /* @__PURE__ */ ((e) => (e.black = "black", e.white = "white", e))(ta || {}), qe = /* @__PURE__ */ ((e) => (e.CHECKED = "CHECKED", e.INTERMEDIATE = "INTERMEDIATE", e.BULK_CHECKED = "BULK_CHECKED", e))(qe || {}), as = /* @__PURE__ */ ((e) => (e.Large = "large", e.Medium = "medium", e.SMALL = "small", e))(as || {});
|
556
557
|
const Ms = {
|
557
558
|
Security: "SECURITY",
|
558
559
|
Changes: "CHANGES"
|
559
560
|
};
|
560
|
-
var wa = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(wa || {}), sa = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(sa || {}), Fs = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Fs || {}), Au = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Au || {}), ju = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(ju || {}), Ra = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ra || {}), yu = /* @__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))(yu || {}), Li = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Li || {}),
|
561
|
+
var wa = /* @__PURE__ */ ((e) => (e.PRECD = "PRECD", e.CD = "CD", e.POSTCD = "POSTCD", e.APPROVAL = "APPROVAL", e))(wa || {}), sa = /* @__PURE__ */ ((e) => (e.specific = "SPECIFIC", e.any = "ANY", e.notConfigured = "NOT_CONFIGURED", e))(sa || {}), Fs = /* @__PURE__ */ ((e) => (e[e.ALLOWED = 0] = "ALLOWED", e[e.BLOCKED = 1] = "BLOCKED", e[e.ERROR = 2] = "ERROR", e))(Fs || {}), Au = /* @__PURE__ */ ((e) => (e.EXTERNAL = "ext", e))(Au || {}), ju = /* @__PURE__ */ ((e) => (e.AWAITING = "AWAITING", e.PROMOTED = "PROMOTED", e.CANCELLED = "CANCELLED", e.STALE = "STALE", e))(ju || {}), Ra = /* @__PURE__ */ ((e) => (e.ROLLBACK = "rollback", e.CD_MATERIALS = "cd-materials", e.IMAGE_PROMOTION = "image-promotion", e))(Ra || {}), yu = /* @__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))(yu || {}), Li = /* @__PURE__ */ ((e) => (e.RESOURCE = "ELIGIBLE_RESOURCES", e.ALL = "ALL_RESOURCES", e))(Li || {}), hs = /* @__PURE__ */ ((e) => (e.HELM = "helm", e.GITOPS = "argo_cd", e.MANIFEST_DOWNLOAD = "manifest_download", e.MANIFEST_PUSH = "manifest_push", e.FLUX = "flux", e))(hs || {}), Lu = /* @__PURE__ */ ((e) => (e[e.PASS = 1] = "PASS", e[e.FAIL = 0] = "FAIL", e))(Lu || {}), In = /* @__PURE__ */ ((e) => (e.CI_PIPELINE = "CI_PIPELINE", e.CD_PIPELINE = "CD_PIPELINE", e.WEBHOOK = "WEBHOOK", e.LINKED_CD = "LINKED_CD", e))(In || {}), Oa = /* @__PURE__ */ ((e) => (e.GIT = "GIT", e.CI = "CI", e.WEBHOOK = "WEBHOOK", e.PRE_CD = "PRECD", e.CD = "CD", e.POST_CD = "POSTCD", e))(Oa || {}), Ys = /* @__PURE__ */ ((e) => (e.LEFT = "left", e.RIGHT = "right", e))(Ys || {}), Pa = /* @__PURE__ */ ((e) => (e.SEQUENTIAL = "SEQUENTIAL", e.PARALLEL = "PARALLEL", e))(Pa || {});
|
561
562
|
const wr = {
|
562
563
|
100: "Continue",
|
563
564
|
101: "Switching Protocols",
|
@@ -725,11 +726,11 @@ function tn(e, s, n, a, r) {
|
|
725
726
|
});
|
726
727
|
});
|
727
728
|
}
|
728
|
-
const Gt = (e, s, n, a) => tn(e, "POST", s, n, a), Pu = (e, s, n) => tn(e, "PUT", s, n), CC = (e, s, n) => tn(e, "PATCH", s, n), ne = (e, s) => tn(e, "GET", null, s), wi = (e, s, n) => tn(e, "DELETE", s, n), Ri = (e, s) => (s.current.abort(), s.current = new AbortController(), e()),
|
729
|
+
const Gt = (e, s, n, a) => tn(e, "POST", s, n, a), Pu = (e, s, n) => tn(e, "PUT", s, n), CC = (e, s, n) => tn(e, "PATCH", s, n), ne = (e, s) => tn(e, "GET", null, s), wi = (e, s, n) => tn(e, "DELETE", s, n), Ri = (e, s) => (s.current.abort(), s.current = new AbortController(), e()), es = (e) => (
|
729
730
|
// The 0 code is common for aborted and blocked requests
|
730
731
|
e && e.code === 0 && e.message.search("abort|aborted") > -1
|
731
732
|
);
|
732
|
-
var Du = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Du || {}), q = /* @__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))(q || {}), Da = /* @__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))(Da || {}), Mu = /* @__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))(Mu || {}), Ws = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ws || {}),
|
733
|
+
var Du = /* @__PURE__ */ ((e) => (e.CHART = "helm_charts", e.APPLICATION = "apps", e))(Du || {}), q = /* @__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))(q || {}), Da = /* @__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))(Da || {}), Mu = /* @__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))(Mu || {}), Ws = /* @__PURE__ */ ((e) => (e.system = "system", e.admin = "admin", e))(Ws || {}), ds = /* @__PURE__ */ ((e) => (e.CRITICAL = "critical", e.HIGH = "high", e.MEDIUM = "medium", e.LOW = "low", e.UNKNOWN = "unknown", e))(ds || {}), ku = /* @__PURE__ */ ((e) => (e.REQUEST = "request", e.PENDING = "pending", e))(ku || {}), Uu = /* @__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))(Uu || {}), Bu = /* @__PURE__ */ ((e) => (e.CODE_SOURCE = "Code Source", e.PARAMETERS = "Parameters", e))(Bu || {}), Oi = /* @__PURE__ */ ((e) => (e.IMAGE = "Image", e.PARAMETERS = "Parameters", e))(Oi || {}), He = /* @__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))(He || {}), lr = /* @__PURE__ */ ((e) => (e.v1 = "v1", e.alpha1 = "alpha1", e))(lr || {}), $u = /* @__PURE__ */ ((e) => (e.lockConfiguration = "lock-configuration", e.imagePromotion = "image-promotion", e.plugins = "plugin", e))($u || {}), Ks = /* @__PURE__ */ ((e) => (e.PULL_REQUEST = "Pull Request", e.TAG_CREATION = "Tag Creation", e))(Ks || {}), pt = /* @__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))(pt || {}), Fu = /* @__PURE__ */ ((e) => (e.SSH = "SSH", e.PASSWORD = "PASSWORD", e.SSH_AND_PASSWORD = "PAT_AND_SSH", e))(Fu || {}), Vu = /* @__PURE__ */ ((e) => (e.UPSTREAM = "upstream", e.DOWNSTREAM = "downstream", e.LEVEL = "level", e))(Vu || {}), An = /* @__PURE__ */ ((e) => (e.FULFILLED = "fulfilled", e.REJECTED = "rejected", e))(An || {}), Gu = /* @__PURE__ */ ((e) => (e.HTTP = "http:", e.HTTPS = "https:", e.SSH = "ssh:", e.SMTP = "smtp:", e.S3 = "s3:", e))(Gu || {}), Pi = /* @__PURE__ */ ((e) => (e.GUI = "GUI", e.YAML = "YAML", e))(Pi || {}), Hu = /* @__PURE__ */ ((e) => (e.KEY = "key", e.VALUE = "value", e))(Hu || {}), Yu = /* @__PURE__ */ ((e) => (e.DEVTRON_APPS = "devtron-app", e.HELM_APPS = "helm-app", e.JOBS = "", e))(Yu || {}), Wu = /* @__PURE__ */ ((e) => (e.CHART_GROUP = "chart-group", e.DIRECT = "apps", e.JOB = "jobs", e.DOCKER = "docker", e.GIT = "git", e.CLUSTER = "cluster", e.NOTIFICATION = "notification", e))(Wu || {});
|
733
734
|
const hn = {
|
734
735
|
PROGRESSING: "Progressing",
|
735
736
|
DEGRADED: "Degraded",
|
@@ -1182,7 +1183,7 @@ const cm = {
|
|
1182
1183
|
onClick: a,
|
1183
1184
|
...r
|
1184
1185
|
}) => e === Ua.link ? /* @__PURE__ */ t.jsx(
|
1185
|
-
|
1186
|
+
ss,
|
1186
1187
|
{
|
1187
1188
|
...s,
|
1188
1189
|
...r,
|
@@ -1252,7 +1253,7 @@ const cm = {
|
|
1252
1253
|
]
|
1253
1254
|
}
|
1254
1255
|
) }) });
|
1255
|
-
},
|
1256
|
+
}, rs = ({
|
1256
1257
|
reload: e,
|
1257
1258
|
withBorder: s = !1,
|
1258
1259
|
title: n = "Failed to load",
|
@@ -1262,7 +1263,7 @@ const cm = {
|
|
1262
1263
|
rootClassName: l,
|
1263
1264
|
useInfoIcon: i = !1
|
1264
1265
|
}) => /* @__PURE__ */ t.jsxs("div", { className: `flex column dc__gap-8 p-16 ${s ? "dc__border br-4" : ""} ${l || ""}`, children: [
|
1265
|
-
i ? /* @__PURE__ */ t.jsx(Zd, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(
|
1266
|
+
i ? /* @__PURE__ */ t.jsx(Zd, { className: "icon-dim-24" }) : /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-24 alert-icon-r5-imp" }),
|
1266
1267
|
/* @__PURE__ */ t.jsxs("div", { className: "flex column dc__gap-4 dc__align-center", children: [
|
1267
1268
|
/* @__PURE__ */ t.jsx("h3", { className: "fs-13 lh-20 fw-6 cn-9 m-0", children: n }),
|
1268
1269
|
(a || r) && /* @__PURE__ */ t.jsxs("div", { className: "flex column fs-13 lh-20 fw-4 cn-7", children: [
|
@@ -1294,7 +1295,7 @@ const cm = {
|
|
1294
1295
|
genericSectionErrorProps: i,
|
1295
1296
|
errorScreenManagerProps: c,
|
1296
1297
|
children: u
|
1297
|
-
}) => r ? /* @__PURE__ */ t.jsx(Ux, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Ie, { ...s }) : a ? i ? /* @__PURE__ */ t.jsx(
|
1298
|
+
}) => r ? /* @__PURE__ */ t.jsx(Ux, {}) : e ? n ? /* @__PURE__ */ t.jsx(t.Fragment, { children: n }) : /* @__PURE__ */ t.jsx(Ie, { ...s }) : a ? i ? /* @__PURE__ */ t.jsx(rs, { ...i }) : c ? /* @__PURE__ */ t.jsx(oa, { ...c }) : a?.code === 404 ? /* @__PURE__ */ t.jsx(
|
1298
1299
|
Ye,
|
1299
1300
|
{
|
1300
1301
|
title: o?.title ?? Mr.title,
|
@@ -1714,7 +1715,7 @@ const vm = {
|
|
1714
1715
|
}
|
1715
1716
|
)
|
1716
1717
|
] });
|
1717
|
-
var
|
1718
|
+
var xs;
|
1718
1719
|
const qt = class qt {
|
1719
1720
|
constructor() {
|
1720
1721
|
/**
|
@@ -1756,11 +1757,11 @@ const qt = class qt {
|
|
1756
1757
|
Ge(this, "isToastActive", da.isActive);
|
1757
1758
|
}
|
1758
1759
|
static get instance() {
|
1759
|
-
return ca(qt,
|
1760
|
+
return ca(qt, xs) || Cr(qt, xs, new qt()), ca(qt, xs);
|
1760
1761
|
}
|
1761
1762
|
};
|
1762
|
-
|
1763
|
-
br(qt,
|
1763
|
+
xs = new WeakMap(), // eslint-disable-next-line no-use-before-define
|
1764
|
+
br(qt, xs);
|
1764
1765
|
let $a = qt;
|
1765
1766
|
const PC = () => /* @__PURE__ */ t.jsx(mc, { ...vm }), Ue = $a.instance;
|
1766
1767
|
var ke = /* @__PURE__ */ ((e) => (e.CLEAR_ALL_SELECTIONS = "CLEAR_ALL_SELECTIONS", e.CLEAR_IDENTIFIERS = "CLEAR_IDENTIFIERS", e.SELECT_ALL_ACROSS_PAGES = "SELECT_ALL_ACROSS_PAGES", e.SELECT_ALL_ON_PAGE = "SELECT_ALL_ON_PAGE", e.SELECT_IDENTIFIER = "SELECT_IDENTIFIER", e.CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION = "CLEAR_IDENTIFIERS_AFTER_ACROSS_SELECTION", e.CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES = "CLEAR_SELECTIONS_AND_SELECT_ALL_ACROSS_PAGES", e))(ke || {}), Wi = /* @__PURE__ */ ((e) => (e.OPEN = "OPEN", e.CLOSED = "CLOSED", e))(Wi || {});
|
@@ -1916,7 +1917,7 @@ const jm = "bulk-selection-pop-up-menu", ua = {
|
|
1916
1917
|
disabled: s,
|
1917
1918
|
children: [
|
1918
1919
|
/* @__PURE__ */ t.jsx(
|
1919
|
-
|
1920
|
+
os,
|
1920
1921
|
{
|
1921
1922
|
isChecked: a,
|
1922
1923
|
onChange: Qe,
|
@@ -2325,15 +2326,15 @@ const $m = {
|
|
2325
2326
|
children: /* @__PURE__ */ t.jsx("span", { className: "flex dc__border-radius-24 bcn-0 pl-16 pr-16 pt-8 pb-8 en-1 bw-1", children: /* @__PURE__ */ t.jsx(aa, { scanToolId: e }) })
|
2326
2327
|
}), Vm = (e, s) => e.toString().localeCompare(s.toString()), qi = (e) => {
|
2327
2328
|
switch (e.toLowerCase()) {
|
2328
|
-
case
|
2329
|
+
case ds.HIGH:
|
2329
2330
|
return K.HIGH;
|
2330
|
-
case
|
2331
|
+
case ds.UNKNOWN:
|
2331
2332
|
return K.UNKNOWN;
|
2332
|
-
case
|
2333
|
+
case ds.MEDIUM:
|
2333
2334
|
return K.MEDIUM;
|
2334
|
-
case
|
2335
|
+
case ds.LOW:
|
2335
2336
|
return K.LOW;
|
2336
|
-
case
|
2337
|
+
case ds.CRITICAL:
|
2337
2338
|
return K.CRITICAL;
|
2338
2339
|
default:
|
2339
2340
|
return null;
|
@@ -2585,7 +2586,7 @@ const $m = {
|
|
2585
2586
|
};
|
2586
2587
|
return /* @__PURE__ */ t.jsx("button", { type: "button", className: "dc__unset-button-styles dc__align-left", onClick: a, children: e });
|
2587
2588
|
}, zm = ({ href: e }) => /* @__PURE__ */ t.jsx("div", { className: "flex flex-grow-1", children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-8 dc__align-items-center fs-13 fw-6", children: [
|
2588
|
-
/* @__PURE__ */ t.jsx(
|
2589
|
+
/* @__PURE__ */ t.jsx(Es, { className: "icon-dim-24 fcn-3" }),
|
2589
2590
|
/* @__PURE__ */ t.jsx("span", { children: "Code snippet is not available" }),
|
2590
2591
|
e && /* @__PURE__ */ t.jsx("a", { href: e, rel: "noopener noreferrer", target: "_blank", children: "Go to file" })
|
2591
2592
|
] }) }), Ji = ({ title: e, lines: s, link: n }) => /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__align-self-stretch bcn-0 dc__outline dc__border-radius-4-imp", children: [
|
@@ -3438,7 +3439,7 @@ const $m = {
|
|
3438
3439
|
] }), C = () => {
|
3439
3440
|
const N = Np(p, d.category, d.subCategory, f);
|
3440
3441
|
if (N)
|
3441
|
-
return /* @__PURE__ */ t.jsx(Ye, { ...N, imageType:
|
3442
|
+
return /* @__PURE__ */ t.jsx(Ye, { ...N, imageType: as.Large });
|
3442
3443
|
const { headers: v, rows: I, defaultSortIndex: T, hasExpandableRows: S } = f || xp(p, d.category, d.subCategory, _, u), { entities: j, lastScanTimeString: P, scanToolId: L } = f || Ep(p, d.category, d.subCategory);
|
3443
3444
|
return /* @__PURE__ */ t.jsxs("div", { className: "flexbox-col p-20 dc__gap-16", children: [
|
3444
3445
|
j?.length ? /* @__PURE__ */ t.jsx(Km, { entities: j, lastScanTimeString: P, scanToolId: L }) : null,
|
@@ -3569,7 +3570,7 @@ const $m = {
|
|
3569
3570
|
)
|
3570
3571
|
] });
|
3571
3572
|
};
|
3572
|
-
var R = /* @__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))(R || {}),
|
3573
|
+
var R = /* @__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))(R || {}), ts = /* @__PURE__ */ ((e) => (e.NAME = "name", e.DESCRIPTION = "description", e))(ts || {}), jn = /* @__PURE__ */ ((e) => (e.CPU = "cpu", e.MEMORY = "memory", e.BUILD_TIMEOUT = "timeout", e))(jn || {}), Kt = /* @__PURE__ */ ((e) => (e.ACTIVATE_CPU = "activate_cpu", e.DE_ACTIVATE_CPU = "de_activate_cpu", e.ACTIVATE_MEMORY = "activate_memory", e.DE_ACTIVATE_MEMORY = "de_activate_memory", e.ACTIVATE_BUILD_TIMEOUT = "activate_timeout", e.DE_ACTIVATE_BUILD_TIMEOUT = "de_activate_timeout", e))(Kt || {});
|
3573
3574
|
const GC = {
|
3574
3575
|
timeout: "timeout",
|
3575
3576
|
cpu_limit: "cpu",
|
@@ -3668,8 +3669,8 @@ const Cs = {
|
|
3668
3669
|
locator: jn.BUILD_TIMEOUT
|
3669
3670
|
}
|
3670
3671
|
], Va = Object.fromEntries(
|
3671
|
-
Object.values({ ...R, ...
|
3672
|
-
), Sp = [
|
3672
|
+
Object.values({ ...R, ...ts }).map((e) => [e, null])
|
3673
|
+
), Sp = [ts.NAME], vp = "default", Ip = {
|
3673
3674
|
name: "",
|
3674
3675
|
description: "",
|
3675
3676
|
type: tl.NORMAL,
|
@@ -3695,7 +3696,7 @@ const Cs = {
|
|
3695
3696
|
infoText: a ?? we.EDIT_DEFAULT_TOOLTIP,
|
3696
3697
|
additionalContent: r,
|
3697
3698
|
heading: we.HEADING,
|
3698
|
-
documentationLink:
|
3699
|
+
documentationLink: Ns.GLOBAL_CONFIG_BUILD_INFRA,
|
3699
3700
|
documentationLinkText: "View Documentation",
|
3700
3701
|
iconClassName: "icon-dim-20 fcn-6"
|
3701
3702
|
}
|
@@ -4005,7 +4006,7 @@ const Vr = {
|
|
4005
4006
|
}, Ga = (e, s, n = { label: "", value: "" }, a = null) => Array.isArray(e) ? e.flatMap(
|
4006
4007
|
(o) => "options" in o ? o.options : [o]
|
4007
4008
|
).find((o) => (a ? a(o) : o.value) === s) ?? n : n;
|
4008
|
-
class
|
4009
|
+
class os extends Kn {
|
4009
4010
|
render() {
|
4010
4011
|
const s = `${this.props.rootClassName ? this.props.rootClassName : ""}`;
|
4011
4012
|
return /* @__PURE__ */ t.jsxs("label", { className: `dc__position-rel flex left cursor ${s}`, onClick: this.props?.onClick, children: [
|
@@ -4076,7 +4077,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4076
4077
|
};
|
4077
4078
|
return /* @__PURE__ */ t.jsx(ve.Option, { ...s, children: /* @__PURE__ */ t.jsx(Be, { ...Rp(m), children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
4078
4079
|
r && !_ && /* @__PURE__ */ t.jsx(
|
4079
|
-
|
4080
|
+
os,
|
4080
4081
|
{
|
4081
4082
|
onChange: Qe,
|
4082
4083
|
onClick: g,
|
@@ -4114,7 +4115,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4114
4115
|
getIsOptionValid: e,
|
4115
4116
|
...s
|
4116
4117
|
}) => {
|
4117
|
-
const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(
|
4118
|
+
const { data: n, selectProps: a } = s, o = e(n) ? (n.startIcon || n.endIcon) ?? null : /* @__PURE__ */ t.jsx(ns, {});
|
4118
4119
|
return /* @__PURE__ */ t.jsxs("div", { className: "flex dc__gap-4 mw-0 dc__truncate", children: [
|
4119
4120
|
o && /* @__PURE__ */ t.jsx(
|
4120
4121
|
"div",
|
@@ -4154,7 +4155,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4154
4155
|
};
|
4155
4156
|
return /* @__PURE__ */ t.jsx(ve.GroupHeading, { ...s, onClick: i, children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8", children: [
|
4156
4157
|
e && /* @__PURE__ */ t.jsx(
|
4157
|
-
|
4158
|
+
os,
|
4158
4159
|
{
|
4159
4160
|
onChange: Qe,
|
4160
4161
|
onClick: c,
|
@@ -4235,7 +4236,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4235
4236
|
), Pe = (Ke) => /* @__PURE__ */ t.jsx($p, { ...Ke, getIsOptionValid: oe }), Fe = ye(
|
4236
4237
|
(Ke) => /* @__PURE__ */ t.jsx(Vp, { ...Ke, isGroupHeadingSelectable: Y }),
|
4237
4238
|
[Y]
|
4238
|
-
), We = () => d ? /* @__PURE__ */ t.jsx(
|
4239
|
+
), We = () => d ? /* @__PURE__ */ t.jsx(rs, { reload: m }) : G ? /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No options" }) : null, ut = (Ke) => /* @__PURE__ */ t.jsx(Q, { content: i, placement: "top", className: "default-tt", arrow: !1, children: Ke }), pn = (Ke) => {
|
4239
4240
|
const $ = Ke?.trim();
|
4240
4241
|
$ && V($);
|
4241
4242
|
}, la = te(
|
@@ -4479,7 +4480,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4479
4480
|
const { checked: m } = d.currentTarget, p = m ? `activate_${l}` : `de_activate_${l}`;
|
4480
4481
|
o({ action: p });
|
4481
4482
|
}, u = () => i ? /* @__PURE__ */ t.jsx(s, { className: "icon-dim-20 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(
|
4482
|
-
|
4483
|
+
os,
|
4483
4484
|
{
|
4484
4485
|
onChange: c,
|
4485
4486
|
isChecked: !a,
|
@@ -4504,7 +4505,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4504
4505
|
}) => {
|
4505
4506
|
const a = (r) => {
|
4506
4507
|
e({
|
4507
|
-
action:
|
4508
|
+
action: ts.DESCRIPTION,
|
4508
4509
|
data: { value: r.currentTarget.value }
|
4509
4510
|
});
|
4510
4511
|
};
|
@@ -4533,7 +4534,7 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4533
4534
|
error: n
|
4534
4535
|
}) => {
|
4535
4536
|
const a = (r) => {
|
4536
|
-
e({ action:
|
4537
|
+
e({ action: ts.NAME, data: { value: r.currentTarget.value } });
|
4537
4538
|
};
|
4538
4539
|
return /* @__PURE__ */ t.jsx("div", { className: "flexbox-col dc__gap-4 w-100 dc__align-start", children: /* @__PURE__ */ t.jsx(
|
4539
4540
|
dn,
|
@@ -4793,10 +4794,10 @@ const Rp = (e = {}) => e ? Object.hasOwn(e, "shortcutKeyCombo") && "shortcutKeyC
|
|
4793
4794
|
handleProfileInputChange: ({ action: f, data: x }) => {
|
4794
4795
|
const E = { ...c }, C = { ...d }, b = o.profile.configurations, N = E.configurations, { value: v, unit: I } = x ?? { value: null, unit: null };
|
4795
4796
|
switch (f) {
|
4796
|
-
case
|
4797
|
+
case ts.DESCRIPTION:
|
4797
4798
|
E.description = v, C.description = _x(v).message;
|
4798
4799
|
break;
|
4799
|
-
case
|
4800
|
+
case ts.NAME:
|
4800
4801
|
E.name = v, C.name = hx(v).message;
|
4801
4802
|
break;
|
4802
4803
|
case R.CPU_LIMIT: {
|
@@ -5075,7 +5076,7 @@ const nf = ({
|
|
5075
5076
|
children: s[0]
|
5076
5077
|
}
|
5077
5078
|
),
|
5078
|
-
/* @__PURE__ */ t.jsx(
|
5079
|
+
/* @__PURE__ */ t.jsx(ss, { to: `${he.PERMISSION_GROUPS}/${e}`, className: "dc__ellipsis-right anchor cursor", children: s }),
|
5079
5080
|
/* @__PURE__ */ t.jsx("div", { className: "dc__ellipsis-right", children: n || "-" }),
|
5080
5081
|
d && /* @__PURE__ */ t.jsx(
|
5081
5082
|
u,
|
@@ -5337,7 +5338,7 @@ const hf = {
|
|
5337
5338
|
};
|
5338
5339
|
return Gt(W.APP_TEMPLATE_DATA, n, { signal: s });
|
5339
5340
|
} catch (n) {
|
5340
|
-
throw
|
5341
|
+
throw es(n) || Oe(n), n;
|
5341
5342
|
}
|
5342
5343
|
}, nT = async (e, s) => {
|
5343
5344
|
try {
|
@@ -5353,7 +5354,7 @@ const hf = {
|
|
5353
5354
|
areVariablesPresent: r
|
5354
5355
|
};
|
5355
5356
|
} catch (n) {
|
5356
|
-
if (!
|
5357
|
+
if (!es(n))
|
5357
5358
|
throw Oe(n), n;
|
5358
5359
|
return hf;
|
5359
5360
|
}
|
@@ -5378,7 +5379,7 @@ const hf = {
|
|
5378
5379
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 fw-4 lh-20 dc__no-shrink", children: "Application metrics" })
|
5379
5380
|
] }) : /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center", children: [
|
5380
5381
|
/* @__PURE__ */ t.jsx(vx, { parsingError: i, restoreLastSavedYAML: c, children: /* @__PURE__ */ t.jsx("div", { children: /* @__PURE__ */ t.jsx(
|
5381
|
-
|
5382
|
+
os,
|
5382
5383
|
{
|
5383
5384
|
rootClassName: `mb-0 dc__align-items-center ${n.isAppMetricsSupported ? "" : "dc__disabled"}`,
|
5384
5385
|
isChecked: o,
|
@@ -5403,7 +5404,7 @@ const hf = {
|
|
5403
5404
|
{
|
5404
5405
|
heading: "Application Metrics",
|
5405
5406
|
infoText: "Capture and show key application metrics over time. (E.g. Status codes 2xx, 3xx, 5xx; throughput and latency).",
|
5406
|
-
documentationLink:
|
5407
|
+
documentationLink: Ns.APP_METRICS,
|
5407
5408
|
documentationLinkText: "Learn more",
|
5408
5409
|
dataTestid: "app-metrics-info",
|
5409
5410
|
iconClassName: "dc__no-shrink icon-dim-16 fcn-6"
|
@@ -5411,10 +5412,10 @@ const hf = {
|
|
5411
5412
|
)
|
5412
5413
|
] })
|
5413
5414
|
] }) : null;
|
5414
|
-
var
|
5415
|
+
var us = /* @__PURE__ */ ((e) => (e.VALUES = "values", e.INHERITED = "inherited", e.DRY_RUN = "dryRun", e))(us || {}), _f = /* @__PURE__ */ ((e) => (e.PUBLISHED = "published", e.COMPARE = "compare", e.EDIT_DRAFT = "editDraft", e))(_f || {}), gf = /* @__PURE__ */ ((e) => (e.PATCH = "patch", e.REPLACE = "replace", e))(gf || {}), xf = /* @__PURE__ */ ((e) => (e.DISCARD_DRAFT = "discardDraft", e.EDIT_HISTORY = "editHistory", e))(xf || {});
|
5415
5416
|
const rT = {
|
5416
|
-
BASE_DEPLOYMENT_TEMPLATE: [
|
5417
|
-
OVERRIDE: [
|
5417
|
+
BASE_DEPLOYMENT_TEMPLATE: [us.VALUES, us.DRY_RUN],
|
5418
|
+
OVERRIDE: [us.INHERITED, us.VALUES, us.DRY_RUN]
|
5418
5419
|
}, oT = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox-col dc__gap-20", children: [
|
5419
5420
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-13 lh-20 cn-9 fw-4", children: "Merge strategy determines how environment configurations are combined with inherited configurations configurations. Choose the strategy that best suits your needs:" }),
|
5420
5421
|
/* @__PURE__ */ t.jsx("ul", { className: "pl-12 m-0-imp", children: /* @__PURE__ */ t.jsxs("li", { className: "m-0 fs-13 lh-20 cn-9 fw-4", children: [
|
@@ -6463,7 +6464,7 @@ const Yf = (e) => Gt(`${W.ATTRIBUTES_USER}/${W.UPDATE}`, e), Wf = ({ className:
|
|
6463
6464
|
const { currentServerInfo: l } = hr(), i = l?.serverInfo?.installationType === $n.ENTERPRISE, c = `UheGN3KJ#source=${window.location.hostname}`, u = [
|
6464
6465
|
{
|
6465
6466
|
name: "View documentation",
|
6466
|
-
link:
|
6467
|
+
link: cs,
|
6467
6468
|
icon: Kc,
|
6468
6469
|
showSeparator: !0
|
6469
6470
|
},
|
@@ -6981,7 +6982,7 @@ const Yf = (e) => Gt(`${W.ATTRIBUTES_USER}/${W.UPDATE}`, e), Wf = ({ className:
|
|
6981
6982
|
), p = te(() => u ? r?.(u) || u : [], [u, r]), _ = te(() => {
|
6982
6983
|
const h = eh(s, p);
|
6983
6984
|
return n ? h : h?.[0] || null;
|
6984
|
-
}, [s, p, n]), g = () => d ? /* @__PURE__ */ t.jsx(
|
6985
|
+
}, [s, p, n]), g = () => d ? /* @__PURE__ */ t.jsx(rs, { withBorder: !0, reload: m }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: Ya.NO_ENVIRONMENTS_AVAILABLE });
|
6985
6986
|
return /* @__PURE__ */ t.jsx(
|
6986
6987
|
Jn,
|
6987
6988
|
{
|
@@ -7052,7 +7053,7 @@ const Yf = (e) => Gt(`${W.ATTRIBUTES_USER}/${W.UPDATE}`, e), Wf = ({ className:
|
|
7052
7053
|
var Wa = /* @__PURE__ */ ((e) => (e.GOT_IT = "Got it", e.VIEW_DOCUMENTATION = "View Documentation", e))(Wa || {});
|
7053
7054
|
const to = (e) => {
|
7054
7055
|
switch (e) {
|
7055
|
-
case
|
7056
|
+
case as.SMALL:
|
7056
7057
|
return { width: "100%", height: "200px" };
|
7057
7058
|
default:
|
7058
7059
|
return { width: "100%", height: "250px" };
|
@@ -7184,7 +7185,7 @@ const to = (e) => {
|
|
7184
7185
|
style: { background: e.isFocused ? "var(--N100)" : "transparent" },
|
7185
7186
|
children: [
|
7186
7187
|
/* @__PURE__ */ t.jsx(
|
7187
|
-
|
7188
|
+
os,
|
7188
7189
|
{
|
7189
7190
|
isChecked: e.isSelected || !1,
|
7190
7191
|
onChange: l,
|
@@ -7346,7 +7347,7 @@ const ao = {
|
|
7346
7347
|
progressing: 3,
|
7347
7348
|
healthy: 4
|
7348
7349
|
};
|
7349
|
-
var
|
7350
|
+
var _s = /* @__PURE__ */ ((e) => (e.SUCCESS = "Success", e.FAILURE = "Failure", e.PROGRESSING = "Progressing", e))(_s || {});
|
7350
7351
|
const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled", "failed", "aborted"]), gh = /* @__PURE__ */ new Set(["starting", "running", "pending"]), ul = ({ callback: e, hasError: s }) => {
|
7351
7352
|
const n = X(null), a = Sf(n, {
|
7352
7353
|
rootMargin: "0px",
|
@@ -7354,7 +7355,7 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
7354
7355
|
});
|
7355
7356
|
return O(() => {
|
7356
7357
|
a && e();
|
7357
|
-
}, [a]), s ? /* @__PURE__ */ t.jsx("div", { className: "p-24 flex", children: /* @__PURE__ */ t.jsx(
|
7358
|
+
}, [a]), s ? /* @__PURE__ */ t.jsx("div", { className: "p-24 flex", children: /* @__PURE__ */ t.jsx(rs, { reload: e }) }) : /* @__PURE__ */ t.jsx("span", { className: "pb-5", ref: n });
|
7358
7359
|
}, xh = ({
|
7359
7360
|
appId: e,
|
7360
7361
|
envId: s,
|
@@ -7414,7 +7415,7 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
7414
7415
|
case "success":
|
7415
7416
|
return /* @__PURE__ */ t.jsx(Od, { className: "icon-dim-20 green-tick", "data-testid": "success-green-tick" });
|
7416
7417
|
case "failed":
|
7417
|
-
return /* @__PURE__ */ t.jsx(
|
7418
|
+
return /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-20" });
|
7418
7419
|
case "unknown":
|
7419
7420
|
return /* @__PURE__ */ t.jsx(Is, { className: "icon-dim-20" });
|
7420
7421
|
case "inprogress":
|
@@ -7432,9 +7433,9 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
7432
7433
|
}
|
7433
7434
|
}, Nh = (e) => {
|
7434
7435
|
switch (e) {
|
7435
|
-
case
|
7436
|
+
case _s.SUCCESS:
|
7436
7437
|
return /* @__PURE__ */ t.jsx(ea, { className: "dc__no-shrink icon-dim-16 scg-5" });
|
7437
|
-
case
|
7438
|
+
case _s.FAILURE:
|
7438
7439
|
return /* @__PURE__ */ t.jsx(Je, { className: "dc__no-shrink icon-dim-16 fcr-5" });
|
7439
7440
|
default:
|
7440
7441
|
return /* @__PURE__ */ t.jsx(Si, { className: "dc__no-shrink icon-dim-16 ic-in-progress-orange" });
|
@@ -7569,7 +7570,7 @@ const _h = /* @__PURE__ */ new Set(["error", "healthy", "succeeded", "cancelled"
|
|
7569
7570
|
children: m
|
7570
7571
|
}
|
7571
7572
|
),
|
7572
|
-
s !== lh && /* @__PURE__ */ t.jsx(
|
7573
|
+
s !== lh && /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-12 fcn-5" })
|
7573
7574
|
] }),
|
7574
7575
|
r && /* @__PURE__ */ t.jsx("span", { className: "dc__border-dashed--n3-bottom fw-6 fs-13 lh-19-imp", children: r })
|
7575
7576
|
]
|
@@ -8129,7 +8130,7 @@ function ho(e) {
|
|
8129
8130
|
const Mh = (e, s) => {
|
8130
8131
|
if (!e) return null;
|
8131
8132
|
const n = e.trim().replace(/\.git$/, "").replace(/\/$/, "");
|
8132
|
-
return n.includes(
|
8133
|
+
return n.includes(ps.GITLAB) ? `${n}/-/tree/${s}` : n.includes(ps.GITHUB) ? `${n}/tree/${s}` : n.includes(ps.BITBUCKET) ? `${n}/branch/${s}` : n.includes(ps.AZURE) ? `${n}/src/branch/${s}` : null;
|
8133
8134
|
}, kh = async () => {
|
8134
8135
|
const { result: e } = await ne(W.APP_LIST_MIN);
|
8135
8136
|
return e ? e.map((s) => ({
|
@@ -8518,7 +8519,7 @@ const Mh = (e, s) => {
|
|
8518
8519
|
"a",
|
8519
8520
|
{
|
8520
8521
|
className: "fs-13 fw-6 cb-5 dc__no-decor",
|
8521
|
-
href:
|
8522
|
+
href: Ns.BLOB_STORAGE,
|
8522
8523
|
target: "_blank",
|
8523
8524
|
rel: "noreferrer",
|
8524
8525
|
children: Se.ARTIFACTS_EMPTY_STATE_TEXTS.ConfigureBlobStorage
|
@@ -8821,7 +8822,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
8821
8822
|
"a",
|
8822
8823
|
{
|
8823
8824
|
className: "fs-13 fw-6 cb-5 dc__no-decor",
|
8824
|
-
href:
|
8825
|
+
href: Ns.BLOB_STORAGE,
|
8825
8826
|
target: "_blank",
|
8826
8827
|
rel: "noreferrer",
|
8827
8828
|
children: "Configure blob storage"
|
@@ -8892,7 +8893,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
8892
8893
|
}
|
8893
8894
|
const L = (k, Y, oe, ee) => {
|
8894
8895
|
const Ee = m.length === 0, w = Y ?? !0;
|
8895
|
-
return ee ? oe || w : Ee ? k !==
|
8896
|
+
return ee ? oe || w : Ee ? k !== _s.SUCCESS || oe : w;
|
8896
8897
|
}, V = e.podStatus === ha.PENDING || !!(u && u.readyState <= 1), D = (k, Y) => {
|
8897
8898
|
const oe = m.reduce(
|
8898
8899
|
(y, U) => (y[U.stage] || (y[U.stage] = {}), y[U.stage][U.startTime] = U, y),
|
@@ -8911,7 +8912,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
8911
8912
|
!!Y
|
8912
8913
|
);
|
8913
8914
|
else {
|
8914
|
-
const ut = V ?
|
8915
|
+
const ut = V ? _s.PROGRESSING : _s.FAILURE;
|
8915
8916
|
y.push({
|
8916
8917
|
stage: z || `Untitled stage ${M + 1}`,
|
8917
8918
|
startTime: de || "",
|
@@ -9153,7 +9154,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9153
9154
|
title: s || Se.CD_EMPTY_STATE.TITLE,
|
9154
9155
|
subTitle: n || Se.CD_EMPTY_STATE.SUBTITLE,
|
9155
9156
|
isButtonAvailable: !0,
|
9156
|
-
imageType:
|
9157
|
+
imageType: as.Large,
|
9157
9158
|
renderButton: u
|
9158
9159
|
}
|
9159
9160
|
) });
|
@@ -9169,7 +9170,7 @@ const KT = (e, s, n) => ne(`app/history/deployed-configuration/${e}/${s}/${n}`),
|
|
9169
9170
|
{
|
9170
9171
|
className: `bcr-1 ${s === F.HELM_MANIFEST_PUSHED_TO_HELM_REPO ? "fs-13" : "flex left"} ${r ? "" : "er-2 br-4 bw-1"} p-8`,
|
9171
9172
|
children: [
|
9172
|
-
!r && /* @__PURE__ */ t.jsx(
|
9173
|
+
!r && /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-20 mr-8" }),
|
9173
9174
|
n,
|
9174
9175
|
s === F.HELM_MANIFEST_PUSHED_TO_HELM_REPO && /* @__PURE__ */ t.jsxs("ol", { className: "m-0 pl-20", children: [
|
9175
9176
|
/* @__PURE__ */ t.jsx("li", { children: "Ensure provided repository path is valid" }),
|
@@ -9889,7 +9890,7 @@ const h_ = ({
|
|
9889
9890
|
h(!1);
|
9890
9891
|
});
|
9891
9892
|
};
|
9892
|
-
O(() => (s ===
|
9893
|
+
O(() => (s === hs.HELM && u.replace(`${d.replace("deployment-steps", "source-code")}`), r && N(), () => {
|
9893
9894
|
b();
|
9894
9895
|
}), [a]), O(() => {
|
9895
9896
|
f.current = l;
|
@@ -10138,7 +10139,7 @@ const Nl = {
|
|
10138
10139
|
const { value: N } = b.target;
|
10139
10140
|
i?.activeTab !== N && i?.onClick?.(N);
|
10140
10141
|
}, f = () => /* @__PURE__ */ t.jsxs("div", { className: "p-12 flexbox dc__align-items-center dc__gap-8 dc__border-bottom-n1", children: [
|
10141
|
-
a && /* @__PURE__ */ t.jsx(
|
10142
|
+
a && /* @__PURE__ */ t.jsx(ss, { to: a, children: /* @__PURE__ */ t.jsx("span", { className: "dc__border br-4 p-1 flex dc__hover-n50", children: /* @__PURE__ */ t.jsx(Je, { className: "icon-dim-16 fcn-6" }) }) }),
|
10142
10143
|
/* @__PURE__ */ t.jsx("span", { className: "fs-13 lh-20 fw-6 cn-9 dc__truncate", children: r })
|
10143
10144
|
] }), x = () => {
|
10144
10145
|
const { tabs: b, activeTab: N } = i;
|
@@ -10183,11 +10184,11 @@ const Nl = {
|
|
10183
10184
|
}),
|
10184
10185
|
/* @__PURE__ */ t.jsx(__, { config: _, tabType: "navLink", onCollapseBtnClick: g }),
|
10185
10186
|
o && /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
10186
|
-
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: l ? /* @__PURE__ */ t.jsx(or, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(
|
10187
|
+
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: l ? /* @__PURE__ */ t.jsx(or, { className: "icon-dim-16 dc__no-shrink" }) : /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-16 fcn-7 dc__no-shrink" }) }),
|
10187
10188
|
/* @__PURE__ */ t.jsx("p", { className: `m-0 fs-12 lh-1-5 ${l ? "cr-5" : "cn-9"}`, children: o })
|
10188
10189
|
] })
|
10189
10190
|
] }), C = () => e ? ["90", "70", "50"].map((b) => /* @__PURE__ */ t.jsx(g_, { width: b }, b)) : c?.error ? /* @__PURE__ */ t.jsxs("div", { className: "mt-8 py-6 px-8 flexbox dc__align-items-center dc__gap-8", children: [
|
10190
|
-
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(
|
10191
|
+
/* @__PURE__ */ t.jsx("span", { className: "flex p-2 dc__align-self-start", children: /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-16 fcn-7" }) }),
|
10191
10192
|
/* @__PURE__ */ t.jsx("p", { className: "m-0 fs-12 lh-1-5 cn-9", children: "Failed to load files. Please reload or select a different reference to compare with." })
|
10192
10193
|
] }) : E();
|
10193
10194
|
return /* @__PURE__ */ t.jsxs("div", { className: "bcn-0 dc__border-right flexbox-col dc__overflow-hidden", children: [
|
@@ -10215,7 +10216,7 @@ const Nl = {
|
|
10215
10216
|
}) => {
|
10216
10217
|
const f = _ === "row", x = () => {
|
10217
10218
|
switch (i) {
|
10218
|
-
case
|
10219
|
+
case as.Large:
|
10219
10220
|
return { width: "250px", height: "200px" };
|
10220
10221
|
default:
|
10221
10222
|
return { width: "200px", height: "160px" };
|
@@ -10320,7 +10321,7 @@ const Nl = {
|
|
10320
10321
|
reloadClass: a,
|
10321
10322
|
heightToDeduct: r,
|
10322
10323
|
redirectURL: o,
|
10323
|
-
imageType: l =
|
10324
|
+
imageType: l = as.Large
|
10324
10325
|
}) => (() => {
|
10325
10326
|
switch (e) {
|
10326
10327
|
case Te.BAD_REQUEST:
|
@@ -11012,7 +11013,7 @@ const Nl = {
|
|
11012
11013
|
previousDeployments: []
|
11013
11014
|
}
|
11014
11015
|
), Sl = (e, s) => e === s ? () => /* @__PURE__ */ t.jsx(
|
11015
|
-
|
11016
|
+
rs,
|
11016
11017
|
{
|
11017
11018
|
useInfoIcon: !0,
|
11018
11019
|
title: "No diff in configurations",
|
@@ -11274,7 +11275,7 @@ const wo = () => ({
|
|
11274
11275
|
});
|
11275
11276
|
}
|
11276
11277
|
return O(() => (window.addEventListener("resize", n, !1), () => window.removeEventListener("resize", n, !1)), []), e;
|
11277
|
-
},
|
11278
|
+
}, gs = 1, R_ = {
|
11278
11279
|
PAGE_SIZE: "pageSize",
|
11279
11280
|
PAGE_NUMBER: "pageNumber",
|
11280
11281
|
SEARCH_KEY: "searchKey",
|
@@ -11311,7 +11312,7 @@ const wo = () => ({
|
|
11311
11312
|
const T = i.get(Oo), S = i.get(xa), j = i.get(Po), P = i.get(Mo), V = i.get(Do) || e || "", D = Object.values(ce).includes(P) ? P : ce.ASC, G = c(i);
|
11312
11313
|
return {
|
11313
11314
|
pageSize: Number(T) || ja,
|
11314
|
-
pageNumber: Number(S) ||
|
11315
|
+
pageNumber: Number(S) || gs,
|
11315
11316
|
searchKey: j || "",
|
11316
11317
|
sortBy: V,
|
11317
11318
|
// sort order should only be applied if the key is available
|
@@ -11321,8 +11322,8 @@ const wo = () => ({
|
|
11321
11322
|
}, [i]), h = u * (d - 1), f = (T, S) => {
|
11322
11323
|
i.set(T, String(S)), r.replace({ search: i.toString() });
|
11323
11324
|
}, x = () => {
|
11324
|
-
if (d !==
|
11325
|
-
f(xa,
|
11325
|
+
if (d !== gs) {
|
11326
|
+
f(xa, gs);
|
11326
11327
|
return;
|
11327
11328
|
}
|
11328
11329
|
r.replace({ search: i.toString() });
|
@@ -11439,11 +11440,11 @@ const wo = () => ({
|
|
11439
11440
|
sortBy: e
|
11440
11441
|
}), [a, r] = A(""), { sortBy: o, sortOrder: l } = s, [i, c] = A({
|
11441
11442
|
pageSize: ja,
|
11442
|
-
pageNumber:
|
11443
|
+
pageNumber: gs
|
11443
11444
|
}), u = i.pageSize * (i.pageNumber - 1), d = () => {
|
11444
11445
|
c((f) => ({
|
11445
11446
|
...f,
|
11446
|
-
pageNumber:
|
11447
|
+
pageNumber: gs
|
11447
11448
|
}));
|
11448
11449
|
};
|
11449
11450
|
return {
|
@@ -11466,7 +11467,7 @@ const wo = () => ({
|
|
11466
11467
|
sortBy: e
|
11467
11468
|
}), c({
|
11468
11469
|
pageSize: ja,
|
11469
|
-
pageNumber:
|
11470
|
+
pageNumber: gs
|
11470
11471
|
});
|
11471
11472
|
},
|
11472
11473
|
...i,
|
@@ -12234,7 +12235,7 @@ const jt = ({
|
|
12234
12235
|
}
|
12235
12236
|
) });
|
12236
12237
|
};
|
12237
|
-
var
|
12238
|
+
var fs = /* @__PURE__ */ ((e) => (e.vsDarkDT = "vs-dark--dt", e.deleteDraft = "delete-draft", e.unpublished = "unpublished", e.vs = "vs", e.networkStatusInterface = "network-status-interface", e))(fs || {}), Z_ = /* @__PURE__ */ ((e) => (e.reInit = "reInit", e.submitLoading = "submitLoading", e.overrideLoading = "overrideLoading", e.success = "success", e))(Z_ || {});
|
12238
12239
|
const eg = (e, s) => {
|
12239
12240
|
switch (s.type) {
|
12240
12241
|
case "changeLanguage":
|
@@ -12258,12 +12259,12 @@ const eg = (e, s) => {
|
|
12258
12259
|
noParsing: r
|
12259
12260
|
}) => ({
|
12260
12261
|
mode: e,
|
12261
|
-
theme: s ||
|
12262
|
+
theme: s || fs.vs,
|
12262
12263
|
code: n,
|
12263
12264
|
diffMode: a,
|
12264
|
-
noParsing: [
|
12265
|
+
noParsing: [bs.JSON, bs.YAML].includes(e) ? r : !0
|
12265
12266
|
}), Ul = J.createContext(null);
|
12266
|
-
function
|
12267
|
+
function is() {
|
12267
12268
|
const e = J.useContext(Ul);
|
12268
12269
|
if (!e)
|
12269
12270
|
throw new Error("cannot be rendered outside the component");
|
@@ -12272,7 +12273,7 @@ function os() {
|
|
12272
12273
|
const sg = 100, yt = J.memo(
|
12273
12274
|
({
|
12274
12275
|
value: e,
|
12275
|
-
mode: s =
|
12276
|
+
mode: s = bs.JSON,
|
12276
12277
|
noParsing: n = !1,
|
12277
12278
|
defaultValue: a = "",
|
12278
12279
|
children: r,
|
@@ -12301,7 +12302,7 @@ const sg = 100, yt = J.memo(
|
|
12301
12302
|
const S = X(null), j = X(null), { width: P, height: L } = Il(), V = J.useCallback(eg, []), [D, G] = bc(V, tg({ mode: s, theme: _, value: e, diffView: p, noParsing: n })), [, ie, re, H] = Wo(D.code, o, D.mode, !D.noParsing), [, pe, Ce] = Wo(a, o, D.mode, !D.noParsing), [fe, Ae] = A(
|
12302
12303
|
I ? sg : i
|
12303
12304
|
), k = X(d);
|
12304
|
-
k.current = d, ys.defineTheme(
|
12305
|
+
k.current = d, ys.defineTheme(fs.vsDarkDT, {
|
12305
12306
|
base: "vs-dark",
|
12306
12307
|
inherit: !0,
|
12307
12308
|
rules: [
|
@@ -12311,7 +12312,7 @@ const sg = 100, yt = J.memo(
|
|
12311
12312
|
colors: {
|
12312
12313
|
"editor.background": "#0B0F22"
|
12313
12314
|
}
|
12314
|
-
}), ys.defineTheme(
|
12315
|
+
}), ys.defineTheme(fs.networkStatusInterface, {
|
12315
12316
|
base: "vs-dark",
|
12316
12317
|
inherit: !0,
|
12317
12318
|
rules: [
|
@@ -12321,7 +12322,7 @@ const sg = 100, yt = J.memo(
|
|
12321
12322
|
colors: {
|
12322
12323
|
"editor.background": "#1A1A1A"
|
12323
12324
|
}
|
12324
|
-
}), ys.defineTheme(
|
12325
|
+
}), ys.defineTheme(fs.deleteDraft, {
|
12325
12326
|
base: "vs",
|
12326
12327
|
inherit: !0,
|
12327
12328
|
rules: [],
|
@@ -12329,7 +12330,7 @@ const sg = 100, yt = J.memo(
|
|
12329
12330
|
"diffEditor.insertedTextBackground": "#ffd4d1",
|
12330
12331
|
"diffEditor.removedTextBackground": "#ffffff33"
|
12331
12332
|
}
|
12332
|
-
}), ys.defineTheme(
|
12333
|
+
}), ys.defineTheme(fs.unpublished, {
|
12333
12334
|
base: "vs",
|
12334
12335
|
inherit: !0,
|
12335
12336
|
rules: [],
|
@@ -12347,7 +12348,7 @@ const sg = 100, yt = J.memo(
|
|
12347
12348
|
};
|
12348
12349
|
}, [T]);
|
12349
12350
|
const Y = (M, z) => {
|
12350
|
-
if (s ===
|
12351
|
+
if (s === bs.YAML && M && typeof M.getModel == "function" && typeof M.getModel().updateOptions == "function" && M.getModel().updateOptions({ tabSize: 2 }), M && (typeof M.onDidFocusEditorWidget == "function" && typeof v == "function" && M.onDidFocusEditorWidget(v), typeof M.onDidBlurEditorWidget == "function" && typeof N == "function" && M.onDidBlurEditorWidget(N)), I && M) {
|
12351
12352
|
if (!("getModifiedEditor" in M)) {
|
12352
12353
|
M.onDidContentSizeChange(() => {
|
12353
12354
|
Ae(M.getContentHeight());
|
@@ -12502,13 +12503,13 @@ const sg = 100, yt = J.memo(
|
|
12502
12503
|
className: s,
|
12503
12504
|
hideDefaultSplitHeader: n
|
12504
12505
|
}) => {
|
12505
|
-
const { defaultValue: a } =
|
12506
|
+
const { defaultValue: a } = is();
|
12506
12507
|
return /* @__PURE__ */ t.jsxs("div", { className: s || "code-editor__header flex right", children: [
|
12507
12508
|
e,
|
12508
12509
|
!n && a && /* @__PURE__ */ t.jsx(ug, {})
|
12509
12510
|
] });
|
12510
12511
|
}, ag = ({}) => {
|
12511
|
-
const { readOnly: e, state: s, dispatch: n } =
|
12512
|
+
const { readOnly: e, state: s, dispatch: n } = is();
|
12512
12513
|
function a(o) {
|
12513
12514
|
n({ type: "setTheme", value: o.target.value });
|
12514
12515
|
}
|
@@ -12519,7 +12520,7 @@ const sg = 100, yt = J.memo(
|
|
12519
12520
|
r.map((o) => /* @__PURE__ */ t.jsx(Ct.Option, { name: o, value: o, children: /* @__PURE__ */ t.jsx("span", { className: "dc__ellipsis-right", children: o }) }, o))
|
12520
12521
|
] });
|
12521
12522
|
}, rg = ({}) => {
|
12522
|
-
const { readOnly: e, handleLanguageChange: s, state: n } =
|
12523
|
+
const { readOnly: e, handleLanguageChange: s, state: n } = is();
|
12523
12524
|
return n.noParsing ? null : /* @__PURE__ */ t.jsx("div", { className: "code-editor__toggle flex left", children: /* @__PURE__ */ t.jsxs(
|
12524
12525
|
Dt,
|
12525
12526
|
{
|
@@ -12540,14 +12541,14 @@ const sg = 100, yt = J.memo(
|
|
12540
12541
|
}
|
12541
12542
|
) });
|
12542
12543
|
}, og = () => {
|
12543
|
-
const { error: e } =
|
12544
|
+
const { error: e } = is();
|
12544
12545
|
return e ? /* @__PURE__ */ t.jsx("div", { className: "form__error", children: e }) : null;
|
12545
12546
|
}, ig = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__warning ${e.className || ""}`, children: [
|
12546
12547
|
/* @__PURE__ */ t.jsx(gi, { className: "code-editor__information-info-icon" }),
|
12547
12548
|
e.text,
|
12548
12549
|
e.children
|
12549
12550
|
] }), lg = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__error ${e.className || ""}`, children: [
|
12550
|
-
/* @__PURE__ */ t.jsx(
|
12551
|
+
/* @__PURE__ */ t.jsx(ns, { className: "code-editor__information-info-icon" }),
|
12551
12552
|
e.text,
|
12552
12553
|
e.children
|
12553
12554
|
] }), cg = (e) => /* @__PURE__ */ t.jsxs("div", { className: `code-editor__information ${e.className || ""}`, children: [
|
@@ -12555,10 +12556,10 @@ const sg = 100, yt = J.memo(
|
|
12555
12556
|
e.text,
|
12556
12557
|
e.children
|
12557
12558
|
] }), dg = () => {
|
12558
|
-
const { state: e } =
|
12559
|
+
const { state: e } = is();
|
12559
12560
|
return /* @__PURE__ */ t.jsx(jt, { content: e.code, iconSize: 16 });
|
12560
12561
|
}, ug = ({}) => {
|
12561
|
-
const { state: e, dispatch: s, readOnly: n } =
|
12562
|
+
const { state: e, dispatch: s, readOnly: n } = is();
|
12562
12563
|
function a(r) {
|
12563
12564
|
n || s({ type: "setDiff", value: !e.diffMode });
|
12564
12565
|
}
|
@@ -12567,7 +12568,7 @@ const sg = 100, yt = J.memo(
|
|
12567
12568
|
e.diffMode ? "Hide comparison" : "Compare with default"
|
12568
12569
|
] });
|
12569
12570
|
}, mg = ({ className: e = "", style: s = {}, customLoader: n }) => {
|
12570
|
-
const { height: a } =
|
12571
|
+
const { height: a } = is();
|
12571
12572
|
return n || /* @__PURE__ */ t.jsx("div", { className: `code-editor code-editor--placeholder disabled ${e}`, style: { ...s }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", style: { height: a || "100%" }, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Ie, { pageLoader: !0 }) }) }) });
|
12572
12573
|
};
|
12573
12574
|
yt.LanguageChanger = rg;
|
@@ -12618,7 +12619,7 @@ const pg = ({
|
|
12618
12619
|
disableSearch: !0,
|
12619
12620
|
readOnly: !0,
|
12620
12621
|
noParsing: !0,
|
12621
|
-
mode:
|
12622
|
+
mode: bs.YAML,
|
12622
12623
|
theme: g()
|
12623
12624
|
},
|
12624
12625
|
i
|
@@ -12839,7 +12840,7 @@ const hg = ({
|
|
12839
12840
|
] }), v = () => {
|
12840
12841
|
if (!u) return null;
|
12841
12842
|
const I = d.eventactiontype === _g.MERGED;
|
12842
|
-
return r.includes(
|
12843
|
+
return r.includes(ps.GITLAB) ? I ? N() : b() : I ? b() : N();
|
12843
12844
|
};
|
12844
12845
|
return /* @__PURE__ */ t.jsxs("div", { className: "git-commit-info-generic__wrapper cn-9 fs-12", children: [
|
12845
12846
|
o && (u || c.commit) && /* @__PURE__ */ t.jsx(
|
@@ -13374,7 +13375,7 @@ const Eg = (e) => {
|
|
13374
13375
|
)
|
13375
13376
|
] }, h.id) : null;
|
13376
13377
|
}),
|
13377
|
-
!g.includes("source-code") && /* @__PURE__ */ t.jsx(
|
13378
|
+
!g.includes("source-code") && /* @__PURE__ */ t.jsx(ss, { to: `${_}/source-code`, className: "anchor fs-13", "data-testid": "commit-details-link", children: "Commit details" })
|
13378
13379
|
] }),
|
13379
13380
|
u && d && d(u),
|
13380
13381
|
c && /* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__align-items-center dc__gap-8 pb-8", children: [
|
@@ -13528,7 +13529,7 @@ const Eg = (e) => {
|
|
13528
13529
|
deploymentStatus: e.status,
|
13529
13530
|
deploymentAppType: a,
|
13530
13531
|
userApprovalMetadata: o,
|
13531
|
-
isGitops: a ===
|
13532
|
+
isGitops: a === hs.GITOPS || a === hs.MANIFEST_DOWNLOAD || a === hs.MANIFEST_PUSH,
|
13532
13533
|
isHelmApps: !1,
|
13533
13534
|
isVirtualEnvironment: e.IsVirtualEnvironment,
|
13534
13535
|
processVirtualEnvironmentDeploymentData: h,
|
@@ -13708,7 +13709,7 @@ const Eg = (e) => {
|
|
13708
13709
|
}
|
13709
13710
|
),
|
13710
13711
|
/* @__PURE__ */ t.jsxs("ul", { className: "pl-50 pr-20 pt-8 tab-list tab-list--nodes dc__border-bottom dc__position-sticky dc__top-0 bcn-0 dc__zi-3", children: [
|
13711
|
-
L.stage === "DEPLOY" && r !==
|
13712
|
+
L.stage === "DEPLOY" && r !== hs.HELM && /* @__PURE__ */ t.jsx("li", { className: "tab-list__tab", "data-testid": "deployment-history-steps-link", children: /* @__PURE__ */ t.jsx(
|
13712
13713
|
ze,
|
13713
13714
|
{
|
13714
13715
|
replace: !0,
|
@@ -14300,7 +14301,7 @@ const Eg = (e) => {
|
|
14300
14301
|
}, p = () => {
|
14301
14302
|
u(!0);
|
14302
14303
|
};
|
14303
|
-
return c ? /* @__PURE__ */ t.jsx(
|
14304
|
+
return c ? /* @__PURE__ */ t.jsx(rs, { description: "Please try again later" }) : /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
|
14304
14305
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox-col dc__gap-4", children: [
|
14305
14306
|
/* @__PURE__ */ t.jsxs("div", { className: "flexbox dc__content-space dc__gap-4", children: [
|
14306
14307
|
/* @__PURE__ */ t.jsx("h3", { className: "m-0 fs-12 cn-7 fw-6 dc__truncate", children: a }),
|
@@ -14479,7 +14480,7 @@ const cS = {
|
|
14479
14480
|
pluginStore: Vl(i?.parentPlugins)
|
14480
14481
|
};
|
14481
14482
|
} catch (l) {
|
14482
|
-
throw r && !
|
14483
|
+
throw r && !es(l) && Oe(l), l;
|
14483
14484
|
}
|
14484
14485
|
}, Gl = async ({
|
14485
14486
|
searchKey: e,
|
@@ -14504,7 +14505,7 @@ const cS = {
|
|
14504
14505
|
parentPluginIdList: l?.parentPlugins?.map((c) => c.id) || []
|
14505
14506
|
};
|
14506
14507
|
} catch (o) {
|
14507
|
-
throw
|
14508
|
+
throw es(o) || Oe(o), o;
|
14508
14509
|
}
|
14509
14510
|
}, Qg = async (e) => {
|
14510
14511
|
try {
|
@@ -14545,7 +14546,7 @@ const cS = {
|
|
14545
14546
|
c(!0);
|
14546
14547
|
}, g = () => {
|
14547
14548
|
c(!1), d(l());
|
14548
|
-
}, h = () => r ? /* @__PURE__ */ t.jsx(
|
14549
|
+
}, h = () => r ? /* @__PURE__ */ t.jsx(rs, { reload: o }) : /* @__PURE__ */ t.jsx("p", { className: "m-0 cn-7 fs-13 fw-4 lh-20 py-6 px-8", children: "No tags found" }), f = ye(
|
14549
14550
|
(E) => {
|
14550
14551
|
const C = E.getValue() || [], b = () => {
|
14551
14552
|
g(), s(C.map((N) => N.value));
|
@@ -14619,7 +14620,7 @@ const cS = {
|
|
14619
14620
|
onKeyDown: g,
|
14620
14621
|
children: [
|
14621
14622
|
e && /* @__PURE__ */ t.jsx("div", { className: `dc__no-shrink icon-dim-40 p-8 ${r ? "" : "dc__visible-hover--child"}`, children: /* @__PURE__ */ t.jsx(
|
14622
|
-
|
14623
|
+
os,
|
14623
14624
|
{
|
14624
14625
|
isChecked: r,
|
14625
14626
|
onChange: g,
|
@@ -14742,7 +14743,7 @@ const cS = {
|
|
14742
14743
|
)),
|
14743
14744
|
_ && /* @__PURE__ */ t.jsx(Hl, {}),
|
14744
14745
|
n > s.length && !_ && /* @__PURE__ */ t.jsx(ul, { callback: x, hasError: h })
|
14745
|
-
] }) : o || r.length ? /* @__PURE__ */ t.jsx(zx, { handleClearFilters: u, imageType:
|
14746
|
+
] }) : o || r.length ? /* @__PURE__ */ t.jsx(zx, { handleClearFilters: u, imageType: as.Large }) : /* @__PURE__ */ t.jsx(Ye, { title: "No plugins found", subTitle: "We are unable to locate any plugin in our system" });
|
14746
14747
|
}, mS = ({
|
14747
14748
|
availableTags: e,
|
14748
14749
|
handleUpdateAvailableTags: s,
|
@@ -14811,7 +14812,7 @@ const cS = {
|
|
14811
14812
|
}), T(Pe);
|
14812
14813
|
};
|
14813
14814
|
O(() => {
|
14814
|
-
!(D ||
|
14815
|
+
!(D || es(ie)) && !ie && G && Ae(G);
|
14815
14816
|
}, [D, G, ie]);
|
14816
14817
|
const k = () => {
|
14817
14818
|
i && T([]);
|
@@ -14880,7 +14881,7 @@ const cS = {
|
|
14880
14881
|
/* @__PURE__ */ t.jsx(
|
14881
14882
|
$i,
|
14882
14883
|
{
|
14883
|
-
isLoading: D ||
|
14884
|
+
isLoading: D || es(ie),
|
14884
14885
|
customLoader: /* @__PURE__ */ t.jsx(Hl, {}),
|
14885
14886
|
error: ie,
|
14886
14887
|
errorScreenManagerProps: {
|
@@ -14937,7 +14938,7 @@ const cS = {
|
|
14937
14938
|
const { headers: h, rows: f } = e, x = h[0].key, E = h[1].key, [C, b] = A(f), [N, v] = A(!1), I = c || i, T = !c && !i || !!C.length, S = !C[0]?.data[x].value && !C[0]?.data[E].value, j = C.length === 1 && S, { sortBy: P, sortOrder: L, handleSorting: V } = M_({
|
14938
14939
|
initialSortKey: n ? x : null
|
14939
14940
|
}), D = X(), G = X();
|
14940
|
-
D.current || (D.current = C.reduce((w, y) => ({ ...w, [y.id]:
|
14941
|
+
D.current || (D.current = C.reduce((w, y) => ({ ...w, [y.id]: ls() }), {})), G.current || (G.current = C.reduce((w, y) => ({ ...w, [y.id]: ls() }), {}));
|
14941
14942
|
const ie = te(
|
14942
14943
|
() => C.reduce(
|
14943
14944
|
(w, y) => {
|
@@ -14993,10 +14994,10 @@ const cS = {
|
|
14993
14994
|
const w = pe(), y = [w, ...C], { id: U } = w;
|
14994
14995
|
p?.(!H(y)), v(!0), b(y), D.current = {
|
14995
14996
|
...D.current || {},
|
14996
|
-
[U]:
|
14997
|
+
[U]: ls()
|
14997
14998
|
}, G.current = {
|
14998
14999
|
...G.current || {},
|
14999
|
-
[U]:
|
15000
|
+
[U]: ls()
|
15000
15001
|
};
|
15001
15002
|
};
|
15002
15003
|
O(() => {
|
@@ -15021,9 +15022,9 @@ const cS = {
|
|
15021
15022
|
if (y.length === 0 && !i) {
|
15022
15023
|
const U = pe(), { id: M } = U;
|
15023
15024
|
v(!0), p?.(!H([U])), b([U]), D.current = {
|
15024
|
-
[M]:
|
15025
|
+
[M]: ls()
|
15025
15026
|
}, G.current = {
|
15026
|
-
[M]:
|
15027
|
+
[M]: ls()
|
15027
15028
|
}, o?.(w.id);
|
15028
15029
|
return;
|
15029
15030
|
}
|
@@ -15195,7 +15196,7 @@ const cS = {
|
|
15195
15196
|
showError: s,
|
15196
15197
|
showWarning: n,
|
15197
15198
|
className: a
|
15198
|
-
}) => s ? /* @__PURE__ */ t.jsx(
|
15199
|
+
}) => s ? /* @__PURE__ */ t.jsx(ns, { className: a }) : n ? /* @__PURE__ */ t.jsx(Tt, { className: `${a} warning-icon-y7` }) : e ? /* @__PURE__ */ t.jsx(e, { className: `${a} tab-group__tab__icon` }) : null, ux = (e, s) => e !== null && /* @__PURE__ */ t.jsx("div", { className: `tab-group__tab__badge bcn-1 cn-7 fw-6 flex px-4 ${s}`, children: e }), mx = (e) => e && /* @__PURE__ */ t.jsx("span", { className: "tab-group__tab__indicator bcr-5 mt-4 dc__align-self-start" }), px = (e) => e && /* @__PURE__ */ t.jsx("ul", { className: "tab-group__tab__description m-0 p-0 fs-12 lh-16 fw-4 cn-7 flexbox dc__align-items-center dc__gap-4", children: Array.isArray(e) ? e.map((s, n) => /* @__PURE__ */ t.jsxs("li", { className: "flex dc__gap-4", children: [
|
15199
15200
|
!!n && /* @__PURE__ */ t.jsx("span", { className: "dc__bullet" }),
|
15200
15201
|
s
|
15201
15202
|
] }, s)) : e }), fx = ({
|
@@ -15234,7 +15235,7 @@ const cS = {
|
|
15234
15235
|
switch (n) {
|
15235
15236
|
case "link":
|
15236
15237
|
return /* @__PURE__ */ t.jsx(
|
15237
|
-
|
15238
|
+
ss,
|
15238
15239
|
{
|
15239
15240
|
className: `${f} dc__no-decor flexbox-col ${p ? "cursor-not-allowed" : ""}`,
|
15240
15241
|
"aria-disabled": p,
|
@@ -15789,7 +15790,7 @@ function Oe(e, s = !0, n = !1) {
|
|
15789
15790
|
variant: be.error,
|
15790
15791
|
description: a || r
|
15791
15792
|
});
|
15792
|
-
}) : (e.code !== 403 && e.code !== 408 && ei(e), s && (e.message ? Ue.showToast({
|
15793
|
+
}) : (e.code !== 403 && e.code !== 408 && !es(e) && ei(e), s && (e.message ? Ue.showToast({
|
15793
15794
|
variant: be.error,
|
15794
15795
|
description: e.message
|
15795
15796
|
}) : Ue.showToast({
|
@@ -16397,7 +16398,7 @@ const sc = ({
|
|
16397
16398
|
{
|
16398
16399
|
condition: !!o.to,
|
16399
16400
|
wrap: (i) => /* @__PURE__ */ t.jsx(
|
16400
|
-
|
16401
|
+
ss,
|
16401
16402
|
{
|
16402
16403
|
className: `${a === o.to ? "active" : ""} ${n} ${o.className || ""}`,
|
16403
16404
|
to: o.to,
|
@@ -16466,7 +16467,7 @@ function Vx({ isCreateApp: e }) {
|
|
16466
16467
|
showCloseButton: !0,
|
16467
16468
|
trigger: "click",
|
16468
16469
|
interactive: !0,
|
16469
|
-
documentationLink: e ?
|
16470
|
+
documentationLink: e ? Ns.APP_TAGS : Ns.APP_OVERVIEW_TAGS,
|
16470
16471
|
documentationLinkText: "View Documentation",
|
16471
16472
|
children: /* @__PURE__ */ t.jsxs("div", { className: "flexbox cursor", children: [
|
16472
16473
|
/* @__PURE__ */ t.jsx(vn, { className: "icon-dim-16 mt-2 mr-4" }),
|
@@ -16599,7 +16600,7 @@ const Jo = ({
|
|
16599
16600
|
/* @__PURE__ */ t.jsx("span", { children: j })
|
16600
16601
|
] }, j)),
|
16601
16602
|
o === At.KEY && /* @__PURE__ */ t.jsxs("div", { className: "flexbox pr-4 pl-4", children: [
|
16602
|
-
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(
|
16603
|
+
/* @__PURE__ */ t.jsx("span", { children: /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-14 mt-3 mr-4" }) }),
|
16603
16604
|
/* @__PURE__ */ t.jsx("span", { className: "dc__italic-font-style", children: "Key format: prefix/name or name" })
|
16604
16605
|
] })
|
16605
16606
|
] });
|
@@ -16937,7 +16938,7 @@ const oc = ({
|
|
16937
16938
|
hideIcon: p = !1
|
16938
16939
|
}) => {
|
16939
16940
|
const _ = () => l ? i ? d ? /* @__PURE__ */ t.jsx(
|
16940
|
-
|
16941
|
+
ss,
|
16941
16942
|
{
|
16942
16943
|
to: i,
|
16943
16944
|
onClick: c,
|
@@ -17448,7 +17449,7 @@ const nv = ({
|
|
17448
17449
|
{
|
17449
17450
|
className: `br-4 en-2 bw-1 mr-8 bcn-0 pt-2 pr-8 pb-2 pl-8 tag-class dc__word-break-all flex ${n ? "icon-hover" : ""} ${_()}`,
|
17450
17451
|
children: [
|
17451
|
-
c ? /* @__PURE__ */ t.jsx(
|
17452
|
+
c ? /* @__PURE__ */ t.jsx(ns, { className: "icon-dim-12 mr-4" }) : /* @__PURE__ */ t.jsx(
|
17452
17453
|
Q,
|
17453
17454
|
{
|
17454
17455
|
className: "default-tt",
|
@@ -18037,7 +18038,7 @@ const Xo = 5, dE = [
|
|
18037
18038
|
}
|
18038
18039
|
);
|
18039
18040
|
};
|
18040
|
-
var
|
18041
|
+
var ms = /* @__PURE__ */ ((e) => (e.WRITE = "write", e.PREVIEW = "preview", e))(ms || {});
|
18041
18042
|
const hE = `
|
18042
18043
|
<br>
|
18043
18044
|
Nothing to preview
|
@@ -18079,7 +18080,7 @@ const mt = {
|
|
18079
18080
|
title: l,
|
18080
18081
|
minEditorHeight: i = 300
|
18081
18082
|
}) => {
|
18082
|
-
const [c, u] = A(!1), [d, m] = A(a), [p, _] = A(e), [g, h] = A(
|
18083
|
+
const [c, u] = A(!1), [d, m] = A(a), [p, _] = A(e), [g, h] = A(ms.WRITE), f = !Yn(e, p), x = X(null);
|
18083
18084
|
O(() => {
|
18084
18085
|
_(e);
|
18085
18086
|
}, [e]);
|
@@ -18091,7 +18092,7 @@ const mt = {
|
|
18091
18092
|
}), S = !1), S;
|
18092
18093
|
}, N = () => {
|
18093
18094
|
let T = !0;
|
18094
|
-
f && !d && (T = window.confirm(xE)), T && (_(e), m(!d), h(
|
18095
|
+
f && !d && (T = window.confirm(xE)), T && (_(e), m(!d), h(ms.WRITE));
|
18095
18096
|
}, v = async () => {
|
18096
18097
|
const T = p.trim();
|
18097
18098
|
if (b(T))
|
@@ -18292,10 +18293,10 @@ const mt = {
|
|
18292
18293
|
),
|
18293
18294
|
childProps: {
|
18294
18295
|
writeButton: {
|
18295
|
-
className: `tab-list__tab pointer fs-13 ${g ===
|
18296
|
+
className: `tab-list__tab pointer fs-13 ${g === ms.WRITE && "cb-5 fw-6 active active-tab"}`
|
18296
18297
|
},
|
18297
18298
|
previewButton: {
|
18298
|
-
className: `tab-list__tab pointer fs-13 ${g ===
|
18299
|
+
className: `tab-list__tab pointer fs-13 ${g === ms.PREVIEW && "cb-5 fw-6 active active-tab"}`
|
18299
18300
|
},
|
18300
18301
|
textArea: {
|
18301
18302
|
tabIndex: r
|
@@ -18303,7 +18304,7 @@ const mt = {
|
|
18303
18304
|
}
|
18304
18305
|
}
|
18305
18306
|
),
|
18306
|
-
g ===
|
18307
|
+
g === ms.WRITE && /* @__PURE__ */ t.jsx("div", { className: "form cluster__description-footer pt-12 pb-12", children: /* @__PURE__ */ t.jsxs("div", { className: "form__buttons pl-16 pr-16", children: [
|
18307
18308
|
/* @__PURE__ */ t.jsx(
|
18308
18309
|
"button",
|
18309
18310
|
{
|
@@ -18388,7 +18389,7 @@ function hv({
|
|
18388
18389
|
arrow: !1,
|
18389
18390
|
placement: "top",
|
18390
18391
|
content: "To fetch app status for GitOps based deployments open the app detail page",
|
18391
|
-
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(
|
18392
|
+
children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: /* @__PURE__ */ t.jsx(Es, { className: "icon-dim-16 fcn-6" }) })
|
18392
18393
|
}
|
18393
18394
|
);
|
18394
18395
|
return r ? _ || a ? /* @__PURE__ */ t.jsx(Q, { className: "default-tt", arrow: !1, placement: "top", content: m, children: /* @__PURE__ */ t.jsx("div", { className: "flex", children: g() }) }) : g() : /* @__PURE__ */ t.jsxs("div", { className: "flex left", children: [
|
@@ -18410,7 +18411,7 @@ export {
|
|
18410
18411
|
pC as J,
|
18411
18412
|
At as K,
|
18412
18413
|
fC as L,
|
18413
|
-
|
18414
|
+
bs as M,
|
18414
18415
|
Eu as N,
|
18415
18416
|
Nu as O,
|
18416
18417
|
$e as P,
|
@@ -18446,7 +18447,7 @@ export {
|
|
18446
18447
|
ne as aG,
|
18447
18448
|
wi as aH,
|
18448
18449
|
Ri as aI,
|
18449
|
-
|
18450
|
+
es as aJ,
|
18450
18451
|
Oe as aK,
|
18451
18452
|
dt as aL,
|
18452
18453
|
Ix as aM,
|
@@ -18471,13 +18472,13 @@ export {
|
|
18471
18472
|
NC as ae,
|
18472
18473
|
yr as af,
|
18473
18474
|
Lr as ag,
|
18474
|
-
|
18475
|
+
ps as ah,
|
18475
18476
|
bC as ai,
|
18476
18477
|
Iu as aj,
|
18477
18478
|
ht as ak,
|
18478
18479
|
ta as al,
|
18479
18480
|
qe as am,
|
18480
|
-
|
18481
|
+
as as an,
|
18481
18482
|
Ms as ao,
|
18482
18483
|
wa as ap,
|
18483
18484
|
sa as aq,
|
@@ -18487,7 +18488,7 @@ export {
|
|
18487
18488
|
Ra as au,
|
18488
18489
|
yu as av,
|
18489
18490
|
Li as aw,
|
18490
|
-
|
18491
|
+
hs as ax,
|
18491
18492
|
Lu as ay,
|
18492
18493
|
In as az,
|
18493
18494
|
Ux as b,
|
@@ -18577,10 +18578,10 @@ export {
|
|
18577
18578
|
pv as cH,
|
18578
18579
|
Qo as cI,
|
18579
18580
|
fv as cJ,
|
18580
|
-
|
18581
|
+
ms as cK,
|
18581
18582
|
zi as cL,
|
18582
18583
|
yt as cM,
|
18583
|
-
|
18584
|
+
fs as cN,
|
18584
18585
|
Z_ as cO,
|
18585
18586
|
hv as cP,
|
18586
18587
|
NE as cQ,
|
@@ -18596,7 +18597,7 @@ export {
|
|
18596
18597
|
qC as c_,
|
18597
18598
|
ho as ca,
|
18598
18599
|
Mh as cb,
|
18599
|
-
|
18600
|
+
os as cc,
|
18600
18601
|
ic as cd,
|
18601
18602
|
km as ce,
|
18602
18603
|
UC as cf,
|
@@ -18623,7 +18624,7 @@ export {
|
|
18623
18624
|
Yn as d,
|
18624
18625
|
ws as d$,
|
18625
18626
|
R as d0,
|
18626
|
-
|
18627
|
+
ts as d1,
|
18627
18628
|
jn as d2,
|
18628
18629
|
Kt as d3,
|
18629
18630
|
GC as d4,
|
@@ -18636,7 +18637,7 @@ export {
|
|
18636
18637
|
ff as dB,
|
18637
18638
|
sT as dC,
|
18638
18639
|
nT as dD,
|
18639
|
-
|
18640
|
+
us as dE,
|
18640
18641
|
_f as dF,
|
18641
18642
|
gf as dG,
|
18642
18643
|
xf as dH,
|
@@ -18700,7 +18701,7 @@ export {
|
|
18700
18701
|
et as eB,
|
18701
18702
|
qs as eC,
|
18702
18703
|
ao as eD,
|
18703
|
-
|
18704
|
+
_s as eE,
|
18704
18705
|
_h as eF,
|
18705
18706
|
gh as eG,
|
18706
18707
|
Yh as eH,
|
@@ -18723,7 +18724,7 @@ export {
|
|
18723
18724
|
xg as eY,
|
18724
18725
|
xh as eZ,
|
18725
18726
|
Eh as e_,
|
18726
|
-
|
18727
|
+
rs as ea,
|
18727
18728
|
ET as eb,
|
18728
18729
|
Gs as ec,
|
18729
18730
|
on as ed,
|
@@ -18930,7 +18931,7 @@ export {
|
|
18930
18931
|
Da as hj,
|
18931
18932
|
Mu as hk,
|
18932
18933
|
Ws as hl,
|
18933
|
-
|
18934
|
+
ds as hm,
|
18934
18935
|
ku as hn,
|
18935
18936
|
Uu as ho,
|
18936
18937
|
Bu as hp,
|
@@ -18998,10 +18999,10 @@ export {
|
|
18998
18999
|
ov as k,
|
18999
19000
|
Ct as l,
|
19000
19001
|
lv as m,
|
19001
|
-
|
19002
|
+
cs as n,
|
19002
19003
|
Ls as o,
|
19003
19004
|
ir as p,
|
19004
|
-
|
19005
|
+
Ns as q,
|
19005
19006
|
Pn as r,
|
19006
19007
|
W as s,
|
19007
19008
|
gu as t,
|